2005-12-15 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / ChangeLog
1 2005-12-15  Martin Baulig  <martin@ximian.com>
2
3         * ObjectManager.cs: When deserializing an object that has a
4         surrogate, actually check the return value of
5         ISerializationSurrogate.SetObjectData(); fixes #76931.
6
7 2005-10-03  Lluis Sanchez Gual  <lluis@novell.com>
8
9         * ObjectIDGenerator.cs: Use custom comparer instead of an instance
10         wrapper. Closes bug #76017.
11
12 2005-06-13  Lluis Sanchez Gual  <lluis@novell.com>
13
14         * Formatter.cs: Properly initialize protected fields. Fixes bug #75233. 
15
16 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
17
18         * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
19         since GetType() may not return the correct type if the object is
20         a remoting proxy.
21
22 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
23
24         * FormatterServices.cs: In GetSerializableMembers, private fields
25         from base classes must include the class name in the field name.
26         In this case, it now creates a clone of the field with the
27         modified name. This patch together with r44260 fixes bug #74760.
28
29 2004-12-09  Lluis Sanchez Gual  <lluis@ximian.com>
30
31         * ObjectManager.cs: When deserializing an object that implements
32         ISerializable, check if a surrogate     exists for that object, before
33         trying to deserialize it as ISerializable. This fixes bug #70104.
34
35 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
36
37         * ObjectIDGenerator.cs: added TODO for serialization
38
39 2004-06-09  Duncan Mak  <duncan@ximian.com>
40
41         * ObjectManager.cs (RegisterObject): Add checks for
42         ArgumentNullException as well.
43
44 2004-06-09  Duncan Mak  <duncan@ximian.com>
45
46         * SerializationInfoEnumerator.cs: Instead of using
47         IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
48         from the newly added ArrayList in SerializationInfo.
49
50         * SerializationInfo.cs: Added an extra ArrayList so that we can
51         keep the SerializationEntrys added in the order.
52         (SerializationInfo, AddValue): Throw ArgumentNullException
53         correctly.
54
55
56 2004-06-08  Duncan Mak  <duncan@ximian.com>
57
58         * ObjectManager.cs (RegisterObject): Throw
59         ArgumentOutOfRangeException if the objectID parameter is less than
60         or equal to zero. This check was missing from this particular
61         overload.
62
63 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
64
65         * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
66
67 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
68
69         * FormatterServices.cs: Added CheckTypeSecurity() and
70           GetSafeUninitializedObject().
71
72 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
73
74         * ObjectManager.cs: Fixed header, internalized enum
75         * Formatter.cs: Implemented
76
77 2003-11-11  Lluis Sanchez Gual  <lluis@ximian.com>
78
79         * FormatterServices.cs: Fixed some comments.
80
81 2003-10-21  Lluis Sanchez Gual  <lluis@ximian.com>
82
83         * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
84           of IsSubclass, since the type can be an interface.
85
86 2003-10-18  Lluis Sanchez Gual  <lluis@ximian.com>
87
88         * FormatterServices.cs: In GetUninitializedObject methdod, reuse
89         ActivationServices.AllocateUninitializedClassInstance, it does the same.
90
91 2003-07-28  Duncan Mak  <duncan@ximian.com>
92
93         * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
94
95 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * FormatterServices.cs:
98         (GetSerializableMembers): check that all base types are serializable
99         when getting their fields. Fixes bug #46875.
100
101 2003-07-17  Lluis Sanchez Gual  <lluis@ximian.com>
102
103         * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
104           number of calls to GetType(). (Patch by Paolo).
105           Also added a NextId property that returns a new Id without registering
106           an object.
107
108 2003-06-26  Lluis Sanchez Gual  <lluis@ximian.com>
109
110         * SerializationInfo.cs: Fixed bug #44955
111
112 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
113
114         * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
115
116 2003-02-18  Lluis Sanchez Gual  <lluis@ideary.com>
117
118         * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
119           not correctly updated by the final fixup.
120
121 2003-01-27  Lluis Sanchez Gual  <lluis@ideary.com>
122
123         * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
124
125 2003-01-24  Martin Baulig  <martin@ximian.com>
126
127         * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
128         list in the correct order.
129
130 2003-01-16  Lluis Sanchez Gual  <lluis@ideary.com>
131
132         * ObjectManager.cs: Implemented and added file
133         * SurrogateSelector.cs: completed implementation.
134         * SerializationInfo.cs: corrected a bug in GetValue method.
135         * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
136           id for two different instances that return true when calling Equal.
137
138 2002-12-06  Duncan Mak  <duncan@ximian.com>
139
140         * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
141
142 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
143
144         * FormatterServices.cs: implemented GetUninitializedObject.
145         PopulateObjectMembers needs a working FieldInfo.SetValue (it's
146         not implemented right now).
147
148 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
149
150         * FormatterServices.cs:a implemented GetSerializableMembers ().
151
152 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * FormatterServices.cs: New file with some implementation.
155
156 2002-08-16  Dietmar Maurer  <dietmar@ximian.com>
157
158         * SerializationInfo.cs: special case for null values.
159         use the converter everywhere.
160
161 2002-08-14  Dietmar Maurer  <dietmar@ximian.com>
162
163         * SerializationInfo.cs: added new function to support the runtime
164
165 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
166
167         * Formatter.cs: added namespace.
168
169 2002-06-10  Duncan Mak  <duncan@ximian.com>
170
171         * Formatter.cs: Addd to CVS.
172
173         * FormatterConverter.cs: Added to CVS.
174
175         * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
176
177 2002-04-12  Duncan Mak  <duncan@ximian.com>
178
179         * SerializationException.cs: Added missing constructor for serialization.
180
181 2002-03-12  Duncan Mak  <duncan@ximian.com>
182
183         * IFormatter.cs: Fix the return type of the Serialize method.
184
185 2002/03/07  Nick Drochak <ndrochak@gol.com>
186
187         * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
188         adjust All value accordingly.
189
190 2002-03-01  Duncan Mak  <duncan@ximian.com>
191
192         * ObjectIDGenerator.cs: Implemented.
193
194 2002-02-19  Duncan Mak  <duncan@ximian.com>
195
196         * SurrogateSelector.cs: Implemented.    
197
198         * SerializationInfoEnumerator.cs: oh, and simplified the Current
199         property too.
200         
201         * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
202
203 2002-02-18  Duncan Mak  <duncan@ximian.com>
204
205         * SerializationInfo.cs: Converted Type.GetType calls to the faster
206         typeof operator.
207
208 2002-02-16  Duncan Mak  <duncan@ximian.com>
209
210         * SurrogateSelector.cs: Stubbed out. Gonna be working on this
211         tomorrow.
212
213 2002-02-15  Duncan Mak  <duncan@ximian.com>
214
215         * SerializationEntry.cs: Added internal constructor for writing
216         bits in SerializationInfoEnumerator.
217         * SerializationInfo.cs: Completed.
218         * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
219         Hashtable's GetEnumerator method.
220
221 2002-02-13  Dan Lewis <dihlewis@yahoo.co.uk>
222
223         * SerializationInfoEnumerator.cs: New file (stub)
224
225 2002-02-12  Duncan Mak  <duncan@ximian.com>
226         
227         * SerializationBinder.cs: Implemented.
228         * SerializationEntry.cs: Implemented.
229         * SerializationInfo.cs: Fixed the get portion of the AssemblyName
230         property. Implemented the FullTypename property.
231         
232 2002-01-06  David Dawkins <david@dawkins.st>
233
234         * IFormatter.cs : New file
235         * ISerializationSurrogate.cs : New file
236         * ISurrogateSelector.cs : New file
237
238 2002-05-01  Ravi Pratap  <ravi@ximian.com>
239
240         * SerializationInfo.cs : Insert MonoTODO attribute.
241
242 2001-08-24  Nick Drochak  <ndrochak@gol.com>
243
244         * IDeserializationCallback.cs: New File
245
246 Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>
247
248         * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
249
250 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <lupus@ximian.com>
251
252         * SerializationException.cs: implemented.
253
254 2001-08-24  Nick Drochak  <ndrochak@gol.com>
255
256         * SerializationInfo.cs: Added all the public methods so that the compile would not break
257
258 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
259
260         * SerializationInfo.cs: New file.
261
262         * IFormatterConverter.cs: New file.
263
264         * ISerializable.cs: New file.