Commit Graph
58 Commits
Author SHA1 Message Date
Atsushi Eno dfd1716b11 2009-03-04 Atsushi Enomoto <[email protected]>
* CrossDomainAccessManager.cs : replace reflection-based
	  Uri retrieval with actually working one.

	* HttpRequestChannel.cs : use cross domain access manager.


svn path=/trunk/mcs/; revision=128581
2009-03-04 18:09:16 +00:00
Atsushi Eno b91e42e4f9 2009-03-04 Atsushi Enomoto <[email protected]>
* CrossDomainAccessManager.cs : 2.1 WebRequest misses some
 	  members used here.

	* Makefile : add /r:System.Core in 2.1 build.


svn path=/trunk/mcs/; revision=128579
2009-03-04 17:22:41 +00:00
Atsushi Eno 1642ff0d80 2009-03-04 Astushi Enomoto <[email protected]>
* net_2_1_raw_System.ServiceModel.dll.sources :
	  added cross domain checker sources.

	* CrossDomainAccessManager.cs, ClientAccessPolicy.cs,
	  CrossDomainPolicy.cs : new. support cross domain access check.


svn path=/trunk/mcs/; revision=128570
2009-03-04 16:47:34 +00:00
Atsushi Eno b7c8529416 2009-02-27 Atsushi Enomoto <[email protected]>
* ClientBase.cs : give successful WCF call completion info.


svn path=/trunk/mcs/; revision=128230
2009-02-27 16:10:20 +00:00
Atsushi Eno 86d031f8a5 2009-02-27 Atsushi Enomoto <[email protected]>
* Message.cs : (in CreateBufferedCopy) do not pass the entire
          message as BodyWriter.
          (in GetReaderAtBodyContents) just write body contents.
        * MessageImpl.cs : do not try to read body at ctor (fixed tons
          of test failures).
          Add some state check in GetReaderAtBodyContents().
        * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.


svn path=/trunk/mcs/; revision=128186
2009-02-27 09:05:12 +00:00
Atsushi Eno bfab1d0b09 2009-02-27 Atsushi Enomoto <[email protected]>
* ClientBase.cs : diagnose more precisely.


svn path=/trunk/mcs/; revision=128178
2009-02-27 05:08:10 +00:00
Atsushi Eno 975351e769 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientProxyGenerator.cs : fix wrong argument index.


svn path=/trunk/mcs/; revision=128105
2009-02-26 15:45:58 +00:00
Atsushi Eno 2302b97b38 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientBase.cs : use overridable CreateChannel().


svn path=/trunk/mcs/; revision=128104
2009-02-26 15:45:27 +00:00
Atsushi Eno 5c9c248b76 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientBase.cs : make it work with SL2 UI threading model.


svn path=/trunk/mcs/; revision=128058
2009-02-26 05:26:53 +00:00
Atsushi Eno 01d6ebe113 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientProxyGenerator.cs : simply use CodeMethod.GetArg().


svn path=/trunk/mcs/; revision=128057
2009-02-26 05:26:20 +00:00
Atsushi Eno cc898786e4 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientRuntimeChannel.cs, ClientProxyGenerator.cs,
	  ClientBase.cs, ChannelFactory_1.cs, DuplexClientBase.cs:
	  now ClientBase<TChannel>.InnerChannel became ChannelBase<T> as
	  SL2 does. This change required several internal changes in
	  proxy code generation. Also, now TChannel must be class.


svn path=/trunk/mcs/; revision=128056
2009-02-26 05:14:17 +00:00
Atsushi Eno 707e1e5a84 2009-02-26 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : ClientBase<> argument type must be
	  class (the class itself is to be fixed soon as well).


svn path=/trunk/mcs/; revision=128055
2009-02-26 05:06:53 +00:00
Atsushi Eno 9096916965 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientRuntime.cs : fill contractType in .ctor().


svn path=/trunk/mcs/; revision=128054
2009-02-26 05:04:48 +00:00
Atsushi Eno a93062e7b6 Ignore all failing-under-dotnet tests.
svn path=/trunk/mcs/; revision=127845
2009-02-24 07:33:41 +00:00
Atsushi Eno bd43e0658a 2009-02-20 Atsushi Enomoto <[email protected]>
* ChannelFactory_1.cs : it's not going to create ClientRuntime
	  anymore here. Moving to ServiceEndpoint.cs as the first stage.
	* ClientBase.cs : some comment.

	* ServiceEndpoint.cs : moved CreateRuntime() from ChannelFactory<T>.


svn path=/trunk/mcs/; revision=127531
2009-02-20 11:48:21 +00:00
Atsushi Eno 7c03c0a1eb 2009-02-19 Atsushi Enomoto <[email protected]>
* CodeTryBlock.cs : new statement support.

        * System.ServiceModel.dll.sources,
          net_2_1_raw_System.ServiceModel.dll.sources :
          added CodeTryBlock.cs.


svn path=/trunk/mcs/; revision=127414
2009-02-19 15:03:40 +00:00
Atsushi Eno ed6222934a 2009-02-19 Atsushi Enomoto <[email protected]>
* CodeCast.cs : fix PrintCode() for no-conversion case.


svn path=/trunk/mcs/; revision=127413
2009-02-19 15:01:00 +00:00
Atsushi Eno 61727cd7c2 2009-02-18 Atsushi Enomoto <[email protected]>
* Message.cs : do not forget to flush.
        * HttpRequestChannel.cs : give more exact error info.


svn path=/trunk/mcs/; revision=127251
2009-02-18 08:12:36 +00:00
Atsushi Eno 19918597cf 2009-02-18 Atsushi Enomoto <[email protected]>
* Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
          make buffered copy in ML2 really buffered.


svn path=/trunk/mcs/; revision=127248
2009-02-18 07:22:44 +00:00
Atsushi Eno 4a7cc8b64b 2009-02-13 Atsushi Enomoto <[email protected]>
* ChannelFactory.cs : for default constructor, first try to
          retrieve configuration from its contract name.
          Diagnose errorneous configuration.
        * SilverlightClientConfigLoader.cs : basicHttpBinding/binding
          element could be defined two or more times.


svn path=/trunk/mcs/; revision=126830
2009-02-13 12:30:11 +00:00
Atsushi Eno 7a7a4c4cb3 2009-02-12 Atsushi Enomoto <[email protected]>
* Message.cs : if there is no header item to write, do not write
	  SOAP header element.


svn path=/trunk/mcs/; revision=126705
2009-02-12 11:31:26 +00:00
Atsushi Eno 0c744bd73f 2009-02-12 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : do not write body wrapper element
	  when IsWrapped = false.


svn path=/trunk/mcs/; revision=126704
2009-02-12 11:29:36 +00:00
Atsushi Eno a17c5b6e6c 2009-02-12 Atsushi Enomoto <[email protected]>
* ClientProxyGenerator.cs : so, the proxy generator was buggy to
          generate end invoke.
        * ClientBase.cs : make it simpler and just work.


svn path=/trunk/mcs/; revision=126693
2009-02-12 09:09:11 +00:00
Atsushi Eno b7b875d7be 2009-02-06 Atsushi Enomoto <[email protected]>
* ClientBase.cs : oops, should have tried build with net_2_1_raw.


svn path=/trunk/mcs/; revision=126028
2009-02-06 11:52:22 +00:00
Atsushi Eno 3c05b810ce 2009-02-06 Atsushi Enomoto <[email protected]>
* ClientRuntimeChannel.cs, ClientBase.cs :
	  implement remaining ChannelBase members and made some required
	  changes in ClientRuntimeChannel.


svn path=/trunk/mcs/; revision=126017
2009-02-06 10:27:01 +00:00
Atsushi Eno a66928a950 2009-02-04 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : add async operation support (might
	  be hacky under some condition).


svn path=/trunk/mcs/; revision=125655
2009-02-04 08:11:13 +00:00
Atsushi Eno 55791e96b7 2009-02-04 Atsushi Enomoto <[email protected]>
* BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().


svn path=/trunk/mcs/; revision=125653
2009-02-04 06:31:05 +00:00
Atsushi Eno 30c2adc592 2009-02-03 Atsushi Enomoto <[email protected]>
* ClientRuntimeChannel.cs, ClientProxyGenerator.cs :
          change async methods signature and dynamic code generation.


svn path=/trunk/mcs/; revision=125502
2009-02-03 11:01:04 +00:00
Atsushi Eno aa73556f40 2009-01-23 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : async begin method with
          [MessageContract] has 3 parameters, not 1.


svn path=/trunk/mcs/; revision=124303
2009-01-23 09:17:58 +00:00
Atsushi Eno f12730b022 2009-01-23 Atsushi Enomoto <[email protected]>
* ClientBase.cs : added another missing type.


svn path=/trunk/mcs/; revision=124299
2009-01-23 07:30:35 +00:00
Atsushi Eno 520fef2952 2009-01-23 Atsushi Enomoto <[email protected]>
* ChannelFactory.cs : fix wrong file reference.


svn path=/trunk/mcs/; revision=124293
2009-01-23 06:50:20 +00:00
Atsushi Eno cdff98a470 2009-01-22 Atsushi Enomoto <[email protected]>
* SilverlightClientConfigLoader.cs :
	  removed extraneous code. Handle "*" (wildcard).


svn path=/trunk/mcs/; revision=124219
2009-01-22 15:56:33 +00:00
Alan McGovern 4969ba3d1c 2009-01-22 Alan McGovern <[email protected]>
* MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't
        * exist in Silverlight.
        Rewrite to avoid usage of it.



svn path=/trunk/mcs/; revision=124204
2009-01-22 14:41:30 +00:00
Alan McGovern 1fc87cc196 2009-01-22 Alan McGovern <[email protected]>
* BasicHttpBinding.cs: In silverlight ReaderQuota is immutable and always
        has a default value of ReaderQuota.Max. Therefore no need to call CopyTo.



svn path=/trunk/mcs/; revision=124203
2009-01-22 14:40:43 +00:00
Atsushi Eno cd94cd2e94 2009-01-22 Atsushi Enomoto <[email protected]>
* SilverlightClientConfigLoader.cs : in Silverlight, there is
	  "ServiceReference.ClientConfig" which is used to resolve service
	  endpoint configuration. It is to consume that file.
	* ChannelFactory.cs : use above in SL.
	* ClientBase.cs : rename some misleading param names.

	* net_2_1_raw_System.ServiceModel.dll.sources :
	  added SilverlightClientConfigLoader.cs.


svn path=/trunk/mcs/; revision=124191
2009-01-22 12:21:47 +00:00
Atsushi Eno c0ba6dca41 2009-01-22 Atsushi Enomoto <[email protected]>
* ChannelFactory.cs : some code comment.
	* ClientBase.cs : remove some todos.
	* ClientRuntimeChannel.cs : hack some session properties.


svn path=/trunk/mcs/; revision=124168
2009-01-22 05:16:03 +00:00
Atsushi Eno 95704c57e7 2009-01-22 Atsushi Enomoto <[email protected]>
* DataContractSerializerMessageContractImporter.cs :
	  for such an element that does not contain schema type but has a
	  type reference, use ImportSchemaType().


svn path=/trunk/mcs/; revision=124167
2009-01-22 05:14:07 +00:00
Atsushi Eno 10fa718746 2009-01-21 Atsushi Enomoto <[email protected]>
* DataContractSerializerMessageContractImporter.cs :
	  some refactoring. Process all schemas, including those in WSDLs.


svn path=/trunk/mcs/; revision=124026
2009-01-21 11:19:59 +00:00
Atsushi Eno b7fce89f1b 2009-01-21 Atsushi Enomoto <[email protected]>
* PrimitiveTesterTest.cs : disable failing test.

	* DispatchRuntimeTest.cs : disable failing test.


svn path=/trunk/mcs/; revision=124021
2009-01-21 10:29:34 +00:00
Atsushi Eno 7f8ae0d14d 2009-01-19 Atsushi Enomoto <[email protected]>
* ClientBase.cs : implement InvokeAsync(). Not sure if it works yet.


svn path=/trunk/mcs/; revision=123791
2009-01-19 12:27:22 +00:00
Atsushi Eno cddc74d2cd 2009-01-19 Atsushi Enomoto <[email protected]>
* CodeLiteral.cs : use Convert.ChangeType() override that is
          available in 2.1.


svn path=/trunk/mcs/; revision=123783
2009-01-19 11:52:36 +00:00
Atsushi Eno 78ca831e99 2009-01-19 Atsushi Enomoto <[email protected]>
* ClientProxyGenerator.cs : fix reflection-based GetConstructor()
          so that it can work in 2.1 profile (.ctor is made internal).

        * CodeModule.cs : use DefineDynamicModule() which is avaiable in 2.1.


svn path=/trunk/mcs/; revision=123773
2009-01-19 09:37:27 +00:00
Atsushi Eno ae7873c0cd 2009-01-14 Atsushi Enomoto <[email protected]>
* ChannelParameterCollection.cs : implement, rather than NIE.


svn path=/trunk/mcs/; revision=123340
2009-01-14 11:17:55 +00:00
Atsushi Eno 4b450229eb 2009-01-14 Atsushi Enomoto <[email protected]>
* ServerTooBusyException.cs, CommunicationObjectAbortedException.cs,
	  ServiceActivationException.cs : new exception types.

	* System.ServiceModel.dll.sources,
	  net_2_1_raw_System.ServiceModel.dll.sources :
	  added missing exception types (corcompare work).


svn path=/trunk/mcs/; revision=123331
2009-01-14 10:37:34 +00:00
Atsushi Eno 84747843e6 2009-01-14 Atsushi Enomoto <[email protected]>
* ClientBase.cs, ClientRuntimeChannel.cs : added support for
	  interactive channel initializers.

	* ClientBase_InteractiveChannelInitializerTest.cs : new test, for
	  IInteractiveChannelInitializers support in ClientBase<T>.

	* System.ServiceModel_test.dll.sources :
	  added ClientBase_InteractiveChannelInitializerTest.cs.


svn path=/trunk/mcs/; revision=123316
2009-01-14 06:11:09 +00:00
Geoff Norton 5fa4e75915 2009-01-12 Geoff Norton <[email protected]>
* ClientBase.cs: Added a few delegates missing from ChannelBase

svn path=/trunk/mcs/; revision=123169
2009-01-13 03:04:36 +00:00
Atsushi Eno c60ae91aad 2009-01-07 Atsushi Enomoto <[email protected]>
* ClientBase.cs : added ChannelBase class inside.


svn path=/trunk/mcs/; revision=122641
2009-01-07 10:00:11 +00:00
Atsushi Eno 2a4a44bc60 2009-01-07 Astushi Enomoto <[email protected]>
* net_2_1_raw_System.ServiceModel.dll.sources : add OperationContext
	  and OperationContextScope to 2.1 build.

	* OperationContext.cs : changes to include this in net_2_1_raw.


svn path=/trunk/mcs/; revision=122632
2009-01-07 08:23:50 +00:00
Atsushi Eno 7c73195aae 2009-01-07 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : fix by corcompare.


svn path=/trunk/mcs/; revision=122631
2009-01-07 08:11:44 +00:00
Jb Evain c3cbc503b9 2008-11-20 Jb Evain <[email protected]>
* AssemblyInfo.cs: sign using winfx.pub on NET_2_1.


svn path=/trunk/mcs/; revision=119440
2008-11-20 14:09:16 +00:00