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