1 2005-06-22 Peter Bartok <pbartok@novell.com>
3 * TextControl.cs: Added sanity check
5 - Fixed wrapping behaviour, don't set wrap on single line controls
6 (this fixes the breakage of colordialog introduced in an earlier
8 - Added rudimentary support for autoscrolling right-aligned controls
9 (still needs fixing, also, center alignment scroll is missing)
11 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
13 * ScrollBar.cs: Fixes thumbpos on Maximum values
15 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
17 * PropertyGridView.cs: Pass context information to UITypeEditors
19 2005-06-21 Peter Bartok <pbartok@novell.com>
22 - Now calling PositionCaret with absolute space coordinates
23 - Enabled vertical scrolling
24 - Better tracking of scrollbar changes, tied into WidthChange
26 - Improved cursor tracking
27 - Removed debug output
29 - PositionCaret coordinates are now works in absolute space, not
31 - Improved tracking of document size
32 - Added events for width and height changes
34 2005-06-21 Peter Bartok <pbartok@novell.com>
36 * Form.cs: Set focus to active control when form is activated
38 - Added word-wrap functionality to RecalculateLine()
39 - Added some short function descriptions for VS.Net to aid in
40 writing dependent controls
41 - Added Caret property, returning the current coords of the caret
42 - Added ViewPortWidth and ViewPortHeight properties
44 - Added CaretMoved event
45 - Removed some old debug code
46 - Split() can now create soft splits
47 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
48 - Added method to format existing text
49 - Fixed size/alignment calculations to use viewport
50 - RecalculateDocument now can handle changing line-numbers while
54 - Added some wrap logic, we don't wrap if alignment is not left
55 - Added casts for scrollbar var, base class switched types to
56 also support RichTextBoxA
57 - Implemented handling of scrollbar visibility flags
60 - Switched scrollbars type to RichTextBoxScrollBars to support
62 - Added tracking of canvas width/height
63 - Switched scrollbars to be not selectable (to keep focus on text)
64 - Added central CalculateDocument() method to handle all redraw
66 - Added ReadOnly support
67 - Added WordWrap support
68 - Fixed handling of Enter key (we now treat it as a DialogKey)
69 - Fixed caret positioning when h or v scroll is not zero
70 - Fixed placing/generation of vertical scrollbar
71 - Added CalculateScrollBars() method to allow updating scrollbar
73 - Fixed handling of horizontal scroll
74 - Added handling of vertical scroll
75 - Implemented auto-'jump' when caret moves to close to a left or
76 right border and there is text to be scrolled into view (currently
77 there's the potential for a stack overflow, until a bug in
80 2005-06-21 Geoff Norton <gnorton@customerdna.com>
82 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
84 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
88 - return application/x-zerosize for files with size zero
89 (if no extension pattern matches).
90 - check matches collection for strings too.
91 - return only the first mime type if the name value
92 collection has more than one mime type.
94 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
96 * PropertyGrid.cs: Cleaned up some TODOs
97 * PropertyGridView.cs: Added support for UITypeEditors
99 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
101 * DataGrid.cs: clears cached value
103 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
105 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
106 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
107 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
108 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
110 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
112 * ThemeWin32Classic.cs: fixes colour
114 2005-06-15 Peter Bartok <pbartok@novell.com>
116 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
117 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
118 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
119 * Control.cs: Added some MWFCategory and MWFDescription attributes
120 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
122 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
124 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
127 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
129 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
130 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
131 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
132 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
133 * DataGrid.cs: default datagrid settings for Default Styles, fixes
134 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
136 2005-06-13 Jackson Harper <jackson@ximian.com>
138 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
139 isn't printed when the user enables dropping. (X11 does accept
142 2005-06-13 Jackson Harper <jackson@ximian.com>
144 * TreeView.cs: Remove some TODOS.
146 2005-06-13 Jackson Harper <jackson@ximian.com>
148 * Form.cs: Hook into the mdi framework.
149 * MdiClient.cs: Use the base control collections add method so
150 parents get setup correctly. Set the default back colour and dock
152 * MdiChildContext.cs: New class, this bad actor handles an
153 instance of an MDI window. Right now there is only basic
154 support. You can drag, close, and resize windows. Minimize and
155 Maximize are partially implemented.
157 2005-06-13 Jackson Harper <jackson@ximian.com>
159 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
160 freaky when both vals are negative. NOTE: There are probably other
161 places in XplatUIX11 that this needs to be done.
163 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
165 * DataGrid.cs: implement missing methods, move KeyboardNavigation
166 * DataGridColumnStyle.cs: fixes signature
168 2005-06-12 Jackson Harper <jackson@ximian.com>
170 * XplatUIX11.cs: Use sizing cursors similar to the ones on
173 2005-06-11 Jackson Harper <jackson@ximian.com>
175 * StatusBarPanel.cs: Signature cleanups. Implement
178 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
180 * DataGridTextBoxColumn.cs: Honors aligment
181 * GridColumnStylesCollection.cs: Contains is case unsensitive
182 * GridTableStylesCollection.cs: several fixes
183 * DataGridTableStyle.cs: default column creation
184 * DataGridDrawingLogic.cs: fixes
185 * CurrencyManager.cs: ListName property
186 * DataGrid.cs: multiple styles support
187 * DataGridColumnStyle.cs: fixes
190 2005-06-10 Peter Bartok <pbartok@novell.com>
192 * Control.cs(Select): Moved SetFocus call to avoid potential
193 loops if controls change the active control when getting focus
194 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
197 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
199 * ImageListConverter.cs: Implemented
201 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
203 * MonthCalendar.cs: Wired in NumericUpDown control for year
205 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
207 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
208 DoubleClick events, since they are not meant to be fired.
210 2005-06-09 Peter Bartok <pbartok@novell.com>
212 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
213 Jonathan's standalone controls into MWF, implemented missing
214 events, attributes and methods; added xxxAccessible classes
215 * AccessibleObject.cs: Made fields internal so other classes
216 can change them if needed
218 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
220 * UpDownBase.cs: Complete implementation
221 * NumericUpDown.cs: Complete implementation
222 * DomainUpDown.cs: Complete implementation
224 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
226 * DataGridTextBoxColumn.cs: drawing fixes
227 * DataGridCell.cs: fixes ToString method to match MSNet
228 * DataGridTableStyle.cs: fixes
229 * DataGridBoolColumn.cs: fixes, drawing
230 * DataGridDrawingLogic.cs: fixes, new methods
231 * DataGridTextBox.cs: Keyboard and fixes
233 - Keyboard navigation
235 - Row selection (single, multiple, deletion, etc)
238 2005-06-07 Jackson Harper <jackson@ximian.com>
240 * ThemeWin32Classic.cs: Clear the background area when drawing
243 2005-06-06 Peter Bartok <pbartok@novell.com>
245 * ImageListStreamer.cs: Fixed signature for GetData
246 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
248 - Added missing ChildAccessibleObject class
249 - Added missing OnXXXFocus overrides, switched to using those
250 instead of the event handler
252 - Added Parent property for ControlAccessibleObject
255 - Added ResetBindings()
256 * ListBindingConverter.cs: Implemented some methods
257 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
258 * ImageList.cs: Implemented basic handle scheme, removed TODOs
259 * ContainerControl.cs: Fixed signature, now subscribing to the
260 ControlRemoved event instead of overriding the handler, LAMESPEC
261 * CurrencyManager.cs: Added missing attribute
262 * MonthCalendar.cs: Added missing properties
264 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
266 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
268 2005-06-06 Gaurav Vaish and Ankit Jain
270 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
271 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
273 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
275 * Control.cs: fixes CreateParams Width / Height.
277 2005-06-05 Peter Bartok <pbartok@novell.com>
279 * Win32DnD.cs: Removed compilation warnings
281 2005-06-05 Peter Bartok <pbartok@novell.com>
283 * Control.cs (CreateParams): Since we don't know if one of the
284 properties we use is overridden, lets make sure if we fail accessing
285 we continue with a backup plan
287 2005-06-05 Peter Bartok <pbartok@novell.com>
290 - Removed debug output
291 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
293 - Plugged resource leak
294 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
297 2005-06-05 Peter Bartok <pbartok@novell.com>
299 * XplatUIWin32.cs: Removed DnD code
300 * Win32DnD.cs: Implemented drop source and drop target functionality
302 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
304 * UpDownBase.cs: remove duplicate addition of event, enable some code
305 that was commented out.
306 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
307 Validate input when a key is pressed. It works fine now for every
308 combination of Hexadecimal. Only missing some drawing love when sharing
309 space with other controls.
311 2005-06-04 Peter Bartok <pbartok@novell.com>
314 - We need to pass a window for DragDrop, so enable callback events
315 - Added DnD callback events when being a DragSource
316 * XplatUI.cs (StartDrag): Added window handle argument
317 * XplatUIDriver.cs (StartDrag): Added window handle argument
318 * QueryContinueDragEventArgs: Made fields internally accessible so
320 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
323 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
325 * DataGridTextBoxColumn.cs: column text editing
326 * DataGridTableStyle.cs: Respect columns styles created by the user
327 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
328 * DataGridBoolColumn.cs: bool column editing
329 * DataGrid.cs: fixes to scrolling, properties, etc
330 * DataGridTextBox.cs: handle keyboard
331 * DataGridColumnStyle.cs: fixes
333 2005-06-02 Jackson Harper <jackson@ximian.com>
335 * ImageListStreamer.cs: Somewhat broken implementation of
336 GetObjectData. The RLE needs some work to match MS properly.
338 2005-06-02 Jackson Harper <jackson@ximian.com>
340 * X11Dnd.cs: Attempting to keep at least one file in MWF
343 2005-06-02 Peter Bartok <pbartok@novell.com>
345 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
348 2005-06-02 Peter Bartok <pbartok@novell.com>
350 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
351 * XplatUI.cs: Added DoDragDrop() method
352 * XplatUIDriver.cs: Added DoDragDrop() method
354 2005-06-02 Jackson Harper <jackson@ximian.com>
356 * Splitter.cs: Implement BorderStyle.
358 2005-06-02 Jackson Harper <jackson@ximian.com>
360 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
361 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
364 2005-06-02 Peter Bartok <pbartok@novell.com>
368 - Fixed broken insertion code for SetData, now also
369 overwrites any existing entry of the same format name
370 * Hwnd.cs: Added list of pointers that automatically gets
371 freed when the window is disposed
372 * XplatUI.cs: Call driver initialization method when loading
375 - OnDragLeave takes EventArgs, not DragEventArgs
376 - Added setting of WS_EX_ACCEPTFILES style when dropping is
378 - Forces style update when drop state changes
379 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
380 not perfect since we cannot (yet) call the IDataObject.GetData()
381 method, we keep getting 0x80004005 error, dunno why)
383 2005-06-02 Peter Bartok <pbartok@novell.com>
385 * DragEventArgs.cs: Make fields internal so we can cache the
386 object and re-set the fields from XplatUI
388 2005-06-02 Jackson Harper <jackson@ximian.com>
390 * Control.cs: Add some internal methods so the DnD subsystem can
391 raise DnD events. Also call into the driver when AllowDrop is set.
393 * XplatUIDriver.cs: New method for setting whether or not a window
394 is allowed to accept drag and drop messages.
396 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
398 * ScrollBar.cs: Make sure that values sent in Scroll events
399 are always between Maximum and Minimum.
401 2005-06-01 Marek Safar <marek.safar@seznam.cz>
403 * Menu.cs: Call MenuChanged when menuitem visibility has been
405 * MenuItem.cs: Rebuild menu when item is (not) visible.
406 * MainMenu.cs: MainMenu has special MenuChanged.
407 * Theme.cs: Caption and FrameBorderSize are not fixed.
408 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
409 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
411 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
412 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
414 2005-05-30 Jackson Harper <jackson@ximian.com>
416 * DataFormat.cs: We can't statically initialize this stuff because
417 it calls into the xplatui and could create a loop. So we lazy init
420 2005-05-28 Jackson Harper <jackson@ximian.com>
422 * Control.cs: Proper implementation of Product(Name/Version).
424 2005-05-27 Jackson Harper <jackson@ximian.com>
426 * DataObject.cs: Dont crash if no data is found.
428 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
429 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
430 as per status page, guessing it should be set to true
432 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
434 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
435 * DataGridTableStyle.cs: set proper formatting text, def header text
436 * ThemeWin32Classic.cs: new themable paramaters
437 * DataGridBoolColumn.cs: paint check box, get data, fixes
438 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
439 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
440 * DataGridColumnStyle.cs: fixes
441 * Theme.cs: new themable paramaters
443 2005-05-26 Peter Bartok <pbartok@novell.com>
445 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
447 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
448 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
450 2005-05-24 Peter Bartok <pbartok@novell.com>
452 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
453 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
454 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
455 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
456 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
457 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
458 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
459 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
460 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
461 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
462 missing attributes, etc
463 * DataGridPreferredColumnWidthTypeConverter.cs: Added
465 2005-05-24 Peter Bartok <pbartok@novell.com>
467 * Help.cs: Added, implemented trivial functions, throws up MessageBox
468 when user tries to get help
469 * DataObject.cs, DataFormats.cs, LinkArea.cs,
470 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
472 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
473 avoid unreachable code warning
475 2005-05-20 Peter Bartok <pbartok@novell.com>
477 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
479 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
481 * DataGridTextBoxColumn.cs: Basic painting methods
482 * DataGridTableStyle.cs: Set table style in the column
483 * ThemeWin32Classic.cs: Use Theme for colors
484 * DataGridDrawingLogic.cs: Implement more drawing
485 * DataGrid.cs: drawing, theming, enhacements, fixes
486 * DataGridColumnStyle.cs: fixes, drawing
487 * Theme.cs: theming for Datagrid
489 2005-05-20 Peter Bartok <pbartok@novell.com>
491 * Cursor.cs: Implemented GetObjectData() method
493 2005-05-20 Peter Bartok <pbartok@novell.com>
495 * Cursors.cs: Added setting of cursor name
497 - Implemented constructors
498 - Implemented Draw and DrawStretched
499 - Implemented Current property
500 - Implemented == and != operators
501 - Implemented Dispose()
502 - Implemented ToString
503 - Added missing attributes
505 - Added missing reset for OverrideCursor when DoEvents is called
506 - Fixed creation of cursor, logic was wrong
508 - Added missing reset for OverrideCursor when DoEvents is called
509 - Fixed creation of cursor, bit arrays were swapped
510 * Clipboard.cs: Removed obsolete MonoTODO attribute
512 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
514 * ComboBox.cs: fixes OnSelectedItemChanged
515 * ControlBindingsCollection.cs: fixes item range check
517 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
520 - Calc preferred height properly
521 - Implement missing properties
523 * NumericUpDown.cs: Implement missing events
525 2005-05-19 Jackson Harper <jackson@ximian.com>
527 * TabControl.cs: New method that resizes the tab pages before
528 redrawing them. This as needed as the control is double buffered
529 and sizing will not be recalculated unless ResizeTabPages is
531 * TabPage.cs: Set base.Text instead of Text in the constructor so
532 that UpdateOwner does not get called. Use the new Redraw method of
533 TabControl instead of Refresh so the sizing is recalculated.
534 * ThemeWin32Classic.cs: Draw the text for button tabs.
536 2005-05-19 Jackson Harper <jackson@ximian.com>
538 * Control.cs: Paint control background images. Fix typo where
539 PaintControlBackground was not getting called correctly.
541 2005-05-19 Peter Bartok <pbartok@novell.com>
543 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
544 I can investigate, apparently I broke FileDialog
546 2005-05-19 Marek Safar <marek.safar@seznam.cz>
548 * AxHost.cs: Some simple properties.
549 * Control.cs: window must be accessible after ctor.
550 * Form.cs: Added TransparencyKey property.
551 * TextBoxBase.cs: Implemented Clear. Text property can be null.
552 * XplatUIWin32.cs: SetBorderStyle implemented.
554 2005-05-18 Peter Bartok <pbartok@novell.com>
556 * DataObject.cs: Entries are not global but particular to the
557 DataObject, now it behaves that way
558 * XplatUIWin32.cs: Implemented Clipboard methods
559 * Clipboard.cs: Implemented
560 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
561 * XplatUIOSX.cs: Updated to final clipboard prototypes
562 * XplatUIX11.cs: Implemented Clipboard methods
563 * XplatUIDriver.cs: Updated to final clipboard prototypes
565 - Added BITMAPINFOHEADER struct
566 - Added ClipboardFormats enum
568 - Added ClipboardStruct
569 - Added Atom enum items for clipboard types
570 - Fixed atom types for Selection event structures
572 - Added internal properties and methods for drivers to enumerate
574 - Switched initialization method to allow drivers to assign their
575 own IDs even for the MS predefined clipboard IDs
576 * XplatUI.cs: Updated to final clipboard interface
578 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
579 * PropertyGridView.cs: Fixed compiler warnings.
581 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
582 * PropertyGrid.cs: Added some event calls
583 * PropertyGridView.cs: Change drawing code to use double buffering
584 * PropertyGridTextBox.cs: Changed Text property name
585 * GridItem.cs: Added Bounds property.
586 * GridEntry.cs: Added Bounds property.
588 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
590 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
591 since GetType() may not return the correct type if the object is
594 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
596 * TreeNodeCollection.cs: fixes get/set item ranges
598 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
600 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
602 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
604 * ComboBox.cs: Fix item range comparation
605 * ListView.cs: Fix item range comparation
607 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
610 - Clear example panel when OnPaint is called
611 - Better solution for displaying the example panel text
612 - Select default indexes in the ListBoxes
614 2005-05-11 Geoff Norton <gnorton@customerdna.com>
616 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
618 2005-05-11 Peter Bartok <pbartok@novell.com>
620 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
621 * SelectionRangeConverter.cs: Implemented
622 * PropertyGrid.cs: Fixed attribute value
624 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
625 - Added Sebastien Pouliot's CAS Stack Propagation fixes
626 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
627 that's common to all drivers. First methods to go there are
628 Sebastien Pouliot's CAS Stack Propagation helper methods
629 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
630 Sebastien Pouliot for CAS Stack Propagation
632 2005-05-11 Geoff Norton <gnorton@customerdna.com>
635 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
637 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
639 * DataGridTextBoxColumn.cs: fixed some members
640 * GridColumnStylesCollection.cs: indexed column is case insensitive
641 * DataGridTableStyle.cs: fixes
642 * ThemeWin32Classic.cs: add new theme parameter
643 * Theme.cs: add new theme parameter
644 * DataGridDrawingLogic.cs: Datagrid's drawing logic
645 * DataGrid.cs: fixes, new internal properties, etc.
646 * DataGridColumnStyle.cs: allows to set grid value
649 2005-05-10 Peter Bartok <pbartok@novell.com>
651 * AccessibleObject.cs:
652 - Removed MonoTODO attribute on help, method is correct
653 - Fixed Bounds property
654 * AxHost.cs: Moved MonoTODO
655 * ButtonBase.cs: Now setting AccessibleObject properties
656 * RadioButton.cs: Setting proper AccessibleObject role
657 * CheckBox.cs: Setting proper AccessibleObject role
658 * ControlBindingsCollection.cs: Added properties, methods and attributes
659 * DataFormats.cs: Fixed awkward internal API, and changed to enable
660 userdefined DataFormats.Format items as well
661 * ListControl.cs: Removed data_member from the public eye
664 - Added missing attributes
665 * SaveFileDialog.cs: Added missing attributes
666 * ImageListStreamer.cs: Fixed code that caused warnings
667 * LinkLabel.cs: Removed unreachable code
668 * TreeView.cs: Fixed code that caused warnings
669 * PropertyGridView.cs: Fixed code that caused warnings
670 * GridColumnStylesCollection.cs: Added missing attributes
671 * GridTableStylesCollection: Added missing attribute
672 * PropertyManager: Added .ctor
673 * SecurityIDType: Added
674 * DataObject.cs: Implemented class
675 * LinkArea.cs: Added missing attribute
677 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
679 * RadioButton.cs: call base method to allow to fire OnClick event
680 * UpDownBase.cs: OnMouseUp call base method
681 * CheckedListBox.cs: call base method before returning
682 * TrackBar.cs: call base method before returning
685 2005-05-10 Peter Bartok <pbartok@novell.com>
687 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
690 2005-05-10 Peter Bartok <pbartok@novell.com>
692 * DataFormats.cs: Implemented
693 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
694 XplatUIX11.cs: Added Clipboard APIs
695 * XplatUIWin32.cs: Implemented Clipboard APIs
696 * FolderBrowserDialog.cs: Added missing event, attributes
698 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
700 * CheckBox.cs: call base method to allow to fire OnClick event
702 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
704 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
706 2005-05-06 Peter Bartok <pbartok@novell.com>
708 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
709 * Screen.cs: Implemented
710 * HelpNavigator.cs: Added
711 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
713 * HelpProvider.cs: Implemented all we can do until we have a CHM
714 help library (which means that "What's This" does work now)
716 2005-05-06 Jackson Harper <jackson@ximian.com>
718 * XplatUIX11.cs: Fix waking up the main loop.
720 2005-05-05 Peter Bartok <pbartok@novell.com>
722 * XplatUI.cs: Updated revision
723 * Form.cs: Removed enless loop
724 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
725 * Label.cs (OnPaint): Added call to base.OnPaint()
726 * ToolTip.cs: Made ToolTipWindow reusable for other controls
727 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
728 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
730 * ButtonBase.cs: Moved base.OnPaint() call to end of method
731 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
732 to ToolTip.ToolTipWindow for drawing and size methods; this allows
733 reuse of ToolTipWindow by other controls
734 * SizeGrip.cs: Moved base.OnPaint() call to end of method
735 * XplatUIX11.cs: Now clipping drawing area (experimental)
736 * PictureBox.cs: Moved base.OnPaint() call to end of method
737 * Theme.cs: Fixed ToolTip abstracts to match new format
738 * ErrorProvider.cs: Implemented
740 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
742 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
746 - Implements LinkBehavior
749 2005-05-03 Jackson Harper <jackson@ximian.com>
751 * ListView.cs: Calculate the scrollbar positioning on resize and
752 paint, so they get put in the correct place.
754 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
756 * ColorDialogs.cs: The small color panels are now handled by
757 SmallColorControl. This fixes drawing of the focus rectangle
758 and adds a 3D border.
760 2005-05-03 Peter Bartok <pbartok@novell.com>
762 * Control.cs: Modified version of Jonathan Chamber's fix for
765 2005-05-03 Jackson Harper <jackson@ximian.com>
767 * ListView.cs: Remove redraw variable. Control now handles whether
768 or not a redraw needs to be done, and will only raise the paint
769 event if redrawing is needed.
771 2005-05-03 Jackson Harper <jackson@ximian.com>
773 * Splitter.cs: No decorations for the splitter form. Cache the
776 2005-05-03 Jackson Harper <jackson@ximian.com>
778 * TreeView.cs: Use dashed lines to connect nodes. Use the
779 ControlPaint method for drawing the focus rect instead of doing
782 2005-05-02 Peter Bartok <pbartok@novell.com>
784 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
786 2005-04-29 Jackson Harper <jackson@ximian.com>
788 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
789 entire image buffer. Just clear the clipping rectangle.
791 2005-04-29 Jackson Harper <jackson@ximian.com>
793 * ThemeWin32Classic.cs: Don't draw list view items that are
794 outside the clipping rectangle.
796 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
798 * ListBox.cs: added horizontal item scroll
800 2005-04-29 Jackson Harper <jackson@ximian.com>
802 * ThemeWin32Classic.cs: Remove some old debug code that was
803 causing flicker with the new double buffering code.
805 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
807 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
808 behave like combobox and comboboxlist (still not sure if this is
811 2005-04-28 Jackson Harper <jackson@ximian.com>
813 * ThemeWin32Classic.cs: Don't fill the middle of progress
814 bars. This fills areas outside of the clip bounds that don't need
817 2005-04-28 Jackson Harper <jackson@ximian.com>
819 * Control.cs: Don't expose functionality to touch the image buffers.
821 * ListView.cs: We do not need to (and no longer can) manipulate
822 the image buffers directly. All of this is handled by Control.
824 2005-04-28 Peter Bartok <pbartok@novell.com>
826 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
827 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
828 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
830 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
833 - Adjust control's height for non-simple comboboxes (bug fix)
835 * MenuAPI.cs: remove unused var
836 * ScrollBar.cs: remove unsed var
838 * ListBox.cs: unselect items when clearing
840 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
842 * ListControl.cs: honors OnPositionChanged and default Selected Item
843 * ListBox.cs: unselect items when clearing
845 2005-04-27 Jackson Harper <jackson@ximian.com>
847 * X11Keyboard.cs: Initialize a default keyboard and give a warning
848 if a "correct" keyboard is not found. This will make us not crash,
849 but might give some users bad keyboard layouts...seems to be the
850 same thing rewind does.
852 2005-04-27 Jackson Harper <jackson@ximian.com>
854 * BindingManagerBase.cs: Attach the current/position changed
855 handlers to their respective events.
857 2005-04-27 Jackson Harper <jackson@ximian.com>
859 * Control.cs: Make sure that the first WM_PAINT does a full draw,
861 * ThemeWin32Classic.cs: Don't fill the background for picture
862 boxes. This could overright user drawing.
863 * ComboBox.cs: Just fill the clipping rect not the entire client
864 rect when drawing the background. This prevents pieces of the
865 image buffer from getting overwritten and is theoretically faster.
867 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
869 * ComboBox.cs: Databinding support fixes, fire missing events
870 * ListControl.cs: implement missing methods and properties, fixes
871 * ThemeWin32Classic.cs: Databiding support on Drawing
872 * CheckedListBox.cs: Databinding support fixes, fire missing events
873 * ListBox.cs: Databinding support fixes, fire missing events
875 2005-04-25 Peter Bartok <pbartok@novell.com>
877 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
879 2005-04-25 Jackson Harper <jackson@ximian.com>
881 * TreeView.cs: Use the horizontal scrollbars height not width when
882 determining how much of the client area is available.
884 2005-04-25 Jackson Harper <jackson@ximian.com>
886 * Control.cs: Double buffering is handled differently now. As per
887 the spec, the extra buffer is created in the WM_PAINT message and
888 passed down to the control's drawing code.
896 * PropertyGridView.cs:
910 * TreeView.cs: Update to new double buffering system.
911 * MonthCalendar.cs: Uncomment block, as Capture is now
912 working. Update to new double buffering
913 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
914 * PaintEventArgs.cs: New internal method allows us to set the
915 graphics object. This is used for double buffering.
916 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
917 rectangle. The internal paint_area var has been removed from
918 StatusBar. The clipping rect should be used instead.
919 * Theme.cs: Give the PictureBox drawing method a clipping rect.
920 * TabPage.cs: The RefreshTabs method was removed, so just call the
921 tab controls Refresh method now.
922 * TabControl.cs: Update to new double buffering. Make sure the
923 handle is created before sizing the tab pages, otherwise we will
926 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
928 * LinkLabel.cs: Fix typo, bug #74719; patch
929 from Borja Sanchez Zamorano
931 2005-04-22 Jackson Harper <jackson@ximian.com>
933 * TreeNode.cs: Implement Handle stuff.
934 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
936 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
938 * DataGridTextBoxColumn.cs: call base constructors, fixes
939 * GridColumnStylesCollection.cs: missing events, methods, and functionality
940 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
941 * DataGridTableStyle.cs: implements create default column styles
942 * DataGridBoolColumn.cs: which types can handle
943 * DataGrid.cs: missing methods, fixes, new functionality
944 * DataGridColumnStyle.cs: fixes
946 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
947 * FolderBrowserDialog.cs:
948 - Use a thread to fill the TreeView
949 - Adjusted some sizes
951 2005-04-19 Peter Bartok <pbartok@novell.com>
953 * LinkLabel.cs: (Re-)create the pieces when setting the Text
954 property. Fixes #74360.
956 2005-04-19 Jackson Harper <jackson@ximian.com>
958 * XEventQueue.cs: Lock when getting the lockqueue size.
959 * PictureBox.cs: Call base OnPaint
961 2005-04-19 Peter Bartok <pbartok@novell.com>
963 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
964 messages were no longer being processed (this broke BeginInvoke)
967 2005-04-18 Jackson Harper <jackson@ximian.com>
969 * TreeView.cs: buglet that caused node images to get drawn
970 regardless of whether or not they were in the clipping rectangle.
972 2005-04-18 Jackson Harper <jackson@ximian.com>
974 * CurrencyManager.cs: There are four rules for GetItemProperties:
975 - If the type is an array use the element type of the array
976 - If the type is a typed list, use the type
977 - If the list contains an Item property that is not an object, use
979 - use the first element of the list if there are any elements in
982 2005-04-17 Jackson Harper <jackson@ximian.oom>
984 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
985 click. This handles offsets for scrolling properly and reduces
986 memory. Also fixed GetNode to not offset now that TopNode works
988 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
990 2005-04-17 Jackson Harper <jackson@ximian.com>
992 * CursorConverter.cs: Initial implementation.
994 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
996 * ListControl.cs: work towards complex data binding support on ListControl
997 * CurrencyManager.cs: work towards complex data binding support on ListControl
998 * ListBox.cs: work towards complex data binding support on ListControl
1001 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
1003 * GridTableStylesCollection.cs: fixes name and constructor
1004 * DataGridTableStyle.cs: fixes
1005 * DataGridBoolColumn.cs: fixes names and constructors
1006 * DataGrid.cs: define methods and properties. Some init implementations
1007 * DataGridCell.cs: define methods and properties. Some init implementations
1008 * GridTablesFactory.cs: Define methods and properties
1010 2005-04-15 Geoff Norton <gnorton@customerdna.com>
1012 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
1013 graphics port changes. We still want the coordinates in global screen
1016 2005-04-14 Jackson Harper <jackson@ximian.com>
1018 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
1019 check plus minus or checkbox clicks unless those features are enabled.
1021 2005-04-14 Jackson Harper <jackson@ximian.com>
1023 * TreeView.cs: Add methods for setting the top and bottom visible
1024 nodes. TreeNode::EnsureVisible uses these methods.
1025 * TreeNode.cs: Implement EnsureVisible
1027 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
1029 * Form.cs: Pospone menu assignation if the window has not been created yet
1030 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
1033 2005-04-12 Jackson Harper <jackson@ximian.com>
1035 * TreeView.cs: Set the TopNode properly when scrolling
1036 occurs. This has the added benifit of reducing the amount of
1037 walking that needs to be done when drawing. Also removed an old
1039 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
1041 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
1043 * Timer.cs: fixes interval setting when the timer is already enabled
1045 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
1047 * FolderBrowserDialog.cs: First approach
1049 2005-04-09 Peter Bartok <pbartok@novell.com>
1051 * FolderBrowserDialog: Added
1053 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
1055 * LinkLabel.cs: move drawing code into the theme
1056 * ThemeWin32Classic.cs: drawing code and painting background bugfix
1057 * Theme.cs: define DrawLinkLabel method
1059 2005-04-05 Jackson Harper <jackson@ximian.com>
1061 * BindingContext.cs: Use weak references so these bad actors don't
1062 stay alive longer then they need to.
1064 2005-04-05 Jackson Harper <jackson@ximian.com>
1066 * ListControl.cs: Basic implementation of complex databinding.
1068 * ListBox.cs: Add calls to ListControl databinding methods.
1070 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
1073 - Don't change PopupButtonState to Normal when the
1074 PopupButton gets pressed several times.
1075 - Renamed ButtonPanel to PopupButtonPanel
1077 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1079 * ColorDialog.cs: Use cached objects instead of creating them
1080 * LinkLabel.cs: Use cached objects instead of creating them
1081 * Splitter.cs: Use cached objects instead of creating them
1082 * FontDialog.cs: Use cached objects instead of creating them
1083 * PropertyGridView.cs: Use cached objects instead of creating them
1084 * MessageBox.cs: Use cached objects instead of creating them
1085 * FileDialog.cs: Use cached objects instead of creating them
1086 * ThemeWin32Classic.cs: Use cached objects instead of creating them
1087 * TreeView.cs: Use cached objects instead of creating them
1089 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1091 * Control.cs: use Equals to compare the font since no == op
1092 * ScrollBar.cs: use Equals to compare the font since no == op
1094 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
1096 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
1098 2005-04-01 Jackson Harper <jackson@ximian.com>
1100 * Binding.cs: Implement IsBinding.
1101 * BindingManagerBase.cs:
1102 * PropertyManager.cs:
1103 * CurrencyManager.cs: Add IsSuspended property.
1105 2005-04-01 Jackson Harper <jackson@ximian.com>
1107 * Binding.cs: Had some IsAssignableFrom calls backwards.
1109 2005-04-01 Jackson Harper <jackson@ximian.com>
1111 * Binding.cs: Handle null data members when pulling data.
1112 * PropertyManager.cs: Handle the data member being a property that
1115 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
1117 * DataGridTextBoxColumn.cs: fixes signature
1118 * DataGrid.cs: calls right constructor
1120 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
1122 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
1123 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
1124 * GridTableStylesCollection.cs: implements GridTableStylesCollection
1125 * DataGridTableStyle.cs: implements DataGridTableStyle
1126 * DataGridBoolColumn.cs: implements DataGridBoolColumn
1127 * DataGridTextBox.cs: implements DataGridTextBox
1128 * DataGridColumnStyle.cs: implements DataGridColumnStyle
1130 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
1132 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
1134 2005-03-29 Peter Bartok <pbartok@novell.com>
1137 - Properly implemented CompanyName property
1138 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
1139 returns a path that includes CompanyName, ProductName and
1140 Version (fixes bug #70330)
1142 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
1144 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
1147 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
1149 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
1151 - Added ReadOnly CheckBox
1152 - Further refactoring: moved some code from Open-/SaveFileDialog
1155 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
1157 * OpenFileDialog.cs: Fixed CheckFileExists
1159 Moved FileView and DirComboBox outside FileDialog class.
1160 They can now be used outside FileDialog
1162 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
1164 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
1165 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
1167 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
1169 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
1170 - Added missing CreatePrompt property in SaveDialog
1171 - Overall SaveDialog handling should be better now
1172 - Added non standard ShowHiddenFiles property
1173 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
1174 - Added InitialDirectory and RestoreDirectory support
1176 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
1178 * FileDialog.cs: Made dirComboBox usable
1180 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
1182 * FileDialog.cs: Added Filter support (case sensitiv)
1184 2005-03-24 Jackson Harper <jackson@ximian.com>
1186 * TabControl.cs: Need a couple more pixels for the lines.
1188 2005-03-23 Jackson Harper <jackson@ximian.com>
1190 * TabControl.cs: Give the tab page focus when it is selected.
1192 2005-03-23 Jackson Harper <jackson@ximian.com>
1194 * TabControl.cs: Account for the drawing of tabs borders when
1195 invalidating. If the slider was clicked dont do click detection on
1198 2005-03-23 Jackson Harper <jackson@ximian.com>
1200 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
1202 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
1204 * CategoryGridEntry.cs: Added
1205 * GridItem.cs: Added helper properties
1206 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
1207 * GridEntry.cs: Updated code for collection
1208 * PropertyGrid.cs: Cleaned up some formatting
1209 * PropertyGridView.cs: Added drop down functionality for enums.
1210 * GridItemCollection.cs: Added enumerator logic
1211 * PropertyGridEntry.cs: Added
1213 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
1216 - Removed unnecessary commented code
1217 - Fixed handling for entering the filename manually in the combobox
1219 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
1221 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
1223 2005-03-18 Peter Bartok <pbartok@novell.com>
1225 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
1226 them being touching the border
1228 2005-03-18 Peter Bartok <pbartok@novell.com>
1230 * TextControl.cs: Quick hack to center text better
1232 2005-03-18 Peter Bartok <pbartok@novell.com>
1235 - Don't throw NotImplemented exceptions, just print a notice once
1236 instead (requested by Miguel). This makes running existing SWF
1239 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
1240 - Added context menu trigger on right click
1241 * Panel.cs: Trigger invalidate on resize
1243 - Removed old double-buffer drawing
1244 - Added ResizeRedraw style to force proper update of statusbar
1246 - Removed debug output
1247 * ThemeWin32Classic.cs:
1248 - Fixed drawing of status bar, now draws Text property if there
1249 are no defined panels
1251 2005-03-18 Jackson Harper <jackson@ximian.com>
1253 * ImageList.cs: When the image stream is set pull all the images
1255 * ImageListStreamer.cs: Implement reading image list streams.
1257 2005-03-18 Peter Bartok <pbartok@novell.com>
1259 * ThemeWin32Classic.cs (DrawPictureBox):
1260 - Fixed calculations for centered drawing
1261 - Fixed drawing for normal mode, not scaling the image on normal
1263 2005-03-18 Peter Bartok <pbartok@novell.com>
1265 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
1268 - Made Open/Save button the accept button for FileDialog
1269 - Tied the cancel button to the IButtonControl cancel button
1270 - Save/Open now properly builds the pathname
1271 - Now handles user-entered text
1272 - Preventing crash on right-click if no item is selected
1273 - Fixed Text property, now uses contents of textbox
1274 - Fixed SelectedText property, now just returns the text part that
1275 is selected in the text box
1277 2005-03-18 Jackson Harper <jackson@ximian.com>
1279 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
1280 rect, make sure to de-adjust the interior rect after drawing the
1283 2005-03-18 Peter Bartok <pbartok@novell.com>
1285 * MenuAPI.cs: Remove menu *before* executing selected action to
1286 prevent the menu from 'hanging around'
1288 2005-03-17 Geoff Norton <gnorton@customerdna.com>
1290 * XplatUIOSX.cs: Implemented WorkingArea property
1292 2005-03-17 Peter Bartok <pbartok@novell.com>
1294 * XplatUIX11.cs: Fixed menu coord calculations
1295 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
1296 for calculating offsets
1298 2005-03-17 Peter Bartok <pbartok@novell.com>
1300 * Hwnd.cs: Do not consider menu presence for default client
1301 rectangle location/size
1302 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
1303 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
1304 translation functions
1305 * FileDialog.cs: Fixed (what I presume is a) typo
1307 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
1309 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
1310 X access (avoids X-Async errors)
1312 2005-03-16 Jackson Harper <jackson@ximian.com>
1314 * TabControl.cs: Raise the SelectedIndexChanged event.
1316 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
1318 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
1319 - Removed vertical ToolBar and replaced it with a custom panel
1320 (desktop and home button already work)
1321 - Added Help button (some controls get resized or relocated then)
1322 - Draw correct text depending on Open or Save.
1323 - Fixed some typos...
1325 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
1328 - Only change Maximum and Minimum when need it (bug fix)
1330 2005-03-15 Peter Bartok <pbartok@novell.com>
1332 * Form.cs: Use Handle for icon, to trigger creation if
1333 the window does not yet exist
1335 - CanSelect: Slight performance improvement
1336 - Focus(): Preventing possible recursion
1337 - Invalidate(): Removed ControlStyle based clear flag setting
1338 - WM_PAINT: fixed logic for calling OnPaintBackground
1339 - WM_ERASEBKGND: Fixed logic, added call to new driver method
1340 EraseWindowBackground if the control doesn't paint background
1342 - Moved EraseWindowBackground() method to internal methods
1343 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
1344 is sent via SendMessage on BeginPaint call on Win32
1346 - Added EraseWindowBackground() method
1347 - No longer sends WM_ERASEBKGND on .Expose, but on call to
1348 PaintEventStart, which more closely matches Win32 behaviour
1349 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
1350 - Fixed SetFocus() to properly deal with client and whole windows
1351 * Hwnd.cs: Added ErasePending property
1352 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
1353 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
1355 2005-03-12 Geoff Norton <gnorton@customerdna.com>
1358 - Fix hard loop when timers exist.
1359 - Fix bugs with middle and right click for 3 button mice.
1361 2005-03-11 Peter Bartok <pbartok@novell.com>
1364 - get_WorkingArea: Need to call X directly, GetWindowPos only
1365 returns cached data now
1366 - Added sanity check to GetWindowPos hwnd usage
1368 2005-03-11 Jackson Harper <jackson@ximian.com>
1370 * BindingManagerBase.cs: This method isn't used anymore as
1371 PullData now updates the data in the control.
1373 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
1375 * Form.cs: fixes menu drawing on X11
1376 * MenuAPI.cs: fixes menu drawing on X11
1378 2005-03-11 Peter Bartok <pbartok@novell.com>
1380 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
1381 from Jonathan Gilbert; should fix bug #73606
1382 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
1383 in Screen coordinates. Thanks, Jordi.
1384 * Form.cs: Added missing attribute
1386 2005-03-11 Peter Bartok <pbartok@novell.com>
1389 - Rudimentary Mdi support
1390 - Removed outdated FormParent code
1391 - Implemented lots of missing properties and methods, still missing
1392 transparency support
1393 - Added missing attributes
1394 - Implemented support for MaximumBounds
1395 - Added firing of various events
1396 * XplatUI.cs: Added SetIcon() method
1397 * XplatUIDriver.cs: Added SetIcon() abstract
1398 * XplatUIOSX.cs: Stubbed out SetIcon() method
1400 - Implemented SetIcon() support
1401 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
1402 - Switched to unix line endings
1404 - Made POINT internal so for can access it as part of MINMAX
1405 - Implemented SetIcon() support
1406 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
1407 native Mdi support again, might have to go managed)
1408 * Control.cs: Now fires the StyleChanged event
1409 * MdiClient.cs: Added; still mostly empty
1411 2005-03-10 Peter Bartok <pbartok@novell.com>
1413 * SaveFileDialog.cs: Added emtpy file
1415 2005-03-08 Peter Bartok <pbartok@novell.com>
1417 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
1418 in turn triggers OnCreateContro) when creating a handle for the
1420 * TextControl.cs: Fixed endless loop in certain cases when
1421 replacing the current selection
1423 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
1426 - Honors NewValue changes in Scroll events allowing apps to change it
1427 - Adds First and Last Scroll events
1428 - Fixes Thumb events
1430 2005-03-07 Peter Bartok <pbartok@novell.com>
1432 * Hwnd.cs: Added DefaultClientRectangle property
1433 * XplatUI.cs: Now using the X11 driver Where() method, which provides
1434 more detailed debug information
1436 - Fixed size-change feedback loop, where we would pull an old size
1437 off the queue and mistakenly change our window's size to an
1439 - Now compressing ConfigureNotify events, to reduce looping and
1441 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
1444 2005-03-07 Jackson Harper <jackson@ximian.com>
1446 * Binding.cs: Push data pushes from data -> property. Check if the
1447 property is readonly when attempting to set it.
1449 2005-03-07 Jackson Harper <jackson@ximian.com>
1451 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
1452 instead of IsSubclassOf. Pulling data now sets the value on the
1454 * PropertyManager.cs:
1455 * CurrencyManager.cs: Just need to pull data when updating now,
1456 because PullData will set the value on the control.
1458 2005-03-04 Jackson Harper <jackson@ximian.com>
1460 * Binding.cs: Implement data type parsing and converting on pulled
1461 data. TODO: Are there more ways the data can be converted?
1463 2005-03-04 Jackson Harper <jackson@ximian.com>
1465 * Binding.cs: Support <Property>IsNull checks. Also bind to the
1466 controls Validating method so we can repull the data when the
1467 control loses focus.
1469 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
1472 - Fixes null string format
1475 - Adds enum type checks
1476 - Fixes redrawing and recalc need after changing some properties
1477 - Fixes on focus_item set after the event
1478 - Fixes adding columns after the control has been created
1480 * ThemeWin32Classic.cs:
1481 - Fixes CheckBox focus rectangle
1482 - Fixes ColumnHeader drawing
1485 2005-03-03 Jackson Harper <jackson@ximian.com>
1487 * Binding.cs: Bind to <Property>Changed events so we can detect
1488 when properties are changed and update the data.
1490 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1493 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
1494 - Fixes ImageList constructor with ImageList container
1495 - Fixes image scaling (wrong parameters at DrawImage)
1497 2005-02-02 Jackson Harper <jackson@ximian.com>
1499 * Binding.cs: Make property searches case-insensitive. Eliminate
1500 some duplicated code.
1502 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
1505 - Handle focus event
1506 - Fix scrollbar events
1507 - Discard highlighted item if remove it
1508 - Fixes SelectedItem with strings
1510 2005-03-01 Peter Bartok <pbartok@novell.com>
1513 - Fixed Visible property, now follows (once again) parent chain
1514 to return false if any control in the chain is visible=false
1515 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
1516 - Fixed several places where is_visible instead of Visible was used
1517 - Implemented FIXME related to focus selection when setting focused
1518 control to be invisible
1520 * XplatUIWin32.cs: Now using proper method to find out if window is
1521 visible. Thanks to Jordi for pointing it out
1523 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
1525 * ComboBox.cs: show/hide scrollbar instead of creating it
1527 2005-02-27 Jackson Harper <jackson@ximian.com>
1529 * CurrencyManager.cs: Add PositionChanged stuff.
1531 2005-02-27 Peter Bartok <pbartok@novell.com>
1533 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
1534 * XplatUIOSX.cs: Added GetMenuOrigin() stub
1535 * XplatUIWin32.cs: Implemented GetMenuOrigin()
1537 - Implemented GetMenuDC()
1538 - Implemented GetMenuOrigin()
1539 - Implemented ReleaseMenuDC()
1540 - Implemented generation of WM_NCPAINT message
1541 - Implemented generation and handling of WM_NCCALCSIZE message
1542 * Form.cs: Added debug helper message for Jordi's menu work
1544 - Modified ClientRect property; added setter, fixed getter to handle
1545 setting of ClientRect
1546 - Added MenuOrigin property
1548 2005-02-26 Peter Bartok <pbartok@novell.com>
1551 - Destroys the caret if a window that's being destroyed contains it
1552 - Ignores expose events coming from the X11 queue for windows that
1553 already are destroyed
1554 - Now uses the proper variable for handling DestroyNotify, before we
1555 marked the wrong window as destroyed
1556 - Improved/added some debug output
1558 2005-02-26 Peter Bartok <pbartok@novell.com>
1560 * X11Keyboard.cs: Fixes to work on 64bit systems
1562 2005-02-26 Peter Bartok <pbartok@novell.com>
1565 - Now calling OnHandleDestroyed from DestroyHandle()
1566 instead of Dispose()
1567 - Removed bogus call to controls.Remove() from DestroyHandle()
1569 2005-02-26 Peter Bartok <pbartok@novell.com>
1571 * Control.cs: Properly destroy child windows when our handle is
1574 2005-02-25 Peter Bartok <pbartok@novell.com>
1577 - Added 'DriverDebug' define to allow tracing XplatUI API calls
1578 - Alphabetized Static Methods and Subclasses
1581 - Added XException class to allow custom handling of X11 exceptions
1582 - Created custom X11 error handler, tied into XException class
1583 - Added support for MONO_XEXCEPTIONS env var to allow the user
1584 to either throw an exception on X errors or continue running
1585 after displaying the error
1586 - Added handling of DestroyNotify message
1587 - Added handler for CreateNotify message (still disabled)
1588 - Improved (tried to at least) Where method to provide file and lineno
1590 - Added XErrorHandler delegate
1591 - Added XRequest enumeration (to suppor translation of errors)
1593 2005-02-25 Jackson Harper <jackson@ximian.com>
1595 * PropertyManager.cs: Implement editing features
1596 * CurrencyManager.cs:
1597 * Binding.cs: First attempt at UpdateIsBinding
1598 * BindingManagerBase.cs: Call UpdateIsBinding before
1599 pushing/pulling data.
1601 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1603 * MenuAPI.cs: Respect disabled items
1604 * ThemeWin32Classic.cs
1605 - Caches ImageAttributes creation for DrawImageDisabled
1606 - Fixes vertical menu line drawing
1607 - Draws disabled arrows in disable menu items
1609 2005-02-24 Peter Bartok <pbartok@novell.com>
1612 - Added UserData property to allow associating arbitrary objects
1614 - Fixed leak; now removing Hwnd references from static windows array
1616 - Fixed Graphics leak in PaintEventEnd
1617 - Removed usage of HandleData, switched over to Hwnd class
1618 * HandleData.cs: Removed, obsoleted by Hwnd.cs
1620 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1622 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
1623 * ScrollBar.cs: Fixes bug
1624 * TrackBar.cs: removes death code, clipping, mimize refreshes,
1625 keyboard navigation enhancements
1627 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1629 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
1630 * GroupBox.cs: Add control styles
1631 * Label.cs: Add control styles
1632 * UpDownBase.cs: Add control styles
1633 * ListBox.cs: Add control styles
1634 * XplatUIWin32.cs: Fixes wrong parameter order
1637 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
1639 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
1641 2005-02-23 Jackson Harper <jackson@ximian.com>
1643 * PropertyManager.cs: Implement property binding. This doesn't
1644 seem to work yet though as (I think) there are some bugs in
1645 System.ComponentModel.PropertyDescriptor.
1646 * BindingContext.cs: Use new PropertyManager constructor.
1648 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
1650 * ProgressBar.cs: use clip region in ProgressBar
1651 * ThemeWin32Classic.cs: use clip region in ProgressBar
1653 2004-02-22 Jackson Harper <jackson@ximian.com>
1655 * BindingsCollection.cs: Remove some debug code.
1657 2005-02-22 Jackson Harper <jackson@ximian.com>
1659 * BindingContext.cs:
1660 * ControlBindingsCollection.cs:
1661 * CurrencyManager.cs:
1663 * BindingManagerBase.cs: Initial implementation
1664 * BindingsCollection.cs: Add an internal contains method that the
1665 BindingManagerBase uses to ensure bindings aren't added twice to
1667 * PropertyManager.cs: Stubbed out.
1669 * ContainerControl.cs: Hook up databinding
1671 2005-02-22 Geoff Norton <gnorton@customerdna.com>
1674 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
1675 Fixed Invalidate/Update chain.
1676 Fixed tons of other minor bugs (this is almost a complete rewrite).
1678 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
1680 * ComboBox.cs: do subcontrol creation when the control is created
1682 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
1684 * Label.cs: fixes image drawing (image and imagelist)
1685 * ThemeWin32Classic.cs: cache brushes
1687 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
1689 * Form.cs: Move menu drawing code to Theme class
1690 * ComboBox.cs: Move ComboBox drawing code to Theme class
1691 * MenuItem.cs: Move menu drawing code to Theme class
1692 * MenuAPI.cs: Move menu drawing code to Theme class
1693 * ThemeWin32Classic.cs: New methods
1694 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
1695 * ListBox.cs: Move Listbox drawing code to Theme class
1696 * Theme.cs: New methods
1698 2005-02-20 Peter Bartok <pbartok@novell.com>
1701 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
1702 only process mnemonics on those)
1703 - Fixed event sequence for key handling; first calling
1704 ProcessKeyEventArgs now
1706 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
1707 for processing non-character keys
1708 - Fixed WM_CHAR to generate proper event sequence before processing
1709 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
1712 2005-02-19 Peter Bartok <pbartok@novell.com>
1714 * UserControl.cs: Added TextChanged event; added attributes
1715 * SizeGrip.cs: Implemented resizing and optional display of grip
1716 * Form.cs: Fixed attribute
1717 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
1718 Changed meaning of ScrollWindow bool argument; instead of the
1719 clear attribute (which will be true usually anyway), it gives the
1720 option of moving child controls as well.
1722 - Changed to match new ScrollWindow argument
1723 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
1724 now handles the implicit parent window a WM puts around us
1725 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
1727 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
1728 * TreeView.cs: Adjusted to new ScrollWindow arguments
1730 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
1732 * Form.cs: Menu integration with non-client area
1733 * MenuItem.cs: Menu integration with non-client area
1734 * MenuAPI.cs: Menu integration with non-client area
1736 2005-02-18 Peter Bartok <pbartok@novell.com>
1738 * MethodInvoker.cs: Added
1739 * MdiLayout.cs: Added
1740 * SendKeys.cs: Started implementation
1741 * ErrorIconAlignment.cs: Added
1743 2005-02-18 Peter Bartok <pbartok@novell.com>
1745 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
1746 * Form.cs: Added handling for Menu-related Non-client messages
1748 2005-02-17 Peter Bartok <pbartok@novell.com>
1750 * UpDownBase.cs: Fixed typo, compilation errors
1751 * DomainUpDown.cs: Fixed attribute value
1753 2005-02-16 Miguel de Icaza <miguel@novell.com>
1755 * UpDownBase.cs: Attach entry events.
1757 Add ForeColor property, Focused, InterceptArrowKeys (interception
1760 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1763 - Redraw non client are on Setmenu
1764 - Calc proper menu starting point
1766 2005-02-17 Peter Bartok <pbartok@novell.com>
1768 * Application.cs: Fixed message_filter check
1770 2005-02-17 Peter Bartok <pbartok@novell.com>
1772 * Application.cs: Now calls registered message filters
1773 * DockStyle.cs: Fixed attribute
1774 * Form.cs: Fixed attribute
1775 * Menu.cs: Fixed attribute
1776 * ToolTip.cs: Fixed attribute
1777 * TreeNode.cs: Added missing attributes and arranged in regions
1778 * PropertyGrid.cs: Fixed signatures
1779 * TreeNodeCollection.cs: Added attributes
1780 * Splitter.cs: Added missing attributes; arranged into regions
1781 * TabPage.cs: Added missing attributes; arranged into regions
1782 * TextBoxBase.cs: Added missing attributes
1783 * TextBox.cs: Added missing attributes
1784 * ArrangeDirection.cs: Added missing attributes
1785 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
1786 * ToolBarButton.cs: Fixed attributes
1787 * AnchorStyles.cs: Fixed attribute
1788 * TrackBar.cs: Fixed attributes
1789 * TabControl.cs: Added missing attributes and arranged into regions
1790 * ToolBar.cs: Fixed attribute
1791 * StatusBar.cs: Fixed signature, organized into regions and added
1793 * StatusBarPanel.cs: Fixed attributes
1794 * ContentsResizedEventArgs.cs: Implemented
1795 * ContentsResizedEventHandler.cs: Implemented
1796 * DateBoldEventArgs.cs: Implemented
1797 * DateBoldEventHandler.cs: Implemented
1798 * UpDownEventArgs.cs: Implemented
1799 * UpDownEventHandler.cs: Implemented
1801 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
1803 * Form.cs: first Menu NC refactoring
1804 * MenuAPI.cs: first Menu NC refactoring
1806 2005-02-16 Peter Bartok <pbartok@novell.com>
1808 * ImeMode.cs: Added missing attributes
1809 * Menu.cs: Fixed attribute
1810 * GroupBox.cs: Fixed attribute
1811 * Label.cs: Fixed attribute
1812 * ColorDialog.cs (RunDialog): Removed TODO attribute
1813 * ComboBox.cs: Fixed attributes
1814 * ListControl.cs: Added missing attributes
1815 * PropertyGrid.cs: Fixed attributes
1816 * Control.cs: Fixed attributes
1817 * ListViewItem.cs: Added TypeConverter attribute
1818 * NotifyIcon.cs: Fixed attributes
1819 * ListView.cs: Fixed attributes
1820 * ButtonBase.cs: Fixed attribute
1821 * ImageList.cs: Added missing attributes
1822 * ContainerControl.cs: Fixed signature
1823 * CheckedListBox.cs: Fixed attribute; added missing attributes
1824 * Panel.cs: Fixed attributes
1825 * PropertyTabChangedEventArgs.cs: Added missing attribute
1826 * PropertyValueChangedEventArgs.cs: Added missing attribute
1827 * Binding.cs: Fixed attribute
1828 * ListViewItemConverter: Implemented ListViewSubItemConverter class
1829 * ListBox.cs: Fixed attribute; added missing attributes;
1830 * ScrollableControl.cs: Added missing attributes
1831 * PictureBox.cs: Added missing attributes; implemented missing property
1832 * DateTimePicker.cs: Added missing attributes
1833 * Theme.cs (ToolWindowCaptionHeight): Fixed type
1834 * MonthCalendar.cs: Fixed attributes
1835 * StatusBarPanel.cs: Added missing attributes
1836 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
1838 2005-02-16 Peter Bartok <pbartok@novell.com>
1840 * TextBoxBase.cs: The previous method to enforce height yet remember
1841 the requested high was less than ideal, this is an attempt to do
1843 * Control.cs: Added comment about possible problem
1844 * Copyright: Updated format
1845 * GridItemType.cs: Fixed swapped values
1847 2005-02-15 Jackson Harper <jackson@ximian.com>
1849 * BaseCollection.cs: Use property so we never access an
1850 uninitialized list. Also initialize the list in the property.
1852 2005-02-15 Peter Bartok <pbartok@novell.com>
1854 * GroupBox.cs (ProcessMnemonic): Implemented
1855 * Label.cs (ProcessMnemonic): Implemented
1856 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
1859 2005-02-15 Peter Bartok <pbartok@novell.com>
1861 * RadioButton.cs (ProcessMnemonic): Implemented
1862 * CheckBox.cs (ProcessMnemonic): Implemented
1864 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
1866 - Added internal method to allow calling ProcessMnemonic from other
1868 * ContainerControl.cs:
1869 - Started support for handling validation chain handling
1870 - Implemented ProcessMnemonic support
1871 - Added Select() call to Active, to make sure the active control
1873 * Form.cs: Setting toplevel flag for Forms (this was lost in the
1875 * ThemeWin32Classic.cs:
1876 - DrawCheckBox(): Fixed stringformat to show hotkeys
1877 - DrawRadioButton(): Fixed stringformat to show hotkeys
1878 * CommonDialog.cs: Removed WndProc override, not needed
1880 2005-02-14 Peter Bartok <pbartok@novell.com>
1882 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
1883 missed those in the rewrite
1885 2005-02-14 Miguel de Icaza <miguel@novell.com>
1887 * NumericUpDown.cs (Increment, ToString): Add.
1888 (DecimalPlaces): implement.
1892 * UpDownBase.cs: Add the designer attributes.
1894 2005-02-13 Peter Bartok <pbartok@novell.com>
1896 * Panel.cs: Removed border_style, now in Control
1897 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
1898 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
1900 2005-02-13 Peter Bartok <pbartok@novell.com>
1902 * MouseButtons.cs: Added missing attributes
1903 * XplatUIStructs.cs: Added enumeration for title styles
1904 * LeftRightAlignment.cs: Added missing attributes
1905 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
1906 it compatible with Graphics.FromHwnd()
1907 * SelectedGridItemChangedEventArgs.cs: Fixed property type
1908 * Keys.cs: Added missing attributes
1909 * SelectionRange.cs: Added missing attributes
1910 * SelectionRangeConverter.cs: Added
1912 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
1913 ReleaseMenuDC methods
1914 - Renamed ReleaseWindow to UngrabWindow
1915 - Added proper startup notice to allow version identification
1917 - Added missing attributes
1918 - Removed FormParent concept
1919 * Label.cs: Removed border_style field, now in Control
1920 * RadioButton.cs: Now properly selects RadioButton when focus is
1922 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
1924 - Added missing attributes
1925 - Added borderstyle handling
1926 - Removed FormParent concept support
1927 - Fixed calls to XplatUI to match changed APIs
1928 - Fixed bug that would case us to use disposed Graphics objects
1929 - Removed unneeded internal methods
1930 - PerformLayout(): Fixed to handle DockStyle.Fill properly
1931 - SelectNextControl(): Fixed to properly check common parents
1932 * TextBoxBase.cs: Removed border_style field (now in Control)
1934 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
1935 fixed calculations for form size
1936 - Added support for localized strings and icons
1937 - Improved form size calculations, added border
1938 * ListView.cs: Removed border_style field (now in Control)
1939 * X11Structs.cs: Moved several structs from X11 driver here
1940 * X11Keyboard.cs: Changed debug message
1941 * Application.cs: Removed FormParent concept support
1943 - Resetting end_modal flag
1944 - Removed FormParent concept support
1945 * NativeWindow.cs: Removed FormParent concept support
1946 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
1947 Client area and Non-Client whole window to allow support for WM_NC
1949 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
1950 prevent using it until it supports Hwnd as per Geoff Norton's request
1951 * ToolBar.cs: Fixed drawing, was not doing proper drawing
1952 * PictureBox.cs: Removed border_style field, now in Control
1953 * XplatUIWin32.cs: Added new driver methods
1955 2005-02-12 Peter Bartok <pbartok@novell.com>
1957 * OpacityConverter.cs: Implemented
1958 * Hwnd.cs: Internal class to support drivers that need to emulate
1959 client area/non-client area window behaviour
1961 2005-02-11 Peter Bartok <pbartok@novell.com>
1963 * KeysConverter.cs: Implemented
1965 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
1967 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
1968 * LinkLabel: Added missing attributes
1969 * MainMenu.cs: fixes ToString
1970 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
1971 * ListBox.cs: fixes event position
1972 * TrackBar.cs: adds missing attributes and events
1974 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1976 * MenuItem.cs: Use SystemInformation and bug fixes
1977 * MenuAPI.cs: Use SystemInformation and bug fixes
1979 2005-02-09 Jackson Harper <jackson@ximian.com>
1981 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
1982 their keystate otherwise things like VK_MENU get stuck "on".
1984 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
1986 * ListBox.cs: Fixes AddRange bug
1988 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
1991 - Add missing attributes
1992 - Add missing method
1994 * CheckedListBox.cs: Added missing attributes
1995 - Add missing attributes
1996 - Remove extra method
1998 * ComboBox.cs: Added missing attributes
1999 * VScrollBar.cs: Added missing attributes
2000 * ScrollBar.cs: Added missing attributes
2001 * ListBox.cs: Fixes signature, add missing consts
2002 * LinkArea.cs: Added missing attributes
2005 2005-02-08 Peter Bartok <pbartok@novell.com>
2007 * Menu.cs: Added missing attributes
2008 * MainMenu.cs: Added missing attributes
2009 * GroupBox.cs: Added missing attributes
2010 * Label.cs: Added missing attributes
2011 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
2013 - Added Instance and Options properties
2014 - Added missing attributes
2015 * Cursor.cs: Made Serializable
2016 * NotifyIcon: Added missing attributes
2017 * MenuItem.cs: Added missing attributes
2018 * TextBoxBase.cs: Implemented AppendText() and Select() methods
2019 * Panel.cs: Added Missing attributes
2020 * MonthCalendar.cs: Fixed CreateParams
2022 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
2026 - Fixes issues with links
2027 - Adds the class attributes
2029 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
2032 - Fixes button when no items available in dropdown
2033 - Fixes repainting problems
2034 - Adds the class attributes
2036 2005-02-07 Geoff Norton <gnorton@customerdna.com>
2038 * XplatUIOSX.cs: Detect the menu bar and title bar height from
2039 the current theme. Cache these on startup.
2041 2005-02-07 Jackson Harper <jackson@ximian.com>
2043 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
2044 the scrollbar buttons when they are depressed.
2046 2005-02-07 Geoff Norton <gnorton@customerdna.com>
2048 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
2049 Get the display size from the main displayid. We currently dont
2050 support multiple display configurations.
2052 2005-02-07 Geoff Norton <gnorton@customerdna.com>
2054 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
2056 2005-02-07 Miguel de Icaza <miguel@novell.com>
2058 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
2060 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
2062 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
2064 2005-02-04 Jackson Harper <jackson@ximian.com>
2066 * ThemeWin32Classic.cs: Respect the clipping rect when
2067 drawing. Only fill the intersection of clips and rects so there
2068 isn't a lot of large fills.
2069 * ScrollBar.cs: Pass the correct clipping rect to the theme
2070 engine. Remove some debug code.
2072 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
2074 * DateTimePicker.cs:
2075 - Fixed crash on DateTime.Parse, use Constructor instead
2077 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
2081 - Owner draw support (MeasureItem and DrawItem)
2083 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
2086 - Implements FindMergePosition and MergeMenu functions (very poor documented)
2087 - Fixes MenuItems.Add range
2089 - MergeMenu and Clone and CloneMenu functions
2091 2005-02-03 Jackson Harper <jackson@ximian.com>
2093 * ScrollBar.cs: Make abstract
2094 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
2097 2005-02-03 Jackson Harper <jackson@ximian.com>
2099 * ScrollBar.cs: First part of my scrollbar fixups. This removes
2100 all the unneeded refreshes and uses invalidates with properly
2103 2005-02-03 Peter Bartok <pbartok@novell.com>
2105 * ComponentModel.cs: Added
2106 * IDataGridEditingService.cs: Added
2107 * Timer.cs: Added missing attributes
2108 * ToolTip.cs: Added missing attributes
2110 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
2112 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
2114 2005-02-03 Peter Bartok <pbartok@novell.com>
2116 * ListBox.cs: Added missing attributes
2118 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
2121 - Fixes font height after font change
2122 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
2124 2005-02-02 Peter Bartok <pbartok@novell.com>
2126 * HandleData.cs: Introduced static methods to allow class
2127 to be more self-contained and track it's own HandleData objects
2128 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
2129 HandleData to use new static methods
2131 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
2134 - Fixes default size and PreferredHeight
2136 - ObjectCollection.Insert implementation
2142 - ObjectCollection.Insert implementation
2143 - No selection after clean
2146 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
2148 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
2150 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
2153 - Caches ItemHeight calculation for OwnerDrawVariable
2154 - Handles dropdown properly
2155 - Fixes several minor bugs
2157 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
2160 - Fixes 71946 and 71950
2161 - Fixes changing Multicolumn on the fly
2162 - Fixes keyboard navigation on Multicolumn listboxes
2164 2005-01-31 Geoff Norton <gnorton@customerdna.com>
2166 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
2169 2005-01-31 Geoff Norton <gnorton@customerdna.com>
2171 * XplatUIOSX.cs: Allow applications to actually exit.
2173 2005-01-31 Geoff Norton <gnorton@customerdna.com>
2175 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
2176 their parent at creation time rather than lazily later. Fixes a major
2177 regression we were experiencing.
2179 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
2181 * ThemeWin32Classic.cs: more date time picker painting fixes
2182 * DateTimePicker.cs: more monthcalendar drop down fixes
2183 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
2185 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
2188 - When moving the thumb going outside the control should stop the moving
2189 - Adds the firing of missing events
2190 - Fixes no button show if Size is not specified
2191 - End / Home keys for keyboard navigation
2193 2005-01-30 Peter Bartok <pbartok@novell.com>
2195 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
2196 sanity check to prevent theoretical loop
2197 * XplatUIWin32.cs (SetVisible): Removed debug output
2198 * XplatUIX11.cs (SystrayChange): Added sanity check
2199 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
2200 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
2201 behaviour, valid until the X11 client window rewrite is done
2202 * TextBox.cs (ctor): Setting proper default foreground and background
2205 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
2207 * Theme: Added DrawDateTimePicker to interface
2208 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
2209 * DateTimePicker.cs: Created (still needs keys and painting code)
2210 * DateTimePickerFormat.cs: added
2211 * MonthCalendar.cs: fixed CreateParams for popup window mode
2213 2005-01-29 Peter Bartok <pbartok@novell.com>
2215 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
2216 this should also the calculations for ligher/darker
2217 * Theme.cs: Fixed defaults for ScrollBar widths/heights
2219 2005-01-29 Peter Bartok <pbartok@novell.com>
2221 * ArrangeDirection.cs: Added
2222 * ArrangeStartingPositon.cs: Added
2223 * SystemInformation.cs: Implemented
2224 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2225 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
2226 used by SystemInformation class
2227 * X11Strucs.cs: Added XSizeHints structure
2229 - Fixed CreateParams to make sure the menu window is always visible
2230 - TrackPopupMenu: Added check to make sure we don't draw the
2233 2005-01-29 Peter Bartok <pbartok@novell.com>
2235 * HandleData.cs: Added method for altering invalid area
2236 * TextBoxBase.cs: Implemented TextLength
2238 2005-01-28 Peter Bartok <pbartok@novell.com>
2240 * XplatUIX11.cs: Improvement over last patch, not sending
2241 the WM_PAINT directly anymore, instead we scroll any pending
2242 exposed areas and let the system pick out the WM_PAINT later
2244 2005-01-28 Peter Bartok <pbartok@novell.com>
2246 * SWF.csproj: Deleted, no longer used. Instead,
2247 Managed.Windows.Forms/SWF.csproj should be used
2248 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
2249 directly, to avoid a potential race condition with the next
2252 2005-01-28 Peter Bartok <pbartok@novell.com>
2254 * XplatUI.cs: Made class internal
2256 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
2258 * CheckedListBox.cs:
2261 - Missing methods and events
2263 2005-01-27 Peter Bartok <pbartok@novell.com>
2265 * Application.cs (Run): Don't use form if we don't have one
2267 2005-01-27 Peter Bartok <pbartok@novell.com>
2269 * TextBoxBase.cs (get_Lines): Fixed index off by one error
2271 2005-01-27 Peter Bartok <pbartok@novell.com>
2273 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
2274 * GridItem.cs: Added; Patch by Jonathan S. Chambers
2275 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
2276 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
2277 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
2278 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
2279 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
2280 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
2281 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
2282 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
2283 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
2284 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
2286 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
2289 - Draw focus on Simple Combobox
2290 - Fixes drawing issues
2293 2005-01-27 Peter Bartok <pbartok@novell.com>
2296 - Place window in default location, instead of hardcoded 0/0
2297 - Send initial LocationChanged event
2299 - UpdateBounds after creation to find out where the WM placed us
2300 - Make sure that if the ParentForm changes location the Form
2302 * XplatUIX11.cs: XGetGeometry will not return the coords relative
2303 to the root, but to whatever the WM placed around us.
2304 Translate to root coordinates before returning toplevel
2306 * XplatUIWin32.cs: Removed debug output
2307 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
2308 flag to GetWindowPos, to allow translation of coordinates on X11
2310 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
2312 * ListBox.cs: connect LostFocus Event
2314 2005-01-27 Peter Bartok <pbartok@novell.com>
2316 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
2317 XplatUIX11.cs: Extended the Systray API
2318 * Form.cs: Removed debug output
2319 * Application.cs: Fixed focus assignment, always need to call
2320 XplatUI.Activate() since Form.Activate() has rules that may
2322 * NotifyIcon.cs: Should be complete now
2323 * ToolTip.cs: Worked around possible timer bug
2325 2005-01-27 Jackson Harper <jackson@ximian.com>
2328 - Only invalidate the effected tabs when the
2329 selected index changes. This reduces drawing and gets rid of some
2331 - Only refresh if the tabs need to be shifted, otherwise only
2332 invalidate the slider button.
2333 - On windows the tabs are not filled to right if the slider is
2336 2005-01-27 Jackson Harper <jackson@ximian.com>
2338 * TabControl.cs: Only refresh on mouseup if we are showing the
2339 slider. Also only invalidate the button whose state has changed.
2341 2005-01-26 Peter Bartok <pbartok@novell.com>
2343 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
2344 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
2345 and SystrayRemove() methods
2346 * XplatUIOSX.cs: Stubbed Systray methods
2348 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
2350 - Fixed broken XChangeProperty calls (marshalling messed up things)
2351 * X11Structs.cs: Added enums and structs required for Size hinting
2352 * NotifyIcon.cs: Added & implemented
2354 2005-01-26 Jackson Harper <jackson@ximian.com>
2356 * TabControl.cs: Space vertically layed out tabs properly.
2358 2005-01-26 Peter Bartok <pbartok@novell.com>
2360 * Form.cs (CreateClientParams): Always set the location to 0,0
2361 since we're a child window.
2363 * Control.cs (SetVisibleCore): Always explicitly setting the location
2364 of a toplevel window, apparently X11 doesn't like to move windows
2365 while they're not mapped.
2367 2005-01-26 Jackson Harper <jackson@ximian.com>
2369 * TabControl.cs: Implement FillToRight size mode with vertically
2372 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
2374 * ControlPaint.cs, ThemeWin32Classic.cs
2375 - Fixes DrawFocusRectangle
2377 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
2380 - MenuBar tracking only starts when item is first clicked
2381 - Fixes menu hidding for multiple subitems
2382 - Unselect item in MenuBar when item Executed
2385 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
2388 - IsInputKey for ListBox
2391 - Shift and Control item selection
2392 - Implement SelectionMode.MultiExtended
2395 - IsInputKey implemented
2396 - Do not generate OnTextChangedEdit on internal txt changes
2398 2005-01-23 Peter Bartok <pbartok@novell.com>
2400 * AccessibleObject.cs: Partially implemented Select()
2401 * MonthCalendar.cs: Added missing attributes and events
2402 * Form.cs: Fixed CreateParams behaviour, now controls derived from
2403 form can properly override CreateParams.
2404 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2405 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
2406 Control performs Invalidate & Update
2407 * NativeWindow (CreateHandle): Added special handling for Form
2408 and Form.FormParent classes to allow overriding of From.CreateParams
2410 - ControlNativeWindow: Renamed 'control' variable to more intuitive
2412 - ControlNativeWindow: Added Owner property
2413 - Removed usage of Refresh() on property changes, changed into
2414 Invalidate(), we need to wait until the queue is processed for
2415 updates, direct calls might cause problems if not all vars for
2416 Paint are initialized
2417 - Added call to UpdateStyles() when creating the window, to set any
2418 styles that CreateWindow might have ignored.
2419 - Added support for Form CreateParent overrides to UpdateStyles()
2420 * MessageBox.cs: Removed no longer needed FormParent override stuff,
2421 CreateParams are now properly overridable
2422 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
2423 CreateParams are now properly overridable
2425 2005-01-23 Miguel de Icaza <miguel@ximian.com>
2427 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
2430 Capture LostFocus and OnTextBoxChanged. The later introduces a
2431 recursive invocation that I have not figured out yet.
2433 Reset the timer when not using (it was accumulating).
2436 (OnTextBoxChanged): Set UserEdit to true here to track whether the
2437 user has made changes that require validation.
2439 Reset changing to avoid loops.
2441 2005-01-22 Miguel de Icaza <miguel@ximian.com>
2443 * NumericUpDown.cs: Display value at startup.
2445 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
2448 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
2449 filled in. Added some basic parsing of text.
2451 Still missing the OnXXX method overrides, and figuring out the
2452 events that must be emitted.
2454 * UpDownBase.cs: Handle UserEdit on the Text property.
2456 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
2459 - Fixes IntegralHeight
2462 2005-01-21 Jackson Harper <jackson@ximian.com>
2464 * TabControl.cs: Set the SelectedIndex property when SelectedTab
2465 is set so that the page visibility is updated and the tabs are
2468 2005-01-21 Jackson Harper <jackson@ximian.com>
2470 * TabControl.cs: Use cliping rectangle for blitting. Give the
2471 theme the clipping rect so we can do clipping while
2472 drawing. Remove some debug code.
2474 2005-01-21 Jackson Harper <jackson@ximian.com>
2476 * TabPage.cs: Add a new method so tab pages can force the tab
2477 control to recalculate the tab page sizes.
2478 * TabControl.cs: UpdateOwner needs to make the tab control recalc
2481 2005-01-20 Jackson Harper <jackson@ximian.com>
2483 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
2485 2005-01-20 Jackson Harper <jackson@ximian.com>
2487 * TreeView.cs: Set the bounds for nodes properly. They were
2488 getting screwed up when checkboxes were not enabled, but images
2491 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
2494 - Owner draw support
2497 2005-01-20 Jackson Harper <jackson@ximian.com>
2499 * XplatUIStructs.cs: More misc keys
2500 * X11Keyboard.cs: Ignore some control keys.
2502 2005-01-20 Jackson Harper <jackson@ximian.com>
2504 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
2505 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
2507 2005-01-19 Peter Bartok <pbartok@novell.com>
2509 * Control.cs: Un-selecting the control when it is loosing focus
2511 2005-01-19 Jackson Harper <jackson@ximian.com>
2513 * TreeView.cs: Hook up to the text controls leave event so we can
2514 end editing when the users clicks outside the text box.
2516 2005-01-19 Jackson Harper <jackson@ximian.com>
2518 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
2519 get set in the conversion array.
2521 2005-01-19 Peter Bartok <pbartok@novell.com>
2523 * Application.cs (ModalRun): Added a call to CreateControl to ensure
2524 focus is properly set
2526 - Added missing attributes
2527 - removed styles, those are already set in the base class
2529 - Added missing attributes
2530 - Added clip window styles
2531 * CheckBox.cs: Added missing attributes
2533 - FormParentWindow.CreateParams: Added required clip styles
2534 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
2535 also filters modifier keys
2537 - Added assignment of Accept and Cancel button to enable Enter
2538 and Esc keys in MessageBox dialogs
2539 - FormParentWindow.CreateParams: Added required clip styles
2540 * RadioButton.cs: Added missing attributes
2541 * TextControl.cs: No longer draws selection if control does not
2544 - Now draws simple rectangle around test area to make it obvious
2545 there's a control. This is a hack until we properly support borders
2546 - A few simple fixes to support selections better, now erases selected
2547 text when typing, and resets selection when using movement keys
2549 2005-01-19 Miguel de Icaza <miguel@ximian.com>
2551 * UpDownBase.cs: Added some new properties.
2553 * DomainUpDown.cs: Implement a lot to get my test working.
2555 2005-01-19 Geoff Norton <gnorton@customerdna.com>
2557 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
2559 2005-01-19 Geoff Norton <gnorton@customerdna.com>
2561 * OSXStructs (WindowAttributes): Fixed csc complaints
2563 2005-01-19 Geoff Norton <gnorton@customerdna.com>
2566 OSXStructs.cs: Initial refactor to move enums and consts into
2567 OSXStructs and use them in the driver for greater readability.
2569 2005-01-19 Geoff Norton <gnorton@customerdna.com>
2571 * XplatUIOSX.cs: Initial support for Standard Cursors.
2572 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
2574 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
2576 * ComboBox.cs: ability to change style when the ctrl is already
2577 created, missing methods and events, bug fixes, signature fixes
2579 2005-01-19 Peter Bartok <pbartok@novell.com>
2581 * Cursors.cs (ctor): Added ctor to fix signature
2583 2005-01-18 Peter Bartok <pbartok@novell.com>
2585 * Button.cs: Implemented DoubleClick event
2587 - Fixed keyboard handling to behave like MS, where the press of
2588 Spacebar is equivalent to a mousedown, and the key release is
2589 equivalent to mouseup. Now a spacebar push will give the same
2590 visual feedback like a mouse click.
2591 - Added missing attributes
2592 - Added ImeModeChanged event
2593 - Added support for generating DoubleClick event for derived classes
2595 - Implemented DoubleClick event
2596 - Added missing attributes
2597 * CommonDialog.cs: Added missing attribute
2598 * ContextMenu.cs: Added missing attributes
2600 - AutoChecked buttons do not allow to be unselected when clicked
2601 (otherwise we might end up with no selected buttons in a group)
2602 - Added missing attributes
2603 - Implemented DoubleClickEvent
2604 * ThreadExceptionDialog.cs: Enabled TextBox code
2606 2005-01-18 Peter Bartok <pbartok@novell.com>
2608 * Form.cs: Removed debug output
2609 * Button.cs: Added support for DoubleClick method
2611 2005-01-18 Peter Bartok <pbartok@novell.com>
2614 - Added method to parent window that allows triggering size
2615 calculations when a menu is added/removed
2616 - set_Menu: Cleaned up mess from early days of Form and Control,
2617 now properly triggers a recalc when a menu is added/removed
2618 - Added case to select form itself as focused form if no child
2620 - Added PerformLayout call when showing dialog, to ensure properly
2623 - Select(): Made internal so Form can access it
2624 - Focus(): Only call Xplat layer if required (avoids loop), and sets
2626 * Application.cs (Run): Removed hack and calls PerformLayout instead
2627 to trigger calculation when Form becomes visible
2629 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
2631 * ComboBox.cs: fixes for ownerdraw
2633 2005-01-18 Peter Bartok <pbartok@novell.com>
2636 - Sentinel is no longer static, each Document gets it's own, this
2637 avoids locking or alternatively overwrite problems when more
2638 than one text control is used simultaneously.
2639 - Switched to use Hilight and HilightText brushes for text selection
2641 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
2643 2005-01-18 Peter Bartok <pbartok@novell.com>
2646 - Hooked up the following events:
2654 o SystemColorsChanged
2657 - Removed debug output
2658 - Added a call to the current theme's ResetDefaults when a color change
2660 * Form.cs: Now setting the proper ImeMode
2661 * Theme.cs: Defined a method to force recreation of cached resources
2662 and rereading of system defaults (ResetDefaults())
2663 * ThemeWin32Classic.cs: Added ResetDefaults() stub
2665 2005-01-17 Peter Bartok <pbartok@novell.com>
2667 * Control.cs: Added missing attributes
2669 2005-01-17 Jackson Harper <jackson@ximian.com>
2671 * TreeNode.cs: Implement editing. Add missing properties selected
2673 * TreeView.cs: Implement node editing. Also some fixes to use
2674 Invalidate (invalid area) instead of Refresh when selecting.
2676 2005-01-17 Peter Bartok <pbartok@novell.com>
2679 - Implemented InvokeGotFocus() method
2680 - Implemented InvokeLostFocus() method
2681 - Implemented InvokePaint() method
2682 - Implemented InvokePaintBackground() method
2683 - Implemented InvokeClick() method
2684 - Implemented FindForm() method
2685 - Implemented RectangleToClient() method
2686 - Implemented ClientToRectangle() method
2687 - Implemented ResetBackColor() method
2688 - Implemented ResetCursor() method
2689 - Implemented ResetFont() method
2690 - Implemented ResteForeColor() method
2691 - Implemented ResetImeMode() method
2692 - Implemented ResetLeftToRight() method
2693 - Implemented ResetText() method
2694 - Implemented Scale() methods
2695 - Implemented ScaleCore() method
2696 - Implemented Update() method
2697 - Removed unused variables
2698 - Stubbed AccessibilityNotifyClients and
2699 ControlAccessibleObject.NotifyClients() methods (dunno what to do
2701 - Now setting proper default for RightToLeft property
2702 - Fixed bug in SetClientSizeCore that would cause windows to get
2704 - Now sending Click/DoubleClick events
2705 - Now selecting controls when left mouse button is clicked on
2707 * AccessibleEvents.cs: Added
2708 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
2709 * XplatUIOSX.cs: Stubbed UpdateWindow() method
2710 * XplatUIWin32.cs: Implemented UpdateWindow() method
2711 * XplatUIX11.cs: Implemented UpdateWindow() method
2712 * Form.cs: Removed stray semicolon causing CS0162 warning
2713 * ThemeWin32Classic.cs: Fixed unused variable warnings
2714 * ScrollableControl.cs: Now calls base method for ScaleCore
2715 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
2716 style to avoid interference with internal click handler (which is
2717 different than standard Control click handling)
2719 - Now unchecks all sibling radio buttons when control is
2720 selected (Fixes #68756)
2721 - Removed internal tabstop variable, using the one inherited from
2724 2005-01-17 Jackson Harper <jackson@ximian.com>
2726 * NavigateEventArgs.cs: Fix base type.
2727 * LinkLabel.cs: Sig fix
2729 2005-01-17 Jackson Harper <jackson@ximian.com>
2731 * TreeView.cs: Only invalidate the effected nodes bounds when
2734 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
2736 * XplatUIWin32.cs: fixes Win32 marshaling
2737 * XplatUIX11.cs: fixes method signature
2739 2005-01-17 Peter Bartok <pbartok@novell.com>
2741 * XplatUIX11.cs: Clean up resources when we no longer need them
2743 2005-01-17 Peter Bartok <pbartok@novell.com>
2745 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
2746 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
2747 and DestroyCursor() methods.
2748 * Cursor.cs: Partially implemented, now supports standard cursors;
2749 still contains some debug code
2750 * Cursors.cs: Implemented class
2752 - WndProc(): Added handling of WM_SETCURSOR message, setting the
2754 - Implemented Cursor property
2755 - Replaced break; with return; more straightforwar and possibly
2757 - Now properly setting the result for WM_HELP
2758 * X11Structs.cs: Added CursorFontShape enum
2759 * XplatUIStructs.cs:
2760 - Added StdCursor enum (to support DefineStdCursor() method)
2761 - Added HitTest enum (to support sending WM_SETCURSOR message)
2763 - Now sends the WM_SETCURSOR message
2764 - Implemented new cursor methods
2765 * XplatUIOSX.cs: Stubbed new cursor methods
2767 - Implemented new cursor methods
2768 - Added GetSystemMetrics function and associated enumeration
2770 2005-01-15 Peter Bartok <pbartok@novell.com>
2773 - WndProc(): Now handles EnableNotifyMessage
2774 - SelectNextControl(): Fixed bug where if no child or sibling
2775 controls exist we looped endlessly
2777 2005-01-14 Jackson Harper <jackson@ximian.com>
2779 * TreeView.cs: Recalculate the tab pages when a new one is added
2780 so that the proper bounding rects are created.
2782 2005-01-14 Jackson Harper <jackson@ximian.com>
2784 * TreeView.cs: Draw a gray box instead of a grip in the lower
2785 right hand corner when there are both horizontal and vertical
2788 2005-01-14 Jackson Harper <jackson@ximian.com>
2790 * Control.cs: When erasing backgrounds use FromHwnd instead of
2791 FromHdc when there is a NULL wparam. This occurs on the X driver.
2792 * XplatUIX11.cs: Set the wparam to NULL.
2794 2005-01-13 Jackson Harper <jackson@ximian.com>
2796 * PictureBox.cs: Implement missing methods (except ToString, need
2797 to test that on windows) and events. When visibility is changed we
2798 need to redraw the image because the buffers are killed. When size
2799 is changed refresh if the sizemode needs it.
2801 2005-01-13 Peter Bartok <pbartok@novell.com>
2803 * Control.cs (SelectNextControl): Was using wrong method to select
2806 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
2808 * ComboBox.cs: fixes dropstyle
2810 2005-01-13 Peter Bartok <pbartok@novell.com>
2813 - Implemented Select() override
2814 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
2815 - Now sets keyboard focus on startup
2816 * Control.cs (SelectNextControl): Now properly handles directed=true
2818 - WndProc: Now passes tab key on to base if AcceptTabChar=false
2819 - Added (really bad) focus rectangle (mostly for testing)
2820 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
2821 to enforce redraw on focus changes
2822 * ContainerControl.cs:
2823 - Fixed detection of Shift-Tab key presses
2824 - Fixed traversal with arrow keys
2825 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
2826 gonna keep this or if it's complete yet
2828 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
2830 * ComboBox.cs: missing properties, fixes
2832 2005-01-13 Peter Bartok <pbartok@novell.com>
2834 * Panel.cs (ctor): Setting Selectable window style to off
2835 * Splitter.cs (ctor): Setting Selectable window style to off
2836 * GroupBox.cs (ctor): Setting Selectable window style to off
2837 * Label.cs (ctor): Setting Selectable window style to off
2839 2005-01-12 Miguel de Icaza <miguel@ximian.com>
2841 * UpDownBase.cs (InitTimer): If the timer has been already
2844 Use a TextBox instead of a Label.
2846 2005-01-12 Jackson Harper <jackson@ximian.com>
2848 * TreeView.cs: Refresh the tree after sorting the nodes. Always
2849 draw the connecting node lines (when ShowLines is true).
2850 * TreeNode.cs: The nodes index can now be updated. This is used
2851 when a node collection is sorted.
2852 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
2853 insert or an existing unsorted node collection can be sorted.
2855 2005-01-12 Peter Bartok <pbartok@novell.com>
2857 * ContainerControl.cs: Implemented ProcessDialogKeys()
2859 2005-01-12 Peter Bartok <pbartok@novell.com>
2862 - Implemented SelectNextControl() method
2863 - Several focus related bug fixes
2864 - Fixed Docking calculations to match MS documentation and
2867 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
2869 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
2872 2005-01-12 Peter Bartok <pbartok@novell.com>
2875 - Fixed broken Contains() method
2876 - Implemented GetNextControl() method. Finally. This is the pre-
2877 requisite for focus handling.
2879 2005-01-12 Peter Bartok <pbartok@novell.com>
2881 * OSXStrucs.cs: Added
2883 2005-01-12 Peter Bartok <pbartok@novell.com>
2886 - Removed PeekMessageFlags
2887 - Implemented SetWindowStyle() method
2888 * XplatUIStructs.cs: Added PeekMessageFlags
2889 * X11Structs: Added missing border_width field to XWindowChanges struct
2891 - PeekMessage: Now throws exception if flags which are not yet
2892 supported are passed
2893 - Implemented SetWindowStyle() method
2894 - Fixed SetZOrder to handle AfterHwnd properly
2895 * XplatUI.cs: Added SetWindowStyle() method
2896 * XplatUIDriver.cs: Added SetWindowStyle() abstract
2898 - Implemented UpdateStyles() method
2899 - Implemented UpdateZOrder() method
2900 * XplatUIOSX.cs: Added SetWindowStyle() stub
2902 2005-01-12 Geoff Norton <gnorton@customerdna.com>
2904 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
2908 2005-01-11 Jackson Harper <jackson@ximian.com>
2910 * TreeView.cs: Still need to draw lines to siblings even if out of
2911 the current node is out of the clip.
2913 2005-01-11 Jackson Harper <jackson@ximian.com>
2915 * TreeView.cs: When setting the hbar/vbar/grip position use
2916 SetBounds so that perform layout is only called once. Also suspend
2917 and resume layout so layout is only done once for all controls.
2918 - Removed some debug fluff
2919 * SizeGrip.cs: Call base implmentation in overriding methods.
2920 - When visibility is changed the drawing buffers are killed so we
2923 2005-01-11 Jackson Harper <jackson@ximian.com>
2925 * TreeView.cs: Calculate the open node count while drawing. This
2926 saves us an entire tree traversal for every paint operation. Use
2927 a member var for the open node count so less vars are passed around.
2929 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
2932 - fixed selection to use mousemove, not mouse polling on timer
2933 * ThemeWin32Classic.cs
2934 - removed redundant unused variable "no_more_content"
2936 2005-01-11 Peter Bartok <pbartok@novell.com>
2938 * XplatUIX11.cs (DoEvents): Needs to return when no more events
2939 are pending, so it now calls PeekMessage instead of GetMessage;
2940 implemented a incomplete version of PeekMessage
2942 2005-01-11 Peter Bartok <pbartok@novell.com>
2944 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
2946 * TextBoxBase.cs: Added sending of TextChanged event
2948 2005-01-10 Jackson Harper <jackson@ximian.com>
2950 * TreeView.cs: Try not to draw outside the clipping rectangle on
2953 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
2955 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
2957 2005-01-10 Jackson Harper <jackson@ximian.com>
2960 - Implement fast scrolling. Now only the newly
2961 exposed nodes are drawn and the old image is moved using the
2962 XplatUI::ScrollWindow method.
2963 - Factor in height of nodes when calculating whether or not the
2964 node is in the clipping rect.
2966 2005-01-10 Jackson Harper <jackson@ximian.com>
2968 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
2970 2005-01-10 Peter Bartok <pbartok@novell.com>
2972 * Application.cs: Added temporary hack to resolve all our resize
2973 required issues on startup. This will get fixed properly at
2974 some point in the future
2976 2005-01-10 Jackson Harper <jackson@ximian.com>
2978 * SizeGrip.cs: New internal class that is used as a sizing
2979 grip control...hence the name.
2981 2005-01-10 Peter Bartok <pbartok@novell.com>
2983 * Control.cs: Implemented proper TabIndex handling, now assigning
2984 a tabindex when a control is added to a container
2985 * GroupBox.cs (ctor): Now sets the Container style bit, required
2986 for Control.GetNextControl()
2988 2005-01-09 Jackson Harper <jackson@ximian.com>
2990 * TextBoxBase.cs: Clear window when scrolling (fixes build).
2992 2005-01-09 Peter Bartok <pbartok@novell.com>
2994 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
2995 XplatUIX11.cs: Added ability to control ScrollWindow expose and
2996 an overload for ScrollWindow to allow only scrolling a rectangle
2998 2005-01-09 Peter Bartok <pbartok@novell.com>
3001 - Implemented SetDesktopBounds method
3002 - Implemented SetDesktopLocation method
3004 2005-01-08 Jackson Harper <jackson@ximian.com>
3006 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
3007 the node count has changed, this removes to VScroll::Refresh calls
3010 2005-01-08 Geoff Norton <gnorton@customerdna.com>
3012 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
3014 2005-01-07 Jackson Harper <jackson@ximian.com>
3016 * TreeNode.cs: Just update the single node when it is
3017 checked. Don't refresh after toggling, the Expand/Collapse already
3019 * TreeView.cs: Respect clipping a little more when drawing. Try
3020 not to redraw things that don't need to be redrawn. Just hide the
3021 scrollbars when they are no longer needed instead of removing
3022 them, so they don't have to be created again and again.
3024 2005-01-07 Geoff Norton <gnorton@customerdna.com>
3026 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
3027 coordinates to window space to place the caret properly, FIXED.
3028 Implement GetWindowState & SetWindowState
3030 2005-01-06 Peter Bartok <pbartok@novell.com>
3033 - Implemented ClientSize property
3034 - Implemented DesktopBounds property
3035 - Implemented DesktopLocation property
3036 - Implemented IsRestrictedWindow property
3037 - Implemented Size property
3038 - Implemented TopLevel property
3039 - Implemented FormWindowState property
3041 - Implemented GetTopLevel() method
3042 - Implemented SetTopLevel() method
3043 * X11Structs.cs (Atom):
3044 - Added AnyPropertyType definition
3045 - Added MapState definiton and updated XWindowAttribute struct
3046 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
3047 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
3048 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
3050 - Implemented GetWindowState() and SetWindowState() methods
3051 - Fixed Win32GetWindowLong return type
3053 - Introduced central function for sending NET_WM messages
3054 - Implemented GetWindowState() and SetWindowState() methods
3055 * TextBoxBase.cs (set_Lines):
3056 - Now uses Foreground color for text added via Text property (Duh!)
3057 - Added code to remember programmatically requested size (fixes
3058 behaviour when Multiline is set after Size)
3059 - Added AutoSize logic
3061 2005-01-06 Jackson Harper <jackson@ximian.com>
3063 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
3065 2005-01-06 Jackson Harper <jackson@ximian.com>
3067 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
3070 2005-01-06 Jackson Harper <jackson@ximian.com>
3072 * ScrollableControl.cs: Lazy init the scrollbars.
3074 2005-01-06 Jackson Harper <jackson@ximian.com>
3076 * Theme.cs: Speed up getting pens and solid brushes, by using
3077 their ARGB as a hash instead of tostring and not calling Contains.
3079 2005-01-06 Peter Bartok <pbartok@novell.com>
3082 - Implemented OnActivated and OnDeactivate event trigger
3083 - Implemented Activate() method
3084 - Fixed ShowDialog() to activate the form that was active before
3085 the dialog was shown
3087 - Added global active_window var that tracks the currently active
3089 - Now always grabs Property changes from the root window to always
3090 catch changes on the active window property
3091 - Added code to PropertyNotify handler to send Active/Inactive
3092 messages when state changes. This puts X11 and Win32 en par on
3093 WM_ACTIVATE notifications (except for double notifications when
3094 the user clicks away from our modal window to another one of our
3097 2005-01-05 Jackson Harper <jackson@ximian.com>
3099 * ImageList.cs: Implment ctor
3101 2005-01-05 Geoff Norton <gnorton@customerdna.com>
3103 * XplatUIOSX.cs: Implement Activate/SetTopmost
3105 2005-01-05 Geoff Norton <gnorton@customerdna.com>
3107 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
3109 2005-01-05 Geoff Norton <gnorton@customerdna.com>
3111 * XplatUIOSX.cs: Implement GetActive/SetFocus.
3113 2005-01-05 Peter Bartok <pbartok@novell.com>
3115 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
3116 XplatUIOSX.cs: Added GetActive method to return the currently
3117 active window for the application (or null, if none is active)
3119 - Implemented ActiveForm
3120 - Commented out owner assignment for modal dialogs (causes problems
3121 on Win32, since the owner will be disabled)
3122 - Reworked some Active/Focus handling (still incomplete)
3123 * CommonDialog.cs: Commented out owner assignment for modal dialogs
3124 (causes problems on Win32, since the owner will be disabled)
3125 * IWin32Window: Added ComVisible attribute
3127 2005-01-05 Peter Bartok <pbartok@novell.com>
3129 * ToolTip.cs (WndProc): Enable setting focus now that we have the
3130 required XplatUI functions.
3132 2005-01-05 Peter Bartok <pbartok@novell.com>
3134 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
3135 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
3136 to implement focus and activation handling; still incomplete and
3139 2005-01-04 Peter Bartok <pbartok@novell.com>
3141 * TextBoxBase.cs: Changed access level for Document property to
3142 match switch to internal for TextControl
3144 2005-01-04 Peter Bartok <pbartok@novell.com>
3146 * AccessibleObject: Added ComVisible attribute
3148 2005-01-04 Jackson Harper <jackson@ximian.com>
3150 * X11Keyboard.cs: Remove unneeded var.
3152 2005-01-04 Jackson Harper <jackson@ximian.com>
3154 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
3156 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
3157 ClientMessage. This makes apps exit cleanly (more often).
3159 2005-01-04 Jackson Harper <jackson@ximian.com>
3161 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
3162 handling focus, return correct colors and fonts,
3163 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
3164 handle selection, horizontal scrolling, and mouse interaction.
3166 2005-01-04 Peter Bartok <pbartok@novell.com>
3168 * ICommandExecutor.cs: Added
3169 * IDataGridColumnStyleEditingNotificationService.cs: Added
3170 * IFeatureSupport.cs: Added
3171 * IFileReaderService.cs: Added
3172 * IDataObject.cs: Added ComVisible attribute
3173 * AmbientProperties.cs: Added
3174 * BaseCollection.cs: Added missing attributes
3175 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
3176 * BaseCollection.cs: Added missing attributes
3177 * Binding.cs: Added TypeConverter attribute
3178 * BindingContext.cs: Added DefaultEvent attribute
3179 * BindingsCollection.cs: Added DefaultEvent attribute
3180 * Button.cs: Added DefaultValue attribute
3181 * DragEventArgs.cs: Added ComVisible attribute
3182 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
3183 * KeyEventArgs.cs: Added ComVisible attribute
3184 * KeyPressEventArgs.cs: Added ComVisible attribute
3185 * MouseEventArgs.cs: Added ComVisible attribute
3186 * NavigateEventArgs.cs: Added
3187 * NavigateEventHandler.cs: Added
3188 * FeatureSupport.cs: Added
3189 * OSFeature.cs: Added
3190 * Theme.cs: Added abstract Version property to support OSFeature
3191 * ThemeWin32Classic.cs: Added Version property to
3192 support OSFeature.Themes
3193 * ProgressBar.cs: Removed OnPaintBackground override, not required since
3194 the proper styles to avoid background drawing are set, also doesn't
3196 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
3197 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
3198 * ScrollEventArgs.cs: Added ComVisible attribute
3199 * SplitterEventArgs.cs: Added ComVisible attribute
3200 * AccessibleSelection.cs: Added Flags attribute
3201 * Appearance.cs: Added ComVisible attribute
3202 * Border3DSide.cs: Added ComVisible attribute
3203 * Border3DStyle.cs: Added ComVisible attribute
3204 * BorderStyle.cs: Added ComVisible attribute
3205 * DragAction.cs: Added ComVisible attribute
3206 * ErrorBlinkStyle.cs: Added
3207 * ScrollEventType.cs: Added ComVisible attribute
3208 * AnchorStyles.cs: Added Editor attribute
3209 * DockStyle.cs: Added Editor attribute
3210 * HorizontalAlignment.cs: Added ComVisible attribute
3211 * HelpEventArgs.cs: Added ComVisible attribute
3212 * PaintEventArgs.cs: Added IDisposable
3214 2005-01-04 Peter Bartok <pbartok@novell.com>
3216 * TextControl.cs: Switched Line, LineTag and Document classes to
3219 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
3221 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
3222 Simple mode, fixes, IntegralHeight, etc.
3224 2005-01-04 Peter Bartok <pbartok@novell.com>
3226 * TextBoxBase.cs: Using proper font variable now
3228 2005-01-04 Peter Bartok <pbartok@novell.com>
3230 * Form.cs (ShowDialog): Set parent to owner, if provided
3231 * GroupBox.cs: Removed unused vars
3233 - Added GetHashCode() for Document and LineTag classes
3234 - Removed unused variables
3235 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
3236 to allow translation between continuous char position and line/pos
3237 * CheckBox.cs: Removed vars that are provided by base class
3238 * RadioButton.cs: Removed vars that are provided by base class, added
3239 new keyword where required
3240 * LinkLabel.cs: Added new keyword where required
3241 * Control.cs (WndProc): Removed unused variable
3243 - Finished SelectionLength property
3244 - Implemented SelectionStart property
3245 - Implemented Text property
3246 - Removed unused vars
3247 * MessageBox.cs: Added new keyword where required
3248 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
3250 * MenuAPI.cs: Added new keyword where required
3251 * ButtonBase.cs: Removed vars that are provided by base class, added
3252 new keyword where required
3253 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
3254 argument to double, to allow compiling with csc 2.0 (Atsushi ran
3256 * Application.cs (Run): Now triggers the ThreadExit event
3257 * CommonDialog.cs: Added new keyword where required; now properly sets
3258 parent (owner) for dialog
3259 * XplatUIX11.cs: Commented out unused vars
3260 * StatusBar.cs: Fixed signature for Text property
3261 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
3263 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
3265 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
3266 TrackBar.cs, MonthCalendar.cs: remove unused vars
3268 2005-01-03 Jackson Harper <jackson@ximian.com>
3270 * ThemeWin32Classic.cs:
3271 * X11Keyboard.cs: Remove unused vars.
3273 2005-01-03 Peter Bartok <pbartok@novell.com>
3276 - set_Text: Tied into TextControl
3277 - set_TextAlignment: Tied into TextControl
3279 - Added alignment properties and implemented alignment handling
3280 and drawing (still has a bug, not generating proper expose events)
3281 - Added new Line() constructor to allow passing the line alignment
3282 - Fixed selection setting, properly handling end<start now
3283 - Added aligment considerations to RecalculateDocument()
3285 - Now properly enforces control height for single line controls
3286 - Added support for CharacterCasing
3287 - Added IsInputKey override
3288 - Fixed Keys.Enter logic
3289 - Added SetBoundsCore override
3290 - Fixed mouse selection handling
3292 2005-01-03 Jackson Harper <jackson@ximian.com>
3295 - Collapse and uncheck all nodes when CheckBoxes is disabled.
3296 - Checkboxes are always aligned to the bottom of the node,
3297 regardless of item height.
3298 - Use the node bounds to draw the text so we can center it when
3299 the item height is greater then the font height.
3300 - Node::Bounds are only the text part of the node.
3301 * TreeNode.cs: New method to combine collapsing and unchecking all
3304 2005-01-02 Jackson Harper <jackson@ximian.com>
3306 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
3307 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
3308 tree when a check is changed. TODO: Only refresh the checked node.
3310 2004-12-30 Jackson Harper <jackson@ximian.com>
3312 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
3313 * TreeNode.cs: When collapsing make sure to never collapse the
3316 2004-12-29 Jackson Harper <jackson@ximian.com>
3318 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
3320 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
3322 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
3324 2004-12-28 Peter Bartok <pbartok@novell.com>
3326 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
3329 2004-12-28 Peter Bartok <pbartok@novell.com>
3331 * Control.cs (WndProc): Added WM_HELP handler, now generates
3333 * Form.cs: Added HelpButton property and required support code
3334 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
3336 2004-12-28 Peter Bartok <pbartok@novell.com>
3339 - Made DialogForm.owner variable internal
3340 - Added check to ensure owner form is set before setting
3341 owner properties in CreateParams
3343 2004-12-28 Geoff Norton <gnorton@customerdna.com>
3345 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
3346 swizzling. Implement ClientToScreen and ScreenToClient. Implement
3347 GetCursorPos. Fix major visibility issues. Rework the windowing
3348 system to support borderless/titleless windows (implements menus).
3349 Fix GetWindowPos. Implement initial background color support for
3352 2004-12-28 Peter Bartok <pbartok@novell.com>
3354 * Form.cs (get_CreateParams): Make sure we have an owner before using
3355 the owner variable. Implement proper default if no owner exists
3357 2004-12-28 Peter Bartok <pbartok@novell.com>
3359 * In preparation for making Managed.Windows.Forms the default build target
3360 for System.Windows.Forms, the following stubbed files were added.
3361 Dialogs are currently being implemented by contributors and are only
3362 short-term place holders.
3363 * ColorDialog.cs: Initial check-in (minmal stub)
3364 * DataGrid.cs: Initial check-in (minimal stub)
3365 * DataGridLineStyle.cs: Initial check-in (minimal stub)
3366 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
3367 * DataGridTableStyle.cs: Initial check-in (minimal stub)
3368 * FontDialog.cs: Initial check-in (minimal stub)
3369 * FileDialog.cs: Initial check-in (minimal stub)
3370 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
3371 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
3372 * OpenFileDialog: Initial check-in (minimal stub)
3373 * IComponentEditorPageSite.cs: Initial check-in
3374 * Splitter.cs: Initial check-in (for Jackson)
3375 * SplitterEventArgs.cs: Initial check-in (for Jackson)
3376 * SplitterEventHandler.cs: Initial check-in (for Jackson)
3377 * TextBox.cs: Initial check-in; still needs some wiring to
3379 * Form.cs: Implemented ControlBox property
3380 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
3381 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
3382 * TextControl.cs: Added selection functionality; added todo header
3384 - Implemented Lines property
3385 - Implemented TextHeight property
3386 - Implemented SelectedText property
3387 - Implemented SelectionLength property
3388 - Implemented SelectAll method
3389 - Implemented ToString method
3390 - Removed and cleaned up some debug code
3391 - Implemented (still buggy) mouse text selection
3393 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
3395 * ComboBox.cs: Complete DropDownList implementation, fixes.
3397 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
3399 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
3400 * ComboBoxStyle.cs: ComboBoxStyle enum
3401 * ComboBox.cs: Initial work on ComboBox control
3403 2004-12-21 Peter Bartok <pbartok@novell.com>
3405 * Control.cs (ctor, CreateParams): Moved setting of is_visible
3406 forward so that anything that creates a window gets the default,
3407 also no longer uses Visible property in CreateParams to avoid
3408 walking up the parent chain and possibly get the wrong visible
3409 status. Fixed IsVisible to no longer walk up to the parent.
3411 2004-12-21 Peter Bartok <pbartok@novell.com>
3413 * Form.cs (ShowDialog): Unset modality for the proper window
3415 2004-12-20 Peter Bartok <pbartok@novell.com>
3417 * CommonDialog.cs: Initial check-in
3419 2004-12-20 Peter Bartok <pbartok@novell.com>
3421 * Control.cs (Visible): Now uses the parent window instead of the
3422 client area window for the property
3425 - ShowDialog(): Now uses the proper window for modality
3426 - The default visibility state for the form parent is now false. This
3427 will prevent the user from seeing all the changes to the form and
3428 its controls before the application hits Application.Run()
3429 - Removed some stale commented out code
3432 - Added FindWindow() method to have a method to check for existence
3434 - Added ability to override default exception handling (for example
3435 when debugging with VS.Net; to do this the ExternalExceptionHandler
3437 - Removed some useless debug output
3440 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
3441 not working as expected
3442 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
3443 property to allow switching back to the modal window if focus is
3444 given to another one of our windows (Application Modal)
3445 - Now only sets override_redirect if we create a window
3447 - Moved EventMask selection before mapping of newly created window
3448 so we can catch the map event as well
3449 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
3450 - Added various Atom related DllImports
3451 - Implemented Exit() method
3452 - .ctor() : No longer shows window if WS_VISIBLE is not defined
3455 * MessageBox.cs: Now properly deals with the FormParent window by
3456 providing an override the FormParent CreateParams property to
3457 set as POPUP instead of OVERLAPPED window.
3459 2004-12-19 Geoff Norton <gnorton@customerdna.com>
3461 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
3464 2004-12-19 Geoff Norton <gnorton@customerdna.com>
3466 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
3468 2004-12-18 Peter Bartok <pbartok@novell.com>
3470 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
3471 implementing SetModal() method
3473 2004-12-18 Peter Bartok <pbartok@novell.com>
3475 * X11Structs.cs (XGCValues): Fixed type of function element
3476 * XplatUI.cs: Added ScrollWindow() method
3477 * XplatUIDriver.cs: Added ScrollWindow() abstract
3478 * XplatUIWin32.cs: Implemented ScrollWindow() method
3479 * XplatUIX11.cs: Implemented ScrollWindow() method
3480 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
3482 2004-12-17 Geoff Norton <gnorton@customerdna.com>
3484 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
3485 Some more keyboard support (INCOMPLETE)
3487 2004-12-17 Peter Bartok <pbartok@novell.com>
3490 - Added color attribute to line tags.
3491 - Added color argument to all functions dealing with tags
3492 - Added color argument support to various functions
3493 - Fixed miss-calculation of baseline/shift in certain circumstances
3495 * TextBoxBase.cs: Added new color option to test code
3497 2004-12-17 Jackson Harper <jackson@ximian.com>
3500 * MonthCalendar.cs: Signature fixes
3502 2004-12-17 Geoff Norton <gnorton@customerdna.com>
3504 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
3505 keyboard event moved it. Create a new graphics context for each paint resolves this
3507 2004-12-17 Geoff Norton <gnorton@customerdna.com>
3509 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
3510 Make caret exist and go blink blink. Initial keyboard support.
3511 Fix exception handler, Add Invalidate support. Change way RefreshWindow
3514 2004-12-17 Jackson Harper <jackson@ximian.com>
3516 * XplatUIStructs.cs: Updated set of virtual keycodes.
3517 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
3519 2004-12-17 Jackson Harper <jackson@ximian.com>
3521 * XplatUIX11.cs: Prune old keyboard code.
3523 2004-12-17 Jackson Harper <jackson@ximian.com>
3525 * XplatUIX11.cs: When generating mouse wparams get the modifier
3526 keys from the ModifierKeys property.
3528 2004-12-17 Jackson Harper <jackson@ximian.com>
3530 * X11Keyboard.cs: Send up/down input when generating
3531 messages. Remove some unused vars.
3533 2004-12-17 Jackson Harper <jackson@ximian.com>
3536 * TreeView.cs: get rid of warnings.
3538 2004-12-17 Jackson Harper <jackson@ximian.com>
3540 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
3542 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
3544 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
3545 CheckedListBox.cs: Implementation
3547 2004-12-17 Peter Bartok <pbartok@novell.com>
3549 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
3551 2004-12-16 Peter Bartok <pbartok@novell.com>
3554 - InsertCharAtCaret(): Fixed start pos fixup
3555 - CaretLine_get: No longer derives the line from the tag, the tag
3556 could be stale if lines in the document have been added or deleted
3557 - RebalanceAfterDelete(): Fixed bug in balancing code
3558 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
3559 - Line.Streamline(): Now can also elminate leading empty tags
3560 - DumpTree(): Added a few more tests and prevented exception on
3562 - Added Debug section for Combining lines
3563 - Delete(): Now copies all remaining properties of a line
3566 - Left mousebutton now sets the caret (and middle button still acts
3567 as formatting tester, which must go away soon)
3568 - Added Debug section for Deleting/Combining lines
3569 - Fixed calculations for UpdateView after Combining lines
3571 2004-12-16 Peter Bartok <pbartok@novell.com>
3573 * TextControl.cs: Now properly aligns text on a baseline, using the
3574 new XplatUI.GetFontMetrics() method. Simplified several calculations
3575 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
3578 2004-12-16 Peter Bartok <pbartok@novell.com>
3580 * XplatUI.cs: Added GetFontMetrics() method
3581 * XplatUIDriver.cs: Added GetFontMetrics() abstract
3582 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
3583 into libgdiplus, our private GetFontMetrics function
3584 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
3585 * XplatUIWin32.cs: Implemented GetFontMetrics() method
3587 2004-12-16 Jackson Harper <jackson@ximain.com>
3589 * XplatUIStruct.cs: Add enum for dead keys
3590 * X11Keyboard.cs: Map and unmap dead keys.
3592 2004-12-16 Jackson Harper <jackson@ximian.com>
3594 * X11Keyboard.cs: Detect and use the num lock mask.
3596 2004-12-16 Peter Bartok <pbartok@novell.com>
3598 * Control.cs (CreateGraphics): Added check to make sure the
3599 handle of the window exists before calling Graphics.FromHwnd()
3601 2004-12-16 Peter Bartok <pbartok@novell.com>
3603 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
3604 contains a lot of code that's not supposed to be there for the
3605 real thing, but required for developing/testing the textbox
3608 2004-12-16 Peter Bartok <pbartok@novell.com>
3611 - Fixed Streamline method
3612 - Added FindTag method to Line
3613 - Added DumpTree method for debugging
3614 - Added DecrementLines() method for deleting lines
3615 - Fixed UpdateView to update the cursor to end-of-line on single-line
3617 - Added PositionCaret() method
3618 - Fixed MoveCaret(LineDown) to move into the last line, too
3619 - Added InsertChar overload
3620 - Fixed InsertChar tag offset calculations
3621 - Added DeleteChar() method
3622 - Added Combine() method for folding lines
3623 - Fixed Delete() method, no longer allocates wasted Line object and
3624 now copies all properties when swapping nodes
3625 - Delete() method now updates document line counter
3627 2004-12-15 Jackson Harper <jackson@ximian.com>
3629 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
3630 * X11Keyboard.cs: Expose the currently selected modifier keys
3633 2004-12-15 Peter Bartok <pbartok@novell.com>
3635 * TextControl.cs: Initial check-in. Still incomplete
3637 2004-12-15 Jackson Harper <jackson@ximian.com>
3640 * TreeView.cs: Fix build on csc (second time today ;-))
3642 2004-12-15 Jackson Harper <jackson@ximian.com>
3644 * TreeView.cs: Store the treenodes plus/minus box bounds when it
3645 is calculated and use this for click testing.
3646 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
3648 2004-12-15 Jackson Harper <jackson@ximian.com>
3650 * TreeView.cs: Pass the nodes image index to the image list when
3653 2004-12-15 Jackson Harper <jackson@ximian.com>
3655 * X11Keyboard.cs: Set messages hwnd.
3656 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
3659 2004-12-15 Jackson Harper <jackson@ximian.com>
3661 * X11Keyboard.cs: Fix to compile with csc.
3663 2004-12-15 Jackson Harper <jackson@ximian.com>
3665 * X11Structs.cs: Add key mask values
3666 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
3667 * X11Keyboard.cs: New file - Extrapolates and interpolates key
3668 down/up foo into WM_CHAR foo
3669 * KeyboardLayouts.cs: Common keyboard layouts
3670 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
3671 post messages into the main queue.
3673 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
3675 * Button.cs: implement ProcessMnemonic
3676 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
3678 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
3679 * ButtonBase.cs: Show HotkeyPrefix (not the &)
3681 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
3683 * MonthCalendar.cs: Implemented click-hold for next/previous month
3686 2004-12-11 Peter Bartok <pbartok@novell.com>
3689 - Added XKeyboardState (moved from XplatUIX11.cs)
3690 - Added XCreateGC related enums and structures
3691 - Added GXFunction for XSetFunction
3693 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
3695 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
3696 CaretVisible() calls
3698 * ToolTip.cs: Added code to prevent stealing focus from app windows
3700 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
3701 DestroyCaret, SetCaretPos and CaretVisible)
3704 - Added implementation for caret functions
3705 - Moved hover variables into a struct, to make it a bit easier
3706 on the eyes and to debug
3707 - Removed XKeyboardState (moved to XplatUIX11.cs)
3708 - Moved Keyboard properties into the properties region
3710 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
3711 call to get a graphics context for our control
3713 * XplatUIOSX.cs: Added empty overrides for the new caret functions
3715 * TreeView.cs: Fixed bug. No matter what color was set it would always
3716 return SystemColors.Window
3718 * XplatUIWin32.cs: Implemented caret overrides
3720 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
3722 * ListBox.cs: fire events, implement missing methods and properties,
3725 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
3727 * MonthCalendar.cs: invalidation bug fixing
3728 * ThemeWin32Classic.cs: paint fixing
3730 2004-12-09 Geoff Norton <gnorton@customerdna.com>
3732 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
3733 prepare the CGContextRef there now.
3735 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
3738 - optimisationL only invalidate areas that have changed
3739 * ThemeWin32Classic.cs:
3740 - only paint parts that intersect with clip_area
3742 2004-12-09 Peter Bartok <pbartok@novell.com>
3744 * Application.cs: Undid changes from r37004 which cause problems
3747 2004-12-09 Ravindra <rkumar@novell.com>
3749 * ToolBar.cs: Added support for displaying ContextMenu
3750 attached to a button on ToolBar.
3751 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
3754 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
3756 * Label.cs: autosize works in text change and removes unnecessary
3759 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
3761 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
3764 2004-12-08 Geoff Norton <gnorton@customerdna.com>
3766 * XplatUIOSX.cs: Added mouse move/click/grab support
3767 Remove some debugging WriteLines not needed anymore.
3768 Add window resizing/positioning.
3769 Fix visibility on reparenting.
3771 2004-12-08 Peter Bartok <pbartok@novell.com>
3773 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
3775 2004-12-07 Geoff Norton <gnorton@customerdna.com>
3777 * XplatUIOSX.cs: Initial checkin
3778 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
3780 2004-12-03 Ravindra <rkumar@novell.com>
3782 * ListView.cs: Added some keybindings and fixed scrolling.
3783 ScrollBars listen to ValueChanged event instead of Scroll
3784 Event. This would let us take care of all changes being
3785 done in the scrollbars' values programmatically or manually.
3786 * ListView.cs (CanMultiselect): Added a check for shift key.
3787 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
3788 * ListViewItem.cs (Clone): Fixed. We need to make a copy
3789 of ListViewSubItemCollection as well.
3791 2004-12-06 Peter Bartok <pbartok@novell.com>
3793 * Control.cs (Parent): Added check and exception to prevent
3796 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
3798 * ListBox.cs: implemented clipping, selection single and multiple,
3801 2004-12-03 Ravindra <rkumar@novell.com>
3803 * ListView.cs (ListView_KeyDown):
3804 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
3805 when CTRL key is pressed.
3806 * ListViewItem.cs (Selected): Fixed setting the property.
3808 2004-12-03 Marek Safar <marek.safar@seznam.cz>
3810 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
3812 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
3813 MinimizeBox, ShowInTaskbar, TopMost properties.
3815 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
3816 will be implemented).
3818 2004-12-03 Marek Safar <marek.safar@seznam.cz>
3820 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
3822 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
3825 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
3827 * TreeView.cs: BackColor is Colors.Window.
3829 2004-12-01 Jackson Harper <jackson@ximian.com>
3831 * TreeView.cs: When resizing the tree if the user is making it
3832 smaller we don't get expose events, so we need to handle adding
3833 the horizontal scrollbar in the size changed handler as well as
3836 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
3838 * DrawItemState.cs: fixes wrong enum values
3840 2004-12-01 Jackson Harper <jackson@ximian.com>
3842 * TreeView.cs: Resize the hbar as well as the vbar on resize.
3844 2004-12-01 Jackson Harper <jackson@ximian.com>
3846 * NodeLabelEditEventArgs.cs:
3847 * NodeLabelEditEventHandler.cs:
3848 * OpenTreeNodeEnumerator.cs:
3850 * TreeNodeCollection.cs:
3852 * TreeViewAction.cs:
3853 * TreeViewCancelEventArgs.cs:
3854 * TreeViewCancelEventHandler.cs:
3855 * TreeViewEventArgs.cs:
3856 * TreeViewEventHandler.cs: Initial implementation.
3858 2004-12-01 Ravindra <rkumar@novell.com>
3860 * ListView.cs (CalculateListView): Fixed scrolling related
3861 calculations. Also, removed some debug statements from other
3863 * ListViewItem.cs: Changed access to 'selected' instance variable
3864 from private to internal.
3865 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
3867 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
3869 * ThemeWin32Classic.cs: remove cache of brush and pens for
3870 specific controls and use the global system, fixes scrollbutton
3871 bugs (for small sizes, disabled, etc)
3873 * ScrollBar.cs: does not show the thumb for very small controls
3874 (as MS) and allow smaller buttons that the regular size
3876 2004-12-01 Miguel de Icaza <miguel@ximian.com>
3878 * UpDownBase.cs: Add abstract methods for the interface.
3879 Add new virtual methods (need to be hooked up to TextEntry when it
3881 Add override methods for most features.
3882 Computes the size, forces the height of the text entry.
3884 * NumericUpDown.cs: Put here the current testing code.
3886 * Set eol-style property on all files that do not have mixed line
3887 endings, to minimize the future problems. There are still a few
3888 files with mixed endings, and someone should choose whether they
3889 want to move it or not.
3891 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
3893 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
3896 2004-11-30 Ravindra <rkumar@novell.com>
3898 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
3899 drawing and replaced use of SystemColors by theme colors.
3900 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
3901 * ListView.cs (ListViewItemCollection.Add): Throw exception when
3902 same ListViewItem is being added more than once.
3904 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
3907 - ControlStyles love to make the control not flicker
3909 2004-11-30 Peter Bartok <pbartok@novell.com>
3911 * CharacterCasing.cs: Added
3913 2004-11-29 Peter Bartok <pbartok@novell.com>
3915 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
3916 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
3917 I am removing these files as they conflict with already completed
3918 work. While it is fantastic to get contributions to MWF, I
3919 respectfully ask that everyone please coordinate their contributions
3920 through mono-winforms-list or #mono-winforms at this time. We're
3921 explicitly avoiding stubbing and don't want controls that don't have
3922 their basic functionality implemented in svn. Please also see
3923 http://www.mono-project.com/contributing/winforms.html
3926 2004-11-29 Marek Safar <marek.safar@seznam.cz>
3928 * Application.cs (ModalRun): Don't hang after exit.
3930 * Theme.cs: New TreeViewDefaultSize property.
3932 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
3933 with less hardcoded SystemColors constant.
3934 Implemented TreeViewDefaultSize.
3936 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
3937 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
3940 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
3943 - Fix NextMonthDate and PrevMonthDate click moving calendar
3945 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
3948 - Fix usage of ScrollChange Property when scrolling months
3950 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
3952 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
3953 - Fixes menu destroying
3954 - Support adding and removing items on already created menus
3956 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
3959 - Re-worked all bolded dates handling to match win32
3960 * ThemeWin32Classic.cs:
3961 - Fixed rendering with bolded dates
3963 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
3965 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
3966 - Horizontal scroolbar
3971 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
3974 - Fix Usage of MaxSelectionCount from SelectionRange
3975 - Fixed Shift + Cursor Selection
3976 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
3977 - Fixed normal cursor selection to be compat with win32
3978 - Fixed Shift + Mouse Click selection
3980 2004-11-24 Peter Bartok <pbartok@novell.com>
3982 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
3983 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
3985 - CreatedKeyBoardMsg now updates keystate with Alt key
3986 - Added workaround for timer crash to CheckTimers, Jackson will
3987 develop a proper fix and check in later
3988 - Implemented DispatchMessage
3989 - Removed calling the native window proc from GetMessage (call
3990 now moved to DispatchMessage)
3992 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
3993 the keydata (Fixes bug #69831)
3996 - (DispatchMessage): Switched to return IntPtr
3997 - Added DllImport for SetFocus
3999 2004-11-24 Ravindra <rkumar@novell.com>
4001 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
4003 * ListViewItem.cs: Fixed various properties, calculations
4004 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
4005 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
4006 and some internal properties. Fixed MouseDown handler and Paint
4009 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
4011 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
4013 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
4015 * ContainerControl.cs: correct accidental check in of local changes
4017 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
4019 * ThemeWin32Classic.cs:
4020 - Fixed Drawing Last month in grid (sometimes not showing)
4022 - Fixed title width calculation bug (makeing title small)
4024 2004-11-23 Peter Bartok <pbartok@novell.com>
4027 - Added generation of WM_MOUSEHOVER event
4028 - Added missing assignment of async_method atom
4029 - Fixed WM_ERASEBKGND; now only redraws the exposed area
4031 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
4033 * ThemeWin32Classic.cs:
4034 - Fixed Drawing of today circle when showtodaycircle not set
4035 - fixed drawing of first and last month in the grid (gay dates)
4037 - Fixed Drawing of today circle
4038 - Fixed drawing of grady dates
4039 - Fixed HitTest for today link when ShowToday set to false
4040 - Fixed DefaultSize to obey ShowToday
4042 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
4044 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
4045 * System.Windows.Forms/Theme.cs
4046 * MonthCalendar.cs: added for MonthCalendar
4047 * SelectionRange.cs: added for MonthCalendar
4048 * Day.cs: added for MonthCalendar: added for MonthCalendar
4049 * DateRangeEventArgs.cs: added for MonthCalendar
4050 * DateRangeEventHandler.cs: added for MonthCalendar
4052 2004-11-22 Ravindra <rkumar@novell.com>
4054 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
4057 2004-11-22 Miguel de Icaza <miguel@ximian.com>
4059 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
4062 * NumericUpDown.cs: Added new implementation.
4063 * UpDownBase.cs: Added new implementation.
4065 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
4068 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
4071 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
4074 2004-11-21 Miguel de Icaza <miguel@ximian.com>
4076 * Timer.cs (Dispose): Should call the base dispose when
4079 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
4081 * ScrollBar.cs: updates thumb position when max, min or increment
4084 2004-11-21 Ravindra <rkumar@novell.com>
4086 * ListView.cs: Implemented item selection, activation and
4087 column header style. Fixed properties to do a redraw, if
4088 required. Added support for MouseHover, DoubleClick, KeyDown
4089 and KeyUp event handling and some minor fixes.
4090 * ListViewItem.cs: Fixed constructor.
4091 * ThemeWin32Classic.cs: Improved drawing for ListView.
4093 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
4095 * ThemeWin32Classic.cs: initial listbox drawing code
4096 * DrawMode.cs: new enumerator
4097 * ListControl.cs: stubbed class
4098 * ListBox.cs: initial implementation
4099 * Theme.cs: new methods definitions
4100 * SelectionMode.cs: new enumerator
4102 2004-11-17 Peter Bartok <pbartok@novell.com>
4104 * XplatUIWin32.cs: Added double-click events to the class style
4105 * Control.cs (WndProc):
4106 - Added handling of click-count to MouseDown/ MouseUp events.
4107 - Added handling of middle and right mouse buttons
4108 - Removed old debug code
4110 2004-11-17 Jackson Harper <jackson@ximian.com>
4112 * XplatUIX11.cs: Use the new Mono.Unix namespace.
4114 2004-11-17 Ravindra <rkumar@novell.com>
4116 * ListView.cs: Added event handling for MouseMove/Up/Down.
4117 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
4118 * ThemeWin32Classic.cs: We need to clear the graphics context and
4119 draw column header in a proper state.
4122 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
4124 * Menu.cs: fixes signature
4126 2004-11-16 Peter Bartok <pbartok@novell.com>
4128 * XplatUIX11.cs (GetMessage): Implemented generation of
4129 double click mouse messages
4131 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
4133 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
4136 2004-11-11 Peter Bartok <pbartok@novell.com>
4138 * HandleData.cs: Added Visible property
4139 * XplatUIX11.cs (IsVisible): Now uses Visible property from
4141 * XplatUIX11.cs: Removed old debug leftovers
4142 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
4143 * Control.cs (WndProc): Removed old debug leftovers,
4144 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
4145 needed WM_SIZE handling
4147 2004-11-11 Jackson Harper <jackson@ximian.com>
4149 * OwnerDrawPropertyBag.cs:
4150 * TreeViewImageIndexConverter.cs: Initial implementation
4152 2004-11-10 Jackson Harper <jackson@ximian.com>
4154 * ThemeWin32Classic.cs:
4155 * TabControl.cs: instead of moving tabs by the slider pos just
4156 start drawing at the tab that is offset by the slider. This way
4157 scrolling always moves by exactly one tab.
4159 2004-11-10 Jackson Harper <jackson@ximian.com>
4161 * TabControl.cs: You can only scroll left when the slider has
4162 already ben moved right.
4164 2004-11-10 Jackson Harper <jackson@ximian.com>
4166 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
4169 2004-11-10 Jackson Harper <jackson@ximian.com>
4171 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
4174 2004-11-09 Jackson Harper <jackson@ximian.com>
4176 * TabControl.cs (CalcXPos): New helper method so we can determine
4177 the proper place to start drawing vertical tabs.
4178 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
4180 2004-11-09 Jackson Harper <jackson@ximian.com>
4182 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
4183 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
4184 and Bottom, left and right are illegal values for this and
4185 multiline is enabled when the alignment is set to left or right.
4186 (DrawTab): Each alignment block should draw the text itself now
4187 because Left requires special love. Also add rendering for Left
4190 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
4192 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
4193 does not destroy the windows, removes debugging messages
4195 2004-11-09 jba <jba-mono@optusnet.com.au>
4197 * ThemeWin32Classic.cs
4198 (DrawButtonBase): Fix verticle text rect clipping in windows
4199 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
4200 rendering and incorrect text rect clipping
4201 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
4202 rendering and incorrect text rect clipping
4204 2004-11-08 Jackson Harper <jackson@ximian.com>
4206 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
4207 bottom when they are bottom aligned so the bottoms of the tabs get
4209 * TabControl.cs (DropRow): Move rows up instead of down when the
4210 tab control is bottom aligned.
4212 2004-11-08 13:59 pbartok
4215 - Added handling for various window styles
4216 - Added handling for popup windows
4217 - Added SetTopmost handling
4219 2004-11-08 13:55 pbartok
4222 - Added argument to SetTopmost method
4223 - Fixed broken ClientToScreen function
4225 2004-11-08 13:53 pbartok
4227 * XplatUIStructs.cs:
4228 - Added missing WS_EX styles
4230 2004-11-08 13:53 pbartok
4232 * XplatUI.cs, XplatUIDriver.cs:
4233 - Added argument to SetTopmost
4235 2004-11-08 13:52 pbartok
4238 - Added XSetWindowAttributes structure
4239 - Improved XWindowAttributes structure
4240 - Added SetWindowValuemask enum
4241 - Added window creation arguments enum
4242 - Added gravity enum
4243 - Added Motif hints structure
4244 - Added various Motif flags and enums
4245 - Added PropertyMode enum for property functions
4247 2004-11-08 13:50 pbartok
4250 - Fixed arguments for updated SetTopmost method
4252 2004-11-08 13:49 pbartok
4255 - Fixed arguments for updated SetTopmost function
4256 - Fixed usage of PointToClient
4258 2004-11-08 13:44 pbartok
4261 - Added Clipping of children and siblings
4263 2004-11-08 13:41 pbartok
4266 - Removed SetMenuBarWindow call. We do this in Form.cs
4268 2004-11-08 13:40 jackson
4270 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
4271 scrolling jimmi in the correct location with bottom aligned tabs
4273 2004-11-08 13:36 pbartok
4275 * ContainerControl.cs:
4276 - Implemented BindingContext
4277 - Implemented ParentForm
4279 2004-11-08 12:46 jackson
4281 * TabControl.cs: Put bottom rendered tabs in the right location
4283 2004-11-08 07:15 jordi
4285 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
4288 2004-11-05 17:30 jackson
4290 * TabControl.cs: When selected tabs are expanded make sure they
4291 don't go beyond the edges of the tab control
4293 2004-11-05 14:57 jackson
4295 * TabControl.cs: Reset show_slider so if the control is resized to
4296 a size where it is no longer needed it's not displayed anymore
4298 2004-11-05 13:16 jackson
4300 * TabControl.cs: Make tab pages non visible when added to the
4303 2004-11-05 12:42 jackson
4305 * TabControl.cs: Implement SizeMode.FillToRight
4307 2004-11-05 12:16 jackson
4309 * Control.cs: Do not call CreateHandle if the handle is already
4312 2004-11-05 11:46 jackson
4314 * TabControl.cs: Remove superflous call to CalcTabRows
4316 2004-11-05 09:07 jackson
4318 * XplatUIX11.cs: Update for Mono.Posix changes
4320 2004-11-05 07:00 ravindra
4322 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
4325 2004-11-04 22:47 jba
4327 * ThemeWin32Classic.cs:
4328 - Fix Button rendering for FlatStyle = Flat or Popup
4329 - Fix RadioButton and CheckBox rendering when Appearance = Button
4330 (normal and flatstyle).
4331 - Correct outer rectangle color when drawing focus rectangle
4332 - Adjust button bounds to be 1 px smaller when focused
4333 - Make button not draw sunken 3d border when pushed (windows compat)
4334 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
4335 - Offset the text in RadioButton and Checkbox when being rendered as
4337 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
4339 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
4340 - Fixed disabled text rendering for normally rendered radiobuttons
4342 2004-11-04 10:26 jackson
4344 * TabControl.cs: Recalculate tab rows when resizing
4346 2004-11-04 07:47 jordi
4348 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
4349 collection completion, drawing issues, missing features
4351 2004-11-04 05:03 ravindra
4354 - We need to recalculate the Thumb area when
4355 LargeChange/maximum/minimum values are changed.
4356 - We set the 'pos' in UpdatePos() method to minimum, if it's less
4357 than minimum. This is required to handle the case if large_change is
4358 more than max, and use LargeChange property instead of large_change
4360 - We return max+1 when large_change is more than max, like MS does.
4362 2004-11-04 04:29 ravindra
4364 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
4365 - Changed default value signatures (prefixed all with ListView).
4366 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
4368 - Fixed calculations for ListViewItem and implemented Clone()
4371 2004-11-04 04:26 ravindra
4373 * Theme.cs, ThemeWin32Classic.cs:
4374 - Changed default ListView values signatures (prefixed all with
4376 - Fixed default size values for VScrollBar and HScrollBar.
4377 - Fixed DrawListViewItem method.
4379 2004-11-04 04:05 ravindra
4381 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
4383 2004-11-04 04:04 ravindra
4385 * ImageList.cs: Implemented the missing overload for Draw method.
4387 2004-11-03 19:29 jackson
4389 * TabControl.cs: Handle dropping rows on selection properly
4391 2004-11-03 11:59 jackson
4393 * TabControl.cs: remove debug code
4395 2004-11-03 11:52 jackson
4397 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
4398 the scrolly widgerywoo
4400 2004-11-02 13:52 jackson
4402 * TabControl.cs: Resize the tab pages and tabs when the tab control
4405 2004-11-02 13:40 jackson
4407 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
4408 selected tab to the bottom
4410 2004-11-02 13:39 jackson
4412 * TabPage.cs: Store the tab pages row
4414 2004-11-02 12:33 jordi
4416 * MenuItem.cs: fixes handle creation
4418 2004-11-02 11:42 jackson
4420 * TabControl.cs: signature fix
4422 2004-11-02 08:56 jackson
4424 * TabControl.cs: Calculate whether the tab is on an edge properly.
4425 Remove top secret debugging code
4427 2004-11-01 19:57 jackson
4429 * TabControl.cs: Add click handling, and proper sizing
4431 2004-11-01 19:47 jackson
4433 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
4436 2004-11-01 19:39 jackson
4438 * TabPage.cs: add internal property to store the bounds of a tab
4441 2004-10-30 04:23 ravindra
4443 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
4446 2004-10-30 04:21 ravindra
4448 * ListView.cs, ListViewItem.cs: Added support for scrolling and
4451 2004-10-30 03:06 pbartok
4454 - Removed extension of DllImported libs
4456 2004-10-29 09:55 jordi
4458 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
4459 navigation, itemcollection completion, menu fixes
4461 2004-10-27 22:58 pbartok
4464 - Now throws a nice error message when no X display could be opened
4466 2004-10-26 13:51 jordi
4468 * ListView.cs: removes warning
4470 2004-10-26 03:55 ravindra
4472 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
4473 ThemeWin32Classic.cs: Some formatting for my last checkins.
4475 2004-10-26 03:36 ravindra
4477 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
4478 control and default values.
4480 2004-10-26 03:35 ravindra
4482 * Theme.cs: Added some default values for ListView control.
4484 2004-10-26 03:33 ravindra
4486 * ToolBar.cs: ToolBar should use the user specified button size, if
4487 there is any. Added a size_specified flag for the same.
4489 2004-10-26 03:33 ravindra
4491 * ColumnHeader.cs: Added some internal members and calculations for
4494 2004-10-26 03:32 ravindra
4496 * ListViewItem.cs: Calculations for ListViewItem.
4498 2004-10-26 03:31 ravindra
4500 * ListView.cs: Added some internal members and calculations for
4503 2004-10-22 13:31 jordi
4505 * MenuAPI.cs: speedup menus drawing
4507 2004-10-22 13:16 jackson
4509 * XplatUIX11.cs: Make sure to update exposed regions when adding an
4512 2004-10-22 11:49 jackson
4516 2004-10-22 11:41 jackson
4518 * Control.cs: Check to see if the window should have its background
4519 repainted by X when drawing.
4521 2004-10-22 11:31 jackson
4523 * XplatUIX11.cs: When invalidating areas only use XClearArea if
4524 clear is true, this way we do not get flicker from X repainting the
4527 2004-10-22 11:28 jackson
4529 * XEventQueue.cs: Queue properly
4531 2004-10-21 09:38 jackson
4533 * XEventQueue.cs: Fix access modifier
4535 2004-10-21 09:36 jackson
4537 * XEventQueue.cs: Don't loose messages
4539 2004-10-21 09:22 jackson
4541 * XEventQueue.cs: Don't loose messages
4543 2004-10-20 04:15 jordi
4545 * BootMode.cs: enum need it by SystemInfo
4547 2004-10-19 21:58 pbartok
4550 - Small sanity check
4552 2004-10-19 21:56 pbartok
4555 - Added private FormParentWindow class which acts as the container
4556 for our form and as the non-client area where menus are drawn
4557 - Added/Moved required tie-ins to Jordi's menus
4558 - Fixed/Implemented the FormStartPosition functionality
4560 2004-10-19 21:52 pbartok
4563 - Removed unneeded locals
4564 - Added code to all size and location properties to understand and
4565 deal with the parent container of Form
4567 2004-10-19 21:33 pbartok
4570 - Fixed to deal with new Form subclasses for menus
4572 2004-10-19 17:48 jackson
4574 * XEventQueue.cs: commit correct version of file
4576 2004-10-19 16:50 jackson
4578 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
4580 2004-10-19 16:15 jordi
4582 * MenuAPI.cs: MenuBarCalcSize returns the height
4584 2004-10-19 08:31 pbartok
4587 - Added missing call to PreProcessMessage before calling OnXXXKey
4590 2004-10-19 00:04 ravindra
4592 * ToolTip.cs: Fixed constructor.
4594 2004-10-18 09:31 jordi
4596 * MenuAPI.cs: menuitems in menubars do not have shortcuts
4598 2004-10-18 09:26 jordi
4600 * MenuItem.cs: fixes MenuItem class signature
4602 2004-10-18 08:56 jordi
4604 * MenuAPI.cs: prevents windows from showing in the taskbar
4606 2004-10-18 00:28 ravindra
4608 * ToolTip.cs: Suppressed a warning message.
4610 2004-10-18 00:27 ravindra
4612 * Control.cs: Default value of visible property must be true.
4614 2004-10-17 23:19 pbartok
4617 - Complete implementation
4619 2004-10-17 23:19 pbartok
4622 - Added EnableWindow method
4623 - Added SetModal stub
4624 - Added generation of WM_ACTIVATE message (still needs testing)
4625 - Added SetTopMost stub
4626 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
4628 2004-10-17 23:17 pbartok
4631 - Removed VirtualKeys to XplatUIStructs
4632 - Implemented SetTopMost method
4633 - Implemented EnableWindow method
4634 - Bugfix in ScreenToClient()
4635 - Bugfixes in ClientToScreen()
4637 2004-10-17 22:51 pbartok
4639 * XplatUIStructs.cs:
4640 - Added WS_EX styles to WindowStyles enumeration
4642 2004-10-17 22:50 pbartok
4644 * XplatUI.cs, XplatUIDriver.cs:
4645 - Added method for enabling/disabling windows
4646 - Added method for setting window modality
4647 - Added method for setting topmost window
4649 2004-10-17 22:49 pbartok
4651 * ThemeWin32Classic.cs:
4652 - Added ToolTip drawing code
4654 2004-10-17 22:49 pbartok
4657 - Added ToolTip abstracts
4659 2004-10-17 22:47 pbartok
4662 - Fixed Form.ControlCollection to handle owner relations
4663 - Added Owner/OwnedForms handling
4664 - Implemented Z-Ordering for owned forms
4665 - Removed unneeded private overload of ShowDialog
4666 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
4668 - Fixed Close(), had wrong default
4669 - Added firing of OnLoad event
4670 - Added some commented out debug code for Ownership handling
4672 2004-10-17 22:16 pbartok
4675 - Fixed/implemented flat list of controls
4677 2004-10-17 22:14 pbartok
4680 - Added code to simulate modal dialogs on Win32
4682 2004-10-17 16:11 jordi
4684 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
4687 2004-10-17 13:39 jordi
4689 * MenuAPI.cs: menu drawing fixes
4691 2004-10-15 09:10 ravindra
4693 * StructFormat.cs: General Enum.
4695 2004-10-15 09:09 ravindra
4697 * SizeGripStyle.cs: Enum for Form.
4699 2004-10-15 09:08 ravindra
4701 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
4702 in Theme for ListView.
4704 2004-10-15 09:06 ravindra
4706 * ColumnHeader.cs: Flushing some formatting changes.
4708 2004-10-15 09:05 ravindra
4710 * ListViewItem.cs: Implemented GetBounds method and fixed coding
4713 2004-10-15 09:03 ravindra
4715 * ListView.cs: Implemented Paint method and fixed coding style.
4717 2004-10-15 07:34 jordi
4719 * MenuAPI.cs: fix for X11
4721 2004-10-15 07:32 ravindra
4723 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
4724 - Renamed Paint() method to Draw() for clarity. Also, moved
4725 DrawImage() to OnPaint().
4727 2004-10-15 07:25 ravindra
4729 * CheckBox.cs, RadioButton.cs:
4730 - Removed Redraw (), we get it from ButtonBase.
4731 - Implemented Paint (), to do class specific painting.
4733 2004-10-15 07:16 ravindra
4736 - Redraw () is not virtual now.
4737 - Added an internal virtual method Paint (), so that
4738 derived classes can do their painting on their own.
4739 - Modified OnPaint () to call Paint ().
4741 2004-10-15 06:43 jordi
4743 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
4744 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
4746 2004-10-15 00:30 ravindra
4749 - MessageBox on windows does not have min/max buttons.
4750 This change in CreateParams fixes this on Windows. We
4751 still need to implement this windowstyle behavior in
4754 2004-10-14 05:14 ravindra
4757 - Changed Redraw () to do a Refresh () always.
4758 - Fixed the MouseMove event handling when mouse is pressed,
4759 ie drag event handling.
4760 - Replaced the usage of ToolBarButton.Pressed property to
4761 ToolBarButton.pressed internal variable.
4763 2004-10-14 05:10 ravindra
4766 - Added an internal member 'inside' to handle mouse move
4767 with mouse pressed ie mouse drag event.
4768 - Changed 'Pressed' property to return true only when
4769 'inside' and 'pressed' are both true.
4770 - Some coding style love.
4772 2004-10-14 00:17 ravindra
4774 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
4777 2004-10-14 00:15 ravindra
4779 * ButtonBase.cs: Redraw () related improvements.
4781 2004-10-14 00:14 ravindra
4783 * MessageBox.cs: Moved InitFormSize () out of Paint method and
4784 removed unnecessary calls to Button.Show () method.
4786 2004-10-13 17:50 pbartok
4790 - Removed destroying of window until we solve the problem of X
4791 destroying the window before us on shutdown
4793 2004-10-13 16:32 pbartok
4796 - Now Redraws on MouseUp for FlatStyle Flat and Popup
4798 2004-10-13 14:18 pbartok
4801 - Added code to destroy the X window
4803 2004-10-13 14:18 pbartok
4806 - Added code to destroy a window
4808 2004-10-13 14:12 pbartok
4811 - Added the Redraw on Resize that got dropped in the last rev
4813 2004-10-13 09:06 pbartok
4815 * ThemeWin32Classic.cs:
4816 - Path from John BouAntoun:
4817 * Fix check rendering (centre correctly for normal style, offset
4818 correctly for FlatStyle).
4819 * Fix border color usage (use backcolor) for FlatStyle.Popup
4820 * Use checkbox.Capture instead of checkbox.is_pressed when
4821 rendering flatstyle states.
4823 2004-10-12 21:48 pbartok
4825 * ThemeWin32Classic.cs:
4826 - Removed all occurences of SystemColors and replaced them with the
4827 matching theme color
4829 2004-10-12 21:41 pbartok
4831 * ThemeWin32Classic.cs:
4832 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
4833 him using the function for flatstyle drawing
4834 - Changed functions to use the new version of CPDrawBorder3D
4836 2004-10-12 21:15 pbartok
4839 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
4840 match MS documentation. They need to return defined colors if the
4841 passed color matches the configured control color. Thanks to John
4842 BouAntoun for pointing this out.
4844 2004-10-12 20:57 pbartok
4847 - Fix from John BouAntoun: Raise ForeColorChanged event when text
4850 2004-10-12 20:46 pbartok
4853 - Fix from John BouAntoun: Now properly sets the Appearance property
4855 2004-10-12 20:45 pbartok
4857 * ThemeWin32Classic.cs:
4858 - Fixes from John BouAntoun: now handles forecolors and backcolors
4859 for flatstyle rendered controls much better; It also fixes normal
4860 checkbox rendering when pushed or disabled.
4862 2004-10-08 02:50 jordi
4864 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
4867 2004-10-07 08:56 jordi
4869 * ThemeWin32Classic.cs: Removes deletion of cached brushes
4871 2004-10-06 03:59 jordi
4873 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
4874 XplatUIWin32.cs: removes warnings from compilation
4876 2004-10-05 12:23 jackson
4878 * RadioButton.cs: Fix ctor
4880 2004-10-05 11:10 pbartok
4883 - Partial implementation by Benjamin Dasnois
4885 2004-10-05 10:15 jackson
4887 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
4890 2004-10-05 03:07 ravindra
4893 - Removed a private method, Draw ().
4894 - Fixed the ButtonDropDown event handling.
4895 - Fixed MouseMove event handling.
4897 2004-10-05 03:04 ravindra
4899 * ThemeWin32Classic.cs:
4900 - Added DrawListView method and ListViewDefaultSize property.
4901 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
4902 - Changed DOS style CRLF to Unix format (dos2unix).
4904 2004-10-05 03:03 ravindra
4907 - Added DrawListView method and ListViewDefaultSize property.
4909 2004-10-05 02:42 ravindra
4911 * ToolBarButton.cs: Added an internal member dd_pressed to handle
4912 clicks on DropDown arrow.
4914 2004-10-04 22:56 jackson
4916 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
4917 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
4918 Control handle the buffers, derived classes should not have to
4919 CreateBuffers themselves.
4921 2004-10-04 21:20 jackson
4923 * StatusBar.cs: The control handles resizing the buffers now.
4925 2004-10-04 21:18 jackson
4927 * Control.cs: When resizing the buffers should be invalidated. This
4928 should be handled in Control not in derived classes.
4930 2004-10-04 14:45 jackson
4934 2004-10-04 02:14 pbartok
4936 * LeftRightAlignment.cs:
4939 2004-10-04 01:09 jordi
4941 * ThemeWin32Classic.cs: fixes right button position causing right
4942 button not showing on horizontal scrollbars
4944 2004-10-02 13:12 pbartok
4947 - Simplified the Invalidate method by using an X call instead of
4948 generating the expose ourselves
4949 - Added an expose when the window background is changed
4950 - Implemented ClientToScreen method
4952 2004-10-02 13:08 pbartok
4955 - Added Win32EnableWindow method (test for implementing modal
4957 - Added ClientToScreen method and imports
4959 2004-10-02 13:07 pbartok
4961 * XplatUI.cs, XplatUIDriver.cs:
4962 - Added ClientToScreen coordinate translation method
4964 2004-10-02 13:06 pbartok
4966 * KeyPressEventArgs.cs:
4967 - Fixed access level for constructor
4969 2004-10-02 13:06 pbartok
4972 - Changed access level for the window_collection hash table
4974 2004-10-02 13:05 pbartok
4977 - Added KeyPreview property
4978 - Added Menu property (still incomplete, pending Jordi's menu work)
4979 - Implemented ProcessCmdKey
4980 - Implemented ProcessDialogKey
4981 - Implemented ProcessKeyPreview
4983 2004-10-02 13:02 pbartok
4986 - Added private method to get the Control object from the window
4988 - Implemented ContextMenu property
4989 - Implemented PointToScreen
4990 - Implemented PreProcessMessage
4991 - Implemented IsInputChar
4992 - Implemented IsInputKey
4993 - Implemented ProcessCmdKey
4994 - Completed ProcessKeyEventArgs
4995 - Fixed message loop to call the proper chain of functions on key
4997 - Implemented ProcessDialogChar
4998 - Implemented ProcessDialogKey
4999 - Implemented ProcessKeyMessage
5000 - Implemented ProcessKeyPreview
5001 - Added RaiseDragEvent stub (MS internal method)
5002 - Added RaiseKeyEvent stub (MS internal method)
5003 - Added RaiseMouseEvent stub (MS Internal method)
5004 - Added RaisePaintEvent stub (MS Internal method)
5005 - Added ResetMouseEventArgs stub (MS Internal method)
5006 - Implemented RtlTranslateAlignment
5007 - Implemented RtlTranslateContent
5008 - Implemented RtlTranslateHorizontal
5009 - Implemented RtlTranslateLeftRight
5010 - Added generation of KeyPress event
5012 2004-10-02 05:57 ravindra
5014 * ListViewItem.cs: Added attributes.
5016 2004-10-02 05:32 ravindra
5018 * ListView.cs: Added attributes.
5020 2004-10-01 11:53 jackson
5022 * Form.cs: Implement the Close method so work on MessageBox can
5025 2004-09-30 14:06 pbartok
5030 2004-09-30 11:34 jackson
5032 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
5034 2004-09-30 07:26 ravindra
5036 * ListViewItemConverter.cs: Converter for ListViewItem.
5038 2004-09-30 07:26 ravindra
5040 * SortOrder.cs: Enum for ListView control.
5042 2004-09-30 07:25 ravindra
5044 * ColumnHeader.cs: Supporting class for ListView control.
5046 2004-09-30 07:24 ravindra
5048 * ListView.cs, ListViewItem.cs: Initial implementation.
5050 2004-09-30 07:20 ravindra
5052 * ItemActivation.cs: Enum for ListView Control.
5054 2004-09-29 20:29 pbartok
5057 - Added lookup of pixel value for background color; tries to get a
5058 color 'close' to the requested color, it avoids having to create a
5059 colormap. Depending on the display this could mean the used color
5060 is slightly off the desired color. Might have to change it to a more
5061 resource intensive colormap approach, but it will work as a
5062 workaround to avoid red screens.
5064 2004-09-29 14:27 jackson
5066 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
5068 2004-09-28 12:44 pbartok
5070 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
5071 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
5072 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
5073 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
5074 TrackBar.cs, VScrollBar.cs:
5075 - Streamlined Theme interfaces:
5076 * Each DrawXXX method for a control now is passed the object for
5077 the control to be drawn in order to allow accessing any state the
5080 * ControlPaint methods for the theme now have a CP prefix to avoid
5081 name clashes with the Draw methods for controls
5083 * Every control now retrieves it's DefaultSize from the current
5086 2004-09-28 12:17 jackson
5088 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
5091 2004-09-24 14:57 jackson
5093 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
5094 Gives us a nice little performance boost.
5096 2004-09-24 12:02 jackson
5098 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
5099 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
5100 Control and supporting classes. Initial checkin
5102 2004-09-23 13:08 jackson
5104 * Form.cs: Temp build fixage
5106 2004-09-23 01:39 ravindra
5108 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
5109 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
5110 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
5111 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
5112 EventHandlers needed by ListView Control.
5114 2004-09-22 14:12 pbartok
5116 * ScrollableControl.cs:
5117 - Implemented DockPadding property
5118 - Implemented AutoScroll property
5119 - Implemented AutoScrollMargin property
5120 - Implemented AutoScrollMinSize property
5121 - Implemented AutoScrollPosition property
5122 - Implemented DisplayRectangle property (still incomplete)
5123 - Implemented CreateParams property
5124 - Implemented HScroll property
5125 - Implemented VScroll property
5126 - Implemented OnVisibleChanged property
5128 2004-09-22 14:09 pbartok
5131 - Added Form.ControllCollection class
5132 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
5133 RemoveOwnedForm (still incomplete, missing on-top and common
5134 minimize/maximize behaviour)
5135 - Added StartPosition property (still incomplete, does not use when
5137 - Added ShowDialog() methods (still incomplete, missing forcing the
5140 2004-09-22 14:05 pbartok
5143 - Added message loop for modal dialogs
5145 2004-09-22 14:02 pbartok
5148 - Fixed wrong types for events
5150 2004-09-22 14:00 pbartok
5152 * Shortcut.cs, FormWindowState.cs:
5153 - Fixed wrong values
5155 2004-09-22 12:01 jackson
5157 * Control.cs: Text is never null
5159 2004-09-20 22:14 pbartok
5162 - Fixed accessibility level for Idle handler
5164 2004-09-20 18:54 jackson
5166 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
5167 XplatUIX11.cs: New message loop that uses poll so we don't get a
5170 2004-09-17 10:43 pbartok
5173 - Fixed behaviour of arrow buttons. Now properly behaves like
5174 Buttons (and like Microsoft's scrollbar arrow buttons)
5176 2004-09-17 10:14 pbartok
5179 - Added missing release of keyboard/mouse capture
5181 2004-09-17 06:18 jordi
5183 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
5184 Theme.cs: Very early menu support
5186 2004-09-16 17:45 pbartok
5189 - Fixed sending a window to the front
5190 - Added overload for SetWindowPos to avoid casting
5192 2004-09-16 17:44 pbartok
5195 - Added SendToBack and BringToFront methods
5197 2004-09-16 07:00 ravindra
5199 * Copyright: Added Novell URL.
5201 2004-09-16 07:00 ravindra
5203 * ToolBar.cs: Invalidate should be done before redrawing.
5205 2004-09-15 21:19 ravindra
5207 * ColumnHeaderStyle.cs: Enum for ListView Control.
5209 2004-09-15 21:18 ravindra
5211 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
5214 2004-09-13 18:26 jackson
5216 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
5219 2004-09-13 18:13 jackson
5221 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
5222 a second thread and post messages into the main threads message
5223 queue. This makes timing much more consistent. Both win2K and XP
5224 have a minimum timer value of 15 milliseconds, so we now do this
5227 2004-09-13 15:18 pbartok
5229 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
5231 - Added Z-Ordering methods
5233 2004-09-13 10:56 pbartok
5236 - Fixed #region names
5237 - Moved properties and methods into their proper #regions
5239 2004-09-13 10:51 pbartok
5242 - Added Accept and CancelButton properties
5243 - Added ProcessDialogKey() method
5245 2004-09-13 08:18 pbartok
5250 2004-09-10 21:50 pbartok
5253 - Added DoDragDrop() [incomplete]
5254 - Properly implemented 'Visible' handling
5255 - Added SetVisibleCore()
5256 - Implemented FindChildAtPoint()
5257 - Implemented GetContainerControl()
5258 - Implemented Hide()
5260 2004-09-10 19:28 pbartok
5263 - Moved methods into their appropriate #regions
5264 - Reordered methods within regions alphabetically
5266 2004-09-10 18:57 pbartok
5268 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
5269 - Added method to retrieve text from window
5271 2004-09-10 18:56 pbartok
5274 - Moved some internal functions into the internal region
5275 - Implemented FontHeight
5276 - Implemented RenderRightToLeft
5277 - Implemented ResizeRedraw
5278 - Implemented ShowFocusCues
5279 - Implemented ShowKeyboardCues
5280 - Implemented FromChildHandle
5281 - Implemented FromHandle
5282 - Implemented IsMnemonic
5283 - Implemented ReflectMessage
5284 - All public and protected Static Methods are now complete
5286 2004-09-10 16:54 pbartok
5289 - Implemented remaining missing public instance properties
5290 - Alphabetized some out of order properties
5292 2004-09-10 05:51 ravindra
5294 * PictureBox.cs: Added a check for null image.
5296 2004-09-10 00:59 jordi
5298 * GroupBox.cs: remove cvs tag
5300 2004-09-09 05:25 ravindra
5302 * ToolBar.cs: Make redraw accessible from ToolBarButton.
5304 2004-09-09 05:23 ravindra
5306 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
5309 2004-09-09 02:28 pbartok
5311 * ThemeWin32Classic.cs:
5312 - Improve disabled string look
5314 2004-09-09 01:15 jordi
5316 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
5319 2004-09-08 23:56 ravindra
5321 * ItemBoundsPortion.cs: It's enum, not a class!
5323 2004-09-08 23:47 ravindra
5325 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
5328 2004-09-08 21:13 ravindra
5330 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
5333 2004-09-08 21:03 ravindra
5335 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
5338 2004-09-08 21:01 ravindra
5340 * ScrollableControl.cs: Removed unreachable code.
5342 2004-09-08 06:45 jordi
5344 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
5346 2004-09-08 01:00 jackson
5348 * XplatUIX11.cs: Only run the timers when updating the message
5349 queue. This effectively gives X messages a higher priority then
5350 timer messages. Timers still need love though
5352 2004-09-07 14:01 jackson
5354 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
5355 this for us and the handle is no longer valid.
5357 2004-09-07 13:59 jackson
5359 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
5360 loop that manages to not crash. TODO: Add poll and cleanup timers
5362 2004-09-07 11:12 jordi
5364 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
5366 2004-09-07 03:40 jordi
5368 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
5369 fixes, methods, multiple links
5371 2004-09-06 06:55 jordi
5373 * Control.cs: Caches ClientRectangle rectangle value
5375 2004-09-05 02:03 jordi
5377 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
5380 2004-09-04 11:10 jordi
5382 * Label.cs: Refresh when font changed
5384 2004-09-02 16:24 pbartok
5387 - Added sanity check to creation of double buffer bitmap
5389 2004-09-02 16:24 pbartok
5392 - Fixed selection of text color
5393 - Fixed handling of resize event; now properly recreates double
5395 - Added missing assignment of TextAlignment
5396 - Added proper default for TextAlignment
5398 2004-09-02 14:26 pbartok
5401 - Added missing RadioButton.RadioButtonAccessibleObject class
5403 2004-09-02 14:26 pbartok
5406 - Added missing Control.ControlAccessibleObject class
5407 - Started to implement Select()ion mechanisms, still very incomplete
5409 2004-09-02 14:25 pbartok
5411 * AccessibleObject.cs:
5412 - Added missing methods
5414 2004-09-02 14:23 pbartok
5416 * AccessibleNavigation.cs, AccessibleSelection.cs:
5419 2004-09-02 10:32 jordi
5421 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
5422 pool for pens, brushes, and hatchbruses
5424 2004-09-01 15:30 jackson
5426 * StatusBar.cs: Fix typo
5428 2004-09-01 14:44 pbartok
5433 2004-09-01 14:39 pbartok
5435 * Button.cs, RadioButton.cs:
5436 - Functional initial check-in
5438 2004-09-01 14:01 pbartok
5441 - Added missing default
5442 - Added missing region mark
5444 2004-09-01 09:10 jordi
5446 * Label.cs: fixes method signatures, new methods, events, fixes
5449 2004-09-01 07:19 jordi
5451 * Control.cs: Init string variables with an empty object
5453 2004-09-01 04:20 jordi
5455 * Control.cs: fires OnFontChanged event
5457 2004-08-31 20:07 pbartok
5460 - Enabled display of strings
5462 2004-08-31 20:05 pbartok
5465 - Added (partial) implementation of DialogResult; rest needs to be
5466 implemented when the modal loop code is done
5468 2004-08-31 19:55 pbartok
5471 - Fixed to match the removal of the needs_redraw concept
5473 2004-08-31 19:55 pbartok
5476 - Removed the rather odd split between 'needs redraw' and redrawing
5477 - Now handles the events that require regeneration (ambient
5478 properties and size)
5480 2004-08-31 19:41 pbartok
5483 - Added firing of BackColorChanged event
5484 - Added TopLevelControl property
5485 - Fixed handling of WM_ERASEBKGRND message
5487 2004-08-31 12:49 pbartok
5493 2004-08-31 12:48 pbartok
5496 - Finished (famous last words)
5498 2004-08-31 04:35 jordi
5500 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
5501 scrolling bugs, adds new methods
5503 2004-08-30 14:42 pbartok
5506 - Implemented CheckBox drawing code
5508 2004-08-30 14:42 pbartok
5511 - Made Redraw() and CheckRedraw() virtual
5512 - Improved mouse up/down/move logic to properly track buttons
5514 2004-08-30 09:44 pbartok
5517 - Updated to fix broken build. Not complete yet.
5519 2004-08-30 09:28 pbartok
5524 2004-08-30 09:17 pbartok
5529 2004-08-27 16:12 ravindra
5531 * ToolBarButton.cs: Added TypeConverter attribute.
5533 2004-08-27 16:07 ravindra
5535 * ImageIndexConverter.cs: Implemented.
5537 2004-08-27 14:17 pbartok
5540 - Removed unneeded stack vars
5541 - First attempt to fix sizing issues when layout is suspended
5543 2004-08-25 15:35 jordi
5545 * ScrollBar.cs: more fixes to scrollbar
5547 2004-08-25 14:04 ravindra
5549 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
5550 Added the missing divider code and grip for ToolBar Control.
5552 2004-08-25 13:20 pbartok
5555 - Control now properly passes the ambient background color to child
5558 2004-08-25 13:20 jordi
5560 * ScrollBar.cs: small bug fix regarding bar position
5562 2004-08-25 12:33 pbartok
5565 - Now only calls SetTimer or KillTimer if the enabled state has
5568 2004-08-25 12:33 pbartok
5571 - Fixed timer handling, now seems to work
5572 - Improved error message for window creation
5574 2004-08-25 12:32 pbartok
5577 - Fixed generation of MouseUp message
5579 2004-08-25 12:29 jordi
5581 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
5582 and fixes for progressbar
5584 2004-08-24 18:43 ravindra
5586 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
5589 2004-08-24 17:15 pbartok
5593 - Added missing events
5596 2004-08-24 17:14 pbartok
5598 * StatusBar.cs, PictureBox.cs:
5599 - Now uses Control's CreateParams
5601 2004-08-24 16:36 pbartok
5604 - Fixed background color handling
5605 - Fixed sending of enter/leave events on a grab
5607 2004-08-24 16:35 pbartok
5610 - Refined definitions for CrossingEvent
5612 2004-08-24 12:37 jordi
5614 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
5615 formmating, methods signature, and adds missing events
5617 2004-08-24 12:24 jordi
5619 * Control.cs: fire OnEnabledChanged event
5621 2004-08-24 11:17 pbartok
5624 - Implemented SetTimer() and KillTimer()
5626 2004-08-24 11:16 pbartok
5629 - Now uses Remove instead of Add to kill the timer
5631 2004-08-24 10:16 jackson
5633 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
5634 picture boxes in the theme now. Draw picture box borders and obey
5637 2004-08-24 05:49 jackson
5639 * Timer.cs: Remove top secret debugging code
5641 2004-08-24 05:34 jackson
5643 * PictureBox.cs: Temp hack to make picture boxes draw their full
5646 2004-08-24 05:29 jackson
5648 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
5649 XplatUIX11.cs: Move timers to the driver level. On X they are
5650 queued by the driver and checked on idle.
5652 2004-08-24 01:07 jackson
5654 * XplatUIX11.cs: Use a queue for async messages instead of passing
5655 them as ClientMessages since that was totally broken. Also simply
5656 check for events and return an idle message if none are found. This
5657 gives us an idle handler, and prevents deadlocking when no messages
5660 2004-08-23 18:19 ravindra
5662 * XplatUIWin32.cs: Removed the unwanted destructor.
5664 2004-08-23 17:27 pbartok
5667 - Finishing touches. Works now, just needs some optimizations.
5669 2004-08-23 16:53 jordi
5671 * ScrollBar.cs: small fix
5673 2004-08-23 16:45 pbartok
5676 - Removed debug output
5679 2004-08-23 16:43 jordi
5681 * ScrollBar.cs: [no log message]
5683 2004-08-23 16:10 pbartok
5686 - Fixed handling of WM_CLOSE message
5687 - Removed debug output
5689 2004-08-23 16:09 pbartok
5692 - Added handling of Idle event
5693 - Added handling of form closing
5694 - Fixed reporting of MessageLoop property
5695 - Removed some unneeded code, should provide a bit of a speedup
5697 2004-08-23 15:22 pbartok
5700 - Added InitLayout() method
5701 - Added code to properly perform layout when Anchor or Dock property
5703 - Changed 'interpretation' of ResumeLayout. MS seems to have a
5704 LAMESPEC, tried to do it in a way that makes sense
5706 2004-08-23 14:10 jordi
5708 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
5709 properties and methods
5711 2004-08-23 13:55 pbartok
5714 - Properly fixed Jordi's last fix
5715 - Now uses Cursor's Position property instead of calling XplatUI
5718 2004-08-23 13:44 jordi
5720 * PaintEventHandler.cs: Adding missing attribute
5722 2004-08-23 13:39 pbartok
5725 - Implemented Position property
5727 2004-08-23 13:39 pbartok
5729 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
5730 - Added method to move mouse cursor
5732 2004-08-23 13:39 pbartok
5735 - Fixed setting of background color
5736 - Added method to move mouse cursor
5738 2004-08-23 13:16 jordi
5740 * Control.cs: avoids null exception
5742 2004-08-22 17:46 jackson
5744 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
5747 2004-08-22 17:40 jackson
5749 * XplatUIX11.cs: Add some missing locks
5751 2004-08-22 15:10 pbartok
5753 * Control.cs, Form.cs:
5754 - Removed OverlappedWindow style from Control, instead it's default
5756 - Made form windows OverlappedWindow by default
5758 2004-08-22 13:34 jackson
5760 * ScrollBar.cs: Update the position through the Value property so
5761 the OnValueChanged event is raised.
5763 2004-08-22 12:04 pbartok
5766 - Added Cursor.cs and UserControl.cs
5768 2004-08-22 12:03 pbartok
5771 - Started implementation, not usable yet
5773 2004-08-22 12:00 pbartok
5776 - Implemented UserControl (complete)
5778 2004-08-21 19:20 ravindra
5780 * ToolBar.cs: Correcting the formatting mess of VS.NET.
5782 2004-08-21 18:49 ravindra
5784 * ToolBar.cs: Probably this completes the missing attributes in
5787 2004-08-21 18:03 ravindra
5789 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
5790 Fixed toolbar control signatures.
5792 2004-08-21 16:32 pbartok
5797 2004-08-21 16:30 pbartok
5802 2004-08-21 16:19 pbartok
5804 * Control.cs, Label.cs:
5807 2004-08-21 15:57 pbartok
5810 - Added loads of debug output for development
5811 - Fixed typo in method name
5813 2004-08-21 15:52 pbartok
5815 * ToolBarButtonClickEventArgs.cs:
5816 - Added missing base class
5818 2004-08-21 14:53 pbartok
5821 - Updated to match new GrabWindow signature
5823 2004-08-21 14:51 pbartok
5825 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
5826 - Added method to get default display size
5828 2004-08-21 14:23 pbartok
5830 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
5831 - Added method to query current grab state
5832 - Added argument to allow confining a grab to a window
5834 2004-08-21 14:22 pbartok
5837 - Added [Flags] attribute so that modifiers can be used in bitwise
5840 2004-08-21 14:21 pbartok
5842 * TrackBar.cs, ScrollBar.cs:
5843 - Replaced direct XplatUI calls with their Control counterpart
5845 2004-08-21 13:32 pbartok
5848 - Implemented Created property
5850 2004-08-21 13:28 pbartok
5853 - Implemented ContainsFocus
5855 2004-08-21 13:26 pbartok
5858 - Implemented CausesValidation
5860 2004-08-21 13:21 pbartok
5863 - Implemented CanFocus
5864 - Implemented CanSelect
5865 - Implemented Capture
5867 2004-08-21 12:35 pbartok
5870 - Fixed bug with Async message handling
5871 - Implemented getting the ModifierKeys
5873 2004-08-21 12:32 jackson
5875 * AsyncMethodResult.cs: Make sure we have the mutex before we
5876 release it. Fixes BeginInvoke on windows
5878 2004-08-21 11:31 pbartok
5880 * XplatUIWin32.cs, XplatUIX11.cs:
5881 - Drivers now return proper mouse state
5883 2004-08-21 10:54 jackson
5885 * Control.cs: Implement EndInvoke
5887 2004-08-21 10:48 jackson
5889 * Timer.cs: Remove unneeded finalizer
5891 2004-08-20 19:52 ravindra
5893 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
5894 in mouse event handling in the ToolBar control.
5896 2004-08-20 19:50 ravindra
5898 * ImageList.cs: Changed draw method to use the arguments passed in
5901 2004-08-20 18:58 pbartok
5903 * XplatUIStructs.cs:
5904 - Added private message for async communication
5906 2004-08-20 17:38 ravindra
5908 * Control.cs: Made RightToLeft property virtual and removed a
5911 2004-08-20 14:39 jordi
5913 * ThemeGtk.cs: use style_attach
5915 2004-08-20 14:39 pbartok
5918 - Added jackson's Async code from X11 to Win32
5920 2004-08-20 14:09 pbartok
5923 - Added all new files
5925 2004-08-20 14:09 pbartok
5928 - Added call to set window background color
5930 2004-08-20 14:03 pbartok
5932 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
5933 - Added method for setting the window background
5935 2004-08-20 14:02 pbartok
5938 - Added method for setting the background color
5939 - Added handling for erasing the window background
5941 2004-08-20 13:45 jordi
5943 * TrackBar.cs: fixes timer, new properties and methods
5945 2004-08-20 13:34 jackson
5947 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
5950 2004-08-20 13:22 jackson
5952 * Timer.cs: Timer Tick events are now handed through Controls Async
5953 mechanism so the callbacks are executed in the same thread as X
5955 2004-08-20 13:19 jackson
5957 * XplatUIDriver.cs: Expose functionality to send async messages
5960 2004-08-20 13:18 jackson
5962 * Control.cs: Implement Begininvoke
5964 2004-08-20 13:14 jackson
5966 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
5967 messages through the driver
5969 2004-08-20 13:12 jackson
5971 * XplatUIX11.cs: Lock before all X operations. Also added Async
5972 method functionality through XSendEvent
5974 2004-08-20 13:11 jackson
5976 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
5977 This will screw up on 64 bit systems)
5979 2004-08-20 13:10 jackson
5981 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
5982 Async messages through X/Win32
5984 2004-08-19 19:39 pbartok
5987 - Updated code to match new HandleData.DeviceContext type
5989 2004-08-19 19:38 pbartok
5992 - Made DeviceContext a generic object to allow usage from various
5994 - Added support for queueing Windows messages
5996 2004-08-19 19:37 pbartok
5999 - Added generation of MouseEnter, MouseLeave and MouseHover events
6000 - Added cleanup on EndPaint
6002 2004-08-19 19:17 pbartok
6005 - Added handling of WM_MOUSEHOVER
6006 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
6009 2004-08-19 18:55 jordi
6011 * ThemeGtk.cs: fixes button order
6013 2004-08-19 18:12 jordi
6015 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
6017 2004-08-19 17:09 pbartok
6020 - Added Right property
6021 - Added RightToLeft property
6023 2004-08-19 16:27 jordi
6025 * ThemeGtk.cs: experimental GTK theme support
6027 2004-08-19 16:26 jordi
6029 * ITheme.cs, Theme.cs: move themes from an interface to a class
6031 2004-08-19 16:25 jordi
6033 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
6036 2004-08-19 16:04 pbartok
6039 - Added colormap basics
6040 - Added a way to re-initialize with a different display handle
6041 - Fixed setting of the window background color
6042 - Added various X11 imports related to colors and colormaps
6044 2004-08-19 15:51 pbartok
6047 - Removed packing hints (Paolo suggested this a while back)
6048 - fixed colormap type
6049 - Added default Atom types
6050 - Added Screen and color structs and enums
6052 2004-08-19 15:39 pbartok
6055 - Added missing Draw() method
6056 - Added missing RecreateHandle event
6058 2004-08-19 15:30 pbartok
6061 - Added handling of WM_CLOSE
6063 2004-08-18 13:16 jordi
6065 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
6068 2004-08-18 09:56 jordi
6070 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
6072 2004-08-17 15:31 ravindra
6074 * SWF.csproj: Updated project.
6076 2004-08-17 15:25 pbartok
6079 - Drawing improvement; don't call UpdateBounds if we are not visible
6080 (or have been minimized)
6082 2004-08-17 15:24 pbartok
6085 - Finished IsVisible
6086 - Added Win32GetWindowPlacement
6088 2004-08-17 15:08 jackson
6090 * Panel.cs: Initial checkin of the Panel
6092 2004-08-17 14:25 pbartok
6095 - Fixed broken handling of default window sizes
6097 2004-08-17 13:29 jackson
6099 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
6100 has a large startup time.
6102 2004-08-17 10:25 jackson
6104 * HandleData.cs: union areas properly
6106 2004-08-17 10:12 jackson
6108 * HandleData.cs: union areas properly
6110 2004-08-16 20:00 ravindra
6112 * ToolBar.cs, ToolBarButton.cs: Added attributes.
6114 2004-08-16 18:48 ravindra
6116 * ToolBar.cs: Added attributes.
6118 2004-08-16 17:17 ravindra
6120 * SWF.csproj: Updated project.
6122 2004-08-16 17:16 jackson
6124 * XplatUIX11.cs: Check for more expose events before sending a
6125 WM_PAINT so they can all be grouped together. This makes dragging a
6126 window across another window redraw in a sane way.
6128 2004-08-16 15:47 pbartok
6131 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
6132 support OnMouseEnter/Leave()
6133 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
6136 2004-08-16 15:46 pbartok
6138 * XplatUIStructs.cs, XplatUIX11.cs:
6139 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
6140 OnMouseEnter/Leave()
6142 2004-08-16 15:34 jackson
6144 * XplatUIX11.cs: Group multiple expose events in HandleData, make
6145 sure messages get the message field set to WM_NULL if they are not
6148 2004-08-16 15:24 jackson
6150 * HandleData.cs: HandleData is used for storing message information
6153 2004-08-15 17:23 ravindra
6155 * ColorDepth.cs: Added attribute.
6157 2004-08-15 17:23 ravindra
6159 * SWF.csproj: Updated project for ToolBar Control.
6161 2004-08-15 17:20 ravindra
6163 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
6164 control and also dos2unix format.
6166 2004-08-15 17:13 ravindra
6168 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
6169 ToolBarButtonClickEventArgs.cs,
6170 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
6171 ToolBarTextAlign.cs: First Implementation of ToolBar control.
6173 2004-08-15 15:31 pbartok
6176 - First (mostly) working version
6178 2004-08-13 16:15 pbartok
6181 - Fixed Anchor default
6183 2004-08-13 15:43 pbartok
6186 - Changed GetCursorPos signature
6188 2004-08-13 15:42 pbartok
6190 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
6191 - Changed signature for GetCursorPos
6193 2004-08-13 15:25 pbartok
6197 - Fixed resizing/exposure handling
6199 2004-08-13 15:22 jordi
6201 * ThemeWin32Classic.cs: removes redundant code and fixes issues
6204 2004-08-13 14:55 jordi
6206 * TrackBar.cs: change from wndproc to events
6208 2004-08-13 13:00 jordi
6210 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
6211 XplatUIX11.cs: implements PointToClient (ScreenToClient)
6213 2004-08-13 12:53 pbartok
6216 - Changed GetWindowPos to also provide client area size
6217 - Fixed broken prototypes for several win32 functions
6219 2004-08-13 12:53 pbartok
6221 * XplatUI.cs, XplatUIDriver.cs:
6222 - Changed GetWindowPos to also provide client area size
6224 2004-08-13 12:52 pbartok
6227 - Added generation of WM_POSCHANGED
6228 - Changed GetWindowPos to also provide client area size
6230 2004-08-13 12:52 pbartok
6233 - Added Dispose() and destructor
6234 - Fixed resizing and bounds calculation
6236 - Added memory savings for invisible windows
6238 2004-08-13 12:46 jordi
6240 * TrackBar.cs: adds timer and grap window
6242 2004-08-13 10:25 jackson
6244 * Timer.cs: SWF Timer
6246 2004-08-12 16:59 pbartok
6248 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
6249 - Implemented method to get current mouse position
6251 2004-08-12 14:29 jordi
6253 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
6254 enhancement, fix mouse problems, highli thumb, etc
6256 2004-08-12 13:31 pbartok
6259 - Fixed Anchoring bugs
6261 2004-08-12 13:01 jackson
6263 * StatusBar.cs: Don't forget things
6265 2004-08-12 12:54 jackson
6267 * ThemeWin32Classic.cs: Handle owner draw status bars
6269 2004-08-12 12:54 jackson
6271 * StatusBar.cs: Implement missing properties, events, and methods.
6272 Handle mouse clicking
6274 2004-08-12 10:19 jackson
6276 * StatusBarPanelClickEventArgs.cs,
6277 StatusBarPanelClickEventHandler.cs: Classes for handling status
6278 bar panel click events
6280 2004-08-12 10:10 jackson
6282 * Control.cs: Add missing properties
6284 2004-08-12 09:46 pbartok
6286 * BindingsManagerBase.cs:
6287 - Name changed to BindingManagerBase.cs
6289 2004-08-12 09:25 jordi
6291 * ScrollableControl.cs: calls ctrlbase instead of exeception
6293 2004-08-11 16:28 pbartok
6295 * InputLanguageChangingEventArgs.cs:
6296 - Never check in before compiling. Fixes the last check-in
6298 2004-08-11 16:26 pbartok
6300 * InputLanguageChangingEventArgs.cs:
6301 - More signature fixes
6303 2004-08-11 16:20 pbartok
6305 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
6306 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
6307 ImageListStreamer.cs, InputLanguage.cs,
6308 InputLanguageChangedEventArgs.cs,
6309 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
6310 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
6311 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
6312 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
6315 2004-08-11 16:16 pbartok
6319 - Added .Net 1.1 method
6321 2004-08-11 15:25 pbartok
6324 - Fixed BindingManagerBase.cs filename
6326 2004-08-11 15:22 pbartok
6328 * BindingManagerBase.cs:
6329 - Was checked in with wrong filename
6331 2004-08-11 14:50 pbartok
6336 2004-08-11 13:41 jordi
6338 * XplatUIWin32.cs: Fixes ClientRect
6340 2004-08-11 13:19 pbartok
6342 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
6344 - We had SetWindowPos and MoveWindow to set window positions and
6345 size, removed MoveWindow. We have GetWindowPos, so it made sense to
6346 keep SetWindowPos as matching counterpart
6347 - Added some X11 sanity checking
6349 2004-08-11 12:59 pbartok
6352 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
6353 (It seems that SetBounds is just a front for SetBoundsCore and
6354 SetBoundsCore updates the underlying window system and
6355 UpdateBounds is responsible for updating the variables associated
6356 with the Control and sending the events)
6357 - Major cleanup of Size handling; we now have two sizes, client_size
6358 and bounds. Bounds defines the window with decorations, client_size
6361 2004-08-11 12:55 pbartok
6363 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
6364 - Added method to calculate difference between decorated window and
6367 2004-08-11 12:54 pbartok
6370 - Forcing redraw on resize
6372 2004-08-11 11:43 pbartok
6375 - Removed disposing of the actual images when the list is disposed
6377 2004-08-11 09:13 pbartok
6380 - Now properly reparents windows
6382 2004-08-11 08:37 pbartok
6387 2004-08-11 07:47 pbartok
6390 - Rewrote the collection stuff. Might not be as fast now, not
6391 keeping the number of children around and accessible directly, but
6392 it's more straightforward
6394 2004-08-11 07:44 pbartok
6396 * AccessibleObject.cs:
6397 - Fixed to match ControlCollection rewrite
6399 2004-08-11 07:43 pbartok
6402 - Added missing creation of the collection list
6404 2004-08-10 20:08 jackson
6406 * StatusBar.cs: Get the paint message from WndProc
6408 2004-08-10 19:31 jackson
6410 * ThemeWin32Classic.cs: Create Brushes as little as possible
6412 2004-08-10 19:20 jackson
6414 * UICues.cs: Add Flags attribute
6416 2004-08-10 19:19 jackson
6418 * StatusBarPanel.cs: Signature cleanup
6420 2004-08-10 19:10 jackson
6422 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
6423 Initial implementation of status bar item drawing
6425 2004-08-10 17:27 jordi
6427 * TrackBar.cs: add missing methods, properties, and restructure to
6430 2004-08-10 16:24 jackson
6432 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
6433 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
6436 2004-08-10 13:21 jordi
6438 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
6439 enhancements and standarize on win colors defaults
6441 2004-08-10 12:52 jackson
6443 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
6444 ThemeWin32Classic.cs: Implement DrawItem functionality
6446 2004-08-10 12:47 jordi
6448 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
6450 2004-08-10 12:32 jordi
6452 * Control.cs: throw ontextchange event
6454 2004-08-10 11:43 pbartok
6457 - Added more to the still unfinished Dock/Anchor layout code
6459 2004-08-10 11:39 pbartok
6461 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
6462 - Added GetWindowPos method
6464 2004-08-10 11:36 pbartok
6467 - Implemented several methods
6469 2004-08-10 09:47 jackson
6471 * TrackBar.cs: Allow control to handle buffering
6473 2004-08-10 09:41 jackson
6475 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
6477 2004-08-10 09:24 jackson
6479 * Label.cs, LinkLabel.cs: Let Control handle buffering.
6481 2004-08-10 09:09 jackson
6483 * StatusBar.cs: Let Control handle all the buffering.
6485 2004-08-10 09:08 jackson
6487 * Control.cs: Control will now handle the buffering code, so each
6488 control does not have to implement this.
6490 2004-08-10 08:34 jackson
6492 * XplatUIDriver.cs: Use default colors from the theme
6494 2004-08-09 17:12 pbartok
6497 - Fixed several bugs Ravindra pointed out
6499 2004-08-09 16:11 pbartok
6502 - Added incomplete dock layout code
6503 - Added support for mouse wheel
6505 2004-08-09 16:09 pbartok
6508 - Added handling for middle and right mousebutton
6509 - Added handling for mouse wheel
6510 - Added handling for key state and mouse state and position
6511 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
6514 2004-08-09 15:40 jackson
6516 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
6517 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
6520 2004-08-09 15:37 jackson
6522 * StatusBar.cs: Initial implementation of StatusBar
6524 2004-08-09 15:36 jackson
6526 * ITheme.cs: Add support for drawing status bar and getting status
6529 2004-08-09 15:35 pbartok
6534 2004-08-09 15:34 jackson
6536 * ThemeWin32Classic.cs: Add support for drawing status bar and get
6537 status bar item sizes
6539 2004-08-09 15:21 jackson
6541 * ThemeWin32Classic.cs: Use known colors for default control
6544 2004-08-09 15:12 jackson
6546 * ThemeWin32Classic.cs: Make the default font static, it is static
6547 in control so this doesn't change functionality and creating fonts
6550 2004-08-09 14:56 pbartok
6553 - Added GrabMode enum
6555 2004-08-09 14:55 pbartok
6557 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
6558 - Removed Run method, was only required for initial development
6560 2004-08-09 14:51 pbartok
6562 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
6563 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
6566 2004-08-09 13:48 pbartok
6569 - Fixed default sizing for child windows
6571 2004-08-09 12:56 pbartok
6574 - Added generation of WM_DESTROY message
6575 - Added handling of window manager induced shutdown
6577 2004-08-09 11:31 jackson
6579 * ThemeWin32Classic.cs: New names for control properties
6581 2004-08-09 11:25 jackson
6583 * Control.cs: Use new color names
6585 2004-08-09 11:02 jackson
6587 * XplatUI.cs: Get default window properties from the theme
6589 2004-08-09 11:01 jackson
6591 * ITheme.cs: The theme engine now controls default window
6594 2004-08-09 11:00 jackson
6596 * ThemeWin32Classic.cs: Add default window color properties
6598 2004-08-09 10:17 jackson
6600 * ThemeWin32Classic.cs: Use correct default back color
6602 2004-08-09 10:05 jackson
6604 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
6607 2004-08-09 09:56 jackson
6609 * XplatUI.cs: Remove defaults, these are handled by the theme now.
6611 2004-08-09 09:54 jackson
6613 * Control.cs: Get default properties from the theme.
6615 2004-08-09 09:53 jackson
6617 * ITheme.cs: Themes now handle default control properties
6619 2004-08-09 09:53 jackson
6621 * ThemeWin32Classic.cs: Themes now handle default control
6622 properties so coloring will be consistent
6624 2004-08-08 16:54 jordi
6626 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
6628 2004-08-08 15:08 jordi
6630 * XplatUIX11.cs: fixes keyboard crash
6632 2004-08-08 13:47 jordi
6634 * Label.cs: add cvs header info
6636 2004-08-08 12:09 jackson
6638 * ThemeWin32Classic.cs: Add pen_buttonface
6640 2004-08-08 11:52 jordi
6642 * Label.cs, LinkLabel.cs: [no log message]
6644 2004-08-08 11:34 jordi
6646 * ThemeWin32Classic.cs: Use Windows Standard Colours
6648 2004-08-07 17:32 jordi
6650 * TrackBar.cs: throw exceptions of invalid enums values
6652 2004-08-07 17:31 jordi
6654 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
6657 2004-08-07 16:56 jackson
6659 * HorizontalAlignment.cs: Initial checkin
6661 2004-08-07 13:16 jordi
6663 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
6666 2004-08-07 13:05 jordi
6668 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
6671 2004-08-06 18:01 pbartok
6673 * ThemeWin32Classic.cs:
6674 - Fixed some rounding issues with float/int
6676 2004-08-06 18:00 jackson
6678 * DockStyle.cs, AnchorStyles.cs:
6680 Add flags and serializable attributes.
6682 2004-08-06 17:46 pbartok
6685 - Implemented GetParent
6687 2004-08-06 17:18 pbartok
6690 - Fixed some rounding issues with float/int
6692 2004-08-06 17:17 pbartok
6694 * X11Structs.cs, XplatUIX11.cs:
6695 - Fixed Refresh and Invalidate
6697 2004-08-06 15:30 pbartok
6699 * Control.cs, X11Structs.cs, XplatUIX11.cs:
6700 - Fixed recursive loop when resizing
6701 - Improved/fixed redrawing on expose messages
6703 2004-08-06 09:53 jordi
6705 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
6708 2004-08-06 08:02 pbartok
6710 * X11Structs.cs, XplatUIX11.cs:
6712 - Fixed window border creation
6714 2004-08-05 15:38 pbartok
6717 - Attempted fix for reparenting problems
6719 2004-08-04 15:14 pbartok
6722 - Fixed Invalidation bug (calculated wrong client area)
6723 - Added ClientSize setter
6725 2004-08-04 15:13 pbartok
6728 - Added AutoScale properties
6730 2004-08-04 15:13 pbartok
6733 - Added latest files
6735 2004-08-04 14:11 pbartok
6737 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
6739 - Added Invalidate handling
6741 2004-08-03 17:09 jordi
6743 * XplatUIDriver.cs: fixes spelling mistake
6745 2004-07-27 09:53 jordi
6747 * TrackBar.cs: fixes trackbar events, def classname, methods
6750 2004-07-27 09:29 jordi
6752 * ScrollBar.cs: fixes scrollbar events
6754 2004-07-27 04:38 jordi
6756 * Control.cs: changes to be able to run winforms samples
6758 2004-07-26 11:42 jordi
6760 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
6761 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
6763 2004-07-26 05:41 jordi
6765 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
6766 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
6769 2004-07-22 09:22 jordi
6771 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
6772 check link overlapping, implement events, and fixes
6774 2004-07-21 10:28 jordi
6776 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
6778 2004-07-21 10:19 jordi
6780 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
6781 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
6782 LinkLabelLinkClickedEventArgs.cs,
6783 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
6784 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
6787 2004-07-19 13:09 jordi
6789 * Control.cs, Label.cs: label control re-written: added missing
6790 functionlity, events, and properties
6792 2004-07-19 10:49 jordi
6794 * Control.cs: fixes SetBounds logic
6796 2004-07-19 01:29 jordi
6798 * Control.cs: Call RefreshWindow only if the window has created
6800 2004-07-15 14:05 pbartok
6802 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
6803 - Implemented ImageList and ImageList.ImageCollection classes
6804 - Added ColorDepth enumeration
6805 - Updated SWF VS.Net project
6807 2004-07-15 11:06 jordi
6809 * XplatUIStructs.cs: added MsgButons enum
6811 2004-07-15 11:03 jordi
6813 * Control.cs: added basic mouse handeling events
6815 2004-07-15 03:38 jordi
6817 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
6818 Vertical TrackBar control implementation
6820 2004-07-13 09:33 jordi
6822 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
6824 2004-07-13 09:31 jordi
6826 * Control.cs, Form.cs: commit: new properties and fixes form size
6829 2004-07-09 14:13 miguel
6831 * ProgressBar.cs: Spelling
6833 2004-07-09 11:25 pbartok
6836 - Removed usage of Rectangle for drawing. Miguel pointed out it's
6839 2004-07-09 11:17 miguel
6841 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
6843 * ProgressBar.cs: Fixed spelling for `block'
6845 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
6848 Avoid using the += on rect.X, that exposed a bug in the compiler.
6850 2004-07-08 23:21 pbartok
6852 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
6853 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
6854 BaseCollection.cs, Binding.cs, BindingContext.cs,
6855 BindingMemberInfo.cs, BindingsCollection.cs,
6856 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
6857 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
6858 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
6859 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
6860 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
6861 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
6862 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
6863 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
6864 FrameStyle.cs, GiveFeedbackEventArgs.cs,
6865 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
6866 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
6867 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
6868 InputLanguageChangedEventArgs.cs,
6869 InputLanguageChangedEventHandler.cs,
6870 InputLanguageChangingEventArgs.cs,
6871 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
6872 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
6873 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
6874 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
6875 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
6876 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
6877 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
6878 QueryAccessibilityHelpEventArgs.cs,
6879 QueryAccessibilityHelpEventHandler.cs,
6880 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
6881 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
6882 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
6883 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
6884 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
6885 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
6886 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
6887 XplatUIX11.cs, lang.cs: