2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
index 565875a10cc16bf0deb6b2cc416def9ac6188526..c3a8fb1a72390c63b8a09a16f090f92baf4d198c 100644 (file)
@@ -1,3 +1,211 @@
+2005-05-04  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataRowCollection.cs: Clear : remove rows from indexes
+
+2005-05-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
+         This fixes bug #74784.
+
+2005-04-29  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataTableReader.cs: removed use of _first. throw if given index
+       is out of range of columns. Copy DataTable [] to local array so
+       that not to be disturbed.
+
+2005-04-27  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataTableReader.cs: Implemented most of the TODO.
+
+2005-04-22  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * LoadOption.cs: Changed the enums. Keeping old values for
+       migration.
+
+       * DataTable.cs: Implemented methods Load and its overloads. Also
+       implemented LoadDataRow.
+
+       * DataRowCollection.cs: Added a variation of the Find method to
+       return a row even if it is of state Deleted. This is required for
+       DataTable.LoadDataRow method.
+
+       * DataRow.cs: Implemented internal helper method Load for loading
+       values from an object array and given an LoadOption (2.0 feature).
+
+       * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
+       alphabetically.
+
+2005-04-20  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataViewManager.cs: implements TypedList.GetListName used in SWF
+
+2005-04-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowView.cs : indexer should access to DataRow with proper
+         DataRowVersion. Fixed bug #74650.
+
+2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>
+
+        * DataRow.cs: if there are no mapping fields, fill with default
+         value.
+
+2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : Delete() should not try to remove row twice.
+         Fixed bug #74631.
+
+2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataTable.cs : Use GetRowType() for the base of the returning array 
+         type of Select(). Fix by Gerhard Rittweger.
+       * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
+
+2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomDataClassGenerator.cs : custom relation was not added to
+         Relations property. The second entry of bug #69276 was fixed.
+         Patch by Daniel Rodriguez.
+
+2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
+
+       * DataRowCollection.cs: Fix the signature of the Add method
+       for NET_2_0.
+
+2005-03-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRow.cs : on importing row, it was copying data from incorrect
+         DataRow. This fixes bug #73288.
+
+2005-03-07  Jackson Harper  <jackson@ximian.com>
+
+       * DataViewManagerListItemTypeDescriptor.cs: Implement missing
+       features. These are needed for System.Windows.Forms databinding.
+
+2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataColumn.cs : setting negative value on MaxLength of SimpleContent
+         column is still valid.
+
+2005-02-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlSchemaWriter.cs : new file for outputting XmlSchema.
+       * DataSet.cs : removed rewritten code in XmlSchemaWriter.
+       * XmlConstants.cs : added UseCurrentCulture constant.
+       * DataTable.cs :
+         Use new Xml Schema writer.
+         Use XmlSchemaDataImporter as we use in DataSet.
+
+2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
+         should target only child rows.
+
+2005-02-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataViewManager.cs: misuse of ReadStartElement(string).
+       * DataRowView.cs : removed some MonoTODO.
+
+2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
+           Ankit Jain     <radical@corewars.org>
+
+       * DataColumn.cs: throw exception if the column is part of a
+       relationship, when chaning the data type. Added methods
+       "GetParentRelation ()" and "GetChildRelation ()" get the relation
+       which contains the current column
+       * DataRelation.cs: Added method "Contains (DataColumn)" to check
+       whether the relation contains the given column.
+
+       fixes nunit failure: DataRelationTest.InvalidConstraintException2.
+
+2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataColumnCollection.cs: implemented todo item "check for
+       constraints" when removing columns from table.
+       * DataRowCollection.cs: Clear (): don't have to throw child key
+       constraint exception when the child table does not have any
+       rows. safe to remove parent rows.
+       * UniqueConstraint.cs: added method "Contains (DataColumn)" to
+       check whether a column is part of UniqueConstraint.
+       * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
+       lookInParent)" to check whether a column is part of foreignkey.
+
+       fixes nunit failure: DataTableTest.ClearTest ()
+
+2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * ForeignKeyConstraint.cs: validating columns: move checking
+       "tables are of same dataset" before "checking column types".
+
+       fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
+       
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataViewManager.cs : let's just use StringWriter instead of 
+         XmlTextWriter (to avoid empty tag string mismatch annoyance.)
+       * DataView.cs : implemented BeginInit() and EndInit(). Don't update
+         rows during init phase until EndInit() is invoked. During init phase,
+         just hold properties such as Sort that affects on rows.
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
+         set_Table clears Sort and RowFilter.
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs :
+         - Clear() should clear AddNew cache.
+         - Open() invokes Reset().
+         - ConstraintCollectionChanged() itself does not invoke OnListChanged().
+         - Reset() does not Open, Close and Update Index.
+         - UpdateIndex() can be invoked even if it has no table.
+         - Reset event is invoked always after actual query to table.
+         - set_Table should raise PropertyDescriptorChanged event.
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
+         when overriden, no column change events are fired).
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
+         checking target tables. They also should raise events if required.
+
+2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : simplify code with UnsortedList.
+
+2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : Mostly reimplemented.
+         - UpdateIndex() is invoked only when it is required (results in 
+           significant performance improvement).
+         - Use SortedList and wrapper OptionalSortedList which switches
+           between SortedList (with Sort) and UnsortedList (without Sort).
+         - DataView itself now contains two collections for rowviews:
+           Table rows based pool and AddNew() based cache. Consider those
+           two collections in every members.
+         - Reset() does not clear rows. Just invokes UpdateIndex().
+         - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
+           which is required to handle state changes.
+         - Reimplemented Find() and FindRows() because of internal changes.
+
+2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataTable.cs : Fixed row comparer. Even if every of the sort target
+         columns are identical for two rows, they should not be regarded as
+         the same unless they are Object.ReferenceEquals.
+
+2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowCollection.cs : on adding a row, should raise
+         ChangingDataRow() as well as ChangedDataRow().
+
 2005-01-31  Sureshkumar T  <tsureshkumar@novell.com>
 
        * DataRow.cs: SetParentRow (): use relation.ParentColumns &