2009-08-07 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index d98f60ef2e06f6d08ad5014421c09871dd13d134..f4b6148ca1a72945ca3dc3f1cc35849c29630ea3 100644 (file)
@@ -1,3 +1,150 @@
+2009-08-07  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * CurrencyManager.cs: Remove duplicate code.
+
+2009-08-07  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs: 
+       Massive population performance boost. From seconds to ms.
+       [Fixes bug #528887]
+
+2009-08-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * DataGrid.cs: When handling mouse down on a column, don't do any sort
+       even if the list supports it if we are empty. This way we avoid an exc
+       sorting the empty list, and keep the UI compatible with .net.
+
+2009-08-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * DataGrid.cs: In Edit () check we have any row before trying to use
+       the current row. Fixes a IOOR exc with an empty data grid.
+
+2009-08-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
+       the owner DataGrid - even if this seems to be the right thing to do,
+       .net is not doind this check at this point, but in later operations.
+       Fixes #465019.
+
+2009-07-28  Mike Gorse  <mgorse@novell.com>
+
+       * ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.
+
+2009-07-28  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * Application.cs: Make FilterMessage internal for 1.1. Fixes the 1.1 build.
+
+2009-07-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * XplatUIX11.cs:
+       * XplatUIWin32.cs: We need to filter the messages using
+       Application.FilterMessage for our DoEvents implementations. Observe
+       that I don't like the idea of XplatUI call the upper level Application
+       class, but at this point is easier and simpler to do this call - based
+       on the fact it's only one simple call.
+       Fixes #516735.
+
+2009-07-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TreeNodeCollection.cs: When removing the selected node, set the
+       SelectedNode value of TreeView to null if there aren't more nodes left - 
+       this is better than to clear the selected node in Clear, since we need
+       to handle the situation in the Remove methods as well.
+       Fixes #525002.
+
+2009-07-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolStripItemCollection.cs: Find should do a case insensitive
+       search, and should throw an ArgumentNullException if the parameter is
+       an empty string.
+
+2009-07-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PropertyGrid.cs: Use click handlers for each ToolStripButton instead
+       of using a global handler for the ToolStrip. This way the buttons can
+       be recovered and can have its PerformClick method called properly.
+       Fixes #522454.
+
+2009-07-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * X11Dnd.cs: Implement support for XdndActionList, so we can get the
+       complete list of the supported actions in the drag source, and use the
+       action passed in the Position message only as a fallback. This will
+       help us with dnd operations with non winforms apps.
+       Fixes #402158.
+
+2009-07-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
+       Find. This should fix the exception we were getting when trying to
+       convert the ArrayList to an array of objects (since we were losing the
+       type parameter).
+       Fixes #519944.
+
+2009-07-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * RadioButton.cs: Setting Checked when none of the sibligs is checked
+       should happen *not* in GotFocus, but in the Enter event. This is
+       specially important since we should get that Checked behaviour even if
+       no handle is created yet - and thus, no actual GotFocus call happens at
+       the time.
+       Fixes #520764.
+
+2009-07-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ComboBox.cs: Adjust manually the top border for out internal
+       ComboBox, since removing the border from it leaves it without any
+       margin. This is not noticeable in a default ComboBox, but it is in an
+       instance shown on top of ToolStrip.
+       Fixes the remaining part of #507462.
+
+2009-07-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TextBoxBase.cs: Expose the margin top width as a property, to keep
+       the code clean.
+       * ToolStripTextBox.cs: Since we are actually using no border in the
+       default TextBox impl, and we are drawing the border ourselves, we need
+       to manually set the top margin.
+       Fixes part of #507462.
+
+2009-07-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PrintPreviewDialog.cs: Record when left was pressed, so we can
+       simulate Tab+Alt when moving the focus throughout our buttons and
+       controls.
+       Fixes the remaining bits of #509142.
+
+2009-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TabControl.cs: When computing the width of each tab page, use the
+       page's Font instead of the tab control one.
+       Fixes #514368.
+
+2009-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
+       the current menu is specifically a ContextMenu (this is what .net does
+       as well). This way we also avoid a crash caused by MenuTracker trying
+       to use the menu when it was already hidden.
+
+2009-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PrintPreviewDialog.cs: Remove the code used to handle the
+       DropDown menu, since we are now doing it by default in ToolBar, and
+       just call the base impl as needed.Also, deactivate the dropdown menu
+       before moving the focus to a different button in our toolbar, as .net
+       does.
+       * ContextMenu.cs:
+       * MenuAPI.cs: Make as internal the needed bits to deactivate a
+       ContextMenu, and also to keep some beauty in our api.
+
+2009-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolBar.cs: When handling the key down message, if we are on a
+       drop down button, either show the DropDownMenu or pass the key to its
+       ProcessCmdKey method as needed.
+       Fixes the remaining bits of #509985.
+
 2009-06-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
 
        * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also