ChangeLog 32 KB

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