2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index ef22fc80ebbe6a46fd04aba64e9947acb41da3fd..d78bb25052eebfd67f7727b75041e9f68c66c73f 100644 (file)
@@ -1,3 +1,186 @@
+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.
+       * ComboBox.cs: If auto complete is being used, it is needed to update
+       the actual value of the combo box, doing it immediately if the user
+       presses Enter, or doing it when our combo box loses focus. Finally,
+       when handling Enter and Escape keys for the combobox, don't try to
+       hide the listbox if it is not visible in the first place. 
+       Fixes part of #489339.
+
+2009-05-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolStripDropDownMenu.cs: Use the height returned by
+       ToolStripItem.GetPreferredHeight to calculate our own height.
+
+2009-05-10  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * TreeNode.cs: When setting Checked, do a double null check, since the
+       current node can still get a null parent handling
+       TreeView.OnAfterCheck.
+       Fixes #502567.
+
+2009-05-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Control.cs: When assigning ContextMenu, do a null check before
+       assigning its container field.
+
+2009-05-08  Brad Taylor  <brad@getcoded.net>
+
+       * DateTimePicker.cs: Add a UIA-specific property to ensure that if
+       is_checkbox_checked is changed, we won't break.
+
+2009-05-08  Andrés G. Aragoneses  <aaragoneses@novell.com>
+
+       * ToolStripItem.cs: Prevent NRE when our holder is a
+       ToolStripDropDownButton and we get Select()ed.
+
+2009-05-08  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * ToolStripControlHost.cs: DefaultSize must return the current size of
+       the Control, not the value returned by GetPreferredSize. Also connect
+       a handle to the control Resize event, and use it to fire
+       OnHostedControlReize.
+       Fixes the remaining bits of #483146.
+
+2009-05-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ToolStripDropDown.cs: When performing the layout, use
+       ToolStripItem.GetPreferredSize ().Height instead of
+       ToolStripItem.Height, since we are already using it that way in this
+       same method.
+       Fixes part of ##483146.
+
+2009-05-08  Brad Taylor  <brad@getcoded.net>
+
+       * DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers.  Send
+       OnUIASelectionChanged when ShowCheckbox is true and the checkbox
+       recieves focus.  Part of fix for #502029.
+
+2009-05-06  Mike Gorse  <mgorse@novell.com>
+
+       * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
+       Add PerformClick and PerformDoubleClick to PopupButton.
+       Fixes #499851.
+
+2009-05-04  Andrés G. Aragoneses  <aaragoneses@novell.com>
+
+       * TabControl.cs: call Focus() to emit GotFocus event at the
+       proper time when SelectionIndex changes. Fixes #499887.
+
+2009-05-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * MonthCalendar.cs: In SetBoundsCore always do the bounds check to
+       have valid values, even if BoundSpecified is not including
+       Size/Height/Width - this is useful when we are in a control using Dock
+       or Anchor.
+       Fixes part of #483146.
+
 2009-04-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>
 
        * ComboBox.cs: When losing the focus, if our textbox is not null,