Files
mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
T
Robert Jordan f2062c1ef9 In corlib/System.Runtime.Remoting.Proxies:
2010-02-28  Robert Jordan  <[email protected]>

	* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
	do not have out args (by design). The issue has existed for many
	years but it was invisible because mono_delegate_begin_invoke ()
	has swallowed exceptions, which was fixed by Gonzalo in r141856.
	Fixes a couple of disabled remoting tests (#576618).

In System.Runtime.Remoting/Test:
2010-02-28  Robert Jordan  <[email protected]>

	* BaseCalls.cs: Enable tests again. See bug #576618.


svn path=/trunk/mcs/; revision=152616
2010-02-27 23:18:52 +00:00

223 lines
7.5 KiB
Plaintext

2010-02-28 Robert Jordan <[email protected]>
* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
do not have out args (by design). The issue has existed for many
years but it was invisible because mono_delegate_begin_invoke ()
has swallowed exceptions, which was fixed by Gonzalo in r141856.
Fixes a couple of disabled remoting tests (#576618).
2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* RealProxy.cs: for a custom proxy, retrieve the OutArgs before
allowing EndInvoke to proceed because after that, OutArgs will throw
because there is no method. Fixes remoting2 and remoting3 tests.
2009-05-06 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: If async dispatch crashes, don't propagate the
exception. The exception will be raised when calling EndInvoke.
2008-04-02 Andreas Nahr <[email protected]>
* ProxyAttribute.cs: Fix parameter names
2008-02-10 Sebastien Pouliot <[email protected]>
* RealProxy.cs: Use 'is' instead of 'as' and a null check. Found
using Gendarme new UseIsOperator rule.
2007-05-03 Dick Porter <[email protected]>
* ProxyAttribute.cs:
* RealProxy.cs: Update to 2.0 profile
2006-07-15 Jonathan Chambers <[email protected]>
* RealProxy.cs: Indicate that all fields need keep in sync
with definition in object-internals.h for COM Interop.
2006-06-18 Zoltan Varga <[email protected]>
* RealProxy.cs (ProcessResponse): Use t.GetElementType ().IsInstanceOfType () when the type is a byref.
2005-06-22 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Extract the output arguments from the message's
Args list (not from OutArgs), since some message objects
may not support OutArgs (for example, when the target MethodBase is
not known, there is no way to know which params are out params).
I've checked that MS.NET behaves in the same way. This fixes
bug #75277.
2005-06-13 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Report invalid return type of values using
InvalidCastException, like MS.NET. Fixes bug #75203.
2004-10-26 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
used by the new xdomain wrappers. Added GetAppDomainTarget() method,
which returns the remote object referenced by the proxy.
* RemotingProxy.cs: Moved _targetUri to RealProxy.
2004-09-27 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
2004-09-22 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
be used as "this" for method calls.
2004-04-23 Patrik Torstensson
* RealProxy.cs: Moved async functionlity here, also take
care of custom proxies (non RemotingProxy) case for async and
construction calls.
* RemotingProxy.cs: allow RealProxy to call construction method and
remove end async control (moved to RealProxy)
Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.
2004-04-13 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
2004-04-01 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
MS.NET behavior.
2004-03-04 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added new internal method for getting the proxy type. It
gets the proxy type from the MonoRemoteClass (it can change if the
vtable is upgraded).
Modified GetTransparentProxy(). Now it takes the name of the type.
The name is taken from the IRemotingTypeInfo object.
* RemotingProxy.cs: The class must implement IRemotingTypeInfo.
2004-01-19 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added setter for ObjectIdentity.
2003-11-26 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Signature fix.
2003-11-25 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added some missing methods.
* RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
instead of a ReturnMessage.
2003-11-11 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Do not dispose proxy identity when it is a local
ContextBoundObject proxy.
2003-10-21 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: In PrivateInvoke() do not try to return the out parameters
if the return message is an excption. This fixes bug #49926.
2003-10-08 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Added destructor that unregisters the identity.
Fixes a memory leak.
2003-10-07 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Fixed support for [out] parameters in async calls.
2003-09-11 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Return message check moved to RealProxy.
* RealProxy.cs: Added return message check and propagation of output
parameter values.
2003-08-25 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Use CallType property to check the type of
the message.
2003-08-24 Vladimir Vukicevic <[email protected]>
* RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
setup/restoration into RealProxy's PrivateInvoke, so that custom
RealProxy's get a LogicalCallContext.
2003-08-14 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: On invoke, set the LogicalCallContext of the message.
2003-07-28 Duncan Mak <[email protected]>
* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
2003-07-25 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Check the return arguments types. (a wrong type
would make the runtime to crash).
2003-07-16 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Assign to the message the full uri, if available,
not only the object uri.
2003-04-10 Lluis Sanchez Gual <[email protected]>
* RemotingProxy.cs: Added support for Async and OneWay messages.
2003-03-20 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: added variables to support proxy bypass when the called CBO is
in the same context as the caller.
* RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
ActivationServices.
2003-03-03 Lluis Sanchez Gual <[email protected]>
* ProxyAttribute.cs: Implemented.
* RealProxy.cs: Added stubs for some missing methods.
* RemotingProxy.cs: The activation constructor now creates the ConstructionCall
message and collects the context properties.
Activation of objects now use IActivator instances.
2003-02-18 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Changed constructor to allow only ClientIdentity instances.
* RemotingProxy.cs: Added new constructor for client activated objects.
Added method that handles construction messages.
2003-02-03 Patrik Torstensson
* RealProxy.cs: changed excption behavior and added serialization helpers,
changed so it don't create a new TP for each gettp call.
* RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
same behavior as MS.
2003-01-28 Gonzalo Paniagua Javier <[email protected]>
* RealProxy.cs: fixed compilation by adding missing GetObjectData ().
2002-12-20 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added ObjectIdentity property.
Implemented CrateObjRef.
* RemotingProxy.cs: Added Identity parameter to constructor
2002-07-24 Duncan Mak <[email protected]>
* ProxyAttribute.cs: Revert the last commit.
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
implements IContextAttribute.
2002-07-23 Duncan Mak <[email protected]>
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.