1 2010-06-03 Jb Evain <jbevain@novell.com>
3 * SafeSerializationEventArgs.cs: add new type in net_4_0.
5 2010-06-03 Jb Evain <jbevain@novell.com>
7 * ISafeSerializationData.cs: add new interface in net_4_0.
9 2008-05-22 Miguel de Icaza <miguel@novell.com>
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.
15 Rewrite this code to have two code paths since we know that the
18 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
20 * IFormatterConverter.cs
21 * SerializationException.cs
22 * StreamingContext.cs: Fix parameter names
24 2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
26 * FormatterServices.cs: In GetFields, avoid creating a field
27 clone in some cases where it's not really necessary.
29 2006-11-13 Jensen Somers <jensen.somers@gmail.com>
31 * Fixed the Serializable attribute in OnDeserializedAttribute,
32 OnDeserializingAttribute, OnSerializedAttribute and
33 OnSerializingAttribute.
35 2006-11-13 Jensen Somers <jensen.somers@gmail.com>
37 * Removed [Serializable] from OnDeserializedAttribute,
38 OnDeserializingAttribute, OnSerializedAttribute,
39 OnSerializingAttribute.
41 2006-11-10 Jensen Somers <jensen.somers@gmail.com>
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.
49 2006-10-30 Robert Jordan <robertj@gmx.net>
51 * Apply ComVisibleAttribute.
53 2006-10-29 Robert Jordan <robertj@gmx.net>
55 * ObjectManager.cs: Add NET_2_0 serialization callbacks.
57 2006-10-29 Robert Jordan <robertj@gmx.net>
59 * SerializationObjectManager.cs,
60 SerializationCallbacks.cs: Add support for NET_2_0 serialization
61 events. See bug #78594.
63 2006-08-06 Lluis Sanchez Gual <lluis@novell.com>
65 * ObjectManager.cs: Add support for nested IObjectReference.
68 2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
70 * ObjectIDGenerator.cs: Fix ArgumentNullException parameter.
72 2006-06-04 Miguel de Icaza <miguel@novell.com>
74 * OptionalFieldAttribute.cs, OnSerializedAttribute.cs,
75 OnSerializingAttribute.cs, OnDeserializedAttribute.cs,
76 OnDeserializingAttribute.cs: Added a few attributes for the
77 version tolerant serialization.
79 2006-01-04 Raja R Harinath <rharinath@novell.com>
81 * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
82 introduced in previous patch. See the re-opened bug #76931.
84 2005-12-15 Martin Baulig <martin@ximian.com>
86 * ObjectManager.cs: When deserializing an object that has a
87 surrogate, actually check the return value of
88 ISerializationSurrogate.SetObjectData(); fixes #76931.
90 2005-10-03 Lluis Sanchez Gual <lluis@novell.com>
92 * ObjectIDGenerator.cs: Use custom comparer instead of an instance
93 wrapper. Closes bug #76017.
95 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
97 * Formatter.cs: Properly initialize protected fields. Fixes bug #75233.
99 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
101 * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
102 since GetType() may not return the correct type if the object is
105 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
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.
112 2004-12-09 Lluis Sanchez Gual <lluis@ximian.com>
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.
118 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
120 * ObjectIDGenerator.cs: added TODO for serialization
122 2004-06-09 Duncan Mak <duncan@ximian.com>
124 * ObjectManager.cs (RegisterObject): Add checks for
125 ArgumentNullException as well.
127 2004-06-09 Duncan Mak <duncan@ximian.com>
129 * SerializationInfoEnumerator.cs: Instead of using
130 IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
131 from the newly added ArrayList in SerializationInfo.
133 * SerializationInfo.cs: Added an extra ArrayList so that we can
134 keep the SerializationEntrys added in the order.
135 (SerializationInfo, AddValue): Throw ArgumentNullException
139 2004-06-08 Duncan Mak <duncan@ximian.com>
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
146 2004-05-14 Marek Safar <marek.safar@seznam.cz>
148 * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
150 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
152 * FormatterServices.cs: Added CheckTypeSecurity() and
153 GetSafeUninitializedObject().
155 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
157 * ObjectManager.cs: Fixed header, internalized enum
158 * Formatter.cs: Implemented
160 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
162 * FormatterServices.cs: Fixed some comments.
164 2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
166 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
167 of IsSubclass, since the type can be an interface.
169 2003-10-18 Lluis Sanchez Gual <lluis@ximian.com>
171 * FormatterServices.cs: In GetUninitializedObject methdod, reuse
172 ActivationServices.AllocateUninitializedClassInstance, it does the same.
174 2003-07-28 Duncan Mak <duncan@ximian.com>
176 * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
178 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * FormatterServices.cs:
181 (GetSerializableMembers): check that all base types are serializable
182 when getting their fields. Fixes bug #46875.
184 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
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
191 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
193 * SerializationInfo.cs: Fixed bug #44955
195 2003-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
199 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
201 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
202 not correctly updated by the final fixup.
204 2003-01-27 Lluis Sanchez Gual <lluis@ideary.com>
206 * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
208 2003-01-24 Martin Baulig <martin@ximian.com>
210 * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
211 list in the correct order.
213 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
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.
221 2002-12-06 Duncan Mak <duncan@ximian.com>
223 * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
225 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * FormatterServices.cs: implemented GetUninitializedObject.
228 PopulateObjectMembers needs a working FieldInfo.SetValue (it's
229 not implemented right now).
231 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * FormatterServices.cs:a implemented GetSerializableMembers ().
235 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * FormatterServices.cs: New file with some implementation.
239 2002-08-16 Dietmar Maurer <dietmar@ximian.com>
241 * SerializationInfo.cs: special case for null values.
242 use the converter everywhere.
244 2002-08-14 Dietmar Maurer <dietmar@ximian.com>
246 * SerializationInfo.cs: added new function to support the runtime
248 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * Formatter.cs: added namespace.
252 2002-06-10 Duncan Mak <duncan@ximian.com>
254 * Formatter.cs: Addd to CVS.
256 * FormatterConverter.cs: Added to CVS.
258 * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
260 2002-04-12 Duncan Mak <duncan@ximian.com>
262 * SerializationException.cs: Added missing constructor for serialization.
264 2002-03-12 Duncan Mak <duncan@ximian.com>
266 * IFormatter.cs: Fix the return type of the Serialize method.
268 2002/03/07 Nick Drochak <ndrochak@gol.com>
270 * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
271 adjust All value accordingly.
273 2002-03-01 Duncan Mak <duncan@ximian.com>
275 * ObjectIDGenerator.cs: Implemented.
277 2002-02-19 Duncan Mak <duncan@ximian.com>
279 * SurrogateSelector.cs: Implemented.
281 * SerializationInfoEnumerator.cs: oh, and simplified the Current
284 * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
286 2002-02-18 Duncan Mak <duncan@ximian.com>
288 * SerializationInfo.cs: Converted Type.GetType calls to the faster
291 2002-02-16 Duncan Mak <duncan@ximian.com>
293 * SurrogateSelector.cs: Stubbed out. Gonna be working on this
296 2002-02-15 Duncan Mak <duncan@ximian.com>
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.
304 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
306 * SerializationInfoEnumerator.cs: New file (stub)
308 2002-02-12 Duncan Mak <duncan@ximian.com>
310 * SerializationBinder.cs: Implemented.
311 * SerializationEntry.cs: Implemented.
312 * SerializationInfo.cs: Fixed the get portion of the AssemblyName
313 property. Implemented the FullTypename property.
315 2002-01-06 David Dawkins <david@dawkins.st>
317 * IFormatter.cs : New file
318 * ISerializationSurrogate.cs : New file
319 * ISurrogateSelector.cs : New file
321 2002-05-01 Ravi Pratap <ravi@ximian.com>
323 * SerializationInfo.cs : Insert MonoTODO attribute.
325 2001-08-24 Nick Drochak <ndrochak@gol.com>
327 * IDeserializationCallback.cs: New File
329 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
331 * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
333 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
335 * SerializationException.cs: implemented.
337 2001-08-24 Nick Drochak <ndrochak@gol.com>
339 * SerializationInfo.cs: Added all the public methods so that the compile would not break
341 2001-07-20 Miguel de Icaza <miguel@ximian.com>
343 * SerializationInfo.cs: New file.
345 * IFormatterConverter.cs: New file.
347 * ISerializable.cs: New file.