X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FManaged.Windows.Forms%2FSystem.Windows.Forms%2FChangeLog;h=d78bb25052eebfd67f7727b75041e9f68c66c73f;hb=ab2cc8b39bec26c7b300ad72cd705437a9ec057b;hp=4caaaae8b1bbfce7f322a3c115e189ce826d75d8;hpb=21b3da52b4f64aaa7fa31833154d2a9a4d6c0250;p=mono.git diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index 4caaaae8b1b..d78bb25052e 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,435 @@ +2009-05-25 Carlos Alberto Cortez + + * ColorDialog.cs: Actually add the help button to the form, so it can + be visible. + Fixes #478555. + +2009-05-25 Carlos Alberto Cortez + + * 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 + + * 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 + + * 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 + + * 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 + + * ContextMenu.cs: Cleaned up UIA properties. + +2009-05-20 Dick Porter + + * XplatUICarbon.cs: Add more locking around MessageQueue + manipulations. + +2009-05-18 Carlos Alberto Cortez + + * 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 + * ScrollableControl.cs: Ignore setting properties HScroll and + VScroll when AutoScroll is true. + [Fixes bug #500213] + +2009-05-18 Jonathan Pobst + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * HtmlDocument.cs: If the objects are strings, wrap them in "" + +2009-05-13 Andreia Gaita + + * HtmlDocument.cs: Fix InvokeScript call (duh). + +2009-05-11 Carlos Alberto Cortez + + * 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 + + * ToolStripDropDownMenu.cs: Use the height returned by + ToolStripItem.GetPreferredHeight to calculate our own height. + +2009-05-10 Carlos Alberto Cortez + + * 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 + + * Control.cs: When assigning ContextMenu, do a null check before + assigning its container field. + +2009-05-08 Brad Taylor + + * 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 + + * ToolStripItem.cs: Prevent NRE when our holder is a + ToolStripDropDownButton and we get Select()ed. + +2009-05-08 Carlos Alberto Cortez + + * 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 + + * 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 + + * 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 + + * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel. + Add PerformClick and PerformDoubleClick to PopupButton. + Fixes #499851. + +2009-05-04 Andrés G. Aragoneses + + * TabControl.cs: call Focus() to emit GotFocus event at the + proper time when SelectionIndex changes. Fixes #499887. + +2009-05-03 Carlos Alberto Cortez + + * 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 + + * ComboBox.cs: When losing the focus, if our textbox is not null, + close its auto complete list, if any. + Fixes part of #489339. + +2009-04-27 Andrés G. Aragoneses + + * ListView.cs: Make OnColumnClick +internal to be used by a11y. + +2009-04-27 Brad Taylor + + * ToolStripButton.cs: Emit an internal event when CheckOnClick is + changed. + +2009-04-26 Carlos Alberto Cortez + + * XplatUIX11.cs: Properly support UTF8 when handling the + SelectionRequest event - this is helpful supporting some window + managers, such KDE, that explictly request the text in utf8, as + opposed to gnome, that supports ascii. + Fixes #489393. + +2009-04-26 Carlos Alberto Cortez + + * ToolStripDropDownItem.cs: When assigning a new + ToolStripDropDownMenu, let it know we are its OwnerItem. This way the + Capture duties performed by Application/ToolStripManager are handled + nicely and we don't end up in an inconsisten stat. + Fixes #492815. + +2009-04-25 Carlos Alberto Cortez + + * ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close + any ToolStripDropDownItem when receiving a mouse down event in an + empty area. + +2009-04-24 Andrés G. Aragoneses + + * ToolBarButton.cs: add UIA events for style and dropdownmenu changes. + +2009-04-24 Andrés G. Aragoneses + + * ToolBarButton.cs: rename a method to include UIA prefix. + +2009-04-24 Andrés G. Aragoneses + + * ToolBarButton.cs: change visibility of some UIA methods from + protected virtual to private. + +2009-04-24 Carlos Alberto Cortez + + * ToolStripDropDown.cs: In OnVisibleChanged, if we have an OwnerItem, + fire OnDropDownOpened/OnDropDownClosed depending on the new + visibility. This also ensures that any direct access to this instance + will fire the mentioned events for the OwnerItem. + * ToolStripDropDownItem.cs: Remove the invocations to + OnDropDownOpened/OnDropDownClosed, since they are handled in + ToolStripDropDown, as well as updating the + OnDropDownHide/OnDropDownShow calls to be in the right order. + Fixes #496193. + +2009-04-21 Carlos Alberto Cortez + + * Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any + shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the + event is the same as the owner of the menu item. Also set properly + SourceControl for ContextMenuStrip, as well as add an internal field to + contain the control that owns the ContextMenuStrip (we need to know this + even before the public property is assigned). + Fixes bits of #393775. + +2009-04-20 Carlos Alberto Cortez + + * StatusStrip.cs: Use the same icon as .net when the mouse is over the + size grip. + Fixes #492828. + +2009-04-20 Carlos Alberto Cortez + + * ComboBox.cs: When calculating the height of the ComboListBox, + specially for the 2.0 profile, use MaxDropDownItems if the + DropDownHeight property hasn't been set, and use the later if it has + been set. This way we support both properties. + Fixes #493308. + +2009-04-14 Carlos Alberto Cortez + + * ThreadExceptionDialog.cs: Draw the error icon, previously missing. + Fixes #474253. + +2009-04-14 Carlos Alberto Cortez + + * ContainerControl.cs: Implement support for Control.CausesValidation, + by adding a pending list of controls to be validated in the top + container control, and postpone validation as needed. + Also remove any control in the validation chain in case it gets removed + from its owner before the pending validation actually happens. + Fixes #457170. + +2009-04-09 Carlos Alberto Cortez + + * ListBox.cs: The default instance StringFormat field used to draw our + items should use the StringFormatFlags.NoWrap value, so it doesn't try + to put in a different line the text that doesn't fit our bounds, but + show it partially. + Fixes #475581. + +2009-04-09 Carlos Alberto Cortez + + * CheckedListbox.cs: When executing OnItemClick check that the index + is different to -1 before trying to retrieve an item using that value. + Fixes a ArgumentOutOfRangeException thrown when the horizontal + scrollbar was visible but not needed, and then a clicked was received + on its area. + +2009-04-08 Carlos Alberto Cortez + + * MaskedTextBox.cs: If Insert is pressed, change the internal + overwrite mode for our default value. + Fixes some bits of #477395. + +2009-04-06 Carlos Alberto Cortez + + * ListView.cs: In EnsureVisible avoid any direct access to items if we + are using virtual mode - otherwise use the bounds stored in a specific + item in a given index. This is specially important when using groups + or when items are re-arranged, since the position in the items + collection can be different than that one being displayed. + Fixes the rest of ##491978. + +2009-04-06 Carlos Alberto Cortez + + * ThemeWin32Classic.cs: Include the previous check for ListView in a + 2.0 define as needed. + +2009-04-06 Carlos Alberto Cortez + + * ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups. + Fixes part of #491978. + +2009-04-06 Carlos Alberto Cortez + + * ToolTip.cs: New fields to store the title/icon information. + * ThemeWin32Classic.cs: Implement support for tooltip's title and + icon. + Fixes #491978. + +2009-04-03 Carlos Alberto Cortez + + * TabControl.cs: When removing a tab that was previously selected, set + internally the value of selected_index to -1, to avoid trying to + access the previous one when trying to set the new one (and was + already removed from the collection). This is what .net seems to do + too. + Fixes #490937. + +2009-04-02 Carlos Alberto Cortez + + * XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be + separated, and we cannot fallback on Text if Rtf is requested but not + present. + * Clipboard.cs: Actually use the format specified by our user when + putting data. + +2009-03-31 Carlos Alberto Cortez + + * X11Clipboard.cs: Actually look for the RtfText format when calling + GetRftText in our clipboard formats list, instead of using the + generical Text format. + +2009-03-30 Carlos Alberto Cortez + + * TextBox.cs: Process auto completion properly when we are using the + internal source provided by ComboBox, and also remove some repeated + checks. + Fixes #489339. + +2009-03-30 Tom Hindle + + * DataGridView added Support for Invisible Columns to + AutoFillColumnsInternal method. + +2009-03-30 Carlos Alberto Cortez + + * X11Structs: + * X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to + its own file, since it is adding some functionality and thus is not a + simple struct as before. + * XplatUIX11.cs: Add support to store different formats that could + have been specified by the user when puting data in the Clipboard - + this is important when more than one format is supported (such plain + text and rtf text). Update in the needed places, as well as simplify + the code. + Fixes #489625. + +2009-03-30 Carlos Alberto Cortez + + * XplatUIX11.cs: When handling the SelectionRequest event, use + SelectionRequestEvent instead of SelectionEvent, so we get the right + data for the app asking for clipboard data. Set the member of + SelectioneEvent.property to indicate the place where we are storing + the information as well - this is specially important for gnome/kde + apps using the TARGETS atom to ask for the supported permission before + actually asking for a specific format. + Fixes #489393. + +2009-03-28 Ivan N. Zlatev + + * DataGridViewCell.cs: We don't support drawing all types of cell borders, + so fallback and at least draw something instead of nothing. + +2009-03-27 Ivan N. Zlatev + + * DataGridView.cs: If the column header isn't visible allow resizing + using the cell column border. Also be sure to reset the cursor properly. + [Fixes bug #489929] + +2009-03-26 Carlos Alberto Cortez + + * ToolStrip.cs: When disposing, iterate over the items in reverse + order, since disposing the items modifies the collection. + * ToolStripItem.cs: Remove from the owner when disposing. + Fixes #485769. + +2009-03-26 Ivan N. Zlatev + + * DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No + longer throws a NotImplementedException. + Based on a patch by Tom Hindle + [Fixes bug #488319] + +2009-03-26 Ivan N. Zlatev + + * DataGridView.cs: Implement IsCurrentRowDirty. No longer throws + NotImplementedException. + +2009-03-26 Ivan N. Zlatev + + * DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs: + Fix SortMode clash handling. + [Fixes bug #488263] + +2009-03-26 Ivan N. Zlatev + + * DataGridView.cs: Do not show the vertical scrollbar if there is only + one row or less. For the sake of MSNET compatibility. + [Fixes bug #487988] + 2009-03-26 Ivan N. Zlatev * DataGridView.cs: When the current cell is moved out of the editing row