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