ChangeLog 19 KB

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