ChangeLog 34 KB

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