[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Proxies / ChangeLog
1 2010-02-28  Robert Jordan  <robertj@gmx.net>
2
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).
8
9 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
10
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.
14
15 2009-05-06  Lluis Sanchez Gual  <lluis@novell.com>
16
17         * RealProxy.cs: If async dispatch crashes, don't propagate the
18         exception. The exception will be raised when calling EndInvoke.
19
20 2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
21
22         * ProxyAttribute.cs: Fix parameter names
23
24 2008-02-10  Sebastien Pouliot  <sebastien@ximian.com>
25
26         * RealProxy.cs: Use 'is' instead of 'as' and a null check. Found 
27         using Gendarme new UseIsOperator rule.
28
29 2007-05-03  Dick Porter  <dick@ximian.com>
30
31         * ProxyAttribute.cs: 
32         * RealProxy.cs: Update to 2.0 profile
33
34 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
35
36         * RealProxy.cs: Indicate that all fields need keep in sync
37         with definition in object-internals.h for COM Interop.
38         
39 2006-06-18  Zoltan Varga  <vargaz@gmail.com>
40
41         * RealProxy.cs (ProcessResponse): Use t.GetElementType ().IsInstanceOfType () when the type is a byref.
42
43 2005-06-22  Lluis Sanchez Gual  <lluis@novell.com>
44
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
50         bug #75277.
51
52 2005-06-13  Lluis Sanchez Gual  <lluis@novell.com>
53
54         * RealProxy.cs: Report invalid return type of values using
55         InvalidCastException, like MS.NET. Fixes bug #75203.
56
57 2004-10-26  Lluis Sanchez Gual  <lluis@novell.com>
58
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.
63
64 2004-09-27  Lluis Sanchez Gual  <lluis@novell.com>
65
66         * RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
67         
68 2004-09-22  Lluis Sanchez Gual  <lluis@novell.com>
69
70         * RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
71           be used as "this" for method calls.
72
73 2004-04-23      Patrik Torstensson
74
75         * RealProxy.cs: Moved async functionlity here, also take
76         care of custom proxies (non RemotingProxy) case for async and
77         construction calls.
78         
79         * RemotingProxy.cs: allow RealProxy to call construction method and
80         remove end async control (moved to RealProxy)
81         
82         Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.
83
84 2004-04-13  Lluis Sanchez Gual  <lluis@ximian.com>
85
86         * RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
87
88 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
89
90         * RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
91           MS.NET behavior.
92
93 2004-03-04  Lluis Sanchez Gual  <lluis@ximian.com>
94
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
97           vtable is upgraded).
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.
101
102 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
103
104         * RealProxy.cs: Added setter for ObjectIdentity.
105
106 2003-11-26  Lluis Sanchez Gual <lluis@ximian.com>
107
108         * RealProxy.cs: Signature fix.
109         
110 2003-11-25  Lluis Sanchez Gual <lluis@ximian.com>
111
112         * RealProxy.cs: Added some missing methods.
113         * RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
114           instead of a ReturnMessage.
115
116 2003-11-11  Lluis Sanchez Gual <lluis@ximian.com>
117
118         * RemotingProxy.cs: Do not dispose proxy identity when it is a local
119           ContextBoundObject proxy.
120
121 2003-10-21  Lluis Sanchez Gual <lluis@ximian.com>
122
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.
125         
126 2003-10-08  Lluis Sanchez Gual <lluis@ximian.com>
127
128         * RemotingProxy.cs: Added destructor that unregisters the identity.
129           Fixes a memory leak.
130
131 2003-10-07  Lluis Sanchez Gual  <lluis@ximian.com>
132
133         * RealProxy.cs: Fixed support for [out] parameters in async calls.
134
135 2003-09-11  Lluis Sanchez Gual <lluis@ximian.com>
136
137         * RemotingProxy.cs: Return message check moved to RealProxy.
138         * RealProxy.cs: Added return message check and propagation of output
139           parameter values.
140
141 2003-08-25  Lluis Sanchez Gual <lluis@ximian.com>
142
143         * RemotingProxy.cs: Use CallType property to check the type of
144           the message.
145
146 2003-08-24  Vladimir Vukicevic  <vladimir@pobox.com>
147
148         * RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
149         setup/restoration into RealProxy's PrivateInvoke, so that custom
150         RealProxy's get a LogicalCallContext.
151
152 2003-08-14  Lluis Sanchez Gual <lluis@ximian.com>
153
154         * RemotingProxy.cs: On invoke, set the LogicalCallContext of the message.
155
156 2003-07-28  Duncan Mak  <duncan@ximian.com>
157
158         * RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
159
160 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
161
162         * RemotingProxy.cs: Check the return arguments types. (a wrong type
163           would make the runtime to crash).
164
165 2003-07-16  Lluis Sanchez Gual <lluis@ximian.com>
166
167         * RemotingProxy.cs: Assign to the message the full uri, if available,
168           not only the object uri.
169
170 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
171
172         * RemotingProxy.cs: Added support for Async and OneWay messages.
173
174 2003-03-20  Lluis Sanchez Gual <lluis@ideary.com>
175
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
179           ActivationServices.
180
181 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
182
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.
188
189 2003-02-18  Lluis Sanchez Gual <lluis@ideary.com>
190
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.
194
195 2003-02-03 Patrik Torstensson
196
197         * RealProxy.cs: changed excption behavior and added serialization helpers, 
198           changed so it don't create a new TP for each gettp call.
199         
200         * RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
201         same behavior as MS.
202
203 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
204
205         * RealProxy.cs: fixed compilation by adding missing GetObjectData ().
206
207 2002-12-20  Lluis Sanchez Gual <lluis@ideary.com>
208
209         * RealProxy.cs: Added ObjectIdentity property. 
210           Implemented CrateObjRef.
211         * RemotingProxy.cs: Added Identity parameter to constructor
212
213 2002-07-24  Duncan Mak  <duncan@ximian.com>
214
215         * ProxyAttribute.cs: Revert the last commit.
216
217         * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
218         implements IContextAttribute.
219
220 2002-07-23  Duncan Mak  <duncan@ximian.com>     
221         
222         * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.