1 2010-02-28 Robert Jordan <robertj@gmx.net>
3 * RealProxy.cs (PrivateInvoke): BeginInvoke return messages
4 do not have out args (by design). The issue has existed for many
5 years but it was invisible because mono_delegate_begin_invoke ()
6 has swallowed exceptions, which was fixed by Gonzalo in r141856.
7 Fixes a couple of disabled remoting tests (#576618).
9 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
11 * RealProxy.cs: for a custom proxy, retrieve the OutArgs before
12 allowing EndInvoke to proceed because after that, OutArgs will throw
13 because there is no method. Fixes remoting2 and remoting3 tests.
15 2009-05-06 Lluis Sanchez Gual <lluis@novell.com>
17 * RealProxy.cs: If async dispatch crashes, don't propagate the
18 exception. The exception will be raised when calling EndInvoke.
20 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
22 * ProxyAttribute.cs: Fix parameter names
24 2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
26 * RealProxy.cs: Use 'is' instead of 'as' and a null check. Found
27 using Gendarme new UseIsOperator rule.
29 2007-05-03 Dick Porter <dick@ximian.com>
32 * RealProxy.cs: Update to 2.0 profile
34 2006-07-15 Jonathan Chambers <joncham@gmail.com>
36 * RealProxy.cs: Indicate that all fields need keep in sync
37 with definition in object-internals.h for COM Interop.
39 2006-06-18 Zoltan Varga <vargaz@gmail.com>
41 * RealProxy.cs (ProcessResponse): Use t.GetElementType ().IsInstanceOfType () when the type is a byref.
43 2005-06-22 Lluis Sanchez Gual <lluis@novell.com>
45 * RealProxy.cs: Extract the output arguments from the message's
46 Args list (not from OutArgs), since some message objects
47 may not support OutArgs (for example, when the target MethodBase is
48 not known, there is no way to know which params are out params).
49 I've checked that MS.NET behaves in the same way. This fixes
52 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
54 * RealProxy.cs: Report invalid return type of values using
55 InvalidCastException, like MS.NET. Fixes bug #75203.
57 2004-10-26 Lluis Sanchez Gual <lluis@novell.com>
59 * RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
60 used by the new xdomain wrappers. Added GetAppDomainTarget() method,
61 which returns the remote object referenced by the proxy.
62 * RemotingProxy.cs: Moved _targetUri to RealProxy.
64 2004-09-27 Lluis Sanchez Gual <lluis@novell.com>
66 * RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
68 2004-09-22 Lluis Sanchez Gual <lluis@novell.com>
70 * RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
71 be used as "this" for method calls.
73 2004-04-23 Patrik Torstensson
75 * RealProxy.cs: Moved async functionlity here, also take
76 care of custom proxies (non RemotingProxy) case for async and
79 * RemotingProxy.cs: allow RealProxy to call construction method and
80 remove end async control (moved to RealProxy)
82 Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.
84 2004-04-13 Lluis Sanchez Gual <lluis@ximian.com>
86 * RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
88 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
90 * RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
93 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
95 * RealProxy.cs: Added new internal method for getting the proxy type. It
96 gets the proxy type from the MonoRemoteClass (it can change if the
98 Modified GetTransparentProxy(). Now it takes the name of the type.
99 The name is taken from the IRemotingTypeInfo object.
100 * RemotingProxy.cs: The class must implement IRemotingTypeInfo.
102 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
104 * RealProxy.cs: Added setter for ObjectIdentity.
106 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
108 * RealProxy.cs: Signature fix.
110 2003-11-25 Lluis Sanchez Gual <lluis@ximian.com>
112 * RealProxy.cs: Added some missing methods.
113 * RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
114 instead of a ReturnMessage.
116 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
118 * RemotingProxy.cs: Do not dispose proxy identity when it is a local
119 ContextBoundObject proxy.
121 2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
123 * RealProxy.cs: In PrivateInvoke() do not try to return the out parameters
124 if the return message is an excption. This fixes bug #49926.
126 2003-10-08 Lluis Sanchez Gual <lluis@ximian.com>
128 * RemotingProxy.cs: Added destructor that unregisters the identity.
131 2003-10-07 Lluis Sanchez Gual <lluis@ximian.com>
133 * RealProxy.cs: Fixed support for [out] parameters in async calls.
135 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
137 * RemotingProxy.cs: Return message check moved to RealProxy.
138 * RealProxy.cs: Added return message check and propagation of output
141 2003-08-25 Lluis Sanchez Gual <lluis@ximian.com>
143 * RemotingProxy.cs: Use CallType property to check the type of
146 2003-08-24 Vladimir Vukicevic <vladimir@pobox.com>
148 * RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
149 setup/restoration into RealProxy's PrivateInvoke, so that custom
150 RealProxy's get a LogicalCallContext.
152 2003-08-14 Lluis Sanchez Gual <lluis@ximian.com>
154 * RemotingProxy.cs: On invoke, set the LogicalCallContext of the message.
156 2003-07-28 Duncan Mak <duncan@ximian.com>
158 * RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
160 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
162 * RemotingProxy.cs: Check the return arguments types. (a wrong type
163 would make the runtime to crash).
165 2003-07-16 Lluis Sanchez Gual <lluis@ximian.com>
167 * RemotingProxy.cs: Assign to the message the full uri, if available,
168 not only the object uri.
170 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
172 * RemotingProxy.cs: Added support for Async and OneWay messages.
174 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
176 * RealProxy.cs: added variables to support proxy bypass when the called CBO is
177 in the same context as the caller.
178 * RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
181 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
183 * ProxyAttribute.cs: Implemented.
184 * RealProxy.cs: Added stubs for some missing methods.
185 * RemotingProxy.cs: The activation constructor now creates the ConstructionCall
186 message and collects the context properties.
187 Activation of objects now use IActivator instances.
189 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
191 * RealProxy.cs: Changed constructor to allow only ClientIdentity instances.
192 * RemotingProxy.cs: Added new constructor for client activated objects.
193 Added method that handles construction messages.
195 2003-02-03 Patrik Torstensson
197 * RealProxy.cs: changed excption behavior and added serialization helpers,
198 changed so it don't create a new TP for each gettp call.
200 * RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
203 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * RealProxy.cs: fixed compilation by adding missing GetObjectData ().
207 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
209 * RealProxy.cs: Added ObjectIdentity property.
210 Implemented CrateObjRef.
211 * RemotingProxy.cs: Added Identity parameter to constructor
213 2002-07-24 Duncan Mak <duncan@ximian.com>
215 * ProxyAttribute.cs: Revert the last commit.
217 * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
218 implements IContextAttribute.
220 2002-07-23 Duncan Mak <duncan@ximian.com>
222 * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.