- Applied patch from Ashwin Bharambe, implementing SetModal() method
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2004-12-18  Peter Bartok  <pbartok@novell.com>
2
3         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe, 
4           implementing SetModal() method
5
6 2004-12-18  Peter Bartok  <pbartok@novell.com>
7
8         * X11Structs.cs (XGCValues): Fixed type of function element
9         * XplatUI.cs: Added ScrollWindow() method
10         * XplatUIDriver.cs: Added ScrollWindow() abstract
11         * XplatUIWin32.cs: Implemented ScrollWindow() method
12         * XplatUIX11.cs: Implemented ScrollWindow() method
13         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
14
15 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
16
17         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
18         Some more keyboard support (INCOMPLETE)
19
20 2004-12-17  Peter Bartok  <pbartok@novell.com>
21
22         * TextControl.cs:
23         - Added color attribute to line tags.
24         - Added color argument to all functions dealing with tags
25         - Added color argument support to various functions
26         - Fixed miss-calculation of baseline/shift in certain circumstances
27
28         * TextBoxBase.cs: Added new color option to test code
29
30 2004-12-17  Jackson Harper  <jackson@ximian.com>
31
32         * TreeNode.cs:
33         * MonthCalendar.cs: Signature fixes
34
35 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
36
37         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a 
38         keyboard event moved it.  Create a new graphics context for each paint resolves this
39
40 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
41
42         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
43         Make caret exist and go blink blink.  Initial keyboard support.
44         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
45         works.  
46
47 2004-12-17  Jackson Harper  <jackson@ximian.com>
48
49         * XplatUIStructs.cs: Updated set of virtual keycodes.
50         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
51
52 2004-12-17  Jackson Harper  <jackson@ximian.com>
53
54         * XplatUIX11.cs: Prune old keyboard code.
55
56 2004-12-17  Jackson Harper  <jackson@ximian.com>
57
58         * XplatUIX11.cs: When generating mouse wparams get the modifier
59         keys from the ModifierKeys property.
60
61 2004-12-17  Jackson Harper  <jackson@ximian.com>
62
63         * X11Keyboard.cs: Send up/down input when generating
64         messages. Remove some unused vars.
65
66 2004-12-17  Jackson Harper  <jackson@ximian.com>
67
68         * TabControl.cs:
69         * TreeView.cs: get rid of warnings.
70
71 2004-12-17  Jackson Harper  <jackson@ximian.com>
72
73         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
74
75 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
76
77         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
78           CheckedListBox.cs: Implementation
79
80 2004-12-17  Peter Bartok  <pbartok@novell.com>
81
82         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
83
84 2004-12-16  Peter Bartok  <pbartok@novell.com>
85
86         * TextControl.cs:
87           - InsertCharAtCaret(): Fixed start pos fixup
88           - CaretLine_get: No longer derives the line from the tag, the tag
89             could be stale if lines in the document have been added or deleted
90           - RebalanceAfterDelete(): Fixed bug in balancing code
91           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
92           - Line.Streamline(): Now can also elminate leading empty tags
93           - DumpTree(): Added a few more tests and prevented exception on
94             uninitialized data
95           - Added Debug section for Combining lines
96           - Delete(): Now copies all remaining properties of a line
97           
98         * TextBoxBase.cs: 
99           - Left mousebutton now sets the caret (and middle button still acts 
100             as formatting tester, which must go away soon)
101           - Added Debug section for Deleting/Combining lines
102           - Fixed calculations for UpdateView after Combining lines
103
104 2004-12-16  Peter Bartok  <pbartok@novell.com>
105
106         * TextControl.cs: Now properly aligns text on a baseline, using the
107           new XplatUI.GetFontMetrics() method. Simplified several calculations
108         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not 
109           defined
110
111 2004-12-16  Peter Bartok  <pbartok@novell.com>
112
113         * XplatUI.cs: Added GetFontMetrics() method
114         * XplatUIDriver.cs: Added GetFontMetrics() abstract
115         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
116           into libgdiplus, our private GetFontMetrics function
117         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
118         * XplatUIWin32.cs: Implemented GetFontMetrics() method
119
120 2004-12-16  Jackson Harper  <jackson@ximain.com>
121
122         * XplatUIStruct.cs: Add enum for dead keys
123         * X11Keyboard.cs: Map and unmap dead keys.
124
125 2004-12-16  Jackson Harper  <jackson@ximian.com>
126
127         * X11Keyboard.cs: Detect and use the num lock mask.
128
129 2004-12-16  Peter Bartok  <pbartok@novell.com>
130
131         * Control.cs (CreateGraphics): Added check to make sure the
132           handle of the window exists before calling Graphics.FromHwnd()
133
134 2004-12-16  Peter Bartok  <pbartok@novell.com>
135
136         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
137           contains a lot of code that's not supposed to be there for the
138           real thing, but required for developing/testing the textbox
139           backend.
140
141 2004-12-16  Peter Bartok  <pbartok@novell.com>
142
143         * TextControl.cs:
144         - Fixed Streamline method
145         - Added FindTag method to Line
146         - Added DumpTree method for debugging
147         - Added DecrementLines() method for deleting lines
148         - Fixed UpdateView to update the cursor to end-of-line on single-line
149           updates
150         - Added PositionCaret() method
151         - Fixed MoveCaret(LineDown) to move into the last line, too
152         - Added InsertChar overload
153         - Fixed InsertChar tag offset calculations
154         - Added DeleteChar() method
155         - Added Combine() method for folding lines
156         - Fixed Delete() method, no longer allocates wasted Line object and
157           now copies all properties when swapping nodes
158         - Delete() method now updates document line counter
159
160 2004-12-15  Jackson Harper  <jackson@ximian.com>
161
162         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
163         * X11Keyboard.cs: Expose the currently selected modifier keys
164         through a property.
165
166 2004-12-15  Peter Bartok  <pbartok@novell.com>
167
168         * TextControl.cs: Initial check-in. Still incomplete
169
170 2004-12-15  Jackson Harper  <jackson@ximian.com>
171
172         * TreeNode.cs:
173         * TreeView.cs: Fix build on csc (second time today ;-))
174
175 2004-12-15  Jackson Harper  <jackson@ximian.com>
176
177         * TreeView.cs: Store the treenodes plus/minus box bounds when it
178         is calculated and use this for click testing.
179         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
180
181 2004-12-15  Jackson Harper  <jackson@ximian.com>
182
183         * TreeView.cs: Pass the nodes image index to the image list when
184         drawing that image.
185
186 2004-12-15  Jackson Harper  <jackson@ximian.com>
187
188         * X11Keyboard.cs: Set messages hwnd.
189         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
190         post_message calls.
191
192 2004-12-15  Jackson Harper  <jackson@ximian.com>
193
194         * X11Keyboard.cs: Fix to compile with csc.
195         
196 2004-12-15  Jackson Harper  <jackson@ximian.com>
197
198         * X11Structs.cs: Add key mask values
199         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
200         * X11Keyboard.cs: New file - Extrapolates and interpolates key
201         down/up foo into WM_CHAR foo
202         * KeyboardLayouts.cs: Common keyboard layouts
203         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
204         post messages into the main queue.
205
206 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
207
208         * Button.cs: implement ProcessMnemonic
209         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
210           brushes everytime
211         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
212         * ButtonBase.cs: Show HotkeyPrefix (not the &)  
213
214 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
215         
216         * MonthCalendar.cs: Implemented click-hold for next/previous month
217           and date selection
218           
219 2004-12-11  Peter Bartok  <pbartok@novell.com>
220
221         * X11Structs.cs:
222           - Added XKeyboardState (moved from XplatUIX11.cs)
223           - Added XCreateGC related enums and structures
224           - Added GXFunction for XSetFunction
225
226         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
227
228         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
229           CaretVisible() calls
230
231         * ToolTip.cs: Added code to prevent stealing focus from app windows
232
233         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
234           DestroyCaret, SetCaretPos and CaretVisible)
235
236         * XplatUIX11.cs:
237           - Added implementation for caret functions
238           - Moved hover variables into a struct, to make it a bit easier
239             on the eyes and to debug
240           - Removed XKeyboardState (moved to XplatUIX11.cs)
241           - Moved Keyboard properties into the properties region
242
243         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
244           call to get a graphics context for our control
245
246         * XplatUIOSX.cs: Added empty overrides for the new caret functions
247
248         * TreeView.cs: Fixed bug. No matter what color was set it would always
249           return SystemColors.Window
250
251         * XplatUIWin32.cs: Implemented caret overrides
252
253 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
254
255         * ListBox.cs: fire events, implement missing methods and properties,
256         sorting. 
257
258 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
259
260         * MonthCalendar.cs: invalidation bug fixing 
261         * ThemeWin32Classic.cs: paint fixing
262
263 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
264
265         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we 
266         prepare the CGContextRef there now.
267
268 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
269
270         * MonthCalendar.cs: 
271           - optimisationL only invalidate areas that have changed 
272         * ThemeWin32Classic.cs:
273           - only paint parts that intersect with clip_area
274
275 2004-12-09  Peter Bartok  <pbartok@novell.com>
276
277         * Application.cs: Undid changes from r37004 which cause problems 
278         on X11
279
280 2004-12-09  Ravindra  <rkumar@novell.com>
281
282         * ToolBar.cs: Added support for displaying ContextMenu
283         attached to a button on ToolBar.
284         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
285         property.
286
287 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
288
289         * Label.cs: autosize works in text change and removes unnecessary
290         invalidate
291
292 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
293
294         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
295         remove warnings
296
297 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
298
299         * XplatUIOSX.cs: Added mouse move/click/grab support
300         Remove some debugging WriteLines not needed anymore.
301         Add window resizing/positioning.
302         Fix visibility on reparenting.
303
304 >>>>>>> .r37496
305 2004-12-08  Peter Bartok  <pbartok@novell.com>
306
307         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
308
309 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
310
311         * XplatUIOSX.cs: Initial checkin
312         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
313
314 2004-12-03  Ravindra <rkumar@novell.com>
315
316         * ListView.cs: Added some keybindings and fixed scrolling.
317         ScrollBars listen to ValueChanged event instead of Scroll
318         Event. This would let us take care of all changes being
319         done in the scrollbars' values programmatically or manually.
320         * ListView.cs (CanMultiselect): Added a check for shift key.
321         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
322         * ListViewItem.cs (Clone): Fixed. We need to make a copy
323         of ListViewSubItemCollection as well.
324
325 2004-12-06  Peter Bartok <pbartok@novell.com>
326
327         * Control.cs (Parent): Added check and exception to prevent 
328         circular parenting
329
330 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
331
332         * ListBox.cs: implemented clipping, selection single and multiple,
333         bug fixing
334
335 2004-12-03  Ravindra <rkumar@novell.com>
336
337         * ListView.cs (ListView_KeyDown):
338         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
339         when CTRL key is pressed.
340         * ListViewItem.cs (Selected): Fixed setting the property.
341
342 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
343 \r
344         * Application.cs (OnThreadException): Use ThreadExceptionDialog.\r
345
346         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,\r
347         MinimizeBox, ShowInTaskbar, TopMost properties.\r
348 \r
349         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until\r
350         will be implemented).
351 \r
352 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
353
354         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
355
356         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
357         tests.
358         
359         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
360         
361         * TreeView.cs: BackColor is Colors.Window.
362
363 2004-12-01  Jackson Harper  <jackson@ximian.com>
364
365         * TreeView.cs: When resizing the tree if the user is making it
366         smaller we don't get expose events, so we need to handle adding
367         the horizontal scrollbar in the size changed handler as well as
368         the expose handler.
369
370 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
371
372         * DrawItemState.cs: fixes wrong enum values
373
374 2004-12-01  Jackson Harper  <jackson@ximian.com>
375
376         * TreeView.cs: Resize the hbar as well as the vbar on resize.
377
378 2004-12-01  Jackson Harper  <jackson@ximian.com>
379
380         * NodeLabelEditEventArgs.cs:
381         * NodeLabelEditEventHandler.cs:
382         * OpenTreeNodeEnumerator.cs:
383         * TreeNode.cs:
384         * TreeNodeCollection.cs:
385         * TreeView.cs:
386         * TreeViewAction.cs:
387         * TreeViewCancelEventArgs.cs:
388         * TreeViewCancelEventHandler.cs:
389         * TreeViewEventArgs.cs:
390         * TreeViewEventHandler.cs: Initial implementation.
391
392 2004-12-01  Ravindra <rkumar@novell.com>
393
394         * ListView.cs (CalculateListView): Fixed scrolling related
395         calculations. Also, removed some debug statements from other
396         places.
397         * ListViewItem.cs: Changed access to 'selected' instance variable
398         from private to internal.
399         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
400
401 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
402
403         * ThemeWin32Classic.cs: remove cache of brush and pens for 
404         specific controls and use the global system, fixes scrollbutton
405         bugs (for small sizes, disabled, etc)
406         
407         * ScrollBar.cs: does not show the thumb for very small controls
408         (as MS) and allow smaller buttons that the regular size
409
410 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
411
412         * UpDownBase.cs: Add abstract methods for the interface.
413         Add new virtual methods (need to be hooked up to TextEntry when it
414         exists).
415         Add override methods for most features.
416         Computes the size, forces the height of the text entry.
417
418         * NumericUpDown.cs: Put here the current testing code.
419
420         * Set eol-style property on all files that do not have mixed line
421         endings, to minimize the future problems.  There are still a few
422         files with mixed endings, and someone should choose whether they
423         want to move it or not.
424
425 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
426
427         * MonthCalendar.cs, ListView.cs: use Theme colours instead of 
428         System.Colors
429         
430 2004-11-30  Ravindra <rkumar@novell.com>
431
432         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
433         drawing and replaced use of SystemColors by theme colors.
434         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
435         * ListView.cs (ListViewItemCollection.Add): Throw exception when
436         same ListViewItem is being added more than once.
437
438 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
439
440         * MonthCalendar.cs:
441           - ControlStyles love to make the control not flicker
442           
443 2004-11-30  Peter Bartok  <pbartok@novell.com>
444
445         * CharacterCasing.cs: Added
446
447 2004-11-29  Peter Bartok  <pbartok@novell.com>
448
449         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
450           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
451           I am removing these files as they conflict with already completed 
452           work. While it is fantastic to get contributions to MWF, I 
453           respectfully ask that everyone please coordinate their contributions 
454           through mono-winforms-list or #mono-winforms at this time. We're 
455           explicitly avoiding stubbing and don't want controls that don't have 
456           their basic functionality implemented in svn. Please also see 
457           http://www.mono-project.com/contributing/winforms.html
458
459
460 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
461
462         * Application.cs (ModalRun): Don't hang after exit.
463
464         * Theme.cs: New TreeViewDefaultSize property.
465
466         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
467         with less hardcoded SystemColors constant.
468         Implemented TreeViewDefaultSize.
469
470         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
471         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
472
473
474 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
475
476         * MonthCalendar.cs: 
477           - Fix NextMonthDate and PrevMonthDate click moving calendar
478
479 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
480
481         * MonthCalendar.cs: 
482           - Fix usage of ScrollChange Property when scrolling months
483
484 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
485
486         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
487          - Fixes menu destroying
488          - Support adding and removing items on already created menus           
489
490 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
491
492         * MonthCalendar.cs: 
493           - Re-worked all bolded dates handling to match win32
494         * ThemeWin32Classic.cs:
495           - Fixed rendering with bolded dates
496
497 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
498
499         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:   
500         - Horizontal scroolbar  
501         - Multicolumn
502         - Fixes
503
504
505 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
506
507         * MonthCalendar.cs: 
508           - Fix Usage of MaxSelectionCount from SelectionRange
509           - Fixed Shift + Cursor Selection
510           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
511           - Fixed normal cursor selection to be compat with win32
512           - Fixed Shift + Mouse Click selection
513
514 2004-11-24  Peter Bartok <pbartok@novell.com>
515
516         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
517         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
518         * XplatUIX11.cs: 
519           - CreatedKeyBoardMsg now updates keystate with Alt key
520           - Added workaround for timer crash to CheckTimers, Jackson will
521             develop a proper fix and check in later
522           - Implemented DispatchMessage
523           - Removed calling the native window proc from GetMessage (call
524             now moved to DispatchMessage)
525
526         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
527           the keydata (Fixes bug #69831)
528
529         * XplatUIWin32.cs:
530           - (DispatchMessage): Switched to return IntPtr
531           - Added DllImport for SetFocus
532
533 2004-11-24  Ravindra <rkumar@novell.com>
534
535         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
536         background drawing.
537         * ListViewItem.cs: Fixed various properties, calculations
538         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
539         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
540         and some internal properties. Fixed MouseDown handler and Paint
541         method.
542
543 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
544
545         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
546
547 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
548
549         * ContainerControl.cs: correct accidental check in of local changes
550
551 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
552
553         * ThemeWin32Classic.cs: 
554                 - Fixed Drawing Last month in grid (sometimes not showing)
555         * MonthCalendar.cs:
556                 - Fixed title width calculation bug (makeing title small)
557
558 2004-11-23  Peter Bartok <pbartok@novell.com>
559
560         * XplatUIX11.cs: 
561           - Added generation of WM_MOUSEHOVER event
562           - Added missing assignment of async_method atom
563           - Fixed WM_ERASEBKGND; now only redraws the exposed area
564
565 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
566
567         * ThemeWin32Classic.cs: 
568                 - Fixed Drawing of today circle when showtodaycircle not set
569                 - fixed drawing of first and last month in the grid (gay dates)
570         * MonthCalendar.cs:
571                 - Fixed Drawing of today circle
572                 - Fixed drawing of grady dates
573                 - Fixed HitTest for today link when ShowToday set to false
574                 - Fixed DefaultSize to obey ShowToday
575
576 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
577
578         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
579         * System.Windows.Forms/Theme.cs
580         * MonthCalendar.cs: added for MonthCalendar
581         * SelectionRange.cs: added for MonthCalendar
582         * Day.cs: added for MonthCalendar: added for MonthCalendar
583         * DateRangeEventArgs.cs: added for MonthCalendar
584         * DateRangeEventHandler.cs: added for MonthCalendar
585
586 2004-11-22  Ravindra <rkumar@novell.com>
587
588         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
589         property.
590
591 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
592
593         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
594         event handler.
595         
596         * NumericUpDown.cs: Added new implementation.
597         * UpDownBase.cs: Added new implementation.
598
599         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
600         implementations. 
601         
602         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
603         implementations. 
604
605         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
606         methods. 
607
608 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
609
610         * Timer.cs  (Dispose): Should call the base dispose when
611         overriding. 
612
613 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
614
615         * ScrollBar.cs: updates thumb position when max, min or increment
616         is changed
617
618 2004-11-21  Ravindra <rkumar@novell.com>
619
620         * ListView.cs: Implemented item selection, activation and
621         column header style. Fixed properties to do a redraw, if
622         required. Added support for MouseHover, DoubleClick, KeyDown
623         and KeyUp event handling and some minor fixes.
624         * ListViewItem.cs: Fixed constructor.
625         * ThemeWin32Classic.cs: Improved drawing for ListView.
626
627 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
628
629         * ThemeWin32Classic.cs: initial listbox drawing code\r
630         * DrawMode.cs: new enumerator\r
631         * ListControl.cs: stubbed class\r
632         * ListBox.cs: initial implementation\r
633         * Theme.cs: new methods definitions\r
634         * SelectionMode.cs: new enumerator
635
636 2004-11-17  Peter Bartok  <pbartok@novell.com>
637
638         * XplatUIWin32.cs: Added double-click events to the class style
639         * Control.cs (WndProc): 
640           - Added handling of click-count to MouseDown/ MouseUp events. 
641           - Added handling of middle and right mouse buttons
642           - Removed old debug code
643
644 2004-11-17  Jackson Harper  <jackson@ximian.com>
645
646         * XplatUIX11.cs: Use the new Mono.Unix namespace.
647
648 2004-11-17  Ravindra <rkumar@novell.com>
649
650         * ListView.cs: Added event handling for MouseMove/Up/Down.
651         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
652         * ThemeWin32Classic.cs: We need to clear the graphics context and
653         draw column header in a proper state.
654
655
656 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
657
658         *  Menu.cs: fixes signature
659
660 2004-11-16  Peter Bartok  <pbartok@novell.com>
661
662         * XplatUIX11.cs (GetMessage): Implemented generation of
663           double click mouse messages
664
665 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
666
667         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
668         not by menu
669
670 2004-11-11  Peter Bartok  <pbartok@novell.com>
671
672         * HandleData.cs: Added Visible property
673         * XplatUIX11.cs (IsVisible): Now uses Visible property from
674           HandleData
675         * XplatUIX11.cs: Removed old debug leftovers
676         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
677         * Control.cs (WndProc): Removed old debug leftovers,
678           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
679           needed WM_SIZE handling
680
681 2004-11-11  Jackson Harper  <jackson@ximian.com>
682
683         * OwnerDrawPropertyBag.cs:
684         * TreeViewImageIndexConverter.cs: Initial implementation
685
686 2004-11-10  Jackson Harper  <jackson@ximian.com>
687
688         * ThemeWin32Classic.cs:
689         * TabControl.cs: instead of moving tabs by the slider pos just
690         start drawing at the tab that is offset by the slider. This way
691         scrolling always moves by exactly one tab.
692
693 2004-11-10  Jackson Harper  <jackson@ximian.com>
694
695         * TabControl.cs: You can only scroll left when the slider has
696         already ben moved right.
697         
698 2004-11-10  Jackson Harper  <jackson@ximian.com>
699
700         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
701         the clip area.
702         
703 2004-11-10  Jackson Harper  <jackson@ximian.com>
704
705         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
706         clip area.
707         
708 2004-11-09  Jackson Harper  <jackson@ximian.com>
709
710         * TabControl.cs (CalcXPos): New helper method so we can determine
711         the proper place to start drawing vertical tabs.
712         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
713         
714 2004-11-09  Jackson Harper  <jackson@ximian.com>
715
716         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
717         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
718         and Bottom, left and right are illegal values for this and
719         multiline is enabled when the alignment is set to left or right.
720         (DrawTab): Each alignment block should draw the text itself now
721         because Left requires special love. Also add rendering for Left
722         aligned tabs.
723         
724 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
725
726         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
727         does not destroy the windows, removes debugging messages
728
729 2004-11-09  jba  <jba-mono@optusnet.com.au>
730
731         * ThemeWin32Classic.cs 
732         (DrawButtonBase): Fix verticle text rect clipping in windows
733         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
734         rendering and incorrect text rect clipping 
735         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
736         rendering and incorrect text rect clipping 
737         
738 2004-11-08  Jackson Harper  <jackson@ximian.com>
739
740         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
741         bottom when they are bottom aligned so the bottoms of the tabs get
742         displayed.
743         * TabControl.cs (DropRow): Move rows up instead of down when the
744         tab control is bottom aligned.
745
746 2004-11-08 13:59  pbartok
747
748         * XplatUIX11.cs:
749           - Added handling for various window styles
750           - Added handling for popup windows
751           - Added SetTopmost handling
752
753 2004-11-08 13:55  pbartok
754
755         * XplatUIWin32.cs:
756           - Added argument to SetTopmost method
757           - Fixed broken ClientToScreen function
758
759 2004-11-08 13:53  pbartok
760
761         * XplatUIStructs.cs:
762           - Added missing WS_EX styles
763
764 2004-11-08 13:53  pbartok
765
766         * XplatUI.cs, XplatUIDriver.cs:
767           - Added argument to SetTopmost
768
769 2004-11-08 13:52  pbartok
770
771         * X11Structs.cs:
772           - Added XSetWindowAttributes structure
773           - Improved XWindowAttributes structure
774           - Added SetWindowValuemask enum
775           - Added window creation arguments enum
776           - Added gravity enum
777           - Added Motif hints structure
778           - Added various Motif flags and enums
779           - Added PropertyMode enum for property functions
780
781 2004-11-08 13:50  pbartok
782
783         * Form.cs:
784           - Fixed arguments for updated SetTopmost method
785
786 2004-11-08 13:49  pbartok
787
788         * ToolTip.cs:
789           - Fixed arguments for updated SetTopmost function
790           - Fixed usage of PointToClient
791
792 2004-11-08 13:44  pbartok
793
794         * MenuAPI.cs:
795           - Added Clipping of children and siblings
796
797 2004-11-08 13:41  pbartok
798
799         * MainMenu.cs:
800           - Removed SetMenuBarWindow call. We do this in Form.cs
801
802 2004-11-08 13:40  jackson
803
804         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
805           scrolling jimmi in the correct location with bottom aligned tabs
806
807 2004-11-08 13:36  pbartok
808
809         * ContainerControl.cs:
810           - Implemented BindingContext
811           - Implemented ParentForm
812
813 2004-11-08 12:46  jackson
814
815         * TabControl.cs: Put bottom rendered tabs in the right location
816
817 2004-11-08 07:15  jordi
818
819         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
820           removes dead code
821
822 2004-11-05 17:30  jackson
823
824         * TabControl.cs: When selected tabs are expanded make sure they
825           don't go beyond the edges of the tab control
826
827 2004-11-05 14:57  jackson
828
829         * TabControl.cs: Reset show_slider so if the control is resized to
830           a size where it is no longer needed it's not displayed anymore
831
832 2004-11-05 13:16  jackson
833
834         * TabControl.cs: Make tab pages non visible when added to the
835           control
836
837 2004-11-05 12:42  jackson
838
839         * TabControl.cs: Implement SizeMode.FillToRight
840
841 2004-11-05 12:16  jackson
842
843         * Control.cs: Do not call CreateHandle if the handle is already
844           created
845
846 2004-11-05 11:46  jackson
847
848         * TabControl.cs: Remove superflous call to CalcTabRows
849
850 2004-11-05 09:07  jackson
851
852         * XplatUIX11.cs: Update for Mono.Posix changes
853
854 2004-11-05 07:00  ravindra
855
856         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
857           scrolling.
858
859 2004-11-04 22:47  jba
860
861         * ThemeWin32Classic.cs:
862           - Fix Button rendering for FlatStyle = Flat or Popup
863           - Fix RadioButton and CheckBox rendering when Appearance = Button
864             (normal and flatstyle).
865           - Correct outer rectangle color when drawing focus rectangle
866           - Adjust button bounds to be 1 px smaller when focused
867           - Make button not draw sunken 3d border when pushed (windows compat)
868           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
869           - Offset the text in RadioButton and Checkbox when being rendered as
870           a button.
871           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
872           radiobuttons
873           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
874           - Fixed disabled text rendering for normally rendered radiobuttons
875
876 2004-11-04 10:26  jackson
877
878         * TabControl.cs: Recalculate tab rows when resizing
879
880 2004-11-04 07:47  jordi
881
882         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
883           collection completion, drawing issues, missing features
884
885 2004-11-04 05:03  ravindra
886
887         * ScrollBar.cs:
888                 - We need to recalculate the Thumb area when
889                 LargeChange/maximum/minimum values are changed.
890           - We set the 'pos' in UpdatePos() method to minimum, if it's less
891                 than minimum. This is required to handle the case if large_change is
892                 more than max, and use LargeChange property instead of large_change
893                 variable.
894           - We return max+1 when large_change is more than max, like MS does.
895
896 2004-11-04 04:29  ravindra
897
898         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
899                 - Changed default value signatures (prefixed all with ListView).
900                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
901                 ListView.
902           - Fixed calculations for ListViewItem and implemented Clone()
903           method.
904
905 2004-11-04 04:26  ravindra
906
907         * Theme.cs, ThemeWin32Classic.cs:
908                 - Changed default ListView values signatures (prefixed all with
909                 ListView).
910           - Fixed default size values for VScrollBar and HScrollBar.
911                 - Fixed DrawListViewItem method.
912
913 2004-11-04 04:05  ravindra
914
915         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
916
917 2004-11-04 04:04  ravindra
918
919         * ImageList.cs: Implemented the missing overload for Draw method.
920
921 2004-11-03 19:29  jackson
922
923         * TabControl.cs: Handle dropping rows on selection properly
924
925 2004-11-03 11:59  jackson
926
927         * TabControl.cs: remove debug code
928
929 2004-11-03 11:52  jackson
930
931         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
932           the scrolly widgerywoo
933
934 2004-11-02 13:52  jackson
935
936         * TabControl.cs: Resize the tab pages and tabs when the tab control
937           is resized
938
939 2004-11-02 13:40  jackson
940
941         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
942           selected tab to the bottom
943
944 2004-11-02 13:39  jackson
945
946         * TabPage.cs: Store the tab pages row
947
948 2004-11-02 12:33  jordi
949
950         * MenuItem.cs: fixes handle creation
951
952 2004-11-02 11:42  jackson
953
954         * TabControl.cs: signature fix
955
956 2004-11-02 08:56  jackson
957
958         * TabControl.cs: Calculate whether the tab is on an edge properly.
959           Remove top secret debugging code
960
961 2004-11-01 19:57  jackson
962
963         * TabControl.cs: Add click handling, and proper sizing
964
965 2004-11-01 19:47  jackson
966
967         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
968           tab controls
969
970 2004-11-01 19:39  jackson
971
972         * TabPage.cs: add internal property to store the bounds of a tab
973           page
974
975 2004-10-30 04:23  ravindra
976
977         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
978           values.
979
980 2004-10-30 04:21  ravindra
981
982         * ListView.cs, ListViewItem.cs: Added support for scrolling and
983           fixed calculations.
984
985 2004-10-30 03:06  pbartok
986
987         * XplatUIX11.cs:
988           - Removed extension of DllImported libs
989
990 2004-10-29 09:55  jordi
991
992         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
993           navigation, itemcollection completion, menu fixes
994
995 2004-10-27 22:58  pbartok
996
997         * XplatUIX11.cs:
998           - Now throws a nice error message when no X display could be opened
999
1000 2004-10-26 13:51  jordi
1001
1002         * ListView.cs: removes warning
1003
1004 2004-10-26 03:55  ravindra
1005
1006         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
1007           ThemeWin32Classic.cs: Some formatting for my last checkins.
1008
1009 2004-10-26 03:36  ravindra
1010
1011         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
1012           control and default values.
1013
1014 2004-10-26 03:35  ravindra
1015
1016         * Theme.cs: Added some default values for ListView control.
1017
1018 2004-10-26 03:33  ravindra
1019
1020         * ToolBar.cs: ToolBar should use the user specified button size, if
1021           there is any. Added a size_specified flag for the same.
1022
1023 2004-10-26 03:33  ravindra
1024
1025         * ColumnHeader.cs: Added some internal members and calculations for
1026           ColumnHeader.
1027
1028 2004-10-26 03:32  ravindra
1029
1030         * ListViewItem.cs: Calculations for ListViewItem.
1031
1032 2004-10-26 03:31  ravindra
1033
1034         * ListView.cs: Added some internal members and calculations for
1035           ListView.
1036
1037 2004-10-22 13:31  jordi
1038
1039         * MenuAPI.cs: speedup menus drawing
1040
1041 2004-10-22 13:16  jackson
1042
1043         * XplatUIX11.cs: Make sure to update exposed regions when adding an
1044           expose event
1045
1046 2004-10-22 11:49  jackson
1047
1048         * Control.cs: oops
1049
1050 2004-10-22 11:41  jackson
1051
1052         * Control.cs: Check to see if the window should have its background
1053           repainted by X when drawing.
1054
1055 2004-10-22 11:31  jackson
1056
1057         * XplatUIX11.cs: When invalidating areas only use XClearArea if
1058           clear is true, this way we do not get flicker from X repainting the
1059           background
1060
1061 2004-10-22 11:28  jackson
1062
1063         * XEventQueue.cs: Queue properly
1064
1065 2004-10-21 09:38  jackson
1066
1067         * XEventQueue.cs: Fix access modifier
1068
1069 2004-10-21 09:36  jackson
1070
1071         * XEventQueue.cs: Don't loose messages
1072
1073 2004-10-21 09:22  jackson
1074
1075         * XEventQueue.cs: Don't loose messages
1076
1077 2004-10-20 04:15  jordi
1078
1079         * BootMode.cs: enum need it by SystemInfo
1080
1081 2004-10-19 21:58  pbartok
1082
1083         * XplatUIWin32.cs:
1084           - Small sanity check
1085
1086 2004-10-19 21:56  pbartok
1087
1088         * Form.cs:
1089           - Added private FormParentWindow class which acts as the container
1090             for our form and as the non-client area where menus are drawn
1091           - Added/Moved required tie-ins to Jordi's menus
1092           - Fixed/Implemented the FormStartPosition functionality
1093
1094 2004-10-19 21:52  pbartok
1095
1096         * Control.cs:
1097           - Removed unneeded locals
1098           - Added code to all size and location properties to understand and
1099             deal with the parent container of Form
1100
1101 2004-10-19 21:33  pbartok
1102
1103         * Application.cs:
1104           - Fixed to deal with new Form subclasses for menus
1105
1106 2004-10-19 17:48  jackson
1107
1108         * XEventQueue.cs: commit correct version of file
1109
1110 2004-10-19 16:50  jackson
1111
1112         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
1113
1114 2004-10-19 16:15  jordi
1115
1116         * MenuAPI.cs: MenuBarCalcSize returns the height
1117
1118 2004-10-19 08:31  pbartok
1119
1120         * Control.cs:
1121           - Added missing call to PreProcessMessage before calling OnXXXKey
1122           methods
1123
1124 2004-10-19 00:04  ravindra
1125
1126         * ToolTip.cs: Fixed constructor.
1127
1128 2004-10-18 09:31  jordi
1129
1130         * MenuAPI.cs: menuitems in menubars do not have shortcuts
1131
1132 2004-10-18 09:26  jordi
1133
1134         * MenuItem.cs: fixes MenuItem class signature
1135
1136 2004-10-18 08:56  jordi
1137
1138         * MenuAPI.cs: prevents windows from showing in the taskbar
1139
1140 2004-10-18 00:28  ravindra
1141
1142         * ToolTip.cs: Suppressed a warning message.
1143
1144 2004-10-18 00:27  ravindra
1145
1146         * Control.cs: Default value of visible property must be true.
1147
1148 2004-10-17 23:19  pbartok
1149
1150         * ToolTip.cs:
1151           - Complete implementation
1152
1153 2004-10-17 23:19  pbartok
1154
1155         * XplatUIX11.cs:
1156           - Added EnableWindow method
1157           - Added SetModal stub
1158           - Added generation of WM_ACTIVATE message (still needs testing)
1159           - Added SetTopMost stub
1160           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
1161
1162 2004-10-17 23:17  pbartok
1163
1164         * XplatUIWin32.cs:
1165           - Removed VirtualKeys to XplatUIStructs
1166           - Implemented SetTopMost method
1167           - Implemented EnableWindow method
1168           - Bugfix in ScreenToClient()
1169           - Bugfixes in ClientToScreen()
1170
1171 2004-10-17 22:51  pbartok
1172
1173         * XplatUIStructs.cs:
1174           - Added WS_EX styles to WindowStyles enumeration
1175
1176 2004-10-17 22:50  pbartok
1177
1178         * XplatUI.cs, XplatUIDriver.cs:
1179           - Added method for enabling/disabling windows
1180           - Added method for setting window modality
1181           - Added method for setting topmost window
1182
1183 2004-10-17 22:49  pbartok
1184
1185         * ThemeWin32Classic.cs:
1186           - Added ToolTip drawing code
1187
1188 2004-10-17 22:49  pbartok
1189
1190         * Theme.cs:
1191           - Added ToolTip abstracts
1192
1193 2004-10-17 22:47  pbartok
1194
1195         * Form.cs:
1196           - Fixed Form.ControlCollection to handle owner relations
1197           - Added Owner/OwnedForms handling
1198           - Implemented Z-Ordering for owned forms
1199           - Removed unneeded private overload of ShowDialog
1200           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
1201             so I hope)
1202           - Fixed Close(), had wrong default
1203           - Added firing of OnLoad event
1204           - Added some commented out debug code for Ownership handling
1205
1206 2004-10-17 22:16  pbartok
1207
1208         * Control.cs:
1209           - Fixed/implemented flat list of controls
1210
1211 2004-10-17 22:14  pbartok
1212
1213         * Application.cs:
1214           - Added code to simulate modal dialogs on Win32
1215
1216 2004-10-17 16:11  jordi
1217
1218         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
1219           mouse event
1220
1221 2004-10-17 13:39  jordi
1222
1223         * MenuAPI.cs: menu drawing fixes
1224
1225 2004-10-15 09:10  ravindra
1226
1227         * StructFormat.cs: General Enum.
1228
1229 2004-10-15 09:09  ravindra
1230
1231         * SizeGripStyle.cs: Enum for Form.
1232
1233 2004-10-15 09:08  ravindra
1234
1235         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
1236           in Theme for ListView.
1237
1238 2004-10-15 09:06  ravindra
1239
1240         * ColumnHeader.cs: Flushing some formatting changes.
1241
1242 2004-10-15 09:05  ravindra
1243
1244         * ListViewItem.cs: Implemented GetBounds method and fixed coding
1245           style.
1246
1247 2004-10-15 09:03  ravindra
1248
1249         * ListView.cs: Implemented Paint method and fixed coding style.
1250
1251 2004-10-15 07:34  jordi
1252
1253         * MenuAPI.cs: fix for X11
1254
1255 2004-10-15 07:32  ravindra
1256
1257         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
1258                 - Renamed Paint() method to Draw() for clarity. Also, moved
1259                 DrawImage() to OnPaint().
1260
1261 2004-10-15 07:25  ravindra
1262
1263         * CheckBox.cs, RadioButton.cs:
1264                 - Removed Redraw (), we get it from ButtonBase.
1265                 - Implemented Paint (), to do class specific painting.
1266
1267 2004-10-15 07:16  ravindra
1268
1269         * ButtonBase.cs:
1270                 - Redraw () is not virtual now.
1271                 - Added an internal virtual method Paint (), so that
1272                 derived classes can do their painting on their own.
1273                 - Modified OnPaint () to call Paint ().
1274
1275 2004-10-15 06:43  jordi
1276
1277         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
1278           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
1279
1280 2004-10-15 00:30  ravindra
1281
1282         * MessageBox.cs:
1283                 - MessageBox on windows does not have min/max buttons.
1284                 This change in CreateParams fixes this on Windows. We
1285                 still need to implement this windowstyle behavior in
1286                 our X11 driver.
1287
1288 2004-10-14 05:14  ravindra
1289
1290         * ToolBar.cs:
1291                 - Changed Redraw () to do a Refresh () always.
1292                 - Fixed the MouseMove event handling when mouse is pressed,
1293                 ie drag event handling.
1294                 - Replaced the usage of ToolBarButton.Pressed property to
1295                 ToolBarButton.pressed internal variable.
1296
1297 2004-10-14 05:10  ravindra
1298
1299         * ToolBarButton.cs:
1300                 - Added an internal member 'inside' to handle mouse move
1301                 with mouse pressed ie mouse drag event.
1302                 - Changed 'Pressed' property to return true only when
1303                 'inside' and 'pressed' are both true.
1304                 - Some coding style love.
1305
1306 2004-10-14 00:17  ravindra
1307
1308         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
1309           public method.
1310
1311 2004-10-14 00:15  ravindra
1312
1313         * ButtonBase.cs: Redraw () related improvements.
1314
1315 2004-10-14 00:14  ravindra
1316
1317         * MessageBox.cs: Moved InitFormSize () out of Paint method and
1318           removed unnecessary calls to Button.Show () method.
1319
1320 2004-10-13 17:50  pbartok
1321
1322         * XplatUIX11.cs:
1323           - Formatting fix
1324           - Removed destroying of window until we solve the problem of X
1325             destroying the window before us on shutdown
1326
1327 2004-10-13 16:32  pbartok
1328
1329         * ButtonBase.cs:
1330           - Now Redraws on MouseUp for FlatStyle Flat and Popup
1331
1332 2004-10-13 14:18  pbartok
1333
1334         * XplatUIX11.cs:
1335           - Added code to destroy the X window
1336
1337 2004-10-13 14:18  pbartok
1338
1339         * XplatUIWin32.cs:
1340           - Added code to destroy a window
1341
1342 2004-10-13 14:12  pbartok
1343
1344         * ButtonBase.cs:
1345           - Added the Redraw on Resize that got dropped in the last rev
1346
1347 2004-10-13 09:06  pbartok
1348
1349         * ThemeWin32Classic.cs:
1350           - Path from John BouAntoun:
1351             * Fix check rendering (centre correctly for normal style, offset
1352               correctly for FlatStyle).
1353             * Fix border color usage (use backcolor) for FlatStyle.Popup
1354             * Use checkbox.Capture instead of checkbox.is_pressed when
1355               rendering flatstyle states.
1356
1357 2004-10-12 21:48  pbartok
1358
1359         * ThemeWin32Classic.cs:
1360           - Removed all occurences of SystemColors and replaced them with the
1361             matching theme color
1362
1363 2004-10-12 21:41  pbartok
1364
1365         * ThemeWin32Classic.cs:
1366           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
1367             him using the function for flatstyle drawing
1368           - Changed functions to use the new version of CPDrawBorder3D
1369
1370 2004-10-12 21:15  pbartok
1371
1372         * ControlPaint.cs:
1373           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
1374             match MS documentation. They need to return defined colors if the
1375             passed color matches the configured control color. Thanks to John
1376             BouAntoun for pointing this out.
1377
1378 2004-10-12 20:57  pbartok
1379
1380         * Control.cs:
1381           - Fix from John BouAntoun: Raise ForeColorChanged event when text
1382             color is changed
1383
1384 2004-10-12 20:46  pbartok
1385
1386         * CheckBox.cs:
1387           - Fix from John BouAntoun: Now properly sets the Appearance property
1388
1389 2004-10-12 20:45  pbartok
1390
1391         * ThemeWin32Classic.cs:
1392           - Fixes from John BouAntoun: now handles forecolors and backcolors
1393             for flatstyle rendered controls much better; It also fixes normal
1394             checkbox rendering when pushed or disabled.
1395
1396 2004-10-08 02:50  jordi
1397
1398         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
1399           work
1400
1401 2004-10-07 08:56  jordi
1402
1403         * ThemeWin32Classic.cs: Removes deletion of cached brushes
1404
1405 2004-10-06 03:59  jordi
1406
1407         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
1408           XplatUIWin32.cs: removes warnings from compilation
1409
1410 2004-10-05 12:23  jackson
1411
1412         * RadioButton.cs: Fix ctor
1413
1414 2004-10-05 11:10  pbartok
1415
1416         * MessageBox.cs:
1417           - Partial implementation by Benjamin Dasnois
1418
1419 2004-10-05 10:15  jackson
1420
1421         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
1422           by John BouAntoun
1423
1424 2004-10-05 03:07  ravindra
1425
1426         * ToolBar.cs:
1427                 - Removed a private method, Draw ().
1428                 - Fixed the ButtonDropDown event handling.
1429                 - Fixed MouseMove event handling.
1430
1431 2004-10-05 03:04  ravindra
1432
1433         * ThemeWin32Classic.cs:
1434                 - Added DrawListView method and ListViewDefaultSize property.
1435                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
1436                 - Changed DOS style CRLF to Unix format (dos2unix).
1437
1438 2004-10-05 03:03  ravindra
1439
1440         * Theme.cs:
1441                 - Added DrawListView method and ListViewDefaultSize property.
1442
1443 2004-10-05 02:42  ravindra
1444
1445         * ToolBarButton.cs: Added an internal member dd_pressed to handle
1446           clicks on DropDown arrow.
1447
1448 2004-10-04 22:56  jackson
1449
1450         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
1451           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
1452           Control handle the buffers, derived classes should not have to
1453           CreateBuffers themselves.
1454
1455 2004-10-04 21:20  jackson
1456
1457         * StatusBar.cs: The control handles resizing the buffers now.
1458
1459 2004-10-04 21:18  jackson
1460
1461         * Control.cs: When resizing the buffers should be invalidated. This
1462           should be handled in Control not in derived classes.
1463
1464 2004-10-04 14:45  jackson
1465
1466         * TabPage.cs: oops
1467
1468 2004-10-04 02:14  pbartok
1469
1470         * LeftRightAlignment.cs:
1471           - Initial check-in
1472
1473 2004-10-04 01:09  jordi
1474
1475         * ThemeWin32Classic.cs: fixes right button position causing right
1476           button not showing on horizontal scrollbars
1477
1478 2004-10-02 13:12  pbartok
1479
1480         * XplatUIX11.cs:
1481           - Simplified the Invalidate method by using an X call instead of
1482             generating the expose ourselves
1483           - Added an expose when the window background is changed
1484           - Implemented ClientToScreen method
1485
1486 2004-10-02 13:08  pbartok
1487
1488         * XplatUIWin32.cs:
1489           - Added Win32EnableWindow method (test for implementing modal
1490           dialogs)
1491           - Added ClientToScreen method and imports
1492
1493 2004-10-02 13:07  pbartok
1494
1495         * XplatUI.cs, XplatUIDriver.cs:
1496           - Added ClientToScreen coordinate translation method
1497
1498 2004-10-02 13:06  pbartok
1499
1500         * KeyPressEventArgs.cs:
1501           - Fixed access level for constructor
1502
1503 2004-10-02 13:06  pbartok
1504
1505         * NativeWindow.cs:
1506           - Changed access level for the window_collection hash table
1507
1508 2004-10-02 13:05  pbartok
1509
1510         * Form.cs:
1511           - Added KeyPreview property
1512           - Added Menu property (still incomplete, pending Jordi's menu work)
1513           - Implemented ProcessCmdKey
1514           - Implemented ProcessDialogKey
1515           - Implemented ProcessKeyPreview
1516
1517 2004-10-02 13:02  pbartok
1518
1519         * Control.cs:
1520           - Added private method to get the Control object from the window
1521           handle
1522           - Implemented ContextMenu property
1523           - Implemented PointToScreen
1524           - Implemented PreProcessMessage
1525           - Implemented IsInputChar
1526           - Implemented IsInputKey
1527           - Implemented ProcessCmdKey
1528           - Completed ProcessKeyEventArgs
1529           - Fixed message loop to call the proper chain of functions on key
1530           events
1531           - Implemented ProcessDialogChar
1532           - Implemented ProcessDialogKey
1533           - Implemented ProcessKeyMessage
1534           - Implemented ProcessKeyPreview
1535           - Added RaiseDragEvent stub (MS internal method)
1536           - Added RaiseKeyEvent stub (MS internal method)
1537           - Added RaiseMouseEvent stub (MS Internal method)
1538           - Added RaisePaintEvent stub (MS Internal method)
1539           - Added ResetMouseEventArgs stub (MS Internal method)
1540           - Implemented RtlTranslateAlignment
1541           - Implemented RtlTranslateContent
1542           - Implemented RtlTranslateHorizontal
1543           - Implemented RtlTranslateLeftRight
1544           - Added generation of KeyPress event
1545
1546 2004-10-02 05:57  ravindra
1547
1548         * ListViewItem.cs: Added attributes.
1549
1550 2004-10-02 05:32  ravindra
1551
1552         * ListView.cs: Added attributes.
1553
1554 2004-10-01 11:53  jackson
1555
1556         * Form.cs: Implement the Close method so work on MessageBox can
1557           continue.
1558
1559 2004-09-30 14:06  pbartok
1560
1561         * XplatUIX11.cs:
1562           - Bug fixes
1563
1564 2004-09-30 11:34  jackson
1565
1566         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
1567
1568 2004-09-30 07:26  ravindra
1569
1570         * ListViewItemConverter.cs: Converter for ListViewItem.
1571
1572 2004-09-30 07:26  ravindra
1573
1574         * SortOrder.cs: Enum for ListView control.
1575
1576 2004-09-30 07:25  ravindra
1577
1578         * ColumnHeader.cs: Supporting class for ListView control.
1579
1580 2004-09-30 07:24  ravindra
1581
1582         * ListView.cs, ListViewItem.cs: Initial implementation.
1583
1584 2004-09-30 07:20  ravindra
1585
1586         * ItemActivation.cs: Enum for ListView Control.
1587
1588 2004-09-29 20:29  pbartok
1589
1590         * XplatUIX11.cs:
1591           - Added lookup of pixel value for background color; tries to get a
1592             color 'close' to the requested color, it avoids having to create a
1593             colormap.  Depending on the display this could mean the used color
1594             is slightly off the desired color. Might have to change it to a more
1595             resource intensive colormap approach, but it will work as a
1596           workaround to avoid red screens.
1597
1598 2004-09-29 14:27  jackson
1599
1600         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
1601
1602 2004-09-28 12:44  pbartok
1603
1604         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
1605           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
1606           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
1607           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
1608           TrackBar.cs, VScrollBar.cs:
1609           - Streamlined Theme interfaces:
1610             * Each DrawXXX method for a control now is passed the object for
1611               the control to be drawn in order to allow accessing any state the
1612               theme might require
1613
1614             * ControlPaint methods for the theme now have a CP prefix to avoid
1615               name clashes with the Draw methods for controls
1616
1617             * Every control now retrieves it's DefaultSize from the current
1618             theme
1619
1620 2004-09-28 12:17  jackson
1621
1622         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
1623           drawing
1624
1625 2004-09-24 14:57  jackson
1626
1627         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
1628           Gives us a nice little performance boost.
1629
1630 2004-09-24 12:02  jackson
1631
1632         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
1633           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
1634           Control and supporting classes. Initial checkin
1635
1636 2004-09-23 13:08  jackson
1637
1638         * Form.cs: Temp build fixage
1639
1640 2004-09-23 01:39  ravindra
1641
1642         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
1643           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
1644           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
1645           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
1646           EventHandlers needed by ListView Control.
1647
1648 2004-09-22 14:12  pbartok
1649
1650         * ScrollableControl.cs:
1651           - Implemented DockPadding property
1652           - Implemented AutoScroll property
1653           - Implemented AutoScrollMargin property
1654           - Implemented AutoScrollMinSize property
1655           - Implemented AutoScrollPosition property
1656           - Implemented DisplayRectangle property (still incomplete)
1657           - Implemented CreateParams property
1658           - Implemented HScroll property
1659           - Implemented VScroll property
1660           - Implemented OnVisibleChanged property
1661
1662 2004-09-22 14:09  pbartok
1663
1664         * Form.cs:
1665           - Added Form.ControllCollection class
1666           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
1667             RemoveOwnedForm (still incomplete, missing on-top and common
1668             minimize/maximize behaviour)
1669           - Added StartPosition property (still incomplete, does not use when
1670             creating the form)
1671           - Added ShowDialog() methods (still incomplete, missing forcing the
1672             dialog modal)
1673
1674 2004-09-22 14:05  pbartok
1675
1676         * Application.cs:
1677           - Added message loop for modal dialogs
1678
1679 2004-09-22 14:02  pbartok
1680
1681         * GroupBox.cs:
1682           - Fixed wrong types for events
1683
1684 2004-09-22 14:00  pbartok
1685
1686         * Shortcut.cs, FormWindowState.cs:
1687           - Fixed wrong values
1688
1689 2004-09-22 12:01  jackson
1690
1691         * Control.cs: Text is never null
1692
1693 2004-09-20 22:14  pbartok
1694
1695         * XplatUIWin32.cs:
1696           - Fixed accessibility level for Idle handler
1697
1698 2004-09-20 18:54  jackson
1699
1700         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
1701           XplatUIX11.cs: New message loop that uses poll so we don't get a
1702           busy loop
1703
1704 2004-09-17 10:43  pbartok
1705
1706         * ScrollBar.cs:
1707           - Fixed behaviour of arrow buttons. Now properly behaves like
1708             Buttons (and like Microsoft's scrollbar arrow buttons)
1709
1710 2004-09-17 10:14  pbartok
1711
1712         * ScrollBar.cs:
1713           - Added missing release of keyboard/mouse capture
1714
1715 2004-09-17 06:18  jordi
1716
1717         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
1718           Theme.cs: Very early menu support
1719
1720 2004-09-16 17:45  pbartok
1721
1722         * XplatUIWin32.cs:
1723           - Fixed sending a window to the front
1724           - Added overload for SetWindowPos to avoid casting
1725
1726 2004-09-16 17:44  pbartok
1727
1728         * Control.cs:
1729           - Added SendToBack and BringToFront methods
1730
1731 2004-09-16 07:00  ravindra
1732
1733         * Copyright: Added Novell URL.
1734
1735 2004-09-16 07:00  ravindra
1736
1737         * ToolBar.cs: Invalidate should be done before redrawing.
1738
1739 2004-09-15 21:19  ravindra
1740
1741         * ColumnHeaderStyle.cs: Enum for ListView Control.
1742
1743 2004-09-15 21:18  ravindra
1744
1745         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
1746           ListView Control.
1747
1748 2004-09-13 18:26  jackson
1749
1750         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
1751           properly
1752
1753 2004-09-13 18:13  jackson
1754
1755         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
1756           a second thread and post messages into the main threads message
1757           queue. This makes timing much more consistent. Both win2K and XP
1758           have a minimum timer value of 15 milliseconds, so we now do this
1759           too.
1760
1761 2004-09-13 15:18  pbartok
1762
1763         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
1764           XplatUIX11.cs:
1765           - Added Z-Ordering methods
1766
1767 2004-09-13 10:56  pbartok
1768
1769         * Form.cs:
1770           - Fixed #region names
1771           - Moved properties and methods into their proper #regions
1772
1773 2004-09-13 10:51  pbartok
1774
1775         * Form.cs:
1776           - Added Accept and CancelButton properties
1777           - Added ProcessDialogKey() method
1778
1779 2004-09-13 08:18  pbartok
1780
1781         * IWindowTarget.cs:
1782           - Initial check-in
1783
1784 2004-09-10 21:50  pbartok
1785
1786         * Control.cs:
1787           - Added DoDragDrop() [incomplete]
1788           - Properly implemented 'Visible' handling
1789           - Added SetVisibleCore()
1790           - Implemented FindChildAtPoint()
1791           - Implemented GetContainerControl()
1792           - Implemented Hide()
1793
1794 2004-09-10 19:28  pbartok
1795
1796         * Control.cs:
1797           - Moved methods into their appropriate #regions
1798           - Reordered methods within regions alphabetically
1799
1800 2004-09-10 18:57  pbartok
1801
1802         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
1803           - Added method to retrieve text from window
1804
1805 2004-09-10 18:56  pbartok
1806
1807         * Control.cs:
1808           - Moved some internal functions into the internal region
1809           - Implemented FontHeight
1810           - Implemented RenderRightToLeft
1811           - Implemented ResizeRedraw
1812           - Implemented ShowFocusCues
1813           - Implemented ShowKeyboardCues
1814           - Implemented FromChildHandle
1815           - Implemented FromHandle
1816           - Implemented IsMnemonic
1817           - Implemented ReflectMessage
1818           - All public and protected Static Methods are now complete
1819
1820 2004-09-10 16:54  pbartok
1821
1822         * Control.cs:
1823           - Implemented remaining missing public instance properties
1824           - Alphabetized some out of order properties
1825
1826 2004-09-10 05:51  ravindra
1827
1828         * PictureBox.cs: Added a check for null image.
1829
1830 2004-09-10 00:59  jordi
1831
1832         * GroupBox.cs: remove cvs tag
1833
1834 2004-09-09 05:25  ravindra
1835
1836         * ToolBar.cs: Make redraw accessible from ToolBarButton.
1837
1838 2004-09-09 05:23  ravindra
1839
1840         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
1841           parent redraw.
1842
1843 2004-09-09 02:28  pbartok
1844
1845         * ThemeWin32Classic.cs:
1846           - Improve disabled string look
1847
1848 2004-09-09 01:15  jordi
1849
1850         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
1851           args and handler
1852
1853 2004-09-08 23:56  ravindra
1854
1855         * ItemBoundsPortion.cs: It's enum, not a class!
1856
1857 2004-09-08 23:47  ravindra
1858
1859         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
1860           Enums for Form.
1861
1862 2004-09-08 21:13  ravindra
1863
1864         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
1865           ListView control.
1866
1867 2004-09-08 21:03  ravindra
1868
1869         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
1870           avoid crash.
1871
1872 2004-09-08 21:01  ravindra
1873
1874         * ScrollableControl.cs: Removed unreachable code.
1875
1876 2004-09-08 06:45  jordi
1877
1878         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
1879
1880 2004-09-08 01:00  jackson
1881
1882         * XplatUIX11.cs: Only run the timers when updating the message
1883           queue. This effectively gives X messages a higher priority then
1884           timer messages. Timers still need love though
1885
1886 2004-09-07 14:01  jackson
1887
1888         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
1889           this for us and the handle is no longer valid.
1890
1891 2004-09-07 13:59  jackson
1892
1893         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
1894           loop that manages to not crash. TODO: Add poll and cleanup timers
1895
1896 2004-09-07 11:12  jordi
1897
1898         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
1899
1900 2004-09-07 03:40  jordi
1901
1902         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
1903           fixes, methods, multiple links
1904
1905 2004-09-06 06:55  jordi
1906
1907         * Control.cs: Caches ClientRectangle rectangle value
1908
1909 2004-09-05 02:03  jordi
1910
1911         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
1912           certain situations
1913
1914 2004-09-04 11:10  jordi
1915
1916         * Label.cs: Refresh when font changed
1917
1918 2004-09-02 16:24  pbartok
1919
1920         * Control.cs:
1921           - Added sanity check to creation of double buffer bitmap
1922
1923 2004-09-02 16:24  pbartok
1924
1925         * ButtonBase.cs:
1926           - Fixed selection of text color
1927           - Fixed handling of resize event; now properly recreates double
1928             buffering bitmap
1929           - Added missing assignment of TextAlignment
1930           - Added proper default for TextAlignment
1931
1932 2004-09-02 14:26  pbartok
1933
1934         * RadioButton.cs:
1935           - Added missing RadioButton.RadioButtonAccessibleObject class
1936
1937 2004-09-02 14:26  pbartok
1938
1939         * Control.cs:
1940           - Added missing Control.ControlAccessibleObject class
1941           - Started to implement Select()ion mechanisms, still very incomplete
1942
1943 2004-09-02 14:25  pbartok
1944
1945         * AccessibleObject.cs:
1946           - Added missing methods
1947
1948 2004-09-02 14:23  pbartok
1949
1950         * AccessibleNavigation.cs, AccessibleSelection.cs:
1951           - Initial check-in
1952
1953 2004-09-02 10:32  jordi
1954
1955         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
1956           pool for pens, brushes, and hatchbruses
1957
1958 2004-09-01 15:30  jackson
1959
1960         * StatusBar.cs: Fix typo
1961
1962 2004-09-01 14:44  pbartok
1963
1964         * RadioButton.cs:
1965           - Fixed state
1966
1967 2004-09-01 14:39  pbartok
1968
1969         * Button.cs, RadioButton.cs:
1970           - Functional initial check-in
1971
1972 2004-09-01 14:01  pbartok
1973
1974         * CheckBox.cs:
1975           - Added missing default
1976           - Added missing region mark
1977
1978 2004-09-01 09:10  jordi
1979
1980         * Label.cs: fixes method signatures, new methods, events, fixes
1981           autosize
1982
1983 2004-09-01 07:19  jordi
1984
1985         * Control.cs: Init string variables with an empty object
1986
1987 2004-09-01 04:20  jordi
1988
1989         * Control.cs: fires OnFontChanged event
1990
1991 2004-08-31 20:07  pbartok
1992
1993         * ButtonBase.cs:
1994           - Enabled display of strings
1995
1996 2004-08-31 20:05  pbartok
1997
1998         * Form.cs:
1999           - Added (partial) implementation of DialogResult; rest needs to be
2000             implemented when the modal loop code is done
2001
2002 2004-08-31 19:55  pbartok
2003
2004         * CheckBox.cs:
2005           - Fixed to match the removal of the needs_redraw concept
2006
2007 2004-08-31 19:55  pbartok
2008
2009         * ButtonBase.cs:
2010           - Removed the rather odd split between 'needs redraw' and redrawing
2011           - Now handles the events that require regeneration (ambient
2012             properties and size)
2013
2014 2004-08-31 19:41  pbartok
2015
2016         * Control.cs:
2017           - Added firing of BackColorChanged event
2018           - Added TopLevelControl property
2019           - Fixed handling of WM_ERASEBKGRND message
2020
2021 2004-08-31 12:49  pbartok
2022
2023         * ButtonBase.cs:
2024           - Removed debug
2025           - Minor fixes
2026
2027 2004-08-31 12:48  pbartok
2028
2029         * CheckBox.cs:
2030           - Finished (famous last words)
2031
2032 2004-08-31 04:35  jordi
2033
2034         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
2035           scrolling bugs, adds new methods
2036
2037 2004-08-30 14:42  pbartok
2038
2039         * CheckBox.cs:
2040           - Implemented CheckBox drawing code
2041
2042 2004-08-30 14:42  pbartok
2043
2044         * ButtonBase.cs:
2045           - Made Redraw() and CheckRedraw() virtual
2046           - Improved mouse up/down/move logic to properly track buttons
2047
2048 2004-08-30 09:44  pbartok
2049
2050         * CheckBox.cs:
2051           - Updated to fix broken build. Not complete yet.
2052
2053 2004-08-30 09:28  pbartok
2054
2055         * CheckState.cs:
2056           - Initial checkin
2057
2058 2004-08-30 09:17  pbartok
2059
2060         * Appearance.cs:
2061           - Initial check-in
2062
2063 2004-08-27 16:12  ravindra
2064
2065         * ToolBarButton.cs: Added TypeConverter attribute.
2066
2067 2004-08-27 16:07  ravindra
2068
2069         * ImageIndexConverter.cs: Implemented.
2070
2071 2004-08-27 14:17  pbartok
2072
2073         * Control.cs:
2074           - Removed unneeded stack vars
2075           - First attempt to fix sizing issues when layout is suspended
2076
2077 2004-08-25 15:35  jordi
2078
2079         * ScrollBar.cs: more fixes to scrollbar
2080
2081 2004-08-25 14:04  ravindra
2082
2083         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
2084           Added the missing divider code and grip for ToolBar Control.
2085
2086 2004-08-25 13:20  pbartok
2087
2088         * Control.cs:
2089           - Control now properly passes the ambient background color to child
2090             controls
2091
2092 2004-08-25 13:20  jordi
2093
2094         * ScrollBar.cs: small bug fix regarding bar position
2095
2096 2004-08-25 12:33  pbartok
2097
2098         * Timer.cs:
2099           - Now only calls SetTimer or KillTimer if the enabled state has
2100           changed
2101
2102 2004-08-25 12:33  pbartok
2103
2104         * XplatUIWin32.cs:
2105           - Fixed timer handling, now seems to work
2106           - Improved error message for window creation
2107
2108 2004-08-25 12:32  pbartok
2109
2110         * Control.cs:
2111           - Fixed generation of MouseUp message
2112
2113 2004-08-25 12:29  jordi
2114
2115         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
2116           and fixes for progressbar
2117
2118 2004-08-24 18:43  ravindra
2119
2120         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
2121           in ToolBar control.
2122
2123 2004-08-24 17:15  pbartok
2124
2125         * Panel.cs:
2126           - Added #region
2127           - Added missing events
2128           - Alphabetized
2129
2130 2004-08-24 17:14  pbartok
2131
2132         * StatusBar.cs, PictureBox.cs:
2133           - Now uses Control's CreateParams
2134
2135 2004-08-24 16:36  pbartok
2136
2137         * XplatUIX11.cs:
2138           - Fixed background color handling
2139           - Fixed sending of enter/leave events on a grab
2140
2141 2004-08-24 16:35  pbartok
2142
2143         * X11Structs.cs:
2144           - Refined definitions for CrossingEvent
2145
2146 2004-08-24 12:37  jordi
2147
2148         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
2149           formmating, methods signature, and adds missing events
2150
2151 2004-08-24 12:24  jordi
2152
2153         * Control.cs: fire OnEnabledChanged event
2154
2155 2004-08-24 11:17  pbartok
2156
2157         * XplatUIWin32.cs:
2158           - Implemented SetTimer() and KillTimer()
2159
2160 2004-08-24 11:16  pbartok
2161
2162         * XplatUIX11.cs:
2163           - Now uses Remove instead of Add to kill the timer
2164
2165 2004-08-24 10:16  jackson
2166
2167         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
2168           picture boxes in the theme now. Draw picture box borders and obey
2169           sizing modes
2170
2171 2004-08-24 05:49  jackson
2172
2173         * Timer.cs: Remove top secret debugging code
2174
2175 2004-08-24 05:34  jackson
2176
2177         * PictureBox.cs: Temp hack to make picture boxes draw their full
2178           image
2179
2180 2004-08-24 05:29  jackson
2181
2182         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
2183           XplatUIX11.cs: Move timers to the driver level. On X they are
2184           queued by the driver and checked on idle.
2185
2186 2004-08-24 01:07  jackson
2187
2188         * XplatUIX11.cs: Use a queue for async messages instead of passing
2189           them as ClientMessages since that was totally broken. Also simply
2190           check for events and return an idle message if none are found. This
2191           gives us an idle handler, and prevents deadlocking when no messages
2192           are in the queue.
2193
2194 2004-08-23 18:19  ravindra
2195
2196         * XplatUIWin32.cs: Removed the unwanted destructor.
2197
2198 2004-08-23 17:27  pbartok
2199
2200         * ButtonBase.cs:
2201           - Finishing touches. Works now, just needs some optimizations.
2202
2203 2004-08-23 16:53  jordi
2204
2205         * ScrollBar.cs: small fix
2206
2207 2004-08-23 16:45  pbartok
2208
2209         * Application.cs:
2210           - Removed debug output
2211           - Simplifications
2212
2213 2004-08-23 16:43  jordi
2214
2215         * ScrollBar.cs: [no log message]
2216
2217 2004-08-23 16:10  pbartok
2218
2219         * Form.cs:
2220           - Fixed handling of WM_CLOSE message
2221           - Removed debug output
2222
2223 2004-08-23 16:09  pbartok
2224
2225         * Application.cs:
2226           - Added handling of Idle event
2227           - Added handling of form closing
2228           - Fixed reporting of MessageLoop property
2229           - Removed some unneeded code, should provide a bit of a speedup
2230
2231 2004-08-23 15:22  pbartok
2232
2233         * Control.cs:
2234           - Added InitLayout() method
2235           - Added code to properly perform layout when Anchor or Dock property
2236             is changed
2237           - Changed 'interpretation' of ResumeLayout. MS seems to have a
2238             LAMESPEC, tried to do it in a way that makes sense
2239
2240 2004-08-23 14:10  jordi
2241
2242         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
2243           properties and methods
2244
2245 2004-08-23 13:55  pbartok
2246
2247         * Control.cs:
2248           - Properly fixed Jordi's last fix
2249           - Now uses Cursor's Position property instead of calling XplatUI
2250           directly
2251
2252 2004-08-23 13:44  jordi
2253
2254         * PaintEventHandler.cs: Adding missing attribute
2255
2256 2004-08-23 13:39  pbartok
2257
2258         * Cursor.cs:
2259           - Implemented Position property
2260
2261 2004-08-23 13:39  pbartok
2262
2263         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
2264           - Added method to move mouse cursor
2265
2266 2004-08-23 13:39  pbartok
2267
2268         * XplatUIX11.cs:
2269           - Fixed setting of background color
2270           - Added method to move mouse cursor
2271
2272 2004-08-23 13:16  jordi
2273
2274         * Control.cs: avoids null exception
2275
2276 2004-08-22 17:46  jackson
2277
2278         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
2279           PictureBox
2280
2281 2004-08-22 17:40  jackson
2282
2283         * XplatUIX11.cs: Add some missing locks
2284
2285 2004-08-22 15:10  pbartok
2286
2287         * Control.cs, Form.cs:
2288           - Removed OverlappedWindow style from Control, instead it's default
2289             now is child
2290           - Made form windows OverlappedWindow by default
2291
2292 2004-08-22 13:34  jackson
2293
2294         * ScrollBar.cs: Update the position through the Value property so
2295           the OnValueChanged event is raised.
2296
2297 2004-08-22 12:04  pbartok
2298
2299         * SWF.csproj:
2300           - Added Cursor.cs and UserControl.cs
2301
2302 2004-08-22 12:03  pbartok
2303
2304         * Cursor.cs:
2305           - Started implementation, not usable yet
2306
2307 2004-08-22 12:00  pbartok
2308
2309         * UserControl.cs:
2310           - Implemented UserControl (complete)
2311
2312 2004-08-21 19:20  ravindra
2313
2314         * ToolBar.cs: Correcting the formatting mess of VS.NET.
2315
2316 2004-08-21 18:49  ravindra
2317
2318         * ToolBar.cs: Probably this completes the missing attributes in
2319           toolbar control.
2320
2321 2004-08-21 18:03  ravindra
2322
2323         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
2324           Fixed toolbar control signatures.
2325
2326 2004-08-21 16:32  pbartok
2327
2328         * LinkLabel.cs:
2329           - Signature Fixes
2330
2331 2004-08-21 16:30  pbartok
2332
2333         * Label.cs:
2334           - Signature fixes
2335
2336 2004-08-21 16:19  pbartok
2337
2338         * Control.cs, Label.cs:
2339           - Signature fixes
2340
2341 2004-08-21 15:57  pbartok
2342
2343         * ButtonBase.cs:
2344           - Added loads of debug output for development
2345           - Fixed typo in method name
2346
2347 2004-08-21 15:52  pbartok
2348
2349         * ToolBarButtonClickEventArgs.cs:
2350           - Added missing base class
2351
2352 2004-08-21 14:53  pbartok
2353
2354         * Control.cs:
2355           - Updated to match new GrabWindow signature
2356
2357 2004-08-21 14:51  pbartok
2358
2359         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
2360           - Added method to get default display size
2361
2362 2004-08-21 14:23  pbartok
2363
2364         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
2365           - Added method to query current grab state
2366           - Added argument to allow confining a grab to a window
2367
2368 2004-08-21 14:22  pbartok
2369
2370         * Keys.cs:
2371           - Added [Flags] attribute so that modifiers can be used in bitwise
2372           ops
2373
2374 2004-08-21 14:21  pbartok
2375
2376         * TrackBar.cs, ScrollBar.cs:
2377           - Replaced direct XplatUI calls with their Control counterpart
2378
2379 2004-08-21 13:32  pbartok
2380
2381         * Control.cs:
2382           - Implemented Created property
2383
2384 2004-08-21 13:28  pbartok
2385
2386         * Control.cs:
2387           - Implemented ContainsFocus
2388
2389 2004-08-21 13:26  pbartok
2390
2391         * Control.cs:
2392           - Implemented CausesValidation
2393
2394 2004-08-21 13:21  pbartok
2395
2396         * Control.cs:
2397           - Implemented CanFocus
2398           - Implemented CanSelect
2399           - Implemented Capture
2400
2401 2004-08-21 12:35  pbartok
2402
2403         * XplatUIWin32.cs:
2404           - Fixed bug with Async message handling
2405           - Implemented getting the ModifierKeys
2406
2407 2004-08-21 12:32  jackson
2408
2409         * AsyncMethodResult.cs: Make sure we have the mutex before we
2410           release it. Fixes BeginInvoke on windows
2411
2412 2004-08-21 11:31  pbartok
2413
2414         * XplatUIWin32.cs, XplatUIX11.cs:
2415           - Drivers now return proper mouse state
2416
2417 2004-08-21 10:54  jackson
2418
2419         * Control.cs: Implement EndInvoke
2420
2421 2004-08-21 10:48  jackson
2422
2423         * Timer.cs: Remove unneeded finalizer
2424
2425 2004-08-20 19:52  ravindra
2426
2427         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
2428           in mouse event handling in the ToolBar control.
2429
2430 2004-08-20 19:50  ravindra
2431
2432         * ImageList.cs: Changed draw method to use the arguments passed in
2433           to draw the image.
2434
2435 2004-08-20 18:58  pbartok
2436
2437         * XplatUIStructs.cs:
2438           - Added private message for async communication
2439
2440 2004-08-20 17:38  ravindra
2441
2442         * Control.cs: Made RightToLeft property virtual and removed a
2443           Console.WriteLine.
2444
2445 2004-08-20 14:39  jordi
2446
2447         * ThemeGtk.cs: use style_attach
2448
2449 2004-08-20 14:39  pbartok
2450
2451         * XplatUIWin32.cs:
2452           - Added jackson's Async code from X11 to Win32
2453
2454 2004-08-20 14:09  pbartok
2455
2456         * SWF.csproj:
2457           - Added all new files
2458
2459 2004-08-20 14:09  pbartok
2460
2461         * Control.cs:
2462           - Added call to set window background color
2463
2464 2004-08-20 14:03  pbartok
2465
2466         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
2467           - Added method for setting the window background
2468
2469 2004-08-20 14:02  pbartok
2470
2471         * XplatUIWin32.cs:
2472           - Added method for setting the background color
2473           - Added handling for erasing the window background
2474
2475 2004-08-20 13:45  jordi
2476
2477         * TrackBar.cs: fixes timer, new properties and methods
2478
2479 2004-08-20 13:34  jackson
2480
2481         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
2482           correct thread
2483
2484 2004-08-20 13:22  jackson
2485
2486         * Timer.cs: Timer Tick events are now handed through Controls Async
2487           mechanism so the callbacks are executed in the same thread as X
2488
2489 2004-08-20 13:19  jackson
2490
2491         * XplatUIDriver.cs: Expose functionality to send async messages
2492           through the driver
2493
2494 2004-08-20 13:18  jackson
2495
2496         * Control.cs: Implement Begininvoke
2497
2498 2004-08-20 13:14  jackson
2499
2500         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
2501           messages through the driver
2502
2503 2004-08-20 13:12  jackson
2504
2505         * XplatUIX11.cs: Lock before all X operations. Also added Async
2506           method functionality through XSendEvent
2507
2508 2004-08-20 13:11  jackson
2509
2510         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
2511           This will screw up on 64 bit systems)
2512
2513 2004-08-20 13:10  jackson
2514
2515         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
2516           Async messages through X/Win32
2517
2518 2004-08-19 19:39  pbartok
2519
2520         * XplatUIX11.cs:
2521           - Updated code to match new HandleData.DeviceContext type
2522
2523 2004-08-19 19:38  pbartok
2524
2525         * HandleData.cs:
2526           - Made DeviceContext a generic object to allow usage from various
2527           drivers
2528           - Added support for queueing Windows messages
2529
2530 2004-08-19 19:37  pbartok
2531
2532         * XplatUIWin32.cs:
2533           - Added generation of MouseEnter, MouseLeave and MouseHover events
2534           - Added cleanup on EndPaint
2535
2536 2004-08-19 19:17  pbartok
2537
2538         * Control.cs:
2539           - Added handling of WM_MOUSEHOVER
2540           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
2541           code
2542
2543 2004-08-19 18:55  jordi
2544
2545         * ThemeGtk.cs: fixes button order
2546
2547 2004-08-19 18:12  jordi
2548
2549         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
2550
2551 2004-08-19 17:09  pbartok
2552
2553         * Control.cs:
2554           - Added Right property
2555           - Added RightToLeft property
2556
2557 2004-08-19 16:27  jordi
2558
2559         * ThemeGtk.cs: experimental GTK theme support
2560
2561 2004-08-19 16:26  jordi
2562
2563         * ITheme.cs, Theme.cs: move themes from an interface to a class
2564
2565 2004-08-19 16:25  jordi
2566
2567         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
2568           theme enhancaments
2569
2570 2004-08-19 16:04  pbartok
2571
2572         * XplatUIX11.cs:
2573           - Added colormap basics
2574           - Added a way to re-initialize with a different display handle
2575           - Fixed setting of the window background color
2576           - Added various X11 imports related to colors and colormaps
2577
2578 2004-08-19 15:51  pbartok
2579
2580         * X11Structs.cs:
2581           - Removed packing hints (Paolo suggested this a while back)
2582           - fixed colormap type
2583           - Added default Atom types
2584           - Added Screen and color structs and enums
2585
2586 2004-08-19 15:39  pbartok
2587
2588         * ImageList.cs:
2589           - Added missing Draw() method
2590           - Added missing RecreateHandle event
2591
2592 2004-08-19 15:30  pbartok
2593
2594         * Form.cs:
2595           - Added handling of WM_CLOSE
2596
2597 2004-08-18 13:16  jordi
2598
2599         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
2600           a table
2601
2602 2004-08-18 09:56  jordi
2603
2604         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
2605
2606 2004-08-17 15:31  ravindra
2607
2608         * SWF.csproj: Updated project.
2609
2610 2004-08-17 15:25  pbartok
2611
2612         * Control.cs:
2613           - Drawing improvement; don't call UpdateBounds if we are not visible
2614             (or have been minimized)
2615
2616 2004-08-17 15:24  pbartok
2617
2618         * XplatUIWin32.cs:
2619           - Finished IsVisible
2620           - Added Win32GetWindowPlacement
2621
2622 2004-08-17 15:08  jackson
2623
2624         * Panel.cs: Initial checkin of the Panel
2625
2626 2004-08-17 14:25  pbartok
2627
2628         * Control.cs:
2629           - Fixed broken handling of default window sizes
2630
2631 2004-08-17 13:29  jackson
2632
2633         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
2634           has a large startup time.
2635
2636 2004-08-17 10:25  jackson
2637
2638         * HandleData.cs: union areas properly
2639
2640 2004-08-17 10:12  jackson
2641
2642         * HandleData.cs: union areas properly
2643
2644 2004-08-16 20:00  ravindra
2645
2646         * ToolBar.cs, ToolBarButton.cs: Added attributes.
2647
2648 2004-08-16 18:48  ravindra
2649
2650         * ToolBar.cs: Added attributes.
2651
2652 2004-08-16 17:17  ravindra
2653
2654         * SWF.csproj: Updated project.
2655
2656 2004-08-16 17:16  jackson
2657
2658         * XplatUIX11.cs: Check for more expose events before sending a
2659           WM_PAINT so they can all be grouped together. This makes dragging a
2660           window across another window redraw in a sane way.
2661
2662 2004-08-16 15:47  pbartok
2663
2664         * Control.cs:
2665           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
2666             support OnMouseEnter/Leave()
2667           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
2668             exposure handling
2669
2670 2004-08-16 15:46  pbartok
2671
2672         * XplatUIStructs.cs, XplatUIX11.cs:
2673           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
2674           OnMouseEnter/Leave()
2675
2676 2004-08-16 15:34  jackson
2677
2678         * XplatUIX11.cs: Group multiple expose events in HandleData, make
2679           sure messages get the message field set to WM_NULL if they are not
2680           handled.
2681
2682 2004-08-16 15:24  jackson
2683
2684         * HandleData.cs: HandleData is used for storing message information
2685           for window handles
2686
2687 2004-08-15 17:23  ravindra
2688
2689         * ColorDepth.cs: Added attribute.
2690
2691 2004-08-15 17:23  ravindra
2692
2693         * SWF.csproj: Updated project for ToolBar Control.
2694
2695 2004-08-15 17:20  ravindra
2696
2697         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
2698           control and also dos2unix format.
2699
2700 2004-08-15 17:13  ravindra
2701
2702         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
2703           ToolBarButtonClickEventArgs.cs,
2704           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
2705           ToolBarTextAlign.cs: First Implementation of ToolBar control.
2706
2707 2004-08-15 15:31  pbartok
2708
2709         * ButtonBase.cs:
2710           - First (mostly) working version
2711
2712 2004-08-13 16:15  pbartok
2713
2714         * Control.cs:
2715           - Fixed Anchor default
2716
2717 2004-08-13 15:43  pbartok
2718
2719         * Control.cs:
2720           - Changed GetCursorPos signature
2721
2722 2004-08-13 15:42  pbartok
2723
2724         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
2725           - Changed signature for GetCursorPos
2726
2727 2004-08-13 15:25  pbartok
2728
2729         * XplatUIX11.cs:
2730           - Cleanup
2731           - Fixed resizing/exposure handling
2732
2733 2004-08-13 15:22  jordi
2734
2735         * ThemeWin32Classic.cs: removes redundant code and fixes issues
2736           with tickposition
2737
2738 2004-08-13 14:55  jordi
2739
2740         * TrackBar.cs: change from wndproc to events
2741
2742 2004-08-13 13:00  jordi
2743
2744         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
2745           XplatUIX11.cs: implements PointToClient (ScreenToClient)
2746
2747 2004-08-13 12:53  pbartok
2748
2749         * XplatUIWin32.cs:
2750           - Changed GetWindowPos to also provide client area size
2751           - Fixed broken prototypes for several win32 functions
2752
2753 2004-08-13 12:53  pbartok
2754
2755         * XplatUI.cs, XplatUIDriver.cs:
2756           - Changed GetWindowPos to also provide client area size
2757
2758 2004-08-13 12:52  pbartok
2759
2760         * XplatUIX11.cs:
2761           - Added generation of WM_POSCHANGED
2762           - Changed GetWindowPos to also provide client area size
2763
2764 2004-08-13 12:52  pbartok
2765
2766         * Control.cs:
2767           - Added Dispose() and destructor
2768           - Fixed resizing and bounds calculation
2769           - Fixed Layout
2770           - Added memory savings for invisible windows
2771
2772 2004-08-13 12:46  jordi
2773
2774         * TrackBar.cs: adds timer and grap window
2775
2776 2004-08-13 10:25  jackson
2777
2778         * Timer.cs: SWF Timer
2779
2780 2004-08-12 16:59  pbartok
2781
2782         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
2783           - Implemented method to get current mouse position
2784
2785 2004-08-12 14:29  jordi
2786
2787         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
2788           enhancement, fix mouse problems, highli thumb, etc
2789
2790 2004-08-12 13:31  pbartok
2791
2792         * Control.cs:
2793           - Fixed Anchoring bugs
2794
2795 2004-08-12 13:01  jackson
2796
2797         * StatusBar.cs: Don't forget things
2798
2799 2004-08-12 12:54  jackson
2800
2801         * ThemeWin32Classic.cs: Handle owner draw status bars
2802
2803 2004-08-12 12:54  jackson
2804
2805         * StatusBar.cs: Implement missing properties, events, and methods.
2806           Handle mouse clicking
2807
2808 2004-08-12 10:19  jackson
2809
2810         * StatusBarPanelClickEventArgs.cs,
2811           StatusBarPanelClickEventHandler.cs: Classes for handling status
2812           bar panel click events
2813
2814 2004-08-12 10:10  jackson
2815
2816         * Control.cs: Add missing properties
2817
2818 2004-08-12 09:46  pbartok
2819
2820         * BindingsManagerBase.cs:
2821           - Name changed to BindingManagerBase.cs
2822
2823 2004-08-12 09:25  jordi
2824
2825         * ScrollableControl.cs: calls ctrlbase instead of exeception
2826
2827 2004-08-11 16:28  pbartok
2828
2829         * InputLanguageChangingEventArgs.cs:
2830           - Never check in before compiling. Fixes the last check-in
2831
2832 2004-08-11 16:26  pbartok
2833
2834         * InputLanguageChangingEventArgs.cs:
2835           - More signature fixes
2836
2837 2004-08-11 16:20  pbartok
2838
2839         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
2840           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
2841           ImageListStreamer.cs, InputLanguage.cs,
2842           InputLanguageChangedEventArgs.cs,
2843           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
2844           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
2845           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
2846           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
2847           - Signature fixes
2848
2849 2004-08-11 16:16  pbartok
2850
2851         * Application.cs:
2852           - Fixed Signature
2853           - Added .Net 1.1 method
2854
2855 2004-08-11 15:25  pbartok
2856
2857         * SWF.csproj:
2858           - Fixed BindingManagerBase.cs filename
2859
2860 2004-08-11 15:22  pbartok
2861
2862         * BindingManagerBase.cs:
2863           - Was checked in with wrong filename
2864
2865 2004-08-11 14:50  pbartok
2866
2867         * SWF.csproj:
2868           - Updated
2869
2870 2004-08-11 13:41  jordi
2871
2872         * XplatUIWin32.cs: Fixes ClientRect
2873
2874 2004-08-11 13:19  pbartok
2875
2876         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
2877           XplatUIX11.cs:
2878           - We had SetWindowPos and MoveWindow to set window positions and
2879             size, removed MoveWindow. We have GetWindowPos, so it made sense to
2880             keep SetWindowPos as matching counterpart
2881           - Added some X11 sanity checking
2882
2883 2004-08-11 12:59  pbartok
2884
2885         * Control.cs:
2886           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
2887             (It seems that SetBounds is just a front for SetBoundsCore and
2888              SetBoundsCore updates the underlying window system and
2889              UpdateBounds is responsible for updating the variables associated
2890              with the Control and sending the events)
2891           - Major cleanup of Size handling; we now have two sizes, client_size
2892             and bounds. Bounds defines the window with decorations, client_size
2893             without them.
2894
2895 2004-08-11 12:55  pbartok
2896
2897         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
2898           - Added method to calculate difference between decorated window and
2899             raw client area
2900
2901 2004-08-11 12:54  pbartok
2902
2903         * Label.cs:
2904           - Forcing redraw on resize
2905
2906 2004-08-11 11:43  pbartok
2907
2908         * ImageList.cs:
2909           - Removed disposing of the actual images when the list is disposed
2910
2911 2004-08-11 09:13  pbartok
2912
2913         * Control.cs:
2914           - Now properly reparents windows
2915
2916 2004-08-11 08:37  pbartok
2917
2918         * Control.cs:
2919           - Duh!
2920
2921 2004-08-11 07:47  pbartok
2922
2923         * Control.cs:
2924           - Rewrote the collection stuff. Might not be as fast now, not
2925             keeping the number of children around and accessible directly, but
2926             it's more straightforward
2927
2928 2004-08-11 07:44  pbartok
2929
2930         * AccessibleObject.cs:
2931           - Fixed to match ControlCollection rewrite
2932
2933 2004-08-11 07:43  pbartok
2934
2935         * ImageList.cs:
2936           - Added missing creation of the collection list
2937
2938 2004-08-10 20:08  jackson
2939
2940         * StatusBar.cs: Get the paint message from WndProc
2941
2942 2004-08-10 19:31  jackson
2943
2944         * ThemeWin32Classic.cs: Create Brushes as little as possible
2945
2946 2004-08-10 19:20  jackson
2947
2948         * UICues.cs: Add Flags attribute
2949
2950 2004-08-10 19:19  jackson
2951
2952         * StatusBarPanel.cs: Signature cleanup
2953
2954 2004-08-10 19:10  jackson
2955
2956         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
2957           Initial implementation of status bar item drawing
2958
2959 2004-08-10 17:27  jordi
2960
2961         * TrackBar.cs: add missing methods, properties, and restructure to
2962           hide extra ones
2963
2964 2004-08-10 16:24  jackson
2965
2966         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
2967           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
2968           attribute
2969
2970 2004-08-10 13:21  jordi
2971
2972         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
2973           enhancements and standarize on win colors defaults
2974
2975 2004-08-10 12:52  jackson
2976
2977         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
2978           ThemeWin32Classic.cs: Implement DrawItem functionality
2979
2980 2004-08-10 12:47  jordi
2981
2982         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
2983
2984 2004-08-10 12:32  jordi
2985
2986         * Control.cs: throw ontextchange event
2987
2988 2004-08-10 11:43  pbartok
2989
2990         * Control.cs:
2991           - Added more to the still unfinished Dock/Anchor layout code
2992
2993 2004-08-10 11:39  pbartok
2994
2995         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
2996           - Added GetWindowPos method
2997
2998 2004-08-10 11:36  pbartok
2999
3000         * XplatUIWin32.cs:
3001           - Implemented several methods
3002
3003 2004-08-10 09:47  jackson
3004
3005         * TrackBar.cs: Allow control to handle buffering
3006
3007 2004-08-10 09:41  jackson
3008
3009         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
3010
3011 2004-08-10 09:24  jackson
3012
3013         * Label.cs, LinkLabel.cs: Let Control handle buffering.
3014
3015 2004-08-10 09:09  jackson
3016
3017         * StatusBar.cs: Let Control handle all the buffering.
3018
3019 2004-08-10 09:08  jackson
3020
3021         * Control.cs: Control will now handle the buffering code, so each
3022           control does not have to implement this.
3023
3024 2004-08-10 08:34  jackson
3025
3026         * XplatUIDriver.cs: Use default colors from the theme
3027
3028 2004-08-09 17:12  pbartok
3029
3030         * ImageList.cs:
3031           - Fixed several bugs Ravindra pointed out
3032
3033 2004-08-09 16:11  pbartok
3034
3035         * Control.cs:
3036           - Added incomplete dock layout code
3037           - Added support for mouse wheel
3038
3039 2004-08-09 16:09  pbartok
3040
3041         * XplatUIX11.cs:
3042           - Added handling for middle and right mousebutton
3043           - Added handling for mouse wheel
3044           - Added handling for key state and mouse state and position
3045           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
3046           messages
3047
3048 2004-08-09 15:40  jackson
3049
3050         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
3051           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
3052           checkin
3053
3054 2004-08-09 15:37  jackson
3055
3056         * StatusBar.cs: Initial implementation of StatusBar
3057
3058 2004-08-09 15:36  jackson
3059
3060         * ITheme.cs: Add support for drawing status bar and getting status
3061           bar item sizes
3062
3063 2004-08-09 15:35  pbartok
3064
3065         * MouseButtons.cs:
3066           - Fixed values
3067
3068 2004-08-09 15:34  jackson
3069
3070         * ThemeWin32Classic.cs: Add support for drawing status bar and get
3071           status bar item sizes
3072
3073 2004-08-09 15:21  jackson
3074
3075         * ThemeWin32Classic.cs: Use known colors for default control
3076           colours
3077
3078 2004-08-09 15:12  jackson
3079
3080         * ThemeWin32Classic.cs: Make the default font static, it is static
3081           in control so this doesn't change functionality and creating fonts
3082           is sloooooow.
3083
3084 2004-08-09 14:56  pbartok
3085
3086         * X11Structs.cs:
3087           - Added GrabMode enum
3088
3089 2004-08-09 14:55  pbartok
3090
3091         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
3092           - Removed Run method, was only required for initial development
3093
3094 2004-08-09 14:51  pbartok
3095
3096         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
3097           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
3098           capture
3099
3100 2004-08-09 13:48  pbartok
3101
3102         * XplatUIX11.cs:
3103           - Fixed default sizing for child windows
3104
3105 2004-08-09 12:56  pbartok
3106
3107         * XplatUIX11.cs:
3108           - Added generation of WM_DESTROY message
3109           - Added handling of window manager induced shutdown
3110
3111 2004-08-09 11:31  jackson
3112
3113         * ThemeWin32Classic.cs: New names for control properties
3114
3115 2004-08-09 11:25  jackson
3116
3117         * Control.cs: Use new color names
3118
3119 2004-08-09 11:02  jackson
3120
3121         * XplatUI.cs: Get default window properties from the theme
3122
3123 2004-08-09 11:01  jackson
3124
3125         * ITheme.cs: The theme engine now controls default window
3126           properties
3127
3128 2004-08-09 11:00  jackson
3129
3130         * ThemeWin32Classic.cs: Add default window color properties
3131
3132 2004-08-09 10:17  jackson
3133
3134         * ThemeWin32Classic.cs: Use correct default back color
3135
3136 2004-08-09 10:05  jackson
3137
3138         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
3139           the theme now.
3140
3141 2004-08-09 09:56  jackson
3142
3143         * XplatUI.cs: Remove defaults, these are handled by the theme now.
3144
3145 2004-08-09 09:54  jackson
3146
3147         * Control.cs: Get default properties from the theme.
3148
3149 2004-08-09 09:53  jackson
3150
3151         * ITheme.cs: Themes now handle default control properties
3152
3153 2004-08-09 09:53  jackson
3154
3155         * ThemeWin32Classic.cs: Themes now handle default control
3156           properties so coloring will be consistent
3157
3158 2004-08-08 16:54  jordi
3159
3160         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
3161
3162 2004-08-08 15:08  jordi
3163
3164         * XplatUIX11.cs: fixes keyboard crash
3165
3166 2004-08-08 13:47  jordi
3167
3168         * Label.cs: add cvs header info
3169
3170 2004-08-08 12:09  jackson
3171
3172         * ThemeWin32Classic.cs: Add pen_buttonface
3173
3174 2004-08-08 11:52  jordi
3175
3176         * Label.cs, LinkLabel.cs: [no log message]
3177
3178 2004-08-08 11:34  jordi
3179
3180         * ThemeWin32Classic.cs: Use Windows Standard Colours
3181
3182 2004-08-07 17:32  jordi
3183
3184         * TrackBar.cs: throw exceptions of invalid enums values
3185
3186 2004-08-07 17:31  jordi
3187
3188         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
3189           draw method name
3190
3191 2004-08-07 16:56  jackson
3192
3193         * HorizontalAlignment.cs: Initial checkin
3194
3195 2004-08-07 13:16  jordi
3196
3197         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
3198           methods
3199
3200 2004-08-07 13:05  jordi
3201
3202         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
3203           GetSysColor defines
3204
3205 2004-08-06 18:01  pbartok
3206
3207         * ThemeWin32Classic.cs:
3208           - Fixed some rounding issues with float/int
3209
3210 2004-08-06 18:00  jackson
3211
3212         * DockStyle.cs, AnchorStyles.cs:
3213
3214                   Add flags and serializable attributes.
3215
3216 2004-08-06 17:46  pbartok
3217
3218         * XplatUIX11.cs:
3219           - Implemented GetParent
3220
3221 2004-08-06 17:18  pbartok
3222
3223         * TrackBar.cs:
3224           - Fixed some rounding issues with float/int
3225
3226 2004-08-06 17:17  pbartok
3227
3228         * X11Structs.cs, XplatUIX11.cs:
3229           - Fixed Refresh and Invalidate
3230
3231 2004-08-06 15:30  pbartok
3232
3233         * Control.cs, X11Structs.cs, XplatUIX11.cs:
3234           - Fixed recursive loop when resizing
3235           - Improved/fixed redrawing on expose messages
3236
3237 2004-08-06 09:53  jordi
3238
3239         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
3240           keyboard navigation
3241
3242 2004-08-06 08:02  pbartok
3243
3244         * X11Structs.cs, XplatUIX11.cs:
3245           - Fixed reparenting
3246           - Fixed window border creation
3247
3248 2004-08-05 15:38  pbartok
3249
3250         * XplatUIX11.cs:
3251           - Attempted fix for reparenting problems
3252
3253 2004-08-04 15:14  pbartok
3254
3255         * Control.cs:
3256           - Fixed Invalidation bug (calculated wrong client area)
3257           - Added ClientSize setter
3258
3259 2004-08-04 15:13  pbartok
3260
3261         * Form.cs:
3262           - Added AutoScale properties
3263
3264 2004-08-04 15:13  pbartok
3265
3266         * SWF.csproj:
3267           - Added latest files
3268
3269 2004-08-04 14:11  pbartok
3270
3271         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
3272           XplatUIX11.cs:
3273           - Added Invalidate handling
3274
3275 2004-08-03 17:09  jordi
3276
3277         * XplatUIDriver.cs: fixes spelling mistake
3278
3279 2004-07-27 09:53  jordi
3280
3281         * TrackBar.cs: fixes trackbar events, def classname, methods
3282           signature
3283
3284 2004-07-27 09:29  jordi
3285
3286         * ScrollBar.cs: fixes scrollbar events
3287
3288 2004-07-27 04:38  jordi
3289
3290         * Control.cs: changes to be able to run winforms samples
3291
3292 2004-07-26 11:42  jordi
3293
3294         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
3295           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
3296
3297 2004-07-26 05:41  jordi
3298
3299         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
3300           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
3301           implementation
3302
3303 2004-07-22 09:22  jordi
3304
3305         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
3306           check link overlapping, implement events, and fixes
3307
3308 2004-07-21 10:28  jordi
3309
3310         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
3311
3312 2004-07-21 10:19  jordi
3313
3314         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
3315           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
3316           LinkLabelLinkClickedEventArgs.cs,
3317           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
3318           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
3319           implementation
3320
3321 2004-07-19 13:09  jordi
3322
3323         * Control.cs, Label.cs: label control re-written: added missing
3324           functionlity, events, and properties
3325
3326 2004-07-19 10:49  jordi
3327
3328         * Control.cs: fixes SetBounds logic
3329
3330 2004-07-19 01:29  jordi
3331
3332         * Control.cs: Call RefreshWindow only if the window has created
3333
3334 2004-07-15 14:05  pbartok
3335
3336         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
3337           - Implemented ImageList and ImageList.ImageCollection classes
3338           - Added ColorDepth enumeration
3339           - Updated SWF VS.Net project
3340
3341 2004-07-15 11:06  jordi
3342
3343         * XplatUIStructs.cs: added MsgButons enum
3344
3345 2004-07-15 11:03  jordi
3346
3347         * Control.cs: added basic mouse handeling events
3348
3349 2004-07-15 03:38  jordi
3350
3351         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
3352           Vertical TrackBar control implementation
3353
3354 2004-07-13 09:33  jordi
3355
3356         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
3357
3358 2004-07-13 09:31  jordi
3359
3360         * Control.cs, Form.cs: commit: new properties and fixes form size
3361           problems
3362
3363 2004-07-09 14:13  miguel
3364
3365         * ProgressBar.cs: Spelling
3366
3367 2004-07-09 11:25  pbartok
3368
3369         * ProgressBar.cs:
3370           - Removed usage of Rectangle for drawing. Miguel pointed out it's
3371           faster
3372
3373 2004-07-09 11:17  miguel
3374
3375         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
3376
3377                 * ProgressBar.cs: Fixed spelling for `block'
3378
3379                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
3380                 style guidelines.
3381
3382                 Avoid using the += on rect.X, that exposed a bug in the compiler.
3383
3384 2004-07-08 23:21  pbartok
3385
3386         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
3387           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
3388           BaseCollection.cs, Binding.cs, BindingContext.cs,
3389           BindingMemberInfo.cs, BindingsCollection.cs,
3390           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
3391           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
3392           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
3393           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
3394           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
3395           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
3396           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
3397           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
3398           FrameStyle.cs, GiveFeedbackEventArgs.cs,
3399           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
3400           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
3401           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
3402           InputLanguageChangedEventArgs.cs,
3403           InputLanguageChangedEventHandler.cs,
3404           InputLanguageChangingEventArgs.cs,
3405           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
3406           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
3407           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
3408           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
3409           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
3410           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
3411           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
3412           QueryAccessibilityHelpEventArgs.cs,
3413           QueryAccessibilityHelpEventHandler.cs,
3414           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
3415           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
3416           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
3417           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
3418           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
3419           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
3420           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
3421           XplatUIX11.cs, lang.cs:
3422           - Initial check-in
3423