* ScrollBar.cs: Cap values when incrementing/decrementing.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-03-31  Jackson Harper  <jackson@ximian.com>
2
3         * ScrollBar.cs: Cap values when incrementing/decrementing.
4
5 2006-03-31  Mike Kestner  <mkestner@novell.com>
6
7         * MenuAPI.cs: setup menu.tracker for popup/context menus.
8         * ToolTip.cs: guard against timer expirations with no active control.
9         Not sure why it happened.
10
11 2006-03-31  Mike Kestner  <mkestner@novell.com>
12
13         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
14         text.
15         * ToolTip.cs: Position the tooltip based on where the cursor is at
16         popup time, not at MouseEnter time.  Add a Down state so that we don't
17         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
18         positioning offset. Lookup DisplaySize at positioning time, since it
19         can theoretically change during invocation.
20         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
21         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
22
23 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
24
25         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
26           Fixes behaviour when the Text property of the box is String.Empty
27
28 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
29
30         * XplatUIX11.cs: Only send mouseleave for our client windows, not
31           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
32           a window)
33
34 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
35
36         * FileDialog.cs: Visual enhancement for the popup buttons in 
37           PopupButtonPanel
38
39 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
40
41         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
42           code
43
44 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
45
46         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
47           highlighted menu items to match ms
48
49 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
50
51         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
52
53 2006-03-30  Mike Kestner  <mkestner@novell.com>
54
55         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
56         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
57         go active to account for HotLight to Selected transition.
58         * MenuItem.cs: add internal Selected prop. Fill out the Status
59         property by calculating it from item info. Add HotLight,
60         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
61
62 2006-03-30  Mike Kestner  <mkestner@novell.com>
63
64         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
65
66 2006-03-29  Jackson Harper  <jackson@ximian.com>
67
68         * Form.cs: Implement TODO.
69
70 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
71
72         * PrintPreviewDialog.cs: Implemented missing methods and events; still
73           missing proper dialog setup in the constructor
74
75 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
76
77         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
78         * Control.cs:
79           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
80           - Fixed ResetBindings and removed TODO
81           - Added check for cross-thread calls to get_Handle()
82           - Added Marshaller attribute for set_Font to satisfy class status
83         * FontDialog.cs: Removed TODOs that seemed implemented
84         * UpDownBase.cs: Removed unneeded TODO and Fixme
85         * MessageBox.cs: Implemented support for Default button and removed TODO
86         * FileDialog.cs: Removed obsolete TODO
87         * DomainUpDown.cs: Removed obsolete TODO
88         * ButtonBase.cs: Removed obsolete TODO
89         * XplatUIWin32.cs: Removed obsolete TODO
90         * Form.cs:
91           - Removed obsolete TODO
92           - Calling CheckAcceptButton when the acceptbutton is changed to allow
93             internal status updates
94           - Making sure the active control is selected when the control is created
95         * CurrencyManager.cs: Removed obsolete TODO
96
97 >>>>>>> .r58862
98 2006-03-29  Mike Kestner  <mkestner@novell.com>
99
100         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
101         of PrintPreviewDialog and RichTextBox.
102
103 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
104
105         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
106           DarkDark, Light and LightLight colors for a specific color
107         * ThemeWin32Classic.cs:
108           - Use Button drawing code to draw RadioButtons and CheckBoxes with
109             Appearance = Button 
110           - Make use of the new ResPool helper CPColor
111           - Draw ProgressBar and StatusBar with correct 3D borders
112
113 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
114
115         * ColorDialog.cs: Return selected color. Fixes bug #77940.
116
117 2006-03-28  Mike Kestner  <mkestner@novell.com>
118
119         * ListView.cs: fix Icon layout to plan for scrollbar widths when
120         calculating col/row counts.
121
122 2006-03-28  Mike Kestner  <mkestner@novell.com>
123
124         * ColumnHeader.cs:
125         * ListView.cs:
126         * ListViewItem.cs:
127         * Menu.cs: 
128         switch to explicit interface method implementation for some methods
129         corcompare identifies as inconsistent with MS.
130
131 2006-03-28  Mike Kestner  <mkestner@novell.com>
132
133         * MainMenu.cs: 
134         * Menu.cs:
135         add a few missing methods from the class status output.
136
137 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
138
139         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
140           correct.
141
142 2006-03-28  Mike Kestner  <mkestner@novell.com>
143
144         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
145
146 2006-03-27  Mike Kestner  <mkestner@novell.com>
147
148         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
149         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
150
151 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
152
153         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
154
155 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
156
157         * ThemeWin32Classic.cs:
158           - GroupBox: Inserted a little gap between the text and the lines
159             on the right side
160           - Made the code in CPDrawBorder3D more readable
161           - Corrected the drawing location of the up and down arrows in 
162             CPDrawScrollButton
163
164 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
165
166         * ControlPaint.cs: Corrected line widths in DrawBorder for
167           ButtonBorderStyle Inset and Outset
168
169 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
170
171         * ThemeWin32Classic.cs:
172           - Rewrote the totally broken CPDrawBorder3D method. That was
173             one of the main problems for the terrific ThemeWin32Classic
174             look
175           - Updated and corrected Button drawing
176           - Correct the dimensions of the SizeGrip to match ms ones
177           - Removed a small drawing glitch in DrawComboBoxEditDecorations
178         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
179           Border3DStyle.Sunken to match ms.
180
181 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
182
183         * ThemeWin32Classic.cs: First small part of the "de-uglify
184           ThemeWin32Classic" effort, SizeGrip
185
186 2006-03-24  Jackson Harper  <jackson@ximian.com>
187
188         * XplatUIX11.cs: Give a max idle time of one second, this matches
189         MS and forces an Idle event every second when there are no other
190         events in the queue.
191
192 2006-03-24  Mike Kestner  <mkestner@novell.com>
193
194         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
195         * ListView.Item.cs: fix layout issues with null image lists and images
196         smaller than checkbox size.
197         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
198         mode like MS does.  It's weird, but consistent.  ;-)
199         Fixes #77890.
200
201 2006-03-24  Mike Kestner  <mkestner@novell.com>
202
203         * ListView.cs: Scroll wheel support for the item control.  Fixes
204         #77839.
205
206 2006-03-23  Jackson Harper  <jackson@ximian.com>
207
208         * ScrollableControl.cs: Special case negative sized areas, not
209         zero.
210         * MonthCalendar.cs: Save the rect of the clicked date so we can
211         use it for invalidation.
212         - Try to cut down on the number of invalidates
213         - Invalidate the rect the mouse is over and was over when moving
214         the mouse, so we get the focus box following the cursor.
215
216 2006-03-23  Mike Kestner  <mkestner@novell.com>
217
218         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
219         focus rectangle drawing. Fixes #77835.
220
221 2006-03-23  Mike Kestner  <mkestner@novell.com>
222
223         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
224         the if and else if and reverting back to the original == check on the
225         None conditional.
226
227 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
228
229         * FontDialog.cs: Update the example panel if the selected index of
230           the fontListBox changes.
231
232 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
233
234         * FileDialog.cs: Make FileDialog remember which directory it was in
235           last in the same execution.
236
237 2006-03-22  Mike Kestner  <mkestner@novell.com>
238
239         * FileDialog.cs: make the DropDownMenu on the toolbar display
240         RadioChecks since they are mutually exclusive and that's what MS does.
241
242 2006-03-22  Mike Kestner  <mkestner@novell.com>
243
244         * Theme.cs: add Color param to CPDrawMenuGlyph.
245         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
246         checks and radio marks and arrows are visible on highlighted items.
247         * ControlPaint.cs: update to use new Theme signature.
248
249 2006-03-22  Mike Kestner  <mkestner@novell.com>
250
251         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
252         is active. Fixes #77870.
253
254 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
255
256         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
257           to be focused/selected after startup
258
259 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
260
261         * ColorDialog.cs: 
262           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
263             CustomColors and ShowHelp properties
264           - Some internal rewrites to get better results when using the
265             ColorMatrix
266
267 2006-03-22  Mike Kestner  <mkestner@novell.com>
268
269         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
270         HoverSelection.  Fixes #77836.
271
272 2006-03-22  Mike Kestner  <mkestner@novell.com>
273
274         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
275         ToggleButtons.  (De)Sensitize the Back button around a stack count of
276         1, not 0.  Update ButtonSize based on a pixel count of the win32
277         control.  Adjust the toolbar size/location for new button size.
278
279 2006-03-22  Jackson Harper  <jackson@ximian.com>
280
281         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
282         true.
283         * ScrollBar.cs: When doing increments and decrements we need to
284         set the Value property so that ValueChanged gets raised. A
285         possible optimization here would be to make an internal SetValue
286         that doesn't invalidate immediately.
287         * ToolTip.cs: Tooltips get added to their container (when
288         supplied) so they get disposed when the container is disposed.
289         - Don't create tooltips for String.Empty. This prevents all these
290         little 2-3 pixel windows from showing up when running nunit-gui
291         and driving me mad.
292         * Form.cs: Don't set topmost when setting the owner if the handles
293         haven't been created yet.  The topmost set will happen when the
294         handles are created.
295
296 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
297
298         * XplatUIX11.cs:
299           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
300           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
301             visible (to allow them to recalculate their sizes)
302
303 2006-03-21  Mike Kestner  <mkestner@novell.com>
304
305         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
306         methods. Removed a ton of redundant code.  Still not really happy with
307         the border rendering, but I think that's mainly because of the
308         ControlDarkDark being black instead of a dark grey. Depending on how 
309         close we want to be, we might want to revisit those color choices.
310         Among the new features added during the refactor were DropDownArrow
311         pressed rendering, Disabled image rendering.  Proper flat appearance
312         boundary rendering.  Removed the Divider and Wrapping dividers since I
313         can't figure out any combination of themes and conditions to make the
314         MS control draw a horizontal line on a toolbar despite what the
315         Divider property docs indicate.
316         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
317         conditions and incorrect layout.  Updated to coding standard.
318         * ToolBarButton.cs: refactored layout and positioning code from
319         ToolBar to here.  Invalidate wherever possible instead of forcing
320         redraws of the whole toolbar. 
321         (Known remaining issues: explicit ButtonSize smaller than provided
322         images.)
323
324 2006-03-21  Mike Kestner  <mkestner@novell.com>
325
326         * ContextMenu.cs (Show): use the position parameter instead of just
327         showing at the MousePosition.
328
329 >>>>>>> .r58288
330 2006-03-21  Jackson Harper  <jackson@ximian.com>
331
332         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
333         control handle this.
334         * TreeNodeCollection.cs: If we are clearing the root node we need
335         to reset top_node so calcs can still happen.
336         * ThemeWin32Classic.cs: This is a Flags so we need to check
337         properly.
338         
339 2006-03-21  Jackson Harper  <jackson@ximian.com>
340
341         * DataGrid.cs: Create columns when the binding context has been
342         changed.
343         * X11Structs.cs: Keysyms are uints.
344         - Add size to fix build.
345
346 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
347
348         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
349           XplatUIOSX.cs: 
350           - Added ResetMouseHover method to allow controls to retrigger
351             hovering if they need it more than once
352           - Implemented MouseHoverTime and MouseHoverSize properties
353         * Timer.cs: Start() must reset the interval
354         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
355           properties
356
357 2006-03-21  Jackson Harper  <jackson@ximian.com>
358
359         * X11Keyboard.cs: improved layout detection. Move the nonchar
360         tables into this file.
361         * KeyboardLayouts.cs: Move the tables into resource files.
362
363 2006-03-21  Mike Kestner  <mkestner@novell.com>
364
365         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
366
367 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
368
369         * Mime.cs: Various speed optimizations. Looking up mime types
370           is now 2 times faster than before
371
372 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
373
374         * CreateParams.cs: Added internal menu field
375         * Control.cs: 
376           - Switched call order for UpdateBounds; now we always call
377             the one that also takes ClientSize, and we're calculating the 
378             client size via driver method in the others. The previous
379             method of tracking client size by difference wasn't working
380             for forms where even the starting client size wouldn't match
381             the overall form size (due to borders) (Part of fix for #77729)
382           - CreateParams(): Do not use parent.Handle unless the handle is
383             already created. Causes havoc with Nexxia and throws off our
384             creation of controls
385         * XplatUIX11.cs:
386           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
387           - Switched handling of ConfigureNotify over to new PerformNCCalc 
388             method (consolidates code)
389           - Changed RequestNCRecalc to use new PerformNCCalc method
390           - Added calls to RequestNCRecalc when menus and borders are changed
391             to allow app to set NC size. (Part of fix for #77729) This matches
392             when MS send a WM_NCRECALC on Win32 windows.
393           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
394             (Part of fix for #77729). This matches what MS does, they also
395             send that message when the form is made visible.
396           - XException.GetMessage: Improved usability of X errors by including
397             a translation of the window into Hwnd and Control class
398           - Improved debug info for window creation, reparenting and destruction
399           - Created helper method WindowIsMapped() [Currently not used]
400         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
401         * Form.cs:
402           - CreateParams: Now setting our menu on the new internal menu field
403           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
404             avoid calculating the same property twice
405         * Hwnd.cs:
406           - Improved usability of ToString() for debugging purposes
407           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
408             determine the height of the menu, instead of just the font. This
409             required to also create a graphics context and to keep a bmp 
410             around (for performance reasons)
411
412 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
413
414         * MenuAPI.cs: Added OnMouseUp method
415         * Form.cs:
416           - Now remembering the requested client size, avoids size errors
417           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
418             instead of base if the menu is active. This is required due to
419             control now capturing and releasing on down/up and it would
420             prematurely release our menu capture
421
422 2006-03-17  Jackson Harper  <jackson@ximian.com>
423
424         * KeyboardLayouts.cs: Add the czech layouts.
425
426 2006-03-16  Jackson Harper  <jackson@ximian.com>
427
428         * Control.cs: Use the viewport space when sizing not the controls
429         client size, so things like ScrollableControl that effect the
430         viewport size (when scrollbars are added) are computed correctly.
431         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
432         of ManagerEntrys.
433         - Handle creating BindingManagers for null data sources.
434         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
435         source, otherwise when rows are added they are added to the 'fake'
436         datasource and we will crash when trying to set the position in
437         those rows.
438         - Use Implicit scrollbars on the datagrid so they arent
439         selectable.
440         
441 2006-03-16  Jackson Harper  <jackson@ximian.com>
442
443         * Binding.cs:
444         * InternalWindowManager.cs:
445         * MdiWindowManager.cs:
446         * X11Keyboard.cs: I really want Mike to love me again (fix
447         compiler warnings).
448
449 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
450
451         * DataGrid.cs:
452           - OnMouseDown: Switch to editing mode when clicking on the cell
453                          even if we're clicking on the cell that's currently 
454                          selected
455           - ProcessGridKey: Left/Right now wrap like MS.Net does
456           - ProcessGridKey: Tab now knows to add a new row when tab is
457                             pressed in the cell of the last column of the 
458                             last row
459           - ProcessGridKey: Enter now adds another row  if pressed in the last
460                             row and selectes the new row, same column cell
461           - ProcessGridKey: Home/End navigate columns, not rows, like 
462                             originally implemented
463           - Broke ProcessKeyPreview code out into an extra Internal method
464             so it can be called from the edit code
465         * DataGridTextBox.cs (ProcessKeyMessage):
466           - Switched to accept Tab keypresses
467           - Added F2 handling to allow jumping to the end of the edited cell
468           - Added logic to allow moving caret left/right inside edited cell
469             and making the edited cell jump when the caret hits cell borders
470           - Tab and Enter are now passed to the datagrid after being handled
471         * TextBoxBase.cs:
472           - Removed capture code now that Control handles it
473           - set_SelectionStart now ensures caret is visible
474
475 2006-03-16  Jackson Harper  <jackson@ximian.com>
476
477         * TrackBar.cs: Debackwards the increment/decrement for handling
478         mouse clicks on the bar with vertical trackbars.
479         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
480         bottom to match MS.
481
482 2006-03-16  Mike Kestner  <mkestner@novell.com>
483
484         * ListView.cs: make shift/ctrl keyboard and mouse selection 
485         consistent with the MS control. Fix a bug in
486         SelectedListViewItemCollection.Clear that was pissing me off for the
487         better part of a day because the collection was being altered
488         underneath us as we walked the list.
489
490 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
491
492         * Control.cs: Not sure how we could miss this so long, but it seems
493           that MS.Net has Capture set all the way from before calling 
494           OnMouseDown through sending the mouse events until after
495           OnMouseUp. This will fix DataGrid's selection being set to end
496           at the location of the MouseUp.
497
498 2006-03-15  Jackson Harper  <jackson@ximian.com>
499
500         * BindingContext.cs: Check the binding after its added so that it
501           can initialize the binding managers and hookup to events.
502         * Binding.cs: Data members seem to sometimes include rows/cols in
503           the format Row.Column we now take this into account.
504           - Hookup to the position changed event so we can update the
505           control when the position has changed in the data set.
506         * CurrencyManager.cs: Take into account the row/col naming
507           convention when creating dataset tables.
508         * BindingContext.cs: Using a newer better way of storing
509           datasource/datamember pairs.  Hopefully this better matches MS for
510           looking up binding managers.
511
512
513 2006-03-15  Jackson Harper  <jackson@ximian.com>
514
515         * BindingContext.cs: The currency manager needs the data member
516         name, if the member is a data set we use the name to find the
517         correct table.
518         * CurrencyManager.cs: When creating the list prefer an IList over
519         an IListSource.
520         - Attempt to create a DataTable from a DataSet (TODO: might need
521         some better error checking here, although MS doesn't seem to have much)
522         - If we have a DataTable create a view and use it as our list.
523
524 2006-03-15  Mike Kestner  <mkestner@novell.com>
525
526         * ListView.cs: keep a matrix of the icon mode layout to facilitate
527         keyboard navigation. Support Up/Down/Left/Right selection correctly
528         for all 4 View modes.
529         * ListViewItem.cs: add internal row/col fields for icon layouts.
530
531 2006-03-15  Jackson Harper  <jackson@ximian.com>
532
533         * TabControl.cs: Redraw the tabs when we resize so their newly
534         calculated sizes are drawn on screen.
535         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
536         composite characters.
537         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
538         - filter events so that composite characters can be created
539         patches by peter
540         * X11Structs.cs: Add XIMProperties enum.
541
542 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
543
544         * Control.cs (BringToFront, SendToBack): Don't use window or handle
545           unless it's created
546
547 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
548
549         * Control.cs (PerformLayout): We don't need to consider visiblity
550           for anchoring, only for docking. This fixes 'whacky' alignment
551           in listbox and other controls that use implicit scrollbars after
552           the previous PerformLayout patch
553         * ListBox.cs: Switched to use implicit scrollbars
554           
555 2006-03-14  Mike Kestner  <mkestner@novell.com>
556
557         * ToolBar.cs: 
558         * VScrollBar.cs:
559         - chain up the "new event" overrides to base and use
560         OnEvent to raise them.  Part of fix for bug #76509.
561
562 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
563
564         * FileDialog.cs: Do not select an item in the parent directory
565           on backspace
566
567 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
568
569         * Control.cs (PerformLayout): It would seem that we considered
570           invisible windows for our layout. Not quite the right thing
571           to do. Now we don't any longer, thereby fixing bug #76889.
572
573 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
574
575         * Control.cs (CanFocus): I goofed. A control can have focus 
576           even though it's not selectable. Made it match MS docs.
577
578 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
579
580         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
581           center by default (fixes #76895)
582         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
583           all uses of Border3DSides.All with the explicit ORd together
584           Left|Right|Top|Bottom because I assume that nobody was aware 
585           that All also implies a center fill. Most places I checked had
586           a fill right above.
587         * ProgressBarStyle.cs: Added
588
589 2006-03-13  Mike Kestner  <mkestner@novell.com>
590
591         * ListView.cs: fix breakage in drag shadow header positioning 
592         from Peter's csc compilation fix.
593
594 2006-03-13  Mike Kestner  <mkestner@novell.com>
595
596         * ListView.cs: fix NRE produced by backspacing twice in a focused
597         FileDialog.
598
599 2006-03-13  Mike Kestner  <mkestner@novell.com>
600
601         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
602
603 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
604
605         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
606           be changed
607         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
608           the allowed size before making programmatic size changes
609
610 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
611
612         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
613           set, metacity is broken and will still use the emty sizes in 
614           the struct. (Fix for #77089)
615
616 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
617
618         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
619           WindowExStyles and marked both enums as Flags
620         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
621           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
622           to match WindowStyles split
623         * XplatUIX11.cs:
624           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
625           - Updated to match WindowStyles split
626         * XplatUIWin32.cs:
627           - Fixed FosterParent creation, was using ExStyle on the Style field
628             (This should help with Popup focus issues)
629           - Updated to match WindowStyles split
630
631 2006-03-13  Jackson Harper  <jackson@ximian.com>
632
633         * MdiWindowManager.cs: Use the system menu height. Fixes some
634         strange sizing issues.
635
636 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
637
638         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
639         * TextBoxBase.cs:
640           - Scroll to caret after inserting text (#77672)
641           - Make scroll range one pixel higher, fixes off-by-one error (and
642             makes underlines visible on the last line)
643
644 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
645
646         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
647           the keyboard state from being stuck with keys in 'pressed' state when
648           focus is switched away via keyboard
649         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
650           reset the keyboard if no X11 KeyUp events are expected to come
651         * X11Structs.cs: Switched type of Visible to bool to match driver
652
653 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
654
655         * TextControl.cs:
656           - Switched caret to be just 1 pixel wide, matches MS and looks less
657             clunky
658           - Moved caret display 1 pixel down from the top of the control
659             to improve view
660           - InsertCharAtCharet: Update the selection start if moving the caret
661             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
662           - No longer always creating the caret when the caret methods are
663             called. Only the actual ShowCaret/HideCaret will do that now
664           - Only setting caret visible if the owner control has focus
665           - UpdateView: Added invalidation-shortcut logic for center and right 
666             aligned text. Previously we'd update all according to the left
667             logic which caused drawing errors. Also fixed height of invalidated
668             areas, now properly invalidating the whole area (was off-by-one)
669           - owner_HandleCreated: Always generate the document when the
670             handle is created; this ensures that 
671         * TextBoxBase.cs:
672           - Fixed situation where caret would disappear under the right
673             window border, also improved scrolling behaviour on left-
674             aligned textboxes
675           - Fixed right-aligned textboxes to have a border to the
676             right instead of the caret being under the right border
677         * XplatUIX11.cs:
678           - Switched from 'nested' to simple visible/not visible tracking 
679             for caret (part of fix for #77671)
680           - No longer passing through translated FocusIn/FocusOut messages
681             since we were notifying too often and the wrong windows. Instead
682             we just notify our focussed window of receiving or loosing focus
683         * XplatUIWin32.cs: Switched from 'nested' show/hide 
684           counting for caret to simple visible yes/no behaviour (part of 
685           fix for #77671)
686
687 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
688
689         * Mime.cs: Remove debug code...
690
691 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
692
693         * MimeGenerated.cs: Removed
694         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
695           and subclasses) from /usr/(local/)share/mime and
696           $HOME/.local/share/mime.
697
698 2006-03-10  Jackson Harper  <jackson@ximian.com>
699
700         * MdiWindowManager.cs: Recalc the NC area when a window is
701         maximized/restored so that the menu area is drawn on forms that
702         don't have a menu.
703
704 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
705
706         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
707           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
708           us to force a WM_NCCALCRESIZE message being sent. This is needed
709           for MDI maximizing.
710
711 2006-03-10  Jackson Harper  <jackson@ximian.com>
712
713         * Form.cs: We need to use the ActiveMenu when calculating menu
714         height.
715         - Fix nullref when the window manager hasn't been created yet.
716         * Control.cs: Fix nullref when we try to bring a control to the
717         front that has no parent.
718         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
719         height.
720         - Add a dummy item to the maximized menu so it always has the
721         correct height. Otherwise when there are no menus we don't get our
722         icon and buttons.
723         
724
725 2006-03-10  Jackson Harper  <jackson@ximian.com>
726
727         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
728         stuff.
729         * Form.cs: Make the window_state internal so the window managers
730         can track it.
731         - When an MDI child is maximized let its window manager create the
732         main menu (so it can add its icon).
733         - Notify the window managers of state changes
734         - Let the window manager paint its buttons and handle button
735         clicks on the menu when it is maximized.
736         * InternalWindowManager.cs: Move the prev_bounds into the mdi
737         window manager, since tool windows don't use it, only mdi windows.
738         - Tell the main form that we don't want it to handle NCPAINT
739         itself to avoid extra painting.
740         - Handle clicks on a maximized windows menu.
741         - Handle window state changes
742         - Handle minimize/maximize clicks correctly by setting the window state.
743         * MdiWindowManager.cs: Add an icon menu that (the menu you get
744         when clicking on the forms icon).
745         - New method to create a forms maximized menu. This is its normal
746         menu + an icon.
747         - Handle window state changes.
748         - Handle sizing of maximized windows.  Maximized windows are just
749         drawn bigger then the parent visible area. All controls are still
750         there, they are just outside the visible area (this matches windows).
751         * MdiClient.cs: No scrollbars when a child window is maximized.
752         - Let the children windows figure out how big they should be when
753         sizing maximized windows.
754         - Implement a version of ArrangeIconicWindows somewhat similar to
755         Windows version.  There are some little differences, but I don't
756         think any app will rely on the layout of minimized mdi windows.
757
758 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
759
760         * Padding.cs: Several fixes to allow compiling with csc 2.0
761
762 2006-03-09  Jackson Harper  <jackson@ximian.com>
763
764         * Menu.cs:
765         * MenuItem.cs: Cheap hack so we can add items to the list without
766         the events being raised.  This allows adding mdi items during
767         drawing. TODO: Should probably find a better time to add the items.
768
769 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
770
771         * ThemeWin32Classic.cs:
772           - CheckBox_DrawText: Added logic to not wrap if not enough space
773             is available (Fix for bug #77727)
774           - RadioButton_DrawText: Added logic not to wrap if not enough
775             space is available (Fix for bug #77727). Also removed some
776             duplicate code, DrawString always drawing the regular text
777             before hitting the if statement.
778
779 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
780
781         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
782
783 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
784
785         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
786         * ContainerControl.cs: Partial implementation of some 2.0 scaling
787           methods. Moved the new 2.0 properties into alphabetical order with
788           other properties and added MonoTODO tags
789
790 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
791
792         * AutoScaleMode.cs: Added. Fix build.
793
794 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
795
796         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
797           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
798           and was requiring premature handle creation for calls from above
799         * Form.cs, Control.cs: Removed handle arguments from calls to
800           CalculateClientRect()
801
802 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
803
804         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
805           drag_column.column_rect is MarshalByRef and can't be used that way
806
807 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
808
809         * AxHost.cs: Added deserialization constructor for 
810           AxHost+State (fixes 77743)
811
812 2006-03-09  Mike Kestner  <mkestner@novell.com>
813
814         * ListView.cs: 
815         - Added column drag reordering for details view.
816         - fixed behavior when mouse is dragged off column and
817         AllowColumnReorder is false.
818         * ColumnHeader.cs: clone the format too in Clone.
819         * Theme.cs: add DrawListViewHeaderDragDetails method.
820         * ThemeWin32Classic.cs:
821         - impl new method for drawing drag column shadows and targets.
822         - support column offset for details mode in DrawListViewItem.
823
824 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
825
826         * TextControl.cs: Reset the char_count when the document is cleared
827           (Fixes bug reported on mono-winforms mailing list)
828
829 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
830
831         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
832           of calling base we simply process the key ourselves, since both
833           DefWindowProc and the handled method would set m.Result. 
834           (Fixes #77732)
835
836 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
837
838         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
839           method also moves the window; instead implemented a copy of
840           Control.ScaleCore (Part of fix for #77456)
841         * TextBoxBase.cs: 
842           - Created new CreateGraphicsInternal method to allow providing
843             a graphics context when no handle is created without triggering
844             handle creation. (Part of fix for #77456)
845           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
846         * TextControl.cs: 
847           - Switched Constructor to require TextBoxBase instead of Control (to
848             allow uncast access to CreateGraphicsInternal)
849           - Safeguarded use of owner.Handle property. No longer accessing it
850             unless the handle is already created.
851           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
852           - Now triggering a recalc when owning control becomes visible
853         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
854           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
855           premature handle creation (Part of fix for #77456)
856         * Control.cs:
857           - We now only destroy our double-buffering buffers when the
858             control is resized or disposed, but not when visibility
859             changes. (The code even re-created them twice every time)
860           - Now requiring a redraw of the buffer on visibility changes
861             (fixes bug 77654 part 2)
862           - Not passing OnParentVisibleChanged up unless the control
863             is visible
864           - CanFocus: Fixed to match MS documentation
865           - Focus: Fixed to return actual focus state and to check if
866             setting focus is legal before setting it
867
868 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
869
870         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
871           when to draw focus rectangle by looking at parent focus and
872           selected state instead. This fixes TabPages on Linux sometimes
873           having none or multiple focus rectangles.
874         * XplatUIX11.cs (SetFocus): 
875           - Don't set the focus if the same window already has focus
876           - Use SendMessage instead of PostMessage (like it's Win32
877             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
878             to match MS behaviour
879         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
880           are not selectable.
881
882 2006-03-07  Jackson Harper  <jackson@ximian.com>
883
884         * PictureBox.cs: Revert line I accidently committed last week.
885
886 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
887
888         * Control.cs: 
889           - Added new IsRecreating and ParentIsRecreating properties to
890             allow testing if RecreateHandle has been called on ourselves
891             or one of our parents
892           - WndProc(WM_DESTROY): If our control handle is being recreated
893             we immediately need to create the handle when receiving the
894             destroy, that way our child windows find a valid parent handle
895             when they themselves are being recreated upon WM_DESTROY receipt
896             (fix for bug #77654 part 1)
897         * XplatUIX11.cs:
898           - DestroyWindow: WM_DESTROY must be sent to our own window before
899             notifying any child windows. MS documents that child windows
900             are still valid when WM_DESTROY is received. (Control now relies on
901             this behaviour)
902           - Added some fine-grain debug options
903
904 2006-03-06  Jackson Harper  <jackson@ximian.com>
905
906         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
907         box and base calculations off this.
908         * MdiChildContext.cs:
909         * MdiWindowManager.cs: Don't need to ensure scrollbars here
910         anymore.
911         
912 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
913
914         * Splitter.cs: In situations where the affected control is added
915           to the parent's control list after the splitter, we would not
916           populate affected. Now we try populating it on mousedown, if
917           it's not already set, and force it to be re-set whenever our
918           parent changes.
919
920 2006-03-03  Matt Hargett  <matt@use.net>
921
922         * Control.cs: implement Control.Padding
923         * Padding.cs: -Padding.All returns -1 when constructing with the
924         implicit default ctor
925         -Padding.ToString() matches MS.NET
926         * ContainerControl.cs: implement
927         ContainerControl.AutoScaleDimensions
928         * ListControl.cs: implement ListControl.FormattingEnabled
929         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
930         * ButtonBase.cs:
931         * TabPage.cs: Implement UseVisualStyleBackColor.
932         * PictureBox.cs: Implement PictureBox.InitialImage.
933
934 2006-03-03  Mike Kestner  <mkestner@novell.com>
935
936         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
937         event declarations to proxy to base event.
938         * ListViewItem.cs: update to use ItemControl.
939         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
940         * ThemeWin32Classic.cs: update to new ListView theme API and fix
941         column header label rendering for 0 width columns.
942
943 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
944
945         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
946           that causes the control to be created. Fixes #77476.
947
948 2006-03-02  Jackson Harper  <jackson@ximian.com>
949
950         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
951         expose_pending.
952
953 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
954
955         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
956           passed in for the EventArgs (fixes #77690)
957
958 2006-03-01  Jackson Harper  <jackson@ximian.com>
959
960         * ScrollBar.cs: Refresh afterbeing resized.
961
962 2006-02-28  Mike Kestner  <mkestner@novell.com>
963
964         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
965         Clean up a tracker compile warning.
966         * MenuItem.cs: add internal PerformPopup method.
967         [Fixes #77457]
968
969 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
970
971         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
972           implicit expose) when the text is set to null
973
974 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
975
976         * RichTextBox.cs (FlushText): When newline is true, we always
977           need to split the line, even if no text is on it and we may
978           never eat newlines. (Fixes #77669)
979
980 2006-02-28  Mike Kestner  <mkestner@novell.com>
981
982         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
983         and set Selected instead.
984         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
985         collections.
986
987 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
988
989         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
990
991 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
992
993         * FontDialog.cs:
994           - Got rid of the panel. All controls are now directly added to
995             the dialog form
996           - It is now possible to set a font with the Font property
997           - MinSize and MaxSize property do now what they should
998           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
999           - Searching and selecting a font with the font textbox works now,
1000             the same applies to the style and size textbox
1001           - Draw the correct 3D border in the example panel
1002           - Fixed a little mem leak (unused fonts didn't get disposed)
1003           - Many other internal updates/rewrites...
1004           - Fix typo
1005
1006 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1007
1008         * TextControl.cs: 
1009           - InsertRTFFromStream: Added 'number of characters inserted' argument
1010           - set_SelectedRTF: Now using the number of characters to calculate
1011             the new location for the selection and cursor (x/y cannot be used
1012             due to potentially already wrapped text)
1013
1014 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1015
1016         * TextControl.cs: Added property and implemented means to allow 
1017           disabling recalculation of a document (can be used to speed up
1018           multiple inserts and is needed to make RTF inserts predictable, see
1019           bug #77659)
1020         * RichTextBox.cs: Using the new NoRecalc property of Document to
1021           keep x/y insert locations predictable. Also makes it faster inserting
1022           large chunks of RTF
1023
1024 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1025
1026         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1027           it's easier for a child control to handle the other messages without
1028           having to duplicate the special functionality
1029         * TextBoxBase.cs
1030           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1031             code to handle processing the key ourselves, in order to get 
1032             access to the result of KeyEventArgs.Handled. We now only call 
1033             ProcessKey if they key hasn't been handled already. Fixes #77526.
1034           - set_Text: If null or empty string is given, just clear the 
1035             document. Fixes part of #77526
1036
1037 2006-02-27  Jackson Harper  <jackson@ximian.com>
1038
1039         * SizeGrip.cs: Paint the background color before painting the grip
1040         so things look right.
1041         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1042
1043 2006-02-27  Mike Kestner  <mkestner@novell.com>
1044
1045         * ListView.cs:
1046           - Restructure layout and invalidation model to remove a ton of
1047           flicker from the control and speed up performance in general.
1048           - Add manual column resize, flickers like crazy, but I already have
1049           some ideas on how I'll fix that. (#76822)
1050           - Merge the three Icon-based views into a single layout method.
1051           - Move item selection interaction logic from the item since 
1052           interaction with the collections is more appropriate to the view.
1053           - Deselection on non-item clicks.
1054         * ListViewItem.cs:
1055           - Encapsulate most of the layout. Add some internal props to trigger
1056           layout.  Move to a model where Items invalidate themselves instead
1057           of just invalidating the whole control every time something changes.
1058           - Invalidate on Text/Caption changes.
1059           - switch to an offset based layout model to avoid having to absolute
1060           position every element on item moves.
1061           - correct checkbox layout to conform to MS layout.
1062         * ThemeWin32Classic.cs:
1063           - refactor some column header drawing code.
1064           - fix string justification for column headers (#76821)
1065           - make SmallIcon labels top justified for compat with MS impl.
1066         * ThemeClearlooks.cs:
1067           - adjust to new ListViewItem internal checkbox bounds api.
1068
1069 2006-02-27  Jackson Harper  <jackson@ximian.com>
1070
1071         * Control.cs:  Change where implicit controls fall in the zorder.
1072         They are now on top of all children.
1073         - Synced AddImplicit code with Add
1074         - Removed unused enumerator.
1075         * SizeGrip.cs: Remove the TODO as its been TODONE.
1076
1077 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
1078
1079         * TextControl.cs(Insert): Combine the last lines unless the insertion
1080           string ends with \n\n, otherwise we leave one line too many (Fixes
1081           something I noticed with the testapp for #77526; the bug itself was
1082           already fixed in the previous checkin)
1083
1084 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
1085
1086         * RichTextBox.cs:
1087           - SelectionColor and SelectionFont methods no longer set absolute
1088             styles. Instead, the keep font or color respectively (This 
1089             resolves a long-standing FIXME in the code)
1090           - When flushing RTF text, the insert code now considers text trailing
1091             behind the insertion point (Fixes the bug where when replacing
1092             the selected text via SelectedRTF the remainder of the line behind 
1093             the selection would stay on the first insertion line)
1094         * TextBoxBase.cs:
1095           - AppendText now updates the selection points after inserting text
1096           - AppendText now ensures that the last tag (sometimes 0-length) of
1097             the document is used for the style information (Fixes part of 
1098             bug #77220)
1099         * TextControl.cs:
1100           - Created new FontDefiniton class to allow describing partial style
1101             changes
1102           - StreamLine() now takes a lines argument, to allow it to decide
1103             whether an encountered zero-length tag is the last in the document
1104             (which must be kept to not loose the font/color contained in it,
1105             for later appends)
1106           - Created Combine() and Split() methods for Marker structs, to 
1107             support marker updates due to reformatted documents (soft line
1108             wraps)
1109           - Implemented Document.CaretTag setter
1110           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1111             of the last line (Not the cause, but also exposed by bug #77220)
1112           - Added LineTag argument to InsertString method, to allow callers
1113             to force a certain tag to be used (required to force use of the
1114             trailing zero-length tag of a document)
1115           - Now updating markers in Combine(), to avoid stale tag markers
1116           - Added some method descriptions to aid maintenance
1117           - Implemented new FormatText concept, allowing additive/subtractive
1118             formatting by only specifying the components that are to be 
1119             changed. This was needed for resolving the RTB.SelectedColor/
1120             RTB.SelectedFont fixmes
1121           - Added Break() support method to allow breaking up linetags (used
1122             for partial formatting)
1123           - Added GenerateTextFormat() method. It is used for partial 
1124             formatting and allows to generate a full font/color from given
1125             attributes and an existing tag.
1126
1127 2006-02-26  Jackson Harper  <jackson@ximian.com>
1128
1129         * XplatUIX11.cs:  Use the correct caption height.
1130         - Translate hittest coordinates to screen coords to match MS.
1131         * XplatUIWin32.cs: When we create MDI windows we need to reset
1132         some of the style flags, so we get a nice blank window, and can
1133         draw all the decorations ourselves.
1134         - Set a clipping rectangle on the non client paint event, the
1135         window manager drawing code needs one.
1136         * Form.cs: The window manager needs to know when the window state
1137         has been updated.
1138         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1139         don't need to factor in border and title sizes in these
1140         methods. TODO: Remove the args and fix the call points.
1141         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1142         properly.
1143         - Let the driver set the cursors.
1144         - Improve active window handling
1145         - Correct sizes for title bars and buttons.
1146         - Match MS drawing better
1147         * MdiWindowManager.cs: We don't need to handle border style
1148         updates specially anymore.
1149         - Check for scrollbars when windows are done moving
1150         - Handle Active properly.
1151         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1152         correctly. I am spewing the exception though, so we don't hide the
1153         bugs.
1154         
1155 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
1156
1157         * DataGridViewRowPostPaintEventArgs.cs,
1158           DataGridViewCellPaintingEventArgs.cs,
1159           DataGridViewRowCollection.cs,
1160           DataGridViewRowPrePaintEventArgs.cs,
1161           DataGridViewCell.cs: Clear a few warnings and implement a few
1162           exceptions that should be thrown.
1163
1164 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1165
1166         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1167           'inheriting' our parent's (non-default) cursor. (Part of
1168            the fix for #77479)
1169
1170 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
1171
1172         * XplatUIX11.cs: Fixed cast to make csc happy
1173
1174 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1175
1176         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1177           it's for the client area (part of fix for #77479 and needed
1178           for MDI window cursor handling)
1179         * XplatUIX11.cs
1180           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1181             the appropriate default cursors and also passing the message
1182             up the parent chain 
1183           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1184             for non-client areas
1185
1186 2006-02-15  Jackson Harper  <jackson@ximian.com>
1187
1188         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1189         is a real MDI window
1190
1191 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
1192
1193         * X11DesktopColors.cs: Instead of checking the desktop session
1194           string for "KDE" check if it starts with "KDE"
1195
1196 2006-02-10  Jackson Harper  <jackson@ximian.com>
1197
1198         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1199         systems).
1200
1201 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1202
1203         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1204           errors
1205         * ColorDialog.cs:
1206           - Got rid of the panel. All controls are now directly added to
1207             the dialog form
1208           - Changed to mono coding style
1209
1210 2006-02-10  Jackson Harper  <jackson@ximian.com>
1211
1212         * InternalWindowManager.cs: We don't need the set visibility to
1213         false hack anymore now that peter has written beautiful shutdown
1214         code.
1215
1216 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
1217
1218         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1219           where already explicitly destroyed
1220
1221 2006-02-10  Jackson Harper  <jackson@ximian.com>
1222
1223         * MdiClient.cs: Handle the case where windows are too high or to
1224         the left and we need scrollbars.
1225
1226 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1227
1228         * MimeIcon.cs: Added some icons
1229         * FileDialog.cs:
1230           - Fixed bug #77477
1231           - Got rid of the panel. All controls are now directly added to
1232             the dialog form
1233           - Changed to mono coding style
1234           - On Linux "My Computer" and "My Network" will now show some
1235             more usefull information. A new class, MasterMount, gathers
1236             this information from /proc/mount. Updated MWFFileView to make
1237             use of this information
1238           - Fixed a bug that caused FileDialog to crash when
1239             ".recently_used" file had a zero size
1240           - FilterIndex does now what it should
1241           - Some Refactoring
1242         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1243             FileDialog changes
1244
1245 2006-02-09  Jackson Harper  <jackson@ximian.com>
1246
1247         * ComboBox.cs: Don't touch if null.
1248
1249 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
1250
1251         * Cursor.cs: 64bit safeness fix
1252         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1253
1254 2006-02-09  Jackson Harper  <jackson@ximian.com>
1255
1256         * Form.cs: If a form is made into an MDI form update the styles so
1257         all the props can get set correctly.
1258         - Kill the mdi_container when we dont need it anymore.
1259         * InternalWindowManager.cs: Add missing NOT
1260
1261 2006-02-08  Jackson Harper  <jackson@ximian.com>
1262
1263         * InternalWindowManager.cs: Respek clipping when drawing MDi
1264         decorations.
1265
1266 2006-02-08  Jackson Harper  <jackson@ximian.com>
1267
1268         * Hwnd.cs: Add bits to track non client expose events.
1269         * XplatUIX11.cs: Track non client expose events on the hwnd. This
1270         gives us a proper invalid rect and will allow for some nice
1271         optimizations with NC client drawing
1272         - MDI windows are children windows, so move their style handling
1273         into the child window block.
1274         * InternalWindowManager.cs: Remove a state reset that was
1275         getting invoked at the wrong time. Fixes managed windows getting
1276         into a 'stuck' captured state.
1277
1278 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1279
1280         * TextControl.cs (Document.ctor): Now initializing 
1281           selection_anchor. Fixes #77493
1282
1283 2006-02-07  Jackson Harper  <jackson@ximian.com>
1284
1285         * TrackBar.cs: The increment/decrements were backwards.
1286
1287 2006-02-07  Mike Kestner  <mkestner@novell.com>
1288
1289         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1290         to the instance itself.
1291
1292 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1293
1294         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1295           on ulongs and pointers, the size differs between 32bit and 64bit
1296           systems. 
1297
1298 2006-02-07  Mike Kestner  <mkestner@novell.com>
1299
1300         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1301         for 64 bit platforms to work around a metacity bug. 
1302
1303 2006-02-07  Jackson Harper  <jackson@ximian.com>
1304
1305         * TrackBar.cs: Process the input keys we need, and hookup to
1306         KeyDown instead of using WndProc, so we get key messages.
1307
1308 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
1309
1310         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1311           machine we're on. 
1312         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1313           we need to translate the XdndVersion atoms array before sending it
1314
1315 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
1316
1317         * XplatUIX11.cs: 
1318           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1319             number of bits for the property, not the number of bytes. The
1320             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1321             but would not crash since it specified 8 bits instead of 4 bits)
1322           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1323             defined as XID -> long in the C headers)
1324           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
1325             references since those are now IntPtr to begin with
1326           - Switched all Atom.XXX 'int' casts to IntPtr casts
1327           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1328           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1329           - Added XChangeActivePointerGrab DllImport (for X11DnD)
1330         * X11Structs.cs:
1331           - Changed 'int' type for Atoms in XEvent structures to IntPtr
1332           - Changed atom in HoverStruct to be IntPtr
1333         * X11DnD.cs:
1334           - Removed local DllImports, switched code to use those from XplatUIX11
1335           - Removed/fixed casts related to the switch of Atom to be a IntPtr
1336
1337 2006-02-06  Mike Kestner  <mkestner@novell.com>
1338
1339         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
1340         method signatures in the import region.  There may still be some
1341         lingering struct marshaling issues, as I didn't drill down into those.
1342         Yet.
1343
1344 2006-02-06  Jackson Harper  <jackson@ximian.com>
1345
1346         * ComboBox.cs: Dont manually set the top_item, this is computed
1347         when the scrollbar position is set.
1348
1349 2006-02-06  Mike Kestner  <mkestner@novell.com>
1350
1351         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1352         startup crashes on amd64.  There's other fixes needed.  All pinvoke
1353         usage of Atom needs to be mapped to IntPtr for example.  And there are
1354         likely other int/long issues to be addressed.
1355
1356 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
1357
1358         * FileDialog.cs: One more...
1359
1360 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1361
1362         * FileDialog.cs: Next try
1363
1364 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1365
1366         * FileDialog.cs: First part of fix for #77464
1367
1368 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1369
1370         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1371           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1372           AcceptButton border drawing.
1373
1374 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
1375
1376         * Form.cs: Moved positioning of form after auto scaling is applied,
1377           otherwise it would possibly use wrong form size.
1378
1379 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
1380
1381         * Control.cs (RecreateHandle): No need to re-create any child
1382           controls, the child windows will get destroyed automatically by
1383           the windowing system or driver, and re-created when the handle
1384           is being accessed the first time. Fixes #77456
1385         * Form.cs: No longer setting the form to closing if the handle is 
1386           being recreated. This seems like the right thing to do, don't
1387           have a bug or testcase for this, though.
1388
1389 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1390
1391         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1392           controls to avoid unwanted side effects
1393
1394 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
1395
1396         * Control.cs: 
1397           - ScaleCore needs to scale the bounds, not the ClientSize of the 
1398             control. Fixes #77416.
1399           - DefaultSize is 0,0 for control
1400         * TextBoxBase.cs: 
1401           - DefaultSize is 100, 20
1402           - SetBoundsCore: Now enforcing the height, no matter if the provided
1403             height is more or less than the preferred one, as long as AutoSize
1404             is on
1405         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1406
1407 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1408
1409         * Control.cs:
1410           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1411             call unless both performLayout is true *and* we have a pending
1412             layout change
1413           - ResumeLayout: MS does not completely nest Suspend and Resume,
1414             they bottom out at 0, fixed our code to match that.
1415           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1416             SetBoundsCore, we were updating even when we shouldn't. This fixes
1417             swf-anchors mis-anchoring when resizing the app fast and lots.
1418           - UpdateDistances: Now only setting the left and top distance if 
1419             we have a parent and are not suspended, this is based on
1420             a suggestion by Don Edvaldson in bug #77355.
1421           - OnVisibleChanged: Fixed logic when to create the control. We may
1422             not create the control if we have no parent or if it's not visible;
1423             switched to using Visible property instead of is_visible field 
1424             since the property also considers parent states. This fixes a bug
1425             when starting Paint.Net
1426
1427 2006-02-02  Jackson Harper  <jackson@ximian.com>
1428
1429         * Form.cs: If the forms handle hasn't been created yet don't call
1430         into xplatui to make it top most, just set the topmost flag on the
1431         form in CreateParams
1432         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1433
1434 2006-02-01  Jackson Harper  <jackson@ximian.com>
1435
1436         * ScrollableControl.cs: Refactored the Recalculate method a
1437         little, this wasn't handling all the variants of bottom and right
1438         bars needed to be added and added/removed based on their
1439         counterparts being added/removed (which changes the drawable
1440         size). Also we special case client widths and heights of 0 and
1441         don't add the scrollbar for those.
1442
1443 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
1444
1445         * XplatUIX11.cs: 
1446           - Added method to get AbsoluteGeometry(); currently unused, but might
1447             be used in the future, if we try again to figure out toplevel
1448             coordinates with some more crappy window managers
1449           - Added FrameExtents() method to retrieve the WM set decoration size
1450           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
1451             to deal with at least KDE, FVWM and metacity (Fixes #77092)
1452         * Hwnd.cs: 
1453           - Added whacky_wm tracking var for metacity
1454           - Added logic to have default menu height if the actual menu height
1455             has not yet been calculated (part of fix for #77426)
1456         * Form.cs: Keep track whether client size has been set and re-set 
1457           it if a menu is added/removed afterwards (Fixes #77426)
1458
1459 2006-01-31  Jackson Harper  <jackson@ximian.com>
1460
1461         * Control.cs: When a new Site is set on the component attempt to
1462         pull the AmbientProperties from it.
1463
1464 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
1465
1466         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1467           in the background of the owning form. Fixes #77332
1468
1469 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1470
1471         * MimeIcon.cs: Fix for #77409
1472
1473 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1474
1475         * XplatUIX11GTK.cs: Initial import
1476
1477 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
1478
1479         * FixedSizeTextBox: fixes class signature
1480
1481 2006-01-30  Jackson Harper  <jackson@ximian.com>
1482
1483         * FixedSizeTextBox.cs: New internal class that represents a
1484         textBox that will not be scaled.
1485         * TreeView.cs:
1486         * ComboBox.cs:
1487         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1488         standard TextBox.
1489                 
1490 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
1491
1492         * XplatUIX11.cs: Retrieve default screen number instead of
1493           assuming 0. Attempted fix for #77318
1494
1495 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
1496
1497         * XplatUIWin32.cs: 
1498           - GetWindowPos: When a window is parented by FosterParent, use 
1499             the desktop instead of FosterParent as the base to get coordinates
1500           - CreateWindow: Don't make FosterParent the parent window for Popups
1501             if we don't want a taskbar entry, Popups automatically don't get one
1502         * Hwnd.cs: Need to call remove to actually remove the key from the
1503           hash table
1504
1505 2006-01-30  Mike Kestner  <mkestner@novell.com>
1506
1507         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1508
1509 2006-01-30  Jackson Harper  <jackson@ximian.com>
1510
1511         * TreeView.cs:
1512         * TreeNode.cs: Raise events no matter how the treenode is
1513         checked. Patch by Don Edvalson.
1514
1515 2006-01-30  Jackson Harper  <jackson@ximian.com>
1516
1517         * TreeNode.cs: Signature fix.
1518
1519 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
1520
1521         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1522
1523 2006-01-20  Mike Kestner  <mkestner@novell.com>
1524
1525         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1526         event forwarding when menus are active.
1527         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
1528         Most of the patch is pdb's with a little rework.
1529
1530 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1531
1532         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
1533           Removed GetMenuDC and ReleaseMenuDC methods; replaced
1534           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1535         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1536         * InternalWindowManager.cs: Added use of PaintEventStart/End to
1537           handling of WM_NCPAINT message, now passing the PaintEventArgs to
1538           the PaintWindowDecorations method
1539         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1540         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1541         * MenuAPI.cs: Made tracker window invisible
1542         * XplatUIWin32.cs:
1543           - Removed GetMenuDC and ReleaseMenuDC methods
1544           - Implemented the client=false path for PaintEventStart and
1545             PaintEventEnd
1546
1547 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1548
1549         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1550         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1551           styles
1552         * Form.cs: 
1553           - MaximizeBox, MinimizeBox: Recreate the handle when setting
1554             the style
1555           - CreateParams: Reworked the styles to match MS look'n'feel,
1556             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1557             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1558
1559 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1560
1561         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
1562           window is not mapped, since otherwise every form that's being 
1563           created is considered minimized, which is wrong.
1564         * Form.cs: Catching the exception and returning our internal value
1565           instead
1566
1567 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1568
1569         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1570           SetWindowMinMax() to have means to tell the driver about the minimum,
1571           maximum and maximized state window sizes. (Part of the fix for #76485)
1572         * Form.cs:
1573           - Implemented tracking of minimum and maximum window size, now calling
1574             new SetWindowMinMax() driver method to tell the driver (Part of the
1575             fix for #76485)
1576           - Finished handling of WM_GETMINMAXINFO method, now setting all values
1577             (Completes fix for #76485)
1578           - Calling new SetWindowMinMax driver method when the handle for a 
1579             form is created, to make sure the driver knows about it even if
1580             the values have been set before the window was created
1581           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1582             to avoid messing up our anchoring calculations (partial fix
1583             for #77355)
1584         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1585         * XplatUIX11.cs:
1586           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1587           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
1588             (and presumably other freedesktop.org compliant WMs). Left the
1589             assumption unmapped=minimized, needed for SetVisible to work.
1590           - Now setting the window state when creating windows
1591           - Fixed SetVisible to consider/set the window state when mapping
1592             a Form. We cannot set the state before it's mapped, and we cannot
1593             use Form.WindowState once it's mapped (since it would ask the
1594             driver and get 'normal'. Therefore, we grab the state before
1595             mapping, map, and then set state.
1596           - Implmemented SetWindowMinMax method; Metacity does not seem to
1597             honor the ZoomHints, though.
1598         * XplatUIWin32.cs:
1599           - Removed MINMAXINFO (moved to XplatUIStructs)
1600           - Added SetWindowMinMax stub (on Win32 the only way to set that
1601             information is in response to the WM_GETMINMAXINFO message, which
1602             is handled in Form.cs)
1603           - Added logic to SetVisible to set the proper window state when a 
1604             form is made visible (fixes #75720)
1605
1606 2006-01-26  Jackson Harper  <jackson@ximian.com>
1607
1608         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1609         same way we handle them with Invoke.
1610
1611 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
1612
1613         * Form.cs:
1614           - Added tracking of window state so CreateParams can return
1615             the appropriate style
1616           - Moved setting of WS_CAPTION style in CreateParams to allow
1617             styles without caption
1618         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
1619           control if the TextBox property is accessed. Fixes #77345
1620         * Control.cs:
1621           - get_Created: now uses is_disposed and is_created to determine
1622             return value (suggested by Jackson)
1623           - CreateHandle: No longer exits if the handle is being recreated
1624           - RecreateHandle: If the handle is not yet created call the 
1625             appropriate method to create either control or handle. If the
1626             control is already created CreateHandle will simply exit instead
1627             of just creating the handle
1628         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1629           now SendMessage WM_DESTROY directly to the control when DestroyWindow
1630           is called.
1631         * XplatUIX11.cs: 
1632           - When DestroyWindow is called, instead of waiting for the 
1633             DestroyNotification from X11, we directly post it to the WndProc
1634             and immediately dispose the hwnd object.
1635             Same applies to DestroyChildWindows, and this obsoletes the
1636             expose_pending tracking. Contrary to Win32 behaviour we destroy our
1637             child windows before our own, to avoid X11 errors.
1638           - Removed the direct sending of WM_PAINT on UpdateWindow
1639         * XplatUIWin32.cs:
1640           - Reworked DoEvents and GetMessage to allow access to internal queue
1641             even when trying non-blocking access to the queue.  Fixes #77335. 
1642             Based on a patch suggestion by Don Edvalson. The new private
1643             GetMessage can now also be used as a backend for a PeekMessage
1644             frontend version.
1645         * XplatUI.cs: Improved debug output for CreateWindow
1646
1647 2006-01-25  Jackson Harper  <jackson@ximian.com>
1648
1649         * Help.cs: Allow param to be null. Patch by Don Edvalson.
1650
1651 2006-01-24  Jackson Harper  <jackson@ximian.com>
1652
1653         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1654         when we have a MaxDropItems lower then the selected index.
1655
1656 2006-01-24  Jackson Harper  <jackson@ximian.com>
1657
1658         * Control.cs: Don't allow selection of non visible controls, allow
1659         selection of controls without parents.
1660
1661 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1662
1663         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1664         * DataGridDrawingLogic.cs: Add editing row only when is necessary
1665
1666 2006-01-23  Jackson Harper  <jackson@ximian.com>
1667
1668         * UpDownBase.cs: Make the textbox handle all the selection and
1669         tabbing. This fixes tabing to updown controls.
1670
1671 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1672
1673         * TextBoxBase.cs: fixes exception thown the object was null
1674
1675 2006-01-23  Jackson Harper  <jackson@ximian.com>
1676
1677         * ButtonBase.cs: Just use the base CreateParams. They set
1678         visibility and enabled correctly.
1679         * ComboBox.cs:
1680         * TrackBar.cs:
1681         * MonthCalendar.cs: Lets let the base set as much of the
1682         createparams as possible so we don't have duplicate code all over
1683         the place.
1684
1685 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
1686
1687         * ThemeGtk.cs: Added TrackBar and some experimental code to
1688           get double buffering back
1689
1690 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
1691
1692         * DataGrid.cs: Allows row number set internally higher than the last
1693         when creating a new row. Restores the editing functionality.
1694
1695 2006-01-20  Mike Kestner  <mkestner@novell.com>
1696
1697         * MimeIcon.cs: delay Image creation until the icons are accessed
1698         instead of creating 190 scaled images on GnomeHandler startup.
1699
1700 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
1701
1702         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1703           first call base before processing the event. Fixes #77279
1704
1705 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
1706
1707         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1708           that the stride for the GDI bitmap would match the stride of
1709           a DIB or a Cursor.
1710
1711 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
1712
1713         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1714
1715 2006-01-19  Jackson Harper  <jackson@ximian.com>
1716
1717         * ComboBox.cs: Hookup the text controls keydown event so we get
1718         those when the text control has the focus.
1719
1720 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
1721
1722         * Label.cs: Now using the base events instead of defining new ones;
1723           this allows us to just call the base properties without having to
1724           duplicate all base property logic 
1725
1726 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
1727
1728         * Label.cs: A label by default is not a tabstop (Fixes one of our
1729           failing nunit tests)
1730
1731 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
1732
1733         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1734         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1735
1736 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
1737
1738         * Cursor.cs: Reimplemented creating cursor bitmaps without using
1739           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1740           This fixes #77218
1741         * XplatUIWin32.cs: 
1742           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
1743             constructor creates images that can't be saved. Part of the fix
1744             for #76103
1745           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1746           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
1747             bug fix for handling window state in forms properly)
1748
1749 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1750
1751         * ThemeGtk.cs: Simplify ScrollBar drawing
1752
1753 2006-01-18  Jackson Harper  <jackson@ximian.com>
1754
1755         * Splitter.cs: Set the default dock style for the splitter control
1756         in the constructor.
1757
1758 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1759
1760         * ThemeGtk.cs: Corrected StateType and ShadowType for
1761           gtk_paint_box
1762
1763 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1764
1765         * Control.cs: Make use of Theme.DoubleBufferingSupported
1766         * ThemeGtk.cs:
1767           - Added drawing for flat style buttons
1768           - Added ScrollBar drawing
1769
1770 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1771
1772         * ThemeClearlooks.cs: Removed some unneeded code.
1773         * ThemeGtk.cs: First part of ThemeGtk enhancements.
1774
1775 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
1776
1777         * LinkLabel.cs: We need to update the hover drawing when
1778           leaving the control as well.
1779
1780 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
1781
1782         * DataGrid.cs: Clicking on non empty areas in the columns
1783            area was giving an exception
1784
1785 2006-01-17  Jackson Harper  <jackson@ximian.com>
1786
1787         * ThemeWin32Classic.cs:
1788         * ListView.cs: Do not draw/clip the headers when the header style
1789         is None.
1790
1791 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
1792
1793         * DataGrid.cs: Fixes 77260
1794         
1795 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
1796
1797         * DataGrid.cs: Clicking on a column on a empty grid was giving
1798           an exception
1799
1800 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
1801
1802         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
1803           or any keypress will crash the grid.
1804
1805 2006-01-17  Mike Kestner  <mkestner@novell.com>
1806
1807         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
1808         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
1809         invisible/previously-visible items.
1810         [Fixes #76909]
1811
1812 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
1813
1814         * ThemeClearlooks.cs:
1815         - Added CL_Draw_Button method; now other theme controls that are 
1816           not derived from button or do not have a button can draw buttons
1817           too
1818         - Updated ComboBox drawing
1819         - Beautified RadioButton drawing
1820         - Corrected drawing of bottom and left tabs
1821         - Beautified DateTimePicker and MonthCalendar
1822         - Added CPDrawButton and CPDrawRadioButton
1823
1824 2006-01-16  Jackson Harper  <jackson@ximian.com>
1825
1826         * ComboBox.cs: Set the initial value of the scrollbar to the
1827         current index. Reduce the numbers of refreshs and IndexOfs called.
1828
1829 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
1830
1831         * FileDialog.cs: When the file listview is focused hitting the
1832           backspace key moves the fileview to the parent directory
1833
1834 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
1835
1836         * Form.cs: 
1837           - Added RecreateHandle call when changing taskbar visibility to 
1838             trigger reparenting in Win32 driver (Fixes #75719)
1839           - If a window has minimize or maximize buttons, it cannot have
1840             a help button
1841         * XplatUIWin32.cs:
1842           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
1843             the toplevel form with FosterParent (A toolwindow not on the
1844             taskbar) (Fixes #75719)
1845           - Made FosterParent a toolwindow
1846
1847 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1848
1849         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
1850
1851 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1852
1853         * ToolTip.cs: If SetToolTip is called from a control and the mouse
1854           is currently over that control, make sure that tooltip_window.Text
1855           gets updated
1856
1857 2006-01-13  Mike Kestner  <mkestner@novell.com>
1858
1859         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1860
1861 2006-01-13  Jackson Harper  <jackson@ximian.com>
1862
1863         * TreeView.cs: On MS GetNodeAt never actually factors in the X
1864         value passed.  Also redraw the selected node when we recieve
1865         focus, so tabbing between trees works correctly.
1866
1867 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1868
1869         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1870           ~/.gconf/%gconf-tree.xml, so use
1871           .gconf/desktop/gnome/interface/%gconf.xml
1872
1873 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
1874
1875         * TextControl.cs: Draw text in gray if control is disabled
1876
1877 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
1878
1879         * TreeView.cs: Draw the focus rectangle outside the highlight, to
1880           make sure it's always visible. Fixes #76680.
1881
1882 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
1883
1884         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1885
1886 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
1887
1888         * PageSetupDialog.cs: Added.
1889         * PrintDialog.cs: Attributes.
1890         * PrintPreviewControl.cs: Updates.
1891         * PrintPreviewDialog.cs: Updates.
1892         
1893 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1894
1895         * Control.cs: Undid my selection check fix, since it's not needed
1896         * TextBoxBase.cs:
1897           - Now considering the presence of hscroll/vscroll when sizing
1898             vscroll/hscroll respectively. Fixed bug #77077
1899           - Added Left/Up/Down/Right to IsInputKey list to prevent
1900             ContainerControl from stealing them. This fixes what I broke
1901             with my last checkin.
1902
1903 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
1904
1905         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1906           I finally understand how the property can be set without a setter :-)
1907
1908 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1909
1910         * Application.cs:
1911           - Switched RunLoop to use static Message.Create to create a 
1912             Message object
1913           - Added PreProcessMessage call in runloop for keyboard events; this
1914             is part of the fix for #77219, I overlooked this originally in the
1915             MSDN doc for PreProcessMessage
1916         * Control.cs:
1917           - Removed call to PreProcessMessage from handling of keyboard 
1918             messages; it's supposed to be done in the message pump
1919           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1920             per MSDN documentation.
1921           - IsInputChar: All chars are input chars by default; removed the 
1922             parent calling chain, MS does not document that
1923           - PreProcessMessage: If IsInputChar is true, we want to return false
1924             to allow dispatching of the message
1925           - When selecting the next control, now also check that we're not
1926             selecting ourselves again and therefore return a false positive.
1927         * TextBoxBase.cs:
1928           - Tried to match return values for IsInputKey and ProcessDialogKey
1929             to what MS returns; moved processing of our special keys outside
1930             ProcessDialogKey since MS does not seem to return true on those.
1931           - Moved code that previously was in ProcessDialogKey into new private
1932             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1933           - Reworked handling of WM_CHAR to not have to duplicate code from
1934             Control.cs anymore, instead we simply call down to base.
1935            
1936 2006-01-12  Jackson Harper  <jackson@ximian.com>
1937
1938         * ComboBox.cs: We always need to refresh the text area when
1939         EndUpdate is called. Fixes the combobox in the file dialog.
1940         * Control.cs: Don't create the creator_thread until the controls
1941         handle is created.  Also in InvokeRequired we check if the
1942         creator_thread is null. This gives the effect of InvokeRequired
1943         returning true if the controls handle is not created yet, and
1944         matches MS.
1945
1946 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1947
1948         * XplatUI.cs:
1949           - Added StartLoop() driver method. This is used to allow drivers to
1950             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1951             loop for a particular thread
1952           - Added EndLoop() driver method. This is called once the message
1953             pump for the thread is shut down
1954           - Added SupportsTransparency method to allow the driver to indicate
1955             opacity support for windows
1956         * Form.cs:
1957           - Removed TODO attribute, completed AllowTransparency property
1958           - Added documented logic to Opacity
1959         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1960           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1961           versions of CompatibleTextRendering
1962         * X11Structs.cs: Added opacity atom to our atom enumeration
1963         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1964           of a form might be set before it's reparented by the WM, and we need
1965           the opacity value without calling up to Form)
1966         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
1967           SupportsTransparency() driver methods
1968         * Application.cs: Now calling StartLoop and EndLoop driver methods
1969         * XplatUIX11.cs:
1970           - Added opacity atom registration
1971           - Added StartLoop()/EndLoop() methods. They're empty right now but
1972             will need to get implemented when we switch to a per-thread queue
1973           - Implemented SupportsTransparency() method
1974           - Implemented SetWindowTransparency() method
1975           - Added support for setting the opacity value when a window is
1976             reparented (since the opacity needs to be set on the WM frame)
1977         * XplatUIOSX.cs, XplatUIWin32.cs:
1978           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1979
1980 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
1981
1982         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1983
1984 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
1985
1986         * FileDialog.cs: Added ToolTip for MWFFileView
1987         * MimeIcon.cs: Rewrote GnomeHandler.
1988           - Get currently used gnome icon theme from
1989             ($HOME)/.gconf/%gconf-tree.xml
1990           - Make use of inherited icon themes
1991           - Support SVG icon themes like Tango via librsvg
1992
1993 2006-01-12  Miguel de Icaza  <miguel@novell.com>
1994
1995         Revert's Jackson's revert which broke 2.0 builds.   Fix both
1996         builds. 
1997         
1998         * Application.cs: Move the use_compatible_text_rendering outside
1999         the NET_2_0 define.  If we ever need to use the
2000         use_compatible_text_rendering on the individual controls they will
2001         access the variable from the common shared code paths.
2002
2003 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2004
2005         * XplatUI.cs:
2006           - Added more granular debug options
2007           - Added method to print both window text and id
2008           - Switched debug output to use new Window() debug method
2009           - Added IsEnabled() driver method
2010           - Added EnableWindow() driver method
2011         * Form.cs:
2012           - Removed end_modal; no longer needed, new loop handles termination
2013             via 'closing' variable
2014           - If form is modal, setting DialogResult will now initiate loop
2015             termination via 'closing' variable
2016           - Added support for is_enabled/WS_DISABLED to CreateParams
2017           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2018             does all the work
2019           - Removed code that's now in RunLoop from ShowDialog()
2020           - Added various documented sanity checks to ShowDialog()
2021           - Added handling of WM_DESTROY message; we set 'closing' on getting
2022             the message to indicate the message pump to terminate
2023           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2024             send by the Application.ExitThread method. (We send the message
2025             to destroy the window after all other events have been
2026             processed through the queue, instead of destroying the handle 
2027             directly)
2028           - Moved code from Close() method to WM_CLOSE handler; added logic
2029             to only send close-related events if the form is not displayed
2030             modal
2031         * Splitter.cs (..ctor): Fixed typo in resource name
2032         * Control.cs:
2033           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2034             brush now
2035           - set_Cursor: Now only setting calling into XplatUI if the handle for
2036             the control is already created; this avoids implict handle creation
2037             or crashes if it's not created
2038           - set_Enabled: Now setting the enabled state via the new driver method
2039             instead of just tracking it
2040           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2041           - CreateControl: Reordered event firing and method calls to more
2042             closely fire events in the order MS does. Now setting the
2043             enabled state in the driver when creating the control.
2044           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2045             match MS order
2046         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2047           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2048         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2049         * Hwnd.cs:
2050           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2051           - Added EnabledHwnd property to easily allow a driver to find the
2052             handle of the first enabled window in the parent chain (this is
2053             used by drivers to pass up input events of disabled windows)
2054         * XplatUIDriver.cs: Added IsEnabled() method
2055         * Application.cs:
2056           - Removed crude and obsolete exiting tracking variable
2057           - Removed internal ModalRun(); replaced by RunLoop()
2058           - Implemented private CloseForms() method to allow closing all 
2059             windows owned by a particular (or all) threads
2060           - Exit() now properly closes all windows without forcing the message
2061             pump to quit
2062           - Removed obsolete InternalExit() method
2063           - Changed Run() methods to use new RunLoop() message pump
2064           - Implemented new RunLoop() method for both modal and non-modal forms
2065         * CommonDialog.cs:
2066           - get_CreateParams: Added setting of WS_DISABLED
2067           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2068             invoked via Form.ShowDialog()
2069         * NativeWindow.cs: We don't remove the window from the collection when
2070           the handle is destroyed; there might still be messages for it in the
2071           queue (mainly the resulting WM_DESTROY); instead it will be removed
2072           when Control calls InvalidateHandle in the WM_DESTROY handler
2073         * XplatUIX11.cs:
2074           - CreateWindow: Added logic to handle the WS_DISABLED window style
2075           - EnableWindow: Implemented based on Hwnd.Enabled
2076           - GetMessage: Reset PostQuitState so the method can be called again
2077           - Implemented support for disabled windows (passing messages to the
2078             first enabled parent) in handling all input messages
2079           - Added optimizations for handling Expose events
2080           - Implemeted new driver method IsEnabled()
2081           - Now always resetting paint pending tracking vars when we start paint
2082           - Re-implemented UpdateWindow via just sending a WM_PAINT message
2083         * XplatUIOSX.cs: Added IsEnabled method stub
2084         * XplatUIWin32.cs: Implemented new IsEnabled() method
2085
2086 2006-01-11  Jackson Harper  <jackson@ximian.com>
2087
2088         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2089         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2090         variables a little.
2091         * ColorDialog.cs: Clear out the old form before adding the new
2092         panel.  
2093
2094 2006-01-11  Jackson Harper  <jackson@ximian.com>
2095
2096         * X11Dnd.cs: Make sure to add all the text formats when adding
2097         strings to the data object.
2098         * TreeNodeCollection.cs: When adding to a sorted tree we need to
2099         do some redrawing too.  Also change the UpdateNode to an
2100         UpdateBelow so the newly added node gets painted.
2101         
2102 2006-01-11  Miguel de Icaza  <miguel@novell.com>
2103
2104         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2105         LinkLabel.cs, PropertyGrid.cs: Implement the
2106         UseCompatibleTextRendering property for 2.x
2107
2108         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
2109
2110 2006-01-11  Jackson Harper  <jackson@ximian.com>
2111
2112         * TreeView.cs: Use the property for setting the selected node so
2113         the correct events get raised.
2114         * TreeNode.cs: Update the tree when the fore/back colours of a
2115         node are set.
2116
2117 2006-01-10  Jackson Harper  <jackson@ximian.com>
2118
2119         * TreeView.cs: Allow setting SelectedNode to null.
2120
2121 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2122
2123         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2124
2125 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2126
2127         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2128
2129 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2130
2131         * PrintDialog.cs: Added attributes and set default property values.
2132
2133 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2134
2135         * PrintControllerWithStatusDialog.cs: 
2136         Added PrintControllerWithStatusDialog.
2137
2138 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2139
2140         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
2141         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2142
2143 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2144
2145         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2146
2147 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
2148
2149         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2150         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2151
2152 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2153
2154         * MimeIcon.cs: Added internal class SVGUtil.
2155
2156 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2157
2158         * FileDialog.cs: Don't crash if there are two files with the
2159           same name but different locations.
2160
2161 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
2162
2163         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2164         dates across multiple month grids. Used to not highlight entire 
2165         month, but does now.
2166         
2167 2006-01-06  Jackson Harper  <jackson@ximian.com>
2168
2169         * MonthCalendar.cs: Removed DoEvents call to prevent a running
2170         message loop. Change timer intervals to numbers that seem more
2171         natural.
2172
2173 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
2174
2175         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2176           object for location info since screen object is now implemented.
2177
2178 2006-01-05  Jackson Harper  <jackson@ximian.com>
2179
2180         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2181         * AsyncMethodResult.cs: We no longer use a WeakReference for the
2182         AsyncMethodResult, this is because we ALWAYS want the
2183         ManualResetEvent to get set.
2184         * Control.cs: When disposing use an async invoke to call shutdown
2185         code, so that thigns don't block on the finalizer thread.  Also
2186         check if we even have a message loop before trying to send
2187         messages, if we don't then don't bother sending messages.
2188         - No more weak references for async methods
2189         * XplatUIDriver.cs: No more weak references for async methods.
2190
2191 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2192
2193         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2194           returns two FontFamily with the same name
2195
2196 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2197
2198         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
2199           drawing disabled text. Instead using the ColorGrayText color
2200
2201 2006-01-04  Jackson Harper  <jackson@ximian.com>
2202
2203         * TreeNode.cs: redraw the node when its image index is changed.
2204
2205 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2206
2207         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2208           time I checked there are no others like it.
2209
2210 2006-01-04  Jackson Harper  <jackson@ximian.com>
2211
2212         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2213         this gives the behavoir I was looking for.
2214         * Control.cs: Special case Invoking EventHandlers, this matches MS
2215         and fixes part of bug #76326.
2216
2217 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2218
2219         * ThemeClearlooks.cs, FileDialog.cs:
2220           - Reflect the latest Theme class changes
2221           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
2222             with DateTime
2223             
2224 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2225
2226         * Theme.cs: Cache UI resource images and resize them if needed
2227
2228 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2229
2230         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2231           is called. This fixes the crash in Nexxia when setting the font
2232           attributes in the chat. [However, RTF needs a look-over to make sure
2233           that all SelectionXXX methods handle the special case that selection
2234           is empty and therefore the change must be applied to all text starting
2235           at the cursor/selection start]
2236
2237 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
2238
2239         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2240           XplatUIOSX.cs: Added SendMessage and PostMessage methods
2241         * X11Keyboard.cs: Switched to new way of calling PostMessage
2242
2243 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2244
2245         * Theme.cs: Added theme interface for images to allow the theme to
2246           control what images are used for things like FileDialog, MessageBox
2247           icons, etc.
2248         * MessageBox.cs: Now uses the new Theme icon/image interfaces
2249
2250 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
2251
2252         * FileDialog.cs:
2253           - Removed some dead code
2254           - Opening a recently used file does work now
2255           - Small UI enhancements
2256           - Refactoring
2257
2258 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2259
2260         * FileDialog.cs: Forgot too add __MonoCS__
2261
2262 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2263
2264         * FileDialog.cs: We are able to read recently used files now let's
2265           go on and write them.
2266
2267 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
2268
2269         * FileDialog.cs: Breathe some life into "last open"/"recently used"
2270           button
2271         * MimeIcon.cs: Do a check for the top level media type also
2272
2273 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2274
2275         * ThemeClearlooks.cs:
2276           - Added CPDrawStringDisabled
2277           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2278             some chars if the text doesn't fit into text_rect
2279           - DrawListViewItem: If View = View.LargeIcon center the image;
2280             rewrote the drawing of ListViewItem.Text if View = 
2281             View.LargeIcon
2282
2283 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2284
2285         * MimeIcon.cs: Use default KDE icon theme if there is no
2286           "48x48" directory for the current icon theme, fixes #77114
2287         * Mime.cs: Disable not working and actually not used code. 
2288         * ThemeWin32Classic.cs:
2289           - Replace "new SolidBrush" in GetControlBackBrush and
2290             GetControlForeBrush with ResPool.GetSolidBrush
2291           - Changed DrawListViewItem from private to protected virtual
2292         * FileDialog.cs:
2293           - Added form.MaximizeBox = true
2294           - Don't throw an exception if there is a broken symbolic link
2295
2296 2005-12-23  Jackson Harper  <jackson@ximian.com>
2297
2298         * TabControl.cs: Give the panels focus, keyboard navigation is
2299         fixed so this works correctly now.
2300         - We need these key events also.
2301         * ToolBar.cs: Remove some of the poor mans double buffering.
2302         
2303 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
2304
2305         * ComboBox.cs: The internal TextBox now returns the focus.
2306
2307 2005-12-23  Jackson Harper  <jackson@ximian.com>
2308
2309         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
2310
2311 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2312
2313         * Control.cs: Removed debug code
2314         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2315           implicit children
2316
2317 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
2318
2319         * Control.cs: When creating the control, update the Z-order after
2320           all it's children are created, too. (Fixes nexxia not showing
2321           picturebox bug)
2322
2323 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2324
2325         * Control.cs: Do not update the anchoring distances if layout is
2326           suspended, instead do it once layout is resumed
2327
2328 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
2329
2330         * Control.cs: 
2331           - After many hours of debugging, for both Jackson and
2332             myself, it turns out that it helps to set the parent of a control
2333             if you want to actually see it onscreen. In the spirit of that
2334             discovery, we're now setting the parent of the control and
2335             it's children when the control's handle is created. This fix
2336             will make Lutz Roeder's Reflector run happily. 
2337           - now just creating the handle instead of the whole control when
2338             getting a graphics context for the control.
2339
2340 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2341
2342         * ScrollableControl.cs: When calculating the canvas, don't consider
2343           the scrollbar widths. Instead, predict if horizontal scrollbar
2344           will affect canvas when deciding on vertical display and vice versa.
2345
2346 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2347
2348         * RichTextBox.cs: Set default RTF font for documents that don't
2349           have a font table (Fixes #77076)
2350
2351 2005-12-22  Jackson Harper  <jackson@ximian.com>
2352
2353         * TextBoxBase.cs: It's difficult to do, but you can have an empty
2354         clipboard. This prevents a NullRef in that case.
2355         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2356         clipboard. PRIMARY is for the currently selected text only. (We
2357         should implement PRIMARY at some point.
2358
2359 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2360
2361         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2362           a Unicode function with a structure that was defined in Ansi way.
2363           This fixes #76942.
2364
2365 2005-12-21  Jackson Harper  <jackson@ximian.com>
2366
2367         * StatusBar.cs: Statusbar handles its fore/back colours on it's
2368         on. Because thats how it rolls. (and this avoids it using ambient
2369         colours).
2370         * ThemeWin32Classic.cs: Use the proper back color for filling.
2371         * Menu.cs: Use the system menu bar color for drawing menu
2372         bars. Using the window back color will bring ambient colours into
2373         the picture.
2374
2375 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
2376
2377         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2378           Bitmaps were created and not disposed.
2379
2380 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2381
2382         * Control.cs (CreateControl): Don't do anything if the control is
2383           already created, otherwise we'd fire the OnCreated event more than
2384           once
2385
2386 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2387
2388         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2389           will always match. Instead return -1. Fixes #76464.
2390
2391 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2392
2393         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2394           neither the beginning nor the end of the line (Fixes bug #76479)
2395
2396 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2397
2398         * Control.cs:
2399           - ControlNativeWindow.ControlFromHandle(): Now handling situation
2400             where handle is invalid
2401           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2402             instead of slower linear search
2403         * NativeWindow.cs: Don't remove the window from the hashtable until
2404           after the driver has destroyed it (since the driver might use
2405           Control.FromHandle to lookup the control object
2406         * Hwnd.cs: Added DestroyPending property to track if a window is 
2407           already destroyed as far as the driver is concerned and only hasn't
2408           yet notified the control
2409         * XplatUIX11.cs:
2410           - Activate(): Check if the window is still valid before using the 
2411             handle
2412           - Implemented DestroyChildWindow() method to mark child windows as
2413             destroyed when a window is destroyed. This prevents situations 
2414             where we might call an X method based on queued events for a
2415             window that already has been destroyed but we haven't yet pulled
2416             the destroy method from the queue.
2417           - Added a call to the new DestroyChildWindow() method to the drivers
2418             DestroyWindow code. Also now marking the destroyed window itself
2419             as pending
2420
2421 2005-12-20  Jackson Harper  <jackson@ximian.com>
2422
2423         * StatusBar.cs:
2424         * StatusBarPanel.cs: Don't calculate panel sizes on draw
2425         anymore. Just do them when needed, also track the rects of panels
2426         so that we can optimize refreshing more in the future.
2427
2428 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
2429
2430         * ColorDialog.cs: Fixed focus drawing in small color controls
2431
2432 2005-12-19  Jackson Harper  <jackson@ximian.com>
2433
2434         * InternalWindowManager.cs:
2435         * MdiWindowManager.cs: Cleanup some coordinate system changes so
2436         moving windows works properly.
2437
2438 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
2439
2440         * Control.cs: 
2441           - Removed call to InitLayout() from SetBoundsCore(); doc says
2442             it's only called when a control is added to a container
2443           - Split InitLayout logic, moved to separate UpdateDistances() method
2444             since we need to perform those calculations more often than just
2445             when adding the control to a container. (Needed to fix #77022)
2446           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2447           - Reduced the OnBindingContextChanged events count, don't send them
2448             unless the control is created, we still aren't totally matching
2449             MS, but I can't quite figure out some of their rules
2450
2451 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2452
2453         * ThemeClearlooks.cs: Corrected distance between ProgressBar
2454           stripes
2455
2456 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2457
2458         * ThemeClearlooks.cs:
2459           - Updated ProgressBar drawing
2460           - Corrected drawing of ScrollBars and scroll buttons
2461           - Some temporary fixes for minor pixel artefacts
2462
2463 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
2464
2465         * Control.cs:
2466           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2467             cause events to be sent in the same order as MS does.
2468           - Added ChangeParent() method to trigger various OnXXXChanged events
2469             that need to be fired when a parent changes (This is a reworking
2470             of the patch from r54254, with the X11 errors fixed)
2471           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2472             since on MS we get OnLayoutChanged events when calling Clear()
2473           - Changed Enabled property to consider parent state as well, if a
2474             parent is not enabled, the control will not be either
2475           - Changed Parent property to simply call Controls.Add() since that
2476             now does all the work required, this way we avoid code duplication
2477           - Threw in a few OnBindingsContextChanged calls to try and match
2478             when MS sends them. We seem to send a few too many, though.
2479           - Added call to CreateControl when adding the control to a parent.
2480             We were never calling CreateControl. Still needs some work, in
2481             some places we treat HandleCreated and ControlCreated as equal, 
2482             which is wrong
2483           - Removed obsolete commented out code from UpdateZOrder()
2484
2485 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2486
2487         * ThemeClearlooks.cs: Updated TrackBar drawing.
2488
2489 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2490
2491         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2492
2493 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2494
2495         * FileDialog.cs: Add the Help button and the open readonly
2496           checkbox only if needed
2497
2498 2005-12-16  Jackson Harper  <jackson@ximian.com>
2499
2500         * Control.cs: Make sure we have an active menu before trying to
2501         process commands on it. Prevents menu-less forms from crashing
2502         when Alt is pressed.
2503         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2504         Dieter Bremes.
2505         * RichTextBox.cs: Expand statement to help out gmcs and fix the
2506         2.0 build.
2507
2508 2005-12-16  Jackson Harper  <jackson@ximian.com>
2509
2510         * InternalWindowManager.cs: Don't translate tool windows screen
2511         coordinates. This fixes windows 'bouncing' around when being moved.
2512
2513 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2514
2515         * TextBoxBase.cs:
2516           - MaxLength now treats 2^31-1 equal to unlimited length (this is
2517             not quite MS compatible, MS uses that number only for single line
2518             and 2^32-1 for multi-line, but I figure it won't hurt keeping
2519             the limit at 2GB)
2520           - Now enforcing the MaxLength limit when entering characters
2521           - Added argument to internal Paste() method to track if it's called
2522             from programatically or via keyboard, since keyboard driven pastes
2523             need to enforce max-length
2524           - Added logic to Paste to only paste as many chars as MaxLength 
2525             allows
2526         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2527         * TextControl.cs:
2528           - Added Length property to return number of characters in document
2529           - Added private CharCount property which only tracks actual chars
2530             in the document (no linefeeds) and fires event when CharCount
2531             changes
2532           - Added tracking of character count to all methods that alter it
2533           - Added LengthChanged event to allow applications to subscribe
2534             to any changes to the document
2535
2536 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2537
2538         * TextBox.cs: 
2539           - Removed local password_char field (moved to TextBoxBase)
2540           - Now setting the document's password var when password is
2541             set
2542         * TextBoxBase.cs:
2543           - Added password_char field (needed here so MultiLine can
2544             access it)
2545           - Added logic to MultiLine property setter to set the document's
2546             variable when password display is allowed
2547           - Removed debug code and made some debug code conditional
2548         * TextControl.cs:
2549           - Added RecalculatePasswordLine() method to handle special password
2550             char only lines
2551           - Added PasswordChar property, also added related tracking vars
2552           - Draw() method now uses local text var for grabbing text to draw,
2553             this var is set to line.text unless we're doing password display,
2554             then it is set to the pre-generated all-password-chars line
2555           - Added calling RecalculatePasswordLine() method for password lines
2556
2557 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2558
2559         * Hwnd.cs: 
2560           - Added Reparented property to allow tracking of Window Manager
2561             reparenting actions (which affect X/Y calculations of toplevel 
2562             windows)
2563           - Made ToString() print window handles in hex
2564         * XplatUIX11.cs:
2565           - AddConfigureNotify(): Now uses reparented state off Hwnd to
2566             determine if X/Y needs offsetting
2567           - AddConfigureNotify(): Fixed offset calculations
2568           - Now adds ReparentNotify messages into the queue
2569           - Now processes ReparentNotify messages and causes a 
2570             WM_WINDOWPOSCHANGED message to be sent upstream if a window
2571             is reparented (as most likely it's X/Y coordinates are changed
2572             due to that)
2573
2574 2005-12-14  Jackson Harper  <jackson@ximian.com>
2575
2576         * XplatUIX11.cs: Tool windows still need to respek focus.
2577
2578 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2579
2580         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2581           have a working release
2582
2583 2005-12-13  Jackson Harper  <jackson@ximian.com>
2584
2585         * Form.cs: Update styles after setting the border style regardless
2586         of whether or not the window is using a window manager.
2587
2588 2005-12-13  Jackson Harper  <jackson@ximian.com>
2589
2590         * Form.cs: We now hook into an internal window manager instead of just an
2591         MDI subsystem, this is so we can have properly behaving tool windows.
2592         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2593         * InternalWindowManager.cs: New internal class that acts as a
2594         window manager for tool windows and as a base for mdi windows.
2595         * MdiWindowManager.cs: New class that acts as a window manager for
2596         mdi windows.
2597
2598 2005-12-12  Jackson Harper  <jackson@ximian.com>
2599
2600         * Control.cs: Updates so we match behavoir for for implicit
2601         controls. Fixes explosions in MDI.
2602
2603 2005-12-12  Jackson Harper  <jackson@ximian.com>
2604
2605         * Control.cs: Implement Invalidate (Region).
2606
2607 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
2608
2609         * Control.cs: 
2610           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
2611             the same events as MS does. MS fires events for each property 
2612             except, for unknown reasons, Cursor, when the control is reparented. 
2613             I can't seem to totally match add/remove since MS also fires some 
2614             VisibleChanged events, which makes no sense. Consolidated the
2615             parenting code into a separate method so it can be called from
2616             both Add and Remove. set_Parent no longer needs any special logic
2617             as it calls the parent's add method which implicitly fires
2618             all events
2619           - Removed some obsolete code and debug output
2620           - Enabled state is inherited from parents, if this is enabled
2621
2622 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
2623
2624         * Form.cs: Removed commented out code
2625
2626 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
2627
2628         * Control.cs:
2629           - Added internal version of Invoke, with additional argument 
2630             indicating if we're calling it from a Dispose() handler. That
2631             way we can avoid BeginInvoke throwing an exception if we're
2632             calling for an already destroyed window.
2633           - Added a dispose argument to BeginInvokeInternal, and made the
2634             check if a valid window handle chain exists conditional on
2635             it not being a dispose call
2636           - Removed code in DestroyHandle to destroy our children. Since we
2637             now handle the WM_DESTROY message we will catch all our children
2638             being destroyed.
2639           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2640         * Form.cs:
2641           - Added a field to track the application context of the form.
2642           - No need to set closing variable as response to WM_CLOSE, instead
2643             we destroy the window. We also call PostQuitMessage if the form
2644             has an application context (which makes it the main app form,
2645             which, when closed terminates the app)
2646         * XplatUI.cs:
2647           - Dropped Exit() method, it's naming was confusing
2648           - Added PostQuitMessage() which causes GetMessage to return false
2649             once the message queue is empty
2650         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
2651           PostQuitMessage()
2652         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2653           no longer a valid XplatUI method, but left it in since it's used
2654           internally. Added empty PostQuitMessage() method.
2655         * MenuAPI.cs: Replaced call to Exit() with call to
2656           PostQuitMessage, even though this is probably no longer needed.
2657         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2658         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2659         * Application.cs:
2660           - Replaced call to XplatUI.Exit() with PostQuitMessage()
2661           - Removed old debug code that would call XplatUI for exception
2662             display, enabled standard exception handling (Still not enabled
2663             though, until NativeWindow's ExternalExceptionHandler define
2664             is removed
2665         * NativeWindow.cs:
2666           - Added internal method to allow control to update NativeWindow
2667             after a window has been destroyed
2668           - Added handling of already destroyed windows when calling i
2669             DestroyWindow
2670           - Added removal of handle from list on ReleaseHandle
2671         * XplatUIX11.cs:
2672           - Dropped GetMessageResult var and related code
2673           - Added PostQuitState to field to track if PostQuitMessage has been
2674             called
2675           - Dropped Exit() method
2676           - Added PostQuitMessage() method
2677           - GetMessage now will return false if PostQuitState is set and no
2678             more messages are in the queue.
2679           - Expose handler will no longer generate WM_PAINT messages if we are
2680             in PostQuitState since it's very likely any windows have already
2681             been destroyed, and since Hwnd won't get updated until we have
2682             processed the DestroyNotify we'd be causing X errors.
2683         
2684 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2685
2686         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2687           Thanks to Mike for pointing out the err of my ways.
2688
2689 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2690
2691         * Control.cs(PreProcessMessage): Moved menu handling back, but
2692           after all other key handling, to match MS (who handles Menu in
2693           DefWndProc)
2694         * Menu.cs (WndProc): Removed my brainfart
2695
2696 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2697
2698         * Control.cs(PreProcessMessage): Removed special menu handling 
2699         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2700
2701 2005-12-07  Mike Kestner  <mkestner@novell.com>
2702
2703         * Control.cs : special case SYSKEYUP so that we can adjust keynav
2704         state according in tracker.
2705         * Menu.cs : promote tracker field to base class and provide a tracker
2706         lookup capability.  Add/Remove shortcuts dynamically if the top menu
2707         has a tracker. Unparent items that are removed from the collection.
2708         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2709         * Theme*.cs: add always_show_hotkeys field to support configurability
2710         of mnemonic display.  win32 doesn't show mnemonics until Alt is
2711         pressed.
2712
2713 2005-12-07  Jackson Harper  <jackson@ximian.com>
2714
2715         * MdiChildContext.cs: Use Control.ResetCursor.
2716         * Control.cs: ResetCursor needs to set the property so that the
2717         correct XplatUI call gets made.
2718
2719 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2720
2721         * Control.cs: More fixes to make our key events match MS. We
2722           were not setting the modifier state on KeyData, and we were
2723           not generating any events when Alt was pressed with a key
2724           since handling of WM_SYSxxx was missing for the OnKey methods.
2725
2726 2005-12-07  Jackson Harper  <jackson@ximian.com>
2727
2728         * MdiChildContext.cs: reenable the sizing code.
2729         - When the mouse leaves a window reset its cursor.
2730
2731 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
2732
2733         * ThemeClearlooks.cs: Reflect latest Hwnd changes
2734
2735 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2736
2737         * Hwnd.cs: Now using the theme 3d bordersize to calculate
2738           widths of Fixed3D borders
2739
2740 2005-12-07  Jackson Harper  <jackson@ximian.com>
2741
2742         * MdiClient.cs: Fix warnings. Earn Mike's love.
2743
2744 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
2745
2746         * ThemeClearlooks.cs:
2747           - Adjusted mouse over button color
2748           - Added first parts of CheckBox drawing
2749           - Added correct color for selected text background
2750           - Fixed ComboBox drawing
2751           - Added CPDrawBorder3D and CPDrawBorder
2752
2753 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
2754
2755         * XplatUIX11.cs: Added call to XBell for AudibleAlert
2756
2757 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
2758
2759         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2760           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
2761           alert users via sound. We could add an enum arg with different
2762           types of alerts in the future
2763
2764 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
2765
2766         * Control.cs: Fix behaviour problems pointed out by Mike
2767
2768 2005-12-05  Mike Kestner  <mkestner@novell.com>
2769
2770         * StatusBarPanel.cs: add Invalidate method and hook it into all the
2771         prop setters.  Calls parent.Refresh for now, but could be maybe be
2772         optimized with an internal method on StatusBar at some point.
2773         [Fixes #76513]
2774
2775 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
2776
2777         * RichTextBox.cs: Implemented get_SelectionColor
2778
2779 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
2780
2781         * ThemeClearlooks.cs:
2782           - Removed dead code
2783           - Draw black button border only if button is Form.AcceptButton
2784           - Draw correct button color for pressed RadioButton if the mouse 
2785             has entered the button
2786           - Updated ProgressBar drawing!
2787           - Updated CPDrawSizeGrip drawing
2788           - Updated StatusBarPanel drawing
2789
2790 2005-12-05  Mike Kestner  <mkestner@novell.com>
2791
2792         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
2793         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2794
2795 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
2796
2797         * ThemeClearlooks.cs: Initial check-in, activate with
2798           export MONO_THEME=clearlooks
2799         * ThemeEngine.cs: Added ThemeClearlooks
2800
2801 2005-12-03  Mike Kestner  <mkestner@novell.com>
2802
2803         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
2804         [Fixes #76897]
2805
2806 2005-12-02  Jackson Harper  <jackson@ximian.com>
2807
2808         * Form.cs: If the child form has no menu the default main menu is
2809         used as the active menu.
2810
2811 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
2812
2813         * ListBox.cs: Check if any items exist before trying to resolve 
2814           coordinates into items
2815
2816 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
2817
2818         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
2819           as the second color for the background hatch
2820
2821 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
2822
2823         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
2824         * RichTextBox.cs: FormatText position arguments are 1-based, now making
2825           sure that what we pass to FormatText is always 1-based. Fixes #76885
2826
2827 2005-11-29  Miguel de Icaza  <miguel@novell.com>
2828
2829         * NumericUpDown.cs (EndInit): When we are done initializing,
2830         reflect any updates on the UI.
2831
2832 2005-12-02  Jackson Harper  <jackson@ximian.com>
2833
2834         * ImplicitHScrollBar.cs:
2835         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
2836         their container controls.
2837         * TreeView.cs: Use the new implicit scrollbars.
2838
2839 2005-12-02  Jackson Harper  <jackson@ximian.com>
2840
2841         * TreeView.cs: Make top_node internal so the TreeNodeCollections
2842         can play with it.
2843         * TreeNodeCollection.cs: If we remove the topnode we need to
2844         update topnode to the next node in line.
2845         - When clearing nodes go through the same process as removing
2846         them, so they get depareneted and checked if they are top node.
2847
2848 2005-12-01  Jackson Harper  <jackson@ximian.com>
2849
2850         * TreeView.cs: When imagelists are used the image area is
2851         selectable as well as the text.
2852         - If there are no selected nodes select the first one.
2853         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
2854         so don't do it more then we need to.
2855
2856 2005-12-01  Jackson Harper  <jackson@ximian.com>
2857
2858         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2859         that arrows can be scaled.
2860
2861 2005-12-01  Jackson Harper  <jackson@ximian.com>
2862
2863         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2864         fail. Patch by Dieter Bremes
2865
2866 2005-11-30  Jackson Harper  <jackson@ximian.com>
2867
2868         * Form.cs: Property is 2.0 only
2869         * PrintDialog.cs: Signature fix.
2870
2871 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
2872
2873         * TextControl.cs: 
2874           - No longer artificially moves text 2 pixels down (now that we have
2875             borders this is no longer needed)
2876           - Added calcs for left, hanging and right indent
2877
2878 2005-11-23  Mike Kestner  <mkestner@novell.com>
2879
2880         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2881
2882 2005-11-30  Jackson Harper  <jackson@ximian.com>
2883
2884         * MdiChildContext.cs: Set the cloned menus forms, as these don't
2885         get cloned as part of CloneMenu ().
2886         * Menu.cs: Make sure the parent of the items get set correctly
2887         when they are added.  And the owners are notified of the changes.
2888         * Form.cs: Create an ActiveMenu property, so that when MDI is used
2889         we can change the menu being displayed/handled by the form without
2890         changing the menu assosciated with the form.
2891         - Don't let Mdi children draw/handle menus.
2892         
2893 2005-11-30  Jackson Harper  <jackson@ximian.com>
2894
2895         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2896         a MenuChanged event. Just to make the API a little more
2897         consistent.
2898         * MainMenu.cs:
2899         * MenuItem.cs: Use the new OnMenuChanged
2900         * MdiChildContext.cs: Handle menu merging.
2901         * Form.cs: Implement MergedMenu.
2902         
2903 2005-11-30  Jackson Harper  <jackson@ximian.com>
2904
2905         * Menu.cs: We were misusing Add. Add goes behind the specified
2906         index according to the docs, and does not replace the specified
2907         index. So I added an Insert method.
2908
2909 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
2910
2911         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2912           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2913           is for Jackson
2914         * RichTextBox.cs: Added calls to base for DnD events
2915
2916 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
2917
2918         * TextControl.cs:
2919           - Fixed drag-selection related crash; style fixes
2920           - Implemented undo class
2921             o Implemented method to capture document state for specified
2922               range in document tree
2923             o Implemented method to restore captured document state
2924             o Implemented cursor tracking
2925             o Implemented basic undo stack
2926           - Added undo cursor tracking to methods altering cursor location
2927           - Added undo tracking to selection deletion (still missing
2928             other text-altering hookups)
2929         * RichTextBox.cs:
2930           - Added SelectionLength property
2931           - Implemented CanPaste()
2932           - Implemented Paste()
2933           - Added missing protected methods
2934           - Fixed RTF->Document conversion; now uses font index 0 and color 
2935             index 0 as the default font for the parsed text
2936           - Fixed RTF<->Document font size translation
2937           - Fixed RTF generation, now properly handles cross-tag boundaries
2938             for single line selection
2939           - No longer always appends blank line to generated RTF
2940           - Removed TODOs
2941           - Added missing attributes
2942           - Hooked up undo-related methods
2943         * TextBoxBase.cs:
2944           - Implemented Copy()
2945           - Implemented Paste()
2946           - Implemented Cut()
2947           - Fixed caret mis-behaviour on backspace across line-boundaries
2948
2949 2005-11-29  Jackson Harper  <jackson@ximian.com>
2950
2951         * MdiClient.cs: Add a method for activating mdi children. Very
2952         basic right now. I imagine someday it might need more girth.
2953         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2954         children windows names are added to the menu item.
2955         * ThemeWin32Classic.cs: Draw the arrow if the item is an
2956         mdilist. This happens regardless of whether or not there are any
2957         mdi windows to see in the list, and according to my tests happens
2958         before the items are even added. Also happens if there isn't even
2959         an mdi client to get windows from.
2960
2961 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
2962
2963         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2964         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2965
2966 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
2967
2968         * DataGridTableStyle.cs:
2969           - Create always the styles for the missing columns even if they are
2970             provided by the user (not default table style)
2971         * DataGrid.cs:
2972           - Fixes bug 76770
2973           - Fixes SetDataBinding (always re-attach source)
2974           - Fixes SetNewDataSource (only clear styles if they are not for 
2975             this source)
2976          -  Expands OnTableStylesCollectionChanged to handle style refresh 
2977             and remove properly
2978
2979 2005-11-29  Jackson Harper  <jackson@ximian.com>
2980
2981         * FileDialog.cs: Implement missing bits, remove some dead
2982         code.
2983         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2984         creation of the panel so that the options set on the dialog are
2985         seen when the panel is created.
2986         * TreeView.cs: raise a click when items are clicked.
2987         
2988 2005-11-29  Jackson Harper  <jackson@ximian.com>
2989
2990         * MdiClient.cs: Pass some signature methods through to base.
2991
2992 2005-11-28  Jackson Harper  <jackson@ximian.com>
2993
2994         * ListView.cs: Raise the click event when items are clicked.
2995
2996 2005-11-28  Jackson Harper  <jackson@ximian.com>
2997
2998         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
2999         a nullref.
3000
3001 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3002
3003         * ThemeNice.cs: - Removed 1 pixel bitmaps
3004           - Use SmoothingMode.AntiAlias where it makes sense
3005             (ScrollButton arrow for example)
3006           - Enhanced Button focus drawing
3007           - Fixed ComboBox drawing (no artefacts anymore, focus
3008             rectangle is back again, reduced size of ComboButton, etc.)
3009           - Fixed RadioButton focus drawing for Appearence.Button
3010           - Slight ScrollButton redesign
3011           - Some LinearGradientBrush size fixes
3012           - GroupBoxes have now rounded edges
3013           - Fixed StatusBar drawing
3014
3015 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3016
3017         * ThemeNice.cs: - Remove dead code
3018           - use correct background colors for menus, etc.
3019           - Fake pixel drawing with 1 pixel bitmaps
3020
3021 2005-11-24  Jackson Harper  <jackson@ximian.com>
3022
3023         * MdiClient.cs: Size the scrollbars when resizing the window.
3024         - Resize the maximized windows when the client is resized
3025         * Form.cs: Make the child context available
3026         
3027 2005-11-23  Jackson Harper  <jackson@ximian.com>
3028
3029         * MdiChildContext.cs: Don't size windows if they are maximized.
3030
3031 2005-11-23  Mike Kestner  <mkestner@novell.com>
3032
3033         * ContextMenu.cs: use MenuTracker.
3034         * Control.cs: remove menu handle usage.
3035         * Form.cs: remove menu handle usage.
3036         * Hwnd.cs: remove menu handle usage.
3037         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3038         motion and clicks to the new Tracker handlers.
3039         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3040         and handle usage.
3041         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3042         Killed the MENU and MENUITEM data types and associated collections
3043         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3044         MenuTracker class that exposes the leftovers from the old MenuAPI
3045         static methods. Restructured Capture handling so that only one grab is
3046         done for the entire menu hierarchy instead of handing off grabs to
3047         submenus. Tracker now has an invisible control to Capture when active.
3048         * MenuItem.cs: add sizing accessors, kill Create
3049         and handle usage.
3050         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3051         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3052         MENU(ITEM). remove menu handle usage, use Menu directly.
3053         * XplatUIDriver.cs: remove menu handle usage.
3054         * XplatUIOSX.cs: remove menu handle usage.
3055         * XplatUIWin32.cs: remove menu handle usage.
3056         * XplatUIX11.cs: remove menu handle usage.
3057
3058 2005-11-22  Jackson Harper  <jackson@ximian.com>
3059
3060         * Hwnd.cs: Don't compute the menu size for
3061         DefaultClientRectangle.
3062         - Reenable menu sizes being computed for GetClienRectangle.
3063         * Form.cs: Remove comment of trechery
3064         
3065 2005-11-22  Jackson Harper  <jackson@ximian.com>
3066
3067         * Hwnd.cs: The adjustments for the menu bar are made when it is
3068         attached to the form.
3069
3070 2005-11-19  Jackson Harper  <jackson@ximian.com>
3071
3072         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3073         (just like on windows).
3074
3075 2005-11-19  Jackson Harper  <jackson@ximian.com>
3076
3077         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3078         use real buttons anymore because they are in non client area. The
3079         one TODO here is that I need to somehow invalidate a section of
3080         the non client area.
3081
3082 2005-11-18  Jackson Harper  <jackson@ximian.com>
3083
3084         * Control.cs: Put the enum check back in now that MDI doesnt have
3085         to use this to set border styles.
3086         * Form.cs: Only set mdi child windows borders if the handle has
3087         been created.
3088         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3089         this directly on to the driver.
3090         - Get the move start position before adjusting for the titlebar
3091         height, this fixes the windows "skipping" when they are first
3092         moved.
3093
3094 2005-11-18  Jackson Harper  <jackson@ximian.com>
3095
3096         * XplatUIX11.cs: Just compute the mdi borders separately as they
3097         don't totally match up with normal form borders.
3098
3099 2005-11-18  Jackson Harper  <jackson@ximian.com>
3100
3101         * Control.cs: Set WS_ styles for borders, so that the driver does
3102         not have to retrieve the control instance to figure out what kind
3103         of borders it should have.
3104         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3105         driver can know its an mdi child easily.
3106         * XplatUIX11.cs: Get the border styles and whether the window is
3107         MDI from the Styles and ExStyles params instead of having to get a
3108         control. This prevents a chicken and egg problem.       
3109
3110 2005-11-18  Jackson Harper  <jackson@ximian.com>
3111
3112         * MdiClient.cs: Fix typo so scrollbars show up correctly.
3113
3114 2005-11-18  Jackson Harper  <jackson@ximian.com>
3115
3116         * MdiClient.cs: Calculate when to add and remove scrollbars
3117         correctly.
3118         * MdiChildContext.cs: Adjust the y position to take the titlebar
3119         into account.
3120         - No height for FormBorderStyle.None
3121
3122 2005-11-18  Jackson Harper  <jackson@ximian.com>
3123
3124         * Control.cs: Allow non enum values to be used for
3125         InternalBorderStyle.  MDI does this to set a special border style.
3126         - New utility methods for converting points to/from client coords
3127         - Add the newly created control to the Controls collection before
3128         updating its style. This way UpdateStyle can walk the control
3129         heirarchy to find the control if needed.
3130         so I don't need to create a new Point object all the time.
3131         * Form.cs: Let MDI windows handle their border styles.
3132         - Set styles on MDI windows so the correct title style is derived.
3133         * MdiChildContext.cs: Move all the painting and window handling
3134         into the non client area.
3135         - Use correct sizing and put correct buttons on frames based on
3136         the FormBorderStyle.
3137         - Notify the mdi client about scrolling
3138         - Need to handle the buttons ourselves now, because they are all
3139         in non client areas and we can't add controls there.
3140         * MdiClient.cs: Halfway to scrolling, this implementation is
3141         somewhat broken though, we need to check to make sure other
3142         windows aren't causing scrolling before removing the bars. Also
3143         the bars need to be drawn on top, maybe I can switch implicit
3144         controls to be on top.
3145         * Hwnd.cs: caption_height and tool_caption_height are now
3146         properties of an hwnd, this way they can be set by the driver
3147         based on the type of window they are.  In X11 the window manager
3148         handles the decorations so caption_height is zero unless its an
3149         MDI window.
3150         - Add 3 pixel borders for MDI windows (0xFFFF).
3151         - Get rid of some code duplication, have DefaultClientRectanle
3152         just call GetClientRectangle.
3153         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3154         Hwnd now.
3155         - Set border styles differently for mdi windows.
3156         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3157         Hwnd now.
3158         
3159 2005-11-15  Mike Kestner  <mkestner@novell.com>
3160
3161         * Menu.cs: when adding an item to the collection, if item is already 
3162         parented, remove it from the parent.
3163
3164 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
3165
3166         * X11DesktopColors.cs: Added KDE support
3167
3168 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
3169
3170         * XplatUIWin32.cs: 
3171           - Clipboard methods now can translate Rtf format
3172           - No longer removes clipboard contents whenever a new format is added
3173             to allow placing multiple formats on the clipboard
3174         * Clipboard.cs: Clipboard now supports getting a IDataObject and
3175           will place all formats contained in it onto the clipboard. Also
3176           now cleans the clipboard before placing a new object onto it
3177         * RichTextBox.cs:
3178           - Implemented set_Rtf
3179           - Implemented set_SelectedRtf
3180           - Created InsertRTFFromStream() method to allow single code base
3181             for all properties and methods that insert RTF into document
3182           - Removed debug output
3183         * TextControl.cs:
3184           - Fixed Delete(int) to fix up line numbers
3185           - Fixed ReplaceSelection to combine start and end line
3186           - Fixed serious DeleteChars bug that would leave the document tree
3187             broken
3188           - Improved DumpTree with several logic checks to detect broken
3189             document trees
3190           - Removed debug lines
3191           - Fixed Caret.WordForward/WordBack moving code, now always also 
3192             updates caret.tag (fixes crash when word-selecting across tag
3193             boundaries via keyboard)
3194           - Added Insert() method for inserting multiline text into documents
3195           - Fixed DeleteChars() calculation errors that would cause a broken
3196             tag chain with multiple tag lines
3197           - DeleteChars() no longer crashes on multi-tag lines if not all tags
3198           - Split() no longer moves caret if split is at caret location
3199           - ReplaceSelection() now updates the cursor and re-displays it
3200           - ReplaceSelection() now uses new Insert() method to avoid code
3201             duplication
3202           - FormatText() can now handle formatting partial lines
3203         * TextBoxBase.cs:
3204           - Append now uses new TextControl.Insert() method (this avoids 
3205             duplicate code)
3206           - Implemented Ctrl-X (Cut) (
3207           - Implemented Ctrl-C (Copy)
3208           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
3209             regeneration when pasting text; roundtripping Copy&Paste within
3210             edit control still fails due to some calculation bugs in GenerateRTF)
3211           - The Delete key will now remove the current selection if it is visible
3212         * TextBox.cs: Removed debug lines
3213         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3214           driver to be initialized and can't therefore be done via a static ctor)
3215
3216 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
3217
3218         * TextControl.cs: Added backend code for finding char arrays and strings
3219         * TextBoxBase.cs:
3220           - Added mouse wheel scroll support
3221           - Added support for VScroll and HScroll events
3222         * RichTextBox.cs:
3223           - Implemented all seven Find() variants
3224           - Implemented GetCharFromPosition()
3225           - Implemented GetCharIndexFromPosition()
3226           - Implemented GetLineFromIndex()
3227           - Implemented GetPositionFromCharIndex();
3228           - Implemented SaveFile for PlainText and UnicodeText
3229           - Fixed set_Font, now setting a new font applies that font to
3230             the whole document
3231           - Implemented generic Document to RTF converter
3232           - Implemented SaveFile for RichText format (still missing unicode
3233             conversion for non-ansi chars)
3234           - Implemented get_Rtf
3235           - Implemented get_SelectedRtf
3236
3237 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
3238
3239         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3240           to allow any captures to be released before triggering OnClick. This
3241           way a click handler may capture the mouse without interference.
3242         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3243           This way we send them even though X may not allow a grab (if the window
3244           isn't visible, for example)
3245
3246 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
3247
3248         * DataGridViewRowEventArgs.cs: DataGridView implementation
3249         * DataGridViewElement.cs: DataGridView implementation
3250         * DataGridViewComboBoxCell.cs: DataGridView implementation
3251         * DataGridViewDataErrorContexts.cs: DataGridView implementation
3252         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3253         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3254         * ImageLayout.cs: DataGridView implementation
3255         * DataGridViewComboBoxColumn.cs: DataGridView implementation
3256         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3257         * DataGridViewSelectionMode.cs: DataGridView implementation
3258         * IDataGridViewEditingControl.cs: DataGridView implementation
3259         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3260         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3261         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3262         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3263         * DataGridViewColumnSortMode.cs: DataGridView implementation
3264         * DataGridView.cs: DataGridView implementation
3265         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3266         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3267         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3268         * Padding.cs: DataGridView implementation
3269         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3270         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3271         * DataGridViewRowEventHandler.cs: DataGridView implementation
3272         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3273         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3274         * DataGridViewButtonCell.cs: DataGridView implementation
3275         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3276         * DataGridViewEditMode.cs: DataGridView implementation
3277         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3278         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3279         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3280         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3281         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3282         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3283         * DataGridViewCellEventHandler.cs: DataGridView implementation
3284         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3285         * DataGridViewCellStyleConverter.cs: DataGridView implementation
3286         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3287         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3288         * DataGridViewColumnEventArgs.cs: DataGridView implementation
3289         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3290         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3291         * QuestionEventArgs.cs: DataGridView implementation
3292         * IDataGridViewEditingCell.cs: DataGridView implementation
3293         * DataGridViewTriState.cs: DataGridView implementation
3294         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3295         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3296         * DataGridViewColumnCollection.cs: DataGridView implementation
3297         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3298         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3299         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3300         * DataGridViewColumn.cs: DataGridView implementation
3301         * DataGridViewCellBorderStyle.cs: DataGridView implementation
3302         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3303         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3304         * DataGridViewRow.cs: DataGridView implementation
3305         * DataGridViewImageCellLayout.cs: DataGridView implementation
3306         * DataGridViewImageCell.cs: DataGridView implementation
3307         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3308         * DataGridViewCheckBoxCell.cs: DataGridView implementation
3309         * DataGridViewHeaderCell.cs: DataGridView implementation
3310         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3311         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3312         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3313         * DataGridViewTextBoxColumn.cs: DataGridView implementation
3314         * QuestionEventHandler.cs: DataGridView implementation
3315         * DataGridViewCellStyleScopes.cs: DataGridView implementation
3316         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3317         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3318         * DataGridViewCell.cs: DataGridView implementation
3319         * DataGridViewCellEventArgs.cs: DataGridView implementation
3320         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3321         * DataGridViewCellStyle.cs: DataGridView implementation
3322         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3323         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3324         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3325         * TextFormatFlags.cs: DataGridView implementation
3326         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3327         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3328         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3329         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3330         * DataGridViewButtonColumn.cs: DataGridView implementation
3331         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3332         * HandledMouseEventArgs.cs: DataGridView implementation
3333         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3334         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3335         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3336         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3337         * DataGridViewRowCollection.cs: DataGridView implementation
3338         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3339         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3340         * DataGridViewHitTestType.cs: DataGridView implementation
3341         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3342         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3343         * DataGridViewColumnEventHandler.cs: DataGridView implementation
3344         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3345         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3346         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3347         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3348         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3349         * DataGridViewContentAlignment.cs: DataGridView implementation
3350         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3351         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3352         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3353         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3354         * DataGridViewPaintParts.cs: DataGridView implementation
3355         * DataGridViewCellCollection.cs: DataGridView implementation
3356         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3357         * DataGridViewImageColumn.cs: DataGridView implementation
3358         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3359         * DataGridViewElementStates.cs: DataGridView implementation
3360         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3361         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3362         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3363         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3364         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3365         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3366         * DataGridViewRowHeaderCell.cs: DataGridView implementation
3367         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3368         * DataGridViewTextBoxCell.cs: DataGridView implementation
3369         * DataGridViewBand.cs: DataGridView implementation
3370         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3371         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3372         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3373         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3374         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3375         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3376         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3377         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3378         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3379         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3380         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3381
3382 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
3383
3384         * ThemeWin32Classic.cs: 
3385           - Draw the outside focus rectangle around buttons
3386           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3387             doesn't use end caps for every dash of a line anymore. This
3388             workaround ignores the forecolor.
3389
3390 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
3391
3392         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3393           endian safe.
3394
3395 2005-11-07  Jackson Harper  <jackson@ximian.com>
3396
3397         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3398
3399 2005-11-07  Jackson Harper  <jackson@ximian.com>
3400
3401         * ScrollableControl.cs: Calculate the maximum and change vars
3402         (more) correctly so that scrollbars appear as a sensible size.
3403
3404 2005-11-04  Jackson Harper  <jackson@ximian.com>
3405
3406         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3407         collection.
3408         * TreeView.cs: When the tree is sorted null out the top_node so
3409         that it is recalculated.
3410         - Use dotted lines instead of dashed lines to match MS better.
3411
3412 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
3413
3414         * ListView.cs: 
3415           - Implements key search for items. Useful when browsing files with FileDialog
3416           - When changing view mode or when clear the items reset scrollbar positions
3417
3418 2005-11-04  Jackson Harper  <jackson@ximian.com>
3419
3420         * CurrencyManager.cs: Implement the MetaDataChanged event, the
3421         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3422         as to what the method may do as there is no real way of creating a
3423         derived CurrencyManager and calling the method. 
3424
3425 2005-11-03  Jackson Harper  <jackson@ximian.com>
3426
3427         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3428         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3429         method which seems to just be used internally to refresh the tabs.
3430
3431 2005-11-03  Jackson Harper  <jackson@ximian.com>
3432
3433         * TabControl.cs: Implement the remove method. Fix some broken
3434         comments.
3435
3436 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3437
3438         * DateTimePicker.cs:
3439           - Added missing DateTimePickerAccessibleObject class
3440           - Added missing events
3441           - Added OnFontChanged method
3442         * Form.cs: Added missing attributes
3443         * TreeView.cs: Added missing attributes
3444
3445 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
3446
3447         * GridItemCollection.cs: Fix signatures
3448
3449 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3450
3451         * XplatUI.cs: Updated build rev/date
3452         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
3453           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3454         * Application.cs: Trigger context-specific ExitThread events
3455
3456 2005-11-03  Jackson Harper  <jackson@ximian.com>
3457
3458         * Menu.cs:
3459         * MainMenu.cs:
3460         * GridTableStylesCollection.cs:
3461         * Timer.cs:
3462         * TabPage.cs:
3463         * HelpProvider.cs:
3464         * StatusBar.cs:
3465         * MonthCalendar.cs: Signature fixes
3466
3467 2005-11-03  Jackson Harper  <jackson@ximian.com>
3468
3469         * TreeNodeCollection.cs: Remove should not be virtual.
3470         * TreeView.cs: Implement the last of the missing methods.
3471
3472 2005-11-03  Jackson Harper  <jackson@ximian.com>
3473
3474         * TreeNodeConverter.cs: Implement to get off my class-status back.
3475
3476 2005-11-03  Jackson Harper  <jackson@ximian.com>
3477
3478         * TreeView.cs: Hookup the bits for drag and drop.
3479         * TreeNode.cs: Don't cache the tree_view or index anymore, now
3480         that nodes can be moved from tree to tree easily this just causes
3481         all sorts of problems.
3482         * TreeNodeCollection: Don't need to give treenodes an index and
3483         treeview anymore when they are added, these are computed on the
3484         fly. Also make sure to remove a node before its added.
3485
3486 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3487
3488         * TextControl.cs:
3489           - Added CaretSelection enum
3490           - Added comparison methods to Marker struct, makes selection code
3491             more readable
3492           - Added SelectionStart and SelectionEnd as 'moveable' location for
3493             the CaretDirection enum and handler
3494           - Added selection_prev variable to track optimized invalidation for
3495             word and line selection
3496           - Added SelectionVisible property (returns true if there is a valid 
3497             selection)
3498           - Switched CaretHasFocus to only display the caret if there is no
3499             visible selection
3500           - Avoiding StringBuilder.ToString to retrieve a single char, instead
3501             using the direct character index; should be much faster
3502           - Added various conditional debug statements
3503           - Fixed invalidation calculation for selection ranges
3504           - Added ExpandSelection() method to support word and line selection
3505           - Switched SetSelectionToCaret to use new Marker compare overloads
3506           - Added central IsWordSeparator() method to determine word 
3507             separators/whitespace and FindWordSeparator() to streamline common
3508             usage of IsWordSeparator()
3509         * TextBoxBase.cs:
3510           - Removed unneeded grabbed variable, it was just mirroring
3511             Control.Capture
3512           - No longer firing OnTextChanged event when Text setter is called,
3513             since the base will fire the event for us
3514           - Added handling of Ctrl-Up/Down selection
3515           - Added handling of Shift-Cursorkey selection
3516           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3517             words
3518           - Added handling of Shift and Ctrl-Shift-Home/End selection
3519           - Removed some debug output
3520           - Added handling for single/double/tripple-click to place caret/
3521             select word/select line respectively (Fixes bug #76031)
3522           - Added support for drag expansion of word/line selection
3523         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3524           current selection
3525
3526 2005-11-02  Jackson Harper  <jackson@ximian.com>
3527
3528         * X11Dnd.cs: If the drag is going to and from a MWF window just
3529         copy the data instead of sending it out through the X Selection
3530         mechanism.
3531
3532 2005-11-02  Jackson Harper  <jackson@ximian.com>
3533
3534         * X11Dnd.cs:
3535         * XplatUIX11.cs: When in a drag we don't want motion notify
3536         messages to get passed on to the other controls. This prevents
3537         mouse move messages from showing up in the drag source.
3538
3539 2005-11-02  Jackson Harper  <jackson@ximian.com>
3540
3541         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
3542         the correct button is release to end a drag.
3543         * XplatUIX11.cs: Make the button state internal so the drag system
3544         can access it.  Dragging needs to know about all button releases,
3545         not just left button.
3546
3547 2005-11-02  Miguel de Icaza  <miguel@novell.com>
3548
3549         * Form.cs (Icon): If the icon is null, reset the icon to the
3550         default value. 
3551
3552         * Cursor.cs: When writing the AND-mask bitmap do not include the
3553         number of colors, but hardcode those to two (black and white),
3554         fixes the loading of color cursors (Paint Dot Net).
3555
3556         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3557         turn off autoscaling.
3558
3559         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3560
3561 2005-11-02  Jackson Harper  <jackson@ximian.com>
3562
3563         * X11Dnd.cs: Make sure to send a status message if the pointer
3564         enters a control that can not accept a drop, otherwise the cursor
3565         isn't updated correctly. Also tried to compress the lines of code
3566         a bit.
3567
3568 2005-11-02  Jackson Harper  <jackson@ximian.com>
3569
3570         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3571         set actions correctly.  This isn't perfect as XDND and win32 have
3572         some differences on how you allow actions. I'll clear this up by
3573         adding a path for drag from MWF to MWF windows.
3574         * XplatUIX11.cs: Hook into the dnd system.
3575
3576 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
3577
3578         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3579         previously shown but they are no longer need it. Very obvious when 
3580         browsing files with FileDialog.
3581
3582 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
3583
3584         * Control.cs: We always need to call OnPaintBackground. We pretty much
3585           ignore AllPaintingInWmPaint and always do the painting there, whether 
3586           it's set or not, since we always ignore the WM_ERASEBKGND message 
3587           (which we don't generate on X11). This fixes #76616.
3588         * Panel.cs: Removed unneeded background painting. This happens properly
3589           in Control.cs already
3590
3591 2005-10-31  Mike Kestner  <mkestner@novell.com>
3592
3593         * Menu.cs: Add items to collection before setting their index.
3594         * MenuItem.cs : add range checking with ArgumentException like MS.
3595         [Fixes #76510]
3596
3597 2005-10-31  Jackson Harper  <jackson@ximian.com>
3598
3599         * ListBox.cs: Invalidate if the area is visible at all not just
3600         contained in the visible rect. Fixes unselection of semi visible
3601         items.
3602
3603 2005-10-31  Jackson Harper  <jackson@ximian.com>
3604
3605         * Control.cs: Consistently name the dnd methods. Make them
3606         internal so we can override them to match some MS behavoir
3607         internally.
3608         * Win32DnD.cs: Use the new consistent names.
3609
3610 2005-10-31  Jackson Harper  <jackson@ximian.com>
3611
3612         * TreeView.cs: Don't draw the selected node when we lose focus.
3613
3614 2005-10-31  Jackson Harper  <jackson@ximian.com>
3615
3616         * X11Dnd.cs: We still need to reset the state even though a full
3617         reset isn't being done, otherwise status's still get sent all over
3618         the place.
3619
3620 2005-10-31  Jackson Harper  <jackson@ximian.com>
3621
3622         * Control.cs: Make the dnd_aware flag internal so the dnd
3623         subsystem can check it. Catch exceptions thrown in dnd handlers to
3624         match MS behavoir.
3625         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3626         * X11Dnd.cs: Handle null data in the converters. Set the XDND
3627         version when sending a XdndEnter. Use the control/hwnd dnd_aware
3628         flags to reduce the number of dnd enters/status's sent.
3629
3630 2005-10-31  Jackson Harper  <jackson@ximian.com>
3631
3632         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3633
3634 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
3635
3636         * PictureBox.cs: Fixes 76512
3637
3638 2005-10-28  Jackson Harper  <jackson@ximian.com>
3639
3640         * X11Dnd.cs: Early implementation to support winforms being a drag
3641         source for data on X11. Also restructured the converters so they
3642         can go both ways now.
3643         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3644         
3645 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
3646
3647         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3648           clipboard requests
3649
3650 2005-10-27  Jackson Harper  <jackson@ximian.com>
3651
3652         * TreeNode.cs: Implement serialization so my DnD examples will work.
3653
3654 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
3655
3656         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3657           TreeView.cs: Don't dispose objects that are not owned.
3658           
3659 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
3660
3661         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3662           should retrieve the current cursor and report that, but XplatUI
3663           doesn't (yet) have an interface for that (and I'm not sure I even
3664           can, on X11)
3665         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3666           until any message loop processing is done (and the WM_SETCURSOR
3667           replaces the cursor to the proper one)
3668         * XplatUIX11.cs: 
3669           - Fixed override behaviour, we can't set the cursor globally on X11, 
3670             just for our windows.
3671           - Invalidating the System.Drawing X11 display handle when we are
3672             shutting down
3673         * Control.cs: Fix to make csc happy
3674
3675 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
3676
3677         * TextBoxBase.cs: 
3678           - get_Text: Add last line (without trailing newline) to returned
3679             value (Fixes 76212)
3680           - get_TextLength: Count last line in returned length
3681           - ToString: Call Text property instead of duplicating code
3682
3683 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
3684
3685         * ImageList.cs: Dispose ImageAttributes objects.
3686
3687 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
3688
3689         * ImageList.cs: Use attribute constructors with less arguments where
3690           possible.
3691
3692 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
3693
3694         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3695           Use typeof instead of strings when assembly is referenced. Added
3696           some more comments.
3697
3698 2005-10-21  Jackson Harper  <jackson@ximian.com>
3699
3700         * ListView.cs: Raise a double click event. Also tried to somewhat
3701         fix when the selectedindexchanged event is raised. Its still
3702         broken though.
3703
3704 2005-10-21  Jackson Harper  <jackson@ximian.com>
3705
3706         * TreeView.cs: New method to invalidate the plus minus area of a
3707         node without invalidating the whole node (maybe this can be used
3708         in some more places).
3709         * TreeNodeCollection.cs: When adding to an empty node we need to
3710         invalidate its plus minus area so the little block shows up.
3711         
3712 2005-10-21  Jackson Harper  <jackson@ximian.com>
3713
3714         * TreeView.cs: Make sure that when we invalidate a node the bounds
3715         are big enough to cover the selected box and the focus
3716         rectangle. Use a different colour for the lines connecting nodes
3717         so they show up with all themes.
3718
3719 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
3720
3721         * NativeWindow.cs: Don't call anything that could call into the driver,
3722           we might be on a different thread.
3723
3724 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
3725
3726         * Control.cs(Dispose): Since Dispose might run on a different thread,
3727           make sure that we call methods that could call into the driver via
3728           invoke, to avoid thread issues
3729
3730 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
3731
3732         * XplatUI.cs: Removed finalizer
3733         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3734           not allowing to be called on the finalizer thread.
3735
3736 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
3737
3738         * ImageList.cs:
3739           - Reverted r51889 and r51891.
3740           - Added ImageListItem class that stores unmodified image items and image
3741             properties required to create list images until handle is created.
3742           - Added AddItem and moved image creation logic to AddItemInternal.
3743           - Added CreateHandle method that creates images based on unmodified items.
3744           - Added DestroyHandle that changes state to store unmodified items.
3745           - Add and AddStrip methods no more create handle.
3746           - ReduceColorDepth has no return value.
3747           - Dispose destroys handle.
3748           - Modified other methods to reflect the above changes.
3749           - Implemented key support.
3750           - Added profile 2.0 members and attributes.
3751           - Added private Reset and ShouldSerialize methods that provide the same
3752             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3753             them as they are private.
3754           - Added some more comments about implementation details.
3755
3756 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3757
3758         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
3759
3760 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3761
3762         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
3763
3764 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3765
3766         * DataGridDrawingLogic.cs: Fixes column hit calcultation
3767         * DataGridColumnStyle.cs: Remove debug message
3768
3769 2005-10-20  Jackson Harper  <jackson@ximian.com>
3770
3771         * TreeView.cs: We can always get input keys regardless of whether
3772         or not editing is enabled. They are used for navigation.
3773
3774 2005-10-20  Jackson Harper  <jackson@ximian.com>
3775
3776         * TreeNode.cs: Use the viewport rect for determining if a node
3777         needs to be moved for visibility. Don't use Begin/End edit. This
3778         calls a full refresh when its done.
3779         * TreeView.cs: New SetBottom works correctly.  Make the viewport
3780         rect property internal so the treenodes can see it. When clicking
3781         on a node we need to ensure that its visible because it might just
3782         be partly visible when clicked.
3783
3784 2005-10-20  Jackson Harper  <jackson@ximian.com>
3785
3786         * TreeNodeCollection.cs: Remove debug code.
3787
3788 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
3789
3790         * Datagrid.cs: Implements column sorting in Datagrid
3791         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
3792
3793 2005-10-20  Jackson Harper  <jackson@ximian.com>
3794
3795         * TreeNodeCollection.cs: Remove items properly. Update the correct
3796         area after removing them.
3797
3798 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
3799
3800         * Datagrid.cs: Should not call base.OnPaintBackground
3801
3802 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
3803
3804         * XplatUIX11.cs (GetMessage):
3805           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
3806             window instead of client window
3807           - Now properly calculates NC_xBUTTONUP message coordinates
3808           - ScreenToMenu now properly calculates it's coordinates of whole 
3809             window, since menus are in the whole window, not in the client
3810             window
3811           - Added WholeToScreen coordinate translation method
3812
3813 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
3814
3815         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
3816           want to return a message, loop back to the beginning of the function
3817           and grab the next real message to process instead.
3818
3819 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
3820
3821         * Splitter.cs: Properly set limits if no filler control is used
3822
3823 2005-10-19  Jackson Harper  <jackson@ximian.com>
3824
3825         * ColorDialog.cs: Don't show the help button if it is not enabled
3826         instead of disabling it (this is what MS does). Don't create the
3827         panel until the dialog is run, otherwise the vars (such as
3828         ShowHelp) are not set yet.
3829
3830 2005-10-19  Jackson Harper  <jackson@ximian.com>
3831
3832         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
3833         are reduced when adding nodes.
3834         * TreeNode.cs:
3835         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
3836         tree.
3837         
3838 2005-10-19  Jackson Harper  <jackson@ximian.com>
3839
3840         * FolderBrowserDialog.cs: End editing our treeview so the window
3841         actually gets refreshed.
3842
3843 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
3844
3845         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
3846           Obsoleted handling of WM_ERASEBKGND, now always draws our background
3847           inside of WM_PAINT
3848
3849 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3850
3851         * MenuAPI.cs: Returns after Hidding window
3852         * XplatUIX11.cs: Added TODO found while debugging menu issues
3853
3854 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
3855
3856         * XplatUIX11.cs: Do not re-map the whole window when it's size
3857           becomes non-zero unless it's supposed to be actually visible
3858
3859 2005-10-18  Jackson Harper  <jackson@ximian.com>
3860
3861         * TreeView.cs: We don't need to keep a count anymore.
3862         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3863         use the Grow method.
3864
3865 2005-10-18  Jackson Harper  <jackson@ximian.com>
3866
3867         * TreeNodeCollection.cs: Insert is not supported on arrays, so
3868         implement it manually here.
3869
3870 2005-10-18  Jackson Harper  <jackson@ximian.com>
3871
3872         * ImageList.cs: Dont kill the list when the colour depth is
3873         changed, just change the colour depth of all the images.
3874         - Same goes for setting the image size. Just resize them all
3875         instead of killing the list softly.
3876
3877 2005-10-18  Jackson Harper  <jackson@ximian.com>
3878
3879         * Control.cs: Don't invalidate empty rectangles.
3880
3881 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3882
3883         * ListViewItem.cs:
3884           - Adds checked item to the Checked/Item lists (where empty before)
3885           - Do not add items to the Selected lists if they are already present
3886         * ListView.cs:
3887           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3888           - When deleting items make sure that we delete them for the Selected
3889           and Checked list also.
3890
3891 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3892
3893         * Label.cs: Dispose objects no longer used
3894         * ThemeWin32Classic.cs: Dispose objects no longer used
3895
3896 2005-10-18  Jackson Harper  <jackson@ximian.com>
3897
3898         * TabControl.cs: Don't refresh the whole control when the tabs are
3899         scrolled, we just need to refresh the tab area.
3900
3901 2005-10-17  Jackson Harper  <jackson@ximian.com>
3902
3903         * XplatUIX11.cs: Compress code a little bit. Only calculate the
3904         after handle when we need it.
3905
3906 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
3907
3908         * Control.cs: When the parent size changes, recalculate anchor 
3909           positions. Partial fix for #76462
3910
3911 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
3912
3913         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
3914           drawn. Fixes #76462
3915
3916 2005-10-17  Jackson Harper  <jackson@ximian.com>
3917
3918         * MonthCalendar.cs: Don't create the numeric up down until our
3919         handle is created. Otherwise our handle is created in the
3920         constructor and we don't know if we are a WS_CHILD or WS_POPUP
3921         yet.
3922
3923 2005-10-17  Jackson Harper  <jackson@ximian.com>
3924
3925         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3926         correctly.
3927
3928 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
3929         * TreeNode.cs : small logical fix (was using local var instead of field)
3930         
3931 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
3932
3933         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3934
3935 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
3936
3937         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3938
3939 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
3940
3941         * Control.cs: 
3942           - Re-implemented anchoring code. My first version was really broken.
3943             This fixes bug #76033. Unlike the previous implementation we will
3944             no longer have round errors since all numbers are calculated from
3945             scratch every time. Removed various anchor-related obsolete vars.
3946           - InitLayout no longer causes layout event firing and layout to be 
3947             performed
3948
3949 2005-10-16  Jackson Harper  <jackson@ximian.com>
3950
3951         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3952         which was broken).
3953
3954 2005-10-16  Jackson Harper  <jackson@ximian.com>
3955
3956         * TabControl.cs: Remove debug code.
3957
3958 2005-10-16  Jackson Harper  <jackson@ximian.com>
3959
3960         * XEventQueue.cs: Increase the default queue size (very simple
3961         apps needed to grow the queue).
3962         * Hwnd.cs: No finalizer so we don't need to suppress
3963         finalization. Compute the invalid area manually so a new rectangle
3964         does not newto be created.
3965         * ScrollableControl.cs: Don't set any params (otherwise visibility
3966         isn't set correctly).
3967         * MdiChildContext.cs: New constructor takes the mdi parent so it
3968         doesn't have to be computed and avoids a crash on windows. Draw
3969         the window icon properly, and allow the text to be seen.
3970         * Form.cs: Use new MdiChildContext constructor. Make sure the
3971         child context isn't null in wndproc.
3972         * TabControl.cs: Don't set focus, this is muddling keyboard
3973         behavoir. Expand the tab rows when a window size increase will
3974         allow extra tabs to be seen. Don't allow tabs smaller than the
3975         width of a window to be scrolled out of view.
3976         * TreeNode.cs:
3977         * TreeView.cs: Use measure string to calculate a nodes width, the
3978         width is cached and only updated when the text or the font is
3979         changed. Don't check for expand/collapse clicks on the first level
3980         nodes if root lines are disabled.
3981         
3982 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
3983
3984         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3985
3986 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
3987
3988         * DataGridBoolColumn.cs: fixes warning
3989
3990 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
3991
3992         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3993         to match more to match more precisely the MS Net behavior
3994
3995 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
3996
3997         * Hwnd.cs: Added field to track if window is mapped
3998         * XplatUIX11.cs: 
3999           - Unmap windows if they become 0-size, re-map when 
4000             they are >0 again; fixes #76035
4001           - Re-set our error handler after initializing X11Desktop
4002             to override any error handlers Gtk or whatever was called
4003             may have set.
4004
4005 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4006
4007         * CheckedListBox.cs: Removed unused vars
4008         * ListView.cs: Fixed signatures
4009         * RichTextBox.cs: Removed unused vars
4010         * TextBoxBase.cs: Removed unused vars
4011         * XplatUIWin32.cs: Removed unused vars
4012         * XplatUIX11.cs: Removed unused vars
4013         * XplatUI.cs: Updated version and date to latest published
4014
4015 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4016
4017         * Cursor.cs: Added private .ctor to work around a bug in
4018           resourceset (Thanks to Geoff Norton for the help on this)
4019         * SplitterEventArgs.cs: Made fields accessible so we don't
4020           waste boatloads of objects and can reuse the same one
4021           in Splitter
4022         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4023           any captions and borders when generating screen coordinates
4024         * Splitter.cs: Reimplemented control, now fully complete, uses
4025           rubberband drawing, supports and obeys all properties, has
4026           proper cursors
4027
4028 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4029
4030         * Form.cs (Form): Setup default values for autoscale and
4031         autoscale_base_size;  Make these instance variables, not static
4032         variables. 
4033
4034         (OnLoad): on the first load, adjust the size of the form.
4035
4036 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4037
4038         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4039           width argument to DrawReversibleRectangle()
4040         * XplatUIWin32.cs, XplatUIX11.cs: 
4041           - Implemented width for DrawReversibleRectangle()
4042           - Added logic to DrawReversibleRectangle that recognizes a zero
4043             width or height and only draws a line in that situation
4044         
4045 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4046
4047         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4048         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4049         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4050           method (it uses our FosterParent window to get a graphics context)
4051
4052 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4053
4054         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4055           and SetWindowBackground methods
4056         * Control.cs:
4057           - Setting proper ControlStyles
4058           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4059             EraseWindowBackground, instead we draw the window background
4060             ourselves in PaintControlBackground. This behaviour is
4061             required to match MS, where, when OnPaintBackground is not
4062             called, the background is not drawn.
4063           - Removed unneeded Refresh() in set_Text
4064         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4065         * XplatUIX11.cs:
4066           - Created DeriveStyles method to translate from CreateParams to
4067             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4068             matches FormBorderStyle enum values)
4069           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4070             style calculations into single DeriveStyles method
4071           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4072             from redrawing the whole window on any resize or expose.
4073           - Fixed CreateWindow usage of SetWindowValuemask. Before not
4074             all styles were applied to our whole/client window appropriately
4075           - Removed EraseWindowBackground() and SetWindowBackground() methods
4076           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4077             no longer clear/redraw the background through X
4078           - Removed handling of erase_pending bit, we have no use for it (or
4079             so it seems)
4080         * XplatUIOSX.cs:
4081           - Removed generation and handling of WM_ERASEBKGND message
4082           - Removed EraseWindowBackground() and SetWindowBackground() methods
4083           - Removed handling of hwnd.ErasePending flag
4084         * XplatUIWin32.cs:
4085           - Removed EraseWindowBackground() and SetWindowBackground() methods
4086           - We no longer call EraseWindowBackground on PaintEventStart, we 
4087             ignore the fErase flag, erasing is handled in Control in the
4088             background handler
4089         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4090           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4091           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
4092           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
4093           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
4094           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4095           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4096
4097 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
4098
4099         * PropertyGrids.cs: Get sub properties
4100         * PropertyGridView.cs: Fix drawing code
4101
4102 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4103
4104         * ListBox.cs: Fixes 76383
4105
4106 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4107
4108         * DataGridTextBoxColumn.cs: Sets location and size before attachment
4109         * ThemeWin32Classic.cs: Fixes border drawing and calculations
4110         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4111
4112
4113 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4114
4115         * ComboBox.cs: Fixes border drawing
4116
4117 2005-10-10  Miguel de Icaza  <miguel@novell.com>
4118
4119         * MimeIcon.cs: Ignore errors if the file can not be read.
4120
4121 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4122
4123         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4124          - Fixed border calculations
4125          - Fixed horizontal scrolling in single column listboxes
4126          - Fixed drawing issues
4127
4128 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
4129
4130         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
4131           FormBorderStyle enum
4132         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
4133           code to determine FormBorderStyles from CreateParams
4134         * Form.cs:
4135           - Fixed bug where we'd set the wrong window styles if we were
4136             not creating an MDI window
4137           - Added call to XplatUI.SetBorderStyle when form borders are set
4138         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4139         * Hwnd.cs:
4140           - Removed obsolete edge style
4141           - Switched from BorderStyle to FormBorderStyle
4142         
4143 2005-10-10  Jackson Harper  <jackson@ximian.com>
4144
4145         * Form.cs: Use the property to get the window handle instead of
4146         accessing it directly. Prevents a null reference exception.
4147
4148 2005-10-10  Jackson Harper  <jackson@ximian.com>
4149
4150         * TreeView.cs: Don't adjust the rect given to DrawString now that
4151         our libgdiplus draws correctly.
4152
4153 2005-10-08  Jackson Harper  <jackson@ximian.com>
4154
4155         * TreeView.cs: Don't try to find the clicked on node if there are
4156         no nodes in the tree.
4157
4158 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4159
4160         * RichTextBox.cs:
4161
4162           restore
4163
4164 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4165
4166         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4167           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4168           ErrorProvider.cs:
4169           Use ResPool for brushes and dispose System.Drawing objects that
4170           are not used anymore.
4171
4172 2005-10-07  Jackson Harper  <jackson@ximian.com>
4173
4174         * MdiChildContext.cs: Use the new borders instead of drawing them
4175         ourselves.
4176
4177 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4178
4179         * Calling UpdateBounds after changing the window's BorderStyle 
4180         since the style can change the ClientSize
4181
4182 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4183
4184         * Control.cs: Made PaintControlBackground virtual
4185         * Panel.cs: Overriding PaintControlBackground instead of using paint
4186           event; paint event method was interfering with 'real' users of the
4187           event.
4188
4189 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4190
4191         * ThemeWin32Classic.cs: remove border drawing since it is handled
4192         by the base control class now and was causing double border drawing.
4193
4194 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4195
4196         * Panel.cs: Redraw our background on paint. Not a pretty solution,
4197           but it does seem to match MS behaviour. This fixes bug #75324
4198
4199 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4200
4201         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4202           somewhat hackish looking
4203
4204 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4205
4206         * TextBoxBase.cs:
4207           - We now accept Enter even if AcceptEnter is false, if the containing
4208             form does not have an AcceptButton configured (fixes bug #76355)
4209           - Calculations are now fixed to no longer use Width/Height, but
4210             ClientSize.Width/Height, since we now support borders (this was
4211             a result of fixing borders and therefore bug #76166)
4212           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
4213             true (fixes bug #76354)
4214         
4215 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4216
4217         * Control.cs: 
4218           - Defaulting BorderStyle and setting it in XplatUI when our window 
4219             is created
4220           - Added enum check to InternalBorderStyle setter
4221         * XplatUIX11.cs: 
4222           - Added drawing of window borders
4223           - Now properly calculates WM decorations offset for toplevel 
4224             windows (fixes bug #74763)
4225         * XplatUIWin32.cs: 
4226           - Implemented BorderStyles for windows (we're letting win32 draw 
4227             the border for us)
4228           - Fixed the signature for SetWindowLong
4229         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4230           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
4231           setting borders
4232         * UpDownBase.cs: Remove drawing of borders, this is handled by
4233           the driver, outside the client area
4234         * ListView.cs: Removed bogus border calculations. The control should
4235           be oblivious to borders, since those are not part of the client
4236           area. 
4237         * X11DesktopColors.cs: Commented out (currently) unneeded variables
4238         * ThemeWin32Classic.cs: Removed border calculations from ListView 
4239           drawing code
4240
4241 2005-10-06  Jackson Harper  <jackson@ximian.com>
4242
4243         * MdiChildContext.cs: Clear out the old virtual position remove
4244         all the unneeded calls to CreateGraphics.
4245
4246 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4247
4248         * TextControl.cs: Use proper color for highlighted text; fixes #76350
4249
4250 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4251
4252         * Form.cs: 
4253           - Added loading and setting of our new default icon
4254           - Only set icon if window is already created
4255
4256 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4257
4258         * Label.cs:
4259           - Do not explicitly set the foreground and background colors, to
4260             allow inheriting from parents (fixes #76302)
4261           - Use Control's InternalBorderStyle property to deal with borders
4262
4263 2005-10-06  Jackson Harper  <jackson@ximian.com>
4264
4265         * MdiChildContext.cs: Use the new xplatui function to draw a
4266         reversible rect.
4267
4268 2005-10-06  Jackson Harper  <jackson@ximian.com>
4269
4270         * Form.cs: Add the parent before creating the child context cause
4271         we need the parent when setting up the child.
4272
4273 2005-10-06  Jackson Harper  <jackson@ximian.com>
4274
4275         * FolderBrowserDialog.cs: redo the tree population code so a
4276         second thread isn't used. Should be a lot faster and more stable
4277         now.
4278
4279 2005-10-05  Jackson Harper  <jackson@ximian.com>
4280
4281         * TreeView.cs: There are no expand/collapse boxes if the node has
4282         no children.
4283
4284 2005-10-05  Jackson Harper  <jackson@ximian.com>
4285
4286         * X11DesktopColors.cs: Get menu colours for the gtk theme.
4287
4288 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
4289
4290         * FileDialog.cs: Fix InitialDirectory
4291
4292 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4293
4294         * ComboBox.cs:
4295                 - Fixes changing between styles
4296                 - Fixes simple mode
4297                 - Fixes last item crashing when navigating with keyboard
4298
4299 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4300
4301         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4302
4303 2005-10-05  Jackson Harper  <jackson@ximian.com>
4304
4305         * TreeView.cs: If updating the root node do a full refresh.
4306         * TreeNode.cs: The root node should be expanded by default. Also
4307         added a utility prop to tell if we are the root node.
4308         * TreeNodeCollection.cs: Only refresh if the node we are being
4309         added to is expanded. Also added a comment on a potential
4310         optimization.
4311         
4312 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
4313
4314         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
4315           in dispose method. Fixes #76330
4316
4317 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
4318
4319         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4320
4321                 - Implements vertical and horizontal scrolling using XplatUI
4322                 - Fixes keyboard navagation
4323                 - Fixes EnsureVisible
4324                 - Drawing fixes
4325                 - Handles and draws focus properly
4326
4327
4328 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
4329
4330         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4331           Create handle. NET_2_0: Destroy handle when value is null.
4332
4333 2005-10-03  Jackson Harper  <jackson@ximian.com>
4334
4335         * ScrollBar.cs: My last scrollbar patch was broken. This is a
4336         revert and a new patch to prevent the thumb from refreshing so
4337         much.
4338
4339 2005-10-02  Jackson Harper  <jackson@ximian.com>
4340
4341         * ScrollBar.cs: Don't update position if it hasn't actually
4342         changed. This occurs when you hold down the increment/decrement
4343         buttons and the thumb gets to the max/min.
4344
4345 2005-10-01  Jackson Harper  <jackson@ximian.com>
4346
4347         * Form.cs:
4348         * MdiChildContext.cs:
4349         * MdiClient.cs: Implement ActiveMdiChild in Form.
4350
4351 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
4352
4353         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4354
4355 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
4356
4357         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4358           be found
4359
4360 2005-09-30  Jackson Harper  <jackson@ximian.com>
4361
4362         * ListBox.cs: Don't do a full refresh unless some data has
4363         actually changed.
4364
4365 2005-09-30  Jackson Harper  <jackson@ximian.com>
4366
4367         * TreeView.cs: Make sure that the checkboxes size is factored in
4368         even when not visible.
4369
4370 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4371
4372         * FileDialog.cs: Fix Jordi's build break
4373
4374 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4375
4376         * FileDialog.cs: 
4377                 - Use standard the Windows colours for the combobox as espected
4378                 - Dispose objects that use resouces when no longer need them
4379
4380 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4381
4382         * X11DesktopColors.cs: Initial incomplete implementation
4383         * XplatUIX11.cs: Added call to initialize X11DesktopColors
4384
4385 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
4386
4387         * Theme.cs: 
4388           - Switched Theme color names to match the names defined in 
4389             System.Drawing.KnownColors. Life's hard enough, no need to make 
4390             it harder.
4391           - Added setters to all theme color properties so themes can set
4392             their color schemes. The setters also propagate the color changes
4393             to System.Drawing.KnownColors via reflection
4394         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4395           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4396           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4397           use the new, more logical theme color names
4398         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4399           post-NT colors
4400         * ThemeWin32Classic.cs:
4401           - Removed code to set the old classic Windows colors. Instead it
4402             now relies on the colors returned by System.Drawing.KnownColors
4403             which will be either modern static colors (Unix) or colors
4404             read from the user's configuration (Win32)
4405           - Updated to use the new, more logical theme color names
4406           - Switched DataGrid drawing code to use only Theme colors instead of
4407             a mix of System.Drawing.KnownColors and Theme colors
4408           - DrawFrameControl(): Removed code that fills the button area, the
4409             fill would overwrite any previous fill done by a control. This
4410             fixes bug #75338 
4411           - Added DrawReversibleRectangle() stub
4412         * ScrollableControl.cs: Set visible state to false when scrollbars
4413           are removed (pdn fix)
4414         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
4415           DrawReversibleRectangle() method to allow drawing primitive 
4416           'rubber bands'
4417         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4418
4419 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4420
4421         * ImageList.cs: Add(Icon): Create handle.
4422
4423 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4424
4425         * ListView.cs:
4426         * ThemeWin32Classic.cs:
4427                 - Fixes detail mode
4428                 - Sets clippings
4429                 - Issues with drawing
4430
4431 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4432
4433         * ImageList.cs: Moved RecreateHandle back to ImageList as event
4434           source has to be the ImageList.
4435
4436 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4437
4438         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4439
4440 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4441
4442         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4443
4444 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4445
4446         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4447
4448 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
4449         * GridItem.cs: Fixed TODOs
4450         * GridItemCollection.cs: Added ICollection interface
4451
4452 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4453
4454         * ImageList.cs: Resize icons when needed.
4455
4456 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
4457
4458         * ListViewItem.cs
4459                 - Fixes GetBounds and returns on screen rects
4460         * ListView.cs:
4461                 - Fixes vertical and horzintal scrolling of items
4462         * ThemeWin32Classic.cs:
4463                 - Fixes drawing
4464                 
4465 2005-09-29  Raja R Harinath  <harinath@gmail.com>
4466
4467         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4468
4469 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
4470
4471         * ImageList.cs: Added comments about handle creation. Moved Handle,
4472           HandleCreated and OnRecreateHandle implementations to ImageCollection.
4473           Handle is created in Add methods.
4474
4475 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4476          
4477         * DataGridDrawingLogic.cs: 
4478                 - Takes rows into account on Colum calculations
4479                 - Returns the column when clickig
4480         * DataGrid.cs:
4481                 - Fixes default HitTestInfo values
4482                 - Fixes HitTestInfo.ToString
4483                 - Fixes ResetBackColor          
4484         
4485 2005-09-28  Jackson Harper  <jackson@ximian.com>
4486
4487         * MdiChildContext.cs: Obey rules for fixed sized windows (no
4488         sizing or cursor changes). Also added some temp code to draw the
4489         titlebars text (Makes dev a little easier).
4490
4491 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4492
4493         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4494
4495 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4496          
4497         * ListBox.cs: Fixes bug 76253
4498
4499 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4500
4501         * ImageList.cs: Added comments about the current implementation. Added
4502           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4503           Format32bppArgb to preserve transparency and can use Graphics.FromImage
4504           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4505           with Bitmap.LockBits for better performance. Revised the whole file to
4506           match MS.NET behaviour and provide better performance. Non-public
4507           interface members are calling public members even when they throw
4508           NotSupportedException for better maintainability. Moved ColorDepth,
4509           ImageSize, ImageStream and TransparentColor implementations to
4510           ImageCollection for better performance as these properties are not used
4511           by ImageList.
4512         * ImageListStreamer.cs: Added a new internal constructor that takes an
4513           ImageList.ImageCollection and serializes Images based on
4514           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4515           match ImageList property name.
4516
4517 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
4518
4519         * ListBox.cs: Fixes IndexFromPoint for last item
4520
4521 2005-09-27  Jackson Harper  <jackson@ximian.com>
4522
4523         * Form.cs: Set the position of new mdi children correctly.
4524
4525 2005-09-27  Jackson Harper  <jackson@ximian.com>
4526
4527         * MdiClient.cs: New mdi children need to be added to the back of
4528         the controls collection so the zorder is set correctly. Also add a
4529         count of all the child windows that have been created.
4530
4531 2005-09-27  Jackson Harper  <jackson@ximian.com>
4532
4533         * Form.cs (CreateParams): Setup MDI forms correctly.
4534
4535 2005-09-27  Jackson Harper  <jackson@ximian.com>
4536
4537         * MdiChildContext.cs:
4538         * MonthCalendar.cs:
4539         * UpDownBase.cs:
4540         * ListBox.cs:
4541         * ListView.cs:
4542         * TextBoxBase.cs:
4543         * TreeView.cs:
4544         * ScrollableControl.cs:
4545         * ComboBox.cs: Add implicit controls using the new implict control
4546         functionality in ControlCollection. Also try to block multiple
4547         control add in a suspend/resume layout to save some cycles.
4548         
4549 2005-09-27  Jackson Harper  <jackson@ximian.com>
4550
4551         * Control.cs: Add functionality to the controls collection to add
4552         'implicit controls' these are controls that are created by the
4553         containing control but should not be exposed to the user. Such as
4554         scrollbars in the treeview.
4555         * Form.cs: The list var of the ControlsCollection is no longer
4556         available because of the potential of implicit controls getting
4557         ignored by someone accessing the list directly.
4558
4559 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
4560
4561         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4562           loose it's parent. (Fixed bug introduced in r49103 when we added
4563           setting the child parent to null on Remove)
4564
4565 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
4566
4567         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4568         * Splitter.cs: Added missing attributes for BorderStyle property.
4569         * TextBoxBase.cs: Marked Calculate* methods internal.
4570         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4571         MS.NET.
4572
4573 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
4574          
4575         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4576
4577 2005-09-25  Jackson Harper  <jackson@ximian.com>
4578
4579         * TreeView.cs: Update the node bounds correctly regardless of
4580         whether the node is visible.
4581
4582 2005-09-25  Jackson Harper  <jackson@ximian.com>
4583
4584         * ImageList.cs: Don't dispose the image after it is added to the
4585         image list. Only reformat images that need to be resized.
4586
4587 2005-09-25  Jackson Harper  <jackson@ximian.com>
4588
4589         * ImageList.cs: Don't set the format when changing the image.
4590
4591 2005-09-25  Jackson Harper  <jackson@ximian.com>
4592
4593         * TreeView.cs: We can't just assume the node has a font. Use the
4594         treeviews font if no node font is available.
4595
4596 2005-09-25  Jackson Harper  <jackson@ximian.com>
4597
4598         * TreeView.cs: Allow the scrollbars to be reset with negative
4599         values.
4600         - Don't add scrollbars to negative sized windows.
4601
4602 2005-09-23  Jackson Harper  <jackson@ximian.com>
4603
4604         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4605         old Mono.Posix. Also remove some stray code that shouldn't have
4606         been committed.
4607
4608 2005-09-23  Jackson Harper  <jackson@ximian.com>
4609
4610         * TreeView.cs: Attempt at proper sizing of the horizontal
4611         scrollbar. Also don't resize the scrollbars unless they are
4612         visible.
4613
4614 2005-09-23  Jackson Harper  <jackson@ximian.com>
4615
4616         * TreeView.cs: We don't need to expand the invalid area when the
4617         selection changes, as this is all drawn in the node's bounding
4618         box. The area needs to be expanded (previous typo was contracting
4619         it) when the focus rect moves.
4620
4621 2005-09-23  Jackson Harper  <jackson@ximian.com>
4622
4623         * TreeView.cs: Display the selection box under the correct
4624         circumstances. We were rendering white text with no selection box
4625         before.
4626
4627 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
4628
4629         * TextControl.cs(Split): Now updates selection start/end if it points 
4630           into a line that's being split. Fixes a FIXME and bug #75258
4631
4632 2005-09-23  Jackson Harper  <jackson@ximian.com>
4633
4634         * Binding.cs:
4635         * ListControl.cs: Don't use the path when retrieving binding
4636         managers from the binding context. My bat sense tells me that the
4637         path is only used on insertion.
4638
4639 2005-09-22  Jackson Harper  <jackson@ximian.com>
4640
4641         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4642
4643 2005-09-22  Jackson Harper  <jackson@ximian.com>
4644
4645         * Splitter.cs: There are special cursors used for splitting.
4646         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4647
4648 2005-09-22  Jackson Harper  <jackson@ximian.com>
4649
4650         * Splitter.cs: Change the cursor appropriately when the splitter
4651         is moused over, so the user actually knows there is a splitter
4652         there.
4653
4654 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4655
4656        * Label.cs : Fix ToString method to give same output as MS.NET
4657
4658 2005-09-22  Jackson Harper  <jackson@ximian.com>
4659
4660         * TreeView.cs: Create the scrollbars when the handle is created
4661         and add them right away, just make them invisble. Also account for
4662         the window being shrunk vertically to the point that the vert
4663         scrollbar needs to be added.
4664         - Remove some 0.5 adjustments to get around anti aliasing issues.
4665         
4666 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
4667          
4668         * MainMenu.cs: Fixes default value
4669         * MenuItem.cs: Fixes default value
4670
4671 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
4672
4673         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4674
4675 2005-09-21  Jackson Harper  <jackson@ximian.com>
4676
4677         * Control.cs: Don't try to set the border style on the window if
4678         it hasn't been created. When the window is created the border
4679         style will be used.
4680
4681 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
4682
4683         * Control.cs (Update): Don't call XplatUI if we don't have a
4684           window handle yet
4685
4686 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
4687
4688         * ContainerControl.cs: Instead of throwing an exception, print
4689           a one-time warning about Validate not being implemented
4690         * XplatUIWin32.cs: Removed debug output
4691
4692 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
4693
4694         * Control.cs: Only set XplatUI background if we expect the windowing
4695           system to handle the background. This stops controls that draw their
4696           own background from flickering
4697
4698         * XplatUIX11.cs: Support custom visuals and colormaps for window 
4699           creation. This allows, amongst other things, using MWF X11 windows 
4700           with OpenGL.
4701
4702 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
4703
4704         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4705           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4706           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4707           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4708           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4709           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4710           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4711           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4712           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4713           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4714           GridColumnStylesCollection.cs, 
4715           IDataGridColumnStyleEditingNotificationService.cs,
4716           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4717           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4718           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
4719           TreeNodeCollection.cs, AmbientProperties.cs, 
4720           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4721           DataObject.cs, ErrorProvider.cs, Splitter.cs,
4722           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4723           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4724           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4725           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4726           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4727           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4728           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4729           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4730           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4731           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4732           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4733           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4734           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4735           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4736           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4737           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4738           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4739           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4740           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4741           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4742           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4743           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4744           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4745           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4746           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4747           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4748           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4749           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4750           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4751           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4752           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4753           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4754           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4755           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
4756           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
4757
4758 2005-09-21  Jackson Harper  <jackson@ximian.com>
4759
4760         * TreeNode.cs: Call Before/After Expand not Collapse when
4761         expanding.
4762
4763 2005-09-20  Jackson Harper  <jackson@ximian.com>
4764         
4765         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
4766
4767 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
4768          
4769         * ListViewItem.cs:
4770                 - Fixes bug 76120
4771                 - Fixes proper storing of subitems
4772                 - Fixes not updated items
4773
4774 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
4775
4776         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
4777           things if our window handle isn't created yet. Also disabled 
4778           debug for TextBoxBase
4779
4780 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
4781
4782         * MenuAPI.cs: Remove filtering of events to allow menu usage
4783
4784 2005-09-20  Miguel de Icaza  <miguel@novell.com>
4785
4786         * Cursor.cs: Allow null to be passed to Cursor.Current.
4787
4788 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
4789
4790         * ThemeWin32Classic.cs:
4791           - Change some private methods/fields to protected virtual so that 
4792             they can be accessed and overriden in derived classes
4793           - First refactoring of some methods. Derived themes now don't 
4794             need to duplicate the complete code from ThemeWin32Classic
4795         * ThemeNice.cs:
4796           - Added nice StatusBar
4797           - Derive from ThemeWin32Classic and not Theme
4798           - Removed duplicate ThemeWin32Classic code
4799
4800 2005-09-20  Miguel de Icaza  <miguel@novell.com>
4801
4802         * Control.cs (ControlCollection.Add): If the value null is passed
4803         the control is ignored. 
4804
4805         Optimize this loop.
4806
4807 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
4808
4809         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
4810           PostQuitMessage state.
4811         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
4812
4813 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
4814
4815         * Application.cs: Our constructor will never get called, move 
4816           initialization to fields; fixes bug #75933
4817
4818 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4819
4820         * FileDialog.cs :
4821                 - Allow files to be selected properly using file name
4822                 combo box.
4823                 - Add ability to change diretory (absolute / relative)
4824                 using file name combo box.
4825
4826 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
4827          
4828         * ListBox.cs: 
4829                 - Fixes Multicolumn listboxes item wrong calculations
4830                 - Allows to click when only one item is in the listbox
4831                 - Fixes crash when no items using keyboard navigation
4832
4833 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
4834
4835         * ComboBox.cs: Reverted almost everything from the latest patch which
4836           broke ComboBox
4837
4838 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
4839         
4840         * ToolTip.cs:
4841                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
4842         * ComboBox.cs:
4843                 - When DropDownStyle is Simple, it does not show scrollbar 
4844                 to the last item of the list.
4845                 - When DropDownStyle is Simple, it crashed when the list was 
4846                 scrolled down with the down cursor key.
4847                 - Fixed a bug that when DropDownStyle is DropDownList, the 
4848                 selected item was not shown.
4849                 - The position of the selected item was not preserved when 
4850                 the next dropdown happened.
4851         * ThemeWin32Classic.cs:
4852                 - Items were wrapped at the right end.
4853         * CheckedListBox.cs:
4854                 - Fixed Add method
4855         * ListBox.cs:
4856                 - Items should be fully shown.
4857                 - When resizing and vertical scrollbar disappeared, the item 
4858                 of index 0 should be on the top of the list.
4859                 - GetItemRectangle should consider the size of ver. scrollbar
4860         * StatusBar.cs:
4861                 - SizingGrip area should not be allocated when it is not 
4862                 displayed.
4863                 - Now it reflects MinWidth of the containing panel and 
4864                 fixed a crash that happens when its width becomes so small.
4865
4866 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
4867
4868         * CheckedListBox.cs: Fixes bug 76028
4869         * ListBox.cs: Fixes bug 76028
4870
4871 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
4872
4873         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4874         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4875
4876 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
4877
4878         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4879
4880 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
4881
4882         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
4883
4884 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
4885
4886         * IRootGridEntry.cs: Added
4887         * PropertyGridCommands.cs: Added
4888         * PropertiesTab.cs: Added missing methods and property
4889         * PropertyGridView.cs: Made class internal
4890         * PropertyGridTextBox.cs: Made class internal
4891
4892 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4893
4894         * MimeIcon.cs: Try to check some other environment variables
4895           if "DESKTOP_SESSION" returns "default"
4896
4897 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4898
4899         * ThemeNice.cs: Corrected background colors (e.g. menus)
4900         * ColorDialog.cs: Use correct background colors for controls
4901
4902 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4903
4904         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4905
4906 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
4907
4908         * RichTextBox.cs: Added initial implementation
4909         * lang.cs: Removed. Was accidentally checked in long time ago
4910         * TODO: Removed. Contents were obsolete
4911
4912 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
4913                                                                                 
4914         * PropertiesTab.cs : Added
4915
4916 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
4917                                                                                 
4918         * PropertyGrid.cs : Update
4919         * PropertyGridView.cs : Update
4920         * System.Windows.Forms.resx : Added images and strings
4921
4922 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
4923
4924         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4925  
4926 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
4927
4928         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4929           a busy loop right after the Ungrab the X11 display is otherwise 
4930           blocked
4931
4932 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
4933
4934         * ThemeWin32Classic.cs: Optimise the use of clipping
4935
4936 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
4937
4938         * DataGrid.cs: fixes recursion bug
4939
4940 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
4941
4942         * ThemeNice.cs: 
4943           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4944           - Cleanup
4945
4946 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
4947
4948         * ThemeNice.cs: Draw nice ProgressBars
4949
4950 2005-09-01  Miguel de Icaza  <miguel@novell.com>
4951
4952         * VScrollBar.cs: Another buglet found by Aaron's tool. 
4953
4954         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4955         bug finder.
4956
4957 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
4958
4959         * ThemeNice.cs:
4960           - Added nicer menu drawing
4961           - Updated DrawTab
4962           - some refactoring
4963
4964 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
4965
4966         * CreateParams.cs (ToString): Made output match MS
4967         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
4968             handle is already created (to avoid forcing window creation)
4969         * XplatUIX11.cs: Set window text to caption after creating window,
4970           in case Text was set before window was created
4971         * Form.cs: Use this.Text instead of a static string as caption
4972
4973 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
4974
4975         * NotifyIcon.cs: Don't set the window to visible; this screws
4976           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4977           OnPaint without a bitmap)
4978         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
4979           happen very often anyway; we could add the check to the WM_PAINT 
4980           event generation code
4981
4982 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
4983
4984         * NotifyIcon.cs: Fill the icon area with a background color, to 
4985           avoid 'residue' when transparent icons are drawn
4986         * XplatUIX11.cs:
4987           - Handle whole_window == client_window when destroying windows
4988           - SystrayAdd(): Set client_window to whole_window value to
4989             get mouse and other events passed to NotifyIcon
4990
4991 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
4992
4993         * Form.cs: Set proper default for Opacity property
4994         * NotifyIcon.cs:
4995           - ShowSystray(): Don't bother creating telling the OS
4996             about the systray item if no icon is provided
4997           - Now handles WM_NCPAINT message to deal with whole/client window
4998             split
4999           - Create window as visible to not get caught by Expose optimization
5000         * Hwnd.cs: Removed debug message
5001         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5002           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5003             PaintEventStart/End to use new client argument
5004         * TextBoxBase.cs:
5005           - Commented out debug messages
5006           - Switched PaintEventStart/End to use new client argument
5007         * XplatUI.cs: Added client window bool to PaintEventStart()/
5008           PaintEventEnd() calls, to support drawing in non-client areas
5009         * XplatUIDriver.cs: 
5010           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5011             calls, to support drawing in non-client areas
5012           - Added conditional compile to allow using MWF BeginInvoke 
5013             on MS runtime
5014         * XplatUIX11.cs:
5015           - Added some conditional debug output
5016           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5017             whole/client window split
5018           - Implemented handling of client argument to PaintEventStart()/End()
5019         * Control.cs:
5020           - Throw exception if BeginInvoke() is called and the window handle
5021             or one of the window's parent handles is not created
5022           - Added conditional compile to allow using MWF BeginInvoke on
5023             MS runtime
5024           - get_Parent(): Only sets parent if handle is created. This avoids
5025             forcing window handle creation when parent is set.
5026           - Now fires Layout and Parent changed events in proper order
5027           - Switched to use Handle instead of window.Handle for Z-Order setting,
5028             the get_Parent() patch above causes us to possibly get null for 'window'
5029           - Implemented handling of client argument to PaintEventStart()/End()
5030           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5031             default handling)
5032           - Now sends a Refresh() to all child windows when Refresh() is called
5033
5034 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5035
5036         * Form.cs: Added (non-functional) Opacity property
5037         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5038
5039 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5040         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5041           use export MONO_THEME=nice to activate it.
5042           Currently supported controls:
5043           - Button
5044           - ComboBox
5045           - ScrollBar
5046           - TabControl (TabAlignment.Top only, other will follow)
5047         * ThemeEngine.cs: Add theme nice
5048         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5049           if enabled
5050
5051 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5052
5053         * Splitter.cs: Resize docked control and its neighbor.
5054
5055 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5056         -- Making Windows with Menus layout correctly --
5057         * Form.cs : The first leg of the fix
5058                 Menu setter - adjust Client Size as needed to make space for the menu
5059                 SetClientSizeCore - doesn't call base version to be able to pass the 
5060                         menu handle to XplatUI.CalculateWindowRect
5061         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5062         * XplatUIX11.cs: The critical second leg of the fix
5063                 GetWindowPos needs to use a recalculated client_rect
5064                 so that resizing the window doesn't break layout of child controls. 
5065                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5066                 Lots of \t\n killed
5067
5068 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5069
5070         * Label.cs: Now properly recalculates width and height on Font and Text
5071           changes if AutoSize is set
5072
5073 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5074         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5075
5076 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
5077
5078         * ImageList.cs: Makes ToString method compatible with MS
5079
5080 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
5081
5082         * MenuAPI.cs: fixes bug 75716
5083
5084 2005-08-11 Umadevi S <sumadevi@novell.com>
5085         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5086
5087 2005-08-11 Umadevi S <sumadevi@novell.com>
5088         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5089
5090 2005-08-10  Umadevi S <sumadevi@novell.com>
5091         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5092
5093 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
5094
5095         * Menu.cs: fixes bug 75700
5096         * MenuAPI.cs: fixes navigation issues
5097
5098 2005-08-09  Umadevi S <sumadevi@novell.com>
5099         * CheckedListBox.cs - simple fix for GetItemChecked.
5100
5101 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
5102
5103         * ComboBox.cs: Serveral fixes
5104         * ListBox.cs: Serveral fixes
5105
5106 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5107
5108         * ComboBox.cs: Fixes FindString methods and GetItemHeight
5109         * ListBox.cs: Fixes FindString methods
5110
5111 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5112
5113         * DataGrid.cs: fixes bugs exposed by new tests
5114
5115 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5116
5117         * Mime.cs: Compile Mono assembly references only if compiling
5118           with Mono (Allows to build with VS.Net again)
5119
5120 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
5121
5122         * Control.cs (PaintControlBackground): Draw background image
5123         corrrectly.
5124         (CheckForIllegalCrossThreadCalls): Stubbed.
5125         
5126         * Form.cs (OnCreateControl): Center when should be centered.
5127         
5128         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5129
5130 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
5131
5132         * Binding.cs: Binding to properties should be case unsensitive
5133
5134 2005-07-18 vlindos@nucleusys.com
5135
5136         * DataGrid.cs: fixes setmember order
5137
5138 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
5139
5140         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5141         * FileDialog.cs: FileDialog is now resizable and uses the new
5142           MimeIconEngine
5143
5144 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
5145
5146         * DataGridTextBoxColumn.cs: default value
5147         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5148         * GridTableStylesCollection.cs: fixes checking MappingName
5149         * DataGridDrawingLogic.cs: fixes drawing logic issues
5150         * DataSourceHelper.cs: rewritten to make compatible with more data sources
5151         * DataGrid.cs: fixes    
5152
5153 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
5154
5155         * MimeGenerated.cs: Use case sensitive comparer for
5156           NameValueCollections
5157
5158 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
5159
5160         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
5161         * ThemeWin32Classic.cs: bug fixes, code refactoring
5162         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
5163         * DataGrid.cs: bug fixes, code refactoring
5164         * DataGridTextBox.cs: bug fixes, code refactoring
5165         * DataGridColumnStyle.cs:  bug fixes, code refactoring
5166         * Theme.cs:  bug fixes, code refactoring
5167
5168 2005-07-01  Peter Bartok  <pbartok@novell.com> 
5169
5170         * TextControl.cs: Quick fix for the reported crash on ColorDialog
5171           and other text box usage
5172
5173 2005-07-01  Jackson Harper  <jackson@ximian.com>
5174
5175         * TabControl.cs: Make sure the bottom of the tab covers the pages
5176         border.
5177
5178 2005-06-30  Peter Bartok  <pbartok@novell.com> 
5179
5180         * Form.cs (ShowDialog): Assign owner of the dialog
5181         * TextBoxBase.cs: Always refresh caret size when deleting, caret
5182           might have been moved to a tag with different height
5183
5184 2005-06-30  Jackson Harper  <jackson@ximian.com>
5185
5186         * Form.cs: Don't create an infinite loop when setting focus
5187         * MenuItem.cs: Don't dirty the parents if we don't have any
5188
5189 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
5190
5191         * LibSupport.cs: Rename
5192
5193 2005-06-29  Peter Bartok  <pbartok@novell.com>
5194
5195         * TextBoxBase.cs: Re-align caret after deleting a character
5196         * TextControl.cs:
5197           - DeleteChars(): Ensure that tag covers the provided position
5198           - StreamLine(): Drop reference for dropped tag
5199
5200 2005-06-29  Peter Bartok  <pbartok@novell.com> 
5201
5202         * TextControl.cs: 
5203           - Selections now work properly, anchoring at the initial location
5204             and properly extending in either direction (SetSelectionToCaret(),
5205             SetSelectionStart() and SetSelectionEnd())
5206           - No longer redraws the whole control on selection change, now
5207             calculates delta between previous and new selection and only
5208             invalidates/redraws that area
5209           - Fixed FindPos() math off-by-one errors
5210           - Changed DeleteChars() to verify the provided tag covers the
5211             provided position, selections may have a tag that doesn't cover
5212             the position if the selection is at a tag border
5213           - Fixed off-by-one errors in DeleteChars()
5214           - Added missing streamlining check in DeleteChars() to remove
5215             zero-length tags
5216           - Implemented Invalidate() method, now properly calculates exposures
5217             between two given lines/positions
5218           - Implemented SetSelection()
5219           - Obsoleted and removed FixupSelection()
5220           - Improved RecalculateDocument() logic, removing code duplication
5221
5222 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5223
5224         * LibSupport.cs: changes to match different input/output arguments.
5225
5226 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5227
5228         * LibSupport.cs: added libsupport.so init routine.
5229
5230 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
5231         
5232         * ControlBindingsCollection.cs
5233                 - Throws an exception on null datasource when adding
5234                 - Checks for duplicated bindings when adding
5235
5236 2005-06-28  Jackson Harper  <jackson@ximian.com>
5237
5238         * TreeView.cs (OnKeyDown): Support left and right properly
5239         (navigates as well as expanding and collapsing.
5240         - Add support for Multiply, this expands all the selected nodes
5241         children.
5242         - Fix some tabbing.
5243
5244 2005-06-28  Jackson Harper  <jackson@ximian.com>
5245
5246         * TreeView.cs: Implement keyboard navigation, currently supports,
5247         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5248         support for toggling checkboxes with the space bar.
5249
5250 2005-06-28  Jackson Harper  <jackson@ximian.com>
5251
5252         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5253         tree.
5254
5255 2005-06-28  Jackson Harper  <jackson@ximian.com>
5256
5257         * TreeView.cs: Add missing event.
5258
5259 2005-06-27  Peter Bartok  <pbartok@novell.com> 
5260
5261         * TextControl.cs:
5262           - Made line ending size configurable (now allows for counting 
5263             lineendings as \n or \r\n)
5264           - Added margin to viewport to keep caret visible on right side
5265           - Fixed translation routines for line/pos to documentpos to consider
5266             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5267           - Fixed some line-endings to be unix style
5268           - Fixed Document.FormatText to perform it's calculations 1-based
5269           - Added descriptions for a few methods that might otherwise get 
5270             used wrong
5271           - Added NOTE section with some basic conventions to remember at 
5272             the top of the file
5273           - Major fixup for RichTextBox selection drawing:
5274             * Fixed crashes when multiple tags on a single line were selected
5275             * fixed selection box drawing not overlaying text
5276             * fixed bogus offset calculation for tags not starting at index 1
5277             * Switched behaviour from using multiple Substrings of a 
5278               StringBuilder.ToString() to using multiple 
5279               StringBuilder.ToString(start, length) statements, hoping this is
5280               faster (kept original version commented out in the code, in case
5281               original version was faster)
5282         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
5283           alignment != Left
5284         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5285           call it as well
5286
5287 2005-06-27  Jackson Harper  <jackson@ximian.com>
5288
5289         * TabControl.cs: Move to the left and right with the arrow
5290         keys. These keys don't cycle beyond first and last like
5291         tab. Refresh all the tabs when scrolling them to the left or
5292         right.
5293
5294 2005-06-27  Jackson Harper  <jackson@ximian.com>
5295
5296         * TabControl.cs:
5297           - ToString: Added method
5298           - CreateParams: Remove TODO and comment
5299           - OnKeyDown: Cycle through bounds properly.
5300           - SelectedIndex: Scroll to the right or left if we need to
5301           display the newly selected tab.
5302
5303 2005-06-23  Jackson Harper  <jackson@ximian.com>
5304
5305         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5306         set.
5307
5308 2005-06-23  Jackson Harper  <jackson@ximian.com>
5309
5310         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5311         CTRL-SHIFT-TAB, and HOME, END are there any others?
5312
5313 2005-06-23  Jackson Harper  <jackson@ximian.com>
5314
5315         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5316
5317 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5318         
5319         * DataGridTextBoxColumn.cs: fixes and enhancements
5320         * ThemeWin32Classic.cs: fixes and enhancements
5321         * DataGridBoolColumn.cs:  fixes and enhancements
5322         * DataGridDrawingLogic.cs:  fixes and enhancements
5323         * CurrencyManager.cs: fixes and enhancements
5324         * DataGrid.cs: fixes and enhancements
5325         * DataGridColumnStyle.cs:  fixes and enhancements
5326
5327 2005-06-22  Jackson Harper  <jackson@ximian.com>
5328
5329         * TabControl.cs: Add some missing methods that just call into the
5330         base. Make the TabPageCollection's IList interface behave in the
5331         same manner as the MS implementation.
5332
5333 2005-06-22  Peter Bartok  <pbartok@novell.com> 
5334
5335         * TextControl.cs: Added sanity check
5336         * TextBoxBase.cs: 
5337           - Fixed wrapping behaviour, don't set wrap on single line controls
5338             (this fixes the breakage of colordialog introduced in an earlier
5339              checkin)
5340           - Added rudimentary support for autoscrolling right-aligned controls
5341             (still needs fixing, also, center alignment scroll is missing)
5342
5343 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5344         
5345         * ScrollBar.cs: Fixes thumbpos on Maximum values
5346
5347 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
5348         
5349         * PropertyGridView.cs: Pass context information to UITypeEditors 
5350
5351 2005-06-21  Peter Bartok  <pbartok@novell.com> 
5352
5353         * TextBoxBase.cs:
5354           - Now calling PositionCaret with absolute space coordinates
5355           - Enabled vertical scrolling
5356           - Better tracking of scrollbar changes, tied into WidthChange
5357             event
5358           - Improved cursor tracking
5359           - Removed debug output
5360         * TextControl.cs:
5361           - PositionCaret coordinates are now works in absolute space, not 
5362             the canvas
5363           - Improved tracking of document size
5364           - Added events for width and height changes
5365
5366 2005-06-21  Peter Bartok  <pbartok@novell.com>
5367
5368         * Form.cs: Set focus to active control when form is activated
5369         * TextControl.cs: 
5370           - Added word-wrap functionality to RecalculateLine() 
5371           - Added some short function descriptions for VS.Net to aid in
5372             writing dependent controls
5373           - Added Caret property, returning the current coords of the caret
5374           - Added ViewPortWidth and ViewPortHeight properties
5375           - Added Wrap property
5376           - Added CaretMoved event
5377           - Removed some old debug code
5378           - Split() can now create soft splits
5379           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5380           - Added method to format existing text
5381           - Fixed size/alignment calculations to use viewport
5382           - RecalculateDocument now can handle changing line-numbers while
5383             calculating lines
5384
5385         * TextBox.cs:
5386           - Added some wrap logic, we don't wrap if alignment is not left
5387           - Added casts for scrollbar var, base class switched types to
5388             also support RichTextBoxA
5389           - Implemented handling of scrollbar visibility flags
5390
5391         * TextBoxBase.cs:
5392           - Switched scrollbars type to RichTextBoxScrollBars to support
5393             RichTextBox
5394           - Added tracking of canvas width/height
5395           - Switched scrollbars to be not selectable (to keep focus on text)
5396           - Added central CalculateDocument() method to handle all redraw
5397             requirements
5398           - Added ReadOnly support
5399           - Added WordWrap support
5400           - Fixed handling of Enter key (we now treat it as a DialogKey)
5401           - Fixed caret positioning when h or v scroll is not zero
5402           - Fixed placing/generation of vertical scrollbar
5403           - Added CalculateScrollBars() method to allow updating scrollbar
5404             limits and visibility
5405           - Fixed handling of horizontal scroll
5406           - Added handling of vertical scroll
5407           - Implemented auto-'jump' when caret moves to close to a left or
5408             right border and there is text to be scrolled into view (currently
5409             there's the potential for a stack overflow, until a bug in
5410             scrollbar is fixed)
5411
5412 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
5413         
5414         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5415
5416 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
5417
5418         * Mime.cs:
5419         - added inodes.
5420         - return application/x-zerosize for files with size zero
5421           (if no extension pattern matches).
5422         - check matches collection for strings too.
5423         - return only the first mime type if the name value
5424           collection has more than one mime type.
5425
5426 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
5427         
5428         * PropertyGrid.cs: Cleaned up some TODOs
5429         * PropertyGridView.cs: Added support for UITypeEditors
5430
5431 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5432         
5433         * DataGrid.cs: clears cached value
5434
5435 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5436
5437         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5438         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5439         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5440         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5441         
5442 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
5443
5444         * ThemeWin32Classic.cs: fixes colour
5445
5446 2005-06-15  Peter Bartok  <pbartok@novell.com>
5447
5448         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5449         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5450         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5451         * Control.cs: Added some MWFCategory and MWFDescription attributes
5452         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5453
5454 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
5455
5456         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5457         usage
5458
5459 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
5460
5461         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5462         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5463         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5464         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5465         * DataGrid.cs: default datagrid settings for Default Styles, fixes
5466         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5467
5468 2005-06-13  Jackson Harper  <jackson@ximian.com>
5469
5470         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5471         isn't printed when the user enables dropping. (X11 does accept
5472         drops).
5473         
5474 2005-06-13  Jackson Harper  <jackson@ximian.com>
5475
5476         * TreeView.cs: Remove some TODOS.
5477
5478 2005-06-13  Jackson Harper  <jackson@ximian.com>
5479
5480         * Form.cs: Hook into the mdi framework.
5481         * MdiClient.cs: Use the base control collections add method so
5482         parents get setup correctly. Set the default back colour and dock
5483         style.
5484         * MdiChildContext.cs: New class, this bad actor handles an
5485         instance of an MDI window. Right now there is only basic
5486         support. You can drag, close, and resize windows. Minimize and
5487         Maximize are partially implemented.
5488
5489 2005-06-13  Jackson Harper  <jackson@ximian.com>
5490
5491         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5492         freaky when both vals are negative. NOTE: There are probably other
5493         places in XplatUIX11 that this needs to be done.
5494
5495 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
5496
5497         * DataGrid.cs: implement missing methods, move KeyboardNavigation
5498         * DataGridColumnStyle.cs: fixes signature
5499
5500 2005-06-12  Jackson Harper  <jackson@ximian.com>
5501
5502         * XplatUIX11.cs: Use sizing cursors similar to the ones on
5503         windows.
5504
5505 2005-06-11  Jackson Harper  <jackson@ximian.com>
5506
5507         * StatusBarPanel.cs: Signature cleanups. Implement
5508         BeginInit/EndInit.
5509
5510 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
5511
5512         * DataGridTextBoxColumn.cs: Honors aligment
5513         * GridColumnStylesCollection.cs: Contains is case unsensitive
5514         * GridTableStylesCollection.cs: several fixes
5515         * DataGridTableStyle.cs: default column creation
5516         * DataGridDrawingLogic.cs: fixes
5517         * CurrencyManager.cs: ListName property
5518         * DataGrid.cs: multiple styles support
5519         * DataGridColumnStyle.cs: fixes
5520         
5521
5522 2005-06-10  Peter Bartok  <pbartok@novell.com>
5523
5524         * Control.cs(Select): Moved SetFocus call to avoid potential
5525           loops if controls change the active control when getting focus
5526         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5527           the up/down buttons
5528
5529 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
5530
5531         * ImageListConverter.cs: Implemented
5532
5533 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5534
5535         * MonthCalendar.cs: Wired in NumericUpDown control for year
5536
5537 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5538
5539         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5540           DoubleClick events, since they are not meant to be fired.
5541
5542 2005-06-09  Peter Bartok  <pbartok@novell.com>
5543
5544         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5545           Jonathan's standalone controls into MWF, implemented missing
5546           events, attributes and methods; added xxxAccessible classes
5547         * AccessibleObject.cs: Made fields internal so other classes
5548           can change them if needed
5549
5550 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
5551
5552         * UpDownBase.cs: Complete implementation
5553         * NumericUpDown.cs: Complete implementation
5554         * DomainUpDown.cs: Complete implementation
5555
5556 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
5557
5558         * DataGridTextBoxColumn.cs: drawing fixes
5559         * DataGridCell.cs: fixes ToString method to match MSNet
5560         * DataGridTableStyle.cs: fixes
5561         * DataGridBoolColumn.cs: fixes, drawing
5562         * DataGridDrawingLogic.cs: fixes, new methods
5563         * DataGridTextBox.cs: Keyboard and fixes
5564         * DataGrid.cs:
5565                 - Keyboard navigation
5566                 - Scrolling fixes
5567                 - Row selection (single, multiple, deletion, etc)
5568                 - Lots of fixes
5569         
5570 2005-06-07  Jackson Harper  <jackson@ximian.com>
5571
5572         * ThemeWin32Classic.cs: Clear the background area when drawing
5573         buttons.
5574
5575 2005-06-06  Peter Bartok  <pbartok@novell.com>
5576
5577         * ImageListStreamer.cs: Fixed signature for GetData
5578         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5579         * ComboBox.cs:
5580           - Added missing ChildAccessibleObject class
5581           - Added missing OnXXXFocus overrides, switched to using those
5582             instead of the event handler
5583         * Control.cs:
5584           - Added Parent property for ControlAccessibleObject
5585           - Fixed signatures
5586           - Fixed attributes
5587           - Added ResetBindings()
5588         * ListBindingConverter.cs: Implemented some methods
5589         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5590         * ImageList.cs: Implemented basic handle scheme, removed TODOs
5591         * ContainerControl.cs: Fixed signature, now subscribing to the
5592           ControlRemoved event instead of overriding the handler, LAMESPEC
5593         * CurrencyManager.cs: Added missing attribute
5594         * MonthCalendar.cs: Added missing properties
5595
5596 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5597
5598         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5599         
5600 2005-06-06  Gaurav Vaish and Ankit Jain
5601
5602         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5603         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5604         
5605 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5606
5607         * Control.cs: fixes CreateParams Width / Height.
5608
5609 2005-06-05  Peter Bartok  <pbartok@novell.com>
5610
5611         * Win32DnD.cs: Removed compilation warnings
5612
5613 2005-06-05  Peter Bartok  <pbartok@novell.com>
5614
5615         * Control.cs (CreateParams): Since we don't know if one of the
5616           properties we use is overridden, lets make sure if we fail accessing
5617           we continue with a backup plan
5618
5619 2005-06-05  Peter Bartok  <pbartok@novell.com>
5620
5621         * Win32DnD.cs:
5622           - Removed debug output
5623           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5624             struct
5625           - Plugged resource leak
5626         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5627           MS size
5628
5629 2005-06-05  Peter Bartok  <pbartok@novell.com>
5630
5631         * XplatUIWin32.cs: Removed DnD code
5632         * Win32DnD.cs: Implemented drop source and drop target functionality
5633
5634 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5635
5636         * UpDownBase.cs: remove duplicate addition of event, enable some code
5637         that was commented out.
5638         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5639         Validate input when a key is pressed. It works fine now for every
5640         combination of Hexadecimal. Only missing some drawing love when sharing
5641         space with other controls.
5642
5643 2005-06-04  Peter Bartok  <pbartok@novell.com>
5644
5645         * Control.cs:
5646           - We need to pass a window for DragDrop, so enable callback events
5647           - Added DnD callback events when being a DragSource
5648         * XplatUI.cs (StartDrag): Added window handle argument
5649         * XplatUIDriver.cs (StartDrag): Added window handle argument
5650         * QueryContinueDragEventArgs: Made fields internally accessible so
5651           drivers can set them
5652         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5653           can set them
5654
5655 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
5656
5657         * DataGridTextBoxColumn.cs: column text editing
5658         * DataGridTableStyle.cs: Respect columns styles created by the user
5659         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5660         * DataGridBoolColumn.cs: bool column editing
5661         * DataGrid.cs: fixes to scrolling, properties, etc
5662         * DataGridTextBox.cs: handle keyboard
5663         * DataGridColumnStyle.cs: fixes
5664
5665 2005-06-02  Jackson Harper  <jackson@ximian.com>
5666
5667         * ImageListStreamer.cs: Somewhat broken implementation of
5668         GetObjectData. The RLE needs some work to match MS properly.
5669
5670 2005-06-02  Jackson Harper  <jackson@ximian.com>
5671
5672         * X11Dnd.cs: Attempting to keep at least one file in MWF
5673         monostyled.
5674
5675 2005-06-02  Peter Bartok  <pbartok@novell.com>
5676
5677         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5678           that way
5679
5680 2005-06-02  Peter Bartok  <pbartok@novell.com>
5681
5682         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5683         * XplatUI.cs: Added DoDragDrop() method
5684         * XplatUIDriver.cs: Added DoDragDrop() method
5685
5686 2005-06-02  Jackson Harper  <jackson@ximian.com>
5687
5688         * Splitter.cs: Implement BorderStyle.
5689
5690 2005-06-02  Jackson Harper  <jackson@ximian.com>
5691
5692         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5693         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5694         X11 using XDND.
5695
5696 2005-06-02  Peter Bartok  <pbartok@novell.com>
5697
5698         * DataObject.cs:
5699           - Added Data setter
5700           - Fixed broken insertion code for SetData, now also
5701             overwrites any existing entry of the same format name
5702         * Hwnd.cs: Added list of pointers that automatically gets
5703           freed when the window is disposed
5704         * XplatUI.cs: Call driver initialization method when loading
5705           a driver
5706         * Control.cs:
5707           - OnDragLeave takes EventArgs, not DragEventArgs
5708           - Added setting of WS_EX_ACCEPTFILES style when dropping is
5709             supported
5710           - Forces style update when drop state changes
5711         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5712           not perfect since we cannot (yet) call the IDataObject.GetData()
5713           method, we keep getting 0x80004005 error, dunno why)
5714
5715 2005-06-02  Peter Bartok  <pbartok@novell.com>
5716
5717         * DragEventArgs.cs: Make fields internal so we can cache the
5718           object and re-set the fields from XplatUI
5719
5720 2005-06-02  Jackson Harper  <jackson@ximian.com>
5721
5722         * Control.cs: Add some internal methods so the DnD subsystem can
5723         raise DnD events. Also call into the driver when AllowDrop is set.
5724         * XplatUI.cs:
5725         * XplatUIDriver.cs: New method for setting whether or not a window
5726         is allowed to accept drag and drop messages.
5727                 
5728 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
5729         
5730         * ScrollBar.cs: Make sure that values sent in Scroll events
5731         are always between Maximum and Minimum.
5732
5733 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
5734
5735         * Menu.cs: Call MenuChanged when menuitem visibility has been
5736         changed.
5737         * MenuItem.cs: Rebuild menu when item is (not) visible.
5738         * MainMenu.cs: MainMenu has special MenuChanged.
5739         * Theme.cs: Caption and FrameBorderSize are not fixed.
5740         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5741         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5742         * XplatUIX11.cs,
5743         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5744         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5745
5746 2005-05-30  Jackson Harper  <jackson@ximian.com>
5747
5748         * DataFormat.cs: We can't statically initialize this stuff because
5749         it calls into the xplatui and could create a loop. So we lazy init
5750         it.
5751
5752 2005-05-28  Jackson Harper  <jackson@ximian.com>
5753
5754         * Control.cs: Proper implementation of Product(Name/Version).
5755
5756 2005-05-27  Jackson Harper  <jackson@ximian.com>
5757
5758         * DataObject.cs: Dont crash if no data is found.
5759
5760 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
5761         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
5762                 as per status page, guessing it should be set to true
5763
5764 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
5765
5766         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
5767         * DataGridTableStyle.cs: set proper formatting text, def header text
5768         * ThemeWin32Classic.cs: new themable paramaters
5769         * DataGridBoolColumn.cs: paint check box, get data, fixes
5770         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
5771         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
5772         * DataGridColumnStyle.cs: fixes
5773         * Theme.cs: new themable paramaters
5774                 
5775 2005-05-26  Peter Bartok  <pbartok@novell.com>
5776
5777         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
5778
5779 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5780         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
5781
5782 2005-05-24  Peter Bartok  <pbartok@novell.com>
5783
5784         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
5785           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
5786           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
5787           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
5788           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
5789           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
5790           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
5791           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
5792           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
5793           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
5794           missing attributes, etc
5795         * DataGridPreferredColumnWidthTypeConverter.cs: Added
5796
5797 2005-05-24  Peter Bartok  <pbartok@novell.com>
5798
5799         * Help.cs: Added, implemented trivial functions, throws up MessageBox
5800           when user tries to get help
5801         * DataObject.cs, DataFormats.cs, LinkArea.cs,
5802           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
5803           to suppress warnings
5804         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
5805           avoid unreachable code warning
5806
5807 2005-05-20  Peter Bartok  <pbartok@novell.com>
5808
5809         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
5810
5811 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5812
5813         * DataGridTextBoxColumn.cs: Basic painting methods
5814         * DataGridTableStyle.cs: Set table style in the column
5815         * ThemeWin32Classic.cs: Use Theme for colors
5816         * DataGridDrawingLogic.cs: Implement more drawing
5817         * DataGrid.cs: drawing, theming, enhacements, fixes
5818         * DataGridColumnStyle.cs: fixes, drawing
5819         * Theme.cs: theming for Datagrid
5820
5821 2005-05-20  Peter Bartok  <pbartok@novell.com>
5822
5823         * Cursor.cs: Implemented GetObjectData() method
5824
5825 2005-05-20  Peter Bartok  <pbartok@novell.com>
5826
5827         * Cursors.cs: Added setting of cursor name
5828         * Cursor.cs:
5829           - Implemented constructors
5830           - Implemented Draw and DrawStretched
5831           - Implemented Current property
5832           - Implemented == and != operators
5833           - Implemented Dispose()
5834           - Implemented ToString
5835           - Added missing attributes
5836         * XplatUIX11.cs:
5837           - Added missing reset for OverrideCursor when DoEvents is called
5838           - Fixed creation of cursor, logic was wrong
5839         * XplatUIWin32.cs:
5840           - Added missing reset for OverrideCursor when DoEvents is called
5841           - Fixed creation of cursor, bit arrays were swapped
5842         * Clipboard.cs: Removed obsolete MonoTODO attribute
5843
5844 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5845
5846         * ComboBox.cs: fixes OnSelectedItemChanged
5847         * ControlBindingsCollection.cs: fixes item range check
5848
5849 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5850
5851         * UpDownBase.cs:
5852                 - Calc preferred height properly
5853                 - Implement missing properties
5854                 
5855         * NumericUpDown.cs: Implement missing events
5856
5857 2005-05-19  Jackson Harper  <jackson@ximian.com>
5858
5859         * TabControl.cs: New method that resizes the tab pages before
5860         redrawing them. This as needed as the control is double buffered
5861         and sizing will not be recalculated unless ResizeTabPages is
5862         called.
5863         * TabPage.cs: Set base.Text instead of Text in the constructor so
5864         that UpdateOwner does not get called. Use the new Redraw method of
5865         TabControl instead of Refresh so the sizing is recalculated.
5866         * ThemeWin32Classic.cs: Draw the text for button tabs.
5867
5868 2005-05-19  Jackson Harper  <jackson@ximian.com>
5869
5870         * Control.cs: Paint control background images. Fix typo where
5871         PaintControlBackground was not getting called correctly.
5872
5873 2005-05-19  Peter Bartok  <pbartok@novell.com>
5874
5875         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5876           I can investigate, apparently I broke FileDialog
5877
5878 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
5879
5880         * AxHost.cs: Some simple properties.
5881         * Control.cs: window must be accessible after ctor.
5882         * Form.cs: Added TransparencyKey property.
5883         * TextBoxBase.cs: Implemented Clear. Text property can be null.
5884         * XplatUIWin32.cs: SetBorderStyle implemented.
5885
5886 2005-05-18  Peter Bartok  <pbartok@novell.com>
5887
5888         * DataObject.cs: Entries are not global but particular to the
5889           DataObject, now it behaves that way
5890         * XplatUIWin32.cs: Implemented Clipboard methods
5891         * Clipboard.cs: Implemented
5892         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5893         * XplatUIOSX.cs: Updated to final clipboard prototypes
5894         * XplatUIX11.cs: Implemented Clipboard methods
5895         * XplatUIDriver.cs: Updated to final clipboard prototypes
5896         * XplatUIStructs.cs:
5897           - Added BITMAPINFOHEADER struct
5898           - Added ClipboardFormats enum
5899         * X11Structs.cs:
5900           - Added ClipboardStruct
5901           - Added Atom enum items for clipboard types
5902           - Fixed atom types for Selection event structures
5903         * DataFormats.cs:
5904           - Added internal properties and methods for drivers to enumerate
5905             all known formats
5906           - Switched initialization method to allow drivers to assign their
5907             own IDs even for the MS predefined clipboard IDs
5908         * XplatUI.cs: Updated to final clipboard interface
5909
5910 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5911         * PropertyGridView.cs: Fixed compiler warnings.
5912
5913 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5914         * PropertyGrid.cs: Added some event calls
5915         * PropertyGridView.cs: Change drawing code to use double buffering
5916         * PropertyGridTextBox.cs: Changed Text property name
5917         * GridItem.cs: Added Bounds property.
5918         * GridEntry.cs: Added Bounds property.
5919
5920 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
5921
5922         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5923         since GetType() may not return the correct type if the object is
5924         a remoting proxy.
5925
5926 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
5927
5928         * TreeNodeCollection.cs: fixes get/set item ranges
5929         
5930 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
5931
5932         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5933                 
5934 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
5935
5936         * ComboBox.cs: Fix item range comparation
5937         * ListView.cs: Fix item range comparation
5938
5939 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
5940
5941         * FontDialog.cs:
5942           - Clear example panel when OnPaint is called
5943           - Better solution for displaying the example panel text
5944           - Select default indexes in the ListBoxes
5945
5946 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
5947
5948         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
5949
5950 2005-05-11  Peter Bartok  <pbartok@novell.com>
5951
5952         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5953         * SelectionRangeConverter.cs: Implemented
5954         * PropertyGrid.cs: Fixed attribute value
5955         * Control.cs:
5956           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5957           - Added Sebastien Pouliot's CAS Stack Propagation fixes
5958         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5959           that's common to all drivers. First methods to go there are
5960           Sebastien Pouliot's CAS Stack Propagation helper methods
5961         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5962           Sebastien Pouliot for CAS Stack Propagation
5963
5964 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
5965
5966         * OSXStructs.cs:
5967           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5968
5969 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
5970
5971         * DataGridTextBoxColumn.cs: fixed some members
5972         * GridColumnStylesCollection.cs: indexed column is case insensitive
5973         * DataGridTableStyle.cs: fixes
5974         * ThemeWin32Classic.cs: add new theme parameter
5975         * Theme.cs: add new theme parameter
5976         * DataGridDrawingLogic.cs: Datagrid's drawing logic
5977         * DataGrid.cs: fixes, new internal properties, etc.
5978         * DataGridColumnStyle.cs: allows to set grid value
5979         *
5980
5981 2005-05-10  Peter Bartok  <pbartok@novell.com>
5982
5983         * AccessibleObject.cs:
5984           - Removed MonoTODO attribute on help, method is correct
5985           - Fixed Bounds property
5986         * AxHost.cs: Moved MonoTODO
5987         * ButtonBase.cs: Now setting AccessibleObject properties
5988         * RadioButton.cs: Setting proper AccessibleObject role
5989         * CheckBox.cs: Setting proper AccessibleObject role
5990         * ControlBindingsCollection.cs: Added properties, methods and attributes
5991         * DataFormats.cs: Fixed awkward internal API, and changed to enable
5992           userdefined DataFormats.Format items as well
5993         * ListControl.cs: Removed data_member from the public eye
5994         * OpenFileDialog.cs:
5995           - Made class sealed
5996           - Added missing attributes
5997         * SaveFileDialog.cs: Added missing attributes
5998         * ImageListStreamer.cs: Fixed code that caused warnings
5999         * LinkLabel.cs: Removed unreachable code
6000         * TreeView.cs: Fixed code that caused warnings
6001         * PropertyGridView.cs: Fixed code that caused warnings
6002         * GridColumnStylesCollection.cs: Added missing attributes
6003         * GridTableStylesCollection: Added missing attribute
6004         * PropertyManager: Added .ctor
6005         * SecurityIDType: Added
6006         * DataObject.cs: Implemented class
6007         * LinkArea.cs: Added missing attribute
6008
6009 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6010
6011         * RadioButton.cs: call base method to allow to fire OnClick event
6012         * UpDownBase.cs: OnMouseUp call base method
6013         * CheckedListBox.cs: call base method before returning
6014         * TrackBar.cs: call base method before returning
6015         
6016
6017 2005-05-10  Peter Bartok  <pbartok@novell.com>
6018
6019         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6020           for messages
6021
6022 2005-05-10  Peter Bartok  <pbartok@novell.com>
6023
6024         * DataFormats.cs: Implemented
6025         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6026           XplatUIX11.cs: Added Clipboard APIs
6027         * XplatUIWin32.cs: Implemented Clipboard APIs
6028         * FolderBrowserDialog.cs: Added missing event, attributes
6029
6030 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6031
6032         * CheckBox.cs: call base method to allow to fire OnClick event
6033
6034 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6035
6036         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6037
6038 2005-05-06  Peter Bartok  <pbartok@novell.com>
6039
6040         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6041         * Screen.cs: Implemented
6042         * HelpNavigator.cs: Added
6043         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6044           property
6045         * HelpProvider.cs: Implemented all we can do until we have a CHM
6046           help library (which means that "What's This" does work now)
6047
6048 2005-05-06  Jackson Harper  <jackson@ximian.com>
6049
6050         * XplatUIX11.cs: Fix waking up the main loop.
6051                 
6052 2005-05-05  Peter Bartok  <pbartok@novell.com>
6053
6054         * XplatUI.cs: Updated revision
6055         * Form.cs: Removed enless loop
6056         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6057         * Label.cs (OnPaint): Added call to base.OnPaint()
6058         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6059         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6060         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6061         * AxHost.cs: Added
6062         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6063         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6064           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6065           reuse of ToolTipWindow by other controls
6066         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6067         * XplatUIX11.cs: Now clipping drawing area (experimental)
6068         * PictureBox.cs: Moved base.OnPaint() call to end of method
6069         * Theme.cs: Fixed ToolTip abstracts to match new format
6070         * ErrorProvider.cs: Implemented
6071
6072 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
6073
6074         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6075         * LinkLabel.cs:
6076                 - Adds cursors
6077                 - Handles focus
6078                 - Implements LinkBehavior
6079                 - Fixes many issues
6080
6081 2005-05-03  Jackson Harper  <jackson@ximian.com>
6082
6083         * ListView.cs: Calculate the scrollbar positioning on resize and
6084         paint, so they get put in the correct place.
6085
6086 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6087
6088         * ColorDialogs.cs: The small color panels are now handled by
6089           SmallColorControl. This fixes drawing of the focus rectangle
6090           and adds a 3D border.
6091
6092 2005-05-03  Peter Bartok  <pbartok@novell.com>
6093
6094         * Control.cs: Modified version of Jonathan Chamber's fix for
6095           double-buffering
6096
6097 2005-05-03  Jackson Harper  <jackson@ximian.com>
6098
6099         * ListView.cs: Remove redraw variable. Control now handles whether
6100         or not a redraw needs to be done, and will only raise the paint
6101         event if redrawing is needed.
6102
6103 2005-05-03  Jackson Harper  <jackson@ximian.com>
6104
6105         * Splitter.cs: No decorations for the splitter form. Cache the
6106         hatch brush.
6107
6108 2005-05-03  Jackson Harper  <jackson@ximian.com>
6109
6110         * TreeView.cs: Use dashed lines to connect nodes. Use the
6111         ControlPaint method for drawing the focus rect instead of doing
6112         that in treeview.
6113
6114 2005-05-02  Peter Bartok  <pbartok@novell.com>
6115
6116         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6117
6118 2005-04-29  Jackson Harper  <jackson@ximian.com>
6119
6120         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6121         entire image buffer. Just clear the clipping rectangle.
6122
6123 2005-04-29  Jackson Harper  <jackson@ximian.com>
6124
6125         * ThemeWin32Classic.cs: Don't draw list view items that are
6126         outside the clipping rectangle.
6127
6128 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
6129
6130         * ListBox.cs: added horizontal item scroll
6131
6132 2005-04-29  Jackson Harper  <jackson@ximian.com>
6133
6134         * ThemeWin32Classic.cs: Remove some old debug code that was
6135         causing flicker with the new double buffering code.
6136
6137 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
6138
6139         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6140         behave like combobox and comboboxlist (still not sure if this is
6141         correct though).
6142
6143 2005-04-28  Jackson Harper  <jackson@ximian.com>
6144
6145         * ThemeWin32Classic.cs: Don't fill the middle of progress
6146         bars. This fills areas outside of the clip bounds that don't need
6147         to be filled.
6148
6149 2005-04-28  Jackson Harper  <jackson@ximian.com>
6150
6151         * Control.cs: Don't expose functionality to touch the image buffers.
6152         * ProgressBar.cs:
6153         * ListView.cs: We do not need to (and no longer can) manipulate
6154         the image buffers directly. All of this is handled by Control.
6155
6156 2005-04-28  Peter Bartok  <pbartok@novell.com>
6157
6158         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6159           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6160           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6161
6162 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6163
6164         * Combobox:
6165                 - Adjust control's height for non-simple comboboxes (bug fix)
6166                 - Remove dead code
6167         * MenuAPI.cs: remove unused var
6168         * ScrollBar.cs: remove unsed var
6169                  
6170         * ListBox.cs: unselect items when clearing
6171
6172 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6173
6174         * ListControl.cs: honors OnPositionChanged and default Selected Item
6175         * ListBox.cs: unselect items when clearing
6176
6177 2005-04-27  Jackson Harper  <jackson@ximian.com>
6178
6179         * X11Keyboard.cs: Initialize a default keyboard and give a warning
6180         if a "correct" keyboard is not found. This will make us not crash,
6181         but might give some users bad keyboard layouts...seems to be the
6182         same thing rewind does.
6183
6184 2005-04-27  Jackson Harper  <jackson@ximian.com>
6185
6186         * BindingManagerBase.cs: Attach the current/position changed
6187         handlers to their respective events.
6188
6189 2005-04-27  Jackson Harper  <jackson@ximian.com>
6190
6191         * Control.cs: Make sure that the first WM_PAINT does a full draw,
6192         not just a blit.
6193         * ThemeWin32Classic.cs: Don't fill the background for picture
6194         boxes. This could overright user drawing.
6195         * ComboBox.cs: Just fill the clipping rect not the entire client
6196         rect when drawing the background. This prevents pieces of the
6197         image buffer from getting overwritten and is theoretically faster.
6198
6199 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
6200
6201         * ComboBox.cs: Databinding support fixes, fire missing events
6202         * ListControl.cs: implement missing methods and properties, fixes
6203         * ThemeWin32Classic.cs: Databiding support on Drawing
6204         * CheckedListBox.cs: Databinding support fixes, fire missing events
6205         * ListBox.cs: Databinding support fixes, fire missing events
6206         
6207 2005-04-25  Peter Bartok  <pbartok@novell.com>
6208
6209         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6210
6211 2005-04-25  Jackson Harper  <jackson@ximian.com>
6212
6213         * TreeView.cs: Use the horizontal scrollbars height not width when
6214         determining how much of the client area is available.
6215
6216 2005-04-25  Jackson Harper  <jackson@ximian.com>
6217
6218         * Control.cs: Double buffering is handled differently now. As per
6219         the spec, the extra buffer is created in the WM_PAINT message and
6220         passed down to the control's drawing code.
6221         * GroupBox.cs:
6222         * Label.cs:
6223         * CheckBox.cs:
6224         * ProgressBar.cs:
6225         * RadioButton.cs:
6226         * ColorDialog.cs:
6227         * ComboBox.cs:
6228         * PropertyGridView.cs:
6229         * UpDownBase.cs:
6230         * MessageBox.cs:
6231         * MenuAPI.cs:
6232         * ListView.cs:
6233         * ButtonBase.cs:
6234         * SizeGrip.cs:
6235         * ScrollBar.cs:
6236         * ListBox.cs:
6237         * TrackBar.cs:
6238         * ToolBar.cs:
6239         * PictureBox.cs:
6240         * DateTimePicker.cs:
6241         * StatusBar.cs:
6242         * TreeView.cs: Update to new double buffering system.
6243         * MonthCalendar.cs: Uncomment block, as Capture is now
6244         working. Update to new double buffering
6245         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6246         * PaintEventArgs.cs: New internal method allows us to set the
6247         graphics object. This is used for double buffering.
6248         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6249         rectangle. The internal paint_area var has been removed from
6250         StatusBar. The clipping rect should be used instead.
6251         * Theme.cs: Give the PictureBox drawing method a clipping rect.
6252         * TabPage.cs: The RefreshTabs method was removed, so just call the
6253         tab controls Refresh method now.
6254         * TabControl.cs: Update to new double buffering. Make sure the
6255         handle is created before sizing the tab pages, otherwise we will
6256         get stuck in a loop.
6257
6258 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
6259
6260         * LinkLabel.cs: Fix typo, bug #74719; patch
6261           from Borja Sanchez Zamorano
6262
6263 2005-04-22  Jackson Harper  <jackson@ximian.com>
6264
6265         * TreeNode.cs: Implement Handle stuff.
6266         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6267
6268 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
6269
6270         * DataGridTextBoxColumn.cs: call base constructors, fixes
6271         * GridColumnStylesCollection.cs: missing events, methods, and functionality
6272         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6273         * DataGridTableStyle.cs: implements create default column styles
6274         * DataGridBoolColumn.cs: which types can handle
6275         * DataGrid.cs: missing methods, fixes, new functionality
6276         * DataGridColumnStyle.cs: fixes
6277
6278 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
6279         * FolderBrowserDialog.cs:
6280         - Use a thread to fill the TreeView
6281         - Adjusted some sizes
6282
6283 2005-04-19  Peter Bartok  <pbartok@novell.com>
6284
6285         * LinkLabel.cs: (Re-)create the pieces when setting the Text
6286           property. Fixes #74360.
6287
6288 2005-04-19  Jackson Harper  <jackson@ximian.com>
6289
6290         * XEventQueue.cs: Lock when getting the lockqueue size.
6291         * PictureBox.cs: Call base OnPaint
6292         
6293 2005-04-19  Peter Bartok  <pbartok@novell.com>
6294
6295         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6296           messages were no longer being processed (this broke BeginInvoke)
6297
6298           
6299 2005-04-18  Jackson Harper  <jackson@ximian.com>
6300
6301         * TreeView.cs: buglet that caused node images to get drawn
6302         regardless of whether or not they were in the clipping rectangle.
6303
6304 2005-04-18  Jackson Harper  <jackson@ximian.com>
6305
6306         * CurrencyManager.cs: There are four rules for GetItemProperties:
6307         - If the type is an array use the element type of the array
6308         - If the type is a typed list, use the type
6309         - If the list contains an Item property that is not an object, use
6310         that property
6311         - use the first element of the list if there are any elements in
6312         the list.
6313         
6314 2005-04-17  Jackson Harper  <jackson@ximian.oom>
6315
6316         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6317         click. This handles offsets for scrolling properly and reduces
6318         memory. Also fixed GetNode to not offset now that TopNode works
6319         properly.
6320         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6321         
6322 2005-04-17  Jackson Harper  <jackson@ximian.com>
6323
6324         * CursorConverter.cs: Initial implementation.
6325
6326 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6327
6328         * ListControl.cs: work towards complex data binding support on ListControl
6329         * CurrencyManager.cs: work towards complex data binding support on ListControl
6330         * ListBox.cs: work towards complex data binding support on ListControl
6331
6332
6333 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6334
6335         * GridTableStylesCollection.cs: fixes name and constructor
6336         * DataGridTableStyle.cs: fixes
6337         * DataGridBoolColumn.cs: fixes names and constructors
6338         * DataGrid.cs: define methods and properties. Some init implementations
6339         * DataGridCell.cs: define methods and properties. Some init implementations
6340         * GridTablesFactory.cs: Define methods and properties
6341
6342 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
6343
6344         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
6345         graphics port changes.  We still want the coordinates in global screen
6346         coordinates.
6347
6348 2005-04-14  Jackson Harper  <jackson@ximian.com>
6349
6350         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6351         check plus minus or checkbox clicks unless those features are enabled.
6352
6353 2005-04-14  Jackson Harper  <jackson@ximian.com>
6354
6355         * TreeView.cs: Add methods for setting the top and bottom visible
6356         nodes. TreeNode::EnsureVisible uses these methods.
6357         * TreeNode.cs: Implement EnsureVisible
6358
6359 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
6360
6361         * Form.cs: Pospone menu assignation if the window has not been created yet
6362         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6363         size and position
6364
6365 2005-04-12  Jackson Harper  <jackson@ximian.com>
6366
6367         * TreeView.cs: Set the TopNode properly when scrolling
6368         occurs. This has the added benifit of reducing the amount of
6369         walking that needs to be done when drawing. Also removed an old
6370         misleading TODO.
6371         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6372         
6373 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
6374
6375         * Timer.cs: fixes interval setting when the timer is already enabled
6376         
6377 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
6378
6379         * FolderBrowserDialog.cs: First approach
6380
6381 2005-04-09  Peter Bartok  <pbartok@novell.com>
6382
6383         * FolderBrowserDialog: Added
6384
6385 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
6386
6387         * LinkLabel.cs: move drawing code into the theme
6388         * ThemeWin32Classic.cs: drawing code and painting background bugfix
6389         * Theme.cs: define DrawLinkLabel method
6390
6391 2005-04-05  Jackson Harper  <jackson@ximian.com>
6392
6393         * BindingContext.cs: Use weak references so these bad actors don't
6394         stay alive longer then they need to.
6395
6396 2005-04-05  Jackson Harper  <jackson@ximian.com>
6397
6398         * ListControl.cs: Basic implementation of complex databinding.
6399         * ComboBox.cs:
6400         * ListBox.cs: Add calls to ListControl databinding methods.
6401
6402 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
6403
6404         * FileDialog.cs:
6405           - Don't change PopupButtonState to Normal when the
6406             PopupButton gets pressed several times.
6407           - Renamed ButtonPanel to PopupButtonPanel
6408
6409 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
6410
6411         * ColorDialog.cs: Use cached objects instead of creating them
6412         * LinkLabel.cs: Use cached objects instead of creating them
6413         * Splitter.cs: Use cached objects instead of creating them
6414         * FontDialog.cs: Use cached objects instead of creating them
6415         * PropertyGridView.cs: Use cached objects instead of creating them
6416         * MessageBox.cs: Use cached objects instead of creating them
6417         * FileDialog.cs: Use cached objects instead of creating them
6418         * ThemeWin32Classic.cs: Use cached objects instead of creating them
6419         * TreeView.cs: Use cached objects instead of creating them
6420         
6421 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
6422
6423         * Control.cs: use Equals to compare the font since no == op
6424         * ScrollBar.cs: use Equals to compare the font since no == op
6425
6426 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
6427
6428         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6429
6430 2005-04-01  Jackson Harper  <jackson@ximian.com>
6431
6432         * Binding.cs: Implement IsBinding.
6433         * BindingManagerBase.cs:
6434         * PropertyManager.cs:
6435         * CurrencyManager.cs: Add IsSuspended property.
6436
6437 2005-04-01  Jackson Harper  <jackson@ximian.com>
6438
6439         * Binding.cs: Had some IsAssignableFrom calls backwards.
6440
6441 2005-04-01  Jackson Harper  <jackson@ximian.com>
6442
6443         * Binding.cs: Handle null data members when pulling data.
6444         * PropertyManager.cs: Handle the data member being a property that
6445         does not exist.
6446
6447 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6448
6449         * DataGridTextBoxColumn.cs: fixes signature
6450         * DataGrid.cs: calls right constructor
6451
6452 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6453
6454         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6455         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6456         * GridTableStylesCollection.cs: implements GridTableStylesCollection
6457         * DataGridTableStyle.cs: implements DataGridTableStyle
6458         * DataGridBoolColumn.cs: implements DataGridBoolColumn
6459         * DataGridTextBox.cs: implements DataGridTextBox
6460         * DataGridColumnStyle.cs: implements DataGridColumnStyle
6461
6462 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
6463
6464         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6465
6466 2005-03-29  Peter Bartok  <pbartok@novell.com>
6467
6468         * Application.cs:
6469           - Properly implemented CompanyName property
6470           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6471             returns a path that includes CompanyName, ProductName and
6472             Version (fixes bug #70330)
6473
6474 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
6475
6476         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6477           fixes bug #72588.
6478
6479 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6480
6481         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6482         
6483           - Added ReadOnly CheckBox
6484           - Further refactoring: moved some code from Open-/SaveFileDialog
6485             to FileDialog
6486
6487 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6488
6489         * OpenFileDialog.cs: Fixed CheckFileExists
6490         * FileDialog.cs:
6491           Moved FileView and DirComboBox outside FileDialog class.
6492           They can now be used outside FileDialog
6493
6494 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6495
6496         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6497         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6498
6499 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6500
6501         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6502           - Added missing CreatePrompt property in SaveDialog
6503           - Overall SaveDialog handling should be better now
6504           - Added non standard ShowHiddenFiles property
6505           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6506           - Added InitialDirectory and RestoreDirectory support
6507
6508 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
6509
6510         * FileDialog.cs: Made dirComboBox usable
6511
6512 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
6513
6514         * FileDialog.cs: Added Filter support (case sensitiv)
6515
6516 2005-03-24  Jackson Harper  <jackson@ximian.com>
6517
6518         * TabControl.cs: Need a couple more pixels for the lines.
6519
6520 2005-03-23  Jackson Harper  <jackson@ximian.com>
6521
6522         * TabControl.cs: Give the tab page focus when it is selected.
6523
6524 2005-03-23  Jackson Harper  <jackson@ximian.com>
6525
6526         * TabControl.cs: Account for the drawing of tabs borders when
6527         invalidating. If the slider was clicked dont do click detection on
6528         the tabs.
6529
6530 2005-03-23  Jackson Harper  <jackson@ximian.com>
6531
6532         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6533
6534 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
6535
6536         * CategoryGridEntry.cs: Added
6537         * GridItem.cs: Added helper properties
6538         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6539         * GridEntry.cs: Updated code for collection
6540         * PropertyGrid.cs: Cleaned up some formatting
6541         * PropertyGridView.cs: Added drop down functionality for enums.
6542         * GridItemCollection.cs: Added enumerator logic
6543         * PropertyGridEntry.cs: Added
6544
6545 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6546
6547         * FileDialog.cs:
6548           - Removed unnecessary commented code
6549           - Fixed handling for entering the filename manually in the combobox
6550
6551 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6552
6553         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6554
6555 2005-03-18  Peter Bartok  <pbartok@novell.com>
6556
6557         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6558           them being touching the border
6559
6560 2005-03-18  Peter Bartok  <pbartok@novell.com>
6561
6562         * TextControl.cs: Quick hack to center text better
6563
6564 2005-03-18  Peter Bartok  <pbartok@novell.com>
6565
6566         * ControlPaint.cs:
6567           - Don't throw NotImplemented exceptions, just print a notice once
6568             instead (requested by Miguel). This makes running existing SWF
6569             apps a bit easier
6570         * Control.cs:
6571           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6572           - Added context menu trigger on right click
6573         * Panel.cs: Trigger invalidate on resize
6574         * StatusBar.cs:
6575           - Removed old double-buffer drawing
6576           - Added ResizeRedraw style to force proper update of statusbar
6577         * ListView.cs:
6578           - Removed debug output
6579         * ThemeWin32Classic.cs:
6580           - Fixed drawing of status bar, now draws Text property if there
6581             are no defined panels
6582
6583 2005-03-18  Jackson Harper  <jackson@ximian.com>
6584
6585         * ImageList.cs: When the image stream is set pull all the images
6586         from it.
6587         * ImageListStreamer.cs: Implement reading image list streams.
6588
6589 2005-03-18  Peter Bartok  <pbartok@novell.com>
6590
6591         * ThemeWin32Classic.cs (DrawPictureBox):
6592           - Fixed calculations for centered drawing
6593           - Fixed drawing for normal mode, not scaling the image on normal
6594
6595 2005-03-18  Peter Bartok  <pbartok@novell.com>
6596
6597         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6598           textbox
6599         * FileDialog.cs:
6600           - Made Open/Save button the accept button for FileDialog
6601           - Tied the cancel button to the IButtonControl cancel button
6602           - Save/Open now properly builds the pathname
6603           - Now handles user-entered text
6604           - Preventing crash on right-click if no item is selected
6605           - Fixed Text property, now uses contents of textbox
6606           - Fixed SelectedText property, now just returns the text part that
6607             is selected in the text box
6608
6609 2005-03-18  Jackson Harper  <jackson@ximian.com>
6610
6611         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6612         rect, make sure to de-adjust the interior rect after drawing the
6613         tab text.
6614
6615 2005-03-18  Peter Bartok  <pbartok@novell.com>
6616
6617         * MenuAPI.cs: Remove menu *before* executing selected action to
6618           prevent the menu from 'hanging around'
6619           
6620 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
6621
6622         * XplatUIOSX.cs: Implemented WorkingArea property
6623
6624 2005-03-17  Peter Bartok  <pbartok@novell.com>
6625
6626         * XplatUIX11.cs: Fixed menu coord calculations
6627         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6628           for calculating offsets
6629
6630 2005-03-17  Peter Bartok  <pbartok@novell.com>
6631
6632         * Hwnd.cs: Do not consider menu presence for default client
6633           rectangle location/size
6634         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6635           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6636           translation functions
6637         * FileDialog.cs: Fixed (what I presume is a) typo
6638
6639 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
6640
6641         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6642           X access (avoids X-Async errors)
6643
6644 2005-03-16  Jackson Harper  <jackson@ximian.com>
6645
6646         * TabControl.cs: Raise the SelectedIndexChanged event.
6647
6648 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
6649
6650         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6651           - Removed vertical ToolBar and replaced it with a custom panel
6652             (desktop and home button already work)
6653           - Added Help button (some controls get resized or relocated then)
6654           - Draw correct text depending on Open or Save.
6655           - Fixed some typos...
6656
6657 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
6658
6659         * ScrollBar.cs:
6660           - Only change Maximum and Minimum when need it (bug fix)
6661
6662 2005-03-15  Peter Bartok  <pbartok@novell.com>
6663
6664         * Form.cs: Use Handle for icon, to trigger creation if
6665           the window does not yet exist
6666         * Control.cs:
6667           - CanSelect: Slight performance improvement
6668           - Focus(): Preventing possible recursion
6669           - Invalidate(): Removed ControlStyle based clear flag setting
6670           - WM_PAINT: fixed logic for calling OnPaintBackground
6671           - WM_ERASEBKGND: Fixed logic, added call to new driver method
6672             EraseWindowBackground if the control doesn't paint background
6673         * XplatUIWin32.cs:
6674           - Moved EraseWindowBackground() method to internal methods
6675           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6676             is sent via SendMessage on BeginPaint call on Win32
6677         * XplatUIX11.cs:
6678           - Added EraseWindowBackground() method
6679           - No longer sends WM_ERASEBKGND on .Expose, but on call to
6680             PaintEventStart, which more closely matches Win32 behaviour
6681           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6682           - Fixed SetFocus() to properly deal with client and whole windows
6683         * Hwnd.cs: Added ErasePending property
6684         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6685         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6686
6687 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
6688
6689         * XplatUIOSX.cs:
6690           - Fix hard loop when timers exist.
6691           - Fix bugs with middle and right click for 3 button mice.
6692
6693 2005-03-11  Peter Bartok  <pbartok@novell.com>
6694
6695         * XplatUIX11.cs:
6696           - get_WorkingArea: Need to call X directly, GetWindowPos only
6697             returns cached data now
6698           - Added sanity check to GetWindowPos hwnd usage
6699
6700 2005-03-11  Jackson Harper  <jackson@ximian.com>
6701
6702         * BindingManagerBase.cs: This method isn't used anymore as
6703         PullData now updates the data in the control.
6704
6705 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
6706
6707         * Form.cs: fixes menu drawing on X11
6708         * MenuAPI.cs:  fixes menu drawing on X11
6709
6710 2005-03-11  Peter Bartok  <pbartok@novell.com>
6711
6712         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6713           from Jonathan Gilbert; should fix bug #73606
6714         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6715           in Screen coordinates. Thanks, Jordi.
6716         * Form.cs: Added missing attribute
6717
6718 2005-03-11  Peter Bartok  <pbartok@novell.com>
6719
6720         * Form.cs:
6721           - Rudimentary Mdi support
6722           - Removed outdated FormParent code
6723           - Implemented lots of missing properties and methods, still missing
6724             transparency support
6725           - Added missing attributes
6726           - Implemented support for MaximumBounds
6727           - Added firing of various events
6728         * XplatUI.cs: Added SetIcon() method
6729         * XplatUIDriver.cs: Added SetIcon() abstract
6730         * XplatUIOSX.cs: Stubbed out SetIcon() method
6731         * XplatUIX11.cs:
6732           - Implemented SetIcon() support
6733           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6734           - Switched to unix line endings
6735         * XplatUIWin32.cs:
6736           - Made POINT internal so for can access it as part of MINMAX
6737           - Implemented SetIcon() support
6738           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6739             native Mdi support again, might have to go managed)
6740         * Control.cs: Now fires the StyleChanged event
6741         * MdiClient.cs: Added; still mostly empty
6742
6743 2005-03-10  Peter Bartok  <pbartok@novell.com>
6744
6745         * SaveFileDialog.cs: Added emtpy file
6746
6747 2005-03-08  Peter Bartok  <pbartok@novell.com>
6748
6749         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6750           in turn triggers OnCreateContro) when creating a handle for the
6751           first time.
6752         * TextControl.cs: Fixed endless loop in certain cases when
6753           replacing the current selection
6754
6755 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
6756
6757         * ScrollBar.cs:
6758           - Honors NewValue changes in Scroll events allowing apps to change it
6759           - Adds First and Last Scroll events
6760           - Fixes Thumb events
6761
6762 2005-03-07  Peter Bartok  <pbartok@novell.com>
6763
6764         * Hwnd.cs: Added DefaultClientRectangle property
6765         * XplatUI.cs: Now using the X11 driver Where() method, which provides
6766           more detailed debug information
6767         * XplatUIX11.cs:
6768           - Fixed size-change feedback loop, where we would pull an old size
6769             off the queue and mistakenly change our window's size to an
6770             earlier value
6771           - Now compressing ConfigureNotify events, to reduce looping and
6772             redraw issues
6773         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
6774           is called
6775
6776 2005-03-07  Jackson Harper  <jackson@ximian.com>
6777
6778         * Binding.cs: Push data pushes from data -> property. Check if the
6779         property is readonly when attempting to set it.
6780
6781 2005-03-07  Jackson Harper  <jackson@ximian.com>
6782
6783         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
6784         instead of IsSubclassOf. Pulling data now sets the value on the
6785         control.
6786         * PropertyManager.cs:
6787         * CurrencyManager.cs: Just need to pull data when updating now,
6788         because PullData will set the value on the control.
6789
6790 2005-03-04  Jackson Harper  <jackson@ximian.com>
6791
6792         * Binding.cs: Implement data type parsing and converting on pulled
6793         data. TODO: Are there more ways the data can be converted?
6794
6795 2005-03-04  Jackson Harper  <jackson@ximian.com>
6796
6797         * Binding.cs: Support <Property>IsNull checks. Also bind to the
6798         controls Validating method so we can repull the data when the
6799         control loses focus.
6800
6801 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
6802
6803         * ColumnHeader.cs:
6804           - Fixes null string format
6805           
6806         * ListView.cs:
6807           - Adds enum type checks
6808           - Fixes redrawing and recalc need after changing some properties
6809           - Fixes on focus_item set after the event
6810           - Fixes adding columns after the control has been created
6811           
6812         * ThemeWin32Classic.cs:
6813           - Fixes CheckBox focus rectangle
6814           - Fixes ColumnHeader drawing
6815
6816
6817 2005-03-03  Jackson Harper  <jackson@ximian.com>
6818
6819         * Binding.cs: Bind to <Property>Changed events so we can detect
6820         when properties are changed and update the data.
6821
6822 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
6823
6824         * ImageList.cs:
6825           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
6826           - Fixes ImageList constructor with ImageList container
6827           - Fixes image scaling (wrong parameters at DrawImage)
6828
6829 2005-02-02  Jackson Harper  <jackson@ximian.com>
6830
6831         * Binding.cs: Make property searches case-insensitive. Eliminate
6832         some duplicated code.
6833
6834 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
6835
6836         * ComboBox.cs:
6837                 - Handle focus event
6838                 - Fix scrollbar events
6839                 - Discard highlighted item if remove it
6840                 - Fixes SelectedItem with strings
6841
6842 2005-03-01  Peter Bartok  <pbartok@novell.com>
6843
6844         * Control.cs:
6845           - Fixed Visible property, now follows (once again) parent chain
6846             to return false if any control in the chain is visible=false
6847           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
6848           - Fixed several places where is_visible instead of Visible was used
6849           - Implemented FIXME related to focus selection when setting focused
6850             control to be invisible
6851
6852         * XplatUIWin32.cs: Now using proper method to find out if window is
6853           visible. Thanks to Jordi for pointing it out
6854
6855 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
6856
6857         * ComboBox.cs: show/hide scrollbar instead of creating it
6858
6859 2005-02-27  Jackson Harper  <jackson@ximian.com>
6860
6861         * CurrencyManager.cs: Add PositionChanged stuff.
6862
6863 2005-02-27  Peter Bartok  <pbartok@novell.com>
6864
6865         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6866         * XplatUIOSX.cs: Added GetMenuOrigin() stub
6867         * XplatUIWin32.cs: Implemented GetMenuOrigin()
6868         * XplatUIX11.cs:
6869           - Implemented GetMenuDC()
6870           - Implemented GetMenuOrigin()
6871           - Implemented ReleaseMenuDC()
6872           - Implemented generation of WM_NCPAINT message
6873           - Implemented generation and handling of WM_NCCALCSIZE message
6874         * Form.cs: Added debug helper message for Jordi's menu work
6875         * Hwnd.cs:
6876           - Modified ClientRect property; added setter, fixed getter to handle
6877             setting of ClientRect
6878           - Added MenuOrigin property
6879
6880 2005-02-26  Peter Bartok  <pbartok@novell.com>
6881
6882         * XplatUIX11.cs:
6883           - Destroys the caret if a window that's being destroyed contains it
6884           - Ignores expose events coming from the X11 queue for windows that
6885             already are destroyed
6886           - Now uses the proper variable for handling DestroyNotify, before we
6887             marked the wrong window as destroyed
6888           - Improved/added some debug output
6889
6890 2005-02-26  Peter Bartok  <pbartok@novell.com>
6891
6892         * X11Keyboard.cs: Fixes to work on 64bit systems
6893
6894 2005-02-26  Peter Bartok  <pbartok@novell.com>
6895
6896         * Control.cs:
6897           - Now calling OnHandleDestroyed from DestroyHandle()
6898             instead of Dispose()
6899           - Removed bogus call to controls.Remove() from DestroyHandle()
6900
6901 2005-02-26  Peter Bartok  <pbartok@novell.com>
6902
6903         * Control.cs: Properly destroy child windows when our handle is
6904           destroyed
6905
6906 2005-02-25  Peter Bartok  <pbartok@novell.com>
6907
6908         * XplatUI.cs:
6909           - Added 'DriverDebug' define to allow tracing XplatUI API calls
6910           - Alphabetized Static Methods and Subclasses
6911
6912         * XplatUIX11.cs:
6913           - Added XException class to allow custom handling of X11 exceptions
6914           - Created custom X11 error handler, tied into XException class
6915           - Added support for MONO_XEXCEPTIONS env var to allow the user
6916             to either throw an exception on X errors or continue running
6917             after displaying the error
6918           - Added handling of DestroyNotify message
6919           - Added handler for CreateNotify message (still disabled)
6920           - Improved (tried to at least) Where method to provide file and lineno
6921         * X11Structs.cs:
6922           - Added XErrorHandler delegate
6923           - Added XRequest enumeration (to suppor translation of errors)
6924
6925 2005-02-25  Jackson Harper  <jackson@ximian.com>
6926
6927         * PropertyManager.cs: Implement editing features
6928         * CurrencyManager.cs:
6929         * Binding.cs: First attempt at UpdateIsBinding
6930         * BindingManagerBase.cs: Call UpdateIsBinding before
6931         pushing/pulling data.
6932
6933 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
6934
6935         * MenuAPI.cs: Respect disabled items
6936         * ThemeWin32Classic.cs
6937                 - Caches ImageAttributes creation for DrawImageDisabled
6938                 - Fixes vertical menu line drawing
6939                 - Draws disabled arrows in disable menu items
6940
6941 2005-02-24  Peter Bartok  <pbartok@novell.com>
6942
6943         * Hwnd.cs:
6944           - Added UserData property to allow associating arbitrary objects
6945             with the handle
6946           - Fixed leak; now removing Hwnd references from static windows array
6947         * XplatUIWin32.cs:
6948           - Fixed Graphics leak in PaintEventEnd
6949           - Removed usage of HandleData, switched over to Hwnd class
6950         * HandleData.cs: Removed, obsoleted by Hwnd.cs
6951
6952 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
6953
6954         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6955         * ScrollBar.cs: Fixes bug
6956         * TrackBar.cs: removes death code, clipping, mimize refreshes,
6957          keyboard navigation enhancements
6958
6959 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
6960
6961         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6962         * GroupBox.cs: Add control styles
6963         * Label.cs: Add control styles
6964         * UpDownBase.cs: Add control styles
6965         * ListBox.cs: Add control styles
6966         * XplatUIWin32.cs: Fixes wrong parameter order
6967
6968
6969 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
6970
6971         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6972
6973 2005-02-23  Jackson Harper  <jackson@ximian.com>
6974
6975         * PropertyManager.cs: Implement property binding. This doesn't
6976         seem to work yet though as (I think) there are some bugs in
6977         System.ComponentModel.PropertyDescriptor.
6978         * BindingContext.cs: Use new PropertyManager constructor.
6979
6980 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
6981
6982         * ProgressBar.cs: use clip region in ProgressBar
6983         * ThemeWin32Classic.cs: use clip region in ProgressBar
6984
6985 2004-02-22  Jackson Harper  <jackson@ximian.com>
6986
6987         * BindingsCollection.cs: Remove some debug code.
6988
6989 2005-02-22  Jackson Harper  <jackson@ximian.com>
6990
6991         * BindingContext.cs:
6992         * ControlBindingsCollection.cs:
6993         * CurrencyManager.cs:
6994         * Binding.cs:
6995         * BindingManagerBase.cs: Initial implementation
6996         * BindingsCollection.cs: Add an internal contains method that the
6997         BindingManagerBase uses to ensure bindings aren't added twice to
6998         the collection.
6999         * PropertyManager.cs: Stubbed out.
7000         * Control.cs:
7001         * ContainerControl.cs: Hook up databinding
7002         
7003 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7004
7005         * XplatUIOSX.cs:
7006           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7007           Fixed Invalidate/Update chain.
7008           Fixed tons of other minor bugs (this is almost a complete rewrite).
7009
7010 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7011
7012         * ComboBox.cs: do subcontrol creation when the control is created
7013
7014 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7015
7016         * Label.cs: fixes image drawing (image and imagelist)
7017         * ThemeWin32Classic.cs: cache brushes
7018         
7019 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7020
7021         * Form.cs: Move menu drawing code to Theme class
7022         * ComboBox.cs: Move ComboBox drawing code to Theme class
7023         * MenuItem.cs: Move menu drawing code to Theme class
7024         * MenuAPI.cs: Move menu drawing code to Theme class
7025         * ThemeWin32Classic.cs: New methods
7026         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7027         * ListBox.cs: Move Listbox drawing code to Theme class
7028         * Theme.cs: New methods
7029
7030 2005-02-20  Peter Bartok  <pbartok@novell.com>
7031
7032         * Control.cs:
7033           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7034             only process mnemonics on those)
7035           - Fixed event sequence for key handling; first calling
7036             ProcessKeyEventArgs now
7037         * TextBoxBase.cs:
7038           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7039             for processing non-character keys
7040           - Fixed WM_CHAR to generate proper event sequence before processing
7041         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7042           generation
7043
7044 2005-02-19  Peter Bartok  <pbartok@novell.com>
7045
7046         * UserControl.cs: Added TextChanged event; added attributes
7047         * SizeGrip.cs: Implemented resizing and optional display of grip
7048         * Form.cs: Fixed attribute
7049         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7050           Changed meaning of ScrollWindow bool argument; instead of the
7051           clear attribute (which will be true usually anyway), it gives the
7052           option of moving child controls as well.
7053         * XplatUIX11.cs:
7054           - Changed to match new ScrollWindow argument
7055           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7056             now handles the implicit parent window a WM puts around us
7057         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7058           to work)
7059         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7060         * TreeView.cs: Adjusted to new ScrollWindow arguments
7061
7062 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7063
7064         * Form.cs: Menu integration with non-client area
7065         * MenuItem.cs: Menu integration with non-client area
7066         * MenuAPI.cs: Menu integration with non-client area
7067
7068 2005-02-18  Peter Bartok  <pbartok@novell.com>
7069
7070         * MethodInvoker.cs: Added
7071         * MdiLayout.cs: Added
7072         * SendKeys.cs: Started implementation
7073         * ErrorIconAlignment.cs: Added
7074
7075 2005-02-18  Peter Bartok  <pbartok@novell.com>
7076
7077         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7078         * Form.cs: Added handling for Menu-related Non-client messages
7079
7080 2005-02-17  Peter Bartok  <pbartok@novell.com>
7081
7082         * UpDownBase.cs: Fixed typo, compilation errors
7083         * DomainUpDown.cs: Fixed attribute value
7084
7085 2005-02-16  Miguel de Icaza  <miguel@novell.com>
7086
7087         * UpDownBase.cs: Attach entry events.
7088         Propagate events.
7089         Add ForeColor property, Focused, InterceptArrowKeys (interception
7090         does not work yet).
7091
7092 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
7093
7094         * Form.cs:
7095                 - Redraw non client are on Setmenu
7096                 - Calc proper menu starting point
7097
7098 2005-02-17  Peter Bartok  <pbartok@novell.com>
7099
7100         * Application.cs: Fixed message_filter check
7101
7102 2005-02-17  Peter Bartok  <pbartok@novell.com>
7103
7104         * Application.cs: Now calls registered message filters
7105         * DockStyle.cs: Fixed attribute
7106         * Form.cs: Fixed attribute
7107         * Menu.cs: Fixed attribute
7108         * ToolTip.cs: Fixed attribute
7109         * TreeNode.cs: Added missing attributes and arranged in regions
7110         * PropertyGrid.cs: Fixed signatures
7111         * TreeNodeCollection.cs: Added attributes
7112         * Splitter.cs: Added missing attributes; arranged into regions
7113         * TabPage.cs: Added missing attributes; arranged into regions
7114         * TextBoxBase.cs: Added missing attributes
7115         * TextBox.cs: Added missing attributes
7116         * ArrangeDirection.cs: Added missing attributes
7117         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7118         * ToolBarButton.cs: Fixed attributes
7119         * AnchorStyles.cs: Fixed attribute
7120         * TrackBar.cs: Fixed attributes
7121         * TabControl.cs: Added missing attributes and arranged into regions
7122         * ToolBar.cs: Fixed attribute
7123         * StatusBar.cs: Fixed signature, organized into regions and added
7124           attributes
7125         * StatusBarPanel.cs: Fixed attributes
7126         * ContentsResizedEventArgs.cs: Implemented
7127         * ContentsResizedEventHandler.cs: Implemented
7128         * DateBoldEventArgs.cs: Implemented
7129         * DateBoldEventHandler.cs: Implemented
7130         * UpDownEventArgs.cs: Implemented
7131         * UpDownEventHandler.cs: Implemented
7132         
7133 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
7134
7135         * Form.cs: first Menu NC refactoring
7136         * MenuAPI.cs: first Menu NC refactoring
7137         
7138 2005-02-16  Peter Bartok  <pbartok@novell.com>
7139
7140         * ImeMode.cs: Added missing attributes
7141         * Menu.cs: Fixed attribute
7142         * GroupBox.cs: Fixed attribute
7143         * Label.cs: Fixed attribute
7144         * ColorDialog.cs (RunDialog): Removed TODO attribute
7145         * ComboBox.cs: Fixed attributes
7146         * ListControl.cs: Added missing attributes
7147         * PropertyGrid.cs: Fixed attributes
7148         * Control.cs: Fixed attributes
7149         * ListViewItem.cs: Added TypeConverter attribute
7150         * NotifyIcon.cs: Fixed attributes
7151         * ListView.cs: Fixed attributes
7152         * ButtonBase.cs: Fixed attribute
7153         * ImageList.cs: Added missing attributes
7154         * ContainerControl.cs: Fixed signature
7155         * CheckedListBox.cs: Fixed attribute; added missing attributes
7156         * Panel.cs: Fixed attributes
7157         * PropertyTabChangedEventArgs.cs: Added missing attribute
7158         * PropertyValueChangedEventArgs.cs: Added missing attribute
7159         * Binding.cs: Fixed attribute
7160         * ListViewItemConverter: Implemented ListViewSubItemConverter class
7161         * ListBox.cs: Fixed attribute; added missing attributes;
7162         * ScrollableControl.cs: Added missing attributes
7163         * PictureBox.cs: Added missing attributes; implemented missing property
7164         * DateTimePicker.cs: Added missing attributes
7165         * Theme.cs (ToolWindowCaptionHeight): Fixed type
7166         * MonthCalendar.cs: Fixed attributes
7167         * StatusBarPanel.cs: Added missing attributes
7168         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7169
7170 2005-02-16  Peter Bartok  <pbartok@novell.com>
7171
7172         * TextBoxBase.cs: The previous method to enforce height yet remember
7173           the requested high was less than ideal, this is an attempt to do
7174           it better.
7175         * Control.cs: Added comment about possible problem
7176         * Copyright: Updated format
7177         * GridItemType.cs: Fixed swapped values
7178
7179 2005-02-15  Jackson Harper  <jackson@ximian.com>
7180
7181         * BaseCollection.cs: Use property so we never access an
7182         uninitialized list. Also initialize the list in the property.
7183
7184 2005-02-15  Peter Bartok  <pbartok@novell.com>
7185
7186         * GroupBox.cs (ProcessMnemonic): Implemented
7187         * Label.cs (ProcessMnemonic): Implemented
7188         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7189           hotkeys
7190
7191 2005-02-15  Peter Bartok  <pbartok@novell.com>
7192
7193         * RadioButton.cs (ProcessMnemonic): Implemented
7194         * CheckBox.cs (ProcessMnemonic): Implemented
7195         * Control.cs:
7196           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7197             handling
7198           - Added internal method to allow calling ProcessMnemonic from other
7199             controls
7200         * ContainerControl.cs:
7201           - Started support for handling validation chain handling
7202           - Implemented ProcessMnemonic support
7203           - Added Select() call to Active, to make sure the active control
7204             receives focus
7205         * Form.cs: Setting toplevel flag for Forms (this was lost in the
7206           FormParent rewrite)
7207         * ThemeWin32Classic.cs:
7208           - DrawCheckBox(): Fixed stringformat to show hotkeys
7209           - DrawRadioButton(): Fixed stringformat to show hotkeys
7210         * CommonDialog.cs: Removed WndProc override, not needed
7211
7212 2005-02-14  Peter Bartok  <pbartok@novell.com>
7213
7214         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7215           missed those in the rewrite
7216
7217 2005-02-14  Miguel de Icaza  <miguel@novell.com>
7218
7219         * NumericUpDown.cs (Increment, ToString): Add.
7220         (DecimalPlaces): implement.
7221         
7222         Add attributes.
7223         
7224         * UpDownBase.cs: Add the designer attributes.
7225
7226 2005-02-13  Peter Bartok  <pbartok@novell.com>
7227
7228         * Panel.cs: Removed border_style, now in Control
7229         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7230           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7231
7232 2005-02-13  Peter Bartok  <pbartok@novell.com>
7233
7234         * MouseButtons.cs: Added missing attributes
7235         * XplatUIStructs.cs: Added enumeration for title styles
7236         * LeftRightAlignment.cs: Added missing attributes
7237         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7238           it compatible with Graphics.FromHwnd()
7239         * SelectedGridItemChangedEventArgs.cs: Fixed property type
7240         * Keys.cs: Added missing attributes
7241         * SelectionRange.cs: Added missing attributes
7242         * SelectionRangeConverter.cs: Added
7243         * XplatUI.cs:
7244           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7245             ReleaseMenuDC methods
7246           - Renamed ReleaseWindow to UngrabWindow
7247           - Added proper startup notice to allow version identification
7248         * Form.cs:
7249           - Added missing attributes
7250           - Removed FormParent concept
7251         * Label.cs: Removed border_style field, now in Control
7252         * RadioButton.cs: Now properly selects RadioButton when focus is
7253           received
7254         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7255         * Control.cs:
7256           - Added missing attributes
7257           - Added borderstyle handling
7258           - Removed FormParent concept support
7259           - Fixed calls to XplatUI to match changed APIs
7260           - Fixed bug that would case us to use disposed Graphics objects
7261           - Removed unneeded internal methods
7262           - PerformLayout(): Fixed to handle DockStyle.Fill properly
7263           - SelectNextControl(): Fixed to properly check common parents
7264         * TextBoxBase.cs: Removed border_style field (now in Control)
7265         * MessageBox.cs:
7266           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7267             fixed calculations for form size
7268           - Added support for localized strings and icons
7269           - Improved form size calculations, added border
7270         * ListView.cs: Removed border_style field (now in Control)
7271         * X11Structs.cs: Moved several structs from X11 driver here
7272         * X11Keyboard.cs: Changed debug message
7273         * Application.cs: Removed FormParent concept support
7274         * CommonDialog.cs:
7275           - Resetting end_modal flag
7276           - Removed FormParent concept support
7277         * NativeWindow.cs: Removed FormParent concept support
7278         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7279           Client area and Non-Client whole window to allow support for WM_NC
7280           messages
7281         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7282           prevent using it until it supports Hwnd as per Geoff Norton's request
7283         * ToolBar.cs: Fixed drawing, was not doing proper drawing
7284         * PictureBox.cs: Removed border_style field, now in Control
7285         * XplatUIWin32.cs: Added new driver methods
7286
7287 2005-02-12  Peter Bartok  <pbartok@novell.com>
7288
7289         * OpacityConverter.cs: Implemented
7290         * Hwnd.cs: Internal class to support drivers that need to emulate
7291           client area/non-client area window behaviour
7292
7293 2005-02-11  Peter Bartok  <pbartok@novell.com>
7294
7295         * KeysConverter.cs: Implemented
7296
7297 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
7298
7299         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7300         * LinkLabel: Added missing attributes
7301         * MainMenu.cs: fixes ToString
7302         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7303         * ListBox.cs: fixes event position
7304         * TrackBar.cs: adds missing attributes and events
7305         
7306 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
7307
7308         * MenuItem.cs: Use SystemInformation and bug fixes
7309         * MenuAPI.cs: Use SystemInformation and bug fixes
7310
7311 2005-02-09  Jackson Harper  <jackson@ximian.com>
7312
7313         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7314         their keystate otherwise things like VK_MENU get stuck "on".
7315
7316 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
7317
7318         * ListBox.cs: Fixes AddRange bug
7319         
7320 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
7321
7322         * ProgressBar.cs
7323                 - Add missing attributes
7324                 - Add missing method
7325                 
7326         * CheckedListBox.cs: Added missing attributes
7327                 - Add missing attributes
7328                 - Remove extra method
7329         
7330         * ComboBox.cs: Added missing attributes
7331         * VScrollBar.cs: Added missing attributes
7332         * ScrollBar.cs:  Added missing attributes
7333         * ListBox.cs: Fixes signature, add missing consts
7334         * LinkArea.cs:   Added missing attributes
7335         
7336
7337 2005-02-08  Peter Bartok  <pbartok@novell.com>
7338
7339         * Menu.cs: Added missing attributes
7340         * MainMenu.cs: Added missing attributes
7341         * GroupBox.cs: Added missing attributes
7342         * Label.cs: Added missing attributes
7343         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7344         * ColorDialog.cs:
7345           - Added Instance and Options properties
7346           - Added missing attributes
7347         * Cursor.cs: Made Serializable
7348         * NotifyIcon: Added missing attributes
7349         * MenuItem.cs: Added missing attributes
7350         * TextBoxBase.cs: Implemented AppendText() and Select() methods
7351         * Panel.cs: Added Missing attributes
7352         * MonthCalendar.cs: Fixed CreateParams
7353
7354 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7355         
7356         * LinkLabel.cs:
7357                 - Fixes signature
7358                 - Fixes issues with links
7359                 - Adds the class attributes
7360
7361 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7362         
7363         * ComboBox.cs:
7364                 - Fixes button when no items available in dropdown
7365                 - Fixes repainting problems
7366                 - Adds the class attributes
7367                 
7368 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7369
7370         * XplatUIOSX.cs: Detect the menu bar and title bar height from
7371         the current theme.  Cache these on startup.
7372
7373 2005-02-07  Jackson Harper  <jackson@ximian.com>
7374
7375         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7376         the scrollbar buttons when they are depressed.
7377
7378 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7379
7380         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7381         Get the display size from the main displayid.  We currently dont
7382         support multiple display configurations.
7383
7384 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7385
7386         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7387
7388 2005-02-07  Miguel de Icaza  <miguel@novell.com>
7389
7390         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7391
7392 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
7393
7394         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7395
7396 2005-02-04  Jackson Harper  <jackson@ximian.com>
7397
7398         * ThemeWin32Classic.cs: Respect the clipping rect when
7399         drawing. Only fill the intersection of clips and rects so there
7400         isn't a lot of large fills.
7401         * ScrollBar.cs: Pass the correct clipping rect to the theme
7402         engine. Remove some debug code.
7403
7404 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
7405         
7406         * DateTimePicker.cs:
7407                 - Fixed crash on DateTime.Parse, use Constructor instead
7408
7409 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7410         
7411         * MenuItem.cs:
7412         * MenuAPI.cs:
7413                 - Owner draw support (MeasureItem and DrawItem)
7414
7415 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7416         
7417         *  Menu.cs:
7418                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7419                 - Fixes MenuItems.Add range
7420         * MenuItem.cs:
7421                 - MergeMenu and Clone and CloneMenu functions
7422
7423 2005-02-03  Jackson Harper  <jackson@ximian.com>
7424
7425         * ScrollBar.cs: Make abstract
7426         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7427         is abstract.
7428
7429 2005-02-03  Jackson Harper  <jackson@ximian.com>
7430
7431         * ScrollBar.cs: First part of my scrollbar fixups. This removes
7432         all the unneeded refreshes and uses invalidates with properly
7433         computed rects.
7434
7435 2005-02-03  Peter Bartok  <pbartok@novell.com>
7436
7437         * ComponentModel.cs: Added
7438         * IDataGridEditingService.cs: Added
7439         * Timer.cs: Added missing attributes
7440         * ToolTip.cs: Added missing attributes
7441
7442 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
7443
7444         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7445
7446 2005-02-03  Peter Bartok  <pbartok@novell.com>
7447
7448         * ListBox.cs: Added missing attributes
7449
7450 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
7451         
7452         * ListBox.cs:
7453                 - Fixes font height after font change
7454                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7455                 
7456 2005-02-02  Peter Bartok  <pbartok@novell.com>
7457
7458         * HandleData.cs: Introduced static methods to allow class
7459           to be more self-contained and track it's own HandleData objects
7460         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7461           HandleData to use new static methods
7462
7463 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
7464
7465         * Combobox.cs:
7466                 - Fixes default size and PreferredHeight
7467                 - Missing events
7468                 - ObjectCollection.Insert implementation
7469                 
7470         * ListControl.cs
7471                 - Fixes signature
7472         * ListBox.cs:
7473                 - Several fixes
7474                 - ObjectCollection.Insert implementation
7475                 - No selection after clean
7476                 - Small fixes
7477
7478 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7479
7480         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7481
7482 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
7483
7484         * Combobox.cs:
7485                 - Caches ItemHeight calculation for OwnerDrawVariable
7486                 - Handles dropdown properly
7487                 - Fixes several minor bugs
7488
7489 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7490
7491         * ListBox.cs:
7492                 - Fixes 71946 and 71950
7493                 - Fixes changing Multicolumn on the fly
7494                 - Fixes keyboard navigation on Multicolumn listboxes
7495
7496 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7497         
7498         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7499         crash reporter log.
7500
7501 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7502
7503         * XplatUIOSX.cs: Allow applications to actually exit.
7504
7505 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7506
7507         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
7508         their parent at creation time rather than lazily later.  Fixes a major
7509         regression we were experiencing.
7510
7511 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7512
7513         * ThemeWin32Classic.cs: more date time picker painting fixes
7514         * DateTimePicker.cs: more monthcalendar drop down fixes
7515         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7516
7517 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7518
7519         * ScrollBar.cs:
7520                 - When moving the thumb going outside the control should stop the moving
7521                 - Adds the firing of missing events
7522                 - Fixes no button show if Size is not specified
7523                 - End / Home keys for keyboard navigation
7524
7525 2005-01-30  Peter Bartok  <pbartok@novell.com>
7526
7527         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7528           sanity check to prevent theoretical loop
7529         * XplatUIWin32.cs (SetVisible): Removed debug output
7530         * XplatUIX11.cs (SystrayChange): Added sanity check
7531         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7532         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7533           behaviour, valid until the X11 client window rewrite is done
7534         * TextBox.cs (ctor): Setting proper default foreground and background
7535           colors
7536
7537 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
7538
7539         * Theme: Added DrawDateTimePicker to interface
7540         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7541         * DateTimePicker.cs: Created (still needs keys and painting code)
7542         * DateTimePickerFormat.cs: added
7543         * MonthCalendar.cs: fixed CreateParams for popup window mode
7544           
7545 2005-01-29  Peter Bartok  <pbartok@novell.com>
7546
7547         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7548           this should also the calculations for ligher/darker
7549         * Theme.cs: Fixed defaults for ScrollBar widths/heights
7550
7551 2005-01-29  Peter Bartok  <pbartok@novell.com>
7552
7553         * ArrangeDirection.cs: Added
7554         * ArrangeStartingPositon.cs: Added
7555         * SystemInformation.cs: Implemented
7556         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7557           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7558           used by SystemInformation class
7559         * X11Strucs.cs: Added XSizeHints structure
7560         * MenuAPI.cs:
7561           - Fixed CreateParams to make sure the menu window is always visible
7562           - TrackPopupMenu: Added check to make sure we don't draw the
7563             menu offscreen
7564
7565 2005-01-29  Peter Bartok  <pbartok@novell.com>
7566
7567         * HandleData.cs: Added method for altering invalid area
7568         * TextBoxBase.cs: Implemented TextLength
7569
7570 2005-01-28  Peter Bartok  <pbartok@novell.com>
7571
7572         * XplatUIX11.cs: Improvement over last patch, not sending
7573           the WM_PAINT directly anymore, instead we scroll any pending
7574           exposed areas and let the system pick out the WM_PAINT later
7575
7576 2005-01-28  Peter Bartok  <pbartok@novell.com>
7577
7578         * SWF.csproj: Deleted, no longer used. Instead,
7579           Managed.Windows.Forms/SWF.csproj should be used
7580         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7581           directly, to avoid a potential race condition with the next
7582           scroll
7583
7584 2005-01-28  Peter Bartok  <pbartok@novell.com>
7585
7586         * XplatUI.cs: Made class internal
7587
7588 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
7589
7590         * CheckedListBox.cs:
7591                 - Draw focus
7592                 - Fixed Drawing
7593                 - Missing methods and events
7594
7595 2005-01-27  Peter Bartok  <pbartok@novell.com>
7596
7597         * Application.cs (Run): Don't use form if we don't have one
7598
7599 2005-01-27  Peter Bartok  <pbartok@novell.com>
7600
7601         * TextBoxBase.cs (get_Lines): Fixed index off by one error
7602
7603 2005-01-27  Peter Bartok  <pbartok@novell.com>
7604
7605         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7606         * GridItem.cs: Added; Patch by Jonathan S. Chambers
7607         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7608         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7609         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7610         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7611         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7612         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7613         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7614         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7615         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7616         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7617
7618 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7619
7620         * Combobox.cs:
7621                 - Draw focus on Simple Combobox
7622                 - Fixes drawing issues
7623                 - fixes 71834
7624
7625 2005-01-27  Peter Bartok  <pbartok@novell.com>
7626
7627         * Form.cs:
7628           - Place window in default location, instead of hardcoded 0/0
7629           - Send initial LocationChanged event
7630         * Control.cs:
7631           - UpdateBounds after creation to find out where the WM placed us
7632           - Make sure that if the ParentForm changes location the Form
7633             is notified
7634         * XplatUIX11.cs: XGetGeometry will not return the coords relative
7635             to the root, but to whatever the WM placed around us.
7636             Translate to root coordinates before returning toplevel
7637             coordinates
7638         * XplatUIWin32.cs: Removed debug output
7639         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7640           flag to GetWindowPos, to allow translation of coordinates on X11
7641
7642 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7643
7644         * ListBox.cs: connect LostFocus Event
7645
7646 2005-01-27  Peter Bartok  <pbartok@novell.com>
7647
7648         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7649           XplatUIX11.cs: Extended the Systray API
7650         * Form.cs: Removed debug output
7651         * Application.cs: Fixed focus assignment, always need to call
7652           XplatUI.Activate() since Form.Activate() has rules that may
7653           prevent activation
7654         * NotifyIcon.cs: Should be complete now
7655         * ToolTip.cs: Worked around possible timer bug
7656
7657 2005-01-27  Jackson Harper  <jackson@ximian.com>
7658
7659         * TabControl.cs:
7660         - Only invalidate the effected tabs when the
7661         selected index changes. This reduces drawing and gets rid of some
7662         flicker.
7663         - Only refresh if the tabs need to be shifted, otherwise only
7664         invalidate the slider button.
7665         - On windows the tabs are not filled to right if the slider is
7666         visible.
7667         
7668 2005-01-27  Jackson Harper  <jackson@ximian.com>
7669
7670         * TabControl.cs: Only refresh on mouseup if we are showing the
7671         slider. Also only invalidate the button whose state has changed.
7672
7673 2005-01-26  Peter Bartok  <pbartok@novell.com>
7674
7675         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7676         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7677           and SystrayRemove() methods
7678         * XplatUIOSX.cs: Stubbed Systray methods
7679         * XplatUIX11.cs:
7680           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7681             methods
7682           - Fixed broken XChangeProperty calls (marshalling messed up things)
7683         * X11Structs.cs: Added enums and structs required for Size hinting
7684         * NotifyIcon.cs: Added & implemented
7685
7686 2005-01-26  Jackson Harper  <jackson@ximian.com>
7687
7688         * TabControl.cs: Space vertically layed out tabs properly.
7689
7690 2005-01-26  Peter Bartok  <pbartok@novell.com>
7691
7692         * Form.cs (CreateClientParams): Always set the location to 0,0
7693           since we're a child window.
7694
7695         * Control.cs (SetVisibleCore): Always explicitly setting the location
7696           of a toplevel window, apparently X11 doesn't like to move windows
7697           while they're not mapped.
7698
7699 2005-01-26  Jackson Harper  <jackson@ximian.com>
7700
7701         * TabControl.cs: Implement FillToRight size mode with vertically
7702         rendered tabs.
7703
7704 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
7705
7706         * ControlPaint.cs, ThemeWin32Classic.cs
7707                 - Fixes DrawFocusRectangle
7708
7709 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
7710
7711         * MenuAPI.cs:
7712                 - MenuBar tracking only starts when item is first clicked
7713                 - Fixes menu hidding for multiple subitems
7714                 - Unselect item in MenuBar when item Executed
7715                 - Fixes bug 71495
7716
7717 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
7718
7719         * ListControl.cs:
7720                 - IsInputKey for ListBox
7721         * ListBox.cs:
7722                 - Focus item
7723                 - Shift and Control item selection
7724                 - Implement SelectionMode.MultiExtended
7725                 - Fixes RightToLeft
7726         * ComboBox.cs:
7727                 - IsInputKey implemented
7728                 - Do not generate OnTextChangedEdit on internal txt changes
7729                 
7730 2005-01-23  Peter Bartok  <pbartok@novell.com>
7731
7732         * AccessibleObject.cs: Partially implemented Select()
7733         * MonthCalendar.cs: Added missing attributes and events
7734         * Form.cs: Fixed CreateParams behaviour, now controls derived from
7735           form can properly override CreateParams.
7736         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7737           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7738           Control performs Invalidate & Update
7739         * NativeWindow (CreateHandle): Added special handling for Form
7740           and Form.FormParent classes to allow overriding of From.CreateParams
7741         * Control.cs:
7742           - ControlNativeWindow: Renamed 'control' variable to more intuitive
7743             name 'owner'
7744           - ControlNativeWindow: Added Owner property
7745           - Removed usage of Refresh() on property changes, changed into
7746             Invalidate(), we need to wait until the queue is processed for
7747             updates, direct calls might cause problems if not all vars for
7748             Paint are initialized
7749           - Added call to UpdateStyles() when creating the window, to set any
7750             styles that CreateWindow might have ignored.
7751           - Added support for Form CreateParent overrides to UpdateStyles()
7752         * MessageBox.cs: Removed no longer needed FormParent override stuff,
7753           CreateParams are now properly overridable
7754         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7755           CreateParams are now properly overridable
7756
7757 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
7758
7759         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
7760         OnTextBoxChanged.
7761
7762         Capture LostFocus and OnTextBoxChanged.  The later introduces a
7763         recursive invocation that I have not figured out yet.
7764
7765         Reset the timer when not using (it was accumulating).
7766
7767
7768         (OnTextBoxChanged): Set UserEdit to true here to track whether the
7769         user has made changes that require validation.
7770
7771         Reset changing to avoid loops.
7772
7773 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
7774
7775         * NumericUpDown.cs: Display value at startup.
7776
7777         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
7778         ValidateEditText.
7779
7780         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
7781         filled in.  Added some basic parsing of text.
7782
7783         Still missing the OnXXX method overrides, and figuring out the
7784         events that must be emitted.
7785
7786         * UpDownBase.cs: Handle UserEdit on the Text property.
7787         
7788 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
7789
7790         * ComboBox.cs:
7791           - Fixes IntegralHeight
7792           - ToString method
7793
7794 2005-01-21  Jackson Harper  <jackson@ximian.com>
7795
7796         * TabControl.cs: Set the SelectedIndex property when SelectedTab
7797         is set so that the page visibility is updated and the tabs are
7798         sized correctly.
7799
7800 2005-01-21  Jackson Harper  <jackson@ximian.com>
7801
7802         * TabControl.cs: Use cliping rectangle for blitting. Give the
7803         theme the clipping rect so we can do clipping while
7804         drawing. Remove some debug code.
7805
7806 2005-01-21  Jackson Harper  <jackson@ximian.com>
7807
7808         * TabPage.cs: Add a new method so tab pages can force the tab
7809         control to recalculate the tab page sizes.
7810         * TabControl.cs: UpdateOwner needs to make the tab control recalc
7811         sizes.
7812
7813 2005-01-20  Jackson Harper  <jackson@ximian.com>
7814
7815         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
7816
7817 2005-01-20  Jackson Harper  <jackson@ximian.com>
7818
7819         * TreeView.cs: Set the bounds for nodes properly. They were
7820         getting screwed up when checkboxes were not enabled, but images
7821         were.
7822
7823 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
7824
7825         * ListBox.cs:
7826                 - Owner draw support
7827                 - Fixes
7828                 
7829 2005-01-20  Jackson Harper  <jackson@ximian.com>
7830
7831         * XplatUIStructs.cs: More misc keys
7832         * X11Keyboard.cs: Ignore some control keys.
7833
7834 2005-01-20  Jackson Harper  <jackson@ximian.com>
7835
7836         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
7837         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
7838
7839 2005-01-19  Peter Bartok  <pbartok@novell.com>
7840
7841         * Control.cs: Un-selecting the control when it is loosing focus
7842
7843 2005-01-19  Jackson Harper  <jackson@ximian.com>
7844
7845         * TreeView.cs: Hook up to the text controls leave event so we can
7846         end editing when the users clicks outside the text box.
7847         
7848 2005-01-19  Jackson Harper  <jackson@ximian.com>
7849
7850         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
7851         get set in the conversion array.
7852
7853 2005-01-19  Peter Bartok  <pbartok@novell.com>
7854
7855         * Application.cs (ModalRun): Added a call to CreateControl to ensure
7856           focus is properly set
7857         * Button.cs:
7858           - Added missing attributes
7859           - removed styles, those are already set in the base class
7860         * ButtonBase.cs:
7861           - Added missing attributes
7862           - Added clip window styles
7863         * CheckBox.cs: Added missing attributes
7864         * CommonDialog.cs:
7865           - FormParentWindow.CreateParams: Added required clip styles
7866         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7867           also filters modifier keys
7868         * MessageBox.cs:
7869           - Added assignment of Accept and Cancel button to enable Enter
7870             and Esc keys in MessageBox dialogs
7871           - FormParentWindow.CreateParams: Added required clip styles
7872         * RadioButton.cs: Added missing attributes
7873         * TextControl.cs: No longer draws selection if control does not
7874           have focus
7875         * TextBoxBase.cs:
7876           - Now draws simple rectangle around test area to make it obvious
7877             there's a control. This is a hack until we properly support borders
7878           - A few simple fixes to support selections better, now erases selected
7879             text when typing, and resets selection when using movement keys
7880
7881 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
7882
7883         * UpDownBase.cs: Added some new properties.
7884
7885         * DomainUpDown.cs: Implement a lot to get my test working.
7886
7887 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7888
7889         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7890
7891 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7892
7893         * OSXStructs (WindowAttributes): Fixed csc complaints
7894
7895 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7896
7897         * XplayUIOSX.cs:
7898           OSXStructs.cs: Initial refactor to move enums and consts into
7899           OSXStructs and use them in the driver for greater readability.
7900
7901 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7902
7903         * XplatUIOSX.cs: Initial support for Standard Cursors.
7904         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7905
7906 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
7907
7908         * ComboBox.cs: ability to change style when the ctrl is already
7909         created, missing methods and events, bug fixes, signature fixes
7910
7911 2005-01-19  Peter Bartok  <pbartok@novell.com>
7912
7913         * Cursors.cs (ctor): Added ctor to fix signature
7914
7915 2005-01-18  Peter Bartok  <pbartok@novell.com>
7916
7917         * Button.cs: Implemented DoubleClick event
7918         * ButtonBase.cs:
7919           - Fixed keyboard handling to behave like MS, where the press of
7920             Spacebar is equivalent to a mousedown, and the key release is
7921             equivalent to mouseup. Now a spacebar push will give the same
7922             visual feedback like a mouse click.
7923           - Added missing attributes
7924           - Added ImeModeChanged event
7925           - Added support for generating DoubleClick event for derived classes
7926         * CheckBox.cs:
7927           - Implemented DoubleClick event
7928           - Added missing attributes
7929         * CommonDialog.cs: Added missing attribute
7930         * ContextMenu.cs: Added missing attributes
7931         * RadioButton.cs:
7932           - AutoChecked buttons do not allow to be unselected when clicked
7933             (otherwise we might end up with no selected buttons in a group)
7934           - Added missing attributes
7935           - Implemented DoubleClickEvent
7936         * ThreadExceptionDialog.cs: Enabled TextBox code
7937
7938 2005-01-18  Peter Bartok  <pbartok@novell.com>
7939
7940         * Form.cs: Removed debug output
7941         * Button.cs: Added support for DoubleClick method
7942
7943 2005-01-18  Peter Bartok  <pbartok@novell.com>
7944
7945         * Form.cs:
7946           - Added method to parent window that allows triggering size
7947             calculations when a menu is added/removed
7948           - set_Menu: Cleaned up mess from early days of Form and Control,
7949             now properly triggers a recalc when a menu is added/removed
7950           - Added case to select form itself as focused form if no child
7951             controls exist
7952           - Added PerformLayout call when showing dialog, to ensure properly
7953             placed controls
7954         * Control.cs:
7955           - Select(): Made internal so Form can access it
7956           - Focus(): Only call Xplat layer if required (avoids loop), and sets
7957             status
7958         * Application.cs (Run): Removed hack and calls PerformLayout instead
7959           to trigger calculation when Form becomes visible
7960
7961 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
7962
7963         * ComboBox.cs: fixes for ownerdraw
7964
7965 2005-01-18  Peter Bartok  <pbartok@novell.com>
7966
7967         * TextControl.cs:
7968           - Sentinel is no longer static, each Document gets it's own, this
7969             avoids locking or alternatively overwrite problems when more
7970             than one text control is used simultaneously.
7971           - Switched to use Hilight and HilightText brushes for text selection
7972
7973         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7974
7975 2005-01-18  Peter Bartok  <pbartok@novell.com>
7976
7977         * Control.cs:
7978           - Hooked up the following events:
7979                 o ControlAdded
7980                 o ControlRemoved
7981                 o HandleDestroyed
7982                 o ImeModeChanged
7983                 o ParentChanged
7984                 o TabStopChanged
7985                 o Invalidated
7986                 o SystemColorsChanged
7987                 o ParentFontChanged
7988                 o Move
7989           - Removed debug output
7990           - Added a call to the current theme's ResetDefaults when a color change
7991             is detected
7992         * Form.cs: Now setting the proper ImeMode
7993         * Theme.cs: Defined a method to force recreation of cached resources
7994           and rereading of system defaults (ResetDefaults())
7995         * ThemeWin32Classic.cs: Added ResetDefaults() stub
7996
7997 2005-01-17  Peter Bartok  <pbartok@novell.com>
7998
7999         * Control.cs: Added missing attributes
8000
8001 2005-01-17  Jackson Harper  <jackson@ximian.com>
8002
8003         * TreeNode.cs: Implement editing. Add missing properties selected
8004         and visible.
8005         * TreeView.cs: Implement node editing. Also some fixes to use
8006         Invalidate (invalid area) instead of Refresh when selecting.
8007
8008 2005-01-17  Peter Bartok  <pbartok@novell.com>
8009
8010         * Control.cs:
8011           - Implemented InvokeGotFocus() method
8012           - Implemented InvokeLostFocus() method
8013           - Implemented InvokePaint() method
8014           - Implemented InvokePaintBackground() method
8015           - Implemented InvokeClick() method
8016           - Implemented FindForm() method
8017           - Implemented RectangleToClient() method
8018           - Implemented ClientToRectangle() method
8019           - Implemented ResetBackColor() method
8020           - Implemented ResetCursor() method
8021           - Implemented ResetFont() method
8022           - Implemented ResteForeColor() method
8023           - Implemented ResetImeMode() method
8024           - Implemented ResetLeftToRight() method
8025           - Implemented ResetText() method
8026           - Implemented Scale() methods
8027           - Implemented ScaleCore() method
8028           - Implemented Update() method
8029           - Removed unused variables
8030           - Stubbed AccessibilityNotifyClients and
8031             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8032             with those yet)
8033           - Now setting proper default for RightToLeft property
8034           - Fixed bug in SetClientSizeCore that would cause windows to get
8035             really big
8036           - Now sending Click/DoubleClick events
8037           - Now selecting controls when left mouse button is clicked on
8038             selectable control
8039         * AccessibleEvents.cs: Added
8040         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8041         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8042         * XplatUIWin32.cs: Implemented UpdateWindow() method
8043         * XplatUIX11.cs: Implemented UpdateWindow() method
8044         * Form.cs: Removed stray semicolon causing CS0162 warning
8045         * ThemeWin32Classic.cs: Fixed unused variable warnings
8046         * ScrollableControl.cs: Now calls base method for ScaleCore
8047         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8048           style to avoid interference with internal click handler (which is
8049           different than standard Control click handling)
8050         * RadioButton.cs:
8051           - Now unchecks all sibling radio buttons when control is
8052             selected (Fixes #68756)
8053           - Removed internal tabstop variable, using the one inherited from
8054             Control
8055
8056 2005-01-17  Jackson Harper  <jackson@ximian.com>
8057
8058         * NavigateEventArgs.cs: Fix base type.
8059         * LinkLabel.cs: Sig fix
8060         
8061 2005-01-17  Jackson Harper  <jackson@ximian.com>
8062
8063         * TreeView.cs: Only invalidate the effected nodes bounds when
8064         selecting nodes.
8065
8066 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8067
8068         * XplatUIWin32.cs: fixes Win32 marshaling
8069         * XplatUIX11.cs: fixes method signature
8070
8071 2005-01-17  Peter Bartok  <pbartok@novell.com>
8072
8073         * XplatUIX11.cs: Clean up resources when we no longer need them
8074
8075 2005-01-17  Peter Bartok  <pbartok@novell.com>
8076
8077         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8078           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8079           and DestroyCursor() methods.
8080         * Cursor.cs: Partially implemented, now supports standard cursors;
8081           still contains some debug code
8082         * Cursors.cs: Implemented class
8083         * Control.cs:
8084           - WndProc(): Added handling of WM_SETCURSOR message, setting the
8085             appropriate cursor
8086           - Implemented Cursor property
8087           - Replaced break; with return; more straightforwar and possibly
8088             faster
8089           - Now properly setting the result for WM_HELP
8090         * X11Structs.cs: Added CursorFontShape enum
8091         * XplatUIStructs.cs:
8092           - Added StdCursor enum (to support DefineStdCursor() method)
8093           - Added HitTest enum (to support sending WM_SETCURSOR message)
8094         * XplatUIX11.cs:
8095           - Now sends the WM_SETCURSOR message
8096           - Implemented new cursor methods
8097         * XplatUIOSX.cs: Stubbed new cursor methods
8098         * XplatUIWin32.cs:
8099           - Implemented new cursor methods
8100           - Added GetSystemMetrics function and associated enumeration
8101
8102 2005-01-15  Peter Bartok  <pbartok@novell.com>
8103
8104         * Control.cs:
8105           - WndProc(): Now handles EnableNotifyMessage
8106           - SelectNextControl(): Fixed bug where if no child or sibling
8107             controls exist we looped endlessly
8108
8109 2005-01-14  Jackson Harper  <jackson@ximian.com>
8110
8111         * TreeView.cs: Recalculate the tab pages when a new one is added
8112         so that the proper bounding rects are created.
8113
8114 2005-01-14  Jackson Harper  <jackson@ximian.com>
8115
8116         * TreeView.cs: Draw a gray box instead of a grip in the lower
8117         right hand corner when there are both horizontal and vertical
8118         scroll bars.
8119
8120 2005-01-14  Jackson Harper  <jackson@ximian.com>
8121
8122         * Control.cs: When erasing backgrounds use FromHwnd instead of
8123         FromHdc when there is a NULL wparam. This occurs on the X driver.
8124         * XplatUIX11.cs: Set the wparam to NULL.
8125
8126 2005-01-13  Jackson Harper  <jackson@ximian.com>
8127
8128         * PictureBox.cs: Implement missing methods (except ToString, need
8129         to test that on windows) and events. When visibility is changed we
8130         need to redraw the image because the buffers are killed. When size
8131         is changed refresh if the sizemode needs it.
8132
8133 2005-01-13  Peter Bartok  <pbartok@novell.com>
8134
8135         * Control.cs (SelectNextControl): Was using wrong method to select
8136           a control
8137
8138 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8139
8140         * ComboBox.cs: fixes dropstyle
8141
8142 2005-01-13  Peter Bartok  <pbartok@novell.com>
8143
8144         * Form.cs:
8145           - Implemented Select() override
8146           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8147           - Now sets keyboard focus on startup
8148         * Control.cs (SelectNextControl): Now properly handles directed=true
8149         * TextBoxBase.cs:
8150           - WndProc: Now passes tab key on to base if AcceptTabChar=false
8151           - Added (really bad) focus rectangle (mostly for testing)
8152         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8153           to enforce redraw on focus changes
8154         * ContainerControl.cs:
8155           - Fixed detection of Shift-Tab key presses
8156           - Fixed traversal with arrow keys
8157         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8158           gonna keep this or if it's complete yet
8159         
8160 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8161
8162         * ComboBox.cs: missing properties, fixes
8163
8164 2005-01-13  Peter Bartok  <pbartok@novell.com>
8165
8166         * Panel.cs (ctor): Setting Selectable window style to off
8167         * Splitter.cs (ctor): Setting Selectable window style to off
8168         * GroupBox.cs (ctor): Setting Selectable window style to off
8169         * Label.cs (ctor): Setting Selectable window style to off
8170
8171 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
8172
8173         * UpDownBase.cs (InitTimer): If the timer has been already
8174         created, enable it.
8175
8176         Use a TextBox instead of a Label.
8177
8178 2005-01-12  Jackson Harper  <jackson@ximian.com>
8179
8180         * TreeView.cs: Refresh the tree after sorting the nodes. Always
8181         draw the connecting node lines (when ShowLines is true).
8182         * TreeNode.cs: The nodes index can now be updated. This is used
8183         when a node collection is sorted.
8184         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8185         insert or an existing unsorted node collection can be sorted.
8186         
8187 2005-01-12  Peter Bartok  <pbartok@novell.com>
8188
8189         * ContainerControl.cs: Implemented ProcessDialogKeys()
8190
8191 2005-01-12  Peter Bartok  <pbartok@novell.com>
8192
8193         * Control.cs:
8194           - Implemented SelectNextControl() method
8195           - Several focus related bug fixes
8196           - Fixed Docking calculations to match MS documentation and
8197             behaviour
8198
8199 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
8200
8201         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8202         bug fixes
8203
8204 2005-01-12  Peter Bartok  <pbartok@novell.com>
8205
8206         * Control.cs:
8207           - Fixed broken Contains() method
8208           - Implemented GetNextControl() method. Finally. This is the pre-
8209             requisite for focus handling.
8210
8211 2005-01-12  Peter Bartok  <pbartok@novell.com>
8212
8213         * OSXStrucs.cs: Added
8214
8215 2005-01-12  Peter Bartok  <pbartok@novell.com>
8216
8217         * XplatUIWin32.cs:
8218           - Removed PeekMessageFlags
8219           - Implemented SetWindowStyle() method
8220         * XplatUIStructs.cs: Added PeekMessageFlags
8221         * X11Structs: Added missing border_width field to XWindowChanges struct
8222         * XplatUIX11.cs:
8223           - PeekMessage: Now throws exception if flags which are not yet
8224             supported are passed
8225           - Implemented SetWindowStyle() method
8226           - Fixed SetZOrder to handle AfterHwnd properly
8227         * XplatUI.cs: Added SetWindowStyle() method
8228         * XplatUIDriver.cs: Added SetWindowStyle() abstract
8229         * Control.cs:
8230           - Implemented UpdateStyles() method
8231           - Implemented UpdateZOrder() method
8232         * XplatUIOSX.cs: Added SetWindowStyle() stub
8233
8234 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
8235
8236         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8237         button mouse).
8238
8239
8240 2005-01-11  Jackson Harper  <jackson@ximian.com>
8241
8242         * TreeView.cs: Still need to draw lines to siblings even if out of
8243         the current node is out of the clip.
8244
8245 2005-01-11  Jackson Harper  <jackson@ximian.com>
8246
8247         * TreeView.cs: When setting the hbar/vbar/grip position use
8248         SetBounds so that perform layout is only called once. Also suspend
8249         and resume layout so layout is only done once for all controls.
8250         - Removed some debug fluff
8251         * SizeGrip.cs: Call base implmentation in overriding methods.
8252         - When visibility is changed the drawing buffers are killed so we
8253         need to redraw.
8254
8255 2005-01-11  Jackson Harper  <jackson@ximian.com>
8256
8257         * TreeView.cs: Calculate the open node count while drawing. This
8258         saves us an entire tree traversal for every paint operation. Use
8259         a member var for the open node count so less vars are passed around.
8260
8261 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
8262
8263         * MonthCalendar.cs:
8264         - fixed selection to use mousemove, not mouse polling on timer
8265         * ThemeWin32Classic.cs
8266         - removed redundant unused variable "no_more_content"
8267         
8268 2005-01-11  Peter Bartok  <pbartok@novell.com>
8269
8270         * XplatUIX11.cs (DoEvents): Needs to return when no more events
8271           are pending, so it now calls PeekMessage instead of GetMessage;
8272           implemented a incomplete version of PeekMessage
8273         
8274 2005-01-11  Peter Bartok  <pbartok@novell.com>
8275
8276         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8277           I18n issues
8278         * TextBoxBase.cs: Added sending of TextChanged event
8279
8280 2005-01-10  Jackson Harper  <jackson@ximian.com>
8281
8282         * TreeView.cs: Try not to draw outside the clipping rectangle on
8283         each node element.
8284
8285 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
8286
8287         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8288
8289 2005-01-10  Jackson Harper  <jackson@ximian.com>
8290
8291         * TreeView.cs:
8292         - Implement fast scrolling. Now only the newly
8293         exposed nodes are drawn and the old image is moved using the
8294         XplatUI::ScrollWindow method.
8295         - Factor in height of nodes when calculating whether or not the
8296         node is in the clipping rect.
8297
8298 2005-01-10  Jackson Harper  <jackson@ximian.com>
8299
8300         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8301
8302 2005-01-10  Peter Bartok  <pbartok@novell.com>
8303
8304         * Application.cs: Added temporary hack to resolve all our resize
8305           required issues on startup. This will get fixed properly at
8306           some point in the future
8307
8308 2005-01-10  Jackson Harper  <jackson@ximian.com>
8309
8310         * SizeGrip.cs: New internal class that is used as a sizing
8311         grip control...hence the name.
8312
8313 2005-01-10  Peter Bartok  <pbartok@novell.com>
8314
8315         * Control.cs: Implemented proper TabIndex handling, now assigning
8316           a tabindex when a control is added to a container
8317         * GroupBox.cs (ctor): Now sets the Container style bit, required
8318           for Control.GetNextControl()
8319
8320 2005-01-09  Jackson Harper  <jackson@ximian.com>
8321
8322         * TextBoxBase.cs: Clear window when scrolling (fixes build).
8323
8324 2005-01-09  Peter Bartok <pbartok@novell.com>
8325
8326         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8327           XplatUIX11.cs: Added ability to control ScrollWindow expose and
8328           an overload for ScrollWindow to allow only scrolling a rectangle
8329
8330 2005-01-09  Peter Bartok <pbartok@novell.com>
8331
8332         * Form.cs:
8333           - Implemented SetDesktopBounds method
8334           - Implemented SetDesktopLocation method
8335
8336 2005-01-08  Jackson Harper  <jackson@ximian.com>
8337
8338         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8339         the node count has changed, this removes to VScroll::Refresh calls
8340         when drawing.
8341
8342 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
8343
8344         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8345
8346 2005-01-07  Jackson Harper  <jackson@ximian.com>
8347
8348         * TreeNode.cs: Just update the single node when it is
8349         checked. Don't refresh after toggling, the Expand/Collapse already
8350         handles this.
8351         * TreeView.cs: Respect clipping a little more when drawing. Try
8352         not to redraw things that don't need to be redrawn. Just hide the
8353         scrollbars when they are no longer needed instead of removing
8354         them, so they don't have to be created again and again.
8355         
8356 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
8357
8358         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
8359         coordinates to window space to place the caret properly, FIXED.
8360         Implement GetWindowState & SetWindowState
8361
8362 2005-01-06  Peter Bartok <pbartok@novell.com>
8363
8364         * Form.cs:
8365           - Implemented ClientSize property
8366           - Implemented DesktopBounds property
8367           - Implemented DesktopLocation property
8368           - Implemented IsRestrictedWindow property
8369           - Implemented Size property
8370           - Implemented TopLevel property
8371           - Implemented FormWindowState property
8372         * Control.cs:
8373           - Implemented GetTopLevel() method
8374           - Implemented SetTopLevel() method
8375         * X11Structs.cs (Atom):
8376           - Added AnyPropertyType definition
8377           - Added MapState definiton and updated XWindowAttribute struct
8378         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8379         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8380         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8381         * XplatUIWin32.cs:
8382           - Implemented GetWindowState() and SetWindowState() methods
8383           - Fixed Win32GetWindowLong return type
8384         * XplatUIX11.cs:
8385           - Introduced central function for sending NET_WM messages
8386           - Implemented GetWindowState() and SetWindowState() methods
8387         * TextBoxBase.cs (set_Lines):
8388           - Now uses Foreground color for text added via Text property (Duh!)
8389           - Added code to remember programmatically requested size (fixes
8390             behaviour when Multiline is set after Size)
8391           - Added AutoSize logic
8392
8393 2005-01-06  Jackson Harper  <jackson@ximian.com>
8394
8395         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8396
8397 2005-01-06  Jackson Harper  <jackson@ximian.com>
8398
8399         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8400         set to less then 0.
8401
8402 2005-01-06  Jackson Harper  <jackson@ximian.com>
8403
8404         * ScrollableControl.cs: Lazy init the scrollbars.
8405         
8406 2005-01-06  Jackson Harper  <jackson@ximian.com>
8407
8408         * Theme.cs: Speed up getting pens and solid brushes, by using
8409         their ARGB as a hash instead of tostring and not calling Contains.
8410
8411 2005-01-06  Peter Bartok <pbartok@novell.com>
8412
8413         * Form.cs:
8414           - Implemented OnActivated and OnDeactivate event trigger
8415           - Implemented Activate() method
8416           - Fixed ShowDialog() to activate the form that was active before
8417             the dialog was shown
8418         * XplatUIX11.cs:
8419           - Added global active_window var that tracks the currently active
8420             X11 window
8421           - Now always grabs Property changes from the root window to always
8422             catch changes on the active window property
8423           - Added code to PropertyNotify handler to send Active/Inactive
8424             messages when state changes. This puts X11 and Win32 en par on
8425             WM_ACTIVATE notifications (except for double notifications when
8426             the user clicks away from our modal window to another one of our
8427             windows)
8428
8429 2005-01-05  Jackson Harper  <jackson@ximian.com>
8430
8431         * ImageList.cs: Implment ctor
8432
8433 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8434
8435         * XplatUIOSX.cs: Implement Activate/SetTopmost
8436
8437 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8438
8439         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8440
8441 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8442
8443         * XplatUIOSX.cs: Implement GetActive/SetFocus.
8444
8445 2005-01-05  Peter Bartok <pbartok@novell.com>
8446
8447         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8448           XplatUIOSX.cs: Added GetActive method to return the currently
8449           active window for the application (or null, if none is active)
8450         * Form.cs:
8451           - Implemented ActiveForm
8452           - Commented out owner assignment for modal dialogs (causes problems
8453             on Win32, since the owner will be disabled)
8454           - Reworked some Active/Focus handling (still incomplete)
8455         * CommonDialog.cs: Commented out owner assignment for modal dialogs
8456           (causes problems on Win32, since the owner will be disabled)
8457         * IWin32Window: Added ComVisible attribute
8458
8459 2005-01-05  Peter Bartok <pbartok@novell.com>
8460
8461         * ToolTip.cs (WndProc): Enable setting focus now that we have the
8462           required XplatUI functions.
8463
8464 2005-01-05  Peter Bartok <pbartok@novell.com>
8465
8466         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8467           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8468           to implement focus and activation handling; still incomplete and
8469           with debug output
8470
8471 2005-01-04  Peter Bartok <pbartok@novell.com>
8472
8473         * TextBoxBase.cs: Changed access level for Document property to
8474           match switch to internal for TextControl
8475
8476 2005-01-04  Peter Bartok <pbartok@novell.com>
8477
8478         * AccessibleObject: Added ComVisible attribute
8479
8480 2005-01-04  Jackson Harper  <jackson@ximian.com>
8481
8482         * X11Keyboard.cs: Remove unneeded var.
8483
8484 2005-01-04  Jackson Harper  <jackson@ximian.com>
8485
8486         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8487         but PAINT.
8488         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8489         ClientMessage. This makes apps exit cleanly (more often).
8490         
8491 2005-01-04  Jackson Harper  <jackson@ximian.com>
8492
8493         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8494         handling focus, return correct colors and fonts,
8495         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8496         handle selection, horizontal scrolling, and mouse interaction.
8497
8498 2005-01-04  Peter Bartok <pbartok@novell.com>
8499
8500         * ICommandExecutor.cs: Added
8501         * IDataGridColumnStyleEditingNotificationService.cs: Added
8502         * IFeatureSupport.cs: Added
8503         * IFileReaderService.cs: Added
8504         * IDataObject.cs: Added ComVisible attribute
8505         * AmbientProperties.cs: Added
8506         * BaseCollection.cs: Added missing attributes
8507         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8508         * BaseCollection.cs: Added missing attributes
8509         * Binding.cs: Added TypeConverter attribute
8510         * BindingContext.cs: Added DefaultEvent attribute
8511         * BindingsCollection.cs: Added DefaultEvent attribute
8512         * Button.cs: Added DefaultValue attribute
8513         * DragEventArgs.cs: Added ComVisible attribute
8514         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8515         * KeyEventArgs.cs: Added ComVisible attribute
8516         * KeyPressEventArgs.cs: Added ComVisible attribute
8517         * MouseEventArgs.cs: Added ComVisible attribute
8518         * NavigateEventArgs.cs: Added
8519         * NavigateEventHandler.cs: Added
8520         * FeatureSupport.cs: Added
8521         * OSFeature.cs: Added
8522         * Theme.cs: Added abstract Version property to support OSFeature
8523         * ThemeWin32Classic.cs: Added Version property to
8524           support OSFeature.Themes
8525         * ProgressBar.cs: Removed OnPaintBackground override, not required since
8526           the proper styles to avoid background drawing are set, also doesn't
8527           match MS signature
8528         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8529         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8530         * ScrollEventArgs.cs: Added ComVisible attribute
8531         * SplitterEventArgs.cs: Added ComVisible attribute
8532         * AccessibleSelection.cs: Added Flags attribute
8533         * Appearance.cs: Added ComVisible attribute
8534         * Border3DSide.cs: Added ComVisible attribute
8535         * Border3DStyle.cs: Added ComVisible attribute
8536         * BorderStyle.cs: Added ComVisible attribute
8537         * DragAction.cs: Added ComVisible attribute
8538         * ErrorBlinkStyle.cs: Added
8539         * ScrollEventType.cs: Added ComVisible attribute
8540         * AnchorStyles.cs: Added Editor attribute
8541         * DockStyle.cs: Added Editor attribute
8542         * HorizontalAlignment.cs: Added ComVisible attribute
8543         * HelpEventArgs.cs: Added ComVisible attribute
8544         * PaintEventArgs.cs: Added IDisposable
8545
8546 2005-01-04  Peter Bartok <pbartok@novell.com>
8547
8548         * TextControl.cs: Switched Line, LineTag and Document classes to
8549           internal
8550
8551 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8552
8553         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8554         Simple mode, fixes, IntegralHeight, etc.
8555
8556 2005-01-04  Peter Bartok <pbartok@novell.com>
8557
8558         * TextBoxBase.cs: Using proper font variable now
8559
8560 2005-01-04  Peter Bartok <pbartok@novell.com>
8561
8562         * Form.cs (ShowDialog): Set parent to owner, if provided
8563         * GroupBox.cs: Removed unused vars
8564         * TextControl.cs:
8565           - Added GetHashCode() for Document and LineTag classes
8566           - Removed unused variables
8567           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8568             to allow translation between continuous char position and line/pos
8569         * CheckBox.cs: Removed vars that are provided by base class
8570         * RadioButton.cs: Removed vars that are provided by base class, added
8571           new keyword where required
8572         * LinkLabel.cs: Added new keyword where required
8573         * Control.cs (WndProc): Removed unused variable
8574         * TextBoxBase.cs:
8575           - Finished SelectionLength property
8576           - Implemented SelectionStart property
8577           - Implemented Text property
8578           - Removed unused vars
8579         * MessageBox.cs: Added new keyword where required
8580         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8581           WndProc signature
8582         * MenuAPI.cs: Added new keyword where required
8583         * ButtonBase.cs: Removed vars that are provided by base class, added
8584           new keyword where required
8585         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8586           argument to double, to allow compiling with csc 2.0 (Atsushi ran
8587           into this)
8588         * Application.cs (Run): Now triggers the ThreadExit event
8589         * CommonDialog.cs: Added new keyword where required; now properly sets
8590           parent (owner) for dialog
8591         * XplatUIX11.cs: Commented out unused vars
8592         * StatusBar.cs: Fixed signature for Text property
8593         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8594
8595 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8596
8597         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8598         TrackBar.cs, MonthCalendar.cs: remove unused vars
8599
8600 2005-01-03  Jackson Harper  <jackson@ximian.com>
8601
8602         * ThemeWin32Classic.cs:
8603         * X11Keyboard.cs: Remove unused vars.
8604
8605 2005-01-03  Peter Bartok  <pbartok@novell.com>
8606
8607         * TextBox.cs:
8608           - set_Text: Tied into TextControl
8609           - set_TextAlignment: Tied into TextControl
8610         * TextControl.cs:
8611           - Added alignment properties and implemented alignment handling
8612             and drawing (still has a bug, not generating proper expose events)
8613           - Added new Line() constructor to allow passing the line alignment
8614           - Fixed selection setting, properly handling end<start now
8615           - Added aligment considerations to RecalculateDocument()
8616         * TextBoxBase.cs:
8617           - Now properly enforces control height for single line controls
8618           - Added support for CharacterCasing
8619           - Added IsInputKey override
8620           - Fixed Keys.Enter logic
8621           - Added SetBoundsCore override
8622           - Fixed mouse selection handling
8623
8624 2005-01-03  Jackson Harper  <jackson@ximian.com>
8625
8626         * TreeView.cs:
8627           - Collapse and uncheck all nodes when CheckBoxes is disabled.
8628           - Checkboxes are always aligned to the bottom of the node,
8629           regardless of item height.
8630           - Use the node bounds to draw the text so we can center it when
8631           the item height is greater then the font height.
8632           - Node::Bounds are only the text part of the node.
8633         * TreeNode.cs: New method to combine collapsing and unchecking all
8634           nodes recursively.
8635
8636 2005-01-02  Jackson Harper  <jackson@ximian.com>
8637
8638         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8639         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8640         tree when a check is changed. TODO: Only refresh the checked node.
8641
8642 2004-12-30  Jackson Harper  <jackson@ximian.com>
8643
8644         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8645         * TreeNode.cs: When collapsing make sure to never collapse the
8646         root node.
8647
8648 2004-12-29  Jackson Harper  <jackson@ximian.com>
8649
8650         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8651         
8652 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
8653
8654         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8655
8656 2004-12-28  Peter Bartok  <pbartok@novell.com>
8657
8658         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8659           not yet assigned
8660
8661 2004-12-28  Peter Bartok  <pbartok@novell.com>
8662
8663         * Control.cs (WndProc): Added WM_HELP handler, now generates
8664           HelpRequested event
8665         * Form.cs: Added HelpButton property and required support code
8666         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8667
8668 2004-12-28  Peter Bartok  <pbartok@novell.com>
8669
8670         * CommonDialog.cs:
8671           - Made DialogForm.owner variable internal
8672           - Added check to ensure owner form is set before setting
8673             owner properties in CreateParams
8674
8675 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
8676
8677         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
8678           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
8679           GetCursorPos.  Fix major visibility issues.  Rework the windowing
8680           system to support borderless/titleless windows (implements menus).
8681           Fix GetWindowPos.  Implement initial background color support for
8682           views.
8683
8684 2004-12-28  Peter Bartok  <pbartok@novell.com>
8685
8686         * Form.cs (get_CreateParams): Make sure we have an owner before using
8687           the owner variable. Implement proper default if no owner exists
8688
8689 2004-12-28  Peter Bartok  <pbartok@novell.com>
8690
8691         * In preparation for making Managed.Windows.Forms the default build target
8692           for System.Windows.Forms, the following stubbed files were added.
8693           Dialogs are currently being implemented by contributors and are only
8694           short-term place holders.
8695         * ColorDialog.cs: Initial check-in (minmal stub)
8696         * DataGrid.cs: Initial check-in (minimal stub)
8697         * DataGridLineStyle.cs: Initial check-in (minimal stub)
8698         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8699         * DataGridTableStyle.cs: Initial check-in (minimal stub)
8700         * FontDialog.cs: Initial check-in (minimal stub)
8701         * FileDialog.cs: Initial check-in (minimal stub)
8702         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8703         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8704         * OpenFileDialog: Initial check-in (minimal stub)
8705         * IComponentEditorPageSite.cs: Initial check-in
8706         * Splitter.cs: Initial check-in (for Jackson)
8707         * SplitterEventArgs.cs: Initial check-in (for Jackson)
8708         * SplitterEventHandler.cs: Initial check-in (for Jackson)
8709         * TextBox.cs: Initial check-in; still needs some wiring to
8710           TextControl backend
8711         * Form.cs: Implemented ControlBox property
8712         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8713         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8714         * TextControl.cs: Added selection functionality; added todo header
8715         * TextBoxBase.cs:
8716           - Implemented Lines property
8717           - Implemented TextHeight property
8718           - Implemented SelectedText property
8719           - Implemented SelectionLength property
8720           - Implemented SelectAll method
8721           - Implemented ToString method
8722           - Removed and cleaned up some debug code
8723           - Implemented (still buggy) mouse text selection
8724
8725 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
8726
8727         * ComboBox.cs: Complete DropDownList implementation, fixes.
8728
8729 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
8730
8731         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8732         * ComboBoxStyle.cs: ComboBoxStyle enum
8733         * ComboBox.cs: Initial work on ComboBox control
8734
8735 2004-12-21  Peter Bartok  <pbartok@novell.com>
8736
8737         * Control.cs (ctor, CreateParams): Moved setting of is_visible
8738           forward so that anything that creates a window gets the default,
8739           also no longer uses Visible property in CreateParams to avoid
8740           walking up the parent chain and possibly get the wrong visible
8741           status. Fixed IsVisible to no longer walk up to the parent.
8742
8743 2004-12-21  Peter Bartok  <pbartok@novell.com>
8744
8745         * Form.cs (ShowDialog): Unset modality for the proper window
8746  
8747 2004-12-20  Peter Bartok  <pbartok@novell.com>
8748
8749         * CommonDialog.cs: Initial check-in
8750
8751 2004-12-20  Peter Bartok  <pbartok@novell.com>
8752
8753         * Control.cs (Visible): Now uses the parent window instead of the
8754           client area window for the property
8755
8756         * Form.cs
8757           - ShowDialog(): Now uses the proper window for modality
8758           - The default visibility state for the form parent is now false. This
8759             will prevent the user from seeing all the changes to the form and
8760             its controls before the application hits Application.Run()
8761           - Removed some stale commented out code
8762
8763         * NativeWindow.cs:
8764           - Added FindWindow() method to have a method to check for existence
8765             of a window handle
8766           - Added ability to override default exception handling (for example
8767             when debugging with VS.Net; to do this the ExternalExceptionHandler
8768             define must be set
8769           - Removed some useless debug output
8770
8771         * XplatUIX11.cs:
8772           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
8773             not working as expected
8774           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
8775             property to allow switching back to the modal window if focus is
8776             given to another one of our windows (Application Modal)
8777           - Now only sets override_redirect if we create a window
8778             without WS_CAPTION
8779           - Moved EventMask selection before mapping of newly created window
8780             so we can catch the map event as well
8781           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
8782           - Added various Atom related DllImports
8783           - Implemented Exit() method
8784           - .ctor() : No longer shows window if WS_VISIBLE is not defined
8785             in the CreateParams
8786
8787         * MessageBox.cs: Now properly deals with the FormParent window by
8788           providing an override the FormParent CreateParams property to
8789           set as POPUP instead of OVERLAPPED window.
8790
8791 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
8792
8793         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
8794         Minor code cleanup.
8795
8796 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
8797         
8798         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
8799
8800 2004-12-18  Peter Bartok  <pbartok@novell.com>
8801
8802         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
8803           implementing SetModal() method
8804
8805 2004-12-18  Peter Bartok  <pbartok@novell.com>
8806
8807         * X11Structs.cs (XGCValues): Fixed type of function element
8808         * XplatUI.cs: Added ScrollWindow() method
8809         * XplatUIDriver.cs: Added ScrollWindow() abstract
8810         * XplatUIWin32.cs: Implemented ScrollWindow() method
8811         * XplatUIX11.cs: Implemented ScrollWindow() method
8812         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
8813
8814 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8815
8816         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
8817         Some more keyboard support (INCOMPLETE)
8818
8819 2004-12-17  Peter Bartok  <pbartok@novell.com>
8820
8821         * TextControl.cs:
8822         - Added color attribute to line tags.
8823         - Added color argument to all functions dealing with tags
8824         - Added color argument support to various functions
8825         - Fixed miss-calculation of baseline/shift in certain circumstances
8826
8827         * TextBoxBase.cs: Added new color option to test code
8828
8829 2004-12-17  Jackson Harper  <jackson@ximian.com>
8830
8831         * TreeNode.cs:
8832         * MonthCalendar.cs: Signature fixes
8833
8834 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8835
8836         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
8837         keyboard event moved it.  Create a new graphics context for each paint resolves this
8838
8839 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8840
8841         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
8842         Make caret exist and go blink blink.  Initial keyboard support.
8843         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
8844         works.
8845
8846 2004-12-17  Jackson Harper  <jackson@ximian.com>
8847
8848         * XplatUIStructs.cs: Updated set of virtual keycodes.
8849         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
8850
8851 2004-12-17  Jackson Harper  <jackson@ximian.com>
8852
8853         * XplatUIX11.cs: Prune old keyboard code.
8854
8855 2004-12-17  Jackson Harper  <jackson@ximian.com>
8856
8857         * XplatUIX11.cs: When generating mouse wparams get the modifier
8858         keys from the ModifierKeys property.
8859
8860 2004-12-17  Jackson Harper  <jackson@ximian.com>
8861
8862         * X11Keyboard.cs: Send up/down input when generating
8863         messages. Remove some unused vars.
8864
8865 2004-12-17  Jackson Harper  <jackson@ximian.com>
8866
8867         * TabControl.cs:
8868         * TreeView.cs: get rid of warnings.
8869
8870 2004-12-17  Jackson Harper  <jackson@ximian.com>
8871
8872         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8873
8874 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
8875
8876         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8877           CheckedListBox.cs: Implementation
8878
8879 2004-12-17  Peter Bartok  <pbartok@novell.com>
8880
8881         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8882
8883 2004-12-16  Peter Bartok  <pbartok@novell.com>
8884
8885         * TextControl.cs:
8886           - InsertCharAtCaret(): Fixed start pos fixup
8887           - CaretLine_get: No longer derives the line from the tag, the tag
8888             could be stale if lines in the document have been added or deleted
8889           - RebalanceAfterDelete(): Fixed bug in balancing code
8890           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8891           - Line.Streamline(): Now can also elminate leading empty tags
8892           - DumpTree(): Added a few more tests and prevented exception on
8893             uninitialized data
8894           - Added Debug section for Combining lines
8895           - Delete(): Now copies all remaining properties of a line
8896           
8897         * TextBoxBase.cs:
8898           - Left mousebutton now sets the caret (and middle button still acts
8899             as formatting tester, which must go away soon)
8900           - Added Debug section for Deleting/Combining lines
8901           - Fixed calculations for UpdateView after Combining lines
8902
8903 2004-12-16  Peter Bartok  <pbartok@novell.com>
8904
8905         * TextControl.cs: Now properly aligns text on a baseline, using the
8906           new XplatUI.GetFontMetrics() method. Simplified several calculations
8907         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8908           defined
8909
8910 2004-12-16  Peter Bartok  <pbartok@novell.com>
8911
8912         * XplatUI.cs: Added GetFontMetrics() method
8913         * XplatUIDriver.cs: Added GetFontMetrics() abstract
8914         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8915           into libgdiplus, our private GetFontMetrics function
8916         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8917         * XplatUIWin32.cs: Implemented GetFontMetrics() method
8918
8919 2004-12-16  Jackson Harper  <jackson@ximain.com>
8920
8921         * XplatUIStruct.cs: Add enum for dead keys
8922         * X11Keyboard.cs: Map and unmap dead keys.
8923
8924 2004-12-16  Jackson Harper  <jackson@ximian.com>
8925
8926         * X11Keyboard.cs: Detect and use the num lock mask.
8927
8928 2004-12-16  Peter Bartok  <pbartok@novell.com>
8929
8930         * Control.cs (CreateGraphics): Added check to make sure the
8931           handle of the window exists before calling Graphics.FromHwnd()
8932
8933 2004-12-16  Peter Bartok  <pbartok@novell.com>
8934
8935         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8936           contains a lot of code that's not supposed to be there for the
8937           real thing, but required for developing/testing the textbox
8938           backend.
8939
8940 2004-12-16  Peter Bartok  <pbartok@novell.com>
8941
8942         * TextControl.cs:
8943         - Fixed Streamline method
8944         - Added FindTag method to Line
8945         - Added DumpTree method for debugging
8946         - Added DecrementLines() method for deleting lines
8947         - Fixed UpdateView to update the cursor to end-of-line on single-line
8948           updates
8949         - Added PositionCaret() method
8950         - Fixed MoveCaret(LineDown) to move into the last line, too
8951         - Added InsertChar overload
8952         - Fixed InsertChar tag offset calculations
8953         - Added DeleteChar() method
8954         - Added Combine() method for folding lines
8955         - Fixed Delete() method, no longer allocates wasted Line object and
8956           now copies all properties when swapping nodes
8957         - Delete() method now updates document line counter
8958
8959 2004-12-15  Jackson Harper  <jackson@ximian.com>
8960
8961         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8962         * X11Keyboard.cs: Expose the currently selected modifier keys
8963         through a property.
8964
8965 2004-12-15  Peter Bartok  <pbartok@novell.com>
8966
8967         * TextControl.cs: Initial check-in. Still incomplete
8968
8969 2004-12-15  Jackson Harper  <jackson@ximian.com>
8970
8971         * TreeNode.cs:
8972         * TreeView.cs: Fix build on csc (second time today ;-))
8973
8974 2004-12-15  Jackson Harper  <jackson@ximian.com>
8975
8976         * TreeView.cs: Store the treenodes plus/minus box bounds when it
8977         is calculated and use this for click testing.
8978         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8979
8980 2004-12-15  Jackson Harper  <jackson@ximian.com>
8981
8982         * TreeView.cs: Pass the nodes image index to the image list when
8983         drawing that image.
8984
8985 2004-12-15  Jackson Harper  <jackson@ximian.com>
8986
8987         * X11Keyboard.cs: Set messages hwnd.
8988         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8989         post_message calls.
8990
8991 2004-12-15  Jackson Harper  <jackson@ximian.com>
8992
8993         * X11Keyboard.cs: Fix to compile with csc.
8994         
8995 2004-12-15  Jackson Harper  <jackson@ximian.com>
8996
8997         * X11Structs.cs: Add key mask values
8998         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8999         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9000         down/up foo into WM_CHAR foo
9001         * KeyboardLayouts.cs: Common keyboard layouts
9002         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9003         post messages into the main queue.
9004
9005 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9006
9007         * Button.cs: implement ProcessMnemonic
9008         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9009           brushes everytime
9010         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9011         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9012
9013 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9014         
9015         * MonthCalendar.cs: Implemented click-hold for next/previous month
9016           and date selection
9017           
9018 2004-12-11  Peter Bartok  <pbartok@novell.com>
9019
9020         * X11Structs.cs:
9021           - Added XKeyboardState (moved from XplatUIX11.cs)
9022           - Added XCreateGC related enums and structures
9023           - Added GXFunction for XSetFunction
9024
9025         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9026
9027         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9028           CaretVisible() calls
9029
9030         * ToolTip.cs: Added code to prevent stealing focus from app windows
9031
9032         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9033           DestroyCaret, SetCaretPos and CaretVisible)
9034
9035         * XplatUIX11.cs:
9036           - Added implementation for caret functions
9037           - Moved hover variables into a struct, to make it a bit easier
9038             on the eyes and to debug
9039           - Removed XKeyboardState (moved to XplatUIX11.cs)
9040           - Moved Keyboard properties into the properties region
9041
9042         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9043           call to get a graphics context for our control
9044
9045         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9046
9047         * TreeView.cs: Fixed bug. No matter what color was set it would always
9048           return SystemColors.Window
9049
9050         * XplatUIWin32.cs: Implemented caret overrides
9051
9052 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9053
9054         * ListBox.cs: fire events, implement missing methods and properties,
9055         sorting.
9056
9057 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9058
9059         * MonthCalendar.cs: invalidation bug fixing
9060         * ThemeWin32Classic.cs: paint fixing
9061
9062 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9063
9064         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9065         prepare the CGContextRef there now.
9066
9067 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9068
9069         * MonthCalendar.cs:
9070           - optimisationL only invalidate areas that have changed
9071         * ThemeWin32Classic.cs:
9072           - only paint parts that intersect with clip_area
9073
9074 2004-12-09  Peter Bartok  <pbartok@novell.com>
9075
9076         * Application.cs: Undid changes from r37004 which cause problems
9077         on X11
9078
9079 2004-12-09  Ravindra  <rkumar@novell.com>
9080
9081         * ToolBar.cs: Added support for displaying ContextMenu
9082         attached to a button on ToolBar.
9083         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9084         property.
9085
9086 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9087
9088         * Label.cs: autosize works in text change and removes unnecessary
9089         invalidate
9090
9091 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9092
9093         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9094         remove warnings
9095
9096 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
9097
9098         * XplatUIOSX.cs: Added mouse move/click/grab support
9099         Remove some debugging WriteLines not needed anymore.
9100         Add window resizing/positioning.
9101         Fix visibility on reparenting.
9102
9103 2004-12-08  Peter Bartok  <pbartok@novell.com>
9104
9105         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9106
9107 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
9108
9109         * XplatUIOSX.cs: Initial checkin
9110         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9111
9112 2004-12-03  Ravindra <rkumar@novell.com>
9113
9114         * ListView.cs: Added some keybindings and fixed scrolling.
9115         ScrollBars listen to ValueChanged event instead of Scroll
9116         Event. This would let us take care of all changes being
9117         done in the scrollbars' values programmatically or manually.
9118         * ListView.cs (CanMultiselect): Added a check for shift key.
9119         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9120         * ListViewItem.cs (Clone): Fixed. We need to make a copy
9121         of ListViewSubItemCollection as well.
9122
9123 2004-12-06  Peter Bartok <pbartok@novell.com>
9124
9125         * Control.cs (Parent): Added check and exception to prevent
9126         circular parenting
9127
9128 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
9129
9130         * ListBox.cs: implemented clipping, selection single and multiple,
9131         bug fixing
9132
9133 2004-12-03  Ravindra <rkumar@novell.com>
9134
9135         * ListView.cs (ListView_KeyDown):
9136         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9137         when CTRL key is pressed.
9138         * ListViewItem.cs (Selected): Fixed setting the property.
9139
9140 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9141
9142         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9143
9144         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9145         MinimizeBox, ShowInTaskbar, TopMost properties.
9146
9147         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9148         will be implemented).
9149
9150 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9151
9152         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9153
9154         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9155         tests.
9156         
9157         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9158         
9159         * TreeView.cs: BackColor is Colors.Window.
9160
9161 2004-12-01  Jackson Harper  <jackson@ximian.com>
9162
9163         * TreeView.cs: When resizing the tree if the user is making it
9164         smaller we don't get expose events, so we need to handle adding
9165         the horizontal scrollbar in the size changed handler as well as
9166         the expose handler.
9167
9168 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
9169
9170         * DrawItemState.cs: fixes wrong enum values
9171
9172 2004-12-01  Jackson Harper  <jackson@ximian.com>
9173
9174         * TreeView.cs: Resize the hbar as well as the vbar on resize.
9175
9176 2004-12-01  Jackson Harper  <jackson@ximian.com>
9177
9178         * NodeLabelEditEventArgs.cs:
9179         * NodeLabelEditEventHandler.cs:
9180         * OpenTreeNodeEnumerator.cs:
9181         * TreeNode.cs:
9182         * TreeNodeCollection.cs:
9183         * TreeView.cs:
9184         * TreeViewAction.cs:
9185         * TreeViewCancelEventArgs.cs:
9186         * TreeViewCancelEventHandler.cs:
9187         * TreeViewEventArgs.cs:
9188         * TreeViewEventHandler.cs: Initial implementation.
9189
9190 2004-12-01  Ravindra <rkumar@novell.com>
9191
9192         * ListView.cs (CalculateListView): Fixed scrolling related
9193         calculations. Also, removed some debug statements from other
9194         places.
9195         * ListViewItem.cs: Changed access to 'selected' instance variable
9196         from private to internal.
9197         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9198
9199 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
9200
9201         * ThemeWin32Classic.cs: remove cache of brush and pens for
9202         specific controls and use the global system, fixes scrollbutton
9203         bugs (for small sizes, disabled, etc)
9204         
9205         * ScrollBar.cs: does not show the thumb for very small controls
9206         (as MS) and allow smaller buttons that the regular size
9207
9208 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
9209
9210         * UpDownBase.cs: Add abstract methods for the interface.
9211         Add new virtual methods (need to be hooked up to TextEntry when it
9212         exists).
9213         Add override methods for most features.
9214         Computes the size, forces the height of the text entry.
9215
9216         * NumericUpDown.cs: Put here the current testing code.
9217
9218         * Set eol-style property on all files that do not have mixed line
9219         endings, to minimize the future problems.  There are still a few
9220         files with mixed endings, and someone should choose whether they
9221         want to move it or not.
9222
9223 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
9224
9225         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9226         System.Colors
9227         
9228 2004-11-30  Ravindra <rkumar@novell.com>
9229
9230         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9231         drawing and replaced use of SystemColors by theme colors.
9232         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9233         * ListView.cs (ListViewItemCollection.Add): Throw exception when
9234         same ListViewItem is being added more than once.
9235
9236 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
9237
9238         * MonthCalendar.cs:
9239           - ControlStyles love to make the control not flicker
9240           
9241 2004-11-30  Peter Bartok  <pbartok@novell.com>
9242
9243         * CharacterCasing.cs: Added
9244
9245 2004-11-29  Peter Bartok  <pbartok@novell.com>
9246
9247         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9248           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9249           I am removing these files as they conflict with already completed
9250           work. While it is fantastic to get contributions to MWF, I
9251           respectfully ask that everyone please coordinate their contributions
9252           through mono-winforms-list or #mono-winforms at this time. We're
9253           explicitly avoiding stubbing and don't want controls that don't have
9254           their basic functionality implemented in svn. Please also see
9255           http://www.mono-project.com/contributing/winforms.html
9256
9257
9258 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
9259
9260         * Application.cs (ModalRun): Don't hang after exit.
9261
9262         * Theme.cs: New TreeViewDefaultSize property.
9263
9264         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9265         with less hardcoded SystemColors constant.
9266         Implemented TreeViewDefaultSize.
9267
9268         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9269         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9270
9271
9272 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
9273
9274         * MonthCalendar.cs:
9275           - Fix NextMonthDate and PrevMonthDate click moving calendar
9276
9277 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9278
9279         * MonthCalendar.cs:
9280           - Fix usage of ScrollChange Property when scrolling months
9281
9282 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
9283
9284         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9285          - Fixes menu destroying
9286          - Support adding and removing items on already created menus
9287
9288 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9289
9290         * MonthCalendar.cs:
9291           - Re-worked all bolded dates handling to match win32
9292         * ThemeWin32Classic.cs:
9293           - Fixed rendering with bolded dates
9294
9295 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
9296
9297         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9298         - Horizontal scroolbar
9299         - Multicolumn
9300         - Fixes
9301
9302
9303 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
9304
9305         * MonthCalendar.cs:
9306           - Fix Usage of MaxSelectionCount from SelectionRange
9307           - Fixed Shift + Cursor Selection
9308           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9309           - Fixed normal cursor selection to be compat with win32
9310           - Fixed Shift + Mouse Click selection
9311
9312 2004-11-24  Peter Bartok <pbartok@novell.com>
9313
9314         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9315         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9316         * XplatUIX11.cs:
9317           - CreatedKeyBoardMsg now updates keystate with Alt key
9318           - Added workaround for timer crash to CheckTimers, Jackson will
9319             develop a proper fix and check in later
9320           - Implemented DispatchMessage
9321           - Removed calling the native window proc from GetMessage (call
9322             now moved to DispatchMessage)
9323
9324         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9325           the keydata (Fixes bug #69831)
9326
9327         * XplatUIWin32.cs:
9328           - (DispatchMessage): Switched to return IntPtr
9329           - Added DllImport for SetFocus
9330
9331 2004-11-24  Ravindra <rkumar@novell.com>
9332
9333         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9334         background drawing.
9335         * ListViewItem.cs: Fixed various properties, calculations
9336         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9337         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9338         and some internal properties. Fixed MouseDown handler and Paint
9339         method.
9340
9341 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9342
9343         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9344
9345 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9346
9347         * ContainerControl.cs: correct accidental check in of local changes
9348
9349 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9350
9351         * ThemeWin32Classic.cs:
9352                 - Fixed Drawing Last month in grid (sometimes not showing)
9353         * MonthCalendar.cs:
9354                 - Fixed title width calculation bug (makeing title small)
9355
9356 2004-11-23  Peter Bartok <pbartok@novell.com>
9357
9358         * XplatUIX11.cs:
9359           - Added generation of WM_MOUSEHOVER event
9360           - Added missing assignment of async_method atom
9361           - Fixed WM_ERASEBKGND; now only redraws the exposed area
9362
9363 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9364
9365         * ThemeWin32Classic.cs:
9366                 - Fixed Drawing of today circle when showtodaycircle not set
9367                 - fixed drawing of first and last month in the grid (gay dates)
9368         * MonthCalendar.cs:
9369                 - Fixed Drawing of today circle
9370                 - Fixed drawing of grady dates
9371                 - Fixed HitTest for today link when ShowToday set to false
9372                 - Fixed DefaultSize to obey ShowToday
9373
9374 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9375
9376         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9377         * System.Windows.Forms/Theme.cs
9378         * MonthCalendar.cs: added for MonthCalendar
9379         * SelectionRange.cs: added for MonthCalendar
9380         * Day.cs: added for MonthCalendar: added for MonthCalendar
9381         * DateRangeEventArgs.cs: added for MonthCalendar
9382         * DateRangeEventHandler.cs: added for MonthCalendar
9383
9384 2004-11-22  Ravindra <rkumar@novell.com>
9385
9386         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9387         property.
9388
9389 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
9390
9391         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9392         event handler.
9393         
9394         * NumericUpDown.cs: Added new implementation.
9395         * UpDownBase.cs: Added new implementation.
9396
9397         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9398         implementations.
9399         
9400         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9401         implementations.
9402
9403         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9404         methods.
9405
9406 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
9407
9408         * Timer.cs  (Dispose): Should call the base dispose when
9409         overriding.
9410
9411 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9412
9413         * ScrollBar.cs: updates thumb position when max, min or increment
9414         is changed
9415
9416 2004-11-21  Ravindra <rkumar@novell.com>
9417
9418         * ListView.cs: Implemented item selection, activation and
9419         column header style. Fixed properties to do a redraw, if
9420         required. Added support for MouseHover, DoubleClick, KeyDown
9421         and KeyUp event handling and some minor fixes.
9422         * ListViewItem.cs: Fixed constructor.
9423         * ThemeWin32Classic.cs: Improved drawing for ListView.
9424
9425 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9426
9427         * ThemeWin32Classic.cs: initial listbox drawing code
9428         * DrawMode.cs: new enumerator
9429         * ListControl.cs: stubbed class
9430         * ListBox.cs: initial implementation
9431         * Theme.cs: new methods definitions
9432         * SelectionMode.cs: new enumerator
9433
9434 2004-11-17  Peter Bartok  <pbartok@novell.com>
9435
9436         * XplatUIWin32.cs: Added double-click events to the class style
9437         * Control.cs (WndProc):
9438           - Added handling of click-count to MouseDown/ MouseUp events.
9439           - Added handling of middle and right mouse buttons
9440           - Removed old debug code
9441
9442 2004-11-17  Jackson Harper  <jackson@ximian.com>
9443
9444         * XplatUIX11.cs: Use the new Mono.Unix namespace.
9445
9446 2004-11-17  Ravindra <rkumar@novell.com>
9447
9448         * ListView.cs: Added event handling for MouseMove/Up/Down.
9449         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9450         * ThemeWin32Classic.cs: We need to clear the graphics context and
9451         draw column header in a proper state.
9452
9453
9454 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
9455
9456         *  Menu.cs: fixes signature
9457
9458 2004-11-16  Peter Bartok  <pbartok@novell.com>
9459
9460         * XplatUIX11.cs (GetMessage): Implemented generation of
9461           double click mouse messages
9462
9463 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
9464
9465         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9466         not by menu
9467
9468 2004-11-11  Peter Bartok  <pbartok@novell.com>
9469
9470         * HandleData.cs: Added Visible property
9471         * XplatUIX11.cs (IsVisible): Now uses Visible property from
9472           HandleData
9473         * XplatUIX11.cs: Removed old debug leftovers
9474         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9475         * Control.cs (WndProc): Removed old debug leftovers,
9476           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9477           needed WM_SIZE handling
9478
9479 2004-11-11  Jackson Harper  <jackson@ximian.com>
9480
9481         * OwnerDrawPropertyBag.cs:
9482         * TreeViewImageIndexConverter.cs: Initial implementation
9483
9484 2004-11-10  Jackson Harper  <jackson@ximian.com>
9485
9486         * ThemeWin32Classic.cs:
9487         * TabControl.cs: instead of moving tabs by the slider pos just
9488         start drawing at the tab that is offset by the slider. This way
9489         scrolling always moves by exactly one tab.
9490
9491 2004-11-10  Jackson Harper  <jackson@ximian.com>
9492
9493         * TabControl.cs: You can only scroll left when the slider has
9494         already ben moved right.
9495         
9496 2004-11-10  Jackson Harper  <jackson@ximian.com>
9497
9498         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9499         the clip area.
9500         
9501 2004-11-10  Jackson Harper  <jackson@ximian.com>
9502
9503         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9504         clip area.
9505         
9506 2004-11-09  Jackson Harper  <jackson@ximian.com>
9507
9508         * TabControl.cs (CalcXPos): New helper method so we can determine
9509         the proper place to start drawing vertical tabs.
9510         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9511         
9512 2004-11-09  Jackson Harper  <jackson@ximian.com>
9513
9514         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9515         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9516         and Bottom, left and right are illegal values for this and
9517         multiline is enabled when the alignment is set to left or right.
9518         (DrawTab): Each alignment block should draw the text itself now
9519         because Left requires special love. Also add rendering for Left
9520         aligned tabs.
9521         
9522 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
9523
9524         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9525         does not destroy the windows, removes debugging messages
9526
9527 2004-11-09  jba  <jba-mono@optusnet.com.au>
9528
9529         * ThemeWin32Classic.cs
9530         (DrawButtonBase): Fix verticle text rect clipping in windows
9531         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9532         rendering and incorrect text rect clipping
9533         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9534         rendering and incorrect text rect clipping
9535         
9536 2004-11-08  Jackson Harper  <jackson@ximian.com>
9537
9538         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9539         bottom when they are bottom aligned so the bottoms of the tabs get
9540         displayed.
9541         * TabControl.cs (DropRow): Move rows up instead of down when the
9542         tab control is bottom aligned.
9543
9544 2004-11-08 13:59  pbartok
9545
9546         * XplatUIX11.cs:
9547           - Added handling for various window styles
9548           - Added handling for popup windows
9549           - Added SetTopmost handling
9550
9551 2004-11-08 13:55  pbartok
9552
9553         * XplatUIWin32.cs:
9554           - Added argument to SetTopmost method
9555           - Fixed broken ClientToScreen function
9556
9557 2004-11-08 13:53  pbartok
9558
9559         * XplatUIStructs.cs:
9560           - Added missing WS_EX styles
9561
9562 2004-11-08 13:53  pbartok
9563
9564         * XplatUI.cs, XplatUIDriver.cs:
9565           - Added argument to SetTopmost
9566
9567 2004-11-08 13:52  pbartok
9568
9569         * X11Structs.cs:
9570           - Added XSetWindowAttributes structure
9571           - Improved XWindowAttributes structure
9572           - Added SetWindowValuemask enum
9573           - Added window creation arguments enum
9574           - Added gravity enum
9575           - Added Motif hints structure
9576           - Added various Motif flags and enums
9577           - Added PropertyMode enum for property functions
9578
9579 2004-11-08 13:50  pbartok
9580
9581         * Form.cs:
9582           - Fixed arguments for updated SetTopmost method
9583
9584 2004-11-08 13:49  pbartok
9585
9586         * ToolTip.cs:
9587           - Fixed arguments for updated SetTopmost function
9588           - Fixed usage of PointToClient
9589
9590 2004-11-08 13:44  pbartok
9591
9592         * MenuAPI.cs:
9593           - Added Clipping of children and siblings
9594
9595 2004-11-08 13:41  pbartok
9596
9597         * MainMenu.cs:
9598           - Removed SetMenuBarWindow call. We do this in Form.cs
9599
9600 2004-11-08 13:40  jackson
9601
9602         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9603           scrolling jimmi in the correct location with bottom aligned tabs
9604
9605 2004-11-08 13:36  pbartok
9606
9607         * ContainerControl.cs:
9608           - Implemented BindingContext
9609           - Implemented ParentForm
9610
9611 2004-11-08 12:46  jackson
9612
9613         * TabControl.cs: Put bottom rendered tabs in the right location
9614
9615 2004-11-08 07:15  jordi
9616
9617         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9618           removes dead code
9619
9620 2004-11-05 17:30  jackson
9621
9622         * TabControl.cs: When selected tabs are expanded make sure they
9623           don't go beyond the edges of the tab control
9624
9625 2004-11-05 14:57  jackson
9626
9627         * TabControl.cs: Reset show_slider so if the control is resized to
9628           a size where it is no longer needed it's not displayed anymore
9629
9630 2004-11-05 13:16  jackson
9631
9632         * TabControl.cs: Make tab pages non visible when added to the
9633           control
9634
9635 2004-11-05 12:42  jackson
9636
9637         * TabControl.cs: Implement SizeMode.FillToRight
9638
9639 2004-11-05 12:16  jackson
9640
9641         * Control.cs: Do not call CreateHandle if the handle is already
9642           created
9643
9644 2004-11-05 11:46  jackson
9645
9646         * TabControl.cs: Remove superflous call to CalcTabRows
9647
9648 2004-11-05 09:07  jackson
9649
9650         * XplatUIX11.cs: Update for Mono.Posix changes
9651
9652 2004-11-05 07:00  ravindra
9653
9654         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9655           scrolling.
9656
9657 2004-11-04 22:47  jba
9658
9659         * ThemeWin32Classic.cs:
9660           - Fix Button rendering for FlatStyle = Flat or Popup
9661           - Fix RadioButton and CheckBox rendering when Appearance = Button
9662             (normal and flatstyle).
9663           - Correct outer rectangle color when drawing focus rectangle
9664           - Adjust button bounds to be 1 px smaller when focused
9665           - Make button not draw sunken 3d border when pushed (windows compat)
9666           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9667           - Offset the text in RadioButton and Checkbox when being rendered as
9668           a button.
9669           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9670           radiobuttons
9671           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9672           - Fixed disabled text rendering for normally rendered radiobuttons
9673
9674 2004-11-04 10:26  jackson
9675
9676         * TabControl.cs: Recalculate tab rows when resizing
9677
9678 2004-11-04 07:47  jordi
9679
9680         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9681           collection completion, drawing issues, missing features
9682
9683 2004-11-04 05:03  ravindra
9684
9685         * ScrollBar.cs:
9686                 - We need to recalculate the Thumb area when
9687                 LargeChange/maximum/minimum values are changed.
9688           - We set the 'pos' in UpdatePos() method to minimum, if it's less
9689                 than minimum. This is required to handle the case if large_change is
9690                 more than max, and use LargeChange property instead of large_change
9691                 variable.
9692           - We return max+1 when large_change is more than max, like MS does.
9693
9694 2004-11-04 04:29  ravindra
9695
9696         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9697                 - Changed default value signatures (prefixed all with ListView).
9698                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9699                 ListView.
9700           - Fixed calculations for ListViewItem and implemented Clone()
9701           method.
9702
9703 2004-11-04 04:26  ravindra
9704
9705         * Theme.cs, ThemeWin32Classic.cs:
9706                 - Changed default ListView values signatures (prefixed all with
9707                 ListView).
9708           - Fixed default size values for VScrollBar and HScrollBar.
9709                 - Fixed DrawListViewItem method.
9710
9711 2004-11-04 04:05  ravindra
9712
9713         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9714
9715 2004-11-04 04:04  ravindra
9716
9717         * ImageList.cs: Implemented the missing overload for Draw method.
9718
9719 2004-11-03 19:29  jackson
9720
9721         * TabControl.cs: Handle dropping rows on selection properly
9722
9723 2004-11-03 11:59  jackson
9724
9725         * TabControl.cs: remove debug code
9726
9727 2004-11-03 11:52  jackson
9728
9729         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9730           the scrolly widgerywoo
9731
9732 2004-11-02 13:52  jackson
9733
9734         * TabControl.cs: Resize the tab pages and tabs when the tab control
9735           is resized
9736
9737 2004-11-02 13:40  jackson
9738
9739         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9740           selected tab to the bottom
9741
9742 2004-11-02 13:39  jackson
9743
9744         * TabPage.cs: Store the tab pages row
9745
9746 2004-11-02 12:33  jordi
9747
9748         * MenuItem.cs: fixes handle creation
9749
9750 2004-11-02 11:42  jackson
9751
9752         * TabControl.cs: signature fix
9753
9754 2004-11-02 08:56  jackson
9755
9756         * TabControl.cs: Calculate whether the tab is on an edge properly.
9757           Remove top secret debugging code
9758
9759 2004-11-01 19:57  jackson
9760
9761         * TabControl.cs: Add click handling, and proper sizing
9762
9763 2004-11-01 19:47  jackson
9764
9765         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
9766           tab controls
9767
9768 2004-11-01 19:39  jackson
9769
9770         * TabPage.cs: add internal property to store the bounds of a tab
9771           page
9772
9773 2004-10-30 04:23  ravindra
9774
9775         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
9776           values.
9777
9778 2004-10-30 04:21  ravindra
9779
9780         * ListView.cs, ListViewItem.cs: Added support for scrolling and
9781           fixed calculations.
9782
9783 2004-10-30 03:06  pbartok
9784
9785         * XplatUIX11.cs:
9786           - Removed extension of DllImported libs
9787
9788 2004-10-29 09:55  jordi
9789
9790         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
9791           navigation, itemcollection completion, menu fixes
9792
9793 2004-10-27 22:58  pbartok
9794
9795         * XplatUIX11.cs:
9796           - Now throws a nice error message when no X display could be opened
9797
9798 2004-10-26 13:51  jordi
9799
9800         * ListView.cs: removes warning
9801
9802 2004-10-26 03:55  ravindra
9803
9804         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
9805           ThemeWin32Classic.cs: Some formatting for my last checkins.
9806
9807 2004-10-26 03:36  ravindra
9808
9809         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
9810           control and default values.
9811
9812 2004-10-26 03:35  ravindra
9813
9814         * Theme.cs: Added some default values for ListView control.
9815
9816 2004-10-26 03:33  ravindra
9817
9818         * ToolBar.cs: ToolBar should use the user specified button size, if
9819           there is any. Added a size_specified flag for the same.
9820
9821 2004-10-26 03:33  ravindra
9822
9823         * ColumnHeader.cs: Added some internal members and calculations for
9824           ColumnHeader.
9825
9826 2004-10-26 03:32  ravindra
9827
9828         * ListViewItem.cs: Calculations for ListViewItem.
9829
9830 2004-10-26 03:31  ravindra
9831
9832         * ListView.cs: Added some internal members and calculations for
9833           ListView.
9834
9835 2004-10-22 13:31  jordi
9836
9837         * MenuAPI.cs: speedup menus drawing
9838
9839 2004-10-22 13:16  jackson
9840
9841         * XplatUIX11.cs: Make sure to update exposed regions when adding an
9842           expose event
9843
9844 2004-10-22 11:49  jackson
9845
9846         * Control.cs: oops
9847
9848 2004-10-22 11:41  jackson
9849
9850         * Control.cs: Check to see if the window should have its background
9851           repainted by X when drawing.
9852
9853 2004-10-22 11:31  jackson
9854
9855         * XplatUIX11.cs: When invalidating areas only use XClearArea if
9856           clear is true, this way we do not get flicker from X repainting the
9857           background
9858
9859 2004-10-22 11:28  jackson
9860
9861         * XEventQueue.cs: Queue properly
9862
9863 2004-10-21 09:38  jackson
9864
9865         * XEventQueue.cs: Fix access modifier
9866
9867 2004-10-21 09:36  jackson
9868
9869         * XEventQueue.cs: Don't loose messages
9870
9871 2004-10-21 09:22  jackson
9872
9873         * XEventQueue.cs: Don't loose messages
9874
9875 2004-10-20 04:15  jordi
9876
9877         * BootMode.cs: enum need it by SystemInfo
9878
9879 2004-10-19 21:58  pbartok
9880
9881         * XplatUIWin32.cs:
9882           - Small sanity check
9883
9884 2004-10-19 21:56  pbartok
9885
9886         * Form.cs:
9887           - Added private FormParentWindow class which acts as the container
9888             for our form and as the non-client area where menus are drawn
9889           - Added/Moved required tie-ins to Jordi's menus
9890           - Fixed/Implemented the FormStartPosition functionality
9891
9892 2004-10-19 21:52  pbartok
9893
9894         * Control.cs:
9895           - Removed unneeded locals
9896           - Added code to all size and location properties to understand and
9897             deal with the parent container of Form
9898
9899 2004-10-19 21:33  pbartok
9900
9901         * Application.cs:
9902           - Fixed to deal with new Form subclasses for menus
9903
9904 2004-10-19 17:48  jackson
9905
9906         * XEventQueue.cs: commit correct version of file
9907
9908 2004-10-19 16:50  jackson
9909
9910         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9911
9912 2004-10-19 16:15  jordi
9913
9914         * MenuAPI.cs: MenuBarCalcSize returns the height
9915
9916 2004-10-19 08:31  pbartok
9917
9918         * Control.cs:
9919           - Added missing call to PreProcessMessage before calling OnXXXKey
9920           methods
9921
9922 2004-10-19 00:04  ravindra
9923
9924         * ToolTip.cs: Fixed constructor.
9925
9926 2004-10-18 09:31  jordi
9927
9928         * MenuAPI.cs: menuitems in menubars do not have shortcuts
9929
9930 2004-10-18 09:26  jordi
9931
9932         * MenuItem.cs: fixes MenuItem class signature
9933
9934 2004-10-18 08:56  jordi
9935
9936         * MenuAPI.cs: prevents windows from showing in the taskbar
9937
9938 2004-10-18 00:28  ravindra
9939
9940         * ToolTip.cs: Suppressed a warning message.
9941
9942 2004-10-18 00:27  ravindra
9943
9944         * Control.cs: Default value of visible property must be true.
9945
9946 2004-10-17 23:19  pbartok
9947
9948         * ToolTip.cs:
9949           - Complete implementation
9950
9951 2004-10-17 23:19  pbartok
9952
9953         * XplatUIX11.cs:
9954           - Added EnableWindow method
9955           - Added SetModal stub
9956           - Added generation of WM_ACTIVATE message (still needs testing)
9957           - Added SetTopMost stub
9958           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9959
9960 2004-10-17 23:17  pbartok
9961
9962         * XplatUIWin32.cs:
9963           - Removed VirtualKeys to XplatUIStructs
9964           - Implemented SetTopMost method
9965           - Implemented EnableWindow method
9966           - Bugfix in ScreenToClient()
9967           - Bugfixes in ClientToScreen()
9968
9969 2004-10-17 22:51  pbartok
9970
9971         * XplatUIStructs.cs:
9972           - Added WS_EX styles to WindowStyles enumeration
9973
9974 2004-10-17 22:50  pbartok
9975
9976         * XplatUI.cs, XplatUIDriver.cs:
9977           - Added method for enabling/disabling windows
9978           - Added method for setting window modality
9979           - Added method for setting topmost window
9980
9981 2004-10-17 22:49  pbartok
9982
9983         * ThemeWin32Classic.cs:
9984           - Added ToolTip drawing code
9985
9986 2004-10-17 22:49  pbartok
9987
9988         * Theme.cs:
9989           - Added ToolTip abstracts
9990
9991 2004-10-17 22:47  pbartok
9992
9993         * Form.cs:
9994           - Fixed Form.ControlCollection to handle owner relations
9995           - Added Owner/OwnedForms handling
9996           - Implemented Z-Ordering for owned forms
9997           - Removed unneeded private overload of ShowDialog
9998           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
9999             so I hope)
10000           - Fixed Close(), had wrong default
10001           - Added firing of OnLoad event
10002           - Added some commented out debug code for Ownership handling
10003
10004 2004-10-17 22:16  pbartok
10005
10006         * Control.cs:
10007           - Fixed/implemented flat list of controls
10008
10009 2004-10-17 22:14  pbartok
10010
10011         * Application.cs:
10012           - Added code to simulate modal dialogs on Win32
10013
10014 2004-10-17 16:11  jordi
10015
10016         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10017           mouse event
10018
10019 2004-10-17 13:39  jordi
10020
10021         * MenuAPI.cs: menu drawing fixes
10022
10023 2004-10-15 09:10  ravindra
10024
10025         * StructFormat.cs: General Enum.
10026
10027 2004-10-15 09:09  ravindra
10028
10029         * SizeGripStyle.cs: Enum for Form.
10030
10031 2004-10-15 09:08  ravindra
10032
10033         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10034           in Theme for ListView.
10035
10036 2004-10-15 09:06  ravindra
10037
10038         * ColumnHeader.cs: Flushing some formatting changes.
10039
10040 2004-10-15 09:05  ravindra
10041
10042         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10043           style.
10044
10045 2004-10-15 09:03  ravindra
10046
10047         * ListView.cs: Implemented Paint method and fixed coding style.
10048
10049 2004-10-15 07:34  jordi
10050
10051         * MenuAPI.cs: fix for X11
10052
10053 2004-10-15 07:32  ravindra
10054
10055         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10056                 - Renamed Paint() method to Draw() for clarity. Also, moved
10057                 DrawImage() to OnPaint().
10058
10059 2004-10-15 07:25  ravindra
10060
10061         * CheckBox.cs, RadioButton.cs:
10062                 - Removed Redraw (), we get it from ButtonBase.
10063                 - Implemented Paint (), to do class specific painting.
10064
10065 2004-10-15 07:16  ravindra
10066
10067         * ButtonBase.cs:
10068                 - Redraw () is not virtual now.
10069                 - Added an internal virtual method Paint (), so that
10070                 derived classes can do their painting on their own.
10071                 - Modified OnPaint () to call Paint ().
10072
10073 2004-10-15 06:43  jordi
10074
10075         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10076           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10077
10078 2004-10-15 00:30  ravindra
10079
10080         * MessageBox.cs:
10081                 - MessageBox on windows does not have min/max buttons.
10082                 This change in CreateParams fixes this on Windows. We
10083                 still need to implement this windowstyle behavior in
10084                 our X11 driver.
10085
10086 2004-10-14 05:14  ravindra
10087
10088         * ToolBar.cs:
10089                 - Changed Redraw () to do a Refresh () always.
10090                 - Fixed the MouseMove event handling when mouse is pressed,
10091                 ie drag event handling.
10092                 - Replaced the usage of ToolBarButton.Pressed property to
10093                 ToolBarButton.pressed internal variable.
10094
10095 2004-10-14 05:10  ravindra
10096
10097         * ToolBarButton.cs:
10098                 - Added an internal member 'inside' to handle mouse move
10099                 with mouse pressed ie mouse drag event.
10100                 - Changed 'Pressed' property to return true only when
10101                 'inside' and 'pressed' are both true.
10102                 - Some coding style love.
10103
10104 2004-10-14 00:17  ravindra
10105
10106         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10107           public method.
10108
10109 2004-10-14 00:15  ravindra
10110
10111         * ButtonBase.cs: Redraw () related improvements.
10112
10113 2004-10-14 00:14  ravindra
10114
10115         * MessageBox.cs: Moved InitFormSize () out of Paint method and
10116           removed unnecessary calls to Button.Show () method.
10117
10118 2004-10-13 17:50  pbartok
10119
10120         * XplatUIX11.cs:
10121           - Formatting fix
10122           - Removed destroying of window until we solve the problem of X
10123             destroying the window before us on shutdown
10124
10125 2004-10-13 16:32  pbartok
10126
10127         * ButtonBase.cs:
10128           - Now Redraws on MouseUp for FlatStyle Flat and Popup
10129
10130 2004-10-13 14:18  pbartok
10131
10132         * XplatUIX11.cs:
10133           - Added code to destroy the X window
10134
10135 2004-10-13 14:18  pbartok
10136
10137         * XplatUIWin32.cs:
10138           - Added code to destroy a window
10139
10140 2004-10-13 14:12  pbartok
10141
10142         * ButtonBase.cs:
10143           - Added the Redraw on Resize that got dropped in the last rev
10144
10145 2004-10-13 09:06  pbartok
10146
10147         * ThemeWin32Classic.cs:
10148           - Path from John BouAntoun:
10149             * Fix check rendering (centre correctly for normal style, offset
10150               correctly for FlatStyle).
10151             * Fix border color usage (use backcolor) for FlatStyle.Popup
10152             * Use checkbox.Capture instead of checkbox.is_pressed when
10153               rendering flatstyle states.
10154
10155 2004-10-12 21:48  pbartok
10156
10157         * ThemeWin32Classic.cs:
10158           - Removed all occurences of SystemColors and replaced them with the
10159             matching theme color
10160
10161 2004-10-12 21:41  pbartok
10162
10163         * ThemeWin32Classic.cs:
10164           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10165             him using the function for flatstyle drawing
10166           - Changed functions to use the new version of CPDrawBorder3D
10167
10168 2004-10-12 21:15  pbartok
10169
10170         * ControlPaint.cs:
10171           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10172             match MS documentation. They need to return defined colors if the
10173             passed color matches the configured control color. Thanks to John
10174             BouAntoun for pointing this out.
10175
10176 2004-10-12 20:57  pbartok
10177
10178         * Control.cs:
10179           - Fix from John BouAntoun: Raise ForeColorChanged event when text
10180             color is changed
10181
10182 2004-10-12 20:46  pbartok
10183
10184         * CheckBox.cs:
10185           - Fix from John BouAntoun: Now properly sets the Appearance property
10186
10187 2004-10-12 20:45  pbartok
10188
10189         * ThemeWin32Classic.cs:
10190           - Fixes from John BouAntoun: now handles forecolors and backcolors
10191             for flatstyle rendered controls much better; It also fixes normal
10192             checkbox rendering when pushed or disabled.
10193
10194 2004-10-08 02:50  jordi
10195
10196         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10197           work
10198
10199 2004-10-07 08:56  jordi
10200
10201         * ThemeWin32Classic.cs: Removes deletion of cached brushes
10202
10203 2004-10-06 03:59  jordi
10204
10205         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10206           XplatUIWin32.cs: removes warnings from compilation
10207
10208 2004-10-05 12:23  jackson
10209
10210         * RadioButton.cs: Fix ctor
10211
10212 2004-10-05 11:10  pbartok
10213
10214         * MessageBox.cs:
10215           - Partial implementation by Benjamin Dasnois
10216
10217 2004-10-05 10:15  jackson
10218
10219         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10220           by John BouAntoun
10221
10222 2004-10-05 03:07  ravindra
10223
10224         * ToolBar.cs:
10225                 - Removed a private method, Draw ().
10226                 - Fixed the ButtonDropDown event handling.
10227                 - Fixed MouseMove event handling.
10228
10229 2004-10-05 03:04  ravindra
10230
10231         * ThemeWin32Classic.cs:
10232                 - Added DrawListView method and ListViewDefaultSize property.
10233                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10234                 - Changed DOS style CRLF to Unix format (dos2unix).
10235
10236 2004-10-05 03:03  ravindra
10237
10238         * Theme.cs:
10239                 - Added DrawListView method and ListViewDefaultSize property.
10240
10241 2004-10-05 02:42  ravindra
10242
10243         * ToolBarButton.cs: Added an internal member dd_pressed to handle
10244           clicks on DropDown arrow.
10245
10246 2004-10-04 22:56  jackson
10247
10248         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10249           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10250           Control handle the buffers, derived classes should not have to
10251           CreateBuffers themselves.
10252
10253 2004-10-04 21:20  jackson
10254
10255         * StatusBar.cs: The control handles resizing the buffers now.
10256
10257 2004-10-04 21:18  jackson
10258
10259         * Control.cs: When resizing the buffers should be invalidated. This
10260           should be handled in Control not in derived classes.
10261
10262 2004-10-04 14:45  jackson
10263
10264         * TabPage.cs: oops
10265
10266 2004-10-04 02:14  pbartok
10267
10268         * LeftRightAlignment.cs:
10269           - Initial check-in
10270
10271 2004-10-04 01:09  jordi
10272
10273         * ThemeWin32Classic.cs: fixes right button position causing right
10274           button not showing on horizontal scrollbars
10275
10276 2004-10-02 13:12  pbartok
10277
10278         * XplatUIX11.cs:
10279           - Simplified the Invalidate method by using an X call instead of
10280             generating the expose ourselves
10281           - Added an expose when the window background is changed
10282           - Implemented ClientToScreen method
10283
10284 2004-10-02 13:08  pbartok
10285
10286         * XplatUIWin32.cs:
10287           - Added Win32EnableWindow method (test for implementing modal
10288           dialogs)
10289           - Added ClientToScreen method and imports
10290
10291 2004-10-02 13:07  pbartok
10292
10293         * XplatUI.cs, XplatUIDriver.cs:
10294           - Added ClientToScreen coordinate translation method
10295
10296 2004-10-02 13:06  pbartok
10297
10298         * KeyPressEventArgs.cs:
10299           - Fixed access level for constructor
10300
10301 2004-10-02 13:06  pbartok
10302
10303         * NativeWindow.cs:
10304           - Changed access level for the window_collection hash table
10305
10306 2004-10-02 13:05  pbartok
10307
10308         * Form.cs:
10309           - Added KeyPreview property
10310           - Added Menu property (still incomplete, pending Jordi's menu work)
10311           - Implemented ProcessCmdKey
10312           - Implemented ProcessDialogKey
10313           - Implemented ProcessKeyPreview
10314
10315 2004-10-02 13:02  pbartok
10316
10317         * Control.cs:
10318           - Added private method to get the Control object from the window
10319           handle
10320           - Implemented ContextMenu property
10321           - Implemented PointToScreen
10322           - Implemented PreProcessMessage
10323           - Implemented IsInputChar
10324           - Implemented IsInputKey
10325           - Implemented ProcessCmdKey
10326           - Completed ProcessKeyEventArgs
10327           - Fixed message loop to call the proper chain of functions on key
10328           events
10329           - Implemented ProcessDialogChar
10330           - Implemented ProcessDialogKey
10331           - Implemented ProcessKeyMessage
10332           - Implemented ProcessKeyPreview
10333           - Added RaiseDragEvent stub (MS internal method)
10334           - Added RaiseKeyEvent stub (MS internal method)
10335           - Added RaiseMouseEvent stub (MS Internal method)
10336           - Added RaisePaintEvent stub (MS Internal method)
10337           - Added ResetMouseEventArgs stub (MS Internal method)
10338           - Implemented RtlTranslateAlignment
10339           - Implemented RtlTranslateContent
10340           - Implemented RtlTranslateHorizontal
10341           - Implemented RtlTranslateLeftRight
10342           - Added generation of KeyPress event
10343
10344 2004-10-02 05:57  ravindra
10345
10346         * ListViewItem.cs: Added attributes.
10347
10348 2004-10-02 05:32  ravindra
10349
10350         * ListView.cs: Added attributes.
10351
10352 2004-10-01 11:53  jackson
10353
10354         * Form.cs: Implement the Close method so work on MessageBox can
10355           continue.
10356
10357 2004-09-30 14:06  pbartok
10358
10359         * XplatUIX11.cs:
10360           - Bug fixes
10361
10362 2004-09-30 11:34  jackson
10363
10364         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10365
10366 2004-09-30 07:26  ravindra
10367
10368         * ListViewItemConverter.cs: Converter for ListViewItem.
10369
10370 2004-09-30 07:26  ravindra
10371
10372         * SortOrder.cs: Enum for ListView control.
10373
10374 2004-09-30 07:25  ravindra
10375
10376         * ColumnHeader.cs: Supporting class for ListView control.
10377
10378 2004-09-30 07:24  ravindra
10379
10380         * ListView.cs, ListViewItem.cs: Initial implementation.
10381
10382 2004-09-30 07:20  ravindra
10383
10384         * ItemActivation.cs: Enum for ListView Control.
10385
10386 2004-09-29 20:29  pbartok
10387
10388         * XplatUIX11.cs:
10389           - Added lookup of pixel value for background color; tries to get a
10390             color 'close' to the requested color, it avoids having to create a
10391             colormap.  Depending on the display this could mean the used color
10392             is slightly off the desired color. Might have to change it to a more
10393             resource intensive colormap approach, but it will work as a
10394           workaround to avoid red screens.
10395
10396 2004-09-29 14:27  jackson
10397
10398         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10399
10400 2004-09-28 12:44  pbartok
10401
10402         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10403           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10404           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10405           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10406           TrackBar.cs, VScrollBar.cs:
10407           - Streamlined Theme interfaces:
10408             * Each DrawXXX method for a control now is passed the object for
10409               the control to be drawn in order to allow accessing any state the
10410               theme might require
10411
10412             * ControlPaint methods for the theme now have a CP prefix to avoid
10413               name clashes with the Draw methods for controls
10414
10415             * Every control now retrieves it's DefaultSize from the current
10416             theme
10417
10418 2004-09-28 12:17  jackson
10419
10420         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10421           drawing
10422
10423 2004-09-24 14:57  jackson
10424
10425         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10426           Gives us a nice little performance boost.
10427
10428 2004-09-24 12:02  jackson
10429
10430         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10431           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10432           Control and supporting classes. Initial checkin
10433
10434 2004-09-23 13:08  jackson
10435
10436         * Form.cs: Temp build fixage
10437
10438 2004-09-23 01:39  ravindra
10439
10440         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10441           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10442           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10443           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10444           EventHandlers needed by ListView Control.
10445
10446 2004-09-22 14:12  pbartok
10447
10448         * ScrollableControl.cs:
10449           - Implemented DockPadding property
10450           - Implemented AutoScroll property
10451           - Implemented AutoScrollMargin property
10452           - Implemented AutoScrollMinSize property
10453           - Implemented AutoScrollPosition property
10454           - Implemented DisplayRectangle property (still incomplete)
10455           - Implemented CreateParams property
10456           - Implemented HScroll property
10457           - Implemented VScroll property
10458           - Implemented OnVisibleChanged property
10459
10460 2004-09-22 14:09  pbartok
10461
10462         * Form.cs:
10463           - Added Form.ControllCollection class
10464           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10465             RemoveOwnedForm (still incomplete, missing on-top and common
10466             minimize/maximize behaviour)
10467           - Added StartPosition property (still incomplete, does not use when
10468             creating the form)
10469           - Added ShowDialog() methods (still incomplete, missing forcing the
10470             dialog modal)
10471
10472 2004-09-22 14:05  pbartok
10473
10474         * Application.cs:
10475           - Added message loop for modal dialogs
10476
10477 2004-09-22 14:02  pbartok
10478
10479         * GroupBox.cs:
10480           - Fixed wrong types for events
10481
10482 2004-09-22 14:00  pbartok
10483
10484         * Shortcut.cs, FormWindowState.cs:
10485           - Fixed wrong values
10486
10487 2004-09-22 12:01  jackson
10488
10489         * Control.cs: Text is never null
10490
10491 2004-09-20 22:14  pbartok
10492
10493         * XplatUIWin32.cs:
10494           - Fixed accessibility level for Idle handler
10495
10496 2004-09-20 18:54  jackson
10497
10498         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10499           XplatUIX11.cs: New message loop that uses poll so we don't get a
10500           busy loop
10501
10502 2004-09-17 10:43  pbartok
10503
10504         * ScrollBar.cs:
10505           - Fixed behaviour of arrow buttons. Now properly behaves like
10506             Buttons (and like Microsoft's scrollbar arrow buttons)
10507
10508 2004-09-17 10:14  pbartok
10509
10510         * ScrollBar.cs:
10511           - Added missing release of keyboard/mouse capture
10512
10513 2004-09-17 06:18  jordi
10514
10515         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10516           Theme.cs: Very early menu support
10517
10518 2004-09-16 17:45  pbartok
10519
10520         * XplatUIWin32.cs:
10521           - Fixed sending a window to the front
10522           - Added overload for SetWindowPos to avoid casting
10523
10524 2004-09-16 17:44  pbartok
10525
10526         * Control.cs:
10527           - Added SendToBack and BringToFront methods
10528
10529 2004-09-16 07:00  ravindra
10530
10531         * Copyright: Added Novell URL.
10532
10533 2004-09-16 07:00  ravindra
10534
10535         * ToolBar.cs: Invalidate should be done before redrawing.
10536
10537 2004-09-15 21:19  ravindra
10538
10539         * ColumnHeaderStyle.cs: Enum for ListView Control.
10540
10541 2004-09-15 21:18  ravindra
10542
10543         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10544           ListView Control.
10545
10546 2004-09-13 18:26  jackson
10547
10548         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10549           properly
10550
10551 2004-09-13 18:13  jackson
10552
10553         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10554           a second thread and post messages into the main threads message
10555           queue. This makes timing much more consistent. Both win2K and XP
10556           have a minimum timer value of 15 milliseconds, so we now do this
10557           too.
10558
10559 2004-09-13 15:18  pbartok
10560
10561         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10562           XplatUIX11.cs:
10563           - Added Z-Ordering methods
10564
10565 2004-09-13 10:56  pbartok
10566
10567         * Form.cs:
10568           - Fixed #region names
10569           - Moved properties and methods into their proper #regions
10570
10571 2004-09-13 10:51  pbartok
10572
10573         * Form.cs:
10574           - Added Accept and CancelButton properties
10575           - Added ProcessDialogKey() method
10576
10577 2004-09-13 08:18  pbartok
10578
10579         * IWindowTarget.cs:
10580           - Initial check-in
10581
10582 2004-09-10 21:50  pbartok
10583
10584         * Control.cs:
10585           - Added DoDragDrop() [incomplete]
10586           - Properly implemented 'Visible' handling
10587           - Added SetVisibleCore()
10588           - Implemented FindChildAtPoint()
10589           - Implemented GetContainerControl()
10590           - Implemented Hide()
10591
10592 2004-09-10 19:28  pbartok
10593
10594         * Control.cs:
10595           - Moved methods into their appropriate #regions
10596           - Reordered methods within regions alphabetically
10597
10598 2004-09-10 18:57  pbartok
10599
10600         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10601           - Added method to retrieve text from window
10602
10603 2004-09-10 18:56  pbartok
10604
10605         * Control.cs:
10606           - Moved some internal functions into the internal region
10607           - Implemented FontHeight
10608           - Implemented RenderRightToLeft
10609           - Implemented ResizeRedraw
10610           - Implemented ShowFocusCues
10611           - Implemented ShowKeyboardCues
10612           - Implemented FromChildHandle
10613           - Implemented FromHandle
10614           - Implemented IsMnemonic
10615           - Implemented ReflectMessage
10616           - All public and protected Static Methods are now complete
10617
10618 2004-09-10 16:54  pbartok
10619
10620         * Control.cs:
10621           - Implemented remaining missing public instance properties
10622           - Alphabetized some out of order properties
10623
10624 2004-09-10 05:51  ravindra
10625
10626         * PictureBox.cs: Added a check for null image.
10627
10628 2004-09-10 00:59  jordi
10629
10630         * GroupBox.cs: remove cvs tag
10631
10632 2004-09-09 05:25  ravindra
10633
10634         * ToolBar.cs: Make redraw accessible from ToolBarButton.
10635
10636 2004-09-09 05:23  ravindra
10637
10638         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10639           parent redraw.
10640
10641 2004-09-09 02:28  pbartok
10642
10643         * ThemeWin32Classic.cs:
10644           - Improve disabled string look
10645
10646 2004-09-09 01:15  jordi
10647
10648         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10649           args and handler
10650
10651 2004-09-08 23:56  ravindra
10652
10653         * ItemBoundsPortion.cs: It's enum, not a class!
10654
10655 2004-09-08 23:47  ravindra
10656
10657         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10658           Enums for Form.
10659
10660 2004-09-08 21:13  ravindra
10661
10662         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10663           ListView control.
10664
10665 2004-09-08 21:03  ravindra
10666
10667         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10668           avoid crash.
10669
10670 2004-09-08 21:01  ravindra
10671
10672         * ScrollableControl.cs: Removed unreachable code.
10673
10674 2004-09-08 06:45  jordi
10675
10676         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10677
10678 2004-09-08 01:00  jackson
10679
10680         * XplatUIX11.cs: Only run the timers when updating the message
10681           queue. This effectively gives X messages a higher priority then
10682           timer messages. Timers still need love though
10683
10684 2004-09-07 14:01  jackson
10685
10686         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10687           this for us and the handle is no longer valid.
10688
10689 2004-09-07 13:59  jackson
10690
10691         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10692           loop that manages to not crash. TODO: Add poll and cleanup timers
10693
10694 2004-09-07 11:12  jordi
10695
10696         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10697
10698 2004-09-07 03:40  jordi
10699
10700         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10701           fixes, methods, multiple links
10702
10703 2004-09-06 06:55  jordi
10704
10705         * Control.cs: Caches ClientRectangle rectangle value
10706
10707 2004-09-05 02:03  jordi
10708
10709         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10710           certain situations
10711
10712 2004-09-04 11:10  jordi
10713
10714         * Label.cs: Refresh when font changed
10715
10716 2004-09-02 16:24  pbartok
10717
10718         * Control.cs:
10719           - Added sanity check to creation of double buffer bitmap
10720
10721 2004-09-02 16:24  pbartok
10722
10723         * ButtonBase.cs:
10724           - Fixed selection of text color
10725           - Fixed handling of resize event; now properly recreates double
10726             buffering bitmap
10727           - Added missing assignment of TextAlignment
10728           - Added proper default for TextAlignment
10729
10730 2004-09-02 14:26  pbartok
10731
10732         * RadioButton.cs:
10733           - Added missing RadioButton.RadioButtonAccessibleObject class
10734
10735 2004-09-02 14:26  pbartok
10736
10737         * Control.cs:
10738           - Added missing Control.ControlAccessibleObject class
10739           - Started to implement Select()ion mechanisms, still very incomplete
10740
10741 2004-09-02 14:25  pbartok
10742
10743         * AccessibleObject.cs:
10744           - Added missing methods
10745
10746 2004-09-02 14:23  pbartok
10747
10748         * AccessibleNavigation.cs, AccessibleSelection.cs:
10749           - Initial check-in
10750
10751 2004-09-02 10:32  jordi
10752
10753         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10754           pool for pens, brushes, and hatchbruses
10755
10756 2004-09-01 15:30  jackson
10757
10758         * StatusBar.cs: Fix typo
10759
10760 2004-09-01 14:44  pbartok
10761
10762         * RadioButton.cs:
10763           - Fixed state
10764
10765 2004-09-01 14:39  pbartok
10766
10767         * Button.cs, RadioButton.cs:
10768           - Functional initial check-in
10769
10770 2004-09-01 14:01  pbartok
10771
10772         * CheckBox.cs:
10773           - Added missing default
10774           - Added missing region mark
10775
10776 2004-09-01 09:10  jordi
10777
10778         * Label.cs: fixes method signatures, new methods, events, fixes
10779           autosize
10780
10781 2004-09-01 07:19  jordi
10782
10783         * Control.cs: Init string variables with an empty object
10784
10785 2004-09-01 04:20  jordi
10786
10787         * Control.cs: fires OnFontChanged event
10788
10789 2004-08-31 20:07  pbartok
10790
10791         * ButtonBase.cs:
10792           - Enabled display of strings
10793
10794 2004-08-31 20:05  pbartok
10795
10796         * Form.cs:
10797           - Added (partial) implementation of DialogResult; rest needs to be
10798             implemented when the modal loop code is done
10799
10800 2004-08-31 19:55  pbartok
10801
10802         * CheckBox.cs:
10803           - Fixed to match the removal of the needs_redraw concept
10804
10805 2004-08-31 19:55  pbartok
10806
10807         * ButtonBase.cs:
10808           - Removed the rather odd split between 'needs redraw' and redrawing
10809           - Now handles the events that require regeneration (ambient
10810             properties and size)
10811
10812 2004-08-31 19:41  pbartok
10813
10814         * Control.cs:
10815           - Added firing of BackColorChanged event
10816           - Added TopLevelControl property
10817           - Fixed handling of WM_ERASEBKGRND message
10818
10819 2004-08-31 12:49  pbartok
10820
10821         * ButtonBase.cs:
10822           - Removed debug
10823           - Minor fixes
10824
10825 2004-08-31 12:48  pbartok
10826
10827         * CheckBox.cs:
10828           - Finished (famous last words)
10829
10830 2004-08-31 04:35  jordi
10831
10832         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
10833           scrolling bugs, adds new methods
10834
10835 2004-08-30 14:42  pbartok
10836
10837         * CheckBox.cs:
10838           - Implemented CheckBox drawing code
10839
10840 2004-08-30 14:42  pbartok
10841
10842         * ButtonBase.cs:
10843           - Made Redraw() and CheckRedraw() virtual
10844           - Improved mouse up/down/move logic to properly track buttons
10845
10846 2004-08-30 09:44  pbartok
10847
10848         * CheckBox.cs:
10849           - Updated to fix broken build. Not complete yet.
10850
10851 2004-08-30 09:28  pbartok
10852
10853         * CheckState.cs:
10854           - Initial checkin
10855
10856 2004-08-30 09:17  pbartok
10857
10858         * Appearance.cs:
10859           - Initial check-in
10860
10861 2004-08-27 16:12  ravindra
10862
10863         * ToolBarButton.cs: Added TypeConverter attribute.
10864
10865 2004-08-27 16:07  ravindra
10866
10867         * ImageIndexConverter.cs: Implemented.
10868
10869 2004-08-27 14:17  pbartok
10870
10871         * Control.cs:
10872           - Removed unneeded stack vars
10873           - First attempt to fix sizing issues when layout is suspended
10874
10875 2004-08-25 15:35  jordi
10876
10877         * ScrollBar.cs: more fixes to scrollbar
10878
10879 2004-08-25 14:04  ravindra
10880
10881         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10882           Added the missing divider code and grip for ToolBar Control.
10883
10884 2004-08-25 13:20  pbartok
10885
10886         * Control.cs:
10887           - Control now properly passes the ambient background color to child
10888             controls
10889
10890 2004-08-25 13:20  jordi
10891
10892         * ScrollBar.cs: small bug fix regarding bar position
10893
10894 2004-08-25 12:33  pbartok
10895
10896         * Timer.cs:
10897           - Now only calls SetTimer or KillTimer if the enabled state has
10898           changed
10899
10900 2004-08-25 12:33  pbartok
10901
10902         * XplatUIWin32.cs:
10903           - Fixed timer handling, now seems to work
10904           - Improved error message for window creation
10905
10906 2004-08-25 12:32  pbartok
10907
10908         * Control.cs:
10909           - Fixed generation of MouseUp message
10910
10911 2004-08-25 12:29  jordi
10912
10913         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10914           and fixes for progressbar
10915
10916 2004-08-24 18:43  ravindra
10917
10918         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10919           in ToolBar control.
10920
10921 2004-08-24 17:15  pbartok
10922
10923         * Panel.cs:
10924           - Added #region
10925           - Added missing events
10926           - Alphabetized
10927
10928 2004-08-24 17:14  pbartok
10929
10930         * StatusBar.cs, PictureBox.cs:
10931           - Now uses Control's CreateParams
10932
10933 2004-08-24 16:36  pbartok
10934
10935         * XplatUIX11.cs:
10936           - Fixed background color handling
10937           - Fixed sending of enter/leave events on a grab
10938
10939 2004-08-24 16:35  pbartok
10940
10941         * X11Structs.cs:
10942           - Refined definitions for CrossingEvent
10943
10944 2004-08-24 12:37  jordi
10945
10946         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10947           formmating, methods signature, and adds missing events
10948
10949 2004-08-24 12:24  jordi
10950
10951         * Control.cs: fire OnEnabledChanged event
10952
10953 2004-08-24 11:17  pbartok
10954
10955         * XplatUIWin32.cs:
10956           - Implemented SetTimer() and KillTimer()
10957
10958 2004-08-24 11:16  pbartok
10959
10960         * XplatUIX11.cs:
10961           - Now uses Remove instead of Add to kill the timer
10962
10963 2004-08-24 10:16  jackson
10964
10965         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10966           picture boxes in the theme now. Draw picture box borders and obey
10967           sizing modes
10968
10969 2004-08-24 05:49  jackson
10970
10971         * Timer.cs: Remove top secret debugging code
10972
10973 2004-08-24 05:34  jackson
10974
10975         * PictureBox.cs: Temp hack to make picture boxes draw their full
10976           image
10977
10978 2004-08-24 05:29  jackson
10979
10980         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10981           XplatUIX11.cs: Move timers to the driver level. On X they are
10982           queued by the driver and checked on idle.
10983
10984 2004-08-24 01:07  jackson
10985
10986         * XplatUIX11.cs: Use a queue for async messages instead of passing
10987           them as ClientMessages since that was totally broken. Also simply
10988           check for events and return an idle message if none are found. This
10989           gives us an idle handler, and prevents deadlocking when no messages
10990           are in the queue.
10991
10992 2004-08-23 18:19  ravindra
10993
10994         * XplatUIWin32.cs: Removed the unwanted destructor.
10995
10996 2004-08-23 17:27  pbartok
10997
10998         * ButtonBase.cs:
10999           - Finishing touches. Works now, just needs some optimizations.
11000
11001 2004-08-23 16:53  jordi
11002
11003         * ScrollBar.cs: small fix
11004
11005 2004-08-23 16:45  pbartok
11006
11007         * Application.cs:
11008           - Removed debug output
11009           - Simplifications
11010
11011 2004-08-23 16:43  jordi
11012
11013         * ScrollBar.cs: [no log message]
11014
11015 2004-08-23 16:10  pbartok
11016
11017         * Form.cs:
11018           - Fixed handling of WM_CLOSE message
11019           - Removed debug output
11020
11021 2004-08-23 16:09  pbartok
11022
11023         * Application.cs:
11024           - Added handling of Idle event
11025           - Added handling of form closing
11026           - Fixed reporting of MessageLoop property
11027           - Removed some unneeded code, should provide a bit of a speedup
11028
11029 2004-08-23 15:22  pbartok
11030
11031         * Control.cs:
11032           - Added InitLayout() method
11033           - Added code to properly perform layout when Anchor or Dock property
11034             is changed
11035           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11036             LAMESPEC, tried to do it in a way that makes sense
11037
11038 2004-08-23 14:10  jordi
11039
11040         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11041           properties and methods
11042
11043 2004-08-23 13:55  pbartok
11044
11045         * Control.cs:
11046           - Properly fixed Jordi's last fix
11047           - Now uses Cursor's Position property instead of calling XplatUI
11048           directly
11049
11050 2004-08-23 13:44  jordi
11051
11052         * PaintEventHandler.cs: Adding missing attribute
11053
11054 2004-08-23 13:39  pbartok
11055
11056         * Cursor.cs:
11057           - Implemented Position property
11058
11059 2004-08-23 13:39  pbartok
11060
11061         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11062           - Added method to move mouse cursor
11063
11064 2004-08-23 13:39  pbartok
11065
11066         * XplatUIX11.cs:
11067           - Fixed setting of background color
11068           - Added method to move mouse cursor
11069
11070 2004-08-23 13:16  jordi
11071
11072         * Control.cs: avoids null exception
11073
11074 2004-08-22 17:46  jackson
11075
11076         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11077           PictureBox
11078
11079 2004-08-22 17:40  jackson
11080
11081         * XplatUIX11.cs: Add some missing locks
11082
11083 2004-08-22 15:10  pbartok
11084
11085         * Control.cs, Form.cs:
11086           - Removed OverlappedWindow style from Control, instead it's default
11087             now is child
11088           - Made form windows OverlappedWindow by default
11089
11090 2004-08-22 13:34  jackson
11091
11092         * ScrollBar.cs: Update the position through the Value property so
11093           the OnValueChanged event is raised.
11094
11095 2004-08-22 12:04  pbartok
11096
11097         * SWF.csproj:
11098           - Added Cursor.cs and UserControl.cs
11099
11100 2004-08-22 12:03  pbartok
11101
11102         * Cursor.cs:
11103           - Started implementation, not usable yet
11104
11105 2004-08-22 12:00  pbartok
11106
11107         * UserControl.cs:
11108           - Implemented UserControl (complete)
11109
11110 2004-08-21 19:20  ravindra
11111
11112         * ToolBar.cs: Correcting the formatting mess of VS.NET.
11113
11114 2004-08-21 18:49  ravindra
11115
11116         * ToolBar.cs: Probably this completes the missing attributes in
11117           toolbar control.
11118
11119 2004-08-21 18:03  ravindra
11120
11121         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11122           Fixed toolbar control signatures.
11123
11124 2004-08-21 16:32  pbartok
11125
11126         * LinkLabel.cs:
11127           - Signature Fixes
11128
11129 2004-08-21 16:30  pbartok
11130
11131         * Label.cs:
11132           - Signature fixes
11133
11134 2004-08-21 16:19  pbartok
11135
11136         * Control.cs, Label.cs:
11137           - Signature fixes
11138
11139 2004-08-21 15:57  pbartok
11140
11141         * ButtonBase.cs:
11142           - Added loads of debug output for development
11143           - Fixed typo in method name
11144
11145 2004-08-21 15:52  pbartok
11146
11147         * ToolBarButtonClickEventArgs.cs:
11148           - Added missing base class
11149
11150 2004-08-21 14:53  pbartok
11151
11152         * Control.cs:
11153           - Updated to match new GrabWindow signature
11154
11155 2004-08-21 14:51  pbartok
11156
11157         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11158           - Added method to get default display size
11159
11160 2004-08-21 14:23  pbartok
11161
11162         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11163           - Added method to query current grab state
11164           - Added argument to allow confining a grab to a window
11165
11166 2004-08-21 14:22  pbartok
11167
11168         * Keys.cs:
11169           - Added [Flags] attribute so that modifiers can be used in bitwise
11170           ops
11171
11172 2004-08-21 14:21  pbartok
11173
11174         * TrackBar.cs, ScrollBar.cs:
11175           - Replaced direct XplatUI calls with their Control counterpart
11176
11177 2004-08-21 13:32  pbartok
11178
11179         * Control.cs:
11180           - Implemented Created property
11181
11182 2004-08-21 13:28  pbartok
11183
11184         * Control.cs:
11185           - Implemented ContainsFocus
11186
11187 2004-08-21 13:26  pbartok
11188
11189         * Control.cs:
11190           - Implemented CausesValidation
11191
11192 2004-08-21 13:21  pbartok
11193
11194         * Control.cs:
11195           - Implemented CanFocus
11196           - Implemented CanSelect
11197           - Implemented Capture
11198
11199 2004-08-21 12:35  pbartok
11200
11201         * XplatUIWin32.cs:
11202           - Fixed bug with Async message handling
11203           - Implemented getting the ModifierKeys
11204
11205 2004-08-21 12:32  jackson
11206
11207         * AsyncMethodResult.cs: Make sure we have the mutex before we
11208           release it. Fixes BeginInvoke on windows
11209
11210 2004-08-21 11:31  pbartok
11211
11212         * XplatUIWin32.cs, XplatUIX11.cs:
11213           - Drivers now return proper mouse state
11214
11215 2004-08-21 10:54  jackson
11216
11217         * Control.cs: Implement EndInvoke
11218
11219 2004-08-21 10:48  jackson
11220
11221         * Timer.cs: Remove unneeded finalizer
11222
11223 2004-08-20 19:52  ravindra
11224
11225         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11226           in mouse event handling in the ToolBar control.
11227
11228 2004-08-20 19:50  ravindra
11229
11230         * ImageList.cs: Changed draw method to use the arguments passed in
11231           to draw the image.
11232
11233 2004-08-20 18:58  pbartok
11234
11235         * XplatUIStructs.cs:
11236           - Added private message for async communication
11237
11238 2004-08-20 17:38  ravindra
11239
11240         * Control.cs: Made RightToLeft property virtual and removed a
11241           Console.WriteLine.
11242
11243 2004-08-20 14:39  jordi
11244
11245         * ThemeGtk.cs: use style_attach
11246
11247 2004-08-20 14:39  pbartok
11248
11249         * XplatUIWin32.cs:
11250           - Added jackson's Async code from X11 to Win32
11251
11252 2004-08-20 14:09  pbartok
11253
11254         * SWF.csproj:
11255           - Added all new files
11256
11257 2004-08-20 14:09  pbartok
11258
11259         * Control.cs:
11260           - Added call to set window background color
11261
11262 2004-08-20 14:03  pbartok
11263
11264         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11265           - Added method for setting the window background
11266
11267 2004-08-20 14:02  pbartok
11268
11269         * XplatUIWin32.cs:
11270           - Added method for setting the background color
11271           - Added handling for erasing the window background
11272
11273 2004-08-20 13:45  jordi
11274
11275         * TrackBar.cs: fixes timer, new properties and methods
11276
11277 2004-08-20 13:34  jackson
11278
11279         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11280           correct thread
11281
11282 2004-08-20 13:22  jackson
11283
11284         * Timer.cs: Timer Tick events are now handed through Controls Async
11285           mechanism so the callbacks are executed in the same thread as X
11286
11287 2004-08-20 13:19  jackson
11288
11289         * XplatUIDriver.cs: Expose functionality to send async messages
11290           through the driver
11291
11292 2004-08-20 13:18  jackson
11293
11294         * Control.cs: Implement Begininvoke
11295
11296 2004-08-20 13:14  jackson
11297
11298         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11299           messages through the driver
11300
11301 2004-08-20 13:12  jackson
11302
11303         * XplatUIX11.cs: Lock before all X operations. Also added Async
11304           method functionality through XSendEvent
11305
11306 2004-08-20 13:11  jackson
11307
11308         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11309           This will screw up on 64 bit systems)
11310
11311 2004-08-20 13:10  jackson
11312
11313         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11314           Async messages through X/Win32
11315
11316 2004-08-19 19:39  pbartok
11317
11318         * XplatUIX11.cs:
11319           - Updated code to match new HandleData.DeviceContext type
11320
11321 2004-08-19 19:38  pbartok
11322
11323         * HandleData.cs:
11324           - Made DeviceContext a generic object to allow usage from various
11325           drivers
11326           - Added support for queueing Windows messages
11327
11328 2004-08-19 19:37  pbartok
11329
11330         * XplatUIWin32.cs:
11331           - Added generation of MouseEnter, MouseLeave and MouseHover events
11332           - Added cleanup on EndPaint
11333
11334 2004-08-19 19:17  pbartok
11335
11336         * Control.cs:
11337           - Added handling of WM_MOUSEHOVER
11338           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11339           code
11340
11341 2004-08-19 18:55  jordi
11342
11343         * ThemeGtk.cs: fixes button order
11344
11345 2004-08-19 18:12  jordi
11346
11347         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11348
11349 2004-08-19 17:09  pbartok
11350
11351         * Control.cs:
11352           - Added Right property
11353           - Added RightToLeft property
11354
11355 2004-08-19 16:27  jordi
11356
11357         * ThemeGtk.cs: experimental GTK theme support
11358
11359 2004-08-19 16:26  jordi
11360
11361         * ITheme.cs, Theme.cs: move themes from an interface to a class
11362
11363 2004-08-19 16:25  jordi
11364
11365         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11366           theme enhancaments
11367
11368 2004-08-19 16:04  pbartok
11369
11370         * XplatUIX11.cs:
11371           - Added colormap basics
11372           - Added a way to re-initialize with a different display handle
11373           - Fixed setting of the window background color
11374           - Added various X11 imports related to colors and colormaps
11375
11376 2004-08-19 15:51  pbartok
11377
11378         * X11Structs.cs:
11379           - Removed packing hints (Paolo suggested this a while back)
11380           - fixed colormap type
11381           - Added default Atom types
11382           - Added Screen and color structs and enums
11383
11384 2004-08-19 15:39  pbartok
11385
11386         * ImageList.cs:
11387           - Added missing Draw() method
11388           - Added missing RecreateHandle event
11389
11390 2004-08-19 15:30  pbartok
11391
11392         * Form.cs:
11393           - Added handling of WM_CLOSE
11394
11395 2004-08-18 13:16  jordi
11396
11397         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11398           a table
11399
11400 2004-08-18 09:56  jordi
11401
11402         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11403
11404 2004-08-17 15:31  ravindra
11405
11406         * SWF.csproj: Updated project.
11407
11408 2004-08-17 15:25  pbartok
11409
11410         * Control.cs:
11411           - Drawing improvement; don't call UpdateBounds if we are not visible
11412             (or have been minimized)
11413
11414 2004-08-17 15:24  pbartok
11415
11416         * XplatUIWin32.cs:
11417           - Finished IsVisible
11418           - Added Win32GetWindowPlacement
11419
11420 2004-08-17 15:08  jackson
11421
11422         * Panel.cs: Initial checkin of the Panel
11423
11424 2004-08-17 14:25  pbartok
11425
11426         * Control.cs:
11427           - Fixed broken handling of default window sizes
11428
11429 2004-08-17 13:29  jackson
11430
11431         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11432           has a large startup time.
11433
11434 2004-08-17 10:25  jackson
11435
11436         * HandleData.cs: union areas properly
11437
11438 2004-08-17 10:12  jackson
11439
11440         * HandleData.cs: union areas properly
11441
11442 2004-08-16 20:00  ravindra
11443
11444         * ToolBar.cs, ToolBarButton.cs: Added attributes.
11445
11446 2004-08-16 18:48  ravindra
11447
11448         * ToolBar.cs: Added attributes.
11449
11450 2004-08-16 17:17  ravindra
11451
11452         * SWF.csproj: Updated project.
11453
11454 2004-08-16 17:16  jackson
11455
11456         * XplatUIX11.cs: Check for more expose events before sending a
11457           WM_PAINT so they can all be grouped together. This makes dragging a
11458           window across another window redraw in a sane way.
11459
11460 2004-08-16 15:47  pbartok
11461
11462         * Control.cs:
11463           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11464             support OnMouseEnter/Leave()
11465           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11466             exposure handling
11467
11468 2004-08-16 15:46  pbartok
11469
11470         * XplatUIStructs.cs, XplatUIX11.cs:
11471           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11472           OnMouseEnter/Leave()
11473
11474 2004-08-16 15:34  jackson
11475
11476         * XplatUIX11.cs: Group multiple expose events in HandleData, make
11477           sure messages get the message field set to WM_NULL if they are not
11478           handled.
11479
11480 2004-08-16 15:24  jackson
11481
11482         * HandleData.cs: HandleData is used for storing message information
11483           for window handles
11484
11485 2004-08-15 17:23  ravindra
11486
11487         * ColorDepth.cs: Added attribute.
11488
11489 2004-08-15 17:23  ravindra
11490
11491         * SWF.csproj: Updated project for ToolBar Control.
11492
11493 2004-08-15 17:20  ravindra
11494
11495         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11496           control and also dos2unix format.
11497
11498 2004-08-15 17:13  ravindra
11499
11500         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11501           ToolBarButtonClickEventArgs.cs,
11502           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11503           ToolBarTextAlign.cs: First Implementation of ToolBar control.
11504
11505 2004-08-15 15:31  pbartok
11506
11507         * ButtonBase.cs:
11508           - First (mostly) working version
11509
11510 2004-08-13 16:15  pbartok
11511
11512         * Control.cs:
11513           - Fixed Anchor default
11514
11515 2004-08-13 15:43  pbartok
11516
11517         * Control.cs:
11518           - Changed GetCursorPos signature
11519
11520 2004-08-13 15:42  pbartok
11521
11522         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11523           - Changed signature for GetCursorPos
11524
11525 2004-08-13 15:25  pbartok
11526
11527         * XplatUIX11.cs:
11528           - Cleanup
11529           - Fixed resizing/exposure handling
11530
11531 2004-08-13 15:22  jordi
11532
11533         * ThemeWin32Classic.cs: removes redundant code and fixes issues
11534           with tickposition
11535
11536 2004-08-13 14:55  jordi
11537
11538         * TrackBar.cs: change from wndproc to events
11539
11540 2004-08-13 13:00  jordi
11541
11542         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11543           XplatUIX11.cs: implements PointToClient (ScreenToClient)
11544
11545 2004-08-13 12:53  pbartok
11546
11547         * XplatUIWin32.cs:
11548           - Changed GetWindowPos to also provide client area size
11549           - Fixed broken prototypes for several win32 functions
11550
11551 2004-08-13 12:53  pbartok
11552
11553         * XplatUI.cs, XplatUIDriver.cs:
11554           - Changed GetWindowPos to also provide client area size
11555
11556 2004-08-13 12:52  pbartok
11557
11558         * XplatUIX11.cs:
11559           - Added generation of WM_POSCHANGED
11560           - Changed GetWindowPos to also provide client area size
11561
11562 2004-08-13 12:52  pbartok
11563
11564         * Control.cs:
11565           - Added Dispose() and destructor
11566           - Fixed resizing and bounds calculation
11567           - Fixed Layout
11568           - Added memory savings for invisible windows
11569
11570 2004-08-13 12:46  jordi
11571
11572         * TrackBar.cs: adds timer and grap window
11573
11574 2004-08-13 10:25  jackson
11575
11576         * Timer.cs: SWF Timer
11577
11578 2004-08-12 16:59  pbartok
11579
11580         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11581           - Implemented method to get current mouse position
11582
11583 2004-08-12 14:29  jordi
11584
11585         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11586           enhancement, fix mouse problems, highli thumb, etc
11587
11588 2004-08-12 13:31  pbartok
11589
11590         * Control.cs:
11591           - Fixed Anchoring bugs
11592
11593 2004-08-12 13:01  jackson
11594
11595         * StatusBar.cs: Don't forget things
11596
11597 2004-08-12 12:54  jackson
11598
11599         * ThemeWin32Classic.cs: Handle owner draw status bars
11600
11601 2004-08-12 12:54  jackson
11602
11603         * StatusBar.cs: Implement missing properties, events, and methods.
11604           Handle mouse clicking
11605
11606 2004-08-12 10:19  jackson
11607
11608         * StatusBarPanelClickEventArgs.cs,
11609           StatusBarPanelClickEventHandler.cs: Classes for handling status
11610           bar panel click events
11611
11612 2004-08-12 10:10  jackson
11613
11614         * Control.cs: Add missing properties
11615
11616 2004-08-12 09:46  pbartok
11617
11618         * BindingsManagerBase.cs:
11619           - Name changed to BindingManagerBase.cs
11620
11621 2004-08-12 09:25  jordi
11622
11623         * ScrollableControl.cs: calls ctrlbase instead of exeception
11624
11625 2004-08-11 16:28  pbartok
11626
11627         * InputLanguageChangingEventArgs.cs:
11628           - Never check in before compiling. Fixes the last check-in
11629
11630 2004-08-11 16:26  pbartok
11631
11632         * InputLanguageChangingEventArgs.cs:
11633           - More signature fixes
11634
11635 2004-08-11 16:20  pbartok
11636
11637         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11638           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11639           ImageListStreamer.cs, InputLanguage.cs,
11640           InputLanguageChangedEventArgs.cs,
11641           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11642           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11643           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11644           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11645           - Signature fixes
11646
11647 2004-08-11 16:16  pbartok
11648
11649         * Application.cs:
11650           - Fixed Signature
11651           - Added .Net 1.1 method
11652
11653 2004-08-11 15:25  pbartok
11654
11655         * SWF.csproj:
11656           - Fixed BindingManagerBase.cs filename
11657
11658 2004-08-11 15:22  pbartok
11659
11660         * BindingManagerBase.cs:
11661           - Was checked in with wrong filename
11662
11663 2004-08-11 14:50  pbartok
11664
11665         * SWF.csproj:
11666           - Updated
11667
11668 2004-08-11 13:41  jordi
11669
11670         * XplatUIWin32.cs: Fixes ClientRect
11671
11672 2004-08-11 13:19  pbartok
11673
11674         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11675           XplatUIX11.cs:
11676           - We had SetWindowPos and MoveWindow to set window positions and
11677             size, removed MoveWindow. We have GetWindowPos, so it made sense to
11678             keep SetWindowPos as matching counterpart
11679           - Added some X11 sanity checking
11680
11681 2004-08-11 12:59  pbartok
11682
11683         * Control.cs:
11684           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11685             (It seems that SetBounds is just a front for SetBoundsCore and
11686              SetBoundsCore updates the underlying window system and
11687              UpdateBounds is responsible for updating the variables associated
11688              with the Control and sending the events)
11689           - Major cleanup of Size handling; we now have two sizes, client_size
11690             and bounds. Bounds defines the window with decorations, client_size
11691             without them.
11692
11693 2004-08-11 12:55  pbartok
11694
11695         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11696           - Added method to calculate difference between decorated window and
11697             raw client area
11698
11699 2004-08-11 12:54  pbartok
11700
11701         * Label.cs:
11702           - Forcing redraw on resize
11703
11704 2004-08-11 11:43  pbartok
11705
11706         * ImageList.cs:
11707           - Removed disposing of the actual images when the list is disposed
11708
11709 2004-08-11 09:13  pbartok
11710
11711         * Control.cs:
11712           - Now properly reparents windows
11713
11714 2004-08-11 08:37  pbartok
11715
11716         * Control.cs:
11717           - Duh!
11718
11719 2004-08-11 07:47  pbartok
11720
11721         * Control.cs:
11722           - Rewrote the collection stuff. Might not be as fast now, not
11723             keeping the number of children around and accessible directly, but
11724             it's more straightforward
11725
11726 2004-08-11 07:44  pbartok
11727
11728         * AccessibleObject.cs:
11729           - Fixed to match ControlCollection rewrite
11730
11731 2004-08-11 07:43  pbartok
11732
11733         * ImageList.cs:
11734           - Added missing creation of the collection list
11735
11736 2004-08-10 20:08  jackson
11737
11738         * StatusBar.cs: Get the paint message from WndProc
11739
11740 2004-08-10 19:31  jackson
11741
11742         * ThemeWin32Classic.cs: Create Brushes as little as possible
11743
11744 2004-08-10 19:20  jackson
11745
11746         * UICues.cs: Add Flags attribute
11747
11748 2004-08-10 19:19  jackson
11749
11750         * StatusBarPanel.cs: Signature cleanup
11751
11752 2004-08-10 19:10  jackson
11753
11754         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11755           Initial implementation of status bar item drawing
11756
11757 2004-08-10 17:27  jordi
11758
11759         * TrackBar.cs: add missing methods, properties, and restructure to
11760           hide extra ones
11761
11762 2004-08-10 16:24  jackson
11763
11764         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
11765           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
11766           attribute
11767
11768 2004-08-10 13:21  jordi
11769
11770         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
11771           enhancements and standarize on win colors defaults
11772
11773 2004-08-10 12:52  jackson
11774
11775         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
11776           ThemeWin32Classic.cs: Implement DrawItem functionality
11777
11778 2004-08-10 12:47  jordi
11779
11780         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
11781
11782 2004-08-10 12:32  jordi
11783
11784         * Control.cs: throw ontextchange event
11785
11786 2004-08-10 11:43  pbartok
11787
11788         * Control.cs:
11789           - Added more to the still unfinished Dock/Anchor layout code
11790
11791 2004-08-10 11:39  pbartok
11792
11793         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11794           - Added GetWindowPos method
11795
11796 2004-08-10 11:36  pbartok
11797
11798         * XplatUIWin32.cs:
11799           - Implemented several methods
11800
11801 2004-08-10 09:47  jackson
11802
11803         * TrackBar.cs: Allow control to handle buffering
11804
11805 2004-08-10 09:41  jackson
11806
11807         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
11808
11809 2004-08-10 09:24  jackson
11810
11811         * Label.cs, LinkLabel.cs: Let Control handle buffering.
11812
11813 2004-08-10 09:09  jackson
11814
11815         * StatusBar.cs: Let Control handle all the buffering.
11816
11817 2004-08-10 09:08  jackson
11818
11819         * Control.cs: Control will now handle the buffering code, so each
11820           control does not have to implement this.
11821
11822 2004-08-10 08:34  jackson
11823
11824         * XplatUIDriver.cs: Use default colors from the theme
11825
11826 2004-08-09 17:12  pbartok
11827
11828         * ImageList.cs:
11829           - Fixed several bugs Ravindra pointed out
11830
11831 2004-08-09 16:11  pbartok
11832
11833         * Control.cs:
11834           - Added incomplete dock layout code
11835           - Added support for mouse wheel
11836
11837 2004-08-09 16:09  pbartok
11838
11839         * XplatUIX11.cs:
11840           - Added handling for middle and right mousebutton
11841           - Added handling for mouse wheel
11842           - Added handling for key state and mouse state and position
11843           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
11844           messages
11845
11846 2004-08-09 15:40  jackson
11847
11848         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
11849           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
11850           checkin
11851
11852 2004-08-09 15:37  jackson
11853
11854         * StatusBar.cs: Initial implementation of StatusBar
11855
11856 2004-08-09 15:36  jackson
11857
11858         * ITheme.cs: Add support for drawing status bar and getting status
11859           bar item sizes
11860
11861 2004-08-09 15:35  pbartok
11862
11863         * MouseButtons.cs:
11864           - Fixed values
11865
11866 2004-08-09 15:34  jackson
11867
11868         * ThemeWin32Classic.cs: Add support for drawing status bar and get
11869           status bar item sizes
11870
11871 2004-08-09 15:21  jackson
11872
11873         * ThemeWin32Classic.cs: Use known colors for default control
11874           colours
11875
11876 2004-08-09 15:12  jackson
11877
11878         * ThemeWin32Classic.cs: Make the default font static, it is static
11879           in control so this doesn't change functionality and creating fonts
11880           is sloooooow.
11881
11882 2004-08-09 14:56  pbartok
11883
11884         * X11Structs.cs:
11885           - Added GrabMode enum
11886
11887 2004-08-09 14:55  pbartok
11888
11889         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11890           - Removed Run method, was only required for initial development
11891
11892 2004-08-09 14:51  pbartok
11893
11894         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11895           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11896           capture
11897
11898 2004-08-09 13:48  pbartok
11899
11900         * XplatUIX11.cs:
11901           - Fixed default sizing for child windows
11902
11903 2004-08-09 12:56  pbartok
11904
11905         * XplatUIX11.cs:
11906           - Added generation of WM_DESTROY message
11907           - Added handling of window manager induced shutdown
11908
11909 2004-08-09 11:31  jackson
11910
11911         * ThemeWin32Classic.cs: New names for control properties
11912
11913 2004-08-09 11:25  jackson
11914
11915         * Control.cs: Use new color names
11916
11917 2004-08-09 11:02  jackson
11918
11919         * XplatUI.cs: Get default window properties from the theme
11920
11921 2004-08-09 11:01  jackson
11922
11923         * ITheme.cs: The theme engine now controls default window
11924           properties
11925
11926 2004-08-09 11:00  jackson
11927
11928         * ThemeWin32Classic.cs: Add default window color properties
11929
11930 2004-08-09 10:17  jackson
11931
11932         * ThemeWin32Classic.cs: Use correct default back color
11933
11934 2004-08-09 10:05  jackson
11935
11936         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11937           the theme now.
11938
11939 2004-08-09 09:56  jackson
11940
11941         * XplatUI.cs: Remove defaults, these are handled by the theme now.
11942
11943 2004-08-09 09:54  jackson
11944
11945         * Control.cs: Get default properties from the theme.
11946
11947 2004-08-09 09:53  jackson
11948
11949         * ITheme.cs: Themes now handle default control properties
11950
11951 2004-08-09 09:53  jackson
11952
11953         * ThemeWin32Classic.cs: Themes now handle default control
11954           properties so coloring will be consistent
11955
11956 2004-08-08 16:54  jordi
11957
11958         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11959
11960 2004-08-08 15:08  jordi
11961
11962         * XplatUIX11.cs: fixes keyboard crash
11963
11964 2004-08-08 13:47  jordi
11965
11966         * Label.cs: add cvs header info
11967
11968 2004-08-08 12:09  jackson
11969
11970         * ThemeWin32Classic.cs: Add pen_buttonface
11971
11972 2004-08-08 11:52  jordi
11973
11974         * Label.cs, LinkLabel.cs: [no log message]
11975
11976 2004-08-08 11:34  jordi
11977
11978         * ThemeWin32Classic.cs: Use Windows Standard Colours
11979
11980 2004-08-07 17:32  jordi
11981
11982         * TrackBar.cs: throw exceptions of invalid enums values
11983
11984 2004-08-07 17:31  jordi
11985
11986         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11987           draw method name
11988
11989 2004-08-07 16:56  jackson
11990
11991         * HorizontalAlignment.cs: Initial checkin
11992
11993 2004-08-07 13:16  jordi
11994
11995         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11996           methods
11997
11998 2004-08-07 13:05  jordi
11999
12000         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12001           GetSysColor defines
12002
12003 2004-08-06 18:01  pbartok
12004
12005         * ThemeWin32Classic.cs:
12006           - Fixed some rounding issues with float/int
12007
12008 2004-08-06 18:00  jackson
12009
12010         * DockStyle.cs, AnchorStyles.cs:
12011
12012                   Add flags and serializable attributes.
12013
12014 2004-08-06 17:46  pbartok
12015
12016         * XplatUIX11.cs:
12017           - Implemented GetParent
12018
12019 2004-08-06 17:18  pbartok
12020
12021         * TrackBar.cs:
12022           - Fixed some rounding issues with float/int
12023
12024 2004-08-06 17:17  pbartok
12025
12026         * X11Structs.cs, XplatUIX11.cs:
12027           - Fixed Refresh and Invalidate
12028
12029 2004-08-06 15:30  pbartok
12030
12031         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12032           - Fixed recursive loop when resizing
12033           - Improved/fixed redrawing on expose messages
12034
12035 2004-08-06 09:53  jordi
12036
12037         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12038           keyboard navigation
12039
12040 2004-08-06 08:02  pbartok
12041
12042         * X11Structs.cs, XplatUIX11.cs:
12043           - Fixed reparenting
12044           - Fixed window border creation
12045
12046 2004-08-05 15:38  pbartok
12047
12048         * XplatUIX11.cs:
12049           - Attempted fix for reparenting problems
12050
12051 2004-08-04 15:14  pbartok
12052
12053         * Control.cs:
12054           - Fixed Invalidation bug (calculated wrong client area)
12055           - Added ClientSize setter
12056
12057 2004-08-04 15:13  pbartok
12058
12059         * Form.cs:
12060           - Added AutoScale properties
12061
12062 2004-08-04 15:13  pbartok
12063
12064         * SWF.csproj:
12065           - Added latest files
12066
12067 2004-08-04 14:11  pbartok
12068
12069         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12070           XplatUIX11.cs:
12071           - Added Invalidate handling
12072
12073 2004-08-03 17:09  jordi
12074
12075         * XplatUIDriver.cs: fixes spelling mistake
12076
12077 2004-07-27 09:53  jordi
12078
12079         * TrackBar.cs: fixes trackbar events, def classname, methods
12080           signature
12081
12082 2004-07-27 09:29  jordi
12083
12084         * ScrollBar.cs: fixes scrollbar events
12085
12086 2004-07-27 04:38  jordi
12087
12088         * Control.cs: changes to be able to run winforms samples
12089
12090 2004-07-26 11:42  jordi
12091
12092         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12093           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12094
12095 2004-07-26 05:41  jordi
12096
12097         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12098           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12099           implementation
12100
12101 2004-07-22 09:22  jordi
12102
12103         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12104           check link overlapping, implement events, and fixes
12105
12106 2004-07-21 10:28  jordi
12107
12108         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12109
12110 2004-07-21 10:19  jordi
12111
12112         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12113           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12114           LinkLabelLinkClickedEventArgs.cs,
12115           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12116           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12117           implementation
12118
12119 2004-07-19 13:09  jordi
12120
12121         * Control.cs, Label.cs: label control re-written: added missing
12122           functionlity, events, and properties
12123
12124 2004-07-19 10:49  jordi
12125
12126         * Control.cs: fixes SetBounds logic
12127
12128 2004-07-19 01:29  jordi
12129
12130         * Control.cs: Call RefreshWindow only if the window has created
12131
12132 2004-07-15 14:05  pbartok
12133
12134         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12135           - Implemented ImageList and ImageList.ImageCollection classes
12136           - Added ColorDepth enumeration
12137           - Updated SWF VS.Net project
12138
12139 2004-07-15 11:06  jordi
12140
12141         * XplatUIStructs.cs: added MsgButons enum
12142
12143 2004-07-15 11:03  jordi
12144
12145         * Control.cs: added basic mouse handeling events
12146
12147 2004-07-15 03:38  jordi
12148
12149         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12150           Vertical TrackBar control implementation
12151
12152 2004-07-13 09:33  jordi
12153
12154         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12155
12156 2004-07-13 09:31  jordi
12157
12158         * Control.cs, Form.cs: commit: new properties and fixes form size
12159           problems
12160
12161 2004-07-09 14:13  miguel
12162
12163         * ProgressBar.cs: Spelling
12164
12165 2004-07-09 11:25  pbartok
12166
12167         * ProgressBar.cs:
12168           - Removed usage of Rectangle for drawing. Miguel pointed out it's
12169           faster
12170
12171 2004-07-09 11:17  miguel
12172
12173         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
12174
12175                 * ProgressBar.cs: Fixed spelling for `block'
12176
12177                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12178                 style guidelines.
12179
12180                 Avoid using the += on rect.X, that exposed a bug in the compiler.
12181
12182 2004-07-08 23:21  pbartok
12183
12184         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12185           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12186           BaseCollection.cs, Binding.cs, BindingContext.cs,
12187           BindingMemberInfo.cs, BindingsCollection.cs,
12188           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12189           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12190           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12191           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12192           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12193           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12194           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12195           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12196           FrameStyle.cs, GiveFeedbackEventArgs.cs,
12197           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12198           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12199           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12200           InputLanguageChangedEventArgs.cs,
12201           InputLanguageChangedEventHandler.cs,
12202           InputLanguageChangingEventArgs.cs,
12203           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12204           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12205           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12206           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12207           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12208           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12209           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12210           QueryAccessibilityHelpEventArgs.cs,
12211           QueryAccessibilityHelpEventHandler.cs,
12212           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12213           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12214           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12215           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12216           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12217           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12218           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12219           XplatUIX11.cs, lang.cs:
12220           - Initial check-in
12221