c7d9e126328baf6525fe5ebb047ec0d15d26b0a3
[mono.git] / mcs / class / System.XML / Mono.Xml.XPath / ChangeLog
1 2004-07-30  Atsushi Enomoto <atsushi@ximian.com>
2
3         * DTMXPathNavigator.cs :
4           Fixed IsSamePosition(). currentAttr is not always the same as
5           that of other when current is not attribute. Ditto for currentNS
6           (when current is not namespace).
7
8 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
9
10         * DTMXPathDocumentBuilder.cs : Close XmlTextReader strictly. It might
11           raise an error after opening stream and before try-catch.
12
13 2004-05-20  Atsushi Enomoto <atsushi@ximian.com>
14
15         * Pattern.cs : don't throw System.Exception. Delegate error handling to
16           the only one caller CompilePattern().
17
18 2004-05-12  Atsushi Enomoto <atsushi@ximian.com>
19
20         * Pattern.cs : made class internal.
21
22 2004-02-26  Atsushi Enomoto <atsushi@ximian.com>
23
24         * DTMXPathDocumentBuilder.cs : Close XmlReader when we passed uri.
25
26 2004-02-18  Atsushi Enomoto <atsushi@ximian.com>
27
28         * LocationPathPattern.cs : Implemented easy XPathNavigator cache on
29           predicate evaluation in Matches().
30
31 2004-02-17  Atsushi Enomoto <atsushi@ximian.com>
32
33         * KeyPattern.cs, Pattern.cs : removed using decls.
34
35 2004-02-17  Atsushi Enomoto <atsushi@ximian.com>
36
37         * LocationPathPattern.cs : Optimized Matches(). For non-positional
38           patterns, it never iterates predicate, just evaluate boolean.
39
40 2004-02-16  Atsushi Enomoto <atsushi@ximian.com>
41
42         * DTMXPathDocument.cs,
43           DTMXPathDocumentBuilder.cs,
44           DTMXPathDocumentWriter.cs,
45           DTMXPathNavigator.cs,
46           DTMXPathNode.cs :
47             Made classes internal by default (still publicly available with
48             OUTSIDE_SYSTEM_XML switch). Removed unused "position" field.
49             Optimized DTMXPathNavigator.Value a bit.
50         * LocationPathPattern.cs : Modified some fields to private.
51
52 2004-02-13  Atsushi Enomoto <atsushi@ximian.com>
53
54         * Added DTMXPathDocumentWriter.cs. It supports DTMXPathNavigator as
55           the resulting document tree.
56         * DTMXPathDocumentBuilder.cs : Code refactory (to get closer to dtm
57           writer and commonify tasks they both should do). Reduced initial
58           array size (400 to 200, for attribute 800 to 200), and extending 
59           size from 2x to 4x (to reduce _times_ of allication copy).
60         * DTMXPathNode.cs : (and all above) added experimental "DTM_CLASS"
61           switch, which changes nodes from struct to class. (It will reduce
62           memory consumption by 2/3, but will also reduce speed by 2/3.)
63
64 2004-01-27  Atsushi Enomoto <atsushi@ximian.com>
65
66         * DTMXPathDocumentBuilder.cs : Namespace nodes are incorrectly created.
67           This fix should make XPathDocument compatible with XmlDocument.
68
69 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
70
71         * DTMXPathDocument.cs : CreateNavigator() should return the first root
72           as a clone.
73         * DTMXPathNavigator.cs : ComparePosition() incorrectly compared 
74           attributes and namespaces orders.  Implemented IsSamePosition() more
75           efficient.  MoveToFirstNamespace() should return false when the 
76           current node is either attribute or namespace.  Fixed IsDescendant()
77           which looks resulted in incorrect behavior.
78
79 2003-12-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
80
81         * DTMXPathDocumentBuilder.cs : Removed supportsID argument and always
82           assumes to support IDs when specified XmlValidatingReader.
83           Quick fix for NullReferenceException when type was null.
84
85 2003-11-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
86
87         * KeyPattern.cs : Matches() should iterate candidate keys to the end.
88
89 2003-11-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
90
91         * IdPattern.cs,
92           KeyPattern.cs : Implemented Matches(), overrode DefaultPriority,
93           modified inheritance.
94         * Pattern.cs : Added id and key pattern support.
95
96 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
97
98         * DTMXPathNavigator.cs : Fixed MoveToNamespace() that might result in
99           infinite loop.
100
101 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
102
103         * DTMXPathDocumentBuilder.cs : Bugfix for whitespace handling.
104
105 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
106
107         * Added DTMXPathNode.cs.
108         * Fundamental changes in whole DTM stuff. Node information is now array
109           of "node struct" instead of individual arrays.
110
111 2003-09-21 Ben Maurer  <bmaurer@users.sourceforge.net>
112
113         * Pattern.cs: save the parser (will reduce memory allocation when
114         Jackson's jay patch is committed).
115
116 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
117
118         * Pattern.cs: Typo, when i got //a i was giving off /
119         * LocationPathPattern.cs: Append to the tail, not head.
120
121 2003-09-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
122
123         * DTMXPathNavigator.cs,
124           DTMXPathDocument.cs,
125           DTMXPathDocumentBuilder.cs : Added IXmlLineInfo support. Removed
126           node's extraneous schemaType. Some code reformatting.
127
128 2003-09-13 Ben Maurer  <bmaurer@users.sourceforge.net>
129
130         * Pattern.cs: Support static context.
131
132 2003-08-25 Ben Maurer  <bmaurer@users.sourceforge.net>
133
134         * DTMXPathNavigator.cs: Allocate valueBuilder on first use.
135
136 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
137
138         * DTMXPathDocument.cs,
139           DTMXPathDocumentBuilder.cs,
140           DTMXPathNavigator.cs :
141           - Implemented ID support using XmlValidatingReader.
142           - Prefix should be String.Empty even if XmlReader.Prefix is null.
143
144 2003-07-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
145
146         * DTMXPathDocumentBuilder.cs :
147           Fixed Read() that sets nodes' parent incorrectly.
148
149 2003-07-17  Peter Williams  <peter@newton.cx>
150
151         * DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
152         than mcs. We need to disambiguate System.Math from Mono.Math here.
153
154 2003-06-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
155
156         * Initial checkin.
157         * Added ChangeLog, DTMXPathDocument.cs, DTMXPathDocumentBuilder.cs
158           and DTMXPathNavigator.cs.
159