Commit Graph
20 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
Jonathan Chambers f929cddf15 2006-08-10 Jonathan Chambers <[email protected]>
* ComInteropProxy.cs: Fix default constructor being always
	being called.
	* Marshal.cs: Implement GetIDispatchForObject.
	* __ComObject.cs: Added defintion of IDispatch interface, and
	property. Get CLSID of supertype for creation if class not
	ComImport attributed (allows for inheritance of RCW).
	* MonoType.cs: Implement IsCOMObjectImpl.

svn path=/trunk/mcs/; revision=63630
2006-08-11 02:28:50 +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
Lluis Sanchez 1c0aace75f * ActivationServices.cs: In Activate, assign the proxy to the ctor
message. In CreateInstanceFromMessage if the object being created
	  is a CBO, use the provided proxy as "this" when calling the ctor.

svn path=/trunk/mcs/; revision=34252
2004-09-22 19:31:25 +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
Lluis Sanchez cd688d711e * ActivationServices.cs: If remote activation returns an exception, do not
try to attach the object identity to the return message.
	* AppDomainLevelActivator.cs: Catch exceptions when execution remote
	  activation.
	* ConstructionLevelActivator.cs: Do not store next activator. This is
	  always the last one.
	* ContextLevelActivator.cs: Renamed _next member to match MS.NET
	  implementation.

svn path=/trunk/mcs/; revision=21451
2003-12-23 15:38:12 +00:00
Lluis Sanchez 5082ccdbeb * ActivationServices.cs: make AllocateUninitializedClassInstance public,
so it can be reused.

svn path=/trunk/mcs/; revision=19174
2003-10-18 18:22:30 +00:00
Lluis Sanchez f9ee992dfc * AppDomainLevelActivator.cs: little fix.
svn path=/trunk/mcs/; revision=18723
2003-10-07 23:29:56 +00:00
Lluis Sanchez 7033eba810 * AppDomainLevelActivator.cs, ConstructionLevelActivator.cs,
ContextLevelActivator.cs, RemoteActivationAttribute.cs,
	  RemoteActivator.cs: Changed class from public to internal.

svn path=/trunk/mcs/; revision=17336
2003-08-14 18:59:14 +00:00
Lluis Sanchez ad8839ab64 * ActivationServices.cs: Added the method Activate that performs the forwards the
creation message to the right message sink. Added support for AppDomainLevelActivator.
	* ConstructionLevelActivator.cs: Activate does not use the object identity because
	  it may not be set yet.
	* ContextLevelActivator.cs: this activator is now always called for CBOs. A new context
	  has to be created only if the construction message says so.
	* AppDomainLevelActivator.cs: Added. Implements an IActivator that makes a remote creation.

svn path=/trunk/mcs/; revision=12713
2003-03-20 20:31:27 +00:00
Lluis Sanchez 42a1ccef13 * ActivationServices.cs: Added method for creating a proxy from a list
of activation attributes. This is used by System.Activator.
	  Added method for creating a ConstructionCall from a list of activation attributes.
	  This is used from RemotingProxy.
	* ConstructionLevelActivator.cs: Added. Implements an IActivator that constructs an object.
	* ContextLevelActivator.cs: Added. Implements an IActivator that constructs a context.
	* RemoteActivationAttribute.cs: Added.
	* RemoteActivator.cs: Used RemoteActivationAttribute in the creation of the server object.
	* UrlAttribute.cs: Removed some "throw new NotImplementedException ()".

svn path=/trunk/mcs/; revision=12135
2003-03-03 16:39:42 +00:00
Lluis Sanchez 9304566e82 * RemoteActivator.cs: Instance creation implemented.
* ActivationServices.cs: Added.

svn path=/trunk/mcs/; revision=11723
2003-02-19 12:36:33 +00:00
Lluis Sanchez e2ed296e94 * RemoteActivator.cs: Added.
svn path=/trunk/mcs/; revision=11021
2003-01-29 18:04:02 +00:00
Duncan Mak c77b63d3f5 2002-12-06 Duncan Mak <[email protected]>
* UrlAttribute.cs (GetHashCode): Implemented.

	* BaseChannelSinkWithProperties.cs (constructor): Implemented by
	chaining on to the base constructor.

	* BaseChannelObjectWithProperties.cs : Implemented the Count,
	IsFixedSize, IsReadOnly, IsSynchronized, Keys, Properties, SyncRoot,
	Values properties.

	Implemented the Contains and GetEnumerator methods.

	Removed the unnecessary TODO attribute on the constructor, and the Add
	method.


	* Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.

svn path=/trunk/mcs/; revision=9414
2002-12-07 01:43:39 +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 eb94895b16 2002-07-24 Duncan Mak <[email protected]>
* unix.args: Added files from Remoting.Lifetime and
	Remoting.Metadata.

	* ChangeLog: Moved entries from System.Runtime.Remoting.Activation
	and System.Runtime.Remoting.Proxy to their own ChangeLog.

	* IsVolatile.cs: change visibility on the constructor.

	* LeaseState.cs: Moved here from System.Runtime.Remoting.

	* ClientSponsor.cs:
	* LifetimeServices.cs: Stubbed out

	* ILease.cs:
	* ISponsor.cs: Added to CVS.

	* OneWayAttribute.cs: Added to CVS.

	* SoapAttribute.cs:
	* SoapFieldAttribute.cs:
	* SoapMethodAttribute.cs:
	* SoapParameterAttribute.cs:
	* SoapTypeAttribute.cs: Stubbed out.

	* SoapOption.cs:
	* XmlFieldOrderOption.cs: Moved here from System.Runtime.Remoting

	* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
	implements IContextAttribute.

	* LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.

	* SoapMethodOption.cs:
	* SoapOption.cs: Removed and merged into System.Runtime.Remoting.Metadata.SoapOption.

svn path=/trunk/mcs/; revision=6107
2002-07-24 04:18:47 +00:00
Miguel de Icaza 0eb959bca1 Flush compile fixes
svn path=/trunk/mcs/; revision=6090
2002-07-23 17:29:11 +00:00
Duncan Mak 047a4f0d67 2002-07-24 Duncan Mak <[email protected]>
* System.Runtime.Remoting.Activation/UrlAttribute.cs: Add to CVS.

	* System.Runtime.Remoting.Activation/IConstructionCallMessage.cs:
	This implements IMessage, IMethodCallMessage and IMethodMessage.

svn path=/trunk/mcs/; revision=6089
2002-07-23 17:24:51 +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