2009-04-14 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Runtime.Serialization / System.Xml / ChangeLog
1 2009-04-02  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XmlMtomDictionaryWriter.cs : new.
4         * XmlDictionaryWriter.cs : implement CreateMtomWriter().
5
6 2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * XmlDictionaryReader.cs : add ReadStartElement() overload.
9
10 2009-04-01  Atsushi Enomoto  <atsushi@ximian.com>
11
12         * UniqueId.cs : add missing security attributes.
13         * XmlDictionaryReader.cs : cleanup extra TODOs.
14         * XmlBinaryDictionaryReader.cs : iplement IsArray.
15
16 2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * XmlBinaryDictionaryReader.cs, XmlDictionaryWriter.cs :
19           a couple of fixes to reflect correct values for node properties
20           on each read step.
21
22 2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>
23
24         * XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs :
25           support array operation (0x03) on reader too.
26
27 2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>
28
29         * XmlBinaryDictionaryReader.cs : removed lots of unused part.
30
31 2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>
32
33         * XmlBinaryDictionaryWriterAutoGen.cs : generated code.
34         * XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
35           support array operation (0x03) and a bunch of WriteArray() methods.
36
37 2009-03-31  Atsushi Enomoto  <atsushi@ximian.com>
38
39         * XmlBinaryDictionaryReader.cs, XmlBinaryDictionaryWriter.cs
40           XmlBinaryFormat.cs : implemented element with short prefix.
41
42 2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>
43
44         * XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
45           resolved all namespace and QName issues.
46
47 2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>
48
49         * XmlBinaryDictionaryWriter.cs : further namespace refactory.
50           namespaces are managed by its own (to work fine for both string
51           and dictionary string).
52
53 2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * XmlBinaryFormat.cs, XmlBinaryDictionaryReader.cs,
56           XmlBinaryDictionaryWriter.cs : improved shorthanded prefix
57           support. Not only autocreated prefixes but also explicitly-
58           specified 'a' .. 'z' prefixes are mapped as shorthand.
59           Some significant (and ongoing) namespace support changes.
60
61 2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>
62
63         * XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
64           added some incomplete code for QName support.
65
66 2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>
67
68         * XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs :
69           handle utf16 typed nodes. (not sure if it is used in writer.)
70
71 2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>
72
73         * XmlBinaryDictionaryWriter.cs : oops, fix build.
74
75 2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>
76
77         * XmlBinaryDictionaryWriter.cs, XmlBinaryDictionaryReader.cs,
78           XmlBinaryFormat.cs, : reverted Uuid change (UniqueId is different).
79           Updated TODO status. Removed extra BinaryReader type.
80
81 2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>
82
83         * XmlBinaryDictionaryReader.cs, XmlBinaryDictionaryWriter.cs,
84           XmlBinaryFormat.cs : fixed couple of issues regarding text and
85           base64 fixed-length buffers (their sizes are not variant).
86           Some ongoing changes on reading dummy-prefixed attributes.
87
88 2009-03-25  Atsushi Enomoto  <atsushi@ximian.com>
89
90         * XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs,
91           XmlBinaryDictionaryWriter.cs : couple of enhancements to support
92           missing types, Dictionary string lookups and indexing fixes.
93           Also reflect some correction by [MC-NBFX] (MS OSPed document).
94         * XmlBinaryReaderSession.cs : implemented.
95
96 2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>
97
98         * XmlDictionaryReader.cs : more not-understandable bits.
99
100 2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>
101
102         * XmlDictionaryReader.cs : implemented ReadFullStartElement (full??).
103
104 2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>
105
106         * XmlDictionaryReader.cs : implemented missing && understandable
107           members.
108
109 2009-03-02  Chris Toshok  <toshok@ximian.com>
110
111         * XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
112         has HasValue.
113
114 2009-02-13  Jonathan Pryor  <jpryor@novell.com>
115
116         * UniqueId.cs: Remove most [MonoTODO]s and NotImplementedExceptions.
117           Revert the 2009-02-12 UniqueId.IsGuid "fix", as .NET says that 
118           new UniqueId(new Guid()).IsGuid==false (which makes no sense, as
119           .ToString() on the same instance includes the "urn:uuid:" prefix,
120           which is used by Guids...).
121
122 2009-02-13  Jonathan Pryor  <jpryor@novell.com>
123
124         * XmlDictionaryWriter.cs: Implement WriteValue(IStreamProvider).
125
126 2009-02-13  Jonathan Pryor  <jpryor@novell.com>
127
128         * XmlDictionaryWriter.cs: Implement
129           WriteTextNode(XmlDictionaryReader,bool).  This requires changes to
130           WriteNode(), as testing had determined that WriteTextNode() is used
131           instead of WriteString() for Text nodes and attribute values when
132           called via WriteNode().
133
134 2009-02-12  Jonathan Pryor  <jpryor@novell.com>
135
136         * XmlDictionaryWriter.cs: Implement WriteValue(Guid),
137           WriteValue(TimeSpan), WriteValue(UniqueId).
138         * UniqueId.cs: Fix UniqueId.IsGuid, as `new UniqueId(new Guid())` was
139           previously being detected as a string value, not a Guid value.
140
141 2009-02-12  Jonathan Pryor  <jpryor@novell.com>
142
143         * XmlDictionaryWriter.cs (WriteStartElement): Add parameter checking
144           and default arguments to avoid NullReferenceExceptions.
145
146 2009-02-11  Jonathan Pryor  <jpryor@novell.com>
147
148         * XmlDictionaryString.cs: Add constructor argument checking.
149
150 2009-02-10  Jonathan Pryor  <jpryor@novell.com>
151
152         * IFragmentCapableXmlDictionaryWriter.cs: Added.
153
154 2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>
155                         Jb Evain  <jbevain@novell.com>
156
157         * XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs:
158         add support to build on the net_2_1 profile.
159
160 2008-04-10  Eyal Alaluf <eyala@mainsoft.com>
161
162         * XmlBinaryDictionaryWriter.cs: WriteXmlnsAttribute generates a prefix
163           when given a null prefix.
164
165 2008-03-22  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * XmlBinaryDictionaryReader.cs :
168           - It didn't clean namespaces up during Read().
169           - Non-typed attribute nodes should be allowed in get_Value().
170           - Fixed wrong namespace scope push.
171
172 2008-02-27 Eyal Alaluf <eyala@mainsoft.com>
173
174         * XmlBinaryDictionaryReader.cs: Handle compilation warnings.
175         * XmlSimpleDictionaryReader.cs: Added onClose handling.
176         * XmlDictionaryReader.cs: Simple implementation of CreateTextReader.
177
178 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
179
180         * XmlDictionaryWriter.cs : Even with UTF8 (marked) .net does not
181           output BOMs, so use always unmarked utf8 for any UTF8 encodings.
182
183 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
184
185         * XmlDictionaryWriter.cs : Since it does not support XML declaration
186           its encoding is limited to utf16 and utf8. Null argument check.
187
188 2007-11-27  Atsushi Enomoto  <atsushi@ximian.com>
189
190         * XmlDictionaryWriter.cs : WriteNode() is override, not new.
191
192 2007-07-27  Atsushi Enomoto  <atsushi@ximian.com>
193
194         * XmlDictionaryWriter.cs : store Depth for dummy prefix output.
195           WriteXmlnsAttribute() writes dummy prefix when null prefix is given.
196         * XmlSimpleDictionaryWriter.cs, XmlBinaryDictionaryWriter.cs :
197           increment Depth on WriteStartElement() and decrement it on
198           WriteEndElement(). They don't have to be complete, just fine as
199           long as it correctly creates a dummy.
200
201 2007-04-02  Atsushi Enomoto  <atsushi@ximian.com>
202
203         * XmlBinaryFormat.cs : added Base64Fixed (0xA0).
204         * XmlBinaryDictionaryReader.cs : support 0xA0 type above.
205           ReadInt() refactoring. Handle float and double value types.
206
207 2007-03-30  Atsushi Enomoto  <atsushi@ximian.com>
208
209         * XmlBinaryDictionaryReader.cs :
210           implemented some ReadContentAs[Type]() methods.
211         * XmlDictionaryReader.cs :
212           Added Read[[Element]ContentAs]String() implementations.
213         * XmlDictionaryReaderAutoGen.cs : regenerated
214
215 2007-03-20  Atsushi Enomoto  <atsushi@ximian.com>
216
217         * XmlDictionaryReader.cs : simply return false for
218           TryGet[Base64|Array]Length().
219         * XmlBinaryDictionaryReader.cs : Value string should be pupulated
220           for typed value nodes.
221
222 2007-03-19  Atsushi Enomoto  <atsushi@ximian.com>
223
224         * XmlDictionaryReader.cs : more ongoing updates (valuetype support,
225           key support updates, ReadElementContentAsBase64).
226
227 2007-03-19  Atsushi Enomoto  <atsushi@ximian.com>
228
229         * XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
230           support following operators; 0x80 (integer 0), 0x82 (integer 1) and
231           0xAE (UniqueId which is created from Guid).
232           Little fix for length output.
233
234 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
235
236         * XmlDictionaryReader.cs : fix infinite loop.
237
238 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
239
240         * XmlDictionaryReader.cs : added couple of missing methods.
241
242 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
243
244         * XmlDictionaryReaderAutoGen.cs : regenerated.
245
246 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
247
248         * XmlBinaryDictionaryReader.cs : ongoing updates to the 3.0 RTM
249           format.
250
251 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
252
253         * XmlBinaryDictionaryWriter.cs : for XmlWriterBinarySession lookup,
254           internal dictionary lookup should be string-based, since otherwise
255           it will never return correct dictionary string stored when the
256           dictionary string is from another dictionary.
257         * XmlBinaryWriterSession.cs :
258           TryLookup() is now based on string value comparison.
259           Reverted internal dictionary to int->XmlDictionaryString form,
260           as I don't use TryGetValue() anymore.
261
262 2007-03-16  Atsushi Enomoto  <atsushi@ximian.com>
263
264         * XmlBinaryDictionaryWriter.cs : WriteValue(Decimal) is working now.
265
266 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
267
268         * XmlBinaryFormat.cs : new file, collection of constants.
269         * XmlBinaryDictionaryWriter.cs :
270           Stream->BinaryWriter. Support for WriteValue() for almost all
271           types.
272
273 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
274
275         * XmlDictionaryWriter.cs : removed couple of MonoTODOs.
276
277 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
278
279         * XmlBinaryDictionaryWriter.cs : more couple of fixes (typed value
280           support and fixes, more element/attribute namespace fixes etc.).
281
282 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
283
284         * XmlBinaryDictionaryWriter.cs : fixed Base64 operation byte.
285           For comment node there is no corresponding combined EndElement
286           operation, so don't try to combine it.
287           Don't output xmlns and xml namespaces.
288
289 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
290
291         * XmlBinaryDictionaryWriter.cs : fixed couple of dictionary string
292           issues (on lookup and index output).
293         * XmlBinaryWriterSession.cs : added internal TryLookup(). Changed
294           internal structure to have dictionary string as a key.
295
296 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
297
298         * XmlBinaryDictionaryWriter.cs : new prefix population is needed
299           in this class too.
300
301 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
302
303         * XmlBinaryDictionaryWriter.cs : more WriteEndAttribute() is needed.
304           Remove wrong namespaceUri index output. Fixed attribute operation.
305
306 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
307
308         * XmlBinaryDictionaryWriter.cs : output attribute value.
309
310 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
311
312         * XmlBinaryDictionaryWriter.cs : for binary output format requirement,
313           every content must be buffered once and wait for next operation so
314           that if the content is one of the content sequence or not. This is
315           almost silly, but that is what Microsoft wanted to do.
316
317 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
318
319         * XmlBinaryDictionaryWriter.cs : couple of namespaces processing fix.
320
321 2007-03-15  Atsushi Enomoto  <atsushi@ximian.com>
322
323         * XmlDictionaryWriter.cs : WriteAttributeString and WriteStartElement
324           should also delegate to dictionary-string based methods.
325         * XmlBinaryDictionaryWriter.cs : ongoing reimplementation as it was
326           based on pretty old design as well as pretty old XmlTextWriter.
327
328 2007-03-14  Atsushi Enomoto  <atsushi@ximian.com>
329
330         * XmlBinaryWriterSession.cs : implemented.
331         * XmlBinaryDictionaryWriter.cs : a bunch of updates.
332
333 2007-03-14  Atsushi Enomoto  <atsushi@ximian.com>
334
335         * UniqueId.cs : hacky Equals() implementation.
336         * XmlDictionaryReaderQuotas.cs : removed Default and fixed Max.
337         * XmlSimpleDictionaryWriter.cs : in .NET 3.0 RTM, it is supported.
338         * XmlDictionaryWriter.cs : WriteStartElement(XmlDictionaryString,
339           XmlDictionaryString) should call WriteStartElement(string,
340           XmlDictionaryString,XmlDictionaryString) since because only the
341           latter is overridable and possible to provide dictionary string.
342
343 2007-03-09  Atsushi Enomoto  <atsushi@ximian.com>
344
345         * XmlDictionaryReader.cs : make it partial. Fill Quotas when requested.
346         * XmlDictionaryReaderAutoGen.cs : added autogenerated array reader
347           methods.
348         * XmlDictionaryWriter.cs : make it partial.
349         * XmlDictionaryWruterAutoGen.cs : added autogenerated array writer
350           methods.
351
352 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
353
354         * XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs :
355           implement IXmlNamespaceResolver.
356
357 2006-07-31  Ankit Jain  <jankit@novell.com>
358
359         * UniqueId.cs (.ctor): (string overload) Implement.
360         (ToString): Prepend "urn:uuid:" instead of "uuid-".
361
362 2006-07-31  Atsushi Enomoto  <atsushi@ximian.com>
363
364         * UniqueId.cs : some implementation.
365
366 2006-07-04  Atsushi Enomoto  <atsushi@ximian.com>
367
368         * XmlDictionaryWriter.cs, XmlSimpleDictionaryWriter.cs,
369           XmlDictionaryReaderQuotas.cs : June CTP API update.
370
371 2006-07-04  Atsushi Enomoto  <atsushi@ximian.com>
372
373         * XmlBinaryDictionaryReader.cs, IStreamProvider.cs,
374           XmlSimpleDictionaryReader.cs, IXmlMtomReaderInitializer.cs,
375           XmlBinaryWriterSession.cs, IXmlUTF8ReaderInitializer.cs,
376           IXmlMtomWriterInitializer.cs, XmlDictionaryReader.cs :
377           June CTP API updates.
378
379 2006-01-17  Atsushi Enomoto  <atsushi@ximian.com>
380
381         * XmlShimWriter.cs : deleted.
382         * XmlBinaryDictionaryWriter.cs, XmlSimpleDictionaryWriter.cs :
383           WriteProcessingInstruction() throws InvalidOperationException.
384
385 2005-11-28  Atsushi Enomoto  <atsushi@ximian.com>
386
387         * XmlDictionaryReader.cs, XmlBinaryDictionaryWriter.cs,
388           XmlDictionary.cs, XmlDictionaryWriter.cs, XmlC14NWriter.cs :
389           several API fixes to Nov. CTP.
390
391 2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>
392
393         * XmlDictionaryReader.cs : CreateMtomReader() stubs.
394
395 2005-10-24  Atsushi Enomoto  <atsushi@ximian.com>
396
397         * XmlBinaryDictionaryWriter.cs : use saved xml_lang and xml_space for
398           those corresponding properties (they bork at the declaring element).
399
400 2005-10-24  Atsushi Enomoto  <atsushi@ximian.com>
401
402         * UniqueId.cs : it does not compile.
403
404 2005-10-23  Duncan Mak  <duncan@novell.com>
405
406         * UniqueId.cs (.ctor): Implement some overloads by chaining it to
407         other Unimplemented ones.
408         (operator ==, operator !=): Implemented using the Equals method.
409         (Equals, TryGetGuid): Well, at least figure the false case....
410
411 2005-10-23  Atsushi Enomoto  <atsushi@ximian.com>
412
413         * XmlDictionary.cs : fixed type of Empty.
414         * XmlDictionaryReaderQuotas.cs : Default and Max were not readonly.
415
416 2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>
417
418         * XmlBinaryDictionaryReader.cs : and it can GetContext().
419
420 2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>
421
422         * XmlBinaryDictionaryWriter.cs :
423           Fixed index for room-reserved attributes (0x22-0x3B).
424           Added note on 0x9D.
425         * XmlBinaryDictionaryReader.cs :
426           Several fixes to get it work fine.
427
428 2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>
429
430         * XmlDictionary.cs : TryLookup() should use TryGetValue().
431           Fixed incorrect upper bound check for TryLookup(int, out dictstr).
432         * XmlBinaryDictionaryWriter.cs : Use 0x8B for empty string everywhere
433           we use 0x83.
434
435 2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>
436
437         * XmlBinaryDictionaryReader.cs : new file for CreateBinaryReader().
438         * XmlDictionaryReader.cs : use above.
439         * XmlBinaryDictionaryWriter.cs : several fixes (renamed private
440           fields, added more notes, and much more).
441
442 2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>
443
444         * XmlBinaryDictionaryWriter.cs :
445           Added notes on dictionary string support inference. Fixed filename.
446
447 2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>
448
449         * XmlBinaryDictionaryWriter.cs : new file for CreateBinaryWriter().
450         * XmlDictionaryWriter.cs : use above.
451
452 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
453
454         * XmlDictionaryWriter.cs : stubby WriteNode() impl.
455         * XmlBinaryWriterSession.cs : tiny notes.
456
457 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
458
459         * XmlSimpleDictionaryWriter.cs : new file for CreateDictionaryWriter().
460           Implemented simple XmlWriter functionality.
461         * XmlDictionaryWriter.cs : use above.
462
463 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
464
465         * XmlDictionaryWriter.cs : implemented some members. Added more stubs.
466
467 2005-09-29  Duncan Mak  <duncan@novell.com>
468
469         * XmlDictionaryWriter.cs (CreateBinaryWriter): Added stub.
470
471 2005-09-28  Duncan Mak  <duncan@novell.com>
472
473         * XmlDictionaryWriter.cs (CreateDictionaryWriter): Added stub.
474
475 2005-09-27  Atsushi Enomoto  <atsushi@ximian.com>
476
477         * XmlDictionaryReader.cs :
478           Some member signature fixes.
479           implemented CreateDictionaryReader().
480           TryGetLocalNameAsDictionaryString() seems always returning false.
481           IsLocalName() is not likely to use TryGet...() above.
482         * XmlSimpleDictionaryReader.cs : for CreateDictionaryReader().
483
484 2005-09-26  Atsushi Enomoto  <atsushi@ximian.com>
485
486         * XmlDictionaryString.cs, XmlDictionary.cs,
487           XmlDictionaryReaderQuotas.cs, XmlDictionaryReader.cs:
488           added some implementations.
489
490 2005-09-22  Atsushi Enomoto  <atsushi@ximian.com>
491
492         * XmlDictionaryString.cs, XmlShimWriter.cs,
493           IXmlBinaryWriterInitializer.cs, IXmlUTF8WriterInitializer.cs,
494           XmlDictionaryWriter.cs, UniqueId.cs, XmlC14NWriter.cs,
495           XmlDictionary.cs, OnXmlDictionaryReaderClose.cs,
496           XmlBinaryReaderSession.cs, IXmlMtomReaderInitializer.cs,
497           IXmlDictionary.cs, IXmlBinaryReaderInitializer.cs,
498           XmlCanonicalWriter.cs, XmlBinaryWriterSession.cs,
499           XmlDictionaryReaderQuotas.cs, IXmlUTF8ReaderInitializer.cs,
500           IXmlMtomWriterInitializer.cs, XmlDictionaryReader.cs :
501           #if NET_2_0. coding style was updated.
502
503 2005-09-22  Atsushi Enomoto  <atsushi@ximian.com>
504
505         * IXmlBinaryReaderInitializer.cs
506           IXmlBinaryWriterInitializer.cs
507           IXmlDictionary.cs
508           IXmlMtomReaderInitializer.cs
509           IXmlMtomWriterInitializer.cs
510           IXmlUTF8ReaderInitializer.cs
511           IXmlUTF8WriterInitializer.cs
512           OnXmlDictionaryReaderClose.cs
513           UniqueId.cs
514           XmlBinaryReaderSession.cs
515           XmlBinaryWriterSession.cs
516           XmlC14NWriter.cs
517           XmlCanonicalWriter.cs
518           XmlDictionary.cs
519           XmlDictionaryReader.cs
520           XmlDictionaryReaderQuotas.cs
521           XmlDictionaryString.cs
522           XmlDictionaryWriter.cs
523           XmlShimWriter.cs : new files.
524