1 2004-07-22 Lluis Sanchez Gual <lluis@novell.com>
3 * MethodCall.cs: Use RemotingServices.GetMethodBaseFromName to get the
4 MethodBase from the method name. This fixes bug #61774.
6 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
8 * ReturnMessage.cs: Added IMessage interface to class definition.
10 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
12 * ReturnMessage.cs: remove serializable attribute to match MS.NET
14 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
16 * MethodResponse.cs: Only get the MethodBase from type and method name when
19 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
21 * MethodResponse.cs: In the serialization constructor, initialize MethodBase
22 using the method name and type name.
24 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
26 * MethodResponse.cs, ReturnMessage.cs: More null checks.
28 2004-04-30 Lluis Sanchez Gual <lluis@ximian.com>
30 * MethodResponse.cs, ReturnMessage.cs: Added null checks.
32 2004-04-29 Raja R Harinath <rharinath@novell.com>
34 * MethodResponse.cs (MethodResponse.OutArgCount)
35 (MethodResponse.GetOutArg): Make reference to _args null-safe.
37 2004-04-28 Lluis Sanchez Gual <lluis@ximian.com>
39 * CADMessages.cs: Revert last change. It was ok.
40 * MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
41 different way. The message is constructed from an array that has all
42 parameters, including input parameters (which will be set to null).
43 The Args property returns all arguments. OutArgs returns only the
44 output arguments, which are taken from the provided args list.
46 2004-04-26 Lluis Sanchez Gual <lluis@ximian.com>
48 * CADMessages.cs: Marshal the correct return args for the return message.
50 2004-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
53 (AsyncWaitHandle): create the handle if not done yet.
55 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
57 * AsyncResult.cs: Added async_callback field and fixed the callback call.
58 I thought that async_delegate was the callback, but it is not, it is the
59 delegate upon which the async call was invoked. This fixes bug #53020.
60 * StackBuilderSink.cs: If the target object is a proxy, make the call
61 using the Invoke method of the real proxy.
63 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
65 * ConstructionResponse.cs: Added constructor for exception response.
67 2003-12-22 Lluis Sanchez Gual <lluis@ximian.com>
69 * MethodCall.cs: Do not try to resolve the method in the serialization
70 constructor, since the type array may not be yet completely deserialized.
71 This fixes bug #52426.
73 2003-12-10 Lluis Sanchez Gual <lluis@ximian.com>
75 * AsyncResult.cs: Call delegate on async call completion.
76 * CADMessages.cs: Removed TODO.
78 2003-11-28 Dick Porter <dick@ximian.com>
80 * MethodCall.cs: Use the char form of IndexOf, so that the
81 comparison is done with the Invariant culture.
83 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
85 * MethodCall.cs, MethodResponse.cs, ReturnMessage.cs: Implemented
88 2003-11-25 Lluis Sanchez Gual <lluis@ximian.com>
90 * AsyncResult.cs, CallContext.cs: Added private constructor.
91 * ReturnMessage.cs: Added parameter array length check.
93 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
95 * ArgInfo.cs, ClientContextTerminatorSink.cs, ErrorMessage.cs, MethodCall.cs,
96 MethodResponse.cs, MonoMethodMessage.cs, ServerContextTerminatorSink.cs,
97 StackBuilderSink.cs: Fixed class visibility.
98 * CADMessages.cs: Added null reference check in SaveLogicalCallContext.
99 * ISerializationRootObject.cs: Added.
101 2003-11-17 Lluis Sanchez Gual <lluis@ximian.com>
103 * StackBuilderSink.cs: Implemented AsyncProcessMessage().
105 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
107 * CADMessages.cs: Added methods for setting and getting the logical call
109 * ConstructionCall.cs: Fixed signature of some methods.
110 * ConstructionResponse.cs: Fixed signature of constructor and added missing
112 * LogicalCallContext.cs: Removed TODO.
113 * MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
115 * MethodReturnMessageWrapper.cs: Removed some unneded methods.
117 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
119 * ConstructionCall.cs, ReturnMessage.cs: minor fixes.
121 2003-10-23 Lluis Sanchez Gual <lluis@ximian.com>
123 * MethodCall.cs: In the constructor that takes a CADMethodCallMessage
124 object, make sure strings are not reused across domains.
126 2003-10-08 Lluis Sanchez Gual <lluis@ximian.com>
128 * CADMessages.cs: added smuggeling argument support for some instances
129 of MarshalByRefObject. This should make the cross-appdomain channel
130 even faster. Some other minor fixes.
132 2003-10-07 Lluis Sanchez Gual <lluis@ximian.com>
134 * CADMessages.cs: improved argument smuggeling. Now it supports strings,
135 datetime and arrays of primitive types. This makes CAD much faster.
136 * AsyncResult.cs: Added property to store the call message.
138 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
140 * ArgInfo.cs: Include parameters with the Out flag in the out parameters list.
141 * CallContext.cs: SetCurrentCallContext now returns the old context, so it
142 can be later restored with new new method RestoreCallContext().
143 * ReturnMessage.cs: Some fixes in the way the class deals with output parameters,
144 to match MS.NET behavior.
146 2003-08-28 Lluis Sanchez Gual <lluis@ximian.com>
148 * MonoMethodMessage.cs: Moved CallType into namespace declaration.
150 2003-08-25 Lluis Sanchez Gual <lluis@ximian.com>
152 * AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
153 * CallContext.cs: Clean current logical context before setting the new
154 values form LogicalCallContext (SetCurrentCallContext).
155 * MonoMethodMessage.cs: Added new CallType field and enum.
156 * StackBuilderSink.cs: Improved error message.
158 2003-08-20 Lluis Sanchez Gual <lluis@ximian.com>
160 * MethodCall.cs: Changed exception text to match MS.NET (more or less).
161 * AsyncResult.cs: Added new fields to store async calls results.
163 2003-08-17 Lluis Sanchez Gual <lluis@ximian.com>
165 * MethodCall.cs: Throw the right exception if the target object is not
166 found when resolving the target method.
168 2003-08-17 Lluis Sanchez Gual <lluis@ximian.com>
170 * CallContext.cs: Fixed bug #47686.
172 2003-08-14 Lluis Sanchez Gual <lluis@ximian.com>
174 * CADMessages.cs: Enabled smuggeling of primitive type parameters (as suggested
176 * CallContext.cs: Impplemented.
177 * LogicalCallContext.cs: Implemented.
178 * MonoMethodMessage.cs: Added setter for LogicalCallContext property.
180 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
182 * ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
184 * MethodCall.cs: Improved checking if the requested client type for the target
185 object can be casted to the server type. Now not only checks type name,
186 but also the type hierarchy and implemented interfaces. Also implemented
188 * MethodResponse.cs: Imlemented ToString().
189 * ReturnMessage.cs: In the exception constructor, allow the request to be null.
190 Implemented ToString().
191 * StackBuilderSink.cs: Check type of parameters before calling the target method.
192 (a wrong type would make the runtime to crash).
194 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
196 * MethodDictionary.cs: Fixed Add method. If the property is method
197 property, then there is no need it to the internal properties table.
199 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
201 * MethodCall.cs: Fixed copy constructor, when the message to copy does not
202 implement IMethodMessage.
204 2003-07-09 Jean-Marc André <jean-marc.andre@polymtl.ca>
206 * ReturnMessage.cs: Bug fix. GetOutArgName didn't return the right Name for the given out parameter.
208 2003-05-13 Lluis Sanchez Gual <lluis@ideary.com>
210 * MethodCall.cs: ResolveMethod now uses the type of the target object (identified
211 by the uri) instead of the type specified by TypeName (only if both types have
214 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
216 * AsyncResult.cs: implemented some methods.
217 * ClientContextTerminatorSink.cs: Improved support for Async and OneWay messages.
218 * MonoMethodMessage.cs: Added member needed to support Async messages.
219 * ServerObjectTerminatorSink.cs: Improved support for Async and OneWay messages.
221 2003-03-21 Lluis Sanchez Gual <lluis@ideary.com>
223 * CADMessages.cs: removed some warnings.
224 * ClientContextTerminatorSink.cs: added support for dynamic sinks.
225 * ConstructionCall.cs: added internal property IsContextOK.
226 * MethodResponse.cs: fixed management of output parameters.
227 * ServerObjectTerminatorSink.cs: added support for dynamic sinks.
229 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
231 * ConstructionCall.cs: Added internal constructor. Added setter for activation attributes.
232 Some other minor corrections.
233 * EnvoyTerminatorSink.cs: Message now redirected to current context's client sink chain.
234 * MethodCall.cs: Added method for copying messages.
236 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 (MethodBase): resolve the method if it's not already done.
241 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
243 * IInternalMessage.cs: Added. Provides some useful methods for method messages.
244 * ServerContextTerminatorSink.cs: Added support for construction messages.
245 * MethodCall.cs: Implemented serialization support. Added support for IInternalMessage.
246 * MethodDictionary.cs: Added support for IInternalMessage.
247 * MethodResponse.cs: Added serialization support. Added support for IInternalMessage.
248 * MonoMethodMessage.cs: Added support for IInternalMessage.
249 * ReturnMessage.cs: Added support for IInternalMessage.
250 * ClientContextTerminatorSink.cs: Added.
251 * ConstructionCall.cs: Added.
252 * ConstructionCallDictionary.cs: Added.
253 * ConstructionResponse.cs: Added.
254 * EnvoyTerminatorSink.cs: Added.
256 2003-02-07 Patrik Torstensson
258 * CADMessages.cs: Disable smuggeling of objects cross domain, still issues casing remoting
259 to fail. (fixed formating)
261 2003-02-07 Lluis Sanchez Gual <lluis@ideary.com>
263 * CADMessages.cs: Some minor changes that allow reuse of ObjRef methods.
265 2003-02-05 Lluis Sanchez Gual <lluis@ideary.com>
267 * ReturnMessage.cs, MethodResponse.cs: OutArgs initialized to an empty array
268 when the the message returns an exception.
270 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
272 * ServerContextTerminatorSink.cs: Modified to work with new types of identities.
273 * ReturnMessage.cs: Removed internal dependence to MonoMethodMessage. It is not needed now.
274 * MonoMethodMessage.cs: Now only has method call keys in the dictionary.
275 * MethodReturnDictionary.cs, MethodCallDictionary.cs: Made public the list of
276 method keys. This list is used in MessageFormatter.
277 * MethodDictionary.cs: Corrected some minor bugs.
278 * MethodCall.cs: minor correction on constructor.
280 2003-02-03 Patrik Torstensson
282 * MethodResponse.cs: Implemented
283 * MethodCall.cs: added support for Cross appdomain messages, implemented some
285 * MethodDictionary.cs: made serializible and added methods to get internal properties.
286 * MonoMethodMessage.cs: internal dictionary is now serializible
287 * ReturnMessage.cs: made serializible
288 * ErrorMessage.cs: typo fix
290 * CADMessage.cs: new file, implements cross appdomain messages, both call and return.
291 Princip of this classes is to move unmutable objects and primitivs between appdomains
292 without marshalling. This increase performance a lot of the cross appdomain channel.
294 2003-01-29 Lluis Sanchez Gual <lluis@ideary.com>
296 * ServerContextTerminatorSink.cs: now it forwards messages to the target identity,
297 which knows how to manage each type of service.
298 * StackBuilderSink.cs: added a reference to the target object.
300 2002-12-28 Patrik Torstensson
302 * RemotingSurrogateSelector.cs: Added serialization support for MBR's.
303 * RemotingSurrogate.cs: Moved ObjRefSurrogate and MBRSurrogate to new file.
304 * ErrorMessage.cs: Dummy used when an exception occours.
305 * MonoMethodMessage.cs: Added Serializable and support for be created with null methods
307 2002-12-26 Lluis Sanchez Gual <lluis@ideary.com>
309 * ReturnMessage.cs: Implemented property Properties
310 * RemotingSurrogateSelector.cs: Implemented serialization support for ObjRef.
311 * MonoMethodMessage.cs: Implemented Properties and MethodSignature properties.
312 * MethodReturnMessageWrapper.cs: Implemented.
313 * MethodCallMessageWrapper.cs: Implemented.
314 * MethodCall.cs: Implemented.
315 * Header.cs: Small corrections to make it work.
316 * MethodDictionary.cs: Added.
317 * MethodCallDictionary.cs: Added.
318 * MethodReturnDictionary.cs: Added.
321 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
323 * MonoMethodMessage.cs: Implemented property Uri
325 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
327 * ServerContextTerminatorSink.cs: Added
328 * ServerObjectTerminatorSink.cs: Added
329 * StackBuilderSink.cs: Added
331 2002-12-10 Jaime Anguiano Olarra <jaime@gnome.org>
333 * CallContext.c: Added to the CVS.
335 2002-08-22 Nick Drochak <ndrochak@gol.com>
337 * RemotingSurrogateSelector.cs (SetRootObject): Function should return
340 2002-08-03 Duncan Mak <duncan@ximian.com>
343 * MethodResponse.cs: More visibility fixes. Hopefully this is the
346 2002-08-02 Duncan Mak <duncan@ximian.com>
349 * MethodCallMessageWrapper.cs:
350 * MethodReturnMessageWrapper.cs: Various visibility fixes.
352 * RemotingSurrogateSelector.cs: Added, replaced RemoteSurrogateSelector.
354 2002-07-31 Duncan Mak <duncan@ximian.com>
356 * MethodCallMessageWrapper.cs:
357 * MethodReturnMessageWrapper.cs: Revert the last patch and made it
358 work. Thanks to Gonzalo for reminding me to chain the constructors.
360 2002-07-31 Duncan Mak <duncan@ximian.com>
362 * MethodCallMessageWrapper.cs:
363 * MethodReturnMessageWrapper.cs: Remove reference to
364 InternalMessageWrapper. It's probably an MS private class, even
365 though it's visible in the documentation.
367 2002-07-31 Duncan Mak <duncan@ximian.com>
369 * InternalMessageWrapper.cs:
370 * MessageSurrogateFilter.cs:
372 * MethodCallMessageWrapper.cs:
374 * MethodReturnMessageWrapper.cs:
376 * RemoteSurrogateSelector.cs: Added to CVS.
378 * MonoMethodMessage.cs:
379 * ReturnMessage.cs: Add set in the Uri property.
381 2002-07-24 Duncan Mak <duncan@ximian.com>
383 * OneWayAttribute.cs: Added to CVS.
385 2002-07-23 Duncan Mak <duncan@ximian.com>
387 * HeaderHandler.cs: Added.
389 * IRemotingFormatter.cs: Added to CVS.
391 * IMethodMessage.cs: IMethodMessage inherits from IMessage.
393 Thu Apr 4 13:13:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
395 * IMethodReturnMessage.cs: added IMethodMessage, IMessage interfaces.
396 * ReturnMessage.cs: stubbed out Properties property.
398 2002-03-21 Dietmar Maurer <dietmar@ximian.com>
400 * AsyncResult.cs: impl.
402 2002/03/04 Nick Drochak <ndrochak@gol.com>
404 * Header.cs: Change properties into fields where they should be.