2007-07-09 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index b6bf315f49515946de80356b5738b606ee5c314e..581d73f2e0d6bcd26a580cb4fe9a983ea21a991c 100644 (file)
@@ -1,3 +1,191 @@
+2007-07-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * LinkArea.cs: Add op_Equality and op_Inequality.
+
+2007-07-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Application.cs: Add MessageLoopCallback delegate.
+
+2007-07-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ListBox.cs: First set of 2.0 stuffs.
+
+2007-07-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Make an internal Height property we can override
+       without messing up the public API.
+       * ListBox.cs: Override HeightInternal to always return the size
+       the user set.  [Fixes bug #80466]
+
+2007-07-08  Jonathan Pobst  <monkey@jpobst.com>
+
+       * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
+       paint cell borders if we haven't calculated where they go yet.
+       [Fixes bugs #82040 and #82041]
+
+2007-07-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: In Details view, set the location of item_control
+       in the (0,0) position (and the header_control is thus on the
+       item_control). This way the Bounds of the Items are relative to the
+       ListView control (before this, they had a Bounds value without the
+       header_control offset, which wasn't matching .Net). Fixes #82004.
+
+2007-07-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListControl.cs: When DataSource is set to null, pass an empty
+       array of object to SetItemsCore. This is done to clean the items
+       in the ListContol children. Fixes #81788.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ListControl.cs: Add 2.0 stuffs.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Label.cs: Finish up 2.0 stuffs.  Replace calls to Refresh with Invalidate,
+       Refresh is overkill for just about every repaint request.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
+       so remove my custom Get method and fix the property getter.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Label.cs: DefaultMargin for 2.0.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ComboBox.cs: Override IsInputCharInternal and return true.  Fixes 
+       reported issue where other controls with mnemonics would steal strokes
+       from a selected ComboBox.
+
+2007-07-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ScrollOrientation.cs: Make internal for 1.1.
+       * ScrollEventArgs.cs: Add 2.0 stuffs.
+
+2007-07-05  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
+       ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
+       ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
+
+2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
+
+2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Implement the so-incredibly broken 2.0 
+       VirtualItemsSelectionRangeChanged event.
+
+2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: When enter is pressed and selection is non empty,
+       an OnItemActivate event must be fired.
+
+2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Store the FocusedItem information as an
+       int instead of a ListViewItem (needed by VirtualMode).
+       Update the calls to SetFocusedItem to pass an index instead of
+       an item.
+       * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
+       the Focused state from the owner ListView. 
+
+2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
+       property. Also, invalidate previous focused item in the mentioned
+       property (match .Net).
+
+2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Implement 2.0 FocusedItem property setter.
+
+2007-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Implement 2.0 TopItem property setter.
+
+2007-07-03  Jonathan Pobst  <monkey@jpobst.com>
+
+       * StatusStrip.cs: The default renderer is System.
+       * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it 
+       if the user specifies it.
+       * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
+       if we are ManagerRenderMode.
+       * ToolStripMenuItem.cs: Calculate our text color better.
+       * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
+       from Professional to the base class based off working with the System renderer.
+       * ToolStripSystemRenderer.cs: Added.
+
+2007-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
+
+2007-07-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolTip.cs: Implement 2.0 Tag property.
+
+2007-06-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Implement 2.0 HitTest methods.
+
+2007-06-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
+       item is under the pointer or not (sugar). Also remove the TODO
+       regarding to the cursor changes in OneClick activation.
+       * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
+       the subitems use the parent's HotFont if UseItemStyleForSubItems is
+       true; otherwise don't show the underline style.
+
+2007-06-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: In ItemControl.ItemsMouseMove, refactor
+       the code to retrieve the item at position only one time. Also
+       change cursor when Activation is ItemActivation.OneClick as well
+       as invalidate the item if HotTracking is true (to show/hide the
+       underline style). Add an internal HotItemIndex property to retrieve
+       the current hot item's index.
+       * ListViewItem.cs: Add an internal HotFont property to cache the
+       font used when HotTracking is true and the pointer moves within the
+       item's borders.
+       * ThemeWin32Classic.cs: When drawing the item's text, use Font or
+       HotFont depending on the hot state of the item.
+
+2007-06-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Implement 2.0 HotTracking property.
+
+2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripControlHost.cs: If our hosted control never got created,
+       don't try to dispose it.  [Fixes bug #81909]
+
+2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
+
+2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * TableLayoutPanel.cs: Implement CellBorderStyle.  [Fixes bug #81884]
+
+2007-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for 
+       Details view.
+       * DrawListViewColumnHeaderEventArgs.cs:
+       * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
+       using the DrawText () methods.
+
+2007-06-19  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
+       background which got erased in my changes yesterday.
+
 2007-06-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
 
        * ListViewItem.cs: Actually set bounds for subitems in Details view