2008-08-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 16a950527f7ba04f2fdd35d48a85259f2e826e9f..eab40845ad05da8cfb7859bbdbaf8d5e0f5b5e27 100644 (file)
@@ -1,3 +1,227 @@
+2008-08-12  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * XplatUIX11.cs: Handle the obscured regions while scrolling using
+       GraphicsExpose event, processing it just after we copy the scrolled
+       area. This ensures that the next calls to ScrollWindow will copy
+       regions already updated, and the scrolling will be smooth. Also remove
+       the code that was trying to detect the obscured regions, since we are
+       not using it anymore (too slow).
+
+2008-08-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListBox.cs: Fix the -temporary- broken selection in ListBox for
+       MultiExtended mode, by separating some logic between the ctrl/shift
+       handling. Also ignore any MouseMove events generated together with
+       MouseDown events - we are only interested in the real motion event.
+       Fixes part of #414963.
+
+2008-08-08  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
+       is selected.  [Fixes bug #414143]
+
+2008-08-07  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * GridEntry.cs: Check if current property is a ICustomTypeDescriptor 
+       and not the parent one (the propertyowner). Fixes the behavior of 
+       GetConverter/GetEditor.
+       [Fixes bug #415452]
+
+2008-08-07  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
+       [Fixes part of bug #415452]
+
+2008-08-05  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * GridEntry.cs: ITypeDescriptorContext should be relative to the parent 
+       GridEntry, not the current.
+       [Fixes bug #413896]
+
+2008-08-04  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * TextBoxBase.cs: De-internalize max_length field.
+       * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox 
+       share the same logic.
+       [Fixes bug #414454]
+
+2008-08-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListBox.cs: Selection changes made in the MouseDown handler should
+       use the *Core versions of selection in SelectedIndices collection,
+       since the SelectedIndexChanged/SelectedValueChanged events are fired
+       until we get a MouseUp event, and thus we need to separate the logic
+       from the events, as done in the keyboard navigation. Also, fire those
+       selection events from keyboard navigation in SelectionMode.None, even
+       if we don't have a selection, as .Net does.
+
+2008-08-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
+       last change introduced when an item is clicked but isn't on a toolstrip.
+
+2008-07-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListBindingHelper.cs: When looking for an object's properties, check
+       if it implements ICustomTypeDescriptor, in which case we should
+       resolve the propertu based on its GetProperties method, not in its
+       actual properties. This is what .Net seems to do.
+       Fixes a UsingWebBrowser problem during initialization.
+
+2008-07-31  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
+       sitting on a MenuStrip.
+
+2008-07-31  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripButton.cs: If we "click" a top button on a menustrip that has
+       no children with the keyboard, we need to release the keyboard capture.
+       [Fixes bug #413567]
+
+2008-07-31  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripMenuItem.cs: If we "click" a top level menu item that has
+       no children with the keyboard, we need to release the keyboard capture.
+       [Fixes bug #413567]
+
+2008-07-31  George Giolfan  <georgegiolfan@yahoo.com>
+
+       * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
+       the GTK+-based implementation of VisualStyles.
+       * ThemeWin32Classic.cs: Exposed various layout values for use in the
+       GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
+       ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
+       ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
+       TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
+       TrackBarHorizontalTrackHeight.
+
+2008-07-31  George Giolfan  <georgegiolfan@yahoo.com>
+
+       * TabControl.cs: Added hot style handling for the scroll buttons.
+       right_slider_state, left_slider_state are now of type PushButtonState to
+       allow for a hot state. Added tracking of the mouse button being held down
+       on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
+       LeftScrollButtonArea.
+       * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
+       TabControlGetRightScrollRect.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent 
+       runtime errors.
+
+2008-07-30  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * Form.cs: Ensure that we reset the shown_raised flag after 
+       the form is closed, so that we raise the show events the next 
+       time the form is shown.
+       [Fixes bug #413141]
+
+2008-07-30  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * Form.cs: Ensure closing events are raised only once.
+       [Fixes bug #413143]
+
+2008-07-30  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode, 
+       so that we can successfully generate the LParam in-place instead of 
+       in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard 
+       navigation for menus.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: When montion don't set the keyboard navigation state to 
+       'navigating'. Fixes bug #411356.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       [Fixed remaining issues of #406773 (#1)]
+       * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
+
+       * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
+       MainMenu (already done) and ContextMenu creation.
+
+       * ContextMenu.cs: Create tracker on construction. 
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
+       possible to instantiate MenuTracker without GrabControl.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
+
+       * MainMenu.cs: Set GrabControl on SetForm using current form.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
+
+2008-07-30  Everaldo Canuto  <ecanuto@novell.com>
+
+       * MenuAPI.cs: Check if menu is activated before deactivate it in 
+       ProcessShortcut.
+
+2008-07-30  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs, 
+       ColumnStyle.cs: 
+       Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
+        - One style instance can only participate in a single style collection.
+        - Styles can request their owner to layout whenever their properties 
+        change.
+        [Fixes bugs #412583 and #412582]
+
+2008-07-29  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * X11Keyboard.cs: Implement the generation of the LParam for 
+       all keyboard messages.
+       [Fixes bug #378728]
+
+2008-07-29  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ListBox.cs: Don't let the user set TopIndex so high that it
+       scrolls up far enough to show empty items.
+       [Fixes bug #412728]
+
+2008-07-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
+       (I'm an idiot and forgot to commit the actual changes, as well as
+       specify the right file, which is this one, not ListView.cs).
+
+2008-07-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Don't draw ListViewSubItem instances from
+       DrawListViewItem - we need to reuse the main item's drawing for the
+       first sub item in case owner draw is true, but wants the system to
+       do the default draw for the first sub item, without incurring in a
+       recursion problem.
+       Fixes #410880.
+
+2008-07-28  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripButton.cs: Update Checked for CheckOnClick before
+       raising the Click event.  [Fixes bug #412505]
+
+2008-07-28  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * Form.cs: Remove some seems leftover code for non-TopLevel's 
+       CreateParams, which is breaking ClientSize sizing, because it 
+       removes the border window styles.
+
+2008-07-27  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * PropertyGrid.cs: Invalidate the View when the PropertyTab 
+       changes.
+
+2008-07-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * WebBrowser.cs: Removed debug output.
+
 2008-07-25  Jonathan Pobst  <monkey@jpobst.com>
 
        * FileDialog.cs: Apply patch from Ernesto to clean up some