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