2006-12-26 Everaldo Canuto <everaldo@simios.org>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 56aa0131a66b7f7be3fa121621a06e2408f38ca8..4e58c43d065e254df6094048533545b6a41adca7 100644 (file)
@@ -1,3 +1,252 @@
+2006-12-26  Everaldo Canuto  <everaldo@simios.org>
+
+       * ListView.cs: Call owner.OnMousexx event to propagate events from
+       item to ListView. Fixes #80367.
+
+2006-12-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
+       if value is less than one. ItemHeight should not be set to a value
+       less than 1, and throw ArgumentOutOfRangeException on 2.0 profile. 
+       Removed extra tabs.
+
+2006-12-26  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
+       * ToolStripStatusLabel.cs: Add Spring for Moma.
+
+2006-12-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DataGridView.cs: Fixed several NullReferenceException in On* methods.
+       Fixed code formatting. Removed debug code.
+       * DataGridViewTextBoxEditingControl.cs: Removed debug code.
+
+2006-12-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
+       RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
+       ArgumentOutOfRangeException if ColumnCount is negative. In 
+       ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
+       less than 4 or higher than 32768.
+       * DataGridViewCellStyle.cs: Fixed default value for NullValue.
+       Fixed FormatProvider to return CurrentCulture unless explicitly set.
+       Fixed IsFormatProviderDefault to return true if FormatProvider has
+       not been explicitly set.
+
+2006-12-25  Chris Toshok  <toshok@ximian.com>
+
+       * Application.cs: add a couple of 2.0 events.
+
+2006-12-25  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: fix compiler warning.
+
+       * AxHost.cs: corcompare fixes.
+
+       * ApplicationContext.cs: corcompare fixes.
+
+2006-12-25  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: only update dist_right/dist_bottom if the
+       width/height is > 0.  this fixes anchored controls being resized
+       smaller until they disappear and then resized larger again.
+
+2006-12-25  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: a couple of changes.  Remove dist_left and dist_top,
+       since they're nothing more than X/Left and Y/Top, respectively.
+
+       Also, move back to a per-control Bitmap/Graphics for
+       DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
+       MT case.  Go with a tiny bitmap though, 1x1, instead of Width x
+       Height.
+
+2006-12-25  Miguel de Icaza  <miguel@novell.com>
+
+       * MessageBox.cs: Implemented overload that takes a new "bool
+       displayHelpButton" by adding a new internal field "show_help".
+       When clicked this will raise the HelpRequested on the owner or the
+       main form. 
+
+       From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
+       From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
+
+       * ListView.cs: Add support ColumnWidthChanged and
+       ColumnWidthChanging. 
+
+       Add support for ColumnReordered event.
+       (ReorderColumn): Add NET_2_0 specific support for cancelling the
+       reorder.
+
+       Very nice codebase!
+
+       * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
+
+       This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
+
+2006-12-24  Chris Toshok  <toshok@ximian.com>
+
+       * GridTablesFactory.cs: 2.0 corcompare work.
+
+       * ToolStripContainer.cs: add "override" to
+       ContextMenuStripChanged, and remove the local event object.
+
+       * ToolStripDropDown.cs: same with a couple properties.
+
+       * ToolStripPanel.cs: same with AutoSizeChanged event.
+
+       * TextBoxBase.cs: add "override" to AutoSizeChanged.
+
+       * Form.cs: add the remaining 2.0 events, and do some corcompare
+       attribute work.
+
+       * DateTimePicker.cs: add "new" to padding.
+
+       * ButtonBase.cs: use Control's use_compatible_text_rendering.
+
+       * ToolStripContentPanel.cs: use base.AutoSizeChanged.
+
+       * DataGridView.cs: PaddingChanged is overridden.
+
+2006-12-24  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: corecompare work here too.
+
+       * DataGridViewElement.cs, DataGridView.cs,
+       DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
+       DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
+       DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
+       DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
+       work.
+
+2006-12-24  Miguel de Icaza  <miguel@novell.com>
+
+       * Control.cs: Switched the error message on the console for a
+       todo.  A review of the code will have to cope with this anyways
+       (since its a large feature, it is in our radar) and it was
+       producing too much output when running PDN.
+
+       * ToolStripComboBox.cs: Set the text when the SelectedIndex
+       changes.  Applications depend on this (PDN 2.72)
+
+2006-12-23  Chris Toshok  <toshok@ximian.com>
+
+       * TableLayoutSettings.cs: finish up the corcompare work for this
+       class.
+
+2006-12-23  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make SetImplicitBounds internal, do some futzing
+       with LayoutEngine so that it's available in 1.1, and remove the
+       entire duplicated code mess from PerformLayout.  Use
+       System.Windows.Forms.Layout.DefaultLayout instead.
+
+       * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
+
+2006-12-23  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Form.cs: Add MainMenuStrip property.
+
+2006-12-23  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Add ContextMenuStrip property and implementation.
+       Fix ContextMenu implementation to show menu centered on control when
+       activated using the keyboard instead of showing at screen (0,0).
+
+       * ToolStripDropDown.cs: Fix needed overload of Show ().
+
+2006-12-23  Everaldo Canuto  <everaldo@simios.org>
+
+       * Menu.cs: Name property added for 2.0 profile.
+       
+2006-12-23  Everaldo Canuto  <everaldo@simios.org>
+
+       * Menu.cs: Update information about FindMenuItem, method to be
+       implemented soon.
+
+2006-12-23  Everaldo Canuto  <everaldo@simios.org>
+
+       * MenuAPI.cs: When deselect items deselect also selected subitems.
+       
+2006-12-23  Everaldo Canuto  <everaldo@simios.org>
+
+       * MenuAPI.cs: When hides menu set Wnd to null, it prevents
+       FindSubItemByCoord to found itens that is not active, also an
+       cheking added to FindSubItemByCoord to search for items only 
+       in visible popup windows. Fixes #80274.
+
+2006-12-22  Everaldo Canuto  <everaldo@simios.org>
+
+       * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
+       internal property, it be care about change ExStyle. 
+
+2006-12-22  Andreia Gaita  <avidigal@novell.com>
+
+       * ContainerControl.cs: set activeControl for parent forms up the 
+       tree when the new activecontrol is a container.
+       When validating the active control, if it is a container, also
+       raise up the validation for it's active control. Fixes #80280
+       
+       * Control.cs: Add internal property flag and check to prevent
+       Focus events from getting raised when Select() is called for
+       a ContainerControl. There are still too many focus events being
+       raised at the moment though.
+       Cleaned up the code a bit.
+
+2006-12-22  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Control.cs: Added all missing 2.0 events.and
+       fixed a couple of corcompare issues.
+       * TrackBar.cs: Implemented missing 2.0 bits.
+       * MonthCalendar.cs, 
+       * DateTimePicker.cs, 
+       * MdiClient.cs: Fixed some corcompare issues.
+
+2006-12-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
+       SplitterPanel.cs: corecompare work.
+
+2006-12-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
+       Clean up warnings for BackgroundImageChanged and PaddingChanged
+       events now that they are implemented in Control.cs.
+
+2006-12-21  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Make sure layout_engine isn't null before using it (2.0).
+       
+       * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
+       TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
+       of TableLayoutPanel and supporting cast.
+
+2006-12-21  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * XplatUIWin32.cs: 
+       - GrabWindow now confines the mouse pointer to the confine window.
+       - Added Win32ClipCursor and Win32GetClipCursor.
+
+       * Control.cs: 
+       - Added CaptureWithConfine to be able to capture and confine 
+       mouse pointer.
+       
+       * InternalWindowManager.cs: 
+       - Call CaptureWithConfine instead of Capture if we're an
+       MdiChild (fixes #79982).
+
+2006-12-21  Chris Toshok  <toshok@ximian.com>
+
+       * DataGrid.cs: guard against the initial state of selection, where
+       selection_start == -1.  make sure we only select from index >= 0.
+       Fixes bug #80291.
+
+2006-12-21  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: we don't need to be so draconian with
+       UpdateDistances, and we thusly don't need to call it before
+       calling PerformLayout in ResumeLayout.  Fixes bug #80289.
+
 2006-12-21  Daniel Nauck  <dna@mono-project.de>
 
        * ComboBox.cs,