2006-12-07 Alexander Olk <alex.olk@googlemail.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 1a3db1b4a1501245b349df39a5a13442a921a822..66b53f714332bf89cf56dd481beb9e61d10a21eb 100644 (file)
@@ -1,3 +1,900 @@
+2006-12-07  Alexander Olk  <alex.olk@googlemail.com>
+
+       * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
+         not libgdk (though it makes me wonder why I didn't have any
+         problems)
+
+2006-12-07  Chris Toshok  <toshok@ximian.com>
+
+       [ you had to know this was coming after that last commit...]
+       
+       * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
+       XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
+       DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
+       XCopyArea).
+
+2006-12-07  Chris Toshok  <toshok@ximian.com>
+
+       * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
+       DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
+       all the behavior we need for double buffering.
+
+       * XplatUIDriver.cs: implement the 3 double buffer methods using a
+       client side Bitmap, just like the old Control-based double buffer
+       code did.  The methods are virtual, so each XplatUI driver
+       subclass can replace the implementation to use a faster, platform
+       specific approach.
+
+       * Control.cs: make use of the 3 Offscreen XplatUI calls in the
+       double buffer code, and clean things up a bit in the process.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: reindent WndProc.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       [ I wanna be like BenM when I grow up ]
+       
+       * Hwnd.cs: create a single static Graphics object on the static
+       Bitmap we create.  use this for our text measurements.
+
+       * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
+       This was causing us to allocate a backbuffer for every control,
+       even when it wasn't flagged as double buffered.  Instead use the
+       single graphics instance.  This might have implications for
+       multithreaded applications.  If we run into problems we can switch
+       to creating 1 Graphics per control, on the static Hwnd bitmap.
+
+       this change nets us a 7M savings in private dirty mappings when
+       running FormsTest.exe.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ToolTip.cs: use Visible instead of is_visible.
+
+       * TreeView.cs: same.
+
+       * ListBox.cs: same.
+
+       * ListView.cs: same.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ListView.cs: the BackgroundImage override is just to set
+       attributes.  chain up to base.BackgroundImage.
+
+       * RichTextBox.cs: same.
+
+       * ToolBar.cs: same, but we need to also redraw the toolbar when it
+       changes, so instead a handler for BackgroundImageChanged.
+       
+       * Control.cs: make background_image private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ScrollBar.cs: change the assignment of cursor to Cursor.  not
+       sure we even need this assignment, but roll with it for now.
+
+       * Control.cs: make the cursor field private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Form.cs: we don't need to explicitly set ImeMode to
+       ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
+       behavior in the face of ImeMode.Inherit.
+
+       * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
+       change the ctor's assignment to use ImeMode instead of ime_mode.
+
+       * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
+       ImeModeInherit.  Only check for the parent's imemode (and return
+       NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
+       This fixes the button unit test, which sets both ImeMode and
+       DefaultImeMode to ImeMode.Disable.
+
+       also make the ime_mode field private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make control_style private.
+
+       * TextBoxBase.cs: fix the HandleClick override.  it was explicitly
+       setting the styles to true, then setting them to false instead of
+       reverting to their previous values.
+
+       also, call SetStyle on the scrollbars instead of using
+       control_style directly.
+
+2006-12-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * FormCollection.cs: Implement. [2.0]
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make tab_stop private.
+
+       * Label.cs: set TabStop, not tab_stop.  reformat some event
+       add/remove methods to make them more compact.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * RadioButton.cs: fix TabStop handling.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * TextBox.cs: remove the explicit assignments to has_focus.
+       Control does that.
+
+       * ButtonBase.cs: remove the assignment to has_focus.  Control will
+       manage that.
+       
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ButtonBase.cs: remove all uses of is_enabled from this code.
+       it's always true when any of the code containing the checks is
+       executed.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
+       with different semantics (some are present in both 1.1 and 2.0
+       profiles) so that we match MS's behavior in our unit tests.
+
+2006-12-06  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Make this operation undoable.
+       * TextBoxBase.cs: Factor the border width into the preferred
+       height.
+       - implement Modified as per the spec.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Timer.cs, Control.cs, Menu.cs: make control_tag private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make right_to_left and context_menu fields private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
+       XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
+       Control.child_controls private.  switch all uses over to
+       Control.Controls.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * System.Windows.Forms/GroupBox.cs,
+       System.Windows.Forms/AccessibleObject.cs,
+       System.Windows.Forms/ErrorProvider.cs,
+       System.Windows.Forms/Control.cs,
+       System.Windows.Forms/UpDownBase.cs,
+       System.Windows.Forms/ScrollBar.cs,
+       System.Windows.Forms/DateTimePicker.cs,
+       System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
+       System.Windows.Forms/ToolTip.cs,
+       System.Windows.Forms/RadioButton.cs,
+       System.Windows.Forms/LinkLabel.cs,
+       System.Windows.Forms/Splitter.cs,
+       System.Windows.Forms/TextBoxBase.cs,
+       System.Windows.Forms/ToolStripTextBox.cs,
+       System.Windows.Forms/ContainerControl.cs,
+       System.Windows.Forms/ThemeWin32Classic.cs,
+       System.Windows.Forms/SizeGrip.cs,
+       System.Windows.Forms/ToolStripDropDown.cs,
+       System.Windows.Forms/ScrollableControl.cs: Make Control.parent
+       private.  switch all uses over to Control.Parent.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
+       Control does this before calling emitting these events.
+
+       * TabControl.cs: same.
+
+       * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
+       Control.client_rect.
+
+       * ButtonBase.cs: use the ClientSize property instead of the
+       client_size field.
+
+       * ScrollableControl.cs: same.
+
+       * Control.cs: another pass at making properties private.  also,
+       move the initialization of tab_stop to the ctor.
+
+2006-12-05  Andreia Gaita <avidigal@novell.com>
+
+       * TabControl.cs: Let the selected index be set freely if the 
+       control handle is not yet created.
+
+2006-12-05  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Revert dist_top, dist_right, and dist_bottom to 
+       internal until I can rewrite DefaultLayout.
+       * ToolStrip.cs: Fix build error and some general cleaning.
+       * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
+       Fix build errors caused by making some of Control's fields private.
+
+2006-12-05  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Redo Insert a little so that it use IndexOf
+       instead of Split, this prevents it from messing up on things like
+       \n\n\n. Also more effecient since the split array doesn't need to
+       be created.
+       * TextBoxBase.cs: AppendText doesnt handle multiline and non
+       multiline text differently, this is the first of many fixes that
+       will make multiline/non-multiline the same thing as far as the
+       TextBoxBase is concerned.
+       - Don't split the text and insert lines, this can lose some line
+       endings (like is the last line a soft or hard break). Instead use
+       the new Insert.
+       - Fix an off by one when combining all the lines in the Text
+       getter.
+       - Remove separate multiline handling from the Text getter/setter.
+
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * ButtonBase.cs: a few changes:
+
+       - don't reinitialize internal Control fields in the ctor when they
+       have the same values as Control sets them.
+
+       - don't set has_focus in OnGotFocus/OnLostFocus.  Control does
+       this before calling those methods.
+
+       - we don't need to call Refresh for anything.  use Invalidate
+       instead.
+
+       - OnEnabledChanged doesn't need to redraw at all - Control.cs
+       calls Refresh in its OnEnabledChanged.
+       
+       - several of the events we were registered for in the ctor to
+       redraw ourselves already include calls to Invalidate in the
+       property setters that raise the events.  remove the extra
+       invalidation.
+
+       - reformat a switch statement that was 83274658 columns wide.
+       
+2006-12-05  Mike Kestner  <mkestner@novell.com>
+
+       * ComboBox.cs: fix a unit test regression from a TextBox
+       SelectionLength return of -1 when there's no selection.  
+
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
+       ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
+       cleaning up some of the internal Control fields being used by
+       subclasses.
+
+2006-12-05  Mike Kestner  <mkestner@novell.com>
+
+       * ComboBox.cs: fix some Simple mode regressions.  Set Visible on the
+       listbox after AddImplicit calls since it defaults to hidden. Add a 
+       hack to preserve requested heights across DropDownStyle changes.
+
+2006-12-05  Jonathan Pobst  <monkey@jpobst.com>
+
+       * PropertyGrid.cs: Hide FindFirstItem method from public API.
+
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridView.cs: fix compiler warnings.
+
+       * PrintControllerWithStatusDialog.cs: same.
+
+       * ToolBar.cs: same.
+
+       * FolderBrowserDialog.cs: same.
+
+       * Splitter.cs: same.
+
+       * DataGridViewComboBoxCell.cs: same.
+
+       * XplatUIWin32.cs: same.
+
+       * PictureBox.cs: same.
+
+       * Win32DnD.cs: same.
+
+       * PageSetupDialog.cs: same.
+
+       * FileDialog.cs: same.
+
+       * PrintDialog.cs: same.
+
+       * DataGridTextBoxColumn.cs: same.
+
+       * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
+
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
+       MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
+       System.ComponentModel.EventHandlerList work.
+
+2006-12-05  Jonathan Chambers  <joncham@gmail.com>
+
+       * DrawTreeNodeEventArgs.cs: Added.
+
+2006-12-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+       
+       * InternalWindowManager.cs: Remove an unused field.
+       
+2006-12-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * InternalWindowManager.cs:
+       - Save the point where the title bar is clicked.
+       
+       * MdiWindowManager.cs:
+       - Only allow moving of the window as long as the 
+       clicked point on the title bar does not get out of
+       MdiClient's rectangle. Fixes #79982.
+       
+       * MdiClient.cs:
+       - Added Horizontal/VerticalScrollbarVisible.
+       - Simplified the scrollbar sizing algorithm.
+       - Cache the difference in scrolled value in
+       H/VBarValueChanged and move the calculation out
+       of the for loop.
+
+2006-12-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Control.cs: Make the Console.WriteLine in WndProc 
+       write more info.
+
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * ToolStripManager.cs, ToolStripButton.cs,
+       ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
+       ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
+       ToolStripSplitButton.cs, ToolStripSeparator.cs,
+       ToolStripRenderer.cs, ToolStripDropDownItem.cs,
+       ToolStripProgressBar.cs, ToolStripContainer.cs,
+       ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
+       to using System.ComponentModel.EventHandlerList.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * LinkLabel.cs: fix up compiler warnings.
+
+       * TableLayoutSettings.cs: same.
+
+       * TreeView.cs: same.
+
+       * ToolBar.cs: same.
+
+       * TabControl.cs: same.
+
+       * RichTextBox.cs: same.
+
+       * ListViewItem.cs: same.
+
+       * PropertyGrid.cs: same.
+
+       * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
+
+       * ToolTip.cs same.
+
+       * TextRenderer.cs: fix up compiler warnings.
+
+       * Label.cs: same.
+
+       * Form.cs: corcompare fixes.
+
+       * PictureBox.cs: fix up compiler warnings.
+
+       * ImageListStreamer.cs: same.
+
+       * TrackBar.cs: corcompare fix.
+
+       * Control.cs: fix up compiler warnings.
+
+       * SplitterPanel.cs: same.
+
+       * NumericTextBox.cs: same.
+
+       * ImageList.cs: same.
+
+       * StatusStrip.cs: same.
+
+       * ProgressBar.cs: corcompare fix.
+
+       * ToolStripButton.cs: fix up compiler warnings.
+
+       * ToolStripStatusLabel.cs: same.
+
+       * ToolStripSplitButton.cs: same.
+
+       * ToolStripSeparator.cs: same.
+
+       * ToolStripProgressBar.cs: same.
+
+       * ToolStripDropDownMenu.cs: same
+
+       * ToolStripDropDown.cs: same.
+
+       * ToolStripDropDownButton.cs: same.
+
+       * ToolStrip.cs: same.
+
+       * ToolStripControlHost.cs: same.
+
+       * ToolStripContentPanel.cs: same.
+
+       * ToolStripDropDown.cs: same.
+
+       * ToolStripContainer.cs: same.
+
+       * ToolStripPanel.cs: same, and add "new" where we need it to work
+       with the new ArrangedElementCollection.
+
+       * ToolStripItemCollection.cs: add "new" where we need it to work
+       with the new ArrangedElementCollection.
+
+2006-12-04  Andreia Gaita <avidigal@novell.com>
+
+       * TabControl.cs: Fix default tab selection to after TabControl
+       gets focus and not before. Fixes #80128
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridTableStyle.cs: remove the gross calling of
+       datagrid.Refresh from here.  It's a broken idea and it doesn't
+       work anyway.
+
+       * DataGrid.cs: instead, just register/unregister from the
+       DataGridTableStyle events in CurrentTableStyle.  we play it
+       conservatively and EndEdit + CalcAreasAndInvalidate on any event,
+       even though some would most likely not require it.  Fixes bug
+       #80115 (and one portion of #80117 as a side effect).
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
+       so the textbox (if any) goes away.  Fixes bug #80117.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridColumnStyle.cs: set the column's readonly property
+       initially based on the property descriptor's IsReadOnly.  Fixes
+       bug #80044.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * ComboBox.cs: wrap the dropdown style changing work in
+       SuspendLayout/ResumeLayout.  Fixes bug #79968.
+
+2006-12-04  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: Fix off by one, since these are one-based.
+       * TextBox.cs: Select all the text when we get focus.  The TextBox
+       does this but the RTB does not.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridTextBoxColumn.cs: remove some spew.
+
+       * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
+       but some part of me is saying "it shouldn't be here.."  At any
+       rate, it fixes bug #80046.  Call IEditableObject.EndEdit after
+       setting the value.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
+       to reassign the propertydescriptor.
+
+2006-12-04  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs:
+       * TextControl.cs: Remove some unused variables.  Maybe this will
+       patch things up between mike and I.
+       - don't split lines less then one char wide, if the viewport is
+       that small text won't be visible anyways.
+       
+2006-12-04  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: Default selection length is -1, need to do some
+       more testing on windows to see when this is used for the property.
+       - Redid the Lines [] property to that we properly remove soft line
+       breaks
+       - added support for preserving carriage returns
+       -  CanUndo is not a variable like 'is undo enabled' it just returns
+       true if there is undo operations available.
+       - AppendText doesn't need to grab the last tag itself anymore,
+       this happens automatically when we move the cursor.
+       * TextControl.cs: Add CompoundActions to the undo class. This
+       allows combining the other operations into one big option.  ie a
+       paste will combine { delete old, insert new, move cursor }
+       - Add InsertString undo operation
+       - New method for deleting multiline text
+       - Add carriage returns to lines. So we can preserve carriage
+       returns when text is 'roundtripped'
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
+       minimum 0.  Fixes the scrollbar exception in bug #80136.
+
+2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * MdiClient.cs: 
+       * MdiWindowManager: Removed unused fields and methods.
+       
+2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+       
+       * StatusBar.cs: Update all panels when a AutoSize=Contents
+       panel needs updating.
+       
+       * StatusBarPanel.cs: Remove twidth and only use initialize.
+       Fixes #80031.
+               
+2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Form.cs: When a form's MdiParent is set add it directly
+       on top of the z-order in stead of relying on MdiClient's
+       ActivateChild to do it. Fixes #80135.
+       
+       * MdiClient.cs: 
+       - Remove original_order, mdi_child_list is already doing
+       the same thing.
+       - Create mdi_child_list on construction in
+       stead of first use (avoids a few null checks).
+
+       * MenuItem.cs: Use an already existing list of mdi children
+       to get the correct order of children and remove the other
+       redundant list.
+
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * PropertyGridView.cs: cached_splitter_location is only used in
+       !DOUBLEBUFFER code.
+
+       * PropertyGrid.cs: implement the ComComponentNameChanged event
+       using Events, hoping that would fix the warning.  Looks like a
+       compiler bug instead (#80144).
+
+       * PropertyManager.cs: remove unused method.
+
+2006-11-04  Everaldo Canuto  <everaldo@simios.org>
+
+       * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar, 
+       include parentesis to fix expression evaluation. Fixes #79634.
+
+2006-11-02  Everaldo Canuto  <everaldo@simios.org>
+       
+       * MenuAPI.cs:
+       - Changes to fix behavior in Menu control, some reported in #80097
+       and other detected during behavior refactory like a select event
+       problems.
+       - Remove unneded "if's" conditions.
+       - Created an internal to flag when popup is active in control, we need 
+       it because in .NET you can have menu active but without popup active
+       when you active menu using popup without visible items.
+       - Mimic win32 behavior for Select and Popup events.  
+       - Dont open popup menu when you dont have visible subitems.
+       - Do nothing when click on disabled menu item.
+       - Some small changes to follow the coding style guidelines.
+       - Unselect menu only when another control gives focus. Fixes #80097.
+       - Remove unused code.
+       
+       * MenuItem.cs: internal VisibleItems method to check if menu
+       theres visible subitems, it will be usefull to fix some 
+       behavior in Menu control.
+       
+2006-11-01  Everaldo Canuto  <everaldo@simios.org>
+       
+       * Timer.cs: Tag property for 2.0 profile.
+       
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       [ after removing all warning suppressions, this cleans up over 100 warnings. ]
+       
+       * Win32DnD.cs: comment out some unused fields.
+
+       * XplatUIWin32.cs: comment out some unused pinvokes, and remove
+       some unused properties/methods.
+
+       * XplatUIX11.cs: fix MousePosition so we override the base class's
+       property instead of conflicting with it.
+
+       * PictureBox.cs: comment out some unused fields
+
+       * OSXStructs.cs: make some struct fields public.
+
+       * XplatUIOSX.cs: comment out some unused pinvokes, and fix
+       MousePosition so we override the base class's property instead of
+       conflicting with it.
+
+       * X11Dnd.cs: comment out some unused fields
+
+       * X11DesktopColors.cs: fix some struct field visibility to quiet
+       the compiler.
+
+       * X11Dnd.cs: remove some debug code.
+
+       * ThemeClearlooks.cs: comment out unused field.
+
+       * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
+
+       * ThemeGtk.cs: comment out some unused pinvokes.
+
+       * Timer.cs: remove some unused fields.
+
+       * ThemeClearlooks.cs: comment out unused field.
+
+       * UpDownBase.cs: comment out unused field.
+
+       * DataObject.cs: comment out unused field.
+
+       * DataGridBoolColumn.cs: reomve unused field.
+
+       * DataGrid.cs: remove unused field.
+
+       * Cursor.cs: remove old ToBitmap code.
+
+       * ControlPaint.cs: remove unused method.
+
+       * ScrollBar.cs: remove unused fields.
+
+       * ComboBox.cs: remove unused field, and chain up to
+       AccessibleObject ctor.
+
+       * ListBox.cs: remove unused field.
+
+       * ButtonBase.cs: wrap a couple fields in NET_2_0.
+
+       * GridEntry.cs: remove unused fields.
+
+       * Binding.cs: remove unused fields.
+
+       * AxHost.cs: remove unused method.
+
+       * ContainerControl.cs: remove unused field.
+
+       * ScrollableControl.cs: remove unused fields.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
+       the Where/WhereString stuff.  it's easy enough to CWL
+       Environment.StackTrace.
+
+       * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
+       unused private fields.
+
+2006-12-01  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Do not update the view while inserting multiline
+       text. If we update the view we might wrap lines, before entering
+       the new lines, which causes the new line insertion calculations to
+       be totally fubared.
+       - Remove an old TODO
+       - Make debug output a little nicer
+       
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       [ fix the majority of the CS0108 warnings we've been suppressing ]
+       
+       * TreeView.cs: mark BackgroundImageChanged as 'new'.
+
+       * ToolBar.cs: ImeMode just passes stuff to Control.  Rename Layout
+       to "LayoutToolBar" to quiet mcs.
+       
+       * TabControl.cs: mark our ControlCollection class as 'new'.
+
+       * TextBoxBase.cs: mark some events as 'new'.
+
+       * Splitter.cs: TabStop is 'new'.
+
+       * ControlBindingsCollection.cs: mark a few methods as new since
+       they change the visibility from protected to public.
+
+       * RadioButton.cs: DoubleClick -> base class, and remove unused
+       HaveDoubleClick.
+
+       * MonthCalendar.cs: ImeMode property -> base class, and mark many
+       events as new.
+
+       * NumericUpDown.cs: TextChanged -> base class.
+
+       * CheckedListBox.cs: mark our ObjectCollection class as new to
+       quiet mcs.
+
+       * FolderBrowserDialog.cs: make HelpRequest event new and have it
+       muck with the base class.
+
+       * StatusBar.cs: fix some mcs warnings about Update being the same
+       name as a base class method.
+
+       * RichTextBox.cs: mark some events as new, and make them do things
+       to the base class impl.
+
+       * UserControl.cs: mark TextChanged as new, and have it manipulate
+       base.TextChanged.
+
+       * UpDownBase.cs: mark some things new.
+
+       * CheckBox.cs: mark DoubleClick "new", and add some text about
+       what we need to look at.
+
+       * Panel.cs: make the events "new", and manipulate the base
+       version.  these are just here for attributes.
+
+       * AccessibleObject.cs: make owner private.
+
+       * Control.cs: deal with AccessibleObject.owner being private.
+       cache our own copy if we need it.
+
+       * Button.cs: add "new" to the DoubleClickEvent.
+
+       * ListBox.cs: no need to track our own has_focus here.  let
+       Control.has_focus do it for us.  Also some other work to clear up
+       warnings about not overriding base class methods of the same name.
+       
+       * ComboBox.cs: clear up some warnings about not override base
+       class methods of the same name.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * Form.cs: flag a few things as "new" to quiet some of the mcs
+       warnings.
+
+       * AxHost.cs: same.
+
+       * PrintPreviewDialog.cs: same.
+
+       * DataGridView.cs: fix a ton of corcompare warnings.  not all, but
+       now DGV isn't so horrible on the class status page.  also, move
+       all events to using System.ComponentModel.EventHandlerList.  my
+       wrists hurt.
+
+2006-12-01  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * MdiWindowManager.cs:
+       - Set form to active mdi child if shown,
+       and update the active mdi child to the next 
+       remaining child in the z-order if the form is hidden.
+
+       * Form.cs: 
+       - Track if the form has been visible and if its 
+       visibility is beeing changed, so that the MdiClient
+       can properly decide the ActiveMdiChild. The MdiClient 
+       cannot track this since the form can change visibility 
+       before MdiClient is created.
+
+       * MdiClient.cs:
+       - Don't activate anything of the parent form is changing
+       its visibility.
+       - Rework ActiveMdiChild to only return visible mdi 
+       children and take into account several other corner 
+       cases.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * IBindableComponent.cs: new 2.0 interface.
+
+2006-12-01  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DataGrid.cs: Font for caption area is bold by default.
+
+2006-12-01  Everaldo Canuto  <everaldo@simios.org>
+
+       * Menu.cs: Tag property for 2.0.
+       
+2006-11-01  Everaldo Canuto  <everaldo@simios.org>
+
+       * ThemeWin32Classic.cs: Adjust menu separator drawing. 
+       
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * TreeView.cs: doh, the Begin* events should be
+       TreeViewCancelEventHandler.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * Form.cs: Form.ControlCollection already stores off the
+       form_owner field.  don't access the base class's internal "owner"
+       field.
+
+       * Control.cs: make all the fields in Control.ControlCollection
+       private.  there's no need for any internal fields here.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
+       OnHandleCreated.  Fixes bug #80109.
+
+2006-12-01  Chris Toshok  <toshok@ximian.com>
+
+       * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
+       SplitContainer.cs, Control.cs, StatusStrip.cs,
+       DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
+       NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
+       DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
+       DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
+       Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
+       LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
+       MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
+       TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
+       PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
+       DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
+
+       do most of the work to convert our code over to use
+       System.ComponentModel.Component.Events for
+       adding/removing/dispatching events.
+
+
+2006-11-30  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Fix an ArgumentNullException reported 
+       twice today in IRC.
+
+2006-11-30  Mike Kestner  <mkestner@novell.com>
+
+       * ComboBox.cs: fix the scrollbar mouse event forwarding in the 
+       grabbed listbox.  Fixes #80036 and #80101.
+
+2006-11-30  Rolf Bjarne Kvinge <RKvinge@novell.com>
+
+       * Message.cs: Changed ToString() to match MS.
+       
+2006-11-30  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: You can still change the selected text on a read
+       only textbox.
+       * TextControl.cs: Lower magic number for wrap calculations. This
+       lets text get closer to the right (far) edge.
+
+2006-11-30  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Tweak 2.0 layout properties.
+       * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
+       * TextRenderer.cs: Add a new overload.
+       * ToolStrip*: Huge amount of changes and new features.
+
+2006-11-30  Mike Kestner  <mkestner@novell.com>
+
+       * ComboBox.cs: fixes for LargeChange and Maximum to get the 
+       scroll range correct.  Fixes #79994.
+
+2006-11-30  Rolf Bjarne Kvinge <RKvinge@novell.com>
+
+       * MdiWindowManager.cs: Update main form's text when
+       a form is closed. (fixes #80038)
+       
+2006-11-30  Everaldo Canuto  <everaldo@simios.org>
+
+       * ToolBar.cs:
+       - Fix an regression in ButtonSize.
+       - Get ImeMode default value change to "Disable".
+       - Get ShowTooltips default value change to true, default value is 
+       "false" but after make a test in .NET we get "true" result as default.
+       
+2006-11-29  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripDropDown.cs: Fix for SupportsTransparency change.
+
+2006-11-29  Chris Toshok  <toshok@ximian.com>
+
+       * XplatUIWin32.cs (GetWindowTransparency): check return value of
+       GetLayeredWindowAttributes.  if it's 0, return 1.0, as
+       SetWindowTransparency hasn't been called.
+
+2006-11-29  Chris Toshok  <toshok@ximian.com>
+
+       * Form.cs (set_TransparencyKey): only call SetWindowTransparency
+       if it's supported.
+       (set_AllowTransparency): reorder things a little so that the
+       WS_EX_LAYERED style is removed properly.
+
 2006-11-29  Chris Toshok  <toshok@ximian.com>
 
        [ totally cosmetic eye-candy feature, fixes bug #80089 ]
        * Hwnd.cs: remove the setters for ExposePending and
        NCExposePending - noone uses them.
 
+2006-11-27  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: new param for ReplaceSelection which determines
+       whether we select the new selection, or set the cursor to the end
+       of the new selection.
+       * TextBoxBase.cs: Use new param for ReplaceSelection.  When
+       pasting, select the new text.
+       * RichTextBox.cs: Use new param for ReplaceSelection.
+
 2006-11-27  Jackson Harper  <jackson@ximian.com>
 
        * TextBoxBase.cs: Set the selection to the caret after the caret