ChangeLog 38 KB

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