2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
index e04bd6baf261b128bd9057e3d243e53c709c4450..f8241bca8551f1dee9a58c15bd328225ee23d9e0 100644 (file)
@@ -1,3 +1,111 @@
+2005-01-31  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs :some interface implementations.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : Add to table only when the row is not in the table.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : implemented FindRows() (btw we should not use
+         DataTable since there are detached rows by AddNew().)
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs :
+         Code cleanup: privatify some members, remove unused methods.
+         Some event-based invocation methods should not raise NotImplemented.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UniqueConstraint.cs : mostly reverted the previous patch + check
+         IsPrimaryKey before validation.
+
+2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs : Fixed duplicate insertion to Hashtable.
+       * UniqueConstraint.cs : Unique constrained pair of columns could be
+         nullable.
+
+2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs :
+         Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
+         when the same value is being set.
+         Examined UpdateIndex() and marked FIXME where MS does not invoke it.
+         Removed unused OnColumnChanged().
+         Now store rowViewPool and reuse DataRowView objects.
+         Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
+
+2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataViewSettings.cs : no MonoTODO anymore.
+       * DataViewManager.cs : pass itself to new DataView() (new ctor).
+       * DataRowView.cs : GetHashCode() returns its Row's hash.
+       * DataTablePropertyDescriptor.cs : use new ctor().
+       * DataView.cs : added new ctor()s that accept DataViewManager.
+
+2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
+         (it is still detached). So handle those rows differntly.
+         CancelEdit(), EndEdit() and Delete() propagates those events to
+         DataView (and handle row collection).
+         Eliminate "throw new Exception()".
+         Don't catch all the exception thrown in ListChanged event.
+       * DataTable.cs : made RowSorter as internal and use it in DataView.
+         no need to pass DataRow[] to .ctor().
+
+2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataTable.cs : don't create DefaultView unless it is required. It
+         significantly improves performance. (i.e. DataView perf. is sick ;-)
+
+2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataViewSetting.cs,
+         DataViewSettingCollection.cs,
+         DataViewManager.cs : implemented basic members.
+
+2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
+         Eliminate "throw new Exception".
+
+2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
+         regardless of index existence.
+
+2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
+         boxing.
+
+2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataTable.cs: ImportRow :Do not add to rows collection if the
+       import row is in detached state.
+
+2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataRow.cs: CopyValuesToRow : set the column value with the
+       default version of the given row.
+       * DataTable.cs: ImportRow: Copy values before adding row.
+       * DataSet.cs: AddChangedRow: Add the row to the table after
+       copying values.
+       
+       Fixes bug #67317. Patch by Ankit Jain.
+
 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
 
        * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.