2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.Serialization.Formatters.Binary / ChangeLog
1 2004-12-15  Lluis Sanchez Gual  <lluis@ximian.com>
2
3         * ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
4         be serialized, so it makes no sense to use GetMembers.
5
6 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
7
8         * CodeGenerator.cs: Call new DefineInternalDynamicAssembly method to prevent a race
9         condition in the setting of the CorlibInternal flag.
10
11 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
12
13         * CodeGenerator.cs: Mark the created assembly builder as internal.
14
15 2004-11-29  Lluis Sanchez Gual  <lluis@ximian.com>
16
17         * CodeGenerator.cs: Addded EnumToUnderlying method to get the underlying
18         type of an enum. This fixes bug #69753.
19
20 2004-07-02  Lluis Sanchez Gual  <lluis@ximian.com>
21
22         * BinaryCommon.cs: Added CheckSerializable method.
23         * ObjectWriter.cs: Check for type serializability even for members with
24           null values.
25         
26 2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
27
28         * ObjectWriter.cs: reduce contention in GetObjectData.
29
30 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
31
32         * binary_serialization_format.htm: renamed filename from having
33           spaces to _'s (checked with lluis)
34
35 2004-05-13  Lluis Sanchez Gual  <lluis@ximian.com>
36
37         * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and 
38           WriteSingleDimensionArrayElements. This also fixes bug #58345.
39
40 2004-05-03  Lluis Sanchez Gual  <lluis@ximian.com>
41
42         * MessageFormatter.cs: In the all-are-primitive case, serialize Args, 
43           not OutArgs.
44
45 2004-04-28  Lluis Sanchez Gual <lluis@ximian.com>
46
47         * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
48
49 2004-04-26  Lluis Sanchez Gual <lluis@ximian.com>
50
51         * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
52
53 2004-04-20  Lluis Sanchez Gual <lluis@ximian.com>
54
55         * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
56           as strings, like in MS.NET. This fixes bug #57186.
57
58 2004-02-23  Lluis Sanchez Gual <lluis@ximian.com>
59
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.
64         
65 2004-02-17  Lluis Sanchez Gual <lluis@ximian.com>
66
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.
72
73 2004-02-05  Lluis Sanchez Gual <lluis@ximian.com>
74
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.
78
79 2003-12-23  Lluis Sanchez Gual <lluis@ximian.com>
80
81         * ObjectReader.cs: Field names can include the type name if the field
82           belongs to a base type. Take this into account.
83
84 2003-11-26  Lluis Sanchez Gual <lluis@ximian.com>
85
86         * BinaryFormatter.cs: Added missing methods.
87
88 2003-11-20  Lluis Sanchez Gual <lluis@ximian.com>
89
90         * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
91           for TypeFilter property.
92
93 2003-11-16  Lluis Sanchez Gual <lluis@ximian.com>
94
95         * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs: 
96           Implemented support for AssemblyFormat property.
97
98 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
99
100         * ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
101
102 2003-07-28  Duncan Mak  <duncan@ximian.com>
103
104         * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
105         private.
106
107 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
108
109     * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
110       including ref and out.
111
112 2003-07-24  Lluis Sanchez Gual <lluis@ximian.com>
113
114     * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
115
116 2003-07-17  Lluis Sanchez Gual <lluis@ximian.com>
117
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.
123
124 2003-05-13  Lluis Sanchez Gual <lluis@ideary.com>
125
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
130       behavior.
131         * BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
132           if provided.
133
134 2003-02-25  Lluis Sanchez Gual <lluis@ideary.com>
135
136         * BinaryFormatter.cs: Implemented support for binders.
137     * MessageFormatter.cs: Implemented support for binders.
138     * ObjectReader.cs: Implemented support for binders.
139
140 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
141
142     * MessageFormatter.cs: Fixed bug in serialization of arguments.
143     * ObjectReader.cs: Fixed bug causing array of structs to fail.
144
145 2003-02-11  Patrik Torstensson
146
147     * ObjectReader.cs: Fixed root object bug causing object reader to return root object 
148           before fixup. Closes bug #37842.
149
150 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
151
152     * MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
153
154 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
155
156     * MessageFormatter.cs: Implemented serialization of message properties.
157
158 2003-01-24  Martin Baulig  <martin@ximian.com>
159
160         * ObjectReader.cs (ReadNextObject): Call
161         RaiseDeserializationEvent() on the ObjectManager when we're done
162         reading the whole graph.
163
164 2003-01-24  Lluis Sanchez Gual <lluis@ideary.com>
165
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.
171
172 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
173
174         * ObjectWriter.cs: make the exception message more useful.
175
176 2003-01-16  Lluis Sanchez Gual <lluis@ideary.com>
177
178     * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
179     * ObjectReader.cs: added.
180     * ObjectWriter.cs: added.
181     * BinaryCommon.cs. added.
182
183 2002-08-22  Nick Drochak  <ndrochak@gol.com>
184
185         * BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
186         from beta days)
187
188 2002-08-18  Dick Porter  <dick@ximian.com>
189
190         * BinaryFormatter.cs: Stubbed out