[runtime] Updates comments.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / ChangeLog
1 2010-06-03  Jb Evain  <jbevain@novell.com>
2
3         * SafeSerializationEventArgs.cs: add new type in net_4_0.
4
5 2010-06-03  Jb Evain  <jbevain@novell.com>
6
7         * ISafeSerializationData.cs: add new interface in net_4_0.
8
9 2008-05-22  Miguel de Icaza  <miguel@novell.com>
10
11         * SerializationCallbacks.cs: This lock has a high contention rate
12         on ASP.NET web sites, with multiple cores we end up spending a lot
13         of time on this check.   
14
15         Rewrite this code to have two code paths since we know that the
16         cache is append-only.  
17
18 2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
19
20         * IFormatterConverter.cs
21         * SerializationException.cs
22         * StreamingContext.cs: Fix parameter names
23
24 2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>
25
26         * FormatterServices.cs: In GetFields, avoid creating a field
27           clone in some cases where it's not really necessary.
28
29 2006-11-13  Jensen Somers  <jensen.somers@gmail.com>
30
31         * Fixed the Serializable attribute in OnDeserializedAttribute,
32         OnDeserializingAttribute, OnSerializedAttribute and
33         OnSerializingAttribute.
34
35 2006-11-13  Jensen Somers  <jensen.somers@gmail.com>
36
37         * Removed [Serializable] from OnDeserializedAttribute,
38         OnDeserializingAttribute, OnSerializedAttribute,
39         OnSerializingAttribute.
40
41 2006-11-10  Jensen Somers  <jensen.somers@gmail.com>
42
43         * Added ComVisibleAttribute in the ISerializable,
44         ISerializationSurrogate and ISurrogateSelector interface.
45         * Added the sealed keyword to the OnDeserializedAttribute,
46         OnDeserializingAttribute, OnSerializedAttribute,
47         OnSerializingAttribute and OptionalFieldAttribute class.
48
49 2006-10-30  Robert Jordan  <robertj@gmx.net>
50
51         * Apply ComVisibleAttribute.
52
53 2006-10-29  Robert Jordan  <robertj@gmx.net>
54
55         * ObjectManager.cs: Add NET_2_0 serialization callbacks.
56         
57 2006-10-29  Robert Jordan  <robertj@gmx.net>
58
59         * SerializationObjectManager.cs,
60         SerializationCallbacks.cs: Add support for NET_2_0 serialization
61         events. See bug #78594.
62
63 2006-08-06  Lluis Sanchez Gual  <lluis@novell.com>
64
65         * ObjectManager.cs: Add support for nested IObjectReference.
66         Fixes bug #78749.
67
68 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
69
70         * ObjectIDGenerator.cs: Fix ArgumentNullException parameter.
71
72 2006-06-04  Miguel de Icaza  <miguel@novell.com>
73
74         * OptionalFieldAttribute.cs, OnSerializedAttribute.cs,
75         OnSerializingAttribute.cs, OnDeserializedAttribute.cs,
76         OnDeserializingAttribute.cs: Added a few attributes for the
77         version tolerant serialization.
78
79 2006-01-04  Raja R Harinath  <rharinath@novell.com>
80
81         * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
82         introduced in previous patch.  See the re-opened bug #76931.
83
84 2005-12-15  Martin Baulig  <martin@ximian.com>
85
86         * ObjectManager.cs: When deserializing an object that has a
87         surrogate, actually check the return value of
88         ISerializationSurrogate.SetObjectData(); fixes #76931.
89
90 2005-10-03  Lluis Sanchez Gual  <lluis@novell.com>
91
92         * ObjectIDGenerator.cs: Use custom comparer instead of an instance
93         wrapper. Closes bug #76017.
94
95 2005-06-13  Lluis Sanchez Gual  <lluis@novell.com>
96
97         * Formatter.cs: Properly initialize protected fields. Fixes bug #75233. 
98
99 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
100
101         * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
102         since GetType() may not return the correct type if the object is
103         a remoting proxy.
104
105 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
106
107         * FormatterServices.cs: In GetSerializableMembers, private fields
108         from base classes must include the class name in the field name.
109         In this case, it now creates a clone of the field with the
110         modified name. This patch together with r44260 fixes bug #74760.
111
112 2004-12-09  Lluis Sanchez Gual  <lluis@ximian.com>
113
114         * ObjectManager.cs: When deserializing an object that implements
115         ISerializable, check if a surrogate     exists for that object, before
116         trying to deserialize it as ISerializable. This fixes bug #70104.
117
118 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
119
120         * ObjectIDGenerator.cs: added TODO for serialization
121
122 2004-06-09  Duncan Mak  <duncan@ximian.com>
123
124         * ObjectManager.cs (RegisterObject): Add checks for
125         ArgumentNullException as well.
126
127 2004-06-09  Duncan Mak  <duncan@ximian.com>
128
129         * SerializationInfoEnumerator.cs: Instead of using
130         IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
131         from the newly added ArrayList in SerializationInfo.
132
133         * SerializationInfo.cs: Added an extra ArrayList so that we can
134         keep the SerializationEntrys added in the order.
135         (SerializationInfo, AddValue): Throw ArgumentNullException
136         correctly.
137
138
139 2004-06-08  Duncan Mak  <duncan@ximian.com>
140
141         * ObjectManager.cs (RegisterObject): Throw
142         ArgumentOutOfRangeException if the objectID parameter is less than
143         or equal to zero. This check was missing from this particular
144         overload.
145
146 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
147
148         * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
149
150 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
151
152         * FormatterServices.cs: Added CheckTypeSecurity() and
153           GetSafeUninitializedObject().
154
155 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
156
157         * ObjectManager.cs: Fixed header, internalized enum
158         * Formatter.cs: Implemented
159
160 2003-11-11  Lluis Sanchez Gual  <lluis@ximian.com>
161
162         * FormatterServices.cs: Fixed some comments.
163
164 2003-10-21  Lluis Sanchez Gual  <lluis@ximian.com>
165
166         * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
167           of IsSubclass, since the type can be an interface.
168
169 2003-10-18  Lluis Sanchez Gual  <lluis@ximian.com>
170
171         * FormatterServices.cs: In GetUninitializedObject methdod, reuse
172         ActivationServices.AllocateUninitializedClassInstance, it does the same.
173
174 2003-07-28  Duncan Mak  <duncan@ximian.com>
175
176         * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
177
178 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
179
180         * FormatterServices.cs:
181         (GetSerializableMembers): check that all base types are serializable
182         when getting their fields. Fixes bug #46875.
183
184 2003-07-17  Lluis Sanchez Gual  <lluis@ximian.com>
185
186         * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
187           number of calls to GetType(). (Patch by Paolo).
188           Also added a NextId property that returns a new Id without registering
189           an object.
190
191 2003-06-26  Lluis Sanchez Gual  <lluis@ximian.com>
192
193         * SerializationInfo.cs: Fixed bug #44955
194
195 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
196
197         * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
198
199 2003-02-18  Lluis Sanchez Gual  <lluis@ideary.com>
200
201         * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
202           not correctly updated by the final fixup.
203
204 2003-01-27  Lluis Sanchez Gual  <lluis@ideary.com>
205
206         * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
207
208 2003-01-24  Martin Baulig  <martin@ximian.com>
209
210         * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
211         list in the correct order.
212
213 2003-01-16  Lluis Sanchez Gual  <lluis@ideary.com>
214
215         * ObjectManager.cs: Implemented and added file
216         * SurrogateSelector.cs: completed implementation.
217         * SerializationInfo.cs: corrected a bug in GetValue method.
218         * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
219           id for two different instances that return true when calling Equal.
220
221 2002-12-06  Duncan Mak  <duncan@ximian.com>
222
223         * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
224
225 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
226
227         * FormatterServices.cs: implemented GetUninitializedObject.
228         PopulateObjectMembers needs a working FieldInfo.SetValue (it's
229         not implemented right now).
230
231 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * FormatterServices.cs:a implemented GetSerializableMembers ().
234
235 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * FormatterServices.cs: New file with some implementation.
238
239 2002-08-16  Dietmar Maurer  <dietmar@ximian.com>
240
241         * SerializationInfo.cs: special case for null values.
242         use the converter everywhere.
243
244 2002-08-14  Dietmar Maurer  <dietmar@ximian.com>
245
246         * SerializationInfo.cs: added new function to support the runtime
247
248 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
249
250         * Formatter.cs: added namespace.
251
252 2002-06-10  Duncan Mak  <duncan@ximian.com>
253
254         * Formatter.cs: Addd to CVS.
255
256         * FormatterConverter.cs: Added to CVS.
257
258         * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
259
260 2002-04-12  Duncan Mak  <duncan@ximian.com>
261
262         * SerializationException.cs: Added missing constructor for serialization.
263
264 2002-03-12  Duncan Mak  <duncan@ximian.com>
265
266         * IFormatter.cs: Fix the return type of the Serialize method.
267
268 2002/03/07  Nick Drochak <ndrochak@gol.com>
269
270         * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
271         adjust All value accordingly.
272
273 2002-03-01  Duncan Mak  <duncan@ximian.com>
274
275         * ObjectIDGenerator.cs: Implemented.
276
277 2002-02-19  Duncan Mak  <duncan@ximian.com>
278
279         * SurrogateSelector.cs: Implemented.    
280
281         * SerializationInfoEnumerator.cs: oh, and simplified the Current
282         property too.
283         
284         * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
285
286 2002-02-18  Duncan Mak  <duncan@ximian.com>
287
288         * SerializationInfo.cs: Converted Type.GetType calls to the faster
289         typeof operator.
290
291 2002-02-16  Duncan Mak  <duncan@ximian.com>
292
293         * SurrogateSelector.cs: Stubbed out. Gonna be working on this
294         tomorrow.
295
296 2002-02-15  Duncan Mak  <duncan@ximian.com>
297
298         * SerializationEntry.cs: Added internal constructor for writing
299         bits in SerializationInfoEnumerator.
300         * SerializationInfo.cs: Completed.
301         * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
302         Hashtable's GetEnumerator method.
303
304 2002-02-13  Dan Lewis <dihlewis@yahoo.co.uk>
305
306         * SerializationInfoEnumerator.cs: New file (stub)
307
308 2002-02-12  Duncan Mak  <duncan@ximian.com>
309         
310         * SerializationBinder.cs: Implemented.
311         * SerializationEntry.cs: Implemented.
312         * SerializationInfo.cs: Fixed the get portion of the AssemblyName
313         property. Implemented the FullTypename property.
314         
315 2002-01-06  David Dawkins <david@dawkins.st>
316
317         * IFormatter.cs : New file
318         * ISerializationSurrogate.cs : New file
319         * ISurrogateSelector.cs : New file
320
321 2002-05-01  Ravi Pratap  <ravi@ximian.com>
322
323         * SerializationInfo.cs : Insert MonoTODO attribute.
324
325 2001-08-24  Nick Drochak  <ndrochak@gol.com>
326
327         * IDeserializationCallback.cs: New File
328
329 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
330
331         * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
332
333 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
334
335         * SerializationException.cs: implemented.
336
337 2001-08-24  Nick Drochak  <ndrochak@gol.com>
338
339         * SerializationInfo.cs: Added all the public methods so that the compile would not break
340
341 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
342
343         * SerializationInfo.cs: New file.
344
345         * IFormatterConverter.cs: New file.
346
347         * ISerializable.cs: New file.