ChangeLog 38 KB

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