1 2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
3 * ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
4 be serialized, so it makes no sense to use GetMembers.
6 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
8 * CodeGenerator.cs: Call new DefineInternalDynamicAssembly method to prevent a race
9 condition in the setting of the CorlibInternal flag.
11 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
13 * CodeGenerator.cs: Mark the created assembly builder as internal.
15 2004-11-29 Lluis Sanchez Gual <lluis@ximian.com>
17 * CodeGenerator.cs: Addded EnumToUnderlying method to get the underlying
18 type of an enum. This fixes bug #69753.
20 2004-07-02 Lluis Sanchez Gual <lluis@ximian.com>
22 * BinaryCommon.cs: Added CheckSerializable method.
23 * ObjectWriter.cs: Check for type serializability even for members with
26 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * ObjectWriter.cs: reduce contention in GetObjectData.
30 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
32 * binary_serialization_format.htm: renamed filename from having
33 spaces to _'s (checked with lluis)
35 2004-05-13 Lluis Sanchez Gual <lluis@ximian.com>
37 * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and
38 WriteSingleDimensionArrayElements. This also fixes bug #58345.
40 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
42 * MessageFormatter.cs: In the all-are-primitive case, serialize Args,
45 2004-04-28 Lluis Sanchez Gual <lluis@ximian.com>
47 * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
49 2004-04-26 Lluis Sanchez Gual <lluis@ximian.com>
51 * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
53 2004-04-20 Lluis Sanchez Gual <lluis@ximian.com>
55 * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
56 as strings, like in MS.NET. This fixes bug #57186.
58 2004-02-23 Lluis Sanchez Gual <lluis@ximian.com>
60 * BinaryCommon.cs: Added UseReflectionSerialization property.
61 * CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an
62 inherited field, prefix the name with the class name. This fixes #54439.
63 Moved check for reflection serialization variable to BinaryCommon.
65 2004-02-17 Lluis Sanchez Gual <lluis@ximian.com>
67 * ObjectWriter.cs: Factorized some serialization code in new classes, so it
68 is now possible to use fast IL generated classes that use direct access
69 to class fields instead of using reflection.
70 * CodeGenerator.cs: New file. Has several methods used by ObjectWriter to
71 generate serialization code.
73 2004-02-05 Lluis Sanchez Gual <lluis@ximian.com>
75 * ObjectWriter.cs: Get the assembly of a member from the member's type, not
76 from the type of the value, because that is the type written in the
77 metadata section of the object.
79 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
81 * ObjectReader.cs: Field names can include the type name if the field
82 belongs to a base type. Take this into account.
84 2003-11-26 Lluis Sanchez Gual <lluis@ximian.com>
86 * BinaryFormatter.cs: Added missing methods.
88 2003-11-20 Lluis Sanchez Gual <lluis@ximian.com>
90 * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
91 for TypeFilter property.
93 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
95 * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs:
96 Implemented support for AssemblyFormat property.
98 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
100 * ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
102 2003-07-28 Duncan Mak <duncan@ximian.com>
104 * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
107 2003-07-25 Lluis Sanchez Gual <lluis@ximian.com>
109 * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
110 including ref and out.
112 2003-07-24 Lluis Sanchez Gual <lluis@ximian.com>
114 * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
116 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
118 * ObjectReader.cs: Keep MemberInfo members in type's metadata object, so it is
119 not necessary to query them for every object.
120 * ObjectWriter.cs: If the value being serialized is a value type (not boxed)
121 then there is no need to register it in the ObjectIDGenerator, because it is
122 not possible to have two references to the same value type object.
124 2003-05-13 Lluis Sanchez Gual <lluis@ideary.com>
126 * ObjectReader.cs: Changed signature of ReadObjectGraph, so now it returns the
127 deserialized object and the headers.
128 * MessageFormatter.cs: The result of the call to the HeaderHandler delegate is
129 now interpreted as the uri of the target object. This seems to be MS.NET
131 * BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
134 2003-02-25 Lluis Sanchez Gual <lluis@ideary.com>
136 * BinaryFormatter.cs: Implemented support for binders.
137 * MessageFormatter.cs: Implemented support for binders.
138 * ObjectReader.cs: Implemented support for binders.
140 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
142 * MessageFormatter.cs: Fixed bug in serialization of arguments.
143 * ObjectReader.cs: Fixed bug causing array of structs to fail.
145 2003-02-11 Patrik Torstensson
147 * ObjectReader.cs: Fixed root object bug causing object reader to return root object
148 before fixup. Closes bug #37842.
150 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
152 * MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
154 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
156 * MessageFormatter.cs: Implemented serialization of message properties.
158 2003-01-24 Martin Baulig <martin@ximian.com>
160 * ObjectReader.cs (ReadNextObject): Call
161 RaiseDeserializationEvent() on the ObjectManager when we're done
162 reading the whole graph.
164 2003-01-24 Lluis Sanchez Gual <lluis@ideary.com>
166 * ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
167 Corrected encoding of primitive types. Corrected a bug about zero-length arrays.
168 * MessageFormatter.cs: Added. Implements serialization of messages.
169 * BinaryFormatter.cs: Added serialization of messages.
170 * BinaryCommon.cs: Added enum of codes of primitive types.
172 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * ObjectWriter.cs: make the exception message more useful.
176 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
178 * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
179 * ObjectReader.cs: added.
180 * ObjectWriter.cs: added.
181 * BinaryCommon.cs. added.
183 2002-08-22 Nick Drochak <ndrochak@gol.com>
185 * BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
188 2002-08-18 Dick Porter <dick@ximian.com>
190 * BinaryFormatter.cs: Stubbed out