ChangeLog 37 KB

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