oops, forgot the CL
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-05-18  Mike Kestner  <mkestner@novell.com>
2
3         * ListView.cs: do focused item selection like MS on clicks. 
4         Rework focus handling for ItemControl so LostFocus invalidates as
5         well.
6         * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
7         the ListView ItemControl has focus.
8
9 2006-05-17  Peter Dennis Bartok  <pbartok@novell.com>
10
11         * XplatUIX11.cs: If client_window ends up being width or height zero
12           due to border settings, move it off window inside whole_window (#78433)
13
14 2006-05-17  Alexander Olk  <alex.olk@googlemail.com>
15
16         * Mime.cs: Shrink the mime file cache correctly.
17
18 2006-05-17  Alexander Olk  <alex.olk@googlemail.com>
19
20         * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
21
22 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>
23
24         * XplatUIX11.cs (AddExpose): More sanity checks
25
26 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com> 
27
28         * XplatUIX11.cs:
29           - AddExpose: Don't add expose ranges outside the size of our
30             window
31           - Cast opacity values to Int32 to avoid crashes with certain
32             values
33           - Added disabled code paths that protect against illegal cross-
34             thread painting (Developers.exe)
35
36 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>
37
38         * ProgressBar.cs: Invalidate the control when it's resized
39           since block size is based on control size. (#78388)
40
41 2006-05-16  Miguel de Icaza  <miguel@novell.com>
42
43         * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
44         of setting the incoming argument to the "reset" value, we set the
45         this.datamember to string.empty (before we were invalidating the
46         incoming data).   
47
48         Fixes 78420
49
50 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com> 
51
52         * Form.cs: Only apply transparency settings after the form
53           is created. (Fixes #77800)
54
55 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>
56
57         * ApplicationContext.cs: Grab the HandleDestroyed event so
58           we know when to fire OnMainFormClosed 
59
60 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com> 
61
62         * Application.cs: Introduced sub-class to allow tracking of
63           threads and centralized triggering of the event mess for
64           ThreadExit, AppExit, etc..  (#76156)
65
66 2006-05-16  Alexander Olk  <alex.olk@googlemail.com>
67
68         * MimeIcon.cs:
69           - Do not return a null icon index value for a mime subclass.
70             Instead try the main mime type class too.
71           - Seems that some newer distributions don't have a link to some
72             gnome default icons anymore. So check the default gnome dir too.
73           
74
75 2006-05-16  Jackson Harper  <jackson@ximian.com>
76
77         * MdiClient.cs: Don't paint the parent background image if we have
78         our own background image.
79
80 2006-05-16  Peter Dennis Bartok  <pbartok@novell.com> 
81
82         * Control.cs:
83           - PerformLayout: Do not shrink space filled by DockStyle.Fill
84             controls, all filled controls are supposed to overlap (#78080)
85           - UpdateZOrder is supposed to update the control's z-order in the
86             parent's z-order chain. Fixed to behave like that
87           - BringToFront: Removed obsolete code
88           - SendToBack: Simplyfied
89           - SetChildIndex: Trigger layout calculations when Z-order changes
90             since layout is done by z-order
91
92 2006-05-16  Chris Toshok  <toshok@ximian.com>
93
94         [ fixes bug #78410 ]
95         * DataGrid.cs (set_AlternatingBackColor): use
96         grid_drawing.InvalidateCells instead of Refresh().
97         (set_BackColor): call grid_drawing.InvalidateCells.
98         (set_BackgroundColor): use Invalidate instead of Refresh.
99
100         * DataGridDrawingLogic.cs (InvalidateCells): new function, just
101         invalidate the cell area.
102
103 2006-05-15  Chris Toshok  <toshok@ximian.com>
104
105         [ fixes bug #78011 ]
106         * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
107         on to DataGridPaintRow.
108         (DataGridPaintRow): take a clip argument, and only draw the cells
109         which intersect it.  same with the not_usedarea.
110
111         * Theme.cs (DataGridPaintRow) add @clip parameter.
112
113         * DataGrid.cs (ScrollToColumnInPixels): simplify, use
114         XplatUI.ScrollWindow.
115         (ScrollToRow): same.
116
117         * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
118         with last column which was causing a gray swath to appear with the
119         XplatUI.ScrollWindow code.
120
121 2006-05-15  Chris Toshok  <toshok@ximian.com>
122
123         * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
124         use XplatUI.ScrollWindow.
125         (VerticalScrollEvent): use XplatUI.ScrollWindow.
126
127 2006-05-15  Peter Dennis Bartok  <pbartok@novell.com> 
128
129         * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
130
131 2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>
132
133         * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
134           file since there are no equivalent X11 cursors
135
136 2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>
137
138         * MonthCalendar.cs : DateTimePicker should reflect selected date
139           on mouse*up*, not mouse*down*. Fixed originally reported part of
140           bug #76474.
141
142 2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>
143
144         * TabControl.cs : When argument index is equal or more than tab
145           count, just ignore. Fixed bug #78395.
146
147 2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>
148
149         * Control.cs: Dispose all child controls when control is diposed (#78394)
150
151 2006-05-14  Alexander Olk  <alex.olk@googlemail.com>
152
153         * ColorDialog.cs: Finally it is possible to select the color with
154           the text boxes
155
156 2006-05-14  Alexander Olk  <alex.olk@googlemail.com>
157
158         * PrintDialog.cs: Fix typo
159
160 2006-05-14  Alexander Olk  <alex.olk@googlemail.com>
161
162         * PrintDialog.cs: PrintDialog is not resizable
163         * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
164           color. Made some ToolBar drawing methods protected virtual.
165
166 2006-05-13  Jordi Mas i Hernandez <jordimash@gmail.com>
167
168         * PrintDialog.cs: Implementation of the PrintDialog
169
170 2006-05-12  Chris Toshok  <toshok@ximian.com>
171
172         * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
173         thumb, instead use MoveThumb.  This has the side effect of making
174         most of the other thumb moving machinery use MoveThumb as well.
175         (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
176         need to actually invalidate the rectangle where the new thumb will
177         go.
178         (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
179         We force an Update() after, so it's not as fast as it could be,
180         but at least there's zero flicker and no droppings.
181         (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
182         (UpdateThumbPos): add another argument (dirty), which says whether
183         or not to calculate/add dirty regions which we later invalidate.
184         For cases where we know we're going to use MoveThumb, we pass
185         false for this.  Otherwise, pass true.
186
187 2006-05-12  Jackson Harper  <jackson@ximian.com>
188
189         * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
190         the status bar.
191         
192 2006-05-12  Peter Dennis Bartok  <pbartok@novell.com>
193
194         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
195           and GetClipRegion methods and UserClipWontExposeParent property.
196         * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
197           overriding UserClipWontExposeParent property, setting to false, since
198           Win32 handles the required expose messages to draw our clipped parent
199           areas internally
200         * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
201           PaintEventStart to set the user clip region if set.
202         * Control.cs: 
203           - Now internally tracking the Region for the control since we need to
204             store it if the handle is not yet created and only set it when it
205             becomes created. Before setting the region forced handle creation
206           - Added code to draw the parents underneath a user-clipped region
207         * Hwnd.cs: Added UserClip property
208
209 2006-05-12  Chris Toshok  <toshok@ximian.com>
210
211         * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
212         (set_Maximum): same.
213         (set_Minimum): same.
214         (set_SmallChange): same.
215         (OnMouseUpSB): remove the call to refresh when releasing the
216         thumb.  We shouldn't need it.
217         
218 2006-05-12  Miguel de Icaza  <miguel@novell.com>
219
220         * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
221         AutoSize set to None, we do not need to relayout everything, we
222         just need to invalidate the current region.
223
224         (Draw): Do not draw the entire ClientArea, just redraw the
225         clip area being passed.
226
227         * MdiClient.cs: Make MdiClient constructor with the Form argument
228         internal. 
229
230 2006-05-12  Jackson Harper  <jackson@ximian.com>
231
232         * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
233         parents background image,  but strangely not their own.
234         - (DrawStatusBarPanel): Take into account horizontal alignment
235         when drawing the strings and icons.
236
237 2006-05-12  Mike Kestner  <mkestner@novell.com>
238
239         * ListBox.cs: avoid invalidations for focus when the collection is
240         empty. 
241
242 2006-05-12  Chris Toshok  <toshok@ximian.com>
243
244         * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
245         invalidate the entire thumb area.  Call InvalidateDirty which
246         limits the redraw to the thumb itself and surrounding pixels.
247
248         * XplatUIX11.cs (ScrollWindow): optimize copying.
249         
250 2006-05-12  Chris Toshok  <toshok@ximian.com>
251
252         * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
253         Figure out the positioning/layout in a single pass instead of
254         multiple recursive invocations.  Speeds up the initial display of
255         the data grid.  Also, make many things private that were
256         originally public but unused outside this class.
257
258 2006-05-11  Jackson Harper  <jackson@ximian.com>
259
260         * MdiClient.cs: Improved layout code.
261
262 2006-05-11  Jonathan Chambers  <jonathan.chambers@ansys.com>
263
264         * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
265           not SelectedObject.
266
267 2006-05-11  Chris Toshok  <toshok@ximian.com>
268
269         * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
270         union of that will always be {0,0,width,height}.
271
272 2006-05-11  Jackson Harper  <jackson@ximian.com>
273
274         * Form.cs: Match MS's DefaultSize for forms (they must have
275         changed the size in sp2).
276
277 2006-05-11  Atsushi Enomoto  <atsushi@ximian.com>
278
279         * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
280
281 2006-05-11  Atsushi Enomoto  <atsushi@ximian.com>
282
283         * TextControl.cs : Fixed bug #78109. This incorrect position
284           comparison caused crash on automatic line split.
285         * TextBoxBase.cs : reduce duplicate code.
286
287 2006-05-10  Jackson Harper  <jackson@ximian.com>
288
289         * MdiClient.cs: Active form is only sent to the back when using
290         the Next form functionality, when a form is clicked the current
291         active shouldn't be sent to the back.
292         - Layout the mdi windows when the container is first made visible.
293         * Form.cs: Give the MdiClient a ref to the containing form when we
294         create it.
295         
296 2006-05-10  Atsushi Enomoto  <atsushi@ximian.com>
297
298         * LinkLabel.cs : link_font could be uninitialized, so populate one
299           before actual use. Fixed bug #78340.
300
301 2006-05-10  Atsushi Enomoto  <atsushi@ximian.com>
302
303         * XplatUIX11.cs : clipboard format native value is IntPtr.
304           Fixed bug #78283.
305
306 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
307
308         * Control.cs: 
309           - Instead of showing context menus directly we send WM_CONTEXTMENU, 
310             which is passed up the parent chain by DefWndProc
311           - We now handle WM_CONTEXTMENU to display any menu, or pass it 
312             to DefWndProc (#77956)
313         * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
314
315 2006-05-10  Jackson Harper  <jackson@ximian.com>
316
317         * MdiClient.cs: We need to remove the controls from the mdi
318         collection, when we close the window.
319         * MdiWindowManager.cs: Special handling of closing mdi windows.
320         * InternalWindowManager.cs: Make the close method virtual so the
321         mdi window manager can handle it specially.
322
323 2006-05-10  Jordi Mas i Hernandez <jordimash@gmail.com>
324
325         * DataGrid.cs:
326           - Recalculate grid when the data source has changed
327           - Matches styles provided by user from all data sources types
328         * DataGridTableStyle.cs: For columns that provided by the user set the
329         with the preferred value is there was unassigned.
330         * CurrencyManager.cs: throw OnItemChanged event
331
332 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com> 
333
334         * PictureBox.cs: Don't animate until handle is created. Start animation
335           when handle is created.
336
337 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
338
339         * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
340           current codebase.
341         * XEventQueue.cs: We don't need to provide the extra info
342
343 2006-05-10  Jackson Harper  <jackson@ximian.com>
344
345         * MdiClient.cs: If the mdi clients parent form has a background
346         image set, we draw that background image for the mdi area's
347         background.
348
349 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
350
351         * TextBoxBase.cs: Set IBeam cursor (#78347)
352
353 2006-05-10  Mike Kestner  <mkestner@novell.com>
354
355         * ToolBar.cs: fix some text padding issues with ButtonSize
356         calculation. Update the default size to match MS documentation.
357         * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
358         button size. Fixes #78296.
359
360 2006-05-10  Mike Kestner  <mkestner@novell.com>
361
362         * ListBox.cs: use is_visible for scrollbar positioning in case the
363         control isn't on screen yet.  Fix off by one with Right vs Width
364         usage.  Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
365         
366 2006-05-10  Jackson Harper  <jackson@ximian.com>
367
368         * X11Dnd.cs: Drop to a control with another control on top of it.
369         * ToolBar.cs: Work on a copy of the buttons list, so that it can
370         be modified in click handlers. TODO: Look for similar problems in
371         other controls.
372
373 2006-05-09  Jackson Harper  <jackson@ximian.com>
374
375         * Form.cs: Window managers need the old window state when setting
376         window state now.
377         * InternalWindowManager.cs: Allow the base mdi window manager to
378         handle more of the MDI only stuff (like maximize buttons).
379         * MdiWindowManager.cs: Fix some snafus in changing the window
380         state.  Add all the menu functionality, for both popup and
381         maximized menus.
382         * MdiClient.cs: When a new form is selected the currently
383         activated form is sent to the back, this matches MS.
384         - Implement a new method to activate the next mdi child window.
385
386 2006-05-08  Peter Dennis Bartok  <pbartok@novell.com>
387
388         * Control.cs: 
389           - Added new InternalCapture method to allow controls to prevent
390             the capture behaviour on the click handlers
391           - Switched to use InternalCapture
392         * ComboBox.cs:
393           - Using InternalCapture to prevent mouse captures from being released
394             on mouse button release (Fixes #78100)
395         * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
396           returns Form borders if a caption is present. (Fixes #78310)
397
398 2006-05-08  Peter Dennis Bartok  <pbartok@novell.com> 
399
400         * TreeNode.cs: Changed serialization .ctor to not require every field
401           to be present. (#78265)
402         * OwnerDrawPropertyBag.cs: Added serialization .ctor
403
404 2006-05-05  Alexander Olk  <alex.olk@googlemail.com>
405
406         * MimeIcon.cs: for is faster than foreach for strings.
407
408 2006-05-05  Mike Kestner  <mkestner@novell.com>
409
410         * CheckedListBox.cs: update check handling code to not use selected.
411         * ListBox.cs: rewrite of mouse selection handling to correspond to MS
412         behavior for visual feedback, motion response, shift/ctrl handling,
413         and properly deal with all 4 selection modes. Updates to bounds
414         handling logic.  Add scroll wheel support. [Fixes #77842]
415
416 2006-05-05  Peter Dennis Bartok  <pbartok@novell.com> 
417
418         * ListView.cs:
419           - Moved adding of Implicit controls into .ctor. That way, subsequent
420             creation of the controls will not cause them to think they are 
421             toplevel windows (fixes #78200 header problem)
422           - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
423           - Switched visibility setting of header control to use internal field
424             to avoid triggering handle creation
425           - Now checking if handle is created before causing a refresh when items
426             are added (This makes us now match handle creation time with MS)
427         * Splitter.cs: Removed loading of private splitter cursor, switched to
428           Cursors version now that that is loading the right ones
429         * Cursors.cs: Load proper splitter cursors from resources
430         * Cursor.cs: Added second method of loading resource cursors for the 
431           VS.Net users amongst us
432
433 2006-05-05  Mike Kestner  <mkestner@novell.com>
434
435         * ListView.cs: give header_control a minimum size based on the
436         ListView size.
437
438 2006-05-05  Peter Dennis Bartok  <pbartok@novell.com> 
439
440         * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
441           window seems to do that with metacity, so set that type. (#78120)
442
443 2006-05-05  Mike Kestner  <mkestner@novell.com>
444
445         * ListViewItem.cs: fix Details mode checkbox layout bug.
446         * ThemeWin32Classic.cs: draw a ListView column header for unused space
447         at the end of the header, if it exists. [Fixes for #78200]
448
449 2006-05-04  Jackson Harper  <jackson@ximian.com>
450
451         * MdiClient.cs: Add a helper property to get the container form.
452         * MdiWindowManager.cs: We have to make sure to use the menu origin
453         when drawing the icons and buttons, this fixes maximized window
454         icons/buttons on win32.
455         * InternalWindowManager.cs: Reset the restore captions when a
456         window goes from Maximized to Minimized and vice versa. Move the
457         DrawMaximizedButtons into the MdiWindowManager source, tool
458         windows can't be maximized. NOTE: This could use a little
459         refactoring if time ever permits.
460         
461 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
462
463         * TextBox.cs: Add MWFCategoryAttributes
464         * TextBoxBase.cs: Add MWFCategoryAttributes
465         * Form.cs: Add MWFCategoryAttributes
466
467 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
468
469         * Control.cs: Add MWFCategoryAttributes
470         * ScrollableControl.cs: Add MWFCategoryAttributes
471
472 2006-05-03  Alexander Olk  <alex.olk@googlemail.com>
473
474         * ThemeWin32Classic.cs: Draw the ToolBar top border only if
475           Divider is true. Fix a little glitch in PropertyToolBar
476           drawing code
477
478 2006-05-02  Peter Dennis Bartok  <pbartok@novell.com> 
479
480         * Control.cs:
481           - Dispose: Call base.Dispose, this causes the disposed event
482             to be fired (and probably other, more important stuff)
483           - SetVisibleCore: Set is_visible to true after creating the
484             window so that the window still gets created invisible (if
485             WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
486             to generate a WM_ACTIVE message
487         * Form.cs: Call Dispose when we want to destroy the window, instead of
488           just destroying the handle (Dispose will do that for us)
489         * XplatUIX11.cs:
490           - RootWindow also needs a queue, so we can properly process the
491             property change events from RootWindow (like Activate)
492           - Generatic synthetic WM_ACTIVE message when the active window is
493             being destroyed
494
495 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
496
497         * LinkLabel.cs: Trigger a recalc of our label dimensions when
498           bounds are changed
499
500 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com>
501
502         * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
503           for determining width and height (image might not be assigned if
504           we're drawing an imagelist)
505
506 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
507
508         * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
509         * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
510           height from system
511         * Theme.cs: No longer returns hardcoded menu height, instead calls
512           new driver method
513         * Form.cs (OnLoad): Scaling happens before triggering Load events 
514           on MS (# 78257)
515
516 2006-05-01  Mike Kestner  <mkestner@novell.com>
517
518         * MenuItem.cs: fix NRE for text == null.  Fixes #78250.
519
520 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com> 
521
522         * TextBoxBase.cs: Removed Fixme
523         * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
524
525 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com>
526
527         * XplatUIX11.cs:
528           - ScrollWindow: We were passing hwnd.ClientRectangle which returns
529             the rectangle relative to the parent, considering borders. We
530             don't really want that.
531           - ScrollWindow: Fixed warning to be more understandable
532         * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
533           scrollbars and scroll only the visible area
534         * RichTextBox.cs: Removed debug output
535
536 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
537
538         * NumericUpDown.cs (Text): Just use base
539         * UpDownBase.cs: Ensure txtView is created before using it
540
541 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
542
543         * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
544           casting to IntPtr to avoid 64bit overflow errors
545
546 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
547
548         * Control.cs:
549           - AllowDrop: Don't force handle creation.
550           - CreateHandle: Added call to tell driver if we're allowed to drop
551
552 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
553
554         * FileDialog.cs: Remember the last directory not only for the
555           current instance but also for new FileDialog instances.
556
557 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
558         
559         * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
560           broke sending async messages
561
562 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
563
564         * XplatUIX11.cs:
565           - ScrollWindow: Fixed method. We finally generate expose events again
566             for scrolled areas. This was causing 'garbage' when scrolling
567             textbox and other controls that used ScrollWindow
568           - Switched from using the regular queue for paint events to the MS 
569             model of 'generating' paint events when the queue is empty.
570             We use the new XQueueEvent.Paint subclass to store which windows
571             need painting.
572           - AddExpose now takes the x/y/width/height of the exposed area
573             and inserts the window into the paint queue if not already there
574           - InvalidateWholeWindow: Switched to use new AddExpose method
575           - UpdateMessageQueue: Added which queue to monitor for paint events
576           - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
577             the unlikely case nothing above handles it. We reset the expose
578             pending states to get them off the queue.
579           - GetMessage: Now pulls a paint event if no other events are in the
580             queue
581           - Invalidate: Switched to new AddExpose method
582           - PeekMessage: Updated to understand pending paint events
583           - UpdateWindow: Fixed logic bug. We were only updating if the window
584             didn't need updating. Also switched to sending WM_PAINT directly,
585             like MS does.
586         * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
587           and random access Remove(). The random access is needed to handle
588           UpdateWindow() where a WM_PAINT is sent directly without accessing
589           the queue.
590         * ScrollBar.cs: Added Update() calls to cause immediate updates to
591           allow for better feedback when scrolling. Scrollbars are small and
592           the immediate update should make it 'feel' more responsive without
593           slowing things down. ScrollBar still needs it's invaliate logic
594           updated to not always invalidate the whole bar on certain changes.
595
596 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
597
598         * Control.cs:
599         (BackColor): if the control does not support a transparent background,
600         return the default backcolor when the parent backcolor is transparent.
601
602 2006-04-28  Peter Dennis Bartok  <pbartok@novell.com>
603
604         * Application.cs: Updated to new StartLoop/GetMessage API
605         * RichTextBox.cs: Provide some output on RTF parsing errors
606         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
607           new queue_id argument to GetMessage and PeekMessage to allow faster
608           handling of per-thread queues in drivers.
609         * Hwnd.cs: Added Queue tracking and property
610         * MenuAPI.cs: Updated to new StartLoop/GetMessage API
611         * XEventQueue.cs: Added thread trackingA
612         * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
613         * XplatUIX11.cs:
614           - Implemented new per-thread queue
615           - GetMessage: Fixed return/break behaviour on several cases. We were
616             returning stale messages in some cases, instead of just processing
617             the next message
618
619 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
620
621         * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
622
623 2006-04-27  Peter Dennis Bartok  <pbartok@novell.com>
624
625         * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
626           fixed off-by-one comparisons between Width/Height and Right/Bottom.
627
628 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
629
630         * PropertyGridView.cs: Fix drop down width.
631
632 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
633
634         * ThemeWin32Classic.cs: Peter thinks that three additional lines are
635           a mess in DrawToolBar, so I removed one of them.
636
637 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
638
639         * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
640           needed (clip). Otherwise we get artifacts.
641
642 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
643
644         * FixedSizeTextBox.cs: Added constructor to allow specifying which
645           dimension is fixed
646         * UpDownBase.cs: Set the spinner control to be fixed height vertical,
647           and switched FixedSizeTextBox to only be fixed vertical (#78116)
648         * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
649           if it matches the scale base font (avoids unneeded scaling)
650
651 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
652
653         * X11DesktopColors.cs: One gtk_init_check should be enough
654
655 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com> 
656
657         * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
658           match MS behaviour
659
660 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
661
662         * TextBoxBase.cs: 
663           - Generate OnTextChanged for Backspace even if we're only deleting
664             the current selection
665           - When setting the Text property, only select all text if the
666             control does not have focus when it is being set. Otherwise
667             just place the cursor at the beginning of the control
668
669 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
670
671         * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
672           Added a little helper to draw PropertyGrid ToolBar with a different
673           border and a different BackColor.
674         * PropertyGrid.cs: Some background parts didn't get painted with the
675           correct background color. Added a class that helps us to draw the
676           correct border for PropertyGridView and a class that helps us to
677           draw ToolBars with a different backcolor
678         * PropertyGridView.cs: Draw PlusMinus with the correct colors.
679
680 2006-04-25  Jonathan Chambers  <jonathan.chambers@ansys.com>
681
682         * PropertyGrid.cs: Bug 78196, font size, and splitter location.
683         * PropertyGridView.cs: Bug 78196, font size, and splitter location.
684
685 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
686
687         * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
688           into the palette entries. Also, since we're working on a copy
689           we needed to copy the palette back onto the bitmap.
690         * Cursor.cs: Same fix as XplatUIWin32.cs.
691
692 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>
693
694         * ImageListStreamer.cs: Need to read the var (or we're off)
695
696 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
697
698         * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs, 
699           XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
700           TextBoxBase.cs: Unused var fixes
701         * AxHost.cs: Small 2.0 fix
702         * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms 
703           as it seems that is what at least Metacity expects. This will make
704           icons show up on 64bit platforms. We still have some 64bit size
705           issues, though, since the startup app window size still won't match.
706
707 2006-04-25  Mike Kestner  <mkestner@novell.com>
708
709         * *.cs: cleanup newly reported exception var unused warnings.
710
711 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
712
713         * ThemeWin32Classic.cs: Button image alignment now matches exactly
714           ms
715
716 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
717
718         * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
719           image. The image position is always the same, no matter if the
720           button is pressed or not.
721
722 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
723
724         * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
725           selection and set the correct filename for SaveFileDialog.
726           Patch by Emery Conrad.
727
728 2006-04-24  Mike Kestner  <mkestner@novell.com>
729
730         * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
731         check for item.X outside the ClientRect instead of item.Y. Fixes
732         #78151.
733
734 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
735
736         * ImageListStreamer.cs: some images store a wrong grow factor, so don't
737         trust that value blindly and do some sanity check. Fixes bug #77814.
738
739 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740
741         * ImageListStreamer.cs: save the mask as a 1bpp image.
742
743 2006-04-21  Mike Kestner  <mkestner@novell.com>
744
745         * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
746         pass Checked and Indeterminate to the Theme Engine. Improve
747         encapsulation with ListBox.
748         * ListBox.cs: Keep a StringFormat instead of calculating it every item
749         draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
750         nested types.  Move all CheckState functionality to CheckedListBox.
751         Make IntegralHeight work like MS.  Rewrite of Layout engine.  Fix
752         OwnerDrawVariable layout/rendering.  Fix multicolumn rendering.  Fix
753         ScrollAlwaysVisible handling. Refactor "selected" collections to use a
754         single base list. Fix scrollbar sizing and placement to mirror MS.
755         * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
756         used.
757         * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
758         for CheckedListBox by using new DrawItemState info.  Center the
759         checkboxes on the items. Use new StringFormat property.
760
761 2006-04-18  Jackson Harper  <jackson@ximian.com>
762
763         * Form.cs: MdiChildren don't do default locations the same way as
764         regular forms.  This prevents a crash when trying to position the
765         mdi windows.
766
767 2006-04-17  Jonathan Chambers  <jonathan.chambers@ansys.com>
768
769         * PropertyGridTextBox.cs: Formatting, copyright
770         * PropertiesTab.cs: Formatting
771         * PropertyGrid.cs: Formatting
772         * PropertyGridView.cs: Formatting, fix drop down, enabled double 
773           click toggling of values
774           
775 2006-04-17  Peter Dennis Bartok  <pbartok@novell.com> 
776
777         * KeyPressEventArgs: Added 2.0 only setter for KeyChar
778         * Control.cs (.ctor): verify_thread_handle is static, don't reset
779           every time a control is created
780         * Application.cs: Removed obsolete EnableRTLMirroring method
781
782 2006-04-18  Gert Driesen  <drieseng@users.sourceforge.net>
783
784         * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
785         SelectedIndex to -1. Fixes bug #78121.
786
787 2006-04-17  Jackson Harper  <jackson@ximian.com>
788
789         * Binding.cs: Handle null values for Current and BindingContext.
790         This occurs when binding is a little delayed.
791         * CurrencyManager.cs: return null for Current when there are no
792         items in the list.
793         - Hookup to the listchanged event on the DataView and update
794         bindings when the list is changed.  This fixes late binding of
795         controls.
796
797 2006-04-17  Jackson Harper  <jackson@ximian.com>
798
799         * X11Dnd.cs:
800         * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
801         Ringenbach.
802
803 2006-04-15  Alexander Olk  <alex.olk@googlemail.com>
804
805         * ThemeWin32Classic.cs: Draw disabled combo button in the correct
806           place
807         * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
808           with the correct ButtonState
809
810 2006-04-14  Peter Dennis Bartok  <pbartok@novell.com>
811
812         * XplatUIX11.cs: Improved distinguishing between window types to
813           tell the WM a type closer to what the app wants (Fixes #78107)
814
815 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
816
817         * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
818           GrabHandle
819
820 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
821
822         * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
823           drawing code to reflect the size grip changes
824
825 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
826
827         * ImageListStreamer.cs: fix handling of the mask that follows the main
828         bitmap when deserializing and serialize it properly. The generated mask
829         should better be a 1bpp image, but I'll do that later.
830
831 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
832
833         * FileDialog.cs: Show something in the DirComboBox on *nix if the
834           path doesn't fit into some of our Current.Places
835
836 2006-04-13  Jackson Harper  <jackson@ximian.com>
837
838         * ComboBox.cs: Use borders instead of drawing our own decorations,
839         try to obey correct rules for heights.
840         * Theme.cs:
841         * ThemeNice.cs:
842         * ThemeClearLooks.cs:
843         * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
844         this is now handled by borders.
845         - Remove unused DrawListBoxDecorationSize method.
846         
847 2006-04-13  Mike Kestner  <mkestner@novell.com>
848
849         * MenuAPI.cs: null guarding for the disbled click check fixes crash
850         reported by Alex.
851
852 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
853
854         * ThemeWin32Classic.cs: 
855           - Fixed CPDrawStringDisabled
856           - Corrected drawing of disabled menu items
857           - Fixed drawing of disabled radio buttons (bug #78095)
858           - Draw check in a disabled CheckBox with color ControlDark 
859
860 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
861
862         * Form.cs: Use the provided width when calculating the menu size;
863           when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
864           and ClientSize.Width won't be updated yet
865         * Application.cs: Use Visible instead of Show() to make form visible,
866           this way we create the handle later and menusize is considered
867
868 2006-04-12  Mike Kestner  <mkestner@novell.com>
869
870         * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
871         reporting.
872
873 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
874
875         * TextBox.cs: Implemented context menu
876
877 2006-04-12  Mike Kestner  <mkestner@novell.com>
878
879         * ListView.cs: implement box selection. fixes #77838.
880         * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
881
882 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
883
884         * XplatUIX11.cs: Added setting of window type when transient window
885           is created (metacity would move it otherwise)
886         * X11Structs.cs: Added WINDOW_TYPE atoms
887         * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
888           background (the control is Opaque but still wants transparent
889           backgrounds)
890
891 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
892
893         * Control.cs: Added OnPaintBackgroundInternal to allow controls
894           that set Opaque but don't mean it (like all ButtonBase-derived
895           controls) to still draw their background
896         * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
897           the background
898
899 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
900
901         * Control.cs (PaintControlBackground): Set the graphics object
902           on our PaintEvent to null to prevent it from being disposed
903           when the PaintEvent gets disposed
904
905 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
906
907         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
908         * ThemeNice.cs, ThemeClearlooks.cs: fix typo
909
910 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
911
912         * Control.cs: 
913           - Added transparency check to BackColor property. Transparent
914             backgrounds are only allowed if the control styles permit it
915           - Added recursive painting of parent control background and
916             foreground if a control with a transparent backcolor is drawn
917             (Thanks to Tim Ringenback for providing his 'hack' as a base
918              for this patch) Fixes #77985 and #78026.
919           - Added Opaque style check before calling OnPaintBackground, no
920             need to draw the background if the control is opaque
921           - Removed ControlAccessibleObject owner variable (inherited from
922             base, no need to define again)
923           - Added some documentation links explaining the drawing events
924             and styles
925
926 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
927
928         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
929           that the affected control is the located at the left border of our
930           parent (Fixes #77936)
931
932 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
933
934         * TextBoxBase.cs: When rendering disabled or readonly controls,
935           draw the background with 'Control' instead of 'Window' color as
936           long as the user hasn't specifically set a color
937
938 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
939
940         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
941           since that won't be updated if the user types text (only if it's
942           programatically set)
943
944 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
945
946         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
947           layout changes do to app-triggered resizes will have the proper
948           display rectangle for layout
949
950 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
951
952         * ThemeWin32Classic.cs:
953           - Make use of the SystemBrushes and SystemPens wherever possible
954           - Corrected some highlight colors
955           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
956             drawing
957         * Theme.cs: Added Empty field to CPColor struct
958
959 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
960
961         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
962           is displayed when calculating the display rectangle. Thanks to Mike
963           for teaching me the err of my ways.
964
965 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
966
967         * ScrollableControl.cs:
968           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
969             (instead of 0,0) and we now return the real width/height instead of
970             just the clientrectangle, adjusted for padding. The rectangle is
971             now cached and created by the new CalculateDisplayRectangle method.
972           - Created new CalculateDisplayRectange method, which basically does
973             what get_DisplayRectangle() did originally, but now using the 
974             right edge instead of DisplayRectangle to determine the size of
975             our scrollbars
976           - get_Canvas(): Fixed it to properly calculate canvas for 
977             right/bottom controls which seem to be placed to the right/bottom
978             of any controls that have a fixed location
979           - Removed TODO that's taken care of
980           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
981             and SetDisplayRectLocation according to new MSDN2 docs
982           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
983             event when that is called, this is added for compatibility
984           - ScrollControlIntoView(): Implemented.
985           - Switched scrollbars to be implicit, they shouldn't be selectable
986         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
987           call it when the active control is set/changed
988         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
989         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
990           implicit_control variable (used for native Win32 message generation)
991         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
992           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
993         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
994         * XplatUIStructs.cs: Added ScrollBarCommands enum
995
996 2006-04-10  Jackson Harper  <jackson@ximian.com>
997
998         * ButtonBase.cs:
999         * CheckedListBox.cs:
1000         * ComboBox.cs:
1001         * DataGrid.cs:
1002         * DataGridView.cs:
1003         * Form.cs:
1004         * GroupBox.cs:
1005         * ListBox.cs:
1006         * PrintPreviewControl.cs:
1007         * ProgressBar.cs:
1008         * PropertyGrid.cs:
1009         * Splitter.cs:
1010         * StatusBar.cs:
1011         * TrackBar.cs:
1012         * UpDownBase.cs: Fixup base event overrides.
1013         
1014 2006-04-06  Mike Kestner  <mkestner@novell.com>
1015
1016         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1017         all user-initiated value changes to min <= value <= max-thumbsz+1.
1018         (set_Value): check for vert/horiz when calculating new thumb position.
1019         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1020         like MS does.
1021         (OnMouseMoveSB): refactor the thumb dragging code and refine
1022         invalidation logic to reduce flicker.
1023         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1024         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1025         (UpdateThumbPosition): small code readability cleanup
1026
1027 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
1028
1029         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1030           different
1031
1032 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
1033
1034         * ThemeNice.cs: Use a better graphics effect when a button is pressed
1035
1036 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
1037
1038         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1039         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1040           This dramatically reduces the number of Pen.Dispose calls. 
1041           Where possible call ResPool methods only once instead of calling it
1042           over and over again (for example for the same color).
1043
1044 2006-04-06  Mike Kestner  <mkestner@novell.com>
1045
1046         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1047         Also remove an unused private field on the collection. Fixes #77972.
1048
1049 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
1050
1051         * ThemeNice.cs: Added ToolBar drawing code
1052
1053 2006-04-06  Mike Kestner  <mkestner@novell.com>
1054
1055         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1056         I'm assuming that means we need to look up the toplevel for the
1057         provided control. Fixes the crash trace in #77911 but exposes another
1058         crash in some strange reflection usage in NDocGui.
1059
1060 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
1061
1062         * ThemeNice.cs: Gave it a little silver touch and added Images
1063           method
1064         * FontDialog.cs: FontDialog is not resizable
1065         * FileDialg.cs: Added SizeGripStyle.Show
1066
1067 2006-04-05  Jackson Harper  <jackson@ximian.com>
1068
1069         * KeyboardLayouts.cs: Remove warning.
1070
1071 2006-04-05  Jackson Harper  <jackson@ximian.com>
1072
1073         * Control.cs: Enable OnPaintInternal so we can use it for drawing
1074         all of our controls instead of Paint +=.
1075         * ListBox.cs:
1076         * ListView.cs:
1077         * MenuAPI.cs:
1078         * MessageBox.cs:
1079         * NotifyIcon.cs:
1080         * ProgressBar.cs:
1081         * ScrollBar.cs:
1082         * Splitter.cs:
1083         * StatusBar.cs:
1084         * TabControl.cs:
1085         * TextBoxBase.cs:
1086         * ToolBar.cs:
1087         * TrackBar.cs:
1088         * UpDownBase.cs:
1089         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1090         use OnPaintInternal. Remove Width/Height and Visible checks in
1091         paint handler, this is done at a higher level now.
1092         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1093         * PaintEventArgs.cs: Add a handled flag so controls that don't
1094         want anymore painting after OnPaintInternal can make sure OnPaint
1095         isn't called.
1096
1097 2006-04-05  Mike Kestner  <mkestner@novell.com>
1098
1099         * Form.cs: fix the menu WndProc hacks to respect the native enabled
1100         state of the form, so that we don't process events when Modal dialogs
1101         are up. Fixes #77922.
1102
1103 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
1104
1105         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1106           checking is done.
1107
1108 2006-04-05  Mike Kestner  <mkestner@novell.com>
1109
1110         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1111
1112 2006-04-05  Mike Kestner  <mkestner@novell.com>
1113
1114         * ListView.cs (HeaderMouseMove): null guarding for the over column
1115         when setting up the drag_to_index.  Fixes #78015.
1116
1117 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
1118
1119         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1120           in the taskbar. Transient windows seem to accomplish that.
1121
1122 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
1123
1124         * Form.cs:
1125           - Re-enabled CreateParams.X/Y code for FormStartPosition
1126           - Added code for manual placement when creating the Control
1127           - Incomplete patch to treat MDI forms differently when
1128             setting the ClientSizeCore. (Still need to figure out handling
1129             x/y coords there)
1130         * XplatUIX11.cs:
1131           - When we're explicitly setting the X/Y position of a non-Child
1132             window, let the WM know. Metacity really wants this.
1133
1134 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
1135
1136         * ThemeNice.cs: Added CPDrawButton
1137
1138 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
1139
1140         * ThemeNice.cs: Changed the color for focused buttons and activated
1141           the arrows for small scroll buttons.
1142
1143 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
1144
1145         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1146           anymore. Changed some method modifiers to protected (virtual)
1147         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1148           changes
1149         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1150           Updated drawing of menus, buttons and progressbars; added
1151           CPDrawBorder3D 
1152
1153 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1154
1155         * ImageListStreamer.cs: implemented serialization/deserialization
1156         of the images.
1157
1158 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
1159
1160         * ThemeWin32Classic.cs:
1161           - Removed all the DrawFrameControl stuff; CPDrawButton,
1162             CPDrawCheckBox and CPDrawRadioButton are now handled directly
1163             inside the methods
1164           - Updated and corrected the drawing code of CPDrawButton,
1165             CPDrawCheckBox and CPDrawRadioButton to better match ms
1166           - Updated theme checkbox and radiobutton code to use the CP*
1167             methods
1168
1169 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
1170
1171         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1172           bug is fixed
1173
1174 2006-03-31  Jackson Harper  <jackson@ximian.com>
1175
1176         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1177         sometimes.
1178         * UpDownBase.cs: Don't CreateGraphics manually, use a
1179         Refresh. Ideally we would invalidate the correct areas here.
1180
1181 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
1182
1183         * XplatUIX11.cs: 
1184           - We now track the mapping state of windows. If a window (or 
1185             one of it's parents) is not mapped we no longer permit
1186             WM_PAINT messages to be generated since we'd otherwise get 
1187             lots of BadMatch X errors. Jackson did all the work figuring
1188             out the problem.
1189           - Destroying the caret if the window it's contained in is 
1190             destroyed. Can't use regular DestroyCaret method since it
1191             might fall into a drawing function (trying to remove the
1192             caret) and with that generate new BadMatch errors. Again,
1193             Jackson tracked this down.
1194           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1195             make sure we send the messages to all windows. (The old code
1196             would send the WM_DESTROY to the window, and then all child
1197             windows would be 'gone' because the WM_DESTROY handle lookup
1198             would no longer find the destroyed window)
1199         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1200         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1201
1202 2006-03-31  Jackson Harper  <jackson@ximian.com>
1203
1204         * ScrollableControl.cs: Dont recalc if we are not visible.
1205
1206 2006-03-31  Mike Kestner  <mkestner@novell.com>
1207
1208         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1209         the visibility branch.
1210
1211 2006-03-31  Jackson Harper  <jackson@ximian.com>
1212
1213         * ScrollBar.cs: Cap values when incrementing/decrementing.
1214
1215 2006-03-31  Mike Kestner  <mkestner@novell.com>
1216
1217         * MenuAPI.cs: setup menu.tracker for popup/context menus.
1218         * ToolTip.cs: guard against timer expirations with no active control.
1219         Not sure why it happened.
1220
1221 2006-03-31  Mike Kestner  <mkestner@novell.com>
1222
1223         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1224         text.
1225         * ToolTip.cs: Position the tooltip based on where the cursor is at
1226         popup time, not at MouseEnter time.  Add a Down state so that we don't
1227         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1228         positioning offset. Lookup DisplaySize at positioning time, since it
1229         can theoretically change during invocation.
1230         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1231         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1232
1233 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
1234
1235         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1236           Fixes behaviour when the Text property of the box is String.Empty
1237
1238 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
1239
1240         * XplatUIX11.cs: Only send mouseleave for our client windows, not
1241           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1242           a window)
1243
1244 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
1245
1246         * FileDialog.cs: Visual enhancement for the popup buttons in 
1247           PopupButtonPanel
1248
1249 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
1250
1251         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1252           code
1253
1254 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
1255
1256         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1257           highlighted menu items to match ms
1258
1259 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
1260
1261         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1262
1263 2006-03-30  Mike Kestner  <mkestner@novell.com>
1264
1265         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1266         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1267         go active to account for HotLight to Selected transition.
1268         * MenuItem.cs: add internal Selected prop. Fill out the Status
1269         property by calculating it from item info. Add HotLight,
1270         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1271
1272 2006-03-30  Mike Kestner  <mkestner@novell.com>
1273
1274         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1275
1276 2006-03-29  Jackson Harper  <jackson@ximian.com>
1277
1278         * Form.cs: Implement TODO.
1279
1280 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
1281
1282         * PrintPreviewDialog.cs: Implemented missing methods and events; still
1283           missing proper dialog setup in the constructor
1284
1285 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
1286
1287         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1288         * Control.cs:
1289           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1290           - Fixed ResetBindings and removed TODO
1291           - Added check for cross-thread calls to get_Handle()
1292           - Added Marshaller attribute for set_Font to satisfy class status
1293         * FontDialog.cs: Removed TODOs that seemed implemented
1294         * UpDownBase.cs: Removed unneeded TODO and Fixme
1295         * MessageBox.cs: Implemented support for Default button and removed TODO
1296         * FileDialog.cs: Removed obsolete TODO
1297         * DomainUpDown.cs: Removed obsolete TODO
1298         * ButtonBase.cs: Removed obsolete TODO
1299         * XplatUIWin32.cs: Removed obsolete TODO
1300         * Form.cs:
1301           - Removed obsolete TODO
1302           - Calling CheckAcceptButton when the acceptbutton is changed to allow
1303             internal status updates
1304           - Making sure the active control is selected when the control is created
1305         * CurrencyManager.cs: Removed obsolete TODO
1306
1307 2006-03-29  Mike Kestner  <mkestner@novell.com>
1308
1309         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1310         of PrintPreviewDialog and RichTextBox.
1311
1312 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
1313
1314         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1315           DarkDark, Light and LightLight colors for a specific color
1316         * ThemeWin32Classic.cs:
1317           - Use Button drawing code to draw RadioButtons and CheckBoxes with
1318             Appearance = Button 
1319           - Make use of the new ResPool helper CPColor
1320           - Draw ProgressBar and StatusBar with correct 3D borders
1321
1322 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
1323
1324         * ColorDialog.cs: Return selected color. Fixes bug #77940.
1325
1326 2006-03-28  Mike Kestner  <mkestner@novell.com>
1327
1328         * ListView.cs: fix Icon layout to plan for scrollbar widths when
1329         calculating col/row counts.
1330
1331 2006-03-28  Mike Kestner  <mkestner@novell.com>
1332
1333         * ColumnHeader.cs:
1334         * ListView.cs:
1335         * ListViewItem.cs:
1336         * Menu.cs: 
1337         switch to explicit interface method implementation for some methods
1338         corcompare identifies as inconsistent with MS.
1339
1340 2006-03-28  Mike Kestner  <mkestner@novell.com>
1341
1342         * MainMenu.cs: 
1343         * Menu.cs:
1344         add a few missing methods from the class status output.
1345
1346 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
1347
1348         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1349           correct.
1350
1351 2006-03-28  Mike Kestner  <mkestner@novell.com>
1352
1353         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1354
1355 2006-03-27  Mike Kestner  <mkestner@novell.com>
1356
1357         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1358         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1359
1360 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
1361
1362         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1363
1364 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1365
1366         * ThemeWin32Classic.cs:
1367           - GroupBox: Inserted a little gap between the text and the lines
1368             on the right side
1369           - Made the code in CPDrawBorder3D more readable
1370           - Corrected the drawing location of the up and down arrows in 
1371             CPDrawScrollButton
1372
1373 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1374
1375         * ControlPaint.cs: Corrected line widths in DrawBorder for
1376           ButtonBorderStyle Inset and Outset
1377
1378 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1379
1380         * ThemeWin32Classic.cs:
1381           - Rewrote the totally broken CPDrawBorder3D method. That was
1382             one of the main problems for the terrific ThemeWin32Classic
1383             look
1384           - Updated and corrected Button drawing
1385           - Correct the dimensions of the SizeGrip to match ms ones
1386           - Removed a small drawing glitch in DrawComboBoxEditDecorations
1387         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1388           Border3DStyle.Sunken to match ms.
1389
1390 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1391
1392         * ThemeWin32Classic.cs: First small part of the "de-uglify
1393           ThemeWin32Classic" effort, SizeGrip
1394
1395 2006-03-24  Jackson Harper  <jackson@ximian.com>
1396
1397         * XplatUIX11.cs: Give a max idle time of one second, this matches
1398         MS and forces an Idle event every second when there are no other
1399         events in the queue.
1400
1401 2006-03-24  Mike Kestner  <mkestner@novell.com>
1402
1403         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1404         * ListView.Item.cs: fix layout issues with null image lists and images
1405         smaller than checkbox size.
1406         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1407         mode like MS does.  It's weird, but consistent.  ;-)
1408         Fixes #77890.
1409
1410 2006-03-24  Mike Kestner  <mkestner@novell.com>
1411
1412         * ListView.cs: Scroll wheel support for the item control.  Fixes
1413         #77839.
1414
1415 2006-03-23  Jackson Harper  <jackson@ximian.com>
1416
1417         * ScrollableControl.cs: Special case negative sized areas, not
1418         zero.
1419         * MonthCalendar.cs: Save the rect of the clicked date so we can
1420         use it for invalidation.
1421         - Try to cut down on the number of invalidates
1422         - Invalidate the rect the mouse is over and was over when moving
1423         the mouse, so we get the focus box following the cursor.
1424
1425 2006-03-23  Mike Kestner  <mkestner@novell.com>
1426
1427         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1428         focus rectangle drawing. Fixes #77835.
1429
1430 2006-03-23  Mike Kestner  <mkestner@novell.com>
1431
1432         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1433         the if and else if and reverting back to the original == check on the
1434         None conditional.
1435
1436 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
1437
1438         * FontDialog.cs: Update the example panel if the selected index of
1439           the fontListBox changes.
1440
1441 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
1442
1443         * FileDialog.cs: Make FileDialog remember which directory it was in
1444           last in the same execution.
1445
1446 2006-03-22  Mike Kestner  <mkestner@novell.com>
1447
1448         * FileDialog.cs: make the DropDownMenu on the toolbar display
1449         RadioChecks since they are mutually exclusive and that's what MS does.
1450
1451 2006-03-22  Mike Kestner  <mkestner@novell.com>
1452
1453         * Theme.cs: add Color param to CPDrawMenuGlyph.
1454         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1455         checks and radio marks and arrows are visible on highlighted items.
1456         * ControlPaint.cs: update to use new Theme signature.
1457
1458 2006-03-22  Mike Kestner  <mkestner@novell.com>
1459
1460         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1461         is active. Fixes #77870.
1462
1463 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1464
1465         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1466           to be focused/selected after startup
1467
1468 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1469
1470         * ColorDialog.cs: 
1471           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1472             CustomColors and ShowHelp properties
1473           - Some internal rewrites to get better results when using the
1474             ColorMatrix
1475
1476 2006-03-22  Mike Kestner  <mkestner@novell.com>
1477
1478         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1479         HoverSelection.  Fixes #77836.
1480
1481 2006-03-22  Mike Kestner  <mkestner@novell.com>
1482
1483         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
1484         ToggleButtons.  (De)Sensitize the Back button around a stack count of
1485         1, not 0.  Update ButtonSize based on a pixel count of the win32
1486         control.  Adjust the toolbar size/location for new button size.
1487
1488 2006-03-22  Jackson Harper  <jackson@ximian.com>
1489
1490         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1491         true.
1492         * ScrollBar.cs: When doing increments and decrements we need to
1493         set the Value property so that ValueChanged gets raised. A
1494         possible optimization here would be to make an internal SetValue
1495         that doesn't invalidate immediately.
1496         * ToolTip.cs: Tooltips get added to their container (when
1497         supplied) so they get disposed when the container is disposed.
1498         - Don't create tooltips for String.Empty. This prevents all these
1499         little 2-3 pixel windows from showing up when running nunit-gui
1500         and driving me mad.
1501         * Form.cs: Don't set topmost when setting the owner if the handles
1502         haven't been created yet.  The topmost set will happen when the
1503         handles are created.
1504
1505 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
1506
1507         * XplatUIX11.cs:
1508           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1509           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
1510             visible (to allow them to recalculate their sizes)
1511
1512 2006-03-21  Mike Kestner  <mkestner@novell.com>
1513
1514         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1515         methods. Removed a ton of redundant code.  Still not really happy with
1516         the border rendering, but I think that's mainly because of the
1517         ControlDarkDark being black instead of a dark grey. Depending on how 
1518         close we want to be, we might want to revisit those color choices.
1519         Among the new features added during the refactor were DropDownArrow
1520         pressed rendering, Disabled image rendering.  Proper flat appearance
1521         boundary rendering.  Removed the Divider and Wrapping dividers since I
1522         can't figure out any combination of themes and conditions to make the
1523         MS control draw a horizontal line on a toolbar despite what the
1524         Divider property docs indicate.
1525         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1526         conditions and incorrect layout.  Updated to coding standard.
1527         * ToolBarButton.cs: refactored layout and positioning code from
1528         ToolBar to here.  Invalidate wherever possible instead of forcing
1529         redraws of the whole toolbar. 
1530         (Known remaining issues: explicit ButtonSize smaller than provided
1531         images.)
1532
1533 2006-03-21  Mike Kestner  <mkestner@novell.com>
1534
1535         * ContextMenu.cs (Show): use the position parameter instead of just
1536         showing at the MousePosition.
1537
1538 2006-03-21  Jackson Harper  <jackson@ximian.com>
1539
1540         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1541         control handle this.
1542         * TreeNodeCollection.cs: If we are clearing the root node we need
1543         to reset top_node so calcs can still happen.
1544         * ThemeWin32Classic.cs: This is a Flags so we need to check
1545         properly.
1546         
1547 2006-03-21  Jackson Harper  <jackson@ximian.com>
1548
1549         * DataGrid.cs: Create columns when the binding context has been
1550         changed.
1551         * X11Structs.cs: Keysyms are uints.
1552         - Add size to fix build.
1553
1554 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
1555
1556         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1557           XplatUIOSX.cs: 
1558           - Added ResetMouseHover method to allow controls to retrigger
1559             hovering if they need it more than once
1560           - Implemented MouseHoverTime and MouseHoverSize properties
1561         * Timer.cs: Start() must reset the interval
1562         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1563           properties
1564
1565 2006-03-21  Jackson Harper  <jackson@ximian.com>
1566
1567         * X11Keyboard.cs: improved layout detection. Move the nonchar
1568         tables into this file.
1569         * KeyboardLayouts.cs: Move the tables into resource files.
1570
1571 2006-03-21  Mike Kestner  <mkestner@novell.com>
1572
1573         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1574
1575 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
1576
1577         * Mime.cs: Various speed optimizations. Looking up mime types
1578           is now 2 times faster than before
1579
1580 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
1581
1582         * CreateParams.cs: Added internal menu field
1583         * Control.cs: 
1584           - Switched call order for UpdateBounds; now we always call
1585             the one that also takes ClientSize, and we're calculating the 
1586             client size via driver method in the others. The previous
1587             method of tracking client size by difference wasn't working
1588             for forms where even the starting client size wouldn't match
1589             the overall form size (due to borders) (Part of fix for #77729)
1590           - CreateParams(): Do not use parent.Handle unless the handle is
1591             already created. Causes havoc with Nexxia and throws off our
1592             creation of controls
1593         * XplatUIX11.cs:
1594           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1595           - Switched handling of ConfigureNotify over to new PerformNCCalc 
1596             method (consolidates code)
1597           - Changed RequestNCRecalc to use new PerformNCCalc method
1598           - Added calls to RequestNCRecalc when menus and borders are changed
1599             to allow app to set NC size. (Part of fix for #77729) This matches
1600             when MS send a WM_NCRECALC on Win32 windows.
1601           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1602             (Part of fix for #77729). This matches what MS does, they also
1603             send that message when the form is made visible.
1604           - XException.GetMessage: Improved usability of X errors by including
1605             a translation of the window into Hwnd and Control class
1606           - Improved debug info for window creation, reparenting and destruction
1607           - Created helper method WindowIsMapped() [Currently not used]
1608         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1609         * Form.cs:
1610           - CreateParams: Now setting our menu on the new internal menu field
1611           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1612             avoid calculating the same property twice
1613         * Hwnd.cs:
1614           - Improved usability of ToString() for debugging purposes
1615           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1616             determine the height of the menu, instead of just the font. This
1617             required to also create a graphics context and to keep a bmp 
1618             around (for performance reasons)
1619
1620 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
1621
1622         * MenuAPI.cs: Added OnMouseUp method
1623         * Form.cs:
1624           - Now remembering the requested client size, avoids size errors
1625           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1626             instead of base if the menu is active. This is required due to
1627             control now capturing and releasing on down/up and it would
1628             prematurely release our menu capture
1629
1630 2006-03-17  Jackson Harper  <jackson@ximian.com>
1631
1632         * KeyboardLayouts.cs: Add the czech layouts.
1633
1634 2006-03-16  Jackson Harper  <jackson@ximian.com>
1635
1636         * Control.cs: Use the viewport space when sizing not the controls
1637         client size, so things like ScrollableControl that effect the
1638         viewport size (when scrollbars are added) are computed correctly.
1639         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1640         of ManagerEntrys.
1641         - Handle creating BindingManagers for null data sources.
1642         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1643         source, otherwise when rows are added they are added to the 'fake'
1644         datasource and we will crash when trying to set the position in
1645         those rows.
1646         - Use Implicit scrollbars on the datagrid so they arent
1647         selectable.
1648         
1649 2006-03-16  Jackson Harper  <jackson@ximian.com>
1650
1651         * Binding.cs:
1652         * InternalWindowManager.cs:
1653         * MdiWindowManager.cs:
1654         * X11Keyboard.cs: I really want Mike to love me again (fix
1655         compiler warnings).
1656
1657 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
1658
1659         * DataGrid.cs:
1660           - OnMouseDown: Switch to editing mode when clicking on the cell
1661                          even if we're clicking on the cell that's currently 
1662                          selected
1663           - ProcessGridKey: Left/Right now wrap like MS.Net does
1664           - ProcessGridKey: Tab now knows to add a new row when tab is
1665                             pressed in the cell of the last column of the 
1666                             last row
1667           - ProcessGridKey: Enter now adds another row  if pressed in the last
1668                             row and selectes the new row, same column cell
1669           - ProcessGridKey: Home/End navigate columns, not rows, like 
1670                             originally implemented
1671           - Broke ProcessKeyPreview code out into an extra Internal method
1672             so it can be called from the edit code
1673         * DataGridTextBox.cs (ProcessKeyMessage):
1674           - Switched to accept Tab keypresses
1675           - Added F2 handling to allow jumping to the end of the edited cell
1676           - Added logic to allow moving caret left/right inside edited cell
1677             and making the edited cell jump when the caret hits cell borders
1678           - Tab and Enter are now passed to the datagrid after being handled
1679         * TextBoxBase.cs:
1680           - Removed capture code now that Control handles it
1681           - set_SelectionStart now ensures caret is visible
1682
1683 2006-03-16  Jackson Harper  <jackson@ximian.com>
1684
1685         * TrackBar.cs: Debackwards the increment/decrement for handling
1686         mouse clicks on the bar with vertical trackbars.
1687         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1688         bottom to match MS.
1689
1690 2006-03-16  Mike Kestner  <mkestner@novell.com>
1691
1692         * ListView.cs: make shift/ctrl keyboard and mouse selection 
1693         consistent with the MS control. Fix a bug in
1694         SelectedListViewItemCollection.Clear that was pissing me off for the
1695         better part of a day because the collection was being altered
1696         underneath us as we walked the list.
1697
1698 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
1699
1700         * Control.cs: Not sure how we could miss this so long, but it seems
1701           that MS.Net has Capture set all the way from before calling 
1702           OnMouseDown through sending the mouse events until after
1703           OnMouseUp. This will fix DataGrid's selection being set to end
1704           at the location of the MouseUp.
1705
1706 2006-03-15  Jackson Harper  <jackson@ximian.com>
1707
1708         * BindingContext.cs: Check the binding after its added so that it
1709           can initialize the binding managers and hookup to events.
1710         * Binding.cs: Data members seem to sometimes include rows/cols in
1711           the format Row.Column we now take this into account.
1712           - Hookup to the position changed event so we can update the
1713           control when the position has changed in the data set.
1714         * CurrencyManager.cs: Take into account the row/col naming
1715           convention when creating dataset tables.
1716         * BindingContext.cs: Using a newer better way of storing
1717           datasource/datamember pairs.  Hopefully this better matches MS for
1718           looking up binding managers.
1719
1720
1721 2006-03-15  Jackson Harper  <jackson@ximian.com>
1722
1723         * BindingContext.cs: The currency manager needs the data member
1724         name, if the member is a data set we use the name to find the
1725         correct table.
1726         * CurrencyManager.cs: When creating the list prefer an IList over
1727         an IListSource.
1728         - Attempt to create a DataTable from a DataSet (TODO: might need
1729         some better error checking here, although MS doesn't seem to have much)
1730         - If we have a DataTable create a view and use it as our list.
1731
1732 2006-03-15  Mike Kestner  <mkestner@novell.com>
1733
1734         * ListView.cs: keep a matrix of the icon mode layout to facilitate
1735         keyboard navigation. Support Up/Down/Left/Right selection correctly
1736         for all 4 View modes.
1737         * ListViewItem.cs: add internal row/col fields for icon layouts.
1738
1739 2006-03-15  Jackson Harper  <jackson@ximian.com>
1740
1741         * TabControl.cs: Redraw the tabs when we resize so their newly
1742         calculated sizes are drawn on screen.
1743         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
1744         composite characters.
1745         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1746         - filter events so that composite characters can be created
1747         patches by peter
1748         * X11Structs.cs: Add XIMProperties enum.
1749
1750 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1751
1752         * Control.cs (BringToFront, SendToBack): Don't use window or handle
1753           unless it's created
1754
1755 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1756
1757         * Control.cs (PerformLayout): We don't need to consider visiblity
1758           for anchoring, only for docking. This fixes 'whacky' alignment
1759           in listbox and other controls that use implicit scrollbars after
1760           the previous PerformLayout patch
1761         * ListBox.cs: Switched to use implicit scrollbars
1762           
1763 2006-03-14  Mike Kestner  <mkestner@novell.com>
1764
1765         * ToolBar.cs: 
1766         * VScrollBar.cs:
1767         - chain up the "new event" overrides to base and use
1768         OnEvent to raise them.  Part of fix for bug #76509.
1769
1770 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
1771
1772         * FileDialog.cs: Do not select an item in the parent directory
1773           on backspace
1774
1775 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1776
1777         * Control.cs (PerformLayout): It would seem that we considered
1778           invisible windows for our layout. Not quite the right thing
1779           to do. Now we don't any longer, thereby fixing bug #76889.
1780
1781 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1782
1783         * Control.cs (CanFocus): I goofed. A control can have focus 
1784           even though it's not selectable. Made it match MS docs.
1785
1786 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1787
1788         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1789           center by default (fixes #76895)
1790         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
1791           all uses of Border3DSides.All with the explicit ORd together
1792           Left|Right|Top|Bottom because I assume that nobody was aware 
1793           that All also implies a center fill. Most places I checked had
1794           a fill right above.
1795         * ProgressBarStyle.cs: Added
1796
1797 2006-03-13  Mike Kestner  <mkestner@novell.com>
1798
1799         * ListView.cs: fix breakage in drag shadow header positioning 
1800         from Peter's csc compilation fix.
1801
1802 2006-03-13  Mike Kestner  <mkestner@novell.com>
1803
1804         * ListView.cs: fix NRE produced by backspacing twice in a focused
1805         FileDialog.
1806
1807 2006-03-13  Mike Kestner  <mkestner@novell.com>
1808
1809         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1810
1811 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1812
1813         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1814           be changed
1815         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1816           the allowed size before making programmatic size changes
1817
1818 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
1819
1820         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
1821           set, metacity is broken and will still use the emty sizes in 
1822           the struct. (Fix for #77089)
1823
1824 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1825
1826         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
1827           WindowExStyles and marked both enums as Flags
1828         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1829           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1830           to match WindowStyles split
1831         * XplatUIX11.cs:
1832           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1833           - Updated to match WindowStyles split
1834         * XplatUIWin32.cs:
1835           - Fixed FosterParent creation, was using ExStyle on the Style field
1836             (This should help with Popup focus issues)
1837           - Updated to match WindowStyles split
1838
1839 2006-03-13  Jackson Harper  <jackson@ximian.com>
1840
1841         * MdiWindowManager.cs: Use the system menu height. Fixes some
1842         strange sizing issues.
1843
1844 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1845
1846         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1847         * TextBoxBase.cs:
1848           - Scroll to caret after inserting text (#77672)
1849           - Make scroll range one pixel higher, fixes off-by-one error (and
1850             makes underlines visible on the last line)
1851
1852 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
1853
1854         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1855           the keyboard state from being stuck with keys in 'pressed' state when
1856           focus is switched away via keyboard
1857         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1858           reset the keyboard if no X11 KeyUp events are expected to come
1859         * X11Structs.cs: Switched type of Visible to bool to match driver
1860
1861 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1862
1863         * TextControl.cs:
1864           - Switched caret to be just 1 pixel wide, matches MS and looks less
1865             clunky
1866           - Moved caret display 1 pixel down from the top of the control
1867             to improve view
1868           - InsertCharAtCharet: Update the selection start if moving the caret
1869             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1870           - No longer always creating the caret when the caret methods are
1871             called. Only the actual ShowCaret/HideCaret will do that now
1872           - Only setting caret visible if the owner control has focus
1873           - UpdateView: Added invalidation-shortcut logic for center and right 
1874             aligned text. Previously we'd update all according to the left
1875             logic which caused drawing errors. Also fixed height of invalidated
1876             areas, now properly invalidating the whole area (was off-by-one)
1877           - owner_HandleCreated: Always generate the document when the
1878             handle is created; this ensures that 
1879         * TextBoxBase.cs:
1880           - Fixed situation where caret would disappear under the right
1881             window border, also improved scrolling behaviour on left-
1882             aligned textboxes
1883           - Fixed right-aligned textboxes to have a border to the
1884             right instead of the caret being under the right border
1885         * XplatUIX11.cs:
1886           - Switched from 'nested' to simple visible/not visible tracking 
1887             for caret (part of fix for #77671)
1888           - No longer passing through translated FocusIn/FocusOut messages
1889             since we were notifying too often and the wrong windows. Instead
1890             we just notify our focussed window of receiving or loosing focus
1891         * XplatUIWin32.cs: Switched from 'nested' show/hide 
1892           counting for caret to simple visible yes/no behaviour (part of 
1893           fix for #77671)
1894
1895 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1896
1897         * Mime.cs: Remove debug code...
1898
1899 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1900
1901         * MimeGenerated.cs: Removed
1902         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1903           and subclasses) from /usr/(local/)share/mime and
1904           $HOME/.local/share/mime.
1905
1906 2006-03-10  Jackson Harper  <jackson@ximian.com>
1907
1908         * MdiWindowManager.cs: Recalc the NC area when a window is
1909         maximized/restored so that the menu area is drawn on forms that
1910         don't have a menu.
1911
1912 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1913
1914         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1915           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1916           us to force a WM_NCCALCRESIZE message being sent. This is needed
1917           for MDI maximizing.
1918
1919 2006-03-10  Jackson Harper  <jackson@ximian.com>
1920
1921         * Form.cs: We need to use the ActiveMenu when calculating menu
1922         height.
1923         - Fix nullref when the window manager hasn't been created yet.
1924         * Control.cs: Fix nullref when we try to bring a control to the
1925         front that has no parent.
1926         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1927         height.
1928         - Add a dummy item to the maximized menu so it always has the
1929         correct height. Otherwise when there are no menus we don't get our
1930         icon and buttons.
1931         
1932
1933 2006-03-10  Jackson Harper  <jackson@ximian.com>
1934
1935         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1936         stuff.
1937         * Form.cs: Make the window_state internal so the window managers
1938         can track it.
1939         - When an MDI child is maximized let its window manager create the
1940         main menu (so it can add its icon).
1941         - Notify the window managers of state changes
1942         - Let the window manager paint its buttons and handle button
1943         clicks on the menu when it is maximized.
1944         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1945         window manager, since tool windows don't use it, only mdi windows.
1946         - Tell the main form that we don't want it to handle NCPAINT
1947         itself to avoid extra painting.
1948         - Handle clicks on a maximized windows menu.
1949         - Handle window state changes
1950         - Handle minimize/maximize clicks correctly by setting the window state.
1951         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1952         when clicking on the forms icon).
1953         - New method to create a forms maximized menu. This is its normal
1954         menu + an icon.
1955         - Handle window state changes.
1956         - Handle sizing of maximized windows.  Maximized windows are just
1957         drawn bigger then the parent visible area. All controls are still
1958         there, they are just outside the visible area (this matches windows).
1959         * MdiClient.cs: No scrollbars when a child window is maximized.
1960         - Let the children windows figure out how big they should be when
1961         sizing maximized windows.
1962         - Implement a version of ArrangeIconicWindows somewhat similar to
1963         Windows version.  There are some little differences, but I don't
1964         think any app will rely on the layout of minimized mdi windows.
1965
1966 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1967
1968         * Padding.cs: Several fixes to allow compiling with csc 2.0
1969
1970 2006-03-09  Jackson Harper  <jackson@ximian.com>
1971
1972         * Menu.cs:
1973         * MenuItem.cs: Cheap hack so we can add items to the list without
1974         the events being raised.  This allows adding mdi items during
1975         drawing. TODO: Should probably find a better time to add the items.
1976
1977 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1978
1979         * ThemeWin32Classic.cs:
1980           - CheckBox_DrawText: Added logic to not wrap if not enough space
1981             is available (Fix for bug #77727)
1982           - RadioButton_DrawText: Added logic not to wrap if not enough
1983             space is available (Fix for bug #77727). Also removed some
1984             duplicate code, DrawString always drawing the regular text
1985             before hitting the if statement.
1986
1987 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1988
1989         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1990
1991 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1992
1993         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1994         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1995           methods. Moved the new 2.0 properties into alphabetical order with
1996           other properties and added MonoTODO tags
1997
1998 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1999
2000         * AutoScaleMode.cs: Added. Fix build.
2001
2002 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
2003
2004         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
2005           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2006           and was requiring premature handle creation for calls from above
2007         * Form.cs, Control.cs: Removed handle arguments from calls to
2008           CalculateClientRect()
2009
2010 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
2011
2012         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
2013           drag_column.column_rect is MarshalByRef and can't be used that way
2014
2015 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
2016
2017         * AxHost.cs: Added deserialization constructor for 
2018           AxHost+State (fixes 77743)
2019
2020 2006-03-09  Mike Kestner  <mkestner@novell.com>
2021
2022         * ListView.cs: 
2023         - Added column drag reordering for details view.
2024         - fixed behavior when mouse is dragged off column and
2025         AllowColumnReorder is false.
2026         * ColumnHeader.cs: clone the format too in Clone.
2027         * Theme.cs: add DrawListViewHeaderDragDetails method.
2028         * ThemeWin32Classic.cs:
2029         - impl new method for drawing drag column shadows and targets.
2030         - support column offset for details mode in DrawListViewItem.
2031
2032 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
2033
2034         * TextControl.cs: Reset the char_count when the document is cleared
2035           (Fixes bug reported on mono-winforms mailing list)
2036
2037 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
2038
2039         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2040           of calling base we simply process the key ourselves, since both
2041           DefWindowProc and the handled method would set m.Result. 
2042           (Fixes #77732)
2043
2044 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
2045
2046         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2047           method also moves the window; instead implemented a copy of
2048           Control.ScaleCore (Part of fix for #77456)
2049         * TextBoxBase.cs: 
2050           - Created new CreateGraphicsInternal method to allow providing
2051             a graphics context when no handle is created without triggering
2052             handle creation. (Part of fix for #77456)
2053           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2054         * TextControl.cs: 
2055           - Switched Constructor to require TextBoxBase instead of Control (to
2056             allow uncast access to CreateGraphicsInternal)
2057           - Safeguarded use of owner.Handle property. No longer accessing it
2058             unless the handle is already created.
2059           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2060           - Now triggering a recalc when owning control becomes visible
2061         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
2062           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2063           premature handle creation (Part of fix for #77456)
2064         * Control.cs:
2065           - We now only destroy our double-buffering buffers when the
2066             control is resized or disposed, but not when visibility
2067             changes. (The code even re-created them twice every time)
2068           - Now requiring a redraw of the buffer on visibility changes
2069             (fixes bug 77654 part 2)
2070           - Not passing OnParentVisibleChanged up unless the control
2071             is visible
2072           - CanFocus: Fixed to match MS documentation
2073           - Focus: Fixed to return actual focus state and to check if
2074             setting focus is legal before setting it
2075
2076 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
2077
2078         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2079           when to draw focus rectangle by looking at parent focus and
2080           selected state instead. This fixes TabPages on Linux sometimes
2081           having none or multiple focus rectangles.
2082         * XplatUIX11.cs (SetFocus): 
2083           - Don't set the focus if the same window already has focus
2084           - Use SendMessage instead of PostMessage (like it's Win32
2085             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2086             to match MS behaviour
2087         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2088           are not selectable.
2089
2090 2006-03-07  Jackson Harper  <jackson@ximian.com>
2091
2092         * PictureBox.cs: Revert line I accidently committed last week.
2093
2094 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
2095
2096         * Control.cs: 
2097           - Added new IsRecreating and ParentIsRecreating properties to
2098             allow testing if RecreateHandle has been called on ourselves
2099             or one of our parents
2100           - WndProc(WM_DESTROY): If our control handle is being recreated
2101             we immediately need to create the handle when receiving the
2102             destroy, that way our child windows find a valid parent handle
2103             when they themselves are being recreated upon WM_DESTROY receipt
2104             (fix for bug #77654 part 1)
2105         * XplatUIX11.cs:
2106           - DestroyWindow: WM_DESTROY must be sent to our own window before
2107             notifying any child windows. MS documents that child windows
2108             are still valid when WM_DESTROY is received. (Control now relies on
2109             this behaviour)
2110           - Added some fine-grain debug options
2111
2112 2006-03-06  Jackson Harper  <jackson@ximian.com>
2113
2114         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2115         box and base calculations off this.
2116         * MdiChildContext.cs:
2117         * MdiWindowManager.cs: Don't need to ensure scrollbars here
2118         anymore.
2119         
2120 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
2121
2122         * Splitter.cs: In situations where the affected control is added
2123           to the parent's control list after the splitter, we would not
2124           populate affected. Now we try populating it on mousedown, if
2125           it's not already set, and force it to be re-set whenever our
2126           parent changes.
2127
2128 2006-03-03  Matt Hargett  <matt@use.net>
2129
2130         * Control.cs: implement Control.Padding
2131         * Padding.cs: -Padding.All returns -1 when constructing with the
2132         implicit default ctor
2133         -Padding.ToString() matches MS.NET
2134         * ContainerControl.cs: implement
2135         ContainerControl.AutoScaleDimensions
2136         * ListControl.cs: implement ListControl.FormattingEnabled
2137         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2138         * ButtonBase.cs:
2139         * TabPage.cs: Implement UseVisualStyleBackColor.
2140         * PictureBox.cs: Implement PictureBox.InitialImage.
2141
2142 2006-03-03  Mike Kestner  <mkestner@novell.com>
2143
2144         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2145         event declarations to proxy to base event.
2146         * ListViewItem.cs: update to use ItemControl.
2147         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2148         * ThemeWin32Classic.cs: update to new ListView theme API and fix
2149         column header label rendering for 0 width columns.
2150
2151 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
2152
2153         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2154           that causes the control to be created. Fixes #77476.
2155
2156 2006-03-02  Jackson Harper  <jackson@ximian.com>
2157
2158         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2159         expose_pending.
2160
2161 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
2162
2163         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2164           passed in for the EventArgs (fixes #77690)
2165
2166 2006-03-01  Jackson Harper  <jackson@ximian.com>
2167
2168         * ScrollBar.cs: Refresh afterbeing resized.
2169
2170 2006-02-28  Mike Kestner  <mkestner@novell.com>
2171
2172         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2173         Clean up a tracker compile warning.
2174         * MenuItem.cs: add internal PerformPopup method.
2175         [Fixes #77457]
2176
2177 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
2178
2179         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2180           implicit expose) when the text is set to null
2181
2182 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
2183
2184         * RichTextBox.cs (FlushText): When newline is true, we always
2185           need to split the line, even if no text is on it and we may
2186           never eat newlines. (Fixes #77669)
2187
2188 2006-02-28  Mike Kestner  <mkestner@novell.com>
2189
2190         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
2191         and set Selected instead.
2192         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
2193         collections.
2194
2195 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
2196
2197         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2198
2199 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
2200
2201         * FontDialog.cs:
2202           - Got rid of the panel. All controls are now directly added to
2203             the dialog form
2204           - It is now possible to set a font with the Font property
2205           - MinSize and MaxSize property do now what they should
2206           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2207           - Searching and selecting a font with the font textbox works now,
2208             the same applies to the style and size textbox
2209           - Draw the correct 3D border in the example panel
2210           - Fixed a little mem leak (unused fonts didn't get disposed)
2211           - Many other internal updates/rewrites...
2212           - Fix typo
2213
2214 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
2215
2216         * TextControl.cs: 
2217           - InsertRTFFromStream: Added 'number of characters inserted' argument
2218           - set_SelectedRTF: Now using the number of characters to calculate
2219             the new location for the selection and cursor (x/y cannot be used
2220             due to potentially already wrapped text)
2221
2222 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
2223
2224         * TextControl.cs: Added property and implemented means to allow 
2225           disabling recalculation of a document (can be used to speed up
2226           multiple inserts and is needed to make RTF inserts predictable, see
2227           bug #77659)
2228         * RichTextBox.cs: Using the new NoRecalc property of Document to
2229           keep x/y insert locations predictable. Also makes it faster inserting
2230           large chunks of RTF
2231
2232 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
2233
2234         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2235           it's easier for a child control to handle the other messages without
2236           having to duplicate the special functionality
2237         * TextBoxBase.cs
2238           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
2239             code to handle processing the key ourselves, in order to get 
2240             access to the result of KeyEventArgs.Handled. We now only call 
2241             ProcessKey if they key hasn't been handled already. Fixes #77526.
2242           - set_Text: If null or empty string is given, just clear the 
2243             document. Fixes part of #77526
2244
2245 2006-02-27  Jackson Harper  <jackson@ximian.com>
2246
2247         * SizeGrip.cs: Paint the background color before painting the grip
2248         so things look right.
2249         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2250
2251 2006-02-27  Mike Kestner  <mkestner@novell.com>
2252
2253         * ListView.cs:
2254           - Restructure layout and invalidation model to remove a ton of
2255           flicker from the control and speed up performance in general.
2256           - Add manual column resize, flickers like crazy, but I already have
2257           some ideas on how I'll fix that. (#76822)
2258           - Merge the three Icon-based views into a single layout method.
2259           - Move item selection interaction logic from the item since 
2260           interaction with the collections is more appropriate to the view.
2261           - Deselection on non-item clicks.
2262         * ListViewItem.cs:
2263           - Encapsulate most of the layout. Add some internal props to trigger
2264           layout.  Move to a model where Items invalidate themselves instead
2265           of just invalidating the whole control every time something changes.
2266           - Invalidate on Text/Caption changes.
2267           - switch to an offset based layout model to avoid having to absolute
2268           position every element on item moves.
2269           - correct checkbox layout to conform to MS layout.
2270         * ThemeWin32Classic.cs:
2271           - refactor some column header drawing code.
2272           - fix string justification for column headers (#76821)
2273           - make SmallIcon labels top justified for compat with MS impl.
2274         * ThemeClearlooks.cs:
2275           - adjust to new ListViewItem internal checkbox bounds api.
2276
2277 2006-02-27  Jackson Harper  <jackson@ximian.com>
2278
2279         * Control.cs:  Change where implicit controls fall in the zorder.
2280         They are now on top of all children.
2281         - Synced AddImplicit code with Add
2282         - Removed unused enumerator.
2283         * SizeGrip.cs: Remove the TODO as its been TODONE.
2284
2285 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
2286
2287         * TextControl.cs(Insert): Combine the last lines unless the insertion
2288           string ends with \n\n, otherwise we leave one line too many (Fixes
2289           something I noticed with the testapp for #77526; the bug itself was
2290           already fixed in the previous checkin)
2291
2292 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
2293
2294         * RichTextBox.cs:
2295           - SelectionColor and SelectionFont methods no longer set absolute
2296             styles. Instead, the keep font or color respectively (This 
2297             resolves a long-standing FIXME in the code)
2298           - When flushing RTF text, the insert code now considers text trailing
2299             behind the insertion point (Fixes the bug where when replacing
2300             the selected text via SelectedRTF the remainder of the line behind 
2301             the selection would stay on the first insertion line)
2302         * TextBoxBase.cs:
2303           - AppendText now updates the selection points after inserting text
2304           - AppendText now ensures that the last tag (sometimes 0-length) of
2305             the document is used for the style information (Fixes part of 
2306             bug #77220)
2307         * TextControl.cs:
2308           - Created new FontDefiniton class to allow describing partial style
2309             changes
2310           - StreamLine() now takes a lines argument, to allow it to decide
2311             whether an encountered zero-length tag is the last in the document
2312             (which must be kept to not loose the font/color contained in it,
2313             for later appends)
2314           - Created Combine() and Split() methods for Marker structs, to 
2315             support marker updates due to reformatted documents (soft line
2316             wraps)
2317           - Implemented Document.CaretTag setter
2318           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2319             of the last line (Not the cause, but also exposed by bug #77220)
2320           - Added LineTag argument to InsertString method, to allow callers
2321             to force a certain tag to be used (required to force use of the
2322             trailing zero-length tag of a document)
2323           - Now updating markers in Combine(), to avoid stale tag markers
2324           - Added some method descriptions to aid maintenance
2325           - Implemented new FormatText concept, allowing additive/subtractive
2326             formatting by only specifying the components that are to be 
2327             changed. This was needed for resolving the RTB.SelectedColor/
2328             RTB.SelectedFont fixmes
2329           - Added Break() support method to allow breaking up linetags (used
2330             for partial formatting)
2331           - Added GenerateTextFormat() method. It is used for partial 
2332             formatting and allows to generate a full font/color from given
2333             attributes and an existing tag.
2334
2335 2006-02-26  Jackson Harper  <jackson@ximian.com>
2336
2337         * XplatUIX11.cs:  Use the correct caption height.
2338         - Translate hittest coordinates to screen coords to match MS.
2339         * XplatUIWin32.cs: When we create MDI windows we need to reset
2340         some of the style flags, so we get a nice blank window, and can
2341         draw all the decorations ourselves.
2342         - Set a clipping rectangle on the non client paint event, the
2343         window manager drawing code needs one.
2344         * Form.cs: The window manager needs to know when the window state
2345         has been updated.
2346         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2347         don't need to factor in border and title sizes in these
2348         methods. TODO: Remove the args and fix the call points.
2349         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2350         properly.
2351         - Let the driver set the cursors.
2352         - Improve active window handling
2353         - Correct sizes for title bars and buttons.
2354         - Match MS drawing better
2355         * MdiWindowManager.cs: We don't need to handle border style
2356         updates specially anymore.
2357         - Check for scrollbars when windows are done moving
2358         - Handle Active properly.
2359         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2360         correctly. I am spewing the exception though, so we don't hide the
2361         bugs.
2362         
2363 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
2364
2365         * DataGridViewRowPostPaintEventArgs.cs,
2366           DataGridViewCellPaintingEventArgs.cs,
2367           DataGridViewRowCollection.cs,
2368           DataGridViewRowPrePaintEventArgs.cs,
2369           DataGridViewCell.cs: Clear a few warnings and implement a few
2370           exceptions that should be thrown.
2371
2372 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
2373
2374         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2375           'inheriting' our parent's (non-default) cursor. (Part of
2376            the fix for #77479)
2377
2378 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
2379
2380         * XplatUIX11.cs: Fixed cast to make csc happy
2381
2382 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
2383
2384         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2385           it's for the client area (part of fix for #77479 and needed
2386           for MDI window cursor handling)
2387         * XplatUIX11.cs
2388           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2389             the appropriate default cursors and also passing the message
2390             up the parent chain 
2391           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2392             for non-client areas
2393
2394 2006-02-15  Jackson Harper  <jackson@ximian.com>
2395
2396         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2397         is a real MDI window
2398
2399 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
2400
2401         * X11DesktopColors.cs: Instead of checking the desktop session
2402           string for "KDE" check if it starts with "KDE"
2403
2404 2006-02-10  Jackson Harper  <jackson@ximian.com>
2405
2406         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2407         systems).
2408
2409 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
2410
2411         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2412           errors
2413         * ColorDialog.cs:
2414           - Got rid of the panel. All controls are now directly added to
2415             the dialog form
2416           - Changed to mono coding style
2417
2418 2006-02-10  Jackson Harper  <jackson@ximian.com>
2419
2420         * InternalWindowManager.cs: We don't need the set visibility to
2421         false hack anymore now that peter has written beautiful shutdown
2422         code.
2423
2424 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
2425
2426         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2427           where already explicitly destroyed
2428
2429 2006-02-10  Jackson Harper  <jackson@ximian.com>
2430
2431         * MdiClient.cs: Handle the case where windows are too high or to
2432         the left and we need scrollbars.
2433
2434 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
2435
2436         * MimeIcon.cs: Added some icons
2437         * FileDialog.cs:
2438           - Fixed bug #77477
2439           - Got rid of the panel. All controls are now directly added to
2440             the dialog form
2441           - Changed to mono coding style
2442           - On Linux "My Computer" and "My Network" will now show some
2443             more usefull information. A new class, MasterMount, gathers
2444             this information from /proc/mount. Updated MWFFileView to make
2445             use of this information
2446           - Fixed a bug that caused FileDialog to crash when
2447             ".recently_used" file had a zero size
2448           - FilterIndex does now what it should
2449           - Some Refactoring
2450         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2451             FileDialog changes
2452
2453 2006-02-09  Jackson Harper  <jackson@ximian.com>
2454
2455         * ComboBox.cs: Don't touch if null.
2456
2457 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
2458
2459         * Cursor.cs: 64bit safeness fix
2460         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2461
2462 2006-02-09  Jackson Harper  <jackson@ximian.com>
2463
2464         * Form.cs: If a form is made into an MDI form update the styles so
2465         all the props can get set correctly.
2466         - Kill the mdi_container when we dont need it anymore.
2467         * InternalWindowManager.cs: Add missing NOT
2468
2469 2006-02-08  Jackson Harper  <jackson@ximian.com>
2470
2471         * InternalWindowManager.cs: Respek clipping when drawing MDi
2472         decorations.
2473
2474 2006-02-08  Jackson Harper  <jackson@ximian.com>
2475
2476         * Hwnd.cs: Add bits to track non client expose events.
2477         * XplatUIX11.cs: Track non client expose events on the hwnd. This
2478         gives us a proper invalid rect and will allow for some nice
2479         optimizations with NC client drawing
2480         - MDI windows are children windows, so move their style handling
2481         into the child window block.
2482         * InternalWindowManager.cs: Remove a state reset that was
2483         getting invoked at the wrong time. Fixes managed windows getting
2484         into a 'stuck' captured state.
2485
2486 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2487
2488         * TextControl.cs (Document.ctor): Now initializing 
2489           selection_anchor. Fixes #77493
2490
2491 2006-02-07  Jackson Harper  <jackson@ximian.com>
2492
2493         * TrackBar.cs: The increment/decrements were backwards.
2494
2495 2006-02-07  Mike Kestner  <mkestner@novell.com>
2496
2497         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2498         to the instance itself.
2499
2500 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2501
2502         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2503           on ulongs and pointers, the size differs between 32bit and 64bit
2504           systems. 
2505
2506 2006-02-07  Mike Kestner  <mkestner@novell.com>
2507
2508         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2509         for 64 bit platforms to work around a metacity bug. 
2510
2511 2006-02-07  Jackson Harper  <jackson@ximian.com>
2512
2513         * TrackBar.cs: Process the input keys we need, and hookup to
2514         KeyDown instead of using WndProc, so we get key messages.
2515
2516 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
2517
2518         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2519           machine we're on. 
2520         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2521           we need to translate the XdndVersion atoms array before sending it
2522
2523 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
2524
2525         * XplatUIX11.cs: 
2526           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2527             number of bits for the property, not the number of bytes. The
2528             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2529             but would not crash since it specified 8 bits instead of 4 bits)
2530           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2531             defined as XID -> long in the C headers)
2532           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
2533             references since those are now IntPtr to begin with
2534           - Switched all Atom.XXX 'int' casts to IntPtr casts
2535           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2536           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2537           - Added XChangeActivePointerGrab DllImport (for X11DnD)
2538         * X11Structs.cs:
2539           - Changed 'int' type for Atoms in XEvent structures to IntPtr
2540           - Changed atom in HoverStruct to be IntPtr
2541         * X11DnD.cs:
2542           - Removed local DllImports, switched code to use those from XplatUIX11
2543           - Removed/fixed casts related to the switch of Atom to be a IntPtr
2544
2545 2006-02-06  Mike Kestner  <mkestner@novell.com>
2546
2547         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
2548         method signatures in the import region.  There may still be some
2549         lingering struct marshaling issues, as I didn't drill down into those.
2550         Yet.
2551
2552 2006-02-06  Jackson Harper  <jackson@ximian.com>
2553
2554         * ComboBox.cs: Dont manually set the top_item, this is computed
2555         when the scrollbar position is set.
2556
2557 2006-02-06  Mike Kestner  <mkestner@novell.com>
2558
2559         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2560         startup crashes on amd64.  There's other fixes needed.  All pinvoke
2561         usage of Atom needs to be mapped to IntPtr for example.  And there are
2562         likely other int/long issues to be addressed.
2563
2564 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
2565
2566         * FileDialog.cs: One more...
2567
2568 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2569
2570         * FileDialog.cs: Next try
2571
2572 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2573
2574         * FileDialog.cs: First part of fix for #77464
2575
2576 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2577
2578         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2579           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2580           AcceptButton border drawing.
2581
2582 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
2583
2584         * Form.cs: Moved positioning of form after auto scaling is applied,
2585           otherwise it would possibly use wrong form size.
2586
2587 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
2588
2589         * Control.cs (RecreateHandle): No need to re-create any child
2590           controls, the child windows will get destroyed automatically by
2591           the windowing system or driver, and re-created when the handle
2592           is being accessed the first time. Fixes #77456
2593         * Form.cs: No longer setting the form to closing if the handle is 
2594           being recreated. This seems like the right thing to do, don't
2595           have a bug or testcase for this, though.
2596
2597 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2598
2599         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2600           controls to avoid unwanted side effects
2601
2602 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
2603
2604         * Control.cs: 
2605           - ScaleCore needs to scale the bounds, not the ClientSize of the 
2606             control. Fixes #77416.
2607           - DefaultSize is 0,0 for control
2608         * TextBoxBase.cs: 
2609           - DefaultSize is 100, 20
2610           - SetBoundsCore: Now enforcing the height, no matter if the provided
2611             height is more or less than the preferred one, as long as AutoSize
2612             is on
2613         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2614
2615 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2616
2617         * Control.cs:
2618           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2619             call unless both performLayout is true *and* we have a pending
2620             layout change
2621           - ResumeLayout: MS does not completely nest Suspend and Resume,
2622             they bottom out at 0, fixed our code to match that.
2623           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2624             SetBoundsCore, we were updating even when we shouldn't. This fixes
2625             swf-anchors mis-anchoring when resizing the app fast and lots.
2626           - UpdateDistances: Now only setting the left and top distance if 
2627             we have a parent and are not suspended, this is based on
2628             a suggestion by Don Edvaldson in bug #77355.
2629           - OnVisibleChanged: Fixed logic when to create the control. We may
2630             not create the control if we have no parent or if it's not visible;
2631             switched to using Visible property instead of is_visible field 
2632             since the property also considers parent states. This fixes a bug
2633             when starting Paint.Net
2634
2635 2006-02-02  Jackson Harper  <jackson@ximian.com>
2636
2637         * Form.cs: If the forms handle hasn't been created yet don't call
2638         into xplatui to make it top most, just set the topmost flag on the
2639         form in CreateParams
2640         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2641
2642 2006-02-01  Jackson Harper  <jackson@ximian.com>
2643
2644         * ScrollableControl.cs: Refactored the Recalculate method a
2645         little, this wasn't handling all the variants of bottom and right
2646         bars needed to be added and added/removed based on their
2647         counterparts being added/removed (which changes the drawable
2648         size). Also we special case client widths and heights of 0 and
2649         don't add the scrollbar for those.
2650
2651 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
2652
2653         * XplatUIX11.cs: 
2654           - Added method to get AbsoluteGeometry(); currently unused, but might
2655             be used in the future, if we try again to figure out toplevel
2656             coordinates with some more crappy window managers
2657           - Added FrameExtents() method to retrieve the WM set decoration size
2658           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
2659             to deal with at least KDE, FVWM and metacity (Fixes #77092)
2660         * Hwnd.cs: 
2661           - Added whacky_wm tracking var for metacity
2662           - Added logic to have default menu height if the actual menu height
2663             has not yet been calculated (part of fix for #77426)
2664         * Form.cs: Keep track whether client size has been set and re-set 
2665           it if a menu is added/removed afterwards (Fixes #77426)
2666
2667 2006-01-31  Jackson Harper  <jackson@ximian.com>
2668
2669         * Control.cs: When a new Site is set on the component attempt to
2670         pull the AmbientProperties from it.
2671
2672 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
2673
2674         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2675           in the background of the owning form. Fixes #77332
2676
2677 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2678
2679         * MimeIcon.cs: Fix for #77409
2680
2681 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2682
2683         * XplatUIX11GTK.cs: Initial import
2684
2685 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
2686
2687         * FixedSizeTextBox: fixes class signature
2688
2689 2006-01-30  Jackson Harper  <jackson@ximian.com>
2690
2691         * FixedSizeTextBox.cs: New internal class that represents a
2692         textBox that will not be scaled.
2693         * TreeView.cs:
2694         * ComboBox.cs:
2695         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2696         standard TextBox.
2697                 
2698 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
2699
2700         * XplatUIX11.cs: Retrieve default screen number instead of
2701           assuming 0. Attempted fix for #77318
2702
2703 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
2704
2705         * XplatUIWin32.cs: 
2706           - GetWindowPos: When a window is parented by FosterParent, use 
2707             the desktop instead of FosterParent as the base to get coordinates
2708           - CreateWindow: Don't make FosterParent the parent window for Popups
2709             if we don't want a taskbar entry, Popups automatically don't get one
2710         * Hwnd.cs: Need to call remove to actually remove the key from the
2711           hash table
2712
2713 2006-01-30  Mike Kestner  <mkestner@novell.com>
2714
2715         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2716
2717 2006-01-30  Jackson Harper  <jackson@ximian.com>
2718
2719         * TreeView.cs:
2720         * TreeNode.cs: Raise events no matter how the treenode is
2721         checked. Patch by Don Edvalson.
2722
2723 2006-01-30  Jackson Harper  <jackson@ximian.com>
2724
2725         * TreeNode.cs: Signature fix.
2726
2727 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
2728
2729         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2730
2731 2006-01-20  Mike Kestner  <mkestner@novell.com>
2732
2733         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2734         event forwarding when menus are active.
2735         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
2736         Most of the patch is pdb's with a little rework.
2737
2738 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2739
2740         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
2741           Removed GetMenuDC and ReleaseMenuDC methods; replaced
2742           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2743         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2744         * InternalWindowManager.cs: Added use of PaintEventStart/End to
2745           handling of WM_NCPAINT message, now passing the PaintEventArgs to
2746           the PaintWindowDecorations method
2747         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2748         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2749         * MenuAPI.cs: Made tracker window invisible
2750         * XplatUIWin32.cs:
2751           - Removed GetMenuDC and ReleaseMenuDC methods
2752           - Implemented the client=false path for PaintEventStart and
2753             PaintEventEnd
2754
2755 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2756
2757         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2758         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2759           styles
2760         * Form.cs: 
2761           - MaximizeBox, MinimizeBox: Recreate the handle when setting
2762             the style
2763           - CreateParams: Reworked the styles to match MS look'n'feel,
2764             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2765             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2766
2767 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2768
2769         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
2770           window is not mapped, since otherwise every form that's being 
2771           created is considered minimized, which is wrong.
2772         * Form.cs: Catching the exception and returning our internal value
2773           instead
2774
2775 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2776
2777         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2778           SetWindowMinMax() to have means to tell the driver about the minimum,
2779           maximum and maximized state window sizes. (Part of the fix for #76485)
2780         * Form.cs:
2781           - Implemented tracking of minimum and maximum window size, now calling
2782             new SetWindowMinMax() driver method to tell the driver (Part of the
2783             fix for #76485)
2784           - Finished handling of WM_GETMINMAXINFO method, now setting all values
2785             (Completes fix for #76485)
2786           - Calling new SetWindowMinMax driver method when the handle for a 
2787             form is created, to make sure the driver knows about it even if
2788             the values have been set before the window was created
2789           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2790             to avoid messing up our anchoring calculations (partial fix
2791             for #77355)
2792         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2793         * XplatUIX11.cs:
2794           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2795           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
2796             (and presumably other freedesktop.org compliant WMs). Left the
2797             assumption unmapped=minimized, needed for SetVisible to work.
2798           - Now setting the window state when creating windows
2799           - Fixed SetVisible to consider/set the window state when mapping
2800             a Form. We cannot set the state before it's mapped, and we cannot
2801             use Form.WindowState once it's mapped (since it would ask the
2802             driver and get 'normal'. Therefore, we grab the state before
2803             mapping, map, and then set state.
2804           - Implmemented SetWindowMinMax method; Metacity does not seem to
2805             honor the ZoomHints, though.
2806         * XplatUIWin32.cs:
2807           - Removed MINMAXINFO (moved to XplatUIStructs)
2808           - Added SetWindowMinMax stub (on Win32 the only way to set that
2809             information is in response to the WM_GETMINMAXINFO message, which
2810             is handled in Form.cs)
2811           - Added logic to SetVisible to set the proper window state when a 
2812             form is made visible (fixes #75720)
2813
2814 2006-01-26  Jackson Harper  <jackson@ximian.com>
2815
2816         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2817         same way we handle them with Invoke.
2818
2819 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
2820
2821         * Form.cs:
2822           - Added tracking of window state so CreateParams can return
2823             the appropriate style
2824           - Moved setting of WS_CAPTION style in CreateParams to allow
2825             styles without caption
2826         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
2827           control if the TextBox property is accessed. Fixes #77345
2828         * Control.cs:
2829           - get_Created: now uses is_disposed and is_created to determine
2830             return value (suggested by Jackson)
2831           - CreateHandle: No longer exits if the handle is being recreated
2832           - RecreateHandle: If the handle is not yet created call the 
2833             appropriate method to create either control or handle. If the
2834             control is already created CreateHandle will simply exit instead
2835             of just creating the handle
2836         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2837           now SendMessage WM_DESTROY directly to the control when DestroyWindow
2838           is called.
2839         * XplatUIX11.cs: 
2840           - When DestroyWindow is called, instead of waiting for the 
2841             DestroyNotification from X11, we directly post it to the WndProc
2842             and immediately dispose the hwnd object.
2843             Same applies to DestroyChildWindows, and this obsoletes the
2844             expose_pending tracking. Contrary to Win32 behaviour we destroy our
2845             child windows before our own, to avoid X11 errors.
2846           - Removed the direct sending of WM_PAINT on UpdateWindow
2847         * XplatUIWin32.cs:
2848           - Reworked DoEvents and GetMessage to allow access to internal queue
2849             even when trying non-blocking access to the queue.  Fixes #77335. 
2850             Based on a patch suggestion by Don Edvalson. The new private
2851             GetMessage can now also be used as a backend for a PeekMessage
2852             frontend version.
2853         * XplatUI.cs: Improved debug output for CreateWindow
2854
2855 2006-01-25  Jackson Harper  <jackson@ximian.com>
2856
2857         * Help.cs: Allow param to be null. Patch by Don Edvalson.
2858
2859 2006-01-24  Jackson Harper  <jackson@ximian.com>
2860
2861         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2862         when we have a MaxDropItems lower then the selected index.
2863
2864 2006-01-24  Jackson Harper  <jackson@ximian.com>
2865
2866         * Control.cs: Don't allow selection of non visible controls, allow
2867         selection of controls without parents.
2868
2869 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2870
2871         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2872         * DataGridDrawingLogic.cs: Add editing row only when is necessary
2873
2874 2006-01-23  Jackson Harper  <jackson@ximian.com>
2875
2876         * UpDownBase.cs: Make the textbox handle all the selection and
2877         tabbing. This fixes tabing to updown controls.
2878
2879 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2880
2881         * TextBoxBase.cs: fixes exception thown the object was null
2882
2883 2006-01-23  Jackson Harper  <jackson@ximian.com>
2884
2885         * ButtonBase.cs: Just use the base CreateParams. They set
2886         visibility and enabled correctly.
2887         * ComboBox.cs:
2888         * TrackBar.cs:
2889         * MonthCalendar.cs: Lets let the base set as much of the
2890         createparams as possible so we don't have duplicate code all over
2891         the place.
2892
2893 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
2894
2895         * ThemeGtk.cs: Added TrackBar and some experimental code to
2896           get double buffering back
2897
2898 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2899
2900         * DataGrid.cs: Allows row number set internally higher than the last
2901         when creating a new row. Restores the editing functionality.
2902
2903 2006-01-20  Mike Kestner  <mkestner@novell.com>
2904
2905         * MimeIcon.cs: delay Image creation until the icons are accessed
2906         instead of creating 190 scaled images on GnomeHandler startup.
2907
2908 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2909
2910         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2911           first call base before processing the event. Fixes #77279
2912
2913 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2914
2915         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2916           that the stride for the GDI bitmap would match the stride of
2917           a DIB or a Cursor.
2918
2919 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2920
2921         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2922
2923 2006-01-19  Jackson Harper  <jackson@ximian.com>
2924
2925         * ComboBox.cs: Hookup the text controls keydown event so we get
2926         those when the text control has the focus.
2927
2928 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2929
2930         * Label.cs: Now using the base events instead of defining new ones;
2931           this allows us to just call the base properties without having to
2932           duplicate all base property logic 
2933
2934 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2935
2936         * Label.cs: A label by default is not a tabstop (Fixes one of our
2937           failing nunit tests)
2938
2939 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2940
2941         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2942         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2943
2944 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2945
2946         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2947           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2948           This fixes #77218
2949         * XplatUIWin32.cs: 
2950           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2951             constructor creates images that can't be saved. Part of the fix
2952             for #76103
2953           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2954           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2955             bug fix for handling window state in forms properly)
2956
2957 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2958
2959         * ThemeGtk.cs: Simplify ScrollBar drawing
2960
2961 2006-01-18  Jackson Harper  <jackson@ximian.com>
2962
2963         * Splitter.cs: Set the default dock style for the splitter control
2964         in the constructor.
2965
2966 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2967
2968         * ThemeGtk.cs: Corrected StateType and ShadowType for
2969           gtk_paint_box
2970
2971 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2972
2973         * Control.cs: Make use of Theme.DoubleBufferingSupported
2974         * ThemeGtk.cs:
2975           - Added drawing for flat style buttons
2976           - Added ScrollBar drawing
2977
2978 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2979
2980         * ThemeClearlooks.cs: Removed some unneeded code.
2981         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2982
2983 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2984
2985         * LinkLabel.cs: We need to update the hover drawing when
2986           leaving the control as well.
2987
2988 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2989
2990         * DataGrid.cs: Clicking on non empty areas in the columns
2991            area was giving an exception
2992
2993 2006-01-17  Jackson Harper  <jackson@ximian.com>
2994
2995         * ThemeWin32Classic.cs:
2996         * ListView.cs: Do not draw/clip the headers when the header style
2997         is None.
2998
2999 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
3000
3001         * DataGrid.cs: Fixes 77260
3002         
3003 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
3004
3005         * DataGrid.cs: Clicking on a column on a empty grid was giving
3006           an exception
3007
3008 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
3009
3010         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3011           or any keypress will crash the grid.
3012
3013 2006-01-17  Mike Kestner  <mkestner@novell.com>
3014
3015         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3016         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
3017         invisible/previously-visible items.
3018         [Fixes #76909]
3019
3020 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
3021
3022         * ThemeClearlooks.cs:
3023         - Added CL_Draw_Button method; now other theme controls that are 
3024           not derived from button or do not have a button can draw buttons
3025           too
3026         - Updated ComboBox drawing
3027         - Beautified RadioButton drawing
3028         - Corrected drawing of bottom and left tabs
3029         - Beautified DateTimePicker and MonthCalendar
3030         - Added CPDrawButton and CPDrawRadioButton
3031
3032 2006-01-16  Jackson Harper  <jackson@ximian.com>
3033
3034         * ComboBox.cs: Set the initial value of the scrollbar to the
3035         current index. Reduce the numbers of refreshs and IndexOfs called.
3036
3037 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
3038
3039         * FileDialog.cs: When the file listview is focused hitting the
3040           backspace key moves the fileview to the parent directory
3041
3042 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
3043
3044         * Form.cs: 
3045           - Added RecreateHandle call when changing taskbar visibility to 
3046             trigger reparenting in Win32 driver (Fixes #75719)
3047           - If a window has minimize or maximize buttons, it cannot have
3048             a help button
3049         * XplatUIWin32.cs:
3050           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3051             the toplevel form with FosterParent (A toolwindow not on the
3052             taskbar) (Fixes #75719)
3053           - Made FosterParent a toolwindow
3054
3055 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
3056
3057         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3058
3059 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
3060
3061         * ToolTip.cs: If SetToolTip is called from a control and the mouse
3062           is currently over that control, make sure that tooltip_window.Text
3063           gets updated
3064
3065 2006-01-13  Mike Kestner  <mkestner@novell.com>
3066
3067         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3068
3069 2006-01-13  Jackson Harper  <jackson@ximian.com>
3070
3071         * TreeView.cs: On MS GetNodeAt never actually factors in the X
3072         value passed.  Also redraw the selected node when we recieve
3073         focus, so tabbing between trees works correctly.
3074
3075 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
3076
3077         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3078           ~/.gconf/%gconf-tree.xml, so use
3079           .gconf/desktop/gnome/interface/%gconf.xml
3080
3081 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
3082
3083         * TextControl.cs: Draw text in gray if control is disabled
3084
3085 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
3086
3087         * TreeView.cs: Draw the focus rectangle outside the highlight, to
3088           make sure it's always visible. Fixes #76680.
3089
3090 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
3091
3092         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3093
3094 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
3095
3096         * PageSetupDialog.cs: Added.
3097         * PrintDialog.cs: Attributes.
3098         * PrintPreviewControl.cs: Updates.
3099         * PrintPreviewDialog.cs: Updates.
3100         
3101 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
3102
3103         * Control.cs: Undid my selection check fix, since it's not needed
3104         * TextBoxBase.cs:
3105           - Now considering the presence of hscroll/vscroll when sizing
3106             vscroll/hscroll respectively. Fixed bug #77077
3107           - Added Left/Up/Down/Right to IsInputKey list to prevent
3108             ContainerControl from stealing them. This fixes what I broke
3109             with my last checkin.
3110
3111 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
3112
3113         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3114           I finally understand how the property can be set without a setter :-)
3115
3116 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
3117
3118         * Application.cs:
3119           - Switched RunLoop to use static Message.Create to create a 
3120             Message object
3121           - Added PreProcessMessage call in runloop for keyboard events; this
3122             is part of the fix for #77219, I overlooked this originally in the
3123             MSDN doc for PreProcessMessage
3124         * Control.cs:
3125           - Removed call to PreProcessMessage from handling of keyboard 
3126             messages; it's supposed to be done in the message pump
3127           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3128             per MSDN documentation.
3129           - IsInputChar: All chars are input chars by default; removed the 
3130             parent calling chain, MS does not document that
3131           - PreProcessMessage: If IsInputChar is true, we want to return false
3132             to allow dispatching of the message
3133           - When selecting the next control, now also check that we're not
3134             selecting ourselves again and therefore return a false positive.
3135         * TextBoxBase.cs:
3136           - Tried to match return values for IsInputKey and ProcessDialogKey
3137             to what MS returns; moved processing of our special keys outside
3138             ProcessDialogKey since MS does not seem to return true on those.
3139           - Moved code that previously was in ProcessDialogKey into new private
3140             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3141           - Reworked handling of WM_CHAR to not have to duplicate code from
3142             Control.cs anymore, instead we simply call down to base.
3143            
3144 2006-01-12  Jackson Harper  <jackson@ximian.com>
3145
3146         * ComboBox.cs: We always need to refresh the text area when
3147         EndUpdate is called. Fixes the combobox in the file dialog.
3148         * Control.cs: Don't create the creator_thread until the controls
3149         handle is created.  Also in InvokeRequired we check if the
3150         creator_thread is null. This gives the effect of InvokeRequired
3151         returning true if the controls handle is not created yet, and
3152         matches MS.
3153
3154 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
3155
3156         * XplatUI.cs:
3157           - Added StartLoop() driver method. This is used to allow drivers to
3158             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3159             loop for a particular thread
3160           - Added EndLoop() driver method. This is called once the message
3161             pump for the thread is shut down
3162           - Added SupportsTransparency method to allow the driver to indicate
3163             opacity support for windows
3164         * Form.cs:
3165           - Removed TODO attribute, completed AllowTransparency property
3166           - Added documented logic to Opacity
3167         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3168           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3169           versions of CompatibleTextRendering
3170         * X11Structs.cs: Added opacity atom to our atom enumeration
3171         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3172           of a form might be set before it's reparented by the WM, and we need
3173           the opacity value without calling up to Form)
3174         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
3175           SupportsTransparency() driver methods
3176         * Application.cs: Now calling StartLoop and EndLoop driver methods
3177         * XplatUIX11.cs:
3178           - Added opacity atom registration
3179           - Added StartLoop()/EndLoop() methods. They're empty right now but
3180             will need to get implemented when we switch to a per-thread queue
3181           - Implemented SupportsTransparency() method
3182           - Implemented SetWindowTransparency() method
3183           - Added support for setting the opacity value when a window is
3184             reparented (since the opacity needs to be set on the WM frame)
3185         * XplatUIOSX.cs, XplatUIWin32.cs:
3186           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3187
3188 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
3189
3190         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3191
3192 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
3193
3194         * FileDialog.cs: Added ToolTip for MWFFileView
3195         * MimeIcon.cs: Rewrote GnomeHandler.
3196           - Get currently used gnome icon theme from
3197             ($HOME)/.gconf/%gconf-tree.xml
3198           - Make use of inherited icon themes
3199           - Support SVG icon themes like Tango via librsvg
3200
3201 2006-01-12  Miguel de Icaza  <miguel@novell.com>
3202
3203         Revert's Jackson's revert which broke 2.0 builds.   Fix both
3204         builds. 
3205         
3206         * Application.cs: Move the use_compatible_text_rendering outside
3207         the NET_2_0 define.  If we ever need to use the
3208         use_compatible_text_rendering on the individual controls they will
3209         access the variable from the common shared code paths.
3210
3211 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
3212
3213         * XplatUI.cs:
3214           - Added more granular debug options
3215           - Added method to print both window text and id
3216           - Switched debug output to use new Window() debug method
3217           - Added IsEnabled() driver method
3218           - Added EnableWindow() driver method
3219         * Form.cs:
3220           - Removed end_modal; no longer needed, new loop handles termination
3221             via 'closing' variable
3222           - If form is modal, setting DialogResult will now initiate loop
3223             termination via 'closing' variable
3224           - Added support for is_enabled/WS_DISABLED to CreateParams
3225           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3226             does all the work
3227           - Removed code that's now in RunLoop from ShowDialog()
3228           - Added various documented sanity checks to ShowDialog()
3229           - Added handling of WM_DESTROY message; we set 'closing' on getting
3230             the message to indicate the message pump to terminate
3231           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3232             send by the Application.ExitThread method. (We send the message
3233             to destroy the window after all other events have been
3234             processed through the queue, instead of destroying the handle 
3235             directly)
3236           - Moved code from Close() method to WM_CLOSE handler; added logic
3237             to only send close-related events if the form is not displayed
3238             modal
3239         * Splitter.cs (..ctor): Fixed typo in resource name
3240         * Control.cs:
3241           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3242             brush now
3243           - set_Cursor: Now only setting calling into XplatUI if the handle for
3244             the control is already created; this avoids implict handle creation
3245             or crashes if it's not created
3246           - set_Enabled: Now setting the enabled state via the new driver method
3247             instead of just tracking it
3248           - CreateParams: Added logic to set WS_DISABLED based on enabled state
3249           - CreateControl: Reordered event firing and method calls to more
3250             closely fire events in the order MS does. Now setting the
3251             enabled state in the driver when creating the control.
3252           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3253             match MS order
3254         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3255           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
3256         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3257         * Hwnd.cs:
3258           - Added tracking of window enabled state (get_Enabled/set_Enabled)
3259           - Added EnabledHwnd property to easily allow a driver to find the
3260             handle of the first enabled window in the parent chain (this is
3261             used by drivers to pass up input events of disabled windows)
3262         * XplatUIDriver.cs: Added IsEnabled() method
3263         * Application.cs:
3264           - Removed crude and obsolete exiting tracking variable
3265           - Removed internal ModalRun(); replaced by RunLoop()
3266           - Implemented private CloseForms() method to allow closing all 
3267             windows owned by a particular (or all) threads
3268           - Exit() now properly closes all windows without forcing the message
3269             pump to quit
3270           - Removed obsolete InternalExit() method
3271           - Changed Run() methods to use new RunLoop() message pump
3272           - Implemented new RunLoop() method for both modal and non-modal forms
3273         * CommonDialog.cs:
3274           - get_CreateParams: Added setting of WS_DISABLED
3275           - Simplified ShowDialog(); now all the work is done in RunLoop(),
3276             invoked via Form.ShowDialog()
3277         * NativeWindow.cs: We don't remove the window from the collection when
3278           the handle is destroyed; there might still be messages for it in the
3279           queue (mainly the resulting WM_DESTROY); instead it will be removed
3280           when Control calls InvalidateHandle in the WM_DESTROY handler
3281         * XplatUIX11.cs:
3282           - CreateWindow: Added logic to handle the WS_DISABLED window style
3283           - EnableWindow: Implemented based on Hwnd.Enabled
3284           - GetMessage: Reset PostQuitState so the method can be called again
3285           - Implemented support for disabled windows (passing messages to the
3286             first enabled parent) in handling all input messages
3287           - Added optimizations for handling Expose events
3288           - Implemeted new driver method IsEnabled()
3289           - Now always resetting paint pending tracking vars when we start paint
3290           - Re-implemented UpdateWindow via just sending a WM_PAINT message
3291         * XplatUIOSX.cs: Added IsEnabled method stub
3292         * XplatUIWin32.cs: Implemented new IsEnabled() method
3293
3294 2006-01-11  Jackson Harper  <jackson@ximian.com>
3295
3296         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3297         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3298         variables a little.
3299         * ColorDialog.cs: Clear out the old form before adding the new
3300         panel.  
3301
3302 2006-01-11  Jackson Harper  <jackson@ximian.com>
3303
3304         * X11Dnd.cs: Make sure to add all the text formats when adding
3305         strings to the data object.
3306         * TreeNodeCollection.cs: When adding to a sorted tree we need to
3307         do some redrawing too.  Also change the UpdateNode to an
3308         UpdateBelow so the newly added node gets painted.
3309         
3310 2006-01-11  Miguel de Icaza  <miguel@novell.com>
3311
3312         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3313         LinkLabel.cs, PropertyGrid.cs: Implement the
3314         UseCompatibleTextRendering property for 2.x
3315
3316         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
3317
3318 2006-01-11  Jackson Harper  <jackson@ximian.com>
3319
3320         * TreeView.cs: Use the property for setting the selected node so
3321         the correct events get raised.
3322         * TreeNode.cs: Update the tree when the fore/back colours of a
3323         node are set.
3324
3325 2006-01-10  Jackson Harper  <jackson@ximian.com>
3326
3327         * TreeView.cs: Allow setting SelectedNode to null.
3328
3329 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3330
3331         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3332
3333 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3334
3335         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3336
3337 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3338
3339         * PrintDialog.cs: Added attributes and set default property values.
3340
3341 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3342
3343         * PrintControllerWithStatusDialog.cs: 
3344         Added PrintControllerWithStatusDialog.
3345
3346 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3347
3348         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
3349         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3350
3351 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3352
3353         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3354
3355 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
3356
3357         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3358         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3359
3360 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
3361
3362         * MimeIcon.cs: Added internal class SVGUtil.
3363
3364 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
3365
3366         * FileDialog.cs: Don't crash if there are two files with the
3367           same name but different locations.
3368
3369 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
3370
3371         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3372         dates across multiple month grids. Used to not highlight entire 
3373         month, but does now.
3374         
3375 2006-01-06  Jackson Harper  <jackson@ximian.com>
3376
3377         * MonthCalendar.cs: Removed DoEvents call to prevent a running
3378         message loop. Change timer intervals to numbers that seem more
3379         natural.
3380
3381 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
3382
3383         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3384           object for location info since screen object is now implemented.
3385
3386 2006-01-05  Jackson Harper  <jackson@ximian.com>
3387
3388         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3389         * AsyncMethodResult.cs: We no longer use a WeakReference for the
3390         AsyncMethodResult, this is because we ALWAYS want the
3391         ManualResetEvent to get set.
3392         * Control.cs: When disposing use an async invoke to call shutdown
3393         code, so that thigns don't block on the finalizer thread.  Also
3394         check if we even have a message loop before trying to send
3395         messages, if we don't then don't bother sending messages.
3396         - No more weak references for async methods
3397         * XplatUIDriver.cs: No more weak references for async methods.
3398
3399 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3400
3401         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3402           returns two FontFamily with the same name
3403
3404 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
3405
3406         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
3407           drawing disabled text. Instead using the ColorGrayText color
3408
3409 2006-01-04  Jackson Harper  <jackson@ximian.com>
3410
3411         * TreeNode.cs: redraw the node when its image index is changed.
3412
3413 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
3414
3415         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3416           time I checked there are no others like it.
3417
3418 2006-01-04  Jackson Harper  <jackson@ximian.com>
3419
3420         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3421         this gives the behavoir I was looking for.
3422         * Control.cs: Special case Invoking EventHandlers, this matches MS
3423         and fixes part of bug #76326.
3424
3425 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3426
3427         * ThemeClearlooks.cs, FileDialog.cs:
3428           - Reflect the latest Theme class changes
3429           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
3430             with DateTime
3431             
3432 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3433
3434         * Theme.cs: Cache UI resource images and resize them if needed
3435
3436 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
3437
3438         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3439           is called. This fixes the crash in Nexxia when setting the font
3440           attributes in the chat. [However, RTF needs a look-over to make sure
3441           that all SelectionXXX methods handle the special case that selection
3442           is empty and therefore the change must be applied to all text starting
3443           at the cursor/selection start]
3444
3445 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
3446
3447         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3448           XplatUIOSX.cs: Added SendMessage and PostMessage methods
3449         * X11Keyboard.cs: Switched to new way of calling PostMessage
3450
3451 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
3452
3453         * Theme.cs: Added theme interface for images to allow the theme to
3454           control what images are used for things like FileDialog, MessageBox
3455           icons, etc.
3456         * MessageBox.cs: Now uses the new Theme icon/image interfaces
3457
3458 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
3459
3460         * FileDialog.cs:
3461           - Removed some dead code
3462           - Opening a recently used file does work now
3463           - Small UI enhancements
3464           - Refactoring
3465
3466 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3467
3468         * FileDialog.cs: Forgot too add __MonoCS__
3469
3470 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3471
3472         * FileDialog.cs: We are able to read recently used files now let's
3473           go on and write them.
3474
3475 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
3476
3477         * FileDialog.cs: Breathe some life into "last open"/"recently used"
3478           button
3479         * MimeIcon.cs: Do a check for the top level media type also
3480
3481 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3482
3483         * ThemeClearlooks.cs:
3484           - Added CPDrawStringDisabled
3485           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3486             some chars if the text doesn't fit into text_rect
3487           - DrawListViewItem: If View = View.LargeIcon center the image;
3488             rewrote the drawing of ListViewItem.Text if View = 
3489             View.LargeIcon
3490
3491 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3492
3493         * MimeIcon.cs: Use default KDE icon theme if there is no
3494           "48x48" directory for the current icon theme, fixes #77114
3495         * Mime.cs: Disable not working and actually not used code. 
3496         * ThemeWin32Classic.cs:
3497           - Replace "new SolidBrush" in GetControlBackBrush and
3498             GetControlForeBrush with ResPool.GetSolidBrush
3499           - Changed DrawListViewItem from private to protected virtual
3500         * FileDialog.cs:
3501           - Added form.MaximizeBox = true
3502           - Don't throw an exception if there is a broken symbolic link
3503
3504 2005-12-23  Jackson Harper  <jackson@ximian.com>
3505
3506         * TabControl.cs: Give the panels focus, keyboard navigation is
3507         fixed so this works correctly now.
3508         - We need these key events also.
3509         * ToolBar.cs: Remove some of the poor mans double buffering.
3510         
3511 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
3512
3513         * ComboBox.cs: The internal TextBox now returns the focus.
3514
3515 2005-12-23  Jackson Harper  <jackson@ximian.com>
3516
3517         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
3518
3519 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3520
3521         * Control.cs: Removed debug code
3522         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3523           implicit children
3524
3525 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
3526
3527         * Control.cs: When creating the control, update the Z-order after
3528           all it's children are created, too. (Fixes nexxia not showing
3529           picturebox bug)
3530
3531 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3532
3533         * Control.cs: Do not update the anchoring distances if layout is
3534           suspended, instead do it once layout is resumed
3535
3536 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
3537
3538         * Control.cs: 
3539           - After many hours of debugging, for both Jackson and
3540             myself, it turns out that it helps to set the parent of a control
3541             if you want to actually see it onscreen. In the spirit of that
3542             discovery, we're now setting the parent of the control and
3543             it's children when the control's handle is created. This fix
3544             will make Lutz Roeder's Reflector run happily. 
3545           - now just creating the handle instead of the whole control when
3546             getting a graphics context for the control.
3547
3548 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3549
3550         * ScrollableControl.cs: When calculating the canvas, don't consider
3551           the scrollbar widths. Instead, predict if horizontal scrollbar
3552           will affect canvas when deciding on vertical display and vice versa.
3553
3554 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3555
3556         * RichTextBox.cs: Set default RTF font for documents that don't
3557           have a font table (Fixes #77076)
3558
3559 2005-12-22  Jackson Harper  <jackson@ximian.com>
3560
3561         * TextBoxBase.cs: It's difficult to do, but you can have an empty
3562         clipboard. This prevents a NullRef in that case.
3563         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3564         clipboard. PRIMARY is for the currently selected text only. (We
3565         should implement PRIMARY at some point.
3566
3567 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3568
3569         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3570           a Unicode function with a structure that was defined in Ansi way.
3571           This fixes #76942.
3572
3573 2005-12-21  Jackson Harper  <jackson@ximian.com>
3574
3575         * StatusBar.cs: Statusbar handles its fore/back colours on it's
3576         on. Because thats how it rolls. (and this avoids it using ambient
3577         colours).
3578         * ThemeWin32Classic.cs: Use the proper back color for filling.
3579         * Menu.cs: Use the system menu bar color for drawing menu
3580         bars. Using the window back color will bring ambient colours into
3581         the picture.
3582
3583 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
3584
3585         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3586           Bitmaps were created and not disposed.
3587
3588 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3589
3590         * Control.cs (CreateControl): Don't do anything if the control is
3591           already created, otherwise we'd fire the OnCreated event more than
3592           once
3593
3594 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3595
3596         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3597           will always match. Instead return -1. Fixes #76464.
3598
3599 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3600
3601         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3602           neither the beginning nor the end of the line (Fixes bug #76479)
3603
3604 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3605
3606         * Control.cs:
3607           - ControlNativeWindow.ControlFromHandle(): Now handling situation
3608             where handle is invalid
3609           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3610             instead of slower linear search
3611         * NativeWindow.cs: Don't remove the window from the hashtable until
3612           after the driver has destroyed it (since the driver might use
3613           Control.FromHandle to lookup the control object
3614         * Hwnd.cs: Added DestroyPending property to track if a window is 
3615           already destroyed as far as the driver is concerned and only hasn't
3616           yet notified the control
3617         * XplatUIX11.cs:
3618           - Activate(): Check if the window is still valid before using the 
3619             handle
3620           - Implemented DestroyChildWindow() method to mark child windows as
3621             destroyed when a window is destroyed. This prevents situations 
3622             where we might call an X method based on queued events for a
3623             window that already has been destroyed but we haven't yet pulled
3624             the destroy method from the queue.
3625           - Added a call to the new DestroyChildWindow() method to the drivers
3626             DestroyWindow code. Also now marking the destroyed window itself
3627             as pending
3628
3629 2005-12-20  Jackson Harper  <jackson@ximian.com>
3630
3631         * StatusBar.cs:
3632         * StatusBarPanel.cs: Don't calculate panel sizes on draw
3633         anymore. Just do them when needed, also track the rects of panels
3634         so that we can optimize refreshing more in the future.
3635
3636 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
3637
3638         * ColorDialog.cs: Fixed focus drawing in small color controls
3639
3640 2005-12-19  Jackson Harper  <jackson@ximian.com>
3641
3642         * InternalWindowManager.cs:
3643         * MdiWindowManager.cs: Cleanup some coordinate system changes so
3644         moving windows works properly.
3645
3646 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
3647
3648         * Control.cs: 
3649           - Removed call to InitLayout() from SetBoundsCore(); doc says
3650             it's only called when a control is added to a container
3651           - Split InitLayout logic, moved to separate UpdateDistances() method
3652             since we need to perform those calculations more often than just
3653             when adding the control to a container. (Needed to fix #77022)
3654           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3655           - Reduced the OnBindingContextChanged events count, don't send them
3656             unless the control is created, we still aren't totally matching
3657             MS, but I can't quite figure out some of their rules
3658
3659 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3660
3661         * ThemeClearlooks.cs: Corrected distance between ProgressBar
3662           stripes
3663
3664 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3665
3666         * ThemeClearlooks.cs:
3667           - Updated ProgressBar drawing
3668           - Corrected drawing of ScrollBars and scroll buttons
3669           - Some temporary fixes for minor pixel artefacts
3670
3671 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
3672
3673         * Control.cs:
3674           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3675             cause events to be sent in the same order as MS does.
3676           - Added ChangeParent() method to trigger various OnXXXChanged events
3677             that need to be fired when a parent changes (This is a reworking
3678             of the patch from r54254, with the X11 errors fixed)
3679           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3680             since on MS we get OnLayoutChanged events when calling Clear()
3681           - Changed Enabled property to consider parent state as well, if a
3682             parent is not enabled, the control will not be either
3683           - Changed Parent property to simply call Controls.Add() since that
3684             now does all the work required, this way we avoid code duplication
3685           - Threw in a few OnBindingsContextChanged calls to try and match
3686             when MS sends them. We seem to send a few too many, though.
3687           - Added call to CreateControl when adding the control to a parent.
3688             We were never calling CreateControl. Still needs some work, in
3689             some places we treat HandleCreated and ControlCreated as equal, 
3690             which is wrong
3691           - Removed obsolete commented out code from UpdateZOrder()
3692
3693 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3694
3695         * ThemeClearlooks.cs: Updated TrackBar drawing.
3696
3697 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3698
3699         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3700
3701 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3702
3703         * FileDialog.cs: Add the Help button and the open readonly
3704           checkbox only if needed
3705
3706 2005-12-16  Jackson Harper  <jackson@ximian.com>
3707
3708         * Control.cs: Make sure we have an active menu before trying to
3709         process commands on it. Prevents menu-less forms from crashing
3710         when Alt is pressed.
3711         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3712         Dieter Bremes.
3713         * RichTextBox.cs: Expand statement to help out gmcs and fix the
3714         2.0 build.
3715
3716 2005-12-16  Jackson Harper  <jackson@ximian.com>
3717
3718         * InternalWindowManager.cs: Don't translate tool windows screen
3719         coordinates. This fixes windows 'bouncing' around when being moved.
3720
3721 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3722
3723         * TextBoxBase.cs:
3724           - MaxLength now treats 2^31-1 equal to unlimited length (this is
3725             not quite MS compatible, MS uses that number only for single line
3726             and 2^32-1 for multi-line, but I figure it won't hurt keeping
3727             the limit at 2GB)
3728           - Now enforcing the MaxLength limit when entering characters
3729           - Added argument to internal Paste() method to track if it's called
3730             from programatically or via keyboard, since keyboard driven pastes
3731             need to enforce max-length
3732           - Added logic to Paste to only paste as many chars as MaxLength 
3733             allows
3734         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3735         * TextControl.cs:
3736           - Added Length property to return number of characters in document
3737           - Added private CharCount property which only tracks actual chars
3738             in the document (no linefeeds) and fires event when CharCount
3739             changes
3740           - Added tracking of character count to all methods that alter it
3741           - Added LengthChanged event to allow applications to subscribe
3742             to any changes to the document
3743
3744 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3745
3746         * TextBox.cs: 
3747           - Removed local password_char field (moved to TextBoxBase)
3748           - Now setting the document's password var when password is
3749             set
3750         * TextBoxBase.cs:
3751           - Added password_char field (needed here so MultiLine can
3752             access it)
3753           - Added logic to MultiLine property setter to set the document's
3754             variable when password display is allowed
3755           - Removed debug code and made some debug code conditional
3756         * TextControl.cs:
3757           - Added RecalculatePasswordLine() method to handle special password
3758             char only lines
3759           - Added PasswordChar property, also added related tracking vars
3760           - Draw() method now uses local text var for grabbing text to draw,
3761             this var is set to line.text unless we're doing password display,
3762             then it is set to the pre-generated all-password-chars line
3763           - Added calling RecalculatePasswordLine() method for password lines
3764
3765 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3766
3767         * Hwnd.cs: 
3768           - Added Reparented property to allow tracking of Window Manager
3769             reparenting actions (which affect X/Y calculations of toplevel 
3770             windows)
3771           - Made ToString() print window handles in hex
3772         * XplatUIX11.cs:
3773           - AddConfigureNotify(): Now uses reparented state off Hwnd to
3774             determine if X/Y needs offsetting
3775           - AddConfigureNotify(): Fixed offset calculations
3776           - Now adds ReparentNotify messages into the queue
3777           - Now processes ReparentNotify messages and causes a 
3778             WM_WINDOWPOSCHANGED message to be sent upstream if a window
3779             is reparented (as most likely it's X/Y coordinates are changed
3780             due to that)
3781
3782 2005-12-14  Jackson Harper  <jackson@ximian.com>
3783
3784         * XplatUIX11.cs: Tool windows still need to respek focus.
3785
3786 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3787
3788         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3789           have a working release
3790
3791 2005-12-13  Jackson Harper  <jackson@ximian.com>
3792
3793         * Form.cs: Update styles after setting the border style regardless
3794         of whether or not the window is using a window manager.
3795
3796 2005-12-13  Jackson Harper  <jackson@ximian.com>
3797
3798         * Form.cs: We now hook into an internal window manager instead of just an
3799         MDI subsystem, this is so we can have properly behaving tool windows.
3800         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3801         * InternalWindowManager.cs: New internal class that acts as a
3802         window manager for tool windows and as a base for mdi windows.
3803         * MdiWindowManager.cs: New class that acts as a window manager for
3804         mdi windows.
3805
3806 2005-12-12  Jackson Harper  <jackson@ximian.com>
3807
3808         * Control.cs: Updates so we match behavoir for for implicit
3809         controls. Fixes explosions in MDI.
3810
3811 2005-12-12  Jackson Harper  <jackson@ximian.com>
3812
3813         * Control.cs: Implement Invalidate (Region).
3814
3815 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
3816
3817         * Control.cs: 
3818           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
3819             the same events as MS does. MS fires events for each property 
3820             except, for unknown reasons, Cursor, when the control is reparented. 
3821             I can't seem to totally match add/remove since MS also fires some 
3822             VisibleChanged events, which makes no sense. Consolidated the
3823             parenting code into a separate method so it can be called from
3824             both Add and Remove. set_Parent no longer needs any special logic
3825             as it calls the parent's add method which implicitly fires
3826             all events
3827           - Removed some obsolete code and debug output
3828           - Enabled state is inherited from parents, if this is enabled
3829
3830 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
3831
3832         * Form.cs: Removed commented out code
3833
3834 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
3835
3836         * Control.cs:
3837           - Added internal version of Invoke, with additional argument 
3838             indicating if we're calling it from a Dispose() handler. That
3839             way we can avoid BeginInvoke throwing an exception if we're
3840             calling for an already destroyed window.
3841           - Added a dispose argument to BeginInvokeInternal, and made the
3842             check if a valid window handle chain exists conditional on
3843             it not being a dispose call
3844           - Removed code in DestroyHandle to destroy our children. Since we
3845             now handle the WM_DESTROY message we will catch all our children
3846             being destroyed.
3847           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3848         * Form.cs:
3849           - Added a field to track the application context of the form.
3850           - No need to set closing variable as response to WM_CLOSE, instead
3851             we destroy the window. We also call PostQuitMessage if the form
3852             has an application context (which makes it the main app form,
3853             which, when closed terminates the app)
3854         * XplatUI.cs:
3855           - Dropped Exit() method, it's naming was confusing
3856           - Added PostQuitMessage() which causes GetMessage to return false
3857             once the message queue is empty
3858         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
3859           PostQuitMessage()
3860         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3861           no longer a valid XplatUI method, but left it in since it's used
3862           internally. Added empty PostQuitMessage() method.
3863         * MenuAPI.cs: Replaced call to Exit() with call to
3864           PostQuitMessage, even though this is probably no longer needed.
3865         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3866         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3867         * Application.cs:
3868           - Replaced call to XplatUI.Exit() with PostQuitMessage()
3869           - Removed old debug code that would call XplatUI for exception
3870             display, enabled standard exception handling (Still not enabled
3871             though, until NativeWindow's ExternalExceptionHandler define
3872             is removed
3873         * NativeWindow.cs:
3874           - Added internal method to allow control to update NativeWindow
3875             after a window has been destroyed
3876           - Added handling of already destroyed windows when calling i
3877             DestroyWindow
3878           - Added removal of handle from list on ReleaseHandle
3879         * XplatUIX11.cs:
3880           - Dropped GetMessageResult var and related code
3881           - Added PostQuitState to field to track if PostQuitMessage has been
3882             called
3883           - Dropped Exit() method
3884           - Added PostQuitMessage() method
3885           - GetMessage now will return false if PostQuitState is set and no
3886             more messages are in the queue.
3887           - Expose handler will no longer generate WM_PAINT messages if we are
3888             in PostQuitState since it's very likely any windows have already
3889             been destroyed, and since Hwnd won't get updated until we have
3890             processed the DestroyNotify we'd be causing X errors.
3891         
3892 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3893
3894         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3895           Thanks to Mike for pointing out the err of my ways.
3896
3897 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3898
3899         * Control.cs(PreProcessMessage): Moved menu handling back, but
3900           after all other key handling, to match MS (who handles Menu in
3901           DefWndProc)
3902         * Menu.cs (WndProc): Removed my brainfart
3903
3904 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3905
3906         * Control.cs(PreProcessMessage): Removed special menu handling 
3907         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3908
3909 2005-12-07  Mike Kestner  <mkestner@novell.com>
3910
3911         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3912         state according in tracker.
3913         * Menu.cs : promote tracker field to base class and provide a tracker
3914         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3915         has a tracker. Unparent items that are removed from the collection.
3916         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3917         * Theme*.cs: add always_show_hotkeys field to support configurability
3918         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3919         pressed.
3920
3921 2005-12-07  Jackson Harper  <jackson@ximian.com>
3922
3923         * MdiChildContext.cs: Use Control.ResetCursor.
3924         * Control.cs: ResetCursor needs to set the property so that the
3925         correct XplatUI call gets made.
3926
3927 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3928
3929         * Control.cs: More fixes to make our key events match MS. We
3930           were not setting the modifier state on KeyData, and we were
3931           not generating any events when Alt was pressed with a key
3932           since handling of WM_SYSxxx was missing for the OnKey methods.
3933
3934 2005-12-07  Jackson Harper  <jackson@ximian.com>
3935
3936         * MdiChildContext.cs: reenable the sizing code.
3937         - When the mouse leaves a window reset its cursor.
3938
3939 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3940
3941         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3942
3943 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3944
3945         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3946           widths of Fixed3D borders
3947
3948 2005-12-07  Jackson Harper  <jackson@ximian.com>
3949
3950         * MdiClient.cs: Fix warnings. Earn Mike's love.
3951
3952 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3953
3954         * ThemeClearlooks.cs:
3955           - Adjusted mouse over button color
3956           - Added first parts of CheckBox drawing
3957           - Added correct color for selected text background
3958           - Fixed ComboBox drawing
3959           - Added CPDrawBorder3D and CPDrawBorder
3960
3961 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3962
3963         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3964
3965 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3966
3967         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3968           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3969           alert users via sound. We could add an enum arg with different
3970           types of alerts in the future
3971
3972 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3973
3974         * Control.cs: Fix behaviour problems pointed out by Mike
3975
3976 2005-12-05  Mike Kestner  <mkestner@novell.com>
3977
3978         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3979         prop setters.  Calls parent.Refresh for now, but could be maybe be
3980         optimized with an internal method on StatusBar at some point.
3981         [Fixes #76513]
3982
3983 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3984
3985         * RichTextBox.cs: Implemented get_SelectionColor
3986
3987 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3988
3989         * ThemeClearlooks.cs:
3990           - Removed dead code
3991           - Draw black button border only if button is Form.AcceptButton
3992           - Draw correct button color for pressed RadioButton if the mouse 
3993             has entered the button
3994           - Updated ProgressBar drawing!
3995           - Updated CPDrawSizeGrip drawing
3996           - Updated StatusBarPanel drawing
3997
3998 2005-12-05  Mike Kestner  <mkestner@novell.com>
3999
4000         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4001         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4002
4003 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
4004
4005         * ThemeClearlooks.cs: Initial check-in, activate with
4006           export MONO_THEME=clearlooks
4007         * ThemeEngine.cs: Added ThemeClearlooks
4008
4009 2005-12-03  Mike Kestner  <mkestner@novell.com>
4010
4011         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4012         [Fixes #76897]
4013
4014 2005-12-02  Jackson Harper  <jackson@ximian.com>
4015
4016         * Form.cs: If the child form has no menu the default main menu is
4017         used as the active menu.
4018
4019 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
4020
4021         * ListBox.cs: Check if any items exist before trying to resolve 
4022           coordinates into items
4023
4024 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
4025
4026         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4027           as the second color for the background hatch
4028
4029 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
4030
4031         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4032         * RichTextBox.cs: FormatText position arguments are 1-based, now making
4033           sure that what we pass to FormatText is always 1-based. Fixes #76885
4034
4035 2005-11-29  Miguel de Icaza  <miguel@novell.com>
4036
4037         * NumericUpDown.cs (EndInit): When we are done initializing,
4038         reflect any updates on the UI.
4039
4040 2005-12-02  Jackson Harper  <jackson@ximian.com>
4041
4042         * ImplicitHScrollBar.cs:
4043         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4044         their container controls.
4045         * TreeView.cs: Use the new implicit scrollbars.
4046
4047 2005-12-02  Jackson Harper  <jackson@ximian.com>
4048
4049         * TreeView.cs: Make top_node internal so the TreeNodeCollections
4050         can play with it.
4051         * TreeNodeCollection.cs: If we remove the topnode we need to
4052         update topnode to the next node in line.
4053         - When clearing nodes go through the same process as removing
4054         them, so they get depareneted and checked if they are top node.
4055
4056 2005-12-01  Jackson Harper  <jackson@ximian.com>
4057
4058         * TreeView.cs: When imagelists are used the image area is
4059         selectable as well as the text.
4060         - If there are no selected nodes select the first one.
4061         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4062         so don't do it more then we need to.
4063
4064 2005-12-01  Jackson Harper  <jackson@ximian.com>
4065
4066         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4067         that arrows can be scaled.
4068
4069 2005-12-01  Jackson Harper  <jackson@ximian.com>
4070
4071         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4072         fail. Patch by Dieter Bremes
4073
4074 2005-11-30  Jackson Harper  <jackson@ximian.com>
4075
4076         * Form.cs: Property is 2.0 only
4077         * PrintDialog.cs: Signature fix.
4078
4079 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
4080
4081         * TextControl.cs: 
4082           - No longer artificially moves text 2 pixels down (now that we have
4083             borders this is no longer needed)
4084           - Added calcs for left, hanging and right indent
4085
4086 2005-11-23  Mike Kestner  <mkestner@novell.com>
4087
4088         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4089
4090 2005-11-30  Jackson Harper  <jackson@ximian.com>
4091
4092         * MdiChildContext.cs: Set the cloned menus forms, as these don't
4093         get cloned as part of CloneMenu ().
4094         * Menu.cs: Make sure the parent of the items get set correctly
4095         when they are added.  And the owners are notified of the changes.
4096         * Form.cs: Create an ActiveMenu property, so that when MDI is used
4097         we can change the menu being displayed/handled by the form without
4098         changing the menu assosciated with the form.
4099         - Don't let Mdi children draw/handle menus.
4100         
4101 2005-11-30  Jackson Harper  <jackson@ximian.com>
4102
4103         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4104         a MenuChanged event. Just to make the API a little more
4105         consistent.
4106         * MainMenu.cs:
4107         * MenuItem.cs: Use the new OnMenuChanged
4108         * MdiChildContext.cs: Handle menu merging.
4109         * Form.cs: Implement MergedMenu.
4110         
4111 2005-11-30  Jackson Harper  <jackson@ximian.com>
4112
4113         * Menu.cs: We were misusing Add. Add goes behind the specified
4114         index according to the docs, and does not replace the specified
4115         index. So I added an Insert method.
4116
4117 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
4118
4119         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4120           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4121           is for Jackson
4122         * RichTextBox.cs: Added calls to base for DnD events
4123
4124 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
4125
4126         * TextControl.cs:
4127           - Fixed drag-selection related crash; style fixes
4128           - Implemented undo class
4129             o Implemented method to capture document state for specified
4130               range in document tree
4131             o Implemented method to restore captured document state
4132             o Implemented cursor tracking
4133             o Implemented basic undo stack
4134           - Added undo cursor tracking to methods altering cursor location
4135           - Added undo tracking to selection deletion (still missing
4136             other text-altering hookups)
4137         * RichTextBox.cs:
4138           - Added SelectionLength property
4139           - Implemented CanPaste()
4140           - Implemented Paste()
4141           - Added missing protected methods
4142           - Fixed RTF->Document conversion; now uses font index 0 and color 
4143             index 0 as the default font for the parsed text
4144           - Fixed RTF<->Document font size translation
4145           - Fixed RTF generation, now properly handles cross-tag boundaries
4146             for single line selection
4147           - No longer always appends blank line to generated RTF
4148           - Removed TODOs
4149           - Added missing attributes
4150           - Hooked up undo-related methods
4151         * TextBoxBase.cs:
4152           - Implemented Copy()
4153           - Implemented Paste()
4154           - Implemented Cut()
4155           - Fixed caret mis-behaviour on backspace across line-boundaries
4156
4157 2005-11-29  Jackson Harper  <jackson@ximian.com>
4158
4159         * MdiClient.cs: Add a method for activating mdi children. Very
4160         basic right now. I imagine someday it might need more girth.
4161         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4162         children windows names are added to the menu item.
4163         * ThemeWin32Classic.cs: Draw the arrow if the item is an
4164         mdilist. This happens regardless of whether or not there are any
4165         mdi windows to see in the list, and according to my tests happens
4166         before the items are even added. Also happens if there isn't even
4167         an mdi client to get windows from.
4168
4169 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
4170
4171         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4172         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4173
4174 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
4175
4176         * DataGridTableStyle.cs:
4177           - Create always the styles for the missing columns even if they are
4178             provided by the user (not default table style)
4179         * DataGrid.cs:
4180           - Fixes bug 76770
4181           - Fixes SetDataBinding (always re-attach source)
4182           - Fixes SetNewDataSource (only clear styles if they are not for 
4183             this source)
4184          -  Expands OnTableStylesCollectionChanged to handle style refresh 
4185             and remove properly
4186
4187 2005-11-29  Jackson Harper  <jackson@ximian.com>
4188
4189         * FileDialog.cs: Implement missing bits, remove some dead
4190         code.
4191         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4192         creation of the panel so that the options set on the dialog are
4193         seen when the panel is created.
4194         * TreeView.cs: raise a click when items are clicked.
4195         
4196 2005-11-29  Jackson Harper  <jackson@ximian.com>
4197
4198         * MdiClient.cs: Pass some signature methods through to base.
4199
4200 2005-11-28  Jackson Harper  <jackson@ximian.com>
4201
4202         * ListView.cs: Raise the click event when items are clicked.
4203
4204 2005-11-28  Jackson Harper  <jackson@ximian.com>
4205
4206         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
4207         a nullref.
4208
4209 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
4210
4211         * ThemeNice.cs: - Removed 1 pixel bitmaps
4212           - Use SmoothingMode.AntiAlias where it makes sense
4213             (ScrollButton arrow for example)
4214           - Enhanced Button focus drawing
4215           - Fixed ComboBox drawing (no artefacts anymore, focus
4216             rectangle is back again, reduced size of ComboButton, etc.)
4217           - Fixed RadioButton focus drawing for Appearence.Button
4218           - Slight ScrollButton redesign
4219           - Some LinearGradientBrush size fixes
4220           - GroupBoxes have now rounded edges
4221           - Fixed StatusBar drawing
4222
4223 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
4224
4225         * ThemeNice.cs: - Remove dead code
4226           - use correct background colors for menus, etc.
4227           - Fake pixel drawing with 1 pixel bitmaps
4228
4229 2005-11-24  Jackson Harper  <jackson@ximian.com>
4230
4231         * MdiClient.cs: Size the scrollbars when resizing the window.
4232         - Resize the maximized windows when the client is resized
4233         * Form.cs: Make the child context available
4234         
4235 2005-11-23  Jackson Harper  <jackson@ximian.com>
4236
4237         * MdiChildContext.cs: Don't size windows if they are maximized.
4238
4239 2005-11-23  Mike Kestner  <mkestner@novell.com>
4240
4241         * ContextMenu.cs: use MenuTracker.
4242         * Control.cs: remove menu handle usage.
4243         * Form.cs: remove menu handle usage.
4244         * Hwnd.cs: remove menu handle usage.
4245         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4246         motion and clicks to the new Tracker handlers.
4247         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4248         and handle usage.
4249         * MenuAPI.cs: refactored to combine popup and menubar event handling.
4250         Killed the MENU and MENUITEM data types and associated collections
4251         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4252         MenuTracker class that exposes the leftovers from the old MenuAPI
4253         static methods. Restructured Capture handling so that only one grab is
4254         done for the entire menu hierarchy instead of handing off grabs to
4255         submenus. Tracker now has an invisible control to Capture when active.
4256         * MenuItem.cs: add sizing accessors, kill Create
4257         and handle usage.
4258         * Theme.cs: remove menu handle and MENU(ITEM) usage.
4259         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4260         MENU(ITEM). remove menu handle usage, use Menu directly.
4261         * XplatUIDriver.cs: remove menu handle usage.
4262         * XplatUIOSX.cs: remove menu handle usage.
4263         * XplatUIWin32.cs: remove menu handle usage.
4264         * XplatUIX11.cs: remove menu handle usage.
4265
4266 2005-11-22  Jackson Harper  <jackson@ximian.com>
4267
4268         * Hwnd.cs: Don't compute the menu size for
4269         DefaultClientRectangle.
4270         - Reenable menu sizes being computed for GetClienRectangle.
4271         * Form.cs: Remove comment of trechery
4272         
4273 2005-11-22  Jackson Harper  <jackson@ximian.com>
4274
4275         * Hwnd.cs: The adjustments for the menu bar are made when it is
4276         attached to the form.
4277
4278 2005-11-19  Jackson Harper  <jackson@ximian.com>
4279
4280         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4281         (just like on windows).
4282
4283 2005-11-19  Jackson Harper  <jackson@ximian.com>
4284
4285         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4286         use real buttons anymore because they are in non client area. The
4287         one TODO here is that I need to somehow invalidate a section of
4288         the non client area.
4289
4290 2005-11-18  Jackson Harper  <jackson@ximian.com>
4291
4292         * Control.cs: Put the enum check back in now that MDI doesnt have
4293         to use this to set border styles.
4294         * Form.cs: Only set mdi child windows borders if the handle has
4295         been created.
4296         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4297         this directly on to the driver.
4298         - Get the move start position before adjusting for the titlebar
4299         height, this fixes the windows "skipping" when they are first
4300         moved.
4301
4302 2005-11-18  Jackson Harper  <jackson@ximian.com>
4303
4304         * XplatUIX11.cs: Just compute the mdi borders separately as they
4305         don't totally match up with normal form borders.
4306
4307 2005-11-18  Jackson Harper  <jackson@ximian.com>
4308
4309         * Control.cs: Set WS_ styles for borders, so that the driver does
4310         not have to retrieve the control instance to figure out what kind
4311         of borders it should have.
4312         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4313         driver can know its an mdi child easily.
4314         * XplatUIX11.cs: Get the border styles and whether the window is
4315         MDI from the Styles and ExStyles params instead of having to get a
4316         control. This prevents a chicken and egg problem.       
4317
4318 2005-11-18  Jackson Harper  <jackson@ximian.com>
4319
4320         * MdiClient.cs: Fix typo so scrollbars show up correctly.
4321
4322 2005-11-18  Jackson Harper  <jackson@ximian.com>
4323
4324         * MdiClient.cs: Calculate when to add and remove scrollbars
4325         correctly.
4326         * MdiChildContext.cs: Adjust the y position to take the titlebar
4327         into account.
4328         - No height for FormBorderStyle.None
4329
4330 2005-11-18  Jackson Harper  <jackson@ximian.com>
4331
4332         * Control.cs: Allow non enum values to be used for
4333         InternalBorderStyle.  MDI does this to set a special border style.
4334         - New utility methods for converting points to/from client coords
4335         - Add the newly created control to the Controls collection before
4336         updating its style. This way UpdateStyle can walk the control
4337         heirarchy to find the control if needed.
4338         so I don't need to create a new Point object all the time.
4339         * Form.cs: Let MDI windows handle their border styles.
4340         - Set styles on MDI windows so the correct title style is derived.
4341         * MdiChildContext.cs: Move all the painting and window handling
4342         into the non client area.
4343         - Use correct sizing and put correct buttons on frames based on
4344         the FormBorderStyle.
4345         - Notify the mdi client about scrolling
4346         - Need to handle the buttons ourselves now, because they are all
4347         in non client areas and we can't add controls there.
4348         * MdiClient.cs: Halfway to scrolling, this implementation is
4349         somewhat broken though, we need to check to make sure other
4350         windows aren't causing scrolling before removing the bars. Also
4351         the bars need to be drawn on top, maybe I can switch implicit
4352         controls to be on top.
4353         * Hwnd.cs: caption_height and tool_caption_height are now
4354         properties of an hwnd, this way they can be set by the driver
4355         based on the type of window they are.  In X11 the window manager
4356         handles the decorations so caption_height is zero unless its an
4357         MDI window.
4358         - Add 3 pixel borders for MDI windows (0xFFFF).
4359         - Get rid of some code duplication, have DefaultClientRectanle
4360         just call GetClientRectangle.
4361         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4362         Hwnd now.
4363         - Set border styles differently for mdi windows.
4364         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4365         Hwnd now.
4366         
4367 2005-11-15  Mike Kestner  <mkestner@novell.com>
4368
4369         * Menu.cs: when adding an item to the collection, if item is already 
4370         parented, remove it from the parent.
4371
4372 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
4373
4374         * X11DesktopColors.cs: Added KDE support
4375
4376 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
4377
4378         * XplatUIWin32.cs: 
4379           - Clipboard methods now can translate Rtf format
4380           - No longer removes clipboard contents whenever a new format is added
4381             to allow placing multiple formats on the clipboard
4382         * Clipboard.cs: Clipboard now supports getting a IDataObject and
4383           will place all formats contained in it onto the clipboard. Also
4384           now cleans the clipboard before placing a new object onto it
4385         * RichTextBox.cs:
4386           - Implemented set_Rtf
4387           - Implemented set_SelectedRtf
4388           - Created InsertRTFFromStream() method to allow single code base
4389             for all properties and methods that insert RTF into document
4390           - Removed debug output
4391         * TextControl.cs:
4392           - Fixed Delete(int) to fix up line numbers
4393           - Fixed ReplaceSelection to combine start and end line
4394           - Fixed serious DeleteChars bug that would leave the document tree
4395             broken
4396           - Improved DumpTree with several logic checks to detect broken
4397             document trees
4398           - Removed debug lines
4399           - Fixed Caret.WordForward/WordBack moving code, now always also 
4400             updates caret.tag (fixes crash when word-selecting across tag
4401             boundaries via keyboard)
4402           - Added Insert() method for inserting multiline text into documents
4403           - Fixed DeleteChars() calculation errors that would cause a broken
4404             tag chain with multiple tag lines
4405           - DeleteChars() no longer crashes on multi-tag lines if not all tags
4406           - Split() no longer moves caret if split is at caret location
4407           - ReplaceSelection() now updates the cursor and re-displays it
4408           - ReplaceSelection() now uses new Insert() method to avoid code
4409             duplication
4410           - FormatText() can now handle formatting partial lines
4411         * TextBoxBase.cs:
4412           - Append now uses new TextControl.Insert() method (this avoids 
4413             duplicate code)
4414           - Implemented Ctrl-X (Cut) (
4415           - Implemented Ctrl-C (Copy)
4416           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
4417             regeneration when pasting text; roundtripping Copy&Paste within
4418             edit control still fails due to some calculation bugs in GenerateRTF)
4419           - The Delete key will now remove the current selection if it is visible
4420         * TextBox.cs: Removed debug lines
4421         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4422           driver to be initialized and can't therefore be done via a static ctor)
4423
4424 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
4425
4426         * TextControl.cs: Added backend code for finding char arrays and strings
4427         * TextBoxBase.cs:
4428           - Added mouse wheel scroll support
4429           - Added support for VScroll and HScroll events
4430         * RichTextBox.cs:
4431           - Implemented all seven Find() variants
4432           - Implemented GetCharFromPosition()
4433           - Implemented GetCharIndexFromPosition()
4434           - Implemented GetLineFromIndex()
4435           - Implemented GetPositionFromCharIndex();
4436           - Implemented SaveFile for PlainText and UnicodeText
4437           - Fixed set_Font, now setting a new font applies that font to
4438             the whole document
4439           - Implemented generic Document to RTF converter
4440           - Implemented SaveFile for RichText format (still missing unicode
4441             conversion for non-ansi chars)
4442           - Implemented get_Rtf
4443           - Implemented get_SelectedRtf
4444
4445 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
4446
4447         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4448           to allow any captures to be released before triggering OnClick. This
4449           way a click handler may capture the mouse without interference.
4450         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4451           This way we send them even though X may not allow a grab (if the window
4452           isn't visible, for example)
4453
4454 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
4455
4456         * DataGridViewRowEventArgs.cs: DataGridView implementation
4457         * DataGridViewElement.cs: DataGridView implementation
4458         * DataGridViewComboBoxCell.cs: DataGridView implementation
4459         * DataGridViewDataErrorContexts.cs: DataGridView implementation
4460         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4461         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4462         * ImageLayout.cs: DataGridView implementation
4463         * DataGridViewComboBoxColumn.cs: DataGridView implementation
4464         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4465         * DataGridViewSelectionMode.cs: DataGridView implementation
4466         * IDataGridViewEditingControl.cs: DataGridView implementation
4467         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4468         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4469         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4470         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4471         * DataGridViewColumnSortMode.cs: DataGridView implementation
4472         * DataGridView.cs: DataGridView implementation
4473         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4474         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4475         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4476         * Padding.cs: DataGridView implementation
4477         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4478         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4479         * DataGridViewRowEventHandler.cs: DataGridView implementation
4480         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4481         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4482         * DataGridViewButtonCell.cs: DataGridView implementation
4483         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4484         * DataGridViewEditMode.cs: DataGridView implementation
4485         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4486         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4487         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4488         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4489         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4490         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4491         * DataGridViewCellEventHandler.cs: DataGridView implementation
4492         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4493         * DataGridViewCellStyleConverter.cs: DataGridView implementation
4494         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4495         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4496         * DataGridViewColumnEventArgs.cs: DataGridView implementation
4497         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4498         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4499         * QuestionEventArgs.cs: DataGridView implementation
4500         * IDataGridViewEditingCell.cs: DataGridView implementation
4501         * DataGridViewTriState.cs: DataGridView implementation
4502         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4503         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4504         * DataGridViewColumnCollection.cs: DataGridView implementation
4505         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4506         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4507         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4508         * DataGridViewColumn.cs: DataGridView implementation
4509         * DataGridViewCellBorderStyle.cs: DataGridView implementation
4510         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4511         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4512         * DataGridViewRow.cs: DataGridView implementation
4513         * DataGridViewImageCellLayout.cs: DataGridView implementation
4514         * DataGridViewImageCell.cs: DataGridView implementation
4515         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4516         * DataGridViewCheckBoxCell.cs: DataGridView implementation
4517         * DataGridViewHeaderCell.cs: DataGridView implementation
4518         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4519         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4520         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4521         * DataGridViewTextBoxColumn.cs: DataGridView implementation
4522         * QuestionEventHandler.cs: DataGridView implementation
4523         * DataGridViewCellStyleScopes.cs: DataGridView implementation
4524         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4525         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4526         * DataGridViewCell.cs: DataGridView implementation
4527         * DataGridViewCellEventArgs.cs: DataGridView implementation
4528         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4529         * DataGridViewCellStyle.cs: DataGridView implementation
4530         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4531         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4532         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4533         * TextFormatFlags.cs: DataGridView implementation
4534         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4535         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4536         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4537         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4538         * DataGridViewButtonColumn.cs: DataGridView implementation
4539         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4540         * HandledMouseEventArgs.cs: DataGridView implementation
4541         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4542         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4543         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4544         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4545         * DataGridViewRowCollection.cs: DataGridView implementation
4546         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4547         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4548         * DataGridViewHitTestType.cs: DataGridView implementation
4549         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4550         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4551         * DataGridViewColumnEventHandler.cs: DataGridView implementation
4552         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4553         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4554         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4555         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4556         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4557         * DataGridViewContentAlignment.cs: DataGridView implementation
4558         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4559         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4560         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4561         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4562         * DataGridViewPaintParts.cs: DataGridView implementation
4563         * DataGridViewCellCollection.cs: DataGridView implementation
4564         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4565         * DataGridViewImageColumn.cs: DataGridView implementation
4566         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4567         * DataGridViewElementStates.cs: DataGridView implementation
4568         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4569         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4570         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4571         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4572         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4573         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4574         * DataGridViewRowHeaderCell.cs: DataGridView implementation
4575         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4576         * DataGridViewTextBoxCell.cs: DataGridView implementation
4577         * DataGridViewBand.cs: DataGridView implementation
4578         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4579         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4580         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4581         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4582         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4583         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4584         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4585         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4586         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4587         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4588         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4589
4590 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
4591
4592         * ThemeWin32Classic.cs: 
4593           - Draw the outside focus rectangle around buttons
4594           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4595             doesn't use end caps for every dash of a line anymore. This
4596             workaround ignores the forecolor.
4597
4598 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
4599
4600         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4601           endian safe.
4602
4603 2005-11-07  Jackson Harper  <jackson@ximian.com>
4604
4605         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4606
4607 2005-11-07  Jackson Harper  <jackson@ximian.com>
4608
4609         * ScrollableControl.cs: Calculate the maximum and change vars
4610         (more) correctly so that scrollbars appear as a sensible size.
4611
4612 2005-11-04  Jackson Harper  <jackson@ximian.com>
4613
4614         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4615         collection.
4616         * TreeView.cs: When the tree is sorted null out the top_node so
4617         that it is recalculated.
4618         - Use dotted lines instead of dashed lines to match MS better.
4619
4620 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
4621
4622         * ListView.cs: 
4623           - Implements key search for items. Useful when browsing files with FileDialog
4624           - When changing view mode or when clear the items reset scrollbar positions
4625
4626 2005-11-04  Jackson Harper  <jackson@ximian.com>
4627
4628         * CurrencyManager.cs: Implement the MetaDataChanged event, the
4629         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4630         as to what the method may do as there is no real way of creating a
4631         derived CurrencyManager and calling the method. 
4632
4633 2005-11-03  Jackson Harper  <jackson@ximian.com>
4634
4635         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4636         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4637         method which seems to just be used internally to refresh the tabs.
4638
4639 2005-11-03  Jackson Harper  <jackson@ximian.com>
4640
4641         * TabControl.cs: Implement the remove method. Fix some broken
4642         comments.
4643
4644 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4645
4646         * DateTimePicker.cs:
4647           - Added missing DateTimePickerAccessibleObject class
4648           - Added missing events
4649           - Added OnFontChanged method
4650         * Form.cs: Added missing attributes
4651         * TreeView.cs: Added missing attributes
4652
4653 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
4654
4655         * GridItemCollection.cs: Fix signatures
4656
4657 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4658
4659         * XplatUI.cs: Updated build rev/date
4660         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
4661           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4662         * Application.cs: Trigger context-specific ExitThread events
4663
4664 2005-11-03  Jackson Harper  <jackson@ximian.com>
4665
4666         * Menu.cs:
4667         * MainMenu.cs:
4668         * GridTableStylesCollection.cs:
4669         * Timer.cs:
4670         * TabPage.cs:
4671         * HelpProvider.cs:
4672         * StatusBar.cs:
4673         * MonthCalendar.cs: Signature fixes
4674
4675 2005-11-03  Jackson Harper  <jackson@ximian.com>
4676
4677         * TreeNodeCollection.cs: Remove should not be virtual.
4678         * TreeView.cs: Implement the last of the missing methods.
4679
4680 2005-11-03  Jackson Harper  <jackson@ximian.com>
4681
4682         * TreeNodeConverter.cs: Implement to get off my class-status back.
4683
4684 2005-11-03  Jackson Harper  <jackson@ximian.com>
4685
4686         * TreeView.cs: Hookup the bits for drag and drop.
4687         * TreeNode.cs: Don't cache the tree_view or index anymore, now
4688         that nodes can be moved from tree to tree easily this just causes
4689         all sorts of problems.
4690         * TreeNodeCollection: Don't need to give treenodes an index and
4691         treeview anymore when they are added, these are computed on the
4692         fly. Also make sure to remove a node before its added.
4693
4694 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4695
4696         * TextControl.cs:
4697           - Added CaretSelection enum
4698           - Added comparison methods to Marker struct, makes selection code
4699             more readable
4700           - Added SelectionStart and SelectionEnd as 'moveable' location for
4701             the CaretDirection enum and handler
4702           - Added selection_prev variable to track optimized invalidation for
4703             word and line selection
4704           - Added SelectionVisible property (returns true if there is a valid 
4705             selection)
4706           - Switched CaretHasFocus to only display the caret if there is no
4707             visible selection
4708           - Avoiding StringBuilder.ToString to retrieve a single char, instead
4709             using the direct character index; should be much faster
4710           - Added various conditional debug statements
4711           - Fixed invalidation calculation for selection ranges
4712           - Added ExpandSelection() method to support word and line selection
4713           - Switched SetSelectionToCaret to use new Marker compare overloads
4714           - Added central IsWordSeparator() method to determine word 
4715             separators/whitespace and FindWordSeparator() to streamline common
4716             usage of IsWordSeparator()
4717         * TextBoxBase.cs:
4718           - Removed unneeded grabbed variable, it was just mirroring
4719             Control.Capture
4720           - No longer firing OnTextChanged event when Text setter is called,
4721             since the base will fire the event for us
4722           - Added handling of Ctrl-Up/Down selection
4723           - Added handling of Shift-Cursorkey selection
4724           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4725             words
4726           - Added handling of Shift and Ctrl-Shift-Home/End selection
4727           - Removed some debug output
4728           - Added handling for single/double/tripple-click to place caret/
4729             select word/select line respectively (Fixes bug #76031)
4730           - Added support for drag expansion of word/line selection
4731         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4732           current selection
4733
4734 2005-11-02  Jackson Harper  <jackson@ximian.com>
4735
4736         * X11Dnd.cs: If the drag is going to and from a MWF window just
4737         copy the data instead of sending it out through the X Selection
4738         mechanism.
4739
4740 2005-11-02  Jackson Harper  <jackson@ximian.com>
4741
4742         * X11Dnd.cs:
4743         * XplatUIX11.cs: When in a drag we don't want motion notify
4744         messages to get passed on to the other controls. This prevents
4745         mouse move messages from showing up in the drag source.
4746
4747 2005-11-02  Jackson Harper  <jackson@ximian.com>
4748
4749         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
4750         the correct button is release to end a drag.
4751         * XplatUIX11.cs: Make the button state internal so the drag system
4752         can access it.  Dragging needs to know about all button releases,
4753         not just left button.
4754
4755 2005-11-02  Miguel de Icaza  <miguel@novell.com>
4756
4757         * Form.cs (Icon): If the icon is null, reset the icon to the
4758         default value. 
4759
4760         * Cursor.cs: When writing the AND-mask bitmap do not include the
4761         number of colors, but hardcode those to two (black and white),
4762         fixes the loading of color cursors (Paint Dot Net).
4763
4764         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4765         turn off autoscaling.
4766
4767         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4768
4769 2005-11-02  Jackson Harper  <jackson@ximian.com>
4770
4771         * X11Dnd.cs: Make sure to send a status message if the pointer
4772         enters a control that can not accept a drop, otherwise the cursor
4773         isn't updated correctly. Also tried to compress the lines of code
4774         a bit.
4775
4776 2005-11-02  Jackson Harper  <jackson@ximian.com>
4777
4778         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4779         set actions correctly.  This isn't perfect as XDND and win32 have
4780         some differences on how you allow actions. I'll clear this up by
4781         adding a path for drag from MWF to MWF windows.
4782         * XplatUIX11.cs: Hook into the dnd system.
4783
4784 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
4785
4786         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4787         previously shown but they are no longer need it. Very obvious when 
4788         browsing files with FileDialog.
4789
4790 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
4791
4792         * Control.cs: We always need to call OnPaintBackground. We pretty much
4793           ignore AllPaintingInWmPaint and always do the painting there, whether 
4794           it's set or not, since we always ignore the WM_ERASEBKGND message 
4795           (which we don't generate on X11). This fixes #76616.
4796         * Panel.cs: Removed unneeded background painting. This happens properly
4797           in Control.cs already
4798
4799 2005-10-31  Mike Kestner  <mkestner@novell.com>
4800
4801         * Menu.cs: Add items to collection before setting their index.
4802         * MenuItem.cs : add range checking with ArgumentException like MS.
4803         [Fixes #76510]
4804
4805 2005-10-31  Jackson Harper  <jackson@ximian.com>
4806
4807         * ListBox.cs: Invalidate if the area is visible at all not just
4808         contained in the visible rect. Fixes unselection of semi visible
4809         items.
4810
4811 2005-10-31  Jackson Harper  <jackson@ximian.com>
4812
4813         * Control.cs: Consistently name the dnd methods. Make them
4814         internal so we can override them to match some MS behavoir
4815         internally.
4816         * Win32DnD.cs: Use the new consistent names.
4817
4818 2005-10-31  Jackson Harper  <jackson@ximian.com>
4819
4820         * TreeView.cs: Don't draw the selected node when we lose focus.
4821
4822 2005-10-31  Jackson Harper  <jackson@ximian.com>
4823
4824         * X11Dnd.cs: We still need to reset the state even though a full
4825         reset isn't being done, otherwise status's still get sent all over
4826         the place.
4827
4828 2005-10-31  Jackson Harper  <jackson@ximian.com>
4829
4830         * Control.cs: Make the dnd_aware flag internal so the dnd
4831         subsystem can check it. Catch exceptions thrown in dnd handlers to
4832         match MS behavoir.
4833         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4834         * X11Dnd.cs: Handle null data in the converters. Set the XDND
4835         version when sending a XdndEnter. Use the control/hwnd dnd_aware
4836         flags to reduce the number of dnd enters/status's sent.
4837
4838 2005-10-31  Jackson Harper  <jackson@ximian.com>
4839
4840         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4841
4842 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
4843
4844         * PictureBox.cs: Fixes 76512
4845
4846 2005-10-28  Jackson Harper  <jackson@ximian.com>
4847
4848         * X11Dnd.cs: Early implementation to support winforms being a drag
4849         source for data on X11. Also restructured the converters so they
4850         can go both ways now.
4851         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4852         
4853 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
4854
4855         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4856           clipboard requests
4857
4858 2005-10-27  Jackson Harper  <jackson@ximian.com>
4859
4860         * TreeNode.cs: Implement serialization so my DnD examples will work.
4861
4862 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
4863
4864         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4865           TreeView.cs: Don't dispose objects that are not owned.
4866           
4867 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
4868
4869         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4870           should retrieve the current cursor and report that, but XplatUI
4871           doesn't (yet) have an interface for that (and I'm not sure I even
4872           can, on X11)
4873         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4874           until any message loop processing is done (and the WM_SETCURSOR
4875           replaces the cursor to the proper one)
4876         * XplatUIX11.cs: 
4877           - Fixed override behaviour, we can't set the cursor globally on X11, 
4878             just for our windows.
4879           - Invalidating the System.Drawing X11 display handle when we are
4880             shutting down
4881         * Control.cs: Fix to make csc happy
4882
4883 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
4884
4885         * TextBoxBase.cs: 
4886           - get_Text: Add last line (without trailing newline) to returned
4887             value (Fixes 76212)
4888           - get_TextLength: Count last line in returned length
4889           - ToString: Call Text property instead of duplicating code
4890
4891 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
4892
4893         * ImageList.cs: Dispose ImageAttributes objects.
4894
4895 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4896
4897         * ImageList.cs: Use attribute constructors with less arguments where
4898           possible.
4899
4900 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4901
4902         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4903           Use typeof instead of strings when assembly is referenced. Added
4904           some more comments.
4905
4906 2005-10-21  Jackson Harper  <jackson@ximian.com>
4907
4908         * ListView.cs: Raise a double click event. Also tried to somewhat
4909         fix when the selectedindexchanged event is raised. Its still
4910         broken though.
4911
4912 2005-10-21  Jackson Harper  <jackson@ximian.com>
4913
4914         * TreeView.cs: New method to invalidate the plus minus area of a
4915         node without invalidating the whole node (maybe this can be used
4916         in some more places).
4917         * TreeNodeCollection.cs: When adding to an empty node we need to
4918         invalidate its plus minus area so the little block shows up.
4919         
4920 2005-10-21  Jackson Harper  <jackson@ximian.com>
4921
4922         * TreeView.cs: Make sure that when we invalidate a node the bounds
4923         are big enough to cover the selected box and the focus
4924         rectangle. Use a different colour for the lines connecting nodes
4925         so they show up with all themes.
4926
4927 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4928
4929         * NativeWindow.cs: Don't call anything that could call into the driver,
4930           we might be on a different thread.
4931
4932 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4933
4934         * Control.cs(Dispose): Since Dispose might run on a different thread,
4935           make sure that we call methods that could call into the driver via
4936           invoke, to avoid thread issues
4937
4938 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4939
4940         * XplatUI.cs: Removed finalizer
4941         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4942           not allowing to be called on the finalizer thread.
4943
4944 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4945
4946         * ImageList.cs:
4947           - Reverted r51889 and r51891.
4948           - Added ImageListItem class that stores unmodified image items and image
4949             properties required to create list images until handle is created.
4950           - Added AddItem and moved image creation logic to AddItemInternal.
4951           - Added CreateHandle method that creates images based on unmodified items.
4952           - Added DestroyHandle that changes state to store unmodified items.
4953           - Add and AddStrip methods no more create handle.
4954           - ReduceColorDepth has no return value.
4955           - Dispose destroys handle.
4956           - Modified other methods to reflect the above changes.
4957           - Implemented key support.
4958           - Added profile 2.0 members and attributes.
4959           - Added private Reset and ShouldSerialize methods that provide the same
4960             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4961             them as they are private.
4962           - Added some more comments about implementation details.
4963
4964 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4965
4966         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4967
4968 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4969
4970         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4971
4972 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4973
4974         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4975         * DataGridColumnStyle.cs: Remove debug message
4976
4977 2005-10-20  Jackson Harper  <jackson@ximian.com>
4978
4979         * TreeView.cs: We can always get input keys regardless of whether
4980         or not editing is enabled. They are used for navigation.
4981
4982 2005-10-20  Jackson Harper  <jackson@ximian.com>
4983
4984         * TreeNode.cs: Use the viewport rect for determining if a node
4985         needs to be moved for visibility. Don't use Begin/End edit. This
4986         calls a full refresh when its done.
4987         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4988         rect property internal so the treenodes can see it. When clicking
4989         on a node we need to ensure that its visible because it might just
4990         be partly visible when clicked.
4991
4992 2005-10-20  Jackson Harper  <jackson@ximian.com>
4993
4994         * TreeNodeCollection.cs: Remove debug code.
4995
4996 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4997
4998         * Datagrid.cs: Implements column sorting in Datagrid
4999         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5000
5001 2005-10-20  Jackson Harper  <jackson@ximian.com>
5002
5003         * TreeNodeCollection.cs: Remove items properly. Update the correct
5004         area after removing them.
5005
5006 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
5007
5008         * Datagrid.cs: Should not call base.OnPaintBackground
5009
5010 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
5011
5012         * XplatUIX11.cs (GetMessage):
5013           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5014             window instead of client window
5015           - Now properly calculates NC_xBUTTONUP message coordinates
5016           - ScreenToMenu now properly calculates it's coordinates of whole 
5017             window, since menus are in the whole window, not in the client
5018             window
5019           - Added WholeToScreen coordinate translation method
5020
5021 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
5022
5023         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5024           want to return a message, loop back to the beginning of the function
5025           and grab the next real message to process instead.
5026
5027 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
5028
5029         * Splitter.cs: Properly set limits if no filler control is used
5030
5031 2005-10-19  Jackson Harper  <jackson@ximian.com>
5032
5033         * ColorDialog.cs: Don't show the help button if it is not enabled
5034         instead of disabling it (this is what MS does). Don't create the
5035         panel until the dialog is run, otherwise the vars (such as
5036         ShowHelp) are not set yet.
5037
5038 2005-10-19  Jackson Harper  <jackson@ximian.com>
5039
5040         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5041         are reduced when adding nodes.
5042         * TreeNode.cs:
5043         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5044         tree.
5045         
5046 2005-10-19  Jackson Harper  <jackson@ximian.com>
5047
5048         * FolderBrowserDialog.cs: End editing our treeview so the window
5049         actually gets refreshed.
5050
5051 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
5052
5053         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
5054           Obsoleted handling of WM_ERASEBKGND, now always draws our background
5055           inside of WM_PAINT
5056
5057 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
5058
5059         * MenuAPI.cs: Returns after Hidding window
5060         * XplatUIX11.cs: Added TODO found while debugging menu issues
5061
5062 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
5063
5064         * XplatUIX11.cs: Do not re-map the whole window when it's size
5065           becomes non-zero unless it's supposed to be actually visible
5066
5067 2005-10-18  Jackson Harper  <jackson@ximian.com>
5068
5069         * TreeView.cs: We don't need to keep a count anymore.
5070         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5071         use the Grow method.
5072
5073 2005-10-18  Jackson Harper  <jackson@ximian.com>
5074
5075         * TreeNodeCollection.cs: Insert is not supported on arrays, so
5076         implement it manually here.
5077
5078 2005-10-18  Jackson Harper  <jackson@ximian.com>
5079
5080         * ImageList.cs: Dont kill the list when the colour depth is
5081         changed, just change the colour depth of all the images.
5082         - Same goes for setting the image size. Just resize them all
5083         instead of killing the list softly.
5084
5085 2005-10-18  Jackson Harper  <jackson@ximian.com>
5086
5087         * Control.cs: Don't invalidate empty rectangles.
5088
5089 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
5090
5091         * ListViewItem.cs:
5092           - Adds checked item to the Checked/Item lists (where empty before)
5093           - Do not add items to the Selected lists if they are already present
5094         * ListView.cs:
5095           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5096           - When deleting items make sure that we delete them for the Selected
5097           and Checked list also.
5098
5099 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
5100
5101         * Label.cs: Dispose objects no longer used
5102         * ThemeWin32Classic.cs: Dispose objects no longer used
5103
5104 2005-10-18  Jackson Harper  <jackson@ximian.com>
5105
5106         * TabControl.cs: Don't refresh the whole control when the tabs are
5107         scrolled, we just need to refresh the tab area.
5108
5109 2005-10-17  Jackson Harper  <jackson@ximian.com>
5110
5111         * XplatUIX11.cs: Compress code a little bit. Only calculate the
5112         after handle when we need it.
5113
5114 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
5115
5116         * Control.cs: When the parent size changes, recalculate anchor 
5117           positions. Partial fix for #76462
5118
5119 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
5120
5121         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
5122           drawn. Fixes #76462
5123
5124 2005-10-17  Jackson Harper  <jackson@ximian.com>
5125
5126         * MonthCalendar.cs: Don't create the numeric up down until our
5127         handle is created. Otherwise our handle is created in the
5128         constructor and we don't know if we are a WS_CHILD or WS_POPUP
5129         yet.
5130
5131 2005-10-17  Jackson Harper  <jackson@ximian.com>
5132
5133         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5134         correctly.
5135
5136 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5137         * TreeNode.cs : small logical fix (was using local var instead of field)
5138         
5139 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
5140
5141         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5142
5143 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
5144
5145         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5146
5147 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
5148
5149         * Control.cs: 
5150           - Re-implemented anchoring code. My first version was really broken.
5151             This fixes bug #76033. Unlike the previous implementation we will
5152             no longer have round errors since all numbers are calculated from
5153             scratch every time. Removed various anchor-related obsolete vars.
5154           - InitLayout no longer causes layout event firing and layout to be 
5155             performed
5156
5157 2005-10-16  Jackson Harper  <jackson@ximian.com>
5158
5159         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5160         which was broken).
5161
5162 2005-10-16  Jackson Harper  <jackson@ximian.com>
5163
5164         * TabControl.cs: Remove debug code.
5165
5166 2005-10-16  Jackson Harper  <jackson@ximian.com>
5167
5168         * XEventQueue.cs: Increase the default queue size (very simple
5169         apps needed to grow the queue).
5170         * Hwnd.cs: No finalizer so we don't need to suppress
5171         finalization. Compute the invalid area manually so a new rectangle
5172         does not newto be created.
5173         * ScrollableControl.cs: Don't set any params (otherwise visibility
5174         isn't set correctly).
5175         * MdiChildContext.cs: New constructor takes the mdi parent so it
5176         doesn't have to be computed and avoids a crash on windows. Draw
5177         the window icon properly, and allow the text to be seen.
5178         * Form.cs: Use new MdiChildContext constructor. Make sure the
5179         child context isn't null in wndproc.
5180         * TabControl.cs: Don't set focus, this is muddling keyboard
5181         behavoir. Expand the tab rows when a window size increase will
5182         allow extra tabs to be seen. Don't allow tabs smaller than the
5183         width of a window to be scrolled out of view.
5184         * TreeNode.cs:
5185         * TreeView.cs: Use measure string to calculate a nodes width, the
5186         width is cached and only updated when the text or the font is
5187         changed. Don't check for expand/collapse clicks on the first level
5188         nodes if root lines are disabled.
5189         
5190 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
5191
5192         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5193
5194 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
5195
5196         * DataGridBoolColumn.cs: fixes warning
5197
5198 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
5199
5200         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5201         to match more to match more precisely the MS Net behavior
5202
5203 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
5204
5205         * Hwnd.cs: Added field to track if window is mapped
5206         * XplatUIX11.cs: 
5207           - Unmap windows if they become 0-size, re-map when 
5208             they are >0 again; fixes #76035
5209           - Re-set our error handler after initializing X11Desktop
5210             to override any error handlers Gtk or whatever was called
5211             may have set.
5212
5213 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
5214
5215         * CheckedListBox.cs: Removed unused vars
5216         * ListView.cs: Fixed signatures
5217         * RichTextBox.cs: Removed unused vars
5218         * TextBoxBase.cs: Removed unused vars
5219         * XplatUIWin32.cs: Removed unused vars
5220         * XplatUIX11.cs: Removed unused vars
5221         * XplatUI.cs: Updated version and date to latest published
5222
5223 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
5224
5225         * Cursor.cs: Added private .ctor to work around a bug in
5226           resourceset (Thanks to Geoff Norton for the help on this)
5227         * SplitterEventArgs.cs: Made fields accessible so we don't
5228           waste boatloads of objects and can reuse the same one
5229           in Splitter
5230         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5231           any captions and borders when generating screen coordinates
5232         * Splitter.cs: Reimplemented control, now fully complete, uses
5233           rubberband drawing, supports and obeys all properties, has
5234           proper cursors
5235
5236 2005-10-13  Miguel de Icaza  <miguel@novell.com>
5237
5238         * Form.cs (Form): Setup default values for autoscale and
5239         autoscale_base_size;  Make these instance variables, not static
5240         variables. 
5241
5242         (OnLoad): on the first load, adjust the size of the form.
5243
5244 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
5245
5246         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
5247           width argument to DrawReversibleRectangle()
5248         * XplatUIWin32.cs, XplatUIX11.cs: 
5249           - Implemented width for DrawReversibleRectangle()
5250           - Added logic to DrawReversibleRectangle that recognizes a zero
5251             width or height and only draws a line in that situation
5252         
5253 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
5254
5255         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5256         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5257         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5258           method (it uses our FosterParent window to get a graphics context)
5259
5260 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
5261
5262         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
5263           and SetWindowBackground methods
5264         * Control.cs:
5265           - Setting proper ControlStyles
5266           - We no longer call XplatUI.SetWindowBackground and XplatUI.
5267             EraseWindowBackground, instead we draw the window background
5268             ourselves in PaintControlBackground. This behaviour is
5269             required to match MS, where, when OnPaintBackground is not
5270             called, the background is not drawn.
5271           - Removed unneeded Refresh() in set_Text
5272         * Hwnd.cs: Dropped the ErasePending support. No longer needed
5273         * XplatUIX11.cs:
5274           - Created DeriveStyles method to translate from CreateParams to
5275             FormBorderStyle and TitleStyle, also handles BorderStyle (which
5276             matches FormBorderStyle enum values)
5277           - Consolidated SetHwndStyles and CalculateWindowRect border/title
5278             style calculations into single DeriveStyles method
5279           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5280             from redrawing the whole window on any resize or expose.
5281           - Fixed CreateWindow usage of SetWindowValuemask. Before not
5282             all styles were applied to our whole/client window appropriately
5283           - Removed EraseWindowBackground() and SetWindowBackground() methods
5284           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5285             no longer clear/redraw the background through X
5286           - Removed handling of erase_pending bit, we have no use for it (or
5287             so it seems)
5288         * XplatUIOSX.cs:
5289           - Removed generation and handling of WM_ERASEBKGND message
5290           - Removed EraseWindowBackground() and SetWindowBackground() methods
5291           - Removed handling of hwnd.ErasePending flag
5292         * XplatUIWin32.cs:
5293           - Removed EraseWindowBackground() and SetWindowBackground() methods
5294           - We no longer call EraseWindowBackground on PaintEventStart, we 
5295             ignore the fErase flag, erasing is handled in Control in the
5296             background handler
5297         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5298           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5299           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
5300           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
5301           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
5302           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5303           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5304
5305 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
5306
5307         * PropertyGrids.cs: Get sub properties
5308         * PropertyGridView.cs: Fix drawing code
5309
5310 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5311
5312         * ListBox.cs: Fixes 76383
5313
5314 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5315
5316         * DataGridTextBoxColumn.cs: Sets location and size before attachment
5317         * ThemeWin32Classic.cs: Fixes border drawing and calculations
5318         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5319
5320
5321 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5322
5323         * ComboBox.cs: Fixes border drawing
5324
5325 2005-10-10  Miguel de Icaza  <miguel@novell.com>
5326
5327         * MimeIcon.cs: Ignore errors if the file can not be read.
5328
5329 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5330
5331         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5332          - Fixed border calculations
5333          - Fixed horizontal scrolling in single column listboxes
5334          - Fixed drawing issues
5335
5336 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
5337
5338         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
5339           FormBorderStyle enum
5340         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
5341           code to determine FormBorderStyles from CreateParams
5342         * Form.cs:
5343           - Fixed bug where we'd set the wrong window styles if we were
5344             not creating an MDI window
5345           - Added call to XplatUI.SetBorderStyle when form borders are set
5346         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5347         * Hwnd.cs:
5348           - Removed obsolete edge style
5349           - Switched from BorderStyle to FormBorderStyle
5350         
5351 2005-10-10  Jackson Harper  <jackson@ximian.com>
5352
5353         * Form.cs: Use the property to get the window handle instead of
5354         accessing it directly. Prevents a null reference exception.
5355
5356 2005-10-10  Jackson Harper  <jackson@ximian.com>
5357
5358         * TreeView.cs: Don't adjust the rect given to DrawString now that
5359         our libgdiplus draws correctly.
5360
5361 2005-10-08  Jackson Harper  <jackson@ximian.com>
5362
5363         * TreeView.cs: Don't try to find the clicked on node if there are
5364         no nodes in the tree.
5365
5366 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
5367
5368         * RichTextBox.cs:
5369
5370           restore
5371
5372 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
5373
5374         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5375           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5376           ErrorProvider.cs:
5377           Use ResPool for brushes and dispose System.Drawing objects that
5378           are not used anymore.
5379
5380 2005-10-07  Jackson Harper  <jackson@ximian.com>
5381
5382         * MdiChildContext.cs: Use the new borders instead of drawing them
5383         ourselves.
5384
5385 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
5386
5387         * Calling UpdateBounds after changing the window's BorderStyle 
5388         since the style can change the ClientSize
5389
5390 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5391
5392         * Control.cs: Made PaintControlBackground virtual
5393         * Panel.cs: Overriding PaintControlBackground instead of using paint
5394           event; paint event method was interfering with 'real' users of the
5395           event.
5396
5397 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
5398
5399         * ThemeWin32Classic.cs: remove border drawing since it is handled
5400         by the base control class now and was causing double border drawing.
5401
5402 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5403
5404         * Panel.cs: Redraw our background on paint. Not a pretty solution,
5405           but it does seem to match MS behaviour. This fixes bug #75324
5406
5407 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5408
5409         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5410           somewhat hackish looking
5411
5412 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5413
5414         * TextBoxBase.cs:
5415           - We now accept Enter even if AcceptEnter is false, if the containing
5416             form does not have an AcceptButton configured (fixes bug #76355)
5417           - Calculations are now fixed to no longer use Width/Height, but
5418             ClientSize.Width/Height, since we now support borders (this was
5419             a result of fixing borders and therefore bug #76166)
5420           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
5421             true (fixes bug #76354)
5422         
5423 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5424
5425         * Control.cs: 
5426           - Defaulting BorderStyle and setting it in XplatUI when our window 
5427             is created
5428           - Added enum check to InternalBorderStyle setter
5429         * XplatUIX11.cs: 
5430           - Added drawing of window borders
5431           - Now properly calculates WM decorations offset for toplevel 
5432             windows (fixes bug #74763)
5433         * XplatUIWin32.cs: 
5434           - Implemented BorderStyles for windows (we're letting win32 draw 
5435             the border for us)
5436           - Fixed the signature for SetWindowLong
5437         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5438           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
5439           setting borders
5440         * UpDownBase.cs: Remove drawing of borders, this is handled by
5441           the driver, outside the client area
5442         * ListView.cs: Removed bogus border calculations. The control should
5443           be oblivious to borders, since those are not part of the client
5444           area. 
5445         * X11DesktopColors.cs: Commented out (currently) unneeded variables
5446         * ThemeWin32Classic.cs: Removed border calculations from ListView 
5447           drawing code
5448
5449 2005-10-06  Jackson Harper  <jackson@ximian.com>
5450
5451         * MdiChildContext.cs: Clear out the old virtual position remove
5452         all the unneeded calls to CreateGraphics.
5453
5454 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5455
5456         * TextControl.cs: Use proper color for highlighted text; fixes #76350
5457
5458 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5459
5460         * Form.cs: 
5461           - Added loading and setting of our new default icon
5462           - Only set icon if window is already created
5463
5464 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5465
5466         * Label.cs:
5467           - Do not explicitly set the foreground and background colors, to
5468             allow inheriting from parents (fixes #76302)
5469           - Use Control's InternalBorderStyle property to deal with borders
5470
5471 2005-10-06  Jackson Harper  <jackson@ximian.com>
5472
5473         * MdiChildContext.cs: Use the new xplatui function to draw a
5474         reversible rect.
5475
5476 2005-10-06  Jackson Harper  <jackson@ximian.com>
5477
5478         * Form.cs: Add the parent before creating the child context cause
5479         we need the parent when setting up the child.
5480
5481 2005-10-06  Jackson Harper  <jackson@ximian.com>
5482
5483         * FolderBrowserDialog.cs: redo the tree population code so a
5484         second thread isn't used. Should be a lot faster and more stable
5485         now.
5486
5487 2005-10-05  Jackson Harper  <jackson@ximian.com>
5488
5489         * TreeView.cs: There are no expand/collapse boxes if the node has
5490         no children.
5491
5492 2005-10-05  Jackson Harper  <jackson@ximian.com>
5493
5494         * X11DesktopColors.cs: Get menu colours for the gtk theme.
5495
5496 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
5497
5498         * FileDialog.cs: Fix InitialDirectory
5499
5500 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5501
5502         * ComboBox.cs:
5503                 - Fixes changing between styles
5504                 - Fixes simple mode
5505                 - Fixes last item crashing when navigating with keyboard
5506
5507 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5508
5509         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5510
5511 2005-10-05  Jackson Harper  <jackson@ximian.com>
5512
5513         * TreeView.cs: If updating the root node do a full refresh.
5514         * TreeNode.cs: The root node should be expanded by default. Also
5515         added a utility prop to tell if we are the root node.
5516         * TreeNodeCollection.cs: Only refresh if the node we are being
5517         added to is expanded. Also added a comment on a potential
5518         optimization.
5519         
5520 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
5521
5522         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
5523           in dispose method. Fixes #76330
5524
5525 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
5526
5527         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5528
5529                 - Implements vertical and horizontal scrolling using XplatUI
5530                 - Fixes keyboard navagation
5531                 - Fixes EnsureVisible
5532                 - Drawing fixes
5533                 - Handles and draws focus properly
5534
5535
5536 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
5537
5538         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5539           Create handle. NET_2_0: Destroy handle when value is null.
5540
5541 2005-10-03  Jackson Harper  <jackson@ximian.com>
5542
5543         * ScrollBar.cs: My last scrollbar patch was broken. This is a
5544         revert and a new patch to prevent the thumb from refreshing so
5545         much.
5546
5547 2005-10-02  Jackson Harper  <jackson@ximian.com>
5548
5549         * ScrollBar.cs: Don't update position if it hasn't actually
5550         changed. This occurs when you hold down the increment/decrement
5551         buttons and the thumb gets to the max/min.
5552
5553 2005-10-01  Jackson Harper  <jackson@ximian.com>
5554
5555         * Form.cs:
5556         * MdiChildContext.cs:
5557         * MdiClient.cs: Implement ActiveMdiChild in Form.
5558
5559 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
5560
5561         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5562
5563 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
5564
5565         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5566           be found
5567
5568 2005-09-30  Jackson Harper  <jackson@ximian.com>
5569
5570         * ListBox.cs: Don't do a full refresh unless some data has
5571         actually changed.
5572
5573 2005-09-30  Jackson Harper  <jackson@ximian.com>
5574
5575         * TreeView.cs: Make sure that the checkboxes size is factored in
5576         even when not visible.
5577
5578 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5579
5580         * FileDialog.cs: Fix Jordi's build break
5581
5582 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5583
5584         * FileDialog.cs: 
5585                 - Use standard the Windows colours for the combobox as espected
5586                 - Dispose objects that use resouces when no longer need them
5587
5588 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5589
5590         * X11DesktopColors.cs: Initial incomplete implementation
5591         * XplatUIX11.cs: Added call to initialize X11DesktopColors
5592
5593 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
5594
5595         * Theme.cs: 
5596           - Switched Theme color names to match the names defined in 
5597             System.Drawing.KnownColors. Life's hard enough, no need to make 
5598             it harder.
5599           - Added setters to all theme color properties so themes can set
5600             their color schemes. The setters also propagate the color changes
5601             to System.Drawing.KnownColors via reflection
5602         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5603           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5604           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5605           use the new, more logical theme color names
5606         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5607           post-NT colors
5608         * ThemeWin32Classic.cs:
5609           - Removed code to set the old classic Windows colors. Instead it
5610             now relies on the colors returned by System.Drawing.KnownColors
5611             which will be either modern static colors (Unix) or colors
5612             read from the user's configuration (Win32)
5613           - Updated to use the new, more logical theme color names
5614           - Switched DataGrid drawing code to use only Theme colors instead of
5615             a mix of System.Drawing.KnownColors and Theme colors
5616           - DrawFrameControl(): Removed code that fills the button area, the
5617             fill would overwrite any previous fill done by a control. This
5618             fixes bug #75338 
5619           - Added DrawReversibleRectangle() stub
5620         * ScrollableControl.cs: Set visible state to false when scrollbars
5621           are removed (pdn fix)
5622         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
5623           DrawReversibleRectangle() method to allow drawing primitive 
5624           'rubber bands'
5625         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5626
5627 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5628
5629         * ImageList.cs: Add(Icon): Create handle.
5630
5631 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5632
5633         * ListView.cs:
5634         * ThemeWin32Classic.cs:
5635                 - Fixes detail mode
5636                 - Sets clippings
5637                 - Issues with drawing
5638
5639 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5640
5641         * ImageList.cs: Moved RecreateHandle back to ImageList as event
5642           source has to be the ImageList.
5643
5644 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5645
5646         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5647
5648 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5649
5650         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5651
5652 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5653
5654         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5655
5656 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
5657         * GridItem.cs: Fixed TODOs
5658         * GridItemCollection.cs: Added ICollection interface
5659
5660 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5661
5662         * ImageList.cs: Resize icons when needed.
5663
5664 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
5665
5666         * ListViewItem.cs
5667                 - Fixes GetBounds and returns on screen rects
5668         * ListView.cs:
5669                 - Fixes vertical and horzintal scrolling of items
5670         * ThemeWin32Classic.cs:
5671                 - Fixes drawing
5672                 
5673 2005-09-29  Raja R Harinath  <harinath@gmail.com>
5674
5675         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5676
5677 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
5678
5679         * ImageList.cs: Added comments about handle creation. Moved Handle,
5680           HandleCreated and OnRecreateHandle implementations to ImageCollection.
5681           Handle is created in Add methods.
5682
5683 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5684          
5685         * DataGridDrawingLogic.cs: 
5686                 - Takes rows into account on Colum calculations
5687                 - Returns the column when clickig
5688         * DataGrid.cs:
5689                 - Fixes default HitTestInfo values
5690                 - Fixes HitTestInfo.ToString
5691                 - Fixes ResetBackColor          
5692         
5693 2005-09-28  Jackson Harper  <jackson@ximian.com>
5694
5695         * MdiChildContext.cs: Obey rules for fixed sized windows (no
5696         sizing or cursor changes). Also added some temp code to draw the
5697         titlebars text (Makes dev a little easier).
5698
5699 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5700
5701         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5702
5703 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5704          
5705         * ListBox.cs: Fixes bug 76253
5706
5707 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5708
5709         * ImageList.cs: Added comments about the current implementation. Added
5710           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5711           Format32bppArgb to preserve transparency and can use Graphics.FromImage
5712           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5713           with Bitmap.LockBits for better performance. Revised the whole file to
5714           match MS.NET behaviour and provide better performance. Non-public
5715           interface members are calling public members even when they throw
5716           NotSupportedException for better maintainability. Moved ColorDepth,
5717           ImageSize, ImageStream and TransparentColor implementations to
5718           ImageCollection for better performance as these properties are not used
5719           by ImageList.
5720         * ImageListStreamer.cs: Added a new internal constructor that takes an
5721           ImageList.ImageCollection and serializes Images based on
5722           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5723           match ImageList property name.
5724
5725 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
5726
5727         * ListBox.cs: Fixes IndexFromPoint for last item
5728
5729 2005-09-27  Jackson Harper  <jackson@ximian.com>
5730
5731         * Form.cs: Set the position of new mdi children correctly.
5732
5733 2005-09-27  Jackson Harper  <jackson@ximian.com>
5734
5735         * MdiClient.cs: New mdi children need to be added to the back of
5736         the controls collection so the zorder is set correctly. Also add a
5737         count of all the child windows that have been created.
5738
5739 2005-09-27  Jackson Harper  <jackson@ximian.com>
5740
5741         * Form.cs (CreateParams): Setup MDI forms correctly.
5742
5743 2005-09-27  Jackson Harper  <jackson@ximian.com>
5744
5745         * MdiChildContext.cs:
5746         * MonthCalendar.cs:
5747         * UpDownBase.cs:
5748         * ListBox.cs:
5749         * ListView.cs:
5750         * TextBoxBase.cs:
5751         * TreeView.cs:
5752         * ScrollableControl.cs:
5753         * ComboBox.cs: Add implicit controls using the new implict control
5754         functionality in ControlCollection. Also try to block multiple
5755         control add in a suspend/resume layout to save some cycles.
5756         
5757 2005-09-27  Jackson Harper  <jackson@ximian.com>
5758
5759         * Control.cs: Add functionality to the controls collection to add
5760         'implicit controls' these are controls that are created by the
5761         containing control but should not be exposed to the user. Such as
5762         scrollbars in the treeview.
5763         * Form.cs: The list var of the ControlsCollection is no longer
5764         available because of the potential of implicit controls getting
5765         ignored by someone accessing the list directly.
5766
5767 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
5768
5769         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5770           loose it's parent. (Fixed bug introduced in r49103 when we added
5771           setting the child parent to null on Remove)
5772
5773 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
5774
5775         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5776         * Splitter.cs: Added missing attributes for BorderStyle property.
5777         * TextBoxBase.cs: Marked Calculate* methods internal.
5778         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5779         MS.NET.
5780
5781 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
5782          
5783         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5784
5785 2005-09-25  Jackson Harper  <jackson@ximian.com>
5786
5787         * TreeView.cs: Update the node bounds correctly regardless of
5788         whether the node is visible.
5789
5790 2005-09-25  Jackson Harper  <jackson@ximian.com>
5791
5792         * ImageList.cs: Don't dispose the image after it is added to the
5793         image list. Only reformat images that need to be resized.
5794
5795 2005-09-25  Jackson Harper  <jackson@ximian.com>
5796
5797         * ImageList.cs: Don't set the format when changing the image.
5798
5799 2005-09-25  Jackson Harper  <jackson@ximian.com>
5800
5801         * TreeView.cs: We can't just assume the node has a font. Use the
5802         treeviews font if no node font is available.
5803
5804 2005-09-25  Jackson Harper  <jackson@ximian.com>
5805
5806         * TreeView.cs: Allow the scrollbars to be reset with negative
5807         values.
5808         - Don't add scrollbars to negative sized windows.
5809
5810 2005-09-23  Jackson Harper  <jackson@ximian.com>
5811
5812         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5813         old Mono.Posix. Also remove some stray code that shouldn't have
5814         been committed.
5815
5816 2005-09-23  Jackson Harper  <jackson@ximian.com>
5817
5818         * TreeView.cs: Attempt at proper sizing of the horizontal
5819         scrollbar. Also don't resize the scrollbars unless they are
5820         visible.
5821
5822 2005-09-23  Jackson Harper  <jackson@ximian.com>
5823
5824         * TreeView.cs: We don't need to expand the invalid area when the
5825         selection changes, as this is all drawn in the node's bounding
5826         box. The area needs to be expanded (previous typo was contracting
5827         it) when the focus rect moves.
5828
5829 2005-09-23  Jackson Harper  <jackson@ximian.com>
5830
5831         * TreeView.cs: Display the selection box under the correct
5832         circumstances. We were rendering white text with no selection box
5833         before.
5834
5835 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
5836
5837         * TextControl.cs(Split): Now updates selection start/end if it points 
5838           into a line that's being split. Fixes a FIXME and bug #75258
5839
5840 2005-09-23  Jackson Harper  <jackson@ximian.com>
5841
5842         * Binding.cs:
5843         * ListControl.cs: Don't use the path when retrieving binding
5844         managers from the binding context. My bat sense tells me that the
5845         path is only used on insertion.
5846
5847 2005-09-22  Jackson Harper  <jackson@ximian.com>
5848
5849         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5850
5851 2005-09-22  Jackson Harper  <jackson@ximian.com>
5852
5853         * Splitter.cs: There are special cursors used for splitting.
5854         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5855
5856 2005-09-22  Jackson Harper  <jackson@ximian.com>
5857
5858         * Splitter.cs: Change the cursor appropriately when the splitter
5859         is moused over, so the user actually knows there is a splitter
5860         there.
5861
5862 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5863
5864        * Label.cs : Fix ToString method to give same output as MS.NET
5865
5866 2005-09-22  Jackson Harper  <jackson@ximian.com>
5867
5868         * TreeView.cs: Create the scrollbars when the handle is created
5869         and add them right away, just make them invisble. Also account for
5870         the window being shrunk vertically to the point that the vert
5871         scrollbar needs to be added.
5872         - Remove some 0.5 adjustments to get around anti aliasing issues.
5873         
5874 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
5875          
5876         * MainMenu.cs: Fixes default value
5877         * MenuItem.cs: Fixes default value
5878
5879 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
5880
5881         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5882
5883 2005-09-21  Jackson Harper  <jackson@ximian.com>
5884
5885         * Control.cs: Don't try to set the border style on the window if
5886         it hasn't been created. When the window is created the border
5887         style will be used.
5888
5889 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5890
5891         * Control.cs (Update): Don't call XplatUI if we don't have a
5892           window handle yet
5893
5894 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5895
5896         * ContainerControl.cs: Instead of throwing an exception, print
5897           a one-time warning about Validate not being implemented
5898         * XplatUIWin32.cs: Removed debug output
5899
5900 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5901
5902         * Control.cs: Only set XplatUI background if we expect the windowing
5903           system to handle the background. This stops controls that draw their
5904           own background from flickering
5905
5906         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5907           creation. This allows, amongst other things, using MWF X11 windows 
5908           with OpenGL.
5909
5910 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5911
5912         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5913           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5914           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5915           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5916           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5917           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5918           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5919           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5920           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5921           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5922           GridColumnStylesCollection.cs, 
5923           IDataGridColumnStyleEditingNotificationService.cs,
5924           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5925           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5926           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5927           TreeNodeCollection.cs, AmbientProperties.cs, 
5928           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5929           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5930           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5931           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5932           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5933           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5934           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5935           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5936           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5937           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5938           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5939           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5940           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5941           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5942           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5943           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5944           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5945           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5946           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5947           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5948           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5949           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5950           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5951           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5952           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5953           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5954           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5955           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5956           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5957           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5958           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5959           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5960           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5961           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5962           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5963           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5964           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5965
5966 2005-09-21  Jackson Harper  <jackson@ximian.com>
5967
5968         * TreeNode.cs: Call Before/After Expand not Collapse when
5969         expanding.
5970
5971 2005-09-20  Jackson Harper  <jackson@ximian.com>
5972         
5973         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5974
5975 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5976          
5977         * ListViewItem.cs:
5978                 - Fixes bug 76120
5979                 - Fixes proper storing of subitems
5980                 - Fixes not updated items
5981
5982 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5983
5984         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5985           things if our window handle isn't created yet. Also disabled 
5986           debug for TextBoxBase
5987
5988 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5989
5990         * MenuAPI.cs: Remove filtering of events to allow menu usage
5991
5992 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5993
5994         * Cursor.cs: Allow null to be passed to Cursor.Current.
5995
5996 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5997
5998         * ThemeWin32Classic.cs:
5999           - Change some private methods/fields to protected virtual so that 
6000             they can be accessed and overriden in derived classes
6001           - First refactoring of some methods. Derived themes now don't 
6002             need to duplicate the complete code from ThemeWin32Classic
6003         * ThemeNice.cs:
6004           - Added nice StatusBar
6005           - Derive from ThemeWin32Classic and not Theme
6006           - Removed duplicate ThemeWin32Classic code
6007
6008 2005-09-20  Miguel de Icaza  <miguel@novell.com>
6009
6010         * Control.cs (ControlCollection.Add): If the value null is passed
6011         the control is ignored. 
6012
6013         Optimize this loop.
6014
6015 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
6016
6017         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6018           PostQuitMessage state.
6019         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6020
6021 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
6022
6023         * Application.cs: Our constructor will never get called, move 
6024           initialization to fields; fixes bug #75933
6025
6026 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6027
6028         * FileDialog.cs :
6029                 - Allow files to be selected properly using file name
6030                 combo box.
6031                 - Add ability to change diretory (absolute / relative)
6032                 using file name combo box.
6033
6034 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
6035          
6036         * ListBox.cs: 
6037                 - Fixes Multicolumn listboxes item wrong calculations
6038                 - Allows to click when only one item is in the listbox
6039                 - Fixes crash when no items using keyboard navigation
6040
6041 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
6042
6043         * ComboBox.cs: Reverted almost everything from the latest patch which
6044           broke ComboBox
6045
6046 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
6047         
6048         * ToolTip.cs:
6049                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6050         * ComboBox.cs:
6051                 - When DropDownStyle is Simple, it does not show scrollbar 
6052                 to the last item of the list.
6053                 - When DropDownStyle is Simple, it crashed when the list was 
6054                 scrolled down with the down cursor key.
6055                 - Fixed a bug that when DropDownStyle is DropDownList, the 
6056                 selected item was not shown.
6057                 - The position of the selected item was not preserved when 
6058                 the next dropdown happened.
6059         * ThemeWin32Classic.cs:
6060                 - Items were wrapped at the right end.
6061         * CheckedListBox.cs:
6062                 - Fixed Add method
6063         * ListBox.cs:
6064                 - Items should be fully shown.
6065                 - When resizing and vertical scrollbar disappeared, the item 
6066                 of index 0 should be on the top of the list.
6067                 - GetItemRectangle should consider the size of ver. scrollbar
6068         * StatusBar.cs:
6069                 - SizingGrip area should not be allocated when it is not 
6070                 displayed.
6071                 - Now it reflects MinWidth of the containing panel and 
6072                 fixed a crash that happens when its width becomes so small.
6073
6074 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
6075
6076         * CheckedListBox.cs: Fixes bug 76028
6077         * ListBox.cs: Fixes bug 76028
6078
6079 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
6080
6081         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6082         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6083
6084 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
6085
6086         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6087
6088 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
6089
6090         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
6091
6092 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
6093
6094         * IRootGridEntry.cs: Added
6095         * PropertyGridCommands.cs: Added
6096         * PropertiesTab.cs: Added missing methods and property
6097         * PropertyGridView.cs: Made class internal
6098         * PropertyGridTextBox.cs: Made class internal
6099
6100 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
6101
6102         * MimeIcon.cs: Try to check some other environment variables
6103           if "DESKTOP_SESSION" returns "default"
6104
6105 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
6106
6107         * ThemeNice.cs: Corrected background colors (e.g. menus)
6108         * ColorDialog.cs: Use correct background colors for controls
6109
6110 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
6111
6112         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6113
6114 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
6115
6116         * RichTextBox.cs: Added initial implementation
6117         * lang.cs: Removed. Was accidentally checked in long time ago
6118         * TODO: Removed. Contents were obsolete
6119
6120 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
6121                                                                                 
6122         * PropertiesTab.cs : Added
6123
6124 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
6125                                                                                 
6126         * PropertyGrid.cs : Update
6127         * PropertyGridView.cs : Update
6128         * System.Windows.Forms.resx : Added images and strings
6129
6130 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
6131
6132         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6133  
6134 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
6135
6136         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6137           a busy loop right after the Ungrab the X11 display is otherwise 
6138           blocked
6139
6140 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
6141
6142         * ThemeWin32Classic.cs: Optimise the use of clipping
6143
6144 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
6145
6146         * DataGrid.cs: fixes recursion bug
6147
6148 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
6149
6150         * ThemeNice.cs: 
6151           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6152           - Cleanup
6153
6154 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
6155
6156         * ThemeNice.cs: Draw nice ProgressBars
6157
6158 2005-09-01  Miguel de Icaza  <miguel@novell.com>
6159
6160         * VScrollBar.cs: Another buglet found by Aaron's tool. 
6161
6162         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6163         bug finder.
6164
6165 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
6166
6167         * ThemeNice.cs:
6168           - Added nicer menu drawing
6169           - Updated DrawTab
6170           - some refactoring
6171
6172 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
6173
6174         * CreateParams.cs (ToString): Made output match MS
6175         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
6176             handle is already created (to avoid forcing window creation)
6177         * XplatUIX11.cs: Set window text to caption after creating window,
6178           in case Text was set before window was created
6179         * Form.cs: Use this.Text instead of a static string as caption
6180
6181 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
6182
6183         * NotifyIcon.cs: Don't set the window to visible; this screws
6184           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6185           OnPaint without a bitmap)
6186         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
6187           happen very often anyway; we could add the check to the WM_PAINT 
6188           event generation code
6189
6190 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
6191
6192         * NotifyIcon.cs: Fill the icon area with a background color, to 
6193           avoid 'residue' when transparent icons are drawn
6194         * XplatUIX11.cs:
6195           - Handle whole_window == client_window when destroying windows
6196           - SystrayAdd(): Set client_window to whole_window value to
6197             get mouse and other events passed to NotifyIcon
6198
6199 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
6200
6201         * Form.cs: Set proper default for Opacity property
6202         * NotifyIcon.cs:
6203           - ShowSystray(): Don't bother creating telling the OS
6204             about the systray item if no icon is provided
6205           - Now handles WM_NCPAINT message to deal with whole/client window
6206             split
6207           - Create window as visible to not get caught by Expose optimization
6208         * Hwnd.cs: Removed debug message
6209         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6210           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
6211             PaintEventStart/End to use new client argument
6212         * TextBoxBase.cs:
6213           - Commented out debug messages
6214           - Switched PaintEventStart/End to use new client argument
6215         * XplatUI.cs: Added client window bool to PaintEventStart()/
6216           PaintEventEnd() calls, to support drawing in non-client areas
6217         * XplatUIDriver.cs: 
6218           - Added client window bool to PaintEventStart()/PaintEventEnd() 
6219             calls, to support drawing in non-client areas
6220           - Added conditional compile to allow using MWF BeginInvoke 
6221             on MS runtime
6222         * XplatUIX11.cs:
6223           - Added some conditional debug output
6224           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6225             whole/client window split
6226           - Implemented handling of client argument to PaintEventStart()/End()
6227         * Control.cs:
6228           - Throw exception if BeginInvoke() is called and the window handle
6229             or one of the window's parent handles is not created
6230           - Added conditional compile to allow using MWF BeginInvoke on
6231             MS runtime
6232           - get_Parent(): Only sets parent if handle is created. This avoids
6233             forcing window handle creation when parent is set.
6234           - Now fires Layout and Parent changed events in proper order
6235           - Switched to use Handle instead of window.Handle for Z-Order setting,
6236             the get_Parent() patch above causes us to possibly get null for 'window'
6237           - Implemented handling of client argument to PaintEventStart()/End()
6238           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6239             default handling)
6240           - Now sends a Refresh() to all child windows when Refresh() is called
6241
6242 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
6243
6244         * Form.cs: Added (non-functional) Opacity property
6245         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6246
6247 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
6248         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6249           use export MONO_THEME=nice to activate it.
6250           Currently supported controls:
6251           - Button
6252           - ComboBox
6253           - ScrollBar
6254           - TabControl (TabAlignment.Top only, other will follow)
6255         * ThemeEngine.cs: Add theme nice
6256         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6257           if enabled
6258
6259 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
6260
6261         * Splitter.cs: Resize docked control and its neighbor.
6262
6263 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
6264         -- Making Windows with Menus layout correctly --
6265         * Form.cs : The first leg of the fix
6266                 Menu setter - adjust Client Size as needed to make space for the menu
6267                 SetClientSizeCore - doesn't call base version to be able to pass the 
6268                         menu handle to XplatUI.CalculateWindowRect
6269         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6270         * XplatUIX11.cs: The critical second leg of the fix
6271                 GetWindowPos needs to use a recalculated client_rect
6272                 so that resizing the window doesn't break layout of child controls. 
6273                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6274                 Lots of \t\n killed
6275
6276 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
6277
6278         * Label.cs: Now properly recalculates width and height on Font and Text
6279           changes if AutoSize is set
6280
6281 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
6282         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6283
6284 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
6285
6286         * ImageList.cs: Makes ToString method compatible with MS
6287
6288 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
6289
6290         * MenuAPI.cs: fixes bug 75716
6291
6292 2005-08-11 Umadevi S <sumadevi@novell.com>
6293         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6294
6295 2005-08-11 Umadevi S <sumadevi@novell.com>
6296         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6297
6298 2005-08-10  Umadevi S <sumadevi@novell.com>
6299         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6300
6301 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
6302
6303         * Menu.cs: fixes bug 75700
6304         * MenuAPI.cs: fixes navigation issues
6305
6306 2005-08-09  Umadevi S <sumadevi@novell.com>
6307         * CheckedListBox.cs - simple fix for GetItemChecked.
6308
6309 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
6310
6311         * ComboBox.cs: Serveral fixes
6312         * ListBox.cs: Serveral fixes
6313
6314 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
6315
6316         * ComboBox.cs: Fixes FindString methods and GetItemHeight
6317         * ListBox.cs: Fixes FindString methods
6318
6319 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
6320
6321         * DataGrid.cs: fixes bugs exposed by new tests
6322
6323 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
6324
6325         * Mime.cs: Compile Mono assembly references only if compiling
6326           with Mono (Allows to build with VS.Net again)
6327
6328 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
6329
6330         * Control.cs (PaintControlBackground): Draw background image
6331         corrrectly.
6332         (CheckForIllegalCrossThreadCalls): Stubbed.
6333         
6334         * Form.cs (OnCreateControl): Center when should be centered.
6335         
6336         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6337
6338 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
6339
6340         * Binding.cs: Binding to properties should be case unsensitive
6341
6342 2005-07-18 vlindos@nucleusys.com
6343
6344         * DataGrid.cs: fixes setmember order
6345
6346 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
6347
6348         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6349         * FileDialog.cs: FileDialog is now resizable and uses the new
6350           MimeIconEngine
6351
6352 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
6353
6354         * DataGridTextBoxColumn.cs: default value
6355         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6356         * GridTableStylesCollection.cs: fixes checking MappingName
6357         * DataGridDrawingLogic.cs: fixes drawing logic issues
6358         * DataSourceHelper.cs: rewritten to make compatible with more data sources
6359         * DataGrid.cs: fixes    
6360
6361 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
6362
6363         * MimeGenerated.cs: Use case sensitive comparer for
6364           NameValueCollections
6365
6366 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
6367
6368         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
6369         * ThemeWin32Classic.cs: bug fixes, code refactoring
6370         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
6371         * DataGrid.cs: bug fixes, code refactoring
6372         * DataGridTextBox.cs: bug fixes, code refactoring
6373         * DataGridColumnStyle.cs:  bug fixes, code refactoring
6374         * Theme.cs:  bug fixes, code refactoring
6375
6376 2005-07-01  Peter Bartok  <pbartok@novell.com> 
6377
6378         * TextControl.cs: Quick fix for the reported crash on ColorDialog
6379           and other text box usage
6380
6381 2005-07-01  Jackson Harper  <jackson@ximian.com>
6382
6383         * TabControl.cs: Make sure the bottom of the tab covers the pages
6384         border.
6385
6386 2005-06-30  Peter Bartok  <pbartok@novell.com> 
6387
6388         * Form.cs (ShowDialog): Assign owner of the dialog
6389         * TextBoxBase.cs: Always refresh caret size when deleting, caret
6390           might have been moved to a tag with different height
6391
6392 2005-06-30  Jackson Harper  <jackson@ximian.com>
6393
6394         * Form.cs: Don't create an infinite loop when setting focus
6395         * MenuItem.cs: Don't dirty the parents if we don't have any
6396
6397 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
6398
6399         * LibSupport.cs: Rename
6400
6401 2005-06-29  Peter Bartok  <pbartok@novell.com>
6402
6403         * TextBoxBase.cs: Re-align caret after deleting a character
6404         * TextControl.cs:
6405           - DeleteChars(): Ensure that tag covers the provided position
6406           - StreamLine(): Drop reference for dropped tag
6407
6408 2005-06-29  Peter Bartok  <pbartok@novell.com> 
6409
6410         * TextControl.cs: 
6411           - Selections now work properly, anchoring at the initial location
6412             and properly extending in either direction (SetSelectionToCaret(),
6413             SetSelectionStart() and SetSelectionEnd())
6414           - No longer redraws the whole control on selection change, now
6415             calculates delta between previous and new selection and only
6416             invalidates/redraws that area
6417           - Fixed FindPos() math off-by-one errors
6418           - Changed DeleteChars() to verify the provided tag covers the
6419             provided position, selections may have a tag that doesn't cover
6420             the position if the selection is at a tag border
6421           - Fixed off-by-one errors in DeleteChars()
6422           - Added missing streamlining check in DeleteChars() to remove
6423             zero-length tags
6424           - Implemented Invalidate() method, now properly calculates exposures
6425             between two given lines/positions
6426           - Implemented SetSelection()
6427           - Obsoleted and removed FixupSelection()
6428           - Improved RecalculateDocument() logic, removing code duplication
6429
6430 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6431
6432         * LibSupport.cs: changes to match different input/output arguments.
6433
6434 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6435
6436         * LibSupport.cs: added libsupport.so init routine.
6437
6438 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
6439         
6440         * ControlBindingsCollection.cs
6441                 - Throws an exception on null datasource when adding
6442                 - Checks for duplicated bindings when adding
6443
6444 2005-06-28  Jackson Harper  <jackson@ximian.com>
6445
6446         * TreeView.cs (OnKeyDown): Support left and right properly
6447         (navigates as well as expanding and collapsing.
6448         - Add support for Multiply, this expands all the selected nodes
6449         children.
6450         - Fix some tabbing.
6451
6452 2005-06-28  Jackson Harper  <jackson@ximian.com>
6453
6454         * TreeView.cs: Implement keyboard navigation, currently supports,
6455         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6456         support for toggling checkboxes with the space bar.
6457
6458 2005-06-28  Jackson Harper  <jackson@ximian.com>
6459
6460         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6461         tree.
6462
6463 2005-06-28  Jackson Harper  <jackson@ximian.com>
6464
6465         * TreeView.cs: Add missing event.
6466
6467 2005-06-27  Peter Bartok  <pbartok@novell.com> 
6468
6469         * TextControl.cs:
6470           - Made line ending size configurable (now allows for counting 
6471             lineendings as \n or \r\n)
6472           - Added margin to viewport to keep caret visible on right side
6473           - Fixed translation routines for line/pos to documentpos to consider
6474             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6475           - Fixed some line-endings to be unix style
6476           - Fixed Document.FormatText to perform it's calculations 1-based
6477           - Added descriptions for a few methods that might otherwise get 
6478             used wrong
6479           - Added NOTE section with some basic conventions to remember at 
6480             the top of the file
6481           - Major fixup for RichTextBox selection drawing:
6482             * Fixed crashes when multiple tags on a single line were selected
6483             * fixed selection box drawing not overlaying text
6484             * fixed bogus offset calculation for tags not starting at index 1
6485             * Switched behaviour from using multiple Substrings of a 
6486               StringBuilder.ToString() to using multiple 
6487               StringBuilder.ToString(start, length) statements, hoping this is
6488               faster (kept original version commented out in the code, in case
6489               original version was faster)
6490         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
6491           alignment != Left
6492         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6493           call it as well
6494
6495 2005-06-27  Jackson Harper  <jackson@ximian.com>
6496
6497         * TabControl.cs: Move to the left and right with the arrow
6498         keys. These keys don't cycle beyond first and last like
6499         tab. Refresh all the tabs when scrolling them to the left or
6500         right.
6501
6502 2005-06-27  Jackson Harper  <jackson@ximian.com>
6503
6504         * TabControl.cs:
6505           - ToString: Added method
6506           - CreateParams: Remove TODO and comment
6507           - OnKeyDown: Cycle through bounds properly.
6508           - SelectedIndex: Scroll to the right or left if we need to
6509           display the newly selected tab.
6510
6511 2005-06-23  Jackson Harper  <jackson@ximian.com>
6512
6513         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6514         set.
6515
6516 2005-06-23  Jackson Harper  <jackson@ximian.com>
6517
6518         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6519         CTRL-SHIFT-TAB, and HOME, END are there any others?
6520
6521 2005-06-23  Jackson Harper  <jackson@ximian.com>
6522
6523         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6524
6525 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6526         
6527         * DataGridTextBoxColumn.cs: fixes and enhancements
6528         * ThemeWin32Classic.cs: fixes and enhancements
6529         * DataGridBoolColumn.cs:  fixes and enhancements
6530         * DataGridDrawingLogic.cs:  fixes and enhancements
6531         * CurrencyManager.cs: fixes and enhancements
6532         * DataGrid.cs: fixes and enhancements
6533         * DataGridColumnStyle.cs:  fixes and enhancements
6534
6535 2005-06-22  Jackson Harper  <jackson@ximian.com>
6536
6537         * TabControl.cs: Add some missing methods that just call into the
6538         base. Make the TabPageCollection's IList interface behave in the
6539         same manner as the MS implementation.
6540
6541 2005-06-22  Peter Bartok  <pbartok@novell.com> 
6542
6543         * TextControl.cs: Added sanity check
6544         * TextBoxBase.cs: 
6545           - Fixed wrapping behaviour, don't set wrap on single line controls
6546             (this fixes the breakage of colordialog introduced in an earlier
6547              checkin)
6548           - Added rudimentary support for autoscrolling right-aligned controls
6549             (still needs fixing, also, center alignment scroll is missing)
6550
6551 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6552         
6553         * ScrollBar.cs: Fixes thumbpos on Maximum values
6554
6555 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
6556         
6557         * PropertyGridView.cs: Pass context information to UITypeEditors 
6558
6559 2005-06-21  Peter Bartok  <pbartok@novell.com> 
6560
6561         * TextBoxBase.cs:
6562           - Now calling PositionCaret with absolute space coordinates
6563           - Enabled vertical scrolling
6564           - Better tracking of scrollbar changes, tied into WidthChange
6565             event
6566           - Improved cursor tracking
6567           - Removed debug output
6568         * TextControl.cs:
6569           - PositionCaret coordinates are now works in absolute space, not 
6570             the canvas
6571           - Improved tracking of document size
6572           - Added events for width and height changes
6573
6574 2005-06-21  Peter Bartok  <pbartok@novell.com>
6575
6576         * Form.cs: Set focus to active control when form is activated
6577         * TextControl.cs: 
6578           - Added word-wrap functionality to RecalculateLine() 
6579           - Added some short function descriptions for VS.Net to aid in
6580             writing dependent controls
6581           - Added Caret property, returning the current coords of the caret
6582           - Added ViewPortWidth and ViewPortHeight properties
6583           - Added Wrap property
6584           - Added CaretMoved event
6585           - Removed some old debug code
6586           - Split() can now create soft splits
6587           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6588           - Added method to format existing text
6589           - Fixed size/alignment calculations to use viewport
6590           - RecalculateDocument now can handle changing line-numbers while
6591             calculating lines
6592
6593         * TextBox.cs:
6594           - Added some wrap logic, we don't wrap if alignment is not left
6595           - Added casts for scrollbar var, base class switched types to
6596             also support RichTextBoxA
6597           - Implemented handling of scrollbar visibility flags
6598
6599         * TextBoxBase.cs:
6600           - Switched scrollbars type to RichTextBoxScrollBars to support
6601             RichTextBox
6602           - Added tracking of canvas width/height
6603           - Switched scrollbars to be not selectable (to keep focus on text)
6604           - Added central CalculateDocument() method to handle all redraw
6605             requirements
6606           - Added ReadOnly support
6607           - Added WordWrap support
6608           - Fixed handling of Enter key (we now treat it as a DialogKey)
6609           - Fixed caret positioning when h or v scroll is not zero
6610           - Fixed placing/generation of vertical scrollbar
6611           - Added CalculateScrollBars() method to allow updating scrollbar
6612             limits and visibility
6613           - Fixed handling of horizontal scroll
6614           - Added handling of vertical scroll
6615           - Implemented auto-'jump' when caret moves to close to a left or
6616             right border and there is text to be scrolled into view (currently
6617             there's the potential for a stack overflow, until a bug in
6618             scrollbar is fixed)
6619
6620 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
6621         
6622         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6623
6624 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
6625
6626         * Mime.cs:
6627         - added inodes.
6628         - return application/x-zerosize for files with size zero
6629           (if no extension pattern matches).
6630         - check matches collection for strings too.
6631         - return only the first mime type if the name value
6632           collection has more than one mime type.
6633
6634 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
6635         
6636         * PropertyGrid.cs: Cleaned up some TODOs
6637         * PropertyGridView.cs: Added support for UITypeEditors
6638
6639 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6640         
6641         * DataGrid.cs: clears cached value
6642
6643 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6644
6645         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6646         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6647         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6648         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6649         
6650 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
6651
6652         * ThemeWin32Classic.cs: fixes colour
6653
6654 2005-06-15  Peter Bartok  <pbartok@novell.com>
6655
6656         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6657         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6658         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6659         * Control.cs: Added some MWFCategory and MWFDescription attributes
6660         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6661
6662 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
6663
6664         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6665         usage
6666
6667 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
6668
6669         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6670         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6671         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6672         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6673         * DataGrid.cs: default datagrid settings for Default Styles, fixes
6674         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6675
6676 2005-06-13  Jackson Harper  <jackson@ximian.com>
6677
6678         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6679         isn't printed when the user enables dropping. (X11 does accept
6680         drops).
6681         
6682 2005-06-13  Jackson Harper  <jackson@ximian.com>
6683
6684         * TreeView.cs: Remove some TODOS.
6685
6686 2005-06-13  Jackson Harper  <jackson@ximian.com>
6687
6688         * Form.cs: Hook into the mdi framework.
6689         * MdiClient.cs: Use the base control collections add method so
6690         parents get setup correctly. Set the default back colour and dock
6691         style.
6692         * MdiChildContext.cs: New class, this bad actor handles an
6693         instance of an MDI window. Right now there is only basic
6694         support. You can drag, close, and resize windows. Minimize and
6695         Maximize are partially implemented.
6696
6697 2005-06-13  Jackson Harper  <jackson@ximian.com>
6698
6699         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6700         freaky when both vals are negative. NOTE: There are probably other
6701         places in XplatUIX11 that this needs to be done.
6702
6703 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
6704
6705         * DataGrid.cs: implement missing methods, move KeyboardNavigation
6706         * DataGridColumnStyle.cs: fixes signature
6707
6708 2005-06-12  Jackson Harper  <jackson@ximian.com>
6709
6710         * XplatUIX11.cs: Use sizing cursors similar to the ones on
6711         windows.
6712
6713 2005-06-11  Jackson Harper  <jackson@ximian.com>
6714
6715         * StatusBarPanel.cs: Signature cleanups. Implement
6716         BeginInit/EndInit.
6717
6718 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
6719
6720         * DataGridTextBoxColumn.cs: Honors aligment
6721         * GridColumnStylesCollection.cs: Contains is case unsensitive
6722         * GridTableStylesCollection.cs: several fixes
6723         * DataGridTableStyle.cs: default column creation
6724         * DataGridDrawingLogic.cs: fixes
6725         * CurrencyManager.cs: ListName property
6726         * DataGrid.cs: multiple styles support
6727         * DataGridColumnStyle.cs: fixes
6728         
6729
6730 2005-06-10  Peter Bartok  <pbartok@novell.com>
6731
6732         * Control.cs(Select): Moved SetFocus call to avoid potential
6733           loops if controls change the active control when getting focus
6734         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6735           the up/down buttons
6736
6737 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
6738
6739         * ImageListConverter.cs: Implemented
6740
6741 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6742
6743         * MonthCalendar.cs: Wired in NumericUpDown control for year
6744
6745 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6746
6747         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6748           DoubleClick events, since they are not meant to be fired.
6749
6750 2005-06-09  Peter Bartok  <pbartok@novell.com>
6751
6752         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6753           Jonathan's standalone controls into MWF, implemented missing
6754           events, attributes and methods; added xxxAccessible classes
6755         * AccessibleObject.cs: Made fields internal so other classes
6756           can change them if needed
6757
6758 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
6759
6760         * UpDownBase.cs: Complete implementation
6761         * NumericUpDown.cs: Complete implementation
6762         * DomainUpDown.cs: Complete implementation
6763
6764 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
6765
6766         * DataGridTextBoxColumn.cs: drawing fixes
6767         * DataGridCell.cs: fixes ToString method to match MSNet
6768         * DataGridTableStyle.cs: fixes
6769         * DataGridBoolColumn.cs: fixes, drawing
6770         * DataGridDrawingLogic.cs: fixes, new methods
6771         * DataGridTextBox.cs: Keyboard and fixes
6772         * DataGrid.cs:
6773                 - Keyboard navigation
6774                 - Scrolling fixes
6775                 - Row selection (single, multiple, deletion, etc)
6776                 - Lots of fixes
6777         
6778 2005-06-07  Jackson Harper  <jackson@ximian.com>
6779
6780         * ThemeWin32Classic.cs: Clear the background area when drawing
6781         buttons.
6782
6783 2005-06-06  Peter Bartok  <pbartok@novell.com>
6784
6785         * ImageListStreamer.cs: Fixed signature for GetData
6786         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6787         * ComboBox.cs:
6788           - Added missing ChildAccessibleObject class
6789           - Added missing OnXXXFocus overrides, switched to using those
6790             instead of the event handler
6791         * Control.cs:
6792           - Added Parent property for ControlAccessibleObject
6793           - Fixed signatures
6794           - Fixed attributes
6795           - Added ResetBindings()
6796         * ListBindingConverter.cs: Implemented some methods
6797         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6798         * ImageList.cs: Implemented basic handle scheme, removed TODOs
6799         * ContainerControl.cs: Fixed signature, now subscribing to the
6800           ControlRemoved event instead of overriding the handler, LAMESPEC
6801         * CurrencyManager.cs: Added missing attribute
6802         * MonthCalendar.cs: Added missing properties
6803
6804 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6805
6806         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6807         
6808 2005-06-06  Gaurav Vaish and Ankit Jain
6809
6810         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6811         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6812         
6813 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6814
6815         * Control.cs: fixes CreateParams Width / Height.
6816
6817 2005-06-05  Peter Bartok  <pbartok@novell.com>
6818
6819         * Win32DnD.cs: Removed compilation warnings
6820
6821 2005-06-05  Peter Bartok  <pbartok@novell.com>
6822
6823         * Control.cs (CreateParams): Since we don't know if one of the
6824           properties we use is overridden, lets make sure if we fail accessing
6825           we continue with a backup plan
6826
6827 2005-06-05  Peter Bartok  <pbartok@novell.com>
6828
6829         * Win32DnD.cs:
6830           - Removed debug output
6831           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6832             struct
6833           - Plugged resource leak
6834         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6835           MS size
6836
6837 2005-06-05  Peter Bartok  <pbartok@novell.com>
6838
6839         * XplatUIWin32.cs: Removed DnD code
6840         * Win32DnD.cs: Implemented drop source and drop target functionality
6841
6842 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6843
6844         * UpDownBase.cs: remove duplicate addition of event, enable some code
6845         that was commented out.
6846         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6847         Validate input when a key is pressed. It works fine now for every
6848         combination of Hexadecimal. Only missing some drawing love when sharing
6849         space with other controls.
6850
6851 2005-06-04  Peter Bartok  <pbartok@novell.com>
6852
6853         * Control.cs:
6854           - We need to pass a window for DragDrop, so enable callback events
6855           - Added DnD callback events when being a DragSource
6856         * XplatUI.cs (StartDrag): Added window handle argument
6857         * XplatUIDriver.cs (StartDrag): Added window handle argument
6858         * QueryContinueDragEventArgs: Made fields internally accessible so
6859           drivers can set them
6860         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6861           can set them
6862
6863 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
6864
6865         * DataGridTextBoxColumn.cs: column text editing
6866         * DataGridTableStyle.cs: Respect columns styles created by the user
6867         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6868         * DataGridBoolColumn.cs: bool column editing
6869         * DataGrid.cs: fixes to scrolling, properties, etc
6870         * DataGridTextBox.cs: handle keyboard
6871         * DataGridColumnStyle.cs: fixes
6872
6873 2005-06-02  Jackson Harper  <jackson@ximian.com>
6874
6875         * ImageListStreamer.cs: Somewhat broken implementation of
6876         GetObjectData. The RLE needs some work to match MS properly.
6877
6878 2005-06-02  Jackson Harper  <jackson@ximian.com>
6879
6880         * X11Dnd.cs: Attempting to keep at least one file in MWF
6881         monostyled.
6882
6883 2005-06-02  Peter Bartok  <pbartok@novell.com>
6884
6885         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6886           that way
6887
6888 2005-06-02  Peter Bartok  <pbartok@novell.com>
6889
6890         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6891         * XplatUI.cs: Added DoDragDrop() method
6892         * XplatUIDriver.cs: Added DoDragDrop() method
6893
6894 2005-06-02  Jackson Harper  <jackson@ximian.com>
6895
6896         * Splitter.cs: Implement BorderStyle.
6897
6898 2005-06-02  Jackson Harper  <jackson@ximian.com>
6899
6900         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6901         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6902         X11 using XDND.
6903
6904 2005-06-02  Peter Bartok  <pbartok@novell.com>
6905
6906         * DataObject.cs:
6907           - Added Data setter
6908           - Fixed broken insertion code for SetData, now also
6909             overwrites any existing entry of the same format name
6910         * Hwnd.cs: Added list of pointers that automatically gets
6911           freed when the window is disposed
6912         * XplatUI.cs: Call driver initialization method when loading
6913           a driver
6914         * Control.cs:
6915           - OnDragLeave takes EventArgs, not DragEventArgs
6916           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6917             supported
6918           - Forces style update when drop state changes
6919         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6920           not perfect since we cannot (yet) call the IDataObject.GetData()
6921           method, we keep getting 0x80004005 error, dunno why)
6922
6923 2005-06-02  Peter Bartok  <pbartok@novell.com>
6924
6925         * DragEventArgs.cs: Make fields internal so we can cache the
6926           object and re-set the fields from XplatUI
6927
6928 2005-06-02  Jackson Harper  <jackson@ximian.com>
6929
6930         * Control.cs: Add some internal methods so the DnD subsystem can
6931         raise DnD events. Also call into the driver when AllowDrop is set.
6932         * XplatUI.cs:
6933         * XplatUIDriver.cs: New method for setting whether or not a window
6934         is allowed to accept drag and drop messages.
6935                 
6936 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6937         
6938         * ScrollBar.cs: Make sure that values sent in Scroll events
6939         are always between Maximum and Minimum.
6940
6941 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6942
6943         * Menu.cs: Call MenuChanged when menuitem visibility has been
6944         changed.
6945         * MenuItem.cs: Rebuild menu when item is (not) visible.
6946         * MainMenu.cs: MainMenu has special MenuChanged.
6947         * Theme.cs: Caption and FrameBorderSize are not fixed.
6948         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6949         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6950         * XplatUIX11.cs,
6951         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6952         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6953
6954 2005-05-30  Jackson Harper  <jackson@ximian.com>
6955
6956         * DataFormat.cs: We can't statically initialize this stuff because
6957         it calls into the xplatui and could create a loop. So we lazy init
6958         it.
6959
6960 2005-05-28  Jackson Harper  <jackson@ximian.com>
6961
6962         * Control.cs: Proper implementation of Product(Name/Version).
6963
6964 2005-05-27  Jackson Harper  <jackson@ximian.com>
6965
6966         * DataObject.cs: Dont crash if no data is found.
6967
6968 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6969         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6970                 as per status page, guessing it should be set to true
6971
6972 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6973
6974         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6975         * DataGridTableStyle.cs: set proper formatting text, def header text
6976         * ThemeWin32Classic.cs: new themable paramaters
6977         * DataGridBoolColumn.cs: paint check box, get data, fixes
6978         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6979         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6980         * DataGridColumnStyle.cs: fixes
6981         * Theme.cs: new themable paramaters
6982                 
6983 2005-05-26  Peter Bartok  <pbartok@novell.com>
6984
6985         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6986
6987 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6988         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6989
6990 2005-05-24  Peter Bartok  <pbartok@novell.com>
6991
6992         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6993           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6994           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6995           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6996           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6997           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6998           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6999           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7000           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7001           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7002           missing attributes, etc
7003         * DataGridPreferredColumnWidthTypeConverter.cs: Added
7004
7005 2005-05-24  Peter Bartok  <pbartok@novell.com>
7006
7007         * Help.cs: Added, implemented trivial functions, throws up MessageBox
7008           when user tries to get help
7009         * DataObject.cs, DataFormats.cs, LinkArea.cs,
7010           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7011           to suppress warnings
7012         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7013           avoid unreachable code warning
7014
7015 2005-05-20  Peter Bartok  <pbartok@novell.com>
7016
7017         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7018
7019 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
7020
7021         * DataGridTextBoxColumn.cs: Basic painting methods
7022         * DataGridTableStyle.cs: Set table style in the column
7023         * ThemeWin32Classic.cs: Use Theme for colors
7024         * DataGridDrawingLogic.cs: Implement more drawing
7025         * DataGrid.cs: drawing, theming, enhacements, fixes
7026         * DataGridColumnStyle.cs: fixes, drawing
7027         * Theme.cs: theming for Datagrid
7028
7029 2005-05-20  Peter Bartok  <pbartok@novell.com>
7030
7031         * Cursor.cs: Implemented GetObjectData() method
7032
7033 2005-05-20  Peter Bartok  <pbartok@novell.com>
7034
7035         * Cursors.cs: Added setting of cursor name
7036         * Cursor.cs:
7037           - Implemented constructors
7038           - Implemented Draw and DrawStretched
7039           - Implemented Current property
7040           - Implemented == and != operators
7041           - Implemented Dispose()
7042           - Implemented ToString
7043           - Added missing attributes
7044         * XplatUIX11.cs:
7045           - Added missing reset for OverrideCursor when DoEvents is called
7046           - Fixed creation of cursor, logic was wrong
7047         * XplatUIWin32.cs:
7048           - Added missing reset for OverrideCursor when DoEvents is called
7049           - Fixed creation of cursor, bit arrays were swapped
7050         * Clipboard.cs: Removed obsolete MonoTODO attribute
7051
7052 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
7053
7054         * ComboBox.cs: fixes OnSelectedItemChanged
7055         * ControlBindingsCollection.cs: fixes item range check
7056
7057 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
7058
7059         * UpDownBase.cs:
7060                 - Calc preferred height properly
7061                 - Implement missing properties
7062                 
7063         * NumericUpDown.cs: Implement missing events
7064
7065 2005-05-19  Jackson Harper  <jackson@ximian.com>
7066
7067         * TabControl.cs: New method that resizes the tab pages before
7068         redrawing them. This as needed as the control is double buffered
7069         and sizing will not be recalculated unless ResizeTabPages is
7070         called.
7071         * TabPage.cs: Set base.Text instead of Text in the constructor so
7072         that UpdateOwner does not get called. Use the new Redraw method of
7073         TabControl instead of Refresh so the sizing is recalculated.
7074         * ThemeWin32Classic.cs: Draw the text for button tabs.
7075
7076 2005-05-19  Jackson Harper  <jackson@ximian.com>
7077
7078         * Control.cs: Paint control background images. Fix typo where
7079         PaintControlBackground was not getting called correctly.
7080
7081 2005-05-19  Peter Bartok  <pbartok@novell.com>
7082
7083         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7084           I can investigate, apparently I broke FileDialog
7085
7086 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
7087
7088         * AxHost.cs: Some simple properties.
7089         * Control.cs: window must be accessible after ctor.
7090         * Form.cs: Added TransparencyKey property.
7091         * TextBoxBase.cs: Implemented Clear. Text property can be null.
7092         * XplatUIWin32.cs: SetBorderStyle implemented.
7093
7094 2005-05-18  Peter Bartok  <pbartok@novell.com>
7095
7096         * DataObject.cs: Entries are not global but particular to the
7097           DataObject, now it behaves that way
7098         * XplatUIWin32.cs: Implemented Clipboard methods
7099         * Clipboard.cs: Implemented
7100         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7101         * XplatUIOSX.cs: Updated to final clipboard prototypes
7102         * XplatUIX11.cs: Implemented Clipboard methods
7103         * XplatUIDriver.cs: Updated to final clipboard prototypes
7104         * XplatUIStructs.cs:
7105           - Added BITMAPINFOHEADER struct
7106           - Added ClipboardFormats enum
7107         * X11Structs.cs:
7108           - Added ClipboardStruct
7109           - Added Atom enum items for clipboard types
7110           - Fixed atom types for Selection event structures
7111         * DataFormats.cs:
7112           - Added internal properties and methods for drivers to enumerate
7113             all known formats
7114           - Switched initialization method to allow drivers to assign their
7115             own IDs even for the MS predefined clipboard IDs
7116         * XplatUI.cs: Updated to final clipboard interface
7117
7118 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7119         * PropertyGridView.cs: Fixed compiler warnings.
7120
7121 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7122         * PropertyGrid.cs: Added some event calls
7123         * PropertyGridView.cs: Change drawing code to use double buffering
7124         * PropertyGridTextBox.cs: Changed Text property name
7125         * GridItem.cs: Added Bounds property.
7126         * GridEntry.cs: Added Bounds property.
7127
7128 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
7129
7130         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7131         since GetType() may not return the correct type if the object is
7132         a remoting proxy.
7133
7134 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
7135
7136         * TreeNodeCollection.cs: fixes get/set item ranges
7137         
7138 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
7139
7140         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7141                 
7142 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
7143
7144         * ComboBox.cs: Fix item range comparation
7145         * ListView.cs: Fix item range comparation
7146
7147 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
7148
7149         * FontDialog.cs:
7150           - Clear example panel when OnPaint is called
7151           - Better solution for displaying the example panel text
7152           - Select default indexes in the ListBoxes
7153
7154 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
7155
7156         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
7157
7158 2005-05-11  Peter Bartok  <pbartok@novell.com>
7159
7160         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7161         * SelectionRangeConverter.cs: Implemented
7162         * PropertyGrid.cs: Fixed attribute value
7163         * Control.cs:
7164           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7165           - Added Sebastien Pouliot's CAS Stack Propagation fixes
7166         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7167           that's common to all drivers. First methods to go there are
7168           Sebastien Pouliot's CAS Stack Propagation helper methods
7169         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7170           Sebastien Pouliot for CAS Stack Propagation
7171
7172 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
7173
7174         * OSXStructs.cs:
7175           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7176
7177 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
7178
7179         * DataGridTextBoxColumn.cs: fixed some members
7180         * GridColumnStylesCollection.cs: indexed column is case insensitive
7181         * DataGridTableStyle.cs: fixes
7182         * ThemeWin32Classic.cs: add new theme parameter
7183         * Theme.cs: add new theme parameter
7184         * DataGridDrawingLogic.cs: Datagrid's drawing logic
7185         * DataGrid.cs: fixes, new internal properties, etc.
7186         * DataGridColumnStyle.cs: allows to set grid value
7187         *
7188
7189 2005-05-10  Peter Bartok  <pbartok@novell.com>
7190
7191         * AccessibleObject.cs:
7192           - Removed MonoTODO attribute on help, method is correct
7193           - Fixed Bounds property
7194         * AxHost.cs: Moved MonoTODO
7195         * ButtonBase.cs: Now setting AccessibleObject properties
7196         * RadioButton.cs: Setting proper AccessibleObject role
7197         * CheckBox.cs: Setting proper AccessibleObject role
7198         * ControlBindingsCollection.cs: Added properties, methods and attributes
7199         * DataFormats.cs: Fixed awkward internal API, and changed to enable
7200           userdefined DataFormats.Format items as well
7201         * ListControl.cs: Removed data_member from the public eye
7202         * OpenFileDialog.cs:
7203           - Made class sealed
7204           - Added missing attributes
7205         * SaveFileDialog.cs: Added missing attributes
7206         * ImageListStreamer.cs: Fixed code that caused warnings
7207         * LinkLabel.cs: Removed unreachable code
7208         * TreeView.cs: Fixed code that caused warnings
7209         * PropertyGridView.cs: Fixed code that caused warnings
7210         * GridColumnStylesCollection.cs: Added missing attributes
7211         * GridTableStylesCollection: Added missing attribute
7212         * PropertyManager: Added .ctor
7213         * SecurityIDType: Added
7214         * DataObject.cs: Implemented class
7215         * LinkArea.cs: Added missing attribute
7216
7217 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
7218
7219         * RadioButton.cs: call base method to allow to fire OnClick event
7220         * UpDownBase.cs: OnMouseUp call base method
7221         * CheckedListBox.cs: call base method before returning
7222         * TrackBar.cs: call base method before returning
7223         
7224
7225 2005-05-10  Peter Bartok  <pbartok@novell.com>
7226
7227         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7228           for messages
7229
7230 2005-05-10  Peter Bartok  <pbartok@novell.com>
7231
7232         * DataFormats.cs: Implemented
7233         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7234           XplatUIX11.cs: Added Clipboard APIs
7235         * XplatUIWin32.cs: Implemented Clipboard APIs
7236         * FolderBrowserDialog.cs: Added missing event, attributes
7237
7238 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
7239
7240         * CheckBox.cs: call base method to allow to fire OnClick event
7241
7242 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
7243
7244         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7245
7246 2005-05-06  Peter Bartok  <pbartok@novell.com>
7247
7248         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7249         * Screen.cs: Implemented
7250         * HelpNavigator.cs: Added
7251         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7252           property
7253         * HelpProvider.cs: Implemented all we can do until we have a CHM
7254           help library (which means that "What's This" does work now)
7255
7256 2005-05-06  Jackson Harper  <jackson@ximian.com>
7257
7258         * XplatUIX11.cs: Fix waking up the main loop.
7259                 
7260 2005-05-05  Peter Bartok  <pbartok@novell.com>
7261
7262         * XplatUI.cs: Updated revision
7263         * Form.cs: Removed enless loop
7264         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7265         * Label.cs (OnPaint): Added call to base.OnPaint()
7266         * ToolTip.cs: Made ToolTipWindow reusable for other controls
7267         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7268         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7269         * AxHost.cs: Added
7270         * ButtonBase.cs: Moved base.OnPaint() call to end of method
7271         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7272           to ToolTip.ToolTipWindow for drawing and size methods; this allows
7273           reuse of ToolTipWindow by other controls
7274         * SizeGrip.cs: Moved base.OnPaint() call to end of method
7275         * XplatUIX11.cs: Now clipping drawing area (experimental)
7276         * PictureBox.cs: Moved base.OnPaint() call to end of method
7277         * Theme.cs: Fixed ToolTip abstracts to match new format
7278         * ErrorProvider.cs: Implemented
7279
7280 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
7281
7282         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7283         * LinkLabel.cs:
7284                 - Adds cursors
7285                 - Handles focus
7286                 - Implements LinkBehavior
7287                 - Fixes many issues
7288
7289 2005-05-03  Jackson Harper  <jackson@ximian.com>
7290
7291         * ListView.cs: Calculate the scrollbar positioning on resize and
7292         paint, so they get put in the correct place.
7293
7294 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
7295
7296         * ColorDialogs.cs: The small color panels are now handled by
7297           SmallColorControl. This fixes drawing of the focus rectangle
7298           and adds a 3D border.
7299
7300 2005-05-03  Peter Bartok  <pbartok@novell.com>
7301
7302         * Control.cs: Modified version of Jonathan Chamber's fix for
7303           double-buffering
7304
7305 2005-05-03  Jackson Harper  <jackson@ximian.com>
7306
7307         * ListView.cs: Remove redraw variable. Control now handles whether
7308         or not a redraw needs to be done, and will only raise the paint
7309         event if redrawing is needed.
7310
7311 2005-05-03  Jackson Harper  <jackson@ximian.com>
7312
7313         * Splitter.cs: No decorations for the splitter form. Cache the
7314         hatch brush.
7315
7316 2005-05-03  Jackson Harper  <jackson@ximian.com>
7317
7318         * TreeView.cs: Use dashed lines to connect nodes. Use the
7319         ControlPaint method for drawing the focus rect instead of doing
7320         that in treeview.
7321
7322 2005-05-02  Peter Bartok  <pbartok@novell.com>
7323
7324         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7325
7326 2005-04-29  Jackson Harper  <jackson@ximian.com>
7327
7328         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7329         entire image buffer. Just clear the clipping rectangle.
7330
7331 2005-04-29  Jackson Harper  <jackson@ximian.com>
7332
7333         * ThemeWin32Classic.cs: Don't draw list view items that are
7334         outside the clipping rectangle.
7335
7336 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
7337
7338         * ListBox.cs: added horizontal item scroll
7339
7340 2005-04-29  Jackson Harper  <jackson@ximian.com>
7341
7342         * ThemeWin32Classic.cs: Remove some old debug code that was
7343         causing flicker with the new double buffering code.
7344
7345 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
7346
7347         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7348         behave like combobox and comboboxlist (still not sure if this is
7349         correct though).
7350
7351 2005-04-28  Jackson Harper  <jackson@ximian.com>
7352
7353         * ThemeWin32Classic.cs: Don't fill the middle of progress
7354         bars. This fills areas outside of the clip bounds that don't need
7355         to be filled.
7356
7357 2005-04-28  Jackson Harper  <jackson@ximian.com>
7358
7359         * Control.cs: Don't expose functionality to touch the image buffers.
7360         * ProgressBar.cs:
7361         * ListView.cs: We do not need to (and no longer can) manipulate
7362         the image buffers directly. All of this is handled by Control.
7363
7364 2005-04-28  Peter Bartok  <pbartok@novell.com>
7365
7366         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7367           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7368           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7369
7370 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
7371
7372         * Combobox:
7373                 - Adjust control's height for non-simple comboboxes (bug fix)
7374                 - Remove dead code
7375         * MenuAPI.cs: remove unused var
7376         * ScrollBar.cs: remove unsed var
7377                  
7378         * ListBox.cs: unselect items when clearing
7379
7380 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
7381
7382         * ListControl.cs: honors OnPositionChanged and default Selected Item
7383         * ListBox.cs: unselect items when clearing
7384
7385 2005-04-27  Jackson Harper  <jackson@ximian.com>
7386
7387         * X11Keyboard.cs: Initialize a default keyboard and give a warning
7388         if a "correct" keyboard is not found. This will make us not crash,
7389         but might give some users bad keyboard layouts...seems to be the
7390         same thing rewind does.
7391
7392 2005-04-27  Jackson Harper  <jackson@ximian.com>
7393
7394         * BindingManagerBase.cs: Attach the current/position changed
7395         handlers to their respective events.
7396
7397 2005-04-27  Jackson Harper  <jackson@ximian.com>
7398
7399         * Control.cs: Make sure that the first WM_PAINT does a full draw,
7400         not just a blit.
7401         * ThemeWin32Classic.cs: Don't fill the background for picture
7402         boxes. This could overright user drawing.
7403         * ComboBox.cs: Just fill the clipping rect not the entire client
7404         rect when drawing the background. This prevents pieces of the
7405         image buffer from getting overwritten and is theoretically faster.
7406
7407 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
7408
7409         * ComboBox.cs: Databinding support fixes, fire missing events
7410         * ListControl.cs: implement missing methods and properties, fixes
7411         * ThemeWin32Classic.cs: Databiding support on Drawing
7412         * CheckedListBox.cs: Databinding support fixes, fire missing events
7413         * ListBox.cs: Databinding support fixes, fire missing events
7414         
7415 2005-04-25  Peter Bartok  <pbartok@novell.com>
7416
7417         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7418
7419 2005-04-25  Jackson Harper  <jackson@ximian.com>
7420
7421         * TreeView.cs: Use the horizontal scrollbars height not width when
7422         determining how much of the client area is available.
7423
7424 2005-04-25  Jackson Harper  <jackson@ximian.com>
7425
7426         * Control.cs: Double buffering is handled differently now. As per
7427         the spec, the extra buffer is created in the WM_PAINT message and
7428         passed down to the control's drawing code.
7429         * GroupBox.cs:
7430         * Label.cs:
7431         * CheckBox.cs:
7432         * ProgressBar.cs:
7433         * RadioButton.cs:
7434         * ColorDialog.cs:
7435         * ComboBox.cs:
7436         * PropertyGridView.cs:
7437         * UpDownBase.cs:
7438         * MessageBox.cs:
7439         * MenuAPI.cs:
7440         * ListView.cs:
7441         * ButtonBase.cs:
7442         * SizeGrip.cs:
7443         * ScrollBar.cs:
7444         * ListBox.cs:
7445         * TrackBar.cs:
7446         * ToolBar.cs:
7447         * PictureBox.cs:
7448         * DateTimePicker.cs:
7449         * StatusBar.cs:
7450         * TreeView.cs: Update to new double buffering system.
7451         * MonthCalendar.cs: Uncomment block, as Capture is now
7452         working. Update to new double buffering
7453         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7454         * PaintEventArgs.cs: New internal method allows us to set the
7455         graphics object. This is used for double buffering.
7456         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7457         rectangle. The internal paint_area var has been removed from
7458         StatusBar. The clipping rect should be used instead.
7459         * Theme.cs: Give the PictureBox drawing method a clipping rect.
7460         * TabPage.cs: The RefreshTabs method was removed, so just call the
7461         tab controls Refresh method now.
7462         * TabControl.cs: Update to new double buffering. Make sure the
7463         handle is created before sizing the tab pages, otherwise we will
7464         get stuck in a loop.
7465
7466 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
7467
7468         * LinkLabel.cs: Fix typo, bug #74719; patch
7469           from Borja Sanchez Zamorano
7470
7471 2005-04-22  Jackson Harper  <jackson@ximian.com>
7472
7473         * TreeNode.cs: Implement Handle stuff.
7474         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7475
7476 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
7477
7478         * DataGridTextBoxColumn.cs: call base constructors, fixes
7479         * GridColumnStylesCollection.cs: missing events, methods, and functionality
7480         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7481         * DataGridTableStyle.cs: implements create default column styles
7482         * DataGridBoolColumn.cs: which types can handle
7483         * DataGrid.cs: missing methods, fixes, new functionality
7484         * DataGridColumnStyle.cs: fixes
7485
7486 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
7487         * FolderBrowserDialog.cs:
7488         - Use a thread to fill the TreeView
7489         - Adjusted some sizes
7490
7491 2005-04-19  Peter Bartok  <pbartok@novell.com>
7492
7493         * LinkLabel.cs: (Re-)create the pieces when setting the Text
7494           property. Fixes #74360.
7495
7496 2005-04-19  Jackson Harper  <jackson@ximian.com>
7497
7498         * XEventQueue.cs: Lock when getting the lockqueue size.
7499         * PictureBox.cs: Call base OnPaint
7500         
7501 2005-04-19  Peter Bartok  <pbartok@novell.com>
7502
7503         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7504           messages were no longer being processed (this broke BeginInvoke)
7505
7506           
7507 2005-04-18  Jackson Harper  <jackson@ximian.com>
7508
7509         * TreeView.cs: buglet that caused node images to get drawn
7510         regardless of whether or not they were in the clipping rectangle.
7511
7512 2005-04-18  Jackson Harper  <jackson@ximian.com>
7513
7514         * CurrencyManager.cs: There are four rules for GetItemProperties:
7515         - If the type is an array use the element type of the array
7516         - If the type is a typed list, use the type
7517         - If the list contains an Item property that is not an object, use
7518         that property
7519         - use the first element of the list if there are any elements in
7520         the list.
7521         
7522 2005-04-17  Jackson Harper  <jackson@ximian.oom>
7523
7524         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7525         click. This handles offsets for scrolling properly and reduces
7526         memory. Also fixed GetNode to not offset now that TopNode works
7527         properly.
7528         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7529         
7530 2005-04-17  Jackson Harper  <jackson@ximian.com>
7531
7532         * CursorConverter.cs: Initial implementation.
7533
7534 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7535
7536         * ListControl.cs: work towards complex data binding support on ListControl
7537         * CurrencyManager.cs: work towards complex data binding support on ListControl
7538         * ListBox.cs: work towards complex data binding support on ListControl
7539
7540
7541 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7542
7543         * GridTableStylesCollection.cs: fixes name and constructor
7544         * DataGridTableStyle.cs: fixes
7545         * DataGridBoolColumn.cs: fixes names and constructors
7546         * DataGrid.cs: define methods and properties. Some init implementations
7547         * DataGridCell.cs: define methods and properties. Some init implementations
7548         * GridTablesFactory.cs: Define methods and properties
7549
7550 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
7551
7552         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
7553         graphics port changes.  We still want the coordinates in global screen
7554         coordinates.
7555
7556 2005-04-14  Jackson Harper  <jackson@ximian.com>
7557
7558         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7559         check plus minus or checkbox clicks unless those features are enabled.
7560
7561 2005-04-14  Jackson Harper  <jackson@ximian.com>
7562
7563         * TreeView.cs: Add methods for setting the top and bottom visible
7564         nodes. TreeNode::EnsureVisible uses these methods.
7565         * TreeNode.cs: Implement EnsureVisible
7566
7567 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
7568
7569         * Form.cs: Pospone menu assignation if the window has not been created yet
7570         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7571         size and position
7572
7573 2005-04-12  Jackson Harper  <jackson@ximian.com>
7574
7575         * TreeView.cs: Set the TopNode properly when scrolling
7576         occurs. This has the added benifit of reducing the amount of
7577         walking that needs to be done when drawing. Also removed an old
7578         misleading TODO.
7579         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7580         
7581 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
7582
7583         * Timer.cs: fixes interval setting when the timer is already enabled
7584         
7585 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
7586
7587         * FolderBrowserDialog.cs: First approach
7588
7589 2005-04-09  Peter Bartok  <pbartok@novell.com>
7590
7591         * FolderBrowserDialog: Added
7592
7593 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
7594
7595         * LinkLabel.cs: move drawing code into the theme
7596         * ThemeWin32Classic.cs: drawing code and painting background bugfix
7597         * Theme.cs: define DrawLinkLabel method
7598
7599 2005-04-05  Jackson Harper  <jackson@ximian.com>
7600
7601         * BindingContext.cs: Use weak references so these bad actors don't
7602         stay alive longer then they need to.
7603
7604 2005-04-05  Jackson Harper  <jackson@ximian.com>
7605
7606         * ListControl.cs: Basic implementation of complex databinding.
7607         * ComboBox.cs:
7608         * ListBox.cs: Add calls to ListControl databinding methods.
7609
7610 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
7611
7612         * FileDialog.cs:
7613           - Don't change PopupButtonState to Normal when the
7614             PopupButton gets pressed several times.
7615           - Renamed ButtonPanel to PopupButtonPanel
7616
7617 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
7618
7619         * ColorDialog.cs: Use cached objects instead of creating them
7620         * LinkLabel.cs: Use cached objects instead of creating them
7621         * Splitter.cs: Use cached objects instead of creating them
7622         * FontDialog.cs: Use cached objects instead of creating them
7623         * PropertyGridView.cs: Use cached objects instead of creating them
7624         * MessageBox.cs: Use cached objects instead of creating them
7625         * FileDialog.cs: Use cached objects instead of creating them
7626         * ThemeWin32Classic.cs: Use cached objects instead of creating them
7627         * TreeView.cs: Use cached objects instead of creating them
7628         
7629 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
7630
7631         * Control.cs: use Equals to compare the font since no == op
7632         * ScrollBar.cs: use Equals to compare the font since no == op
7633
7634 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
7635
7636         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7637
7638 2005-04-01  Jackson Harper  <jackson@ximian.com>
7639
7640         * Binding.cs: Implement IsBinding.
7641         * BindingManagerBase.cs:
7642         * PropertyManager.cs:
7643         * CurrencyManager.cs: Add IsSuspended property.
7644
7645 2005-04-01  Jackson Harper  <jackson@ximian.com>
7646
7647         * Binding.cs: Had some IsAssignableFrom calls backwards.
7648
7649 2005-04-01  Jackson Harper  <jackson@ximian.com>
7650
7651         * Binding.cs: Handle null data members when pulling data.
7652         * PropertyManager.cs: Handle the data member being a property that
7653         does not exist.
7654
7655 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7656
7657         * DataGridTextBoxColumn.cs: fixes signature
7658         * DataGrid.cs: calls right constructor
7659
7660 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7661
7662         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7663         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7664         * GridTableStylesCollection.cs: implements GridTableStylesCollection
7665         * DataGridTableStyle.cs: implements DataGridTableStyle
7666         * DataGridBoolColumn.cs: implements DataGridBoolColumn
7667         * DataGridTextBox.cs: implements DataGridTextBox
7668         * DataGridColumnStyle.cs: implements DataGridColumnStyle
7669
7670 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
7671
7672         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7673
7674 2005-03-29  Peter Bartok  <pbartok@novell.com>
7675
7676         * Application.cs:
7677           - Properly implemented CompanyName property
7678           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7679             returns a path that includes CompanyName, ProductName and
7680             Version (fixes bug #70330)
7681
7682 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
7683
7684         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7685           fixes bug #72588.
7686
7687 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7688
7689         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7690         
7691           - Added ReadOnly CheckBox
7692           - Further refactoring: moved some code from Open-/SaveFileDialog
7693             to FileDialog
7694
7695 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7696
7697         * OpenFileDialog.cs: Fixed CheckFileExists
7698         * FileDialog.cs:
7699           Moved FileView and DirComboBox outside FileDialog class.
7700           They can now be used outside FileDialog
7701
7702 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7703
7704         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7705         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7706
7707 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7708
7709         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7710           - Added missing CreatePrompt property in SaveDialog
7711           - Overall SaveDialog handling should be better now
7712           - Added non standard ShowHiddenFiles property
7713           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7714           - Added InitialDirectory and RestoreDirectory support
7715
7716 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
7717
7718         * FileDialog.cs: Made dirComboBox usable
7719
7720 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
7721
7722         * FileDialog.cs: Added Filter support (case sensitiv)
7723
7724 2005-03-24  Jackson Harper  <jackson@ximian.com>
7725
7726         * TabControl.cs: Need a couple more pixels for the lines.
7727
7728 2005-03-23  Jackson Harper  <jackson@ximian.com>
7729
7730         * TabControl.cs: Give the tab page focus when it is selected.
7731
7732 2005-03-23  Jackson Harper  <jackson@ximian.com>
7733
7734         * TabControl.cs: Account for the drawing of tabs borders when
7735         invalidating. If the slider was clicked dont do click detection on
7736         the tabs.
7737
7738 2005-03-23  Jackson Harper  <jackson@ximian.com>
7739
7740         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7741
7742 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
7743
7744         * CategoryGridEntry.cs: Added
7745         * GridItem.cs: Added helper properties
7746         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7747         * GridEntry.cs: Updated code for collection
7748         * PropertyGrid.cs: Cleaned up some formatting
7749         * PropertyGridView.cs: Added drop down functionality for enums.
7750         * GridItemCollection.cs: Added enumerator logic
7751         * PropertyGridEntry.cs: Added
7752
7753 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7754
7755         * FileDialog.cs:
7756           - Removed unnecessary commented code
7757           - Fixed handling for entering the filename manually in the combobox
7758
7759 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7760
7761         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7762
7763 2005-03-18  Peter Bartok  <pbartok@novell.com>
7764
7765         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7766           them being touching the border
7767
7768 2005-03-18  Peter Bartok  <pbartok@novell.com>
7769
7770         * TextControl.cs: Quick hack to center text better
7771
7772 2005-03-18  Peter Bartok  <pbartok@novell.com>
7773
7774         * ControlPaint.cs:
7775           - Don't throw NotImplemented exceptions, just print a notice once
7776             instead (requested by Miguel). This makes running existing SWF
7777             apps a bit easier
7778         * Control.cs:
7779           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7780           - Added context menu trigger on right click
7781         * Panel.cs: Trigger invalidate on resize
7782         * StatusBar.cs:
7783           - Removed old double-buffer drawing
7784           - Added ResizeRedraw style to force proper update of statusbar
7785         * ListView.cs:
7786           - Removed debug output
7787         * ThemeWin32Classic.cs:
7788           - Fixed drawing of status bar, now draws Text property if there
7789             are no defined panels
7790
7791 2005-03-18  Jackson Harper  <jackson@ximian.com>
7792
7793         * ImageList.cs: When the image stream is set pull all the images
7794         from it.
7795         * ImageListStreamer.cs: Implement reading image list streams.
7796
7797 2005-03-18  Peter Bartok  <pbartok@novell.com>
7798
7799         * ThemeWin32Classic.cs (DrawPictureBox):
7800           - Fixed calculations for centered drawing
7801           - Fixed drawing for normal mode, not scaling the image on normal
7802
7803 2005-03-18  Peter Bartok  <pbartok@novell.com>
7804
7805         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7806           textbox
7807         * FileDialog.cs:
7808           - Made Open/Save button the accept button for FileDialog
7809           - Tied the cancel button to the IButtonControl cancel button
7810           - Save/Open now properly builds the pathname
7811           - Now handles user-entered text
7812           - Preventing crash on right-click if no item is selected
7813           - Fixed Text property, now uses contents of textbox
7814           - Fixed SelectedText property, now just returns the text part that
7815             is selected in the text box
7816
7817 2005-03-18  Jackson Harper  <jackson@ximian.com>
7818
7819         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7820         rect, make sure to de-adjust the interior rect after drawing the
7821         tab text.
7822
7823 2005-03-18  Peter Bartok  <pbartok@novell.com>
7824
7825         * MenuAPI.cs: Remove menu *before* executing selected action to
7826           prevent the menu from 'hanging around'
7827           
7828 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
7829
7830         * XplatUIOSX.cs: Implemented WorkingArea property
7831
7832 2005-03-17  Peter Bartok  <pbartok@novell.com>
7833
7834         * XplatUIX11.cs: Fixed menu coord calculations
7835         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7836           for calculating offsets
7837
7838 2005-03-17  Peter Bartok  <pbartok@novell.com>
7839
7840         * Hwnd.cs: Do not consider menu presence for default client
7841           rectangle location/size
7842         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7843           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7844           translation functions
7845         * FileDialog.cs: Fixed (what I presume is a) typo
7846
7847 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
7848
7849         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7850           X access (avoids X-Async errors)
7851
7852 2005-03-16  Jackson Harper  <jackson@ximian.com>
7853
7854         * TabControl.cs: Raise the SelectedIndexChanged event.
7855
7856 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
7857
7858         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7859           - Removed vertical ToolBar and replaced it with a custom panel
7860             (desktop and home button already work)
7861           - Added Help button (some controls get resized or relocated then)
7862           - Draw correct text depending on Open or Save.
7863           - Fixed some typos...
7864
7865 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
7866
7867         * ScrollBar.cs:
7868           - Only change Maximum and Minimum when need it (bug fix)
7869
7870 2005-03-15  Peter Bartok  <pbartok@novell.com>
7871
7872         * Form.cs: Use Handle for icon, to trigger creation if
7873           the window does not yet exist
7874         * Control.cs:
7875           - CanSelect: Slight performance improvement
7876           - Focus(): Preventing possible recursion
7877           - Invalidate(): Removed ControlStyle based clear flag setting
7878           - WM_PAINT: fixed logic for calling OnPaintBackground
7879           - WM_ERASEBKGND: Fixed logic, added call to new driver method
7880             EraseWindowBackground if the control doesn't paint background
7881         * XplatUIWin32.cs:
7882           - Moved EraseWindowBackground() method to internal methods
7883           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7884             is sent via SendMessage on BeginPaint call on Win32
7885         * XplatUIX11.cs:
7886           - Added EraseWindowBackground() method
7887           - No longer sends WM_ERASEBKGND on .Expose, but on call to
7888             PaintEventStart, which more closely matches Win32 behaviour
7889           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7890           - Fixed SetFocus() to properly deal with client and whole windows
7891         * Hwnd.cs: Added ErasePending property
7892         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7893         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7894
7895 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
7896
7897         * XplatUIOSX.cs:
7898           - Fix hard loop when timers exist.
7899           - Fix bugs with middle and right click for 3 button mice.
7900
7901 2005-03-11  Peter Bartok  <pbartok@novell.com>
7902
7903         * XplatUIX11.cs:
7904           - get_WorkingArea: Need to call X directly, GetWindowPos only
7905             returns cached data now
7906           - Added sanity check to GetWindowPos hwnd usage
7907
7908 2005-03-11  Jackson Harper  <jackson@ximian.com>
7909
7910         * BindingManagerBase.cs: This method isn't used anymore as
7911         PullData now updates the data in the control.
7912
7913 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7914
7915         * Form.cs: fixes menu drawing on X11
7916         * MenuAPI.cs:  fixes menu drawing on X11
7917
7918 2005-03-11  Peter Bartok  <pbartok@novell.com>
7919
7920         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7921           from Jonathan Gilbert; should fix bug #73606
7922         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7923           in Screen coordinates. Thanks, Jordi.
7924         * Form.cs: Added missing attribute
7925
7926 2005-03-11  Peter Bartok  <pbartok@novell.com>
7927
7928         * Form.cs:
7929           - Rudimentary Mdi support
7930           - Removed outdated FormParent code
7931           - Implemented lots of missing properties and methods, still missing
7932             transparency support
7933           - Added missing attributes
7934           - Implemented support for MaximumBounds
7935           - Added firing of various events
7936         * XplatUI.cs: Added SetIcon() method
7937         * XplatUIDriver.cs: Added SetIcon() abstract
7938         * XplatUIOSX.cs: Stubbed out SetIcon() method
7939         * XplatUIX11.cs:
7940           - Implemented SetIcon() support
7941           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7942           - Switched to unix line endings
7943         * XplatUIWin32.cs:
7944           - Made POINT internal so for can access it as part of MINMAX
7945           - Implemented SetIcon() support
7946           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7947             native Mdi support again, might have to go managed)
7948         * Control.cs: Now fires the StyleChanged event
7949         * MdiClient.cs: Added; still mostly empty
7950
7951 2005-03-10  Peter Bartok  <pbartok@novell.com>
7952
7953         * SaveFileDialog.cs: Added emtpy file
7954
7955 2005-03-08  Peter Bartok  <pbartok@novell.com>
7956
7957         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7958           in turn triggers OnCreateContro) when creating a handle for the
7959           first time.
7960         * TextControl.cs: Fixed endless loop in certain cases when
7961           replacing the current selection
7962
7963 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7964
7965         * ScrollBar.cs:
7966           - Honors NewValue changes in Scroll events allowing apps to change it
7967           - Adds First and Last Scroll events
7968           - Fixes Thumb events
7969
7970 2005-03-07  Peter Bartok  <pbartok@novell.com>
7971
7972         * Hwnd.cs: Added DefaultClientRectangle property
7973         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7974           more detailed debug information
7975         * XplatUIX11.cs:
7976           - Fixed size-change feedback loop, where we would pull an old size
7977             off the queue and mistakenly change our window's size to an
7978             earlier value
7979           - Now compressing ConfigureNotify events, to reduce looping and
7980             redraw issues
7981         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7982           is called
7983
7984 2005-03-07  Jackson Harper  <jackson@ximian.com>
7985
7986         * Binding.cs: Push data pushes from data -> property. Check if the
7987         property is readonly when attempting to set it.
7988
7989 2005-03-07  Jackson Harper  <jackson@ximian.com>
7990
7991         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7992         instead of IsSubclassOf. Pulling data now sets the value on the
7993         control.
7994         * PropertyManager.cs:
7995         * CurrencyManager.cs: Just need to pull data when updating now,
7996         because PullData will set the value on the control.
7997
7998 2005-03-04  Jackson Harper  <jackson@ximian.com>
7999
8000         * Binding.cs: Implement data type parsing and converting on pulled
8001         data. TODO: Are there more ways the data can be converted?
8002
8003 2005-03-04  Jackson Harper  <jackson@ximian.com>
8004
8005         * Binding.cs: Support <Property>IsNull checks. Also bind to the
8006         controls Validating method so we can repull the data when the
8007         control loses focus.
8008
8009 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
8010
8011         * ColumnHeader.cs:
8012           - Fixes null string format
8013           
8014         * ListView.cs:
8015           - Adds enum type checks
8016           - Fixes redrawing and recalc need after changing some properties
8017           - Fixes on focus_item set after the event
8018           - Fixes adding columns after the control has been created
8019           
8020         * ThemeWin32Classic.cs:
8021           - Fixes CheckBox focus rectangle
8022           - Fixes ColumnHeader drawing
8023
8024
8025 2005-03-03  Jackson Harper  <jackson@ximian.com>
8026
8027         * Binding.cs: Bind to <Property>Changed events so we can detect
8028         when properties are changed and update the data.
8029
8030 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
8031
8032         * ImageList.cs:
8033           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8034           - Fixes ImageList constructor with ImageList container
8035           - Fixes image scaling (wrong parameters at DrawImage)
8036
8037 2005-02-02  Jackson Harper  <jackson@ximian.com>
8038
8039         * Binding.cs: Make property searches case-insensitive. Eliminate
8040         some duplicated code.
8041
8042 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
8043
8044         * ComboBox.cs:
8045                 - Handle focus event
8046                 - Fix scrollbar events
8047                 - Discard highlighted item if remove it
8048                 - Fixes SelectedItem with strings
8049
8050 2005-03-01  Peter Bartok  <pbartok@novell.com>
8051
8052         * Control.cs:
8053           - Fixed Visible property, now follows (once again) parent chain
8054             to return false if any control in the chain is visible=false
8055           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8056           - Fixed several places where is_visible instead of Visible was used
8057           - Implemented FIXME related to focus selection when setting focused
8058             control to be invisible
8059
8060         * XplatUIWin32.cs: Now using proper method to find out if window is
8061           visible. Thanks to Jordi for pointing it out
8062
8063 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
8064
8065         * ComboBox.cs: show/hide scrollbar instead of creating it
8066
8067 2005-02-27  Jackson Harper  <jackson@ximian.com>
8068
8069         * CurrencyManager.cs: Add PositionChanged stuff.
8070
8071 2005-02-27  Peter Bartok  <pbartok@novell.com>
8072
8073         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8074         * XplatUIOSX.cs: Added GetMenuOrigin() stub
8075         * XplatUIWin32.cs: Implemented GetMenuOrigin()
8076         * XplatUIX11.cs:
8077           - Implemented GetMenuDC()
8078           - Implemented GetMenuOrigin()
8079           - Implemented ReleaseMenuDC()
8080           - Implemented generation of WM_NCPAINT message
8081           - Implemented generation and handling of WM_NCCALCSIZE message
8082         * Form.cs: Added debug helper message for Jordi's menu work
8083         * Hwnd.cs:
8084           - Modified ClientRect property; added setter, fixed getter to handle
8085             setting of ClientRect
8086           - Added MenuOrigin property
8087
8088 2005-02-26  Peter Bartok  <pbartok@novell.com>
8089
8090         * XplatUIX11.cs:
8091           - Destroys the caret if a window that's being destroyed contains it
8092           - Ignores expose events coming from the X11 queue for windows that
8093             already are destroyed
8094           - Now uses the proper variable for handling DestroyNotify, before we
8095             marked the wrong window as destroyed
8096           - Improved/added some debug output
8097
8098 2005-02-26  Peter Bartok  <pbartok@novell.com>
8099
8100         * X11Keyboard.cs: Fixes to work on 64bit systems
8101
8102 2005-02-26  Peter Bartok  <pbartok@novell.com>
8103
8104         * Control.cs:
8105           - Now calling OnHandleDestroyed from DestroyHandle()
8106             instead of Dispose()
8107           - Removed bogus call to controls.Remove() from DestroyHandle()
8108
8109 2005-02-26  Peter Bartok  <pbartok@novell.com>
8110
8111         * Control.cs: Properly destroy child windows when our handle is
8112           destroyed
8113
8114 2005-02-25  Peter Bartok  <pbartok@novell.com>
8115
8116         * XplatUI.cs:
8117           - Added 'DriverDebug' define to allow tracing XplatUI API calls
8118           - Alphabetized Static Methods and Subclasses
8119
8120         * XplatUIX11.cs:
8121           - Added XException class to allow custom handling of X11 exceptions
8122           - Created custom X11 error handler, tied into XException class
8123           - Added support for MONO_XEXCEPTIONS env var to allow the user
8124             to either throw an exception on X errors or continue running
8125             after displaying the error
8126           - Added handling of DestroyNotify message
8127           - Added handler for CreateNotify message (still disabled)
8128           - Improved (tried to at least) Where method to provide file and lineno
8129         * X11Structs.cs:
8130           - Added XErrorHandler delegate
8131           - Added XRequest enumeration (to suppor translation of errors)
8132
8133 2005-02-25  Jackson Harper  <jackson@ximian.com>
8134
8135         * PropertyManager.cs: Implement editing features
8136         * CurrencyManager.cs:
8137         * Binding.cs: First attempt at UpdateIsBinding
8138         * BindingManagerBase.cs: Call UpdateIsBinding before
8139         pushing/pulling data.
8140
8141 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
8142
8143         * MenuAPI.cs: Respect disabled items
8144         * ThemeWin32Classic.cs
8145                 - Caches ImageAttributes creation for DrawImageDisabled
8146                 - Fixes vertical menu line drawing
8147                 - Draws disabled arrows in disable menu items
8148
8149 2005-02-24  Peter Bartok  <pbartok@novell.com>
8150
8151         * Hwnd.cs:
8152           - Added UserData property to allow associating arbitrary objects
8153             with the handle
8154           - Fixed leak; now removing Hwnd references from static windows array
8155         * XplatUIWin32.cs:
8156           - Fixed Graphics leak in PaintEventEnd
8157           - Removed usage of HandleData, switched over to Hwnd class
8158         * HandleData.cs: Removed, obsoleted by Hwnd.cs
8159
8160 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
8161
8162         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8163         * ScrollBar.cs: Fixes bug
8164         * TrackBar.cs: removes death code, clipping, mimize refreshes,
8165          keyboard navigation enhancements
8166
8167 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
8168
8169         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8170         * GroupBox.cs: Add control styles
8171         * Label.cs: Add control styles
8172         * UpDownBase.cs: Add control styles
8173         * ListBox.cs: Add control styles
8174         * XplatUIWin32.cs: Fixes wrong parameter order
8175
8176
8177 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
8178
8179         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8180
8181 2005-02-23  Jackson Harper  <jackson@ximian.com>
8182
8183         * PropertyManager.cs: Implement property binding. This doesn't
8184         seem to work yet though as (I think) there are some bugs in
8185         System.ComponentModel.PropertyDescriptor.
8186         * BindingContext.cs: Use new PropertyManager constructor.
8187
8188 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
8189
8190         * ProgressBar.cs: use clip region in ProgressBar
8191         * ThemeWin32Classic.cs: use clip region in ProgressBar
8192
8193 2004-02-22  Jackson Harper  <jackson@ximian.com>
8194
8195         * BindingsCollection.cs: Remove some debug code.
8196
8197 2005-02-22  Jackson Harper  <jackson@ximian.com>
8198
8199         * BindingContext.cs:
8200         * ControlBindingsCollection.cs:
8201         * CurrencyManager.cs:
8202         * Binding.cs:
8203         * BindingManagerBase.cs: Initial implementation
8204         * BindingsCollection.cs: Add an internal contains method that the
8205         BindingManagerBase uses to ensure bindings aren't added twice to
8206         the collection.
8207         * PropertyManager.cs: Stubbed out.
8208         * Control.cs:
8209         * ContainerControl.cs: Hook up databinding
8210         
8211 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
8212
8213         * XplatUIOSX.cs:
8214           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8215           Fixed Invalidate/Update chain.
8216           Fixed tons of other minor bugs (this is almost a complete rewrite).
8217
8218 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
8219
8220         * ComboBox.cs: do subcontrol creation when the control is created
8221
8222 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
8223
8224         * Label.cs: fixes image drawing (image and imagelist)
8225         * ThemeWin32Classic.cs: cache brushes
8226         
8227 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
8228
8229         * Form.cs: Move menu drawing code to Theme class
8230         * ComboBox.cs: Move ComboBox drawing code to Theme class
8231         * MenuItem.cs: Move menu drawing code to Theme class
8232         * MenuAPI.cs: Move menu drawing code to Theme class
8233         * ThemeWin32Classic.cs: New methods
8234         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8235         * ListBox.cs: Move Listbox drawing code to Theme class
8236         * Theme.cs: New methods
8237
8238 2005-02-20  Peter Bartok  <pbartok@novell.com>
8239
8240         * Control.cs:
8241           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8242             only process mnemonics on those)
8243           - Fixed event sequence for key handling; first calling
8244             ProcessKeyEventArgs now
8245         * TextBoxBase.cs:
8246           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8247             for processing non-character keys
8248           - Fixed WM_CHAR to generate proper event sequence before processing
8249         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8250           generation
8251
8252 2005-02-19  Peter Bartok  <pbartok@novell.com>
8253
8254         * UserControl.cs: Added TextChanged event; added attributes
8255         * SizeGrip.cs: Implemented resizing and optional display of grip
8256         * Form.cs: Fixed attribute
8257         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8258           Changed meaning of ScrollWindow bool argument; instead of the
8259           clear attribute (which will be true usually anyway), it gives the
8260           option of moving child controls as well.
8261         * XplatUIX11.cs:
8262           - Changed to match new ScrollWindow argument
8263           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8264             now handles the implicit parent window a WM puts around us
8265         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8266           to work)
8267         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8268         * TreeView.cs: Adjusted to new ScrollWindow arguments
8269
8270 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
8271
8272         * Form.cs: Menu integration with non-client area
8273         * MenuItem.cs: Menu integration with non-client area
8274         * MenuAPI.cs: Menu integration with non-client area
8275
8276 2005-02-18  Peter Bartok  <pbartok@novell.com>
8277
8278         * MethodInvoker.cs: Added
8279         * MdiLayout.cs: Added
8280         * SendKeys.cs: Started implementation
8281         * ErrorIconAlignment.cs: Added
8282
8283 2005-02-18  Peter Bartok  <pbartok@novell.com>
8284
8285         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8286         * Form.cs: Added handling for Menu-related Non-client messages
8287
8288 2005-02-17  Peter Bartok  <pbartok@novell.com>
8289
8290         * UpDownBase.cs: Fixed typo, compilation errors
8291         * DomainUpDown.cs: Fixed attribute value
8292
8293 2005-02-16  Miguel de Icaza  <miguel@novell.com>
8294
8295         * UpDownBase.cs: Attach entry events.
8296         Propagate events.
8297         Add ForeColor property, Focused, InterceptArrowKeys (interception
8298         does not work yet).
8299
8300 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
8301
8302         * Form.cs:
8303                 - Redraw non client are on Setmenu
8304                 - Calc proper menu starting point
8305
8306 2005-02-17  Peter Bartok  <pbartok@novell.com>
8307
8308         * Application.cs: Fixed message_filter check
8309
8310 2005-02-17  Peter Bartok  <pbartok@novell.com>
8311
8312         * Application.cs: Now calls registered message filters
8313         * DockStyle.cs: Fixed attribute
8314         * Form.cs: Fixed attribute
8315         * Menu.cs: Fixed attribute
8316         * ToolTip.cs: Fixed attribute
8317         * TreeNode.cs: Added missing attributes and arranged in regions
8318         * PropertyGrid.cs: Fixed signatures
8319         * TreeNodeCollection.cs: Added attributes
8320         * Splitter.cs: Added missing attributes; arranged into regions
8321         * TabPage.cs: Added missing attributes; arranged into regions
8322         * TextBoxBase.cs: Added missing attributes
8323         * TextBox.cs: Added missing attributes
8324         * ArrangeDirection.cs: Added missing attributes
8325         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8326         * ToolBarButton.cs: Fixed attributes
8327         * AnchorStyles.cs: Fixed attribute
8328         * TrackBar.cs: Fixed attributes
8329         * TabControl.cs: Added missing attributes and arranged into regions
8330         * ToolBar.cs: Fixed attribute
8331         * StatusBar.cs: Fixed signature, organized into regions and added
8332           attributes
8333         * StatusBarPanel.cs: Fixed attributes
8334         * ContentsResizedEventArgs.cs: Implemented
8335         * ContentsResizedEventHandler.cs: Implemented
8336         * DateBoldEventArgs.cs: Implemented
8337         * DateBoldEventHandler.cs: Implemented
8338         * UpDownEventArgs.cs: Implemented
8339         * UpDownEventHandler.cs: Implemented
8340         
8341 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
8342
8343         * Form.cs: first Menu NC refactoring
8344         * MenuAPI.cs: first Menu NC refactoring
8345         
8346 2005-02-16  Peter Bartok  <pbartok@novell.com>
8347
8348         * ImeMode.cs: Added missing attributes
8349         * Menu.cs: Fixed attribute
8350         * GroupBox.cs: Fixed attribute
8351         * Label.cs: Fixed attribute
8352         * ColorDialog.cs (RunDialog): Removed TODO attribute
8353         * ComboBox.cs: Fixed attributes
8354         * ListControl.cs: Added missing attributes
8355         * PropertyGrid.cs: Fixed attributes
8356         * Control.cs: Fixed attributes
8357         * ListViewItem.cs: Added TypeConverter attribute
8358         * NotifyIcon.cs: Fixed attributes
8359         * ListView.cs: Fixed attributes
8360         * ButtonBase.cs: Fixed attribute
8361         * ImageList.cs: Added missing attributes
8362         * ContainerControl.cs: Fixed signature
8363         * CheckedListBox.cs: Fixed attribute; added missing attributes
8364         * Panel.cs: Fixed attributes
8365         * PropertyTabChangedEventArgs.cs: Added missing attribute
8366         * PropertyValueChangedEventArgs.cs: Added missing attribute
8367         * Binding.cs: Fixed attribute
8368         * ListViewItemConverter: Implemented ListViewSubItemConverter class
8369         * ListBox.cs: Fixed attribute; added missing attributes;
8370         * ScrollableControl.cs: Added missing attributes
8371         * PictureBox.cs: Added missing attributes; implemented missing property
8372         * DateTimePicker.cs: Added missing attributes
8373         * Theme.cs (ToolWindowCaptionHeight): Fixed type
8374         * MonthCalendar.cs: Fixed attributes
8375         * StatusBarPanel.cs: Added missing attributes
8376         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8377
8378 2005-02-16  Peter Bartok  <pbartok@novell.com>
8379
8380         * TextBoxBase.cs: The previous method to enforce height yet remember
8381           the requested high was less than ideal, this is an attempt to do
8382           it better.
8383         * Control.cs: Added comment about possible problem
8384         * Copyright: Updated format
8385         * GridItemType.cs: Fixed swapped values
8386
8387 2005-02-15  Jackson Harper  <jackson@ximian.com>
8388
8389         * BaseCollection.cs: Use property so we never access an
8390         uninitialized list. Also initialize the list in the property.
8391
8392 2005-02-15  Peter Bartok  <pbartok@novell.com>
8393
8394         * GroupBox.cs (ProcessMnemonic): Implemented
8395         * Label.cs (ProcessMnemonic): Implemented
8396         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8397           hotkeys
8398
8399 2005-02-15  Peter Bartok  <pbartok@novell.com>
8400
8401         * RadioButton.cs (ProcessMnemonic): Implemented
8402         * CheckBox.cs (ProcessMnemonic): Implemented
8403         * Control.cs:
8404           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8405             handling
8406           - Added internal method to allow calling ProcessMnemonic from other
8407             controls
8408         * ContainerControl.cs:
8409           - Started support for handling validation chain handling
8410           - Implemented ProcessMnemonic support
8411           - Added Select() call to Active, to make sure the active control
8412             receives focus
8413         * Form.cs: Setting toplevel flag for Forms (this was lost in the
8414           FormParent rewrite)
8415         * ThemeWin32Classic.cs:
8416           - DrawCheckBox(): Fixed stringformat to show hotkeys
8417           - DrawRadioButton(): Fixed stringformat to show hotkeys
8418         * CommonDialog.cs: Removed WndProc override, not needed
8419
8420 2005-02-14  Peter Bartok  <pbartok@novell.com>
8421
8422         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8423           missed those in the rewrite
8424
8425 2005-02-14  Miguel de Icaza  <miguel@novell.com>
8426
8427         * NumericUpDown.cs (Increment, ToString): Add.
8428         (DecimalPlaces): implement.
8429         
8430         Add attributes.
8431         
8432         * UpDownBase.cs: Add the designer attributes.
8433
8434 2005-02-13  Peter Bartok  <pbartok@novell.com>
8435
8436         * Panel.cs: Removed border_style, now in Control
8437         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8438           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8439
8440 2005-02-13  Peter Bartok  <pbartok@novell.com>
8441
8442         * MouseButtons.cs: Added missing attributes
8443         * XplatUIStructs.cs: Added enumeration for title styles
8444         * LeftRightAlignment.cs: Added missing attributes
8445         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8446           it compatible with Graphics.FromHwnd()
8447         * SelectedGridItemChangedEventArgs.cs: Fixed property type
8448         * Keys.cs: Added missing attributes
8449         * SelectionRange.cs: Added missing attributes
8450         * SelectionRangeConverter.cs: Added
8451         * XplatUI.cs:
8452           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8453             ReleaseMenuDC methods
8454           - Renamed ReleaseWindow to UngrabWindow
8455           - Added proper startup notice to allow version identification
8456         * Form.cs:
8457           - Added missing attributes
8458           - Removed FormParent concept
8459         * Label.cs: Removed border_style field, now in Control
8460         * RadioButton.cs: Now properly selects RadioButton when focus is
8461           received
8462         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8463         * Control.cs:
8464           - Added missing attributes
8465           - Added borderstyle handling
8466           - Removed FormParent concept support
8467           - Fixed calls to XplatUI to match changed APIs
8468           - Fixed bug that would case us to use disposed Graphics objects
8469           - Removed unneeded internal methods
8470           - PerformLayout(): Fixed to handle DockStyle.Fill properly
8471           - SelectNextControl(): Fixed to properly check common parents
8472         * TextBoxBase.cs: Removed border_style field (now in Control)
8473         * MessageBox.cs:
8474           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8475             fixed calculations for form size
8476           - Added support for localized strings and icons
8477           - Improved form size calculations, added border
8478         * ListView.cs: Removed border_style field (now in Control)
8479         * X11Structs.cs: Moved several structs from X11 driver here
8480         * X11Keyboard.cs: Changed debug message
8481         * Application.cs: Removed FormParent concept support
8482         * CommonDialog.cs:
8483           - Resetting end_modal flag
8484           - Removed FormParent concept support
8485         * NativeWindow.cs: Removed FormParent concept support
8486         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8487           Client area and Non-Client whole window to allow support for WM_NC
8488           messages
8489         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8490           prevent using it until it supports Hwnd as per Geoff Norton's request
8491         * ToolBar.cs: Fixed drawing, was not doing proper drawing
8492         * PictureBox.cs: Removed border_style field, now in Control
8493         * XplatUIWin32.cs: Added new driver methods
8494
8495 2005-02-12  Peter Bartok  <pbartok@novell.com>
8496
8497         * OpacityConverter.cs: Implemented
8498         * Hwnd.cs: Internal class to support drivers that need to emulate
8499           client area/non-client area window behaviour
8500
8501 2005-02-11  Peter Bartok  <pbartok@novell.com>
8502
8503         * KeysConverter.cs: Implemented
8504
8505 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
8506
8507         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8508         * LinkLabel: Added missing attributes
8509         * MainMenu.cs: fixes ToString
8510         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8511         * ListBox.cs: fixes event position
8512         * TrackBar.cs: adds missing attributes and events
8513         
8514 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
8515
8516         * MenuItem.cs: Use SystemInformation and bug fixes
8517         * MenuAPI.cs: Use SystemInformation and bug fixes
8518
8519 2005-02-09  Jackson Harper  <jackson@ximian.com>
8520
8521         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8522         their keystate otherwise things like VK_MENU get stuck "on".
8523
8524 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
8525
8526         * ListBox.cs: Fixes AddRange bug
8527         
8528 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
8529
8530         * ProgressBar.cs
8531                 - Add missing attributes
8532                 - Add missing method
8533                 
8534         * CheckedListBox.cs: Added missing attributes
8535                 - Add missing attributes
8536                 - Remove extra method
8537         
8538         * ComboBox.cs: Added missing attributes
8539         * VScrollBar.cs: Added missing attributes
8540         * ScrollBar.cs:  Added missing attributes
8541         * ListBox.cs: Fixes signature, add missing consts
8542         * LinkArea.cs:   Added missing attributes
8543         
8544
8545 2005-02-08  Peter Bartok  <pbartok@novell.com>
8546
8547         * Menu.cs: Added missing attributes
8548         * MainMenu.cs: Added missing attributes
8549         * GroupBox.cs: Added missing attributes
8550         * Label.cs: Added missing attributes
8551         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8552         * ColorDialog.cs:
8553           - Added Instance and Options properties
8554           - Added missing attributes
8555         * Cursor.cs: Made Serializable
8556         * NotifyIcon: Added missing attributes
8557         * MenuItem.cs: Added missing attributes
8558         * TextBoxBase.cs: Implemented AppendText() and Select() methods
8559         * Panel.cs: Added Missing attributes
8560         * MonthCalendar.cs: Fixed CreateParams
8561
8562 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8563         
8564         * LinkLabel.cs:
8565                 - Fixes signature
8566                 - Fixes issues with links
8567                 - Adds the class attributes
8568
8569 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8570         
8571         * ComboBox.cs:
8572                 - Fixes button when no items available in dropdown
8573                 - Fixes repainting problems
8574                 - Adds the class attributes
8575                 
8576 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8577
8578         * XplatUIOSX.cs: Detect the menu bar and title bar height from
8579         the current theme.  Cache these on startup.
8580
8581 2005-02-07  Jackson Harper  <jackson@ximian.com>
8582
8583         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8584         the scrollbar buttons when they are depressed.
8585
8586 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8587
8588         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8589         Get the display size from the main displayid.  We currently dont
8590         support multiple display configurations.
8591
8592 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8593
8594         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8595
8596 2005-02-07  Miguel de Icaza  <miguel@novell.com>
8597
8598         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8599
8600 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
8601
8602         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8603
8604 2005-02-04  Jackson Harper  <jackson@ximian.com>
8605
8606         * ThemeWin32Classic.cs: Respect the clipping rect when
8607         drawing. Only fill the intersection of clips and rects so there
8608         isn't a lot of large fills.
8609         * ScrollBar.cs: Pass the correct clipping rect to the theme
8610         engine. Remove some debug code.
8611
8612 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
8613         
8614         * DateTimePicker.cs:
8615                 - Fixed crash on DateTime.Parse, use Constructor instead
8616
8617 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8618         
8619         * MenuItem.cs:
8620         * MenuAPI.cs:
8621                 - Owner draw support (MeasureItem and DrawItem)
8622
8623 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8624         
8625         *  Menu.cs:
8626                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8627                 - Fixes MenuItems.Add range
8628         * MenuItem.cs:
8629                 - MergeMenu and Clone and CloneMenu functions
8630
8631 2005-02-03  Jackson Harper  <jackson@ximian.com>
8632
8633         * ScrollBar.cs: Make abstract
8634         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8635         is abstract.
8636
8637 2005-02-03  Jackson Harper  <jackson@ximian.com>
8638
8639         * ScrollBar.cs: First part of my scrollbar fixups. This removes
8640         all the unneeded refreshes and uses invalidates with properly
8641         computed rects.
8642
8643 2005-02-03  Peter Bartok  <pbartok@novell.com>
8644
8645         * ComponentModel.cs: Added
8646         * IDataGridEditingService.cs: Added
8647         * Timer.cs: Added missing attributes
8648         * ToolTip.cs: Added missing attributes
8649
8650 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
8651
8652         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8653
8654 2005-02-03  Peter Bartok  <pbartok@novell.com>
8655
8656         * ListBox.cs: Added missing attributes
8657
8658 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
8659         
8660         * ListBox.cs:
8661                 - Fixes font height after font change
8662                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8663                 
8664 2005-02-02  Peter Bartok  <pbartok@novell.com>
8665
8666         * HandleData.cs: Introduced static methods to allow class
8667           to be more self-contained and track it's own HandleData objects
8668         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8669           HandleData to use new static methods
8670
8671 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
8672
8673         * Combobox.cs:
8674                 - Fixes default size and PreferredHeight
8675                 - Missing events
8676                 - ObjectCollection.Insert implementation
8677                 
8678         * ListControl.cs
8679                 - Fixes signature
8680         * ListBox.cs:
8681                 - Several fixes
8682                 - ObjectCollection.Insert implementation
8683                 - No selection after clean
8684                 - Small fixes
8685
8686 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8687
8688         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8689
8690 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
8691
8692         * Combobox.cs:
8693                 - Caches ItemHeight calculation for OwnerDrawVariable
8694                 - Handles dropdown properly
8695                 - Fixes several minor bugs
8696
8697 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8698
8699         * ListBox.cs:
8700                 - Fixes 71946 and 71950
8701                 - Fixes changing Multicolumn on the fly
8702                 - Fixes keyboard navigation on Multicolumn listboxes
8703
8704 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8705         
8706         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8707         crash reporter log.
8708
8709 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8710
8711         * XplatUIOSX.cs: Allow applications to actually exit.
8712
8713 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8714
8715         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
8716         their parent at creation time rather than lazily later.  Fixes a major
8717         regression we were experiencing.
8718
8719 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8720
8721         * ThemeWin32Classic.cs: more date time picker painting fixes
8722         * DateTimePicker.cs: more monthcalendar drop down fixes
8723         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8724
8725 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8726
8727         * ScrollBar.cs:
8728                 - When moving the thumb going outside the control should stop the moving
8729                 - Adds the firing of missing events
8730                 - Fixes no button show if Size is not specified
8731                 - End / Home keys for keyboard navigation
8732
8733 2005-01-30  Peter Bartok  <pbartok@novell.com>
8734
8735         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8736           sanity check to prevent theoretical loop
8737         * XplatUIWin32.cs (SetVisible): Removed debug output
8738         * XplatUIX11.cs (SystrayChange): Added sanity check
8739         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8740         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8741           behaviour, valid until the X11 client window rewrite is done
8742         * TextBox.cs (ctor): Setting proper default foreground and background
8743           colors
8744
8745 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
8746
8747         * Theme: Added DrawDateTimePicker to interface
8748         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8749         * DateTimePicker.cs: Created (still needs keys and painting code)
8750         * DateTimePickerFormat.cs: added
8751         * MonthCalendar.cs: fixed CreateParams for popup window mode
8752           
8753 2005-01-29  Peter Bartok  <pbartok@novell.com>
8754
8755         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8756           this should also the calculations for ligher/darker
8757         * Theme.cs: Fixed defaults for ScrollBar widths/heights
8758
8759 2005-01-29  Peter Bartok  <pbartok@novell.com>
8760
8761         * ArrangeDirection.cs: Added
8762         * ArrangeStartingPositon.cs: Added
8763         * SystemInformation.cs: Implemented
8764         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8765           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8766           used by SystemInformation class
8767         * X11Strucs.cs: Added XSizeHints structure
8768         * MenuAPI.cs:
8769           - Fixed CreateParams to make sure the menu window is always visible
8770           - TrackPopupMenu: Added check to make sure we don't draw the
8771             menu offscreen
8772
8773 2005-01-29  Peter Bartok  <pbartok@novell.com>
8774
8775         * HandleData.cs: Added method for altering invalid area
8776         * TextBoxBase.cs: Implemented TextLength
8777
8778 2005-01-28  Peter Bartok  <pbartok@novell.com>
8779
8780         * XplatUIX11.cs: Improvement over last patch, not sending
8781           the WM_PAINT directly anymore, instead we scroll any pending
8782           exposed areas and let the system pick out the WM_PAINT later
8783
8784 2005-01-28  Peter Bartok  <pbartok@novell.com>
8785
8786         * SWF.csproj: Deleted, no longer used. Instead,
8787           Managed.Windows.Forms/SWF.csproj should be used
8788         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8789           directly, to avoid a potential race condition with the next
8790           scroll
8791
8792 2005-01-28  Peter Bartok  <pbartok@novell.com>
8793
8794         * XplatUI.cs: Made class internal
8795
8796 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
8797
8798         * CheckedListBox.cs:
8799                 - Draw focus
8800                 - Fixed Drawing
8801                 - Missing methods and events
8802
8803 2005-01-27  Peter Bartok  <pbartok@novell.com>
8804
8805         * Application.cs (Run): Don't use form if we don't have one
8806
8807 2005-01-27  Peter Bartok  <pbartok@novell.com>
8808
8809         * TextBoxBase.cs (get_Lines): Fixed index off by one error
8810
8811 2005-01-27  Peter Bartok  <pbartok@novell.com>
8812
8813         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8814         * GridItem.cs: Added; Patch by Jonathan S. Chambers
8815         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8816         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8817         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8818         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8819         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8820         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8821         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8822         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8823         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8824         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8825
8826 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8827
8828         * Combobox.cs:
8829                 - Draw focus on Simple Combobox
8830                 - Fixes drawing issues
8831                 - fixes 71834
8832
8833 2005-01-27  Peter Bartok  <pbartok@novell.com>
8834
8835         * Form.cs:
8836           - Place window in default location, instead of hardcoded 0/0
8837           - Send initial LocationChanged event
8838         * Control.cs:
8839           - UpdateBounds after creation to find out where the WM placed us
8840           - Make sure that if the ParentForm changes location the Form
8841             is notified
8842         * XplatUIX11.cs: XGetGeometry will not return the coords relative
8843             to the root, but to whatever the WM placed around us.
8844             Translate to root coordinates before returning toplevel
8845             coordinates
8846         * XplatUIWin32.cs: Removed debug output
8847         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8848           flag to GetWindowPos, to allow translation of coordinates on X11
8849
8850 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8851
8852         * ListBox.cs: connect LostFocus Event
8853
8854 2005-01-27  Peter Bartok  <pbartok@novell.com>
8855
8856         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8857           XplatUIX11.cs: Extended the Systray API
8858         * Form.cs: Removed debug output
8859         * Application.cs: Fixed focus assignment, always need to call
8860           XplatUI.Activate() since Form.Activate() has rules that may
8861           prevent activation
8862         * NotifyIcon.cs: Should be complete now
8863         * ToolTip.cs: Worked around possible timer bug
8864
8865 2005-01-27  Jackson Harper  <jackson@ximian.com>
8866
8867         * TabControl.cs:
8868         - Only invalidate the effected tabs when the
8869         selected index changes. This reduces drawing and gets rid of some
8870         flicker.
8871         - Only refresh if the tabs need to be shifted, otherwise only
8872         invalidate the slider button.
8873         - On windows the tabs are not filled to right if the slider is
8874         visible.
8875         
8876 2005-01-27  Jackson Harper  <jackson@ximian.com>
8877
8878         * TabControl.cs: Only refresh on mouseup if we are showing the
8879         slider. Also only invalidate the button whose state has changed.
8880
8881 2005-01-26  Peter Bartok  <pbartok@novell.com>
8882
8883         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8884         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8885           and SystrayRemove() methods
8886         * XplatUIOSX.cs: Stubbed Systray methods
8887         * XplatUIX11.cs:
8888           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8889             methods
8890           - Fixed broken XChangeProperty calls (marshalling messed up things)
8891         * X11Structs.cs: Added enums and structs required for Size hinting
8892         * NotifyIcon.cs: Added & implemented
8893
8894 2005-01-26  Jackson Harper  <jackson@ximian.com>
8895
8896         * TabControl.cs: Space vertically layed out tabs properly.
8897
8898 2005-01-26  Peter Bartok  <pbartok@novell.com>
8899
8900         * Form.cs (CreateClientParams): Always set the location to 0,0
8901           since we're a child window.
8902
8903         * Control.cs (SetVisibleCore): Always explicitly setting the location
8904           of a toplevel window, apparently X11 doesn't like to move windows
8905           while they're not mapped.
8906
8907 2005-01-26  Jackson Harper  <jackson@ximian.com>
8908
8909         * TabControl.cs: Implement FillToRight size mode with vertically
8910         rendered tabs.
8911
8912 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8913
8914         * ControlPaint.cs, ThemeWin32Classic.cs
8915                 - Fixes DrawFocusRectangle
8916
8917 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8918
8919         * MenuAPI.cs:
8920                 - MenuBar tracking only starts when item is first clicked
8921                 - Fixes menu hidding for multiple subitems
8922                 - Unselect item in MenuBar when item Executed
8923                 - Fixes bug 71495
8924
8925 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8926
8927         * ListControl.cs:
8928                 - IsInputKey for ListBox
8929         * ListBox.cs:
8930                 - Focus item
8931                 - Shift and Control item selection
8932                 - Implement SelectionMode.MultiExtended
8933                 - Fixes RightToLeft
8934         * ComboBox.cs:
8935                 - IsInputKey implemented
8936                 - Do not generate OnTextChangedEdit on internal txt changes
8937                 
8938 2005-01-23  Peter Bartok  <pbartok@novell.com>
8939
8940         * AccessibleObject.cs: Partially implemented Select()
8941         * MonthCalendar.cs: Added missing attributes and events
8942         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8943           form can properly override CreateParams.
8944         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8945           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8946           Control performs Invalidate & Update
8947         * NativeWindow (CreateHandle): Added special handling for Form
8948           and Form.FormParent classes to allow overriding of From.CreateParams
8949         * Control.cs:
8950           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8951             name 'owner'
8952           - ControlNativeWindow: Added Owner property
8953           - Removed usage of Refresh() on property changes, changed into
8954             Invalidate(), we need to wait until the queue is processed for
8955             updates, direct calls might cause problems if not all vars for
8956             Paint are initialized
8957           - Added call to UpdateStyles() when creating the window, to set any
8958             styles that CreateWindow might have ignored.
8959           - Added support for Form CreateParent overrides to UpdateStyles()
8960         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8961           CreateParams are now properly overridable
8962         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8963           CreateParams are now properly overridable
8964
8965 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8966
8967         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8968         OnTextBoxChanged.
8969
8970         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8971         recursive invocation that I have not figured out yet.
8972
8973         Reset the timer when not using (it was accumulating).
8974
8975
8976         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8977         user has made changes that require validation.
8978
8979         Reset changing to avoid loops.
8980
8981 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8982
8983         * NumericUpDown.cs: Display value at startup.
8984
8985         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8986         ValidateEditText.
8987
8988         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8989         filled in.  Added some basic parsing of text.
8990
8991         Still missing the OnXXX method overrides, and figuring out the
8992         events that must be emitted.
8993
8994         * UpDownBase.cs: Handle UserEdit on the Text property.
8995         
8996 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8997
8998         * ComboBox.cs:
8999           - Fixes IntegralHeight
9000           - ToString method
9001
9002 2005-01-21  Jackson Harper  <jackson@ximian.com>
9003
9004         * TabControl.cs: Set the SelectedIndex property when SelectedTab
9005         is set so that the page visibility is updated and the tabs are
9006         sized correctly.
9007
9008 2005-01-21  Jackson Harper  <jackson@ximian.com>
9009
9010         * TabControl.cs: Use cliping rectangle for blitting. Give the
9011         theme the clipping rect so we can do clipping while
9012         drawing. Remove some debug code.
9013
9014 2005-01-21  Jackson Harper  <jackson@ximian.com>
9015
9016         * TabPage.cs: Add a new method so tab pages can force the tab
9017         control to recalculate the tab page sizes.
9018         * TabControl.cs: UpdateOwner needs to make the tab control recalc
9019         sizes.
9020
9021 2005-01-20  Jackson Harper  <jackson@ximian.com>
9022
9023         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9024
9025 2005-01-20  Jackson Harper  <jackson@ximian.com>
9026
9027         * TreeView.cs: Set the bounds for nodes properly. They were
9028         getting screwed up when checkboxes were not enabled, but images
9029         were.
9030
9031 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
9032
9033         * ListBox.cs:
9034                 - Owner draw support
9035                 - Fixes
9036                 
9037 2005-01-20  Jackson Harper  <jackson@ximian.com>
9038
9039         * XplatUIStructs.cs: More misc keys
9040         * X11Keyboard.cs: Ignore some control keys.
9041
9042 2005-01-20  Jackson Harper  <jackson@ximian.com>
9043
9044         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9045         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9046
9047 2005-01-19  Peter Bartok  <pbartok@novell.com>
9048
9049         * Control.cs: Un-selecting the control when it is loosing focus
9050
9051 2005-01-19  Jackson Harper  <jackson@ximian.com>
9052
9053         * TreeView.cs: Hook up to the text controls leave event so we can
9054         end editing when the users clicks outside the text box.
9055         
9056 2005-01-19  Jackson Harper  <jackson@ximian.com>
9057
9058         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9059         get set in the conversion array.
9060
9061 2005-01-19  Peter Bartok  <pbartok@novell.com>
9062
9063         * Application.cs (ModalRun): Added a call to CreateControl to ensure
9064           focus is properly set
9065         * Button.cs:
9066           - Added missing attributes
9067           - removed styles, those are already set in the base class
9068         * ButtonBase.cs:
9069           - Added missing attributes
9070           - Added clip window styles
9071         * CheckBox.cs: Added missing attributes
9072         * CommonDialog.cs:
9073           - FormParentWindow.CreateParams: Added required clip styles
9074         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9075           also filters modifier keys
9076         * MessageBox.cs:
9077           - Added assignment of Accept and Cancel button to enable Enter
9078             and Esc keys in MessageBox dialogs
9079           - FormParentWindow.CreateParams: Added required clip styles
9080         * RadioButton.cs: Added missing attributes
9081         * TextControl.cs: No longer draws selection if control does not
9082           have focus
9083         * TextBoxBase.cs:
9084           - Now draws simple rectangle around test area to make it obvious
9085             there's a control. This is a hack until we properly support borders
9086           - A few simple fixes to support selections better, now erases selected
9087             text when typing, and resets selection when using movement keys
9088
9089 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
9090
9091         * UpDownBase.cs: Added some new properties.
9092
9093         * DomainUpDown.cs: Implement a lot to get my test working.
9094
9095 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
9096
9097         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9098
9099 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
9100
9101         * OSXStructs (WindowAttributes): Fixed csc complaints
9102
9103 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
9104
9105         * XplayUIOSX.cs:
9106           OSXStructs.cs: Initial refactor to move enums and consts into
9107           OSXStructs and use them in the driver for greater readability.
9108
9109 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
9110
9111         * XplatUIOSX.cs: Initial support for Standard Cursors.
9112         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9113
9114 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
9115
9116         * ComboBox.cs: ability to change style when the ctrl is already
9117         created, missing methods and events, bug fixes, signature fixes
9118
9119 2005-01-19  Peter Bartok  <pbartok@novell.com>
9120
9121         * Cursors.cs (ctor): Added ctor to fix signature
9122
9123 2005-01-18  Peter Bartok  <pbartok@novell.com>
9124
9125         * Button.cs: Implemented DoubleClick event
9126         * ButtonBase.cs:
9127           - Fixed keyboard handling to behave like MS, where the press of
9128             Spacebar is equivalent to a mousedown, and the key release is
9129             equivalent to mouseup. Now a spacebar push will give the same
9130             visual feedback like a mouse click.
9131           - Added missing attributes
9132           - Added ImeModeChanged event
9133           - Added support for generating DoubleClick event for derived classes
9134         * CheckBox.cs:
9135           - Implemented DoubleClick event
9136           - Added missing attributes
9137         * CommonDialog.cs: Added missing attribute
9138         * ContextMenu.cs: Added missing attributes
9139         * RadioButton.cs:
9140           - AutoChecked buttons do not allow to be unselected when clicked
9141             (otherwise we might end up with no selected buttons in a group)
9142           - Added missing attributes
9143           - Implemented DoubleClickEvent
9144         * ThreadExceptionDialog.cs: Enabled TextBox code
9145
9146 2005-01-18  Peter Bartok  <pbartok@novell.com>
9147
9148         * Form.cs: Removed debug output
9149         * Button.cs: Added support for DoubleClick method
9150
9151 2005-01-18  Peter Bartok  <pbartok@novell.com>
9152
9153         * Form.cs:
9154           - Added method to parent window that allows triggering size
9155             calculations when a menu is added/removed
9156           - set_Menu: Cleaned up mess from early days of Form and Control,
9157             now properly triggers a recalc when a menu is added/removed
9158           - Added case to select form itself as focused form if no child
9159             controls exist
9160           - Added PerformLayout call when showing dialog, to ensure properly
9161             placed controls
9162         * Control.cs:
9163           - Select(): Made internal so Form can access it
9164           - Focus(): Only call Xplat layer if required (avoids loop), and sets
9165             status
9166         * Application.cs (Run): Removed hack and calls PerformLayout instead
9167           to trigger calculation when Form becomes visible
9168
9169 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
9170
9171         * ComboBox.cs: fixes for ownerdraw
9172
9173 2005-01-18  Peter Bartok  <pbartok@novell.com>
9174
9175         * TextControl.cs:
9176           - Sentinel is no longer static, each Document gets it's own, this
9177             avoids locking or alternatively overwrite problems when more
9178             than one text control is used simultaneously.
9179           - Switched to use Hilight and HilightText brushes for text selection
9180
9181         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9182
9183 2005-01-18  Peter Bartok  <pbartok@novell.com>
9184
9185         * Control.cs:
9186           - Hooked up the following events:
9187                 o ControlAdded
9188                 o ControlRemoved
9189                 o HandleDestroyed
9190                 o ImeModeChanged
9191                 o ParentChanged
9192                 o TabStopChanged
9193                 o Invalidated
9194                 o SystemColorsChanged
9195                 o ParentFontChanged
9196                 o Move
9197           - Removed debug output
9198           - Added a call to the current theme's ResetDefaults when a color change
9199             is detected
9200         * Form.cs: Now setting the proper ImeMode
9201         * Theme.cs: Defined a method to force recreation of cached resources
9202           and rereading of system defaults (ResetDefaults())
9203         * ThemeWin32Classic.cs: Added ResetDefaults() stub
9204
9205 2005-01-17  Peter Bartok  <pbartok@novell.com>
9206
9207         * Control.cs: Added missing attributes
9208
9209 2005-01-17  Jackson Harper  <jackson@ximian.com>
9210
9211         * TreeNode.cs: Implement editing. Add missing properties selected
9212         and visible.
9213         * TreeView.cs: Implement node editing. Also some fixes to use
9214         Invalidate (invalid area) instead of Refresh when selecting.
9215
9216 2005-01-17  Peter Bartok  <pbartok@novell.com>
9217
9218         * Control.cs:
9219           - Implemented InvokeGotFocus() method
9220           - Implemented InvokeLostFocus() method
9221           - Implemented InvokePaint() method
9222           - Implemented InvokePaintBackground() method
9223           - Implemented InvokeClick() method
9224           - Implemented FindForm() method
9225           - Implemented RectangleToClient() method
9226           - Implemented ClientToRectangle() method
9227           - Implemented ResetBackColor() method
9228           - Implemented ResetCursor() method
9229           - Implemented ResetFont() method
9230           - Implemented ResteForeColor() method
9231           - Implemented ResetImeMode() method
9232           - Implemented ResetLeftToRight() method
9233           - Implemented ResetText() method
9234           - Implemented Scale() methods
9235           - Implemented ScaleCore() method
9236           - Implemented Update() method
9237           - Removed unused variables
9238           - Stubbed AccessibilityNotifyClients and
9239             ControlAccessibleObject.NotifyClients() methods (dunno what to do
9240             with those yet)
9241           - Now setting proper default for RightToLeft property
9242           - Fixed bug in SetClientSizeCore that would cause windows to get
9243             really big
9244           - Now sending Click/DoubleClick events
9245           - Now selecting controls when left mouse button is clicked on
9246             selectable control
9247         * AccessibleEvents.cs: Added
9248         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9249         * XplatUIOSX.cs: Stubbed UpdateWindow() method
9250         * XplatUIWin32.cs: Implemented UpdateWindow() method
9251         * XplatUIX11.cs: Implemented UpdateWindow() method
9252         * Form.cs: Removed stray semicolon causing CS0162 warning
9253         * ThemeWin32Classic.cs: Fixed unused variable warnings
9254         * ScrollableControl.cs: Now calls base method for ScaleCore
9255         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9256           style to avoid interference with internal click handler (which is
9257           different than standard Control click handling)
9258         * RadioButton.cs:
9259           - Now unchecks all sibling radio buttons when control is
9260             selected (Fixes #68756)
9261           - Removed internal tabstop variable, using the one inherited from
9262             Control
9263
9264 2005-01-17  Jackson Harper  <jackson@ximian.com>
9265
9266         * NavigateEventArgs.cs: Fix base type.
9267         * LinkLabel.cs: Sig fix
9268         
9269 2005-01-17  Jackson Harper  <jackson@ximian.com>
9270
9271         * TreeView.cs: Only invalidate the effected nodes bounds when
9272         selecting nodes.
9273
9274 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
9275
9276         * XplatUIWin32.cs: fixes Win32 marshaling
9277         * XplatUIX11.cs: fixes method signature
9278
9279 2005-01-17  Peter Bartok  <pbartok@novell.com>
9280
9281         * XplatUIX11.cs: Clean up resources when we no longer need them
9282
9283 2005-01-17  Peter Bartok  <pbartok@novell.com>
9284
9285         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9286           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9287           and DestroyCursor() methods.
9288         * Cursor.cs: Partially implemented, now supports standard cursors;
9289           still contains some debug code
9290         * Cursors.cs: Implemented class
9291         * Control.cs:
9292           - WndProc(): Added handling of WM_SETCURSOR message, setting the
9293             appropriate cursor
9294           - Implemented Cursor property
9295           - Replaced break; with return; more straightforwar and possibly
9296             faster
9297           - Now properly setting the result for WM_HELP
9298         * X11Structs.cs: Added CursorFontShape enum
9299         * XplatUIStructs.cs:
9300           - Added StdCursor enum (to support DefineStdCursor() method)
9301           - Added HitTest enum (to support sending WM_SETCURSOR message)
9302         * XplatUIX11.cs:
9303           - Now sends the WM_SETCURSOR message
9304           - Implemented new cursor methods
9305         * XplatUIOSX.cs: Stubbed new cursor methods
9306         * XplatUIWin32.cs:
9307           - Implemented new cursor methods
9308           - Added GetSystemMetrics function and associated enumeration
9309
9310 2005-01-15  Peter Bartok  <pbartok@novell.com>
9311
9312         * Control.cs:
9313           - WndProc(): Now handles EnableNotifyMessage
9314           - SelectNextControl(): Fixed bug where if no child or sibling
9315             controls exist we looped endlessly
9316
9317 2005-01-14  Jackson Harper  <jackson@ximian.com>
9318
9319         * TreeView.cs: Recalculate the tab pages when a new one is added
9320         so that the proper bounding rects are created.
9321
9322 2005-01-14  Jackson Harper  <jackson@ximian.com>
9323
9324         * TreeView.cs: Draw a gray box instead of a grip in the lower
9325         right hand corner when there are both horizontal and vertical
9326         scroll bars.
9327
9328 2005-01-14  Jackson Harper  <jackson@ximian.com>
9329
9330         * Control.cs: When erasing backgrounds use FromHwnd instead of
9331         FromHdc when there is a NULL wparam. This occurs on the X driver.
9332         * XplatUIX11.cs: Set the wparam to NULL.
9333
9334 2005-01-13  Jackson Harper  <jackson@ximian.com>
9335
9336         * PictureBox.cs: Implement missing methods (except ToString, need
9337         to test that on windows) and events. When visibility is changed we
9338         need to redraw the image because the buffers are killed. When size
9339         is changed refresh if the sizemode needs it.
9340
9341 2005-01-13  Peter Bartok  <pbartok@novell.com>
9342
9343         * Control.cs (SelectNextControl): Was using wrong method to select
9344           a control
9345
9346 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
9347
9348         * ComboBox.cs: fixes dropstyle
9349
9350 2005-01-13  Peter Bartok  <pbartok@novell.com>
9351
9352         * Form.cs:
9353           - Implemented Select() override
9354           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9355           - Now sets keyboard focus on startup
9356         * Control.cs (SelectNextControl): Now properly handles directed=true
9357         * TextBoxBase.cs:
9358           - WndProc: Now passes tab key on to base if AcceptTabChar=false
9359           - Added (really bad) focus rectangle (mostly for testing)
9360         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9361           to enforce redraw on focus changes
9362         * ContainerControl.cs:
9363           - Fixed detection of Shift-Tab key presses
9364           - Fixed traversal with arrow keys
9365         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9366           gonna keep this or if it's complete yet
9367         
9368 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
9369
9370         * ComboBox.cs: missing properties, fixes
9371
9372 2005-01-13  Peter Bartok  <pbartok@novell.com>
9373
9374         * Panel.cs (ctor): Setting Selectable window style to off
9375         * Splitter.cs (ctor): Setting Selectable window style to off
9376         * GroupBox.cs (ctor): Setting Selectable window style to off
9377         * Label.cs (ctor): Setting Selectable window style to off
9378
9379 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
9380
9381         * UpDownBase.cs (InitTimer): If the timer has been already
9382         created, enable it.
9383
9384         Use a TextBox instead of a Label.
9385
9386 2005-01-12  Jackson Harper  <jackson@ximian.com>
9387
9388         * TreeView.cs: Refresh the tree after sorting the nodes. Always
9389         draw the connecting node lines (when ShowLines is true).
9390         * TreeNode.cs: The nodes index can now be updated. This is used
9391         when a node collection is sorted.
9392         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9393         insert or an existing unsorted node collection can be sorted.
9394         
9395 2005-01-12  Peter Bartok  <pbartok@novell.com>
9396
9397         * ContainerControl.cs: Implemented ProcessDialogKeys()
9398
9399 2005-01-12  Peter Bartok  <pbartok@novell.com>
9400
9401         * Control.cs:
9402           - Implemented SelectNextControl() method
9403           - Several focus related bug fixes
9404           - Fixed Docking calculations to match MS documentation and
9405             behaviour
9406
9407 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
9408
9409         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9410         bug fixes
9411
9412 2005-01-12  Peter Bartok  <pbartok@novell.com>
9413
9414         * Control.cs:
9415           - Fixed broken Contains() method
9416           - Implemented GetNextControl() method. Finally. This is the pre-
9417             requisite for focus handling.
9418
9419 2005-01-12  Peter Bartok  <pbartok@novell.com>
9420
9421         * OSXStrucs.cs: Added
9422
9423 2005-01-12  Peter Bartok  <pbartok@novell.com>
9424
9425         * XplatUIWin32.cs:
9426           - Removed PeekMessageFlags
9427           - Implemented SetWindowStyle() method
9428         * XplatUIStructs.cs: Added PeekMessageFlags
9429         * X11Structs: Added missing border_width field to XWindowChanges struct
9430         * XplatUIX11.cs:
9431           - PeekMessage: Now throws exception if flags which are not yet
9432             supported are passed
9433           - Implemented SetWindowStyle() method
9434           - Fixed SetZOrder to handle AfterHwnd properly
9435         * XplatUI.cs: Added SetWindowStyle() method
9436         * XplatUIDriver.cs: Added SetWindowStyle() abstract
9437         * Control.cs:
9438           - Implemented UpdateStyles() method
9439           - Implemented UpdateZOrder() method
9440         * XplatUIOSX.cs: Added SetWindowStyle() stub
9441
9442 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
9443
9444         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9445         button mouse).
9446
9447
9448 2005-01-11  Jackson Harper  <jackson@ximian.com>
9449
9450         * TreeView.cs: Still need to draw lines to siblings even if out of
9451         the current node is out of the clip.
9452
9453 2005-01-11  Jackson Harper  <jackson@ximian.com>
9454
9455         * TreeView.cs: When setting the hbar/vbar/grip position use
9456         SetBounds so that perform layout is only called once. Also suspend
9457         and resume layout so layout is only done once for all controls.
9458         - Removed some debug fluff
9459         * SizeGrip.cs: Call base implmentation in overriding methods.
9460         - When visibility is changed the drawing buffers are killed so we
9461         need to redraw.
9462
9463 2005-01-11  Jackson Harper  <jackson@ximian.com>
9464
9465         * TreeView.cs: Calculate the open node count while drawing. This
9466         saves us an entire tree traversal for every paint operation. Use
9467         a member var for the open node count so less vars are passed around.
9468
9469 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
9470
9471         * MonthCalendar.cs:
9472         - fixed selection to use mousemove, not mouse polling on timer
9473         * ThemeWin32Classic.cs
9474         - removed redundant unused variable "no_more_content"
9475         
9476 2005-01-11  Peter Bartok  <pbartok@novell.com>
9477
9478         * XplatUIX11.cs (DoEvents): Needs to return when no more events
9479           are pending, so it now calls PeekMessage instead of GetMessage;
9480           implemented a incomplete version of PeekMessage
9481         
9482 2005-01-11  Peter Bartok  <pbartok@novell.com>
9483
9484         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9485           I18n issues
9486         * TextBoxBase.cs: Added sending of TextChanged event
9487
9488 2005-01-10  Jackson Harper  <jackson@ximian.com>
9489
9490         * TreeView.cs: Try not to draw outside the clipping rectangle on
9491         each node element.
9492
9493 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
9494
9495         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9496
9497 2005-01-10  Jackson Harper  <jackson@ximian.com>
9498
9499         * TreeView.cs:
9500         - Implement fast scrolling. Now only the newly
9501         exposed nodes are drawn and the old image is moved using the
9502         XplatUI::ScrollWindow method.
9503         - Factor in height of nodes when calculating whether or not the
9504         node is in the clipping rect.
9505
9506 2005-01-10  Jackson Harper  <jackson@ximian.com>
9507
9508         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9509
9510 2005-01-10  Peter Bartok  <pbartok@novell.com>
9511
9512         * Application.cs: Added temporary hack to resolve all our resize
9513           required issues on startup. This will get fixed properly at
9514           some point in the future
9515
9516 2005-01-10  Jackson Harper  <jackson@ximian.com>
9517
9518         * SizeGrip.cs: New internal class that is used as a sizing
9519         grip control...hence the name.
9520
9521 2005-01-10  Peter Bartok  <pbartok@novell.com>
9522
9523         * Control.cs: Implemented proper TabIndex handling, now assigning
9524           a tabindex when a control is added to a container
9525         * GroupBox.cs (ctor): Now sets the Container style bit, required
9526           for Control.GetNextControl()
9527
9528 2005-01-09  Jackson Harper  <jackson@ximian.com>
9529
9530         * TextBoxBase.cs: Clear window when scrolling (fixes build).
9531
9532 2005-01-09  Peter Bartok <pbartok@novell.com>
9533
9534         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9535           XplatUIX11.cs: Added ability to control ScrollWindow expose and
9536           an overload for ScrollWindow to allow only scrolling a rectangle
9537
9538 2005-01-09  Peter Bartok <pbartok@novell.com>
9539
9540         * Form.cs:
9541           - Implemented SetDesktopBounds method
9542           - Implemented SetDesktopLocation method
9543
9544 2005-01-08  Jackson Harper  <jackson@ximian.com>
9545
9546         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9547         the node count has changed, this removes to VScroll::Refresh calls
9548         when drawing.
9549
9550 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
9551
9552         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9553
9554 2005-01-07  Jackson Harper  <jackson@ximian.com>
9555
9556         * TreeNode.cs: Just update the single node when it is
9557         checked. Don't refresh after toggling, the Expand/Collapse already
9558         handles this.
9559         * TreeView.cs: Respect clipping a little more when drawing. Try
9560         not to redraw things that don't need to be redrawn. Just hide the
9561         scrollbars when they are no longer needed instead of removing
9562         them, so they don't have to be created again and again.
9563         
9564 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
9565
9566         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
9567         coordinates to window space to place the caret properly, FIXED.
9568         Implement GetWindowState & SetWindowState
9569
9570 2005-01-06  Peter Bartok <pbartok@novell.com>
9571
9572         * Form.cs:
9573           - Implemented ClientSize property
9574           - Implemented DesktopBounds property
9575           - Implemented DesktopLocation property
9576           - Implemented IsRestrictedWindow property
9577           - Implemented Size property
9578           - Implemented TopLevel property
9579           - Implemented FormWindowState property
9580         * Control.cs:
9581           - Implemented GetTopLevel() method
9582           - Implemented SetTopLevel() method
9583         * X11Structs.cs (Atom):
9584           - Added AnyPropertyType definition
9585           - Added MapState definiton and updated XWindowAttribute struct
9586         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9587         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9588         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9589         * XplatUIWin32.cs:
9590           - Implemented GetWindowState() and SetWindowState() methods
9591           - Fixed Win32GetWindowLong return type
9592         * XplatUIX11.cs:
9593           - Introduced central function for sending NET_WM messages
9594           - Implemented GetWindowState() and SetWindowState() methods
9595         * TextBoxBase.cs (set_Lines):
9596           - Now uses Foreground color for text added via Text property (Duh!)
9597           - Added code to remember programmatically requested size (fixes
9598             behaviour when Multiline is set after Size)
9599           - Added AutoSize logic
9600
9601 2005-01-06  Jackson Harper  <jackson@ximian.com>
9602
9603         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9604
9605 2005-01-06  Jackson Harper  <jackson@ximian.com>
9606
9607         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9608         set to less then 0.
9609
9610 2005-01-06  Jackson Harper  <jackson@ximian.com>
9611
9612         * ScrollableControl.cs: Lazy init the scrollbars.
9613         
9614 2005-01-06  Jackson Harper  <jackson@ximian.com>
9615
9616         * Theme.cs: Speed up getting pens and solid brushes, by using
9617         their ARGB as a hash instead of tostring and not calling Contains.
9618
9619 2005-01-06  Peter Bartok <pbartok@novell.com>
9620
9621         * Form.cs:
9622           - Implemented OnActivated and OnDeactivate event trigger
9623           - Implemented Activate() method
9624           - Fixed ShowDialog() to activate the form that was active before
9625             the dialog was shown
9626         * XplatUIX11.cs:
9627           - Added global active_window var that tracks the currently active
9628             X11 window
9629           - Now always grabs Property changes from the root window to always
9630             catch changes on the active window property
9631           - Added code to PropertyNotify handler to send Active/Inactive
9632             messages when state changes. This puts X11 and Win32 en par on
9633             WM_ACTIVATE notifications (except for double notifications when
9634             the user clicks away from our modal window to another one of our
9635             windows)
9636
9637 2005-01-05  Jackson Harper  <jackson@ximian.com>
9638
9639         * ImageList.cs: Implment ctor
9640
9641 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9642
9643         * XplatUIOSX.cs: Implement Activate/SetTopmost
9644
9645 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9646
9647         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9648
9649 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9650
9651         * XplatUIOSX.cs: Implement GetActive/SetFocus.
9652
9653 2005-01-05  Peter Bartok <pbartok@novell.com>
9654
9655         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9656           XplatUIOSX.cs: Added GetActive method to return the currently
9657           active window for the application (or null, if none is active)
9658         * Form.cs:
9659           - Implemented ActiveForm
9660           - Commented out owner assignment for modal dialogs (causes problems
9661             on Win32, since the owner will be disabled)
9662           - Reworked some Active/Focus handling (still incomplete)
9663         * CommonDialog.cs: Commented out owner assignment for modal dialogs
9664           (causes problems on Win32, since the owner will be disabled)
9665         * IWin32Window: Added ComVisible attribute
9666
9667 2005-01-05  Peter Bartok <pbartok@novell.com>
9668
9669         * ToolTip.cs (WndProc): Enable setting focus now that we have the
9670           required XplatUI functions.
9671
9672 2005-01-05  Peter Bartok <pbartok@novell.com>
9673
9674         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9675           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9676           to implement focus and activation handling; still incomplete and
9677           with debug output
9678
9679 2005-01-04  Peter Bartok <pbartok@novell.com>
9680
9681         * TextBoxBase.cs: Changed access level for Document property to
9682           match switch to internal for TextControl
9683
9684 2005-01-04  Peter Bartok <pbartok@novell.com>
9685
9686         * AccessibleObject: Added ComVisible attribute
9687
9688 2005-01-04  Jackson Harper  <jackson@ximian.com>
9689
9690         * X11Keyboard.cs: Remove unneeded var.
9691
9692 2005-01-04  Jackson Harper  <jackson@ximian.com>
9693
9694         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9695         but PAINT.
9696         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9697         ClientMessage. This makes apps exit cleanly (more often).
9698         
9699 2005-01-04  Jackson Harper  <jackson@ximian.com>
9700
9701         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9702         handling focus, return correct colors and fonts,
9703         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9704         handle selection, horizontal scrolling, and mouse interaction.
9705
9706 2005-01-04  Peter Bartok <pbartok@novell.com>
9707
9708         * ICommandExecutor.cs: Added
9709         * IDataGridColumnStyleEditingNotificationService.cs: Added
9710         * IFeatureSupport.cs: Added
9711         * IFileReaderService.cs: Added
9712         * IDataObject.cs: Added ComVisible attribute
9713         * AmbientProperties.cs: Added
9714         * BaseCollection.cs: Added missing attributes
9715         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9716         * BaseCollection.cs: Added missing attributes
9717         * Binding.cs: Added TypeConverter attribute
9718         * BindingContext.cs: Added DefaultEvent attribute
9719         * BindingsCollection.cs: Added DefaultEvent attribute
9720         * Button.cs: Added DefaultValue attribute
9721         * DragEventArgs.cs: Added ComVisible attribute
9722         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9723         * KeyEventArgs.cs: Added ComVisible attribute
9724         * KeyPressEventArgs.cs: Added ComVisible attribute
9725         * MouseEventArgs.cs: Added ComVisible attribute
9726         * NavigateEventArgs.cs: Added
9727         * NavigateEventHandler.cs: Added
9728         * FeatureSupport.cs: Added
9729         * OSFeature.cs: Added
9730         * Theme.cs: Added abstract Version property to support OSFeature
9731         * ThemeWin32Classic.cs: Added Version property to
9732           support OSFeature.Themes
9733         * ProgressBar.cs: Removed OnPaintBackground override, not required since
9734           the proper styles to avoid background drawing are set, also doesn't
9735           match MS signature
9736         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9737         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9738         * ScrollEventArgs.cs: Added ComVisible attribute
9739         * SplitterEventArgs.cs: Added ComVisible attribute
9740         * AccessibleSelection.cs: Added Flags attribute
9741         * Appearance.cs: Added ComVisible attribute
9742         * Border3DSide.cs: Added ComVisible attribute
9743         * Border3DStyle.cs: Added ComVisible attribute
9744         * BorderStyle.cs: Added ComVisible attribute
9745         * DragAction.cs: Added ComVisible attribute
9746         * ErrorBlinkStyle.cs: Added
9747         * ScrollEventType.cs: Added ComVisible attribute
9748         * AnchorStyles.cs: Added Editor attribute
9749         * DockStyle.cs: Added Editor attribute
9750         * HorizontalAlignment.cs: Added ComVisible attribute
9751         * HelpEventArgs.cs: Added ComVisible attribute
9752         * PaintEventArgs.cs: Added IDisposable
9753
9754 2005-01-04  Peter Bartok <pbartok@novell.com>
9755
9756         * TextControl.cs: Switched Line, LineTag and Document classes to
9757           internal
9758
9759 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9760
9761         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9762         Simple mode, fixes, IntegralHeight, etc.
9763
9764 2005-01-04  Peter Bartok <pbartok@novell.com>
9765
9766         * TextBoxBase.cs: Using proper font variable now
9767
9768 2005-01-04  Peter Bartok <pbartok@novell.com>
9769
9770         * Form.cs (ShowDialog): Set parent to owner, if provided
9771         * GroupBox.cs: Removed unused vars
9772         * TextControl.cs:
9773           - Added GetHashCode() for Document and LineTag classes
9774           - Removed unused variables
9775           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9776             to allow translation between continuous char position and line/pos
9777         * CheckBox.cs: Removed vars that are provided by base class
9778         * RadioButton.cs: Removed vars that are provided by base class, added
9779           new keyword where required
9780         * LinkLabel.cs: Added new keyword where required
9781         * Control.cs (WndProc): Removed unused variable
9782         * TextBoxBase.cs:
9783           - Finished SelectionLength property
9784           - Implemented SelectionStart property
9785           - Implemented Text property
9786           - Removed unused vars
9787         * MessageBox.cs: Added new keyword where required
9788         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9789           WndProc signature
9790         * MenuAPI.cs: Added new keyword where required
9791         * ButtonBase.cs: Removed vars that are provided by base class, added
9792           new keyword where required
9793         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9794           argument to double, to allow compiling with csc 2.0 (Atsushi ran
9795           into this)
9796         * Application.cs (Run): Now triggers the ThreadExit event
9797         * CommonDialog.cs: Added new keyword where required; now properly sets
9798           parent (owner) for dialog
9799         * XplatUIX11.cs: Commented out unused vars
9800         * StatusBar.cs: Fixed signature for Text property
9801         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9802
9803 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9804
9805         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9806         TrackBar.cs, MonthCalendar.cs: remove unused vars
9807
9808 2005-01-03  Jackson Harper  <jackson@ximian.com>
9809
9810         * ThemeWin32Classic.cs:
9811         * X11Keyboard.cs: Remove unused vars.
9812
9813 2005-01-03  Peter Bartok  <pbartok@novell.com>
9814
9815         * TextBox.cs:
9816           - set_Text: Tied into TextControl
9817           - set_TextAlignment: Tied into TextControl
9818         * TextControl.cs:
9819           - Added alignment properties and implemented alignment handling
9820             and drawing (still has a bug, not generating proper expose events)
9821           - Added new Line() constructor to allow passing the line alignment
9822           - Fixed selection setting, properly handling end<start now
9823           - Added aligment considerations to RecalculateDocument()
9824         * TextBoxBase.cs:
9825           - Now properly enforces control height for single line controls
9826           - Added support for CharacterCasing
9827           - Added IsInputKey override
9828           - Fixed Keys.Enter logic
9829           - Added SetBoundsCore override
9830           - Fixed mouse selection handling
9831
9832 2005-01-03  Jackson Harper  <jackson@ximian.com>
9833
9834         * TreeView.cs:
9835           - Collapse and uncheck all nodes when CheckBoxes is disabled.
9836           - Checkboxes are always aligned to the bottom of the node,
9837           regardless of item height.
9838           - Use the node bounds to draw the text so we can center it when
9839           the item height is greater then the font height.
9840           - Node::Bounds are only the text part of the node.
9841         * TreeNode.cs: New method to combine collapsing and unchecking all
9842           nodes recursively.
9843
9844 2005-01-02  Jackson Harper  <jackson@ximian.com>
9845
9846         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9847         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9848         tree when a check is changed. TODO: Only refresh the checked node.
9849
9850 2004-12-30  Jackson Harper  <jackson@ximian.com>
9851
9852         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9853         * TreeNode.cs: When collapsing make sure to never collapse the
9854         root node.
9855
9856 2004-12-29  Jackson Harper  <jackson@ximian.com>
9857
9858         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9859         
9860 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
9861
9862         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9863
9864 2004-12-28  Peter Bartok  <pbartok@novell.com>
9865
9866         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9867           not yet assigned
9868
9869 2004-12-28  Peter Bartok  <pbartok@novell.com>
9870
9871         * Control.cs (WndProc): Added WM_HELP handler, now generates
9872           HelpRequested event
9873         * Form.cs: Added HelpButton property and required support code
9874         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9875
9876 2004-12-28  Peter Bartok  <pbartok@novell.com>
9877
9878         * CommonDialog.cs:
9879           - Made DialogForm.owner variable internal
9880           - Added check to ensure owner form is set before setting
9881             owner properties in CreateParams
9882
9883 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
9884
9885         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
9886           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
9887           GetCursorPos.  Fix major visibility issues.  Rework the windowing
9888           system to support borderless/titleless windows (implements menus).
9889           Fix GetWindowPos.  Implement initial background color support for
9890           views.
9891
9892 2004-12-28  Peter Bartok  <pbartok@novell.com>
9893
9894         * Form.cs (get_CreateParams): Make sure we have an owner before using
9895           the owner variable. Implement proper default if no owner exists
9896
9897 2004-12-28  Peter Bartok  <pbartok@novell.com>
9898
9899         * In preparation for making Managed.Windows.Forms the default build target
9900           for System.Windows.Forms, the following stubbed files were added.
9901           Dialogs are currently being implemented by contributors and are only
9902           short-term place holders.
9903         * ColorDialog.cs: Initial check-in (minmal stub)
9904         * DataGrid.cs: Initial check-in (minimal stub)
9905         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9906         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9907         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9908         * FontDialog.cs: Initial check-in (minimal stub)
9909         * FileDialog.cs: Initial check-in (minimal stub)
9910         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9911         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9912         * OpenFileDialog: Initial check-in (minimal stub)
9913         * IComponentEditorPageSite.cs: Initial check-in
9914         * Splitter.cs: Initial check-in (for Jackson)
9915         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9916         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9917         * TextBox.cs: Initial check-in; still needs some wiring to
9918           TextControl backend
9919         * Form.cs: Implemented ControlBox property
9920         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9921         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9922         * TextControl.cs: Added selection functionality; added todo header
9923         * TextBoxBase.cs:
9924           - Implemented Lines property
9925           - Implemented TextHeight property
9926           - Implemented SelectedText property
9927           - Implemented SelectionLength property
9928           - Implemented SelectAll method
9929           - Implemented ToString method
9930           - Removed and cleaned up some debug code
9931           - Implemented (still buggy) mouse text selection
9932
9933 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9934
9935         * ComboBox.cs: Complete DropDownList implementation, fixes.
9936
9937 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9938
9939         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9940         * ComboBoxStyle.cs: ComboBoxStyle enum
9941         * ComboBox.cs: Initial work on ComboBox control
9942
9943 2004-12-21  Peter Bartok  <pbartok@novell.com>
9944
9945         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9946           forward so that anything that creates a window gets the default,
9947           also no longer uses Visible property in CreateParams to avoid
9948           walking up the parent chain and possibly get the wrong visible
9949           status. Fixed IsVisible to no longer walk up to the parent.
9950
9951 2004-12-21  Peter Bartok  <pbartok@novell.com>
9952
9953         * Form.cs (ShowDialog): Unset modality for the proper window
9954  
9955 2004-12-20  Peter Bartok  <pbartok@novell.com>
9956
9957         * CommonDialog.cs: Initial check-in
9958
9959 2004-12-20  Peter Bartok  <pbartok@novell.com>
9960
9961         * Control.cs (Visible): Now uses the parent window instead of the
9962           client area window for the property
9963
9964         * Form.cs
9965           - ShowDialog(): Now uses the proper window for modality
9966           - The default visibility state for the form parent is now false. This
9967             will prevent the user from seeing all the changes to the form and
9968             its controls before the application hits Application.Run()
9969           - Removed some stale commented out code
9970
9971         * NativeWindow.cs:
9972           - Added FindWindow() method to have a method to check for existence
9973             of a window handle
9974           - Added ability to override default exception handling (for example
9975             when debugging with VS.Net; to do this the ExternalExceptionHandler
9976             define must be set
9977           - Removed some useless debug output
9978
9979         * XplatUIX11.cs:
9980           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9981             not working as expected
9982           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9983             property to allow switching back to the modal window if focus is
9984             given to another one of our windows (Application Modal)
9985           - Now only sets override_redirect if we create a window
9986             without WS_CAPTION
9987           - Moved EventMask selection before mapping of newly created window
9988             so we can catch the map event as well
9989           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9990           - Added various Atom related DllImports
9991           - Implemented Exit() method
9992           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9993             in the CreateParams
9994
9995         * MessageBox.cs: Now properly deals with the FormParent window by
9996           providing an override the FormParent CreateParams property to
9997           set as POPUP instead of OVERLAPPED window.
9998
9999 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
10000
10001         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
10002         Minor code cleanup.
10003
10004 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
10005         
10006         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10007
10008 2004-12-18  Peter Bartok  <pbartok@novell.com>
10009
10010         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10011           implementing SetModal() method
10012
10013 2004-12-18  Peter Bartok  <pbartok@novell.com>
10014
10015         * X11Structs.cs (XGCValues): Fixed type of function element
10016         * XplatUI.cs: Added ScrollWindow() method
10017         * XplatUIDriver.cs: Added ScrollWindow() abstract
10018         * XplatUIWin32.cs: Implemented ScrollWindow() method
10019         * XplatUIX11.cs: Implemented ScrollWindow() method
10020         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10021
10022 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
10023
10024         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
10025         Some more keyboard support (INCOMPLETE)
10026
10027 2004-12-17  Peter Bartok  <pbartok@novell.com>
10028
10029         * TextControl.cs:
10030         - Added color attribute to line tags.
10031         - Added color argument to all functions dealing with tags
10032         - Added color argument support to various functions
10033         - Fixed miss-calculation of baseline/shift in certain circumstances
10034
10035         * TextBoxBase.cs: Added new color option to test code
10036
10037 2004-12-17  Jackson Harper  <jackson@ximian.com>
10038
10039         * TreeNode.cs:
10040         * MonthCalendar.cs: Signature fixes
10041
10042 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
10043
10044         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10045         keyboard event moved it.  Create a new graphics context for each paint resolves this
10046
10047 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
10048
10049         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10050         Make caret exist and go blink blink.  Initial keyboard support.
10051         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
10052         works.
10053
10054 2004-12-17  Jackson Harper  <jackson@ximian.com>
10055
10056         * XplatUIStructs.cs: Updated set of virtual keycodes.
10057         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10058
10059 2004-12-17  Jackson Harper  <jackson@ximian.com>
10060
10061         * XplatUIX11.cs: Prune old keyboard code.
10062
10063 2004-12-17  Jackson Harper  <jackson@ximian.com>
10064
10065         * XplatUIX11.cs: When generating mouse wparams get the modifier
10066         keys from the ModifierKeys property.
10067
10068 2004-12-17  Jackson Harper  <jackson@ximian.com>
10069
10070         * X11Keyboard.cs: Send up/down input when generating
10071         messages. Remove some unused vars.
10072
10073 2004-12-17  Jackson Harper  <jackson@ximian.com>
10074
10075         * TabControl.cs:
10076         * TreeView.cs: get rid of warnings.
10077
10078 2004-12-17  Jackson Harper  <jackson@ximian.com>
10079
10080         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10081
10082 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
10083
10084         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10085           CheckedListBox.cs: Implementation
10086
10087 2004-12-17  Peter Bartok  <pbartok@novell.com>
10088
10089         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10090
10091 2004-12-16  Peter Bartok  <pbartok@novell.com>
10092
10093         * TextControl.cs:
10094           - InsertCharAtCaret(): Fixed start pos fixup
10095           - CaretLine_get: No longer derives the line from the tag, the tag
10096             could be stale if lines in the document have been added or deleted
10097           - RebalanceAfterDelete(): Fixed bug in balancing code
10098           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10099           - Line.Streamline(): Now can also elminate leading empty tags
10100           - DumpTree(): Added a few more tests and prevented exception on
10101             uninitialized data
10102           - Added Debug section for Combining lines
10103           - Delete(): Now copies all remaining properties of a line
10104           
10105         * TextBoxBase.cs:
10106           - Left mousebutton now sets the caret (and middle button still acts
10107             as formatting tester, which must go away soon)
10108           - Added Debug section for Deleting/Combining lines
10109           - Fixed calculations for UpdateView after Combining lines
10110
10111 2004-12-16  Peter Bartok  <pbartok@novell.com>
10112
10113         * TextControl.cs: Now properly aligns text on a baseline, using the
10114           new XplatUI.GetFontMetrics() method. Simplified several calculations
10115         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10116           defined
10117
10118 2004-12-16  Peter Bartok  <pbartok@novell.com>
10119
10120         * XplatUI.cs: Added GetFontMetrics() method
10121         * XplatUIDriver.cs: Added GetFontMetrics() abstract
10122         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10123           into libgdiplus, our private GetFontMetrics function
10124         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10125         * XplatUIWin32.cs: Implemented GetFontMetrics() method
10126
10127 2004-12-16  Jackson Harper  <jackson@ximain.com>
10128
10129         * XplatUIStruct.cs: Add enum for dead keys
10130         * X11Keyboard.cs: Map and unmap dead keys.
10131
10132 2004-12-16  Jackson Harper  <jackson@ximian.com>
10133
10134         * X11Keyboard.cs: Detect and use the num lock mask.
10135
10136 2004-12-16  Peter Bartok  <pbartok@novell.com>
10137
10138         * Control.cs (CreateGraphics): Added check to make sure the
10139           handle of the window exists before calling Graphics.FromHwnd()
10140
10141 2004-12-16  Peter Bartok  <pbartok@novell.com>
10142
10143         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10144           contains a lot of code that's not supposed to be there for the
10145           real thing, but required for developing/testing the textbox
10146           backend.
10147
10148 2004-12-16  Peter Bartok  <pbartok@novell.com>
10149
10150         * TextControl.cs:
10151         - Fixed Streamline method
10152         - Added FindTag method to Line
10153         - Added DumpTree method for debugging
10154         - Added DecrementLines() method for deleting lines
10155         - Fixed UpdateView to update the cursor to end-of-line on single-line
10156           updates
10157         - Added PositionCaret() method
10158         - Fixed MoveCaret(LineDown) to move into the last line, too
10159         - Added InsertChar overload
10160         - Fixed InsertChar tag offset calculations
10161         - Added DeleteChar() method
10162         - Added Combine() method for folding lines
10163         - Fixed Delete() method, no longer allocates wasted Line object and
10164           now copies all properties when swapping nodes
10165         - Delete() method now updates document line counter
10166
10167 2004-12-15  Jackson Harper  <jackson@ximian.com>
10168
10169         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10170         * X11Keyboard.cs: Expose the currently selected modifier keys
10171         through a property.
10172
10173 2004-12-15  Peter Bartok  <pbartok@novell.com>
10174
10175         * TextControl.cs: Initial check-in. Still incomplete
10176
10177 2004-12-15  Jackson Harper  <jackson@ximian.com>
10178
10179         * TreeNode.cs:
10180         * TreeView.cs: Fix build on csc (second time today ;-))
10181
10182 2004-12-15  Jackson Harper  <jackson@ximian.com>
10183
10184         * TreeView.cs: Store the treenodes plus/minus box bounds when it
10185         is calculated and use this for click testing.
10186         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10187
10188 2004-12-15  Jackson Harper  <jackson@ximian.com>
10189
10190         * TreeView.cs: Pass the nodes image index to the image list when
10191         drawing that image.
10192
10193 2004-12-15  Jackson Harper  <jackson@ximian.com>
10194
10195         * X11Keyboard.cs: Set messages hwnd.
10196         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10197         post_message calls.
10198
10199 2004-12-15  Jackson Harper  <jackson@ximian.com>
10200
10201         * X11Keyboard.cs: Fix to compile with csc.
10202         
10203 2004-12-15  Jackson Harper  <jackson@ximian.com>
10204
10205         * X11Structs.cs: Add key mask values
10206         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10207         * X11Keyboard.cs: New file - Extrapolates and interpolates key
10208         down/up foo into WM_CHAR foo
10209         * KeyboardLayouts.cs: Common keyboard layouts
10210         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10211         post messages into the main queue.
10212
10213 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
10214
10215         * Button.cs: implement ProcessMnemonic
10216         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10217           brushes everytime
10218         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10219         * ButtonBase.cs: Show HotkeyPrefix (not the &)
10220
10221 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
10222         
10223         * MonthCalendar.cs: Implemented click-hold for next/previous month
10224           and date selection
10225           
10226 2004-12-11  Peter Bartok  <pbartok@novell.com>
10227
10228         * X11Structs.cs:
10229           - Added XKeyboardState (moved from XplatUIX11.cs)
10230           - Added XCreateGC related enums and structures
10231           - Added GXFunction for XSetFunction
10232
10233         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10234
10235         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10236           CaretVisible() calls
10237
10238         * ToolTip.cs: Added code to prevent stealing focus from app windows
10239
10240         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10241           DestroyCaret, SetCaretPos and CaretVisible)
10242
10243         * XplatUIX11.cs:
10244           - Added implementation for caret functions
10245           - Moved hover variables into a struct, to make it a bit easier
10246             on the eyes and to debug
10247           - Removed XKeyboardState (moved to XplatUIX11.cs)
10248           - Moved Keyboard properties into the properties region
10249
10250         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10251           call to get a graphics context for our control
10252
10253         * XplatUIOSX.cs: Added empty overrides for the new caret functions
10254
10255         * TreeView.cs: Fixed bug. No matter what color was set it would always
10256           return SystemColors.Window
10257
10258         * XplatUIWin32.cs: Implemented caret overrides
10259
10260 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
10261
10262         * ListBox.cs: fire events, implement missing methods and properties,
10263         sorting.
10264
10265 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
10266
10267         * MonthCalendar.cs: invalidation bug fixing
10268         * ThemeWin32Classic.cs: paint fixing
10269
10270 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
10271
10272         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10273         prepare the CGContextRef there now.
10274
10275 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
10276
10277         * MonthCalendar.cs:
10278           - optimisationL only invalidate areas that have changed
10279         * ThemeWin32Classic.cs:
10280           - only paint parts that intersect with clip_area
10281
10282 2004-12-09  Peter Bartok  <pbartok@novell.com>
10283
10284         * Application.cs: Undid changes from r37004 which cause problems
10285         on X11
10286
10287 2004-12-09  Ravindra  <rkumar@novell.com>
10288
10289         * ToolBar.cs: Added support for displaying ContextMenu
10290         attached to a button on ToolBar.
10291         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10292         property.
10293
10294 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
10295
10296         * Label.cs: autosize works in text change and removes unnecessary
10297         invalidate
10298
10299 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
10300
10301         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10302         remove warnings
10303
10304 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
10305
10306         * XplatUIOSX.cs: Added mouse move/click/grab support
10307         Remove some debugging WriteLines not needed anymore.
10308         Add window resizing/positioning.
10309         Fix visibility on reparenting.
10310
10311 2004-12-08  Peter Bartok  <pbartok@novell.com>
10312
10313         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10314
10315 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
10316
10317         * XplatUIOSX.cs: Initial checkin
10318         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10319
10320 2004-12-03  Ravindra <rkumar@novell.com>
10321
10322         * ListView.cs: Added some keybindings and fixed scrolling.
10323         ScrollBars listen to ValueChanged event instead of Scroll
10324         Event. This would let us take care of all changes being
10325         done in the scrollbars' values programmatically or manually.
10326         * ListView.cs (CanMultiselect): Added a check for shift key.
10327         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10328         * ListViewItem.cs (Clone): Fixed. We need to make a copy
10329         of ListViewSubItemCollection as well.
10330
10331 2004-12-06  Peter Bartok <pbartok@novell.com>
10332
10333         * Control.cs (Parent): Added check and exception to prevent
10334         circular parenting
10335
10336 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
10337
10338         * ListBox.cs: implemented clipping, selection single and multiple,
10339         bug fixing
10340
10341 2004-12-03  Ravindra <rkumar@novell.com>
10342
10343         * ListView.cs (ListView_KeyDown):
10344         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10345         when CTRL key is pressed.
10346         * ListViewItem.cs (Selected): Fixed setting the property.
10347
10348 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
10349
10350         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10351
10352         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10353         MinimizeBox, ShowInTaskbar, TopMost properties.
10354
10355         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10356         will be implemented).
10357
10358 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
10359
10360         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10361
10362         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10363         tests.
10364         
10365         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10366         
10367         * TreeView.cs: BackColor is Colors.Window.
10368
10369 2004-12-01  Jackson Harper  <jackson@ximian.com>
10370
10371         * TreeView.cs: When resizing the tree if the user is making it
10372         smaller we don't get expose events, so we need to handle adding
10373         the horizontal scrollbar in the size changed handler as well as
10374         the expose handler.
10375
10376 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
10377
10378         * DrawItemState.cs: fixes wrong enum values
10379
10380 2004-12-01  Jackson Harper  <jackson@ximian.com>
10381
10382         * TreeView.cs: Resize the hbar as well as the vbar on resize.
10383
10384 2004-12-01  Jackson Harper  <jackson@ximian.com>
10385
10386         * NodeLabelEditEventArgs.cs:
10387         * NodeLabelEditEventHandler.cs:
10388         * OpenTreeNodeEnumerator.cs:
10389         * TreeNode.cs:
10390         * TreeNodeCollection.cs:
10391         * TreeView.cs:
10392         * TreeViewAction.cs:
10393         * TreeViewCancelEventArgs.cs:
10394         * TreeViewCancelEventHandler.cs:
10395         * TreeViewEventArgs.cs:
10396         * TreeViewEventHandler.cs: Initial implementation.
10397
10398 2004-12-01  Ravindra <rkumar@novell.com>
10399
10400         * ListView.cs (CalculateListView): Fixed scrolling related
10401         calculations. Also, removed some debug statements from other
10402         places.
10403         * ListViewItem.cs: Changed access to 'selected' instance variable
10404         from private to internal.
10405         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10406
10407 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
10408
10409         * ThemeWin32Classic.cs: remove cache of brush and pens for
10410         specific controls and use the global system, fixes scrollbutton
10411         bugs (for small sizes, disabled, etc)
10412         
10413         * ScrollBar.cs: does not show the thumb for very small controls
10414         (as MS) and allow smaller buttons that the regular size
10415
10416 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
10417
10418         * UpDownBase.cs: Add abstract methods for the interface.
10419         Add new virtual methods (need to be hooked up to TextEntry when it
10420         exists).
10421         Add override methods for most features.
10422         Computes the size, forces the height of the text entry.
10423
10424         * NumericUpDown.cs: Put here the current testing code.
10425
10426         * Set eol-style property on all files that do not have mixed line
10427         endings, to minimize the future problems.  There are still a few
10428         files with mixed endings, and someone should choose whether they
10429         want to move it or not.
10430
10431 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
10432
10433         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10434         System.Colors
10435         
10436 2004-11-30  Ravindra <rkumar@novell.com>
10437
10438         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10439         drawing and replaced use of SystemColors by theme colors.
10440         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10441         * ListView.cs (ListViewItemCollection.Add): Throw exception when
10442         same ListViewItem is being added more than once.
10443
10444 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
10445
10446         * MonthCalendar.cs:
10447           - ControlStyles love to make the control not flicker
10448           
10449 2004-11-30  Peter Bartok  <pbartok@novell.com>
10450
10451         * CharacterCasing.cs: Added
10452
10453 2004-11-29  Peter Bartok  <pbartok@novell.com>
10454
10455         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10456           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10457           I am removing these files as they conflict with already completed
10458           work. While it is fantastic to get contributions to MWF, I
10459           respectfully ask that everyone please coordinate their contributions
10460           through mono-winforms-list or #mono-winforms at this time. We're
10461           explicitly avoiding stubbing and don't want controls that don't have
10462           their basic functionality implemented in svn. Please also see
10463           http://www.mono-project.com/contributing/winforms.html
10464
10465
10466 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
10467
10468         * Application.cs (ModalRun): Don't hang after exit.
10469
10470         * Theme.cs: New TreeViewDefaultSize property.
10471
10472         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10473         with less hardcoded SystemColors constant.
10474         Implemented TreeViewDefaultSize.
10475
10476         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10477         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10478
10479
10480 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
10481
10482         * MonthCalendar.cs:
10483           - Fix NextMonthDate and PrevMonthDate click moving calendar
10484
10485 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10486
10487         * MonthCalendar.cs:
10488           - Fix usage of ScrollChange Property when scrolling months
10489
10490 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
10491
10492         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10493          - Fixes menu destroying
10494          - Support adding and removing items on already created menus
10495
10496 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10497
10498         * MonthCalendar.cs:
10499           - Re-worked all bolded dates handling to match win32
10500         * ThemeWin32Classic.cs:
10501           - Fixed rendering with bolded dates
10502
10503 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
10504
10505         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10506         - Horizontal scroolbar
10507         - Multicolumn
10508         - Fixes
10509
10510
10511 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
10512
10513         * MonthCalendar.cs:
10514           - Fix Usage of MaxSelectionCount from SelectionRange
10515           - Fixed Shift + Cursor Selection
10516           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10517           - Fixed normal cursor selection to be compat with win32
10518           - Fixed Shift + Mouse Click selection
10519
10520 2004-11-24  Peter Bartok <pbartok@novell.com>
10521
10522         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10523         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10524         * XplatUIX11.cs:
10525           - CreatedKeyBoardMsg now updates keystate with Alt key
10526           - Added workaround for timer crash to CheckTimers, Jackson will
10527             develop a proper fix and check in later
10528           - Implemented DispatchMessage
10529           - Removed calling the native window proc from GetMessage (call
10530             now moved to DispatchMessage)
10531
10532         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10533           the keydata (Fixes bug #69831)
10534
10535         * XplatUIWin32.cs:
10536           - (DispatchMessage): Switched to return IntPtr
10537           - Added DllImport for SetFocus
10538
10539 2004-11-24  Ravindra <rkumar@novell.com>
10540
10541         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10542         background drawing.
10543         * ListViewItem.cs: Fixed various properties, calculations
10544         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10545         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10546         and some internal properties. Fixed MouseDown handler and Paint
10547         method.
10548
10549 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10550
10551         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10552
10553 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10554
10555         * ContainerControl.cs: correct accidental check in of local changes
10556
10557 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10558
10559         * ThemeWin32Classic.cs:
10560                 - Fixed Drawing Last month in grid (sometimes not showing)
10561         * MonthCalendar.cs:
10562                 - Fixed title width calculation bug (makeing title small)
10563
10564 2004-11-23  Peter Bartok <pbartok@novell.com>
10565
10566         * XplatUIX11.cs:
10567           - Added generation of WM_MOUSEHOVER event
10568           - Added missing assignment of async_method atom
10569           - Fixed WM_ERASEBKGND; now only redraws the exposed area
10570
10571 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10572
10573         * ThemeWin32Classic.cs:
10574                 - Fixed Drawing of today circle when showtodaycircle not set
10575                 - fixed drawing of first and last month in the grid (gay dates)
10576         * MonthCalendar.cs:
10577                 - Fixed Drawing of today circle
10578                 - Fixed drawing of grady dates
10579                 - Fixed HitTest for today link when ShowToday set to false
10580                 - Fixed DefaultSize to obey ShowToday
10581
10582 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10583
10584         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10585         * System.Windows.Forms/Theme.cs
10586         * MonthCalendar.cs: added for MonthCalendar
10587         * SelectionRange.cs: added for MonthCalendar
10588         * Day.cs: added for MonthCalendar: added for MonthCalendar
10589         * DateRangeEventArgs.cs: added for MonthCalendar
10590         * DateRangeEventHandler.cs: added for MonthCalendar
10591
10592 2004-11-22  Ravindra <rkumar@novell.com>
10593
10594         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10595         property.
10596
10597 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
10598
10599         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10600         event handler.
10601         
10602         * NumericUpDown.cs: Added new implementation.
10603         * UpDownBase.cs: Added new implementation.
10604
10605         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10606         implementations.
10607         
10608         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10609         implementations.
10610
10611         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10612         methods.
10613
10614 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
10615
10616         * Timer.cs  (Dispose): Should call the base dispose when
10617         overriding.
10618
10619 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10620
10621         * ScrollBar.cs: updates thumb position when max, min or increment
10622         is changed
10623
10624 2004-11-21  Ravindra <rkumar@novell.com>
10625
10626         * ListView.cs: Implemented item selection, activation and
10627         column header style. Fixed properties to do a redraw, if
10628         required. Added support for MouseHover, DoubleClick, KeyDown
10629         and KeyUp event handling and some minor fixes.
10630         * ListViewItem.cs: Fixed constructor.
10631         * ThemeWin32Classic.cs: Improved drawing for ListView.
10632
10633 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10634
10635         * ThemeWin32Classic.cs: initial listbox drawing code
10636         * DrawMode.cs: new enumerator
10637         * ListControl.cs: stubbed class
10638         * ListBox.cs: initial implementation
10639         * Theme.cs: new methods definitions
10640         * SelectionMode.cs: new enumerator
10641
10642 2004-11-17  Peter Bartok  <pbartok@novell.com>
10643
10644         * XplatUIWin32.cs: Added double-click events to the class style
10645         * Control.cs (WndProc):
10646           - Added handling of click-count to MouseDown/ MouseUp events.
10647           - Added handling of middle and right mouse buttons
10648           - Removed old debug code
10649
10650 2004-11-17  Jackson Harper  <jackson@ximian.com>
10651
10652         * XplatUIX11.cs: Use the new Mono.Unix namespace.
10653
10654 2004-11-17  Ravindra <rkumar@novell.com>
10655
10656         * ListView.cs: Added event handling for MouseMove/Up/Down.
10657         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10658         * ThemeWin32Classic.cs: We need to clear the graphics context and
10659         draw column header in a proper state.
10660
10661
10662 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
10663
10664         *  Menu.cs: fixes signature
10665
10666 2004-11-16  Peter Bartok  <pbartok@novell.com>
10667
10668         * XplatUIX11.cs (GetMessage): Implemented generation of
10669           double click mouse messages
10670
10671 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
10672
10673         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10674         not by menu
10675
10676 2004-11-11  Peter Bartok  <pbartok@novell.com>
10677
10678         * HandleData.cs: Added Visible property
10679         * XplatUIX11.cs (IsVisible): Now uses Visible property from
10680           HandleData
10681         * XplatUIX11.cs: Removed old debug leftovers
10682         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10683         * Control.cs (WndProc): Removed old debug leftovers,
10684           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10685           needed WM_SIZE handling
10686
10687 2004-11-11  Jackson Harper  <jackson@ximian.com>
10688
10689         * OwnerDrawPropertyBag.cs:
10690         * TreeViewImageIndexConverter.cs: Initial implementation
10691
10692 2004-11-10  Jackson Harper  <jackson@ximian.com>
10693
10694         * ThemeWin32Classic.cs:
10695         * TabControl.cs: instead of moving tabs by the slider pos just
10696         start drawing at the tab that is offset by the slider. This way
10697         scrolling always moves by exactly one tab.
10698
10699 2004-11-10  Jackson Harper  <jackson@ximian.com>
10700
10701         * TabControl.cs: You can only scroll left when the slider has
10702         already ben moved right.
10703         
10704 2004-11-10  Jackson Harper  <jackson@ximian.com>
10705
10706         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10707         the clip area.
10708         
10709 2004-11-10  Jackson Harper  <jackson@ximian.com>
10710
10711         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10712         clip area.
10713         
10714 2004-11-09  Jackson Harper  <jackson@ximian.com>
10715
10716         * TabControl.cs (CalcXPos): New helper method so we can determine
10717         the proper place to start drawing vertical tabs.
10718         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10719         
10720 2004-11-09  Jackson Harper  <jackson@ximian.com>
10721
10722         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10723         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10724         and Bottom, left and right are illegal values for this and
10725         multiline is enabled when the alignment is set to left or right.
10726         (DrawTab): Each alignment block should draw the text itself now
10727         because Left requires special love. Also add rendering for Left
10728         aligned tabs.
10729         
10730 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
10731
10732         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10733         does not destroy the windows, removes debugging messages
10734
10735 2004-11-09  jba  <jba-mono@optusnet.com.au>
10736
10737         * ThemeWin32Classic.cs
10738         (DrawButtonBase): Fix verticle text rect clipping in windows
10739         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10740         rendering and incorrect text rect clipping
10741         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10742         rendering and incorrect text rect clipping
10743         
10744 2004-11-08  Jackson Harper  <jackson@ximian.com>
10745
10746         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10747         bottom when they are bottom aligned so the bottoms of the tabs get
10748         displayed.
10749         * TabControl.cs (DropRow): Move rows up instead of down when the
10750         tab control is bottom aligned.
10751
10752 2004-11-08 13:59  pbartok
10753
10754         * XplatUIX11.cs:
10755           - Added handling for various window styles
10756           - Added handling for popup windows
10757           - Added SetTopmost handling
10758
10759 2004-11-08 13:55  pbartok
10760
10761         * XplatUIWin32.cs:
10762           - Added argument to SetTopmost method
10763           - Fixed broken ClientToScreen function
10764
10765 2004-11-08 13:53  pbartok
10766
10767         * XplatUIStructs.cs:
10768           - Added missing WS_EX styles
10769
10770 2004-11-08 13:53  pbartok
10771
10772         * XplatUI.cs, XplatUIDriver.cs:
10773           - Added argument to SetTopmost
10774
10775 2004-11-08 13:52  pbartok
10776
10777         * X11Structs.cs:
10778           - Added XSetWindowAttributes structure
10779           - Improved XWindowAttributes structure
10780           - Added SetWindowValuemask enum
10781           - Added window creation arguments enum
10782           - Added gravity enum
10783           - Added Motif hints structure
10784           - Added various Motif flags and enums
10785           - Added PropertyMode enum for property functions
10786
10787 2004-11-08 13:50  pbartok
10788
10789         * Form.cs:
10790           - Fixed arguments for updated SetTopmost method
10791
10792 2004-11-08 13:49  pbartok
10793
10794         * ToolTip.cs:
10795           - Fixed arguments for updated SetTopmost function
10796           - Fixed usage of PointToClient
10797
10798 2004-11-08 13:44  pbartok
10799
10800         * MenuAPI.cs:
10801           - Added Clipping of children and siblings
10802
10803 2004-11-08 13:41  pbartok
10804
10805         * MainMenu.cs:
10806           - Removed SetMenuBarWindow call. We do this in Form.cs
10807
10808 2004-11-08 13:40  jackson
10809
10810         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10811           scrolling jimmi in the correct location with bottom aligned tabs
10812
10813 2004-11-08 13:36  pbartok
10814
10815         * ContainerControl.cs:
10816           - Implemented BindingContext
10817           - Implemented ParentForm
10818
10819 2004-11-08 12:46  jackson
10820
10821         * TabControl.cs: Put bottom rendered tabs in the right location
10822
10823 2004-11-08 07:15  jordi
10824
10825         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10826           removes dead code
10827
10828 2004-11-05 17:30  jackson
10829
10830         * TabControl.cs: When selected tabs are expanded make sure they
10831           don't go beyond the edges of the tab control
10832
10833 2004-11-05 14:57  jackson
10834
10835         * TabControl.cs: Reset show_slider so if the control is resized to
10836           a size where it is no longer needed it's not displayed anymore
10837
10838 2004-11-05 13:16  jackson
10839
10840         * TabControl.cs: Make tab pages non visible when added to the
10841           control
10842
10843 2004-11-05 12:42  jackson
10844
10845         * TabControl.cs: Implement SizeMode.FillToRight
10846
10847 2004-11-05 12:16  jackson
10848
10849         * Control.cs: Do not call CreateHandle if the handle is already
10850           created
10851
10852 2004-11-05 11:46  jackson
10853
10854         * TabControl.cs: Remove superflous call to CalcTabRows
10855
10856 2004-11-05 09:07  jackson
10857
10858         * XplatUIX11.cs: Update for Mono.Posix changes
10859
10860 2004-11-05 07:00  ravindra
10861
10862         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10863           scrolling.
10864
10865 2004-11-04 22:47  jba
10866
10867         * ThemeWin32Classic.cs:
10868           - Fix Button rendering for FlatStyle = Flat or Popup
10869           - Fix RadioButton and CheckBox rendering when Appearance = Button
10870             (normal and flatstyle).
10871           - Correct outer rectangle color when drawing focus rectangle
10872           - Adjust button bounds to be 1 px smaller when focused
10873           - Make button not draw sunken 3d border when pushed (windows compat)
10874           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10875           - Offset the text in RadioButton and Checkbox when being rendered as
10876           a button.
10877           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10878           radiobuttons
10879           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10880           - Fixed disabled text rendering for normally rendered radiobuttons
10881
10882 2004-11-04 10:26  jackson
10883
10884         * TabControl.cs: Recalculate tab rows when resizing
10885
10886 2004-11-04 07:47  jordi
10887
10888         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10889           collection completion, drawing issues, missing features
10890
10891 2004-11-04 05:03  ravindra
10892
10893         * ScrollBar.cs:
10894                 - We need to recalculate the Thumb area when
10895                 LargeChange/maximum/minimum values are changed.
10896           - We set the 'pos' in UpdatePos() method to minimum, if it's less
10897                 than minimum. This is required to handle the case if large_change is
10898                 more than max, and use LargeChange property instead of large_change
10899                 variable.
10900           - We return max+1 when large_change is more than max, like MS does.
10901
10902 2004-11-04 04:29  ravindra
10903
10904         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10905                 - Changed default value signatures (prefixed all with ListView).
10906                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10907                 ListView.
10908           - Fixed calculations for ListViewItem and implemented Clone()
10909           method.
10910
10911 2004-11-04 04:26  ravindra
10912
10913         * Theme.cs, ThemeWin32Classic.cs:
10914                 - Changed default ListView values signatures (prefixed all with
10915                 ListView).
10916           - Fixed default size values for VScrollBar and HScrollBar.
10917                 - Fixed DrawListViewItem method.
10918
10919 2004-11-04 04:05  ravindra
10920
10921         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10922
10923 2004-11-04 04:04  ravindra
10924
10925         * ImageList.cs: Implemented the missing overload for Draw method.
10926
10927 2004-11-03 19:29  jackson
10928
10929         * TabControl.cs: Handle dropping rows on selection properly
10930
10931 2004-11-03 11:59  jackson
10932
10933         * TabControl.cs: remove debug code
10934
10935 2004-11-03 11:52  jackson
10936
10937         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10938           the scrolly widgerywoo
10939
10940 2004-11-02 13:52  jackson
10941
10942         * TabControl.cs: Resize the tab pages and tabs when the tab control
10943           is resized
10944
10945 2004-11-02 13:40  jackson
10946
10947         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10948           selected tab to the bottom
10949
10950 2004-11-02 13:39  jackson
10951
10952         * TabPage.cs: Store the tab pages row
10953
10954 2004-11-02 12:33  jordi
10955
10956         * MenuItem.cs: fixes handle creation
10957
10958 2004-11-02 11:42  jackson
10959
10960         * TabControl.cs: signature fix
10961
10962 2004-11-02 08:56  jackson
10963
10964         * TabControl.cs: Calculate whether the tab is on an edge properly.
10965           Remove top secret debugging code
10966
10967 2004-11-01 19:57  jackson
10968
10969         * TabControl.cs: Add click handling, and proper sizing
10970
10971 2004-11-01 19:47  jackson
10972
10973         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10974           tab controls
10975
10976 2004-11-01 19:39  jackson
10977
10978         * TabPage.cs: add internal property to store the bounds of a tab
10979           page
10980
10981 2004-10-30 04:23  ravindra
10982
10983         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10984           values.
10985
10986 2004-10-30 04:21  ravindra
10987
10988         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10989           fixed calculations.
10990
10991 2004-10-30 03:06  pbartok
10992
10993         * XplatUIX11.cs:
10994           - Removed extension of DllImported libs
10995
10996 2004-10-29 09:55  jordi
10997
10998         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10999           navigation, itemcollection completion, menu fixes
11000
11001 2004-10-27 22:58  pbartok
11002
11003         * XplatUIX11.cs:
11004           - Now throws a nice error message when no X display could be opened
11005
11006 2004-10-26 13:51  jordi
11007
11008         * ListView.cs: removes warning
11009
11010 2004-10-26 03:55  ravindra
11011
11012         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11013           ThemeWin32Classic.cs: Some formatting for my last checkins.
11014
11015 2004-10-26 03:36  ravindra
11016
11017         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11018           control and default values.
11019
11020 2004-10-26 03:35  ravindra
11021
11022         * Theme.cs: Added some default values for ListView control.
11023
11024 2004-10-26 03:33  ravindra
11025
11026         * ToolBar.cs: ToolBar should use the user specified button size, if
11027           there is any. Added a size_specified flag for the same.
11028
11029 2004-10-26 03:33  ravindra
11030
11031         * ColumnHeader.cs: Added some internal members and calculations for
11032           ColumnHeader.
11033
11034 2004-10-26 03:32  ravindra
11035
11036         * ListViewItem.cs: Calculations for ListViewItem.
11037
11038 2004-10-26 03:31  ravindra
11039
11040         * ListView.cs: Added some internal members and calculations for
11041           ListView.
11042
11043 2004-10-22 13:31  jordi
11044
11045         * MenuAPI.cs: speedup menus drawing
11046
11047 2004-10-22 13:16  jackson
11048
11049         * XplatUIX11.cs: Make sure to update exposed regions when adding an
11050           expose event
11051
11052 2004-10-22 11:49  jackson
11053
11054         * Control.cs: oops
11055
11056 2004-10-22 11:41  jackson
11057
11058         * Control.cs: Check to see if the window should have its background
11059           repainted by X when drawing.
11060
11061 2004-10-22 11:31  jackson
11062
11063         * XplatUIX11.cs: When invalidating areas only use XClearArea if
11064           clear is true, this way we do not get flicker from X repainting the
11065           background
11066
11067 2004-10-22 11:28  jackson
11068
11069         * XEventQueue.cs: Queue properly
11070
11071 2004-10-21 09:38  jackson
11072
11073         * XEventQueue.cs: Fix access modifier
11074
11075 2004-10-21 09:36  jackson
11076
11077         * XEventQueue.cs: Don't loose messages
11078
11079 2004-10-21 09:22  jackson
11080
11081         * XEventQueue.cs: Don't loose messages
11082
11083 2004-10-20 04:15  jordi
11084
11085         * BootMode.cs: enum need it by SystemInfo
11086
11087 2004-10-19 21:58  pbartok
11088
11089         * XplatUIWin32.cs:
11090           - Small sanity check
11091
11092 2004-10-19 21:56  pbartok
11093
11094         * Form.cs:
11095           - Added private FormParentWindow class which acts as the container
11096             for our form and as the non-client area where menus are drawn
11097           - Added/Moved required tie-ins to Jordi's menus
11098           - Fixed/Implemented the FormStartPosition functionality
11099
11100 2004-10-19 21:52  pbartok
11101
11102         * Control.cs:
11103           - Removed unneeded locals
11104           - Added code to all size and location properties to understand and
11105             deal with the parent container of Form
11106
11107 2004-10-19 21:33  pbartok
11108
11109         * Application.cs:
11110           - Fixed to deal with new Form subclasses for menus
11111
11112 2004-10-19 17:48  jackson
11113
11114         * XEventQueue.cs: commit correct version of file
11115
11116 2004-10-19 16:50  jackson
11117
11118         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11119
11120 2004-10-19 16:15  jordi
11121
11122         * MenuAPI.cs: MenuBarCalcSize returns the height
11123
11124 2004-10-19 08:31  pbartok
11125
11126         * Control.cs:
11127           - Added missing call to PreProcessMessage before calling OnXXXKey
11128           methods
11129
11130 2004-10-19 00:04  ravindra
11131
11132         * ToolTip.cs: Fixed constructor.
11133
11134 2004-10-18 09:31  jordi
11135
11136         * MenuAPI.cs: menuitems in menubars do not have shortcuts
11137
11138 2004-10-18 09:26  jordi
11139
11140         * MenuItem.cs: fixes MenuItem class signature
11141
11142 2004-10-18 08:56  jordi
11143
11144         * MenuAPI.cs: prevents windows from showing in the taskbar
11145
11146 2004-10-18 00:28  ravindra
11147
11148         * ToolTip.cs: Suppressed a warning message.
11149
11150 2004-10-18 00:27  ravindra
11151
11152         * Control.cs: Default value of visible property must be true.
11153
11154 2004-10-17 23:19  pbartok
11155
11156         * ToolTip.cs:
11157           - Complete implementation
11158
11159 2004-10-17 23:19  pbartok
11160
11161         * XplatUIX11.cs:
11162           - Added EnableWindow method
11163           - Added SetModal stub
11164           - Added generation of WM_ACTIVATE message (still needs testing)
11165           - Added SetTopMost stub
11166           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11167
11168 2004-10-17 23:17  pbartok
11169
11170         * XplatUIWin32.cs:
11171           - Removed VirtualKeys to XplatUIStructs
11172           - Implemented SetTopMost method
11173           - Implemented EnableWindow method
11174           - Bugfix in ScreenToClient()
11175           - Bugfixes in ClientToScreen()
11176
11177 2004-10-17 22:51  pbartok
11178
11179         * XplatUIStructs.cs:
11180           - Added WS_EX styles to WindowStyles enumeration
11181
11182 2004-10-17 22:50  pbartok
11183
11184         * XplatUI.cs, XplatUIDriver.cs:
11185           - Added method for enabling/disabling windows
11186           - Added method for setting window modality
11187           - Added method for setting topmost window
11188
11189 2004-10-17 22:49  pbartok
11190
11191         * ThemeWin32Classic.cs:
11192           - Added ToolTip drawing code
11193
11194 2004-10-17 22:49  pbartok
11195
11196         * Theme.cs:
11197           - Added ToolTip abstracts
11198
11199 2004-10-17 22:47  pbartok
11200
11201         * Form.cs:
11202           - Fixed Form.ControlCollection to handle owner relations
11203           - Added Owner/OwnedForms handling
11204           - Implemented Z-Ordering for owned forms
11205           - Removed unneeded private overload of ShowDialog
11206           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11207             so I hope)
11208           - Fixed Close(), had wrong default
11209           - Added firing of OnLoad event
11210           - Added some commented out debug code for Ownership handling
11211
11212 2004-10-17 22:16  pbartok
11213
11214         * Control.cs:
11215           - Fixed/implemented flat list of controls
11216
11217 2004-10-17 22:14  pbartok
11218
11219         * Application.cs:
11220           - Added code to simulate modal dialogs on Win32
11221
11222 2004-10-17 16:11  jordi
11223
11224         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11225           mouse event
11226
11227 2004-10-17 13:39  jordi
11228
11229         * MenuAPI.cs: menu drawing fixes
11230
11231 2004-10-15 09:10  ravindra
11232
11233         * StructFormat.cs: General Enum.
11234
11235 2004-10-15 09:09  ravindra
11236
11237         * SizeGripStyle.cs: Enum for Form.
11238
11239 2004-10-15 09:08  ravindra
11240
11241         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11242           in Theme for ListView.
11243
11244 2004-10-15 09:06  ravindra
11245
11246         * ColumnHeader.cs: Flushing some formatting changes.
11247
11248 2004-10-15 09:05  ravindra
11249
11250         * ListViewItem.cs: Implemented GetBounds method and fixed coding
11251           style.
11252
11253 2004-10-15 09:03  ravindra
11254
11255         * ListView.cs: Implemented Paint method and fixed coding style.
11256
11257 2004-10-15 07:34  jordi
11258
11259         * MenuAPI.cs: fix for X11
11260
11261 2004-10-15 07:32  ravindra
11262
11263         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11264                 - Renamed Paint() method to Draw() for clarity. Also, moved
11265                 DrawImage() to OnPaint().
11266
11267 2004-10-15 07:25  ravindra
11268
11269         * CheckBox.cs, RadioButton.cs:
11270                 - Removed Redraw (), we get it from ButtonBase.
11271                 - Implemented Paint (), to do class specific painting.
11272
11273 2004-10-15 07:16  ravindra
11274
11275         * ButtonBase.cs:
11276                 - Redraw () is not virtual now.
11277                 - Added an internal virtual method Paint (), so that
11278                 derived classes can do their painting on their own.
11279                 - Modified OnPaint () to call Paint ().
11280
11281 2004-10-15 06:43  jordi
11282
11283         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11284           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11285
11286 2004-10-15 00:30  ravindra
11287
11288         * MessageBox.cs:
11289                 - MessageBox on windows does not have min/max buttons.
11290                 This change in CreateParams fixes this on Windows. We
11291                 still need to implement this windowstyle behavior in
11292                 our X11 driver.
11293
11294 2004-10-14 05:14  ravindra
11295
11296         * ToolBar.cs:
11297                 - Changed Redraw () to do a Refresh () always.
11298                 - Fixed the MouseMove event handling when mouse is pressed,
11299                 ie drag event handling.
11300                 - Replaced the usage of ToolBarButton.Pressed property to
11301                 ToolBarButton.pressed internal variable.
11302
11303 2004-10-14 05:10  ravindra
11304
11305         * ToolBarButton.cs:
11306                 - Added an internal member 'inside' to handle mouse move
11307                 with mouse pressed ie mouse drag event.
11308                 - Changed 'Pressed' property to return true only when
11309                 'inside' and 'pressed' are both true.
11310                 - Some coding style love.
11311
11312 2004-10-14 00:17  ravindra
11313
11314         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11315           public method.
11316
11317 2004-10-14 00:15  ravindra
11318
11319         * ButtonBase.cs: Redraw () related improvements.
11320
11321 2004-10-14 00:14  ravindra
11322
11323         * MessageBox.cs: Moved InitFormSize () out of Paint method and
11324           removed unnecessary calls to Button.Show () method.
11325
11326 2004-10-13 17:50  pbartok
11327
11328         * XplatUIX11.cs:
11329           - Formatting fix
11330           - Removed destroying of window until we solve the problem of X
11331             destroying the window before us on shutdown
11332
11333 2004-10-13 16:32  pbartok
11334
11335         * ButtonBase.cs:
11336           - Now Redraws on MouseUp for FlatStyle Flat and Popup
11337
11338 2004-10-13 14:18  pbartok
11339
11340         * XplatUIX11.cs:
11341           - Added code to destroy the X window
11342
11343 2004-10-13 14:18  pbartok
11344
11345         * XplatUIWin32.cs:
11346           - Added code to destroy a window
11347
11348 2004-10-13 14:12  pbartok
11349
11350         * ButtonBase.cs:
11351           - Added the Redraw on Resize that got dropped in the last rev
11352
11353 2004-10-13 09:06  pbartok
11354
11355         * ThemeWin32Classic.cs:
11356           - Path from John BouAntoun:
11357             * Fix check rendering (centre correctly for normal style, offset
11358               correctly for FlatStyle).
11359             * Fix border color usage (use backcolor) for FlatStyle.Popup
11360             * Use checkbox.Capture instead of checkbox.is_pressed when
11361               rendering flatstyle states.
11362
11363 2004-10-12 21:48  pbartok
11364
11365         * ThemeWin32Classic.cs:
11366           - Removed all occurences of SystemColors and replaced them with the
11367             matching theme color
11368
11369 2004-10-12 21:41  pbartok
11370
11371         * ThemeWin32Classic.cs:
11372           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11373             him using the function for flatstyle drawing
11374           - Changed functions to use the new version of CPDrawBorder3D
11375
11376 2004-10-12 21:15  pbartok
11377
11378         * ControlPaint.cs:
11379           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11380             match MS documentation. They need to return defined colors if the
11381             passed color matches the configured control color. Thanks to John
11382             BouAntoun for pointing this out.
11383
11384 2004-10-12 20:57  pbartok
11385
11386         * Control.cs:
11387           - Fix from John BouAntoun: Raise ForeColorChanged event when text
11388             color is changed
11389
11390 2004-10-12 20:46  pbartok
11391
11392         * CheckBox.cs:
11393           - Fix from John BouAntoun: Now properly sets the Appearance property
11394
11395 2004-10-12 20:45  pbartok
11396
11397         * ThemeWin32Classic.cs:
11398           - Fixes from John BouAntoun: now handles forecolors and backcolors
11399             for flatstyle rendered controls much better; It also fixes normal
11400             checkbox rendering when pushed or disabled.
11401
11402 2004-10-08 02:50  jordi
11403
11404         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11405           work
11406
11407 2004-10-07 08:56  jordi
11408
11409         * ThemeWin32Classic.cs: Removes deletion of cached brushes
11410
11411 2004-10-06 03:59  jordi
11412
11413         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11414           XplatUIWin32.cs: removes warnings from compilation
11415
11416 2004-10-05 12:23  jackson
11417
11418         * RadioButton.cs: Fix ctor
11419
11420 2004-10-05 11:10  pbartok
11421
11422         * MessageBox.cs:
11423           - Partial implementation by Benjamin Dasnois
11424
11425 2004-10-05 10:15  jackson
11426
11427         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11428           by John BouAntoun
11429
11430 2004-10-05 03:07  ravindra
11431
11432         * ToolBar.cs:
11433                 - Removed a private method, Draw ().
11434                 - Fixed the ButtonDropDown event handling.
11435                 - Fixed MouseMove event handling.
11436
11437 2004-10-05 03:04  ravindra
11438
11439         * ThemeWin32Classic.cs:
11440                 - Added DrawListView method and ListViewDefaultSize property.
11441                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11442                 - Changed DOS style CRLF to Unix format (dos2unix).
11443
11444 2004-10-05 03:03  ravindra
11445
11446         * Theme.cs:
11447                 - Added DrawListView method and ListViewDefaultSize property.
11448
11449 2004-10-05 02:42  ravindra
11450
11451         * ToolBarButton.cs: Added an internal member dd_pressed to handle
11452           clicks on DropDown arrow.
11453
11454 2004-10-04 22:56  jackson
11455
11456         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11457           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11458           Control handle the buffers, derived classes should not have to
11459           CreateBuffers themselves.
11460
11461 2004-10-04 21:20  jackson
11462
11463         * StatusBar.cs: The control handles resizing the buffers now.
11464
11465 2004-10-04 21:18  jackson
11466
11467         * Control.cs: When resizing the buffers should be invalidated. This
11468           should be handled in Control not in derived classes.
11469
11470 2004-10-04 14:45  jackson
11471
11472         * TabPage.cs: oops
11473
11474 2004-10-04 02:14  pbartok
11475
11476         * LeftRightAlignment.cs:
11477           - Initial check-in
11478
11479 2004-10-04 01:09  jordi
11480
11481         * ThemeWin32Classic.cs: fixes right button position causing right
11482           button not showing on horizontal scrollbars
11483
11484 2004-10-02 13:12  pbartok
11485
11486         * XplatUIX11.cs:
11487           - Simplified the Invalidate method by using an X call instead of
11488             generating the expose ourselves
11489           - Added an expose when the window background is changed
11490           - Implemented ClientToScreen method
11491
11492 2004-10-02 13:08  pbartok
11493
11494         * XplatUIWin32.cs:
11495           - Added Win32EnableWindow method (test for implementing modal
11496           dialogs)
11497           - Added ClientToScreen method and imports
11498
11499 2004-10-02 13:07  pbartok
11500
11501         * XplatUI.cs, XplatUIDriver.cs:
11502           - Added ClientToScreen coordinate translation method
11503
11504 2004-10-02 13:06  pbartok
11505
11506         * KeyPressEventArgs.cs:
11507           - Fixed access level for constructor
11508
11509 2004-10-02 13:06  pbartok
11510
11511         * NativeWindow.cs:
11512           - Changed access level for the window_collection hash table
11513
11514 2004-10-02 13:05  pbartok
11515
11516         * Form.cs:
11517           - Added KeyPreview property
11518           - Added Menu property (still incomplete, pending Jordi's menu work)
11519           - Implemented ProcessCmdKey
11520           - Implemented ProcessDialogKey
11521           - Implemented ProcessKeyPreview
11522
11523 2004-10-02 13:02  pbartok
11524
11525         * Control.cs:
11526           - Added private method to get the Control object from the window
11527           handle
11528           - Implemented ContextMenu property
11529           - Implemented PointToScreen
11530           - Implemented PreProcessMessage
11531           - Implemented IsInputChar
11532           - Implemented IsInputKey
11533           - Implemented ProcessCmdKey
11534           - Completed ProcessKeyEventArgs
11535           - Fixed message loop to call the proper chain of functions on key
11536           events
11537           - Implemented ProcessDialogChar
11538           - Implemented ProcessDialogKey
11539           - Implemented ProcessKeyMessage
11540           - Implemented ProcessKeyPreview
11541           - Added RaiseDragEvent stub (MS internal method)
11542           - Added RaiseKeyEvent stub (MS internal method)
11543           - Added RaiseMouseEvent stub (MS Internal method)
11544           - Added RaisePaintEvent stub (MS Internal method)
11545           - Added ResetMouseEventArgs stub (MS Internal method)
11546           - Implemented RtlTranslateAlignment
11547           - Implemented RtlTranslateContent
11548           - Implemented RtlTranslateHorizontal
11549           - Implemented RtlTranslateLeftRight
11550           - Added generation of KeyPress event
11551
11552 2004-10-02 05:57  ravindra
11553
11554         * ListViewItem.cs: Added attributes.
11555
11556 2004-10-02 05:32  ravindra
11557
11558         * ListView.cs: Added attributes.
11559
11560 2004-10-01 11:53  jackson
11561
11562         * Form.cs: Implement the Close method so work on MessageBox can
11563           continue.
11564
11565 2004-09-30 14:06  pbartok
11566
11567         * XplatUIX11.cs:
11568           - Bug fixes
11569
11570 2004-09-30 11:34  jackson
11571
11572         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11573
11574 2004-09-30 07:26  ravindra
11575
11576         * ListViewItemConverter.cs: Converter for ListViewItem.
11577
11578 2004-09-30 07:26  ravindra
11579
11580         * SortOrder.cs: Enum for ListView control.
11581
11582 2004-09-30 07:25  ravindra
11583
11584         * ColumnHeader.cs: Supporting class for ListView control.
11585
11586 2004-09-30 07:24  ravindra
11587
11588         * ListView.cs, ListViewItem.cs: Initial implementation.
11589
11590 2004-09-30 07:20  ravindra
11591
11592         * ItemActivation.cs: Enum for ListView Control.
11593
11594 2004-09-29 20:29  pbartok
11595
11596         * XplatUIX11.cs:
11597           - Added lookup of pixel value for background color; tries to get a
11598             color 'close' to the requested color, it avoids having to create a
11599             colormap.  Depending on the display this could mean the used color
11600             is slightly off the desired color. Might have to change it to a more
11601             resource intensive colormap approach, but it will work as a
11602           workaround to avoid red screens.
11603
11604 2004-09-29 14:27  jackson
11605
11606         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11607
11608 2004-09-28 12:44  pbartok
11609
11610         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11611           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11612           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11613           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11614           TrackBar.cs, VScrollBar.cs:
11615           - Streamlined Theme interfaces:
11616             * Each DrawXXX method for a control now is passed the object for
11617               the control to be drawn in order to allow accessing any state the
11618               theme might require
11619
11620             * ControlPaint methods for the theme now have a CP prefix to avoid
11621               name clashes with the Draw methods for controls
11622
11623             * Every control now retrieves it's DefaultSize from the current
11624             theme
11625
11626 2004-09-28 12:17  jackson
11627
11628         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11629           drawing
11630
11631 2004-09-24 14:57  jackson
11632
11633         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11634           Gives us a nice little performance boost.
11635
11636 2004-09-24 12:02  jackson
11637
11638         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11639           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11640           Control and supporting classes. Initial checkin
11641
11642 2004-09-23 13:08  jackson
11643
11644         * Form.cs: Temp build fixage
11645
11646 2004-09-23 01:39  ravindra
11647
11648         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11649           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11650           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11651           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11652           EventHandlers needed by ListView Control.
11653
11654 2004-09-22 14:12  pbartok
11655
11656         * ScrollableControl.cs:
11657           - Implemented DockPadding property
11658           - Implemented AutoScroll property
11659           - Implemented AutoScrollMargin property
11660           - Implemented AutoScrollMinSize property
11661           - Implemented AutoScrollPosition property
11662           - Implemented DisplayRectangle property (still incomplete)
11663           - Implemented CreateParams property
11664           - Implemented HScroll property
11665           - Implemented VScroll property
11666           - Implemented OnVisibleChanged property
11667
11668 2004-09-22 14:09  pbartok
11669
11670         * Form.cs:
11671           - Added Form.ControllCollection class
11672           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11673             RemoveOwnedForm (still incomplete, missing on-top and common
11674             minimize/maximize behaviour)
11675           - Added StartPosition property (still incomplete, does not use when
11676             creating the form)
11677           - Added ShowDialog() methods (still incomplete, missing forcing the
11678             dialog modal)
11679
11680 2004-09-22 14:05  pbartok
11681
11682         * Application.cs:
11683           - Added message loop for modal dialogs
11684
11685 2004-09-22 14:02  pbartok
11686
11687         * GroupBox.cs:
11688           - Fixed wrong types for events
11689
11690 2004-09-22 14:00  pbartok
11691
11692         * Shortcut.cs, FormWindowState.cs:
11693           - Fixed wrong values
11694
11695 2004-09-22 12:01  jackson
11696
11697         * Control.cs: Text is never null
11698
11699 2004-09-20 22:14  pbartok
11700
11701         * XplatUIWin32.cs:
11702           - Fixed accessibility level for Idle handler
11703
11704 2004-09-20 18:54  jackson
11705
11706         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11707           XplatUIX11.cs: New message loop that uses poll so we don't get a
11708           busy loop
11709
11710 2004-09-17 10:43  pbartok
11711
11712         * ScrollBar.cs:
11713           - Fixed behaviour of arrow buttons. Now properly behaves like
11714             Buttons (and like Microsoft's scrollbar arrow buttons)
11715
11716 2004-09-17 10:14  pbartok
11717
11718         * ScrollBar.cs:
11719           - Added missing release of keyboard/mouse capture
11720
11721 2004-09-17 06:18  jordi
11722
11723         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11724           Theme.cs: Very early menu support
11725
11726 2004-09-16 17:45  pbartok
11727
11728         * XplatUIWin32.cs:
11729           - Fixed sending a window to the front
11730           - Added overload for SetWindowPos to avoid casting
11731
11732 2004-09-16 17:44  pbartok
11733
11734         * Control.cs:
11735           - Added SendToBack and BringToFront methods
11736
11737 2004-09-16 07:00  ravindra
11738
11739         * Copyright: Added Novell URL.
11740
11741 2004-09-16 07:00  ravindra
11742
11743         * ToolBar.cs: Invalidate should be done before redrawing.
11744
11745 2004-09-15 21:19  ravindra
11746
11747         * ColumnHeaderStyle.cs: Enum for ListView Control.
11748
11749 2004-09-15 21:18  ravindra
11750
11751         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11752           ListView Control.
11753
11754 2004-09-13 18:26  jackson
11755
11756         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11757           properly
11758
11759 2004-09-13 18:13  jackson
11760
11761         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11762           a second thread and post messages into the main threads message
11763           queue. This makes timing much more consistent. Both win2K and XP
11764           have a minimum timer value of 15 milliseconds, so we now do this
11765           too.
11766
11767 2004-09-13 15:18  pbartok
11768
11769         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11770           XplatUIX11.cs:
11771           - Added Z-Ordering methods
11772
11773 2004-09-13 10:56  pbartok
11774
11775         * Form.cs:
11776           - Fixed #region names
11777           - Moved properties and methods into their proper #regions
11778
11779 2004-09-13 10:51  pbartok
11780
11781         * Form.cs:
11782           - Added Accept and CancelButton properties
11783           - Added ProcessDialogKey() method
11784
11785 2004-09-13 08:18  pbartok
11786
11787         * IWindowTarget.cs:
11788           - Initial check-in
11789
11790 2004-09-10 21:50  pbartok
11791
11792         * Control.cs:
11793           - Added DoDragDrop() [incomplete]
11794           - Properly implemented 'Visible' handling
11795           - Added SetVisibleCore()
11796           - Implemented FindChildAtPoint()
11797           - Implemented GetContainerControl()
11798           - Implemented Hide()
11799
11800 2004-09-10 19:28  pbartok
11801
11802         * Control.cs:
11803           - Moved methods into their appropriate #regions
11804           - Reordered methods within regions alphabetically
11805
11806 2004-09-10 18:57  pbartok
11807
11808         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11809           - Added method to retrieve text from window
11810
11811 2004-09-10 18:56  pbartok
11812
11813         * Control.cs:
11814           - Moved some internal functions into the internal region
11815           - Implemented FontHeight
11816           - Implemented RenderRightToLeft
11817           - Implemented ResizeRedraw
11818           - Implemented ShowFocusCues
11819           - Implemented ShowKeyboardCues
11820           - Implemented FromChildHandle
11821           - Implemented FromHandle
11822           - Implemented IsMnemonic
11823           - Implemented ReflectMessage
11824           - All public and protected Static Methods are now complete
11825
11826 2004-09-10 16:54  pbartok
11827
11828         * Control.cs:
11829           - Implemented remaining missing public instance properties
11830           - Alphabetized some out of order properties
11831
11832 2004-09-10 05:51  ravindra
11833
11834         * PictureBox.cs: Added a check for null image.
11835
11836 2004-09-10 00:59  jordi
11837
11838         * GroupBox.cs: remove cvs tag
11839
11840 2004-09-09 05:25  ravindra
11841
11842         * ToolBar.cs: Make redraw accessible from ToolBarButton.
11843
11844 2004-09-09 05:23  ravindra
11845
11846         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11847           parent redraw.
11848
11849 2004-09-09 02:28  pbartok
11850
11851         * ThemeWin32Classic.cs:
11852           - Improve disabled string look
11853
11854 2004-09-09 01:15  jordi
11855
11856         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11857           args and handler
11858
11859 2004-09-08 23:56  ravindra
11860
11861         * ItemBoundsPortion.cs: It's enum, not a class!
11862
11863 2004-09-08 23:47  ravindra
11864
11865         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11866           Enums for Form.
11867
11868 2004-09-08 21:13  ravindra
11869
11870         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11871           ListView control.
11872
11873 2004-09-08 21:03  ravindra
11874
11875         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11876           avoid crash.
11877
11878 2004-09-08 21:01  ravindra
11879
11880         * ScrollableControl.cs: Removed unreachable code.
11881
11882 2004-09-08 06:45  jordi
11883
11884         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11885
11886 2004-09-08 01:00  jackson
11887
11888         * XplatUIX11.cs: Only run the timers when updating the message
11889           queue. This effectively gives X messages a higher priority then
11890           timer messages. Timers still need love though
11891
11892 2004-09-07 14:01  jackson
11893
11894         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11895           this for us and the handle is no longer valid.
11896
11897 2004-09-07 13:59  jackson
11898
11899         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11900           loop that manages to not crash. TODO: Add poll and cleanup timers
11901
11902 2004-09-07 11:12  jordi
11903
11904         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11905
11906 2004-09-07 03:40  jordi
11907
11908         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11909           fixes, methods, multiple links
11910
11911 2004-09-06 06:55  jordi
11912
11913         * Control.cs: Caches ClientRectangle rectangle value
11914
11915 2004-09-05 02:03  jordi
11916
11917         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11918           certain situations
11919
11920 2004-09-04 11:10  jordi
11921
11922         * Label.cs: Refresh when font changed
11923
11924 2004-09-02 16:24  pbartok
11925
11926         * Control.cs:
11927           - Added sanity check to creation of double buffer bitmap
11928
11929 2004-09-02 16:24  pbartok
11930
11931         * ButtonBase.cs:
11932           - Fixed selection of text color
11933           - Fixed handling of resize event; now properly recreates double
11934             buffering bitmap
11935           - Added missing assignment of TextAlignment
11936           - Added proper default for TextAlignment
11937
11938 2004-09-02 14:26  pbartok
11939
11940         * RadioButton.cs:
11941           - Added missing RadioButton.RadioButtonAccessibleObject class
11942
11943 2004-09-02 14:26  pbartok
11944
11945         * Control.cs:
11946           - Added missing Control.ControlAccessibleObject class
11947           - Started to implement Select()ion mechanisms, still very incomplete
11948
11949 2004-09-02 14:25  pbartok
11950
11951         * AccessibleObject.cs:
11952           - Added missing methods
11953
11954 2004-09-02 14:23  pbartok
11955
11956         * AccessibleNavigation.cs, AccessibleSelection.cs:
11957           - Initial check-in
11958
11959 2004-09-02 10:32  jordi
11960
11961         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11962           pool for pens, brushes, and hatchbruses
11963
11964 2004-09-01 15:30  jackson
11965
11966         * StatusBar.cs: Fix typo
11967
11968 2004-09-01 14:44  pbartok
11969
11970         * RadioButton.cs:
11971           - Fixed state
11972
11973 2004-09-01 14:39  pbartok
11974
11975         * Button.cs, RadioButton.cs:
11976           - Functional initial check-in
11977
11978 2004-09-01 14:01  pbartok
11979
11980         * CheckBox.cs:
11981           - Added missing default
11982           - Added missing region mark
11983
11984 2004-09-01 09:10  jordi
11985
11986         * Label.cs: fixes method signatures, new methods, events, fixes
11987           autosize
11988
11989 2004-09-01 07:19  jordi
11990
11991         * Control.cs: Init string variables with an empty object
11992
11993 2004-09-01 04:20  jordi
11994
11995         * Control.cs: fires OnFontChanged event
11996
11997 2004-08-31 20:07  pbartok
11998
11999         * ButtonBase.cs:
12000           - Enabled display of strings
12001
12002 2004-08-31 20:05  pbartok
12003
12004         * Form.cs:
12005           - Added (partial) implementation of DialogResult; rest needs to be
12006             implemented when the modal loop code is done
12007
12008 2004-08-31 19:55  pbartok
12009
12010         * CheckBox.cs:
12011           - Fixed to match the removal of the needs_redraw concept
12012
12013 2004-08-31 19:55  pbartok
12014
12015         * ButtonBase.cs:
12016           - Removed the rather odd split between 'needs redraw' and redrawing
12017           - Now handles the events that require regeneration (ambient
12018             properties and size)
12019
12020 2004-08-31 19:41  pbartok
12021
12022         * Control.cs:
12023           - Added firing of BackColorChanged event
12024           - Added TopLevelControl property
12025           - Fixed handling of WM_ERASEBKGRND message
12026
12027 2004-08-31 12:49  pbartok
12028
12029         * ButtonBase.cs:
12030           - Removed debug
12031           - Minor fixes
12032
12033 2004-08-31 12:48  pbartok
12034
12035         * CheckBox.cs:
12036           - Finished (famous last words)
12037
12038 2004-08-31 04:35  jordi
12039
12040         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12041           scrolling bugs, adds new methods
12042
12043 2004-08-30 14:42  pbartok
12044
12045         * CheckBox.cs:
12046           - Implemented CheckBox drawing code
12047
12048 2004-08-30 14:42  pbartok
12049
12050         * ButtonBase.cs:
12051           - Made Redraw() and CheckRedraw() virtual
12052           - Improved mouse up/down/move logic to properly track buttons
12053
12054 2004-08-30 09:44  pbartok
12055
12056         * CheckBox.cs:
12057           - Updated to fix broken build. Not complete yet.
12058
12059 2004-08-30 09:28  pbartok
12060
12061         * CheckState.cs:
12062           - Initial checkin
12063
12064 2004-08-30 09:17  pbartok
12065
12066         * Appearance.cs:
12067           - Initial check-in
12068
12069 2004-08-27 16:12  ravindra
12070
12071         * ToolBarButton.cs: Added TypeConverter attribute.
12072
12073 2004-08-27 16:07  ravindra
12074
12075         * ImageIndexConverter.cs: Implemented.
12076
12077 2004-08-27 14:17  pbartok
12078
12079         * Control.cs:
12080           - Removed unneeded stack vars
12081           - First attempt to fix sizing issues when layout is suspended
12082
12083 2004-08-25 15:35  jordi
12084
12085         * ScrollBar.cs: more fixes to scrollbar
12086
12087 2004-08-25 14:04  ravindra
12088
12089         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12090           Added the missing divider code and grip for ToolBar Control.
12091
12092 2004-08-25 13:20  pbartok
12093
12094         * Control.cs:
12095           - Control now properly passes the ambient background color to child
12096             controls
12097
12098 2004-08-25 13:20  jordi
12099
12100         * ScrollBar.cs: small bug fix regarding bar position
12101
12102 2004-08-25 12:33  pbartok
12103
12104         * Timer.cs:
12105           - Now only calls SetTimer or KillTimer if the enabled state has
12106           changed
12107
12108 2004-08-25 12:33  pbartok
12109
12110         * XplatUIWin32.cs:
12111           - Fixed timer handling, now seems to work
12112           - Improved error message for window creation
12113
12114 2004-08-25 12:32  pbartok
12115
12116         * Control.cs:
12117           - Fixed generation of MouseUp message
12118
12119 2004-08-25 12:29  jordi
12120
12121         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12122           and fixes for progressbar
12123
12124 2004-08-24 18:43  ravindra
12125
12126         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12127           in ToolBar control.
12128
12129 2004-08-24 17:15  pbartok
12130
12131         * Panel.cs:
12132           - Added #region
12133           - Added missing events
12134           - Alphabetized
12135
12136 2004-08-24 17:14  pbartok
12137
12138         * StatusBar.cs, PictureBox.cs:
12139           - Now uses Control's CreateParams
12140
12141 2004-08-24 16:36  pbartok
12142
12143         * XplatUIX11.cs:
12144           - Fixed background color handling
12145           - Fixed sending of enter/leave events on a grab
12146
12147 2004-08-24 16:35  pbartok
12148
12149         * X11Structs.cs:
12150           - Refined definitions for CrossingEvent
12151
12152 2004-08-24 12:37  jordi
12153
12154         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12155           formmating, methods signature, and adds missing events
12156
12157 2004-08-24 12:24  jordi
12158
12159         * Control.cs: fire OnEnabledChanged event
12160
12161 2004-08-24 11:17  pbartok
12162
12163         * XplatUIWin32.cs:
12164           - Implemented SetTimer() and KillTimer()
12165
12166 2004-08-24 11:16  pbartok
12167
12168         * XplatUIX11.cs:
12169           - Now uses Remove instead of Add to kill the timer
12170
12171 2004-08-24 10:16  jackson
12172
12173         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12174           picture boxes in the theme now. Draw picture box borders and obey
12175           sizing modes
12176
12177 2004-08-24 05:49  jackson
12178
12179         * Timer.cs: Remove top secret debugging code
12180
12181 2004-08-24 05:34  jackson
12182
12183         * PictureBox.cs: Temp hack to make picture boxes draw their full
12184           image
12185
12186 2004-08-24 05:29  jackson
12187
12188         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12189           XplatUIX11.cs: Move timers to the driver level. On X they are
12190           queued by the driver and checked on idle.
12191
12192 2004-08-24 01:07  jackson
12193
12194         * XplatUIX11.cs: Use a queue for async messages instead of passing
12195           them as ClientMessages since that was totally broken. Also simply
12196           check for events and return an idle message if none are found. This
12197           gives us an idle handler, and prevents deadlocking when no messages
12198           are in the queue.
12199
12200 2004-08-23 18:19  ravindra
12201
12202         * XplatUIWin32.cs: Removed the unwanted destructor.
12203
12204 2004-08-23 17:27  pbartok
12205
12206         * ButtonBase.cs:
12207           - Finishing touches. Works now, just needs some optimizations.
12208
12209 2004-08-23 16:53  jordi
12210
12211         * ScrollBar.cs: small fix
12212
12213 2004-08-23 16:45  pbartok
12214
12215         * Application.cs:
12216           - Removed debug output
12217           - Simplifications
12218
12219 2004-08-23 16:43  jordi
12220
12221         * ScrollBar.cs: [no log message]
12222
12223 2004-08-23 16:10  pbartok
12224
12225         * Form.cs:
12226           - Fixed handling of WM_CLOSE message
12227           - Removed debug output
12228
12229 2004-08-23 16:09  pbartok
12230
12231         * Application.cs:
12232           - Added handling of Idle event
12233           - Added handling of form closing
12234           - Fixed reporting of MessageLoop property
12235           - Removed some unneeded code, should provide a bit of a speedup
12236
12237 2004-08-23 15:22  pbartok
12238
12239         * Control.cs:
12240           - Added InitLayout() method
12241           - Added code to properly perform layout when Anchor or Dock property
12242             is changed
12243           - Changed 'interpretation' of ResumeLayout. MS seems to have a
12244             LAMESPEC, tried to do it in a way that makes sense
12245
12246 2004-08-23 14:10  jordi
12247
12248         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12249           properties and methods
12250
12251 2004-08-23 13:55  pbartok
12252
12253         * Control.cs:
12254           - Properly fixed Jordi's last fix
12255           - Now uses Cursor's Position property instead of calling XplatUI
12256           directly
12257
12258 2004-08-23 13:44  jordi
12259
12260         * PaintEventHandler.cs: Adding missing attribute
12261
12262 2004-08-23 13:39  pbartok
12263
12264         * Cursor.cs:
12265           - Implemented Position property
12266
12267 2004-08-23 13:39  pbartok
12268
12269         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12270           - Added method to move mouse cursor
12271
12272 2004-08-23 13:39  pbartok
12273
12274         * XplatUIX11.cs:
12275           - Fixed setting of background color
12276           - Added method to move mouse cursor
12277
12278 2004-08-23 13:16  jordi
12279
12280         * Control.cs: avoids null exception
12281
12282 2004-08-22 17:46  jackson
12283
12284         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12285           PictureBox
12286
12287 2004-08-22 17:40  jackson
12288
12289         * XplatUIX11.cs: Add some missing locks
12290
12291 2004-08-22 15:10  pbartok
12292
12293         * Control.cs, Form.cs:
12294           - Removed OverlappedWindow style from Control, instead it's default
12295             now is child
12296           - Made form windows OverlappedWindow by default
12297
12298 2004-08-22 13:34  jackson
12299
12300         * ScrollBar.cs: Update the position through the Value property so
12301           the OnValueChanged event is raised.
12302
12303 2004-08-22 12:04  pbartok
12304
12305         * SWF.csproj:
12306           - Added Cursor.cs and UserControl.cs
12307
12308 2004-08-22 12:03  pbartok
12309
12310         * Cursor.cs:
12311           - Started implementation, not usable yet
12312
12313 2004-08-22 12:00  pbartok
12314
12315         * UserControl.cs:
12316           - Implemented UserControl (complete)
12317
12318 2004-08-21 19:20  ravindra
12319
12320         * ToolBar.cs: Correcting the formatting mess of VS.NET.
12321
12322 2004-08-21 18:49  ravindra
12323
12324         * ToolBar.cs: Probably this completes the missing attributes in
12325           toolbar control.
12326
12327 2004-08-21 18:03  ravindra
12328
12329         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12330           Fixed toolbar control signatures.
12331
12332 2004-08-21 16:32  pbartok
12333
12334         * LinkLabel.cs:
12335           - Signature Fixes
12336
12337 2004-08-21 16:30  pbartok
12338
12339         * Label.cs:
12340           - Signature fixes
12341
12342 2004-08-21 16:19  pbartok
12343
12344         * Control.cs, Label.cs:
12345           - Signature fixes
12346
12347 2004-08-21 15:57  pbartok
12348
12349         * ButtonBase.cs:
12350           - Added loads of debug output for development
12351           - Fixed typo in method name
12352
12353 2004-08-21 15:52  pbartok
12354
12355         * ToolBarButtonClickEventArgs.cs:
12356           - Added missing base class
12357
12358 2004-08-21 14:53  pbartok
12359
12360         * Control.cs:
12361           - Updated to match new GrabWindow signature
12362
12363 2004-08-21 14:51  pbartok
12364
12365         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12366           - Added method to get default display size
12367
12368 2004-08-21 14:23  pbartok
12369
12370         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12371           - Added method to query current grab state
12372           - Added argument to allow confining a grab to a window
12373
12374 2004-08-21 14:22  pbartok
12375
12376         * Keys.cs:
12377           - Added [Flags] attribute so that modifiers can be used in bitwise
12378           ops
12379
12380 2004-08-21 14:21  pbartok
12381
12382         * TrackBar.cs, ScrollBar.cs:
12383           - Replaced direct XplatUI calls with their Control counterpart
12384
12385 2004-08-21 13:32  pbartok
12386
12387         * Control.cs:
12388           - Implemented Created property
12389
12390 2004-08-21 13:28  pbartok
12391
12392         * Control.cs:
12393           - Implemented ContainsFocus
12394
12395 2004-08-21 13:26  pbartok
12396
12397         * Control.cs:
12398           - Implemented CausesValidation
12399
12400 2004-08-21 13:21  pbartok
12401
12402         * Control.cs:
12403           - Implemented CanFocus
12404           - Implemented CanSelect
12405           - Implemented Capture
12406
12407 2004-08-21 12:35  pbartok
12408
12409         * XplatUIWin32.cs:
12410           - Fixed bug with Async message handling
12411           - Implemented getting the ModifierKeys
12412
12413 2004-08-21 12:32  jackson
12414
12415         * AsyncMethodResult.cs: Make sure we have the mutex before we
12416           release it. Fixes BeginInvoke on windows
12417
12418 2004-08-21 11:31  pbartok
12419
12420         * XplatUIWin32.cs, XplatUIX11.cs:
12421           - Drivers now return proper mouse state
12422
12423 2004-08-21 10:54  jackson
12424
12425         * Control.cs: Implement EndInvoke
12426
12427 2004-08-21 10:48  jackson
12428
12429         * Timer.cs: Remove unneeded finalizer
12430
12431 2004-08-20 19:52  ravindra
12432
12433         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12434           in mouse event handling in the ToolBar control.
12435
12436 2004-08-20 19:50  ravindra
12437
12438         * ImageList.cs: Changed draw method to use the arguments passed in
12439           to draw the image.
12440
12441 2004-08-20 18:58  pbartok
12442
12443         * XplatUIStructs.cs:
12444           - Added private message for async communication
12445
12446 2004-08-20 17:38  ravindra
12447
12448         * Control.cs: Made RightToLeft property virtual and removed a
12449           Console.WriteLine.
12450
12451 2004-08-20 14:39  jordi
12452
12453         * ThemeGtk.cs: use style_attach
12454
12455 2004-08-20 14:39  pbartok
12456
12457         * XplatUIWin32.cs:
12458           - Added jackson's Async code from X11 to Win32
12459
12460 2004-08-20 14:09  pbartok
12461
12462         * SWF.csproj:
12463           - Added all new files
12464
12465 2004-08-20 14:09  pbartok
12466
12467         * Control.cs:
12468           - Added call to set window background color
12469
12470 2004-08-20 14:03  pbartok
12471
12472         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12473           - Added method for setting the window background
12474
12475 2004-08-20 14:02  pbartok
12476
12477         * XplatUIWin32.cs:
12478           - Added method for setting the background color
12479           - Added handling for erasing the window background
12480
12481 2004-08-20 13:45  jordi
12482
12483         * TrackBar.cs: fixes timer, new properties and methods
12484
12485 2004-08-20 13:34  jackson
12486
12487         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12488           correct thread
12489
12490 2004-08-20 13:22  jackson
12491
12492         * Timer.cs: Timer Tick events are now handed through Controls Async
12493           mechanism so the callbacks are executed in the same thread as X
12494
12495 2004-08-20 13:19  jackson
12496
12497         * XplatUIDriver.cs: Expose functionality to send async messages
12498           through the driver
12499
12500 2004-08-20 13:18  jackson
12501
12502         * Control.cs: Implement Begininvoke
12503
12504 2004-08-20 13:14  jackson
12505
12506         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12507           messages through the driver
12508
12509 2004-08-20 13:12  jackson
12510
12511         * XplatUIX11.cs: Lock before all X operations. Also added Async
12512           method functionality through XSendEvent
12513
12514 2004-08-20 13:11  jackson
12515
12516         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12517           This will screw up on 64 bit systems)
12518
12519 2004-08-20 13:10  jackson
12520
12521         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12522           Async messages through X/Win32
12523
12524 2004-08-19 19:39  pbartok
12525
12526         * XplatUIX11.cs:
12527           - Updated code to match new HandleData.DeviceContext type
12528
12529 2004-08-19 19:38  pbartok
12530
12531         * HandleData.cs:
12532           - Made DeviceContext a generic object to allow usage from various
12533           drivers
12534           - Added support for queueing Windows messages
12535
12536 2004-08-19 19:37  pbartok
12537
12538         * XplatUIWin32.cs:
12539           - Added generation of MouseEnter, MouseLeave and MouseHover events
12540           - Added cleanup on EndPaint
12541
12542 2004-08-19 19:17  pbartok
12543
12544         * Control.cs:
12545           - Added handling of WM_MOUSEHOVER
12546           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12547           code
12548
12549 2004-08-19 18:55  jordi
12550
12551         * ThemeGtk.cs: fixes button order
12552
12553 2004-08-19 18:12  jordi
12554
12555         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12556
12557 2004-08-19 17:09  pbartok
12558
12559         * Control.cs:
12560           - Added Right property
12561           - Added RightToLeft property
12562
12563 2004-08-19 16:27  jordi
12564
12565         * ThemeGtk.cs: experimental GTK theme support
12566
12567 2004-08-19 16:26  jordi
12568
12569         * ITheme.cs, Theme.cs: move themes from an interface to a class
12570
12571 2004-08-19 16:25  jordi
12572
12573         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12574           theme enhancaments
12575
12576 2004-08-19 16:04  pbartok
12577
12578         * XplatUIX11.cs:
12579           - Added colormap basics
12580           - Added a way to re-initialize with a different display handle
12581           - Fixed setting of the window background color
12582           - Added various X11 imports related to colors and colormaps
12583
12584 2004-08-19 15:51  pbartok
12585
12586         * X11Structs.cs:
12587           - Removed packing hints (Paolo suggested this a while back)
12588           - fixed colormap type
12589           - Added default Atom types
12590           - Added Screen and color structs and enums
12591
12592 2004-08-19 15:39  pbartok
12593
12594         * ImageList.cs:
12595           - Added missing Draw() method
12596           - Added missing RecreateHandle event
12597
12598 2004-08-19 15:30  pbartok
12599
12600         * Form.cs:
12601           - Added handling of WM_CLOSE
12602
12603 2004-08-18 13:16  jordi
12604
12605         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12606           a table
12607
12608 2004-08-18 09:56  jordi
12609
12610         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12611
12612 2004-08-17 15:31  ravindra
12613
12614         * SWF.csproj: Updated project.
12615
12616 2004-08-17 15:25  pbartok
12617
12618         * Control.cs:
12619           - Drawing improvement; don't call UpdateBounds if we are not visible
12620             (or have been minimized)
12621
12622 2004-08-17 15:24  pbartok
12623
12624         * XplatUIWin32.cs:
12625           - Finished IsVisible
12626           - Added Win32GetWindowPlacement
12627
12628 2004-08-17 15:08  jackson
12629
12630         * Panel.cs: Initial checkin of the Panel
12631
12632 2004-08-17 14:25  pbartok
12633
12634         * Control.cs:
12635           - Fixed broken handling of default window sizes
12636
12637 2004-08-17 13:29  jackson
12638
12639         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12640           has a large startup time.
12641
12642 2004-08-17 10:25  jackson
12643
12644         * HandleData.cs: union areas properly
12645
12646 2004-08-17 10:12  jackson
12647
12648         * HandleData.cs: union areas properly
12649
12650 2004-08-16 20:00  ravindra
12651
12652         * ToolBar.cs, ToolBarButton.cs: Added attributes.
12653
12654 2004-08-16 18:48  ravindra
12655
12656         * ToolBar.cs: Added attributes.
12657
12658 2004-08-16 17:17  ravindra
12659
12660         * SWF.csproj: Updated project.
12661
12662 2004-08-16 17:16  jackson
12663
12664         * XplatUIX11.cs: Check for more expose events before sending a
12665           WM_PAINT so they can all be grouped together. This makes dragging a
12666           window across another window redraw in a sane way.
12667
12668 2004-08-16 15:47  pbartok
12669
12670         * Control.cs:
12671           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12672             support OnMouseEnter/Leave()
12673           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12674             exposure handling
12675
12676 2004-08-16 15:46  pbartok
12677
12678         * XplatUIStructs.cs, XplatUIX11.cs:
12679           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12680           OnMouseEnter/Leave()
12681
12682 2004-08-16 15:34  jackson
12683
12684         * XplatUIX11.cs: Group multiple expose events in HandleData, make
12685           sure messages get the message field set to WM_NULL if they are not
12686           handled.
12687
12688 2004-08-16 15:24  jackson
12689
12690         * HandleData.cs: HandleData is used for storing message information
12691           for window handles
12692
12693 2004-08-15 17:23  ravindra
12694
12695         * ColorDepth.cs: Added attribute.
12696
12697 2004-08-15 17:23  ravindra
12698
12699         * SWF.csproj: Updated project for ToolBar Control.
12700
12701 2004-08-15 17:20  ravindra
12702
12703         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12704           control and also dos2unix format.
12705
12706 2004-08-15 17:13  ravindra
12707
12708         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12709           ToolBarButtonClickEventArgs.cs,
12710           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12711           ToolBarTextAlign.cs: First Implementation of ToolBar control.
12712
12713 2004-08-15 15:31  pbartok
12714
12715         * ButtonBase.cs:
12716           - First (mostly) working version
12717
12718 2004-08-13 16:15  pbartok
12719
12720         * Control.cs:
12721           - Fixed Anchor default
12722
12723 2004-08-13 15:43  pbartok
12724
12725         * Control.cs:
12726           - Changed GetCursorPos signature
12727
12728 2004-08-13 15:42  pbartok
12729
12730         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12731           - Changed signature for GetCursorPos
12732
12733 2004-08-13 15:25  pbartok
12734
12735         * XplatUIX11.cs:
12736           - Cleanup
12737           - Fixed resizing/exposure handling
12738
12739 2004-08-13 15:22  jordi
12740
12741         * ThemeWin32Classic.cs: removes redundant code and fixes issues
12742           with tickposition
12743
12744 2004-08-13 14:55  jordi
12745
12746         * TrackBar.cs: change from wndproc to events
12747
12748 2004-08-13 13:00  jordi
12749
12750         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12751           XplatUIX11.cs: implements PointToClient (ScreenToClient)
12752
12753 2004-08-13 12:53  pbartok
12754
12755         * XplatUIWin32.cs:
12756           - Changed GetWindowPos to also provide client area size
12757           - Fixed broken prototypes for several win32 functions
12758
12759 2004-08-13 12:53  pbartok
12760
12761         * XplatUI.cs, XplatUIDriver.cs:
12762           - Changed GetWindowPos to also provide client area size
12763
12764 2004-08-13 12:52  pbartok
12765
12766         * XplatUIX11.cs:
12767           - Added generation of WM_POSCHANGED
12768           - Changed GetWindowPos to also provide client area size
12769
12770 2004-08-13 12:52  pbartok
12771
12772         * Control.cs:
12773           - Added Dispose() and destructor
12774           - Fixed resizing and bounds calculation
12775           - Fixed Layout
12776           - Added memory savings for invisible windows
12777
12778 2004-08-13 12:46  jordi
12779
12780         * TrackBar.cs: adds timer and grap window
12781
12782 2004-08-13 10:25  jackson
12783
12784         * Timer.cs: SWF Timer
12785
12786 2004-08-12 16:59  pbartok
12787
12788         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12789           - Implemented method to get current mouse position
12790
12791 2004-08-12 14:29  jordi
12792
12793         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12794           enhancement, fix mouse problems, highli thumb, etc
12795
12796 2004-08-12 13:31  pbartok
12797
12798         * Control.cs:
12799           - Fixed Anchoring bugs
12800
12801 2004-08-12 13:01  jackson
12802
12803         * StatusBar.cs: Don't forget things
12804
12805 2004-08-12 12:54  jackson
12806
12807         * ThemeWin32Classic.cs: Handle owner draw status bars
12808
12809 2004-08-12 12:54  jackson
12810
12811         * StatusBar.cs: Implement missing properties, events, and methods.
12812           Handle mouse clicking
12813
12814 2004-08-12 10:19  jackson
12815
12816         * StatusBarPanelClickEventArgs.cs,
12817           StatusBarPanelClickEventHandler.cs: Classes for handling status
12818           bar panel click events
12819
12820 2004-08-12 10:10  jackson
12821
12822         * Control.cs: Add missing properties
12823
12824 2004-08-12 09:46  pbartok
12825
12826         * BindingsManagerBase.cs:
12827           - Name changed to BindingManagerBase.cs
12828
12829 2004-08-12 09:25  jordi
12830
12831         * ScrollableControl.cs: calls ctrlbase instead of exeception
12832
12833 2004-08-11 16:28  pbartok
12834
12835         * InputLanguageChangingEventArgs.cs:
12836           - Never check in before compiling. Fixes the last check-in
12837
12838 2004-08-11 16:26  pbartok
12839
12840         * InputLanguageChangingEventArgs.cs:
12841           - More signature fixes
12842
12843 2004-08-11 16:20  pbartok
12844
12845         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12846           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12847           ImageListStreamer.cs, InputLanguage.cs,
12848           InputLanguageChangedEventArgs.cs,
12849           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12850           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12851           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12852           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12853           - Signature fixes
12854
12855 2004-08-11 16:16  pbartok
12856
12857         * Application.cs:
12858           - Fixed Signature
12859           - Added .Net 1.1 method
12860
12861 2004-08-11 15:25  pbartok
12862
12863         * SWF.csproj:
12864           - Fixed BindingManagerBase.cs filename
12865
12866 2004-08-11 15:22  pbartok
12867
12868         * BindingManagerBase.cs:
12869           - Was checked in with wrong filename
12870
12871 2004-08-11 14:50  pbartok
12872
12873         * SWF.csproj:
12874           - Updated
12875
12876 2004-08-11 13:41  jordi
12877
12878         * XplatUIWin32.cs: Fixes ClientRect
12879
12880 2004-08-11 13:19  pbartok
12881
12882         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12883           XplatUIX11.cs:
12884           - We had SetWindowPos and MoveWindow to set window positions and
12885             size, removed MoveWindow. We have GetWindowPos, so it made sense to
12886             keep SetWindowPos as matching counterpart
12887           - Added some X11 sanity checking
12888
12889 2004-08-11 12:59  pbartok
12890
12891         * Control.cs:
12892           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12893             (It seems that SetBounds is just a front for SetBoundsCore and
12894              SetBoundsCore updates the underlying window system and
12895              UpdateBounds is responsible for updating the variables associated
12896              with the Control and sending the events)
12897           - Major cleanup of Size handling; we now have two sizes, client_size
12898             and bounds. Bounds defines the window with decorations, client_size
12899             without them.
12900
12901 2004-08-11 12:55  pbartok
12902
12903         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12904           - Added method to calculate difference between decorated window and
12905             raw client area
12906
12907 2004-08-11 12:54  pbartok
12908
12909         * Label.cs:
12910           - Forcing redraw on resize
12911
12912 2004-08-11 11:43  pbartok
12913
12914         * ImageList.cs:
12915           - Removed disposing of the actual images when the list is disposed
12916
12917 2004-08-11 09:13  pbartok
12918
12919         * Control.cs:
12920           - Now properly reparents windows
12921
12922 2004-08-11 08:37  pbartok
12923
12924         * Control.cs:
12925           - Duh!
12926
12927 2004-08-11 07:47  pbartok
12928
12929         * Control.cs:
12930           - Rewrote the collection stuff. Might not be as fast now, not
12931             keeping the number of children around and accessible directly, but
12932             it's more straightforward
12933
12934 2004-08-11 07:44  pbartok
12935
12936         * AccessibleObject.cs:
12937           - Fixed to match ControlCollection rewrite
12938
12939 2004-08-11 07:43  pbartok
12940
12941         * ImageList.cs:
12942           - Added missing creation of the collection list
12943
12944 2004-08-10 20:08  jackson
12945
12946         * StatusBar.cs: Get the paint message from WndProc
12947
12948 2004-08-10 19:31  jackson
12949
12950         * ThemeWin32Classic.cs: Create Brushes as little as possible
12951
12952 2004-08-10 19:20  jackson
12953
12954         * UICues.cs: Add Flags attribute
12955
12956 2004-08-10 19:19  jackson
12957
12958         * StatusBarPanel.cs: Signature cleanup
12959
12960 2004-08-10 19:10  jackson
12961
12962         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12963           Initial implementation of status bar item drawing
12964
12965 2004-08-10 17:27  jordi
12966
12967         * TrackBar.cs: add missing methods, properties, and restructure to
12968           hide extra ones
12969
12970 2004-08-10 16:24  jackson
12971
12972         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12973           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12974           attribute
12975
12976 2004-08-10 13:21  jordi
12977
12978         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12979           enhancements and standarize on win colors defaults
12980
12981 2004-08-10 12:52  jackson
12982
12983         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12984           ThemeWin32Classic.cs: Implement DrawItem functionality
12985
12986 2004-08-10 12:47  jordi
12987
12988         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12989
12990 2004-08-10 12:32  jordi
12991
12992         * Control.cs: throw ontextchange event
12993
12994 2004-08-10 11:43  pbartok
12995
12996         * Control.cs:
12997           - Added more to the still unfinished Dock/Anchor layout code
12998
12999 2004-08-10 11:39  pbartok
13000
13001         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13002           - Added GetWindowPos method
13003
13004 2004-08-10 11:36  pbartok
13005
13006         * XplatUIWin32.cs:
13007           - Implemented several methods
13008
13009 2004-08-10 09:47  jackson
13010
13011         * TrackBar.cs: Allow control to handle buffering
13012
13013 2004-08-10 09:41  jackson
13014
13015         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13016
13017 2004-08-10 09:24  jackson
13018
13019         * Label.cs, LinkLabel.cs: Let Control handle buffering.
13020
13021 2004-08-10 09:09  jackson
13022
13023         * StatusBar.cs: Let Control handle all the buffering.
13024
13025 2004-08-10 09:08  jackson
13026
13027         * Control.cs: Control will now handle the buffering code, so each
13028           control does not have to implement this.
13029
13030 2004-08-10 08:34  jackson
13031
13032         * XplatUIDriver.cs: Use default colors from the theme
13033
13034 2004-08-09 17:12  pbartok
13035
13036         * ImageList.cs:
13037           - Fixed several bugs Ravindra pointed out
13038
13039 2004-08-09 16:11  pbartok
13040
13041         * Control.cs:
13042           - Added incomplete dock layout code
13043           - Added support for mouse wheel
13044
13045 2004-08-09 16:09  pbartok
13046
13047         * XplatUIX11.cs:
13048           - Added handling for middle and right mousebutton
13049           - Added handling for mouse wheel
13050           - Added handling for key state and mouse state and position
13051           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13052           messages
13053
13054 2004-08-09 15:40  jackson
13055
13056         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13057           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13058           checkin
13059
13060 2004-08-09 15:37  jackson
13061
13062         * StatusBar.cs: Initial implementation of StatusBar
13063
13064 2004-08-09 15:36  jackson
13065
13066         * ITheme.cs: Add support for drawing status bar and getting status
13067           bar item sizes
13068
13069 2004-08-09 15:35  pbartok
13070
13071         * MouseButtons.cs:
13072           - Fixed values
13073
13074 2004-08-09 15:34  jackson
13075
13076         * ThemeWin32Classic.cs: Add support for drawing status bar and get
13077           status bar item sizes
13078
13079 2004-08-09 15:21  jackson
13080
13081         * ThemeWin32Classic.cs: Use known colors for default control
13082           colours
13083
13084 2004-08-09 15:12  jackson
13085
13086         * ThemeWin32Classic.cs: Make the default font static, it is static
13087           in control so this doesn't change functionality and creating fonts
13088           is sloooooow.
13089
13090 2004-08-09 14:56  pbartok
13091
13092         * X11Structs.cs:
13093           - Added GrabMode enum
13094
13095 2004-08-09 14:55  pbartok
13096
13097         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13098           - Removed Run method, was only required for initial development
13099
13100 2004-08-09 14:51  pbartok
13101
13102         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13103           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13104           capture
13105
13106 2004-08-09 13:48  pbartok
13107
13108         * XplatUIX11.cs:
13109           - Fixed default sizing for child windows
13110
13111 2004-08-09 12:56  pbartok
13112
13113         * XplatUIX11.cs:
13114           - Added generation of WM_DESTROY message
13115           - Added handling of window manager induced shutdown
13116
13117 2004-08-09 11:31  jackson
13118
13119         * ThemeWin32Classic.cs: New names for control properties
13120
13121 2004-08-09 11:25  jackson
13122
13123         * Control.cs: Use new color names
13124
13125 2004-08-09 11:02  jackson
13126
13127         * XplatUI.cs: Get default window properties from the theme
13128
13129 2004-08-09 11:01  jackson
13130
13131         * ITheme.cs: The theme engine now controls default window
13132           properties
13133
13134 2004-08-09 11:00  jackson
13135
13136         * ThemeWin32Classic.cs: Add default window color properties
13137
13138 2004-08-09 10:17  jackson
13139
13140         * ThemeWin32Classic.cs: Use correct default back color
13141
13142 2004-08-09 10:05  jackson
13143
13144         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13145           the theme now.
13146
13147 2004-08-09 09:56  jackson
13148
13149         * XplatUI.cs: Remove defaults, these are handled by the theme now.
13150
13151 2004-08-09 09:54  jackson
13152
13153         * Control.cs: Get default properties from the theme.
13154
13155 2004-08-09 09:53  jackson
13156
13157         * ITheme.cs: Themes now handle default control properties
13158
13159 2004-08-09 09:53  jackson
13160
13161         * ThemeWin32Classic.cs: Themes now handle default control
13162           properties so coloring will be consistent
13163
13164 2004-08-08 16:54  jordi
13165
13166         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13167
13168 2004-08-08 15:08  jordi
13169
13170         * XplatUIX11.cs: fixes keyboard crash
13171
13172 2004-08-08 13:47  jordi
13173
13174         * Label.cs: add cvs header info
13175
13176 2004-08-08 12:09  jackson
13177
13178         * ThemeWin32Classic.cs: Add pen_buttonface
13179
13180 2004-08-08 11:52  jordi
13181
13182         * Label.cs, LinkLabel.cs: [no log message]
13183
13184 2004-08-08 11:34  jordi
13185
13186         * ThemeWin32Classic.cs: Use Windows Standard Colours
13187
13188 2004-08-07 17:32  jordi
13189
13190         * TrackBar.cs: throw exceptions of invalid enums values
13191
13192 2004-08-07 17:31  jordi
13193
13194         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13195           draw method name
13196
13197 2004-08-07 16:56  jackson
13198
13199         * HorizontalAlignment.cs: Initial checkin
13200
13201 2004-08-07 13:16  jordi
13202
13203         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13204           methods
13205
13206 2004-08-07 13:05  jordi
13207
13208         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13209           GetSysColor defines
13210
13211 2004-08-06 18:01  pbartok
13212
13213         * ThemeWin32Classic.cs:
13214           - Fixed some rounding issues with float/int
13215
13216 2004-08-06 18:00  jackson
13217
13218         * DockStyle.cs, AnchorStyles.cs:
13219
13220                   Add flags and serializable attributes.
13221
13222 2004-08-06 17:46  pbartok
13223
13224         * XplatUIX11.cs:
13225           - Implemented GetParent
13226
13227 2004-08-06 17:18  pbartok
13228
13229         * TrackBar.cs:
13230           - Fixed some rounding issues with float/int
13231
13232 2004-08-06 17:17  pbartok
13233
13234         * X11Structs.cs, XplatUIX11.cs:
13235           - Fixed Refresh and Invalidate
13236
13237 2004-08-06 15:30  pbartok
13238
13239         * Control.cs, X11Structs.cs, XplatUIX11.cs:
13240           - Fixed recursive loop when resizing
13241           - Improved/fixed redrawing on expose messages
13242
13243 2004-08-06 09:53  jordi
13244
13245         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13246           keyboard navigation
13247
13248 2004-08-06 08:02  pbartok
13249
13250         * X11Structs.cs, XplatUIX11.cs:
13251           - Fixed reparenting
13252           - Fixed window border creation
13253
13254 2004-08-05 15:38  pbartok
13255
13256         * XplatUIX11.cs:
13257           - Attempted fix for reparenting problems
13258
13259 2004-08-04 15:14  pbartok
13260
13261         * Control.cs:
13262           - Fixed Invalidation bug (calculated wrong client area)
13263           - Added ClientSize setter
13264
13265 2004-08-04 15:13  pbartok
13266
13267         * Form.cs:
13268           - Added AutoScale properties
13269
13270 2004-08-04 15:13  pbartok
13271
13272         * SWF.csproj:
13273           - Added latest files
13274
13275 2004-08-04 14:11  pbartok
13276
13277         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13278           XplatUIX11.cs:
13279           - Added Invalidate handling
13280
13281 2004-08-03 17:09  jordi
13282
13283         * XplatUIDriver.cs: fixes spelling mistake
13284
13285 2004-07-27 09:53  jordi
13286
13287         * TrackBar.cs: fixes trackbar events, def classname, methods
13288           signature
13289
13290 2004-07-27 09:29  jordi
13291
13292         * ScrollBar.cs: fixes scrollbar events
13293
13294 2004-07-27 04:38  jordi
13295
13296         * Control.cs: changes to be able to run winforms samples
13297
13298 2004-07-26 11:42  jordi
13299
13300         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13301           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13302
13303 2004-07-26 05:41  jordi
13304
13305         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13306           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13307           implementation
13308
13309 2004-07-22 09:22  jordi
13310
13311         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13312           check link overlapping, implement events, and fixes
13313
13314 2004-07-21 10:28  jordi
13315
13316         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13317
13318 2004-07-21 10:19  jordi
13319
13320         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13321           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13322           LinkLabelLinkClickedEventArgs.cs,
13323           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13324           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13325           implementation
13326
13327 2004-07-19 13:09  jordi
13328
13329         * Control.cs, Label.cs: label control re-written: added missing
13330           functionlity, events, and properties
13331
13332 2004-07-19 10:49  jordi
13333
13334         * Control.cs: fixes SetBounds logic
13335
13336 2004-07-19 01:29  jordi
13337
13338         * Control.cs: Call RefreshWindow only if the window has created
13339
13340 2004-07-15 14:05  pbartok
13341
13342         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13343           - Implemented ImageList and ImageList.ImageCollection classes
13344           - Added ColorDepth enumeration
13345           - Updated SWF VS.Net project
13346
13347 2004-07-15 11:06  jordi
13348
13349         * XplatUIStructs.cs: added MsgButons enum
13350
13351 2004-07-15 11:03  jordi
13352
13353         * Control.cs: added basic mouse handeling events
13354
13355 2004-07-15 03:38  jordi
13356
13357         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13358           Vertical TrackBar control implementation
13359
13360 2004-07-13 09:33  jordi
13361
13362         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13363
13364 2004-07-13 09:31  jordi
13365
13366         * Control.cs, Form.cs: commit: new properties and fixes form size
13367           problems
13368
13369 2004-07-09 14:13  miguel
13370
13371         * ProgressBar.cs: Spelling
13372
13373 2004-07-09 11:25  pbartok
13374
13375         * ProgressBar.cs:
13376           - Removed usage of Rectangle for drawing. Miguel pointed out it's
13377           faster
13378
13379 2004-07-09 11:17  miguel
13380
13381         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
13382
13383                 * ProgressBar.cs: Fixed spelling for `block'
13384
13385                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13386                 style guidelines.
13387
13388                 Avoid using the += on rect.X, that exposed a bug in the compiler.
13389
13390 2004-07-08 23:21  pbartok
13391
13392         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13393           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13394           BaseCollection.cs, Binding.cs, BindingContext.cs,
13395           BindingMemberInfo.cs, BindingsCollection.cs,
13396           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13397           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13398           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13399           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13400           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13401           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13402           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13403           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13404           FrameStyle.cs, GiveFeedbackEventArgs.cs,
13405           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13406           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13407           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13408           InputLanguageChangedEventArgs.cs,
13409           InputLanguageChangedEventHandler.cs,
13410           InputLanguageChangingEventArgs.cs,
13411           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13412           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13413           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13414           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13415           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13416           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13417           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13418           QueryAccessibilityHelpEventArgs.cs,
13419           QueryAccessibilityHelpEventHandler.cs,
13420           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13421           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13422           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13423           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13424           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13425           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13426           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13427           XplatUIX11.cs, lang.cs:
13428           - Initial check-in
13429