Commit Graph
45 Commits
Author SHA1 Message Date
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
Paolo Molaro dfedc63981 Tue Jan 23 17:48:42 CET 2007 Paolo Molaro <[email protected]>
* Context.cs: mark the GC-tracked field with UIntPtr.


svn path=/trunk/mcs/; revision=71520
2007-01-23 16:49:11 +00:00
Paolo Molaro 2589c417be Wed Mar 15 16:35:13 CET 2006 Paolo Molaro <[email protected]>
* Context.cs: update for LocalDataStoreSlot changes.


svn path=/trunk/mcs/; revision=58021
2006-03-15 15:39:20 +00:00
Lluis Sanchez 029f93da83 2006-01-31 Lluis Sanchez Gual <[email protected]>
* Context.cs: Fixed double check lock.


svn path=/trunk/mcs/; revision=56356
2006-01-31 19:45:27 +00:00
Sebastien Pouliot 26c347aeca 2005-12-08 Sebastien Pouliot <[email protected]>
* Context.cs: ContextProperties property is virtual.
	* CrossContextDelegate.cs: Removed [Serializable] from 2.0 build.
	* SynchronizationAttribute.cs: Fixed serialization to be compatible 
	with MS FX. Removed old TODO.


svn path=/trunk/mcs/; revision=54146
2005-12-09 01:31:36 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Lluis Sanchez 3b3df8c2fe 2005-05-09 Lluis Sanchez Gual <[email protected]>
* SynchronizationAttribute.cs: Make it serializable. Fixes bug #60228.


svn path=/trunk/mcs/; revision=44261
2005-05-09 10:40:20 +00:00
Lluis Sanchez 6bff732974 2005-05-06 Lluis Sanchez Gual <[email protected]>
* Context.cs: Fix unsafe double-check locks.


svn path=/trunk/mcs/; revision=44118
2005-05-06 10:28:37 +00:00
Zoltan Varga 8c6e1d8cef 2005-05-02 Zoltan Varga <[email protected]>
* Context.cs: Remove process_id field to sync with the unmanaged
	structure.

svn path=/trunk/mcs/; revision=43899
2005-05-02 20:10:57 +00:00
Lluis Sanchez 0b1640c19d * Context.cs: Added NeedsContextSink property, which returns TRUE if
the current context has sinks that need to be executed when switching to
	another context.

svn path=/trunk/mcs/; revision=35962
2004-11-10 11:51:30 +00:00
Lluis Sanchez d1be134bf4 * Context.cs: In CreateServerObjectSinkChain, added a parameter to
specify that messages must be dispatched to the target object using
	  InternalExecute. Usually if the target is a proxy, the sink uses
	  RealProxy.Invoke to dispatch the method. This can't be done for local
	  CBOs since we would loop for ever.

svn path=/trunk/mcs/; revision=34253
2004-09-22 19:32:13 +00:00
Gert Driesen 7e7c331dc6 * SynchronizationAttribute.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29637
2004-06-15 18:40:47 +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 8f4b677f58 * Context.cs: Added finalizer to match MS.NET
svn path=/trunk/mcs/; revision=29081
2004-06-09 04:54:36 +00:00
Lluis Sanchez 41a3ec3dc8 Several bug fixes.
svn path=/trunk/mcs/; revision=21454
2003-12-23 16:10:58 +00:00
Lluis Sanchez cc169bb16b Context.cs: Added internal static_data field.
svn path=/trunk/mcs/; revision=20318
2003-11-21 18:39:12 +00:00
Lluis Sanchez f7a98aa62a * Context.cs: Implemented several missing methods and properties:
ContextProperties, DoCallBack, AllocateDataSlot, AllocateNamedDataSlot,
	  FreeNamedDataSlot, GetData, GetNamedDataSlot, SetData.
	* SynchronizationAttribute.cs: Fixed check for current context.

svn path=/trunk/mcs/; revision=20231
2003-11-19 17:07:07 +00:00
Lluis Sanchez 390c82e5ce SynchronizationAttribute.cs: Implemented.
svn path=/trunk/mcs/; revision=20200
2003-11-18 21:47:59 +00:00
Miguel de Icaza 7c95f0650a A couple more TODOs
svn path=/trunk/mcs/; revision=20012
2003-11-14 22:32:04 +00:00
Duncan Mak 4bcbe166d0 * TransportHeaders.cs: Added Serializable attribute.
* ClientChannelSinkStack.cs: Added no-param constructor.

* ContextAttribute.cs: Removed constructor.

* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.

* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.

* Formatter.cs (WriteSByte): Added CLSCompliant attribute.

svn path=/trunk/mcs/; revision=16785
2003-07-28 19:48:38 +00:00
Lluis Sanchez fc5a9fcae9 * CrossContextChannel.cs: Improved support for OneWay and Async messages.
svn path=/trunk/mcs/; revision=13478
2003-04-10 16:29:44 +00:00
Lluis Sanchez f6cc7de959 * Context.cs: Implemented support for dynamic properties and dynamic message sinks.
* CrossContextChannel.cs: Added support for dynamic message sinks.

svn path=/trunk/mcs/; revision=12712
2003-03-20 20:30:57 +00:00
Lluis Sanchez ceb4b2a9b2 * Contexts.cs : Management of the default context moved to the runtime.
Implemented creation of the client context, server context, object and envoy sinks.
	  Added method for creating a new context.
	* CrossContextChannel.cs : Removed check for construction messages. Now construction
	  go through the IActivators.

svn path=/trunk/mcs/; revision=12137
2003-03-03 16:41:06 +00:00
Lluis Sanchez f929ec50c4 * Contexts.cs : Added methods for getting the client context sink chain and the
envoy sink chain. Also added stub methods for context switch and creation.
	* CrossContextChannel.cs : Added.

svn path=/trunk/mcs/; revision=11725
2003-02-19 12:37:48 +00:00
Patrik Torstensson c373391049 2003-02-03 Patrik Torstensson
* Context.cs : Changed order of fields to match the runtime implementation.

svn path=/trunk/mcs/; revision=11163
2003-02-03 11:38:36 +00:00
Lluis Sanchez adab27e955 * Context.cs: Object sinks must be created for each object
(they can contain object-specific info).

svn path=/trunk/mcs/; revision=11023
2003-01-29 18:05:40 +00:00
Miguel de Icaza 5e017a3f3f 2002-12-20 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added ObjectIdentity property.
	  Implemented CrateObjRef.
	* RemotingProxy.cs: Added Identity parameter to constructor

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* ServerContextTerminatorSink.cs: Added
	* ServerObjectTerminatorSink.cs: Added
	* StackBuilderSink.cs: Added

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <[email protected]>

	* ObjRef.cs: Implementation now based on methods of RemotingServices.
	* RemotingServices.cs: Remoting information now kept in Identity objects.
	  All methods adapted to work with identities.
	  Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
	  not make a direct call to the object.
	* Identity.cs: added.

svn path=/trunk/mcs/; revision=9822
2002-12-21 23:00:04 +00:00
Duncan Mak d653d553dd Adding .cvsignores
svn path=/trunk/mcs/; revision=8778
2002-11-02 21:26:16 +00:00
Gonzalo Paniagua Javier 8a3f91bf2b 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* System.Runtime.Remoting.Channels/SynchronizationAttribute.cs: this
	is already in System.EnterpriseServices.dll.

	* corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSinkProvider.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryServerFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryServerFormatterSinkProvider.cs
	* corlib/System.Runtime.Remoting.Channels/CommonTransportKeys.cs
	* corlib/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs:
	* corlib/unix.args:

	Move files from corlib.dll to System.Runtime.Remoting.dll.

svn path=/trunk/mcs/; revision=6809
2002-08-20 13:59:19 +00:00
Duncan Mak 765fac406a More visibility fixes, and revert my previous patch on ContextAttribute.
svn path=/trunk/mcs/; revision=6325
2002-08-01 18:28:49 +00:00
Duncan Mak 7c32d23891 More visibility fixes.
svn path=/trunk/mcs/; revision=6324
2002-08-01 18:20:26 +00:00
Duncan Mak 55cf73a721 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added new classes in
	System.Runtime.Remoting.Contexts.

	* SynchronizationAttribute.cs: Added more interfaces, it
	implements them (via CorCompare), but they're not listed in the docs.

	* ContextProperty.cs:
	* CrossContextDelegate.cs: Added to CVS.

	* ContextAttribute.cs: Added missing constructor.

svn path=/trunk/mcs/; revision=6274
2002-07-31 07:51:18 +00:00
Duncan Mak 8bec3c50f3 * IContributeServerContentSink.cs: Removed.
* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

svn path=/trunk/mcs/; revision=6234
2002-07-29 03:38:28 +00:00
Duncan Mak 7a05b14771 2002-07-29 Duncan Mak <[email protected]>
* IContributeServerContentSink.cs: Removed.
	* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

	* ILease.cs: Add the method part of the interface and renamed the
	CurrentState property to it proper name.

	* SoapAttribute.cs: Fixed typo, renamed ReflectionInfo to ReflectInfo.

	* SoapOption.cs: Fix the namespace.

svn path=/trunk/mcs/; revision=6229
2002-07-28 20:16:23 +00:00
Duncan Mak dc2c6d11ef Remove stupid crud.
svn path=/trunk/mcs/; revision=6115
2002-07-24 05:40:31 +00:00
Duncan Mak 7f5d3e98f5 Committing BufferTest for Cesar Octavio Lopez Nataren <[email protected]>.
2002-07-22  Cesar Octavio Lopez Nataren  <[email protected]>

	* BufferTest.cs: Added this file to test the System.Buffer class
	implementation.

2002-07-24  Duncan Mak  <[email protected]>

	* SynchronizationAttribute.cs: Added missing attributes.

svn path=/trunk/mcs/; revision=6114
2002-07-24 05:32:50 +00:00
Duncan Mak 4286c7eb7a Sigh, more build fixes.
svn path=/trunk/mcs/; revision=6113
2002-07-24 05:05:44 +00:00
Duncan Mak bb62ee58ee More minor tweaks, sigh
svn path=/trunk/mcs/; revision=6112
2002-07-24 05:03:42 +00:00
Duncan Mak b978a0b7a7 Minor tweaks.
svn path=/trunk/mcs/; revision=6111
2002-07-24 05:02:34 +00:00
Duncan Mak d118767491 2002-07-24 Duncan Mak <[email protected]>
* IContextPropertyActivator.cs:
	* IContributeClientContextSink.cs:
	* IContributeDynamicSink.cs:
	* IContributeEnvoySink.cs:
	* IContributeObjectSink.cs:
	* IContributeServerContentSink.cs: Added the missing interfaces.

svn path=/trunk/mcs/; revision=6110
2002-07-24 04:58:38 +00:00
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Piers Haken 0e31b1c7b7 not sure what the original was based on, but this is much closer, eg: it actually implements the right methods, etc...
svn path=/trunk/mcs/; revision=3566
2002-04-03 06:26:02 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Miguel de Icaza 4cd8207aae Add new classes to get rid of the warnings being emitted by the
interpreter (although new warning are now there, we need to get the
Decimal internalcalls in place).

Implement some bits of CultureInfo, but it is yet far from finished.

svn path=/trunk/mcs/; revision=1205
2001-10-27 00:08:33 +00:00