ChangeLog 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. 2003-11-24 Atsushi Enomoto <[email protected]>
  2. * Parser.jay, Expression.cs, Iterator.cs :
  3. Added ExprParens and ParensIterator classes which is used to handle
  4. precedence of parenthesized expressions.
  5. (e.g. consider "(preceding::*)[3]" and "preceding::[3]" )
  6. * Expression.cs, Iterator.cs :
  7. Added RequireSorting property for each Expr and BaseIterator classes.
  8. SlashIterator.MoveNext() now considers correct sorting. But
  9. considering performance, it separates two logics, sorted and sortless
  10. depending on RequireSorting of left iterator and right expression.
  11. * Iterator.cs :
  12. SimpleIterator.ctor() should consider when nav is null.
  13. FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
  14. not return any nodes.
  15. AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
  16. positions.
  17. AncestorIterator.MoveNext() should skip Root if context node is
  18. Root itself.
  19. FollowingIterator.MoveNext() should not handle children of context
  20. itself.
  21. PrecedingIterator.MoveNext() should skip its ancestors.
  22. AxisIterator.ReverseAxis should be dependent on its containing iter.
  23. UnionIterator.MoveNext() should consider comparison of nodes in
  24. different document. The behavior is implementation dependent.
  25. (see XSLT spec 12.1)
  26. 2003-11-19 Atsushi Enomoto <[email protected]>
  27. * Added XPathComparer.cs
  28. * DefaultContext.cs : Fixed XPathFunctionId.Evaluate() to iterate base
  29. iterator correctly, and sort results.
  30. 2003-11-19 Atsushi Enomoto <[email protected]>
  31. * DefaultContext.cs : Imcomplete fix ;-)
  32. 2003-11-19 Atsushi Enomoto <[email protected]>
  33. * DefaultContext.cs : XPathFunctions.ToNumber() should catch overflow.
  34. XPathFunctionId.cs : Exposed Id expression.
  35. * Expression.cs : Added ExprLiteral.Value, and class ExprParens (it
  36. will be used to solve evaluation precedence problem).
  37. 2003-11-09 Atsushi Enomoto <[email protected]>
  38. * Iterator.cs : Fixed SlashIterator that might return nodes 1)in
  39. inconsistent order, and 2)may return duplicate result nodes.
  40. 2003-11-06 Ben Maurer <[email protected]>
  41. * Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
  42. it inherit from the base class. This made b[2] evaluated on
  43. <a /><b /><c /><a /><b /><c /> return the first b node because
  44. in the ChildIterator it was the second node and seemed to satsify
  45. the predicate.
  46. 2003-11-04 Atsushi Enomoto <[email protected]>
  47. * Iterator.cs : Added bool ReverseAxis property to identify whether
  48. the iterator is in reverse order or not. Added ComparablePosition
  49. for correct position comparison for PredicateIterator and reverse-
  50. order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
  51. PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
  52. return their nodes in document order. This fixes bugzilla #39079.
  53. 2003-10-15 Atsushi Enomoto <[email protected]>
  54. * Iterator.cs : DescendantIterator and FollowingIterator also should
  55. not MoveNext() after they reached to the end.
  56. 2003-10-13 Atsushi Enomoto <[email protected]>
  57. * Iterator.cs : Fixed UnionIterator who ignores document order.
  58. Fixed SlashIterator whose MoveNext() should finish at its end.
  59. 2003-09-27 Ben Maurer <[email protected]>
  60. * Iterator.cs, Expression.cs, XPathNavigator.cs: In AxisIterator
  61. use NameTable so we dont call strcmp.
  62. 2003-09-27 Ben Maurer <[email protected]>
  63. * DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
  64. not "abc".
  65. * Iterator.cs, Expression.cs: All axes are
  66. SimpleIterators. SimpleIterators are gaurenteed to give the same
  67. XPathNavigator in Current. Make AxisIterator take a
  68. SimpleIterator, not any old BaseIterator. Will allow us to make
  69. NameTable optimizations and avoid quite a few strcmp's.
  70. 2003-09-24 Ben Maurer <[email protected]>
  71. * Expression.cs: make // work right, must use another slash itr.
  72. 2003-09-21 Ben Maurer <[email protected]>
  73. * Expression.cs: cant use $$ before assigned.
  74. 2003-09-21 Ben Maurer <[email protected]>
  75. * Expression.cs, Parser.jay, XPathNavigator.cs: api beautification.
  76. 2003-09-20 Ben Maurer <[email protected]>
  77. * Expression.cs: num != double.NaN does not work.
  78. 2003-09-19 Ben Maurer <[email protected]>
  79. * Expression.cs: in NodeTypeTest dont throw an exception if it is
  80. an unknown node type (allows for better Pattern debugging).
  81. 2003-09-17 Ben Maurer <[email protected]>
  82. * DefaultContext.cs: implement sum () and translate ().
  83. 2003-09-13 Ben Maurer <[email protected]>
  84. * XPathNavigator.cs: Make methods where you pass in the context,
  85. so that we dont have to clone expressions so much.
  86. 2003-09-06 Ben Maurer <[email protected]>
  87. * DefaultContext.cs, Expresssion.cs, Parser.jay: Rewrite so that
  88. system functions are actually expressions. Will allow for some
  89. nice optimizations.
  90. 2003-08-25 Ben Maurer <[email protected]>
  91. * XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
  92. improvement in the method (5ms/call -> .7 ms / call) measured by
  93. monodoc's rendering of N:System.
  94. * Expression.cs: Utility methods to support above.
  95. 2003-08-13 Piers Haken <[email protected]>
  96. * Iterator.cs:
  97. fix MergedIterator.Clone(), now clones other's iterators
  98. fix DescendantIterator.Clone(), now copies depth
  99. make iterator cloning constructors more type-specific
  100. 2003-08-01 Piers Haken <[email protected]>
  101. * Expression.cs: added NodeNamespaceTest
  102. * XPathNavigator.cs: implement Select* with namespaces
  103. 2003-07-31 Ben Maurer <[email protected]>
  104. * Iterator.cs: Allow creation of an EnumeratorIterator with an
  105. XmlNamespaceManager.
  106. 2003-07-31 Piers Haken <[email protected]>
  107. * Parser.jay:
  108. Nested predicates (uses ExprFilter instead)
  109. more type safety
  110. make grammar look more like w3c spec
  111. * Expression.cs:
  112. remove ExprStep, ExprPredicates
  113. NodeTest is now a NodeSet
  114. more type-safety
  115. * Iterator.cs:
  116. PredicateIterator now only takes a single predicate expression
  117. more type-safety
  118. * XPathNavigator.cs:
  119. simplified SelectTest
  120. * XPathException.cs:
  121. fixed indenting
  122. 2003-07-30 Duncan Mak <[email protected]>
  123. * XPathException.cs
  124. (GetObjectData):
  125. (Message): Added.
  126. 2003-07-29 Piers Haken <[email protected]>
  127. * DefaultContext.cs: 'local-name' returns String, not NodeSet!
  128. 2003-07-29 Piers Haken <[email protected]>
  129. * XPathNavigator.cs:
  130. * Expression.cs:
  131. add typesafe Evaluate* methods
  132. 2003-07-29 Piers Haken <[email protected]>
  133. * DefaultContext.cs: fix 'substring-after'
  134. 2003-07-29 Piers Haken <[email protected]>
  135. * Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)
  136. 2003-07-29 Ben Maurer <[email protected]>
  137. * Iterator.cs: dont throw exceptions on tostring ()
  138. 2003-07-28 Piers Haken <[email protected]>
  139. * DefaultContext.cs: better handling of null argument lists
  140. * XPathNavigator.cs: implement ComparePosition
  141. 2003-07-28 Piers Haken <[email protected]>
  142. * Expression.cs: boolean operators: handle comparing .Any better
  143. 2003-07-28 Piers Haken <[email protected]>
  144. * DefaultContext.cs: count() should return a double
  145. * Expression.cs: better support for handling non-double numbers
  146. 2003-07-28 Piers Haken <[email protected]>
  147. * DefaultContext.cs: better function param matching
  148. 2003-07-27 Piers Haken <[email protected]>
  149. * Expression.cs:
  150. * DefaultContext.cs:
  151. catch FormatExceptions while parsing numbers
  152. 2003-07-27 Piers Haken <[email protected]>
  153. * Expression.cs:
  154. fix case sorting order
  155. allow EvaluateNumber to take XPathResultType.Any
  156. 2003-07-27 Piers Haken <[email protected]>
  157. * Expression.cs:
  158. * Tokenizer.cs:
  159. don't pass null to XmlQualifiedName constructor
  160. 2003-07-27 Piers Haken <[email protected]>
  161. * DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)
  162. 2003-07-27 Piers Haken <[email protected]>
  163. * Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any
  164. 2003-07-26 Piers Haken <[email protected]>
  165. * Expression.cs: fix function evaluation with ambigous argument types
  166. * XPathNavigator.cs: fix silly null reference bug
  167. 2003-07-26 Piers Haken <[email protected]>
  168. * Iterator.cs:
  169. * DefaultContext.cs:
  170. ArrayListIterator->EnumeratorIterator
  171. * Expression.cs: add sorting support
  172. 2003-07-26 Piers Haken <[email protected]>
  173. * Tokenizer.cs:
  174. * Parser.jay:
  175. move QName parsing into tokenizer
  176. * Expression.cs:
  177. fix evaluating XPathResultType.Any
  178. fix ExprDiv.ToString()
  179. fix NodeTypeTest.ToString() (for namespace axis)
  180. 2003-07-25 Piers Haken <[email protected]>
  181. * Expression.cs: return clone of $var evaluation
  182. 2003-07-26 Piers Haken <[email protected]>
  183. * Iterator.cs: add setter for NamespaceManager
  184. * XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
  185. * Expression.cs: fix func/var exception strings
  186. 2003-07-25 Piers Haken <[email protected]>
  187. * Expression.cs: implement ExprFilter.Evaluate
  188. 2003-07-25 Piers Haken <[email protected]>
  189. * Expression.cs: implement ExprVariable.Evaluate
  190. 2003-07-24 Ben Maurer <[email protected]>
  191. * DefaultContext.cs: implement lang ()
  192. 2003-07-24 Piers Haken <[email protected]>
  193. * Parser.jay:
  194. * Expression.cs:
  195. allow ExprUNION to take non-nodeset (eg, $var) arguments
  196. 2003-07-24 Piers Haken <[email protected]>
  197. * Tokenizer.cs: fix variable references
  198. * Parser.jay:
  199. * Expression.cs:
  200. * XPathNavigator.cs:
  201. use XmlQualifiedName
  202. 2003-06-30 Atsushi Enomoto <[email protected]>
  203. * XPathDocument.cs : removed Driver class and restored authors' name
  204. (though it is completely rewrote).
  205. 2003-06-30 Atsushi Enomoto <[email protected]>
  206. * XPathDocument.cs : Replaced existing stub class with real
  207. XPathDocument implementation.
  208. 2003-04-28 Piers Haken <[email protected]>
  209. * Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens
  210. 2003-03-07 Piers Haken <[email protected]>
  211. * Tokenizer.cs: allow '.'s in NCNames
  212. 2003-03-07 Piers Haken <[email protected]>
  213. * Exression.cs:
  214. * DefaultContext.cs:
  215. fixed function argument resolution
  216. 2003-02-09 Piers Haken <[email protected]>
  217. * XPathNavigator.cs:
  218. * Iterator.cs:
  219. * Expression.cs: fix namespace handling
  220. 2003-01-04 Piers Haken <[email protected]>
  221. * Parser.*: Remove extraneous "using" that was stopping the build. Permanently thisi time ;-)
  222. 2003-02-02 Piers Haken <[email protected]>
  223. * Parser.jay: add token names
  224. * Tokenizer.cs: fix NCName tokenization
  225. 2003-01-02 Atsushi Enomoto <[email protected]>
  226. * Tokenizer.cs : Fixed ParseIdentifier to allow digits.
  227. (It should be a temporary fix.)
  228. 2002-09-22 Nick Drochak <[email protected]>
  229. * Parser.cs: Remove extraneous "using" that was stopping the build.
  230. 2002-09-21 Piers Haken <[email protected]>
  231. * XPathException: implementation
  232. * Expression.cs:
  233. * Iterator.cs:
  234. * Parser.jay:
  235. * Tokenizer.jay:
  236. * XPathNavigator.jay:
  237. use XPathException.
  238. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  239. * Parser.cs: commented out non-existent namespace (it compiles fine
  240. with mcs because of a bug that is already on bugzilla).
  241. 2002-09-12 Piers Haken <[email protected]>
  242. * Tokenizer.cs: fix parsing numbers that start with '.'
  243. * DefaultContext.cs: use MS-compatible formatting of doubles
  244. 2002-09-12 Piers Haken <[email protected]>
  245. * Iterator.cs: added NullIterator to handle unspecified contexts
  246. * XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
  247. * XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators
  248. 2002-09-12 Piers Haken <[email protected]>
  249. * Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
  250. * Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
  251. * DefaultContext.cs: fix id() return type.
  252. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  253. * DefaultContext.cs: fixed bug #28840.
  254. * Expression.cs: added FIXME.
  255. 2002-08-17 Jason Diamond <[email protected]>
  256. * XPathNavigator.cs: Fixed matching on patterns that look like
  257. absolute XPath expressions.
  258. 2002-08-17 Jason Diamond <[email protected]>
  259. * XPathNavigator.cs: Added naive (but working) implementation of
  260. Matches.
  261. 2002-07-31 Piers Haken <[email protected]>
  262. * XPathDocument.cs: simple, XmlDocument-based implementation
  263. 2002-07-25 Piers Haken <[email protected]>
  264. * DefaultContext.cs: implement XPathFunctionName 'name()' function.
  265. 2002-07-17 Piers Haken <[email protected]>
  266. * DefaultContext.cs: implement 'string-length()', 'normalize-space()'
  267. * Parser.jay: remove redundant production
  268. * Expression.cs: add switches for debugging under VS.NET
  269. 2002-07-17 Piers Haken <[email protected]>
  270. * Expression.cs: implement nodeset/nodeset comparisons (non-optimal)
  271. 2002-07-15 Piers Haken <[email protected]>
  272. * Iterator.cs:
  273. - rename UnionIterator to MergedIterator,
  274. - create new UnionIterator to implment uniqueness for '|' operator
  275. - fix position bug in ArrayListIterator.Clone()
  276. * Expression.cs: use new UnionIterator constructor syntax
  277. 2002-07-12 Piers Haken <[email protected]>
  278. * Iterator.cs: PredicateIterator: handle numeric predicates
  279. * Parser.jay: add some debugging support: yyparseDebug
  280. * Tokenizer.cs: cleanup, include '-' chars in identifier tokens
  281. 2002-06-29 Piers Haken <[email protected]>
  282. * Expression.cs:
  283. - remove dead code
  284. - NodeTest uses XPathResultType instead of internal NodeTestTypes enum
  285. - remove NodeTestTypes enum
  286. - remove NodeTestTypeAny (functionality provided by base now)
  287. - fix ExprStep to handle wildcard QNames
  288. * Parser.jay:
  289. - moved to Mono.Xml.XPath namespace
  290. - use XPathResultType
  291. - handle wildcard QNames
  292. * Tokenizer.cs: moved to Mono.Xml.XPath namespace
  293. * XPathNavigator.cs: implement
  294. - IsDescendant
  295. - SelectAncestors
  296. - SelectDescendants
  297. - SelectChildren
  298. * XPathResultType.cs: fix enum values
  299. 2002-06-24 Jason Diamond <[email protected]>
  300. * XPathScanner.cs: Removed.
  301. 2002-06-24 Dick Porter <[email protected]>
  302. * XmlCaseOrder.cs: Fix namespace
  303. 2002-06-23 Piers Haken <[email protected]>
  304. * DefaultContext.cs: implemented XPathFUnctionId
  305. * Iterator.cs: new ArrayListIterator for id() support
  306. 2002-06-23 Piers Haken <[email protected]>
  307. * XPathNavigator.cs: implement:
  308. - Compile
  309. - Evaluate
  310. - Clone
  311. - Select
  312. - ToString
  313. - some forwarding methods
  314. * XPathNodeIterator: implement caching Count
  315. * Tokenizer.cs: new XPath tokenizer
  316. * Parser.jay: new XPath grammar
  317. * Parser.cs: new precompiled XPath grammar
  318. * Expression.cs: new XPath expression objects
  319. * Iterator.cs: new XPath result/context objects
  320. * DefaultContext.cs: new XPath function binding context
  321. 2002-05-08 Tim Coleman <[email protected]>
  322. * XPathDocument.cs:
  323. * XPathException.cs: New stub files added.
  324. 2002-04-12 Duncan Mak <[email protected]>
  325. * XmlCaseOrder.cs: Moved to here from System.Xml.
  326. 2002-03-26 Jason Diamond <[email protected]>
  327. * XPathScanner.cs: Now handles name tests with wildacards. Abbreviated
  328. steps. Both absolution and relative abbreviated location paths.
  329. 2002-03-25 Jason Diamond <[email protected]>
  330. * XPathScanner.cs: Added new file. This class is supposed to be internal
  331. but that would make it impossible to test.
  332. 2002-03-08 Duncan Mak <[email protected]>
  333. * XPathNamespaceScope.cs:
  334. * XPathNodeType.cs:
  335. * XPathResultType.cs:
  336. * XmlDataType.cs:
  337. * XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
  338. implementation. XPathResultType is interesting as EnumCheck does
  339. not show the Navigator element, but shows the String element twice.
  340. 2002-03-08 Jason Diamond <[email protected]>
  341. * XmlDataType.cs, XmlSortOrder.cs, XPathNodeType.cs: Added files.
  342. 2002-03-06 Jason Diamond <[email protected]>
  343. * ChangeLog: Added to this directory.
  344. * XPathExpression.cs, XPathNamespaceScope.cs, XPathNodeIterator.cs,
  345. XPathResultType.cs: New files.
  346. * XPathNavigator.cs: Stubbed out all properties and methods.