imported everything from my branch (which is slightly harmless).
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / ChangeLog
1 2005-06-13  Lluis Sanchez Gual  <lluis@novell.com>
2
3         * Formatter.cs: Properly initialize protected fields. Fixes bug #75233. 
4
5 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6
7         * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
8         since GetType() may not return the correct type if the object is
9         a remoting proxy.
10
11 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
12
13         * FormatterServices.cs: In GetSerializableMembers, private fields
14         from base classes must include the class name in the field name.
15         In this case, it now creates a clone of the field with the
16         modified name. This patch together with r44260 fixes bug #74760.
17
18 2004-12-09  Lluis Sanchez Gual  <lluis@ximian.com>
19
20         * ObjectManager.cs: When deserializing an object that implements
21         ISerializable, check if a surrogate     exists for that object, before
22         trying to deserialize it as ISerializable. This fixes bug #70104.
23
24 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
25
26         * ObjectIDGenerator.cs: added TODO for serialization
27
28 2004-06-09  Duncan Mak  <duncan@ximian.com>
29
30         * ObjectManager.cs (RegisterObject): Add checks for
31         ArgumentNullException as well.
32
33 2004-06-09  Duncan Mak  <duncan@ximian.com>
34
35         * SerializationInfoEnumerator.cs: Instead of using
36         IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
37         from the newly added ArrayList in SerializationInfo.
38
39         * SerializationInfo.cs: Added an extra ArrayList so that we can
40         keep the SerializationEntrys added in the order.
41         (SerializationInfo, AddValue): Throw ArgumentNullException
42         correctly.
43
44
45 2004-06-08  Duncan Mak  <duncan@ximian.com>
46
47         * ObjectManager.cs (RegisterObject): Throw
48         ArgumentOutOfRangeException if the objectID parameter is less than
49         or equal to zero. This check was missing from this particular
50         overload.
51
52 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
53
54         * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
55
56 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
57
58         * FormatterServices.cs: Added CheckTypeSecurity() and
59           GetSafeUninitializedObject().
60
61 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
62
63         * ObjectManager.cs: Fixed header, internalized enum
64         * Formatter.cs: Implemented
65
66 2003-11-11  Lluis Sanchez Gual  <lluis@ximian.com>
67
68         * FormatterServices.cs: Fixed some comments.
69
70 2003-10-21  Lluis Sanchez Gual  <lluis@ximian.com>
71
72         * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
73           of IsSubclass, since the type can be an interface.
74
75 2003-10-18  Lluis Sanchez Gual  <lluis@ximian.com>
76
77         * FormatterServices.cs: In GetUninitializedObject methdod, reuse
78         ActivationServices.AllocateUninitializedClassInstance, it does the same.
79
80 2003-07-28  Duncan Mak  <duncan@ximian.com>
81
82         * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
83
84 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
85
86         * FormatterServices.cs:
87         (GetSerializableMembers): check that all base types are serializable
88         when getting their fields. Fixes bug #46875.
89
90 2003-07-17  Lluis Sanchez Gual  <lluis@ximian.com>
91
92         * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
93           number of calls to GetType(). (Patch by Paolo).
94           Also added a NextId property that returns a new Id without registering
95           an object.
96
97 2003-06-26  Lluis Sanchez Gual  <lluis@ximian.com>
98
99         * SerializationInfo.cs: Fixed bug #44955
100
101 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
102
103         * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
104
105 2003-02-18  Lluis Sanchez Gual  <lluis@ideary.com>
106
107         * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
108           not correctly updated by the final fixup.
109
110 2003-01-27  Lluis Sanchez Gual  <lluis@ideary.com>
111
112         * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
113
114 2003-01-24  Martin Baulig  <martin@ximian.com>
115
116         * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
117         list in the correct order.
118
119 2003-01-16  Lluis Sanchez Gual  <lluis@ideary.com>
120
121         * ObjectManager.cs: Implemented and added file
122         * SurrogateSelector.cs: completed implementation.
123         * SerializationInfo.cs: corrected a bug in GetValue method.
124         * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
125           id for two different instances that return true when calling Equal.
126
127 2002-12-06  Duncan Mak  <duncan@ximian.com>
128
129         * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
130
131 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * FormatterServices.cs: implemented GetUninitializedObject.
134         PopulateObjectMembers needs a working FieldInfo.SetValue (it's
135         not implemented right now).
136
137 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * FormatterServices.cs:a implemented GetSerializableMembers ().
140
141 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * FormatterServices.cs: New file with some implementation.
144
145 2002-08-16  Dietmar Maurer  <dietmar@ximian.com>
146
147         * SerializationInfo.cs: special case for null values.
148         use the converter everywhere.
149
150 2002-08-14  Dietmar Maurer  <dietmar@ximian.com>
151
152         * SerializationInfo.cs: added new function to support the runtime
153
154 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
155
156         * Formatter.cs: added namespace.
157
158 2002-06-10  Duncan Mak  <duncan@ximian.com>
159
160         * Formatter.cs: Addd to CVS.
161
162         * FormatterConverter.cs: Added to CVS.
163
164         * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
165
166 2002-04-12  Duncan Mak  <duncan@ximian.com>
167
168         * SerializationException.cs: Added missing constructor for serialization.
169
170 2002-03-12  Duncan Mak  <duncan@ximian.com>
171
172         * IFormatter.cs: Fix the return type of the Serialize method.
173
174 2002/03/07  Nick Drochak <ndrochak@gol.com>
175
176         * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
177         adjust All value accordingly.
178
179 2002-03-01  Duncan Mak  <duncan@ximian.com>
180
181         * ObjectIDGenerator.cs: Implemented.
182
183 2002-02-19  Duncan Mak  <duncan@ximian.com>
184
185         * SurrogateSelector.cs: Implemented.    
186
187         * SerializationInfoEnumerator.cs: oh, and simplified the Current
188         property too.
189         
190         * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
191
192 2002-02-18  Duncan Mak  <duncan@ximian.com>
193
194         * SerializationInfo.cs: Converted Type.GetType calls to the faster
195         typeof operator.
196
197 2002-02-16  Duncan Mak  <duncan@ximian.com>
198
199         * SurrogateSelector.cs: Stubbed out. Gonna be working on this
200         tomorrow.
201
202 2002-02-15  Duncan Mak  <duncan@ximian.com>
203
204         * SerializationEntry.cs: Added internal constructor for writing
205         bits in SerializationInfoEnumerator.
206         * SerializationInfo.cs: Completed.
207         * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
208         Hashtable's GetEnumerator method.
209
210 2002-02-13  Dan Lewis <dihlewis@yahoo.co.uk>
211
212         * SerializationInfoEnumerator.cs: New file (stub)
213
214 2002-02-12  Duncan Mak  <duncan@ximian.com>
215         
216         * SerializationBinder.cs: Implemented.
217         * SerializationEntry.cs: Implemented.
218         * SerializationInfo.cs: Fixed the get portion of the AssemblyName
219         property. Implemented the FullTypename property.
220         
221 2002-01-06  David Dawkins <david@dawkins.st>
222
223         * IFormatter.cs : New file
224         * ISerializationSurrogate.cs : New file
225         * ISurrogateSelector.cs : New file
226
227 2002-05-01  Ravi Pratap  <ravi@ximian.com>
228
229         * SerializationInfo.cs : Insert MonoTODO attribute.
230
231 2001-08-24  Nick Drochak  <ndrochak@gol.com>
232
233         * IDeserializationCallback.cs: New File
234
235 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
236
237         * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
238
239 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
240
241         * SerializationException.cs: implemented.
242
243 2001-08-24  Nick Drochak  <ndrochak@gol.com>
244
245         * SerializationInfo.cs: Added all the public methods so that the compile would not break
246
247 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
248
249         * SerializationInfo.cs: New file.
250
251         * IFormatterConverter.cs: New file.
252
253         * ISerializable.cs: New file.