1 2006-09-05 Raja R Harinath <rharinath@novell.com>
4 * ObjectWriter.cs (WritePrimitiveTypeArray) [NET_2_0]: Encode the
5 'Kind' of each DateTime.
6 * ObjectReader.cs (ReadArrayOfPrimitiveType) [NET_2_0]: Decode the
7 'Kind' of each DateTime.
9 2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
11 * BinaryFormatter.cs: Implemented UnsafeDeserialize and
12 UnsafeDeserializeMethodResponse methods. Fixes last TODO in this
13 namespace (for both 1.1 and 2.0 profiles).
15 2005-12-07 Lluis Sanchez Gual <lluis@ximian.com>
17 * ObjectReader.cs: Added null check in GetDeserializationType.
18 Patch by Ben Maurer. Fixes bug #69666.
20 2005-12-01 Sebastien Pouliot <sebastien@ximian.com>
22 * BinaryFormatter.cs: Added a demand for SerializationFormatter on
23 Serialize method (to make some CAS test work correctly).
25 2005-05-26 Ben Maurer <bmaurer@ximian.com>
27 * CodeGenerator.cs: Move module creation to cctor to kill double
28 checked locking and typeof locking.
30 2005-05-17 Lluis Sanchez Gual <lluis@ximian.com>
32 * CodeGenerator.cs: Don't generate debug info here.
34 2005-05-09 Lluis Sanchez Gual <lluis@ximian.com>
37 * CodeGenerator.cs: No need to add the class for inherited fields,
38 since FieldInfo objects returned by the GetSerializableMembers
39 method will already include the class name if needed.
41 2005-03-23 Lluis Sanchez Gual <lluis@ximian.com>
43 * BinaryCommon.cs: Added helper method for swapping bytes.
45 * ObjectWriter.cs: Implemented serialization of arrays of primitive
46 types using Buffer.BlockCopy to create byffers of data that is written/
47 read in a single call. It's much faster now.
49 2005-03-01 Lluis Sanchez Gual <lluis@ximian.com>
51 * BinaryCommon.cs: Found the meaning of two unknown binary elements.
52 * CodeGenerator.cs: Derive generated classes from ClrTypeMetadata
53 instead of TypeMetadata. Added writeTypes parameter to WriteTypeData().
54 * ObjectWriter.cs: Use type and assembly names as keys for the type and
55 assembly caches. This is needed since ISerializable types can provide
56 fake type names (which are mapped to real types by a binder on
58 Implemented support for BinaryFormatter.TypeFormat.
59 * BinaryFormatter.cs, MessageFormatter.cs: Implemented support for
61 * ObjectReader.cs: Added support for objects serialized without
62 member type information. This fixes bug #73114.
63 If a binder return null, use the default way of loading the type.
65 2005-02-25 Lluis Sanchez Gual <lluis@ximian.com>
67 * ObjectReader.cs: In ReadArrayOfPrimitiveType, added a specific
68 read loop for each type. It's much faster and avoids value boxings.
70 2005-01-10 Lluis Sanchez Gual <lluis@ximian.com>
72 * BinaryCommon.cs: IntPtr is not a primitive type in the serialization
73 world. This fixes bug #70757.
75 2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
77 * ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
78 be serialized, so it makes no sense to use GetMembers.
80 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
82 * CodeGenerator.cs: Call new DefineInternalDynamicAssembly method to prevent a race
83 condition in the setting of the CorlibInternal flag.
85 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
87 * CodeGenerator.cs: Mark the created assembly builder as internal.
89 2004-11-29 Lluis Sanchez Gual <lluis@ximian.com>
91 * CodeGenerator.cs: Addded EnumToUnderlying method to get the underlying
92 type of an enum. This fixes bug #69753.
94 2004-07-02 Lluis Sanchez Gual <lluis@ximian.com>
96 * BinaryCommon.cs: Added CheckSerializable method.
97 * ObjectWriter.cs: Check for type serializability even for members with
100 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * ObjectWriter.cs: reduce contention in GetObjectData.
104 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
106 * binary_serialization_format.htm: renamed filename from having
107 spaces to _'s (checked with lluis)
109 2004-05-13 Lluis Sanchez Gual <lluis@ximian.com>
111 * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and
112 WriteSingleDimensionArrayElements. This also fixes bug #58345.
114 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
116 * MessageFormatter.cs: In the all-are-primitive case, serialize Args,
119 2004-04-28 Lluis Sanchez Gual <lluis@ximian.com>
121 * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
123 2004-04-26 Lluis Sanchez Gual <lluis@ximian.com>
125 * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
127 2004-04-20 Lluis Sanchez Gual <lluis@ximian.com>
129 * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
130 as strings, like in MS.NET. This fixes bug #57186.
132 2004-02-23 Lluis Sanchez Gual <lluis@ximian.com>
134 * BinaryCommon.cs: Added UseReflectionSerialization property.
135 * CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an
136 inherited field, prefix the name with the class name. This fixes #54439.
137 Moved check for reflection serialization variable to BinaryCommon.
139 2004-02-17 Lluis Sanchez Gual <lluis@ximian.com>
141 * ObjectWriter.cs: Factorized some serialization code in new classes, so it
142 is now possible to use fast IL generated classes that use direct access
143 to class fields instead of using reflection.
144 * CodeGenerator.cs: New file. Has several methods used by ObjectWriter to
145 generate serialization code.
147 2004-02-05 Lluis Sanchez Gual <lluis@ximian.com>
149 * ObjectWriter.cs: Get the assembly of a member from the member's type, not
150 from the type of the value, because that is the type written in the
151 metadata section of the object.
153 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
155 * ObjectReader.cs: Field names can include the type name if the field
156 belongs to a base type. Take this into account.
158 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
160 * BinaryFormatter.cs: Added missing methods.
162 2003-11-20 Lluis Sanchez Gual <lluis@ximian.com>
164 * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
165 for TypeFilter property.
167 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
169 * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs:
170 Implemented support for AssemblyFormat property.
172 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
174 * ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
176 2003-07-28 Duncan Mak <duncan@ximian.com>
178 * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
181 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
183 * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
184 including ref and out.
186 2003-07-24 Lluis Sanchez Gual <lluis@ximian.com>
188 * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
190 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
192 * ObjectReader.cs: Keep MemberInfo members in type's metadata object, so it is
193 not necessary to query them for every object.
194 * ObjectWriter.cs: If the value being serialized is a value type (not boxed)
195 then there is no need to register it in the ObjectIDGenerator, because it is
196 not possible to have two references to the same value type object.
198 2003-05-13 Lluis Sanchez Gual <lluis@ideary.com>
200 * ObjectReader.cs: Changed signature of ReadObjectGraph, so now it returns the
201 deserialized object and the headers.
202 * MessageFormatter.cs: The result of the call to the HeaderHandler delegate is
203 now interpreted as the uri of the target object. This seems to be MS.NET
205 * BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
208 2003-02-25 Lluis Sanchez Gual <lluis@ideary.com>
210 * BinaryFormatter.cs: Implemented support for binders.
211 * MessageFormatter.cs: Implemented support for binders.
212 * ObjectReader.cs: Implemented support for binders.
214 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
216 * MessageFormatter.cs: Fixed bug in serialization of arguments.
217 * ObjectReader.cs: Fixed bug causing array of structs to fail.
219 2003-02-11 Patrik Torstensson
221 * ObjectReader.cs: Fixed root object bug causing object reader to return root object
222 before fixup. Closes bug #37842.
224 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
226 * MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
228 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
230 * MessageFormatter.cs: Implemented serialization of message properties.
232 2003-01-24 Martin Baulig <martin@ximian.com>
234 * ObjectReader.cs (ReadNextObject): Call
235 RaiseDeserializationEvent() on the ObjectManager when we're done
236 reading the whole graph.
238 2003-01-24 Lluis Sanchez Gual <lluis@ideary.com>
240 * ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
241 Corrected encoding of primitive types. Corrected a bug about zero-length arrays.
242 * MessageFormatter.cs: Added. Implements serialization of messages.
243 * BinaryFormatter.cs: Added serialization of messages.
244 * BinaryCommon.cs: Added enum of codes of primitive types.
246 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
248 * ObjectWriter.cs: make the exception message more useful.
250 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
252 * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
253 * ObjectReader.cs: added.
254 * ObjectWriter.cs: added.
255 * BinaryCommon.cs. added.
257 2002-08-22 Nick Drochak <ndrochak@gol.com>
259 * BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
262 2002-08-18 Dick Porter <dick@ximian.com>
264 * BinaryFormatter.cs: Stubbed out