* System.Windows.Forms.dll.sources: Add MdiClientContext to the
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 91f2df868a1cb6b1b22323a4b422392c0c01aa03..2f4db2f2c67bd9852e431f0162448f2fcc9ab941 100644 (file)
@@ -1,3 +1,464 @@
+2005-06-13  Jackson Harper  <jackson@ximian.com>
+
+       * Form.cs: Hook into the mdi framework.
+       * MdiClient.cs: Use the base control collections add method so
+       parents get setup correctly. Set the default back colour and dock
+       style.
+       * MdiChildContext.cs: New class, this bad actor handles an
+       instance of an MDI window. Right now there is only basic
+       support. You can drag, close, and resize windows. Minimize and
+       Maximize are partially implemented.
+
+2005-06-13  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Mash numbers together properly, otherwise we get
+       freaky when both vals are negative. NOTE: There are probably other
+       places in XplatUIX11 that this needs to be done.
+
+2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGrid.cs: implement missing methods, move KeyboardNavigation
+       * DataGridColumnStyle.cs: fixes signature
+
+2005-06-12  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Use sizing cursors similar to the ones on
+       windows.
+
+2005-06-11  Jackson Harper  <jackson@ximian.com>
+
+       * StatusBarPanel.cs: Signature cleanups. Implement
+       BeginInit/EndInit.
+
+2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridTextBoxColumn.cs: Honors aligment
+       * GridColumnStylesCollection.cs: Contains is case unsensitive
+       * GridTableStylesCollection.cs: several fixes
+       * DataGridTableStyle.cs: default column creation
+       * DataGridDrawingLogic.cs: fixes
+       * CurrencyManager.cs: ListName property
+       * DataGrid.cs: multiple styles support
+       * DataGridColumnStyle.cs: fixes
+       
+
+2005-06-10  Peter Bartok  <pbartok@novell.com>
+
+       * Control.cs(Select): Moved SetFocus call to avoid potential
+         loops if controls change the active control when getting focus
+       * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
+         the up/down buttons
+
+2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
+
+       * ImageListConverter.cs: Implemented
+
+2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
+
+       * MonthCalendar.cs: Wired in NumericUpDown control for year
+
+2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
+
+       * MonthCalendar.cs: Removed MonoTodo attributes on Click and 
+         DoubleClick events, since they are not meant to be fired.
+
+2005-06-09  Peter Bartok  <pbartok@novell.com>
+
+       * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
+         Jonathan's standalone controls into MWF, implemented missing 
+         events, attributes and methods; added xxxAccessible classes
+       * AccessibleObject.cs: Made fields internal so other classes
+         can change them if needed
+
+2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
+
+       * UpDownBase.cs: Complete implementation
+       * NumericUpDown.cs: Complete implementation
+       * DomainUpDown.cs: Complete implementation
+
+2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridTextBoxColumn.cs: drawing fixes
+       * DataGridCell.cs: fixes ToString method to match MSNet
+       * DataGridTableStyle.cs: fixes
+       * DataGridBoolColumn.cs: fixes, drawing
+       * DataGridDrawingLogic.cs: fixes, new methods
+       * DataGridTextBox.cs: Keyboard and fixes
+       * DataGrid.cs:
+               - Keyboard navigation
+               - Scrolling fixes
+               - Row selection (single, multiple, deletion, etc)
+               - Lots of fixes
+       
+2005-06-07  Jackson Harper  <jackson@ximian.com>
+
+       * ThemeWin32Classic.cs: Clear the background area when drawing
+       buttons.
+
+2005-06-06  Peter Bartok  <pbartok@novell.com>
+
+       * ImageListStreamer.cs: Fixed signature for GetData
+       * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
+       * ComboBox.cs: 
+         - Added missing ChildAccessibleObject class
+         - Added missing OnXXXFocus overrides, switched to using those 
+           instead of the event handler
+       * Control.cs:
+         - Added Parent property for ControlAccessibleObject
+         - Fixed signatures
+         - Fixed attributes
+         - Added ResetBindings()
+       * ListBindingConverter.cs: Implemented some methods
+       * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
+       * ImageList.cs: Implemented basic handle scheme, removed TODOs
+       * ContainerControl.cs: Fixed signature, now subscribing to the 
+         ControlRemoved event instead of overriding the handler, LAMESPEC
+       * CurrencyManager.cs: Added missing attribute
+       * MonthCalendar.cs: Added missing properties
+
+2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
+       
+2005-06-06  Gaurav Vaish and Ankit Jain
+
+       * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
+       * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
+       
+2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Control.cs: fixes CreateParams Width / Height. 
+
+2005-06-05  Peter Bartok  <pbartok@novell.com>
+
+       * Win32DnD.cs: Removed compilation warnings
+
+2005-06-05  Peter Bartok  <pbartok@novell.com>
+
+       * Control.cs (CreateParams): Since we don't know if one of the 
+         properties we use is overridden, lets make sure if we fail accessing 
+         we continue with a backup plan
+
+2005-06-05  Peter Bartok  <pbartok@novell.com>
+
+       * Win32DnD.cs: 
+         - Removed debug output
+         - Added MarshalAs attribute to ensure proper marshalling of FORMATETC 
+           struct
+         - Plugged resource leak
+       * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
+         MS size
+
+2005-06-05  Peter Bartok  <pbartok@novell.com>
+
+       * XplatUIWin32.cs: Removed DnD code
+       * Win32DnD.cs: Implemented drop source and drop target functionality
+
+2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * UpDownBase.cs: remove duplicate addition of event, enable some code
+       that was commented out.
+       * NumericUpDown.cs: added missing attributes and Hexadecimal property.
+       Validate input when a key is pressed. It works fine now for every
+       combination of Hexadecimal. Only missing some drawing love when sharing
+       space with other controls.
+
+2005-06-04  Peter Bartok  <pbartok@novell.com>
+
+       * Control.cs:
+         - We need to pass a window for DragDrop, so enable callback events
+         - Added DnD callback events when being a DragSource
+       * XplatUI.cs (StartDrag): Added window handle argument
+       * XplatUIDriver.cs (StartDrag): Added window handle argument
+       * QueryContinueDragEventArgs: Made fields internally accessible so
+         drivers can set them
+       * GiveFeedbackEventArgs: Made fields internally accessible so drivers
+         can set them
+
+2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridTextBoxColumn.cs: column text editing
+       * DataGridTableStyle.cs: Respect columns styles created by the user
+       * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
+       * DataGridBoolColumn.cs: bool column editing
+       * DataGrid.cs: fixes to scrolling, properties, etc
+       * DataGridTextBox.cs: handle keyboard
+       * DataGridColumnStyle.cs: fixes
+
+2005-06-02  Jackson Harper  <jackson@ximian.com>
+
+       * ImageListStreamer.cs: Somewhat broken implementation of
+       GetObjectData. The RLE needs some work to match MS properly.
+
+2005-06-02  Jackson Harper  <jackson@ximian.com>
+
+       * X11Dnd.cs: Attempting to keep at least one file in MWF
+       monostyled.
+
+2005-06-02  Peter Bartok  <pbartok@novell.com>
+
+       * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
+         that way
+
+2005-06-02  Peter Bartok  <pbartok@novell.com>
+
+       * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
+       * XplatUI.cs: Added DoDragDrop() method
+       * XplatUIDriver.cs: Added DoDragDrop() method
+
+2005-06-02  Jackson Harper  <jackson@ximian.com>
+
+       * Splitter.cs: Implement BorderStyle.
+
+2005-06-02  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Tie into the X11Dnd subsystem.
+       * X11Dnd.cs: New file. A subsystem that handles drag and drop on
+       X11 using XDND.
+
+2005-06-02  Peter Bartok  <pbartok@novell.com>
+
+       * DataObject.cs: 
+         - Added Data setter
+         - Fixed broken insertion code for SetData, now also
+           overwrites any existing entry of the same format name
+       * Hwnd.cs: Added list of pointers that automatically gets
+         freed when the window is disposed 
+       * XplatUI.cs: Call driver initialization method when loading
+         a driver
+       * Control.cs: 
+         - OnDragLeave takes EventArgs, not DragEventArgs
+         - Added setting of WS_EX_ACCEPTFILES style when dropping is
+           supported
+         - Forces style update when drop state changes
+       * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
+         not perfect since we cannot (yet) call the IDataObject.GetData()
+         method, we keep getting 0x80004005 error, dunno why)
+
+2005-06-02  Peter Bartok  <pbartok@novell.com>
+
+       * DragEventArgs.cs: Make fields internal so we can cache the
+         object and re-set the fields from XplatUI
+
+2005-06-02  Jackson Harper  <jackson@ximian.com>
+
+       * Control.cs: Add some internal methods so the DnD subsystem can
+       raise DnD events. Also call into the driver when AllowDrop is set.
+       * XplatUI.cs:
+       * XplatUIDriver.cs: New method for setting whether or not a window
+       is allowed to accept drag and drop messages.
+               
+2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
+       
+       * ScrollBar.cs: Make sure that values sent in Scroll events 
+       are always between Maximum and Minimum.
+
+2005-06-01  Marek Safar  <marek.safar@seznam.cz>
+
+       * Menu.cs: Call MenuChanged when menuitem visibility has been
+       changed.
+       * MenuItem.cs: Rebuild menu when item is (not) visible.
+       * MainMenu.cs: MainMenu has special MenuChanged.
+       * Theme.cs: Caption and FrameBorderSize are not fixed.
+       * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
+       * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
+       * XplatUIX11.cs,
+       * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
+       * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
+
+2005-05-30  Jackson Harper  <jackson@ximian.com>
+
+       * DataFormat.cs: We can't statically initialize this stuff because
+       it calls into the xplatui and could create a loop. So we lazy init
+       it.
+
+2005-05-28  Jackson Harper  <jackson@ximian.com>
+
+       * Control.cs: Proper implementation of Product(Name/Version).
+
+2005-05-27  Jackson Harper  <jackson@ximian.com>
+
+       * DataObject.cs: Dont crash if no data is found.
+
+2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
+       * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property 
+               as per status page, guessing it should be set to true
+
+2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridTextBoxColumn.cs: Draws text and basic text formatting
+       * DataGridTableStyle.cs: set proper formatting text, def header text
+       * ThemeWin32Classic.cs: new themable paramaters
+       * DataGridBoolColumn.cs: paint check box, get data, fixes
+       * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
+       * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
+       * DataGridColumnStyle.cs: fixes
+       * Theme.cs: new themable paramaters
+               
+2005-05-26  Peter Bartok  <pbartok@novell.com>
+
+       * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
+
+2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
+       * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
+
+2005-05-24  Peter Bartok  <pbartok@novell.com>
+
+       * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
+         Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
+         Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs, 
+         FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
+         NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
+         ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
+         DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
+         AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
+         DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
+         StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added 
+         missing attributes, etc
+       * DataGridPreferredColumnWidthTypeConverter.cs: Added
+
+2005-05-24  Peter Bartok  <pbartok@novell.com>
+
+       * Help.cs: Added, implemented trivial functions, throws up MessageBox
+         when user tries to get help
+       * DataObject.cs, DataFormats.cs, LinkArea.cs, 
+         SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables 
+         to suppress warnings
+       * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to 
+         avoid unreachable code warning
+
+2005-05-20  Peter Bartok  <pbartok@novell.com>
+
+       * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
+
+2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * DataGridTextBoxColumn.cs: Basic painting methods
+       * DataGridTableStyle.cs: Set table style in the column
+       * ThemeWin32Classic.cs: Use Theme for colors
+       * DataGridDrawingLogic.cs: Implement more drawing
+       * DataGrid.cs: drawing, theming, enhacements, fixes
+       * DataGridColumnStyle.cs: fixes, drawing
+       * Theme.cs: theming for Datagrid
+
+2005-05-20  Peter Bartok  <pbartok@novell.com>
+
+       * Cursor.cs: Implemented GetObjectData() method
+
+2005-05-20  Peter Bartok  <pbartok@novell.com>
+
+       * Cursors.cs: Added setting of cursor name
+       * Cursor.cs: 
+         - Implemented constructors
+         - Implemented Draw and DrawStretched
+         - Implemented Current property
+         - Implemented == and != operators
+         - Implemented Dispose()
+         - Implemented ToString
+         - Added missing attributes
+       * XplatUIX11.cs:
+         - Added missing reset for OverrideCursor when DoEvents is called
+         - Fixed creation of cursor, logic was wrong
+       * XplatUIWin32.cs:
+         - Added missing reset for OverrideCursor when DoEvents is called
+         - Fixed creation of cursor, bit arrays were swapped
+       * Clipboard.cs: Removed obsolete MonoTODO attribute
+
+2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * ComboBox.cs: fixes OnSelectedItemChanged
+       * ControlBindingsCollection.cs: fixes item range check
+
+2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * UpDownBase.cs:
+               - Calc preferred height properly
+               - Implement missing properties
+               
+       * NumericUpDown.cs: Implement missing events
+
+2005-05-19  Jackson Harper  <jackson@ximian.com>
+
+       * TabControl.cs: New method that resizes the tab pages before
+       redrawing them. This as needed as the control is double buffered
+       and sizing will not be recalculated unless ResizeTabPages is
+       called.
+       * TabPage.cs: Set base.Text instead of Text in the constructor so
+       that UpdateOwner does not get called. Use the new Redraw method of
+       TabControl instead of Refresh so the sizing is recalculated.
+       * ThemeWin32Classic.cs: Draw the text for button tabs.
+
+2005-05-19  Jackson Harper  <jackson@ximian.com>
+
+       * Control.cs: Paint control background images. Fix typo where
+       PaintControlBackground was not getting called correctly.
+
+2005-05-19  Peter Bartok  <pbartok@novell.com>
+
+       * ScrollableControl.cs (DisplayRectangle): Undid my last change until
+         I can investigate, apparently I broke FileDialog
+
+2005-05-19  Marek Safar  <marek.safar@seznam.cz>
+
+       * AxHost.cs: Some simple properties.
+       * Control.cs: window must be accessible after ctor.
+       * Form.cs: Added TransparencyKey property.
+       * TextBoxBase.cs: Implemented Clear. Text property can be null.
+       * XplatUIWin32.cs: SetBorderStyle implemented.
+
+2005-05-18  Peter Bartok  <pbartok@novell.com>
+
+       * DataObject.cs: Entries are not global but particular to the 
+         DataObject, now it behaves that way
+       * XplatUIWin32.cs: Implemented Clipboard methods
+       * Clipboard.cs: Implemented
+       * ScrollableControl.cs (DisplayRectangle): Fixed calculation
+       * XplatUIOSX.cs: Updated to final clipboard prototypes
+       * XplatUIX11.cs: Implemented Clipboard methods
+       * XplatUIDriver.cs: Updated to final clipboard prototypes
+       * XplatUIStructs.cs: 
+         - Added BITMAPINFOHEADER struct 
+         - Added ClipboardFormats enum
+       * X11Structs.cs: 
+         - Added ClipboardStruct
+         - Added Atom enum items for clipboard types
+         - Fixed atom types for Selection event structures
+       * DataFormats.cs: 
+         - Added internal properties and methods for drivers to enumerate 
+           all known formats
+         - Switched initialization method to allow drivers to assign their
+           own IDs even for the MS predefined clipboard IDs
+       * XplatUI.cs: Updated to final clipboard interface
+
+2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
+       * PropertyGridView.cs: Fixed compiler warnings.
+
+2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
+       * PropertyGrid.cs: Added some event calls
+       * PropertyGridView.cs: Change drawing code to use double buffering
+       * PropertyGridTextBox.cs: Changed Text property name
+       * GridItem.cs: Added Bounds property.
+       * GridEntry.cs: Added Bounds property.
+
+2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
+       since GetType() may not return the correct type if the object is
+       a remoting proxy.
+
+2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * TreeNodeCollection.cs: fixes get/set item ranges
+       
+2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
+               
+2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * ComboBox.cs: Fix item range comparation
+       * ListView.cs: Fix item range comparation
+
 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
 
        * FontDialog.cs: