1 2008-05-22 Miguel de Icaza <miguel@novell.com>
3 * SerializationCallbacks.cs: This lock has a high contention rate
4 on ASP.NET web sites, with multiple cores we end up spending a lot
7 Rewrite this code to have two code paths since we know that the
10 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
12 * IFormatterConverter.cs
13 * SerializationException.cs
14 * StreamingContext.cs: Fix parameter names
16 2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
18 * FormatterServices.cs: In GetFields, avoid creating a field
19 clone in some cases where it's not really necessary.
21 2006-11-13 Jensen Somers <jensen.somers@gmail.com>
23 * Fixed the Serializable attribute in OnDeserializedAttribute,
24 OnDeserializingAttribute, OnSerializedAttribute and
25 OnSerializingAttribute.
27 2006-11-13 Jensen Somers <jensen.somers@gmail.com>
29 * Removed [Serializable] from OnDeserializedAttribute,
30 OnDeserializingAttribute, OnSerializedAttribute,
31 OnSerializingAttribute.
33 2006-11-10 Jensen Somers <jensen.somers@gmail.com>
35 * Added ComVisibleAttribute in the ISerializable,
36 ISerializationSurrogate and ISurrogateSelector interface.
37 * Added the sealed keyword to the OnDeserializedAttribute,
38 OnDeserializingAttribute, OnSerializedAttribute,
39 OnSerializingAttribute and OptionalFieldAttribute class.
41 2006-10-30 Robert Jordan <robertj@gmx.net>
43 * Apply ComVisibleAttribute.
45 2006-10-29 Robert Jordan <robertj@gmx.net>
47 * ObjectManager.cs: Add NET_2_0 serialization callbacks.
49 2006-10-29 Robert Jordan <robertj@gmx.net>
51 * SerializationObjectManager.cs,
52 SerializationCallbacks.cs: Add support for NET_2_0 serialization
53 events. See bug #78594.
55 2006-08-06 Lluis Sanchez Gual <lluis@novell.com>
57 * ObjectManager.cs: Add support for nested IObjectReference.
60 2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
62 * ObjectIDGenerator.cs: Fix ArgumentNullException parameter.
64 2006-06-04 Miguel de Icaza <miguel@novell.com>
66 * OptionalFieldAttribute.cs, OnSerializedAttribute.cs,
67 OnSerializingAttribute.cs, OnDeserializedAttribute.cs,
68 OnDeserializingAttribute.cs: Added a few attributes for the
69 version tolerant serialization.
71 2006-01-04 Raja R Harinath <rharinath@novell.com>
73 * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
74 introduced in previous patch. See the re-opened bug #76931.
76 2005-12-15 Martin Baulig <martin@ximian.com>
78 * ObjectManager.cs: When deserializing an object that has a
79 surrogate, actually check the return value of
80 ISerializationSurrogate.SetObjectData(); fixes #76931.
82 2005-10-03 Lluis Sanchez Gual <lluis@novell.com>
84 * ObjectIDGenerator.cs: Use custom comparer instead of an instance
85 wrapper. Closes bug #76017.
87 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
89 * Formatter.cs: Properly initialize protected fields. Fixes bug #75233.
91 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
93 * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
94 since GetType() may not return the correct type if the object is
97 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
99 * FormatterServices.cs: In GetSerializableMembers, private fields
100 from base classes must include the class name in the field name.
101 In this case, it now creates a clone of the field with the
102 modified name. This patch together with r44260 fixes bug #74760.
104 2004-12-09 Lluis Sanchez Gual <lluis@ximian.com>
106 * ObjectManager.cs: When deserializing an object that implements
107 ISerializable, check if a surrogate exists for that object, before
108 trying to deserialize it as ISerializable. This fixes bug #70104.
110 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
112 * ObjectIDGenerator.cs: added TODO for serialization
114 2004-06-09 Duncan Mak <duncan@ximian.com>
116 * ObjectManager.cs (RegisterObject): Add checks for
117 ArgumentNullException as well.
119 2004-06-09 Duncan Mak <duncan@ximian.com>
121 * SerializationInfoEnumerator.cs: Instead of using
122 IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
123 from the newly added ArrayList in SerializationInfo.
125 * SerializationInfo.cs: Added an extra ArrayList so that we can
126 keep the SerializationEntrys added in the order.
127 (SerializationInfo, AddValue): Throw ArgumentNullException
131 2004-06-08 Duncan Mak <duncan@ximian.com>
133 * ObjectManager.cs (RegisterObject): Throw
134 ArgumentOutOfRangeException if the objectID parameter is less than
135 or equal to zero. This check was missing from this particular
138 2004-05-14 Marek Safar <marek.safar@seznam.cz>
140 * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
142 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
144 * FormatterServices.cs: Added CheckTypeSecurity() and
145 GetSafeUninitializedObject().
147 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
149 * ObjectManager.cs: Fixed header, internalized enum
150 * Formatter.cs: Implemented
152 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
154 * FormatterServices.cs: Fixed some comments.
156 2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
158 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
159 of IsSubclass, since the type can be an interface.
161 2003-10-18 Lluis Sanchez Gual <lluis@ximian.com>
163 * FormatterServices.cs: In GetUninitializedObject methdod, reuse
164 ActivationServices.AllocateUninitializedClassInstance, it does the same.
166 2003-07-28 Duncan Mak <duncan@ximian.com>
168 * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
170 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 * FormatterServices.cs:
173 (GetSerializableMembers): check that all base types are serializable
174 when getting their fields. Fixes bug #46875.
176 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
178 * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
179 number of calls to GetType(). (Patch by Paolo).
180 Also added a NextId property that returns a new Id without registering
183 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
185 * SerializationInfo.cs: Fixed bug #44955
187 2003-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
191 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
193 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
194 not correctly updated by the final fixup.
196 2003-01-27 Lluis Sanchez Gual <lluis@ideary.com>
198 * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
200 2003-01-24 Martin Baulig <martin@ximian.com>
202 * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
203 list in the correct order.
205 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
207 * ObjectManager.cs: Implemented and added file
208 * SurrogateSelector.cs: completed implementation.
209 * SerializationInfo.cs: corrected a bug in GetValue method.
210 * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
211 id for two different instances that return true when calling Equal.
213 2002-12-06 Duncan Mak <duncan@ximian.com>
215 * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
217 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * FormatterServices.cs: implemented GetUninitializedObject.
220 PopulateObjectMembers needs a working FieldInfo.SetValue (it's
221 not implemented right now).
223 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * FormatterServices.cs:a implemented GetSerializableMembers ().
227 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * FormatterServices.cs: New file with some implementation.
231 2002-08-16 Dietmar Maurer <dietmar@ximian.com>
233 * SerializationInfo.cs: special case for null values.
234 use the converter everywhere.
236 2002-08-14 Dietmar Maurer <dietmar@ximian.com>
238 * SerializationInfo.cs: added new function to support the runtime
240 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * Formatter.cs: added namespace.
244 2002-06-10 Duncan Mak <duncan@ximian.com>
246 * Formatter.cs: Addd to CVS.
248 * FormatterConverter.cs: Added to CVS.
250 * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
252 2002-04-12 Duncan Mak <duncan@ximian.com>
254 * SerializationException.cs: Added missing constructor for serialization.
256 2002-03-12 Duncan Mak <duncan@ximian.com>
258 * IFormatter.cs: Fix the return type of the Serialize method.
260 2002/03/07 Nick Drochak <ndrochak@gol.com>
262 * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
263 adjust All value accordingly.
265 2002-03-01 Duncan Mak <duncan@ximian.com>
267 * ObjectIDGenerator.cs: Implemented.
269 2002-02-19 Duncan Mak <duncan@ximian.com>
271 * SurrogateSelector.cs: Implemented.
273 * SerializationInfoEnumerator.cs: oh, and simplified the Current
276 * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
278 2002-02-18 Duncan Mak <duncan@ximian.com>
280 * SerializationInfo.cs: Converted Type.GetType calls to the faster
283 2002-02-16 Duncan Mak <duncan@ximian.com>
285 * SurrogateSelector.cs: Stubbed out. Gonna be working on this
288 2002-02-15 Duncan Mak <duncan@ximian.com>
290 * SerializationEntry.cs: Added internal constructor for writing
291 bits in SerializationInfoEnumerator.
292 * SerializationInfo.cs: Completed.
293 * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
294 Hashtable's GetEnumerator method.
296 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
298 * SerializationInfoEnumerator.cs: New file (stub)
300 2002-02-12 Duncan Mak <duncan@ximian.com>
302 * SerializationBinder.cs: Implemented.
303 * SerializationEntry.cs: Implemented.
304 * SerializationInfo.cs: Fixed the get portion of the AssemblyName
305 property. Implemented the FullTypename property.
307 2002-01-06 David Dawkins <david@dawkins.st>
309 * IFormatter.cs : New file
310 * ISerializationSurrogate.cs : New file
311 * ISurrogateSelector.cs : New file
313 2002-05-01 Ravi Pratap <ravi@ximian.com>
315 * SerializationInfo.cs : Insert MonoTODO attribute.
317 2001-08-24 Nick Drochak <ndrochak@gol.com>
319 * IDeserializationCallback.cs: New File
321 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
323 * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
325 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
327 * SerializationException.cs: implemented.
329 2001-08-24 Nick Drochak <ndrochak@gol.com>
331 * SerializationInfo.cs: Added all the public methods so that the compile would not break
333 2001-07-20 Miguel de Icaza <miguel@ximian.com>
335 * SerializationInfo.cs: New file.
337 * IFormatterConverter.cs: New file.
339 * ISerializable.cs: New file.