ChangeLog 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958
  1. 2004-12-26 Atsushi Enomoto <[email protected]>
  2. * XPathNavigator.cs : Added CheckValidity() and ValueType.
  3. For SetTypedValue(), throw NotSupportedException instead of
  4. NotImplementedException.
  5. 2004-12-16 Atsushi Enomoto <[email protected]>
  6. * XPathNavigator.cs :added MoveToFollowing(), ReplaceSelf() and
  7. all the missing attributes.
  8. 2004-12-04 Atsushi Enomoto <[email protected]>
  9. * XPathDocument.cs : switch to DTMXPathNavigator2 which fully
  10. eliminated string fields from struct.
  11. (When we switch from struct to class, revert this change to use
  12. DTMXPathNavigator, since class-based DTMXPathNavigator2 is rather
  13. wasting processing speed.)
  14. 2004-12-02 Atsushi Enomoto <[email protected]>
  15. * Iterator.cs : when PredicateIterator has a numeric predicate, it
  16. will never be true twice. So just break up the iteration on true.
  17. * XPathNavigator.cs : implemented LookupPrefix().
  18. * Expression.cs : ExprParens.Optimize() could just return the content
  19. expression.
  20. 2004-12-01 Atsushi Enomoto <[email protected]>
  21. * IXPathChangeNavigable.cs,
  22. XmlChangeFilters.cs,
  23. XPathDocumentNodeChangedAction.cs : removed old files.
  24. 2004-12-01 Atsushi Enomoto <[email protected]>
  25. * Iterator.cs : with related to the previous patch, many comments
  26. got making no sense. Thanks to Harinath.
  27. 2004-12-01 Atsushi Enomoto <[email protected]>
  28. * Iterator.cs : actually I mean this patch.
  29. 2004-12-01 Atsushi Enomoto <[email protected]>
  30. * Iterator.cs : Create _current clone only when required. So just set
  31. null when MoveNextCore() succeeded (except for some cases that
  32. _current is _nav, such as SelfIterator).
  33. 2004-11-30 Atsushi Enomoto <[email protected]>
  34. * Iterator.cs : SlashIterator.RequireSorting is always false. Whether
  35. it has to collect nodes in prior or not and whether it might return
  36. nodes in inconsistent order is different matter.
  37. (It still needs to store nodes when either of branches requires
  38. sorting, because they might return the same node later.)
  39. 2004-11-30 Atsushi Enomoto <[email protected]>
  40. * Iterator.cs : reduced some extraneous ComparePosition() that could
  41. be written as IsSamePosition(). ParentIterator doesn't have to be
  42. RequireSorting.
  43. 2004-11-30 Atsushi Enomoto <[email protected]>
  44. * Iterator.cs : reimplemented AncestorIterator and
  45. AncestorOrSelfIterator just to collect parents and not to move to
  46. siblings. In some cases like thousands of siblings, it used to be
  47. so slow, while we usually don't have so deep ancestors.
  48. 2004-11-26 Atsushi Enomoto <[email protected]>
  49. * Expression.cs : warning removal. Added Optimize() which is not
  50. implemented at all.
  51. * Tokenizer.cs : warning elimination
  52. 2004-11-24 Atsushi Enomoto <[email protected]>
  53. * XPathEditableNavigator.cs, XPathChangeNavigator.cs,
  54. IXPathEditable.cs : more removal of oldies.
  55. 2004-11-24 Atsushi Enomoto <[email protected]>
  56. * NodeChangedEventArgs.cs, NodeChangedEventHandler.cs : removed oldies.
  57. 2004-11-08 Atsushi Enomoto <[email protected]>
  58. * Tokenizer.cs : just use raw string instead of char[].
  59. * XPathNavigator.cs : reuse NameTable when creating XmlTextReader.
  60. 2004-11-07 Atsushi Enomoto <[email protected]>
  61. * Iterator.cs :
  62. - Made copy constructor certainly different from other constructors.
  63. - Position is never computed in each derived type. All MoveNext() are
  64. now MoveNextCore().
  65. - Most of the protected members could just be private.
  66. 2004-11-05 Atsushi Enomoto <[email protected]>
  67. * Expression.cs, XPathNavigator.cs : hold raw expression field for
  68. get_Expression. It is preparation for expression optimization.
  69. 2004-11-05 Atsushi Enomoto <[email protected]>
  70. * Iterator.cs : SimpleIterator._current could be cloned only when
  71. it is required.
  72. 2004-11-05 Atsushi Enomoto <[email protected]>
  73. * Iterator.cs : Some removal of Clone() were harmless.
  74. 2004-10-22 Atsushi Enomoto <[email protected]>
  75. * XPathDocument.cs : now all the new stuff that used to be in 2.0 are
  76. reverted.
  77. * XPathEditableNavigator.cs : It will be removed. Right now modified
  78. a bit to pass build.
  79. * XPathNavigator.cs : Added members that are merged from
  80. XPathEditableNavigator. Updated members name.
  81. 2004-10-14 Atsushi Enomoto <[email protected]>
  82. * Iterator.cs :
  83. - Added WrapperIterator to return BaseIterator in such case that
  84. variable reference is resolved to XPathNodeIterator. This fixes
  85. bug #68267.
  86. - Path ".." is reverse axis (actually no effect).
  87. - Fixed DescendantIterator.Clone() that missed "_finished" field.
  88. * Expression.cs :
  89. In ExprVariable.Evaluate(), use WrapperIterator() for custom
  90. XPathNodeIterator.
  91. 2004-10-09 Atsushi Enomoto <[email protected]>
  92. * XPathAtomicValue.cs : Init(string, XmlSchemaType) is private.
  93. 2004-10-05 Atsushi Enomoto <[email protected]>
  94. * XPathAtomicValue.cs : missing Init() definition for float and string;
  95. latter one resulted in infinite loop in Init(object,XmlSchemaType).
  96. 2004-10-04 Atsushi Enomoto <[email protected]>
  97. * XPathNavigator.cs : TypedValue could be implemented.
  98. * XPathEditableNavigator.cs : removed some MonoTODO since now there
  99. are implementations.
  100. 2004-09-13 Atsushi Enomoto <[email protected]>
  101. * XPathAtomicValue.cs : All .ctor() are separeted from Init().
  102. In .ctor(object, XmlSchemaType):
  103. - For lists that contains just one item, Init() recursively.
  104. - For XPathAtomicValue, Init() recursively for its content fields.
  105. For Value and TypedValue, consider typecode from XmlSchemaType.
  106. 2004-09-06 Atsushi Enomoto <[email protected]>
  107. * XPathEditableNavigator.cs :
  108. AppendChild(xmlReader) ignored nodes after than first one, and
  109. resulted in infinite loop.
  110. Added get_OuterXml overrides. set_OuterXml should not move to
  111. parent before deleting current.
  112. 2004-08-25 Atsushi Enomoto <[email protected]>
  113. * XPathAtomicValue.cs : Value was not returning expected value when
  114. it is created as new XPathAtomicValue (object, XmlSchemaType).
  115. Compute stringValue and reuse.
  116. * XPathNavigator.cs : Temporarily stubbed as to ignore SchemaInfo
  117. (for checking XQuery implementation).
  118. 2004-08-25 Atsushi Enomoto <[email protected]>
  119. * XPathAtomicValue.cs : Handle .ctor() with object parameter more
  120. precisely (still not enough, for list argument).
  121. Removed commended blocks.
  122. 2004-08-24 Atsushi Enomoto <[email protected]>
  123. * XPathAtomicValue.cs : DateTime should be convertible to string.
  124. Use schemaType's TypeCode for .ctor() that takes object.
  125. * XPathNavigator.cs : copied get_InnerXml from XPathEditableNavigator.
  126. * XPathEditableNavigator.cs : set_InnerXml should be different (new)
  127. property from get_InnerXml. Removed get_InnerXml and get_OuterXml
  128. overrides.
  129. 2004-08-23 Atsushi Enomoto <[email protected]>
  130. * XPathAtomicValue.cs, XPathNavigator.cs : Eliminate MS.Internal.Xml.*.
  131. 2004-08-03 Atsushi Enomoto <[email protected]>
  132. * XPathEditableNavigator.cs : implemented some editor support methods.
  133. 2004-08-02 Atsushi Enomoto <[email protected]>
  134. * XPathDocument.cs :
  135. - For .NET 2.0, added a switch to support new XPathDocument2.
  136. If switch is off, then it uses DTM.
  137. - Implemented remaining 2.0 bits (except for Obsolete ones).
  138. To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
  139. (It is still too unstable to pass all nunit tests and standalone XSLT
  140. tests).
  141. 2004-07-29 Atsushi Enomoto <[email protected]>
  142. * XPathNavigator.cs : Implemented ReadSubtree().
  143. 2004-07-28 Atsushi Enomoto <[email protected]>
  144. * XPathDocument.cs : for .ctor() and .ctor(XmlNameTable), now it
  145. creates Mono.Xml.XPath.XPathEditableDocument and thus supports
  146. IXPathEditable.CreateEditor().
  147. 2004-07-28 Atsushi Enomoto <[email protected]>
  148. * XPathEditableNavigator.cs : Implemented InsertAfter() and
  149. PrependChild(); they are virtual, not abstract.
  150. * XPathNavigator.cs :
  151. Implemented many 2.0 virtual properties and methods that were
  152. abstract in 1.x.
  153. Implemented some Select() methods that uses IXmlNamespaceResolver.
  154. Implemented most of ValueAsXxx() using XQueryConvert.
  155. IsNode is always true. Implemented OuterXml and WriteSubtree() (but
  156. actually they don't work because it depends on ReadSubtree()).
  157. 2004-07-26 Atsushi Enomoto <[email protected]>
  158. * XPathDocument.cs : added missing && not-likely-to-be-removed members.
  159. * XPathEditableNavigator.cs : added BuildSubTree().
  160. * XPathException.cs : added missing methods. Hide Message in NET_2_0.
  161. 2004-07-23 Atsushi Enomoto <[email protected]>
  162. * XPathNodeIterator.cs : implemented 2.0 GetEnumerator().
  163. 2004-07-21 Atsushi Enomoto <[email protected]>
  164. * XPathExpression.cs, Expression.cs :
  165. Added SetContext(IXmlNamespaceResolver).
  166. * NodeChangedEventArgs.cs : Added missing [MonoTODO].
  167. * XPathAtomicValue.cs : Halfly implemented.
  168. * XPathDocument.cs : Added 2.0 members.
  169. * XPathDocumentNodeChangedAction.cs : updated member names.
  170. * XPathEditableNavigator.cs : Added missing 2.0 members and MonoTODO.
  171. * XPathNavigator.cs : Added missing 2.0 members.
  172. Fixed some members as virtual->override.
  173. 2004-07-13 Atsushi Enomoto <[email protected]>
  174. * XmlNodeChageType.cs, XmlChangeFilters.cs : fixed enum values.
  175. * XPathResultType.cs : marked [MonoFIX] on .Navigator.
  176. 2004-07-11 Atsushi Enomoto <[email protected]>
  177. * Expression.cs, Iterator.cs, XPathNavigator.cs :
  178. Use IXmlNamespaceResolver for net 2.0. Removed unused code.
  179. * XPathEditableNavigator.cs : fixed namespace.
  180. * XPathNavigator.cs :
  181. Fixed inheritance. Added missing MonoTODO.
  182. Removed old .net 1.2 code.
  183. 2004-06-18 Atsushi Enomoto <[email protected]>
  184. * DefaultContext.cs : Globalization.
  185. * Iterator.cs : In SlashIterator.MoveNext() position might keep 0
  186. in case of empty list. Thus extraneous iteration might happened.
  187. Removed unused (and clone unsafe) EnumeratorIterator.
  188. 2004-06-06 Atsushi Enomoto <[email protected]>
  189. * XPathDocument.s : The previous patch is still incomplete to close.
  190. 2004-06-05 Atsushi Enomoto <[email protected]>
  191. * XPathDocument.cs : close self-opened XmlTextReader in .ctor().
  192. 2004-06-03 Atsushi Enomoto <[email protected]>
  193. * Expression.cs : LookupNamespace() only allows already-atomized names.
  194. * XPathEditableNavigator.cs : removed incorrect set_OuterXml() and
  195. set_InnerXml().
  196. 2004-05-22 Atsushi Enomoto <[email protected]>
  197. * DefaultContext.cs : Add XPathNavigator input support for ToBoolean()
  198. and ToNavigator().
  199. * Expression.cs : In Equality comparison, evaluate XPathNavigator in
  200. the same as well as NodeSet. This fixes bug #59134.
  201. 2004-05-22 Atsushi Enomoto <[email protected]>
  202. * XPathAtomicValue.cs : missed NET_2_0.
  203. 2004-05-22 Atsushi Enomoto <[email protected]>
  204. * IXPathChangeNavigable.cs,
  205. IXPathEditable.cs,
  206. NodeChangedEventArgs.cs,
  207. NodeChangedEventHandler.cs,
  208. XPathAtomicValue.cs,
  209. XPathChangeNavigator.cs,
  210. XPathDocumentNodeChangedAction.cs,
  211. XPathEditableNavigator.cs,
  212. XPathItem.cs,
  213. XmlChangeFilters.cs,
  214. XmlNodeChangeType.cs : added NET_2_0 classes.
  215. * XPathDocument.cs,
  216. XPathNavigator.cs : updated NET_2_0 members.
  217. 2004-05-20 Atsushi Enomoto <[email protected]>
  218. * Expression.cs : We should not catch all kind of exception. Just
  219. throwing any kind of exception would be preferable.
  220. Added support for XPathNavigator values.
  221. 2004-05-13 Atsushi Enomoto <[email protected]>
  222. * DefaultContext.cs : Removed MonoTODO. done.
  223. * Expression.cs : handle XPathResultType.Navigator in some places and
  224. removed MonoTODO. Mark MonoTODO with explicit comments (though they
  225. are mostly pointing out possibilities of optimization).
  226. Removed extra check that depended on the old bugs.
  227. * XPathResultType.cs : Fixed .Navigator that had the same value as
  228. .String.
  229. 2004-05-12 Atsushi Enomoto <[email protected]>
  230. * Parser.jay : made class internal.
  231. 2004-03-16 Atsushi Enomoto <[email protected]>
  232. * XPathNavigator.cs, Iterator.cs : Considered detached nodes, the
  233. result of MoveToParent() should be checked.
  234. 2004-02-17 Atsushi Enomoto <[email protected]>
  235. * XPathNavigator.cs : Only child and attribute axes are allowed for
  236. Matches().
  237. * Expression.cs : Added IsPositional property.
  238. * DefaultContext.cs : Added some overrides.
  239. 2004-02-16 Atsushi Enomoto <[email protected]>
  240. * XPathNavigator.cs : no, its still not ok. comment out now.
  241. 2004-02-16 Atsushi Enomoto <[email protected]>
  242. * Expression.cs : Added EvaluatedNodeType and NeedAbsoluteMatching
  243. to reduce extraneous Matches() trial.
  244. * Iterator.cs : Removed unused MergedIterator.
  245. * XPathNavigator.cs : Optimized Matches() not to evaluate ancestors
  246. unnecessarily. (Test with NeedAbsoluteMatching).
  247. 2004-02-10 Atsushi Enomoto <[email protected]>
  248. * Iterator.cs : Added overriden Count properties for some iterators
  249. (this fixes the half of #50678).
  250. Added ListIterator class (which can reduce GetEnumerator()).
  251. In some places we can omit clone for Current property, so added
  252. some check logic (It has no effect as yet).
  253. * Expression.cs, DefaultContext.cs :
  254. use ListIterator instead of EnumeratorIterator.
  255. 2004-02-08 Atsushi Enomoto <[email protected]>
  256. * DefaultContext.cs, Expression.cs, Iterator.cs :
  257. tiny foreach elimination.
  258. 2004-02-05 Atsushi Enomoto <[email protected]>
  259. * DefaultContext.cs : trivial processing order fix.
  260. 2004-01-27 Atsushi Enomoto <[email protected]>
  261. * DefaultContext.cs : Avoid exception if possible.
  262. * Iterator.cs : Fixed PrecedingSiblingIterator.MoveNext(). When the
  263. nav was positioned at the first, it incorrectly points itself.
  264. Don't add names to name table while it is useless and expensive.
  265. 2004-01-08 Nick Drochak <[email protected]>
  266. * Iterator.cs: Removed unused variable.
  267. 2003-12-18 Atsushi Enomoto <[email protected]>
  268. * Parser.jay : now it supresses error output from jay.
  269. * DefaultContext.cs : (XPathFunctionSubstring) exclude -Infinity.
  270. * Tokenizer.cs : better error message.
  271. * XPathDocument.cs : Use XmlValidatingReader to support id() function.
  272. (just found MS.NET actually supports it)
  273. 2003-12-16 Atsushi Enomoto <[email protected]>
  274. * Iterator.cs : On its iteration, moving Current must not affect to
  275. MoveNext(). To assure this, Current must be a clone of navigator.
  276. Removed unused code.
  277. 2003-12-07 Atsushi Enomoto <[email protected]>
  278. * Tokenizer.cs : Removed some TODOs. (trivial ;-)
  279. * Iterator.cs : ParensIterator can inherit from BaseIterator.
  280. SlashIterator copy .ctor() always failed to clone. This fixes Count.
  281. 2003-12-03 Atsushi Enomoto <[email protected]>
  282. * Expression.cs : XPathSorters.Compare() should compare document
  283. position. See last sentence of XSLT 1.0 secion 10.
  284. 2003-12-03 Atsushi Enomoto <[email protected]>
  285. * DefaultContext.cs : Overrode all functions' ToString().
  286. XPathFunctions.ToNumber() trims whitespaces at both side.
  287. Fixed NullReferenceException in normalize-space().
  288. * Iterator.cs : Fixed AncestorOrSelfIterator.MoveNext() didn't handle
  289. attribute or namespace node correctly.
  290. SlashIterator.Clone() didn't clone "next node iterator" correctly.
  291. EnumeratorIterator.ctor() should raise an error (not at Clone())
  292. when the target IEnumerator is not ICloneable.
  293. 2003-11-28 Atsushi Enomoto <[email protected]>
  294. * Expression.cs : namespace axis now traversed in reverse order, so it
  295. requires sorting.
  296. * Iterator.cs : UnionIterator.Clone() was incomplete.
  297. NamespaceItarator() should be reverse order (special handling
  298. because of XPathNavigator specification).
  299. 2003-11-24 Atsushi Enomoto <[email protected]>
  300. * Iterator.cs : PrecedingIterator.MoveNext() now breaks up at Root.
  301. * XPathNavigator.cs : ComparePosition() didn't handle attributes
  302. correctly.
  303. 2003-11-24 Atsushi Enomoto <[email protected]>
  304. * Parser.jay, Expression.cs, Iterator.cs :
  305. Added ExprParens and ParensIterator classes which is used to handle
  306. precedence of parenthesized expressions.
  307. (e.g. consider "(preceding::*)[3]" and "preceding::[3]" )
  308. * Expression.cs, Iterator.cs :
  309. Added RequireSorting property for each Expr and BaseIterator classes.
  310. SlashIterator.MoveNext() now considers correct sorting. But
  311. considering performance, it separates two logics, sorted and sortless
  312. depending on RequireSorting of left iterator and right expression.
  313. * Iterator.cs :
  314. SimpleIterator.ctor() should consider when nav is null.
  315. FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
  316. not return any nodes.
  317. AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
  318. positions.
  319. AncestorIterator.MoveNext() should skip Root if context node is
  320. Root itself.
  321. FollowingIterator.MoveNext() should not handle children of context
  322. itself.
  323. PrecedingIterator.MoveNext() should skip its ancestors.
  324. AxisIterator.ReverseAxis should be dependent on its containing iter.
  325. UnionIterator.MoveNext() should consider comparison of nodes in
  326. different document. The behavior is implementation dependent.
  327. (see XSLT spec 12.1)
  328. 2003-11-19 Atsushi Enomoto <[email protected]>
  329. * Added XPathComparer.cs
  330. * DefaultContext.cs : Fixed XPathFunctionId.Evaluate() to iterate base
  331. iterator correctly, and sort results.
  332. 2003-11-19 Atsushi Enomoto <[email protected]>
  333. * DefaultContext.cs : Imcomplete fix ;-)
  334. 2003-11-19 Atsushi Enomoto <[email protected]>
  335. * DefaultContext.cs : XPathFunctions.ToNumber() should catch overflow.
  336. XPathFunctionId.cs : Exposed Id expression.
  337. * Expression.cs : Added ExprLiteral.Value, and class ExprParens (it
  338. will be used to solve evaluation precedence problem).
  339. 2003-11-09 Atsushi Enomoto <[email protected]>
  340. * Iterator.cs : Fixed SlashIterator that might return nodes 1)in
  341. inconsistent order, and 2)may return duplicate result nodes.
  342. 2003-11-06 Ben Maurer <[email protected]>
  343. * Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
  344. it inherit from the base class. This made b[2] evaluated on
  345. <a /><b /><c /><a /><b /><c /> return the first b node because
  346. in the ChildIterator it was the second node and seemed to satsify
  347. the predicate.
  348. 2003-11-04 Atsushi Enomoto <[email protected]>
  349. * Iterator.cs : Added bool ReverseAxis property to identify whether
  350. the iterator is in reverse order or not. Added ComparablePosition
  351. for correct position comparison for PredicateIterator and reverse-
  352. order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
  353. PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
  354. return their nodes in document order. This fixes bugzilla #39079.
  355. 2003-10-15 Atsushi Enomoto <[email protected]>
  356. * Iterator.cs : DescendantIterator and FollowingIterator also should
  357. not MoveNext() after they reached to the end.
  358. 2003-10-13 Atsushi Enomoto <[email protected]>
  359. * Iterator.cs : Fixed UnionIterator who ignores document order.
  360. Fixed SlashIterator whose MoveNext() should finish at its end.
  361. 2003-09-27 Ben Maurer <[email protected]>
  362. * Iterator.cs, Expression.cs, XPathNavigator.cs: In AxisIterator
  363. use NameTable so we dont call strcmp.
  364. 2003-09-27 Ben Maurer <[email protected]>
  365. * DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
  366. not "abc".
  367. * Iterator.cs, Expression.cs: All axes are
  368. SimpleIterators. SimpleIterators are gaurenteed to give the same
  369. XPathNavigator in Current. Make AxisIterator take a
  370. SimpleIterator, not any old BaseIterator. Will allow us to make
  371. NameTable optimizations and avoid quite a few strcmp's.
  372. 2003-09-24 Ben Maurer <[email protected]>
  373. * Expression.cs: make // work right, must use another slash itr.
  374. 2003-09-21 Ben Maurer <[email protected]>
  375. * Expression.cs: cant use $$ before assigned.
  376. 2003-09-21 Ben Maurer <[email protected]>
  377. * Expression.cs, Parser.jay, XPathNavigator.cs: api beautification.
  378. 2003-09-20 Ben Maurer <[email protected]>
  379. * Expression.cs: num != double.NaN does not work.
  380. 2003-09-19 Ben Maurer <[email protected]>
  381. * Expression.cs: in NodeTypeTest dont throw an exception if it is
  382. an unknown node type (allows for better Pattern debugging).
  383. 2003-09-17 Ben Maurer <[email protected]>
  384. * DefaultContext.cs: implement sum () and translate ().
  385. 2003-09-13 Ben Maurer <[email protected]>
  386. * XPathNavigator.cs: Make methods where you pass in the context,
  387. so that we dont have to clone expressions so much.
  388. 2003-09-06 Ben Maurer <[email protected]>
  389. * DefaultContext.cs, Expresssion.cs, Parser.jay: Rewrite so that
  390. system functions are actually expressions. Will allow for some
  391. nice optimizations.
  392. 2003-08-25 Ben Maurer <[email protected]>
  393. * XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
  394. improvement in the method (5ms/call -> .7 ms / call) measured by
  395. monodoc's rendering of N:System.
  396. * Expression.cs: Utility methods to support above.
  397. 2003-08-13 Piers Haken <[email protected]>
  398. * Iterator.cs:
  399. fix MergedIterator.Clone(), now clones other's iterators
  400. fix DescendantIterator.Clone(), now copies depth
  401. make iterator cloning constructors more type-specific
  402. 2003-08-01 Piers Haken <[email protected]>
  403. * Expression.cs: added NodeNamespaceTest
  404. * XPathNavigator.cs: implement Select* with namespaces
  405. 2003-07-31 Ben Maurer <[email protected]>
  406. * Iterator.cs: Allow creation of an EnumeratorIterator with an
  407. XmlNamespaceManager.
  408. 2003-07-31 Piers Haken <[email protected]>
  409. * Parser.jay:
  410. Nested predicates (uses ExprFilter instead)
  411. more type safety
  412. make grammar look more like w3c spec
  413. * Expression.cs:
  414. remove ExprStep, ExprPredicates
  415. NodeTest is now a NodeSet
  416. more type-safety
  417. * Iterator.cs:
  418. PredicateIterator now only takes a single predicate expression
  419. more type-safety
  420. * XPathNavigator.cs:
  421. simplified SelectTest
  422. * XPathException.cs:
  423. fixed indenting
  424. 2003-07-30 Duncan Mak <[email protected]>
  425. * XPathException.cs
  426. (GetObjectData):
  427. (Message): Added.
  428. 2003-07-29 Piers Haken <[email protected]>
  429. * DefaultContext.cs: 'local-name' returns String, not NodeSet!
  430. 2003-07-29 Piers Haken <[email protected]>
  431. * XPathNavigator.cs:
  432. * Expression.cs:
  433. add typesafe Evaluate* methods
  434. 2003-07-29 Piers Haken <[email protected]>
  435. * DefaultContext.cs: fix 'substring-after'
  436. 2003-07-29 Piers Haken <[email protected]>
  437. * Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)
  438. 2003-07-29 Ben Maurer <[email protected]>
  439. * Iterator.cs: dont throw exceptions on tostring ()
  440. 2003-07-28 Piers Haken <[email protected]>
  441. * DefaultContext.cs: better handling of null argument lists
  442. * XPathNavigator.cs: implement ComparePosition
  443. 2003-07-28 Piers Haken <[email protected]>
  444. * Expression.cs: boolean operators: handle comparing .Any better
  445. 2003-07-28 Piers Haken <[email protected]>
  446. * DefaultContext.cs: count() should return a double
  447. * Expression.cs: better support for handling non-double numbers
  448. 2003-07-28 Piers Haken <[email protected]>
  449. * DefaultContext.cs: better function param matching
  450. 2003-07-27 Piers Haken <[email protected]>
  451. * Expression.cs:
  452. * DefaultContext.cs:
  453. catch FormatExceptions while parsing numbers
  454. 2003-07-27 Piers Haken <[email protected]>
  455. * Expression.cs:
  456. fix case sorting order
  457. allow EvaluateNumber to take XPathResultType.Any
  458. 2003-07-27 Piers Haken <[email protected]>
  459. * Expression.cs:
  460. * Tokenizer.cs:
  461. don't pass null to XmlQualifiedName constructor
  462. 2003-07-27 Piers Haken <[email protected]>
  463. * DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)
  464. 2003-07-27 Piers Haken <[email protected]>
  465. * Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any
  466. 2003-07-26 Piers Haken <[email protected]>
  467. * Expression.cs: fix function evaluation with ambigous argument types
  468. * XPathNavigator.cs: fix silly null reference bug
  469. 2003-07-26 Piers Haken <[email protected]>
  470. * Iterator.cs:
  471. * DefaultContext.cs:
  472. ArrayListIterator->EnumeratorIterator
  473. * Expression.cs: add sorting support
  474. 2003-07-26 Piers Haken <[email protected]>
  475. * Tokenizer.cs:
  476. * Parser.jay:
  477. move QName parsing into tokenizer
  478. * Expression.cs:
  479. fix evaluating XPathResultType.Any
  480. fix ExprDiv.ToString()
  481. fix NodeTypeTest.ToString() (for namespace axis)
  482. 2003-07-25 Piers Haken <[email protected]>
  483. * Expression.cs: return clone of $var evaluation
  484. 2003-07-26 Piers Haken <[email protected]>
  485. * Iterator.cs: add setter for NamespaceManager
  486. * XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
  487. * Expression.cs: fix func/var exception strings
  488. 2003-07-25 Piers Haken <[email protected]>
  489. * Expression.cs: implement ExprFilter.Evaluate
  490. 2003-07-25 Piers Haken <[email protected]>
  491. * Expression.cs: implement ExprVariable.Evaluate
  492. 2003-07-24 Ben Maurer <[email protected]>
  493. * DefaultContext.cs: implement lang ()
  494. 2003-07-24 Piers Haken <[email protected]>
  495. * Parser.jay:
  496. * Expression.cs:
  497. allow ExprUNION to take non-nodeset (eg, $var) arguments
  498. 2003-07-24 Piers Haken <[email protected]>
  499. * Tokenizer.cs: fix variable references
  500. * Parser.jay:
  501. * Expression.cs:
  502. * XPathNavigator.cs:
  503. use XmlQualifiedName
  504. 2003-06-30 Atsushi Enomoto <[email protected]>
  505. * XPathDocument.cs : removed Driver class and restored authors' name
  506. (though it is completely rewrote).
  507. 2003-06-30 Atsushi Enomoto <[email protected]>
  508. * XPathDocument.cs : Replaced existing stub class with real
  509. XPathDocument implementation.
  510. 2003-04-28 Piers Haken <[email protected]>
  511. * Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens
  512. 2003-03-07 Piers Haken <[email protected]>
  513. * Tokenizer.cs: allow '.'s in NCNames
  514. 2003-03-07 Piers Haken <[email protected]>
  515. * Exression.cs:
  516. * DefaultContext.cs:
  517. fixed function argument resolution
  518. 2003-02-09 Piers Haken <[email protected]>
  519. * XPathNavigator.cs:
  520. * Iterator.cs:
  521. * Expression.cs: fix namespace handling
  522. 2003-01-04 Piers Haken <[email protected]>
  523. * Parser.*: Remove extraneous "using" that was stopping the build. Permanently thisi time ;-)
  524. 2003-02-02 Piers Haken <[email protected]>
  525. * Parser.jay: add token names
  526. * Tokenizer.cs: fix NCName tokenization
  527. 2003-01-02 Atsushi Enomoto <[email protected]>
  528. * Tokenizer.cs : Fixed ParseIdentifier to allow digits.
  529. (It should be a temporary fix.)
  530. 2002-09-22 Nick Drochak <[email protected]>
  531. * Parser.cs: Remove extraneous "using" that was stopping the build.
  532. 2002-09-21 Piers Haken <[email protected]>
  533. * XPathException: implementation
  534. * Expression.cs:
  535. * Iterator.cs:
  536. * Parser.jay:
  537. * Tokenizer.jay:
  538. * XPathNavigator.jay:
  539. use XPathException.
  540. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  541. * Parser.cs: commented out non-existent namespace (it compiles fine
  542. with mcs because of a bug that is already on bugzilla).
  543. 2002-09-12 Piers Haken <[email protected]>
  544. * Tokenizer.cs: fix parsing numbers that start with '.'
  545. * DefaultContext.cs: use MS-compatible formatting of doubles
  546. 2002-09-12 Piers Haken <[email protected]>
  547. * Iterator.cs: added NullIterator to handle unspecified contexts
  548. * XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
  549. * XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators
  550. 2002-09-12 Piers Haken <[email protected]>
  551. * Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
  552. * Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
  553. * DefaultContext.cs: fix id() return type.
  554. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  555. * DefaultContext.cs: fixed bug #28840.
  556. * Expression.cs: added FIXME.
  557. 2002-08-17 Jason Diamond <[email protected]>
  558. * XPathNavigator.cs: Fixed matching on patterns that look like
  559. absolute XPath expressions.
  560. 2002-08-17 Jason Diamond <[email protected]>
  561. * XPathNavigator.cs: Added naive (but working) implementation of
  562. Matches.
  563. 2002-07-31 Piers Haken <[email protected]>
  564. * XPathDocument.cs: simple, XmlDocument-based implementation
  565. 2002-07-25 Piers Haken <[email protected]>
  566. * DefaultContext.cs: implement XPathFunctionName 'name()' function.
  567. 2002-07-17 Piers Haken <[email protected]>
  568. * DefaultContext.cs: implement 'string-length()', 'normalize-space()'
  569. * Parser.jay: remove redundant production
  570. * Expression.cs: add switches for debugging under VS.NET
  571. 2002-07-17 Piers Haken <[email protected]>
  572. * Expression.cs: implement nodeset/nodeset comparisons (non-optimal)
  573. 2002-07-15 Piers Haken <[email protected]>
  574. * Iterator.cs:
  575. - rename UnionIterator to MergedIterator,
  576. - create new UnionIterator to implment uniqueness for '|' operator
  577. - fix position bug in ArrayListIterator.Clone()
  578. * Expression.cs: use new UnionIterator constructor syntax
  579. 2002-07-12 Piers Haken <[email protected]>
  580. * Iterator.cs: PredicateIterator: handle numeric predicates
  581. * Parser.jay: add some debugging support: yyparseDebug
  582. * Tokenizer.cs: cleanup, include '-' chars in identifier tokens
  583. 2002-06-29 Piers Haken <[email protected]>
  584. * Expression.cs:
  585. - remove dead code
  586. - NodeTest uses XPathResultType instead of internal NodeTestTypes enum
  587. - remove NodeTestTypes enum
  588. - remove NodeTestTypeAny (functionality provided by base now)
  589. - fix ExprStep to handle wildcard QNames
  590. * Parser.jay:
  591. - moved to Mono.Xml.XPath namespace
  592. - use XPathResultType
  593. - handle wildcard QNames
  594. * Tokenizer.cs: moved to Mono.Xml.XPath namespace
  595. * XPathNavigator.cs: implement
  596. - IsDescendant
  597. - SelectAncestors
  598. - SelectDescendants
  599. - SelectChildren
  600. * XPathResultType.cs: fix enum values
  601. 2002-06-24 Jason Diamond <[email protected]>
  602. * XPathScanner.cs: Removed.
  603. 2002-06-24 Dick Porter <[email protected]>
  604. * XmlCaseOrder.cs: Fix namespace
  605. 2002-06-23 Piers Haken <[email protected]>
  606. * DefaultContext.cs: implemented XPathFUnctionId
  607. * Iterator.cs: new ArrayListIterator for id() support
  608. 2002-06-23 Piers Haken <[email protected]>
  609. * XPathNavigator.cs: implement:
  610. - Compile
  611. - Evaluate
  612. - Clone
  613. - Select
  614. - ToString
  615. - some forwarding methods
  616. * XPathNodeIterator: implement caching Count
  617. * Tokenizer.cs: new XPath tokenizer
  618. * Parser.jay: new XPath grammar
  619. * Parser.cs: new precompiled XPath grammar
  620. * Expression.cs: new XPath expression objects
  621. * Iterator.cs: new XPath result/context objects
  622. * DefaultContext.cs: new XPath function binding context
  623. 2002-05-08 Tim Coleman <[email protected]>
  624. * XPathDocument.cs:
  625. * XPathException.cs: New stub files added.
  626. 2002-04-12 Duncan Mak <[email protected]>
  627. * XmlCaseOrder.cs: Moved to here from System.Xml.
  628. 2002-03-26 Jason Diamond <[email protected]>
  629. * XPathScanner.cs: Now handles name tests with wildacards. Abbreviated
  630. steps. Both absolution and relative abbreviated location paths.
  631. 2002-03-25 Jason Diamond <[email protected]>
  632. * XPathScanner.cs: Added new file. This class is supposed to be internal
  633. but that would make it impossible to test.
  634. 2002-03-08 Duncan Mak <[email protected]>
  635. * XPathNamespaceScope.cs:
  636. * XPathNodeType.cs:
  637. * XPathResultType.cs:
  638. * XmlDataType.cs:
  639. * XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
  640. implementation. XPathResultType is interesting as EnumCheck does
  641. not show the Navigator element, but shows the String element twice.
  642. 2002-03-08 Jason Diamond <[email protected]>
  643. * XmlDataType.cs, XmlSortOrder.cs, XPathNodeType.cs: Added files.
  644. 2002-03-06 Jason Diamond <[email protected]>
  645. * ChangeLog: Added to this directory.
  646. * XPathExpression.cs, XPathNamespaceScope.cs, XPathNodeIterator.cs,
  647. XPathResultType.cs: New files.
  648. * XPathNavigator.cs: Stubbed out all properties and methods.