Commit Graph
138 Commits
Author SHA1 Message Date
Sebastien Pouliot c1145bf21e 2008-01-07 Sebastien Pouliot <[email protected]>
* Identity.cs: Fix Disposed setter to use value (not true). Found 
	using Gendarme.


svn path=/trunk/mcs/; revision=92418
2008-01-07 21:42:12 +00:00
Atsushi Eno da15bb9730 2007-11-21 Atsushi Enomoto <[email protected]>
* RemotingConfiguration.cs : added CustomErrorMode (stub).

	* CallContext.cs : added missing 2.0 stuff.


svn path=/trunk/mcs/; revision=90062
2007-11-21 06:41:46 +00:00
Robert Jordan c9e988e0ef In System.Runtime.Remoting:
2007-10-30  Robert Jordan  <[email protected]>

	* RemotingServices.cs: (InternalExecuteMessage):
	Resolve interface methods using the new icall GetVirtualMethod ().
	Remove the now obsolete GetMethodBaseFromName + generic params
	overloads.

In System.Runtime.Remoting.Messaging:
2007-10-30  Robert Jordan  <[email protected]>

	* MethodCall.cs (ResolveMethod): Lookup the interface
	using RemotingServices.GetVirtualMethod (). Eliminates
	the costly GetMethodBaseFromName () call.


svn path=/trunk/mcs/; revision=88434
2007-10-30 01:49:05 +00:00
Robert Jordan afdc20175d In System.Runtime.Remoting:
2007-08-30  Robert Jordan  <[email protected]>

	* RemotingServices.cs (InternalExecuteMessage): Resolve interface
	methods correctly. Fixes #81554. Ditto for generic methods.

	* RemotingServices.cs (GetMethodBaseFromName): Reuse already computed
	FieldSetter|GetterMethods.

	* RemotingServices.cs (GetMethodBaseFromName): New overload that
	takes generic arguments into account.

In System.Runtime.Remoting.Messaging:
2007-09-07   Robert Jordan  <[email protected]>

	* MethodCall (ResolveMethod): Handle generic methods in the
	code that was introduced as a fix for #82240.
	Fixes #81554.


svn path=/trunk/mcs/; revision=85525
2007-09-08 22:28:07 +00:00
Mark Probst 733fed177c 2007-08-15 Mark Probst <[email protected]>
* RemotingServices.cs: Make sure InternalExecute doesn't get
	called with a null method, because that makes it crash.  Throw a
	NullReferenceException instead.  Doesn't fix bug #82302, but
	prevents the crash.

svn path=/trunk/mcs/; revision=84154
2007-08-15 15:29:52 +00:00
Atsushi Eno 854b977d68 a set of cosmetic part of 2.0 remoting API fixes.
svn path=/trunk/mcs/; revision=84134
2007-08-15 05:47:35 +00:00
Atsushi Eno 936dfc332b clearing ComVisibleAttribute noises in 2.0 API.
svn path=/trunk/mcs/; revision=81245
2007-07-03 12:28:53 +00:00
Jonathan Chambers 2c72d3253a 2007-05-02 Jonathan Chambers <[email protected]>
* RemotingConfiguration.cs: Added Configure overload for 2.0
	with MonoTODO for security.

svn path=/trunk/mcs/; revision=76588
2007-05-02 19:09:09 +00:00
Lluis Sanchez 4905c6820b 2006-12-18 Lluis Sanchez Gual <[email protected]>
* RemotingServices.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.
	  In UpdateOutArgObject, removed support for StringBuilder objects,
	  now supporting only arrays, like MS.NET.


svn path=/trunk/mcs/; revision=70641
2007-01-08 12:45:03 +00:00
Lluis Sanchez be38075df7 2006-11-22 Lluis Sanchez Gual <[email protected]>
* RemotingServices.cs: Avoid generating urls with negative numbers.
	  When building the url for the RemoteActivationService service,
	  avoid duplicate path separator.


svn path=/trunk/mcs/; revision=68313
2006-11-22 01:02:04 +00:00
Gert Driesen 5243a420ec * RemotingServices.cs: Explicitly set FormatterAssemblyStyle to Full
in 2.0 profile, as the default has changed from Full to Simple.
Fixes bug #79732.

svn path=/trunk/mcs/; revision=67142
2006-10-30 16:29:10 +00:00
Lluis Sanchez e5f3efef02 2006-08-23 Lluis Sanchez Gual <[email protected]>
* ObjRef.cs: Throw a TypeLoadException exception if the referenced
	  type can't be found. That's better than a nullref.


svn path=/trunk/mcs/; revision=64279
2006-08-23 21:19:57 +00:00
Jonathan Chambers a4f8889331 2006-07-15 Jonathan Chambers <[email protected]>
Begin implementing COM Interop.

svn path=/trunk/mcs/; revision=62639
2006-07-15 13:13:55 +00:00
Robert Jordan 40ed976145 2006-04-27 Robert Jordan <[email protected]>
* RemotingServices.cs (IsObjectOutOfAppDomain, IsObjectOutOfContext):
	add parameter validation. Fixes bug #78164.


svn path=/trunk/mcs/; revision=60010
2006-04-27 20:43:06 +00:00
Sebastien Pouliot 900f06daee 2006-04-07 Sebastien Pouliot <[email protected]>
* RemotingServices.cs: Assert SerializationFormatter permissions if 
	the runtime wants to do cross-appdomain serialization (this will need
	to be better reviewed/tested later but it fix some current issues).


svn path=/trunk/mcs/; revision=59215
2006-04-07 19:13:09 +00:00
Robert Jordan a3ff55a369 2005-12-07 Robert Jordan <[email protected]>
* RemotingServices.cs: Accept the application name beeing a part of
	  the object URI. Fixes bug #76809.


svn path=/trunk/mcs/; revision=54010
2005-12-06 23:31:24 +00:00
Svetlana Zholkovsky a3ab70385a Fix RemotingConfiguration.cs (ConfigHandler.OnEndElement) and ServerIdentity.cs (DisposeServerObject)
svn path=/trunk/mcs/; revision=52623
2005-11-06 11:48:12 +00:00
Lluis Sanchez 43c33111e6 2005-10-18 Lluis Sanchez Gual <[email protected]>
* RemotingConfiguration.cs: The value for customErrors tag must be
	case-insensitive. Fixes bug #76466 (patch by Robert Jordan).
	

svn path=/trunk/mcs/; revision=51861
2005-10-18 10:21:58 +00:00
Lluis Sanchez 27ac1ee91f 2005-10-17 Lluis Sanchez Gual <[email protected]>
* RemotingConfiguration.cs: Rethrow catched exceptions
	in ReadConfigFile (patch by Robert Jordan). Fixes bug #76434.
	Properly set the application name.

2005-08-18  Lluis Sanchez Gual  <[email protected]>


svn path=/trunk/mcs/; revision=51799
2005-10-17 11:49:48 +00:00
Lluis Sanchez 3042000361 2004-08-18 Lluis Sanchez Gual <[email protected]>
* RemotingServices.cs: Notify marshals, unmarshals and disconnections
	to TrackingServices. Fixes bug #75814.


svn path=/trunk/mcs/; revision=48487
2005-08-18 09:55:08 +00:00
Ben Maurer a68aa2eda4 remove executable bit from changelogs
svn path=/trunk/mcs/; revision=46563
2005-06-27 15:53:16 +00:00
Zoltan Varga 9c73996e69 2005-06-06 Zoltan Varga <[email protected]>
* ObjRef.cs RemotingServices.cs: Add some missing 2.0 attributes.

svn path=/trunk/mcs/; revision=45492
2005-06-06 14:17:19 +00:00
Ben Maurer bfebe73def 2005-05-26 Ben Maurer <[email protected]>
* InternalRemotingServices.cs: Move hashtable init to
	cctor. Removes double checked locking and locking on typeof.


svn path=/trunk/mcs/; revision=45075
2005-05-26 20:17:21 +00:00
Lluis Sanchez 69ae8140ba 2005-05-17 Lluis Sanchez Gual <[email protected]>
* ObjRef.cs: Use IsInstanceOfType instead of IsAssignableFrom
	since GetType() may not return the correct type if the object is
	a remoting proxy.


svn path=/trunk/mcs/; revision=44637
2005-05-17 17:53:03 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Atsushi Eno 0e388c1237 2005-05-12 Atsushi Enomoto <[email protected]>
* corlib.dll.sources: replaced MiniParser.cs with SmallXmlParser.cs.

	* SmallXmlParser.cs,
	  SecurityParser.cs : Use new SmallXmlParser.cs instead of MiniParser.

	* RemotingConfiguration.cs : MiniParser->SmallXmlParser changes.

	* PermissionSetAttribute.cs : MiniParser->SmallXmlParser changes.


svn path=/trunk/mcs/; revision=44422
2005-05-12 03:40:00 +00:00
Lluis Sanchez 334ae1a545 2005-05-09 Lluis Sanchez Gual <[email protected]>
* RemotingServices.cs: Fix warning.


svn path=/trunk/mcs/; revision=44264
2005-05-09 10:54:24 +00:00
Lluis Sanchez 35b4dcf8d1 * RemotingServices.cs: Added several serialization methods needed by
the cross app domain wrappers.
	In GetOrCreateClientIdentity(), set the domain of the proxy if it
	references an object in another domain.

svn path=/trunk/mcs/; revision=35964
2004-11-10 11:52:55 +00:00
Lluis Sanchez c3e7b4fa53 * RemotingServices.cs: Allways pass the uri when calling
GetClientChannelSinkChain, even if it has channel data.
	  This fixes bug 66768.

svn path=/trunk/mcs/; revision=34469
2004-09-28 08:18:29 +00:00
Lluis Sanchez 3266ee6e9a * ServerIdentity.cs: Only set the target identity if it has not already
been set.

svn path=/trunk/mcs/; revision=34447
2004-09-27 20:06:12 +00:00
Lluis Sanchez 34a336c0ce * RemotingServices.cs: Fixed wrong patch for InternalExecuteMessage.
The MethodBase in the message may not be the same type of the object
	  (the method can be called using an interface).

svn path=/trunk/mcs/; revision=34280
2004-09-23 13:24:14 +00:00
Lluis Sanchez d1c4ebe91a * RemotingServices.cs: In InternalExecute, use MethodBase instead
of MonoMethod, so it can be also used for running constructors.
	* ServerIdentity.cs: Added methods for getting and setting the client
	  proxy in ClientActivatedIdentity. This is needed for CBOs, since
	  messages need to be dispatched using the proxy as "this", not the
	  real object.

svn path=/trunk/mcs/; revision=34251
2004-09-22 19:30:55 +00:00
Ben Maurer 8d6c76318b 2004-09-11 Ben Maurer <[email protected]>
* RemotingServices.cs: use MethodBase rather than looking
	for the method ourselves. It has higher perf in x-ad calls.

svn path=/trunk/mcs/; revision=33764
2004-09-12 01:20:28 +00:00
Ben Maurer 094186a061 2004-09-05 Ben Maurer <[email protected]>
* RemotingServices.cs (IsMethodOverloaded): use the internal
	method GetMethodsByName. It does much less work than GetMembers.

svn path=/trunk/mcs/; revision=33374
2004-09-05 17:48:27 +00:00
Ben Maurer a049865bb3 2004-09-05 Ben Maurer <[email protected]>
* RemotingServices.cs (IsOneWay): use IsDefined rather than

svn path=/trunk/mcs/; revision=33371
2004-09-05 16:26:09 +00:00
Lluis Sanchez c7229c7551 * ObjRef.cs: Fixed type check in in ObjRef constructor. The requested class
must be the object class or a base class. This fixes bug #61249.

svn path=/trunk/mcs/; revision=31368
2004-07-22 09:24:36 +00:00
Lluis Sanchez a54b2d7817 * RemotingServices.cs: Changed GetMethodBaseFromMethodMessage so its code
can be reused internally. Also fixed bug when gettting a method from an
	  interface.

svn path=/trunk/mcs/; revision=31362
2004-07-22 08:14:10 +00:00
Lluis Sanchez 56907edd29 * ServerIdentity.cs: When disposing an identity, detach the identity from
the object, so it can be safely marshalled again.
	* RemotingServices.cs: Fixed IsObjectOutOfContext and
	  IsObjectOutOfAppDomain. In SetObjectUriForMarshal, take into account
	  contextful objects.

svn path=/trunk/mcs/; revision=30670
2004-07-02 14:03:47 +00:00
Lluis Sanchez b41f3fa30e * RemotingConfiguration.cs: Avoid adding "id" and "type" as custom
properties of providers. This fixes bug #60934.

svn path=/trunk/mcs/; revision=30610
2004-07-01 11:02:33 +00:00
Gert Driesen fba8ec682a * RemotingTimeoutException.cs: added missing serialization ctor
* ServerException.cs: added missing serialization ctor

svn path=/trunk/mcs/; revision=29633
2004-06-15 18:39:20 +00:00
Lluis Sanchez 0036436ef6 * RemotingConfiguration.cs: Read application name from configuraation file.
svn path=/trunk/mcs/; revision=29555
2004-06-14 21:41:02 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Gert Driesen 85abe35367 * RemotingServices.cs: Added missing Conditional attribute and
MonoTODO attribute on LogRemotingStage

svn path=/trunk/mcs/; revision=28644
2004-06-01 17:58:08 +00:00
Lluis Sanchez 421c46d503 * RemotingConfiguration.cs: Added method for configuring chanels with the
delayed client load flag. Added locks for accessing internal tables.

svn path=/trunk/mcs/; revision=27100
2004-05-11 13:22:03 +00:00
Lluis Sanchez 304ffc273f * RemotingServices.cs: In GetMethodBaseFromMethodMessage, look for
constructors if no method is found.

svn path=/trunk/mcs/; revision=27074
2004-05-11 09:54:26 +00:00
Lluis Sanchez 47296304eb * SoapServices.cs: Support encoded namespace names in
DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.

svn path=/trunk/mcs/; revision=26895
2004-05-07 10:43:32 +00:00
Lluis Sanchez e9b7d5bc33 * RemotingServices.cs: When create a ReturnMessage, provide an array with
all parameters, including input parameters.

svn path=/trunk/mcs/; revision=26185
2004-04-28 18:37:47 +00:00
Lluis Sanchez a86a1ae101 * ObjRef.cs: Little optimization.
svn path=/trunk/mcs/; revision=26007
2004-04-26 18:42:01 +00:00
Lluis Sanchez ae5d8520ec * RemotingServices.cs: Marshal(): If the object is a proxy, return the ObjRef stored in the identity object. This fixes bug #55100. Fixed some exception messages.
svn path=/trunk/mcs/; revision=23827
2004-03-09 12:11:27 +00:00
Lluis Sanchez 2fd14bfe39 * Identity.cs: Removed object type from Identity, since it is hold
now in the IRemotingTypeInfo object.
	* ServerIdentity.cs: Added object type.
	* TypeInfo.cs: Added null check for the class hierarchy.

svn path=/trunk/mcs/; revision=23732
2004-03-05 03:53:16 +00:00