Button painting, MouseDown/Up, LAYOUT_SUSPENDED
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
1 2003-07-25  Ravi Pratap  <ravi@ximian.com>
2
3         * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
4         method on a delegate is disallowed - fix this.
5
6 2003-07-22  Lluis Sanchez Gual  <lluis@ximian.com>
7
8         * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
9           xml serialization. Modified method of writing schema. Now it creates
10           a XmlSchema object and serializes it using XmlSerializer.
11         * XmlConstants.cs: Added constants for data type names.
12         * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
13           type specified in the column.
14
15 2003-04-20  Alan Tam <Tam@SiuLung.com>
16
17         * DataRelationCollection.cs: Fix a bug that prevent relations
18         from being added via DataSet.
19
20 2003-04-12  Ville Palo <vi64pa@kolumbus.fi>
21
22         * UniqueConstraint.cs: one tiny fix.
23         
24 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
25
26         * DataTable.cs: Remove UniqueConstraints when adding new ones
27         
28 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
29
30         * DataColumnCollection.cs: Little 'case sensitive' fix
31         
32 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
33
34         * DataRow.cs: AutoIncrement handling to Constructor
35         * DataRowCollection.cs: This doesnt need anymore AutoIncrements
36         
37 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
38
39         * DataTable.cs: Some fixes to PrimaryKey etc...
40         * UniqueConstraint.cs: Little clean up
41         
42 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
43
44         * DataTable.cs: Tiny fix to ToString () -method
45         
46 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
47
48         * ConstraintCollection.cs: Little fix.
49         * DataColumn.cs: Added new internal method SetUnique()
50         * UniqueConstraint.cs: some little fixes
51         
52 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
53
54         * DataRowCollection.cs: Bugfixes, implementation,...
55         
56 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
57
58         * DataColumn.cs: If DataType if set to something else than short, int
59         or long and AutoIncrement is true, AutoIncrement is must set to false.
60         
61 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
62
63         * DataRow.cs:
64         (BeginEdit): fixed array bound problem when a column has been added.
65         (EndEdit): just assign proposed to current as proposed is set to null.
66         This also fixes another array boudn problem.
67
68 2003-03-21  Alan Tam <Tam@SiuLung.com>
69
70         * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
71         EndEdit and AcceptChanges to act correctly according to DataRowState
72         and DataRowVersion.
73         * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
74         attached and detached from the collection.
75
76 2003-03-20  Alan Tam <Tam@SiuLung.com>
77
78         * DataColumn.cs: Store empty string for Expression when null is passed in.
79         Classes generated by XSD.exe passes null by default.
80
81 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
82
83         * DataColumnCollection.cs: Tiny clean up
84
85 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
86
87         * DataColumn.cs: little fixes.
88         * DataColumnCollection.cs: Lots of little fixes and improvments.
89         
90 2003-03-12  Alan Tam <Tam@SiuLung.com>
91
92         * DataSet.cs: Fixed a bug that the file written does not close correctly.
93
94 2003-03-08  Alan Tam <Tam@SiuLung.com>
95
96         * DataRelationCollection.cs: Removed the mis-overridden methods
97         * DataRow.cs: Fixed an attribute
98         * DataSet.cs: Fixed the modifiers
99
100 2003-03-06  Aleksey Demakov <avd@openlinksw.com>
101
102         * DataTableCollection.cs: The Contains (string name),
103         IndexOf (string name) methods, and item[string name] indexer
104         now behave more like .NET with respect to case-sensitivity.
105         That is if there is an exactly matching item then this one is used.
106         If there is only one item differing in case then it used.
107         If there are more than one item differing in case then
108         Contains returns false, IndexOf returns -1, and item[]
109         throws an ArgumentException.
110
111 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
112
113         * ExpressionElement.cs: More implementation. 
114         
115 2003-02-28  Alan Tam <Tam@SiuLung.com>
116         * DataSet.cs: Changed WriteTable so that it now calls the newly written
117         WriteObjectXml to direct the call to the respective XmlConvert method.
118         This fixes the wrong format written to XML files of bool, float,
119         double, DateTime and TimeSpan types.
120
121 2003-02-25  Alan Tam <Tam@SiuLung.com>
122
123         * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
124         * DataRelationCollection.cs: Implemented AddRange and Contains.
125         Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
126         Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
127         Reimplemented most Add methods to eliminate duplicated checks.
128         Centralized RelationName generation procedure in GetNextDefaultRelationName.
129
130 2003-02-25  Alan Tam <Tam@SiuLung.com>
131
132         * DataColumn.cs: Fixed wrong storage representation of Expression
133         (using empty string instead of null) so that ToString() returns nothing.
134         * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
135         auto column naming now works as expected. Reimplemented some Add methods
136         to eliminate code duplication.
137
138 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
139
140         * DataTable.cs: DataTable.CaseSensitive follows parent 
141         DataSet.CaseSensitive property if DataTable.CaseSensitive has never
142         been changed directly from DataTable
143         
144 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
145
146         * DataSet.cs: When CaseSensitive property is changed all of the Tables
147         of DataSet have to change too
148         
149 2003-02-19  Daniel Morgan <danmorg@sc.rr.com>
150
151         * InternalDataCollectionBase.cs: revert change to field
152         to fix build
153         
154         * DataViewManager.cs
155         * DataView.cs
156         * DataTable.cs
157         * DataSet.cs: commented use of DesignerAttribute
158         because it broke the build.  According to MSDN,
159         DesignerAttribute does not have a zero-argument constructor
160
161 2003-02-18  Ville Palo <vi64pa@kolumbus.fi>
162
163         * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
164         
165 2003-02-18  Alan Tam <Tam@SiuLung.com>
166
167         * DataRow.cs: Implemented GetParentRow and GetParentRows.
168         * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
169                       OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
170                       RaisePropertyChanging.
171         * DataTable.cs: Implemented NewRowArray.
172         * DataTablePropertyDescriptor: Fixed a modifier.
173         * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
174         * PropertyCollection.cs: Minor fix.
175         * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs 
176         * DataRelation.cs DataRelationCollection.cs DataRow.cs
177         * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
178         * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
179         * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
180         * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
181         * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
182         
183 2003-02-08  Ville Palo <vi64pa@koti.soon.fi>
184
185         * ExpressionElement.cs: More implementation
186         
187 2003-02-05  Alan Tam <Tam@SiuLung.com>
188
189         * DataSet.cs: Added framework for DataSet.Update Implemented missing 
190         methods GetSchemaSerializable, GetSerializationData, 
191         ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
192         for DataSet
193         * DataTable.cs: Implemented missing methods CreateInstance and 
194         GetRowType for DataTable
195         
196 2003-02-03  Ville Palo <vi64pa@koti.soon.fi>
197
198         * DataSet.cs: Implemented private method MapType for 
199         mapping datatypes for XmlSchema
200         
201 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
202
203         * DataView.cs: implemented Dispose.
204
205 2003-01-30  Ville Palo <vi64pa@koti.soon.fi>
206
207         * ExpressionElement.cs: Added new file. This file is for parsing
208           and DataData.Select () -methods and DataColumn.Expression -property
209         * DataTable.cs: Implemented Select(string) -method      
210         
211 2003-01-28  Ville Palo <vi64pa@koti.soon.fi>
212
213         * DataSet.cs: One little fix to writing xml
214         
215 2003-01-27  Ville Palo <vi64pa@koti.soon.fi>
216
217         * XmlSchemaMapper.cs: Some fixes.
218         * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
219
220                 
221 2003-01-24  Ville Palo <vi64pa@koti.soon.fi>
222
223         * UniqueConstraint.cs: Do not set columns Unique property true 
224         as a default.
225         * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
226         
227 2003-01-18  Ville Palo <vi64pa@koti.soon.fi>
228
229         * DataTableCollection.cs: Now names new DataTable if it doesn't 
230         already have a name.
231         
232 2003-01-17  Ville Palo <vi64pa@koti.soon.fi>
233
234         * XmlSchemaMapper.cs: Improvments.
235         * XmlConstaints.cs: Added more constants.
236         * DataSet.cs: Improvments of reading and writing xml
237         * DataColumn.cs: Added default values of properties.
238                 
239 2003-01-14  Ville Palo <vi64pa@koti.soon.fi>
240
241         * XmlSchemaMapper.cs: Some improvments
242         
243 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
244
245         * DataRowCollection.cs: Added IndexOutOfRangeException
246         * DataTableCollection.cs: Added OnCollectionChanging and 
247         OnCollectionChanged events.
248         * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
249         * DataTable.cs: Implemented Copy () and Clone () methods.
250         * XmlDataLoader.cs: some fixes.
251         * XmlSchemaMapper.cs: comments.
252         
253 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
254
255         * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
256
257 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
258
259         * DataColumnPropertyDescriptor.cs: fixed typo.
260         * DataViewManagerListItemTypeDescriptor.cs: added new internal property
261         to get the DataViewManager and removed TablePD class.
262         * DataTablePropertyDescriptor.cs: TablePD class is now this one as
263         suggested by danmorg.
264
265 2003-01-06  Ville Palo <vi64pa@koti.soon.fi>
266
267         * XmlDataLoader.cs: Moved diffgram stuff to new internal class
268         XmlDiffLoader.
269         * XmlDiffLoader.cs: new class for diffgrams. Added handling of 
270         diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
271         
272 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * DataView.cs: made dataViewManager internal.
275         * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
276         properties of the object, but the values of the columns present in a
277         row.
278         
279         * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
280         which returns a PropertyDescriptorCollection. Created a new class
281         derived from PropertyDescriptor that treats Table as an object whose
282         properties are DataRowView.
283
284 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
285
286         * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
287         
288 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
289
290         * DataColumn.cs: ExtendedProperties is by default !null-
291         
292 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
293
294         * DataColumnCollection.cs: Add (DataColumn Column) -method didn't 
295         set column's ordinal.
296         
297 2003-01-02  Ville Palo <vi64pa@koti.soon.fi>
298
299         * DataSet.cs: 
300         * XmlDataLoader.cs: XmlReader closing fixes.
301         * XmlSchemaReader.cs: Added support for ref=
302         
303 2003-01-01  Ville Palo <vi64pa@koti.soon.fi>
304
305         * DataSet.cs: 
306           - Added XmlReader and XmlWriter Closing.
307           - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
308         * XmlSchemaMapper.cs
309           - Much better way IMHO  to map xmlschema than the old one in 
310             DataSet.cs. Its, more flexible, cleaner, ...
311                         
312 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
313
314         * XmlDataLoader.cs: Reading diffgrams.
315         
316 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
317
318         * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
319         * DataTable.cs: Added ChanginDataColumn () for triggering 
320         DataColumnChanging event
321         
322 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
323
324         * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
325         
326 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
327
328         * DataSet.cs: Indentations to WriteXml ()
329         
330 2002-12-27  Ville Palo <vi64pa@koti.soon.fi>
331
332         * DataSet.cs:
333         * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
334         class XmlDataLoader.cs
335         
336 2002-12-19  Ville Palo <vi64pa@koti.soon.fi>
337
338         * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
339         
340 2002-12-18  Ville Palo <vi64pa@koti.soon.fi>
341
342         * DataSet.cs: Started to implement ReadXml-methods.
343         
344 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
345
346         * DataSet.cs: implemented DefaultViewManager and GetList.
347
348         * DataViewManager.cs: a bit of work on IList and ITypedList needed by
349         DataList in System.Web.
350
351         * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
352         DataViewManager.
353
354 2002-12-16  Ville Palo <vi64pa@koti.soon.fi>
355
356         * DataRow.cs
357         * DataTable.cs: Fixed NullException (rollback -event)
358         * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
359         
360 2002-12-15  Ville Palo <vi64pa@koti.soon.fi>
361
362         * DataRow.cs:
363         * DataRowCollection.cs: Moved event triggering from DataRow to
364         DataRowCollection.
365         
366 2002-12-09  Ville Palo <vi64pa@koti.soon.fi>
367
368         * DataSet.cs: Little fix to WriteTable () -method 
369         and DoReadXmlSchema () -method.
370         
371 2002-12-06  Ville Palo <vi64pa@koti.soon.fi>
372
373         * DataSet.cs: Clean up to reading xmlschema. This looks much better 
374         now (work better too), but it not working correctly yet.
375         
376 2002-12-04  Ville Palo <vi64pa@koti.soon.fi>
377
378         * DataRow.cs: 
379         * DataRowCollection.cs: Added some event handlins stuff.
380         * DataSet.cs: Some fixes.
381         * DataTable.cs: Added event handlers.
382         
383 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
384
385         * DataRowChangeEventArgs.cs: Implemented Action and Row properties 
386         
387 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
388
389         * System.Data/DataRow.cs: Added internal property XmlDataID
390         
391 2002-11-29  Ville Palo <vi64pa@koti.soon.fi>
392
393         * DataSystem.Data.DataTableCollection.cs:
394         Removed HashTable. There could be situations where DataTable
395         is added to collection before it hava TableName. So using 
396         HashTable is impossible.
397         
398 2002-11-19  Carlos Guzmán Álvarez <carlosga@telefonica.net>
399
400         * DataRow.cs: an object that is equal to null 
401         should be allowed to be set in this indexer too
402         to be like .NET
403
404 2002-11-06  Daniel Morgan <danmorg@sc.rr.com>
405
406         * DataColumnPropertyDescriptor.cs: added file
407         
408         * System.Data/DataRowView.cs: started implementation
409         
410         * DataTable.cs: stubbed more interfaces.  Implemented
411         IListSource.GetList()
412         
413         * DataView.cs: stubbed more interfaces.  Implemented
414         some properties and methods: GetEnumerator(), 
415         ITypedList.GetItemProperties, Item indexer, CopyTo()
416
417 2002-05-18  Nick Drochak  <ndrochak@gol.com>
418
419         * DataRow.cs: Fix typo.