ChangeLog 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116
  1. 2004-04-15 Lluis Sanchez Gual <[email protected]>
  2. * XmlSchemaExporter.cs: When checking if a map has been exported or not,
  3. don't use type name for array types, since we can have different classes
  4. that represent the same array type (for example StringCollection and
  5. string[]).
  6. 2004-04-14 Lluis Sanchez Gual <[email protected]>
  7. * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
  8. not present in MS.NET.
  9. * XmlSerializationWriter.cs: Improved error message.
  10. 2004-03-30 Lluis Sanchez Gual <[email protected]>
  11. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
  12. XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
  13. Support deserialization of members of type XmlDocument. This fixes #56169.
  14. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  15. * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
  16. Use a special method to generate default values, since default enum values
  17. will come as integers, so a special cast is needed.
  18. * XmlSerializationReaderInterpreter.cs,
  19. * SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
  20. SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
  21. SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
  22. XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
  23. XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
  24. XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
  25. XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
  26. XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
  27. of SerializationSource. It can't keep and use the XmlAttributeOverride
  28. instances as key values, since those instances can be modified after the
  29. xml map has been generated. Now, SerializationSource generates a unique
  30. string hash from XmlAttributeOverride and uses it for comparisons.
  31. 2004-03-24 Lluis Sanchez Gual <[email protected]>
  32. * SerializationCodeGenerator.cs: Several fixes: generate valid names for
  33. WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
  34. the adequate type. Set the default value of members that do have a default
  35. value. Other minor fixes.
  36. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
  37. from typeof(object) map, even those that have another base class.
  38. * XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
  39. It must serialize the char as number, not as character.
  40. * XmlSerializationReaderInterpreter.cs: Set the default value of members
  41. that do have a default value.
  42. * XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
  43. of members that have a default value.
  44. 2004-03-15 Lluis Sanchez Gual <[email protected]>
  45. * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
  46. This fixes bug #55547.
  47. 2004-03-13 David Sheldon <[email protected]>
  48. * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
  49. byte [].
  50. 2004-03-13 David Sheldon <[email protected]>
  51. * XmlTextAttribute.cs: Initialise dataType with zero-length string.
  52. fixes test case that tests for this directly.
  53. * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
  54. it. Treat it as null.
  55. 2004-03-12 Lluis Sanchez Gual <[email protected]>
  56. * CodeIdentifier.cs: Limit the length of identifiers.
  57. * MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
  58. Generate types using GetDomType, so if the type is an array, it creates
  59. the correct combination of types.
  60. * SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
  61. an enum, if the string is empty and the enum has [Flags], then return 0
  62. as value. This fixes bug #55509.
  63. * XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
  64. are not supported. Another check: a simple type cannot be enum if it does
  65. not have any enum facet.
  66. And another fix: use string as default type for attribtues.
  67. * XmlSchemas.cs: Fixed search for schema elements. An schema may import
  68. other schemas. An imported schema would not be in the table, but its
  69. elements (although from another namespace) would be in the schema that
  70. imported it. So, we need know to check for every schema in the table.
  71. * XmlSerializer.cs: Added environment variable to help debugging code
  72. generator output.
  73. 2004-02-27 Lluis Sanchez Gual <[email protected]>
  74. * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
  75. of XmlInclude attributes needed for the service class.
  76. IsMapExported: Removed check for object type, since it can now be exported.
  77. SetMapExported: Use the type name as key, since different importers may
  78. be used to create a map for the same type.
  79. GenerateClassInclude: Updated signature.
  80. * SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  81. GenerateClassInclude(): Updated signature.
  82. * SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
  83. Implemented IncludeTypes.
  84. * XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  85. GenerateClassInclude(): Updated signature.
  86. * XmlMemberMapping.cs: Added missing property.
  87. * XmlReflectionImporter.cs: GetReflectionMembers must be private.
  88. Implemented IncludeTypes().
  89. * XmlSchemaExporter.cs: Added support for exporting typeof(object).
  90. * XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
  91. Now, it does a regular import and then assign the required base class to
  92. the imported map. In this way it is possible to assign a base type for a
  93. map that was previously imported without a base type.
  94. * XmlTypeMapping.cs: Added internal method SetRoot().
  95. 2004-02-24 Lluis Sanchez Gual <[email protected]>
  96. * SerializationCodeGenerator.cs: Added support for generation of readers
  97. and writers for several maps in a single class. Added support for
  98. XmlMemberMapping. Fixed generation of serializers that use encoded format.
  99. * SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
  100. SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
  101. XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
  102. XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
  103. XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
  104. XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
  105. XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
  106. Added InternalEquals method.
  107. * XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
  108. * SoapReflectionImporter.cs: Set SerializationSource to generated maps.
  109. * XmlCustomFormatter.cs: Fixed little bug.
  110. * XmlMapping.cs: Added Source property. This a global identifier of the map.
  111. * XmlReflectionImporter.cs: Set SerializationSource to generated maps.
  112. * XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
  113. mapping members.
  114. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
  115. * XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
  116. correctly used.
  117. * XmlSerializer.cs: Added support for generation of serializers.
  118. 2004-02-18 Atsushi Enomoto <[email protected]>
  119. * SerializationCodeGenerator.cs,
  120. SerializationCodeGeneratorConfiguration.cs:
  121. Added <namespaceImports> feature ("using XXX;" generation) support.
  122. 2004-02-17 Lluis Sanchez Gual <[email protected]>
  123. * XmlSerializationWriter.cs: When writing the root element, use a prefix
  124. if the namespace of the element is defined in the list of namespaces
  125. provided to the XmlSerializer. This fixes bug #54427.
  126. 2004-02-16 Lluis Sanchez Gual <[email protected]>
  127. * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
  128. Those are basically methods to add custom attributes to element and
  129. attribute members.
  130. * SoapCodeExporter.cs: Track changes in MapCodeGenerator.
  131. * XmlCodeExporter.cs: Better support for custom attribute generation for
  132. method parameters.
  133. * XmlCustomFormatter.cs: Added null check.
  134. * XmlSchemaImporter.cs: do not set IsOptionalValueType property to
  135. attributes that are required.
  136. * XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
  137. as attributes.
  138. 2004-02-11 Lluis Sanchez Gual <[email protected]>
  139. * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
  140. * TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
  141. string, not string[].
  142. * XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
  143. for array parameters. In general, improved generation of schema Form
  144. property.
  145. * XmlMemberMapping.cs: Added Form property.
  146. * XmlReflectionImporter.cs: Types that inherit from other types cannot be
  147. simple types. Added a check for this.
  148. * XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
  149. Form. The key used to determine if a map has been already generated must
  150. include the XmlType, since there can be two xml types with the same CLR
  151. type and namespace (for example, they may differ in the Form property).
  152. * XmlSchemaImporter.cs: When getting the TypeData for a schema element,
  153. also return the corresponding map. There can be two maps that have the
  154. same TypeData, so given a TypeData is not always possible to get the
  155. correct corresponding map (for example two arrays that only differ in the
  156. Form of the item).
  157. * XmlTypeMapping.cs: Added method to set if a map can represent a simple
  158. type or not.
  159. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  160. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
  161. normalizedString schema type.
  162. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  163. * XmlReflectionImporter.cs: Get the class members using the right order.
  164. * XmlSerializationWriterInterpreter.cs: Removed unneeded code.
  165. A member with the Any attribute can also contain text. Support this.
  166. * XmlTypeMapMemberElement.cs: Added CanBeText property.
  167. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  168. * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a
  169. check.
  170. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  171. * MapCodeGenerator.cs: Added helper method for generating an attribute
  172. parameter of type enum.
  173. * XmlAttributeAttribute.cs: little fix.
  174. * XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
  175. for method parameters.
  176. * XmlMemberMapping.cs: Improved support for members of type "any".
  177. * XmlReflectionImporter.cs: Improved assignment of the attribute form.
  178. If the namespace is explicitly specified, then the form should be
  179. qualified. Also fixed issues with the namespace assigned to attributes.
  180. This should fix bug #53384.
  181. * XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
  182. methods that return values of type "any". Changed the methods
  183. AddSchemaArrayElement and AddSchemaElement, so instead of adding the
  184. element, return it, and the caller must add it to the collection.
  185. Other fixes in attribute generation.
  186. * XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
  187. generate the AnyType mapping from the type described in the schema.
  188. Small fixes regarding IsMixed property of complex types (it means that
  189. the type can contain text, so the XmlTextAttribute must be generated).
  190. * XmlSerializationReaderInterpreter.cs: Reading of members by-order must
  191. be only used in the bare+encoded format.
  192. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  193. * SoapReflectionImporter.cs: Types included with SoapInclude don't need
  194. to be derived types of the one that has the attribute.
  195. * XmlReflectionImporter.cs: Recursively register the derived maps of a given
  196. map to the parent map. This fixes #53246.
  197. * XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
  198. 2004-01-22 Lluis Sanchez Gual <[email protected]>
  199. * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
  200. do not check the root element name, since it can be any name. This fixes
  201. bug #53201.
  202. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  203. * XmlReflectionImporter.cs: Throw exception if a value type member has the
  204. IsNullable=true flag. This fixes bug #52906.
  205. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  206. * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
  207. so a 'specified' member has always to be generated.
  208. * TypeData.cs: Fixed check for value type.
  209. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  210. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
  211. XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
  212. XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
  213. XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
  214. XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
  215. Added support for value specifiers members. This fixes bug #53024.
  216. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  217. * XmlSchemaExporter.cs: Don't create referenced element if it has already
  218. been created (two types could be referencing the same schema element).
  219. 2004-01-19 Lluis Sanchez Gual <[email protected]>
  220. * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
  221. * XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
  222. arrays. This fixes bug #53018.
  223. 2004-01-14 Lluis Sanchez Gual <[email protected]>
  224. * MapCodeGenerator.cs: Use type namespace instead of root namespace as
  225. default namespace for members.
  226. * XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
  227. * XmlReflectionImporter.cs: Fixed the assignment of root and type
  228. namespaces.
  229. * XmlSchemaExporter.cs: Use type namespace instead of root namespace as
  230. default namespace for members. In AddSchemaElement, if the element is
  231. a root element never use a "ref" attribute.
  232. * XmlSchemaImporter.cs: Fixed issue when importing root elements.
  233. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  234. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  235. XmlTypeMapping.cs: more namespace fixes.
  236. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  237. * XmlReflectionImporter.cs: type namespace must never be used as root
  238. namespace. This fixes bug #52772.
  239. 2004-01-08 Nick Drochak <[email protected]>
  240. * XmlSchemaImporter.cs: Removed unused variable.
  241. 2004-01-07 Lluis Sanchez Gual <[email protected]>
  242. * XmlReflectionImporter.cs: Ignore Namespace property when applying
  243. the [XmlType] attribute to an enum. This fixes bug #52607.
  244. 2003-12-19 Lluis Sanchez Gual <[email protected]>
  245. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
  246. option that allow serialization of private types.
  247. 2003-12-18 Eran Domb <[email protected]>
  248. * TypeTranslator.cs : Change primtive types map.
  249. 2003-12-18 Eran Domb <[email protected]>
  250. * XmlReflectionImporter.cs (ImportListMapping): Adding the included types of the list as a derived
  251. classes of object.
  252. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  253. * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
  254. to check if a type is primitive, instead of Type.IsPrimitive, since CLR
  255. primitive types are not the same as XML primitive types. Patch proposed
  256. by Mordechai Taitelman. This fixes bug #52228.
  257. * XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
  258. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  259. * XmlReflectionImporter.cs: Little fix.
  260. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  261. * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
  262. need to be derived types of the includer. This fixes bug #52152.
  263. Added null check for Name property of XmlEnumAttribute. This fixes
  264. bug #52155.
  265. * XmlSerializationReader.cs: Fixed some error messages.
  266. * XmlSerializationReaderInterpreter.cs: Check that the root element has
  267. the correct local name and namespace. This fixes bug #52038.
  268. Throw exception if enum value can't be parsed.
  269. * XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
  270. bug #52041.
  271. 2003-12-12 Lluis Sanchez Gual <[email protected]>
  272. * MapCodeGenerator.cs: Added support for [Flags] enum.
  273. * XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
  274. * XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
  275. encoded array type. Added support for enums with [Flags].
  276. In encoded format, unqualified types are schema types by default.
  277. 2003-12-11 Lluis Sanchez Gual <[email protected]>
  278. * XmlCodeExporter.cs: Little fix.
  279. * XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
  280. same name have the same type.
  281. * XmlSchemaImporter.cs: Support xml:lang.
  282. * XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
  283. fixed wrong namespace for the arrayType attribute.
  284. 2003-12-08 Lluis Sanchez Gual <[email protected]>
  285. * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
  286. XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  287. When using rpc format on a web service, members don't need to have any
  288. specific namespace. Added a flag for turning namespace check on/off.
  289. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  290. * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
  291. delayedListFixups.Count cannot be used because elementes from
  292. delayedListFixups are deleted sometimes.
  293. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  294. * XmlReflectionImporter.cs: Indexer properties must not be serialized.
  295. This fixes bug #51060.
  296. 2003-11-24 Lluis Sanchez Gual <[email protected]>
  297. * XmlSerializationWriterInterpreter.cs: Applied patch by Eran Domb:
  298. If type is Enum the code use type.GetElememtType() instead of
  299. Enum.GetUnderlyingType().
  300. 2003-11-12 Lluis Sanchez Gual <[email protected]>
  301. * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
  302. Removed several TODOs already done.
  303. 2003-11-03 Lluis Sanchez Gual <[email protected]>
  304. * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  305. bug #50041.
  306. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  307. * ReflectionHelper.cs: In CheckSerializableType() check that the type
  308. is public.
  309. * XmlSerializationWriter.cs: Added check for circular references.
  310. This fixes bug #49879.
  311. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  312. * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
  313. can't be serialized. This fixes bug #49878.
  314. * TypeData.cs: In ListItemType check that the collection has a valid
  315. Add method and report an error if not.
  316. * XmlReflectionImporter.cs: Added CheckSerializableType check call when
  317. reflecting a collection.
  318. 2003-10-18 Lluis Sanchez Gual <[email protected]>
  319. * SoapReflectionImporter.cs: Support element references for enum values in
  320. encoding format. This fixes bug #49568.
  321. * XmlSerializationReaderInterpreter.cs: In encoded format, do not check
  322. the name and namespace of the wrapper element. MS.NET doesn't do it.
  323. This fixes bug #49729.
  324. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  325. * MapCodeGenerator.cs: Made MapCodeGenerator internal.
  326. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  327. * MapCodeGenerator.cs: New file. Moved here all code that is common
  328. between XmlCodeExporter and SoapCodeExporter.
  329. * SoapCodeExporter.cs: Implemented.
  330. * XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
  331. * XmlSerializationReaderInterpreter.cs: Fixed problem when reading
  332. encoded bare parameter list.
  333. * XmlTypeMapping.cs: Added method for getting member element by index.
  334. 2003-10-14 Atsushi Enomoto <[email protected]>
  335. * XmlSchemas.cs : Implemented IsDataSet().
  336. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  337. * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
  338. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
  339. in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
  340. * SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
  341. * XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
  342. and whether it uses encoded or literal format.
  343. * XmlSchemaExporter.cs: Little fixes.
  344. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  345. * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
  346. need to be of type SOAP-ENC:Array, it can be a restriction of it.
  347. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  348. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
  349. Read only properties are only serialized if the type is an array.
  350. 2003-10-09 Lluis Sanchez Gual <[email protected]>
  351. * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
  352. SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
  353. is not needed for value types.
  354. 2003-10-08 Lluis Sanchez Gual <[email protected]>
  355. * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
  356. (XmlSerializer.Serialize() handles namespace parameter incorrectly)
  357. 2003-10-05 Lluis Sanchez Gual <[email protected]>
  358. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
  359. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  360. * XmlSchemaExporter.cs: Keep track of elements being exported.
  361. * XmlSchemas.cs: Removed unneeded catch.
  362. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  363. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  364. Fixed handling of members with XmlTextAttribute that are arrays.
  365. * TypeData.cs: IsComplexType now returns true for XmlNode.
  366. * XmlSerializer.cs: Added check for null mapping in FromMappings.
  367. * XmlTypeMapping.cs: Added helper method FindTextElement.
  368. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  369. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
  370. Added support for IncludeInSchema flag.
  371. * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  372. * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
  373. methods. Added support for IncludeInSchema flag.
  374. * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  375. Added support for IncludeInSchema flag.
  376. * XmlTypeAttribute.cs: Set includeInSchema to true by default.
  377. * XmlTypeMapping.cs: Added IncludeInSchema property.
  378. 2003-09-25 Lluis Sanchez Gual <[email protected]>
  379. * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
  380. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  381. * XmlCustomFormatter.cs: added support for additional string types in
  382. GenerateToXmlString().
  383. * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
  384. encoded format.
  385. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  386. * SoapSchemaImporter.cs: implemented.
  387. * XmlReflectionImporter.cs: Changed nullable default for array items to true.
  388. * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
  389. * XmlSchemaImporter.cs: more support for encoded format.
  390. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  391. * SerializationCodeGenerator.cs: Minor fixes.
  392. * SoapReflectionImporter.cs: More fixes.
  393. * SoapSchemaExporter.cs: implemented.
  394. * SoapSchemaImporter.cs: Initial implementation.
  395. * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
  396. and ParseArrayType
  397. * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
  398. * XmlMemberMapping.cs: Minor fixes.
  399. * XmlMembersMapping.cs: added some convenient constructors.
  400. * XmlSchemaExporter.cs: Added support for encoded format.
  401. * XmlSchemaImporter.cs: Added support for encoded format.
  402. * XmlSerializationReader.cs: changed some string literals by constants.
  403. Implemented ParseWsdlArrayType.
  404. * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
  405. custom attributes.
  406. * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
  407. * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
  408. WriteAttribute to write custom attributes.
  409. * XmlSerializer.cs: added some namespace constants.
  410. * XmlTypeMapping.cs: added GetSchemaArrayName method.
  411. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  412. * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
  413. * XmlTypeMapMemberElement.cs: Little fix.
  414. * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
  415. * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
  416. methods.
  417. * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
  418. Added.
  419. 2003-08-29 Lluis Sanchez Gual <[email protected]>
  420. * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  421. * XmlMemberMapping.cs: Changed constructor.
  422. * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  423. * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
  424. * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
  425. * XmlSerializationWriterInterpreter.cs: Changed visibility.
  426. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  427. * XmlSerializer.cs: Fix in Deserialize() method.
  428. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  429. * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
  430. * XmlSchemas.cs: Find method: make sure the returned object belongs to
  431. the requested type.
  432. * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  433. Add null checks for eventSource.
  434. * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
  435. * XmlSerializationWriter.cs: In Initialize method, initialize the provided
  436. namespece declarations. Virtual method WriteObject not needed any more.
  437. In WriteStartElement, write the provided namespaces.
  438. * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  439. Added GetTypeMap method, that returns the map for a given type. Added some
  440. virtual methods, so writer behavior can be extended at several places by
  441. derived classes.
  442. * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  443. methods CreateReader and CreateWriter are not called unless no type or
  444. type mapping was provided in the constructor.
  445. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  446. * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
  447. schema type it is importing is a class or an array. It will always
  448. be a class.
  449. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  450. * XmlSerializationWriterInterpreter.cs: any element members can be serialized
  451. as text nodes. Support it.
  452. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  453. * CodeIdentifier.cs: Fixed MakeValid method.
  454. * TypeTranslator.cs: Added support for more primitive types. Added
  455. GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  456. maps by default.
  457. * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  458. are different from the type ns and name.
  459. Generate class and field comments.
  460. Fixed default attribute generation. In elements with ref attribute, it has to be
  461. generated in the referred attribute.
  462. * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  463. Added suport for text nodes in members of type "any".
  464. * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  465. content.
  466. * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
  467. * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  468. that have already been declared.
  469. WriteStartElement(): elements from schema namespace are always written with ns prefix.
  470. * XmlTypeMapMember.cs: Added documentation property.
  471. * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  472. represents a simple type.
  473. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  474. * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  475. stuff.
  476. * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
  477. * TypeData.cs: Added property that returns a TypeData that represents an array of
  478. the given TypeData.
  479. * TypeTranslator.cs: Added GetArrayName() method.
  480. Added TypeDatas for missing primitive types.
  481. * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  482. XmlRootAttribute. Added the namespace to all attributes being generated.
  483. Other fixes in the generation of code.
  484. * XmlReflectionImporter: store the namespace of the type in the maps.
  485. * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  486. class can generate text. Do not export inherited attributes of a class.
  487. Use the new root namespace stored in the map when generating the root element.
  488. * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  489. namespace is the default namespace.
  490. * XmlSerializationWriterInterpreter.cs: fixed missing "else".
  491. * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  492. namespace instead of the map namespace (which can be different if the type
  493. has a XmlRoot element).
  494. * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  495. to System.DBNull.Value.
  496. * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  497. the collection if it has not yet been created.
  498. * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  499. of the type. It may be different from the namespace of the map if the type
  500. has a XmlRoot element. Also added IsSimpleType property.
  501. In ClassMap, added AllMembers property.
  502. 2003-07-30 Lluis Sanchez Gual <[email protected]>
  503. * TypeData.cs: Added new constructor and variables to allow the creation of
  504. a TypeData without a Type. Added ListItemTypeData property.
  505. * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
  506. array of arrays. Added also a property to get the nested array map.
  507. * XmlCodeExporter.cs: First implementation of code exporter.
  508. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  509. * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
  510. * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  511. they have.
  512. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  513. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
  514. maps with the same name and namespace. To avoid this, maps must be registered
  515. using the real map namespace, not the default namespace (the namespace can
  516. change if the type has a XmlType or SoapType attribute).
  517. * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
  518. * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
  519. Other small fixes.
  520. * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
  521. is null.
  522. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  523. * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
  524. * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
  525. * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
  526. * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
  527. * XmlSchemaExporter.cs: Implemented.
  528. * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
  529. * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
  530. GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
  531. * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
  532. GetStringValue() returns null if the value is null, instead of empty string.
  533. (attributes with null values are not written).
  534. * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
  535. * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
  536. DataType value can is now in TypeData.
  537. * XmlTypeMapMemberElement.cs: Small fix.
  538. * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
  539. 2003-07-14 Andreas Nahr <[email protected]>
  540. * AssemblyInfo.cs: Removed
  541. 2003-07-9 Lluis Sanchez Gual <[email protected]>
  542. * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
  543. namespace declarations if they have already been defined.
  544. 2003-07-2 Lluis Sanchez Gual <[email protected]>
  545. * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
  546. for adding elements to a list.
  547. 2003-06-31 Lluis Sanchez Gual <[email protected]>
  548. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
  549. SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
  550. A includes C).
  551. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  552. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
  553. Added support for serialization of enums with the Flags attribute.
  554. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  555. * SoapReflectionImporter.cs: Fix support for DataType in class members.
  556. * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
  557. can have other names.
  558. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
  559. * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
  560. XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  561. Fix support for DataType in class members.
  562. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
  563. Added support for array of primitive types in attributes.
  564. 2003-06-28 Lluis Sanchez Gual <[email protected]>
  565. * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
  566. be overlodaded, so it is not good for this.
  567. * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
  568. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  569. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  570. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  571. array if the namespace is not specified in XmlArrayItemAttribute.
  572. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  573. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  574. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  575. is not specified in the xsi attribute.
  576. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  577. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  578. 2003-06-16 Atsushi Enomoto <[email protected]>
  579. * XmlSerializationReader.cs : Synchronous fix with
  580. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  581. * added XmlTypeMapMemberNamespace.cs.
  582. * XmlReflectionImporter,
  583. XmlSerializationReaderInterpreter.cs,
  584. XmlSerializationWriterInterpreter.cs,
  585. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  586. 2003-06-16 Atsushi Enomoto <[email protected]>
  587. * XmlSerializationWriter.cs : some QName handling fix.
  588. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  589. * XmlSerializationReader.cs: Fixed error message.
  590. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  591. Thanks to Atsushi!
  592. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  593. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  594. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  595. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  596. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  597. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  598. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  599. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  600. * SoapReflectionImporter.cs: tiny fix.
  601. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  602. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  603. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  604. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  605. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  606. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  607. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  608. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  609. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  610. * XmlSerializationWriter.cs: small fix.
  611. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  612. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  613. Added support for DefaultValueAttribute.
  614. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  615. the value of an enum.
  616. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  617. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  618. integer values.
  619. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  620. * XmlSerializationReader.cs: Minor fix.
  621. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  622. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  623. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  624. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  625. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  626. * XmlCustomFormatter.cs: small fixes.
  627. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  628. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  629. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  630. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  631. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  632. root elements.
  633. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  634. * SoapReflectionImporter.cs: implemented.
  635. * TypeTranslator.cs: added IsPrimitive() method
  636. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  637. used by that one. Also added Format property, that can be literal or encoded.
  638. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  639. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  640. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  641. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  642. * XmlSerializationWriter.cs: added support for encoded format.
  643. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  644. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  645. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  646. and a map is needed for them).
  647. * XmlTypeMapMemberElement.cs: small fixes.
  648. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  649. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  650. 2003-06-01 Miguel de Icaza <[email protected]>
  651. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  652. UnknownElement): Add line number information.
  653. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  654. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  655. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  656. * XmlMapping.cs: Added internal property.
  657. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  658. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  659. * XmlReflectionMember.cs: XmlAttributes are now created by default
  660. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  661. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  662. Implemented support for XmlMembersMapping.
  663. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  664. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  665. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  666. from xml type to clr type.
  667. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  668. * XmlReflectionMember.cs: Added default constructor.
  669. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  670. * XmlSerializationWriter.cs: Several fixes.
  671. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  672. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  673. Added support for enums. Added support for XmlElement and XmlNode.
  674. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  675. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  676. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  677. * XmlCustomFormatter.cs: Added formatting methods.
  678. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  679. * XmlReflectionMember.cs: Added new constructor.
  680. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  681. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  682. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  683. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  684. 2003-05-10 Atsushi Enomoto <[email protected]>
  685. * Added TypeTableEntry.cs.
  686. * TypeTranslator.cs : changed for non-static use.
  687. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  688. and GetElementName(). Bugfix so that if any XmlElementAttribute
  689. exists after non-typed XmlElementAttribute then it might be ignored.
  690. Added GetElementIsNullable().
  691. * XmlSerializer.cs :
  692. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  693. Object memberObj[4].
  694. Deserialize() now uses XmlReader.Depth to check its depth.
  695. Serialize() for non-XmlReader arguments now always write xmldecl.
  696. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  697. and handles XmlQualifiedName.
  698. Separated SerializeType () from Serialize().
  699. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  700. IsPropertyTypeSerializable() from SerializeMembers().
  701. SerializeMembers() is now capable of null value and actual type,
  702. which should be included by XmlIncludeAttribute and so on.
  703. Renamed SerializeArray() to SerializeArrayContent(), and added
  704. SerializeCollectionContent().
  705. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  706. FillTypeTable() is now aware of XmlInclude attributes.
  707. FillEnum() should not have different type table content from others.
  708. 2003-05-09 Atsushi Enomoto <[email protected]>
  709. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  710. 2003-05-05 Atsushi Enomoto <[email protected]>
  711. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  712. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  713. separators. Added experimental method ToEnum().
  714. * XmlSerializationReader.cs : unconfirmed implementation of
  715. ReadSerializable() and ToEnum().
  716. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  717. is null then no output will be written.
  718. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  719. to use custom formatted name.
  720. 2003-05-02 Miguel de Icaza <[email protected]>
  721. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  722. had a void return value.
  723. 2003-04-26 Miguel de Icaza <[email protected]>
  724. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  725. `AllowMultiple' flags.
  726. 2003-04-25 Atsushi Enomoto <[email protected]>
  727. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  728. * XmlReflectionImporter.cs : patch by Erik LeBel.
  729. Now uses XmlRootAttribute to determine element name.
  730. 2003-03-17 Miguel de Icaza <[email protected]>
  731. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  732. Kill Bublesort.
  733. 2003-03-22 Atsushi Enomoto <[email protected]>
  734. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  735. XmlWriter argument should call WriteEndDocument.
  736. 2003-03-19 Atsushi Enomoto <[email protected]>
  737. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  738. not WriteState.Start, and never call WriteEndDocument().
  739. 2003-03-12 Elan Feingold <[email protected]>
  740. * XmlCustomFormatter.cs: Correct signature, Implement
  741. ToByteArrayBase64
  742. * XmlSerializationWriter.cs: Fix prototype.
  743. * XmlSerializer.cs: Implements Deserialize().
  744. 2003-02-16 Atsushi Enomoto <[email protected]>
  745. * XmlSerializer.cs : serializing now works for interface member.
  746. 2003-01-26 Atsushi Enomoto <[email protected]>
  747. * XmlSerializer.cs : some fix handling xml node object more correct.
  748. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  749. * XmlSerializer.cs: Array serialization for 1D arrays works
  750. * TypeTranslator: Added for translations`
  751. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  752. * XmlCustomFormatter.cs: finished.
  753. * XmlSerializationReader.cs: implemented some more methods.
  754. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  755. * XmlSerializationReader.cs: implemented a few methods.
  756. * XmlAnyElementAttribute.cs:
  757. * XmlArrayAttribute.cs:
  758. * XmlChoiceIdentifierAttribute.cs:
  759. * XmlElementAttribute.cs:
  760. * XmlMemberMapping.cs:
  761. * XmlMembersMapping.cs: class status based fixes.
  762. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  763. * CodeIdentifiers.cs:
  764. * XmlSchemaExporter.cs:
  765. * XmlSchemaImporter.cs:
  766. * XmlSchemas.cs:
  767. * XmlSerializationWriteCallback.cs:
  768. * XmlSerializationWriter.cs:
  769. * XmlSerializer.cs:
  770. * XmlSerializerNamespaces.cs: some class status based fixed and
  771. implemented a couple of methods.
  772. * SoapSchemaExporter.cs: stubbed out.
  773. 2002-08-24 Tim Coleman <[email protected]>
  774. * SoapCodeExporter.cs:
  775. Fix return value of ExportTypeMapping.
  776. * XmlCustomFormatter.cs:
  777. Change methods to be internal instead of public.
  778. * XmlSerializationWriter.cs:
  779. Modify GetPrimitiveTypeName to build on linux.
  780. Modify GetQualifiedName to return an incrementing prefix
  781. instead of the same one all the time (still need to manage
  782. conflicts)
  783. Modify WriteElementString to only do special stuff is XsiType
  784. is not defined.
  785. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  786. an XmlQualifiedName.
  787. 2002-08-22 Tim Coleman <[email protected]>
  788. * XmlSerializationReader.cs:
  789. Some implementation
  790. * XmlSerializationWriter.cs:
  791. More implementation
  792. * XmlCustomFormatter.cs:
  793. Implemented this class.
  794. 2002-08-20 Tim Coleman <[email protected]>
  795. * XmlSerializationWriter.cs:
  796. Some implementation.
  797. 2002-08-19 Tim Coleman <[email protected]>
  798. * XmlSerializer.cs:
  799. New stubs added.
  800. * XmlSerializationWriter.cs:
  801. New stubs added.
  802. 2002-08-14 Tim Coleman <[email protected]>
  803. * XmlSerializer.cs:
  804. More reformatting of source code so I can
  805. better understand what it does.
  806. 2002-08-06 Tim Coleman <[email protected]>
  807. * XmlSerializer.cs:
  808. Some reformatting of code for readability.
  809. Modify to correctly serialize ICollection objects
  810. such as the BindingCollection of a ServiceDescription
  811. for example.
  812. 2002-08-03 Tim Coleman <[email protected]>
  813. * XmlSerializer.cs:
  814. Changed Implements() to check based on name rather
  815. than FullName. FullName was never working correctly.
  816. 2002-07-26 Tim Coleman <[email protected]>
  817. * XmlSerializer.cs:
  818. The constructor now looks for an XmlRootAttribute attribute
  819. if one is not passed in. Various changes to make it emit
  820. proper XML, such as handling an element without a namespace
  821. prefix, and using WriteEndDocument where it should be.
  822. 2002-07-24 Tim Coleman <[email protected]>
  823. * CodeIdentifier.cs:
  824. * IXmlSerializable.cs:
  825. * XmlSerializationCollectionFixupCallback.cs:
  826. * XmlSerializationFixupCallback.cs:
  827. * XmlSerializationReadCallback.cs:
  828. * XmlSerializationReader.cs:
  829. * XmlSerializationWriteCallback.cs:
  830. Add new classes.
  831. * XmlSchemas.cs
  832. * CodeIdentifiers.cs:
  833. Implement some of these classes
  834. * XmlCodeExporter.cs:
  835. Fix return type of a function
  836. 2002-07-24 Tim Coleman <[email protected]>
  837. * SoapReflectionImporter.cs:
  838. New class added to build
  839. System.Web.Services.Description.ServiceDescription.cs
  840. 2002-07-22 Tim Coleman <[email protected]>
  841. * CodeIdentifiers.cs:
  842. * SoapCodeExporter.cs:
  843. * SoapSchemaExporter.cs:
  844. * XmlCodeExporter.cs:
  845. * XmlMemberMapping.cs:
  846. * XmlMembersMapping.cs:
  847. * XmlReflectionImporter.cs:
  848. * XmlReflectionMember.cs:
  849. * XmlSchemaExporter.cs:
  850. * XmlSchemaImporter.cs:
  851. * XmlSchemas.cs:
  852. New stubbs added to aid in the linux build of
  853. System.Web.Services.
  854. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  855. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  856. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  857. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  858. * XmlSeriailizer: Updated Serialize() method.
  859. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  860. * XmlSerializer: Serialize() method Partially Implemented.
  861. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  862. * Soap & XmlOverrides: Implemented using TypeMember as key with
  863. suggestions from Rafael.