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