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