1 2004-09-11 Ben Maurer <bmaurer@users.sourceforge.net>
3 * CADMessages.cs: get rid of method / type name, it is not needed
4 * MethodCall.cs: lazily init method / type name.
5 * ReturnMessage.cs: lazily init method / type name, sig.
7 2004-09-11 Ben Maurer <bmaurer@users.sourceforge.net>
9 * CADMessages.cs, MethodCall.cs: When doing an x-appdomain
10 call, store the method in a RuntimeMethodHandle. This allows
11 us to avoid the expensive lookup operations that must be done
12 to resolve the method. This makes xsp go from 250 r/s to 450 r/s
15 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
17 * MethodCall.cs, CADMessages.cs: String.Copy (x) is the same
18 thing as new string (x.ToCharArray ()), however it involves
19 half the memory allocation
21 2004-07-22 Lluis Sanchez Gual <lluis@novell.com>
23 * MethodCall.cs: Use RemotingServices.GetMethodBaseFromName to get the
24 MethodBase from the method name. This fixes bug #61774.
26 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
28 * ReturnMessage.cs: Added IMessage interface to class definition.
30 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
32 * ReturnMessage.cs: remove serializable attribute to match MS.NET
34 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
36 * MethodResponse.cs: Only get the MethodBase from type and method name when
39 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
41 * MethodResponse.cs: In the serialization constructor, initialize MethodBase
42 using the method name and type name.
44 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
46 * MethodResponse.cs, ReturnMessage.cs: More null checks.
48 2004-04-30 Lluis Sanchez Gual <lluis@ximian.com>
50 * MethodResponse.cs, ReturnMessage.cs: Added null checks.
52 2004-04-29 Raja R Harinath <rharinath@novell.com>
54 * MethodResponse.cs (MethodResponse.OutArgCount)
55 (MethodResponse.GetOutArg): Make reference to _args null-safe.
57 2004-04-28 Lluis Sanchez Gual <lluis@ximian.com>
59 * CADMessages.cs: Revert last change. It was ok.
60 * MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
61 different way. The message is constructed from an array that has all
62 parameters, including input parameters (which will be set to null).
63 The Args property returns all arguments. OutArgs returns only the
64 output arguments, which are taken from the provided args list.
66 2004-04-26 Lluis Sanchez Gual <lluis@ximian.com>
68 * CADMessages.cs: Marshal the correct return args for the return message.
70 2004-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73 (AsyncWaitHandle): create the handle if not done yet.
75 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
77 * AsyncResult.cs: Added async_callback field and fixed the callback call.
78 I thought that async_delegate was the callback, but it is not, it is the
79 delegate upon which the async call was invoked. This fixes bug #53020.
80 * StackBuilderSink.cs: If the target object is a proxy, make the call
81 using the Invoke method of the real proxy.
83 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
85 * ConstructionResponse.cs: Added constructor for exception response.
87 2003-12-22 Lluis Sanchez Gual <lluis@ximian.com>
89 * MethodCall.cs: Do not try to resolve the method in the serialization
90 constructor, since the type array may not be yet completely deserialized.
91 This fixes bug #52426.
93 2003-12-10 Lluis Sanchez Gual <lluis@ximian.com>
95 * AsyncResult.cs: Call delegate on async call completion.
96 * CADMessages.cs: Removed TODO.
98 2003-11-28 Dick Porter <dick@ximian.com>
100 * MethodCall.cs: Use the char form of IndexOf, so that the
101 comparison is done with the Invariant culture.
103 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
105 * MethodCall.cs, MethodResponse.cs, ReturnMessage.cs: Implemented
108 2003-11-25 Lluis Sanchez Gual <lluis@ximian.com>
110 * AsyncResult.cs, CallContext.cs: Added private constructor.
111 * ReturnMessage.cs: Added parameter array length check.
113 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
115 * ArgInfo.cs, ClientContextTerminatorSink.cs, ErrorMessage.cs, MethodCall.cs,
116 MethodResponse.cs, MonoMethodMessage.cs, ServerContextTerminatorSink.cs,
117 StackBuilderSink.cs: Fixed class visibility.
118 * CADMessages.cs: Added null reference check in SaveLogicalCallContext.
119 * ISerializationRootObject.cs: Added.
121 2003-11-17 Lluis Sanchez Gual <lluis@ximian.com>
123 * StackBuilderSink.cs: Implemented AsyncProcessMessage().
125 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
127 * CADMessages.cs: Added methods for setting and getting the logical call
129 * ConstructionCall.cs: Fixed signature of some methods.
130 * ConstructionResponse.cs: Fixed signature of constructor and added missing
132 * LogicalCallContext.cs: Removed TODO.
133 * MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
135 * MethodReturnMessageWrapper.cs: Removed some unneded methods.
137 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
139 * ConstructionCall.cs, ReturnMessage.cs: minor fixes.
141 2003-10-23 Lluis Sanchez Gual <lluis@ximian.com>
143 * MethodCall.cs: In the constructor that takes a CADMethodCallMessage
144 object, make sure strings are not reused across domains.
146 2003-10-08 Lluis Sanchez Gual <lluis@ximian.com>
148 * CADMessages.cs: added smuggeling argument support for some instances
149 of MarshalByRefObject. This should make the cross-appdomain channel
150 even faster. Some other minor fixes.
152 2003-10-07 Lluis Sanchez Gual <lluis@ximian.com>
154 * CADMessages.cs: improved argument smuggeling. Now it supports strings,
155 datetime and arrays of primitive types. This makes CAD much faster.
156 * AsyncResult.cs: Added property to store the call message.
158 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
160 * ArgInfo.cs: Include parameters with the Out flag in the out parameters list.
161 * CallContext.cs: SetCurrentCallContext now returns the old context, so it
162 can be later restored with new new method RestoreCallContext().
163 * ReturnMessage.cs: Some fixes in the way the class deals with output parameters,
164 to match MS.NET behavior.
166 2003-08-28 Lluis Sanchez Gual <lluis@ximian.com>
168 * MonoMethodMessage.cs: Moved CallType into namespace declaration.
170 2003-08-25 Lluis Sanchez Gual <lluis@ximian.com>
172 * AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
173 * CallContext.cs: Clean current logical context before setting the new
174 values form LogicalCallContext (SetCurrentCallContext).
175 * MonoMethodMessage.cs: Added new CallType field and enum.
176 * StackBuilderSink.cs: Improved error message.
178 2003-08-20 Lluis Sanchez Gual <lluis@ximian.com>
180 * MethodCall.cs: Changed exception text to match MS.NET (more or less).
181 * AsyncResult.cs: Added new fields to store async calls results.
183 2003-08-17 Lluis Sanchez Gual <lluis@ximian.com>
185 * MethodCall.cs: Throw the right exception if the target object is not
186 found when resolving the target method.
188 2003-08-17 Lluis Sanchez Gual <lluis@ximian.com>
190 * CallContext.cs: Fixed bug #47686.
192 2003-08-14 Lluis Sanchez Gual <lluis@ximian.com>
194 * CADMessages.cs: Enabled smuggeling of primitive type parameters (as suggested
196 * CallContext.cs: Impplemented.
197 * LogicalCallContext.cs: Implemented.
198 * MonoMethodMessage.cs: Added setter for LogicalCallContext property.
200 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
202 * ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
204 * MethodCall.cs: Improved checking if the requested client type for the target
205 object can be casted to the server type. Now not only checks type name,
206 but also the type hierarchy and implemented interfaces. Also implemented
208 * MethodResponse.cs: Imlemented ToString().
209 * ReturnMessage.cs: In the exception constructor, allow the request to be null.
210 Implemented ToString().
211 * StackBuilderSink.cs: Check type of parameters before calling the target method.
212 (a wrong type would make the runtime to crash).
214 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
216 * MethodDictionary.cs: Fixed Add method. If the property is method
217 property, then there is no need it to the internal properties table.
219 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
221 * MethodCall.cs: Fixed copy constructor, when the message to copy does not
222 implement IMethodMessage.
224 2003-07-09 Jean-Marc André <jean-marc.andre@polymtl.ca>
226 * ReturnMessage.cs: Bug fix. GetOutArgName didn't return the right Name for the given out parameter.
228 2003-05-13 Lluis Sanchez Gual <lluis@ideary.com>
230 * MethodCall.cs: ResolveMethod now uses the type of the target object (identified
231 by the uri) instead of the type specified by TypeName (only if both types have
234 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
236 * AsyncResult.cs: implemented some methods.
237 * ClientContextTerminatorSink.cs: Improved support for Async and OneWay messages.
238 * MonoMethodMessage.cs: Added member needed to support Async messages.
239 * ServerObjectTerminatorSink.cs: Improved support for Async and OneWay messages.
241 2003-03-21 Lluis Sanchez Gual <lluis@ideary.com>
243 * CADMessages.cs: removed some warnings.
244 * ClientContextTerminatorSink.cs: added support for dynamic sinks.
245 * ConstructionCall.cs: added internal property IsContextOK.
246 * MethodResponse.cs: fixed management of output parameters.
247 * ServerObjectTerminatorSink.cs: added support for dynamic sinks.
249 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
251 * ConstructionCall.cs: Added internal constructor. Added setter for activation attributes.
252 Some other minor corrections.
253 * EnvoyTerminatorSink.cs: Message now redirected to current context's client sink chain.
254 * MethodCall.cs: Added method for copying messages.
256 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 (MethodBase): resolve the method if it's not already done.
261 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
263 * IInternalMessage.cs: Added. Provides some useful methods for method messages.
264 * ServerContextTerminatorSink.cs: Added support for construction messages.
265 * MethodCall.cs: Implemented serialization support. Added support for IInternalMessage.
266 * MethodDictionary.cs: Added support for IInternalMessage.
267 * MethodResponse.cs: Added serialization support. Added support for IInternalMessage.
268 * MonoMethodMessage.cs: Added support for IInternalMessage.
269 * ReturnMessage.cs: Added support for IInternalMessage.
270 * ClientContextTerminatorSink.cs: Added.
271 * ConstructionCall.cs: Added.
272 * ConstructionCallDictionary.cs: Added.
273 * ConstructionResponse.cs: Added.
274 * EnvoyTerminatorSink.cs: Added.
276 2003-02-07 Patrik Torstensson
278 * CADMessages.cs: Disable smuggeling of objects cross domain, still issues casing remoting
279 to fail. (fixed formating)
281 2003-02-07 Lluis Sanchez Gual <lluis@ideary.com>
283 * CADMessages.cs: Some minor changes that allow reuse of ObjRef methods.
285 2003-02-05 Lluis Sanchez Gual <lluis@ideary.com>
287 * ReturnMessage.cs, MethodResponse.cs: OutArgs initialized to an empty array
288 when the the message returns an exception.
290 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
292 * ServerContextTerminatorSink.cs: Modified to work with new types of identities.
293 * ReturnMessage.cs: Removed internal dependence to MonoMethodMessage. It is not needed now.
294 * MonoMethodMessage.cs: Now only has method call keys in the dictionary.
295 * MethodReturnDictionary.cs, MethodCallDictionary.cs: Made public the list of
296 method keys. This list is used in MessageFormatter.
297 * MethodDictionary.cs: Corrected some minor bugs.
298 * MethodCall.cs: minor correction on constructor.
300 2003-02-03 Patrik Torstensson
302 * MethodResponse.cs: Implemented
303 * MethodCall.cs: added support for Cross appdomain messages, implemented some
305 * MethodDictionary.cs: made serializible and added methods to get internal properties.
306 * MonoMethodMessage.cs: internal dictionary is now serializible
307 * ReturnMessage.cs: made serializible
308 * ErrorMessage.cs: typo fix
310 * CADMessage.cs: new file, implements cross appdomain messages, both call and return.
311 Princip of this classes is to move unmutable objects and primitivs between appdomains
312 without marshalling. This increase performance a lot of the cross appdomain channel.
314 2003-01-29 Lluis Sanchez Gual <lluis@ideary.com>
316 * ServerContextTerminatorSink.cs: now it forwards messages to the target identity,
317 which knows how to manage each type of service.
318 * StackBuilderSink.cs: added a reference to the target object.
320 2002-12-28 Patrik Torstensson
322 * RemotingSurrogateSelector.cs: Added serialization support for MBR's.
323 * RemotingSurrogate.cs: Moved ObjRefSurrogate and MBRSurrogate to new file.
324 * ErrorMessage.cs: Dummy used when an exception occours.
325 * MonoMethodMessage.cs: Added Serializable and support for be created with null methods
327 2002-12-26 Lluis Sanchez Gual <lluis@ideary.com>
329 * ReturnMessage.cs: Implemented property Properties
330 * RemotingSurrogateSelector.cs: Implemented serialization support for ObjRef.
331 * MonoMethodMessage.cs: Implemented Properties and MethodSignature properties.
332 * MethodReturnMessageWrapper.cs: Implemented.
333 * MethodCallMessageWrapper.cs: Implemented.
334 * MethodCall.cs: Implemented.
335 * Header.cs: Small corrections to make it work.
336 * MethodDictionary.cs: Added.
337 * MethodCallDictionary.cs: Added.
338 * MethodReturnDictionary.cs: Added.
341 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
343 * MonoMethodMessage.cs: Implemented property Uri
345 2002-12-20 Lluis Sanchez Gual <lluis@ideary.com>
347 * ServerContextTerminatorSink.cs: Added
348 * ServerObjectTerminatorSink.cs: Added
349 * StackBuilderSink.cs: Added
351 2002-12-10 Jaime Anguiano Olarra <jaime@gnome.org>
353 * CallContext.c: Added to the CVS.
355 2002-08-22 Nick Drochak <ndrochak@gol.com>
357 * RemotingSurrogateSelector.cs (SetRootObject): Function should return
360 2002-08-03 Duncan Mak <duncan@ximian.com>
363 * MethodResponse.cs: More visibility fixes. Hopefully this is the
366 2002-08-02 Duncan Mak <duncan@ximian.com>
369 * MethodCallMessageWrapper.cs:
370 * MethodReturnMessageWrapper.cs: Various visibility fixes.
372 * RemotingSurrogateSelector.cs: Added, replaced RemoteSurrogateSelector.
374 2002-07-31 Duncan Mak <duncan@ximian.com>
376 * MethodCallMessageWrapper.cs:
377 * MethodReturnMessageWrapper.cs: Revert the last patch and made it
378 work. Thanks to Gonzalo for reminding me to chain the constructors.
380 2002-07-31 Duncan Mak <duncan@ximian.com>
382 * MethodCallMessageWrapper.cs:
383 * MethodReturnMessageWrapper.cs: Remove reference to
384 InternalMessageWrapper. It's probably an MS private class, even
385 though it's visible in the documentation.
387 2002-07-31 Duncan Mak <duncan@ximian.com>
389 * InternalMessageWrapper.cs:
390 * MessageSurrogateFilter.cs:
392 * MethodCallMessageWrapper.cs:
394 * MethodReturnMessageWrapper.cs:
396 * RemoteSurrogateSelector.cs: Added to CVS.
398 * MonoMethodMessage.cs:
399 * ReturnMessage.cs: Add set in the Uri property.
401 2002-07-24 Duncan Mak <duncan@ximian.com>
403 * OneWayAttribute.cs: Added to CVS.
405 2002-07-23 Duncan Mak <duncan@ximian.com>
407 * HeaderHandler.cs: Added.
409 * IRemotingFormatter.cs: Added to CVS.
411 * IMethodMessage.cs: IMethodMessage inherits from IMessage.
413 Thu Apr 4 13:13:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
415 * IMethodReturnMessage.cs: added IMethodMessage, IMessage interfaces.
416 * ReturnMessage.cs: stubbed out Properties property.
418 2002-03-21 Dietmar Maurer <dietmar@ximian.com>
420 * AsyncResult.cs: impl.
422 2002/03/04 Nick Drochak <ndrochak@gol.com>
424 * Header.cs: Change properties into fields where they should be.