2009-01-03 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 1f1b8226e7592eb2c11a703b95dd9341b000d3c4..21cafc145363148b88a3c6d29b57a886a99881dc 100644 (file)
@@ -1,3 +1,85 @@
+2009-01-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewCell.cs: We should return a value even if we are not bound 
+       to a DataGridView.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * CurrencyManager.cs, DataGrid.cs: 
+          - Rename CanAddRows to AllowNew. The CurrencyManager has no 
+          concept of "rows".
+          - Add two more internal properties AllowRemove and AllowEdit.
+       * DataGridView.cs: Refactor in a data-bound situation AllowUserToAddRows, 
+       AllowUserToDeleteRows and cell ReadOnly state to be also checked against the 
+       CurrencyManager data source.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Fix crashes caused by assigning negative values to 
+       ScrollBar.LargeIncrement when the ClientSize.Width/Height is less than 
+       the column/row heights/widths.
+       [Fixes bug #462684]
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Non-autogenerated columns that have a data property 
+       set that exists in the current datasource should be set to be data-bound.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Fix column sorting for columns containing null 
+       values. A "null" value is not always "null" (e.g could be String.Empty) 
+       and thus parsing numeric types throwed an exception for "null" values.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Detach the editing control when the edit is 
+       finished.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Multiple fixes to handle last column/row removal 
+       and cell movement after that instead of throwing exceptions.
+
+2009-01-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewCellCollection.cs: When cells are removed the column 
+       indices become invalid if the cell is not the last one and have to 
+       be refreshed.
+
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Return false in CommitEdit if there was an error.
+
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Remove a leftover Console.WriteLine.
+
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewRow.cs: Access the indexer of the data manager directly 
+       instead of the internal list.
+
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewCell.cs, DataGridView.cs, DataGridViewCheckBoxCell.cs: 
+       Rewrite the value getting, setting, parsing, formatting logic:
+          - If data-bound value get/set should actually get and set from the 
+            data source.
+          - Make proper usage of TypeConverters for value parsing/formatting.
+          - Raise DataError if setting the new value fails.
+          - Get rid off the internal valueType field and get/set the ValueType 
+          property instead.
+       [Fixes bug #462051]
+
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Rewrite the DataBinding layer:
+          - Get rid off all BindingSource/IBindingList/DataSet/DataTable 
+          specific code.
+          - Get rid off the per DataSource type column autogeneration code.
+          - Use the CurrencyManager for everything that is DataBinding related.
+
 2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
 
        * CurrencyManager.cs: Do not fire duplicate ListChanged events.