2002-03-13 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2002-03-13  Duncan Mak  <duncan@ximian.com>
2
3         * XmlException.cs: Made it [Serializable], implemented good ol'
4         GetObjectData, and the serialization constructor.
5
6         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
7         (SetNamedItem): Reverted (added back in) the patch with the
8         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
9
10         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
11         (GetNamedItem (string, string)): implemented.
12         (RemoveNamedItem): implemented.
13         (SetNamedItem): implemented.
14
15 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
16
17         * XmlAttribute.cs: Moved a method from amongst properties down to
18         it's alphabetical position in the methods section.
19         
20         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
21         last linked child.  Set XmlNode base class to return false for IsReadOnly().
22         Implemented GetEnumerator() and RemoveChild().
23         
24         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
25         This is to support the behavior that the Enumerator doesn't become invalid
26         when changes to the children occur.  Flushed out rest of implementation for
27         MoveNext, Current, and Reset.
28
29 2002-03-12  Duncan Mak  <duncan@ximian.com>
30
31         * XmlCharacterData.cs: Reformatted the properties for better readability.
32
33         * XmlLinkedNode.cs: Removed the awful boxy comments.
34
35         * XmlNamedNodeMap.cs (Count):
36         (Item): Implemented. Tests will be coming.
37
38         * XmlEntityReference.cs: 
39         * XmlSignificantWhitespace.cs: Implemented these classes except for
40         the Clone, WriteContentTo and WriteTo methods. Will have to
41         investigate into these later.
42
43 2002-03-11  Duncan Mak  <duncan@ximian.com>
44
45         * IHasXmlNode.cs: Added to CVS.
46
47 2002-03-08  Jason Diamond <jason@injektilo.org>
48
49         * XmlParserContext.cs: Added missing constructors and missing Encoding 
50         property.
51
52         * XmlTextReader.cs: Start using the XmlParserContext class.
53
54 2002-03-08  Jason Diamond <jason@injektilo.org>
55
56         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
57
58 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
59
60         * XmlNode.cs (Item): Implemented both indexers.
61
62 2002-03-08  Jason Diamond  <jason@injektilo.org>
63
64         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
65         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
66
67 2002-03-08  Jason Diamond  <jason@injektilo.org>
68
69         * XmlAttribute.cs: Attribute nodes are supposed to store their values
70         as child nodes so updated to reflect that.
71
72         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
73         duplicated in XmlDocument and XmlElement into XmlNode so that it
74         wouldn't have to be duplicated in XmlAttribute, too.
75
76 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
77
78         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
79         XmlNode.cs: Formatting.
80         
81         * XmlNodeListChildren.cs: Implementation of XmlNodeList
82         for XmlNode.ChildNodes property.
83         
84         * XmlNodeListAsArrayList.cs: Removed file.  Using different
85         data structure (circular list) in XmlNode so this file
86         is no longer valid.
87         
88         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
89         bug in setter property of LastLinkedChild so fixed it.
90         
91 2002-03-06  Jason Diamond  <jason@injektilo.org>
92
93         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
94         We already have a parser in XmlTextReader.
95
96         * XmlException.cs: Removed constructor accepting XmlInputSource.
97
98 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
99
100         * XmlNode.cs: Rewrote this class from scratch with
101         MonoToDo attribs and NotImplementedExceptions.  Now defines an
102         internal LastLinkedNode property to aid the new implementation.
103         XmlNodes only have ref to owner doc and parent nodes now.
104         
105         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
106         and ref to next sibling to support walking our circular child
107         node list.
108         
109         * XmlDocument.cs: Added ref to last child node and overrides
110         XmlNode's internal LastLinkedChild property to support walking
111         our circular child node list.
112         
113 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
114
115         * XmlProcessingInstructions.cs: Class was empty.  Implemented
116         constructor, properties, and CloneNode() method.  Put in
117         MonoToDo attrib for remaining methods.
118
119         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
120         Got rid of helper methods and fields since they were no
121         longer needed.
122
123         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
124
125         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
126         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
127         Createxxx() methods for those three node types.
128
129 2002-03-02  Jason Diamond <jason@injektilo.org>
130
131         * XmlDocument.cs: Implemented the remaining CreateElement and
132         CreateAttribute methods.
133
134         * XmlAttribute.cs: Re-implemented.
135
136         * XmlElement.cs: Set owner element on attributes. Reformatted.
137
138 2002-03-02  Jason Diamond <jason@injektilo.org>
139
140         * XmlTextReader.cs: Implemented MoveToNextAttribute().
141
142         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
143         attributes. Create attribute nodes while loading. Implemented
144         Load(string) and CreateTextNode().
145
146         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
147
148         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
149         XmlCharacterData.
150
151         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
152
153 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
154
155         * XmlAttribute.cs : Using fix.
156         * XmlDocument.cs (CreateAttribute(String)): Implement.
157
158 2002-03-02  Jason Diamond <jason@injektilo.org>
159
160         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
161         the name table.
162
163 2002-02-28  Jason Diamond <jason@injektilo.org>
164
165         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
166         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
167
168 2002-02-28  Jason Diamond <jason@injektilo.org>
169
170         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
171         added missing members and MonoTODO attributes.
172         
173         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
174
175 2002-02-27  Jason Diamond <jason@injektilo.org>
176
177         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
178         attributes.
179
180 2002-02-26  Duncan Mak  <duncan@ximian.com>
181
182         * XmlCDataSection.cs: Initial implementation.
183
184         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
185         it out. This should (hopefully) be correct.
186
187 2002-02-26  Jason Diamond <jason@injektilo.org>
188
189         * XmlTextReader.cs: Apparently Microsoft's implementation treats
190         namespace declarations as attributes so we do now, too.
191
192         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
193         checks the current scope.
194
195 2002-02-26  Duncan Mak  <duncan@ximian.com>
196
197         * XmlDocumentType.cs: Added a few hacks here and there to
198         temporarily fix the "I broke the build issue".
199
200 2002-02-25  Jason Diamond <jason@injektilo.org>
201
202         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
203         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
204         simple test to pass. The existing code is really shitty so I'll
205         probably start writing tests and refactoring before much else 
206         can get done.
207
208 2002-02-25  Duncan Mak  <duncan@ximian.com>
209
210         * NameTable.cs: Implemented.
211
212         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
213
214 2002-02-24  Duncan Mak  <duncan@ximian.com>
215         
216         * XmlNodeOrder.cs: Added to CVS.
217
218         * XmlQualifiedName.cs: Fixed a warning from Equals ().
219
220         * XmlTokenizedType.cs: Added to CVS.
221
222         * XmlUrlResolver.cs: Added to CVS with one TODO task.
223
224 2002-02-23  Duncan Mak  <duncan@ximian.com>
225
226         * XmlQualifiedName.cs: Fixed ToString () and added the operators
227         (== and !=).
228
229 2002-02-23  Jason Diamond <jason@injektilo.org>
230
231         * XmlTextReader.cs: Added support for qualified attributes.
232
233 2002-02-23  Jason Diamond <jason@injektilo.org>
234
235         * XmlNamespaceManager.cs: Initial implementation.
236         
237         * XmlTextReader.cs: Added support for NamespaceURI property on
238         elements.
239
240 2002-02-23  Nick Drochak <ndrochak@gol.com>
241
242         * ChangeLog: Add the change log to this directory
243
244         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
245         MonoTODO's
246