Set svn:eol-style=native, delete svn:executable.
[mono.git] / mcs / class / corlib / System.Runtime.Remoting / ChangeLog
1 2005-05-12  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * RemotingConfiguration.cs : MiniParser->SmallXmlParser changes.
4
5 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
6
7         * RemotingServices.cs: Fix warning.
8
9 2004-10-26  Lluis Sanchez Gual  <lluis@novell.com>
10
11         * RemotingServices.cs: Added several serialization methods needed by
12         the cross app domain wrappers.
13         In GetOrCreateClientIdentity(), set the domain of the proxy if it
14         references an object in another domain.
15
16 2004-09-28  Lluis Sanchez Gual  <lluis@novell.com>
17
18         * RemotingServices.cs: Allways pass the uri when calling
19           GetClientChannelSinkChain, even if it has channel data.
20           This fixes bug 66768.
21         
22 2004-09-27  Lluis Sanchez Gual  <lluis@novell.com>
23
24         * ServerIdentity.cs: Only set the target identity if it has not already
25           been set.
26
27 2004-09-23  Lluis Sanchez Gual  <lluis@novell.com>
28
29         * RemotingServices.cs: Fixed wrong patch for InternalExecuteMessage.
30           The MethodBase in the message may not be the same type of the object
31           (the method can be called using an interface).
32
33 2004-09-22  Lluis Sanchez Gual  <lluis@novell.com>
34
35         * RemotingServices.cs: In InternalExecute, use MethodBase instead
36           of MonoMethod, so it can be also used for running constructors.
37         * ServerIdentity.cs: Added methods for getting and setting the client
38           proxy in ClientActivatedIdentity. This is needed for CBOs, since
39           messages need to be dispatched using the proxy as "this", not the
40           real object.
41
42 2004-09-11 Ben Maurer  <bmaurer@users.sourceforge.net>
43
44         * RemotingServices.cs: use MethodBase rather than looking
45         for the method ourselves. It has higher perf in x-ad calls.
46
47 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
48
49         * RemotingServices.cs (IsMethodOverloaded): use the internal
50         method GetMethodsByName. It does much less work than GetMembers.
51
52 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
53
54         * RemotingServices.cs (IsOneWay): use IsDefined rather than
55         GetCustomAttributes. It is much faster.
56
57 2004-07-22  Lluis Sanchez Gual  <lluis@novell.com>
58
59         * ObjRef.cs: Fixed type check in in ObjRef constructor. The requested class
60           must be the object class or a base class. This fixes bug #61249.
61
62 2004-07-22  Lluis Sanchez Gual  <lluis@novell.com>
63
64         * RemotingServices.cs: Changed GetMethodBaseFromMethodMessage so its code
65           can be reused internally. Also fixed bug when gettting a method from an
66           interface.
67
68 2004-07-02  Lluis Sanchez Gual  <lluis@ximian.com>
69
70         * ServerIdentity.cs: When disposing an identity, detach the identity from
71           the object, so it can be safely marshalled again.
72         * RemotingServices.cs: Fixed IsObjectOutOfContext and 
73           IsObjectOutOfAppDomain. In SetObjectUriForMarshal, take into account
74           contextful objects.
75
76 2004-07-01  Lluis Sanchez Gual  <lluis@ximian.com>
77
78         * RemotingConfiguration.cs: Avoid adding "id" and "type" as custom 
79           properties of providers. This fixes bug #60934.
80         
81 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
82
83         * RemotingTimeoutException.cs: added missing serialization ctor
84         * ServerException.cs: added missing serialization ctor
85
86 2004-06-15  Lluis Sanchez Gual  <lluis@ximian.com>
87
88         * RemotingConfiguration.cs: Read application name from configuraation file.
89
90 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
91
92         * RemotingServices.cs: Added missing Conditional attribute and
93         MonoTODO attribute on LogRemotingStage
94
95 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
96
97         * RemotingConfiguration.cs: Added method for configuring chanels with the
98           delayed client load flag. Added locks for accessing internal tables.
99
100 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
101
102         * RemotingServices.cs: In GetMethodBaseFromMethodMessage, look for 
103           constructors if no method is found.
104
105 2004-05-07  Lluis Sanchez Gual  <lluis@ximian.com>
106
107         * SoapServices.cs: Support encoded namespace names in 
108           DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.
109
110 2004-04-28  Lluis Sanchez Gual  <lluis@ximian.com>
111
112         * RemotingServices.cs: When create a ReturnMessage, provide an array with
113           all parameters, including input parameters.
114
115 2004-04-26  Lluis Sanchez Gual  <lluis@ximian.com>
116
117         * ObjRef.cs: Little optimization.
118
119 2004-03-09  Lluis Sanchez Gual  <lluis@ximian.com>
120
121         * RemotingServices.cs: Marshal(): If the object is a proxy, return the ObjRef
122           stored in the identity object.
123
124 2004-03-04  Lluis Sanchez Gual  <lluis@ximian.com>
125
126         * Identity.cs: Removed object type from Identity, since it is hold
127           now in the IRemotingTypeInfo object.
128         * ServerIdentity.cs: Added object type.
129         * TypeInfo.cs: Added null check for the class hierarchy.
130
131 2004-02-17  Lluis Sanchez Gual  <lluis@ximian.com>
132
133         * RemotingServices.cs: Client identities are registered using the full url,
134           not the object uri, so they must be unregistered using the same key.
135
136 2004-01-24  Lluis Sanchez Gual  <lluis@ximian.com>
137
138         * TypeInfo.cs: The list of interfaces may be null. Added check.
139
140 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
141
142         * RemotingServices.cs: When marshalling a custom proxy, allow the creation
143         of a new identity. This fixes bug #52921.
144         * ServerIdentity.cs: Allow the creation of server identities that
145         represent a custom proxy instead of a real object.
146
147 2003-12-10  Lluis Sanchez Gual  <lluis@ximian.com>
148
149         * SoapServices.cs: Little fix: correctly encode namespaces.
150
151 2003-12-10  Martin Willemoes Hansen  <mwh@sysrq.dk>
152
153         * RemotingConfiguration.cs: fixed wrong attribute name
154           sponsorShipTimeOut it should be sponsorshipTimeout
155
156 2003-12-03  Lluis Sanchez Gual <lluis@ximian.com>
157
158         * SoapServices.cs: Little fix in namespace construction.
159         
160 2003-11-28  Dick Porter  <dick@ximian.com>
161
162         * TypeInfo.cs: 
163         * RemotingConfiguration.cs: Use the char form of IndexOf, so that
164         the comparison is done with the Invariant culture.
165
166 2003-11-26  Lluis Sanchez Gual <lluis@ximian.com>
167
168         * InternalRemotingServices.cs: Fixed GetCachedSoapAttribute().
169         * RemotingConfiguration.cs: Implemented CustomErrorsEnabled(). 
170           Added support for soapInterop configuration section.
171         * SoapServices.cs: Several fixes to match MS behavior.
172
173 2003-11-25  Lluis Sanchez Gual <lluis@ximian.com>
174
175         * InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
176         * SoapServices.cs: Implemented missing methods.
177         * WellKnownClientTypeEntry.cs: Initialize object_url in constructor.
178
179 2003-11-24  Jackson Harper <jackson@ximian.com>
180
181         * ServerIdentity.cs: Get non public types, so remote objects can
182         be non public or have non public constructors.
183         
184 2003-11-19  Lluis Sanchez Gual <lluis@ximian.com>
185
186         * InternalRemotingServices.cs: Added missing attributes.
187           
188 2003-11-17  Lluis Sanchez Gual <lluis@ximian.com>
189
190         * InternalRemotingServices.cs: Added CLSCompliant to SetServerIdentity
191           (MethodCall is not compliant)
192         * IObjectHandle.cs: Set correct value for Guid.
193         
194 2003-11-16  Lluis Sanchez Gual <lluis@ximian.com>
195
196         * IObjectHandle.cs, ObjectHandle.cs: Added missing attributes.
197         * RemotingConfiguration.cs: GetRegisteredActivatedClientTypes made public.
198           Declared CustomErrorsEnabled() method.
199         * RemotingServices.cs: Implemented GetSessionIdForMethodMessage().
200           IsAsyncMessage must be internal.
201         * InternalRemotingServices.cs: Added.
202
203 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
204
205         * RemotingServices.cs: Add ".rem" suffix to generated uri names.
206
207 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
208
209         * RemotingConfiguration.cs: Implemented all remaining functionality.
210         * ActivatedClientTypeEntry.cs: Set the value of ObjectType in the constructor
211         * ActivatedServiceTypeEntry.cs, WellKnownClientTypeEntry.cs,
212           WellKnownServiceTypeEntry.cs: Check that the provided type is valid.
213
214 2003-11-11  Lluis Sanchez Gual <lluis@ximian.com>
215
216         * RemotingConfiguration.cs: Added initial implementation of Configure method
217           by Jaime Anguiano.
218
219 2003-11-11  Lluis Sanchez Gual <lluis@ximian.com>
220
221         * ActivatedClientTypeEntry.cs, ActivatedServiceTypeEntry.cs, 
222           IRemotingTypeInfo.cs, RemotingServices.cs, WellKnownServiceTypeEntry.cs:
223           Removed some TODOs.
224
225 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
226
227         * RemotingServices.cs (GetDomainProxy): Use the new InvokeInDomain 
228         function instead of calling SetDomain.
229
230 2003-10-23  Lluis Sanchez Gual <lluis@ximian.com>
231
232         * RemotingServices.cs: Do not create an identity for an object if it
233           already has one.
234
235 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * RemotingServices.cs: (NewUri) use Interlocked.Increment on next_id.
238
239 2003-10-09  Lluis Sanchez Gual <lluis@ximian.com>
240
241         * ObjRef.cs: Added new constructor to support CAD channel.
242
243 2003-10-08  Lluis Sanchez Gual <lluis@ximian.com>
244
245         * Identity.cs, RemotingServices.cs: Fixed memory leak. I Changed reference 
246           to proxy in ClientIdentity to a WeakReference. This fixes a memory leak.
247         * RemotingServices.cs: Ignore first "/" char in uris when looking for
248           and object. 
249           Take into account that identity now has a weak reference
250           of the proxy.
251
252 2003-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * ObjectHandle.cs: simplified and fix InitializeLifetimeService.
255
256 2003-09-11  Lluis Sanchez Gual <lluis@ximian.com>
257
258         * RemotingServices.cs: Collect value of parameters with the Out flag
259         into the return message. Also set and reset CallContext.  Added method
260         UpdateOutArgObject.
261
262 2003-08-25  Lluis Sanchez Gual <lluis@ximian.com>
263
264         * RemotingServices.cs: Some small fixes.
265
266 2003-08-14  Lluis Sanchez Gual <lluis@ximian.com>
267
268         * ObjRef.cs: Implemented IsFromThisProcess().
269         * RemotingServices.cs: Implemented methods GetLifetimeService and
270           GetEnvoyChainForProxy. Stubbed LogRemotingStage.
271         
272 2003-07-29  Lluis Sanchez Gual <lluis@ximian.com>
273
274         * RemotingServices.cs: GetObjectUri(): For client proxies, return
275           the target url.
276
277 2003-07-26  Duncan Mak  <duncan@ximian.com>
278
279         * SoapServices.cs (XmlNsForClrTypeWithNsAndAssembly):
280         Fixed typo. It's 'Ns', but 'Ms'.
281
282 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
283
284         * RemotingServices.cs: If the type for a proxy is not available in
285           the client site, use the MarshalByRefObject type.
286
287 2003-07-21  Lluis Sanchez Gual <lluis@ximian.com>
288
289         * ServerIdentity.cs: Fixed bug #46645
290
291 2003-07-16  Lluis Sanchez Gual <lluis@ximian.com>
292
293         * Identity.cs: Added TargetUri property
294
295 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
296
297         * ObjRef.cs: Fixed bug #43187, based on the patch by Jean-Marc Andre
298
299 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
300
301         * ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
302         * RemotingServices.cs: Added method to help support Async messages.
303         * RemotingConfiguration.cs: Implemented property ProcessID.
304
305 2003-03-24  Lluis Sanchez Gual <lluis@ideary.com>
306
307         * RemotingServices.cs: Fixed bug #39915
308
309 2003-03-20  Lluis Sanchez Gual <lluis@ideary.com>
310
311         * Identity.cs: Added support for dynamic properties.
312         * ObjRef.cs: Removed some [MonoTODO]
313         * TypeInfo.cs: Added support for interfaces.
314         * RemotingServices.cs: Several fixes to support interfaces in proxies.
315
316 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
317
318         * RemotingServices.cs: fixes bugs #39380 and #39331.
319
320 2003-02-25 Lluis Sanchez Gual <lluis@ideary.com>
321
322         * Identity.cs: Added property to check if an identity is connected (it is remotely accesible)
323         * ObjRef.cs: Added internal helper method for getting the server type of an ObjRef.
324         * RemotingServices.cs: Implemented Disconnect method. Added support for custom proxy
325           creating using ProxyAttribute. Added support for activation attributes in creation
326           of proxies. Some other minor corrections.
327         * ServerIdentity.cs: minor corrections.
328
329 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
330
331         * Identity.cs: Added envoy message sink.
332         * ObjRef.cs: Implemented EnvoySink property
333         * RemotingConfiguration.cs: now enables proxy creation for types registered
334           as ClientActivatedType or WellKnownClientType.
335         * RemotingServices.cs: Added support for ContextBoundObjects.
336           Added methods for creating proxies. 
337         * ServerIdentity.cs: Added initialization of envoy sink.
338         * EnvoyInfo.cs: Added. It is an implementation on IEnvoyInfo.
339
340 2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>
341
342         * RemotingConfiguration.cs: Changed using to Mono.Xml for MiniParser.
343
344 2003-02-07 Patrik Torstensson
345
346         * RemotingServices.cs: Always marshal an object in GetObjectData
347
348 2003-02-07 Lluis Sanchez Gual <lluis@ideary.com>
349
350         * Identity.cs: Added ObjRef attribute, that holds the objref of the object.
351           Removed implementation of CreateObjRef. Now it is implemented in the derived classes.
352         * ServerIdentity.cs: Added implementation of CreateObjRef.
353         * RemotingServices.cs: Changed implementation of GetRemoteObject and GetClientIdentity.
354           Now they only have and ObjRef as input parameter. This is the objref received from
355           the server. Unmarshal() also checks if the objref is for a well known object.
356           In this case, a proxy is always created, but if not, it tries to get the real object.
357         * ObjRef.cs: Added some flags that have info for marshalling/unmarshalling.
358           Changed behavior of IsPossibleToCAD. Now returns false. Returning true makes serialization 
359           of this ObjRef to fail in the target AD. Added method UpdateChannelInfo.
360
361 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
362
363         * Identity.cs: created and identity class for each identity type. It is a more clear design.
364         * ServerIdentity.cs: added. Implements identity funtionality specific to server objects
365         * RemotingServices.cs: Modified to work with new types of identities.
366         * RemotingConfiguration.cs: Modified to work with new types of identities.
367         * ObjRef.cs: Added initialization of channel info in default constructor.
368         * Identity.cs: Added support for WellKnownService objects.
369
370 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
371
372         * RemotingServices.cs:
373         (GetMethodBaseFromMethodMessage): fixed to make it also work with
374         internal methods without MethodSignature (see ApplicationHost.cs).
375
376 2003-02-03 Patrik Torstensson
377
378         * ObjRef.cs: added copy constructor and two helpers for cross 
379           appdomain message marshalling.
380         * RemotingServices.cs: Added helper to create transparant proxy for appdomain, and
381           register internal cross appdomain channel.
382
383 2003-01-29 Lluis Sanchez Gual <lluis@ideary.com>
384
385         * RemotingServices.cs: Added support for WellKnownService objects.
386         * RemotingConfiguration.cs: Implemented most of methods (Configure is not working yet).
387         * ObjRef.cs: Added initialization of channel info in default constructor.
388         * Identity.cs: Added support for WellKnownService objects.
389
390 2003-01-28 Patrik Torstensson
391
392         * ObjRef.cs: Fixed Objref marshalling flags
393         
394 2003-01-24 Lluis Sanchez Gual <lluis@ideary.com>
395
396         * RemotingServices.cs: Implemented some missing methods: IsMethodOverloaded, 
397           SetObjectUriForMarshal, IsOneWay, IsObjectOutOfAppDomain, 
398           IsObjectOutOfContext, GetObjRefForProxy, GetObjectData,
399           GetMethodBaseFromMethodMessage.
400         * TypeInfo.cs: Added.
401         * ObjRef.cs: Implemented serialization and added support for IRemotingTypeInfo.
402
403 2002-12-28 Lluis Sanchez Gual <lluis@ideary.com>
404
405         * SoapServices.cs: Implemented some methods
406
407 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
408
409         * ObjRef.cs: Implementation now based on methods of RemotingServices.
410         * RemotingServices.cs: Remoting information now kept in Identity objects.
411           All methods adapted to work with identities.
412           Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
413           not make a direct call to the object.
414         * Identity.cs: added.
415
416 2002-12-11  Jaime Anguiano Olarra <jaime@gnome.org>
417
418         * RemotingConfiguration.cs: added to the CVS.
419
420 2002-11-29  Jaime Anguiano Olarra <jaime@gnome.org>
421
422         * ObjectHandle.cs: added implementation  for InitializeLifetimeService
423         * method.
424
425
426 2002-11-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
427
428         * SoapServices.cs: fix error CS3005.
429
430 2002-09-03  Dietmar Maurer  <dietmar@ximian.com>
431
432         * RemotingServices.cs: add an unique app_id string used to generate
433         unique object uris.
434
435         * ObjRef.cs: added serialization support
436
437 2002-08-31  Dietmar Maurer  <dietmar@ximian.com>
438
439         * ObjRef.cs: gather the channel date at creation time.
440
441 2002-08-20  Dietmar Maurer  <dietmar@ximian.com>
442
443         * RemotingServices.cs: Connect impl. 
444
445 2002-08-02  Duncan Mak  <duncan@ximian.com>
446
447         * ActivatedClientTypeEntry.cs:
448         * ActivatedServiceTypeEntry.cs:
449         * WellKnownClientTypeEntry.cs:
450         * WellKnownServiceTypeEntry.cs: Various visibility fixes.
451
452 2002-07-31  Duncan Mak  <duncan@ximian.com>
453
454         * TypeEntry.cs:
455         * ActivatedClientTypeEntry.cs:
456         * ActivatedServiceTypeEntry.cs:
457         * WellKnownClientTypeEntry.cs:
458         * WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.
459
460         * RemotingException.cs: 
461         * RemotingTimeoutException.cs: 
462         * ServerException.cs: Added missing exceptions.
463
464         * IChannelInfo.cs: 
465         * IEnvoyInfo.cs: 
466         * IRemotingTypeInfo.cs: Added missing interfaces.
467
468 2002-07-24  Duncan Mak  <duncan@ximian.com>
469
470         * LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.
471
472         * SoapMethodOption.cs: 
473         * SoapOption.cs: Removed and merged into System.Runtime.Remoting.Metadata.SoapOption.
474
475 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
476
477         * IObjectHandle.cs: New file.
478         * ObjectHandle.cs: implemented constructor and Unwrap.
479
480 2002-01-05  Ravi Pratap  <ravi@ximian.com>
481
482         * ObjRef.cs : Strew the MonoTODO attribute.
483
484 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
485
486         * ObjRef.cs: Include System.Runtime.Serialization