ChangeLog 37 KB

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