ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  2. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  3. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  4. array if the namespace is not specified in XmlArrayItemAttribute.
  5. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  6. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  7. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  8. is not specified in the xsi attribute.
  9. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  10. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  11. 2003-06-16 Atsushi Enomoto <[email protected]>
  12. * XmlSerializationReader.cs : Synchronous fix with
  13. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  14. * added XmlTypeMapMemberNamespace.cs.
  15. * XmlReflectionImporter,
  16. XmlSerializationReaderInterpreter.cs,
  17. XmlSerializationWriterInterpreter.cs,
  18. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  19. 2003-06-16 Atsushi Enomoto <[email protected]>
  20. * XmlSerializationWriter.cs : some QName handling fix.
  21. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  22. * XmlSerializationReader.cs: Fixed error message.
  23. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  24. Thanks to Atsushi!
  25. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  26. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  27. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  28. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  29. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  30. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  31. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  32. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  33. * SoapReflectionImporter.cs: tiny fix.
  34. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  35. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  36. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  37. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  38. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  39. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  40. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  41. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  42. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  43. * XmlSerializationWriter.cs: small fix.
  44. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  45. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  46. Added support for DefaultValueAttribute.
  47. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  48. the value of an enum.
  49. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  50. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  51. integer values.
  52. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  53. * XmlSerializationReader.cs: Minor fix.
  54. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  55. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  56. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  57. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  58. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  59. * XmlCustomFormatter.cs: small fixes.
  60. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  61. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  62. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  63. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  64. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  65. root elements.
  66. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  67. * SoapReflectionImporter.cs: implemented.
  68. * TypeTranslator.cs: added IsPrimitive() method
  69. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  70. used by that one. Also added Format property, that can be literal or encoded.
  71. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  72. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  73. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  74. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  75. * XmlSerializationWriter.cs: added support for encoded format.
  76. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  77. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  78. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  79. and a map is needed for them).
  80. * XmlTypeMapMemberElement.cs: small fixes.
  81. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  82. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  83. 2003-06-01 Miguel de Icaza <[email protected]>
  84. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  85. UnknownElement): Add line number information.
  86. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  87. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  88. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  89. * XmlMapping.cs: Added internal property.
  90. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  91. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  92. * XmlReflectionMember.cs: XmlAttributes are now created by default
  93. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  94. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  95. Implemented support for XmlMembersMapping.
  96. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  97. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  98. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  99. from xml type to clr type.
  100. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  101. * XmlReflectionMember.cs: Added default constructor.
  102. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  103. * XmlSerializationWriter.cs: Several fixes.
  104. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  105. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  106. Added support for enums. Added support for XmlElement and XmlNode.
  107. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  108. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  109. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  110. * XmlCustomFormatter.cs: Added formatting methods.
  111. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  112. * XmlReflectionMember.cs: Added new constructor.
  113. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  114. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  115. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  116. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  117. 2003-05-10 Atsushi Enomoto <[email protected]>
  118. * Added TypeTableEntry.cs.
  119. * TypeTranslator.cs : changed for non-static use.
  120. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  121. and GetElementName(). Bugfix so that if any XmlElementAttribute
  122. exists after non-typed XmlElementAttribute then it might be ignored.
  123. Added GetElementIsNullable().
  124. * XmlSerializer.cs :
  125. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  126. Object memberObj[4].
  127. Deserialize() now uses XmlReader.Depth to check its depth.
  128. Serialize() for non-XmlReader arguments now always write xmldecl.
  129. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  130. and handles XmlQualifiedName.
  131. Separated SerializeType () from Serialize().
  132. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  133. IsPropertyTypeSerializable() from SerializeMembers().
  134. SerializeMembers() is now capable of null value and actual type,
  135. which should be included by XmlIncludeAttribute and so on.
  136. Renamed SerializeArray() to SerializeArrayContent(), and added
  137. SerializeCollectionContent().
  138. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  139. FillTypeTable() is now aware of XmlInclude attributes.
  140. FillEnum() should not have different type table content from others.
  141. 2003-05-09 Atsushi Enomoto <[email protected]>
  142. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  143. 2003-05-05 Atsushi Enomoto <[email protected]>
  144. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  145. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  146. separators. Added experimental method ToEnum().
  147. * XmlSerializationReader.cs : unconfirmed implementation of
  148. ReadSerializable() and ToEnum().
  149. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  150. is null then no output will be written.
  151. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  152. to use custom formatted name.
  153. 2003-05-02 Miguel de Icaza <[email protected]>
  154. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  155. had a void return value.
  156. 2003-04-26 Miguel de Icaza <[email protected]>
  157. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  158. `AllowMultiple' flags.
  159. 2003-04-25 Atsushi Enomoto <[email protected]>
  160. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  161. * XmlReflectionImporter.cs : patch by Erik LeBel.
  162. Now uses XmlRootAttribute to determine element name.
  163. 2003-03-17 Miguel de Icaza <[email protected]>
  164. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  165. Kill Bublesort.
  166. 2003-03-22 Atsushi Enomoto <[email protected]>
  167. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  168. XmlWriter argument should call WriteEndDocument.
  169. 2003-03-19 Atsushi Enomoto <[email protected]>
  170. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  171. not WriteState.Start, and never call WriteEndDocument().
  172. 2003-03-12 Elan Feingold <[email protected]>
  173. * XmlCustomFormatter.cs: Correct signature, Implement
  174. ToByteArrayBase64
  175. * XmlSerializationWriter.cs: Fix prototype.
  176. * XmlSerializer.cs: Implements Deserialize().
  177. 2003-02-16 Atsushi Enomoto <[email protected]>
  178. * XmlSerializer.cs : serializing now works for interface member.
  179. 2003-01-26 Atsushi Enomoto <[email protected]>
  180. * XmlSerializer.cs : some fix handling xml node object more correct.
  181. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  182. * XmlSerializer.cs: Array serialization for 1D arrays works
  183. * TypeTranslator: Added for translations`
  184. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  185. * XmlCustomFormatter.cs: finished.
  186. * XmlSerializationReader.cs: implemented some more methods.
  187. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  188. * XmlSerializationReader.cs: implemented a few methods.
  189. * XmlAnyElementAttribute.cs:
  190. * XmlArrayAttribute.cs:
  191. * XmlChoiceIdentifierAttribute.cs:
  192. * XmlElementAttribute.cs:
  193. * XmlMemberMapping.cs:
  194. * XmlMembersMapping.cs: class status based fixes.
  195. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  196. * CodeIdentifiers.cs:
  197. * XmlSchemaExporter.cs:
  198. * XmlSchemaImporter.cs:
  199. * XmlSchemas.cs:
  200. * XmlSerializationWriteCallback.cs:
  201. * XmlSerializationWriter.cs:
  202. * XmlSerializer.cs:
  203. * XmlSerializerNamespaces.cs: some class status based fixed and
  204. implemented a couple of methods.
  205. * SoapSchemaExporter.cs: stubbed out.
  206. 2002-08-24 Tim Coleman <[email protected]>
  207. * SoapCodeExporter.cs:
  208. Fix return value of ExportTypeMapping.
  209. * XmlCustomFormatter.cs:
  210. Change methods to be internal instead of public.
  211. * XmlSerializationWriter.cs:
  212. Modify GetPrimitiveTypeName to build on linux.
  213. Modify GetQualifiedName to return an incrementing prefix
  214. instead of the same one all the time (still need to manage
  215. conflicts)
  216. Modify WriteElementString to only do special stuff is XsiType
  217. is not defined.
  218. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  219. an XmlQualifiedName.
  220. 2002-08-22 Tim Coleman <[email protected]>
  221. * XmlSerializationReader.cs:
  222. Some implementation
  223. * XmlSerializationWriter.cs:
  224. More implementation
  225. * XmlCustomFormatter.cs:
  226. Implemented this class.
  227. 2002-08-20 Tim Coleman <[email protected]>
  228. * XmlSerializationWriter.cs:
  229. Some implementation.
  230. 2002-08-19 Tim Coleman <[email protected]>
  231. * XmlSerializer.cs:
  232. New stubs added.
  233. * XmlSerializationWriter.cs:
  234. New stubs added.
  235. 2002-08-14 Tim Coleman <[email protected]>
  236. * XmlSerializer.cs:
  237. More reformatting of source code so I can
  238. better understand what it does.
  239. 2002-08-06 Tim Coleman <[email protected]>
  240. * XmlSerializer.cs:
  241. Some reformatting of code for readability.
  242. Modify to correctly serialize ICollection objects
  243. such as the BindingCollection of a ServiceDescription
  244. for example.
  245. 2002-08-03 Tim Coleman <[email protected]>
  246. * XmlSerializer.cs:
  247. Changed Implements() to check based on name rather
  248. than FullName. FullName was never working correctly.
  249. 2002-07-26 Tim Coleman <[email protected]>
  250. * XmlSerializer.cs:
  251. The constructor now looks for an XmlRootAttribute attribute
  252. if one is not passed in. Various changes to make it emit
  253. proper XML, such as handling an element without a namespace
  254. prefix, and using WriteEndDocument where it should be.
  255. 2002-07-24 Tim Coleman <[email protected]>
  256. * CodeIdentifier.cs:
  257. * IXmlSerializable.cs:
  258. * XmlSerializationCollectionFixupCallback.cs:
  259. * XmlSerializationFixupCallback.cs:
  260. * XmlSerializationReadCallback.cs:
  261. * XmlSerializationReader.cs:
  262. * XmlSerializationWriteCallback.cs:
  263. Add new classes.
  264. * XmlSchemas.cs
  265. * CodeIdentifiers.cs:
  266. Implement some of these classes
  267. * XmlCodeExporter.cs:
  268. Fix return type of a function
  269. 2002-07-24 Tim Coleman <[email protected]>
  270. * SoapReflectionImporter.cs:
  271. New class added to build
  272. System.Web.Services.Description.ServiceDescription.cs
  273. 2002-07-22 Tim Coleman <[email protected]>
  274. * CodeIdentifiers.cs:
  275. * SoapCodeExporter.cs:
  276. * SoapSchemaExporter.cs:
  277. * XmlCodeExporter.cs:
  278. * XmlMemberMapping.cs:
  279. * XmlMembersMapping.cs:
  280. * XmlReflectionImporter.cs:
  281. * XmlReflectionMember.cs:
  282. * XmlSchemaExporter.cs:
  283. * XmlSchemaImporter.cs:
  284. * XmlSchemas.cs:
  285. New stubbs added to aid in the linux build of
  286. System.Web.Services.
  287. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  288. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  289. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  290. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  291. * XmlSeriailizer: Updated Serialize() method.
  292. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  293. * XmlSerializer: Serialize() method Partially Implemented.
  294. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  295. * Soap & XmlOverrides: Implemented using TypeMember as key with
  296. suggestions from Rafael.