2007-01-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 7cc63e9a50bb1468e01267fabdd86c52dc4b7cd6..064fe64b4fe5aca7324b7ef1a261719a68072a4d 100644 (file)
@@ -1,3 +1,124 @@
+2007-01-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs: Add more text padding space when using
+       auto resize for columns (the previous value didn't work fine).
+
+       * ThemeWin32Classic.cs: Update text position inside columns,
+       to match the appeareance of .Net.
+
+       * ColumnHeader.cs: When using auto resize, only the Width should
+       depend on the sub items, not the Height. Also, set width after
+       auto resizing (the value of Width should never remain as -1 or -2).
+
+2007-01-10  Chris Toshok  <toshok@ximian.com>
+
+       * Application.cs: fix compilation errors when debug is enabled.
+
+2007-01-10  Chris Toshok  <toshok@ximian.com>
+
+       * ContainerControl.cs (set_ActiveControl): rework this a bit (and
+       add some nice ascii art pictures and explanation of the process).
+       (GetMostDeeplyNestedActiveControl): new utility function we need
+       because our ActiveControl can refer to a child container with its
+       own ActiveControl.
+
+       * Form.cs (OnActivated): remove the call to SelectActiveControl
+       from here, since you can override this method and not chain up,
+       and winforms still sets the active control.
+       (OnCreateControl): also remove the unnecessary SelectActiveControl
+       call from here.
+       (WndProc): it's actually called from the WM_ACTIVATE block, just
+       before calling OnActivated.
+
+       * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
+       inside the else.  the ActiveControl setter will end up setting
+       focus on @control.  This keeps us from setting it again (and
+       generating an extra LostFocus/GotFocus pair).
+       (Select (bool, bool)): reindent.
+
+2007-01-10  Jonathan Pobst  <jpobst@novell.com>
+
+       * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
+       StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
+       ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
+       ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
+       ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
+       ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
+       ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
+       ToolStripTextBox.cs: Another wave of corcompare work.
+
+2007-01-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ColumnHeader.cs: Implement 2.0 AutoResize method using
+       the Width property.
+
+       * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
+       methods by callling Column.AutoResize method on columns.
+
+2007-01-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Provide proper implementations of PreferredSize
+       and GetPreferredSize (2.0).
+
+2007-01-09  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Form.cs: Remove one character (!) to make my previous OnClosing
+       stuff work for modal windows like MessageBox.
+
+2007-01-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ListView.cs:
+       * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
+       ListView.Columns to get the last displayed column. Fixes #80452.
+
+2007-01-09  Everaldo Canuto  <everaldo@simios.org>
+
+       * Label.cs, LinkLabel.cs: Source code identation fixes.
+
+2007-01-08  Everaldo Canuto  <everaldo@simios.org>
+
+       * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
+       we dont need to invalidate only borders because when we invalidate four
+       border lines the invalidate's generates a complete redraw of button, 
+       because it now invalidate a complete rect some other redraws operations
+       are fixed. Fixes #80196.
+       
+       * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
+       Remove ToolBarInvalidateEntireButton as it is not used.
+
+2007-01-08  Jonathan Pobst  <monkey@jpobst.com>
+       
+       * Form.cs: Make sure that both OnClosing and OnFormClosing are
+       called for 2.0 profile.
+       * CloseReason.cs: Make class internal for 1.1.
+
+2007-01-08  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripManager.cs: Implement FindToolStrip functionality.
+       * ToolStrip.cs: Register and unregister with ToolStripManager.
+
+2007-01-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: This was messy.  2.0 moves much of ControlCollection
+       to ArrangedElementCollection.  Implemented this with as few #if's as 
+       possible (which is still too many).
+
+2007-01-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Implement SizeFromClientSize() [2.0].
+
+2007-01-07  Everaldo Canuto  <everaldo@simios.org>
+
+       * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
+       use Theme.BorderSize to calculate area instead of static value 1, 
+       by the way use new BorderStaticSize instead     Border3DSize when 
+       border_static is true. Fixes #79537.
+       
+       * XplatUIOSX.cs: Fix call to GetClientRectangle. 
+       
+       * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
+       it is not needed.
+
 2007-01-06  Everaldo Canuto  <everaldo@simios.org>
 
        * Hwnd.cs: Gives more code legibility to GetWindowRectangle.