1 2006-01-04 Raja R Harinath <rharinath@novell.com>
3 * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
4 introduced in previous patch. See the re-opened bug #76931.
6 2005-12-15 Martin Baulig <martin@ximian.com>
8 * ObjectManager.cs: When deserializing an object that has a
9 surrogate, actually check the return value of
10 ISerializationSurrogate.SetObjectData(); fixes #76931.
12 2005-10-03 Lluis Sanchez Gual <lluis@novell.com>
14 * ObjectIDGenerator.cs: Use custom comparer instead of an instance
15 wrapper. Closes bug #76017.
17 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
19 * Formatter.cs: Properly initialize protected fields. Fixes bug #75233.
21 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
23 * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
24 since GetType() may not return the correct type if the object is
27 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
29 * FormatterServices.cs: In GetSerializableMembers, private fields
30 from base classes must include the class name in the field name.
31 In this case, it now creates a clone of the field with the
32 modified name. This patch together with r44260 fixes bug #74760.
34 2004-12-09 Lluis Sanchez Gual <lluis@ximian.com>
36 * ObjectManager.cs: When deserializing an object that implements
37 ISerializable, check if a surrogate exists for that object, before
38 trying to deserialize it as ISerializable. This fixes bug #70104.
40 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
42 * ObjectIDGenerator.cs: added TODO for serialization
44 2004-06-09 Duncan Mak <duncan@ximian.com>
46 * ObjectManager.cs (RegisterObject): Add checks for
47 ArgumentNullException as well.
49 2004-06-09 Duncan Mak <duncan@ximian.com>
51 * SerializationInfoEnumerator.cs: Instead of using
52 IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
53 from the newly added ArrayList in SerializationInfo.
55 * SerializationInfo.cs: Added an extra ArrayList so that we can
56 keep the SerializationEntrys added in the order.
57 (SerializationInfo, AddValue): Throw ArgumentNullException
61 2004-06-08 Duncan Mak <duncan@ximian.com>
63 * ObjectManager.cs (RegisterObject): Throw
64 ArgumentOutOfRangeException if the objectID parameter is less than
65 or equal to zero. This check was missing from this particular
68 2004-05-14 Marek Safar <marek.safar@seznam.cz>
70 * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
72 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
74 * FormatterServices.cs: Added CheckTypeSecurity() and
75 GetSafeUninitializedObject().
77 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
79 * ObjectManager.cs: Fixed header, internalized enum
80 * Formatter.cs: Implemented
82 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
84 * FormatterServices.cs: Fixed some comments.
86 2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
88 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
89 of IsSubclass, since the type can be an interface.
91 2003-10-18 Lluis Sanchez Gual <lluis@ximian.com>
93 * FormatterServices.cs: In GetUninitializedObject methdod, reuse
94 ActivationServices.AllocateUninitializedClassInstance, it does the same.
96 2003-07-28 Duncan Mak <duncan@ximian.com>
98 * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
100 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * FormatterServices.cs:
103 (GetSerializableMembers): check that all base types are serializable
104 when getting their fields. Fixes bug #46875.
106 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
108 * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
109 number of calls to GetType(). (Patch by Paolo).
110 Also added a NextId property that returns a new Id without registering
113 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
115 * SerializationInfo.cs: Fixed bug #44955
117 2003-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119 * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
121 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
123 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
124 not correctly updated by the final fixup.
126 2003-01-27 Lluis Sanchez Gual <lluis@ideary.com>
128 * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
130 2003-01-24 Martin Baulig <martin@ximian.com>
132 * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
133 list in the correct order.
135 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
137 * ObjectManager.cs: Implemented and added file
138 * SurrogateSelector.cs: completed implementation.
139 * SerializationInfo.cs: corrected a bug in GetValue method.
140 * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
141 id for two different instances that return true when calling Equal.
143 2002-12-06 Duncan Mak <duncan@ximian.com>
145 * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
147 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
149 * FormatterServices.cs: implemented GetUninitializedObject.
150 PopulateObjectMembers needs a working FieldInfo.SetValue (it's
151 not implemented right now).
153 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155 * FormatterServices.cs:a implemented GetSerializableMembers ().
157 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * FormatterServices.cs: New file with some implementation.
161 2002-08-16 Dietmar Maurer <dietmar@ximian.com>
163 * SerializationInfo.cs: special case for null values.
164 use the converter everywhere.
166 2002-08-14 Dietmar Maurer <dietmar@ximian.com>
168 * SerializationInfo.cs: added new function to support the runtime
170 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 * Formatter.cs: added namespace.
174 2002-06-10 Duncan Mak <duncan@ximian.com>
176 * Formatter.cs: Addd to CVS.
178 * FormatterConverter.cs: Added to CVS.
180 * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
182 2002-04-12 Duncan Mak <duncan@ximian.com>
184 * SerializationException.cs: Added missing constructor for serialization.
186 2002-03-12 Duncan Mak <duncan@ximian.com>
188 * IFormatter.cs: Fix the return type of the Serialize method.
190 2002/03/07 Nick Drochak <ndrochak@gol.com>
192 * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
193 adjust All value accordingly.
195 2002-03-01 Duncan Mak <duncan@ximian.com>
197 * ObjectIDGenerator.cs: Implemented.
199 2002-02-19 Duncan Mak <duncan@ximian.com>
201 * SurrogateSelector.cs: Implemented.
203 * SerializationInfoEnumerator.cs: oh, and simplified the Current
206 * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
208 2002-02-18 Duncan Mak <duncan@ximian.com>
210 * SerializationInfo.cs: Converted Type.GetType calls to the faster
213 2002-02-16 Duncan Mak <duncan@ximian.com>
215 * SurrogateSelector.cs: Stubbed out. Gonna be working on this
218 2002-02-15 Duncan Mak <duncan@ximian.com>
220 * SerializationEntry.cs: Added internal constructor for writing
221 bits in SerializationInfoEnumerator.
222 * SerializationInfo.cs: Completed.
223 * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
224 Hashtable's GetEnumerator method.
226 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
228 * SerializationInfoEnumerator.cs: New file (stub)
230 2002-02-12 Duncan Mak <duncan@ximian.com>
232 * SerializationBinder.cs: Implemented.
233 * SerializationEntry.cs: Implemented.
234 * SerializationInfo.cs: Fixed the get portion of the AssemblyName
235 property. Implemented the FullTypename property.
237 2002-01-06 David Dawkins <david@dawkins.st>
239 * IFormatter.cs : New file
240 * ISerializationSurrogate.cs : New file
241 * ISurrogateSelector.cs : New file
243 2002-05-01 Ravi Pratap <ravi@ximian.com>
245 * SerializationInfo.cs : Insert MonoTODO attribute.
247 2001-08-24 Nick Drochak <ndrochak@gol.com>
249 * IDeserializationCallback.cs: New File
251 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
253 * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
255 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
257 * SerializationException.cs: implemented.
259 2001-08-24 Nick Drochak <ndrochak@gol.com>
261 * SerializationInfo.cs: Added all the public methods so that the compile would not break
263 2001-07-20 Miguel de Icaza <miguel@ximian.com>
265 * SerializationInfo.cs: New file.
267 * IFormatterConverter.cs: New file.
269 * ISerializable.cs: New file.