ChangeLog 31 KB

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