ChangeLog 17 KB

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