ChangeLog 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. 2004-10-05 Atsushi Enomoto <[email protected]>
  2. * XPathNavigatorReader.cs : Actually all other kind of nodes than
  3. Element and Root must be treated as "start node only" as well as
  4. attributes and namespaces.
  5. 2004-10-05 Atsushi Enomoto <[email protected]>
  6. * XPathDocument2Editable.cs : for WriteAttributes(), use
  7. CreateAttributesWriter() that creates attribute tree XmlWriter.
  8. * XPathNavigatorReader.cs : the reader was missing attributes when
  9. it is created with an element node that has attriibutes.
  10. 2004-10-04 Atsushi Enomoto <[email protected]>
  11. * XPathNavigatorReader.cs : It can reject attribute and namespace
  12. nodes as its input (It is used only for WriteNode(), InsertBefore()
  13. and so on, which are not intended to be used with attribute nodes).
  14. On Initial state, it was Element that should check IsEmptyElement,
  15. and Root should just go to the first child node.
  16. 2004-10-04 Atsushi Enomoto <[email protected]>
  17. * XPathNavigatorReader.cs : When the reader's root node is not of type
  18. Root, it incorrectly skipped the node itself.
  19. 2004-09-06 Atsushi Enomoto <[email protected]>
  20. * XPathDocument2.cs, XPathDocument2Editable.cs:
  21. Redesigned API. Child node list should not be required (it also
  22. harms performance). Reduced extraneous methods for XPathNavigator
  23. / XPathEditableNavigator implementation support.
  24. * XPathEditableDocument.cs : event registration was missing (due to
  25. XPathDocument changes, it might not be required anymore though).
  26. * XPathNavigatorReader.cs :
  27. Namespace nodes were not handled correctly.
  28. EOF handling was incorrect.
  29. Reduced extraneous clone from MoveTo/GetAttribute(int) and
  30. 2004-09-01 Atsushi Enomoto <[email protected]>
  31. * XPathNavigatorReader.cs : on GetAttributeNavigator(int), namespace
  32. node could be this XmlReader's attribute node.
  33. 2004-08-02 Atsushi Enomoto <[email protected]>
  34. * XPathDocument2.cs : new IXPathNavigable implementation
  35. XPathDocument2Navigator.cs : new XPathNavigator implementation
  36. XPathDocument2Editable.cs : new XPathEditableNavigator implementation
  37. To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
  38. (It is still too unstable to pass all nunit tests and standalone XSLT
  39. tests).
  40. 2004-07-30 Atsushi Enomoto <[email protected]>
  41. * DTMXPathNavigator.cs :
  42. Fixed IsSamePosition(). currentAttr is not always the same as
  43. that of other when current is not attribute. Ditto for currentNS
  44. (when current is not namespace).
  45. * XPathNavigatorReader.cs : Fixed NodeType - 1) When attribute value is
  46. being consumed, then node type should be Text, and 2) Root node is
  47. usually mapped to Document, but XmlReader never returns Document,
  48. just None (both on Initial state and EndOfFile state).
  49. 2004-07-30 Atsushi Enomoto <[email protected]>
  50. * XPathNavigatorReader.cs : fixed GetAttributeNavigator() that
  51. incorrectly used MoveToNextAttribute().
  52. 2004-07-29 Atsushi Enomoto <[email protected]>
  53. * XPathNavigatorReader.cs :
  54. - it is used only in 2.0 classes.
  55. - It now behaves as a fragment reader.
  56. - Depth is optimized not to call Clone() and MoveToParent().
  57. - AttributeCount could be counted only once in Read().
  58. - ReadState transition is adjusted to be same as other XmlReaders.
  59. - name strings now return "" on initial state.
  60. 2004-07-28 Atsushi Enomoto <[email protected]>
  61. * Added XPathEditableDocument.cs.
  62. - XPathEditableDocument provides IXPathEditable.
  63. - XmlDocumentEditableNavigator implements XPathEditableNavigator
  64. that supports CreateAttributes(), AppendChild() and so on.
  65. It is nothing more than hack, and as an XPathEditableNavigator
  66. provider for XPathDocument, it will be replaced by something.
  67. 2004-07-13 Atsushi Enomoto <[email protected]>
  68. * Added XPathNavigatorReader.cs.
  69. 2004-06-06 Atsushi Enomoto <[email protected]>
  70. * DTMXPathDocumentBuilder.cs : Close XmlTextReader strictly. It might
  71. raise an error after opening stream and before try-catch.
  72. 2004-05-20 Atsushi Enomoto <[email protected]>
  73. * Pattern.cs : don't throw System.Exception. Delegate error handling to
  74. the only one caller CompilePattern().
  75. 2004-05-12 Atsushi Enomoto <[email protected]>
  76. * Pattern.cs : made class internal.
  77. 2004-02-26 Atsushi Enomoto <[email protected]>
  78. * DTMXPathDocumentBuilder.cs : Close XmlReader when we passed uri.
  79. 2004-02-18 Atsushi Enomoto <[email protected]>
  80. * LocationPathPattern.cs : Implemented easy XPathNavigator cache on
  81. predicate evaluation in Matches().
  82. 2004-02-17 Atsushi Enomoto <[email protected]>
  83. * KeyPattern.cs, Pattern.cs : removed using decls.
  84. 2004-02-17 Atsushi Enomoto <[email protected]>
  85. * LocationPathPattern.cs : Optimized Matches(). For non-positional
  86. patterns, it never iterates predicate, just evaluate boolean.
  87. 2004-02-16 Atsushi Enomoto <[email protected]>
  88. * DTMXPathDocument.cs,
  89. DTMXPathDocumentBuilder.cs,
  90. DTMXPathDocumentWriter.cs,
  91. DTMXPathNavigator.cs,
  92. DTMXPathNode.cs :
  93. Made classes internal by default (still publicly available with
  94. OUTSIDE_SYSTEM_XML switch). Removed unused "position" field.
  95. Optimized DTMXPathNavigator.Value a bit.
  96. * LocationPathPattern.cs : Modified some fields to private.
  97. 2004-02-13 Atsushi Enomoto <[email protected]>
  98. * Added DTMXPathDocumentWriter.cs. It supports DTMXPathNavigator as
  99. the resulting document tree.
  100. * DTMXPathDocumentBuilder.cs : Code refactory (to get closer to dtm
  101. writer and commonify tasks they both should do). Reduced initial
  102. array size (400 to 200, for attribute 800 to 200), and extending
  103. size from 2x to 4x (to reduce _times_ of allication copy).
  104. * DTMXPathNode.cs : (and all above) added experimental "DTM_CLASS"
  105. switch, which changes nodes from struct to class. (It will reduce
  106. memory consumption by 2/3, but will also reduce speed by 2/3.)
  107. 2004-01-27 Atsushi Enomoto <[email protected]>
  108. * DTMXPathDocumentBuilder.cs : Namespace nodes are incorrectly created.
  109. This fix should make XPathDocument compatible with XmlDocument.
  110. 2004-01-26 Atsushi Enomoto <[email protected]>
  111. * DTMXPathDocument.cs : CreateNavigator() should return the first root
  112. as a clone.
  113. * DTMXPathNavigator.cs : ComparePosition() incorrectly compared
  114. attributes and namespaces orders. Implemented IsSamePosition() more
  115. efficient. MoveToFirstNamespace() should return false when the
  116. current node is either attribute or namespace. Fixed IsDescendant()
  117. which looks resulted in incorrect behavior.
  118. 2003-12-18 Atsushi Enomoto <[email protected]>
  119. * DTMXPathDocumentBuilder.cs : Removed supportsID argument and always
  120. assumes to support IDs when specified XmlValidatingReader.
  121. Quick fix for NullReferenceException when type was null.
  122. 2003-11-19 Atsushi Enomoto <[email protected]>
  123. * KeyPattern.cs : Matches() should iterate candidate keys to the end.
  124. 2003-11-19 Atsushi Enomoto <[email protected]>
  125. * IdPattern.cs,
  126. KeyPattern.cs : Implemented Matches(), overrode DefaultPriority,
  127. modified inheritance.
  128. * Pattern.cs : Added id and key pattern support.
  129. 2003-11-02 Atsushi Enomoto <[email protected]>
  130. * DTMXPathNavigator.cs : Fixed MoveToNamespace() that might result in
  131. infinite loop.
  132. 2003-10-04 Atsushi Enomoto <[email protected]>
  133. * DTMXPathDocumentBuilder.cs : Bugfix for whitespace handling.
  134. 2003-10-01 Atsushi Enomoto <[email protected]>
  135. * Added DTMXPathNode.cs.
  136. * Fundamental changes in whole DTM stuff. Node information is now array
  137. of "node struct" instead of individual arrays.
  138. 2003-09-21 Ben Maurer <[email protected]>
  139. * Pattern.cs: save the parser (will reduce memory allocation when
  140. Jackson's jay patch is committed).
  141. 2003-09-20 Ben Maurer <[email protected]>
  142. * Pattern.cs: Typo, when i got //a i was giving off /
  143. * LocationPathPattern.cs: Append to the tail, not head.
  144. 2003-09-14 Atsushi Enomoto <[email protected]>
  145. * DTMXPathNavigator.cs,
  146. DTMXPathDocument.cs,
  147. DTMXPathDocumentBuilder.cs : Added IXmlLineInfo support. Removed
  148. node's extraneous schemaType. Some code reformatting.
  149. 2003-09-13 Ben Maurer <[email protected]>
  150. * Pattern.cs: Support static context.
  151. 2003-08-25 Ben Maurer <[email protected]>
  152. * DTMXPathNavigator.cs: Allocate valueBuilder on first use.
  153. 2003-08-14 Atsushi Enomoto <[email protected]>
  154. * DTMXPathDocument.cs,
  155. DTMXPathDocumentBuilder.cs,
  156. DTMXPathNavigator.cs :
  157. - Implemented ID support using XmlValidatingReader.
  158. - Prefix should be String.Empty even if XmlReader.Prefix is null.
  159. 2003-07-23 Atsushi Enomoto <[email protected]>
  160. * DTMXPathDocumentBuilder.cs :
  161. Fixed Read() that sets nodes' parent incorrectly.
  162. 2003-07-17 Peter Williams <[email protected]>
  163. * DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
  164. than mcs. We need to disambiguate System.Math from Mono.Math here.
  165. 2003-06-30 Atsushi Enomoto <[email protected]>
  166. * Initial checkin.
  167. * Added ChangeLog, DTMXPathDocument.cs, DTMXPathDocumentBuilder.cs
  168. and DTMXPathNavigator.cs.