ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. 2010-06-03 Jb Evain <[email protected]>
  2. * SafeSerializationEventArgs.cs: add new type in net_4_0.
  3. 2010-06-03 Jb Evain <[email protected]>
  4. * ISafeSerializationData.cs: add new interface in net_4_0.
  5. 2008-05-22 Miguel de Icaza <[email protected]>
  6. * SerializationCallbacks.cs: This lock has a high contention rate
  7. on ASP.NET web sites, with multiple cores we end up spending a lot
  8. of time on this check.
  9. Rewrite this code to have two code paths since we know that the
  10. cache is append-only.
  11. 2008-04-02 Andreas Nahr <[email protected]>
  12. * IFormatterConverter.cs
  13. * SerializationException.cs
  14. * StreamingContext.cs: Fix parameter names
  15. 2006-12-18 Lluis Sanchez Gual <[email protected]>
  16. * FormatterServices.cs: In GetFields, avoid creating a field
  17. clone in some cases where it's not really necessary.
  18. 2006-11-13 Jensen Somers <[email protected]>
  19. * Fixed the Serializable attribute in OnDeserializedAttribute,
  20. OnDeserializingAttribute, OnSerializedAttribute and
  21. OnSerializingAttribute.
  22. 2006-11-13 Jensen Somers <[email protected]>
  23. * Removed [Serializable] from OnDeserializedAttribute,
  24. OnDeserializingAttribute, OnSerializedAttribute,
  25. OnSerializingAttribute.
  26. 2006-11-10 Jensen Somers <[email protected]>
  27. * Added ComVisibleAttribute in the ISerializable,
  28. ISerializationSurrogate and ISurrogateSelector interface.
  29. * Added the sealed keyword to the OnDeserializedAttribute,
  30. OnDeserializingAttribute, OnSerializedAttribute,
  31. OnSerializingAttribute and OptionalFieldAttribute class.
  32. 2006-10-30 Robert Jordan <[email protected]>
  33. * Apply ComVisibleAttribute.
  34. 2006-10-29 Robert Jordan <[email protected]>
  35. * ObjectManager.cs: Add NET_2_0 serialization callbacks.
  36. 2006-10-29 Robert Jordan <[email protected]>
  37. * SerializationObjectManager.cs,
  38. SerializationCallbacks.cs: Add support for NET_2_0 serialization
  39. events. See bug #78594.
  40. 2006-08-06 Lluis Sanchez Gual <[email protected]>
  41. * ObjectManager.cs: Add support for nested IObjectReference.
  42. Fixes bug #78749.
  43. 2006-07-31 Sebastien Pouliot <[email protected]>
  44. * ObjectIDGenerator.cs: Fix ArgumentNullException parameter.
  45. 2006-06-04 Miguel de Icaza <[email protected]>
  46. * OptionalFieldAttribute.cs, OnSerializedAttribute.cs,
  47. OnSerializingAttribute.cs, OnDeserializedAttribute.cs,
  48. OnDeserializingAttribute.cs: Added a few attributes for the
  49. version tolerant serialization.
  50. 2006-01-04 Raja R Harinath <[email protected]>
  51. * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
  52. introduced in previous patch. See the re-opened bug #76931.
  53. 2005-12-15 Martin Baulig <[email protected]>
  54. * ObjectManager.cs: When deserializing an object that has a
  55. surrogate, actually check the return value of
  56. ISerializationSurrogate.SetObjectData(); fixes #76931.
  57. 2005-10-03 Lluis Sanchez Gual <[email protected]>
  58. * ObjectIDGenerator.cs: Use custom comparer instead of an instance
  59. wrapper. Closes bug #76017.
  60. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  61. * Formatter.cs: Properly initialize protected fields. Fixes bug #75233.
  62. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  63. * SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
  64. since GetType() may not return the correct type if the object is
  65. a remoting proxy.
  66. 2005-05-09 Lluis Sanchez Gual <[email protected]>
  67. * FormatterServices.cs: In GetSerializableMembers, private fields
  68. from base classes must include the class name in the field name.
  69. In this case, it now creates a clone of the field with the
  70. modified name. This patch together with r44260 fixes bug #74760.
  71. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  72. * ObjectManager.cs: When deserializing an object that implements
  73. ISerializable, check if a surrogate exists for that object, before
  74. trying to deserialize it as ISerializable. This fixes bug #70104.
  75. 2004-06-15 Gert Driesen <[email protected]>
  76. * ObjectIDGenerator.cs: added TODO for serialization
  77. 2004-06-09 Duncan Mak <[email protected]>
  78. * ObjectManager.cs (RegisterObject): Add checks for
  79. ArgumentNullException as well.
  80. 2004-06-09 Duncan Mak <[email protected]>
  81. * SerializationInfoEnumerator.cs: Instead of using
  82. IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
  83. from the newly added ArrayList in SerializationInfo.
  84. * SerializationInfo.cs: Added an extra ArrayList so that we can
  85. keep the SerializationEntrys added in the order.
  86. (SerializationInfo, AddValue): Throw ArgumentNullException
  87. correctly.
  88. 2004-06-08 Duncan Mak <[email protected]>
  89. * ObjectManager.cs (RegisterObject): Throw
  90. ArgumentOutOfRangeException if the objectID parameter is less than
  91. or equal to zero. This check was missing from this particular
  92. overload.
  93. 2004-05-14 Marek Safar <[email protected]>
  94. * SerializationInfo.cs: Removed useless [CLSCompliant (false)]
  95. 2003-11-21 Andreas Nahr <[email protected]>
  96. * FormatterServices.cs: Added CheckTypeSecurity() and
  97. GetSafeUninitializedObject().
  98. 2003-11-18 Andreas Nahr <[email protected]>
  99. * ObjectManager.cs: Fixed header, internalized enum
  100. * Formatter.cs: Implemented
  101. 2003-11-11 Lluis Sanchez Gual <[email protected]>
  102. * FormatterServices.cs: Fixed some comments.
  103. 2003-10-21 Lluis Sanchez Gual <[email protected]>
  104. * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
  105. of IsSubclass, since the type can be an interface.
  106. 2003-10-18 Lluis Sanchez Gual <[email protected]>
  107. * FormatterServices.cs: In GetUninitializedObject methdod, reuse
  108. ActivationServices.AllocateUninitializedClassInstance, it does the same.
  109. 2003-07-28 Duncan Mak <[email protected]>
  110. * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
  111. 2003-07-26 Gonzalo Paniagua Javier <[email protected]>
  112. * FormatterServices.cs:
  113. (GetSerializableMembers): check that all base types are serializable
  114. when getting their fields. Fixes bug #46875.
  115. 2003-07-17 Lluis Sanchez Gual <[email protected]>
  116. * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
  117. number of calls to GetType(). (Patch by Paolo).
  118. Also added a NextId property that returns a new Id without registering
  119. an object.
  120. 2003-06-26 Lluis Sanchez Gual <[email protected]>
  121. * SerializationInfo.cs: Fixed bug #44955
  122. 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
  123. * FormatterServices.cs: patch from Jean Marc that fixes bug #42742.
  124. 2003-02-18 Lluis Sanchez Gual <[email protected]>
  125. * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
  126. not correctly updated by the final fixup.
  127. 2003-01-27 Lluis Sanchez Gual <[email protected]>
  128. * ObjectManager.cs: Corrected a problem with IObjectReferece objects.
  129. 2003-01-24 Martin Baulig <[email protected]>
  130. * ObjectManager.cs (RaiseDeserializationEvent): Walk the object
  131. list in the correct order.
  132. 2003-01-16 Lluis Sanchez Gual <[email protected]>
  133. * ObjectManager.cs: Implemented and added file
  134. * SurrogateSelector.cs: completed implementation.
  135. * SerializationInfo.cs: corrected a bug in GetValue method.
  136. * ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
  137. id for two different instances that return true when calling Equal.
  138. 2002-12-06 Duncan Mak <[email protected]>
  139. * Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
  140. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  141. * FormatterServices.cs: implemented GetUninitializedObject.
  142. PopulateObjectMembers needs a working FieldInfo.SetValue (it's
  143. not implemented right now).
  144. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  145. * FormatterServices.cs:a implemented GetSerializableMembers ().
  146. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  147. * FormatterServices.cs: New file with some implementation.
  148. 2002-08-16 Dietmar Maurer <[email protected]>
  149. * SerializationInfo.cs: special case for null values.
  150. use the converter everywhere.
  151. 2002-08-14 Dietmar Maurer <[email protected]>
  152. * SerializationInfo.cs: added new function to support the runtime
  153. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  154. * Formatter.cs: added namespace.
  155. 2002-06-10 Duncan Mak <[email protected]>
  156. * Formatter.cs: Addd to CVS.
  157. * FormatterConverter.cs: Added to CVS.
  158. * SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
  159. 2002-04-12 Duncan Mak <[email protected]>
  160. * SerializationException.cs: Added missing constructor for serialization.
  161. 2002-03-12 Duncan Mak <[email protected]>
  162. * IFormatter.cs: Fix the return type of the Serialize method.
  163. 2002/03/07 Nick Drochak <[email protected]>
  164. * StreamingContextStates.cs: Add missing value (CrossAppDomain) and
  165. adjust All value accordingly.
  166. 2002-03-01 Duncan Mak <[email protected]>
  167. * ObjectIDGenerator.cs: Implemented.
  168. 2002-02-19 Duncan Mak <[email protected]>
  169. * SurrogateSelector.cs: Implemented.
  170. * SerializationInfoEnumerator.cs: oh, and simplified the Current
  171. property too.
  172. * SerializationInfo.cs: Forgot to finish up GetEnumerator ().
  173. 2002-02-18 Duncan Mak <[email protected]>
  174. * SerializationInfo.cs: Converted Type.GetType calls to the faster
  175. typeof operator.
  176. 2002-02-16 Duncan Mak <[email protected]>
  177. * SurrogateSelector.cs: Stubbed out. Gonna be working on this
  178. tomorrow.
  179. 2002-02-15 Duncan Mak <[email protected]>
  180. * SerializationEntry.cs: Added internal constructor for writing
  181. bits in SerializationInfoEnumerator.
  182. * SerializationInfo.cs: Completed.
  183. * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
  184. Hashtable's GetEnumerator method.
  185. 2002-02-13 Dan Lewis <[email protected]>
  186. * SerializationInfoEnumerator.cs: New file (stub)
  187. 2002-02-12 Duncan Mak <[email protected]>
  188. * SerializationBinder.cs: Implemented.
  189. * SerializationEntry.cs: Implemented.
  190. * SerializationInfo.cs: Fixed the get portion of the AssemblyName
  191. property. Implemented the FullTypename property.
  192. 2002-01-06 David Dawkins <[email protected]>
  193. * IFormatter.cs : New file
  194. * ISerializationSurrogate.cs : New file
  195. * ISurrogateSelector.cs : New file
  196. 2002-05-01 Ravi Pratap <[email protected]>
  197. * SerializationInfo.cs : Insert MonoTODO attribute.
  198. 2001-08-24 Nick Drochak <[email protected]>
  199. * IDeserializationCallback.cs: New File
  200. Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected]>
  201. * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
  202. Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <[email protected]>
  203. * SerializationException.cs: implemented.
  204. 2001-08-24 Nick Drochak <[email protected]>
  205. * SerializationInfo.cs: Added all the public methods so that the compile would not break
  206. 2001-07-20 Miguel de Icaza <[email protected]>
  207. * SerializationInfo.cs: New file.
  208. * IFormatterConverter.cs: New file.
  209. * ISerializable.cs: New file.