ChangeLog 33 KB

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