2003-06-01 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / ChangeLog
1 2003-06-01  Miguel de Icaza  <miguel@ximian.com>
2
3         * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
4         UnknownElement): Add line number information.
5
6 2003-05-29  Lluis Sanchez Gual <lluis@ximian.com>
7
8         * TypeData.cs, TypeTranslator.cs: Renamed some properties.
9         * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
10         * XmlMapping.cs: Added internal property.
11         * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
12         * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
13         * XmlReflectionMember.cs: XmlAttributes are now created by default
14         * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
15         * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs: 
16           Implemented support for XmlMembersMapping.
17         * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
18
19 2003-05-28  Lluis Sanchez Gual <lluis@ximian.com>
20
21         * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
22           from xml type to clr type.
23         * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
24         * XmlReflectionMember.cs: Added default constructor.
25         * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
26         * XmlSerializationWriter.cs: Several fixes.
27         * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
28           XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
29           Added support for enums. Added support for XmlElement and XmlNode.
30           Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
31
32 2003-05-26  Lluis Sanchez Gual <lluis@ximian.com>
33
34         * TypeData.cs, TypeTranslator.cs: Implemented some methods.
35         * XmlCustomFormatter.cs: Added formatting methods.
36         * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
37         * XmlReflectionMember.cs: Added new constructor.
38         * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
39         * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
40           XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
41           XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
42
43 2003-05-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
44
45         * Added TypeTableEntry.cs.
46         * TypeTranslator.cs : changed for non-static use.
47         * XmlAttributes.cs : XmlType attribute support for GetAttributeName() 
48           and GetElementName(). Bugfix so that if any XmlElementAttribute 
49           exists after non-typed XmlElementAttribute then it might be ignored.
50           Added GetElementIsNullable().
51         * XmlSerializer.cs :
52           Introduced TypeTablePool and TypeTableEntry and erased ambiguous 
53           Object memberObj[4].
54           Deserialize() now uses XmlReader.Depth to check its depth.
55           Serialize() for non-XmlReader arguments now always write xmldecl.
56           SerializeBuiltin() now explicitly requires Type to support xsi:nil,
57           and handles XmlQualifiedName.
58           Separated SerializeType () from Serialize().
59           Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
60           IsPropertyTypeSerializable() from SerializeMembers().
61           SerializeMembers() is now capable of null value and actual type,
62           which should be included by XmlIncludeAttribute and so on.
63           Renamed SerializeArray() to SerializeArrayContent(), and added
64           SerializeCollectionContent().
65           SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
66           FillTypeTable() is now aware of XmlInclude attributes.
67           FillEnum() should not have different type table content from others.
68
69 2003-05-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
70
71         * XmlSerializer.cs : this time, only replaced spaces with tabs.
72
73 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
74
75         * ChangeLog : Added missing ChangeLog of 2003-04-25.
76         * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain 
77           separators. Added experimental method ToEnum().
78         * XmlSerializationReader.cs : unconfirmed implementation of
79           ReadSerializable() and ToEnum().
80         * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value 
81           is null then no output will be written.
82           Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag() 
83           to use custom formatted name.
84
85 2003-05-02  Miguel de Icaza  <miguel@ximian.com>
86
87         * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
88         had a void return value.
89
90 2003-04-26  Miguel de Icaza  <miguel@ximian.com>
91
92         * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
93         `AllowMultiple' flags.  
94
95 2003-04-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
96
97         * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
98         * XmlReflectionImporter.cs : patch by Erik LeBel. 
99           Now uses XmlRootAttribute to determine element name.
100
101 2003-03-17  Miguel de Icaza  <miguel@ximian.com>
102
103         * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
104         Kill Bublesort.
105
106 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
107
108         * XmlSerializer.cs : patch by Sean Cier. Serialize() other than 
109           XmlWriter argument should call WriteEndDocument.
110
111 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
112
113         * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
114           not WriteState.Start, and never call WriteEndDocument().
115
116 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
117
118         * XmlCustomFormatter.cs: Correct signature, Implement
119         ToByteArrayBase64 
120
121         * XmlSerializationWriter.cs: Fix prototype.
122
123         * XmlSerializer.cs: Implements Deserialize().
124
125 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
126
127         * XmlSerializer.cs : serializing now works for interface member.
128
129 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
130
131         * XmlSerializer.cs : some fix handling xml node object more correct.
132
133 2003-01-16  Ajay kumar Dwivedi <adwiv@yahoo.com>
134         * XmlSerializer.cs: Array serialization for 1D arrays works
135         * TypeTranslator: Added for translations`
136
137 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * XmlCustomFormatter.cs: finished.
140         * XmlSerializationReader.cs: implemented some more methods.
141
142 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
143
144         * XmlSerializationReader.cs: implemented a few methods.
145
146         * XmlAnyElementAttribute.cs:
147         * XmlArrayAttribute.cs:
148         * XmlChoiceIdentifierAttribute.cs:
149         * XmlElementAttribute.cs:
150         * XmlMemberMapping.cs:
151         * XmlMembersMapping.cs: class status based fixes.
152
153 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
154
155         * CodeIdentifiers.cs:
156         * XmlSchemaExporter.cs:
157         * XmlSchemaImporter.cs:
158         * XmlSchemas.cs:
159         * XmlSerializationWriteCallback.cs:
160         * XmlSerializationWriter.cs:
161         * XmlSerializer.cs:
162         * XmlSerializerNamespaces.cs: some class status based fixed and
163         implemented a couple of methods.
164
165         * SoapSchemaExporter.cs: stubbed out.
166
167 2002-08-24  Tim Coleman <tim@timcoleman.com>
168         * SoapCodeExporter.cs:
169                 Fix return value of ExportTypeMapping.
170         * XmlCustomFormatter.cs:
171                 Change methods to be internal instead of public.
172         * XmlSerializationWriter.cs:
173                 Modify GetPrimitiveTypeName to build on linux.
174                 Modify GetQualifiedName to return an incrementing prefix
175                 instead of the same one all the time (still need to manage
176                 conflicts)
177                 Modify WriteElementString to only do special stuff is XsiType
178                 is not defined.
179                 Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
180                 an XmlQualifiedName.
181
182 2002-08-22  Tim Coleman <tim@timcoleman.com>
183         * XmlSerializationReader.cs:
184                 Some implementation
185         * XmlSerializationWriter.cs:
186                 More implementation
187         * XmlCustomFormatter.cs:
188                 Implemented this class.
189
190 2002-08-20  Tim Coleman <tim@timcoleman.com>
191         * XmlSerializationWriter.cs:
192                 Some implementation.
193
194 2002-08-19  Tim Coleman <tim@timcoleman.com>
195         * XmlSerializer.cs:
196                 New stubs added.
197         * XmlSerializationWriter.cs:
198                 New stubs added.
199
200 2002-08-14  Tim Coleman <tim@timcoleman.com>
201         * XmlSerializer.cs:
202                 More reformatting of source code so I can
203                 better understand what it does.
204
205 2002-08-06  Tim Coleman <tim@timcoleman.com>
206         * XmlSerializer.cs:
207                 Some reformatting of code for readability.
208                 Modify to correctly serialize ICollection objects
209                 such as the BindingCollection of a ServiceDescription
210                 for example.
211
212 2002-08-03  Tim Coleman <tim@timcoleman.com>
213         * XmlSerializer.cs: 
214                 Changed Implements() to check based on name rather
215                 than FullName.  FullName was never working correctly.
216
217 2002-07-26  Tim Coleman <tim@timcoleman.com>
218         * XmlSerializer.cs:
219                 The constructor now looks for an XmlRootAttribute attribute
220                 if one is not passed in.  Various changes to make it emit
221                 proper XML, such as handling an element without a namespace
222                 prefix, and using WriteEndDocument where it should be.
223
224 2002-07-24  Tim Coleman <tim@timcoleman.com>
225         * CodeIdentifier.cs:
226         * IXmlSerializable.cs:
227         * XmlSerializationCollectionFixupCallback.cs:
228         * XmlSerializationFixupCallback.cs:
229         * XmlSerializationReadCallback.cs:
230         * XmlSerializationReader.cs:
231         * XmlSerializationWriteCallback.cs:
232                 Add new classes.
233         * XmlSchemas.cs
234         * CodeIdentifiers.cs:
235                 Implement some of these classes
236         * XmlCodeExporter.cs:
237                 Fix return type of a function
238
239 2002-07-24  Tim Coleman <tim@timcoleman.com>
240         * SoapReflectionImporter.cs:
241                 New class added to build
242                 System.Web.Services.Description.ServiceDescription.cs
243
244 2002-07-22  Tim Coleman <tim@timcoleman.com>
245         * CodeIdentifiers.cs:
246         * SoapCodeExporter.cs:
247         * SoapSchemaExporter.cs:
248         * XmlCodeExporter.cs:
249         * XmlMemberMapping.cs:
250         * XmlMembersMapping.cs:
251         * XmlReflectionImporter.cs:
252         * XmlReflectionMember.cs:
253         * XmlSchemaExporter.cs:
254         * XmlSchemaImporter.cs:
255         * XmlSchemas.cs: 
256                 New stubbs added to aid in the linux build of
257                 System.Web.Services.
258
259 2002-07-05  Ajay kumar Dwivedi <adwiv@yahoo.com>
260         
261         * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
262
263         * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
264
265 2002-07-02  Ajay kumar Dwivedi <adwiv@yahoo.com>
266         
267         * XmlSeriailizer: Updated Serialize() method.
268
269 2002-06-27 Ajay kumar Dwivedi <adwiv@yahoo.com>
270         * XmlSerializer: Serialize() method Partially Implemented.
271
272 2002-06-20 Ajay kumar Dwivedi <adwiv@yahoo.com>
273
274         * Soap & XmlOverrides: Implemented using TypeMember as key with
275           suggestions from Rafael.