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