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