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