ChangeLog 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. 2002-05-08 Mike Kestner <[email protected]>
  2. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  3. 2002-04-28 Duncan Mak <[email protected]>
  4. * XmlSignificantWhitespace.cs (Value):
  5. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  6. block. Added new private method, IsValidWhitespaceChar, for
  7. checking.
  8. 2002-04-16 Duncan Mak <[email protected]>
  9. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  10. 2002-04-12 Duncan Mak <[email protected]>
  11. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  12. added comment on work that needs to be done here. A new MonoTODO item.
  13. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  14. parameter from 'NameTable' to 'XmlNameTable'.
  15. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  16. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  17. 2002-04-10 Duncan Mak <[email protected]>
  18. * XmlNodeReader.cs: Initial stubs for the class.
  19. 2002-04-08 Kral Ferch <[email protected]>
  20. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  21. implementations.
  22. * XmlDeclaration.cs: WriteTo implementation.
  23. * XmlDocument.cs: InnerXml getter implementation.
  24. * XmlElement.cs: InnerXml getter implementation.
  25. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  26. * XmlSignificantWhitespace.cs: WriteTo implementation.
  27. * XmlText.cs: WriteContentTo and WriteTo implementation.
  28. * XmlTextWriter.cs: WriteRaw implementation.
  29. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  30. 2002-04-05 Kral Ferch <[email protected]>
  31. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  32. if prefix in constructor is one of the default ones.
  33. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  34. even when constructed with null.
  35. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  36. in if they are empty.
  37. * XmlDocument.cs: Implemented CreateNode methods and this caused
  38. the changes in the other files in this checkin.
  39. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  40. even when constructed with null.
  41. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  42. 2002-04-01 Kral Ferch <[email protected]>
  43. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  44. 2002-03-31 Kral Ferch <[email protected]>
  45. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  46. and WriteCharEntity.
  47. * XmlWrite.cs: Fixed bug where attribute namespace decl
  48. was pushing a scope onto the namespace manager when it shouldn't
  49. have been.
  50. 2002-03-31 Kral Ferch <[email protected]>
  51. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  52. in different states (no open start element, in WriteState.Content mode).
  53. 2002-03-29 Kral Ferch <[email protected]>
  54. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  55. and WriteWhitespace.
  56. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  57. and XmlSpace.
  58. 2002-03-29 Kral Ferch <[email protected]>
  59. * XmlTextWriter.cs: Working on Attribute methods.
  60. * XmlWriter.cs: Working on Attribute methods.
  61. 2002-03-28 Duncan Mak <[email protected]>
  62. * XmlDocument.cs (CreateWhitespace):
  63. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  64. method.
  65. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  66. 2002-03-26 Duncan Mak <[email protected]>
  67. * XmlDocument.cs (CreateDocumentType): Implemented.
  68. * XmlNode.cs (Value): Implemented.
  69. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  70. like XmlCharacterData.
  71. * XmlDeclaration.cs (CloneNode):
  72. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  73. arguments.
  74. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  75. docs say it is the "The concatenated values of the node and all
  76. the children of the node.". I wrote some test programs and
  77. couldn't get any of the derived nodes to AppendChild. For now,
  78. InnerText == Data == Value.
  79. (Substring): Fixed typo.
  80. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  81. * XmlImplementation.cs (CreateDocument): Implemented.
  82. 2002-03-25 Duncan Mak <[email protected]>
  83. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  84. missing properties (InnerText, Value).
  85. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  86. 2002-03-23 Kral Ferch <[email protected]>
  87. * XmlTextWriter.cs: Impls for BaseStream and
  88. Namespaces and WriteState.
  89. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  90. 2002-03-23 Kral Ferch <[email protected]>
  91. * XmlNodeListChildren.cs: made class internal
  92. instead of public. Shouldn't be visible outside
  93. of System.Xml.
  94. * XmlTextWriter.cs: Implementations for Formatting,
  95. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  96. Suppresses encoding on xml declaration if null stream passed in.
  97. Formats output including suppressing indentation for elements in
  98. mixed content mode.
  99. * XmlTextWriterOpenElement.cs: Initial checkin.
  100. XmlTextWriter uses stack of these objects to track
  101. state.
  102. 2002-03-22 Mike Kestner <[email protected]>
  103. * XmlElement.cs: impl HasAttribute(string name).
  104. 2002-03-22 Duncan Mak <[email protected]>
  105. * XmlElement.cs: Reformatted.
  106. (CloneNode) Corrected.
  107. * XmlDocument.cs (CreateWhitespace):
  108. (CreateSignificantWhitespace): Implemented.
  109. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  110. true, because Attributes have ChildNodes.
  111. 2002-03-21 Kral Ferch <[email protected]>
  112. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  113. xml declaration along with encoding. WriteEndElement throws
  114. exception if no WriteStartElement exists.
  115. 2002-03-20 Duncan Mak <[email protected]>
  116. * XmlEntityReference.cs (CloneNode): Implemented.
  117. * XmlException.cs (Message): Implemented. We need to cache the
  118. message string because SystemException doesn't expose 'message'
  119. from Exception.
  120. * XmlText.cs (Value): Added in the missing Value property.
  121. 2002-03-20 Duncan Mak <[email protected]>
  122. * XmlAttribute.cs (CloneNode): Implemented.
  123. * XmlDocumentFragment.cs (CloneNode): Implemented.
  124. * XmlElement.cs (CloneNode): Implemented.
  125. 2002-03-19 Duncan Mak <[email protected]>
  126. * XmlNotation.cs: Added to CVS.
  127. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  128. * XmlCDataSection.cs (CloneNode): Implemented.
  129. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  130. (InnerXml, OwnerDocument, ParentNode).
  131. (CloneNode): Implemented.
  132. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  133. (Value) Implemented the 'get' property.
  134. * XmlWhitespace.cs (Module): implemented.
  135. 2002-03-19 Jason Diamond <[email protected]>
  136. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  137. in the prefix.
  138. 2002-03-18 Jason Diamond <[email protected]>
  139. * XmlTextReader.cs: Don't restore properties after reading last
  140. attribute on an element.
  141. * XmlDocument.cs: Move back to element after reading attributes
  142. so that IsEmptyElement test succeeds.
  143. 2002-03-18 Kral Ferch <[email protected]>
  144. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  145. * XmlTextWriter.cs: Implemented namespace and prefix support.
  146. 2002-03-18 Kral Ferch <[email protected]>
  147. * XmlTextReader.cs: Restores properties after
  148. reading last attribute on an element.
  149. * XmlNode.cs: AppendChild sets the parent
  150. on the child.
  151. 2002-03-17 Kral Ferch <[email protected]>
  152. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  153. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  154. * XmlElement.cs: Fixed bug in WriteTo.
  155. * XmlProcessingInstruction.cs: Formatting.
  156. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  157. fixes for WriteEndElement, WriteProcessingInstruction.
  158. 2002-03-17 Kral Ferch <[email protected]>
  159. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  160. had Load() add PIs to the document, moved onXXX methods to alphabetical
  161. order in the file.
  162. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  163. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  164. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  165. WriteContentTo().
  166. * XmlTextWriter.cs: Implementations for WriteEndElement,
  167. WriteProcessingInstruction, WriteStartElement, and WriteString.
  168. * XmlWriter.cs: Implemented WriteStartElement() methods.
  169. 2002-03-15 Duncan Mak <[email protected]>
  170. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  171. InnerText once I know what they do.
  172. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  173. that we can properly chain constructors.
  174. (CloneNode): implemented.
  175. (WriteContentTo): Removed MonoTODO attribute as this method has no
  176. effect in this class.
  177. * XmlProcessingInstruction.cs (Value): Added the missing Set
  178. block.
  179. (InnerText): Added in, but not implemented.
  180. 2002-03-14 Kral Ferch <[email protected]>
  181. * XmlTextWriter.cs: implemented constructors and
  182. WriteCData and WriteComment.
  183. 2002-03-14 Duncan Mak <[email protected]>
  184. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  185. file, and updated the callbacks to reflect the change.
  186. (XmlDocument): Added the NameTable constructor.
  187. (NameTable): Also the NameTable property.
  188. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  189. was in XmlDocument.cs. It has two arguments now (object,
  190. EventArgs) , instead of one (object).
  191. 2002-03-14 Kral Ferch <[email protected]>
  192. * XmlWriter.cs: Formatting.
  193. * XmlTextWriter.cs: Initial checkin.
  194. 2002-03-14 Duncan Mak <[email protected]>
  195. * Validation.cs: Removed, replaced by ValidationType.cs.
  196. * ValidationType.cs: Added.
  197. 2002-03-13 Duncan Mak <[email protected]>
  198. * XmlException.cs: Made it [Serializable], implemented good ol'
  199. GetObjectData, and the serialization constructor.
  200. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  201. (SetNamedItem): Reverted (added back in) the patch with the
  202. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  203. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  204. (GetNamedItem (string, string)): implemented.
  205. (RemoveNamedItem): implemented.
  206. (SetNamedItem): implemented.
  207. 2002-03-12 Kral Ferch <[email protected]>
  208. * XmlAttribute.cs: Moved a method from amongst properties down to
  209. it's alphabetical position in the methods section.
  210. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  211. last linked child. Set XmlNode base class to return false for IsReadOnly().
  212. Implemented GetEnumerator() and RemoveChild().
  213. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  214. This is to support the behavior that the Enumerator doesn't become invalid
  215. when changes to the children occur. Flushed out rest of implementation for
  216. MoveNext, Current, and Reset.
  217. 2002-03-12 Duncan Mak <[email protected]>
  218. * XmlCharacterData.cs: Reformatted the properties for better readability.
  219. * XmlLinkedNode.cs: Removed the awful boxy comments.
  220. * XmlNamedNodeMap.cs (Count):
  221. (Item): Implemented. Tests will be coming.
  222. * XmlEntityReference.cs:
  223. * XmlSignificantWhitespace.cs: Implemented these classes except for
  224. the Clone, WriteContentTo and WriteTo methods. Will have to
  225. investigate into these later.
  226. 2002-03-11 Duncan Mak <[email protected]>
  227. * IHasXmlNode.cs: Added to CVS.
  228. 2002-03-08 Jason Diamond <[email protected]>
  229. * XmlParserContext.cs: Added missing constructors and missing Encoding
  230. property.
  231. * XmlTextReader.cs: Start using the XmlParserContext class.
  232. 2002-03-08 Jason Diamond <[email protected]>
  233. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  234. 2002-03-08 Mike Kestner <[email protected]>
  235. * XmlNode.cs (Item): Implemented both indexers.
  236. 2002-03-08 Jason Diamond <[email protected]>
  237. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  238. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  239. 2002-03-08 Jason Diamond <[email protected]>
  240. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  241. as child nodes so updated to reflect that.
  242. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  243. duplicated in XmlDocument and XmlElement into XmlNode so that it
  244. wouldn't have to be duplicated in XmlAttribute, too.
  245. 2002-03-08 Kral Ferch <[email protected]>
  246. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  247. XmlNode.cs: Formatting.
  248. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  249. for XmlNode.ChildNodes property.
  250. * XmlNodeListAsArrayList.cs: Removed file. Using different
  251. data structure (circular list) in XmlNode so this file
  252. is no longer valid.
  253. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  254. bug in setter property of LastLinkedChild so fixed it.
  255. 2002-03-06 Jason Diamond <[email protected]>
  256. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  257. We already have a parser in XmlTextReader.
  258. * XmlException.cs: Removed constructor accepting XmlInputSource.
  259. 2002-03-06 Kral Ferch <[email protected]>
  260. * XmlNode.cs: Rewrote this class from scratch with
  261. MonoToDo attribs and NotImplementedExceptions. Now defines an
  262. internal LastLinkedNode property to aid the new implementation.
  263. XmlNodes only have ref to owner doc and parent nodes now.
  264. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  265. and ref to next sibling to support walking our circular child
  266. node list.
  267. * XmlDocument.cs: Added ref to last child node and overrides
  268. XmlNode's internal LastLinkedChild property to support walking
  269. our circular child node list.
  270. 2002-03-02 Kral Ferch <[email protected]>
  271. * XmlProcessingInstructions.cs: Class was empty. Implemented
  272. constructor, properties, and CloneNode() method. Put in
  273. MonoToDo attrib for remaining methods.
  274. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  275. Got rid of helper methods and fields since they were no
  276. longer needed.
  277. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  278. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  279. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  280. Createxxx() methods for those three node types.
  281. 2002-03-02 Jason Diamond <[email protected]>
  282. * XmlDocument.cs: Implemented the remaining CreateElement and
  283. CreateAttribute methods.
  284. * XmlAttribute.cs: Re-implemented.
  285. * XmlElement.cs: Set owner element on attributes. Reformatted.
  286. 2002-03-02 Jason Diamond <[email protected]>
  287. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  288. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  289. attributes. Create attribute nodes while loading. Implemented
  290. Load(string) and CreateTextNode().
  291. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  292. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  293. XmlCharacterData.
  294. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  295. 2002-03-02 Mike Kestner <[email protected]>
  296. * XmlAttribute.cs : Using fix.
  297. * XmlDocument.cs (CreateAttribute(String)): Implement.
  298. 2002-03-02 Jason Diamond <[email protected]>
  299. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  300. the name table.
  301. 2002-02-28 Jason Diamond <[email protected]>
  302. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  303. courtesy of Kral Ferch <[email protected]>.
  304. 2002-02-28 Jason Diamond <[email protected]>
  305. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  306. added missing members and MonoTODO attributes.
  307. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  308. 2002-02-27 Jason Diamond <[email protected]>
  309. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  310. attributes.
  311. 2002-02-26 Duncan Mak <[email protected]>
  312. * XmlCDataSection.cs: Initial implementation.
  313. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  314. it out. This should (hopefully) be correct.
  315. 2002-02-26 Jason Diamond <[email protected]>
  316. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  317. namespace declarations as attributes so we do now, too.
  318. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  319. checks the current scope.
  320. 2002-02-26 Duncan Mak <[email protected]>
  321. * XmlDocumentType.cs: Added a few hacks here and there to
  322. temporarily fix the "I broke the build issue".
  323. 2002-02-25 Jason Diamond <[email protected]>
  324. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  325. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  326. simple test to pass. The existing code is really shitty so I'll
  327. probably start writing tests and refactoring before much else
  328. can get done.
  329. 2002-02-25 Duncan Mak <[email protected]>
  330. * NameTable.cs: Implemented.
  331. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  332. 2002-02-24 Duncan Mak <[email protected]>
  333. * XmlNodeOrder.cs: Added to CVS.
  334. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  335. * XmlTokenizedType.cs: Added to CVS.
  336. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  337. 2002-02-23 Duncan Mak <[email protected]>
  338. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  339. (== and !=).
  340. 2002-02-23 Jason Diamond <[email protected]>
  341. * XmlTextReader.cs: Added support for qualified attributes.
  342. 2002-02-23 Jason Diamond <[email protected]>
  343. * XmlNamespaceManager.cs: Initial implementation.
  344. * XmlTextReader.cs: Added support for NamespaceURI property on
  345. elements.
  346. 2002-02-23 Nick Drochak <[email protected]>
  347. * ChangeLog: Add the change log to this directory
  348. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  349. MonoTODO's