- Added and implemented GetFontMetrics() method
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index fa2e5b7acc9547c21fefb26ad956e4a4db9a3511..4b46e2c1ea0ddeb6ebb117d93a8fef8af4e35c85 100644 (file)
@@ -1,3 +1,167 @@
+2004-12-16  Peter Bartok  <pbartok@novell.com>
+
+       * XplatUI.cs: Added GetFontMetrics() method
+       * XplatUIDriver.cs: Added GetFontMetrics() abstract
+       * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
+         into libgdiplus, our private GetFontMetrics function
+       * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
+       * XplatUIWin32.cs: Implemented GetFontMetrics() method
+
+2004-12-16  Jackson Harper  <jackson@ximain.com>
+
+       * XplatUIStruct.cs: Add enum for dead keys
+       * X11Keyboard.cs: Map and unmap dead keys.
+
+2004-12-16  Jackson Harper  <jackson@ximian.com>
+
+       * X11Keyboard.cs: Detect and use the num lock mask.
+
+2004-12-16  Peter Bartok  <pbartok@novell.com>
+
+       * Control.cs (CreateGraphics): Added check to make sure the
+         handle of the window exists before calling Graphics.FromHwnd()
+
+2004-12-16  Peter Bartok  <pbartok@novell.com>
+
+       * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
+         contains a lot of code that's not supposed to be there for the
+         real thing, but required for developing/testing the textbox
+         backend.
+
+2004-12-16  Peter Bartok  <pbartok@novell.com>
+
+       * TextControl.cs:
+       - Fixed Streamline method
+       - Added FindTag method to Line
+       - Added DumpTree method for debugging
+       - Added DecrementLines() method for deleting lines
+       - Fixed UpdateView to update the cursor to end-of-line on single-line
+         updates
+       - Added PositionCaret() method
+       - Fixed MoveCaret(LineDown) to move into the last line, too
+       - Added InsertChar overload
+       - Fixed InsertChar tag offset calculations
+       - Added DeleteChar() method
+       - Added Combine() method for folding lines
+       - Fixed Delete() method, no longer allocates wasted Line object and
+         now copies all properties when swapping nodes
+       - Delete() method now updates document line counter
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Get the modifier keys from the keyboard driver
+       * X11Keyboard.cs: Expose the currently selected modifier keys
+       through a property.
+
+2004-12-15  Peter Bartok  <pbartok@novell.com>
+
+       * TextControl.cs: Initial check-in. Still incomplete
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * TreeNode.cs:
+       * TreeView.cs: Fix build on csc (second time today ;-))
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * TreeView.cs: Store the treenodes plus/minus box bounds when it
+       is calculated and use this for click testing.
+       * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * TreeView.cs: Pass the nodes image index to the image list when
+       drawing that image.
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * X11Keyboard.cs: Set messages hwnd.
+       * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
+       post_message calls.
+
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * X11Keyboard.cs: Fix to compile with csc.
+       
+2004-12-15  Jackson Harper  <jackson@ximian.com>
+
+       * X11Structs.cs: Add key mask values
+       * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
+       * X11Keyboard.cs: New file - Extrapolates and interpolates key
+       down/up foo into WM_CHAR foo
+       * KeyboardLayouts.cs: Common keyboard layouts
+       * XplatUIX11.cs: Add the keyboard driver. Add functionality to
+       post messages into the main queue.
+
+2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Button.cs: implement ProcessMnemonic
+       * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
+         brushes everytime
+       * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
+       * ButtonBase.cs: Show HotkeyPrefix (not the &)  
+
+2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
+       
+       * MonthCalendar.cs: Implemented click-hold for next/previous month
+         and date selection
+         
+2004-12-11  Peter Bartok  <pbartok@novell.com>
+
+       * X11Structs.cs:
+         - Added XKeyboardState (moved from XplatUIX11.cs)
+         - Added XCreateGC related enums and structures
+         - Added GXFunction for XSetFunction
+
+       * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
+
+       * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
+         CaretVisible() calls
+
+       * ToolTip.cs: Added code to prevent stealing focus from app windows
+
+       * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
+         DestroyCaret, SetCaretPos and CaretVisible)
+
+       * XplatUIX11.cs:
+         - Added implementation for caret functions
+         - Moved hover variables into a struct, to make it a bit easier
+           on the eyes and to debug
+         - Removed XKeyboardState (moved to XplatUIX11.cs)
+         - Moved Keyboard properties into the properties region
+
+       * Control.cs (get_Region): Control.CreateGraphics is the appropriate
+         call to get a graphics context for our control
+
+       * XplatUIOSX.cs: Added empty overrides for the new caret functions
+
+       * TreeView.cs: Fixed bug. No matter what color was set it would always
+         return SystemColors.Window
+
+       * XplatUIWin32.cs: Implemented caret overrides
+
+2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * ListBox.cs: fire events, implement missing methods and properties,
+       sorting. 
+
+2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
+
+       * MonthCalendar.cs: invalidation bug fixing 
+       * ThemeWin32Classic.cs: paint fixing
+
+2004-12-09  Geoff Norton  <gnorton@customerdna.com>
+
+       * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we 
+       prepare the CGContextRef there now.
+
+2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
+
+       * MonthCalendar.cs: 
+         - optimisationL only invalidate areas that have changed 
+       * ThemeWin32Classic.cs:
+         - only paint parts that intersect with clip_area
+
 2004-12-09  Peter Bartok  <pbartok@novell.com>
 
        * Application.cs: Undid changes from r37004 which cause problems