ChangeLog 35 KB

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