2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Proxies / ChangeLog
1 2008-02-10  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * RealProxy.cs: Use 'is' instead of 'as' and a null check. Found 
4         using Gendarme new UseIsOperator rule.
5
6 2007-05-03  Dick Porter  <dick@ximian.com>
7
8         * ProxyAttribute.cs: 
9         * RealProxy.cs: Update to 2.0 profile
10
11 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
12
13         * RealProxy.cs: Indicate that all fields need keep in sync
14         with definition in object-internals.h for COM Interop.
15         
16 2006-06-18  Zoltan Varga  <vargaz@gmail.com>
17
18         * RealProxy.cs (ProcessResponse): Use t.GetElementType ().IsInstanceOfType () when the type is a byref.
19
20 2005-06-22  Lluis Sanchez Gual  <lluis@novell.com>
21
22         * RealProxy.cs: Extract the output arguments from the message's
23         Args list (not from OutArgs), since some message objects
24         may not support OutArgs (for example, when the target MethodBase is
25         not known, there is no way to know which params are out params).
26         I've checked that MS.NET behaves in the same way. This fixes
27         bug #75277.
28
29 2005-06-13  Lluis Sanchez Gual  <lluis@novell.com>
30
31         * RealProxy.cs: Report invalid return type of values using
32         InvalidCastException, like MS.NET. Fixes bug #75203.
33
34 2004-10-26  Lluis Sanchez Gual  <lluis@novell.com>
35
36         * RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
37         used by the new xdomain wrappers. Added GetAppDomainTarget() method,
38         which returns the remote object referenced by the proxy.
39         * RemotingProxy.cs: Moved _targetUri to RealProxy.
40
41 2004-09-27  Lluis Sanchez Gual  <lluis@novell.com>
42
43         * RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
44         
45 2004-09-22  Lluis Sanchez Gual  <lluis@novell.com>
46
47         * RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
48           be used as "this" for method calls.
49
50 2004-04-23      Patrik Torstensson
51
52         * RealProxy.cs: Moved async functionlity here, also take
53         care of custom proxies (non RemotingProxy) case for async and
54         construction calls.
55         
56         * RemotingProxy.cs: allow RealProxy to call construction method and
57         remove end async control (moved to RealProxy)
58         
59         Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.
60
61 2004-04-13  Lluis Sanchez Gual  <lluis@ximian.com>
62
63         * RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
64
65 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
66
67         * RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
68           MS.NET behavior.
69
70 2004-03-04  Lluis Sanchez Gual  <lluis@ximian.com>
71
72         * RealProxy.cs: Added new internal method for getting the proxy type. It
73           gets the proxy type from the MonoRemoteClass (it can change if the
74           vtable is upgraded).
75           Modified GetTransparentProxy(). Now it takes the name of the type.
76           The name is taken from the IRemotingTypeInfo object.
77         * RemotingProxy.cs: The class must implement IRemotingTypeInfo.
78
79 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
80
81         * RealProxy.cs: Added setter for ObjectIdentity.
82
83 2003-11-26  Lluis Sanchez Gual <lluis@ximian.com>
84
85         * RealProxy.cs: Signature fix.
86         
87 2003-11-25  Lluis Sanchez Gual <lluis@ximian.com>
88
89         * RealProxy.cs: Added some missing methods.
90         * RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
91           instead of a ReturnMessage.
92
93 2003-11-11  Lluis Sanchez Gual <lluis@ximian.com>
94
95         * RemotingProxy.cs: Do not dispose proxy identity when it is a local
96           ContextBoundObject proxy.
97
98 2003-10-21  Lluis Sanchez Gual <lluis@ximian.com>
99
100         * RealProxy.cs: In PrivateInvoke() do not try to return the out parameters
101           if the return message is an excption. This fixes bug #49926.
102         
103 2003-10-08  Lluis Sanchez Gual <lluis@ximian.com>
104
105         * RemotingProxy.cs: Added destructor that unregisters the identity.
106           Fixes a memory leak.
107
108 2003-10-07  Lluis Sanchez Gual  <lluis@ximian.com>
109
110         * RealProxy.cs: Fixed support for [out] parameters in async calls.
111
112 2003-09-11  Lluis Sanchez Gual <lluis@ximian.com>
113
114         * RemotingProxy.cs: Return message check moved to RealProxy.
115         * RealProxy.cs: Added return message check and propagation of output
116           parameter values.
117
118 2003-08-25  Lluis Sanchez Gual <lluis@ximian.com>
119
120         * RemotingProxy.cs: Use CallType property to check the type of
121           the message.
122
123 2003-08-24  Vladimir Vukicevic  <vladimir@pobox.com>
124
125         * RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
126         setup/restoration into RealProxy's PrivateInvoke, so that custom
127         RealProxy's get a LogicalCallContext.
128
129 2003-08-14  Lluis Sanchez Gual <lluis@ximian.com>
130
131         * RemotingProxy.cs: On invoke, set the LogicalCallContext of the message.
132
133 2003-07-28  Duncan Mak  <duncan@ximian.com>
134
135         * RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
136
137 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
138
139         * RemotingProxy.cs: Check the return arguments types. (a wrong type
140           would make the runtime to crash).
141
142 2003-07-16  Lluis Sanchez Gual <lluis@ximian.com>
143
144         * RemotingProxy.cs: Assign to the message the full uri, if available,
145           not only the object uri.
146
147 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
148
149         * RemotingProxy.cs: Added support for Async and OneWay messages.
150
151 2003-03-20  Lluis Sanchez Gual <lluis@ideary.com>
152
153         * RealProxy.cs: added variables to support proxy bypass when the called CBO is
154           in the same context as the caller.
155         * RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
156           ActivationServices.
157
158 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
159
160         * ProxyAttribute.cs: Implemented.
161         * RealProxy.cs: Added stubs for some missing methods.
162         * RemotingProxy.cs: The activation constructor now creates the ConstructionCall
163           message and collects the context properties.
164           Activation of objects now use IActivator instances.
165
166 2003-02-18  Lluis Sanchez Gual <lluis@ideary.com>
167
168         * RealProxy.cs: Changed constructor to allow only ClientIdentity instances. 
169         * RemotingProxy.cs: Added new constructor for client activated objects.
170           Added method that handles construction messages.
171
172 2003-02-03 Patrik Torstensson
173
174         * RealProxy.cs: changed excption behavior and added serialization helpers, 
175           changed so it don't create a new TP for each gettp call.
176         
177         * RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
178         same behavior as MS.
179
180 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
181
182         * RealProxy.cs: fixed compilation by adding missing GetObjectData ().
183
184 2002-12-20  Lluis Sanchez Gual <lluis@ideary.com>
185
186         * RealProxy.cs: Added ObjectIdentity property. 
187           Implemented CrateObjRef.
188         * RemotingProxy.cs: Added Identity parameter to constructor
189
190 2002-07-24  Duncan Mak  <duncan@ximian.com>
191
192         * ProxyAttribute.cs: Revert the last commit.
193
194         * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
195         implements IContextAttribute.
196
197 2002-07-23  Duncan Mak  <duncan@ximian.com>     
198         
199         * System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.