2
0

ChangeLog 36 KB

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