2008-10-15 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index c9de6a86146ae5b687e911677dec2871b67e7302..3913571ab47fbe90765e7a531f0c3a867bd40196 100644 (file)
@@ -1,3 +1,247 @@
+2008-10-15  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before 
+       MainForm.OnLoad has completed unless DoEvents is forced.
+       [Fixes bug #412536]
+
+2008-10-15  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
+
+2008-10-15  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Control.cs: Make our implementation of DrawToBitmap better 
+       match WmPaint.  [Fixes bug #435579]
+
+2008-10-14  Andreia Gaita  <avidigal@novell.com>
+
+       * WebBrowser.cs: Use DocumentElement as the document's root for the
+       whole content. Should fix DocumentText and DocumentStream problems.
+
+2008-10-14  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
+       these will get called in DGV.OnCollectionChanged.  Make sure 
+       OnCollectionChanged always gets called.
+       * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
+       from every row.  Call this in OnCollectionChanged.
+       [Fixes bug #433669]
+
+2008-10-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
+       textbox if auto complete is used, since we need to navigate over it.
+       And in this case don't pass this messages to the base impl. Also hide
+       the auto complete list box when displaying the drop down listbox.
+       * TextBox.cs: new internal members to expose some of the auto complete
+       functionality to combobox.
+
+2008-10-13  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before 
+       MainForm.OnLoad has completed.
+       [Fixes bug #412536]
+
+2008-10-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TextBox.cs: Apply an old-approved patch that adds autocomplete's
+       Append support to this controls. We need it to apply new patches.
+
+2008-10-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Control.cs: When updating z order in child controls, send to back
+       the implicit controls. Also, do it explicitly, instead of making
+       GetAllControls return the implicit controls in a specific order, and
+       thus avoid depending on that, which could change in the future.
+       Fixes #434304.
+
+2008-10-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * X11Dnd.cs: Try to call Application.DoEvents before returning in a
+       call to StartDrag, since we must fire DragDrop/DragLeave *before*
+       that, as .net does - instead of firing DragDrop/DragLeave *after* the
+       call to Control.DoDragDrop has completed. This is needed since at the
+       point of returning, we have sent related dnd ClientMessages, but we
+       need to wait for them to fire the wmf respective ones.
+       Fixes #325076.
+
+2008-10-09  Everaldo Canuto  <ecanuto@novell.com>
+
+       * LinkLabel.cs: Recreate link pieces when change Padding.
+
+2008-10-09  Everaldo Canuto  <ecanuto@novell.com>
+
+       * LinkLabel.cs: Take Padding into account when recreate link pieces.
+       [Fixes bug #412530]
+
+2008-10-08  Everaldo Canuto  <ecanuto@novell.com>
+
+       * Control.cs: Implement internal property PaddingClientRectangle, it will be
+       useful for drawing controls that must take care about Padding property.
+
+2008-10-08  Jonathan Pobst  <monkey@jpobst.com>
+
+       * BindingSource.cs: Make item_type internal so we can access it in DGV.
+       * DataGridView.cs: Add support for autogenerating columns from a
+       BindingSource.
+
+2008-10-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Comment out an exception that is getting thrown
+       too often currently.
+
+2008-10-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Always rebind to the datasource, as things may
+       have changed in it that we aren't capturing yet.
+
+2008-10-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
+       drawing mode.  If we are top aligned, give ourselves some top padding.
+
+2008-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
+       events on the control under the mouse pointer, instead of firing them
+       on the window generating the dnd operation. To achieve this re-use the
+       code used to get the window under the pointer when getting MouseMove
+       events.
+       Fixes #381876.
+
+2008-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * X11Dnd.cs: Don't check that that the window sending the dnd events
+       is the owner of the selection. Although Gtk+ sets it that way, it's
+       not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
+       So, just as Gtk+ does, we set our window sending the dnd events as the
+       owner of the selection, but don't check it when receiving them. This
+       should fix interoperability with Qt/Kde.
+       Fixes #324251.
+
+2008-10-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Make sure we take the vertical scrollbar into
+       account when autosizing columns.
+
+2008-10-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Handle sorting datetimes.
+
+2008-10-04  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs, 
+       TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup 
+       compilation warnings.
+
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs, 
+       ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs, 
+       ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs, 
+       ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup 
+       compilation warnings.
+
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs, DataGridViewCell.cs, 
+       DataGridViewCellValidatingEventArgs.cs, 
+       DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs, 
+       DataGridViewRow.cs, DataGridViewRowHeaderCell.cs, 
+       DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
+
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * HtmlElementEventArgs.cs, HtmlWindowCollection.cs: 
+       Cleanup compilation warnings.
+
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * XplatUIWin32.cs: Cleanup compilation warnings.
+
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * PropertyGrid.cs: Cleanup compilation warnings.
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewRow.cs: Only clear the row background if we
+       are going to paint a new background.
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
+       DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
+       use PaintBorder instead.        
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: When CellBorderStyle is set, update the
+       AdvancedCellBorderStyle to match.
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewCell.cs: Add helper methods to convert Alignment
+       to TextFormatFlags and align rectangles.
+       * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
+       * DataGridViewImageCell.cs: Use Alignment when painting the image.
+
+2008-10-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * ToolTip.cs: Display tooltips only for controls on the active form.
+       [Fixes bug #428115]
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridView.cs: Make OnCellValueNeeded internal.
+       * DataGridViewCell.cs: Raise the CellValueNeeded event so the
+       user can supply their own value if they choose.
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewColumnHeaderCell.cs: Create a new style object
+       so the DefaultCellStyle doesn't get changed.
+
+2008-10-02  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripItem.cs: Check to make sure the owner is actually
+       changing in InternalOwner before doing any work.  Fixes some
+       failing tests.
+
+2008-10-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
+       * DataGridView.cs: Use a column header's inherited style instead
+       of just using the default.
+
+2008-10-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * SplitContainer.cs: Raise SplitterMoved when the splitter is
+       moved through code.
+
+2008-10-01  Mario Carrion <mcarrion@novell.com>
+
+       * ScrollBar.cs: Internal property added: UIAThumbPosition.
+
+2008-10-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
+
+2008-10-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripItem.cs: When the user sets Owner, we need to remove
+       it from its previous owner and then add it to the new owner's
+       item collection.  Also, create InternalOwner, so we can set the owner
+       that doesn't do this new stuff.
+       * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
+
+2008-10-01  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripItem.cs: When our parent changes, recalculate our text
+       size, since we may be getting our Font from our parent.  When our
+       owner's Font changes, recalculate ourselves as we may be using
+       that font.
+
 2008-10-01  Everaldo Canuto  <ecanuto@novell.com>
 
        * MenuAPI.cs: Select the first option of a popup when opening the popup via