* TextBoxBase.cs: When a delete removes a line,
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 3bb5f0e5f68ce003b68deaaeaa3e7e68e287c817..d3e38e3a813e52acaf9917332bda4a3dd8af7a48 100644 (file)
@@ -1,3 +1,178 @@
+2007-04-06  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: When a delete removes a line, recalculate all
+       lines below that line (they need to get offsets setup correctly)
+       and invalidate.
+
+2007-04-05  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: We need to invalidate across the width of the
+       document when we are invalidating multiple lines.
+       * TextBoxBase.cs: Don't delete into the line ending.
+
+2007-04-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Restore the check for the MouseHover event
+       in ListView. It looks like the ListView fires more than one MouseHover
+       event when HoverSelection is true  _only_ in weird-corner scenarios, but
+       in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
+       event.
+
+2007-04-05  Mike Kestner  <mkestner@novell.com>
+
+       * ListView.cs : raise MouseDown before updating selection.
+       [Fixes #80373 tab 1&3]
+
+2007-04-05  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripRenderer.cs: Add static method to mirror image.
+       * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
+       and RightToLeftAutoMirrorImage.
+       * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
+
+2007-04-05  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripSplitStackLayout.cs: Support Alignment property.
+       * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
+
+2007-04-05  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Move around the line endings when crossing line
+       boundaries.
+       - When combining lines, strip the ending text off the first line.
+
+2007-04-05  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs:
+       * TextBoxBase.cs: Try to never move the cursor into the line
+       ending.
+       
+2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripItem.cs: Make sure we aren't firing mouse events when
+       the item is disabled.  Also add a few missing methods.
+
+2007-04-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: We don't need the MouseEnter/MouseLeave check
+       to fire just one MouseHover event when HoverSelection is true, since
+       .Net does fire more than one MouseHover event in that scenario. Also,
+       fix the selection in HoverSelection, by invoking UpdateMultiSelect
+       if MultiSelect is true, instead of only setting ListViewItem.Selected.
+       Finally, we need to reset the Hover logic in MouseMove, even when we
+       don't have a selected item.
+
+2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStrip.cs: Add several missing methods, properties, and events.
+
+2007-04-04  Chris Toshok  <toshok@ximian.com>
+
+       * DataGridTextBoxColumn.cs: set the bounds of the text box to
+       (0,0,0,0) in Commit, as MS does.
+
+       * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
+       make sure we set CurrentRow on a row header click *before* calling
+       Select.  This moves the current cell (and the textbox) to the new
+       row.  The call to Select then hides the textbox, giving us the
+       correct behavior.  Fixes #80362.
+
+       * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
+       (ListChangedHandler): reorder the position/current changed events,
+       and call UpdateIsBinding in the ItemAdded case.
+
+       * GridColumnStylesCollection.cs: add some columns events, one of
+       which raises the CollectionChanged event.
+
+2007-04-04  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: When we delete multiple selection lines
+       invalidate the selection area, don't need to do that for single
+       lines because the final update view will handle it.
+
+2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: When we CreateControl, we need to also create all of the
+       control's children.  The child's OnLoad must also fire before the parent's
+       OnLoad.  Fixes the toolbox size in PDN.
+
+2007-04-04  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: When the user presses enter, insert a line
+       ending into the text. (Maybe this would be a good spot for
+       Environment.NewLine).
+       * TextControl.cs: Remove undo manager hack, line endings get
+       inserted properly now.
+       
+2007-04-04  Everaldo Canuto  <everaldo@simios.org>
+
+       * MenuAPI.cs: 
+       - Remove unneeded parameters in UpdateCursor.
+       - Fix UpdateCursor to check if menu is active.
+       - Call UpdateCursor when menu deactivate my click.
+       [Fixes remaining issues from #80410]
+
+2007-04-04  Everaldo Canuto  <everaldo@simios.org>
+
+       * Control.cs: GetRealChildAtPoint method added, it make an
+       recursive child control search for the point. 
+
+       * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
+       menu.
+
+       * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
+
+2007-04-03  Everaldo Canuto  <everaldo@simios.org>
+
+       * Form.cs: Fix mouse position when send back mouse event after closes
+       menu.
+
+2007-04-03  Everaldo Canuto  <everaldo@simios.org>
+
+       * Form.cs: Simplify the BUTTONDOWN for active tracker.
+
+2007-04-03  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Fix an issue where if a user resized a control inside
+       a sizing method like OnResize, we would overwrite their explicit
+       value.  Also, only call DefaultSize once in the constructor instead
+       of 4 times.  Also, do not call SetBoundsCore from SetBounds if 
+       nothing actually changed.
+
+2007-04-03  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Don't attempt to copy text for lines with no
+       text in them (technically this shouldn't happen, but we aren't
+       always inserting line endings when we should be).
+
+2007-04-03  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: Calculate the scrollbars before calculating the
+       document, because this sets some of the document size properties
+       that are needed.
+
+2007-04-03  Jackson Harper  <jackson@ximian.com>
+
+       * TextBoxBase.cs: We need to calculate maximums even if this is
+       not a multiline control, because the maxs are used for scrolling.
+       - Display the caret after doing a page up/down, we need to
+       manually display it because a proper CaretMoved event isn't
+       triggered (this is because of the way the math is done to
+       determine how far to scroll).
+
+2007-04-03  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
+       (ToolBar was relying on SetBoundsCore to default the values sent 
+       base off of BoundsSpecified.)
+
+2007-04-03  Rolf Bjarne Kvinge <RKvinge@novell.com> 
+
+       * DateTimePicker.cs: Change Text so that when a null value or empty
+         string is assigned to the test we always raise ValueChanged and
+         TextChanged (earlier implementation would only raise ValueChanged
+         if the current date value was different from DateTime.Now).
+
 2007-04-03  Andreia Gaita <avidigal@novell.com> 
 
        * ButtonBase: Call update after invalidation, fixes #80194