ChangeLog 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. 2005-05-26 Ben Maurer <[email protected]>
  2. * CodeGenerator.cs: Move module creation to cctor to kill double
  3. checked locking and typeof locking.
  4. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  5. * CodeGenerator.cs: Don't generate debug info here.
  6. 2005-05-09 Lluis Sanchez Gual <[email protected]>
  7. * ObjectWriter.cs:
  8. * CodeGenerator.cs: No need to add the class for inherited fields,
  9. since FieldInfo objects returned by the GetSerializableMembers
  10. method will already include the class name if needed.
  11. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  12. * BinaryCommon.cs: Added helper method for swapping bytes.
  13. * ObjectReader.cs:
  14. * ObjectWriter.cs: Implemented serialization of arrays of primitive
  15. types using Buffer.BlockCopy to create byffers of data that is written/
  16. read in a single call. It's much faster now.
  17. 2005-03-01 Lluis Sanchez Gual <[email protected]>
  18. * BinaryCommon.cs: Found the meaning of two unknown binary elements.
  19. * CodeGenerator.cs: Derive generated classes from ClrTypeMetadata
  20. instead of TypeMetadata. Added writeTypes parameter to WriteTypeData().
  21. * ObjectWriter.cs: Use type and assembly names as keys for the type and
  22. assembly caches. This is needed since ISerializable types can provide
  23. fake type names (which are mapped to real types by a binder on
  24. deserialization).
  25. Implemented support for BinaryFormatter.TypeFormat.
  26. * BinaryFormatter.cs, MessageFormatter.cs: Implemented support for
  27. TypeFormat property.
  28. * ObjectReader.cs: Added support for objects serialized without
  29. member type information. This fixes bug #73114.
  30. If a binder return null, use the default way of loading the type.
  31. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  32. * ObjectReader.cs: In ReadArrayOfPrimitiveType, added a specific
  33. read loop for each type. It's much faster and avoids value boxings.
  34. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  35. * BinaryCommon.cs: IntPtr is not a primitive type in the serialization
  36. world. This fixes bug #70757.
  37. 2004-12-15 Lluis Sanchez Gual <[email protected]>
  38. * ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
  39. be serialized, so it makes no sense to use GetMembers.
  40. 2004-12-08 Zoltan Varga <[email protected]>
  41. * CodeGenerator.cs: Call new DefineInternalDynamicAssembly method to prevent a race
  42. condition in the setting of the CorlibInternal flag.
  43. 2004-12-06 Zoltan Varga <[email protected]>
  44. * CodeGenerator.cs: Mark the created assembly builder as internal.
  45. 2004-11-29 Lluis Sanchez Gual <[email protected]>
  46. * CodeGenerator.cs: Addded EnumToUnderlying method to get the underlying
  47. type of an enum. This fixes bug #69753.
  48. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  49. * BinaryCommon.cs: Added CheckSerializable method.
  50. * ObjectWriter.cs: Check for type serializability even for members with
  51. null values.
  52. 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
  53. * ObjectWriter.cs: reduce contention in GetObjectData.
  54. 2004-05-14 Vladimir Vukicevic <[email protected]>
  55. * binary_serialization_format.htm: renamed filename from having
  56. spaces to _'s (checked with lluis)
  57. 2004-05-13 Lluis Sanchez Gual <[email protected]>
  58. * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and
  59. WriteSingleDimensionArrayElements. This also fixes bug #58345.
  60. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  61. * MessageFormatter.cs: In the all-are-primitive case, serialize Args,
  62. not OutArgs.
  63. 2004-04-28 Lluis Sanchez Gual <[email protected]>
  64. * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
  65. 2004-04-26 Lluis Sanchez Gual <[email protected]>
  66. * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
  67. 2004-04-20 Lluis Sanchez Gual <[email protected]>
  68. * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
  69. as strings, like in MS.NET. This fixes bug #57186.
  70. 2004-02-23 Lluis Sanchez Gual <[email protected]>
  71. * BinaryCommon.cs: Added UseReflectionSerialization property.
  72. * CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an
  73. inherited field, prefix the name with the class name. This fixes #54439.
  74. Moved check for reflection serialization variable to BinaryCommon.
  75. 2004-02-17 Lluis Sanchez Gual <[email protected]>
  76. * ObjectWriter.cs: Factorized some serialization code in new classes, so it
  77. is now possible to use fast IL generated classes that use direct access
  78. to class fields instead of using reflection.
  79. * CodeGenerator.cs: New file. Has several methods used by ObjectWriter to
  80. generate serialization code.
  81. 2004-02-05 Lluis Sanchez Gual <[email protected]>
  82. * ObjectWriter.cs: Get the assembly of a member from the member's type, not
  83. from the type of the value, because that is the type written in the
  84. metadata section of the object.
  85. 2003-12-23 Lluis Sanchez Gual <[email protected]>
  86. * ObjectReader.cs: Field names can include the type name if the field
  87. belongs to a base type. Take this into account.
  88. 2003-11-26 Lluis Sanchez Gual <[email protected]>
  89. * BinaryFormatter.cs: Added missing methods.
  90. 2003-11-20 Lluis Sanchez Gual <[email protected]>
  91. * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
  92. for TypeFilter property.
  93. 2003-11-16 Lluis Sanchez Gual <[email protected]>
  94. * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs:
  95. Implemented support for AssemblyFormat property.
  96. 2003-11-12 Lluis Sanchez Gual <[email protected]>
  97. * ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
  98. 2003-07-28 Duncan Mak <[email protected]>
  99. * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
  100. private.
  101. 2003-07-25 Lluis Sanchez Gual <[email protected]>
  102. * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
  103. including ref and out.
  104. 2003-07-24 Lluis Sanchez Gual <[email protected]>
  105. * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
  106. 2003-07-17 Lluis Sanchez Gual <[email protected]>
  107. * ObjectReader.cs: Keep MemberInfo members in type's metadata object, so it is
  108. not necessary to query them for every object.
  109. * ObjectWriter.cs: If the value being serialized is a value type (not boxed)
  110. then there is no need to register it in the ObjectIDGenerator, because it is
  111. not possible to have two references to the same value type object.
  112. 2003-05-13 Lluis Sanchez Gual <[email protected]>
  113. * ObjectReader.cs: Changed signature of ReadObjectGraph, so now it returns the
  114. deserialized object and the headers.
  115. * MessageFormatter.cs: The result of the call to the HeaderHandler delegate is
  116. now interpreted as the uri of the target object. This seems to be MS.NET
  117. behavior.
  118. * BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
  119. if provided.
  120. 2003-02-25 Lluis Sanchez Gual <[email protected]>
  121. * BinaryFormatter.cs: Implemented support for binders.
  122. * MessageFormatter.cs: Implemented support for binders.
  123. * ObjectReader.cs: Implemented support for binders.
  124. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  125. * MessageFormatter.cs: Fixed bug in serialization of arguments.
  126. * ObjectReader.cs: Fixed bug causing array of structs to fail.
  127. 2003-02-11 Patrik Torstensson
  128. * ObjectReader.cs: Fixed root object bug causing object reader to return root object
  129. before fixup. Closes bug #37842.
  130. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  131. * MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
  132. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  133. * MessageFormatter.cs: Implemented serialization of message properties.
  134. 2003-01-24 Martin Baulig <[email protected]>
  135. * ObjectReader.cs (ReadNextObject): Call
  136. RaiseDeserializationEvent() on the ObjectManager when we're done
  137. reading the whole graph.
  138. 2003-01-24 Lluis Sanchez Gual <[email protected]>
  139. * ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
  140. Corrected encoding of primitive types. Corrected a bug about zero-length arrays.
  141. * MessageFormatter.cs: Added. Implements serialization of messages.
  142. * BinaryFormatter.cs: Added serialization of messages.
  143. * BinaryCommon.cs: Added enum of codes of primitive types.
  144. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  145. * ObjectWriter.cs: make the exception message more useful.
  146. 2003-01-16 Lluis Sanchez Gual <[email protected]>
  147. * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
  148. * ObjectReader.cs: added.
  149. * ObjectWriter.cs: added.
  150. * BinaryCommon.cs. added.
  151. 2002-08-22 Nick Drochak <[email protected]>
  152. * BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
  153. from beta days)
  154. 2002-08-18 Dick Porter <[email protected]>
  155. * BinaryFormatter.cs: Stubbed out