ChangeLog 14 KB

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