Commit Graph
160 Commits
Author SHA1 Message Date
Marek Safar 4b4ddb66b3 [corlib] Improve flow of ExecutionContext (few tests taken from https://github.com/mono/mono/pull/864). Fixes #18121 and similar. 2014-03-06 19:54:06 +01:00
Bart Vries e3c37d1042 LogicalSet/GetData implementation in CallContext 2013-11-25 16:59:59 +01:00
Rodrigo Kumpera 861811b3fb Move some MOBILE bits under DISABLE_REMOTING as a remoting enabled runtime will need them for
basic functionality.
2013-03-07 17:46:04 -05:00
Rodrigo Kumpera e2d2459f30 RemotingServices::IsTransparentProxy doesn't work on mobile. 2013-03-01 11:32:12 -05:00
Rodrigo Kumpera b96d05dac3 Kill the MOONLIGHT define in corlib. 2013-02-11 16:03:28 -05: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
Sebastien Pouliot 59918464b3 Add a few MOONLIGHT defines to remove the RemotingProxy from ML build
* System.Runtime.Remoting.Activation/ActivationServices.cs:
* System.Runtime.Remoting.Messaging/ConstructionCall.cs
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs
* System.Runtime.Remoting.Proxies/RealProxy.cs
* System.Runtime.Remoting/RemotingServices.cs
	Add a few MOONLIGHT defines to remove the RemotingProxy from
	being used in Moonlight builds. This reduce the number of SSC
	and code size
* moonlight_raw_corlib.dll.sources: Remove System.Runtime.Remoting.
Proxies/RemotingProxy.cs from moonlight build
2011-04-13 10:31:11 -04:00
Marek Safar eda489c823 Few 4.0 profile corcompare changes 2011-03-30 18:25:03 +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
Robert Jordan 9eb4a2cd77 2010-03-05 Robert Jordan <[email protected]>
* ObjRef.cs (GetRealObject): Revert previous patch as it doesn't
	cope well with CAD remoting, which doesn't flag well-known types.


svn path=/trunk/mcs/; revision=153105
2010-03-05 13:09:51 +00:00
Robert Jordan d3edf1cd53 2010-02-26 Robert Jordan <[email protected]>
* ObjRef.cs (GetRealObject): Refine to server type only when
	necessary. Fixes #504886.


svn path=/trunk/mcs/; revision=152576
2010-02-26 20:01:33 +00:00
Rodrigo Kumpera 1cb9ec78d5 2010-02-05 Rodrigo Kumpera <[email protected]>
* RemotingServices.cs (InternalExecuteMessage): Properly
	handle generic methods. We can't call MakeGenericMethod on
	a non GMD method.

svn path=/trunk/mcs/; revision=150925
2010-02-05 12:57:50 +00:00
Marek Safar e36f88f012 app_id thread safety
svn path=/trunk/mcs/; revision=146421
2009-11-18 14:17:25 +00:00
Marek Safar ada78e5307 2009-11-18 Marek Safar <[email protected]>
* RemotingServices.cs: Delay heavyweight GUID initialization.


svn path=/trunk/mcs/; revision=146420
2009-11-18 13:29:24 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Sebastien Pouliot 4d177fd9eb 2009-09-18 Sebastien Pouliot <[email protected]>
* RemotingServices.cs: Avoid depending on COM stuff for NET_2_1


svn path=/trunk/mcs/; revision=142192
2009-09-18 15:34:41 +00:00
Robert Jordan 50e650bdaa In Mono.Interop:
2009-07-11  Robert Jordan  <[email protected]>

	* ComInteropProxy.cs: Implement CreateProxy. Hide public/internal
	ctors forcing CreateProxy's usage. Hide CacheProxy since the
	runtime is able to lookup it anyways.
	Fixes bug #520437.

In System:
2009-07-19  Robert Jordan  <[email protected]>

	* __ComObject.cs: Factor out Initialize method and expose it to
	ComInteropProxy. Fixes bug #520437.

In System.Runtime.Remoting:
2009-07-11  Robert Jordan  <[email protected]>

	* RemotingServices.cs: Track ComInteropProxy's changes.


svn path=/trunk/mcs/; revision=138182
2009-07-18 23:15:10 +00:00
Mark Probst 0316477932 2009-04-18 Mark Probst <[email protected]>
* RemotingServices.cs (GetDomainProxy): Make a copy of the array
        created in the other app domain so as not to pollute our own.

svn path=/trunk/mcs/; revision=132066
2009-04-17 23:30:57 +00:00
Miguel de Icaza b1acc47db5 2008-10-04 Robert Jordan <[email protected]>
* ServerIdentity.cs (DisposeServerObject):
	Notify TrackingServices about server's disconnection.

svn path=/trunk/mcs/; revision=121934
2008-12-20 19:18:55 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Atsushi Eno 8dbd02cbbf 2008-08-04 Atsushi Enomoto <[email protected]>
* RemotingConfiguration.cs : use ordinal comparison in config paths.
	  Fixed bug #384264.


svn path=/trunk/mcs/; revision=109537
2008-08-04 05:45:42 +00:00
Andreas N 490f6ce129 2008-07-03 Andreas Nahr <[email protected]>
* ServerException.cs:
	* RemotingTimeoutException.cs:
	* RemotingException.cs:
	* RemotingServices.cs:
	* RemotingConfiguration.cs:
	* ObjRef.cs: "Fix" parameter names

svn path=/trunk/mcs/; revision=107176
2008-07-03 19:20:37 +00:00
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