ChangeLog 18 KB

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