1 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
3 * Formatter.cs: Properly initialize protected fields. Fixes bug #75233.
5 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7 * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
8 since GetType() may not return the correct type if the object is
11 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
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.
18 2004-12-09 Lluis Sanchez Gual <lluis@ximian.com>
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.
24 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
26 * ObjectIDGenerator.cs: added TODO for serialization
28 2004-06-09 Duncan Mak <duncan@ximian.com>
30 * ObjectManager.cs (RegisterObject): Add checks for
31 ArgumentNullException as well.
33 2004-06-09 Duncan Mak <duncan@ximian.com>
35 * SerializationInfoEnumerator.cs: Instead of using
36 IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
37 from the newly added ArrayList in SerializationInfo.
39 * SerializationInfo.cs: Added an extra ArrayList so that we can
40 keep the SerializationEntrys added in the order.
41 (SerializationInfo, AddValue): Throw ArgumentNullException
45 2004-06-08 Duncan Mak <duncan@ximian.com>
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
52 2004-05-14 Marek Safar <marek.safar@seznam.cz>
54 * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
56 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
58 * FormatterServices.cs: Added CheckTypeSecurity() and
59 GetSafeUninitializedObject().
61 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
63 * ObjectManager.cs: Fixed header, internalized enum
64 * Formatter.cs: Implemented
66 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
68 * FormatterServices.cs: Fixed some comments.
70 2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
72 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
73 of IsSubclass, since the type can be an interface.
75 2003-10-18 Lluis Sanchez Gual <lluis@ximian.com>
77 * FormatterServices.cs: In GetUninitializedObject methdod, reuse
78 ActivationServices.AllocateUninitializedClassInstance, it does the same.
80 2003-07-28 Duncan Mak <duncan@ximian.com>
82 * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
84 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86 * FormatterServices.cs:
87 (GetSerializableMembers): check that all base types are serializable
88 when getting their fields. Fixes bug #46875.
90 2003-07-17 Lluis Sanchez Gual <lluis@ximian.com>
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
97 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
99 * SerializationInfo.cs: Fixed bug #44955
101 2003-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
105 2003-02-18 Lluis Sanchez Gual <lluis@ideary.com>
107 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
108 not correctly updated by the final fixup.
110 2003-01-27 Lluis Sanchez Gual <lluis@ideary.com>
112 * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
114 2003-01-24 Martin Baulig <martin@ximian.com>
116 * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
117 list in the correct order.
119 2003-01-16 Lluis Sanchez Gual <lluis@ideary.com>
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.
127 2002-12-06 Duncan Mak <duncan@ximian.com>
129 * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
131 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * FormatterServices.cs: implemented GetUninitializedObject.
134 PopulateObjectMembers needs a working FieldInfo.SetValue (it's
135 not implemented right now).
137 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * FormatterServices.cs:a implemented GetSerializableMembers ().
141 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * FormatterServices.cs: New file with some implementation.
145 2002-08-16 Dietmar Maurer <dietmar@ximian.com>
147 * SerializationInfo.cs: special case for null values.
148 use the converter everywhere.
150 2002-08-14 Dietmar Maurer <dietmar@ximian.com>
152 * SerializationInfo.cs: added new function to support the runtime
154 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * Formatter.cs: added namespace.
158 2002-06-10 Duncan Mak <duncan@ximian.com>
160 * Formatter.cs: Addd to CVS.
162 * FormatterConverter.cs: Added to CVS.
164 * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
166 2002-04-12 Duncan Mak <duncan@ximian.com>
168 * SerializationException.cs: Added missing constructor for serialization.
170 2002-03-12 Duncan Mak <duncan@ximian.com>
172 * IFormatter.cs: Fix the return type of the Serialize method.
174 2002/03/07 Nick Drochak <ndrochak@gol.com>
176 * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
177 adjust All value accordingly.
179 2002-03-01 Duncan Mak <duncan@ximian.com>
181 * ObjectIDGenerator.cs: Implemented.
183 2002-02-19 Duncan Mak <duncan@ximian.com>
185 * SurrogateSelector.cs: Implemented.
187 * SerializationInfoEnumerator.cs: oh, and simplified the Current
190 * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
192 2002-02-18 Duncan Mak <duncan@ximian.com>
194 * SerializationInfo.cs: Converted Type.GetType calls to the faster
197 2002-02-16 Duncan Mak <duncan@ximian.com>
199 * SurrogateSelector.cs: Stubbed out. Gonna be working on this
202 2002-02-15 Duncan Mak <duncan@ximian.com>
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.
210 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
212 * SerializationInfoEnumerator.cs: New file (stub)
214 2002-02-12 Duncan Mak <duncan@ximian.com>
216 * SerializationBinder.cs: Implemented.
217 * SerializationEntry.cs: Implemented.
218 * SerializationInfo.cs: Fixed the get portion of the AssemblyName
219 property. Implemented the FullTypename property.
221 2002-01-06 David Dawkins <david@dawkins.st>
223 * IFormatter.cs : New file
224 * ISerializationSurrogate.cs : New file
225 * ISurrogateSelector.cs : New file
227 2002-05-01 Ravi Pratap <ravi@ximian.com>
229 * SerializationInfo.cs : Insert MonoTODO attribute.
231 2001-08-24 Nick Drochak <ndrochak@gol.com>
233 * IDeserializationCallback.cs: New File
235 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
237 * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
239 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
241 * SerializationException.cs: implemented.
243 2001-08-24 Nick Drochak <ndrochak@gol.com>
245 * SerializationInfo.cs: Added all the public methods so that the compile would not break
247 2001-07-20 Miguel de Icaza <miguel@ximian.com>
249 * SerializationInfo.cs: New file.
251 * IFormatterConverter.cs: New file.
253 * ISerializable.cs: New file.