ChangeLog 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  1. 2003-10-05 Lluis Sanchez Gual <[email protected]>
  2. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
  3. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  4. * XmlSchemaExporter.cs: Keep track of elements being exported.
  5. * XmlSchemas.cs: Removed unneeded catch.
  6. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  7. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  8. Fixed handling of members with XmlTextAttribute that are arrays.
  9. * TypeData.cs: IsComplexType now returns true for XmlNode.
  10. * XmlSerializer.cs: Added check for null mapping in FromMappings.
  11. * XmlTypeMapping.cs: Added helper method FindTextElement.
  12. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  13. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
  14. Added support for IncludeInSchema flag.
  15. * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  16. * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
  17. methods. Added support for IncludeInSchema flag.
  18. * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  19. Added support for IncludeInSchema flag.
  20. * XmlTypeAttribute.cs: Set includeInSchema to true by default.
  21. * XmlTypeMapping.cs: Added IncludeInSchema property.
  22. 2003-09-25 Lluis Sanchez Gual <[email protected]>
  23. * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
  24. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  25. * XmlCustomFormatter.cs: added support for additional string types in
  26. GenerateToXmlString().
  27. * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
  28. encoded format.
  29. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  30. * SoapSchemaImporter.cs: implemented.
  31. * XmlReflectionImporter.cs: Changed nullable default for array items to true.
  32. * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
  33. * XmlSchemaImporter.cs: more support for encoded format.
  34. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  35. * SerializationCodeGenerator.cs: Minor fixes.
  36. * SoapReflectionImporter.cs: More fixes.
  37. * SoapSchemaExporter.cs: implemented.
  38. * SoapSchemaImporter.cs: Initial implementation.
  39. * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
  40. and ParseArrayType
  41. * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
  42. * XmlMemberMapping.cs: Minor fixes.
  43. * XmlMembersMapping.cs: added some convenient constructors.
  44. * XmlSchemaExporter.cs: Added support for encoded format.
  45. * XmlSchemaImporter.cs: Added support for encoded format.
  46. * XmlSerializationReader.cs: changed some string literals by constants.
  47. Implemented ParseWsdlArrayType.
  48. * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
  49. custom attributes.
  50. * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
  51. * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
  52. WriteAttribute to write custom attributes.
  53. * XmlSerializer.cs: added some namespace constants.
  54. * XmlTypeMapping.cs: added GetSchemaArrayName method.
  55. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  56. * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
  57. * XmlTypeMapMemberElement.cs: Little fix.
  58. * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
  59. * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
  60. methods.
  61. * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
  62. Added.
  63. 2003-08-29 Lluis Sanchez Gual <[email protected]>
  64. * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  65. * XmlMemberMapping.cs: Changed constructor.
  66. * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  67. * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
  68. * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
  69. * XmlSerializationWriterInterpreter.cs: Changed visibility.
  70. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  71. * XmlSerializer.cs: Fix in Deserialize() method.
  72. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  73. * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
  74. * XmlSchemas.cs: Find method: make sure the returned object belongs to
  75. the requested type.
  76. * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  77. Add null checks for eventSource.
  78. * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
  79. * XmlSerializationWriter.cs: In Initialize method, initialize the provided
  80. namespece declarations. Virtual method WriteObject not needed any more.
  81. In WriteStartElement, write the provided namespaces.
  82. * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  83. Added GetTypeMap method, that returns the map for a given type. Added some
  84. virtual methods, so writer behavior can be extended at several places by
  85. derived classes.
  86. * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  87. methods CreateReader and CreateWriter are not called unless no type or
  88. type mapping was provided in the constructor.
  89. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  90. * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
  91. schema type it is importing is a class or an array. It will always
  92. be a class.
  93. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  94. * XmlSerializationWriterInterpreter.cs: any element members can be serialized
  95. as text nodes. Support it.
  96. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  97. * CodeIdentifier.cs: Fixed MakeValid method.
  98. * TypeTranslator.cs: Added support for more primitive types. Added
  99. GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  100. maps by default.
  101. * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  102. are different from the type ns and name.
  103. Generate class and field comments.
  104. Fixed default attribute generation. In elements with ref attribute, it has to be
  105. generated in the referred attribute.
  106. * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  107. Added suport for text nodes in members of type "any".
  108. * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  109. content.
  110. * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
  111. * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  112. that have already been declared.
  113. WriteStartElement(): elements from schema namespace are always written with ns prefix.
  114. * XmlTypeMapMember.cs: Added documentation property.
  115. * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  116. represents a simple type.
  117. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  118. * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  119. stuff.
  120. * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
  121. * TypeData.cs: Added property that returns a TypeData that represents an array of
  122. the given TypeData.
  123. * TypeTranslator.cs: Added GetArrayName() method.
  124. Added TypeDatas for missing primitive types.
  125. * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  126. XmlRootAttribute. Added the namespace to all attributes being generated.
  127. Other fixes in the generation of code.
  128. * XmlReflectionImporter: store the namespace of the type in the maps.
  129. * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  130. class can generate text. Do not export inherited attributes of a class.
  131. Use the new root namespace stored in the map when generating the root element.
  132. * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  133. namespace is the default namespace.
  134. * XmlSerializationWriterInterpreter.cs: fixed missing "else".
  135. * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  136. namespace instead of the map namespace (which can be different if the type
  137. has a XmlRoot element).
  138. * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  139. to System.DBNull.Value.
  140. * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  141. the collection if it has not yet been created.
  142. * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  143. of the type. It may be different from the namespace of the map if the type
  144. has a XmlRoot element. Also added IsSimpleType property.
  145. In ClassMap, added AllMembers property.
  146. 2003-07-30 Lluis Sanchez Gual <[email protected]>
  147. * TypeData.cs: Added new constructor and variables to allow the creation of
  148. a TypeData without a Type. Added ListItemTypeData property.
  149. * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
  150. array of arrays. Added also a property to get the nested array map.
  151. * XmlCodeExporter.cs: First implementation of code exporter.
  152. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  153. * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
  154. * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  155. they have.
  156. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  157. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
  158. maps with the same name and namespace. To avoid this, maps must be registered
  159. using the real map namespace, not the default namespace (the namespace can
  160. change if the type has a XmlType or SoapType attribute).
  161. * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
  162. * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
  163. Other small fixes.
  164. * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
  165. is null.
  166. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  167. * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
  168. * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
  169. * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
  170. * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
  171. * XmlSchemaExporter.cs: Implemented.
  172. * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
  173. * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
  174. GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
  175. * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
  176. GetStringValue() returns null if the value is null, instead of empty string.
  177. (attributes with null values are not written).
  178. * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
  179. * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
  180. DataType value can is now in TypeData.
  181. * XmlTypeMapMemberElement.cs: Small fix.
  182. * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
  183. 2003-07-14 Andreas Nahr <[email protected]>
  184. * AssemblyInfo.cs: Removed
  185. 2003-07-9 Lluis Sanchez Gual <[email protected]>
  186. * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
  187. namespace declarations if they have already been defined.
  188. 2003-07-2 Lluis Sanchez Gual <[email protected]>
  189. * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
  190. for adding elements to a list.
  191. 2003-06-31 Lluis Sanchez Gual <[email protected]>
  192. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
  193. SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
  194. A includes C).
  195. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  196. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
  197. Added support for serialization of enums with the Flags attribute.
  198. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  199. * SoapReflectionImporter.cs: Fix support for DataType in class members.
  200. * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
  201. can have other names.
  202. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
  203. * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
  204. XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  205. Fix support for DataType in class members.
  206. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
  207. Added support for array of primitive types in attributes.
  208. 2003-06-28 Lluis Sanchez Gual <[email protected]>
  209. * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
  210. be overlodaded, so it is not good for this.
  211. * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
  212. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  213. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  214. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  215. array if the namespace is not specified in XmlArrayItemAttribute.
  216. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  217. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  218. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  219. is not specified in the xsi attribute.
  220. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  221. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  222. 2003-06-16 Atsushi Enomoto <[email protected]>
  223. * XmlSerializationReader.cs : Synchronous fix with
  224. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  225. * added XmlTypeMapMemberNamespace.cs.
  226. * XmlReflectionImporter,
  227. XmlSerializationReaderInterpreter.cs,
  228. XmlSerializationWriterInterpreter.cs,
  229. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  230. 2003-06-16 Atsushi Enomoto <[email protected]>
  231. * XmlSerializationWriter.cs : some QName handling fix.
  232. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  233. * XmlSerializationReader.cs: Fixed error message.
  234. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  235. Thanks to Atsushi!
  236. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  237. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  238. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  239. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  240. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  241. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  242. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  243. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  244. * SoapReflectionImporter.cs: tiny fix.
  245. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  246. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  247. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  248. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  249. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  250. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  251. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  252. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  253. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  254. * XmlSerializationWriter.cs: small fix.
  255. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  256. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  257. Added support for DefaultValueAttribute.
  258. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  259. the value of an enum.
  260. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  261. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  262. integer values.
  263. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  264. * XmlSerializationReader.cs: Minor fix.
  265. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  266. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  267. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  268. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  269. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  270. * XmlCustomFormatter.cs: small fixes.
  271. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  272. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  273. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  274. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  275. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  276. root elements.
  277. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  278. * SoapReflectionImporter.cs: implemented.
  279. * TypeTranslator.cs: added IsPrimitive() method
  280. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  281. used by that one. Also added Format property, that can be literal or encoded.
  282. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  283. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  284. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  285. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  286. * XmlSerializationWriter.cs: added support for encoded format.
  287. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  288. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  289. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  290. and a map is needed for them).
  291. * XmlTypeMapMemberElement.cs: small fixes.
  292. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  293. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  294. 2003-06-01 Miguel de Icaza <[email protected]>
  295. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  296. UnknownElement): Add line number information.
  297. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  298. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  299. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  300. * XmlMapping.cs: Added internal property.
  301. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  302. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  303. * XmlReflectionMember.cs: XmlAttributes are now created by default
  304. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  305. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  306. Implemented support for XmlMembersMapping.
  307. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  308. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  309. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  310. from xml type to clr type.
  311. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  312. * XmlReflectionMember.cs: Added default constructor.
  313. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  314. * XmlSerializationWriter.cs: Several fixes.
  315. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  316. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  317. Added support for enums. Added support for XmlElement and XmlNode.
  318. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  319. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  320. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  321. * XmlCustomFormatter.cs: Added formatting methods.
  322. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  323. * XmlReflectionMember.cs: Added new constructor.
  324. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  325. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  326. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  327. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  328. 2003-05-10 Atsushi Enomoto <[email protected]>
  329. * Added TypeTableEntry.cs.
  330. * TypeTranslator.cs : changed for non-static use.
  331. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  332. and GetElementName(). Bugfix so that if any XmlElementAttribute
  333. exists after non-typed XmlElementAttribute then it might be ignored.
  334. Added GetElementIsNullable().
  335. * XmlSerializer.cs :
  336. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  337. Object memberObj[4].
  338. Deserialize() now uses XmlReader.Depth to check its depth.
  339. Serialize() for non-XmlReader arguments now always write xmldecl.
  340. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  341. and handles XmlQualifiedName.
  342. Separated SerializeType () from Serialize().
  343. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  344. IsPropertyTypeSerializable() from SerializeMembers().
  345. SerializeMembers() is now capable of null value and actual type,
  346. which should be included by XmlIncludeAttribute and so on.
  347. Renamed SerializeArray() to SerializeArrayContent(), and added
  348. SerializeCollectionContent().
  349. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  350. FillTypeTable() is now aware of XmlInclude attributes.
  351. FillEnum() should not have different type table content from others.
  352. 2003-05-09 Atsushi Enomoto <[email protected]>
  353. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  354. 2003-05-05 Atsushi Enomoto <[email protected]>
  355. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  356. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  357. separators. Added experimental method ToEnum().
  358. * XmlSerializationReader.cs : unconfirmed implementation of
  359. ReadSerializable() and ToEnum().
  360. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  361. is null then no output will be written.
  362. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  363. to use custom formatted name.
  364. 2003-05-02 Miguel de Icaza <[email protected]>
  365. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  366. had a void return value.
  367. 2003-04-26 Miguel de Icaza <[email protected]>
  368. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  369. `AllowMultiple' flags.
  370. 2003-04-25 Atsushi Enomoto <[email protected]>
  371. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  372. * XmlReflectionImporter.cs : patch by Erik LeBel.
  373. Now uses XmlRootAttribute to determine element name.
  374. 2003-03-17 Miguel de Icaza <[email protected]>
  375. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  376. Kill Bublesort.
  377. 2003-03-22 Atsushi Enomoto <[email protected]>
  378. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  379. XmlWriter argument should call WriteEndDocument.
  380. 2003-03-19 Atsushi Enomoto <[email protected]>
  381. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  382. not WriteState.Start, and never call WriteEndDocument().
  383. 2003-03-12 Elan Feingold <[email protected]>
  384. * XmlCustomFormatter.cs: Correct signature, Implement
  385. ToByteArrayBase64
  386. * XmlSerializationWriter.cs: Fix prototype.
  387. * XmlSerializer.cs: Implements Deserialize().
  388. 2003-02-16 Atsushi Enomoto <[email protected]>
  389. * XmlSerializer.cs : serializing now works for interface member.
  390. 2003-01-26 Atsushi Enomoto <[email protected]>
  391. * XmlSerializer.cs : some fix handling xml node object more correct.
  392. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  393. * XmlSerializer.cs: Array serialization for 1D arrays works
  394. * TypeTranslator: Added for translations`
  395. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  396. * XmlCustomFormatter.cs: finished.
  397. * XmlSerializationReader.cs: implemented some more methods.
  398. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  399. * XmlSerializationReader.cs: implemented a few methods.
  400. * XmlAnyElementAttribute.cs:
  401. * XmlArrayAttribute.cs:
  402. * XmlChoiceIdentifierAttribute.cs:
  403. * XmlElementAttribute.cs:
  404. * XmlMemberMapping.cs:
  405. * XmlMembersMapping.cs: class status based fixes.
  406. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  407. * CodeIdentifiers.cs:
  408. * XmlSchemaExporter.cs:
  409. * XmlSchemaImporter.cs:
  410. * XmlSchemas.cs:
  411. * XmlSerializationWriteCallback.cs:
  412. * XmlSerializationWriter.cs:
  413. * XmlSerializer.cs:
  414. * XmlSerializerNamespaces.cs: some class status based fixed and
  415. implemented a couple of methods.
  416. * SoapSchemaExporter.cs: stubbed out.
  417. 2002-08-24 Tim Coleman <[email protected]>
  418. * SoapCodeExporter.cs:
  419. Fix return value of ExportTypeMapping.
  420. * XmlCustomFormatter.cs:
  421. Change methods to be internal instead of public.
  422. * XmlSerializationWriter.cs:
  423. Modify GetPrimitiveTypeName to build on linux.
  424. Modify GetQualifiedName to return an incrementing prefix
  425. instead of the same one all the time (still need to manage
  426. conflicts)
  427. Modify WriteElementString to only do special stuff is XsiType
  428. is not defined.
  429. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  430. an XmlQualifiedName.
  431. 2002-08-22 Tim Coleman <[email protected]>
  432. * XmlSerializationReader.cs:
  433. Some implementation
  434. * XmlSerializationWriter.cs:
  435. More implementation
  436. * XmlCustomFormatter.cs:
  437. Implemented this class.
  438. 2002-08-20 Tim Coleman <[email protected]>
  439. * XmlSerializationWriter.cs:
  440. Some implementation.
  441. 2002-08-19 Tim Coleman <[email protected]>
  442. * XmlSerializer.cs:
  443. New stubs added.
  444. * XmlSerializationWriter.cs:
  445. New stubs added.
  446. 2002-08-14 Tim Coleman <[email protected]>
  447. * XmlSerializer.cs:
  448. More reformatting of source code so I can
  449. better understand what it does.
  450. 2002-08-06 Tim Coleman <[email protected]>
  451. * XmlSerializer.cs:
  452. Some reformatting of code for readability.
  453. Modify to correctly serialize ICollection objects
  454. such as the BindingCollection of a ServiceDescription
  455. for example.
  456. 2002-08-03 Tim Coleman <[email protected]>
  457. * XmlSerializer.cs:
  458. Changed Implements() to check based on name rather
  459. than FullName. FullName was never working correctly.
  460. 2002-07-26 Tim Coleman <[email protected]>
  461. * XmlSerializer.cs:
  462. The constructor now looks for an XmlRootAttribute attribute
  463. if one is not passed in. Various changes to make it emit
  464. proper XML, such as handling an element without a namespace
  465. prefix, and using WriteEndDocument where it should be.
  466. 2002-07-24 Tim Coleman <[email protected]>
  467. * CodeIdentifier.cs:
  468. * IXmlSerializable.cs:
  469. * XmlSerializationCollectionFixupCallback.cs:
  470. * XmlSerializationFixupCallback.cs:
  471. * XmlSerializationReadCallback.cs:
  472. * XmlSerializationReader.cs:
  473. * XmlSerializationWriteCallback.cs:
  474. Add new classes.
  475. * XmlSchemas.cs
  476. * CodeIdentifiers.cs:
  477. Implement some of these classes
  478. * XmlCodeExporter.cs:
  479. Fix return type of a function
  480. 2002-07-24 Tim Coleman <[email protected]>
  481. * SoapReflectionImporter.cs:
  482. New class added to build
  483. System.Web.Services.Description.ServiceDescription.cs
  484. 2002-07-22 Tim Coleman <[email protected]>
  485. * CodeIdentifiers.cs:
  486. * SoapCodeExporter.cs:
  487. * SoapSchemaExporter.cs:
  488. * XmlCodeExporter.cs:
  489. * XmlMemberMapping.cs:
  490. * XmlMembersMapping.cs:
  491. * XmlReflectionImporter.cs:
  492. * XmlReflectionMember.cs:
  493. * XmlSchemaExporter.cs:
  494. * XmlSchemaImporter.cs:
  495. * XmlSchemas.cs:
  496. New stubbs added to aid in the linux build of
  497. System.Web.Services.
  498. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  499. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  500. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  501. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  502. * XmlSeriailizer: Updated Serialize() method.
  503. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  504. * XmlSerializer: Serialize() method Partially Implemented.
  505. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  506. * Soap & XmlOverrides: Implemented using TypeMember as key with
  507. suggestions from Rafael.