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