* ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index ad72616008b58a99ff11a73752933210107b9f87..57972121c3bb1fef76fc7cd1f6e8cd859439872a 100644 (file)
@@ -1,3 +1,229 @@
+2007-02-07  Chris Toshok  <toshok@ximian.com>
+
+       * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
+       background color.  it overwrites the background image we've
+       already painted.  Fixes #80599.
+
+2007-02-07  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs: return immediately from Edit() when there are no
+       columns.  Fixes #80662.
+
+2007-02-07  Chris Toshok  <toshok@ximian.com>
+
+       * MessageBox.cs: fix #80625.  don't always show the Help button in
+       2.0.  use the displayHelpButton parameter to determine if we
+       should show it. Also, make the internal show_help field private.
+
+2007-02-07  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs (SetVisibleCore): check in the proposed patch for
+       80604, and set is_visible before calling CreateControl.
+
+2007-02-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to 
+       MonoInternalNote.  This is added automagically by VS2005, so let's not crash
+       on it.
+
+2007-02-06  Everaldo Canuto  <everaldo@simios.org>
+
+       * MenuAPI.cs: hotkey_active internal field added, it is required because
+       we need to know when hotkeys must be draw, before this change a keystate
+       Navigating was used but we can have menu in navigating state without
+       hotkeys. Fixes #80694.
+       
+       * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
+
+2007-02-06  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
+         corresponding events and methods to be internal for 1.1 profile and
+         public for 2.0 profile (required by SizeGrip).
+       * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
+         implicit control list). Don't set the size nor the location of the
+         SizeGrip anymore as it's not needed.
+       * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
+         draw directly on the captured control (fixes #80656). Removed
+         ShowGrip (it wasn't used anywhere), redraw (always true), added
+         GetDefaultSize and GetDefaultRectangle to calculate defaults.
+       * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
+         be called from SizeGrip.
+
+2007-02-06  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * Timer.cs: Throw ArgumentException if Interval <= 0.
+
+2007-02-05  Jackson Harper  <jackson@ximian.com>
+
+       * TreeView.cs: We need to check scrollbar visibility when window
+       visibility is updated, because non visible trees don't ever add
+       scrollbars.
+       * Cursor.cs: We want the override cursor to be reset to NULL when
+       we set current cursor to the default cursor.
+
+2007-02-05  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Don't have crlfs when we are non multiline.
+       - Consolidate the line position.
+
+2007-02-05  Jackson Harper  <jackson@ximian.com>
+
+       * X11Keyboard.cs: BACK+CTRL gets a special char code.
+
+2007-02-03  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
+         handling LeaveNotify->NotifyUngrab in order to send
+         WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
+         after calling XUngrabPointer, so we call WindowUngrabbed directly
+         from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
+       * Control.cs: Handle WM_CAPTURECHANGED in order to raise
+         MouseCaptureChanged correctly. Also create handles if changing
+         Capture (matches MS behaviour).
+
+2007-02-02  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * SizeGrip.cs: Make the last change 2.0 only.
+
+2007-02-02  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * SizeGrip.cs: If resizing and the capture is lost, revert any size
+         changes to initial size (fixes #80597).
+
+2007-02-02  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
+
+2007-02-02  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
+         background) and only allow dragging if enabled. This way the
+         sizegrip can be used to fill the open square that otherwise would
+         have been shown in the bottom right corner of ScrollableControl
+         when ScrollableControl is not suppose to support sizing.
+       * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
+         sizegrip is shown and enabled, and hook up with necessary events.
+
+2007-02-01  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridTextBoxColumn.cs: clean up the
+       GetFormattedString/GetColumnValueAtRow combination of functions.
+       Also fix UpdateUI, and the initial state of
+       IsInEditOrNavigateMode.
+
+       * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
+       aren't supposed to scroll the textbox here, we're supposed to
+       scroll the datagrid.
+
+2007-02-01  Chris Toshok  <toshok@ximian.com>
+
+       * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
+       setting the position.
+
+2007-02-01  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
+       here, since the most recent focus fixes keep us from generating
+       the Leave event when our textbox gets focus.
+       (Edit): we should be passing null for the column style's
+       instantText parameter.
+       
+2007-02-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripDropDownItem.cs: Make sure DropDownOpening event is 
+       raised.  Fixes menu text/icons not showing up in PDN.
+
+2007-02-01  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Control.cs: Remove code in constructor that makes every
+       control with WS_CHILD set have initial location -1, -1.
+
+2007-01-31  Jackson Harper  <jackson@ximian.com>
+
+       * X11Dnd.cs: Take the keyboard on init to reduce coupling with
+       XplatUIX11.
+       * XplatUIX11.cs: Give teh keyboard to teh dnd.
+
+2007-01-31  Jackson Harper  <jackson@ximian.com>
+
+       * X11Dnd.cs: Use IDataObject instead of the DataObject class.
+       - Remove some debug code.
+
+2007-01-31  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: If you set the override cursor during a grab, it
+       should actually override the grab cursor.  This comes into play
+       when you are setting custom cursors in a DND feedback method.
+
+2007-01-31  Jackson Harper  <jackson@ximian.com>
+
+       * X11Dnd.cs: Add support for handling the QueryContinue and
+       GiveFeedback events.
+       - Cancel drag and drop actions when the escape key is clicked.
+       * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
+       can handle the ESCAPE key.
+       - Allow dnd to swallow BUTTONUP messages if it needs to.  This is
+       done when dnd events are continued after the button is released.
+       - Add a new helper method so that dnd can translate key events.
+
+2007-01-31  Alexander Olk  <alex.olk@googlemail.com>
+
+       * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
+       make it more obvious what is happening.
+
+2007-01-30  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Don't break when handling button release in drag
+       and drop operations. We need that BUTTONUP message to get through
+       so capture is released.
+       * X11Dnd.cs: We don't need to manually grab the pointer anymore,
+       this is handled automatically when the mouse is down.
+
+2007-01-30  Jackson Harper  <jackson@ximian.com>
+
+       * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
+       is closed, so we need to make sure that we aren't changing the
+       dialog result when the OK (Open or Save) button has been clicked
+       and we are closing the window ourselves.  Note we don't need to
+       worry about the cache being written in this case, because it was
+       already done in the previous FilOk call.
+
+2007-01-30  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+       
+       * DateTimePicker.cs: Remove a warning.
+       * ComboBox.cs: Remove a couple of warnings.
+
+2007-01-29  Chris Toshok  <toshok@ximian.com>
+
+       * XplatUIX11.cs: don't crash, and remove the icon if the user has
+       set one, if SetIcon is passed a null icon.
+
+2007-01-29  Andreia Gaita  <avidigal@novell.com>
+
+       * TextBox.cs: Redraw when the password characters changes
+       * TextControl.cs: Check if textbox has a password char and draw 
+       a line of password chars instead of the text in the line. LineTag gets 
+       an extra Draw() method which allows document.Draw to override the text 
+       that will be drawn. Removes 1024 char limitation on length of passworded 
+       lines.
+
+2007-01-29  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: Deleting sections of text is undoable.  Deleting
+       single chars is not.
+
+2007-01-28  Jonathan Pobst  <monkey@jpobst.com>
+
+       * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
+       one pixel.  Fix a StackOverflowException caused by an overload wrongly
+       calling itself.
+
+2007-01-26  Everaldo Canuto  <everaldo@simios.org>
+
+       * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
+       also remove ProcessArrowKey and put the code inside ProcessKeys.
+
 2007-01-26  Jonathan Pobst  <monkey@jpobst.com>
 
        * PaddingConverter.cs: Added.