2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Xml.Linq / System.Xml.Linq / ChangeLog
1 2008-05-12  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XStreamingElement.cs : couple of fixes:
4           - object[] args are params.
5           - Fixed WriteContents(object[],XmlWriter) wrong iteration.
6           - do not write xmldecl when it does not exist (OmitXmlDeclaration).
7
8 2008-04-30  Atsushi Enomoto  <atsushi@ximian.com>
9
10         * XElement.cs, XNode.cs : XNode.ReadFrom() should not reuse
11           XElement.Load() which may create wrapper XmlReader.
12
13 2008-02-12  Atsushi Enomoto  <atsushi@ximian.com>
14
15         * XElement.cs : Value is rather a value in XPath semantics than
16           the textual xml representation. Fixed bug #360858.
17
18 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
19
20         * XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
21           broken for some cases.
22         * Extensions.cs : implemented InDocumentOrder<T>().
23
24 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * XName.cs : implemented GetObjectData(). It is however incompatible
27           with .NET (yet?).
28         * XNodeNavigator.cs : SchemaInfo is null.
29
30 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
31
32         * XStreamingElement.cs : it was almost already implemented.
33         * XElement.cs : finish .ctor(XStreamingElement).
34
35 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
36
37         * XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
38           XUtil.cs : one-object to one-XNode conversion is wrong. It could
39           be one-or-more nodes (i.e. when object is IEnumerable).
40
41 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
42
43         * XNamespace.cs : make Get() and GetName() table-based.
44
45 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
46
47         * XNodeNavigator.cs : MoveToId() is not supported in this class.
48         * XElement.cs : allow DTD by default.
49
50 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
51
52         * XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
53           support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.
54
55 2008-02-11  Atsushi Enomoto  <atsushi@ximian.com>
56
57         * XNodeNavigator.cs : oops, MoveToNext() always returned false.
58
59 2008-02-11  Miguel de Icaza  <miguel@novell.com>
60
61         * XAttribute.cs, XElement.cs: typecasting operators that take
62         values that can be null (nullable types and string) should not
63         throw an exception if the XAttribute is null, but return null instead.
64
65         * Added awesome test suite using awesome C-x ( C-x ) C-x e based
66         code generation.
67
68 2008-02-10  Atsushi Enomoto  <atsushi@ximian.com>
69
70         * XElement.cs : .ctor(XName,object) was trying to set args as its
71           content, not as its own fields.
72         * XNodeWriter.cs : check null ns and replace it with "".
73           Now that IsEmpty is true, set IsEmpty as false explicitly
74           when WriteFullEndElement() is called.
75
76 2008-02-09  Miguel de Icaza  <miguel@novell.com>
77
78         * XNamespace.cs: implement.
79
80 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
81
82         * XNodeReader.cs : when it is created from non-document XNode, do
83           not go beyond the source node. Fixed bug #356522 (the third case).
84
85 2008-01-29  Atsushi Enomoto  <atsushi@ximian.com>
86
87         * XNodeReader.cs : NodeType should return None at Initial state.
88           Fixed bug #356522.
89
90 2008-01-29  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * XNodeReader.cs : when created from non-document node, the first
93           call to Read() should not move the node to its first child.
94
95 2008-01-29  Atsushi Enomoto  <atsushi@ximian.com>
96
97         * XNodeReader.cs : Probably fixed (reopened) bug #356522.
98           NamespaceURI for "xmlns" attribute was "", which should be
99           http://www.w3.org/2000/xmlns/ (in XAttribute its namespace is "").
100
101 2008-01-29  Atsushi Enomoto  <atsushi@ximian.com>
102
103         * XElement.cs, XNamespace.cs, XNodeNavigator.cs, XAttribute.cs,
104           XNodeReader.cs, XName.cs, XNodeWriter.cs :
105           XNamespace.Blank -> XNamespace.None (and .None is implemented.)
106
107 2008-01-28  Atsushi Enomoto  <atsushi@ximian.com>
108
109         * XNodeReader.cs : Fixed bug #356522. Attribute name retrieval was
110           wrong.
111
112 2008-01-26  Atsushi Enomoto  <atsushi@ximian.com>
113
114         * XNodeReader.cs : fixed GetAttribute() that wrongly resulted in
115           returning "" instead of null. Fixed bug #335975.
116
117 2007-11-27  Atsushi Enomoto  <atsushi@ximian.com>
118
119         * XStreamingElement.cs : implement some members.
120
121 2007-11-23  Marek Safar  <marek.safar@gmail.com>
122
123         * XElement.cs, XNamespace.cs, XStreamingElement.cs, XObject.cs,
124         XDocument.cs: API update.
125         
126         * XObjectChangeEventHandler.cs: Removed.
127
128 2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>
129
130         * XNode.cs : use ConformanceLevel.Auto for ToString().
131           Fixed bug #336927.
132
133 2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>
134
135         * XElement.cs, XAttribute.cs : implemented missing explicit operators.
136         * XNamespace.cs : Blank is not public anymore.
137
138 2007-08-26  Marek Safar  <marek.safar@gmail.com>
139
140         * XElement.cs : Implemented explicit operators.
141         
142 2007-05-08  Atsushi Enomoto  <atsushi@ximian.com>
143
144         * XNamespace.cs : added missing implicit operator.
145
146 2007-05-06  Atsushi Enomoto  <atsushi@ximian.com>
147
148         * XNodeNavigator.cs : implemented XPathNavigator (untested!)
149
150 2007-05-06  Atsushi Enomoto  <atsushi@ximian.com>
151
152         * XContainer.cs
153           XNodeWriter.cs : implemented CreateWriter().
154         * XElement.cs : when writing default xmlns attribute, namespace URI
155           should be w3c xmlns URI (unlike blank in XLinq's context).
156
157 2007-05-06  Atsushi Enomoto  <atsushi@ximian.com>
158
159         * XNode.cs
160           XNodeReader.cs : implemented XNode.CreateReader().
161         * XDeclaration.cs : removed extra code.
162         * XElement.cs : support explicit IsEmpty value (like XmlElement).
163         * XProcessingInstruction.cs : null check.
164
165 2007-05-06  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * XElement.cs : implemented namespace retrieval, and
168           ReplaceAttributes().
169
170 2007-05-05  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * XNodeDocumentOrderComparer.cs : implemented.
173         * XObject.cs : Owner is internally referenced now.
174
175 2007-05-05  Atsushi Enomoto  <atsushi@ximian.com>
176
177         * XNodeEqualityComparer.cs : implemented.
178
179 2007-05-05  Atsushi Enomoto  <atsushi@ximian.com>
180
181         * XNode.cs
182           XDocument.cs
183           XElement.cs
184           XContainer.cs
185           XUtil.cs : added members for schema support.
186           Shrink object array so that sequential strings are concatenated.
187
188 2007-05-04  Atsushi Enomoto  <atsushi@ximian.com>
189
190         * XNode.cs : Nodes() is safe for removal of current item.
191         * XElement.cs : Attributes() is safe for ditto. Removed unused code.
192         * XUtil.cs : ToString() handles any type of object.
193         * Extensions.cs : implemented everything but sorter.
194         * XAttribute.cs : SetValue() and ToString() are done.
195         * XNode.cs : set missing tree link info in AddBeforeSelf() and
196           AddAfterSelf(). ReplaceWith() are done.
197
198 2007-05-04  Atsushi Enomoto  <atsushi@ximian.com>
199
200         * XNode.cs
201           XElement.cs
202           XAttribute.cs
203           XObject.cs
204           XContainer.cs : Attribute support. Fixed Document property.
205
206 2007-05-03  Atsushi Enomoto  <atsushi@ximian.com>
207
208         * XNode.cs
209           XElement.cs
210           XDocument.cs
211           XContainer.cs : some basic tree implementation.
212           Removed list-based code. Fixed erroneous reader settings.
213         * XDeclaration.cs : removed extra space in ToString().
214         * XNamespace.cs : added operator overloads.
215         * XName.cs : implemented ToString().
216
217 2007-05-03  Atsushi Enomoto  <atsushi@ximian.com>
218
219         yuck, I was updating things based on March CTP, not Beta1 ...
220         * LoadOptions.cs
221           SaveOptions.cs
222           XStreamingElement.cs : new missing files.
223         * XNode.cs
224           XDeclaration.cs
225           XElement.cs
226           XObject.cs
227           XDocument.cs
228           XDocumentType.cs
229           XContainer.cs : thus, updated again.
230         * XName.cs
231           XNamespace.cs : updates, plus some implementation.
232
233 2007-05-02  Atsushi Enomoto  <atsushi@ximian.com>
234
235         * XText.cs
236           XNode.cs
237           XDeclaration.cs
238           XElement.cs
239           XObjectChangeEventArgs.cs
240           XNodeEqualityComparer.cs
241           XComment.cs
242           XObject.cs
243           XNodeDocumentOrderComparer.cs
244           XCData.cs
245           XObjectChange.cs
246           XObjectChangeEventHandler.cs
247           XDocument.cs
248           XProcessingInstruction.cs
249           XDocumentType.cs
250           XContainer.cs : new files (split from System.Xml.Linq.cs).
251         * System.Xml.XLinq.cs : removed old file.
252         * XAttribute.cs
253           Extensions.cs
254           XIterators.cs
255           XNamespace.cs : updated to Orcas beta1 API. The entire code just
256           does not work. The API updates are mostly for testing compilers.
257
258 2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>
259
260         * XElementSequence.cs, Extensions.cs : renamed former to latter.
261
262 2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>
263
264         * XElementSequence.cs, Makefile : build fix for recent gmcs updates,
265           and some more implementation.
266
267 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
268
269         * System.Xml.XLinq.cs, XName.cs : a few updates from years ago.
270         * XNamespace.cs : new file. not correct at all for now.
271
272 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
273
274         * XAttribute.cs, System.Xml.XLinq.cs, XIterators.cs, XUtil.cs,
275           XName.cs, XElementSequence.cs: namespaces have chanced as well.
276
277 2006-02-11  Atsushi Enomoto  <atsushi@ximian.com>
278
279         * XElementSequence.cs : implemented (not sure if it works).
280         * XName.cs : strict null comparison.
281         * XIterators.cs : (XFilterIterator) check attribute XName as well.
282         * System.Xml.XLinq.cs : solved FIXMEs.
283
284 2005-09-20  Atsushi Enomoto  <atsushi@ximian.com>
285
286         * XAttribute.cs, XIterators.cs, XName.cs, XElementSequence.cs,
287           System.Xml.XLinq.cs :
288           Minimum implementation to run ms XLinqIntro.
289