ChangeLog 36 KB

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