2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 5b1a880a77c786d7ae7cbd467027294e26654cdb..7228bf0d74a3b912172fcbd39ce94c11847c7755 100644 (file)
@@ -1,3 +1,234 @@
+2009-06-16  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Scrolling fixes.
+       [Fixes bug #512816]
+
+2009-06-16  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and 
+       optimize for batch adding rows.
+
+2009-06-16  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Avoid calling ReBind twice during the initial data 
+       binding.
+       [Fixes bug #512807]
+
+2009-06-16  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Suppress invalidation during data binding.
+       [Fixes part of bug #512807]
+
+2009-06-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PrintPreviewDialog.cs: Tune the navigation among the buttons and
+       controls that are part of our ToolBar, so we can mimic the behaviour
+       observed in .Net, by handling also the arrow keys and doing the
+       preprocess for them too.
+       Fixes the remaining bits of #509142.
+
+2009-06-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolBar.cs: Expose the current item as internal.
+       * PrintPreviewDialog.cs: Tune the TabStop property for
+       PrintPreviewControl/ToolBar so we match the .net scenario regarding
+       Tab navigation. Also implement support to navigate throughout the
+       items in the ToolBar.
+       Fixes #509142.
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs: 
+       Implement items syncing in the non-databound scenario.
+       [Fixes bug #494031]
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Call OnCellValidating and OnCellValidated and 
+       handle the Cancel accordingly.
+       [Fixes bug #506838]
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
+       [Fixes bug #506796]
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs, 
+       DataGridView.cs: Fire CollectionChangeAction.Refresh collection 
+       changed when Clearing the collections so that the DataGridView 
+       can know and reset the current cell.
+       [Fixes bug #492549]
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor 
+       with the PropertyDescriptor parameter instead of index, because the 
+       latter will set some irelevant indices. Fixes a bug uncovered by recent
+        fix to ListChangedEventArgs.
+
+2009-06-09  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * DataObject.cs: When looking for any specific format, do a case
+       insensitive search, as .net does.
+       Fixes #509199.
+
+2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * CurrencyManager.cs: In AllowNew firstly check if the list is a 
+       IBindingList and proxy to AllowNew. IBindingList has slightly differet 
+       logic and eventhough it's an IList IsReadOnly should not be used in this 
+       case as it might be True but AllowNew could be True as well.
+       Fixes a bug uncovered by a fix to the Array class.
+
+2009-06-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListBindingHelper.cs: In GetListItemType do a null check when
+       looking for IList.Item, since the impl could be explicit, and thus
+       private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
+       Fixes the remaining part of #507120
+
+2009-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
+       to match them in all the cases, as this is exactly what .net does.
+       Fixes #510728.
+
+2009-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListBindingHelper.cs: In GetListItemType handle gracefully the case
+       where an instance of IEnumerator returns a null value for its Current
+       property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
+       Fixes #507120.
+
+2009-06-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ComboBox.cs: Properly detect whether we need to use our vertical
+       scrollbar or not, specially for DropDownList/DropDown styles,
+       depending on the value of DropDownHeight.
+       Fixes #508541.
+
+2009-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * ToolTip.cs: Call the base implementation in Dispose, but do it
+       before anything else to avoid a regression. This way we do the default
+       routines related to any System.ComponentModel.Container.
+       Fixes #508586.
+
+2009-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Clipboard.cs:
+       * XplatUIX11.cs:
+       * DataFormats.cs: Implement support for serializable types in our
+       clipboard.
+       Fixes #357642.
+
+2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ColorDialog.cs: Actually add the help button to the form, so it can
+       be visible.
+       Fixes #478555.
+
+2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PrintPreviewDialog.cs: Don't use Dock.Fill for the
+       PrintPreviewControl, since it will be hidden in the top by our
+       toolbar. Use manual location and anchoring instead.
+       Fixes #474889.
+
+2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * FileDialog.cs: When saving the size of the dialog, use the
+       ClientSize instead of Size, so we have always the same size for the
+       form. Patch by Alex Shulgin.
+       Fixes #503064.
+
+2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
+       show a beep, similar to what .net does. 
+       Fixes #473725.
+
+2009-05-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ContainerControl.cs:
+       * MenuStrip.cs
+       * ToolStrip.cs: Implicit mnemonic processing should happen for every
+       ToolStrip child, not only for MenuStrip, so we are going to do that in
+       ToolStrip.ProcessMnemonic, where we already had that exactly
+       functionality, but we are only just checking that either this instance
+       is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
+       remove the extra code, since we are not going to use it now.
+       Fixes the remaining bits of #503663.
+
+2009-05-21  Neville Gao  <nevillegao@gmail.com>
+
+       * ContextMenu.cs: Cleaned up UIA properties.
+
+2009-05-20  Dick Porter  <dick@acm.org>
+
+       * XplatUICarbon.cs: Add more locking around MessageQueue
+       manipulations.
+
+2009-05-18  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
+       duplication of code, as well as actually getting the focus back in
+       *any* scenario where the drop down is closed.
+
+2009-05-18 Tom Hindle <tom_hindle@sil.org>
+       * ScrollableControl.cs: Ignore setting properties HScroll and 
+       VScroll when AutoScroll is true.
+       [Fixes bug #500213]
+
+2009-05-18  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
+       disabled graphics look closer to the ones that .Net produces.
+       [Fixes bug #473660]
+
+2009-05-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * DateTimePicker.cs: When calculating the max width for the year part,
+       use the current value, since *all* the possible values are exactly a 4
+       digits number. This way we avoid a ArgumentOutOfRangeException trying
+       to check against different values.
+       Fixes #500917.
+
+2009-05-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * MessageBox.cs: When handling ProcessDialogChar, check that
+       CancelButton is not null before trying to use it, to avoid a null ref
+       exception. We don't need to do that on the ok/yes buttons, since they
+       always exist.
+       Fixes #503935.
+
+2009-05-15  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * ListBox.cs: Handle the key down event in WndProc instead of doing it
+       in an event handler, as we need to avoid any operation in case
+       the user has handled it in its own OnKeyDown handler, and this can't
+       be achieved since our handler would be the first one always.
+       * FontDialog.cs: Update the calls since our method handling key down
+       has been renamed.
+       Fixes #503469.
+
+2009-05-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Application.cs: We should dismiss the active ToolStrip when we
+       receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
+       keyboard short cut can be properly processed by another menu item.
+       Fixes part of #503663.
+
+2009-05-13  Andreia Gaita  <avidigal@novell.com>
+
+       * HtmlDocument.cs: If the objects are strings, wrap them in ""
+
+2009-05-13  Andreia Gaita  <avidigal@novell.com>
+
+       * HtmlDocument.cs: Fix InvokeScript call (duh).
+
 2009-05-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
 
        * TextBox.cs: Expose IsAutoCompleteAvailable as internal.