ChangeLog 38 KB

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