ChangeLog 34 KB

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