1 2005-05-12 Atsushi Enomoto <atsushi@ximian.com>
3 * RemotingConfiguration.cs : MiniParser->SmallXmlParser changes.
5 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
7 * RemotingServices.cs: Fix warning.
9 2004-10-26 Lluis Sanchez Gual <lluis@novell.com>
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.
16 2004-09-28 Lluis Sanchez Gual <lluis@novell.com>
18 * RemotingServices.cs: Allways pass the uri when calling
19 GetClientChannelSinkChain, even if it has channel data.
22 2004-09-27 Lluis Sanchez Gual <lluis@novell.com>
24 * ServerIdentity.cs: Only set the target identity if it has not already
27 2004-09-23 Lluis Sanchez Gual <lluis@novell.com>
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).
33 2004-09-22 Lluis Sanchez Gual <lluis@novell.com>
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
42 2004-09-11 Ben Maurer <bmaurer@users.sourceforge.net>
44 * RemotingServices.cs: use MethodBase rather than looking
45 for the method ourselves. It has higher perf in x-ad calls.
47 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
49 * RemotingServices.cs (IsMethodOverloaded): use the internal
50 method GetMethodsByName. It does much less work than GetMembers.
52 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
54 * RemotingServices.cs (IsOneWay): use IsDefined rather than
55 GetCustomAttributes. It is much faster.
57 2004-07-22 Lluis Sanchez Gual <lluis@novell.com>
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.
62 2004-07-22 Lluis Sanchez Gual <lluis@novell.com>
64 * RemotingServices.cs: Changed GetMethodBaseFromMethodMessage so its code
65 can be reused internally. Also fixed bug when gettting a method from an
68 2004-07-02 Lluis Sanchez Gual <lluis@ximian.com>
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
76 2004-07-01 Lluis Sanchez Gual <lluis@ximian.com>
78 * RemotingConfiguration.cs: Avoid adding "id" and "type" as custom
79 properties of providers. This fixes bug #60934.
81 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
83 * RemotingTimeoutException.cs: added missing serialization ctor
84 * ServerException.cs: added missing serialization ctor
86 2004-06-15 Lluis Sanchez Gual <lluis@ximian.com>
88 * RemotingConfiguration.cs: Read application name from configuraation file.
90 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
92 * RemotingServices.cs: Added missing Conditional attribute and
93 MonoTODO attribute on LogRemotingStage
95 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
97 * RemotingConfiguration.cs: Added method for configuring chanels with the
98 delayed client load flag. Added locks for accessing internal tables.
100 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
102 * RemotingServices.cs: In GetMethodBaseFromMethodMessage, look for
103 constructors if no method is found.
105 2004-05-07 Lluis Sanchez Gual <lluis@ximian.com>
107 * SoapServices.cs: Support encoded namespace names in
108 DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.
110 2004-04-28 Lluis Sanchez Gual <lluis@ximian.com>
112 * RemotingServices.cs: When create a ReturnMessage, provide an array with
113 all parameters, including input parameters.
115 2004-04-26 Lluis Sanchez Gual <lluis@ximian.com>
117 * ObjRef.cs: Little optimization.
119 2004-03-09 Lluis Sanchez Gual <lluis@ximian.com>
121 * RemotingServices.cs: Marshal(): If the object is a proxy, return the ObjRef
122 stored in the identity object.
124 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
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.
131 2004-02-17 Lluis Sanchez Gual <lluis@ximian.com>
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.
136 2004-01-24 Lluis Sanchez Gual <lluis@ximian.com>
138 * TypeInfo.cs: The list of interfaces may be null. Added check.
140 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
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.
147 2003-12-10 Lluis Sanchez Gual <lluis@ximian.com>
149 * SoapServices.cs: Little fix: correctly encode namespaces.
151 2003-12-10 Martin Willemoes Hansen <mwh@sysrq.dk>
153 * RemotingConfiguration.cs: fixed wrong attribute name
154 sponsorShipTimeOut it should be sponsorshipTimeout
156 2003-12-03 Lluis Sanchez Gual <lluis@ximian.com>
158 * SoapServices.cs: Little fix in namespace construction.
160 2003-11-28 Dick Porter <dick@ximian.com>
163 * RemotingConfiguration.cs: Use the char form of IndexOf, so that
164 the comparison is done with the Invariant culture.
166 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
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.
173 2003-11-25 Lluis Sanchez Gual <lluis@ximian.com>
175 * InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
176 * SoapServices.cs: Implemented missing methods.
177 * WellKnownClientTypeEntry.cs: Initialize object_url in constructor.
179 2003-11-24 Jackson Harper <jackson@ximian.com>
181 * ServerIdentity.cs: Get non public types, so remote objects can
182 be non public or have non public constructors.
184 2003-11-19 Lluis Sanchez Gual <lluis@ximian.com>
186 * InternalRemotingServices.cs: Added missing attributes.
188 2003-11-17 Lluis Sanchez Gual <lluis@ximian.com>
190 * InternalRemotingServices.cs: Added CLSCompliant to SetServerIdentity
191 (MethodCall is not compliant)
192 * IObjectHandle.cs: Set correct value for Guid.
194 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
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.
203 2003-11-13 Lluis Sanchez Gual <lluis@ximian.com>
205 * RemotingServices.cs: Add ".rem" suffix to generated uri names.
207 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
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.
214 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
216 * RemotingConfiguration.cs: Added initial implementation of Configure method
219 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
221 * ActivatedClientTypeEntry.cs, ActivatedServiceTypeEntry.cs,
222 IRemotingTypeInfo.cs, RemotingServices.cs, WellKnownServiceTypeEntry.cs:
225 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
227 * RemotingServices.cs (GetDomainProxy): Use the new InvokeInDomain
228 function instead of calling SetDomain.
230 2003-10-23 Lluis Sanchez Gual <lluis@ximian.com>
232 * RemotingServices.cs: Do not create an identity for an object if it
235 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * RemotingServices.cs: (NewUri) use Interlocked.Increment on next_id.
239 2003-10-09 Lluis Sanchez Gual <lluis@ximian.com>
241 * ObjRef.cs: Added new constructor to support CAD channel.
243 2003-10-08 Lluis Sanchez Gual <lluis@ximian.com>
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
249 Take into account that identity now has a weak reference
252 2003-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
254 * ObjectHandle.cs: simplified and fix InitializeLifetimeService.
256 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
258 * RemotingServices.cs: Collect value of parameters with the Out flag
259 into the return message. Also set and reset CallContext. Added method
262 2003-08-25 Lluis Sanchez Gual <lluis@ximian.com>
264 * RemotingServices.cs: Some small fixes.
266 2003-08-14 Lluis Sanchez Gual <lluis@ximian.com>
268 * ObjRef.cs: Implemented IsFromThisProcess().
269 * RemotingServices.cs: Implemented methods GetLifetimeService and
270 GetEnvoyChainForProxy. Stubbed LogRemotingStage.
272 2003-07-29 Lluis Sanchez Gual <lluis@ximian.com>
274 * RemotingServices.cs: GetObjectUri(): For client proxies, return
277 2003-07-26 Duncan Mak <duncan@ximian.com>
279 * SoapServices.cs (XmlNsForClrTypeWithNsAndAssembly):
280 Fixed typo. It's 'Ns', but 'Ms'.
282 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
284 * RemotingServices.cs: If the type for a proxy is not available in
285 the client site, use the MarshalByRefObject type.
287 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
289 * ServerIdentity.cs: Fixed bug #46645
291 2003-07-16 Lluis Sanchez Gual <lluis@ximian.com>
293 * Identity.cs: Added TargetUri property
295 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
297 * ObjRef.cs: Fixed bug #43187, based on the patch by Jean-Marc Andre
299 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
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.
305 2003-03-24 Lluis Sanchez Gual <lluis@ideary.com>
307 * RemotingServices.cs: Fixed bug #39915
309 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
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.
316 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
318 * RemotingServices.cs: fixes bugs #39380 and #39331.
320 2003-02-25 Lluis Sanchez Gual <lluis@ideary.com>
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.
329 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
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.
340 2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
342 * RemotingConfiguration.cs: Changed using to Mono.Xml for MiniParser.
344 2003-02-07 Patrik Torstensson
346 * RemotingServices.cs: Always marshal an object in GetObjectData
348 2003-02-07 Lluis Sanchez Gual <lluis@ideary.com>
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.
361 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
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.
370 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * RemotingServices.cs:
373 (GetMethodBaseFromMethodMessage): fixed to make it also work with
374 internal methods without MethodSignature (see ApplicationHost.cs).
376 2003-02-03 Patrik Torstensson
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.
383 2003-01-29 Lluis Sanchez Gual <lluis@ideary.com>
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.
390 2003-01-28 Patrik Torstensson
392 * ObjRef.cs: Fixed Objref marshalling flags
394 2003-01-24 Lluis Sanchez Gual <lluis@ideary.com>
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.
403 2002-12-28 Lluis Sanchez Gual <lluis@ideary.com>
405 * SoapServices.cs: Implemented some methods
407 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
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.
416 2002-12-11 Jaime Anguiano Olarra <jaime@gnome.org>
418 * RemotingConfiguration.cs: added to the CVS.
420 2002-11-29 Jaime Anguiano Olarra <jaime@gnome.org>
422 * ObjectHandle.cs: added implementation for InitializeLifetimeService
426 2002-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
428 * SoapServices.cs: fix error CS3005.
430 2002-09-03 Dietmar Maurer <dietmar@ximian.com>
432 * RemotingServices.cs: add an unique app_id string used to generate
435 * ObjRef.cs: added serialization support
437 2002-08-31 Dietmar Maurer <dietmar@ximian.com>
439 * ObjRef.cs: gather the channel date at creation time.
441 2002-08-20 Dietmar Maurer <dietmar@ximian.com>
443 * RemotingServices.cs: Connect impl.
445 2002-08-02 Duncan Mak <duncan@ximian.com>
447 * ActivatedClientTypeEntry.cs:
448 * ActivatedServiceTypeEntry.cs:
449 * WellKnownClientTypeEntry.cs:
450 * WellKnownServiceTypeEntry.cs: Various visibility fixes.
452 2002-07-31 Duncan Mak <duncan@ximian.com>
455 * ActivatedClientTypeEntry.cs:
456 * ActivatedServiceTypeEntry.cs:
457 * WellKnownClientTypeEntry.cs:
458 * WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.
460 * RemotingException.cs:
461 * RemotingTimeoutException.cs:
462 * ServerException.cs: Added missing exceptions.
466 * IRemotingTypeInfo.cs: Added missing interfaces.
468 2002-07-24 Duncan Mak <duncan@ximian.com>
470 * LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.
472 * SoapMethodOption.cs:
473 * SoapOption.cs: Removed and merged into System.Runtime.Remoting.Metadata.SoapOption.
475 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 * IObjectHandle.cs: New file.
478 * ObjectHandle.cs: implemented constructor and Unwrap.
480 2002-01-05 Ravi Pratap <ravi@ximian.com>
482 * ObjRef.cs : Strew the MonoTODO attribute.
484 2001-09-02 Miguel de Icaza <miguel@ximian.com>
486 * ObjRef.cs: Include System.Runtime.Serialization