Commit Graph
54 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza b5da7cd80d [System.Runtime.Remoting] Build if DBEUG Is defined 2014-05-25 00:41:55 -04:00
Miguel de Icaza 1c19405a83 [class libraries] drop NET_1_0 definitions 2012-06-02 21:46:34 -04:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
QuickJack 8037341228 Fixes some warnings in System.Runtime.Remoting.dll 2011-12-29 13:14:50 +01:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Michael Hutchinson 94eb7a2333 2008-09-23 Michael Hutchinson <[email protected]>
* SoapServerFormatterSink.cs: Do not try to parse text/xml code 
	  unless there is a SOAPAction.  Set position on outgoing streams to 
	  zero, so they can be properly parsed in the general infrastructure.
	  Do not try to seek on incoming streams.


svn path=/trunk/mcs/; revision=113897
2008-09-23 21:07:12 +00:00
Gert Driesen 36e65ff2e6 * System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.

svn path=/trunk/mcs/; revision=110042
2008-08-09 14:06:44 +00:00
Gert Driesen 371e191ff2 * BinaryServerFormatterSink.cs: Fixed argument name to match MS.
* SoapClientFormatterSink.cs: Fixed argument name to match MS. Code
formatting.

svn path=/trunk/mcs/; revision=110040
2008-08-09 12:03:24 +00:00
Jonathan Chambers cb2d591d67 2007-05-10 Jonathan Chambers <[email protected]>
* BinaryClientFormatterSinkProvider.cs: Allow typeFilterLevel property
	if NET_1_1 or greater; matches code already in BinaryCore.


svn path=/trunk/mcs/; revision=77189
2007-05-11 02:18:34 +00:00
Robert Jordan 628dd4e2e0 2007-05-07 Robert Jordan <[email protected]>
* SoapMessageFormatter.cs (BuildMethodCallFromSoapMessage):
	Validate DecodeXmlNamespaceForClrTypeNamespace's result.
	Don't use RemotingServices.GetServerTypeForUri's result to
	lookup the method from, because it returns the concrete server
	type. We need the type that was used to make the call, which
	we can compute from DecodeXmlNamespaceForClrTypeNamespace's output.
	Fixes the last part of bug #77191.


svn path=/trunk/mcs/; revision=76841
2007-05-07 15:42:16 +00:00
Lluis Sanchez 5cd22d33b3 2007-28-02 Lluis Sanchez Gual <[email protected]>
* ChannelCore.cs: Added missing null check. LoadWithPartialName can
	return null.


svn path=/trunk/mcs/; revision=73535
2007-02-28 12:11:57 +00:00
Lluis Sanchez 0d3c177870 2006-12-18 Lluis Sanchez Gual <[email protected]>
* SoapMessageFormatter.cs: FieldSetter and FieldGetter methods need
	  to be handled in a special way, since they are the only private
	  methods which can be called from a subclass.


svn path=/trunk/mcs/; revision=70645
2007-01-08 12:51:08 +00:00
Gert Driesen 6a2c187668 * SoapCore.cs: Set eol-style to native.
* SoapServerFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF.
* ChannelCore.cs: Set eol-style to native.
* BinaryServerFormatterSink.cs: Set eol-style to native.
* SoapClientFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF. Next and CreateSink should not be virtual.
* SoapMessageFormatter.cs: Set eol-style to CRLF.
* BinaryClientFormatterSink.cs: Fixed line endings. Set eol-style to
native.
* BinaryCore.cs: Set eol-style to native.
* BinaryServerFormatterSinkProvider.cs: Set eol-style to native.
* CommonTransportKeys.cs: Set eol-style to native.
* SoapServerFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
* RemotingThreadPool.cs: Fixed line endings. Set eol-style to native.
* BinaryClientFormatterSinkProvider.cs: Set eol-style to native.
* SoapClientFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.

svn path=/trunk/mcs/; revision=61301
2006-05-31 08:38:41 +00:00
Andrew Skiba 05a0ec2065 exceptions propagating incompatible with dotnet. Patch by [email protected]
svn path=/trunk/mcs/; revision=57589
2006-03-05 09:05:09 +00:00
Svetlana Zholkovsky 8fc314bdcf BinaryCore.cs: TARGET_JVM related changes
svn path=/trunk/mcs/; revision=56101
2006-01-26 14:02:32 +00:00
Robert Jordan d9403f7f62 2005-12-05 Robert Jordan <[email protected]>
* BinaryServerFormatterSink.cs, SoapServerFormatterSink.cs:
	  Implemented formatter chaining. Fixes bug #74878.
	* BinaryClientFormatterSink.cs: AsyncProcessMessage: Set the transport
	  headers.


svn path=/trunk/mcs/; revision=53931
2005-12-05 15:32:24 +00:00
Robert Jordan 956d0f7ba0 2005-11-05 Robert Jordan <[email protected]>
* IAuthorizeRemotingConnection.cs: Added.


svn path=/trunk/mcs/; revision=52626
2005-11-06 13:26:40 +00:00
Svetlana Zholkovsky 2fa7f22e61 Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln; Some TARGET_JVM changes
svn path=/trunk/mcs/; revision=52622
2005-11-06 11:08:53 +00:00
Svetlana Zholkovsky 7a29efabb1 Fix SoapCore.cs and BinaryCore.cs to create new dictionary object for Properties during initialization
svn path=/trunk/mcs/; revision=52621
2005-11-06 10:51:54 +00:00
Lluis Sanchez 8ea7557944 2005-05-18 Lluis Sanchez Gual <[email protected]>
* BinaryServerFormatterSink.cs: Properly handle exceptions raised
	during serialization. Fixes bug #74950.


svn path=/trunk/mcs/; revision=44689
2005-05-18 16:14:57 +00:00
Lluis Sanchez ef8ce1c5ca 2005-01-14 Lluis Sanchez Gual <[email protected]>
* SoapMessageFormatter.cs, SoapServerFormatterSink.cs: Fixed warnings.
	* RemotingThreadPool.cs: New thread pool for the tcp and http channels.


svn path=/trunk/mcs/; revision=38946
2005-01-14 17:28:38 +00:00
Marek Safar 08f72847f9 removed unused variables
svn path=/trunk/mcs/; revision=36477
2004-11-24 13:04:49 +00:00
Lluis Sanchez b1672ecc12 * SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
return value to the SoapMessage even if it is null. This fixes bug #61837.

svn path=/trunk/mcs/; revision=31464
2004-07-26 13:10:55 +00:00
Lluis Sanchez 10333b362b * SoapMessageFormatter.cs: In BuildMethodCallFromSoapMessage, set get the
parameters from the SoapMessage by position, not by name, since names
	  may be different. This fixes bug #60427.

svn path=/trunk/mcs/; revision=30783
2004-07-06 08:51:47 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Lluis Sanchez 4235983de0 * SoapServerFormatterSink.cs: Removed unneded method.
svn path=/trunk/mcs/; revision=29722
2004-06-16 23:19:51 +00:00
Lluis Sanchez c4d8e78767 * SoapMessageFormatter.cs: Don't add the signature to the headers list if
the method is not overloaded, and don't add the LogicalCallContext if
	  it has no info.

svn path=/trunk/mcs/; revision=29180
2004-06-10 11:01:59 +00:00
Lluis Sanchez 99bb845efd * SoapMessageFormatter.cs: Include soap headers as properties when creating
the IMessage, and add IMessage properties as headers when creating the
	  SoapMessage. LogicalCallContext info will be passed as a header value.

svn path=/trunk/mcs/; revision=28178
2004-05-26 18:24:43 +00:00
Lluis Sanchez 0a461a9b9c * BinaryCore.cs, SoapCore.cs: Added Properties property.
* BinaryServerFormatterSink.cs, SoapServerFormatterSink.cs: Added missing
	  TypeFilterLevel property.
	* BinaryServerFormatterSinkProvider.cs: Fixed setter for TypeFilterLevel.
	* SoapServerFormatterSinkProvider.cs: Added missing TypeFilterLevel
	  property.

svn path=/trunk/mcs/; revision=27244
2004-05-13 08:48:08 +00:00
Lluis Sanchez 9dd73226eb * ChannelCore.cs: Use LoadWithPartialName when configuration information
is not present.

svn path=/trunk/mcs/; revision=27099
2004-05-11 13:19:02 +00:00
Lluis Sanchez 401825e0c2 Who forgot to commit this ChangeLog?
svn path=/trunk/mcs/; revision=26597
2004-05-03 16:17:46 +00:00
Lluis Sanchez c5c061ddd0 * SoapClientFormatterSink.cs: The deserialized message can be actually a
SoapFault. Taken this into account.
	* SoapMessageFormatter.cs: Added FormatFault method. In FormatResponse(),
	  the array of output parameters must also include placeholders for the
	  input parameters (set to null).
	  ParameterInfo.IsOut does not correspond to the "out" keyword in C#, but
	  to the OutAttribute applied to parameters. There can be input parameters
	  with the OutAttribute. Fixed this in a couple of places.
	  Added CreateSoapMessage method, which creates a SoapMessage including
	  the parameter types (only for responses, since for requests the target
	  method is not known).
	* SoapServerFormatterSink.cs: Use soapMsgFormatter.CreateSoapMessage to
	  create the SoapMessage.

svn path=/trunk/mcs/; revision=26402
2004-04-30 09:23:42 +00:00
Lluis Sanchez 23b7db43b8 * BinaryClientFormatterSink.cs: Don't set the request uri here, this will
be done in the transport sink.
	* BinaryCore.cs: Added TypeFilterLevel property.
	* BinaryServerFormatterSinkProvider.cs: Added missing TypeFilterLevel property.

svn path=/trunk/mcs/; revision=23551
2004-02-27 19:37:11 +00:00
Lluis Sanchez 6ccfd61d67 * BinaryServerFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs:
Changed some ifdefs for allowedProperties field.

svn path=/trunk/mcs/; revision=21245
2003-12-16 17:17:12 +00:00
Patrik Torstensson de83a16548 2003-12-11 Patrik Torstensson <[email protected]>
* SoapMessageFormater.cs: Use GetMethod with signature if possible, solves
          AmbiguousMatchException for bug 51990.

svn path=/trunk/mcs/; revision=21030
2003-12-11 17:08:05 +00:00
Lluis Sanchez 37cd4be5ea * BinaryServerFormatterSinkProvider.cs: Removed TODO.
* CommonTransportKeys.cs: Added some internal transport keys.

svn path=/trunk/mcs/; revision=20965
2003-12-10 15:56:23 +00:00
Lluis Sanchez e27a077277 * BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs,
BinaryCore.cs, BinaryServerFormatterSinkProvider.cs,
	  SoapClientFormatterSinkProvider.cs, SoapCore.cs,
	  SoapServerFormatterSinkProvider.cs.cs: Added support for TypeFilterLevel
	  property.

svn path=/trunk/mcs/; revision=20309
2003-11-21 16:44:58 +00:00
Lluis Sanchez 74e00dbeca * BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs:
SoapClientFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs: Small fix.
	* SoapServerFormatterSink.cs: Small fix in AsyncProcessResponse.
	* BinaryCore.cs, SoapCore.cs: throw an exception if an unknown property
	  is found.

svn path=/trunk/mcs/; revision=20131
2003-11-17 20:19:13 +00:00
Lluis Sanchez 70be2409d0 * SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
* ChannelCore.cs: New file. Implements a simple type binder used by the
	  formatter sinks.

svn path=/trunk/mcs/; revision=20077
2003-11-16 21:58:08 +00:00
Lluis Sanchez 94c78fd733 * BinaryClientFormatterSink.cs, BinaryClientFormatterSinkProvider.cs,
BinaryServerFormatterSink.cs, BinaryServerFormatterSinkProvider.cs:
	  Moved formatter code to BinaryCore. This adds support for the properties
	  "includeVersion" and "strictBinding" to the binary formatter.
	* BinaryCore.cs: New file. Contains some code used by the binary formatter sinks.
	* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs,
	  SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs
	  Moved formatter code to BinaryCore. This adds support for the properties
	  "includeVersion" and "strictBinding" to the soap formatter.
	* SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
	* ChannelCore.cs: New file. Implements a simple type binder used by the
	  formatter sinks.

svn path=/trunk/mcs/; revision=20074
2003-11-16 21:54:57 +00:00
Lluis Sanchez 36bb54ad70 * BinaryServerFormatterSink.cs: Removed fixme.
* BinaryServerFormatterSinkProvider.cs: Removed a NotImplementedException.
	* SoapServerFormatterSinkProvider.cs: Removed some TODOs.

svn path=/trunk/mcs/; revision=19888
2003-11-12 15:33:32 +00:00
Lluis Sanchez 67785d3d73 * SoapMessageFormatter.cs: Consider parameters with Out flag when collectiong
out parameters.

svn path=/trunk/mcs/; revision=18296
2003-09-25 17:00:45 +00:00
Lluis Sanchez ba85fdcf10 * SoapClientFormatterSink.cs: Fixed a some bugs to make async calls work.
* SoapMessageFormatter.cs: Fixed some problems with out and ref parameters.
	* SoapServerFormatterSink.cs: Improved catching of exceptions.

svn path=/trunk/mcs/; revision=17511
2003-08-22 12:51:34 +00:00
Lluis Sanchez cadb7e2276 * SoapMessageFormatter.cs: ParameterInfo.Position is now zero-based.
Fixed methods that use it.

svn path=/trunk/mcs/; revision=16564
2003-07-23 09:04:46 +00:00
Jean-Marc Andre 4ca19b29e4 2003-07-09: Jean-Marc Andr�� <[email protected]>
* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs, SoapMessageFormatter.cs: Support for the soap serialization added to the remoting infrastructure

svn path=/trunk/mcs/; revision=16062
2003-07-09 17:13:46 +00:00
Lluis Sanchez 04b647b2f2 * BinaryServerFormatterSink.cs: The uri of the target object is now assigned
to the message through the HeaderHandler delegate.

svn path=/trunk/mcs/; revision=14561
2003-05-13 20:56:25 +00:00
Lluis Sanchez 29397612b2 * TcpMessageIO.cs: Changed header format to match MS.NET. Based on the patch
sent by Jose Lu�s Mart�n.
	* TcpClientTransportSink.cs: Added Content-Type header. Improved support
	  for OneWay messages.

svn path=/trunk/mcs/; revision=13060
2003-04-03 15:32:16 +00:00
Lluis Sanchez 913fe3e70b * TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
* TcpMessageIO.cs: warning corrected.
* TcpConnectionPool.cs: changed default value of MaxOpenConnections.
* TcpClientTransportSink.cs: implemented support for one way calls.
* TcpClientChannel.cs: Changed default formatter sink to BinaryFormatterSink.
* TcpChannel.cs: corrected Parse method. Now can parse channel uris.
* BinaryServerFormatterSink.cs: Implemented.
* BinaryClientFormatterSink.cs: Implemented.

svn path=/trunk/mcs/; revision=10925
2003-01-26 18:11:18 +00:00
Lluis Sanchez b936987419 no message
svn path=/trunk/mcs/; revision=9962
2002-12-29 12:24:45 +00:00