ChangeLog 35 KB

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