2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-05-11  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * TextControl.cs : Fixed bug #78109. This incorrect position
4           comparison caused crash on automatic line split.
5         * TextBoxBase.cs : reduce duplicate code.
6
7 2006-05-10  Jackson Harper  <jackson@ximian.com>
8
9         * MdiClient.cs: Active form is only sent to the back when using
10         the Next form functionality, when a form is clicked the current
11         active shouldn't be sent to the back.
12         - Layout the mdi windows when the container is first made visible.
13         * Form.cs: Give the MdiClient a ref to the containing form when we
14         create it.
15         
16 2006-05-10  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * LinkLabel.cs : link_font could be uninitialized, so populate one
19           before actual use. Fixed bug #78340.
20
21 2006-05-10  Atsushi Enomoto  <atsushi@ximian.com>
22
23         * XplatUIX11.cs : clipboard format native value is IntPtr.
24           Fixed bug #78283.
25
26 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
27
28         * Control.cs: 
29           - Instead of showing context menus directly we send WM_CONTEXTMENU, 
30             which is passed up the parent chain by DefWndProc
31           - We now handle WM_CONTEXTMENU to display any menu, or pass it 
32             to DefWndProc (#77956)
33         * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
34
35 2006-05-10  Jackson Harper  <jackson@ximian.com>
36
37         * MdiClient.cs: We need to remove the controls from the mdi
38         collection, when we close the window.
39         * MdiWindowManager.cs: Special handling of closing mdi windows.
40         * InternalWindowManager.cs: Make the close method virtual so the
41         mdi window manager can handle it specially.
42
43 2006-05-10  Jordi Mas i Hernandez <jordimash@gmail.com>
44
45         * DataGrid.cs:
46           - Recalculate grid when the data source has changed
47           - Matches styles provided by user from all data sources types
48         * DataGridTableStyle.cs: For columns that provided by the user set the
49         with the preferred value is there was unassigned.
50         * CurrencyManager.cs: throw OnItemChanged event
51
52 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com> 
53
54         * PictureBox.cs: Don't animate until handle is created. Start animation
55           when handle is created.
56
57 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
58
59         * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
60           current codebase.
61         * XEventQueue.cs: We don't need to provide the extra info
62
63 2006-05-10  Jackson Harper  <jackson@ximian.com>
64
65         * MdiClient.cs: If the mdi clients parent form has a background
66         image set, we draw that background image for the mdi area's
67         background.
68
69 2006-05-10  Peter Dennis Bartok  <pbartok@novell.com>
70
71         * TextBoxBase.cs: Set IBeam cursor (#78347)
72
73 2006-05-10  Mike Kestner  <mkestner@novell.com>
74
75         * ToolBar.cs: fix some text padding issues with ButtonSize
76         calculation. Update the default size to match MS documentation.
77         * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
78         button size. Fixes #78296.
79
80 2006-05-10  Mike Kestner  <mkestner@novell.com>
81
82         * ListBox.cs: use is_visible for scrollbar positioning in case the
83         control isn't on screen yet.  Fix off by one with Right vs Width
84         usage.  Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
85         
86 2006-05-10  Jackson Harper  <jackson@ximian.com>
87
88         * X11Dnd.cs: Drop to a control with another control on top of it.
89         * ToolBar.cs: Work on a copy of the buttons list, so that it can
90         be modified in click handlers. TODO: Look for similar problems in
91         other controls.
92
93 2006-05-09  Jackson Harper  <jackson@ximian.com>
94
95         * Form.cs: Window managers need the old window state when setting
96         window state now.
97         * InternalWindowManager.cs: Allow the base mdi window manager to
98         handle more of the MDI only stuff (like maximize buttons).
99         * MdiWindowManager.cs: Fix some snafus in changing the window
100         state.  Add all the menu functionality, for both popup and
101         maximized menus.
102         * MdiClient.cs: When a new form is selected the currently
103         activated form is sent to the back, this matches MS.
104         - Implement a new method to activate the next mdi child window.
105
106 2006-05-08  Peter Dennis Bartok  <pbartok@novell.com>
107
108         * Control.cs: 
109           - Added new InternalCapture method to allow controls to prevent
110             the capture behaviour on the click handlers
111           - Switched to use InternalCapture
112         * ComboBox.cs:
113           - Using InternalCapture to prevent mouse captures from being released
114             on mouse button release (Fixes #78100)
115         * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
116           returns Form borders if a caption is present. (Fixes #78310)
117
118 2006-05-08  Peter Dennis Bartok  <pbartok@novell.com> 
119
120         * TreeNode.cs: Changed serialization .ctor to not require every field
121           to be present. (#78265)
122         * OwnerDrawPropertyBag.cs: Added serialization .ctor
123
124 2006-05-05  Alexander Olk  <alex.olk@googlemail.com>
125
126         * MimeIcon.cs: for is faster than foreach for strings.
127
128 2006-05-05  Mike Kestner  <mkestner@novell.com>
129
130         * CheckedListBox.cs: update check handling code to not use selected.
131         * ListBox.cs: rewrite of mouse selection handling to correspond to MS
132         behavior for visual feedback, motion response, shift/ctrl handling,
133         and properly deal with all 4 selection modes. Updates to bounds
134         handling logic.  Add scroll wheel support. [Fixes #77842]
135
136 2006-05-05  Peter Dennis Bartok  <pbartok@novell.com> 
137
138         * ListView.cs:
139           - Moved adding of Implicit controls into .ctor. That way, subsequent
140             creation of the controls will not cause them to think they are 
141             toplevel windows (fixes #78200 header problem)
142           - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
143           - Switched visibility setting of header control to use internal field
144             to avoid triggering handle creation
145           - Now checking if handle is created before causing a refresh when items
146             are added (This makes us now match handle creation time with MS)
147         * Splitter.cs: Removed loading of private splitter cursor, switched to
148           Cursors version now that that is loading the right ones
149         * Cursors.cs: Load proper splitter cursors from resources
150         * Cursor.cs: Added second method of loading resource cursors for the 
151           VS.Net users amongst us
152
153 2006-05-05  Mike Kestner  <mkestner@novell.com>
154
155         * ListView.cs: give header_control a minimum size based on the
156         ListView size.
157
158 2006-05-05  Peter Dennis Bartok  <pbartok@novell.com> 
159
160         * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
161           window seems to do that with metacity, so set that type. (#78120)
162
163 2006-05-05  Mike Kestner  <mkestner@novell.com>
164
165         * ListViewItem.cs: fix Details mode checkbox layout bug.
166         * ThemeWin32Classic.cs: draw a ListView column header for unused space
167         at the end of the header, if it exists. [Fixes for #78200]
168
169 2006-05-04  Jackson Harper  <jackson@ximian.com>
170
171         * MdiClient.cs: Add a helper property to get the container form.
172         * MdiWindowManager.cs: We have to make sure to use the menu origin
173         when drawing the icons and buttons, this fixes maximized window
174         icons/buttons on win32.
175         * InternalWindowManager.cs: Reset the restore captions when a
176         window goes from Maximized to Minimized and vice versa. Move the
177         DrawMaximizedButtons into the MdiWindowManager source, tool
178         windows can't be maximized. NOTE: This could use a little
179         refactoring if time ever permits.
180         
181 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
182
183         * TextBox.cs: Add MWFCategoryAttributes
184         * TextBoxBase.cs: Add MWFCategoryAttributes
185         * Form.cs: Add MWFCategoryAttributes
186
187 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
188
189         * Control.cs: Add MWFCategoryAttributes
190         * ScrollableControl.cs: Add MWFCategoryAttributes
191
192 2006-05-03  Alexander Olk  <alex.olk@googlemail.com>
193
194         * ThemeWin32Classic.cs: Draw the ToolBar top border only if
195           Divider is true. Fix a little glitch in PropertyToolBar
196           drawing code
197
198 2006-05-02  Peter Dennis Bartok  <pbartok@novell.com> 
199
200         * Control.cs:
201           - Dispose: Call base.Dispose, this causes the disposed event
202             to be fired (and probably other, more important stuff)
203           - SetVisibleCore: Set is_visible to true after creating the
204             window so that the window still gets created invisible (if
205             WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
206             to generate a WM_ACTIVE message
207         * Form.cs: Call Dispose when we want to destroy the window, instead of
208           just destroying the handle (Dispose will do that for us)
209         * XplatUIX11.cs:
210           - RootWindow also needs a queue, so we can properly process the
211             property change events from RootWindow (like Activate)
212           - Generatic synthetic WM_ACTIVE message when the active window is
213             being destroyed
214
215 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
216
217         * LinkLabel.cs: Trigger a recalc of our label dimensions when
218           bounds are changed
219
220 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com>
221
222         * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
223           for determining width and height (image might not be assigned if
224           we're drawing an imagelist)
225
226 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
227
228         * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
229         * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
230           height from system
231         * Theme.cs: No longer returns hardcoded menu height, instead calls
232           new driver method
233         * Form.cs (OnLoad): Scaling happens before triggering Load events 
234           on MS (# 78257)
235
236 2006-05-01  Mike Kestner  <mkestner@novell.com>
237
238         * MenuItem.cs: fix NRE for text == null.  Fixes #78250.
239
240 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com> 
241
242         * TextBoxBase.cs: Removed Fixme
243         * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
244
245 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com>
246
247         * XplatUIX11.cs:
248           - ScrollWindow: We were passing hwnd.ClientRectangle which returns
249             the rectangle relative to the parent, considering borders. We
250             don't really want that.
251           - ScrollWindow: Fixed warning to be more understandable
252         * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
253           scrollbars and scroll only the visible area
254         * RichTextBox.cs: Removed debug output
255
256 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
257
258         * NumericUpDown.cs (Text): Just use base
259         * UpDownBase.cs: Ensure txtView is created before using it
260
261 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
262
263         * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
264           casting to IntPtr to avoid 64bit overflow errors
265
266 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
267
268         * Control.cs:
269           - AllowDrop: Don't force handle creation.
270           - CreateHandle: Added call to tell driver if we're allowed to drop
271
272 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
273
274         * FileDialog.cs: Remember the last directory not only for the
275           current instance but also for new FileDialog instances.
276
277 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
278         
279         * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
280           broke sending async messages
281
282 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
283
284         * XplatUIX11.cs:
285           - ScrollWindow: Fixed method. We finally generate expose events again
286             for scrolled areas. This was causing 'garbage' when scrolling
287             textbox and other controls that used ScrollWindow
288           - Switched from using the regular queue for paint events to the MS 
289             model of 'generating' paint events when the queue is empty.
290             We use the new XQueueEvent.Paint subclass to store which windows
291             need painting.
292           - AddExpose now takes the x/y/width/height of the exposed area
293             and inserts the window into the paint queue if not already there
294           - InvalidateWholeWindow: Switched to use new AddExpose method
295           - UpdateMessageQueue: Added which queue to monitor for paint events
296           - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
297             the unlikely case nothing above handles it. We reset the expose
298             pending states to get them off the queue.
299           - GetMessage: Now pulls a paint event if no other events are in the
300             queue
301           - Invalidate: Switched to new AddExpose method
302           - PeekMessage: Updated to understand pending paint events
303           - UpdateWindow: Fixed logic bug. We were only updating if the window
304             didn't need updating. Also switched to sending WM_PAINT directly,
305             like MS does.
306         * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
307           and random access Remove(). The random access is needed to handle
308           UpdateWindow() where a WM_PAINT is sent directly without accessing
309           the queue.
310         * ScrollBar.cs: Added Update() calls to cause immediate updates to
311           allow for better feedback when scrolling. Scrollbars are small and
312           the immediate update should make it 'feel' more responsive without
313           slowing things down. ScrollBar still needs it's invaliate logic
314           updated to not always invalidate the whole bar on certain changes.
315
316 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317
318         * Control.cs:
319         (BackColor): if the control does not support a transparent background,
320         return the default backcolor when the parent backcolor is transparent.
321
322 2006-04-28  Peter Dennis Bartok  <pbartok@novell.com>
323
324         * Application.cs: Updated to new StartLoop/GetMessage API
325         * RichTextBox.cs: Provide some output on RTF parsing errors
326         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
327           new queue_id argument to GetMessage and PeekMessage to allow faster
328           handling of per-thread queues in drivers.
329         * Hwnd.cs: Added Queue tracking and property
330         * MenuAPI.cs: Updated to new StartLoop/GetMessage API
331         * XEventQueue.cs: Added thread trackingA
332         * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
333         * XplatUIX11.cs:
334           - Implemented new per-thread queue
335           - GetMessage: Fixed return/break behaviour on several cases. We were
336             returning stale messages in some cases, instead of just processing
337             the next message
338
339 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
340
341         * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
342
343 2006-04-27  Peter Dennis Bartok  <pbartok@novell.com>
344
345         * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
346           fixed off-by-one comparisons between Width/Height and Right/Bottom.
347
348 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
349
350         * PropertyGridView.cs: Fix drop down width.
351
352 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
353
354         * ThemeWin32Classic.cs: Peter thinks that three additional lines are
355           a mess in DrawToolBar, so I removed one of them.
356
357 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
358
359         * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
360           needed (clip). Otherwise we get artifacts.
361
362 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
363
364         * FixedSizeTextBox.cs: Added constructor to allow specifying which
365           dimension is fixed
366         * UpDownBase.cs: Set the spinner control to be fixed height vertical,
367           and switched FixedSizeTextBox to only be fixed vertical (#78116)
368         * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
369           if it matches the scale base font (avoids unneeded scaling)
370
371 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
372
373         * X11DesktopColors.cs: One gtk_init_check should be enough
374
375 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com> 
376
377         * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
378           match MS behaviour
379
380 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
381
382         * TextBoxBase.cs: 
383           - Generate OnTextChanged for Backspace even if we're only deleting
384             the current selection
385           - When setting the Text property, only select all text if the
386             control does not have focus when it is being set. Otherwise
387             just place the cursor at the beginning of the control
388
389 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
390
391         * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
392           Added a little helper to draw PropertyGrid ToolBar with a different
393           border and a different BackColor.
394         * PropertyGrid.cs: Some background parts didn't get painted with the
395           correct background color. Added a class that helps us to draw the
396           correct border for PropertyGridView and a class that helps us to
397           draw ToolBars with a different backcolor
398         * PropertyGridView.cs: Draw PlusMinus with the correct colors.
399
400 2006-04-25  Jonathan Chambers  <jonathan.chambers@ansys.com>
401
402         * PropertyGrid.cs: Bug 78196, font size, and splitter location.
403         * PropertyGridView.cs: Bug 78196, font size, and splitter location.
404
405 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
406
407         * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
408           into the palette entries. Also, since we're working on a copy
409           we needed to copy the palette back onto the bitmap.
410         * Cursor.cs: Same fix as XplatUIWin32.cs.
411
412 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>
413
414         * ImageListStreamer.cs: Need to read the var (or we're off)
415
416 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
417
418         * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs, 
419           XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
420           TextBoxBase.cs: Unused var fixes
421         * AxHost.cs: Small 2.0 fix
422         * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms 
423           as it seems that is what at least Metacity expects. This will make
424           icons show up on 64bit platforms. We still have some 64bit size
425           issues, though, since the startup app window size still won't match.
426
427 2006-04-25  Mike Kestner  <mkestner@novell.com>
428
429         * *.cs: cleanup newly reported exception var unused warnings.
430
431 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
432
433         * ThemeWin32Classic.cs: Button image alignment now matches exactly
434           ms
435
436 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
437
438         * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
439           image. The image position is always the same, no matter if the
440           button is pressed or not.
441
442 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
443
444         * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
445           selection and set the correct filename for SaveFileDialog.
446           Patch by Emery Conrad.
447
448 2006-04-24  Mike Kestner  <mkestner@novell.com>
449
450         * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
451         check for item.X outside the ClientRect instead of item.Y. Fixes
452         #78151.
453
454 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
455
456         * ImageListStreamer.cs: some images store a wrong grow factor, so don't
457         trust that value blindly and do some sanity check. Fixes bug #77814.
458
459 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
460
461         * ImageListStreamer.cs: save the mask as a 1bpp image.
462
463 2006-04-21  Mike Kestner  <mkestner@novell.com>
464
465         * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
466         pass Checked and Indeterminate to the Theme Engine. Improve
467         encapsulation with ListBox.
468         * ListBox.cs: Keep a StringFormat instead of calculating it every item
469         draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
470         nested types.  Move all CheckState functionality to CheckedListBox.
471         Make IntegralHeight work like MS.  Rewrite of Layout engine.  Fix
472         OwnerDrawVariable layout/rendering.  Fix multicolumn rendering.  Fix
473         ScrollAlwaysVisible handling. Refactor "selected" collections to use a
474         single base list. Fix scrollbar sizing and placement to mirror MS.
475         * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
476         used.
477         * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
478         for CheckedListBox by using new DrawItemState info.  Center the
479         checkboxes on the items. Use new StringFormat property.
480
481 2006-04-18  Jackson Harper  <jackson@ximian.com>
482
483         * Form.cs: MdiChildren don't do default locations the same way as
484         regular forms.  This prevents a crash when trying to position the
485         mdi windows.
486
487 2006-04-17  Jonathan Chambers  <jonathan.chambers@ansys.com>
488
489         * PropertyGridTextBox.cs: Formatting, copyright
490         * PropertiesTab.cs: Formatting
491         * PropertyGrid.cs: Formatting
492         * PropertyGridView.cs: Formatting, fix drop down, enabled double 
493           click toggling of values
494           
495 2006-04-17  Peter Dennis Bartok  <pbartok@novell.com> 
496
497         * KeyPressEventArgs: Added 2.0 only setter for KeyChar
498         * Control.cs (.ctor): verify_thread_handle is static, don't reset
499           every time a control is created
500         * Application.cs: Removed obsolete EnableRTLMirroring method
501
502 2006-04-18  Gert Driesen  <drieseng@users.sourceforge.net>
503
504         * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
505         SelectedIndex to -1. Fixes bug #78121.
506
507 2006-04-17  Jackson Harper  <jackson@ximian.com>
508
509         * Binding.cs: Handle null values for Current and BindingContext.
510         This occurs when binding is a little delayed.
511         * CurrencyManager.cs: return null for Current when there are no
512         items in the list.
513         - Hookup to the listchanged event on the DataView and update
514         bindings when the list is changed.  This fixes late binding of
515         controls.
516
517 2006-04-17  Jackson Harper  <jackson@ximian.com>
518
519         * X11Dnd.cs:
520         * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
521         Ringenbach.
522
523 2006-04-15  Alexander Olk  <alex.olk@googlemail.com>
524
525         * ThemeWin32Classic.cs: Draw disabled combo button in the correct
526           place
527         * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
528           with the correct ButtonState
529
530 2006-04-14  Peter Dennis Bartok  <pbartok@novell.com>
531
532         * XplatUIX11.cs: Improved distinguishing between window types to
533           tell the WM a type closer to what the app wants (Fixes #78107)
534
535 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
536
537         * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
538           GrabHandle
539
540 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
541
542         * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
543           drawing code to reflect the size grip changes
544
545 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546
547         * ImageListStreamer.cs: fix handling of the mask that follows the main
548         bitmap when deserializing and serialize it properly. The generated mask
549         should better be a 1bpp image, but I'll do that later.
550
551 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
552
553         * FileDialog.cs: Show something in the DirComboBox on *nix if the
554           path doesn't fit into some of our Current.Places
555
556 2006-04-13  Jackson Harper  <jackson@ximian.com>
557
558         * ComboBox.cs: Use borders instead of drawing our own decorations,
559         try to obey correct rules for heights.
560         * Theme.cs:
561         * ThemeNice.cs:
562         * ThemeClearLooks.cs:
563         * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
564         this is now handled by borders.
565         - Remove unused DrawListBoxDecorationSize method.
566         
567 2006-04-13  Mike Kestner  <mkestner@novell.com>
568
569         * MenuAPI.cs: null guarding for the disbled click check fixes crash
570         reported by Alex.
571
572 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
573
574         * ThemeWin32Classic.cs: 
575           - Fixed CPDrawStringDisabled
576           - Corrected drawing of disabled menu items
577           - Fixed drawing of disabled radio buttons (bug #78095)
578           - Draw check in a disabled CheckBox with color ControlDark 
579
580 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
581
582         * Form.cs: Use the provided width when calculating the menu size;
583           when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
584           and ClientSize.Width won't be updated yet
585         * Application.cs: Use Visible instead of Show() to make form visible,
586           this way we create the handle later and menusize is considered
587
588 2006-04-12  Mike Kestner  <mkestner@novell.com>
589
590         * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
591         reporting.
592
593 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
594
595         * TextBox.cs: Implemented context menu
596
597 2006-04-12  Mike Kestner  <mkestner@novell.com>
598
599         * ListView.cs: implement box selection. fixes #77838.
600         * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
601
602 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
603
604         * XplatUIX11.cs: Added setting of window type when transient window
605           is created (metacity would move it otherwise)
606         * X11Structs.cs: Added WINDOW_TYPE atoms
607         * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
608           background (the control is Opaque but still wants transparent
609           backgrounds)
610
611 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
612
613         * Control.cs: Added OnPaintBackgroundInternal to allow controls
614           that set Opaque but don't mean it (like all ButtonBase-derived
615           controls) to still draw their background
616         * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
617           the background
618
619 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
620
621         * Control.cs (PaintControlBackground): Set the graphics object
622           on our PaintEvent to null to prevent it from being disposed
623           when the PaintEvent gets disposed
624
625 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
626
627         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
628         * ThemeNice.cs, ThemeClearlooks.cs: fix typo
629
630 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
631
632         * Control.cs: 
633           - Added transparency check to BackColor property. Transparent
634             backgrounds are only allowed if the control styles permit it
635           - Added recursive painting of parent control background and
636             foreground if a control with a transparent backcolor is drawn
637             (Thanks to Tim Ringenback for providing his 'hack' as a base
638              for this patch) Fixes #77985 and #78026.
639           - Added Opaque style check before calling OnPaintBackground, no
640             need to draw the background if the control is opaque
641           - Removed ControlAccessibleObject owner variable (inherited from
642             base, no need to define again)
643           - Added some documentation links explaining the drawing events
644             and styles
645
646 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
647
648         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
649           that the affected control is the located at the left border of our
650           parent (Fixes #77936)
651
652 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
653
654         * TextBoxBase.cs: When rendering disabled or readonly controls,
655           draw the background with 'Control' instead of 'Window' color as
656           long as the user hasn't specifically set a color
657
658 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
659
660         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
661           since that won't be updated if the user types text (only if it's
662           programatically set)
663
664 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
665
666         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
667           layout changes do to app-triggered resizes will have the proper
668           display rectangle for layout
669
670 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
671
672         * ThemeWin32Classic.cs:
673           - Make use of the SystemBrushes and SystemPens wherever possible
674           - Corrected some highlight colors
675           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
676             drawing
677         * Theme.cs: Added Empty field to CPColor struct
678
679 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
680
681         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
682           is displayed when calculating the display rectangle. Thanks to Mike
683           for teaching me the err of my ways.
684
685 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
686
687         * ScrollableControl.cs:
688           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
689             (instead of 0,0) and we now return the real width/height instead of
690             just the clientrectangle, adjusted for padding. The rectangle is
691             now cached and created by the new CalculateDisplayRectangle method.
692           - Created new CalculateDisplayRectange method, which basically does
693             what get_DisplayRectangle() did originally, but now using the 
694             right edge instead of DisplayRectangle to determine the size of
695             our scrollbars
696           - get_Canvas(): Fixed it to properly calculate canvas for 
697             right/bottom controls which seem to be placed to the right/bottom
698             of any controls that have a fixed location
699           - Removed TODO that's taken care of
700           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
701             and SetDisplayRectLocation according to new MSDN2 docs
702           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
703             event when that is called, this is added for compatibility
704           - ScrollControlIntoView(): Implemented.
705           - Switched scrollbars to be implicit, they shouldn't be selectable
706         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
707           call it when the active control is set/changed
708         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
709         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
710           implicit_control variable (used for native Win32 message generation)
711         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
712           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
713         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
714         * XplatUIStructs.cs: Added ScrollBarCommands enum
715
716 2006-04-10  Jackson Harper  <jackson@ximian.com>
717
718         * ButtonBase.cs:
719         * CheckedListBox.cs:
720         * ComboBox.cs:
721         * DataGrid.cs:
722         * DataGridView.cs:
723         * Form.cs:
724         * GroupBox.cs:
725         * ListBox.cs:
726         * PrintPreviewControl.cs:
727         * ProgressBar.cs:
728         * PropertyGrid.cs:
729         * Splitter.cs:
730         * StatusBar.cs:
731         * TrackBar.cs:
732         * UpDownBase.cs: Fixup base event overrides.
733         
734 2006-04-06  Mike Kestner  <mkestner@novell.com>
735
736         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
737         all user-initiated value changes to min <= value <= max-thumbsz+1.
738         (set_Value): check for vert/horiz when calculating new thumb position.
739         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
740         like MS does.
741         (OnMouseMoveSB): refactor the thumb dragging code and refine
742         invalidation logic to reduce flicker.
743         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
744         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
745         (UpdateThumbPosition): small code readability cleanup
746
747 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
748
749         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
750           different
751
752 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
753
754         * ThemeNice.cs: Use a better graphics effect when a button is pressed
755
756 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
757
758         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
759         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
760           This dramatically reduces the number of Pen.Dispose calls. 
761           Where possible call ResPool methods only once instead of calling it
762           over and over again (for example for the same color).
763
764 2006-04-06  Mike Kestner  <mkestner@novell.com>
765
766         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
767         Also remove an unused private field on the collection. Fixes #77972.
768
769 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
770
771         * ThemeNice.cs: Added ToolBar drawing code
772
773 2006-04-06  Mike Kestner  <mkestner@novell.com>
774
775         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
776         I'm assuming that means we need to look up the toplevel for the
777         provided control. Fixes the crash trace in #77911 but exposes another
778         crash in some strange reflection usage in NDocGui.
779
780 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
781
782         * ThemeNice.cs: Gave it a little silver touch and added Images
783           method
784         * FontDialog.cs: FontDialog is not resizable
785         * FileDialg.cs: Added SizeGripStyle.Show
786
787 2006-04-05  Jackson Harper  <jackson@ximian.com>
788
789         * KeyboardLayouts.cs: Remove warning.
790
791 2006-04-05  Jackson Harper  <jackson@ximian.com>
792
793         * Control.cs: Enable OnPaintInternal so we can use it for drawing
794         all of our controls instead of Paint +=.
795         * ListBox.cs:
796         * ListView.cs:
797         * MenuAPI.cs:
798         * MessageBox.cs:
799         * NotifyIcon.cs:
800         * ProgressBar.cs:
801         * ScrollBar.cs:
802         * Splitter.cs:
803         * StatusBar.cs:
804         * TabControl.cs:
805         * TextBoxBase.cs:
806         * ToolBar.cs:
807         * TrackBar.cs:
808         * UpDownBase.cs:
809         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
810         use OnPaintInternal. Remove Width/Height and Visible checks in
811         paint handler, this is done at a higher level now.
812         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
813         * PaintEventArgs.cs: Add a handled flag so controls that don't
814         want anymore painting after OnPaintInternal can make sure OnPaint
815         isn't called.
816
817 2006-04-05  Mike Kestner  <mkestner@novell.com>
818
819         * Form.cs: fix the menu WndProc hacks to respect the native enabled
820         state of the form, so that we don't process events when Modal dialogs
821         are up. Fixes #77922.
822
823 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
824
825         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
826           checking is done.
827
828 2006-04-05  Mike Kestner  <mkestner@novell.com>
829
830         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
831
832 2006-04-05  Mike Kestner  <mkestner@novell.com>
833
834         * ListView.cs (HeaderMouseMove): null guarding for the over column
835         when setting up the drag_to_index.  Fixes #78015.
836
837 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
838
839         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
840           in the taskbar. Transient windows seem to accomplish that.
841
842 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
843
844         * Form.cs:
845           - Re-enabled CreateParams.X/Y code for FormStartPosition
846           - Added code for manual placement when creating the Control
847           - Incomplete patch to treat MDI forms differently when
848             setting the ClientSizeCore. (Still need to figure out handling
849             x/y coords there)
850         * XplatUIX11.cs:
851           - When we're explicitly setting the X/Y position of a non-Child
852             window, let the WM know. Metacity really wants this.
853
854 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
855
856         * ThemeNice.cs: Added CPDrawButton
857
858 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
859
860         * ThemeNice.cs: Changed the color for focused buttons and activated
861           the arrows for small scroll buttons.
862
863 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
864
865         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
866           anymore. Changed some method modifiers to protected (virtual)
867         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
868           changes
869         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
870           Updated drawing of menus, buttons and progressbars; added
871           CPDrawBorder3D 
872
873 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874
875         * ImageListStreamer.cs: implemented serialization/deserialization
876         of the images.
877
878 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
879
880         * ThemeWin32Classic.cs:
881           - Removed all the DrawFrameControl stuff; CPDrawButton,
882             CPDrawCheckBox and CPDrawRadioButton are now handled directly
883             inside the methods
884           - Updated and corrected the drawing code of CPDrawButton,
885             CPDrawCheckBox and CPDrawRadioButton to better match ms
886           - Updated theme checkbox and radiobutton code to use the CP*
887             methods
888
889 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
890
891         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
892           bug is fixed
893
894 2006-03-31  Jackson Harper  <jackson@ximian.com>
895
896         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
897         sometimes.
898         * UpDownBase.cs: Don't CreateGraphics manually, use a
899         Refresh. Ideally we would invalidate the correct areas here.
900
901 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
902
903         * XplatUIX11.cs: 
904           - We now track the mapping state of windows. If a window (or 
905             one of it's parents) is not mapped we no longer permit
906             WM_PAINT messages to be generated since we'd otherwise get 
907             lots of BadMatch X errors. Jackson did all the work figuring
908             out the problem.
909           - Destroying the caret if the window it's contained in is 
910             destroyed. Can't use regular DestroyCaret method since it
911             might fall into a drawing function (trying to remove the
912             caret) and with that generate new BadMatch errors. Again,
913             Jackson tracked this down.
914           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
915             make sure we send the messages to all windows. (The old code
916             would send the WM_DESTROY to the window, and then all child
917             windows would be 'gone' because the WM_DESTROY handle lookup
918             would no longer find the destroyed window)
919         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
920         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
921
922 2006-03-31  Jackson Harper  <jackson@ximian.com>
923
924         * ScrollableControl.cs: Dont recalc if we are not visible.
925
926 2006-03-31  Mike Kestner  <mkestner@novell.com>
927
928         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
929         the visibility branch.
930
931 2006-03-31  Jackson Harper  <jackson@ximian.com>
932
933         * ScrollBar.cs: Cap values when incrementing/decrementing.
934
935 2006-03-31  Mike Kestner  <mkestner@novell.com>
936
937         * MenuAPI.cs: setup menu.tracker for popup/context menus.
938         * ToolTip.cs: guard against timer expirations with no active control.
939         Not sure why it happened.
940
941 2006-03-31  Mike Kestner  <mkestner@novell.com>
942
943         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
944         text.
945         * ToolTip.cs: Position the tooltip based on where the cursor is at
946         popup time, not at MouseEnter time.  Add a Down state so that we don't
947         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
948         positioning offset. Lookup DisplaySize at positioning time, since it
949         can theoretically change during invocation.
950         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
951         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
952
953 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
954
955         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
956           Fixes behaviour when the Text property of the box is String.Empty
957
958 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
959
960         * XplatUIX11.cs: Only send mouseleave for our client windows, not
961           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
962           a window)
963
964 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
965
966         * FileDialog.cs: Visual enhancement for the popup buttons in 
967           PopupButtonPanel
968
969 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
970
971         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
972           code
973
974 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
975
976         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
977           highlighted menu items to match ms
978
979 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
980
981         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
982
983 2006-03-30  Mike Kestner  <mkestner@novell.com>
984
985         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
986         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
987         go active to account for HotLight to Selected transition.
988         * MenuItem.cs: add internal Selected prop. Fill out the Status
989         property by calculating it from item info. Add HotLight,
990         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
991
992 2006-03-30  Mike Kestner  <mkestner@novell.com>
993
994         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
995
996 2006-03-29  Jackson Harper  <jackson@ximian.com>
997
998         * Form.cs: Implement TODO.
999
1000 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
1001
1002         * PrintPreviewDialog.cs: Implemented missing methods and events; still
1003           missing proper dialog setup in the constructor
1004
1005 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
1006
1007         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1008         * Control.cs:
1009           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1010           - Fixed ResetBindings and removed TODO
1011           - Added check for cross-thread calls to get_Handle()
1012           - Added Marshaller attribute for set_Font to satisfy class status
1013         * FontDialog.cs: Removed TODOs that seemed implemented
1014         * UpDownBase.cs: Removed unneeded TODO and Fixme
1015         * MessageBox.cs: Implemented support for Default button and removed TODO
1016         * FileDialog.cs: Removed obsolete TODO
1017         * DomainUpDown.cs: Removed obsolete TODO
1018         * ButtonBase.cs: Removed obsolete TODO
1019         * XplatUIWin32.cs: Removed obsolete TODO
1020         * Form.cs:
1021           - Removed obsolete TODO
1022           - Calling CheckAcceptButton when the acceptbutton is changed to allow
1023             internal status updates
1024           - Making sure the active control is selected when the control is created
1025         * CurrencyManager.cs: Removed obsolete TODO
1026
1027 2006-03-29  Mike Kestner  <mkestner@novell.com>
1028
1029         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1030         of PrintPreviewDialog and RichTextBox.
1031
1032 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
1033
1034         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1035           DarkDark, Light and LightLight colors for a specific color
1036         * ThemeWin32Classic.cs:
1037           - Use Button drawing code to draw RadioButtons and CheckBoxes with
1038             Appearance = Button 
1039           - Make use of the new ResPool helper CPColor
1040           - Draw ProgressBar and StatusBar with correct 3D borders
1041
1042 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
1043
1044         * ColorDialog.cs: Return selected color. Fixes bug #77940.
1045
1046 2006-03-28  Mike Kestner  <mkestner@novell.com>
1047
1048         * ListView.cs: fix Icon layout to plan for scrollbar widths when
1049         calculating col/row counts.
1050
1051 2006-03-28  Mike Kestner  <mkestner@novell.com>
1052
1053         * ColumnHeader.cs:
1054         * ListView.cs:
1055         * ListViewItem.cs:
1056         * Menu.cs: 
1057         switch to explicit interface method implementation for some methods
1058         corcompare identifies as inconsistent with MS.
1059
1060 2006-03-28  Mike Kestner  <mkestner@novell.com>
1061
1062         * MainMenu.cs: 
1063         * Menu.cs:
1064         add a few missing methods from the class status output.
1065
1066 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
1067
1068         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1069           correct.
1070
1071 2006-03-28  Mike Kestner  <mkestner@novell.com>
1072
1073         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1074
1075 2006-03-27  Mike Kestner  <mkestner@novell.com>
1076
1077         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1078         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1079
1080 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
1081
1082         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1083
1084 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1085
1086         * ThemeWin32Classic.cs:
1087           - GroupBox: Inserted a little gap between the text and the lines
1088             on the right side
1089           - Made the code in CPDrawBorder3D more readable
1090           - Corrected the drawing location of the up and down arrows in 
1091             CPDrawScrollButton
1092
1093 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1094
1095         * ControlPaint.cs: Corrected line widths in DrawBorder for
1096           ButtonBorderStyle Inset and Outset
1097
1098 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1099
1100         * ThemeWin32Classic.cs:
1101           - Rewrote the totally broken CPDrawBorder3D method. That was
1102             one of the main problems for the terrific ThemeWin32Classic
1103             look
1104           - Updated and corrected Button drawing
1105           - Correct the dimensions of the SizeGrip to match ms ones
1106           - Removed a small drawing glitch in DrawComboBoxEditDecorations
1107         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1108           Border3DStyle.Sunken to match ms.
1109
1110 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
1111
1112         * ThemeWin32Classic.cs: First small part of the "de-uglify
1113           ThemeWin32Classic" effort, SizeGrip
1114
1115 2006-03-24  Jackson Harper  <jackson@ximian.com>
1116
1117         * XplatUIX11.cs: Give a max idle time of one second, this matches
1118         MS and forces an Idle event every second when there are no other
1119         events in the queue.
1120
1121 2006-03-24  Mike Kestner  <mkestner@novell.com>
1122
1123         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1124         * ListView.Item.cs: fix layout issues with null image lists and images
1125         smaller than checkbox size.
1126         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1127         mode like MS does.  It's weird, but consistent.  ;-)
1128         Fixes #77890.
1129
1130 2006-03-24  Mike Kestner  <mkestner@novell.com>
1131
1132         * ListView.cs: Scroll wheel support for the item control.  Fixes
1133         #77839.
1134
1135 2006-03-23  Jackson Harper  <jackson@ximian.com>
1136
1137         * ScrollableControl.cs: Special case negative sized areas, not
1138         zero.
1139         * MonthCalendar.cs: Save the rect of the clicked date so we can
1140         use it for invalidation.
1141         - Try to cut down on the number of invalidates
1142         - Invalidate the rect the mouse is over and was over when moving
1143         the mouse, so we get the focus box following the cursor.
1144
1145 2006-03-23  Mike Kestner  <mkestner@novell.com>
1146
1147         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1148         focus rectangle drawing. Fixes #77835.
1149
1150 2006-03-23  Mike Kestner  <mkestner@novell.com>
1151
1152         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1153         the if and else if and reverting back to the original == check on the
1154         None conditional.
1155
1156 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
1157
1158         * FontDialog.cs: Update the example panel if the selected index of
1159           the fontListBox changes.
1160
1161 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
1162
1163         * FileDialog.cs: Make FileDialog remember which directory it was in
1164           last in the same execution.
1165
1166 2006-03-22  Mike Kestner  <mkestner@novell.com>
1167
1168         * FileDialog.cs: make the DropDownMenu on the toolbar display
1169         RadioChecks since they are mutually exclusive and that's what MS does.
1170
1171 2006-03-22  Mike Kestner  <mkestner@novell.com>
1172
1173         * Theme.cs: add Color param to CPDrawMenuGlyph.
1174         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1175         checks and radio marks and arrows are visible on highlighted items.
1176         * ControlPaint.cs: update to use new Theme signature.
1177
1178 2006-03-22  Mike Kestner  <mkestner@novell.com>
1179
1180         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1181         is active. Fixes #77870.
1182
1183 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1184
1185         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1186           to be focused/selected after startup
1187
1188 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1189
1190         * ColorDialog.cs: 
1191           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1192             CustomColors and ShowHelp properties
1193           - Some internal rewrites to get better results when using the
1194             ColorMatrix
1195
1196 2006-03-22  Mike Kestner  <mkestner@novell.com>
1197
1198         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1199         HoverSelection.  Fixes #77836.
1200
1201 2006-03-22  Mike Kestner  <mkestner@novell.com>
1202
1203         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
1204         ToggleButtons.  (De)Sensitize the Back button around a stack count of
1205         1, not 0.  Update ButtonSize based on a pixel count of the win32
1206         control.  Adjust the toolbar size/location for new button size.
1207
1208 2006-03-22  Jackson Harper  <jackson@ximian.com>
1209
1210         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1211         true.
1212         * ScrollBar.cs: When doing increments and decrements we need to
1213         set the Value property so that ValueChanged gets raised. A
1214         possible optimization here would be to make an internal SetValue
1215         that doesn't invalidate immediately.
1216         * ToolTip.cs: Tooltips get added to their container (when
1217         supplied) so they get disposed when the container is disposed.
1218         - Don't create tooltips for String.Empty. This prevents all these
1219         little 2-3 pixel windows from showing up when running nunit-gui
1220         and driving me mad.
1221         * Form.cs: Don't set topmost when setting the owner if the handles
1222         haven't been created yet.  The topmost set will happen when the
1223         handles are created.
1224
1225 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
1226
1227         * XplatUIX11.cs:
1228           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1229           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
1230             visible (to allow them to recalculate their sizes)
1231
1232 2006-03-21  Mike Kestner  <mkestner@novell.com>
1233
1234         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1235         methods. Removed a ton of redundant code.  Still not really happy with
1236         the border rendering, but I think that's mainly because of the
1237         ControlDarkDark being black instead of a dark grey. Depending on how 
1238         close we want to be, we might want to revisit those color choices.
1239         Among the new features added during the refactor were DropDownArrow
1240         pressed rendering, Disabled image rendering.  Proper flat appearance
1241         boundary rendering.  Removed the Divider and Wrapping dividers since I
1242         can't figure out any combination of themes and conditions to make the
1243         MS control draw a horizontal line on a toolbar despite what the
1244         Divider property docs indicate.
1245         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1246         conditions and incorrect layout.  Updated to coding standard.
1247         * ToolBarButton.cs: refactored layout and positioning code from
1248         ToolBar to here.  Invalidate wherever possible instead of forcing
1249         redraws of the whole toolbar. 
1250         (Known remaining issues: explicit ButtonSize smaller than provided
1251         images.)
1252
1253 2006-03-21  Mike Kestner  <mkestner@novell.com>
1254
1255         * ContextMenu.cs (Show): use the position parameter instead of just
1256         showing at the MousePosition.
1257
1258 2006-03-21  Jackson Harper  <jackson@ximian.com>
1259
1260         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1261         control handle this.
1262         * TreeNodeCollection.cs: If we are clearing the root node we need
1263         to reset top_node so calcs can still happen.
1264         * ThemeWin32Classic.cs: This is a Flags so we need to check
1265         properly.
1266         
1267 2006-03-21  Jackson Harper  <jackson@ximian.com>
1268
1269         * DataGrid.cs: Create columns when the binding context has been
1270         changed.
1271         * X11Structs.cs: Keysyms are uints.
1272         - Add size to fix build.
1273
1274 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
1275
1276         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1277           XplatUIOSX.cs: 
1278           - Added ResetMouseHover method to allow controls to retrigger
1279             hovering if they need it more than once
1280           - Implemented MouseHoverTime and MouseHoverSize properties
1281         * Timer.cs: Start() must reset the interval
1282         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1283           properties
1284
1285 2006-03-21  Jackson Harper  <jackson@ximian.com>
1286
1287         * X11Keyboard.cs: improved layout detection. Move the nonchar
1288         tables into this file.
1289         * KeyboardLayouts.cs: Move the tables into resource files.
1290
1291 2006-03-21  Mike Kestner  <mkestner@novell.com>
1292
1293         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1294
1295 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
1296
1297         * Mime.cs: Various speed optimizations. Looking up mime types
1298           is now 2 times faster than before
1299
1300 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
1301
1302         * CreateParams.cs: Added internal menu field
1303         * Control.cs: 
1304           - Switched call order for UpdateBounds; now we always call
1305             the one that also takes ClientSize, and we're calculating the 
1306             client size via driver method in the others. The previous
1307             method of tracking client size by difference wasn't working
1308             for forms where even the starting client size wouldn't match
1309             the overall form size (due to borders) (Part of fix for #77729)
1310           - CreateParams(): Do not use parent.Handle unless the handle is
1311             already created. Causes havoc with Nexxia and throws off our
1312             creation of controls
1313         * XplatUIX11.cs:
1314           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1315           - Switched handling of ConfigureNotify over to new PerformNCCalc 
1316             method (consolidates code)
1317           - Changed RequestNCRecalc to use new PerformNCCalc method
1318           - Added calls to RequestNCRecalc when menus and borders are changed
1319             to allow app to set NC size. (Part of fix for #77729) This matches
1320             when MS send a WM_NCRECALC on Win32 windows.
1321           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1322             (Part of fix for #77729). This matches what MS does, they also
1323             send that message when the form is made visible.
1324           - XException.GetMessage: Improved usability of X errors by including
1325             a translation of the window into Hwnd and Control class
1326           - Improved debug info for window creation, reparenting and destruction
1327           - Created helper method WindowIsMapped() [Currently not used]
1328         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1329         * Form.cs:
1330           - CreateParams: Now setting our menu on the new internal menu field
1331           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1332             avoid calculating the same property twice
1333         * Hwnd.cs:
1334           - Improved usability of ToString() for debugging purposes
1335           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1336             determine the height of the menu, instead of just the font. This
1337             required to also create a graphics context and to keep a bmp 
1338             around (for performance reasons)
1339
1340 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
1341
1342         * MenuAPI.cs: Added OnMouseUp method
1343         * Form.cs:
1344           - Now remembering the requested client size, avoids size errors
1345           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1346             instead of base if the menu is active. This is required due to
1347             control now capturing and releasing on down/up and it would
1348             prematurely release our menu capture
1349
1350 2006-03-17  Jackson Harper  <jackson@ximian.com>
1351
1352         * KeyboardLayouts.cs: Add the czech layouts.
1353
1354 2006-03-16  Jackson Harper  <jackson@ximian.com>
1355
1356         * Control.cs: Use the viewport space when sizing not the controls
1357         client size, so things like ScrollableControl that effect the
1358         viewport size (when scrollbars are added) are computed correctly.
1359         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1360         of ManagerEntrys.
1361         - Handle creating BindingManagers for null data sources.
1362         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1363         source, otherwise when rows are added they are added to the 'fake'
1364         datasource and we will crash when trying to set the position in
1365         those rows.
1366         - Use Implicit scrollbars on the datagrid so they arent
1367         selectable.
1368         
1369 2006-03-16  Jackson Harper  <jackson@ximian.com>
1370
1371         * Binding.cs:
1372         * InternalWindowManager.cs:
1373         * MdiWindowManager.cs:
1374         * X11Keyboard.cs: I really want Mike to love me again (fix
1375         compiler warnings).
1376
1377 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
1378
1379         * DataGrid.cs:
1380           - OnMouseDown: Switch to editing mode when clicking on the cell
1381                          even if we're clicking on the cell that's currently 
1382                          selected
1383           - ProcessGridKey: Left/Right now wrap like MS.Net does
1384           - ProcessGridKey: Tab now knows to add a new row when tab is
1385                             pressed in the cell of the last column of the 
1386                             last row
1387           - ProcessGridKey: Enter now adds another row  if pressed in the last
1388                             row and selectes the new row, same column cell
1389           - ProcessGridKey: Home/End navigate columns, not rows, like 
1390                             originally implemented
1391           - Broke ProcessKeyPreview code out into an extra Internal method
1392             so it can be called from the edit code
1393         * DataGridTextBox.cs (ProcessKeyMessage):
1394           - Switched to accept Tab keypresses
1395           - Added F2 handling to allow jumping to the end of the edited cell
1396           - Added logic to allow moving caret left/right inside edited cell
1397             and making the edited cell jump when the caret hits cell borders
1398           - Tab and Enter are now passed to the datagrid after being handled
1399         * TextBoxBase.cs:
1400           - Removed capture code now that Control handles it
1401           - set_SelectionStart now ensures caret is visible
1402
1403 2006-03-16  Jackson Harper  <jackson@ximian.com>
1404
1405         * TrackBar.cs: Debackwards the increment/decrement for handling
1406         mouse clicks on the bar with vertical trackbars.
1407         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1408         bottom to match MS.
1409
1410 2006-03-16  Mike Kestner  <mkestner@novell.com>
1411
1412         * ListView.cs: make shift/ctrl keyboard and mouse selection 
1413         consistent with the MS control. Fix a bug in
1414         SelectedListViewItemCollection.Clear that was pissing me off for the
1415         better part of a day because the collection was being altered
1416         underneath us as we walked the list.
1417
1418 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
1419
1420         * Control.cs: Not sure how we could miss this so long, but it seems
1421           that MS.Net has Capture set all the way from before calling 
1422           OnMouseDown through sending the mouse events until after
1423           OnMouseUp. This will fix DataGrid's selection being set to end
1424           at the location of the MouseUp.
1425
1426 2006-03-15  Jackson Harper  <jackson@ximian.com>
1427
1428         * BindingContext.cs: Check the binding after its added so that it
1429           can initialize the binding managers and hookup to events.
1430         * Binding.cs: Data members seem to sometimes include rows/cols in
1431           the format Row.Column we now take this into account.
1432           - Hookup to the position changed event so we can update the
1433           control when the position has changed in the data set.
1434         * CurrencyManager.cs: Take into account the row/col naming
1435           convention when creating dataset tables.
1436         * BindingContext.cs: Using a newer better way of storing
1437           datasource/datamember pairs.  Hopefully this better matches MS for
1438           looking up binding managers.
1439
1440
1441 2006-03-15  Jackson Harper  <jackson@ximian.com>
1442
1443         * BindingContext.cs: The currency manager needs the data member
1444         name, if the member is a data set we use the name to find the
1445         correct table.
1446         * CurrencyManager.cs: When creating the list prefer an IList over
1447         an IListSource.
1448         - Attempt to create a DataTable from a DataSet (TODO: might need
1449         some better error checking here, although MS doesn't seem to have much)
1450         - If we have a DataTable create a view and use it as our list.
1451
1452 2006-03-15  Mike Kestner  <mkestner@novell.com>
1453
1454         * ListView.cs: keep a matrix of the icon mode layout to facilitate
1455         keyboard navigation. Support Up/Down/Left/Right selection correctly
1456         for all 4 View modes.
1457         * ListViewItem.cs: add internal row/col fields for icon layouts.
1458
1459 2006-03-15  Jackson Harper  <jackson@ximian.com>
1460
1461         * TabControl.cs: Redraw the tabs when we resize so their newly
1462         calculated sizes are drawn on screen.
1463         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
1464         composite characters.
1465         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1466         - filter events so that composite characters can be created
1467         patches by peter
1468         * X11Structs.cs: Add XIMProperties enum.
1469
1470 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1471
1472         * Control.cs (BringToFront, SendToBack): Don't use window or handle
1473           unless it's created
1474
1475 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1476
1477         * Control.cs (PerformLayout): We don't need to consider visiblity
1478           for anchoring, only for docking. This fixes 'whacky' alignment
1479           in listbox and other controls that use implicit scrollbars after
1480           the previous PerformLayout patch
1481         * ListBox.cs: Switched to use implicit scrollbars
1482           
1483 2006-03-14  Mike Kestner  <mkestner@novell.com>
1484
1485         * ToolBar.cs: 
1486         * VScrollBar.cs:
1487         - chain up the "new event" overrides to base and use
1488         OnEvent to raise them.  Part of fix for bug #76509.
1489
1490 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
1491
1492         * FileDialog.cs: Do not select an item in the parent directory
1493           on backspace
1494
1495 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1496
1497         * Control.cs (PerformLayout): It would seem that we considered
1498           invisible windows for our layout. Not quite the right thing
1499           to do. Now we don't any longer, thereby fixing bug #76889.
1500
1501 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1502
1503         * Control.cs (CanFocus): I goofed. A control can have focus 
1504           even though it's not selectable. Made it match MS docs.
1505
1506 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1507
1508         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1509           center by default (fixes #76895)
1510         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
1511           all uses of Border3DSides.All with the explicit ORd together
1512           Left|Right|Top|Bottom because I assume that nobody was aware 
1513           that All also implies a center fill. Most places I checked had
1514           a fill right above.
1515         * ProgressBarStyle.cs: Added
1516
1517 2006-03-13  Mike Kestner  <mkestner@novell.com>
1518
1519         * ListView.cs: fix breakage in drag shadow header positioning 
1520         from Peter's csc compilation fix.
1521
1522 2006-03-13  Mike Kestner  <mkestner@novell.com>
1523
1524         * ListView.cs: fix NRE produced by backspacing twice in a focused
1525         FileDialog.
1526
1527 2006-03-13  Mike Kestner  <mkestner@novell.com>
1528
1529         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1530
1531 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1532
1533         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1534           be changed
1535         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1536           the allowed size before making programmatic size changes
1537
1538 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
1539
1540         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
1541           set, metacity is broken and will still use the emty sizes in 
1542           the struct. (Fix for #77089)
1543
1544 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1545
1546         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
1547           WindowExStyles and marked both enums as Flags
1548         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1549           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1550           to match WindowStyles split
1551         * XplatUIX11.cs:
1552           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1553           - Updated to match WindowStyles split
1554         * XplatUIWin32.cs:
1555           - Fixed FosterParent creation, was using ExStyle on the Style field
1556             (This should help with Popup focus issues)
1557           - Updated to match WindowStyles split
1558
1559 2006-03-13  Jackson Harper  <jackson@ximian.com>
1560
1561         * MdiWindowManager.cs: Use the system menu height. Fixes some
1562         strange sizing issues.
1563
1564 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1565
1566         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1567         * TextBoxBase.cs:
1568           - Scroll to caret after inserting text (#77672)
1569           - Make scroll range one pixel higher, fixes off-by-one error (and
1570             makes underlines visible on the last line)
1571
1572 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
1573
1574         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1575           the keyboard state from being stuck with keys in 'pressed' state when
1576           focus is switched away via keyboard
1577         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1578           reset the keyboard if no X11 KeyUp events are expected to come
1579         * X11Structs.cs: Switched type of Visible to bool to match driver
1580
1581 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1582
1583         * TextControl.cs:
1584           - Switched caret to be just 1 pixel wide, matches MS and looks less
1585             clunky
1586           - Moved caret display 1 pixel down from the top of the control
1587             to improve view
1588           - InsertCharAtCharet: Update the selection start if moving the caret
1589             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1590           - No longer always creating the caret when the caret methods are
1591             called. Only the actual ShowCaret/HideCaret will do that now
1592           - Only setting caret visible if the owner control has focus
1593           - UpdateView: Added invalidation-shortcut logic for center and right 
1594             aligned text. Previously we'd update all according to the left
1595             logic which caused drawing errors. Also fixed height of invalidated
1596             areas, now properly invalidating the whole area (was off-by-one)
1597           - owner_HandleCreated: Always generate the document when the
1598             handle is created; this ensures that 
1599         * TextBoxBase.cs:
1600           - Fixed situation where caret would disappear under the right
1601             window border, also improved scrolling behaviour on left-
1602             aligned textboxes
1603           - Fixed right-aligned textboxes to have a border to the
1604             right instead of the caret being under the right border
1605         * XplatUIX11.cs:
1606           - Switched from 'nested' to simple visible/not visible tracking 
1607             for caret (part of fix for #77671)
1608           - No longer passing through translated FocusIn/FocusOut messages
1609             since we were notifying too often and the wrong windows. Instead
1610             we just notify our focussed window of receiving or loosing focus
1611         * XplatUIWin32.cs: Switched from 'nested' show/hide 
1612           counting for caret to simple visible yes/no behaviour (part of 
1613           fix for #77671)
1614
1615 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1616
1617         * Mime.cs: Remove debug code...
1618
1619 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1620
1621         * MimeGenerated.cs: Removed
1622         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1623           and subclasses) from /usr/(local/)share/mime and
1624           $HOME/.local/share/mime.
1625
1626 2006-03-10  Jackson Harper  <jackson@ximian.com>
1627
1628         * MdiWindowManager.cs: Recalc the NC area when a window is
1629         maximized/restored so that the menu area is drawn on forms that
1630         don't have a menu.
1631
1632 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1633
1634         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1635           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1636           us to force a WM_NCCALCRESIZE message being sent. This is needed
1637           for MDI maximizing.
1638
1639 2006-03-10  Jackson Harper  <jackson@ximian.com>
1640
1641         * Form.cs: We need to use the ActiveMenu when calculating menu
1642         height.
1643         - Fix nullref when the window manager hasn't been created yet.
1644         * Control.cs: Fix nullref when we try to bring a control to the
1645         front that has no parent.
1646         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1647         height.
1648         - Add a dummy item to the maximized menu so it always has the
1649         correct height. Otherwise when there are no menus we don't get our
1650         icon and buttons.
1651         
1652
1653 2006-03-10  Jackson Harper  <jackson@ximian.com>
1654
1655         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1656         stuff.
1657         * Form.cs: Make the window_state internal so the window managers
1658         can track it.
1659         - When an MDI child is maximized let its window manager create the
1660         main menu (so it can add its icon).
1661         - Notify the window managers of state changes
1662         - Let the window manager paint its buttons and handle button
1663         clicks on the menu when it is maximized.
1664         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1665         window manager, since tool windows don't use it, only mdi windows.
1666         - Tell the main form that we don't want it to handle NCPAINT
1667         itself to avoid extra painting.
1668         - Handle clicks on a maximized windows menu.
1669         - Handle window state changes
1670         - Handle minimize/maximize clicks correctly by setting the window state.
1671         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1672         when clicking on the forms icon).
1673         - New method to create a forms maximized menu. This is its normal
1674         menu + an icon.
1675         - Handle window state changes.
1676         - Handle sizing of maximized windows.  Maximized windows are just
1677         drawn bigger then the parent visible area. All controls are still
1678         there, they are just outside the visible area (this matches windows).
1679         * MdiClient.cs: No scrollbars when a child window is maximized.
1680         - Let the children windows figure out how big they should be when
1681         sizing maximized windows.
1682         - Implement a version of ArrangeIconicWindows somewhat similar to
1683         Windows version.  There are some little differences, but I don't
1684         think any app will rely on the layout of minimized mdi windows.
1685
1686 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1687
1688         * Padding.cs: Several fixes to allow compiling with csc 2.0
1689
1690 2006-03-09  Jackson Harper  <jackson@ximian.com>
1691
1692         * Menu.cs:
1693         * MenuItem.cs: Cheap hack so we can add items to the list without
1694         the events being raised.  This allows adding mdi items during
1695         drawing. TODO: Should probably find a better time to add the items.
1696
1697 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1698
1699         * ThemeWin32Classic.cs:
1700           - CheckBox_DrawText: Added logic to not wrap if not enough space
1701             is available (Fix for bug #77727)
1702           - RadioButton_DrawText: Added logic not to wrap if not enough
1703             space is available (Fix for bug #77727). Also removed some
1704             duplicate code, DrawString always drawing the regular text
1705             before hitting the if statement.
1706
1707 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1708
1709         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1710
1711 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1712
1713         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1714         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1715           methods. Moved the new 2.0 properties into alphabetical order with
1716           other properties and added MonoTODO tags
1717
1718 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1719
1720         * AutoScaleMode.cs: Added. Fix build.
1721
1722 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1723
1724         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1725           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1726           and was requiring premature handle creation for calls from above
1727         * Form.cs, Control.cs: Removed handle arguments from calls to
1728           CalculateClientRect()
1729
1730 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1731
1732         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
1733           drag_column.column_rect is MarshalByRef and can't be used that way
1734
1735 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1736
1737         * AxHost.cs: Added deserialization constructor for 
1738           AxHost+State (fixes 77743)
1739
1740 2006-03-09  Mike Kestner  <mkestner@novell.com>
1741
1742         * ListView.cs: 
1743         - Added column drag reordering for details view.
1744         - fixed behavior when mouse is dragged off column and
1745         AllowColumnReorder is false.
1746         * ColumnHeader.cs: clone the format too in Clone.
1747         * Theme.cs: add DrawListViewHeaderDragDetails method.
1748         * ThemeWin32Classic.cs:
1749         - impl new method for drawing drag column shadows and targets.
1750         - support column offset for details mode in DrawListViewItem.
1751
1752 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1753
1754         * TextControl.cs: Reset the char_count when the document is cleared
1755           (Fixes bug reported on mono-winforms mailing list)
1756
1757 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1758
1759         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1760           of calling base we simply process the key ourselves, since both
1761           DefWindowProc and the handled method would set m.Result. 
1762           (Fixes #77732)
1763
1764 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1765
1766         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1767           method also moves the window; instead implemented a copy of
1768           Control.ScaleCore (Part of fix for #77456)
1769         * TextBoxBase.cs: 
1770           - Created new CreateGraphicsInternal method to allow providing
1771             a graphics context when no handle is created without triggering
1772             handle creation. (Part of fix for #77456)
1773           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1774         * TextControl.cs: 
1775           - Switched Constructor to require TextBoxBase instead of Control (to
1776             allow uncast access to CreateGraphicsInternal)
1777           - Safeguarded use of owner.Handle property. No longer accessing it
1778             unless the handle is already created.
1779           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1780           - Now triggering a recalc when owning control becomes visible
1781         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
1782           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1783           premature handle creation (Part of fix for #77456)
1784         * Control.cs:
1785           - We now only destroy our double-buffering buffers when the
1786             control is resized or disposed, but not when visibility
1787             changes. (The code even re-created them twice every time)
1788           - Now requiring a redraw of the buffer on visibility changes
1789             (fixes bug 77654 part 2)
1790           - Not passing OnParentVisibleChanged up unless the control
1791             is visible
1792           - CanFocus: Fixed to match MS documentation
1793           - Focus: Fixed to return actual focus state and to check if
1794             setting focus is legal before setting it
1795
1796 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
1797
1798         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1799           when to draw focus rectangle by looking at parent focus and
1800           selected state instead. This fixes TabPages on Linux sometimes
1801           having none or multiple focus rectangles.
1802         * XplatUIX11.cs (SetFocus): 
1803           - Don't set the focus if the same window already has focus
1804           - Use SendMessage instead of PostMessage (like it's Win32
1805             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1806             to match MS behaviour
1807         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1808           are not selectable.
1809
1810 2006-03-07  Jackson Harper  <jackson@ximian.com>
1811
1812         * PictureBox.cs: Revert line I accidently committed last week.
1813
1814 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
1815
1816         * Control.cs: 
1817           - Added new IsRecreating and ParentIsRecreating properties to
1818             allow testing if RecreateHandle has been called on ourselves
1819             or one of our parents
1820           - WndProc(WM_DESTROY): If our control handle is being recreated
1821             we immediately need to create the handle when receiving the
1822             destroy, that way our child windows find a valid parent handle
1823             when they themselves are being recreated upon WM_DESTROY receipt
1824             (fix for bug #77654 part 1)
1825         * XplatUIX11.cs:
1826           - DestroyWindow: WM_DESTROY must be sent to our own window before
1827             notifying any child windows. MS documents that child windows
1828             are still valid when WM_DESTROY is received. (Control now relies on
1829             this behaviour)
1830           - Added some fine-grain debug options
1831
1832 2006-03-06  Jackson Harper  <jackson@ximian.com>
1833
1834         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1835         box and base calculations off this.
1836         * MdiChildContext.cs:
1837         * MdiWindowManager.cs: Don't need to ensure scrollbars here
1838         anymore.
1839         
1840 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
1841
1842         * Splitter.cs: In situations where the affected control is added
1843           to the parent's control list after the splitter, we would not
1844           populate affected. Now we try populating it on mousedown, if
1845           it's not already set, and force it to be re-set whenever our
1846           parent changes.
1847
1848 2006-03-03  Matt Hargett  <matt@use.net>
1849
1850         * Control.cs: implement Control.Padding
1851         * Padding.cs: -Padding.All returns -1 when constructing with the
1852         implicit default ctor
1853         -Padding.ToString() matches MS.NET
1854         * ContainerControl.cs: implement
1855         ContainerControl.AutoScaleDimensions
1856         * ListControl.cs: implement ListControl.FormattingEnabled
1857         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1858         * ButtonBase.cs:
1859         * TabPage.cs: Implement UseVisualStyleBackColor.
1860         * PictureBox.cs: Implement PictureBox.InitialImage.
1861
1862 2006-03-03  Mike Kestner  <mkestner@novell.com>
1863
1864         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1865         event declarations to proxy to base event.
1866         * ListViewItem.cs: update to use ItemControl.
1867         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1868         * ThemeWin32Classic.cs: update to new ListView theme API and fix
1869         column header label rendering for 0 width columns.
1870
1871 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
1872
1873         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1874           that causes the control to be created. Fixes #77476.
1875
1876 2006-03-02  Jackson Harper  <jackson@ximian.com>
1877
1878         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1879         expose_pending.
1880
1881 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
1882
1883         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1884           passed in for the EventArgs (fixes #77690)
1885
1886 2006-03-01  Jackson Harper  <jackson@ximian.com>
1887
1888         * ScrollBar.cs: Refresh afterbeing resized.
1889
1890 2006-02-28  Mike Kestner  <mkestner@novell.com>
1891
1892         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1893         Clean up a tracker compile warning.
1894         * MenuItem.cs: add internal PerformPopup method.
1895         [Fixes #77457]
1896
1897 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1898
1899         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1900           implicit expose) when the text is set to null
1901
1902 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
1903
1904         * RichTextBox.cs (FlushText): When newline is true, we always
1905           need to split the line, even if no text is on it and we may
1906           never eat newlines. (Fixes #77669)
1907
1908 2006-02-28  Mike Kestner  <mkestner@novell.com>
1909
1910         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
1911         and set Selected instead.
1912         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
1913         collections.
1914
1915 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1916
1917         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1918
1919 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
1920
1921         * FontDialog.cs:
1922           - Got rid of the panel. All controls are now directly added to
1923             the dialog form
1924           - It is now possible to set a font with the Font property
1925           - MinSize and MaxSize property do now what they should
1926           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1927           - Searching and selecting a font with the font textbox works now,
1928             the same applies to the style and size textbox
1929           - Draw the correct 3D border in the example panel
1930           - Fixed a little mem leak (unused fonts didn't get disposed)
1931           - Many other internal updates/rewrites...
1932           - Fix typo
1933
1934 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1935
1936         * TextControl.cs: 
1937           - InsertRTFFromStream: Added 'number of characters inserted' argument
1938           - set_SelectedRTF: Now using the number of characters to calculate
1939             the new location for the selection and cursor (x/y cannot be used
1940             due to potentially already wrapped text)
1941
1942 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1943
1944         * TextControl.cs: Added property and implemented means to allow 
1945           disabling recalculation of a document (can be used to speed up
1946           multiple inserts and is needed to make RTF inserts predictable, see
1947           bug #77659)
1948         * RichTextBox.cs: Using the new NoRecalc property of Document to
1949           keep x/y insert locations predictable. Also makes it faster inserting
1950           large chunks of RTF
1951
1952 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1953
1954         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1955           it's easier for a child control to handle the other messages without
1956           having to duplicate the special functionality
1957         * TextBoxBase.cs
1958           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1959             code to handle processing the key ourselves, in order to get 
1960             access to the result of KeyEventArgs.Handled. We now only call 
1961             ProcessKey if they key hasn't been handled already. Fixes #77526.
1962           - set_Text: If null or empty string is given, just clear the 
1963             document. Fixes part of #77526
1964
1965 2006-02-27  Jackson Harper  <jackson@ximian.com>
1966
1967         * SizeGrip.cs: Paint the background color before painting the grip
1968         so things look right.
1969         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1970
1971 2006-02-27  Mike Kestner  <mkestner@novell.com>
1972
1973         * ListView.cs:
1974           - Restructure layout and invalidation model to remove a ton of
1975           flicker from the control and speed up performance in general.
1976           - Add manual column resize, flickers like crazy, but I already have
1977           some ideas on how I'll fix that. (#76822)
1978           - Merge the three Icon-based views into a single layout method.
1979           - Move item selection interaction logic from the item since 
1980           interaction with the collections is more appropriate to the view.
1981           - Deselection on non-item clicks.
1982         * ListViewItem.cs:
1983           - Encapsulate most of the layout. Add some internal props to trigger
1984           layout.  Move to a model where Items invalidate themselves instead
1985           of just invalidating the whole control every time something changes.
1986           - Invalidate on Text/Caption changes.
1987           - switch to an offset based layout model to avoid having to absolute
1988           position every element on item moves.
1989           - correct checkbox layout to conform to MS layout.
1990         * ThemeWin32Classic.cs:
1991           - refactor some column header drawing code.
1992           - fix string justification for column headers (#76821)
1993           - make SmallIcon labels top justified for compat with MS impl.
1994         * ThemeClearlooks.cs:
1995           - adjust to new ListViewItem internal checkbox bounds api.
1996
1997 2006-02-27  Jackson Harper  <jackson@ximian.com>
1998
1999         * Control.cs:  Change where implicit controls fall in the zorder.
2000         They are now on top of all children.
2001         - Synced AddImplicit code with Add
2002         - Removed unused enumerator.
2003         * SizeGrip.cs: Remove the TODO as its been TODONE.
2004
2005 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
2006
2007         * TextControl.cs(Insert): Combine the last lines unless the insertion
2008           string ends with \n\n, otherwise we leave one line too many (Fixes
2009           something I noticed with the testapp for #77526; the bug itself was
2010           already fixed in the previous checkin)
2011
2012 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
2013
2014         * RichTextBox.cs:
2015           - SelectionColor and SelectionFont methods no longer set absolute
2016             styles. Instead, the keep font or color respectively (This 
2017             resolves a long-standing FIXME in the code)
2018           - When flushing RTF text, the insert code now considers text trailing
2019             behind the insertion point (Fixes the bug where when replacing
2020             the selected text via SelectedRTF the remainder of the line behind 
2021             the selection would stay on the first insertion line)
2022         * TextBoxBase.cs:
2023           - AppendText now updates the selection points after inserting text
2024           - AppendText now ensures that the last tag (sometimes 0-length) of
2025             the document is used for the style information (Fixes part of 
2026             bug #77220)
2027         * TextControl.cs:
2028           - Created new FontDefiniton class to allow describing partial style
2029             changes
2030           - StreamLine() now takes a lines argument, to allow it to decide
2031             whether an encountered zero-length tag is the last in the document
2032             (which must be kept to not loose the font/color contained in it,
2033             for later appends)
2034           - Created Combine() and Split() methods for Marker structs, to 
2035             support marker updates due to reformatted documents (soft line
2036             wraps)
2037           - Implemented Document.CaretTag setter
2038           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2039             of the last line (Not the cause, but also exposed by bug #77220)
2040           - Added LineTag argument to InsertString method, to allow callers
2041             to force a certain tag to be used (required to force use of the
2042             trailing zero-length tag of a document)
2043           - Now updating markers in Combine(), to avoid stale tag markers
2044           - Added some method descriptions to aid maintenance
2045           - Implemented new FormatText concept, allowing additive/subtractive
2046             formatting by only specifying the components that are to be 
2047             changed. This was needed for resolving the RTB.SelectedColor/
2048             RTB.SelectedFont fixmes
2049           - Added Break() support method to allow breaking up linetags (used
2050             for partial formatting)
2051           - Added GenerateTextFormat() method. It is used for partial 
2052             formatting and allows to generate a full font/color from given
2053             attributes and an existing tag.
2054
2055 2006-02-26  Jackson Harper  <jackson@ximian.com>
2056
2057         * XplatUIX11.cs:  Use the correct caption height.
2058         - Translate hittest coordinates to screen coords to match MS.
2059         * XplatUIWin32.cs: When we create MDI windows we need to reset
2060         some of the style flags, so we get a nice blank window, and can
2061         draw all the decorations ourselves.
2062         - Set a clipping rectangle on the non client paint event, the
2063         window manager drawing code needs one.
2064         * Form.cs: The window manager needs to know when the window state
2065         has been updated.
2066         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2067         don't need to factor in border and title sizes in these
2068         methods. TODO: Remove the args and fix the call points.
2069         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2070         properly.
2071         - Let the driver set the cursors.
2072         - Improve active window handling
2073         - Correct sizes for title bars and buttons.
2074         - Match MS drawing better
2075         * MdiWindowManager.cs: We don't need to handle border style
2076         updates specially anymore.
2077         - Check for scrollbars when windows are done moving
2078         - Handle Active properly.
2079         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2080         correctly. I am spewing the exception though, so we don't hide the
2081         bugs.
2082         
2083 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
2084
2085         * DataGridViewRowPostPaintEventArgs.cs,
2086           DataGridViewCellPaintingEventArgs.cs,
2087           DataGridViewRowCollection.cs,
2088           DataGridViewRowPrePaintEventArgs.cs,
2089           DataGridViewCell.cs: Clear a few warnings and implement a few
2090           exceptions that should be thrown.
2091
2092 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
2093
2094         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2095           'inheriting' our parent's (non-default) cursor. (Part of
2096            the fix for #77479)
2097
2098 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
2099
2100         * XplatUIX11.cs: Fixed cast to make csc happy
2101
2102 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
2103
2104         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2105           it's for the client area (part of fix for #77479 and needed
2106           for MDI window cursor handling)
2107         * XplatUIX11.cs
2108           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2109             the appropriate default cursors and also passing the message
2110             up the parent chain 
2111           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2112             for non-client areas
2113
2114 2006-02-15  Jackson Harper  <jackson@ximian.com>
2115
2116         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2117         is a real MDI window
2118
2119 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
2120
2121         * X11DesktopColors.cs: Instead of checking the desktop session
2122           string for "KDE" check if it starts with "KDE"
2123
2124 2006-02-10  Jackson Harper  <jackson@ximian.com>
2125
2126         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2127         systems).
2128
2129 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
2130
2131         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2132           errors
2133         * ColorDialog.cs:
2134           - Got rid of the panel. All controls are now directly added to
2135             the dialog form
2136           - Changed to mono coding style
2137
2138 2006-02-10  Jackson Harper  <jackson@ximian.com>
2139
2140         * InternalWindowManager.cs: We don't need the set visibility to
2141         false hack anymore now that peter has written beautiful shutdown
2142         code.
2143
2144 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
2145
2146         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2147           where already explicitly destroyed
2148
2149 2006-02-10  Jackson Harper  <jackson@ximian.com>
2150
2151         * MdiClient.cs: Handle the case where windows are too high or to
2152         the left and we need scrollbars.
2153
2154 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
2155
2156         * MimeIcon.cs: Added some icons
2157         * FileDialog.cs:
2158           - Fixed bug #77477
2159           - Got rid of the panel. All controls are now directly added to
2160             the dialog form
2161           - Changed to mono coding style
2162           - On Linux "My Computer" and "My Network" will now show some
2163             more usefull information. A new class, MasterMount, gathers
2164             this information from /proc/mount. Updated MWFFileView to make
2165             use of this information
2166           - Fixed a bug that caused FileDialog to crash when
2167             ".recently_used" file had a zero size
2168           - FilterIndex does now what it should
2169           - Some Refactoring
2170         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2171             FileDialog changes
2172
2173 2006-02-09  Jackson Harper  <jackson@ximian.com>
2174
2175         * ComboBox.cs: Don't touch if null.
2176
2177 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
2178
2179         * Cursor.cs: 64bit safeness fix
2180         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2181
2182 2006-02-09  Jackson Harper  <jackson@ximian.com>
2183
2184         * Form.cs: If a form is made into an MDI form update the styles so
2185         all the props can get set correctly.
2186         - Kill the mdi_container when we dont need it anymore.
2187         * InternalWindowManager.cs: Add missing NOT
2188
2189 2006-02-08  Jackson Harper  <jackson@ximian.com>
2190
2191         * InternalWindowManager.cs: Respek clipping when drawing MDi
2192         decorations.
2193
2194 2006-02-08  Jackson Harper  <jackson@ximian.com>
2195
2196         * Hwnd.cs: Add bits to track non client expose events.
2197         * XplatUIX11.cs: Track non client expose events on the hwnd. This
2198         gives us a proper invalid rect and will allow for some nice
2199         optimizations with NC client drawing
2200         - MDI windows are children windows, so move their style handling
2201         into the child window block.
2202         * InternalWindowManager.cs: Remove a state reset that was
2203         getting invoked at the wrong time. Fixes managed windows getting
2204         into a 'stuck' captured state.
2205
2206 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2207
2208         * TextControl.cs (Document.ctor): Now initializing 
2209           selection_anchor. Fixes #77493
2210
2211 2006-02-07  Jackson Harper  <jackson@ximian.com>
2212
2213         * TrackBar.cs: The increment/decrements were backwards.
2214
2215 2006-02-07  Mike Kestner  <mkestner@novell.com>
2216
2217         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2218         to the instance itself.
2219
2220 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2221
2222         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2223           on ulongs and pointers, the size differs between 32bit and 64bit
2224           systems. 
2225
2226 2006-02-07  Mike Kestner  <mkestner@novell.com>
2227
2228         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2229         for 64 bit platforms to work around a metacity bug. 
2230
2231 2006-02-07  Jackson Harper  <jackson@ximian.com>
2232
2233         * TrackBar.cs: Process the input keys we need, and hookup to
2234         KeyDown instead of using WndProc, so we get key messages.
2235
2236 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
2237
2238         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2239           machine we're on. 
2240         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2241           we need to translate the XdndVersion atoms array before sending it
2242
2243 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
2244
2245         * XplatUIX11.cs: 
2246           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2247             number of bits for the property, not the number of bytes. The
2248             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2249             but would not crash since it specified 8 bits instead of 4 bits)
2250           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2251             defined as XID -> long in the C headers)
2252           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
2253             references since those are now IntPtr to begin with
2254           - Switched all Atom.XXX 'int' casts to IntPtr casts
2255           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2256           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2257           - Added XChangeActivePointerGrab DllImport (for X11DnD)
2258         * X11Structs.cs:
2259           - Changed 'int' type for Atoms in XEvent structures to IntPtr
2260           - Changed atom in HoverStruct to be IntPtr
2261         * X11DnD.cs:
2262           - Removed local DllImports, switched code to use those from XplatUIX11
2263           - Removed/fixed casts related to the switch of Atom to be a IntPtr
2264
2265 2006-02-06  Mike Kestner  <mkestner@novell.com>
2266
2267         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
2268         method signatures in the import region.  There may still be some
2269         lingering struct marshaling issues, as I didn't drill down into those.
2270         Yet.
2271
2272 2006-02-06  Jackson Harper  <jackson@ximian.com>
2273
2274         * ComboBox.cs: Dont manually set the top_item, this is computed
2275         when the scrollbar position is set.
2276
2277 2006-02-06  Mike Kestner  <mkestner@novell.com>
2278
2279         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2280         startup crashes on amd64.  There's other fixes needed.  All pinvoke
2281         usage of Atom needs to be mapped to IntPtr for example.  And there are
2282         likely other int/long issues to be addressed.
2283
2284 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
2285
2286         * FileDialog.cs: One more...
2287
2288 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2289
2290         * FileDialog.cs: Next try
2291
2292 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2293
2294         * FileDialog.cs: First part of fix for #77464
2295
2296 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2297
2298         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2299           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2300           AcceptButton border drawing.
2301
2302 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
2303
2304         * Form.cs: Moved positioning of form after auto scaling is applied,
2305           otherwise it would possibly use wrong form size.
2306
2307 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
2308
2309         * Control.cs (RecreateHandle): No need to re-create any child
2310           controls, the child windows will get destroyed automatically by
2311           the windowing system or driver, and re-created when the handle
2312           is being accessed the first time. Fixes #77456
2313         * Form.cs: No longer setting the form to closing if the handle is 
2314           being recreated. This seems like the right thing to do, don't
2315           have a bug or testcase for this, though.
2316
2317 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2318
2319         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2320           controls to avoid unwanted side effects
2321
2322 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
2323
2324         * Control.cs: 
2325           - ScaleCore needs to scale the bounds, not the ClientSize of the 
2326             control. Fixes #77416.
2327           - DefaultSize is 0,0 for control
2328         * TextBoxBase.cs: 
2329           - DefaultSize is 100, 20
2330           - SetBoundsCore: Now enforcing the height, no matter if the provided
2331             height is more or less than the preferred one, as long as AutoSize
2332             is on
2333         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2334
2335 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2336
2337         * Control.cs:
2338           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2339             call unless both performLayout is true *and* we have a pending
2340             layout change
2341           - ResumeLayout: MS does not completely nest Suspend and Resume,
2342             they bottom out at 0, fixed our code to match that.
2343           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2344             SetBoundsCore, we were updating even when we shouldn't. This fixes
2345             swf-anchors mis-anchoring when resizing the app fast and lots.
2346           - UpdateDistances: Now only setting the left and top distance if 
2347             we have a parent and are not suspended, this is based on
2348             a suggestion by Don Edvaldson in bug #77355.
2349           - OnVisibleChanged: Fixed logic when to create the control. We may
2350             not create the control if we have no parent or if it's not visible;
2351             switched to using Visible property instead of is_visible field 
2352             since the property also considers parent states. This fixes a bug
2353             when starting Paint.Net
2354
2355 2006-02-02  Jackson Harper  <jackson@ximian.com>
2356
2357         * Form.cs: If the forms handle hasn't been created yet don't call
2358         into xplatui to make it top most, just set the topmost flag on the
2359         form in CreateParams
2360         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2361
2362 2006-02-01  Jackson Harper  <jackson@ximian.com>
2363
2364         * ScrollableControl.cs: Refactored the Recalculate method a
2365         little, this wasn't handling all the variants of bottom and right
2366         bars needed to be added and added/removed based on their
2367         counterparts being added/removed (which changes the drawable
2368         size). Also we special case client widths and heights of 0 and
2369         don't add the scrollbar for those.
2370
2371 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
2372
2373         * XplatUIX11.cs: 
2374           - Added method to get AbsoluteGeometry(); currently unused, but might
2375             be used in the future, if we try again to figure out toplevel
2376             coordinates with some more crappy window managers
2377           - Added FrameExtents() method to retrieve the WM set decoration size
2378           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
2379             to deal with at least KDE, FVWM and metacity (Fixes #77092)
2380         * Hwnd.cs: 
2381           - Added whacky_wm tracking var for metacity
2382           - Added logic to have default menu height if the actual menu height
2383             has not yet been calculated (part of fix for #77426)
2384         * Form.cs: Keep track whether client size has been set and re-set 
2385           it if a menu is added/removed afterwards (Fixes #77426)
2386
2387 2006-01-31  Jackson Harper  <jackson@ximian.com>
2388
2389         * Control.cs: When a new Site is set on the component attempt to
2390         pull the AmbientProperties from it.
2391
2392 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
2393
2394         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2395           in the background of the owning form. Fixes #77332
2396
2397 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2398
2399         * MimeIcon.cs: Fix for #77409
2400
2401 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2402
2403         * XplatUIX11GTK.cs: Initial import
2404
2405 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
2406
2407         * FixedSizeTextBox: fixes class signature
2408
2409 2006-01-30  Jackson Harper  <jackson@ximian.com>
2410
2411         * FixedSizeTextBox.cs: New internal class that represents a
2412         textBox that will not be scaled.
2413         * TreeView.cs:
2414         * ComboBox.cs:
2415         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2416         standard TextBox.
2417                 
2418 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
2419
2420         * XplatUIX11.cs: Retrieve default screen number instead of
2421           assuming 0. Attempted fix for #77318
2422
2423 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
2424
2425         * XplatUIWin32.cs: 
2426           - GetWindowPos: When a window is parented by FosterParent, use 
2427             the desktop instead of FosterParent as the base to get coordinates
2428           - CreateWindow: Don't make FosterParent the parent window for Popups
2429             if we don't want a taskbar entry, Popups automatically don't get one
2430         * Hwnd.cs: Need to call remove to actually remove the key from the
2431           hash table
2432
2433 2006-01-30  Mike Kestner  <mkestner@novell.com>
2434
2435         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2436
2437 2006-01-30  Jackson Harper  <jackson@ximian.com>
2438
2439         * TreeView.cs:
2440         * TreeNode.cs: Raise events no matter how the treenode is
2441         checked. Patch by Don Edvalson.
2442
2443 2006-01-30  Jackson Harper  <jackson@ximian.com>
2444
2445         * TreeNode.cs: Signature fix.
2446
2447 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
2448
2449         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2450
2451 2006-01-20  Mike Kestner  <mkestner@novell.com>
2452
2453         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2454         event forwarding when menus are active.
2455         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
2456         Most of the patch is pdb's with a little rework.
2457
2458 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2459
2460         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
2461           Removed GetMenuDC and ReleaseMenuDC methods; replaced
2462           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2463         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2464         * InternalWindowManager.cs: Added use of PaintEventStart/End to
2465           handling of WM_NCPAINT message, now passing the PaintEventArgs to
2466           the PaintWindowDecorations method
2467         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2468         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2469         * MenuAPI.cs: Made tracker window invisible
2470         * XplatUIWin32.cs:
2471           - Removed GetMenuDC and ReleaseMenuDC methods
2472           - Implemented the client=false path for PaintEventStart and
2473             PaintEventEnd
2474
2475 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2476
2477         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2478         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2479           styles
2480         * Form.cs: 
2481           - MaximizeBox, MinimizeBox: Recreate the handle when setting
2482             the style
2483           - CreateParams: Reworked the styles to match MS look'n'feel,
2484             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2485             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2486
2487 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2488
2489         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
2490           window is not mapped, since otherwise every form that's being 
2491           created is considered minimized, which is wrong.
2492         * Form.cs: Catching the exception and returning our internal value
2493           instead
2494
2495 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2496
2497         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2498           SetWindowMinMax() to have means to tell the driver about the minimum,
2499           maximum and maximized state window sizes. (Part of the fix for #76485)
2500         * Form.cs:
2501           - Implemented tracking of minimum and maximum window size, now calling
2502             new SetWindowMinMax() driver method to tell the driver (Part of the
2503             fix for #76485)
2504           - Finished handling of WM_GETMINMAXINFO method, now setting all values
2505             (Completes fix for #76485)
2506           - Calling new SetWindowMinMax driver method when the handle for a 
2507             form is created, to make sure the driver knows about it even if
2508             the values have been set before the window was created
2509           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2510             to avoid messing up our anchoring calculations (partial fix
2511             for #77355)
2512         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2513         * XplatUIX11.cs:
2514           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2515           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
2516             (and presumably other freedesktop.org compliant WMs). Left the
2517             assumption unmapped=minimized, needed for SetVisible to work.
2518           - Now setting the window state when creating windows
2519           - Fixed SetVisible to consider/set the window state when mapping
2520             a Form. We cannot set the state before it's mapped, and we cannot
2521             use Form.WindowState once it's mapped (since it would ask the
2522             driver and get 'normal'. Therefore, we grab the state before
2523             mapping, map, and then set state.
2524           - Implmemented SetWindowMinMax method; Metacity does not seem to
2525             honor the ZoomHints, though.
2526         * XplatUIWin32.cs:
2527           - Removed MINMAXINFO (moved to XplatUIStructs)
2528           - Added SetWindowMinMax stub (on Win32 the only way to set that
2529             information is in response to the WM_GETMINMAXINFO message, which
2530             is handled in Form.cs)
2531           - Added logic to SetVisible to set the proper window state when a 
2532             form is made visible (fixes #75720)
2533
2534 2006-01-26  Jackson Harper  <jackson@ximian.com>
2535
2536         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2537         same way we handle them with Invoke.
2538
2539 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
2540
2541         * Form.cs:
2542           - Added tracking of window state so CreateParams can return
2543             the appropriate style
2544           - Moved setting of WS_CAPTION style in CreateParams to allow
2545             styles without caption
2546         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
2547           control if the TextBox property is accessed. Fixes #77345
2548         * Control.cs:
2549           - get_Created: now uses is_disposed and is_created to determine
2550             return value (suggested by Jackson)
2551           - CreateHandle: No longer exits if the handle is being recreated
2552           - RecreateHandle: If the handle is not yet created call the 
2553             appropriate method to create either control or handle. If the
2554             control is already created CreateHandle will simply exit instead
2555             of just creating the handle
2556         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2557           now SendMessage WM_DESTROY directly to the control when DestroyWindow
2558           is called.
2559         * XplatUIX11.cs: 
2560           - When DestroyWindow is called, instead of waiting for the 
2561             DestroyNotification from X11, we directly post it to the WndProc
2562             and immediately dispose the hwnd object.
2563             Same applies to DestroyChildWindows, and this obsoletes the
2564             expose_pending tracking. Contrary to Win32 behaviour we destroy our
2565             child windows before our own, to avoid X11 errors.
2566           - Removed the direct sending of WM_PAINT on UpdateWindow
2567         * XplatUIWin32.cs:
2568           - Reworked DoEvents and GetMessage to allow access to internal queue
2569             even when trying non-blocking access to the queue.  Fixes #77335. 
2570             Based on a patch suggestion by Don Edvalson. The new private
2571             GetMessage can now also be used as a backend for a PeekMessage
2572             frontend version.
2573         * XplatUI.cs: Improved debug output for CreateWindow
2574
2575 2006-01-25  Jackson Harper  <jackson@ximian.com>
2576
2577         * Help.cs: Allow param to be null. Patch by Don Edvalson.
2578
2579 2006-01-24  Jackson Harper  <jackson@ximian.com>
2580
2581         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2582         when we have a MaxDropItems lower then the selected index.
2583
2584 2006-01-24  Jackson Harper  <jackson@ximian.com>
2585
2586         * Control.cs: Don't allow selection of non visible controls, allow
2587         selection of controls without parents.
2588
2589 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2590
2591         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2592         * DataGridDrawingLogic.cs: Add editing row only when is necessary
2593
2594 2006-01-23  Jackson Harper  <jackson@ximian.com>
2595
2596         * UpDownBase.cs: Make the textbox handle all the selection and
2597         tabbing. This fixes tabing to updown controls.
2598
2599 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2600
2601         * TextBoxBase.cs: fixes exception thown the object was null
2602
2603 2006-01-23  Jackson Harper  <jackson@ximian.com>
2604
2605         * ButtonBase.cs: Just use the base CreateParams. They set
2606         visibility and enabled correctly.
2607         * ComboBox.cs:
2608         * TrackBar.cs:
2609         * MonthCalendar.cs: Lets let the base set as much of the
2610         createparams as possible so we don't have duplicate code all over
2611         the place.
2612
2613 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
2614
2615         * ThemeGtk.cs: Added TrackBar and some experimental code to
2616           get double buffering back
2617
2618 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2619
2620         * DataGrid.cs: Allows row number set internally higher than the last
2621         when creating a new row. Restores the editing functionality.
2622
2623 2006-01-20  Mike Kestner  <mkestner@novell.com>
2624
2625         * MimeIcon.cs: delay Image creation until the icons are accessed
2626         instead of creating 190 scaled images on GnomeHandler startup.
2627
2628 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2629
2630         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2631           first call base before processing the event. Fixes #77279
2632
2633 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2634
2635         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2636           that the stride for the GDI bitmap would match the stride of
2637           a DIB or a Cursor.
2638
2639 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2640
2641         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2642
2643 2006-01-19  Jackson Harper  <jackson@ximian.com>
2644
2645         * ComboBox.cs: Hookup the text controls keydown event so we get
2646         those when the text control has the focus.
2647
2648 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2649
2650         * Label.cs: Now using the base events instead of defining new ones;
2651           this allows us to just call the base properties without having to
2652           duplicate all base property logic 
2653
2654 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2655
2656         * Label.cs: A label by default is not a tabstop (Fixes one of our
2657           failing nunit tests)
2658
2659 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2660
2661         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2662         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2663
2664 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2665
2666         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2667           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2668           This fixes #77218
2669         * XplatUIWin32.cs: 
2670           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2671             constructor creates images that can't be saved. Part of the fix
2672             for #76103
2673           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2674           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2675             bug fix for handling window state in forms properly)
2676
2677 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2678
2679         * ThemeGtk.cs: Simplify ScrollBar drawing
2680
2681 2006-01-18  Jackson Harper  <jackson@ximian.com>
2682
2683         * Splitter.cs: Set the default dock style for the splitter control
2684         in the constructor.
2685
2686 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2687
2688         * ThemeGtk.cs: Corrected StateType and ShadowType for
2689           gtk_paint_box
2690
2691 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2692
2693         * Control.cs: Make use of Theme.DoubleBufferingSupported
2694         * ThemeGtk.cs:
2695           - Added drawing for flat style buttons
2696           - Added ScrollBar drawing
2697
2698 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2699
2700         * ThemeClearlooks.cs: Removed some unneeded code.
2701         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2702
2703 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2704
2705         * LinkLabel.cs: We need to update the hover drawing when
2706           leaving the control as well.
2707
2708 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2709
2710         * DataGrid.cs: Clicking on non empty areas in the columns
2711            area was giving an exception
2712
2713 2006-01-17  Jackson Harper  <jackson@ximian.com>
2714
2715         * ThemeWin32Classic.cs:
2716         * ListView.cs: Do not draw/clip the headers when the header style
2717         is None.
2718
2719 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2720
2721         * DataGrid.cs: Fixes 77260
2722         
2723 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2724
2725         * DataGrid.cs: Clicking on a column on a empty grid was giving
2726           an exception
2727
2728 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2729
2730         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2731           or any keypress will crash the grid.
2732
2733 2006-01-17  Mike Kestner  <mkestner@novell.com>
2734
2735         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2736         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
2737         invisible/previously-visible items.
2738         [Fixes #76909]
2739
2740 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
2741
2742         * ThemeClearlooks.cs:
2743         - Added CL_Draw_Button method; now other theme controls that are 
2744           not derived from button or do not have a button can draw buttons
2745           too
2746         - Updated ComboBox drawing
2747         - Beautified RadioButton drawing
2748         - Corrected drawing of bottom and left tabs
2749         - Beautified DateTimePicker and MonthCalendar
2750         - Added CPDrawButton and CPDrawRadioButton
2751
2752 2006-01-16  Jackson Harper  <jackson@ximian.com>
2753
2754         * ComboBox.cs: Set the initial value of the scrollbar to the
2755         current index. Reduce the numbers of refreshs and IndexOfs called.
2756
2757 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
2758
2759         * FileDialog.cs: When the file listview is focused hitting the
2760           backspace key moves the fileview to the parent directory
2761
2762 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2763
2764         * Form.cs: 
2765           - Added RecreateHandle call when changing taskbar visibility to 
2766             trigger reparenting in Win32 driver (Fixes #75719)
2767           - If a window has minimize or maximize buttons, it cannot have
2768             a help button
2769         * XplatUIWin32.cs:
2770           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2771             the toplevel form with FosterParent (A toolwindow not on the
2772             taskbar) (Fixes #75719)
2773           - Made FosterParent a toolwindow
2774
2775 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2776
2777         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2778
2779 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2780
2781         * ToolTip.cs: If SetToolTip is called from a control and the mouse
2782           is currently over that control, make sure that tooltip_window.Text
2783           gets updated
2784
2785 2006-01-13  Mike Kestner  <mkestner@novell.com>
2786
2787         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2788
2789 2006-01-13  Jackson Harper  <jackson@ximian.com>
2790
2791         * TreeView.cs: On MS GetNodeAt never actually factors in the X
2792         value passed.  Also redraw the selected node when we recieve
2793         focus, so tabbing between trees works correctly.
2794
2795 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2796
2797         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2798           ~/.gconf/%gconf-tree.xml, so use
2799           .gconf/desktop/gnome/interface/%gconf.xml
2800
2801 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2802
2803         * TextControl.cs: Draw text in gray if control is disabled
2804
2805 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2806
2807         * TreeView.cs: Draw the focus rectangle outside the highlight, to
2808           make sure it's always visible. Fixes #76680.
2809
2810 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2811
2812         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2813
2814 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
2815
2816         * PageSetupDialog.cs: Added.
2817         * PrintDialog.cs: Attributes.
2818         * PrintPreviewControl.cs: Updates.
2819         * PrintPreviewDialog.cs: Updates.
2820         
2821 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2822
2823         * Control.cs: Undid my selection check fix, since it's not needed
2824         * TextBoxBase.cs:
2825           - Now considering the presence of hscroll/vscroll when sizing
2826             vscroll/hscroll respectively. Fixed bug #77077
2827           - Added Left/Up/Down/Right to IsInputKey list to prevent
2828             ContainerControl from stealing them. This fixes what I broke
2829             with my last checkin.
2830
2831 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
2832
2833         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2834           I finally understand how the property can be set without a setter :-)
2835
2836 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2837
2838         * Application.cs:
2839           - Switched RunLoop to use static Message.Create to create a 
2840             Message object
2841           - Added PreProcessMessage call in runloop for keyboard events; this
2842             is part of the fix for #77219, I overlooked this originally in the
2843             MSDN doc for PreProcessMessage
2844         * Control.cs:
2845           - Removed call to PreProcessMessage from handling of keyboard 
2846             messages; it's supposed to be done in the message pump
2847           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2848             per MSDN documentation.
2849           - IsInputChar: All chars are input chars by default; removed the 
2850             parent calling chain, MS does not document that
2851           - PreProcessMessage: If IsInputChar is true, we want to return false
2852             to allow dispatching of the message
2853           - When selecting the next control, now also check that we're not
2854             selecting ourselves again and therefore return a false positive.
2855         * TextBoxBase.cs:
2856           - Tried to match return values for IsInputKey and ProcessDialogKey
2857             to what MS returns; moved processing of our special keys outside
2858             ProcessDialogKey since MS does not seem to return true on those.
2859           - Moved code that previously was in ProcessDialogKey into new private
2860             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2861           - Reworked handling of WM_CHAR to not have to duplicate code from
2862             Control.cs anymore, instead we simply call down to base.
2863            
2864 2006-01-12  Jackson Harper  <jackson@ximian.com>
2865
2866         * ComboBox.cs: We always need to refresh the text area when
2867         EndUpdate is called. Fixes the combobox in the file dialog.
2868         * Control.cs: Don't create the creator_thread until the controls
2869         handle is created.  Also in InvokeRequired we check if the
2870         creator_thread is null. This gives the effect of InvokeRequired
2871         returning true if the controls handle is not created yet, and
2872         matches MS.
2873
2874 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2875
2876         * XplatUI.cs:
2877           - Added StartLoop() driver method. This is used to allow drivers to
2878             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2879             loop for a particular thread
2880           - Added EndLoop() driver method. This is called once the message
2881             pump for the thread is shut down
2882           - Added SupportsTransparency method to allow the driver to indicate
2883             opacity support for windows
2884         * Form.cs:
2885           - Removed TODO attribute, completed AllowTransparency property
2886           - Added documented logic to Opacity
2887         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2888           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2889           versions of CompatibleTextRendering
2890         * X11Structs.cs: Added opacity atom to our atom enumeration
2891         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2892           of a form might be set before it's reparented by the WM, and we need
2893           the opacity value without calling up to Form)
2894         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
2895           SupportsTransparency() driver methods
2896         * Application.cs: Now calling StartLoop and EndLoop driver methods
2897         * XplatUIX11.cs:
2898           - Added opacity atom registration
2899           - Added StartLoop()/EndLoop() methods. They're empty right now but
2900             will need to get implemented when we switch to a per-thread queue
2901           - Implemented SupportsTransparency() method
2902           - Implemented SetWindowTransparency() method
2903           - Added support for setting the opacity value when a window is
2904             reparented (since the opacity needs to be set on the WM frame)
2905         * XplatUIOSX.cs, XplatUIWin32.cs:
2906           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2907
2908 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2909
2910         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2911
2912 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2913
2914         * FileDialog.cs: Added ToolTip for MWFFileView
2915         * MimeIcon.cs: Rewrote GnomeHandler.
2916           - Get currently used gnome icon theme from
2917             ($HOME)/.gconf/%gconf-tree.xml
2918           - Make use of inherited icon themes
2919           - Support SVG icon themes like Tango via librsvg
2920
2921 2006-01-12  Miguel de Icaza  <miguel@novell.com>
2922
2923         Revert's Jackson's revert which broke 2.0 builds.   Fix both
2924         builds. 
2925         
2926         * Application.cs: Move the use_compatible_text_rendering outside
2927         the NET_2_0 define.  If we ever need to use the
2928         use_compatible_text_rendering on the individual controls they will
2929         access the variable from the common shared code paths.
2930
2931 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2932
2933         * XplatUI.cs:
2934           - Added more granular debug options
2935           - Added method to print both window text and id
2936           - Switched debug output to use new Window() debug method
2937           - Added IsEnabled() driver method
2938           - Added EnableWindow() driver method
2939         * Form.cs:
2940           - Removed end_modal; no longer needed, new loop handles termination
2941             via 'closing' variable
2942           - If form is modal, setting DialogResult will now initiate loop
2943             termination via 'closing' variable
2944           - Added support for is_enabled/WS_DISABLED to CreateParams
2945           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2946             does all the work
2947           - Removed code that's now in RunLoop from ShowDialog()
2948           - Added various documented sanity checks to ShowDialog()
2949           - Added handling of WM_DESTROY message; we set 'closing' on getting
2950             the message to indicate the message pump to terminate
2951           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2952             send by the Application.ExitThread method. (We send the message
2953             to destroy the window after all other events have been
2954             processed through the queue, instead of destroying the handle 
2955             directly)
2956           - Moved code from Close() method to WM_CLOSE handler; added logic
2957             to only send close-related events if the form is not displayed
2958             modal
2959         * Splitter.cs (..ctor): Fixed typo in resource name
2960         * Control.cs:
2961           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2962             brush now
2963           - set_Cursor: Now only setting calling into XplatUI if the handle for
2964             the control is already created; this avoids implict handle creation
2965             or crashes if it's not created
2966           - set_Enabled: Now setting the enabled state via the new driver method
2967             instead of just tracking it
2968           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2969           - CreateControl: Reordered event firing and method calls to more
2970             closely fire events in the order MS does. Now setting the
2971             enabled state in the driver when creating the control.
2972           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2973             match MS order
2974         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2975           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2976         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2977         * Hwnd.cs:
2978           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2979           - Added EnabledHwnd property to easily allow a driver to find the
2980             handle of the first enabled window in the parent chain (this is
2981             used by drivers to pass up input events of disabled windows)
2982         * XplatUIDriver.cs: Added IsEnabled() method
2983         * Application.cs:
2984           - Removed crude and obsolete exiting tracking variable
2985           - Removed internal ModalRun(); replaced by RunLoop()
2986           - Implemented private CloseForms() method to allow closing all 
2987             windows owned by a particular (or all) threads
2988           - Exit() now properly closes all windows without forcing the message
2989             pump to quit
2990           - Removed obsolete InternalExit() method
2991           - Changed Run() methods to use new RunLoop() message pump
2992           - Implemented new RunLoop() method for both modal and non-modal forms
2993         * CommonDialog.cs:
2994           - get_CreateParams: Added setting of WS_DISABLED
2995           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2996             invoked via Form.ShowDialog()
2997         * NativeWindow.cs: We don't remove the window from the collection when
2998           the handle is destroyed; there might still be messages for it in the
2999           queue (mainly the resulting WM_DESTROY); instead it will be removed
3000           when Control calls InvalidateHandle in the WM_DESTROY handler
3001         * XplatUIX11.cs:
3002           - CreateWindow: Added logic to handle the WS_DISABLED window style
3003           - EnableWindow: Implemented based on Hwnd.Enabled
3004           - GetMessage: Reset PostQuitState so the method can be called again
3005           - Implemented support for disabled windows (passing messages to the
3006             first enabled parent) in handling all input messages
3007           - Added optimizations for handling Expose events
3008           - Implemeted new driver method IsEnabled()
3009           - Now always resetting paint pending tracking vars when we start paint
3010           - Re-implemented UpdateWindow via just sending a WM_PAINT message
3011         * XplatUIOSX.cs: Added IsEnabled method stub
3012         * XplatUIWin32.cs: Implemented new IsEnabled() method
3013
3014 2006-01-11  Jackson Harper  <jackson@ximian.com>
3015
3016         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3017         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3018         variables a little.
3019         * ColorDialog.cs: Clear out the old form before adding the new
3020         panel.  
3021
3022 2006-01-11  Jackson Harper  <jackson@ximian.com>
3023
3024         * X11Dnd.cs: Make sure to add all the text formats when adding
3025         strings to the data object.
3026         * TreeNodeCollection.cs: When adding to a sorted tree we need to
3027         do some redrawing too.  Also change the UpdateNode to an
3028         UpdateBelow so the newly added node gets painted.
3029         
3030 2006-01-11  Miguel de Icaza  <miguel@novell.com>
3031
3032         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3033         LinkLabel.cs, PropertyGrid.cs: Implement the
3034         UseCompatibleTextRendering property for 2.x
3035
3036         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
3037
3038 2006-01-11  Jackson Harper  <jackson@ximian.com>
3039
3040         * TreeView.cs: Use the property for setting the selected node so
3041         the correct events get raised.
3042         * TreeNode.cs: Update the tree when the fore/back colours of a
3043         node are set.
3044
3045 2006-01-10  Jackson Harper  <jackson@ximian.com>
3046
3047         * TreeView.cs: Allow setting SelectedNode to null.
3048
3049 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3050
3051         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3052
3053 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3054
3055         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3056
3057 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3058
3059         * PrintDialog.cs: Added attributes and set default property values.
3060
3061 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3062
3063         * PrintControllerWithStatusDialog.cs: 
3064         Added PrintControllerWithStatusDialog.
3065
3066 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3067
3068         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
3069         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3070
3071 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
3072
3073         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3074
3075 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
3076
3077         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3078         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3079
3080 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
3081
3082         * MimeIcon.cs: Added internal class SVGUtil.
3083
3084 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
3085
3086         * FileDialog.cs: Don't crash if there are two files with the
3087           same name but different locations.
3088
3089 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
3090
3091         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3092         dates across multiple month grids. Used to not highlight entire 
3093         month, but does now.
3094         
3095 2006-01-06  Jackson Harper  <jackson@ximian.com>
3096
3097         * MonthCalendar.cs: Removed DoEvents call to prevent a running
3098         message loop. Change timer intervals to numbers that seem more
3099         natural.
3100
3101 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
3102
3103         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3104           object for location info since screen object is now implemented.
3105
3106 2006-01-05  Jackson Harper  <jackson@ximian.com>
3107
3108         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3109         * AsyncMethodResult.cs: We no longer use a WeakReference for the
3110         AsyncMethodResult, this is because we ALWAYS want the
3111         ManualResetEvent to get set.
3112         * Control.cs: When disposing use an async invoke to call shutdown
3113         code, so that thigns don't block on the finalizer thread.  Also
3114         check if we even have a message loop before trying to send
3115         messages, if we don't then don't bother sending messages.
3116         - No more weak references for async methods
3117         * XplatUIDriver.cs: No more weak references for async methods.
3118
3119 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3120
3121         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3122           returns two FontFamily with the same name
3123
3124 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
3125
3126         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
3127           drawing disabled text. Instead using the ColorGrayText color
3128
3129 2006-01-04  Jackson Harper  <jackson@ximian.com>
3130
3131         * TreeNode.cs: redraw the node when its image index is changed.
3132
3133 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
3134
3135         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3136           time I checked there are no others like it.
3137
3138 2006-01-04  Jackson Harper  <jackson@ximian.com>
3139
3140         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3141         this gives the behavoir I was looking for.
3142         * Control.cs: Special case Invoking EventHandlers, this matches MS
3143         and fixes part of bug #76326.
3144
3145 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3146
3147         * ThemeClearlooks.cs, FileDialog.cs:
3148           - Reflect the latest Theme class changes
3149           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
3150             with DateTime
3151             
3152 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
3153
3154         * Theme.cs: Cache UI resource images and resize them if needed
3155
3156 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
3157
3158         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3159           is called. This fixes the crash in Nexxia when setting the font
3160           attributes in the chat. [However, RTF needs a look-over to make sure
3161           that all SelectionXXX methods handle the special case that selection
3162           is empty and therefore the change must be applied to all text starting
3163           at the cursor/selection start]
3164
3165 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
3166
3167         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3168           XplatUIOSX.cs: Added SendMessage and PostMessage methods
3169         * X11Keyboard.cs: Switched to new way of calling PostMessage
3170
3171 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
3172
3173         * Theme.cs: Added theme interface for images to allow the theme to
3174           control what images are used for things like FileDialog, MessageBox
3175           icons, etc.
3176         * MessageBox.cs: Now uses the new Theme icon/image interfaces
3177
3178 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
3179
3180         * FileDialog.cs:
3181           - Removed some dead code
3182           - Opening a recently used file does work now
3183           - Small UI enhancements
3184           - Refactoring
3185
3186 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3187
3188         * FileDialog.cs: Forgot too add __MonoCS__
3189
3190 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3191
3192         * FileDialog.cs: We are able to read recently used files now let's
3193           go on and write them.
3194
3195 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
3196
3197         * FileDialog.cs: Breathe some life into "last open"/"recently used"
3198           button
3199         * MimeIcon.cs: Do a check for the top level media type also
3200
3201 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3202
3203         * ThemeClearlooks.cs:
3204           - Added CPDrawStringDisabled
3205           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3206             some chars if the text doesn't fit into text_rect
3207           - DrawListViewItem: If View = View.LargeIcon center the image;
3208             rewrote the drawing of ListViewItem.Text if View = 
3209             View.LargeIcon
3210
3211 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3212
3213         * MimeIcon.cs: Use default KDE icon theme if there is no
3214           "48x48" directory for the current icon theme, fixes #77114
3215         * Mime.cs: Disable not working and actually not used code. 
3216         * ThemeWin32Classic.cs:
3217           - Replace "new SolidBrush" in GetControlBackBrush and
3218             GetControlForeBrush with ResPool.GetSolidBrush
3219           - Changed DrawListViewItem from private to protected virtual
3220         * FileDialog.cs:
3221           - Added form.MaximizeBox = true
3222           - Don't throw an exception if there is a broken symbolic link
3223
3224 2005-12-23  Jackson Harper  <jackson@ximian.com>
3225
3226         * TabControl.cs: Give the panels focus, keyboard navigation is
3227         fixed so this works correctly now.
3228         - We need these key events also.
3229         * ToolBar.cs: Remove some of the poor mans double buffering.
3230         
3231 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
3232
3233         * ComboBox.cs: The internal TextBox now returns the focus.
3234
3235 2005-12-23  Jackson Harper  <jackson@ximian.com>
3236
3237         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
3238
3239 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3240
3241         * Control.cs: Removed debug code
3242         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3243           implicit children
3244
3245 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
3246
3247         * Control.cs: When creating the control, update the Z-order after
3248           all it's children are created, too. (Fixes nexxia not showing
3249           picturebox bug)
3250
3251 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3252
3253         * Control.cs: Do not update the anchoring distances if layout is
3254           suspended, instead do it once layout is resumed
3255
3256 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
3257
3258         * Control.cs: 
3259           - After many hours of debugging, for both Jackson and
3260             myself, it turns out that it helps to set the parent of a control
3261             if you want to actually see it onscreen. In the spirit of that
3262             discovery, we're now setting the parent of the control and
3263             it's children when the control's handle is created. This fix
3264             will make Lutz Roeder's Reflector run happily. 
3265           - now just creating the handle instead of the whole control when
3266             getting a graphics context for the control.
3267
3268 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3269
3270         * ScrollableControl.cs: When calculating the canvas, don't consider
3271           the scrollbar widths. Instead, predict if horizontal scrollbar
3272           will affect canvas when deciding on vertical display and vice versa.
3273
3274 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3275
3276         * RichTextBox.cs: Set default RTF font for documents that don't
3277           have a font table (Fixes #77076)
3278
3279 2005-12-22  Jackson Harper  <jackson@ximian.com>
3280
3281         * TextBoxBase.cs: It's difficult to do, but you can have an empty
3282         clipboard. This prevents a NullRef in that case.
3283         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3284         clipboard. PRIMARY is for the currently selected text only. (We
3285         should implement PRIMARY at some point.
3286
3287 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3288
3289         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3290           a Unicode function with a structure that was defined in Ansi way.
3291           This fixes #76942.
3292
3293 2005-12-21  Jackson Harper  <jackson@ximian.com>
3294
3295         * StatusBar.cs: Statusbar handles its fore/back colours on it's
3296         on. Because thats how it rolls. (and this avoids it using ambient
3297         colours).
3298         * ThemeWin32Classic.cs: Use the proper back color for filling.
3299         * Menu.cs: Use the system menu bar color for drawing menu
3300         bars. Using the window back color will bring ambient colours into
3301         the picture.
3302
3303 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
3304
3305         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3306           Bitmaps were created and not disposed.
3307
3308 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3309
3310         * Control.cs (CreateControl): Don't do anything if the control is
3311           already created, otherwise we'd fire the OnCreated event more than
3312           once
3313
3314 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3315
3316         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3317           will always match. Instead return -1. Fixes #76464.
3318
3319 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3320
3321         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3322           neither the beginning nor the end of the line (Fixes bug #76479)
3323
3324 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3325
3326         * Control.cs:
3327           - ControlNativeWindow.ControlFromHandle(): Now handling situation
3328             where handle is invalid
3329           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3330             instead of slower linear search
3331         * NativeWindow.cs: Don't remove the window from the hashtable until
3332           after the driver has destroyed it (since the driver might use
3333           Control.FromHandle to lookup the control object
3334         * Hwnd.cs: Added DestroyPending property to track if a window is 
3335           already destroyed as far as the driver is concerned and only hasn't
3336           yet notified the control
3337         * XplatUIX11.cs:
3338           - Activate(): Check if the window is still valid before using the 
3339             handle
3340           - Implemented DestroyChildWindow() method to mark child windows as
3341             destroyed when a window is destroyed. This prevents situations 
3342             where we might call an X method based on queued events for a
3343             window that already has been destroyed but we haven't yet pulled
3344             the destroy method from the queue.
3345           - Added a call to the new DestroyChildWindow() method to the drivers
3346             DestroyWindow code. Also now marking the destroyed window itself
3347             as pending
3348
3349 2005-12-20  Jackson Harper  <jackson@ximian.com>
3350
3351         * StatusBar.cs:
3352         * StatusBarPanel.cs: Don't calculate panel sizes on draw
3353         anymore. Just do them when needed, also track the rects of panels
3354         so that we can optimize refreshing more in the future.
3355
3356 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
3357
3358         * ColorDialog.cs: Fixed focus drawing in small color controls
3359
3360 2005-12-19  Jackson Harper  <jackson@ximian.com>
3361
3362         * InternalWindowManager.cs:
3363         * MdiWindowManager.cs: Cleanup some coordinate system changes so
3364         moving windows works properly.
3365
3366 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
3367
3368         * Control.cs: 
3369           - Removed call to InitLayout() from SetBoundsCore(); doc says
3370             it's only called when a control is added to a container
3371           - Split InitLayout logic, moved to separate UpdateDistances() method
3372             since we need to perform those calculations more often than just
3373             when adding the control to a container. (Needed to fix #77022)
3374           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3375           - Reduced the OnBindingContextChanged events count, don't send them
3376             unless the control is created, we still aren't totally matching
3377             MS, but I can't quite figure out some of their rules
3378
3379 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3380
3381         * ThemeClearlooks.cs: Corrected distance between ProgressBar
3382           stripes
3383
3384 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3385
3386         * ThemeClearlooks.cs:
3387           - Updated ProgressBar drawing
3388           - Corrected drawing of ScrollBars and scroll buttons
3389           - Some temporary fixes for minor pixel artefacts
3390
3391 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
3392
3393         * Control.cs:
3394           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3395             cause events to be sent in the same order as MS does.
3396           - Added ChangeParent() method to trigger various OnXXXChanged events
3397             that need to be fired when a parent changes (This is a reworking
3398             of the patch from r54254, with the X11 errors fixed)
3399           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3400             since on MS we get OnLayoutChanged events when calling Clear()
3401           - Changed Enabled property to consider parent state as well, if a
3402             parent is not enabled, the control will not be either
3403           - Changed Parent property to simply call Controls.Add() since that
3404             now does all the work required, this way we avoid code duplication
3405           - Threw in a few OnBindingsContextChanged calls to try and match
3406             when MS sends them. We seem to send a few too many, though.
3407           - Added call to CreateControl when adding the control to a parent.
3408             We were never calling CreateControl. Still needs some work, in
3409             some places we treat HandleCreated and ControlCreated as equal, 
3410             which is wrong
3411           - Removed obsolete commented out code from UpdateZOrder()
3412
3413 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3414
3415         * ThemeClearlooks.cs: Updated TrackBar drawing.
3416
3417 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3418
3419         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3420
3421 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3422
3423         * FileDialog.cs: Add the Help button and the open readonly
3424           checkbox only if needed
3425
3426 2005-12-16  Jackson Harper  <jackson@ximian.com>
3427
3428         * Control.cs: Make sure we have an active menu before trying to
3429         process commands on it. Prevents menu-less forms from crashing
3430         when Alt is pressed.
3431         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3432         Dieter Bremes.
3433         * RichTextBox.cs: Expand statement to help out gmcs and fix the
3434         2.0 build.
3435
3436 2005-12-16  Jackson Harper  <jackson@ximian.com>
3437
3438         * InternalWindowManager.cs: Don't translate tool windows screen
3439         coordinates. This fixes windows 'bouncing' around when being moved.
3440
3441 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3442
3443         * TextBoxBase.cs:
3444           - MaxLength now treats 2^31-1 equal to unlimited length (this is
3445             not quite MS compatible, MS uses that number only for single line
3446             and 2^32-1 for multi-line, but I figure it won't hurt keeping
3447             the limit at 2GB)
3448           - Now enforcing the MaxLength limit when entering characters
3449           - Added argument to internal Paste() method to track if it's called
3450             from programatically or via keyboard, since keyboard driven pastes
3451             need to enforce max-length
3452           - Added logic to Paste to only paste as many chars as MaxLength 
3453             allows
3454         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3455         * TextControl.cs:
3456           - Added Length property to return number of characters in document
3457           - Added private CharCount property which only tracks actual chars
3458             in the document (no linefeeds) and fires event when CharCount
3459             changes
3460           - Added tracking of character count to all methods that alter it
3461           - Added LengthChanged event to allow applications to subscribe
3462             to any changes to the document
3463
3464 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3465
3466         * TextBox.cs: 
3467           - Removed local password_char field (moved to TextBoxBase)
3468           - Now setting the document's password var when password is
3469             set
3470         * TextBoxBase.cs:
3471           - Added password_char field (needed here so MultiLine can
3472             access it)
3473           - Added logic to MultiLine property setter to set the document's
3474             variable when password display is allowed
3475           - Removed debug code and made some debug code conditional
3476         * TextControl.cs:
3477           - Added RecalculatePasswordLine() method to handle special password
3478             char only lines
3479           - Added PasswordChar property, also added related tracking vars
3480           - Draw() method now uses local text var for grabbing text to draw,
3481             this var is set to line.text unless we're doing password display,
3482             then it is set to the pre-generated all-password-chars line
3483           - Added calling RecalculatePasswordLine() method for password lines
3484
3485 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3486
3487         * Hwnd.cs: 
3488           - Added Reparented property to allow tracking of Window Manager
3489             reparenting actions (which affect X/Y calculations of toplevel 
3490             windows)
3491           - Made ToString() print window handles in hex
3492         * XplatUIX11.cs:
3493           - AddConfigureNotify(): Now uses reparented state off Hwnd to
3494             determine if X/Y needs offsetting
3495           - AddConfigureNotify(): Fixed offset calculations
3496           - Now adds ReparentNotify messages into the queue
3497           - Now processes ReparentNotify messages and causes a 
3498             WM_WINDOWPOSCHANGED message to be sent upstream if a window
3499             is reparented (as most likely it's X/Y coordinates are changed
3500             due to that)
3501
3502 2005-12-14  Jackson Harper  <jackson@ximian.com>
3503
3504         * XplatUIX11.cs: Tool windows still need to respek focus.
3505
3506 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3507
3508         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3509           have a working release
3510
3511 2005-12-13  Jackson Harper  <jackson@ximian.com>
3512
3513         * Form.cs: Update styles after setting the border style regardless
3514         of whether or not the window is using a window manager.
3515
3516 2005-12-13  Jackson Harper  <jackson@ximian.com>
3517
3518         * Form.cs: We now hook into an internal window manager instead of just an
3519         MDI subsystem, this is so we can have properly behaving tool windows.
3520         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3521         * InternalWindowManager.cs: New internal class that acts as a
3522         window manager for tool windows and as a base for mdi windows.
3523         * MdiWindowManager.cs: New class that acts as a window manager for
3524         mdi windows.
3525
3526 2005-12-12  Jackson Harper  <jackson@ximian.com>
3527
3528         * Control.cs: Updates so we match behavoir for for implicit
3529         controls. Fixes explosions in MDI.
3530
3531 2005-12-12  Jackson Harper  <jackson@ximian.com>
3532
3533         * Control.cs: Implement Invalidate (Region).
3534
3535 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
3536
3537         * Control.cs: 
3538           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
3539             the same events as MS does. MS fires events for each property 
3540             except, for unknown reasons, Cursor, when the control is reparented. 
3541             I can't seem to totally match add/remove since MS also fires some 
3542             VisibleChanged events, which makes no sense. Consolidated the
3543             parenting code into a separate method so it can be called from
3544             both Add and Remove. set_Parent no longer needs any special logic
3545             as it calls the parent's add method which implicitly fires
3546             all events
3547           - Removed some obsolete code and debug output
3548           - Enabled state is inherited from parents, if this is enabled
3549
3550 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
3551
3552         * Form.cs: Removed commented out code
3553
3554 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
3555
3556         * Control.cs:
3557           - Added internal version of Invoke, with additional argument 
3558             indicating if we're calling it from a Dispose() handler. That
3559             way we can avoid BeginInvoke throwing an exception if we're
3560             calling for an already destroyed window.
3561           - Added a dispose argument to BeginInvokeInternal, and made the
3562             check if a valid window handle chain exists conditional on
3563             it not being a dispose call
3564           - Removed code in DestroyHandle to destroy our children. Since we
3565             now handle the WM_DESTROY message we will catch all our children
3566             being destroyed.
3567           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3568         * Form.cs:
3569           - Added a field to track the application context of the form.
3570           - No need to set closing variable as response to WM_CLOSE, instead
3571             we destroy the window. We also call PostQuitMessage if the form
3572             has an application context (which makes it the main app form,
3573             which, when closed terminates the app)
3574         * XplatUI.cs:
3575           - Dropped Exit() method, it's naming was confusing
3576           - Added PostQuitMessage() which causes GetMessage to return false
3577             once the message queue is empty
3578         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
3579           PostQuitMessage()
3580         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3581           no longer a valid XplatUI method, but left it in since it's used
3582           internally. Added empty PostQuitMessage() method.
3583         * MenuAPI.cs: Replaced call to Exit() with call to
3584           PostQuitMessage, even though this is probably no longer needed.
3585         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3586         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3587         * Application.cs:
3588           - Replaced call to XplatUI.Exit() with PostQuitMessage()
3589           - Removed old debug code that would call XplatUI for exception
3590             display, enabled standard exception handling (Still not enabled
3591             though, until NativeWindow's ExternalExceptionHandler define
3592             is removed
3593         * NativeWindow.cs:
3594           - Added internal method to allow control to update NativeWindow
3595             after a window has been destroyed
3596           - Added handling of already destroyed windows when calling i
3597             DestroyWindow
3598           - Added removal of handle from list on ReleaseHandle
3599         * XplatUIX11.cs:
3600           - Dropped GetMessageResult var and related code
3601           - Added PostQuitState to field to track if PostQuitMessage has been
3602             called
3603           - Dropped Exit() method
3604           - Added PostQuitMessage() method
3605           - GetMessage now will return false if PostQuitState is set and no
3606             more messages are in the queue.
3607           - Expose handler will no longer generate WM_PAINT messages if we are
3608             in PostQuitState since it's very likely any windows have already
3609             been destroyed, and since Hwnd won't get updated until we have
3610             processed the DestroyNotify we'd be causing X errors.
3611         
3612 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3613
3614         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3615           Thanks to Mike for pointing out the err of my ways.
3616
3617 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3618
3619         * Control.cs(PreProcessMessage): Moved menu handling back, but
3620           after all other key handling, to match MS (who handles Menu in
3621           DefWndProc)
3622         * Menu.cs (WndProc): Removed my brainfart
3623
3624 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3625
3626         * Control.cs(PreProcessMessage): Removed special menu handling 
3627         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3628
3629 2005-12-07  Mike Kestner  <mkestner@novell.com>
3630
3631         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3632         state according in tracker.
3633         * Menu.cs : promote tracker field to base class and provide a tracker
3634         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3635         has a tracker. Unparent items that are removed from the collection.
3636         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3637         * Theme*.cs: add always_show_hotkeys field to support configurability
3638         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3639         pressed.
3640
3641 2005-12-07  Jackson Harper  <jackson@ximian.com>
3642
3643         * MdiChildContext.cs: Use Control.ResetCursor.
3644         * Control.cs: ResetCursor needs to set the property so that the
3645         correct XplatUI call gets made.
3646
3647 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3648
3649         * Control.cs: More fixes to make our key events match MS. We
3650           were not setting the modifier state on KeyData, and we were
3651           not generating any events when Alt was pressed with a key
3652           since handling of WM_SYSxxx was missing for the OnKey methods.
3653
3654 2005-12-07  Jackson Harper  <jackson@ximian.com>
3655
3656         * MdiChildContext.cs: reenable the sizing code.
3657         - When the mouse leaves a window reset its cursor.
3658
3659 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3660
3661         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3662
3663 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3664
3665         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3666           widths of Fixed3D borders
3667
3668 2005-12-07  Jackson Harper  <jackson@ximian.com>
3669
3670         * MdiClient.cs: Fix warnings. Earn Mike's love.
3671
3672 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3673
3674         * ThemeClearlooks.cs:
3675           - Adjusted mouse over button color
3676           - Added first parts of CheckBox drawing
3677           - Added correct color for selected text background
3678           - Fixed ComboBox drawing
3679           - Added CPDrawBorder3D and CPDrawBorder
3680
3681 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3682
3683         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3684
3685 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3686
3687         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3688           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3689           alert users via sound. We could add an enum arg with different
3690           types of alerts in the future
3691
3692 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3693
3694         * Control.cs: Fix behaviour problems pointed out by Mike
3695
3696 2005-12-05  Mike Kestner  <mkestner@novell.com>
3697
3698         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3699         prop setters.  Calls parent.Refresh for now, but could be maybe be
3700         optimized with an internal method on StatusBar at some point.
3701         [Fixes #76513]
3702
3703 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3704
3705         * RichTextBox.cs: Implemented get_SelectionColor
3706
3707 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3708
3709         * ThemeClearlooks.cs:
3710           - Removed dead code
3711           - Draw black button border only if button is Form.AcceptButton
3712           - Draw correct button color for pressed RadioButton if the mouse 
3713             has entered the button
3714           - Updated ProgressBar drawing!
3715           - Updated CPDrawSizeGrip drawing
3716           - Updated StatusBarPanel drawing
3717
3718 2005-12-05  Mike Kestner  <mkestner@novell.com>
3719
3720         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3721         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3722
3723 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
3724
3725         * ThemeClearlooks.cs: Initial check-in, activate with
3726           export MONO_THEME=clearlooks
3727         * ThemeEngine.cs: Added ThemeClearlooks
3728
3729 2005-12-03  Mike Kestner  <mkestner@novell.com>
3730
3731         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3732         [Fixes #76897]
3733
3734 2005-12-02  Jackson Harper  <jackson@ximian.com>
3735
3736         * Form.cs: If the child form has no menu the default main menu is
3737         used as the active menu.
3738
3739 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
3740
3741         * ListBox.cs: Check if any items exist before trying to resolve 
3742           coordinates into items
3743
3744 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3745
3746         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3747           as the second color for the background hatch
3748
3749 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3750
3751         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3752         * RichTextBox.cs: FormatText position arguments are 1-based, now making
3753           sure that what we pass to FormatText is always 1-based. Fixes #76885
3754
3755 2005-11-29  Miguel de Icaza  <miguel@novell.com>
3756
3757         * NumericUpDown.cs (EndInit): When we are done initializing,
3758         reflect any updates on the UI.
3759
3760 2005-12-02  Jackson Harper  <jackson@ximian.com>
3761
3762         * ImplicitHScrollBar.cs:
3763         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3764         their container controls.
3765         * TreeView.cs: Use the new implicit scrollbars.
3766
3767 2005-12-02  Jackson Harper  <jackson@ximian.com>
3768
3769         * TreeView.cs: Make top_node internal so the TreeNodeCollections
3770         can play with it.
3771         * TreeNodeCollection.cs: If we remove the topnode we need to
3772         update topnode to the next node in line.
3773         - When clearing nodes go through the same process as removing
3774         them, so they get depareneted and checked if they are top node.
3775
3776 2005-12-01  Jackson Harper  <jackson@ximian.com>
3777
3778         * TreeView.cs: When imagelists are used the image area is
3779         selectable as well as the text.
3780         - If there are no selected nodes select the first one.
3781         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3782         so don't do it more then we need to.
3783
3784 2005-12-01  Jackson Harper  <jackson@ximian.com>
3785
3786         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3787         that arrows can be scaled.
3788
3789 2005-12-01  Jackson Harper  <jackson@ximian.com>
3790
3791         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3792         fail. Patch by Dieter Bremes
3793
3794 2005-11-30  Jackson Harper  <jackson@ximian.com>
3795
3796         * Form.cs: Property is 2.0 only
3797         * PrintDialog.cs: Signature fix.
3798
3799 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3800
3801         * TextControl.cs: 
3802           - No longer artificially moves text 2 pixels down (now that we have
3803             borders this is no longer needed)
3804           - Added calcs for left, hanging and right indent
3805
3806 2005-11-23  Mike Kestner  <mkestner@novell.com>
3807
3808         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3809
3810 2005-11-30  Jackson Harper  <jackson@ximian.com>
3811
3812         * MdiChildContext.cs: Set the cloned menus forms, as these don't
3813         get cloned as part of CloneMenu ().
3814         * Menu.cs: Make sure the parent of the items get set correctly
3815         when they are added.  And the owners are notified of the changes.
3816         * Form.cs: Create an ActiveMenu property, so that when MDI is used
3817         we can change the menu being displayed/handled by the form without
3818         changing the menu assosciated with the form.
3819         - Don't let Mdi children draw/handle menus.
3820         
3821 2005-11-30  Jackson Harper  <jackson@ximian.com>
3822
3823         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3824         a MenuChanged event. Just to make the API a little more
3825         consistent.
3826         * MainMenu.cs:
3827         * MenuItem.cs: Use the new OnMenuChanged
3828         * MdiChildContext.cs: Handle menu merging.
3829         * Form.cs: Implement MergedMenu.
3830         
3831 2005-11-30  Jackson Harper  <jackson@ximian.com>
3832
3833         * Menu.cs: We were misusing Add. Add goes behind the specified
3834         index according to the docs, and does not replace the specified
3835         index. So I added an Insert method.
3836
3837 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3838
3839         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3840           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3841           is for Jackson
3842         * RichTextBox.cs: Added calls to base for DnD events
3843
3844 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
3845
3846         * TextControl.cs:
3847           - Fixed drag-selection related crash; style fixes
3848           - Implemented undo class
3849             o Implemented method to capture document state for specified
3850               range in document tree
3851             o Implemented method to restore captured document state
3852             o Implemented cursor tracking
3853             o Implemented basic undo stack
3854           - Added undo cursor tracking to methods altering cursor location
3855           - Added undo tracking to selection deletion (still missing
3856             other text-altering hookups)
3857         * RichTextBox.cs:
3858           - Added SelectionLength property
3859           - Implemented CanPaste()
3860           - Implemented Paste()
3861           - Added missing protected methods
3862           - Fixed RTF->Document conversion; now uses font index 0 and color 
3863             index 0 as the default font for the parsed text
3864           - Fixed RTF<->Document font size translation
3865           - Fixed RTF generation, now properly handles cross-tag boundaries
3866             for single line selection
3867           - No longer always appends blank line to generated RTF
3868           - Removed TODOs
3869           - Added missing attributes
3870           - Hooked up undo-related methods
3871         * TextBoxBase.cs:
3872           - Implemented Copy()
3873           - Implemented Paste()
3874           - Implemented Cut()
3875           - Fixed caret mis-behaviour on backspace across line-boundaries
3876
3877 2005-11-29  Jackson Harper  <jackson@ximian.com>
3878
3879         * MdiClient.cs: Add a method for activating mdi children. Very
3880         basic right now. I imagine someday it might need more girth.
3881         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3882         children windows names are added to the menu item.
3883         * ThemeWin32Classic.cs: Draw the arrow if the item is an
3884         mdilist. This happens regardless of whether or not there are any
3885         mdi windows to see in the list, and according to my tests happens
3886         before the items are even added. Also happens if there isn't even
3887         an mdi client to get windows from.
3888
3889 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
3890
3891         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3892         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3893
3894 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
3895
3896         * DataGridTableStyle.cs:
3897           - Create always the styles for the missing columns even if they are
3898             provided by the user (not default table style)
3899         * DataGrid.cs:
3900           - Fixes bug 76770
3901           - Fixes SetDataBinding (always re-attach source)
3902           - Fixes SetNewDataSource (only clear styles if they are not for 
3903             this source)
3904          -  Expands OnTableStylesCollectionChanged to handle style refresh 
3905             and remove properly
3906
3907 2005-11-29  Jackson Harper  <jackson@ximian.com>
3908
3909         * FileDialog.cs: Implement missing bits, remove some dead
3910         code.
3911         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3912         creation of the panel so that the options set on the dialog are
3913         seen when the panel is created.
3914         * TreeView.cs: raise a click when items are clicked.
3915         
3916 2005-11-29  Jackson Harper  <jackson@ximian.com>
3917
3918         * MdiClient.cs: Pass some signature methods through to base.
3919
3920 2005-11-28  Jackson Harper  <jackson@ximian.com>
3921
3922         * ListView.cs: Raise the click event when items are clicked.
3923
3924 2005-11-28  Jackson Harper  <jackson@ximian.com>
3925
3926         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
3927         a nullref.
3928
3929 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3930
3931         * ThemeNice.cs: - Removed 1 pixel bitmaps
3932           - Use SmoothingMode.AntiAlias where it makes sense
3933             (ScrollButton arrow for example)
3934           - Enhanced Button focus drawing
3935           - Fixed ComboBox drawing (no artefacts anymore, focus
3936             rectangle is back again, reduced size of ComboButton, etc.)
3937           - Fixed RadioButton focus drawing for Appearence.Button
3938           - Slight ScrollButton redesign
3939           - Some LinearGradientBrush size fixes
3940           - GroupBoxes have now rounded edges
3941           - Fixed StatusBar drawing
3942
3943 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3944
3945         * ThemeNice.cs: - Remove dead code
3946           - use correct background colors for menus, etc.
3947           - Fake pixel drawing with 1 pixel bitmaps
3948
3949 2005-11-24  Jackson Harper  <jackson@ximian.com>
3950
3951         * MdiClient.cs: Size the scrollbars when resizing the window.
3952         - Resize the maximized windows when the client is resized
3953         * Form.cs: Make the child context available
3954         
3955 2005-11-23  Jackson Harper  <jackson@ximian.com>
3956
3957         * MdiChildContext.cs: Don't size windows if they are maximized.
3958
3959 2005-11-23  Mike Kestner  <mkestner@novell.com>
3960
3961         * ContextMenu.cs: use MenuTracker.
3962         * Control.cs: remove menu handle usage.
3963         * Form.cs: remove menu handle usage.
3964         * Hwnd.cs: remove menu handle usage.
3965         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3966         motion and clicks to the new Tracker handlers.
3967         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3968         and handle usage.
3969         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3970         Killed the MENU and MENUITEM data types and associated collections
3971         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3972         MenuTracker class that exposes the leftovers from the old MenuAPI
3973         static methods. Restructured Capture handling so that only one grab is
3974         done for the entire menu hierarchy instead of handing off grabs to
3975         submenus. Tracker now has an invisible control to Capture when active.
3976         * MenuItem.cs: add sizing accessors, kill Create
3977         and handle usage.
3978         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3979         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3980         MENU(ITEM). remove menu handle usage, use Menu directly.
3981         * XplatUIDriver.cs: remove menu handle usage.
3982         * XplatUIOSX.cs: remove menu handle usage.
3983         * XplatUIWin32.cs: remove menu handle usage.
3984         * XplatUIX11.cs: remove menu handle usage.
3985
3986 2005-11-22  Jackson Harper  <jackson@ximian.com>
3987
3988         * Hwnd.cs: Don't compute the menu size for
3989         DefaultClientRectangle.
3990         - Reenable menu sizes being computed for GetClienRectangle.
3991         * Form.cs: Remove comment of trechery
3992         
3993 2005-11-22  Jackson Harper  <jackson@ximian.com>
3994
3995         * Hwnd.cs: The adjustments for the menu bar are made when it is
3996         attached to the form.
3997
3998 2005-11-19  Jackson Harper  <jackson@ximian.com>
3999
4000         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4001         (just like on windows).
4002
4003 2005-11-19  Jackson Harper  <jackson@ximian.com>
4004
4005         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4006         use real buttons anymore because they are in non client area. The
4007         one TODO here is that I need to somehow invalidate a section of
4008         the non client area.
4009
4010 2005-11-18  Jackson Harper  <jackson@ximian.com>
4011
4012         * Control.cs: Put the enum check back in now that MDI doesnt have
4013         to use this to set border styles.
4014         * Form.cs: Only set mdi child windows borders if the handle has
4015         been created.
4016         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4017         this directly on to the driver.
4018         - Get the move start position before adjusting for the titlebar
4019         height, this fixes the windows "skipping" when they are first
4020         moved.
4021
4022 2005-11-18  Jackson Harper  <jackson@ximian.com>
4023
4024         * XplatUIX11.cs: Just compute the mdi borders separately as they
4025         don't totally match up with normal form borders.
4026
4027 2005-11-18  Jackson Harper  <jackson@ximian.com>
4028
4029         * Control.cs: Set WS_ styles for borders, so that the driver does
4030         not have to retrieve the control instance to figure out what kind
4031         of borders it should have.
4032         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4033         driver can know its an mdi child easily.
4034         * XplatUIX11.cs: Get the border styles and whether the window is
4035         MDI from the Styles and ExStyles params instead of having to get a
4036         control. This prevents a chicken and egg problem.       
4037
4038 2005-11-18  Jackson Harper  <jackson@ximian.com>
4039
4040         * MdiClient.cs: Fix typo so scrollbars show up correctly.
4041
4042 2005-11-18  Jackson Harper  <jackson@ximian.com>
4043
4044         * MdiClient.cs: Calculate when to add and remove scrollbars
4045         correctly.
4046         * MdiChildContext.cs: Adjust the y position to take the titlebar
4047         into account.
4048         - No height for FormBorderStyle.None
4049
4050 2005-11-18  Jackson Harper  <jackson@ximian.com>
4051
4052         * Control.cs: Allow non enum values to be used for
4053         InternalBorderStyle.  MDI does this to set a special border style.
4054         - New utility methods for converting points to/from client coords
4055         - Add the newly created control to the Controls collection before
4056         updating its style. This way UpdateStyle can walk the control
4057         heirarchy to find the control if needed.
4058         so I don't need to create a new Point object all the time.
4059         * Form.cs: Let MDI windows handle their border styles.
4060         - Set styles on MDI windows so the correct title style is derived.
4061         * MdiChildContext.cs: Move all the painting and window handling
4062         into the non client area.
4063         - Use correct sizing and put correct buttons on frames based on
4064         the FormBorderStyle.
4065         - Notify the mdi client about scrolling
4066         - Need to handle the buttons ourselves now, because they are all
4067         in non client areas and we can't add controls there.
4068         * MdiClient.cs: Halfway to scrolling, this implementation is
4069         somewhat broken though, we need to check to make sure other
4070         windows aren't causing scrolling before removing the bars. Also
4071         the bars need to be drawn on top, maybe I can switch implicit
4072         controls to be on top.
4073         * Hwnd.cs: caption_height and tool_caption_height are now
4074         properties of an hwnd, this way they can be set by the driver
4075         based on the type of window they are.  In X11 the window manager
4076         handles the decorations so caption_height is zero unless its an
4077         MDI window.
4078         - Add 3 pixel borders for MDI windows (0xFFFF).
4079         - Get rid of some code duplication, have DefaultClientRectanle
4080         just call GetClientRectangle.
4081         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4082         Hwnd now.
4083         - Set border styles differently for mdi windows.
4084         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4085         Hwnd now.
4086         
4087 2005-11-15  Mike Kestner  <mkestner@novell.com>
4088
4089         * Menu.cs: when adding an item to the collection, if item is already 
4090         parented, remove it from the parent.
4091
4092 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
4093
4094         * X11DesktopColors.cs: Added KDE support
4095
4096 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
4097
4098         * XplatUIWin32.cs: 
4099           - Clipboard methods now can translate Rtf format
4100           - No longer removes clipboard contents whenever a new format is added
4101             to allow placing multiple formats on the clipboard
4102         * Clipboard.cs: Clipboard now supports getting a IDataObject and
4103           will place all formats contained in it onto the clipboard. Also
4104           now cleans the clipboard before placing a new object onto it
4105         * RichTextBox.cs:
4106           - Implemented set_Rtf
4107           - Implemented set_SelectedRtf
4108           - Created InsertRTFFromStream() method to allow single code base
4109             for all properties and methods that insert RTF into document
4110           - Removed debug output
4111         * TextControl.cs:
4112           - Fixed Delete(int) to fix up line numbers
4113           - Fixed ReplaceSelection to combine start and end line
4114           - Fixed serious DeleteChars bug that would leave the document tree
4115             broken
4116           - Improved DumpTree with several logic checks to detect broken
4117             document trees
4118           - Removed debug lines
4119           - Fixed Caret.WordForward/WordBack moving code, now always also 
4120             updates caret.tag (fixes crash when word-selecting across tag
4121             boundaries via keyboard)
4122           - Added Insert() method for inserting multiline text into documents
4123           - Fixed DeleteChars() calculation errors that would cause a broken
4124             tag chain with multiple tag lines
4125           - DeleteChars() no longer crashes on multi-tag lines if not all tags
4126           - Split() no longer moves caret if split is at caret location
4127           - ReplaceSelection() now updates the cursor and re-displays it
4128           - ReplaceSelection() now uses new Insert() method to avoid code
4129             duplication
4130           - FormatText() can now handle formatting partial lines
4131         * TextBoxBase.cs:
4132           - Append now uses new TextControl.Insert() method (this avoids 
4133             duplicate code)
4134           - Implemented Ctrl-X (Cut) (
4135           - Implemented Ctrl-C (Copy)
4136           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
4137             regeneration when pasting text; roundtripping Copy&Paste within
4138             edit control still fails due to some calculation bugs in GenerateRTF)
4139           - The Delete key will now remove the current selection if it is visible
4140         * TextBox.cs: Removed debug lines
4141         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4142           driver to be initialized and can't therefore be done via a static ctor)
4143
4144 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
4145
4146         * TextControl.cs: Added backend code for finding char arrays and strings
4147         * TextBoxBase.cs:
4148           - Added mouse wheel scroll support
4149           - Added support for VScroll and HScroll events
4150         * RichTextBox.cs:
4151           - Implemented all seven Find() variants
4152           - Implemented GetCharFromPosition()
4153           - Implemented GetCharIndexFromPosition()
4154           - Implemented GetLineFromIndex()
4155           - Implemented GetPositionFromCharIndex();
4156           - Implemented SaveFile for PlainText and UnicodeText
4157           - Fixed set_Font, now setting a new font applies that font to
4158             the whole document
4159           - Implemented generic Document to RTF converter
4160           - Implemented SaveFile for RichText format (still missing unicode
4161             conversion for non-ansi chars)
4162           - Implemented get_Rtf
4163           - Implemented get_SelectedRtf
4164
4165 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
4166
4167         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4168           to allow any captures to be released before triggering OnClick. This
4169           way a click handler may capture the mouse without interference.
4170         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4171           This way we send them even though X may not allow a grab (if the window
4172           isn't visible, for example)
4173
4174 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
4175
4176         * DataGridViewRowEventArgs.cs: DataGridView implementation
4177         * DataGridViewElement.cs: DataGridView implementation
4178         * DataGridViewComboBoxCell.cs: DataGridView implementation
4179         * DataGridViewDataErrorContexts.cs: DataGridView implementation
4180         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4181         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4182         * ImageLayout.cs: DataGridView implementation
4183         * DataGridViewComboBoxColumn.cs: DataGridView implementation
4184         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4185         * DataGridViewSelectionMode.cs: DataGridView implementation
4186         * IDataGridViewEditingControl.cs: DataGridView implementation
4187         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4188         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4189         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4190         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4191         * DataGridViewColumnSortMode.cs: DataGridView implementation
4192         * DataGridView.cs: DataGridView implementation
4193         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4194         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4195         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4196         * Padding.cs: DataGridView implementation
4197         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4198         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4199         * DataGridViewRowEventHandler.cs: DataGridView implementation
4200         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4201         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4202         * DataGridViewButtonCell.cs: DataGridView implementation
4203         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4204         * DataGridViewEditMode.cs: DataGridView implementation
4205         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4206         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4207         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4208         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4209         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4210         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4211         * DataGridViewCellEventHandler.cs: DataGridView implementation
4212         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4213         * DataGridViewCellStyleConverter.cs: DataGridView implementation
4214         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4215         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4216         * DataGridViewColumnEventArgs.cs: DataGridView implementation
4217         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4218         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4219         * QuestionEventArgs.cs: DataGridView implementation
4220         * IDataGridViewEditingCell.cs: DataGridView implementation
4221         * DataGridViewTriState.cs: DataGridView implementation
4222         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4223         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4224         * DataGridViewColumnCollection.cs: DataGridView implementation
4225         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4226         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4227         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4228         * DataGridViewColumn.cs: DataGridView implementation
4229         * DataGridViewCellBorderStyle.cs: DataGridView implementation
4230         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4231         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4232         * DataGridViewRow.cs: DataGridView implementation
4233         * DataGridViewImageCellLayout.cs: DataGridView implementation
4234         * DataGridViewImageCell.cs: DataGridView implementation
4235         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4236         * DataGridViewCheckBoxCell.cs: DataGridView implementation
4237         * DataGridViewHeaderCell.cs: DataGridView implementation
4238         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4239         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4240         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4241         * DataGridViewTextBoxColumn.cs: DataGridView implementation
4242         * QuestionEventHandler.cs: DataGridView implementation
4243         * DataGridViewCellStyleScopes.cs: DataGridView implementation
4244         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4245         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4246         * DataGridViewCell.cs: DataGridView implementation
4247         * DataGridViewCellEventArgs.cs: DataGridView implementation
4248         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4249         * DataGridViewCellStyle.cs: DataGridView implementation
4250         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4251         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4252         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4253         * TextFormatFlags.cs: DataGridView implementation
4254         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4255         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4256         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4257         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4258         * DataGridViewButtonColumn.cs: DataGridView implementation
4259         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4260         * HandledMouseEventArgs.cs: DataGridView implementation
4261         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4262         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4263         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4264         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4265         * DataGridViewRowCollection.cs: DataGridView implementation
4266         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4267         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4268         * DataGridViewHitTestType.cs: DataGridView implementation
4269         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4270         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4271         * DataGridViewColumnEventHandler.cs: DataGridView implementation
4272         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4273         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4274         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4275         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4276         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4277         * DataGridViewContentAlignment.cs: DataGridView implementation
4278         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4279         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4280         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4281         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4282         * DataGridViewPaintParts.cs: DataGridView implementation
4283         * DataGridViewCellCollection.cs: DataGridView implementation
4284         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4285         * DataGridViewImageColumn.cs: DataGridView implementation
4286         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4287         * DataGridViewElementStates.cs: DataGridView implementation
4288         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4289         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4290         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4291         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4292         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4293         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4294         * DataGridViewRowHeaderCell.cs: DataGridView implementation
4295         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4296         * DataGridViewTextBoxCell.cs: DataGridView implementation
4297         * DataGridViewBand.cs: DataGridView implementation
4298         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4299         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4300         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4301         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4302         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4303         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4304         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4305         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4306         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4307         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4308         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4309
4310 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
4311
4312         * ThemeWin32Classic.cs: 
4313           - Draw the outside focus rectangle around buttons
4314           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4315             doesn't use end caps for every dash of a line anymore. This
4316             workaround ignores the forecolor.
4317
4318 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
4319
4320         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4321           endian safe.
4322
4323 2005-11-07  Jackson Harper  <jackson@ximian.com>
4324
4325         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4326
4327 2005-11-07  Jackson Harper  <jackson@ximian.com>
4328
4329         * ScrollableControl.cs: Calculate the maximum and change vars
4330         (more) correctly so that scrollbars appear as a sensible size.
4331
4332 2005-11-04  Jackson Harper  <jackson@ximian.com>
4333
4334         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4335         collection.
4336         * TreeView.cs: When the tree is sorted null out the top_node so
4337         that it is recalculated.
4338         - Use dotted lines instead of dashed lines to match MS better.
4339
4340 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
4341
4342         * ListView.cs: 
4343           - Implements key search for items. Useful when browsing files with FileDialog
4344           - When changing view mode or when clear the items reset scrollbar positions
4345
4346 2005-11-04  Jackson Harper  <jackson@ximian.com>
4347
4348         * CurrencyManager.cs: Implement the MetaDataChanged event, the
4349         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4350         as to what the method may do as there is no real way of creating a
4351         derived CurrencyManager and calling the method. 
4352
4353 2005-11-03  Jackson Harper  <jackson@ximian.com>
4354
4355         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4356         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4357         method which seems to just be used internally to refresh the tabs.
4358
4359 2005-11-03  Jackson Harper  <jackson@ximian.com>
4360
4361         * TabControl.cs: Implement the remove method. Fix some broken
4362         comments.
4363
4364 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4365
4366         * DateTimePicker.cs:
4367           - Added missing DateTimePickerAccessibleObject class
4368           - Added missing events
4369           - Added OnFontChanged method
4370         * Form.cs: Added missing attributes
4371         * TreeView.cs: Added missing attributes
4372
4373 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
4374
4375         * GridItemCollection.cs: Fix signatures
4376
4377 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4378
4379         * XplatUI.cs: Updated build rev/date
4380         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
4381           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4382         * Application.cs: Trigger context-specific ExitThread events
4383
4384 2005-11-03  Jackson Harper  <jackson@ximian.com>
4385
4386         * Menu.cs:
4387         * MainMenu.cs:
4388         * GridTableStylesCollection.cs:
4389         * Timer.cs:
4390         * TabPage.cs:
4391         * HelpProvider.cs:
4392         * StatusBar.cs:
4393         * MonthCalendar.cs: Signature fixes
4394
4395 2005-11-03  Jackson Harper  <jackson@ximian.com>
4396
4397         * TreeNodeCollection.cs: Remove should not be virtual.
4398         * TreeView.cs: Implement the last of the missing methods.
4399
4400 2005-11-03  Jackson Harper  <jackson@ximian.com>
4401
4402         * TreeNodeConverter.cs: Implement to get off my class-status back.
4403
4404 2005-11-03  Jackson Harper  <jackson@ximian.com>
4405
4406         * TreeView.cs: Hookup the bits for drag and drop.
4407         * TreeNode.cs: Don't cache the tree_view or index anymore, now
4408         that nodes can be moved from tree to tree easily this just causes
4409         all sorts of problems.
4410         * TreeNodeCollection: Don't need to give treenodes an index and
4411         treeview anymore when they are added, these are computed on the
4412         fly. Also make sure to remove a node before its added.
4413
4414 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4415
4416         * TextControl.cs:
4417           - Added CaretSelection enum
4418           - Added comparison methods to Marker struct, makes selection code
4419             more readable
4420           - Added SelectionStart and SelectionEnd as 'moveable' location for
4421             the CaretDirection enum and handler
4422           - Added selection_prev variable to track optimized invalidation for
4423             word and line selection
4424           - Added SelectionVisible property (returns true if there is a valid 
4425             selection)
4426           - Switched CaretHasFocus to only display the caret if there is no
4427             visible selection
4428           - Avoiding StringBuilder.ToString to retrieve a single char, instead
4429             using the direct character index; should be much faster
4430           - Added various conditional debug statements
4431           - Fixed invalidation calculation for selection ranges
4432           - Added ExpandSelection() method to support word and line selection
4433           - Switched SetSelectionToCaret to use new Marker compare overloads
4434           - Added central IsWordSeparator() method to determine word 
4435             separators/whitespace and FindWordSeparator() to streamline common
4436             usage of IsWordSeparator()
4437         * TextBoxBase.cs:
4438           - Removed unneeded grabbed variable, it was just mirroring
4439             Control.Capture
4440           - No longer firing OnTextChanged event when Text setter is called,
4441             since the base will fire the event for us
4442           - Added handling of Ctrl-Up/Down selection
4443           - Added handling of Shift-Cursorkey selection
4444           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4445             words
4446           - Added handling of Shift and Ctrl-Shift-Home/End selection
4447           - Removed some debug output
4448           - Added handling for single/double/tripple-click to place caret/
4449             select word/select line respectively (Fixes bug #76031)
4450           - Added support for drag expansion of word/line selection
4451         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4452           current selection
4453
4454 2005-11-02  Jackson Harper  <jackson@ximian.com>
4455
4456         * X11Dnd.cs: If the drag is going to and from a MWF window just
4457         copy the data instead of sending it out through the X Selection
4458         mechanism.
4459
4460 2005-11-02  Jackson Harper  <jackson@ximian.com>
4461
4462         * X11Dnd.cs:
4463         * XplatUIX11.cs: When in a drag we don't want motion notify
4464         messages to get passed on to the other controls. This prevents
4465         mouse move messages from showing up in the drag source.
4466
4467 2005-11-02  Jackson Harper  <jackson@ximian.com>
4468
4469         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
4470         the correct button is release to end a drag.
4471         * XplatUIX11.cs: Make the button state internal so the drag system
4472         can access it.  Dragging needs to know about all button releases,
4473         not just left button.
4474
4475 2005-11-02  Miguel de Icaza  <miguel@novell.com>
4476
4477         * Form.cs (Icon): If the icon is null, reset the icon to the
4478         default value. 
4479
4480         * Cursor.cs: When writing the AND-mask bitmap do not include the
4481         number of colors, but hardcode those to two (black and white),
4482         fixes the loading of color cursors (Paint Dot Net).
4483
4484         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4485         turn off autoscaling.
4486
4487         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4488
4489 2005-11-02  Jackson Harper  <jackson@ximian.com>
4490
4491         * X11Dnd.cs: Make sure to send a status message if the pointer
4492         enters a control that can not accept a drop, otherwise the cursor
4493         isn't updated correctly. Also tried to compress the lines of code
4494         a bit.
4495
4496 2005-11-02  Jackson Harper  <jackson@ximian.com>
4497
4498         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4499         set actions correctly.  This isn't perfect as XDND and win32 have
4500         some differences on how you allow actions. I'll clear this up by
4501         adding a path for drag from MWF to MWF windows.
4502         * XplatUIX11.cs: Hook into the dnd system.
4503
4504 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
4505
4506         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4507         previously shown but they are no longer need it. Very obvious when 
4508         browsing files with FileDialog.
4509
4510 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
4511
4512         * Control.cs: We always need to call OnPaintBackground. We pretty much
4513           ignore AllPaintingInWmPaint and always do the painting there, whether 
4514           it's set or not, since we always ignore the WM_ERASEBKGND message 
4515           (which we don't generate on X11). This fixes #76616.
4516         * Panel.cs: Removed unneeded background painting. This happens properly
4517           in Control.cs already
4518
4519 2005-10-31  Mike Kestner  <mkestner@novell.com>
4520
4521         * Menu.cs: Add items to collection before setting their index.
4522         * MenuItem.cs : add range checking with ArgumentException like MS.
4523         [Fixes #76510]
4524
4525 2005-10-31  Jackson Harper  <jackson@ximian.com>
4526
4527         * ListBox.cs: Invalidate if the area is visible at all not just
4528         contained in the visible rect. Fixes unselection of semi visible
4529         items.
4530
4531 2005-10-31  Jackson Harper  <jackson@ximian.com>
4532
4533         * Control.cs: Consistently name the dnd methods. Make them
4534         internal so we can override them to match some MS behavoir
4535         internally.
4536         * Win32DnD.cs: Use the new consistent names.
4537
4538 2005-10-31  Jackson Harper  <jackson@ximian.com>
4539
4540         * TreeView.cs: Don't draw the selected node when we lose focus.
4541
4542 2005-10-31  Jackson Harper  <jackson@ximian.com>
4543
4544         * X11Dnd.cs: We still need to reset the state even though a full
4545         reset isn't being done, otherwise status's still get sent all over
4546         the place.
4547
4548 2005-10-31  Jackson Harper  <jackson@ximian.com>
4549
4550         * Control.cs: Make the dnd_aware flag internal so the dnd
4551         subsystem can check it. Catch exceptions thrown in dnd handlers to
4552         match MS behavoir.
4553         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4554         * X11Dnd.cs: Handle null data in the converters. Set the XDND
4555         version when sending a XdndEnter. Use the control/hwnd dnd_aware
4556         flags to reduce the number of dnd enters/status's sent.
4557
4558 2005-10-31  Jackson Harper  <jackson@ximian.com>
4559
4560         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4561
4562 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
4563
4564         * PictureBox.cs: Fixes 76512
4565
4566 2005-10-28  Jackson Harper  <jackson@ximian.com>
4567
4568         * X11Dnd.cs: Early implementation to support winforms being a drag
4569         source for data on X11. Also restructured the converters so they
4570         can go both ways now.
4571         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4572         
4573 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
4574
4575         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4576           clipboard requests
4577
4578 2005-10-27  Jackson Harper  <jackson@ximian.com>
4579
4580         * TreeNode.cs: Implement serialization so my DnD examples will work.
4581
4582 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
4583
4584         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4585           TreeView.cs: Don't dispose objects that are not owned.
4586           
4587 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
4588
4589         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4590           should retrieve the current cursor and report that, but XplatUI
4591           doesn't (yet) have an interface for that (and I'm not sure I even
4592           can, on X11)
4593         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4594           until any message loop processing is done (and the WM_SETCURSOR
4595           replaces the cursor to the proper one)
4596         * XplatUIX11.cs: 
4597           - Fixed override behaviour, we can't set the cursor globally on X11, 
4598             just for our windows.
4599           - Invalidating the System.Drawing X11 display handle when we are
4600             shutting down
4601         * Control.cs: Fix to make csc happy
4602
4603 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
4604
4605         * TextBoxBase.cs: 
4606           - get_Text: Add last line (without trailing newline) to returned
4607             value (Fixes 76212)
4608           - get_TextLength: Count last line in returned length
4609           - ToString: Call Text property instead of duplicating code
4610
4611 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
4612
4613         * ImageList.cs: Dispose ImageAttributes objects.
4614
4615 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4616
4617         * ImageList.cs: Use attribute constructors with less arguments where
4618           possible.
4619
4620 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4621
4622         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4623           Use typeof instead of strings when assembly is referenced. Added
4624           some more comments.
4625
4626 2005-10-21  Jackson Harper  <jackson@ximian.com>
4627
4628         * ListView.cs: Raise a double click event. Also tried to somewhat
4629         fix when the selectedindexchanged event is raised. Its still
4630         broken though.
4631
4632 2005-10-21  Jackson Harper  <jackson@ximian.com>
4633
4634         * TreeView.cs: New method to invalidate the plus minus area of a
4635         node without invalidating the whole node (maybe this can be used
4636         in some more places).
4637         * TreeNodeCollection.cs: When adding to an empty node we need to
4638         invalidate its plus minus area so the little block shows up.
4639         
4640 2005-10-21  Jackson Harper  <jackson@ximian.com>
4641
4642         * TreeView.cs: Make sure that when we invalidate a node the bounds
4643         are big enough to cover the selected box and the focus
4644         rectangle. Use a different colour for the lines connecting nodes
4645         so they show up with all themes.
4646
4647 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4648
4649         * NativeWindow.cs: Don't call anything that could call into the driver,
4650           we might be on a different thread.
4651
4652 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4653
4654         * Control.cs(Dispose): Since Dispose might run on a different thread,
4655           make sure that we call methods that could call into the driver via
4656           invoke, to avoid thread issues
4657
4658 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4659
4660         * XplatUI.cs: Removed finalizer
4661         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4662           not allowing to be called on the finalizer thread.
4663
4664 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4665
4666         * ImageList.cs:
4667           - Reverted r51889 and r51891.
4668           - Added ImageListItem class that stores unmodified image items and image
4669             properties required to create list images until handle is created.
4670           - Added AddItem and moved image creation logic to AddItemInternal.
4671           - Added CreateHandle method that creates images based on unmodified items.
4672           - Added DestroyHandle that changes state to store unmodified items.
4673           - Add and AddStrip methods no more create handle.
4674           - ReduceColorDepth has no return value.
4675           - Dispose destroys handle.
4676           - Modified other methods to reflect the above changes.
4677           - Implemented key support.
4678           - Added profile 2.0 members and attributes.
4679           - Added private Reset and ShouldSerialize methods that provide the same
4680             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4681             them as they are private.
4682           - Added some more comments about implementation details.
4683
4684 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4685
4686         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4687
4688 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4689
4690         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4691
4692 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4693
4694         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4695         * DataGridColumnStyle.cs: Remove debug message
4696
4697 2005-10-20  Jackson Harper  <jackson@ximian.com>
4698
4699         * TreeView.cs: We can always get input keys regardless of whether
4700         or not editing is enabled. They are used for navigation.
4701
4702 2005-10-20  Jackson Harper  <jackson@ximian.com>
4703
4704         * TreeNode.cs: Use the viewport rect for determining if a node
4705         needs to be moved for visibility. Don't use Begin/End edit. This
4706         calls a full refresh when its done.
4707         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4708         rect property internal so the treenodes can see it. When clicking
4709         on a node we need to ensure that its visible because it might just
4710         be partly visible when clicked.
4711
4712 2005-10-20  Jackson Harper  <jackson@ximian.com>
4713
4714         * TreeNodeCollection.cs: Remove debug code.
4715
4716 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4717
4718         * Datagrid.cs: Implements column sorting in Datagrid
4719         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4720
4721 2005-10-20  Jackson Harper  <jackson@ximian.com>
4722
4723         * TreeNodeCollection.cs: Remove items properly. Update the correct
4724         area after removing them.
4725
4726 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4727
4728         * Datagrid.cs: Should not call base.OnPaintBackground
4729
4730 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4731
4732         * XplatUIX11.cs (GetMessage):
4733           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4734             window instead of client window
4735           - Now properly calculates NC_xBUTTONUP message coordinates
4736           - ScreenToMenu now properly calculates it's coordinates of whole 
4737             window, since menus are in the whole window, not in the client
4738             window
4739           - Added WholeToScreen coordinate translation method
4740
4741 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
4742
4743         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4744           want to return a message, loop back to the beginning of the function
4745           and grab the next real message to process instead.
4746
4747 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4748
4749         * Splitter.cs: Properly set limits if no filler control is used
4750
4751 2005-10-19  Jackson Harper  <jackson@ximian.com>
4752
4753         * ColorDialog.cs: Don't show the help button if it is not enabled
4754         instead of disabling it (this is what MS does). Don't create the
4755         panel until the dialog is run, otherwise the vars (such as
4756         ShowHelp) are not set yet.
4757
4758 2005-10-19  Jackson Harper  <jackson@ximian.com>
4759
4760         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4761         are reduced when adding nodes.
4762         * TreeNode.cs:
4763         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4764         tree.
4765         
4766 2005-10-19  Jackson Harper  <jackson@ximian.com>
4767
4768         * FolderBrowserDialog.cs: End editing our treeview so the window
4769         actually gets refreshed.
4770
4771 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4772
4773         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
4774           Obsoleted handling of WM_ERASEBKGND, now always draws our background
4775           inside of WM_PAINT
4776
4777 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4778
4779         * MenuAPI.cs: Returns after Hidding window
4780         * XplatUIX11.cs: Added TODO found while debugging menu issues
4781
4782 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4783
4784         * XplatUIX11.cs: Do not re-map the whole window when it's size
4785           becomes non-zero unless it's supposed to be actually visible
4786
4787 2005-10-18  Jackson Harper  <jackson@ximian.com>
4788
4789         * TreeView.cs: We don't need to keep a count anymore.
4790         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4791         use the Grow method.
4792
4793 2005-10-18  Jackson Harper  <jackson@ximian.com>
4794
4795         * TreeNodeCollection.cs: Insert is not supported on arrays, so
4796         implement it manually here.
4797
4798 2005-10-18  Jackson Harper  <jackson@ximian.com>
4799
4800         * ImageList.cs: Dont kill the list when the colour depth is
4801         changed, just change the colour depth of all the images.
4802         - Same goes for setting the image size. Just resize them all
4803         instead of killing the list softly.
4804
4805 2005-10-18  Jackson Harper  <jackson@ximian.com>
4806
4807         * Control.cs: Don't invalidate empty rectangles.
4808
4809 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4810
4811         * ListViewItem.cs:
4812           - Adds checked item to the Checked/Item lists (where empty before)
4813           - Do not add items to the Selected lists if they are already present
4814         * ListView.cs:
4815           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4816           - When deleting items make sure that we delete them for the Selected
4817           and Checked list also.
4818
4819 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4820
4821         * Label.cs: Dispose objects no longer used
4822         * ThemeWin32Classic.cs: Dispose objects no longer used
4823
4824 2005-10-18  Jackson Harper  <jackson@ximian.com>
4825
4826         * TabControl.cs: Don't refresh the whole control when the tabs are
4827         scrolled, we just need to refresh the tab area.
4828
4829 2005-10-17  Jackson Harper  <jackson@ximian.com>
4830
4831         * XplatUIX11.cs: Compress code a little bit. Only calculate the
4832         after handle when we need it.
4833
4834 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4835
4836         * Control.cs: When the parent size changes, recalculate anchor 
4837           positions. Partial fix for #76462
4838
4839 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4840
4841         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
4842           drawn. Fixes #76462
4843
4844 2005-10-17  Jackson Harper  <jackson@ximian.com>
4845
4846         * MonthCalendar.cs: Don't create the numeric up down until our
4847         handle is created. Otherwise our handle is created in the
4848         constructor and we don't know if we are a WS_CHILD or WS_POPUP
4849         yet.
4850
4851 2005-10-17  Jackson Harper  <jackson@ximian.com>
4852
4853         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4854         correctly.
4855
4856 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4857         * TreeNode.cs : small logical fix (was using local var instead of field)
4858         
4859 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4860
4861         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4862
4863 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4864
4865         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4866
4867 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
4868
4869         * Control.cs: 
4870           - Re-implemented anchoring code. My first version was really broken.
4871             This fixes bug #76033. Unlike the previous implementation we will
4872             no longer have round errors since all numbers are calculated from
4873             scratch every time. Removed various anchor-related obsolete vars.
4874           - InitLayout no longer causes layout event firing and layout to be 
4875             performed
4876
4877 2005-10-16  Jackson Harper  <jackson@ximian.com>
4878
4879         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4880         which was broken).
4881
4882 2005-10-16  Jackson Harper  <jackson@ximian.com>
4883
4884         * TabControl.cs: Remove debug code.
4885
4886 2005-10-16  Jackson Harper  <jackson@ximian.com>
4887
4888         * XEventQueue.cs: Increase the default queue size (very simple
4889         apps needed to grow the queue).
4890         * Hwnd.cs: No finalizer so we don't need to suppress
4891         finalization. Compute the invalid area manually so a new rectangle
4892         does not newto be created.
4893         * ScrollableControl.cs: Don't set any params (otherwise visibility
4894         isn't set correctly).
4895         * MdiChildContext.cs: New constructor takes the mdi parent so it
4896         doesn't have to be computed and avoids a crash on windows. Draw
4897         the window icon properly, and allow the text to be seen.
4898         * Form.cs: Use new MdiChildContext constructor. Make sure the
4899         child context isn't null in wndproc.
4900         * TabControl.cs: Don't set focus, this is muddling keyboard
4901         behavoir. Expand the tab rows when a window size increase will
4902         allow extra tabs to be seen. Don't allow tabs smaller than the
4903         width of a window to be scrolled out of view.
4904         * TreeNode.cs:
4905         * TreeView.cs: Use measure string to calculate a nodes width, the
4906         width is cached and only updated when the text or the font is
4907         changed. Don't check for expand/collapse clicks on the first level
4908         nodes if root lines are disabled.
4909         
4910 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
4911
4912         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4913
4914 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4915
4916         * DataGridBoolColumn.cs: fixes warning
4917
4918 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4919
4920         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4921         to match more to match more precisely the MS Net behavior
4922
4923 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4924
4925         * Hwnd.cs: Added field to track if window is mapped
4926         * XplatUIX11.cs: 
4927           - Unmap windows if they become 0-size, re-map when 
4928             they are >0 again; fixes #76035
4929           - Re-set our error handler after initializing X11Desktop
4930             to override any error handlers Gtk or whatever was called
4931             may have set.
4932
4933 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4934
4935         * CheckedListBox.cs: Removed unused vars
4936         * ListView.cs: Fixed signatures
4937         * RichTextBox.cs: Removed unused vars
4938         * TextBoxBase.cs: Removed unused vars
4939         * XplatUIWin32.cs: Removed unused vars
4940         * XplatUIX11.cs: Removed unused vars
4941         * XplatUI.cs: Updated version and date to latest published
4942
4943 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4944
4945         * Cursor.cs: Added private .ctor to work around a bug in
4946           resourceset (Thanks to Geoff Norton for the help on this)
4947         * SplitterEventArgs.cs: Made fields accessible so we don't
4948           waste boatloads of objects and can reuse the same one
4949           in Splitter
4950         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4951           any captions and borders when generating screen coordinates
4952         * Splitter.cs: Reimplemented control, now fully complete, uses
4953           rubberband drawing, supports and obeys all properties, has
4954           proper cursors
4955
4956 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4957
4958         * Form.cs (Form): Setup default values for autoscale and
4959         autoscale_base_size;  Make these instance variables, not static
4960         variables. 
4961
4962         (OnLoad): on the first load, adjust the size of the form.
4963
4964 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4965
4966         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4967           width argument to DrawReversibleRectangle()
4968         * XplatUIWin32.cs, XplatUIX11.cs: 
4969           - Implemented width for DrawReversibleRectangle()
4970           - Added logic to DrawReversibleRectangle that recognizes a zero
4971             width or height and only draws a line in that situation
4972         
4973 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4974
4975         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4976         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4977         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4978           method (it uses our FosterParent window to get a graphics context)
4979
4980 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4981
4982         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4983           and SetWindowBackground methods
4984         * Control.cs:
4985           - Setting proper ControlStyles
4986           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4987             EraseWindowBackground, instead we draw the window background
4988             ourselves in PaintControlBackground. This behaviour is
4989             required to match MS, where, when OnPaintBackground is not
4990             called, the background is not drawn.
4991           - Removed unneeded Refresh() in set_Text
4992         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4993         * XplatUIX11.cs:
4994           - Created DeriveStyles method to translate from CreateParams to
4995             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4996             matches FormBorderStyle enum values)
4997           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4998             style calculations into single DeriveStyles method
4999           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5000             from redrawing the whole window on any resize or expose.
5001           - Fixed CreateWindow usage of SetWindowValuemask. Before not
5002             all styles were applied to our whole/client window appropriately
5003           - Removed EraseWindowBackground() and SetWindowBackground() methods
5004           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5005             no longer clear/redraw the background through X
5006           - Removed handling of erase_pending bit, we have no use for it (or
5007             so it seems)
5008         * XplatUIOSX.cs:
5009           - Removed generation and handling of WM_ERASEBKGND message
5010           - Removed EraseWindowBackground() and SetWindowBackground() methods
5011           - Removed handling of hwnd.ErasePending flag
5012         * XplatUIWin32.cs:
5013           - Removed EraseWindowBackground() and SetWindowBackground() methods
5014           - We no longer call EraseWindowBackground on PaintEventStart, we 
5015             ignore the fErase flag, erasing is handled in Control in the
5016             background handler
5017         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5018           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5019           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
5020           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
5021           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
5022           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5023           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5024
5025 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
5026
5027         * PropertyGrids.cs: Get sub properties
5028         * PropertyGridView.cs: Fix drawing code
5029
5030 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5031
5032         * ListBox.cs: Fixes 76383
5033
5034 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5035
5036         * DataGridTextBoxColumn.cs: Sets location and size before attachment
5037         * ThemeWin32Classic.cs: Fixes border drawing and calculations
5038         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5039
5040
5041 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5042
5043         * ComboBox.cs: Fixes border drawing
5044
5045 2005-10-10  Miguel de Icaza  <miguel@novell.com>
5046
5047         * MimeIcon.cs: Ignore errors if the file can not be read.
5048
5049 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
5050
5051         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5052          - Fixed border calculations
5053          - Fixed horizontal scrolling in single column listboxes
5054          - Fixed drawing issues
5055
5056 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
5057
5058         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
5059           FormBorderStyle enum
5060         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
5061           code to determine FormBorderStyles from CreateParams
5062         * Form.cs:
5063           - Fixed bug where we'd set the wrong window styles if we were
5064             not creating an MDI window
5065           - Added call to XplatUI.SetBorderStyle when form borders are set
5066         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5067         * Hwnd.cs:
5068           - Removed obsolete edge style
5069           - Switched from BorderStyle to FormBorderStyle
5070         
5071 2005-10-10  Jackson Harper  <jackson@ximian.com>
5072
5073         * Form.cs: Use the property to get the window handle instead of
5074         accessing it directly. Prevents a null reference exception.
5075
5076 2005-10-10  Jackson Harper  <jackson@ximian.com>
5077
5078         * TreeView.cs: Don't adjust the rect given to DrawString now that
5079         our libgdiplus draws correctly.
5080
5081 2005-10-08  Jackson Harper  <jackson@ximian.com>
5082
5083         * TreeView.cs: Don't try to find the clicked on node if there are
5084         no nodes in the tree.
5085
5086 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
5087
5088         * RichTextBox.cs:
5089
5090           restore
5091
5092 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
5093
5094         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5095           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5096           ErrorProvider.cs:
5097           Use ResPool for brushes and dispose System.Drawing objects that
5098           are not used anymore.
5099
5100 2005-10-07  Jackson Harper  <jackson@ximian.com>
5101
5102         * MdiChildContext.cs: Use the new borders instead of drawing them
5103         ourselves.
5104
5105 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
5106
5107         * Calling UpdateBounds after changing the window's BorderStyle 
5108         since the style can change the ClientSize
5109
5110 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5111
5112         * Control.cs: Made PaintControlBackground virtual
5113         * Panel.cs: Overriding PaintControlBackground instead of using paint
5114           event; paint event method was interfering with 'real' users of the
5115           event.
5116
5117 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
5118
5119         * ThemeWin32Classic.cs: remove border drawing since it is handled
5120         by the base control class now and was causing double border drawing.
5121
5122 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5123
5124         * Panel.cs: Redraw our background on paint. Not a pretty solution,
5125           but it does seem to match MS behaviour. This fixes bug #75324
5126
5127 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5128
5129         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5130           somewhat hackish looking
5131
5132 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5133
5134         * TextBoxBase.cs:
5135           - We now accept Enter even if AcceptEnter is false, if the containing
5136             form does not have an AcceptButton configured (fixes bug #76355)
5137           - Calculations are now fixed to no longer use Width/Height, but
5138             ClientSize.Width/Height, since we now support borders (this was
5139             a result of fixing borders and therefore bug #76166)
5140           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
5141             true (fixes bug #76354)
5142         
5143 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5144
5145         * Control.cs: 
5146           - Defaulting BorderStyle and setting it in XplatUI when our window 
5147             is created
5148           - Added enum check to InternalBorderStyle setter
5149         * XplatUIX11.cs: 
5150           - Added drawing of window borders
5151           - Now properly calculates WM decorations offset for toplevel 
5152             windows (fixes bug #74763)
5153         * XplatUIWin32.cs: 
5154           - Implemented BorderStyles for windows (we're letting win32 draw 
5155             the border for us)
5156           - Fixed the signature for SetWindowLong
5157         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5158           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
5159           setting borders
5160         * UpDownBase.cs: Remove drawing of borders, this is handled by
5161           the driver, outside the client area
5162         * ListView.cs: Removed bogus border calculations. The control should
5163           be oblivious to borders, since those are not part of the client
5164           area. 
5165         * X11DesktopColors.cs: Commented out (currently) unneeded variables
5166         * ThemeWin32Classic.cs: Removed border calculations from ListView 
5167           drawing code
5168
5169 2005-10-06  Jackson Harper  <jackson@ximian.com>
5170
5171         * MdiChildContext.cs: Clear out the old virtual position remove
5172         all the unneeded calls to CreateGraphics.
5173
5174 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5175
5176         * TextControl.cs: Use proper color for highlighted text; fixes #76350
5177
5178 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5179
5180         * Form.cs: 
5181           - Added loading and setting of our new default icon
5182           - Only set icon if window is already created
5183
5184 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5185
5186         * Label.cs:
5187           - Do not explicitly set the foreground and background colors, to
5188             allow inheriting from parents (fixes #76302)
5189           - Use Control's InternalBorderStyle property to deal with borders
5190
5191 2005-10-06  Jackson Harper  <jackson@ximian.com>
5192
5193         * MdiChildContext.cs: Use the new xplatui function to draw a
5194         reversible rect.
5195
5196 2005-10-06  Jackson Harper  <jackson@ximian.com>
5197
5198         * Form.cs: Add the parent before creating the child context cause
5199         we need the parent when setting up the child.
5200
5201 2005-10-06  Jackson Harper  <jackson@ximian.com>
5202
5203         * FolderBrowserDialog.cs: redo the tree population code so a
5204         second thread isn't used. Should be a lot faster and more stable
5205         now.
5206
5207 2005-10-05  Jackson Harper  <jackson@ximian.com>
5208
5209         * TreeView.cs: There are no expand/collapse boxes if the node has
5210         no children.
5211
5212 2005-10-05  Jackson Harper  <jackson@ximian.com>
5213
5214         * X11DesktopColors.cs: Get menu colours for the gtk theme.
5215
5216 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
5217
5218         * FileDialog.cs: Fix InitialDirectory
5219
5220 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5221
5222         * ComboBox.cs:
5223                 - Fixes changing between styles
5224                 - Fixes simple mode
5225                 - Fixes last item crashing when navigating with keyboard
5226
5227 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5228
5229         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5230
5231 2005-10-05  Jackson Harper  <jackson@ximian.com>
5232
5233         * TreeView.cs: If updating the root node do a full refresh.
5234         * TreeNode.cs: The root node should be expanded by default. Also
5235         added a utility prop to tell if we are the root node.
5236         * TreeNodeCollection.cs: Only refresh if the node we are being
5237         added to is expanded. Also added a comment on a potential
5238         optimization.
5239         
5240 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
5241
5242         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
5243           in dispose method. Fixes #76330
5244
5245 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
5246
5247         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5248
5249                 - Implements vertical and horizontal scrolling using XplatUI
5250                 - Fixes keyboard navagation
5251                 - Fixes EnsureVisible
5252                 - Drawing fixes
5253                 - Handles and draws focus properly
5254
5255
5256 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
5257
5258         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5259           Create handle. NET_2_0: Destroy handle when value is null.
5260
5261 2005-10-03  Jackson Harper  <jackson@ximian.com>
5262
5263         * ScrollBar.cs: My last scrollbar patch was broken. This is a
5264         revert and a new patch to prevent the thumb from refreshing so
5265         much.
5266
5267 2005-10-02  Jackson Harper  <jackson@ximian.com>
5268
5269         * ScrollBar.cs: Don't update position if it hasn't actually
5270         changed. This occurs when you hold down the increment/decrement
5271         buttons and the thumb gets to the max/min.
5272
5273 2005-10-01  Jackson Harper  <jackson@ximian.com>
5274
5275         * Form.cs:
5276         * MdiChildContext.cs:
5277         * MdiClient.cs: Implement ActiveMdiChild in Form.
5278
5279 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
5280
5281         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5282
5283 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
5284
5285         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5286           be found
5287
5288 2005-09-30  Jackson Harper  <jackson@ximian.com>
5289
5290         * ListBox.cs: Don't do a full refresh unless some data has
5291         actually changed.
5292
5293 2005-09-30  Jackson Harper  <jackson@ximian.com>
5294
5295         * TreeView.cs: Make sure that the checkboxes size is factored in
5296         even when not visible.
5297
5298 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5299
5300         * FileDialog.cs: Fix Jordi's build break
5301
5302 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5303
5304         * FileDialog.cs: 
5305                 - Use standard the Windows colours for the combobox as espected
5306                 - Dispose objects that use resouces when no longer need them
5307
5308 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5309
5310         * X11DesktopColors.cs: Initial incomplete implementation
5311         * XplatUIX11.cs: Added call to initialize X11DesktopColors
5312
5313 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
5314
5315         * Theme.cs: 
5316           - Switched Theme color names to match the names defined in 
5317             System.Drawing.KnownColors. Life's hard enough, no need to make 
5318             it harder.
5319           - Added setters to all theme color properties so themes can set
5320             their color schemes. The setters also propagate the color changes
5321             to System.Drawing.KnownColors via reflection
5322         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5323           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5324           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5325           use the new, more logical theme color names
5326         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5327           post-NT colors
5328         * ThemeWin32Classic.cs:
5329           - Removed code to set the old classic Windows colors. Instead it
5330             now relies on the colors returned by System.Drawing.KnownColors
5331             which will be either modern static colors (Unix) or colors
5332             read from the user's configuration (Win32)
5333           - Updated to use the new, more logical theme color names
5334           - Switched DataGrid drawing code to use only Theme colors instead of
5335             a mix of System.Drawing.KnownColors and Theme colors
5336           - DrawFrameControl(): Removed code that fills the button area, the
5337             fill would overwrite any previous fill done by a control. This
5338             fixes bug #75338 
5339           - Added DrawReversibleRectangle() stub
5340         * ScrollableControl.cs: Set visible state to false when scrollbars
5341           are removed (pdn fix)
5342         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
5343           DrawReversibleRectangle() method to allow drawing primitive 
5344           'rubber bands'
5345         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5346
5347 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5348
5349         * ImageList.cs: Add(Icon): Create handle.
5350
5351 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5352
5353         * ListView.cs:
5354         * ThemeWin32Classic.cs:
5355                 - Fixes detail mode
5356                 - Sets clippings
5357                 - Issues with drawing
5358
5359 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5360
5361         * ImageList.cs: Moved RecreateHandle back to ImageList as event
5362           source has to be the ImageList.
5363
5364 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5365
5366         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5367
5368 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5369
5370         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5371
5372 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5373
5374         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5375
5376 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
5377         * GridItem.cs: Fixed TODOs
5378         * GridItemCollection.cs: Added ICollection interface
5379
5380 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5381
5382         * ImageList.cs: Resize icons when needed.
5383
5384 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
5385
5386         * ListViewItem.cs
5387                 - Fixes GetBounds and returns on screen rects
5388         * ListView.cs:
5389                 - Fixes vertical and horzintal scrolling of items
5390         * ThemeWin32Classic.cs:
5391                 - Fixes drawing
5392                 
5393 2005-09-29  Raja R Harinath  <harinath@gmail.com>
5394
5395         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5396
5397 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
5398
5399         * ImageList.cs: Added comments about handle creation. Moved Handle,
5400           HandleCreated and OnRecreateHandle implementations to ImageCollection.
5401           Handle is created in Add methods.
5402
5403 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5404          
5405         * DataGridDrawingLogic.cs: 
5406                 - Takes rows into account on Colum calculations
5407                 - Returns the column when clickig
5408         * DataGrid.cs:
5409                 - Fixes default HitTestInfo values
5410                 - Fixes HitTestInfo.ToString
5411                 - Fixes ResetBackColor          
5412         
5413 2005-09-28  Jackson Harper  <jackson@ximian.com>
5414
5415         * MdiChildContext.cs: Obey rules for fixed sized windows (no
5416         sizing or cursor changes). Also added some temp code to draw the
5417         titlebars text (Makes dev a little easier).
5418
5419 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5420
5421         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5422
5423 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5424          
5425         * ListBox.cs: Fixes bug 76253
5426
5427 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5428
5429         * ImageList.cs: Added comments about the current implementation. Added
5430           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5431           Format32bppArgb to preserve transparency and can use Graphics.FromImage
5432           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5433           with Bitmap.LockBits for better performance. Revised the whole file to
5434           match MS.NET behaviour and provide better performance. Non-public
5435           interface members are calling public members even when they throw
5436           NotSupportedException for better maintainability. Moved ColorDepth,
5437           ImageSize, ImageStream and TransparentColor implementations to
5438           ImageCollection for better performance as these properties are not used
5439           by ImageList.
5440         * ImageListStreamer.cs: Added a new internal constructor that takes an
5441           ImageList.ImageCollection and serializes Images based on
5442           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5443           match ImageList property name.
5444
5445 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
5446
5447         * ListBox.cs: Fixes IndexFromPoint for last item
5448
5449 2005-09-27  Jackson Harper  <jackson@ximian.com>
5450
5451         * Form.cs: Set the position of new mdi children correctly.
5452
5453 2005-09-27  Jackson Harper  <jackson@ximian.com>
5454
5455         * MdiClient.cs: New mdi children need to be added to the back of
5456         the controls collection so the zorder is set correctly. Also add a
5457         count of all the child windows that have been created.
5458
5459 2005-09-27  Jackson Harper  <jackson@ximian.com>
5460
5461         * Form.cs (CreateParams): Setup MDI forms correctly.
5462
5463 2005-09-27  Jackson Harper  <jackson@ximian.com>
5464
5465         * MdiChildContext.cs:
5466         * MonthCalendar.cs:
5467         * UpDownBase.cs:
5468         * ListBox.cs:
5469         * ListView.cs:
5470         * TextBoxBase.cs:
5471         * TreeView.cs:
5472         * ScrollableControl.cs:
5473         * ComboBox.cs: Add implicit controls using the new implict control
5474         functionality in ControlCollection. Also try to block multiple
5475         control add in a suspend/resume layout to save some cycles.
5476         
5477 2005-09-27  Jackson Harper  <jackson@ximian.com>
5478
5479         * Control.cs: Add functionality to the controls collection to add
5480         'implicit controls' these are controls that are created by the
5481         containing control but should not be exposed to the user. Such as
5482         scrollbars in the treeview.
5483         * Form.cs: The list var of the ControlsCollection is no longer
5484         available because of the potential of implicit controls getting
5485         ignored by someone accessing the list directly.
5486
5487 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
5488
5489         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5490           loose it's parent. (Fixed bug introduced in r49103 when we added
5491           setting the child parent to null on Remove)
5492
5493 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
5494
5495         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5496         * Splitter.cs: Added missing attributes for BorderStyle property.
5497         * TextBoxBase.cs: Marked Calculate* methods internal.
5498         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5499         MS.NET.
5500
5501 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
5502          
5503         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5504
5505 2005-09-25  Jackson Harper  <jackson@ximian.com>
5506
5507         * TreeView.cs: Update the node bounds correctly regardless of
5508         whether the node is visible.
5509
5510 2005-09-25  Jackson Harper  <jackson@ximian.com>
5511
5512         * ImageList.cs: Don't dispose the image after it is added to the
5513         image list. Only reformat images that need to be resized.
5514
5515 2005-09-25  Jackson Harper  <jackson@ximian.com>
5516
5517         * ImageList.cs: Don't set the format when changing the image.
5518
5519 2005-09-25  Jackson Harper  <jackson@ximian.com>
5520
5521         * TreeView.cs: We can't just assume the node has a font. Use the
5522         treeviews font if no node font is available.
5523
5524 2005-09-25  Jackson Harper  <jackson@ximian.com>
5525
5526         * TreeView.cs: Allow the scrollbars to be reset with negative
5527         values.
5528         - Don't add scrollbars to negative sized windows.
5529
5530 2005-09-23  Jackson Harper  <jackson@ximian.com>
5531
5532         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5533         old Mono.Posix. Also remove some stray code that shouldn't have
5534         been committed.
5535
5536 2005-09-23  Jackson Harper  <jackson@ximian.com>
5537
5538         * TreeView.cs: Attempt at proper sizing of the horizontal
5539         scrollbar. Also don't resize the scrollbars unless they are
5540         visible.
5541
5542 2005-09-23  Jackson Harper  <jackson@ximian.com>
5543
5544         * TreeView.cs: We don't need to expand the invalid area when the
5545         selection changes, as this is all drawn in the node's bounding
5546         box. The area needs to be expanded (previous typo was contracting
5547         it) when the focus rect moves.
5548
5549 2005-09-23  Jackson Harper  <jackson@ximian.com>
5550
5551         * TreeView.cs: Display the selection box under the correct
5552         circumstances. We were rendering white text with no selection box
5553         before.
5554
5555 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
5556
5557         * TextControl.cs(Split): Now updates selection start/end if it points 
5558           into a line that's being split. Fixes a FIXME and bug #75258
5559
5560 2005-09-23  Jackson Harper  <jackson@ximian.com>
5561
5562         * Binding.cs:
5563         * ListControl.cs: Don't use the path when retrieving binding
5564         managers from the binding context. My bat sense tells me that the
5565         path is only used on insertion.
5566
5567 2005-09-22  Jackson Harper  <jackson@ximian.com>
5568
5569         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5570
5571 2005-09-22  Jackson Harper  <jackson@ximian.com>
5572
5573         * Splitter.cs: There are special cursors used for splitting.
5574         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5575
5576 2005-09-22  Jackson Harper  <jackson@ximian.com>
5577
5578         * Splitter.cs: Change the cursor appropriately when the splitter
5579         is moused over, so the user actually knows there is a splitter
5580         there.
5581
5582 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5583
5584        * Label.cs : Fix ToString method to give same output as MS.NET
5585
5586 2005-09-22  Jackson Harper  <jackson@ximian.com>
5587
5588         * TreeView.cs: Create the scrollbars when the handle is created
5589         and add them right away, just make them invisble. Also account for
5590         the window being shrunk vertically to the point that the vert
5591         scrollbar needs to be added.
5592         - Remove some 0.5 adjustments to get around anti aliasing issues.
5593         
5594 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
5595          
5596         * MainMenu.cs: Fixes default value
5597         * MenuItem.cs: Fixes default value
5598
5599 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
5600
5601         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5602
5603 2005-09-21  Jackson Harper  <jackson@ximian.com>
5604
5605         * Control.cs: Don't try to set the border style on the window if
5606         it hasn't been created. When the window is created the border
5607         style will be used.
5608
5609 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5610
5611         * Control.cs (Update): Don't call XplatUI if we don't have a
5612           window handle yet
5613
5614 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5615
5616         * ContainerControl.cs: Instead of throwing an exception, print
5617           a one-time warning about Validate not being implemented
5618         * XplatUIWin32.cs: Removed debug output
5619
5620 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5621
5622         * Control.cs: Only set XplatUI background if we expect the windowing
5623           system to handle the background. This stops controls that draw their
5624           own background from flickering
5625
5626         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5627           creation. This allows, amongst other things, using MWF X11 windows 
5628           with OpenGL.
5629
5630 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5631
5632         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5633           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5634           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5635           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5636           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5637           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5638           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5639           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5640           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5641           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5642           GridColumnStylesCollection.cs, 
5643           IDataGridColumnStyleEditingNotificationService.cs,
5644           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5645           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5646           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5647           TreeNodeCollection.cs, AmbientProperties.cs, 
5648           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5649           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5650           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5651           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5652           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5653           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5654           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5655           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5656           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5657           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5658           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5659           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5660           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5661           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5662           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5663           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5664           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5665           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5666           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5667           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5668           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5669           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5670           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5671           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5672           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5673           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5674           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5675           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5676           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5677           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5678           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5679           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5680           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5681           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5682           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5683           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5684           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5685
5686 2005-09-21  Jackson Harper  <jackson@ximian.com>
5687
5688         * TreeNode.cs: Call Before/After Expand not Collapse when
5689         expanding.
5690
5691 2005-09-20  Jackson Harper  <jackson@ximian.com>
5692         
5693         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5694
5695 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5696          
5697         * ListViewItem.cs:
5698                 - Fixes bug 76120
5699                 - Fixes proper storing of subitems
5700                 - Fixes not updated items
5701
5702 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5703
5704         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5705           things if our window handle isn't created yet. Also disabled 
5706           debug for TextBoxBase
5707
5708 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5709
5710         * MenuAPI.cs: Remove filtering of events to allow menu usage
5711
5712 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5713
5714         * Cursor.cs: Allow null to be passed to Cursor.Current.
5715
5716 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5717
5718         * ThemeWin32Classic.cs:
5719           - Change some private methods/fields to protected virtual so that 
5720             they can be accessed and overriden in derived classes
5721           - First refactoring of some methods. Derived themes now don't 
5722             need to duplicate the complete code from ThemeWin32Classic
5723         * ThemeNice.cs:
5724           - Added nice StatusBar
5725           - Derive from ThemeWin32Classic and not Theme
5726           - Removed duplicate ThemeWin32Classic code
5727
5728 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5729
5730         * Control.cs (ControlCollection.Add): If the value null is passed
5731         the control is ignored. 
5732
5733         Optimize this loop.
5734
5735 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
5736
5737         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5738           PostQuitMessage state.
5739         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5740
5741 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
5742
5743         * Application.cs: Our constructor will never get called, move 
5744           initialization to fields; fixes bug #75933
5745
5746 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5747
5748         * FileDialog.cs :
5749                 - Allow files to be selected properly using file name
5750                 combo box.
5751                 - Add ability to change diretory (absolute / relative)
5752                 using file name combo box.
5753
5754 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5755          
5756         * ListBox.cs: 
5757                 - Fixes Multicolumn listboxes item wrong calculations
5758                 - Allows to click when only one item is in the listbox
5759                 - Fixes crash when no items using keyboard navigation
5760
5761 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
5762
5763         * ComboBox.cs: Reverted almost everything from the latest patch which
5764           broke ComboBox
5765
5766 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
5767         
5768         * ToolTip.cs:
5769                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5770         * ComboBox.cs:
5771                 - When DropDownStyle is Simple, it does not show scrollbar 
5772                 to the last item of the list.
5773                 - When DropDownStyle is Simple, it crashed when the list was 
5774                 scrolled down with the down cursor key.
5775                 - Fixed a bug that when DropDownStyle is DropDownList, the 
5776                 selected item was not shown.
5777                 - The position of the selected item was not preserved when 
5778                 the next dropdown happened.
5779         * ThemeWin32Classic.cs:
5780                 - Items were wrapped at the right end.
5781         * CheckedListBox.cs:
5782                 - Fixed Add method
5783         * ListBox.cs:
5784                 - Items should be fully shown.
5785                 - When resizing and vertical scrollbar disappeared, the item 
5786                 of index 0 should be on the top of the list.
5787                 - GetItemRectangle should consider the size of ver. scrollbar
5788         * StatusBar.cs:
5789                 - SizingGrip area should not be allocated when it is not 
5790                 displayed.
5791                 - Now it reflects MinWidth of the containing panel and 
5792                 fixed a crash that happens when its width becomes so small.
5793
5794 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5795
5796         * CheckedListBox.cs: Fixes bug 76028
5797         * ListBox.cs: Fixes bug 76028
5798
5799 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5800
5801         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5802         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5803
5804 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
5805
5806         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5807
5808 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5809
5810         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
5811
5812 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5813
5814         * IRootGridEntry.cs: Added
5815         * PropertyGridCommands.cs: Added
5816         * PropertiesTab.cs: Added missing methods and property
5817         * PropertyGridView.cs: Made class internal
5818         * PropertyGridTextBox.cs: Made class internal
5819
5820 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5821
5822         * MimeIcon.cs: Try to check some other environment variables
5823           if "DESKTOP_SESSION" returns "default"
5824
5825 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5826
5827         * ThemeNice.cs: Corrected background colors (e.g. menus)
5828         * ColorDialog.cs: Use correct background colors for controls
5829
5830 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5831
5832         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5833
5834 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
5835
5836         * RichTextBox.cs: Added initial implementation
5837         * lang.cs: Removed. Was accidentally checked in long time ago
5838         * TODO: Removed. Contents were obsolete
5839
5840 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5841                                                                                 
5842         * PropertiesTab.cs : Added
5843
5844 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5845                                                                                 
5846         * PropertyGrid.cs : Update
5847         * PropertyGridView.cs : Update
5848         * System.Windows.Forms.resx : Added images and strings
5849
5850 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
5851
5852         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5853  
5854 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
5855
5856         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5857           a busy loop right after the Ungrab the X11 display is otherwise 
5858           blocked
5859
5860 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
5861
5862         * ThemeWin32Classic.cs: Optimise the use of clipping
5863
5864 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
5865
5866         * DataGrid.cs: fixes recursion bug
5867
5868 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
5869
5870         * ThemeNice.cs: 
5871           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5872           - Cleanup
5873
5874 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
5875
5876         * ThemeNice.cs: Draw nice ProgressBars
5877
5878 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5879
5880         * VScrollBar.cs: Another buglet found by Aaron's tool. 
5881
5882         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5883         bug finder.
5884
5885 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
5886
5887         * ThemeNice.cs:
5888           - Added nicer menu drawing
5889           - Updated DrawTab
5890           - some refactoring
5891
5892 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5893
5894         * CreateParams.cs (ToString): Made output match MS
5895         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
5896             handle is already created (to avoid forcing window creation)
5897         * XplatUIX11.cs: Set window text to caption after creating window,
5898           in case Text was set before window was created
5899         * Form.cs: Use this.Text instead of a static string as caption
5900
5901 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5902
5903         * NotifyIcon.cs: Don't set the window to visible; this screws
5904           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5905           OnPaint without a bitmap)
5906         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
5907           happen very often anyway; we could add the check to the WM_PAINT 
5908           event generation code
5909
5910 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5911
5912         * NotifyIcon.cs: Fill the icon area with a background color, to 
5913           avoid 'residue' when transparent icons are drawn
5914         * XplatUIX11.cs:
5915           - Handle whole_window == client_window when destroying windows
5916           - SystrayAdd(): Set client_window to whole_window value to
5917             get mouse and other events passed to NotifyIcon
5918
5919 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5920
5921         * Form.cs: Set proper default for Opacity property
5922         * NotifyIcon.cs:
5923           - ShowSystray(): Don't bother creating telling the OS
5924             about the systray item if no icon is provided
5925           - Now handles WM_NCPAINT message to deal with whole/client window
5926             split
5927           - Create window as visible to not get caught by Expose optimization
5928         * Hwnd.cs: Removed debug message
5929         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5930           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5931             PaintEventStart/End to use new client argument
5932         * TextBoxBase.cs:
5933           - Commented out debug messages
5934           - Switched PaintEventStart/End to use new client argument
5935         * XplatUI.cs: Added client window bool to PaintEventStart()/
5936           PaintEventEnd() calls, to support drawing in non-client areas
5937         * XplatUIDriver.cs: 
5938           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5939             calls, to support drawing in non-client areas
5940           - Added conditional compile to allow using MWF BeginInvoke 
5941             on MS runtime
5942         * XplatUIX11.cs:
5943           - Added some conditional debug output
5944           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5945             whole/client window split
5946           - Implemented handling of client argument to PaintEventStart()/End()
5947         * Control.cs:
5948           - Throw exception if BeginInvoke() is called and the window handle
5949             or one of the window's parent handles is not created
5950           - Added conditional compile to allow using MWF BeginInvoke on
5951             MS runtime
5952           - get_Parent(): Only sets parent if handle is created. This avoids
5953             forcing window handle creation when parent is set.
5954           - Now fires Layout and Parent changed events in proper order
5955           - Switched to use Handle instead of window.Handle for Z-Order setting,
5956             the get_Parent() patch above causes us to possibly get null for 'window'
5957           - Implemented handling of client argument to PaintEventStart()/End()
5958           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5959             default handling)
5960           - Now sends a Refresh() to all child windows when Refresh() is called
5961
5962 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5963
5964         * Form.cs: Added (non-functional) Opacity property
5965         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5966
5967 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5968         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5969           use export MONO_THEME=nice to activate it.
5970           Currently supported controls:
5971           - Button
5972           - ComboBox
5973           - ScrollBar
5974           - TabControl (TabAlignment.Top only, other will follow)
5975         * ThemeEngine.cs: Add theme nice
5976         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5977           if enabled
5978
5979 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5980
5981         * Splitter.cs: Resize docked control and its neighbor.
5982
5983 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5984         -- Making Windows with Menus layout correctly --
5985         * Form.cs : The first leg of the fix
5986                 Menu setter - adjust Client Size as needed to make space for the menu
5987                 SetClientSizeCore - doesn't call base version to be able to pass the 
5988                         menu handle to XplatUI.CalculateWindowRect
5989         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5990         * XplatUIX11.cs: The critical second leg of the fix
5991                 GetWindowPos needs to use a recalculated client_rect
5992                 so that resizing the window doesn't break layout of child controls. 
5993                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5994                 Lots of \t\n killed
5995
5996 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5997
5998         * Label.cs: Now properly recalculates width and height on Font and Text
5999           changes if AutoSize is set
6000
6001 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
6002         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6003
6004 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
6005
6006         * ImageList.cs: Makes ToString method compatible with MS
6007
6008 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
6009
6010         * MenuAPI.cs: fixes bug 75716
6011
6012 2005-08-11 Umadevi S <sumadevi@novell.com>
6013         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6014
6015 2005-08-11 Umadevi S <sumadevi@novell.com>
6016         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6017
6018 2005-08-10  Umadevi S <sumadevi@novell.com>
6019         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6020
6021 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
6022
6023         * Menu.cs: fixes bug 75700
6024         * MenuAPI.cs: fixes navigation issues
6025
6026 2005-08-09  Umadevi S <sumadevi@novell.com>
6027         * CheckedListBox.cs - simple fix for GetItemChecked.
6028
6029 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
6030
6031         * ComboBox.cs: Serveral fixes
6032         * ListBox.cs: Serveral fixes
6033
6034 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
6035
6036         * ComboBox.cs: Fixes FindString methods and GetItemHeight
6037         * ListBox.cs: Fixes FindString methods
6038
6039 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
6040
6041         * DataGrid.cs: fixes bugs exposed by new tests
6042
6043 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
6044
6045         * Mime.cs: Compile Mono assembly references only if compiling
6046           with Mono (Allows to build with VS.Net again)
6047
6048 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
6049
6050         * Control.cs (PaintControlBackground): Draw background image
6051         corrrectly.
6052         (CheckForIllegalCrossThreadCalls): Stubbed.
6053         
6054         * Form.cs (OnCreateControl): Center when should be centered.
6055         
6056         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6057
6058 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
6059
6060         * Binding.cs: Binding to properties should be case unsensitive
6061
6062 2005-07-18 vlindos@nucleusys.com
6063
6064         * DataGrid.cs: fixes setmember order
6065
6066 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
6067
6068         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6069         * FileDialog.cs: FileDialog is now resizable and uses the new
6070           MimeIconEngine
6071
6072 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
6073
6074         * DataGridTextBoxColumn.cs: default value
6075         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6076         * GridTableStylesCollection.cs: fixes checking MappingName
6077         * DataGridDrawingLogic.cs: fixes drawing logic issues
6078         * DataSourceHelper.cs: rewritten to make compatible with more data sources
6079         * DataGrid.cs: fixes    
6080
6081 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
6082
6083         * MimeGenerated.cs: Use case sensitive comparer for
6084           NameValueCollections
6085
6086 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
6087
6088         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
6089         * ThemeWin32Classic.cs: bug fixes, code refactoring
6090         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
6091         * DataGrid.cs: bug fixes, code refactoring
6092         * DataGridTextBox.cs: bug fixes, code refactoring
6093         * DataGridColumnStyle.cs:  bug fixes, code refactoring
6094         * Theme.cs:  bug fixes, code refactoring
6095
6096 2005-07-01  Peter Bartok  <pbartok@novell.com> 
6097
6098         * TextControl.cs: Quick fix for the reported crash on ColorDialog
6099           and other text box usage
6100
6101 2005-07-01  Jackson Harper  <jackson@ximian.com>
6102
6103         * TabControl.cs: Make sure the bottom of the tab covers the pages
6104         border.
6105
6106 2005-06-30  Peter Bartok  <pbartok@novell.com> 
6107
6108         * Form.cs (ShowDialog): Assign owner of the dialog
6109         * TextBoxBase.cs: Always refresh caret size when deleting, caret
6110           might have been moved to a tag with different height
6111
6112 2005-06-30  Jackson Harper  <jackson@ximian.com>
6113
6114         * Form.cs: Don't create an infinite loop when setting focus
6115         * MenuItem.cs: Don't dirty the parents if we don't have any
6116
6117 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
6118
6119         * LibSupport.cs: Rename
6120
6121 2005-06-29  Peter Bartok  <pbartok@novell.com>
6122
6123         * TextBoxBase.cs: Re-align caret after deleting a character
6124         * TextControl.cs:
6125           - DeleteChars(): Ensure that tag covers the provided position
6126           - StreamLine(): Drop reference for dropped tag
6127
6128 2005-06-29  Peter Bartok  <pbartok@novell.com> 
6129
6130         * TextControl.cs: 
6131           - Selections now work properly, anchoring at the initial location
6132             and properly extending in either direction (SetSelectionToCaret(),
6133             SetSelectionStart() and SetSelectionEnd())
6134           - No longer redraws the whole control on selection change, now
6135             calculates delta between previous and new selection and only
6136             invalidates/redraws that area
6137           - Fixed FindPos() math off-by-one errors
6138           - Changed DeleteChars() to verify the provided tag covers the
6139             provided position, selections may have a tag that doesn't cover
6140             the position if the selection is at a tag border
6141           - Fixed off-by-one errors in DeleteChars()
6142           - Added missing streamlining check in DeleteChars() to remove
6143             zero-length tags
6144           - Implemented Invalidate() method, now properly calculates exposures
6145             between two given lines/positions
6146           - Implemented SetSelection()
6147           - Obsoleted and removed FixupSelection()
6148           - Improved RecalculateDocument() logic, removing code duplication
6149
6150 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6151
6152         * LibSupport.cs: changes to match different input/output arguments.
6153
6154 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6155
6156         * LibSupport.cs: added libsupport.so init routine.
6157
6158 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
6159         
6160         * ControlBindingsCollection.cs
6161                 - Throws an exception on null datasource when adding
6162                 - Checks for duplicated bindings when adding
6163
6164 2005-06-28  Jackson Harper  <jackson@ximian.com>
6165
6166         * TreeView.cs (OnKeyDown): Support left and right properly
6167         (navigates as well as expanding and collapsing.
6168         - Add support for Multiply, this expands all the selected nodes
6169         children.
6170         - Fix some tabbing.
6171
6172 2005-06-28  Jackson Harper  <jackson@ximian.com>
6173
6174         * TreeView.cs: Implement keyboard navigation, currently supports,
6175         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6176         support for toggling checkboxes with the space bar.
6177
6178 2005-06-28  Jackson Harper  <jackson@ximian.com>
6179
6180         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6181         tree.
6182
6183 2005-06-28  Jackson Harper  <jackson@ximian.com>
6184
6185         * TreeView.cs: Add missing event.
6186
6187 2005-06-27  Peter Bartok  <pbartok@novell.com> 
6188
6189         * TextControl.cs:
6190           - Made line ending size configurable (now allows for counting 
6191             lineendings as \n or \r\n)
6192           - Added margin to viewport to keep caret visible on right side
6193           - Fixed translation routines for line/pos to documentpos to consider
6194             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6195           - Fixed some line-endings to be unix style
6196           - Fixed Document.FormatText to perform it's calculations 1-based
6197           - Added descriptions for a few methods that might otherwise get 
6198             used wrong
6199           - Added NOTE section with some basic conventions to remember at 
6200             the top of the file
6201           - Major fixup for RichTextBox selection drawing:
6202             * Fixed crashes when multiple tags on a single line were selected
6203             * fixed selection box drawing not overlaying text
6204             * fixed bogus offset calculation for tags not starting at index 1
6205             * Switched behaviour from using multiple Substrings of a 
6206               StringBuilder.ToString() to using multiple 
6207               StringBuilder.ToString(start, length) statements, hoping this is
6208               faster (kept original version commented out in the code, in case
6209               original version was faster)
6210         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
6211           alignment != Left
6212         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6213           call it as well
6214
6215 2005-06-27  Jackson Harper  <jackson@ximian.com>
6216
6217         * TabControl.cs: Move to the left and right with the arrow
6218         keys. These keys don't cycle beyond first and last like
6219         tab. Refresh all the tabs when scrolling them to the left or
6220         right.
6221
6222 2005-06-27  Jackson Harper  <jackson@ximian.com>
6223
6224         * TabControl.cs:
6225           - ToString: Added method
6226           - CreateParams: Remove TODO and comment
6227           - OnKeyDown: Cycle through bounds properly.
6228           - SelectedIndex: Scroll to the right or left if we need to
6229           display the newly selected tab.
6230
6231 2005-06-23  Jackson Harper  <jackson@ximian.com>
6232
6233         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6234         set.
6235
6236 2005-06-23  Jackson Harper  <jackson@ximian.com>
6237
6238         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6239         CTRL-SHIFT-TAB, and HOME, END are there any others?
6240
6241 2005-06-23  Jackson Harper  <jackson@ximian.com>
6242
6243         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6244
6245 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6246         
6247         * DataGridTextBoxColumn.cs: fixes and enhancements
6248         * ThemeWin32Classic.cs: fixes and enhancements
6249         * DataGridBoolColumn.cs:  fixes and enhancements
6250         * DataGridDrawingLogic.cs:  fixes and enhancements
6251         * CurrencyManager.cs: fixes and enhancements
6252         * DataGrid.cs: fixes and enhancements
6253         * DataGridColumnStyle.cs:  fixes and enhancements
6254
6255 2005-06-22  Jackson Harper  <jackson@ximian.com>
6256
6257         * TabControl.cs: Add some missing methods that just call into the
6258         base. Make the TabPageCollection's IList interface behave in the
6259         same manner as the MS implementation.
6260
6261 2005-06-22  Peter Bartok  <pbartok@novell.com> 
6262
6263         * TextControl.cs: Added sanity check
6264         * TextBoxBase.cs: 
6265           - Fixed wrapping behaviour, don't set wrap on single line controls
6266             (this fixes the breakage of colordialog introduced in an earlier
6267              checkin)
6268           - Added rudimentary support for autoscrolling right-aligned controls
6269             (still needs fixing, also, center alignment scroll is missing)
6270
6271 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6272         
6273         * ScrollBar.cs: Fixes thumbpos on Maximum values
6274
6275 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
6276         
6277         * PropertyGridView.cs: Pass context information to UITypeEditors 
6278
6279 2005-06-21  Peter Bartok  <pbartok@novell.com> 
6280
6281         * TextBoxBase.cs:
6282           - Now calling PositionCaret with absolute space coordinates
6283           - Enabled vertical scrolling
6284           - Better tracking of scrollbar changes, tied into WidthChange
6285             event
6286           - Improved cursor tracking
6287           - Removed debug output
6288         * TextControl.cs:
6289           - PositionCaret coordinates are now works in absolute space, not 
6290             the canvas
6291           - Improved tracking of document size
6292           - Added events for width and height changes
6293
6294 2005-06-21  Peter Bartok  <pbartok@novell.com>
6295
6296         * Form.cs: Set focus to active control when form is activated
6297         * TextControl.cs: 
6298           - Added word-wrap functionality to RecalculateLine() 
6299           - Added some short function descriptions for VS.Net to aid in
6300             writing dependent controls
6301           - Added Caret property, returning the current coords of the caret
6302           - Added ViewPortWidth and ViewPortHeight properties
6303           - Added Wrap property
6304           - Added CaretMoved event
6305           - Removed some old debug code
6306           - Split() can now create soft splits
6307           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6308           - Added method to format existing text
6309           - Fixed size/alignment calculations to use viewport
6310           - RecalculateDocument now can handle changing line-numbers while
6311             calculating lines
6312
6313         * TextBox.cs:
6314           - Added some wrap logic, we don't wrap if alignment is not left
6315           - Added casts for scrollbar var, base class switched types to
6316             also support RichTextBoxA
6317           - Implemented handling of scrollbar visibility flags
6318
6319         * TextBoxBase.cs:
6320           - Switched scrollbars type to RichTextBoxScrollBars to support
6321             RichTextBox
6322           - Added tracking of canvas width/height
6323           - Switched scrollbars to be not selectable (to keep focus on text)
6324           - Added central CalculateDocument() method to handle all redraw
6325             requirements
6326           - Added ReadOnly support
6327           - Added WordWrap support
6328           - Fixed handling of Enter key (we now treat it as a DialogKey)
6329           - Fixed caret positioning when h or v scroll is not zero
6330           - Fixed placing/generation of vertical scrollbar
6331           - Added CalculateScrollBars() method to allow updating scrollbar
6332             limits and visibility
6333           - Fixed handling of horizontal scroll
6334           - Added handling of vertical scroll
6335           - Implemented auto-'jump' when caret moves to close to a left or
6336             right border and there is text to be scrolled into view (currently
6337             there's the potential for a stack overflow, until a bug in
6338             scrollbar is fixed)
6339
6340 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
6341         
6342         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6343
6344 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
6345
6346         * Mime.cs:
6347         - added inodes.
6348         - return application/x-zerosize for files with size zero
6349           (if no extension pattern matches).
6350         - check matches collection for strings too.
6351         - return only the first mime type if the name value
6352           collection has more than one mime type.
6353
6354 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
6355         
6356         * PropertyGrid.cs: Cleaned up some TODOs
6357         * PropertyGridView.cs: Added support for UITypeEditors
6358
6359 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6360         
6361         * DataGrid.cs: clears cached value
6362
6363 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6364
6365         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6366         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6367         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6368         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6369         
6370 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
6371
6372         * ThemeWin32Classic.cs: fixes colour
6373
6374 2005-06-15  Peter Bartok  <pbartok@novell.com>
6375
6376         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6377         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6378         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6379         * Control.cs: Added some MWFCategory and MWFDescription attributes
6380         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6381
6382 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
6383
6384         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6385         usage
6386
6387 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
6388
6389         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6390         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6391         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6392         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6393         * DataGrid.cs: default datagrid settings for Default Styles, fixes
6394         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6395
6396 2005-06-13  Jackson Harper  <jackson@ximian.com>
6397
6398         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6399         isn't printed when the user enables dropping. (X11 does accept
6400         drops).
6401         
6402 2005-06-13  Jackson Harper  <jackson@ximian.com>
6403
6404         * TreeView.cs: Remove some TODOS.
6405
6406 2005-06-13  Jackson Harper  <jackson@ximian.com>
6407
6408         * Form.cs: Hook into the mdi framework.
6409         * MdiClient.cs: Use the base control collections add method so
6410         parents get setup correctly. Set the default back colour and dock
6411         style.
6412         * MdiChildContext.cs: New class, this bad actor handles an
6413         instance of an MDI window. Right now there is only basic
6414         support. You can drag, close, and resize windows. Minimize and
6415         Maximize are partially implemented.
6416
6417 2005-06-13  Jackson Harper  <jackson@ximian.com>
6418
6419         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6420         freaky when both vals are negative. NOTE: There are probably other
6421         places in XplatUIX11 that this needs to be done.
6422
6423 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
6424
6425         * DataGrid.cs: implement missing methods, move KeyboardNavigation
6426         * DataGridColumnStyle.cs: fixes signature
6427
6428 2005-06-12  Jackson Harper  <jackson@ximian.com>
6429
6430         * XplatUIX11.cs: Use sizing cursors similar to the ones on
6431         windows.
6432
6433 2005-06-11  Jackson Harper  <jackson@ximian.com>
6434
6435         * StatusBarPanel.cs: Signature cleanups. Implement
6436         BeginInit/EndInit.
6437
6438 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
6439
6440         * DataGridTextBoxColumn.cs: Honors aligment
6441         * GridColumnStylesCollection.cs: Contains is case unsensitive
6442         * GridTableStylesCollection.cs: several fixes
6443         * DataGridTableStyle.cs: default column creation
6444         * DataGridDrawingLogic.cs: fixes
6445         * CurrencyManager.cs: ListName property
6446         * DataGrid.cs: multiple styles support
6447         * DataGridColumnStyle.cs: fixes
6448         
6449
6450 2005-06-10  Peter Bartok  <pbartok@novell.com>
6451
6452         * Control.cs(Select): Moved SetFocus call to avoid potential
6453           loops if controls change the active control when getting focus
6454         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6455           the up/down buttons
6456
6457 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
6458
6459         * ImageListConverter.cs: Implemented
6460
6461 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6462
6463         * MonthCalendar.cs: Wired in NumericUpDown control for year
6464
6465 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6466
6467         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6468           DoubleClick events, since they are not meant to be fired.
6469
6470 2005-06-09  Peter Bartok  <pbartok@novell.com>
6471
6472         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6473           Jonathan's standalone controls into MWF, implemented missing
6474           events, attributes and methods; added xxxAccessible classes
6475         * AccessibleObject.cs: Made fields internal so other classes
6476           can change them if needed
6477
6478 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
6479
6480         * UpDownBase.cs: Complete implementation
6481         * NumericUpDown.cs: Complete implementation
6482         * DomainUpDown.cs: Complete implementation
6483
6484 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
6485
6486         * DataGridTextBoxColumn.cs: drawing fixes
6487         * DataGridCell.cs: fixes ToString method to match MSNet
6488         * DataGridTableStyle.cs: fixes
6489         * DataGridBoolColumn.cs: fixes, drawing
6490         * DataGridDrawingLogic.cs: fixes, new methods
6491         * DataGridTextBox.cs: Keyboard and fixes
6492         * DataGrid.cs:
6493                 - Keyboard navigation
6494                 - Scrolling fixes
6495                 - Row selection (single, multiple, deletion, etc)
6496                 - Lots of fixes
6497         
6498 2005-06-07  Jackson Harper  <jackson@ximian.com>
6499
6500         * ThemeWin32Classic.cs: Clear the background area when drawing
6501         buttons.
6502
6503 2005-06-06  Peter Bartok  <pbartok@novell.com>
6504
6505         * ImageListStreamer.cs: Fixed signature for GetData
6506         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6507         * ComboBox.cs:
6508           - Added missing ChildAccessibleObject class
6509           - Added missing OnXXXFocus overrides, switched to using those
6510             instead of the event handler
6511         * Control.cs:
6512           - Added Parent property for ControlAccessibleObject
6513           - Fixed signatures
6514           - Fixed attributes
6515           - Added ResetBindings()
6516         * ListBindingConverter.cs: Implemented some methods
6517         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6518         * ImageList.cs: Implemented basic handle scheme, removed TODOs
6519         * ContainerControl.cs: Fixed signature, now subscribing to the
6520           ControlRemoved event instead of overriding the handler, LAMESPEC
6521         * CurrencyManager.cs: Added missing attribute
6522         * MonthCalendar.cs: Added missing properties
6523
6524 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6525
6526         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6527         
6528 2005-06-06  Gaurav Vaish and Ankit Jain
6529
6530         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6531         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6532         
6533 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6534
6535         * Control.cs: fixes CreateParams Width / Height.
6536
6537 2005-06-05  Peter Bartok  <pbartok@novell.com>
6538
6539         * Win32DnD.cs: Removed compilation warnings
6540
6541 2005-06-05  Peter Bartok  <pbartok@novell.com>
6542
6543         * Control.cs (CreateParams): Since we don't know if one of the
6544           properties we use is overridden, lets make sure if we fail accessing
6545           we continue with a backup plan
6546
6547 2005-06-05  Peter Bartok  <pbartok@novell.com>
6548
6549         * Win32DnD.cs:
6550           - Removed debug output
6551           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6552             struct
6553           - Plugged resource leak
6554         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6555           MS size
6556
6557 2005-06-05  Peter Bartok  <pbartok@novell.com>
6558
6559         * XplatUIWin32.cs: Removed DnD code
6560         * Win32DnD.cs: Implemented drop source and drop target functionality
6561
6562 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6563
6564         * UpDownBase.cs: remove duplicate addition of event, enable some code
6565         that was commented out.
6566         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6567         Validate input when a key is pressed. It works fine now for every
6568         combination of Hexadecimal. Only missing some drawing love when sharing
6569         space with other controls.
6570
6571 2005-06-04  Peter Bartok  <pbartok@novell.com>
6572
6573         * Control.cs:
6574           - We need to pass a window for DragDrop, so enable callback events
6575           - Added DnD callback events when being a DragSource
6576         * XplatUI.cs (StartDrag): Added window handle argument
6577         * XplatUIDriver.cs (StartDrag): Added window handle argument
6578         * QueryContinueDragEventArgs: Made fields internally accessible so
6579           drivers can set them
6580         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6581           can set them
6582
6583 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
6584
6585         * DataGridTextBoxColumn.cs: column text editing
6586         * DataGridTableStyle.cs: Respect columns styles created by the user
6587         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6588         * DataGridBoolColumn.cs: bool column editing
6589         * DataGrid.cs: fixes to scrolling, properties, etc
6590         * DataGridTextBox.cs: handle keyboard
6591         * DataGridColumnStyle.cs: fixes
6592
6593 2005-06-02  Jackson Harper  <jackson@ximian.com>
6594
6595         * ImageListStreamer.cs: Somewhat broken implementation of
6596         GetObjectData. The RLE needs some work to match MS properly.
6597
6598 2005-06-02  Jackson Harper  <jackson@ximian.com>
6599
6600         * X11Dnd.cs: Attempting to keep at least one file in MWF
6601         monostyled.
6602
6603 2005-06-02  Peter Bartok  <pbartok@novell.com>
6604
6605         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6606           that way
6607
6608 2005-06-02  Peter Bartok  <pbartok@novell.com>
6609
6610         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6611         * XplatUI.cs: Added DoDragDrop() method
6612         * XplatUIDriver.cs: Added DoDragDrop() method
6613
6614 2005-06-02  Jackson Harper  <jackson@ximian.com>
6615
6616         * Splitter.cs: Implement BorderStyle.
6617
6618 2005-06-02  Jackson Harper  <jackson@ximian.com>
6619
6620         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6621         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6622         X11 using XDND.
6623
6624 2005-06-02  Peter Bartok  <pbartok@novell.com>
6625
6626         * DataObject.cs:
6627           - Added Data setter
6628           - Fixed broken insertion code for SetData, now also
6629             overwrites any existing entry of the same format name
6630         * Hwnd.cs: Added list of pointers that automatically gets
6631           freed when the window is disposed
6632         * XplatUI.cs: Call driver initialization method when loading
6633           a driver
6634         * Control.cs:
6635           - OnDragLeave takes EventArgs, not DragEventArgs
6636           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6637             supported
6638           - Forces style update when drop state changes
6639         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6640           not perfect since we cannot (yet) call the IDataObject.GetData()
6641           method, we keep getting 0x80004005 error, dunno why)
6642
6643 2005-06-02  Peter Bartok  <pbartok@novell.com>
6644
6645         * DragEventArgs.cs: Make fields internal so we can cache the
6646           object and re-set the fields from XplatUI
6647
6648 2005-06-02  Jackson Harper  <jackson@ximian.com>
6649
6650         * Control.cs: Add some internal methods so the DnD subsystem can
6651         raise DnD events. Also call into the driver when AllowDrop is set.
6652         * XplatUI.cs:
6653         * XplatUIDriver.cs: New method for setting whether or not a window
6654         is allowed to accept drag and drop messages.
6655                 
6656 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6657         
6658         * ScrollBar.cs: Make sure that values sent in Scroll events
6659         are always between Maximum and Minimum.
6660
6661 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6662
6663         * Menu.cs: Call MenuChanged when menuitem visibility has been
6664         changed.
6665         * MenuItem.cs: Rebuild menu when item is (not) visible.
6666         * MainMenu.cs: MainMenu has special MenuChanged.
6667         * Theme.cs: Caption and FrameBorderSize are not fixed.
6668         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6669         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6670         * XplatUIX11.cs,
6671         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6672         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6673
6674 2005-05-30  Jackson Harper  <jackson@ximian.com>
6675
6676         * DataFormat.cs: We can't statically initialize this stuff because
6677         it calls into the xplatui and could create a loop. So we lazy init
6678         it.
6679
6680 2005-05-28  Jackson Harper  <jackson@ximian.com>
6681
6682         * Control.cs: Proper implementation of Product(Name/Version).
6683
6684 2005-05-27  Jackson Harper  <jackson@ximian.com>
6685
6686         * DataObject.cs: Dont crash if no data is found.
6687
6688 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6689         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6690                 as per status page, guessing it should be set to true
6691
6692 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6693
6694         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6695         * DataGridTableStyle.cs: set proper formatting text, def header text
6696         * ThemeWin32Classic.cs: new themable paramaters
6697         * DataGridBoolColumn.cs: paint check box, get data, fixes
6698         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6699         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6700         * DataGridColumnStyle.cs: fixes
6701         * Theme.cs: new themable paramaters
6702                 
6703 2005-05-26  Peter Bartok  <pbartok@novell.com>
6704
6705         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6706
6707 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6708         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6709
6710 2005-05-24  Peter Bartok  <pbartok@novell.com>
6711
6712         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6713           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6714           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6715           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6716           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6717           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6718           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6719           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6720           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6721           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6722           missing attributes, etc
6723         * DataGridPreferredColumnWidthTypeConverter.cs: Added
6724
6725 2005-05-24  Peter Bartok  <pbartok@novell.com>
6726
6727         * Help.cs: Added, implemented trivial functions, throws up MessageBox
6728           when user tries to get help
6729         * DataObject.cs, DataFormats.cs, LinkArea.cs,
6730           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6731           to suppress warnings
6732         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6733           avoid unreachable code warning
6734
6735 2005-05-20  Peter Bartok  <pbartok@novell.com>
6736
6737         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6738
6739 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6740
6741         * DataGridTextBoxColumn.cs: Basic painting methods
6742         * DataGridTableStyle.cs: Set table style in the column
6743         * ThemeWin32Classic.cs: Use Theme for colors
6744         * DataGridDrawingLogic.cs: Implement more drawing
6745         * DataGrid.cs: drawing, theming, enhacements, fixes
6746         * DataGridColumnStyle.cs: fixes, drawing
6747         * Theme.cs: theming for Datagrid
6748
6749 2005-05-20  Peter Bartok  <pbartok@novell.com>
6750
6751         * Cursor.cs: Implemented GetObjectData() method
6752
6753 2005-05-20  Peter Bartok  <pbartok@novell.com>
6754
6755         * Cursors.cs: Added setting of cursor name
6756         * Cursor.cs:
6757           - Implemented constructors
6758           - Implemented Draw and DrawStretched
6759           - Implemented Current property
6760           - Implemented == and != operators
6761           - Implemented Dispose()
6762           - Implemented ToString
6763           - Added missing attributes
6764         * XplatUIX11.cs:
6765           - Added missing reset for OverrideCursor when DoEvents is called
6766           - Fixed creation of cursor, logic was wrong
6767         * XplatUIWin32.cs:
6768           - Added missing reset for OverrideCursor when DoEvents is called
6769           - Fixed creation of cursor, bit arrays were swapped
6770         * Clipboard.cs: Removed obsolete MonoTODO attribute
6771
6772 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6773
6774         * ComboBox.cs: fixes OnSelectedItemChanged
6775         * ControlBindingsCollection.cs: fixes item range check
6776
6777 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6778
6779         * UpDownBase.cs:
6780                 - Calc preferred height properly
6781                 - Implement missing properties
6782                 
6783         * NumericUpDown.cs: Implement missing events
6784
6785 2005-05-19  Jackson Harper  <jackson@ximian.com>
6786
6787         * TabControl.cs: New method that resizes the tab pages before
6788         redrawing them. This as needed as the control is double buffered
6789         and sizing will not be recalculated unless ResizeTabPages is
6790         called.
6791         * TabPage.cs: Set base.Text instead of Text in the constructor so
6792         that UpdateOwner does not get called. Use the new Redraw method of
6793         TabControl instead of Refresh so the sizing is recalculated.
6794         * ThemeWin32Classic.cs: Draw the text for button tabs.
6795
6796 2005-05-19  Jackson Harper  <jackson@ximian.com>
6797
6798         * Control.cs: Paint control background images. Fix typo where
6799         PaintControlBackground was not getting called correctly.
6800
6801 2005-05-19  Peter Bartok  <pbartok@novell.com>
6802
6803         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6804           I can investigate, apparently I broke FileDialog
6805
6806 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
6807
6808         * AxHost.cs: Some simple properties.
6809         * Control.cs: window must be accessible after ctor.
6810         * Form.cs: Added TransparencyKey property.
6811         * TextBoxBase.cs: Implemented Clear. Text property can be null.
6812         * XplatUIWin32.cs: SetBorderStyle implemented.
6813
6814 2005-05-18  Peter Bartok  <pbartok@novell.com>
6815
6816         * DataObject.cs: Entries are not global but particular to the
6817           DataObject, now it behaves that way
6818         * XplatUIWin32.cs: Implemented Clipboard methods
6819         * Clipboard.cs: Implemented
6820         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6821         * XplatUIOSX.cs: Updated to final clipboard prototypes
6822         * XplatUIX11.cs: Implemented Clipboard methods
6823         * XplatUIDriver.cs: Updated to final clipboard prototypes
6824         * XplatUIStructs.cs:
6825           - Added BITMAPINFOHEADER struct
6826           - Added ClipboardFormats enum
6827         * X11Structs.cs:
6828           - Added ClipboardStruct
6829           - Added Atom enum items for clipboard types
6830           - Fixed atom types for Selection event structures
6831         * DataFormats.cs:
6832           - Added internal properties and methods for drivers to enumerate
6833             all known formats
6834           - Switched initialization method to allow drivers to assign their
6835             own IDs even for the MS predefined clipboard IDs
6836         * XplatUI.cs: Updated to final clipboard interface
6837
6838 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6839         * PropertyGridView.cs: Fixed compiler warnings.
6840
6841 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6842         * PropertyGrid.cs: Added some event calls
6843         * PropertyGridView.cs: Change drawing code to use double buffering
6844         * PropertyGridTextBox.cs: Changed Text property name
6845         * GridItem.cs: Added Bounds property.
6846         * GridEntry.cs: Added Bounds property.
6847
6848 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6849
6850         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6851         since GetType() may not return the correct type if the object is
6852         a remoting proxy.
6853
6854 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
6855
6856         * TreeNodeCollection.cs: fixes get/set item ranges
6857         
6858 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6859
6860         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6861                 
6862 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6863
6864         * ComboBox.cs: Fix item range comparation
6865         * ListView.cs: Fix item range comparation
6866
6867 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6868
6869         * FontDialog.cs:
6870           - Clear example panel when OnPaint is called
6871           - Better solution for displaying the example panel text
6872           - Select default indexes in the ListBoxes
6873
6874 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6875
6876         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
6877
6878 2005-05-11  Peter Bartok  <pbartok@novell.com>
6879
6880         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6881         * SelectionRangeConverter.cs: Implemented
6882         * PropertyGrid.cs: Fixed attribute value
6883         * Control.cs:
6884           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6885           - Added Sebastien Pouliot's CAS Stack Propagation fixes
6886         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6887           that's common to all drivers. First methods to go there are
6888           Sebastien Pouliot's CAS Stack Propagation helper methods
6889         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6890           Sebastien Pouliot for CAS Stack Propagation
6891
6892 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6893
6894         * OSXStructs.cs:
6895           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6896
6897 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
6898
6899         * DataGridTextBoxColumn.cs: fixed some members
6900         * GridColumnStylesCollection.cs: indexed column is case insensitive
6901         * DataGridTableStyle.cs: fixes
6902         * ThemeWin32Classic.cs: add new theme parameter
6903         * Theme.cs: add new theme parameter
6904         * DataGridDrawingLogic.cs: Datagrid's drawing logic
6905         * DataGrid.cs: fixes, new internal properties, etc.
6906         * DataGridColumnStyle.cs: allows to set grid value
6907         *
6908
6909 2005-05-10  Peter Bartok  <pbartok@novell.com>
6910
6911         * AccessibleObject.cs:
6912           - Removed MonoTODO attribute on help, method is correct
6913           - Fixed Bounds property
6914         * AxHost.cs: Moved MonoTODO
6915         * ButtonBase.cs: Now setting AccessibleObject properties
6916         * RadioButton.cs: Setting proper AccessibleObject role
6917         * CheckBox.cs: Setting proper AccessibleObject role
6918         * ControlBindingsCollection.cs: Added properties, methods and attributes
6919         * DataFormats.cs: Fixed awkward internal API, and changed to enable
6920           userdefined DataFormats.Format items as well
6921         * ListControl.cs: Removed data_member from the public eye
6922         * OpenFileDialog.cs:
6923           - Made class sealed
6924           - Added missing attributes
6925         * SaveFileDialog.cs: Added missing attributes
6926         * ImageListStreamer.cs: Fixed code that caused warnings
6927         * LinkLabel.cs: Removed unreachable code
6928         * TreeView.cs: Fixed code that caused warnings
6929         * PropertyGridView.cs: Fixed code that caused warnings
6930         * GridColumnStylesCollection.cs: Added missing attributes
6931         * GridTableStylesCollection: Added missing attribute
6932         * PropertyManager: Added .ctor
6933         * SecurityIDType: Added
6934         * DataObject.cs: Implemented class
6935         * LinkArea.cs: Added missing attribute
6936
6937 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6938
6939         * RadioButton.cs: call base method to allow to fire OnClick event
6940         * UpDownBase.cs: OnMouseUp call base method
6941         * CheckedListBox.cs: call base method before returning
6942         * TrackBar.cs: call base method before returning
6943         
6944
6945 2005-05-10  Peter Bartok  <pbartok@novell.com>
6946
6947         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6948           for messages
6949
6950 2005-05-10  Peter Bartok  <pbartok@novell.com>
6951
6952         * DataFormats.cs: Implemented
6953         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6954           XplatUIX11.cs: Added Clipboard APIs
6955         * XplatUIWin32.cs: Implemented Clipboard APIs
6956         * FolderBrowserDialog.cs: Added missing event, attributes
6957
6958 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6959
6960         * CheckBox.cs: call base method to allow to fire OnClick event
6961
6962 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6963
6964         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6965
6966 2005-05-06  Peter Bartok  <pbartok@novell.com>
6967
6968         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6969         * Screen.cs: Implemented
6970         * HelpNavigator.cs: Added
6971         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6972           property
6973         * HelpProvider.cs: Implemented all we can do until we have a CHM
6974           help library (which means that "What's This" does work now)
6975
6976 2005-05-06  Jackson Harper  <jackson@ximian.com>
6977
6978         * XplatUIX11.cs: Fix waking up the main loop.
6979                 
6980 2005-05-05  Peter Bartok  <pbartok@novell.com>
6981
6982         * XplatUI.cs: Updated revision
6983         * Form.cs: Removed enless loop
6984         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6985         * Label.cs (OnPaint): Added call to base.OnPaint()
6986         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6987         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6988         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6989         * AxHost.cs: Added
6990         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6991         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6992           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6993           reuse of ToolTipWindow by other controls
6994         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6995         * XplatUIX11.cs: Now clipping drawing area (experimental)
6996         * PictureBox.cs: Moved base.OnPaint() call to end of method
6997         * Theme.cs: Fixed ToolTip abstracts to match new format
6998         * ErrorProvider.cs: Implemented
6999
7000 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
7001
7002         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7003         * LinkLabel.cs:
7004                 - Adds cursors
7005                 - Handles focus
7006                 - Implements LinkBehavior
7007                 - Fixes many issues
7008
7009 2005-05-03  Jackson Harper  <jackson@ximian.com>
7010
7011         * ListView.cs: Calculate the scrollbar positioning on resize and
7012         paint, so they get put in the correct place.
7013
7014 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
7015
7016         * ColorDialogs.cs: The small color panels are now handled by
7017           SmallColorControl. This fixes drawing of the focus rectangle
7018           and adds a 3D border.
7019
7020 2005-05-03  Peter Bartok  <pbartok@novell.com>
7021
7022         * Control.cs: Modified version of Jonathan Chamber's fix for
7023           double-buffering
7024
7025 2005-05-03  Jackson Harper  <jackson@ximian.com>
7026
7027         * ListView.cs: Remove redraw variable. Control now handles whether
7028         or not a redraw needs to be done, and will only raise the paint
7029         event if redrawing is needed.
7030
7031 2005-05-03  Jackson Harper  <jackson@ximian.com>
7032
7033         * Splitter.cs: No decorations for the splitter form. Cache the
7034         hatch brush.
7035
7036 2005-05-03  Jackson Harper  <jackson@ximian.com>
7037
7038         * TreeView.cs: Use dashed lines to connect nodes. Use the
7039         ControlPaint method for drawing the focus rect instead of doing
7040         that in treeview.
7041
7042 2005-05-02  Peter Bartok  <pbartok@novell.com>
7043
7044         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7045
7046 2005-04-29  Jackson Harper  <jackson@ximian.com>
7047
7048         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7049         entire image buffer. Just clear the clipping rectangle.
7050
7051 2005-04-29  Jackson Harper  <jackson@ximian.com>
7052
7053         * ThemeWin32Classic.cs: Don't draw list view items that are
7054         outside the clipping rectangle.
7055
7056 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
7057
7058         * ListBox.cs: added horizontal item scroll
7059
7060 2005-04-29  Jackson Harper  <jackson@ximian.com>
7061
7062         * ThemeWin32Classic.cs: Remove some old debug code that was
7063         causing flicker with the new double buffering code.
7064
7065 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
7066
7067         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7068         behave like combobox and comboboxlist (still not sure if this is
7069         correct though).
7070
7071 2005-04-28  Jackson Harper  <jackson@ximian.com>
7072
7073         * ThemeWin32Classic.cs: Don't fill the middle of progress
7074         bars. This fills areas outside of the clip bounds that don't need
7075         to be filled.
7076
7077 2005-04-28  Jackson Harper  <jackson@ximian.com>
7078
7079         * Control.cs: Don't expose functionality to touch the image buffers.
7080         * ProgressBar.cs:
7081         * ListView.cs: We do not need to (and no longer can) manipulate
7082         the image buffers directly. All of this is handled by Control.
7083
7084 2005-04-28  Peter Bartok  <pbartok@novell.com>
7085
7086         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7087           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7088           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7089
7090 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
7091
7092         * Combobox:
7093                 - Adjust control's height for non-simple comboboxes (bug fix)
7094                 - Remove dead code
7095         * MenuAPI.cs: remove unused var
7096         * ScrollBar.cs: remove unsed var
7097                  
7098         * ListBox.cs: unselect items when clearing
7099
7100 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
7101
7102         * ListControl.cs: honors OnPositionChanged and default Selected Item
7103         * ListBox.cs: unselect items when clearing
7104
7105 2005-04-27  Jackson Harper  <jackson@ximian.com>
7106
7107         * X11Keyboard.cs: Initialize a default keyboard and give a warning
7108         if a "correct" keyboard is not found. This will make us not crash,
7109         but might give some users bad keyboard layouts...seems to be the
7110         same thing rewind does.
7111
7112 2005-04-27  Jackson Harper  <jackson@ximian.com>
7113
7114         * BindingManagerBase.cs: Attach the current/position changed
7115         handlers to their respective events.
7116
7117 2005-04-27  Jackson Harper  <jackson@ximian.com>
7118
7119         * Control.cs: Make sure that the first WM_PAINT does a full draw,
7120         not just a blit.
7121         * ThemeWin32Classic.cs: Don't fill the background for picture
7122         boxes. This could overright user drawing.
7123         * ComboBox.cs: Just fill the clipping rect not the entire client
7124         rect when drawing the background. This prevents pieces of the
7125         image buffer from getting overwritten and is theoretically faster.
7126
7127 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
7128
7129         * ComboBox.cs: Databinding support fixes, fire missing events
7130         * ListControl.cs: implement missing methods and properties, fixes
7131         * ThemeWin32Classic.cs: Databiding support on Drawing
7132         * CheckedListBox.cs: Databinding support fixes, fire missing events
7133         * ListBox.cs: Databinding support fixes, fire missing events
7134         
7135 2005-04-25  Peter Bartok  <pbartok@novell.com>
7136
7137         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7138
7139 2005-04-25  Jackson Harper  <jackson@ximian.com>
7140
7141         * TreeView.cs: Use the horizontal scrollbars height not width when
7142         determining how much of the client area is available.
7143
7144 2005-04-25  Jackson Harper  <jackson@ximian.com>
7145
7146         * Control.cs: Double buffering is handled differently now. As per
7147         the spec, the extra buffer is created in the WM_PAINT message and
7148         passed down to the control's drawing code.
7149         * GroupBox.cs:
7150         * Label.cs:
7151         * CheckBox.cs:
7152         * ProgressBar.cs:
7153         * RadioButton.cs:
7154         * ColorDialog.cs:
7155         * ComboBox.cs:
7156         * PropertyGridView.cs:
7157         * UpDownBase.cs:
7158         * MessageBox.cs:
7159         * MenuAPI.cs:
7160         * ListView.cs:
7161         * ButtonBase.cs:
7162         * SizeGrip.cs:
7163         * ScrollBar.cs:
7164         * ListBox.cs:
7165         * TrackBar.cs:
7166         * ToolBar.cs:
7167         * PictureBox.cs:
7168         * DateTimePicker.cs:
7169         * StatusBar.cs:
7170         * TreeView.cs: Update to new double buffering system.
7171         * MonthCalendar.cs: Uncomment block, as Capture is now
7172         working. Update to new double buffering
7173         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7174         * PaintEventArgs.cs: New internal method allows us to set the
7175         graphics object. This is used for double buffering.
7176         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7177         rectangle. The internal paint_area var has been removed from
7178         StatusBar. The clipping rect should be used instead.
7179         * Theme.cs: Give the PictureBox drawing method a clipping rect.
7180         * TabPage.cs: The RefreshTabs method was removed, so just call the
7181         tab controls Refresh method now.
7182         * TabControl.cs: Update to new double buffering. Make sure the
7183         handle is created before sizing the tab pages, otherwise we will
7184         get stuck in a loop.
7185
7186 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
7187
7188         * LinkLabel.cs: Fix typo, bug #74719; patch
7189           from Borja Sanchez Zamorano
7190
7191 2005-04-22  Jackson Harper  <jackson@ximian.com>
7192
7193         * TreeNode.cs: Implement Handle stuff.
7194         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7195
7196 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
7197
7198         * DataGridTextBoxColumn.cs: call base constructors, fixes
7199         * GridColumnStylesCollection.cs: missing events, methods, and functionality
7200         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7201         * DataGridTableStyle.cs: implements create default column styles
7202         * DataGridBoolColumn.cs: which types can handle
7203         * DataGrid.cs: missing methods, fixes, new functionality
7204         * DataGridColumnStyle.cs: fixes
7205
7206 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
7207         * FolderBrowserDialog.cs:
7208         - Use a thread to fill the TreeView
7209         - Adjusted some sizes
7210
7211 2005-04-19  Peter Bartok  <pbartok@novell.com>
7212
7213         * LinkLabel.cs: (Re-)create the pieces when setting the Text
7214           property. Fixes #74360.
7215
7216 2005-04-19  Jackson Harper  <jackson@ximian.com>
7217
7218         * XEventQueue.cs: Lock when getting the lockqueue size.
7219         * PictureBox.cs: Call base OnPaint
7220         
7221 2005-04-19  Peter Bartok  <pbartok@novell.com>
7222
7223         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7224           messages were no longer being processed (this broke BeginInvoke)
7225
7226           
7227 2005-04-18  Jackson Harper  <jackson@ximian.com>
7228
7229         * TreeView.cs: buglet that caused node images to get drawn
7230         regardless of whether or not they were in the clipping rectangle.
7231
7232 2005-04-18  Jackson Harper  <jackson@ximian.com>
7233
7234         * CurrencyManager.cs: There are four rules for GetItemProperties:
7235         - If the type is an array use the element type of the array
7236         - If the type is a typed list, use the type
7237         - If the list contains an Item property that is not an object, use
7238         that property
7239         - use the first element of the list if there are any elements in
7240         the list.
7241         
7242 2005-04-17  Jackson Harper  <jackson@ximian.oom>
7243
7244         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7245         click. This handles offsets for scrolling properly and reduces
7246         memory. Also fixed GetNode to not offset now that TopNode works
7247         properly.
7248         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7249         
7250 2005-04-17  Jackson Harper  <jackson@ximian.com>
7251
7252         * CursorConverter.cs: Initial implementation.
7253
7254 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7255
7256         * ListControl.cs: work towards complex data binding support on ListControl
7257         * CurrencyManager.cs: work towards complex data binding support on ListControl
7258         * ListBox.cs: work towards complex data binding support on ListControl
7259
7260
7261 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7262
7263         * GridTableStylesCollection.cs: fixes name and constructor
7264         * DataGridTableStyle.cs: fixes
7265         * DataGridBoolColumn.cs: fixes names and constructors
7266         * DataGrid.cs: define methods and properties. Some init implementations
7267         * DataGridCell.cs: define methods and properties. Some init implementations
7268         * GridTablesFactory.cs: Define methods and properties
7269
7270 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
7271
7272         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
7273         graphics port changes.  We still want the coordinates in global screen
7274         coordinates.
7275
7276 2005-04-14  Jackson Harper  <jackson@ximian.com>
7277
7278         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7279         check plus minus or checkbox clicks unless those features are enabled.
7280
7281 2005-04-14  Jackson Harper  <jackson@ximian.com>
7282
7283         * TreeView.cs: Add methods for setting the top and bottom visible
7284         nodes. TreeNode::EnsureVisible uses these methods.
7285         * TreeNode.cs: Implement EnsureVisible
7286
7287 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
7288
7289         * Form.cs: Pospone menu assignation if the window has not been created yet
7290         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7291         size and position
7292
7293 2005-04-12  Jackson Harper  <jackson@ximian.com>
7294
7295         * TreeView.cs: Set the TopNode properly when scrolling
7296         occurs. This has the added benifit of reducing the amount of
7297         walking that needs to be done when drawing. Also removed an old
7298         misleading TODO.
7299         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7300         
7301 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
7302
7303         * Timer.cs: fixes interval setting when the timer is already enabled
7304         
7305 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
7306
7307         * FolderBrowserDialog.cs: First approach
7308
7309 2005-04-09  Peter Bartok  <pbartok@novell.com>
7310
7311         * FolderBrowserDialog: Added
7312
7313 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
7314
7315         * LinkLabel.cs: move drawing code into the theme
7316         * ThemeWin32Classic.cs: drawing code and painting background bugfix
7317         * Theme.cs: define DrawLinkLabel method
7318
7319 2005-04-05  Jackson Harper  <jackson@ximian.com>
7320
7321         * BindingContext.cs: Use weak references so these bad actors don't
7322         stay alive longer then they need to.
7323
7324 2005-04-05  Jackson Harper  <jackson@ximian.com>
7325
7326         * ListControl.cs: Basic implementation of complex databinding.
7327         * ComboBox.cs:
7328         * ListBox.cs: Add calls to ListControl databinding methods.
7329
7330 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
7331
7332         * FileDialog.cs:
7333           - Don't change PopupButtonState to Normal when the
7334             PopupButton gets pressed several times.
7335           - Renamed ButtonPanel to PopupButtonPanel
7336
7337 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
7338
7339         * ColorDialog.cs: Use cached objects instead of creating them
7340         * LinkLabel.cs: Use cached objects instead of creating them
7341         * Splitter.cs: Use cached objects instead of creating them
7342         * FontDialog.cs: Use cached objects instead of creating them
7343         * PropertyGridView.cs: Use cached objects instead of creating them
7344         * MessageBox.cs: Use cached objects instead of creating them
7345         * FileDialog.cs: Use cached objects instead of creating them
7346         * ThemeWin32Classic.cs: Use cached objects instead of creating them
7347         * TreeView.cs: Use cached objects instead of creating them
7348         
7349 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
7350
7351         * Control.cs: use Equals to compare the font since no == op
7352         * ScrollBar.cs: use Equals to compare the font since no == op
7353
7354 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
7355
7356         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7357
7358 2005-04-01  Jackson Harper  <jackson@ximian.com>
7359
7360         * Binding.cs: Implement IsBinding.
7361         * BindingManagerBase.cs:
7362         * PropertyManager.cs:
7363         * CurrencyManager.cs: Add IsSuspended property.
7364
7365 2005-04-01  Jackson Harper  <jackson@ximian.com>
7366
7367         * Binding.cs: Had some IsAssignableFrom calls backwards.
7368
7369 2005-04-01  Jackson Harper  <jackson@ximian.com>
7370
7371         * Binding.cs: Handle null data members when pulling data.
7372         * PropertyManager.cs: Handle the data member being a property that
7373         does not exist.
7374
7375 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7376
7377         * DataGridTextBoxColumn.cs: fixes signature
7378         * DataGrid.cs: calls right constructor
7379
7380 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7381
7382         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7383         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7384         * GridTableStylesCollection.cs: implements GridTableStylesCollection
7385         * DataGridTableStyle.cs: implements DataGridTableStyle
7386         * DataGridBoolColumn.cs: implements DataGridBoolColumn
7387         * DataGridTextBox.cs: implements DataGridTextBox
7388         * DataGridColumnStyle.cs: implements DataGridColumnStyle
7389
7390 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
7391
7392         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7393
7394 2005-03-29  Peter Bartok  <pbartok@novell.com>
7395
7396         * Application.cs:
7397           - Properly implemented CompanyName property
7398           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7399             returns a path that includes CompanyName, ProductName and
7400             Version (fixes bug #70330)
7401
7402 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
7403
7404         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7405           fixes bug #72588.
7406
7407 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7408
7409         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7410         
7411           - Added ReadOnly CheckBox
7412           - Further refactoring: moved some code from Open-/SaveFileDialog
7413             to FileDialog
7414
7415 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7416
7417         * OpenFileDialog.cs: Fixed CheckFileExists
7418         * FileDialog.cs:
7419           Moved FileView and DirComboBox outside FileDialog class.
7420           They can now be used outside FileDialog
7421
7422 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7423
7424         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7425         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7426
7427 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7428
7429         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7430           - Added missing CreatePrompt property in SaveDialog
7431           - Overall SaveDialog handling should be better now
7432           - Added non standard ShowHiddenFiles property
7433           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7434           - Added InitialDirectory and RestoreDirectory support
7435
7436 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
7437
7438         * FileDialog.cs: Made dirComboBox usable
7439
7440 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
7441
7442         * FileDialog.cs: Added Filter support (case sensitiv)
7443
7444 2005-03-24  Jackson Harper  <jackson@ximian.com>
7445
7446         * TabControl.cs: Need a couple more pixels for the lines.
7447
7448 2005-03-23  Jackson Harper  <jackson@ximian.com>
7449
7450         * TabControl.cs: Give the tab page focus when it is selected.
7451
7452 2005-03-23  Jackson Harper  <jackson@ximian.com>
7453
7454         * TabControl.cs: Account for the drawing of tabs borders when
7455         invalidating. If the slider was clicked dont do click detection on
7456         the tabs.
7457
7458 2005-03-23  Jackson Harper  <jackson@ximian.com>
7459
7460         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7461
7462 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
7463
7464         * CategoryGridEntry.cs: Added
7465         * GridItem.cs: Added helper properties
7466         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7467         * GridEntry.cs: Updated code for collection
7468         * PropertyGrid.cs: Cleaned up some formatting
7469         * PropertyGridView.cs: Added drop down functionality for enums.
7470         * GridItemCollection.cs: Added enumerator logic
7471         * PropertyGridEntry.cs: Added
7472
7473 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7474
7475         * FileDialog.cs:
7476           - Removed unnecessary commented code
7477           - Fixed handling for entering the filename manually in the combobox
7478
7479 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7480
7481         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7482
7483 2005-03-18  Peter Bartok  <pbartok@novell.com>
7484
7485         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7486           them being touching the border
7487
7488 2005-03-18  Peter Bartok  <pbartok@novell.com>
7489
7490         * TextControl.cs: Quick hack to center text better
7491
7492 2005-03-18  Peter Bartok  <pbartok@novell.com>
7493
7494         * ControlPaint.cs:
7495           - Don't throw NotImplemented exceptions, just print a notice once
7496             instead (requested by Miguel). This makes running existing SWF
7497             apps a bit easier
7498         * Control.cs:
7499           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7500           - Added context menu trigger on right click
7501         * Panel.cs: Trigger invalidate on resize
7502         * StatusBar.cs:
7503           - Removed old double-buffer drawing
7504           - Added ResizeRedraw style to force proper update of statusbar
7505         * ListView.cs:
7506           - Removed debug output
7507         * ThemeWin32Classic.cs:
7508           - Fixed drawing of status bar, now draws Text property if there
7509             are no defined panels
7510
7511 2005-03-18  Jackson Harper  <jackson@ximian.com>
7512
7513         * ImageList.cs: When the image stream is set pull all the images
7514         from it.
7515         * ImageListStreamer.cs: Implement reading image list streams.
7516
7517 2005-03-18  Peter Bartok  <pbartok@novell.com>
7518
7519         * ThemeWin32Classic.cs (DrawPictureBox):
7520           - Fixed calculations for centered drawing
7521           - Fixed drawing for normal mode, not scaling the image on normal
7522
7523 2005-03-18  Peter Bartok  <pbartok@novell.com>
7524
7525         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7526           textbox
7527         * FileDialog.cs:
7528           - Made Open/Save button the accept button for FileDialog
7529           - Tied the cancel button to the IButtonControl cancel button
7530           - Save/Open now properly builds the pathname
7531           - Now handles user-entered text
7532           - Preventing crash on right-click if no item is selected
7533           - Fixed Text property, now uses contents of textbox
7534           - Fixed SelectedText property, now just returns the text part that
7535             is selected in the text box
7536
7537 2005-03-18  Jackson Harper  <jackson@ximian.com>
7538
7539         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7540         rect, make sure to de-adjust the interior rect after drawing the
7541         tab text.
7542
7543 2005-03-18  Peter Bartok  <pbartok@novell.com>
7544
7545         * MenuAPI.cs: Remove menu *before* executing selected action to
7546           prevent the menu from 'hanging around'
7547           
7548 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
7549
7550         * XplatUIOSX.cs: Implemented WorkingArea property
7551
7552 2005-03-17  Peter Bartok  <pbartok@novell.com>
7553
7554         * XplatUIX11.cs: Fixed menu coord calculations
7555         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7556           for calculating offsets
7557
7558 2005-03-17  Peter Bartok  <pbartok@novell.com>
7559
7560         * Hwnd.cs: Do not consider menu presence for default client
7561           rectangle location/size
7562         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7563           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7564           translation functions
7565         * FileDialog.cs: Fixed (what I presume is a) typo
7566
7567 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
7568
7569         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7570           X access (avoids X-Async errors)
7571
7572 2005-03-16  Jackson Harper  <jackson@ximian.com>
7573
7574         * TabControl.cs: Raise the SelectedIndexChanged event.
7575
7576 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
7577
7578         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7579           - Removed vertical ToolBar and replaced it with a custom panel
7580             (desktop and home button already work)
7581           - Added Help button (some controls get resized or relocated then)
7582           - Draw correct text depending on Open or Save.
7583           - Fixed some typos...
7584
7585 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
7586
7587         * ScrollBar.cs:
7588           - Only change Maximum and Minimum when need it (bug fix)
7589
7590 2005-03-15  Peter Bartok  <pbartok@novell.com>
7591
7592         * Form.cs: Use Handle for icon, to trigger creation if
7593           the window does not yet exist
7594         * Control.cs:
7595           - CanSelect: Slight performance improvement
7596           - Focus(): Preventing possible recursion
7597           - Invalidate(): Removed ControlStyle based clear flag setting
7598           - WM_PAINT: fixed logic for calling OnPaintBackground
7599           - WM_ERASEBKGND: Fixed logic, added call to new driver method
7600             EraseWindowBackground if the control doesn't paint background
7601         * XplatUIWin32.cs:
7602           - Moved EraseWindowBackground() method to internal methods
7603           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7604             is sent via SendMessage on BeginPaint call on Win32
7605         * XplatUIX11.cs:
7606           - Added EraseWindowBackground() method
7607           - No longer sends WM_ERASEBKGND on .Expose, but on call to
7608             PaintEventStart, which more closely matches Win32 behaviour
7609           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7610           - Fixed SetFocus() to properly deal with client and whole windows
7611         * Hwnd.cs: Added ErasePending property
7612         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7613         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7614
7615 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
7616
7617         * XplatUIOSX.cs:
7618           - Fix hard loop when timers exist.
7619           - Fix bugs with middle and right click for 3 button mice.
7620
7621 2005-03-11  Peter Bartok  <pbartok@novell.com>
7622
7623         * XplatUIX11.cs:
7624           - get_WorkingArea: Need to call X directly, GetWindowPos only
7625             returns cached data now
7626           - Added sanity check to GetWindowPos hwnd usage
7627
7628 2005-03-11  Jackson Harper  <jackson@ximian.com>
7629
7630         * BindingManagerBase.cs: This method isn't used anymore as
7631         PullData now updates the data in the control.
7632
7633 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7634
7635         * Form.cs: fixes menu drawing on X11
7636         * MenuAPI.cs:  fixes menu drawing on X11
7637
7638 2005-03-11  Peter Bartok  <pbartok@novell.com>
7639
7640         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7641           from Jonathan Gilbert; should fix bug #73606
7642         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7643           in Screen coordinates. Thanks, Jordi.
7644         * Form.cs: Added missing attribute
7645
7646 2005-03-11  Peter Bartok  <pbartok@novell.com>
7647
7648         * Form.cs:
7649           - Rudimentary Mdi support
7650           - Removed outdated FormParent code
7651           - Implemented lots of missing properties and methods, still missing
7652             transparency support
7653           - Added missing attributes
7654           - Implemented support for MaximumBounds
7655           - Added firing of various events
7656         * XplatUI.cs: Added SetIcon() method
7657         * XplatUIDriver.cs: Added SetIcon() abstract
7658         * XplatUIOSX.cs: Stubbed out SetIcon() method
7659         * XplatUIX11.cs:
7660           - Implemented SetIcon() support
7661           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7662           - Switched to unix line endings
7663         * XplatUIWin32.cs:
7664           - Made POINT internal so for can access it as part of MINMAX
7665           - Implemented SetIcon() support
7666           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7667             native Mdi support again, might have to go managed)
7668         * Control.cs: Now fires the StyleChanged event
7669         * MdiClient.cs: Added; still mostly empty
7670
7671 2005-03-10  Peter Bartok  <pbartok@novell.com>
7672
7673         * SaveFileDialog.cs: Added emtpy file
7674
7675 2005-03-08  Peter Bartok  <pbartok@novell.com>
7676
7677         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7678           in turn triggers OnCreateContro) when creating a handle for the
7679           first time.
7680         * TextControl.cs: Fixed endless loop in certain cases when
7681           replacing the current selection
7682
7683 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7684
7685         * ScrollBar.cs:
7686           - Honors NewValue changes in Scroll events allowing apps to change it
7687           - Adds First and Last Scroll events
7688           - Fixes Thumb events
7689
7690 2005-03-07  Peter Bartok  <pbartok@novell.com>
7691
7692         * Hwnd.cs: Added DefaultClientRectangle property
7693         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7694           more detailed debug information
7695         * XplatUIX11.cs:
7696           - Fixed size-change feedback loop, where we would pull an old size
7697             off the queue and mistakenly change our window's size to an
7698             earlier value
7699           - Now compressing ConfigureNotify events, to reduce looping and
7700             redraw issues
7701         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7702           is called
7703
7704 2005-03-07  Jackson Harper  <jackson@ximian.com>
7705
7706         * Binding.cs: Push data pushes from data -> property. Check if the
7707         property is readonly when attempting to set it.
7708
7709 2005-03-07  Jackson Harper  <jackson@ximian.com>
7710
7711         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7712         instead of IsSubclassOf. Pulling data now sets the value on the
7713         control.
7714         * PropertyManager.cs:
7715         * CurrencyManager.cs: Just need to pull data when updating now,
7716         because PullData will set the value on the control.
7717
7718 2005-03-04  Jackson Harper  <jackson@ximian.com>
7719
7720         * Binding.cs: Implement data type parsing and converting on pulled
7721         data. TODO: Are there more ways the data can be converted?
7722
7723 2005-03-04  Jackson Harper  <jackson@ximian.com>
7724
7725         * Binding.cs: Support <Property>IsNull checks. Also bind to the
7726         controls Validating method so we can repull the data when the
7727         control loses focus.
7728
7729 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
7730
7731         * ColumnHeader.cs:
7732           - Fixes null string format
7733           
7734         * ListView.cs:
7735           - Adds enum type checks
7736           - Fixes redrawing and recalc need after changing some properties
7737           - Fixes on focus_item set after the event
7738           - Fixes adding columns after the control has been created
7739           
7740         * ThemeWin32Classic.cs:
7741           - Fixes CheckBox focus rectangle
7742           - Fixes ColumnHeader drawing
7743
7744
7745 2005-03-03  Jackson Harper  <jackson@ximian.com>
7746
7747         * Binding.cs: Bind to <Property>Changed events so we can detect
7748         when properties are changed and update the data.
7749
7750 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
7751
7752         * ImageList.cs:
7753           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7754           - Fixes ImageList constructor with ImageList container
7755           - Fixes image scaling (wrong parameters at DrawImage)
7756
7757 2005-02-02  Jackson Harper  <jackson@ximian.com>
7758
7759         * Binding.cs: Make property searches case-insensitive. Eliminate
7760         some duplicated code.
7761
7762 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
7763
7764         * ComboBox.cs:
7765                 - Handle focus event
7766                 - Fix scrollbar events
7767                 - Discard highlighted item if remove it
7768                 - Fixes SelectedItem with strings
7769
7770 2005-03-01  Peter Bartok  <pbartok@novell.com>
7771
7772         * Control.cs:
7773           - Fixed Visible property, now follows (once again) parent chain
7774             to return false if any control in the chain is visible=false
7775           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7776           - Fixed several places where is_visible instead of Visible was used
7777           - Implemented FIXME related to focus selection when setting focused
7778             control to be invisible
7779
7780         * XplatUIWin32.cs: Now using proper method to find out if window is
7781           visible. Thanks to Jordi for pointing it out
7782
7783 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
7784
7785         * ComboBox.cs: show/hide scrollbar instead of creating it
7786
7787 2005-02-27  Jackson Harper  <jackson@ximian.com>
7788
7789         * CurrencyManager.cs: Add PositionChanged stuff.
7790
7791 2005-02-27  Peter Bartok  <pbartok@novell.com>
7792
7793         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7794         * XplatUIOSX.cs: Added GetMenuOrigin() stub
7795         * XplatUIWin32.cs: Implemented GetMenuOrigin()
7796         * XplatUIX11.cs:
7797           - Implemented GetMenuDC()
7798           - Implemented GetMenuOrigin()
7799           - Implemented ReleaseMenuDC()
7800           - Implemented generation of WM_NCPAINT message
7801           - Implemented generation and handling of WM_NCCALCSIZE message
7802         * Form.cs: Added debug helper message for Jordi's menu work
7803         * Hwnd.cs:
7804           - Modified ClientRect property; added setter, fixed getter to handle
7805             setting of ClientRect
7806           - Added MenuOrigin property
7807
7808 2005-02-26  Peter Bartok  <pbartok@novell.com>
7809
7810         * XplatUIX11.cs:
7811           - Destroys the caret if a window that's being destroyed contains it
7812           - Ignores expose events coming from the X11 queue for windows that
7813             already are destroyed
7814           - Now uses the proper variable for handling DestroyNotify, before we
7815             marked the wrong window as destroyed
7816           - Improved/added some debug output
7817
7818 2005-02-26  Peter Bartok  <pbartok@novell.com>
7819
7820         * X11Keyboard.cs: Fixes to work on 64bit systems
7821
7822 2005-02-26  Peter Bartok  <pbartok@novell.com>
7823
7824         * Control.cs:
7825           - Now calling OnHandleDestroyed from DestroyHandle()
7826             instead of Dispose()
7827           - Removed bogus call to controls.Remove() from DestroyHandle()
7828
7829 2005-02-26  Peter Bartok  <pbartok@novell.com>
7830
7831         * Control.cs: Properly destroy child windows when our handle is
7832           destroyed
7833
7834 2005-02-25  Peter Bartok  <pbartok@novell.com>
7835
7836         * XplatUI.cs:
7837           - Added 'DriverDebug' define to allow tracing XplatUI API calls
7838           - Alphabetized Static Methods and Subclasses
7839
7840         * XplatUIX11.cs:
7841           - Added XException class to allow custom handling of X11 exceptions
7842           - Created custom X11 error handler, tied into XException class
7843           - Added support for MONO_XEXCEPTIONS env var to allow the user
7844             to either throw an exception on X errors or continue running
7845             after displaying the error
7846           - Added handling of DestroyNotify message
7847           - Added handler for CreateNotify message (still disabled)
7848           - Improved (tried to at least) Where method to provide file and lineno
7849         * X11Structs.cs:
7850           - Added XErrorHandler delegate
7851           - Added XRequest enumeration (to suppor translation of errors)
7852
7853 2005-02-25  Jackson Harper  <jackson@ximian.com>
7854
7855         * PropertyManager.cs: Implement editing features
7856         * CurrencyManager.cs:
7857         * Binding.cs: First attempt at UpdateIsBinding
7858         * BindingManagerBase.cs: Call UpdateIsBinding before
7859         pushing/pulling data.
7860
7861 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
7862
7863         * MenuAPI.cs: Respect disabled items
7864         * ThemeWin32Classic.cs
7865                 - Caches ImageAttributes creation for DrawImageDisabled
7866                 - Fixes vertical menu line drawing
7867                 - Draws disabled arrows in disable menu items
7868
7869 2005-02-24  Peter Bartok  <pbartok@novell.com>
7870
7871         * Hwnd.cs:
7872           - Added UserData property to allow associating arbitrary objects
7873             with the handle
7874           - Fixed leak; now removing Hwnd references from static windows array
7875         * XplatUIWin32.cs:
7876           - Fixed Graphics leak in PaintEventEnd
7877           - Removed usage of HandleData, switched over to Hwnd class
7878         * HandleData.cs: Removed, obsoleted by Hwnd.cs
7879
7880 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7881
7882         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7883         * ScrollBar.cs: Fixes bug
7884         * TrackBar.cs: removes death code, clipping, mimize refreshes,
7885          keyboard navigation enhancements
7886
7887 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7888
7889         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7890         * GroupBox.cs: Add control styles
7891         * Label.cs: Add control styles
7892         * UpDownBase.cs: Add control styles
7893         * ListBox.cs: Add control styles
7894         * XplatUIWin32.cs: Fixes wrong parameter order
7895
7896
7897 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
7898
7899         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7900
7901 2005-02-23  Jackson Harper  <jackson@ximian.com>
7902
7903         * PropertyManager.cs: Implement property binding. This doesn't
7904         seem to work yet though as (I think) there are some bugs in
7905         System.ComponentModel.PropertyDescriptor.
7906         * BindingContext.cs: Use new PropertyManager constructor.
7907
7908 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
7909
7910         * ProgressBar.cs: use clip region in ProgressBar
7911         * ThemeWin32Classic.cs: use clip region in ProgressBar
7912
7913 2004-02-22  Jackson Harper  <jackson@ximian.com>
7914
7915         * BindingsCollection.cs: Remove some debug code.
7916
7917 2005-02-22  Jackson Harper  <jackson@ximian.com>
7918
7919         * BindingContext.cs:
7920         * ControlBindingsCollection.cs:
7921         * CurrencyManager.cs:
7922         * Binding.cs:
7923         * BindingManagerBase.cs: Initial implementation
7924         * BindingsCollection.cs: Add an internal contains method that the
7925         BindingManagerBase uses to ensure bindings aren't added twice to
7926         the collection.
7927         * PropertyManager.cs: Stubbed out.
7928         * Control.cs:
7929         * ContainerControl.cs: Hook up databinding
7930         
7931 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7932
7933         * XplatUIOSX.cs:
7934           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7935           Fixed Invalidate/Update chain.
7936           Fixed tons of other minor bugs (this is almost a complete rewrite).
7937
7938 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7939
7940         * ComboBox.cs: do subcontrol creation when the control is created
7941
7942 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7943
7944         * Label.cs: fixes image drawing (image and imagelist)
7945         * ThemeWin32Classic.cs: cache brushes
7946         
7947 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7948
7949         * Form.cs: Move menu drawing code to Theme class
7950         * ComboBox.cs: Move ComboBox drawing code to Theme class
7951         * MenuItem.cs: Move menu drawing code to Theme class
7952         * MenuAPI.cs: Move menu drawing code to Theme class
7953         * ThemeWin32Classic.cs: New methods
7954         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7955         * ListBox.cs: Move Listbox drawing code to Theme class
7956         * Theme.cs: New methods
7957
7958 2005-02-20  Peter Bartok  <pbartok@novell.com>
7959
7960         * Control.cs:
7961           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7962             only process mnemonics on those)
7963           - Fixed event sequence for key handling; first calling
7964             ProcessKeyEventArgs now
7965         * TextBoxBase.cs:
7966           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7967             for processing non-character keys
7968           - Fixed WM_CHAR to generate proper event sequence before processing
7969         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7970           generation
7971
7972 2005-02-19  Peter Bartok  <pbartok@novell.com>
7973
7974         * UserControl.cs: Added TextChanged event; added attributes
7975         * SizeGrip.cs: Implemented resizing and optional display of grip
7976         * Form.cs: Fixed attribute
7977         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7978           Changed meaning of ScrollWindow bool argument; instead of the
7979           clear attribute (which will be true usually anyway), it gives the
7980           option of moving child controls as well.
7981         * XplatUIX11.cs:
7982           - Changed to match new ScrollWindow argument
7983           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7984             now handles the implicit parent window a WM puts around us
7985         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7986           to work)
7987         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7988         * TreeView.cs: Adjusted to new ScrollWindow arguments
7989
7990 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7991
7992         * Form.cs: Menu integration with non-client area
7993         * MenuItem.cs: Menu integration with non-client area
7994         * MenuAPI.cs: Menu integration with non-client area
7995
7996 2005-02-18  Peter Bartok  <pbartok@novell.com>
7997
7998         * MethodInvoker.cs: Added
7999         * MdiLayout.cs: Added
8000         * SendKeys.cs: Started implementation
8001         * ErrorIconAlignment.cs: Added
8002
8003 2005-02-18  Peter Bartok  <pbartok@novell.com>
8004
8005         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8006         * Form.cs: Added handling for Menu-related Non-client messages
8007
8008 2005-02-17  Peter Bartok  <pbartok@novell.com>
8009
8010         * UpDownBase.cs: Fixed typo, compilation errors
8011         * DomainUpDown.cs: Fixed attribute value
8012
8013 2005-02-16  Miguel de Icaza  <miguel@novell.com>
8014
8015         * UpDownBase.cs: Attach entry events.
8016         Propagate events.
8017         Add ForeColor property, Focused, InterceptArrowKeys (interception
8018         does not work yet).
8019
8020 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
8021
8022         * Form.cs:
8023                 - Redraw non client are on Setmenu
8024                 - Calc proper menu starting point
8025
8026 2005-02-17  Peter Bartok  <pbartok@novell.com>
8027
8028         * Application.cs: Fixed message_filter check
8029
8030 2005-02-17  Peter Bartok  <pbartok@novell.com>
8031
8032         * Application.cs: Now calls registered message filters
8033         * DockStyle.cs: Fixed attribute
8034         * Form.cs: Fixed attribute
8035         * Menu.cs: Fixed attribute
8036         * ToolTip.cs: Fixed attribute
8037         * TreeNode.cs: Added missing attributes and arranged in regions
8038         * PropertyGrid.cs: Fixed signatures
8039         * TreeNodeCollection.cs: Added attributes
8040         * Splitter.cs: Added missing attributes; arranged into regions
8041         * TabPage.cs: Added missing attributes; arranged into regions
8042         * TextBoxBase.cs: Added missing attributes
8043         * TextBox.cs: Added missing attributes
8044         * ArrangeDirection.cs: Added missing attributes
8045         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8046         * ToolBarButton.cs: Fixed attributes
8047         * AnchorStyles.cs: Fixed attribute
8048         * TrackBar.cs: Fixed attributes
8049         * TabControl.cs: Added missing attributes and arranged into regions
8050         * ToolBar.cs: Fixed attribute
8051         * StatusBar.cs: Fixed signature, organized into regions and added
8052           attributes
8053         * StatusBarPanel.cs: Fixed attributes
8054         * ContentsResizedEventArgs.cs: Implemented
8055         * ContentsResizedEventHandler.cs: Implemented
8056         * DateBoldEventArgs.cs: Implemented
8057         * DateBoldEventHandler.cs: Implemented
8058         * UpDownEventArgs.cs: Implemented
8059         * UpDownEventHandler.cs: Implemented
8060         
8061 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
8062
8063         * Form.cs: first Menu NC refactoring
8064         * MenuAPI.cs: first Menu NC refactoring
8065         
8066 2005-02-16  Peter Bartok  <pbartok@novell.com>
8067
8068         * ImeMode.cs: Added missing attributes
8069         * Menu.cs: Fixed attribute
8070         * GroupBox.cs: Fixed attribute
8071         * Label.cs: Fixed attribute
8072         * ColorDialog.cs (RunDialog): Removed TODO attribute
8073         * ComboBox.cs: Fixed attributes
8074         * ListControl.cs: Added missing attributes
8075         * PropertyGrid.cs: Fixed attributes
8076         * Control.cs: Fixed attributes
8077         * ListViewItem.cs: Added TypeConverter attribute
8078         * NotifyIcon.cs: Fixed attributes
8079         * ListView.cs: Fixed attributes
8080         * ButtonBase.cs: Fixed attribute
8081         * ImageList.cs: Added missing attributes
8082         * ContainerControl.cs: Fixed signature
8083         * CheckedListBox.cs: Fixed attribute; added missing attributes
8084         * Panel.cs: Fixed attributes
8085         * PropertyTabChangedEventArgs.cs: Added missing attribute
8086         * PropertyValueChangedEventArgs.cs: Added missing attribute
8087         * Binding.cs: Fixed attribute
8088         * ListViewItemConverter: Implemented ListViewSubItemConverter class
8089         * ListBox.cs: Fixed attribute; added missing attributes;
8090         * ScrollableControl.cs: Added missing attributes
8091         * PictureBox.cs: Added missing attributes; implemented missing property
8092         * DateTimePicker.cs: Added missing attributes
8093         * Theme.cs (ToolWindowCaptionHeight): Fixed type
8094         * MonthCalendar.cs: Fixed attributes
8095         * StatusBarPanel.cs: Added missing attributes
8096         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8097
8098 2005-02-16  Peter Bartok  <pbartok@novell.com>
8099
8100         * TextBoxBase.cs: The previous method to enforce height yet remember
8101           the requested high was less than ideal, this is an attempt to do
8102           it better.
8103         * Control.cs: Added comment about possible problem
8104         * Copyright: Updated format
8105         * GridItemType.cs: Fixed swapped values
8106
8107 2005-02-15  Jackson Harper  <jackson@ximian.com>
8108
8109         * BaseCollection.cs: Use property so we never access an
8110         uninitialized list. Also initialize the list in the property.
8111
8112 2005-02-15  Peter Bartok  <pbartok@novell.com>
8113
8114         * GroupBox.cs (ProcessMnemonic): Implemented
8115         * Label.cs (ProcessMnemonic): Implemented
8116         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8117           hotkeys
8118
8119 2005-02-15  Peter Bartok  <pbartok@novell.com>
8120
8121         * RadioButton.cs (ProcessMnemonic): Implemented
8122         * CheckBox.cs (ProcessMnemonic): Implemented
8123         * Control.cs:
8124           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8125             handling
8126           - Added internal method to allow calling ProcessMnemonic from other
8127             controls
8128         * ContainerControl.cs:
8129           - Started support for handling validation chain handling
8130           - Implemented ProcessMnemonic support
8131           - Added Select() call to Active, to make sure the active control
8132             receives focus
8133         * Form.cs: Setting toplevel flag for Forms (this was lost in the
8134           FormParent rewrite)
8135         * ThemeWin32Classic.cs:
8136           - DrawCheckBox(): Fixed stringformat to show hotkeys
8137           - DrawRadioButton(): Fixed stringformat to show hotkeys
8138         * CommonDialog.cs: Removed WndProc override, not needed
8139
8140 2005-02-14  Peter Bartok  <pbartok@novell.com>
8141
8142         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8143           missed those in the rewrite
8144
8145 2005-02-14  Miguel de Icaza  <miguel@novell.com>
8146
8147         * NumericUpDown.cs (Increment, ToString): Add.
8148         (DecimalPlaces): implement.
8149         
8150         Add attributes.
8151         
8152         * UpDownBase.cs: Add the designer attributes.
8153
8154 2005-02-13  Peter Bartok  <pbartok@novell.com>
8155
8156         * Panel.cs: Removed border_style, now in Control
8157         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8158           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8159
8160 2005-02-13  Peter Bartok  <pbartok@novell.com>
8161
8162         * MouseButtons.cs: Added missing attributes
8163         * XplatUIStructs.cs: Added enumeration for title styles
8164         * LeftRightAlignment.cs: Added missing attributes
8165         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8166           it compatible with Graphics.FromHwnd()
8167         * SelectedGridItemChangedEventArgs.cs: Fixed property type
8168         * Keys.cs: Added missing attributes
8169         * SelectionRange.cs: Added missing attributes
8170         * SelectionRangeConverter.cs: Added
8171         * XplatUI.cs:
8172           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8173             ReleaseMenuDC methods
8174           - Renamed ReleaseWindow to UngrabWindow
8175           - Added proper startup notice to allow version identification
8176         * Form.cs:
8177           - Added missing attributes
8178           - Removed FormParent concept
8179         * Label.cs: Removed border_style field, now in Control
8180         * RadioButton.cs: Now properly selects RadioButton when focus is
8181           received
8182         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8183         * Control.cs:
8184           - Added missing attributes
8185           - Added borderstyle handling
8186           - Removed FormParent concept support
8187           - Fixed calls to XplatUI to match changed APIs
8188           - Fixed bug that would case us to use disposed Graphics objects
8189           - Removed unneeded internal methods
8190           - PerformLayout(): Fixed to handle DockStyle.Fill properly
8191           - SelectNextControl(): Fixed to properly check common parents
8192         * TextBoxBase.cs: Removed border_style field (now in Control)
8193         * MessageBox.cs:
8194           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8195             fixed calculations for form size
8196           - Added support for localized strings and icons
8197           - Improved form size calculations, added border
8198         * ListView.cs: Removed border_style field (now in Control)
8199         * X11Structs.cs: Moved several structs from X11 driver here
8200         * X11Keyboard.cs: Changed debug message
8201         * Application.cs: Removed FormParent concept support
8202         * CommonDialog.cs:
8203           - Resetting end_modal flag
8204           - Removed FormParent concept support
8205         * NativeWindow.cs: Removed FormParent concept support
8206         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8207           Client area and Non-Client whole window to allow support for WM_NC
8208           messages
8209         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8210           prevent using it until it supports Hwnd as per Geoff Norton's request
8211         * ToolBar.cs: Fixed drawing, was not doing proper drawing
8212         * PictureBox.cs: Removed border_style field, now in Control
8213         * XplatUIWin32.cs: Added new driver methods
8214
8215 2005-02-12  Peter Bartok  <pbartok@novell.com>
8216
8217         * OpacityConverter.cs: Implemented
8218         * Hwnd.cs: Internal class to support drivers that need to emulate
8219           client area/non-client area window behaviour
8220
8221 2005-02-11  Peter Bartok  <pbartok@novell.com>
8222
8223         * KeysConverter.cs: Implemented
8224
8225 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
8226
8227         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8228         * LinkLabel: Added missing attributes
8229         * MainMenu.cs: fixes ToString
8230         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8231         * ListBox.cs: fixes event position
8232         * TrackBar.cs: adds missing attributes and events
8233         
8234 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
8235
8236         * MenuItem.cs: Use SystemInformation and bug fixes
8237         * MenuAPI.cs: Use SystemInformation and bug fixes
8238
8239 2005-02-09  Jackson Harper  <jackson@ximian.com>
8240
8241         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8242         their keystate otherwise things like VK_MENU get stuck "on".
8243
8244 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
8245
8246         * ListBox.cs: Fixes AddRange bug
8247         
8248 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
8249
8250         * ProgressBar.cs
8251                 - Add missing attributes
8252                 - Add missing method
8253                 
8254         * CheckedListBox.cs: Added missing attributes
8255                 - Add missing attributes
8256                 - Remove extra method
8257         
8258         * ComboBox.cs: Added missing attributes
8259         * VScrollBar.cs: Added missing attributes
8260         * ScrollBar.cs:  Added missing attributes
8261         * ListBox.cs: Fixes signature, add missing consts
8262         * LinkArea.cs:   Added missing attributes
8263         
8264
8265 2005-02-08  Peter Bartok  <pbartok@novell.com>
8266
8267         * Menu.cs: Added missing attributes
8268         * MainMenu.cs: Added missing attributes
8269         * GroupBox.cs: Added missing attributes
8270         * Label.cs: Added missing attributes
8271         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8272         * ColorDialog.cs:
8273           - Added Instance and Options properties
8274           - Added missing attributes
8275         * Cursor.cs: Made Serializable
8276         * NotifyIcon: Added missing attributes
8277         * MenuItem.cs: Added missing attributes
8278         * TextBoxBase.cs: Implemented AppendText() and Select() methods
8279         * Panel.cs: Added Missing attributes
8280         * MonthCalendar.cs: Fixed CreateParams
8281
8282 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8283         
8284         * LinkLabel.cs:
8285                 - Fixes signature
8286                 - Fixes issues with links
8287                 - Adds the class attributes
8288
8289 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8290         
8291         * ComboBox.cs:
8292                 - Fixes button when no items available in dropdown
8293                 - Fixes repainting problems
8294                 - Adds the class attributes
8295                 
8296 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8297
8298         * XplatUIOSX.cs: Detect the menu bar and title bar height from
8299         the current theme.  Cache these on startup.
8300
8301 2005-02-07  Jackson Harper  <jackson@ximian.com>
8302
8303         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8304         the scrollbar buttons when they are depressed.
8305
8306 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8307
8308         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8309         Get the display size from the main displayid.  We currently dont
8310         support multiple display configurations.
8311
8312 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8313
8314         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8315
8316 2005-02-07  Miguel de Icaza  <miguel@novell.com>
8317
8318         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8319
8320 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
8321
8322         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8323
8324 2005-02-04  Jackson Harper  <jackson@ximian.com>
8325
8326         * ThemeWin32Classic.cs: Respect the clipping rect when
8327         drawing. Only fill the intersection of clips and rects so there
8328         isn't a lot of large fills.
8329         * ScrollBar.cs: Pass the correct clipping rect to the theme
8330         engine. Remove some debug code.
8331
8332 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
8333         
8334         * DateTimePicker.cs:
8335                 - Fixed crash on DateTime.Parse, use Constructor instead
8336
8337 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8338         
8339         * MenuItem.cs:
8340         * MenuAPI.cs:
8341                 - Owner draw support (MeasureItem and DrawItem)
8342
8343 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8344         
8345         *  Menu.cs:
8346                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8347                 - Fixes MenuItems.Add range
8348         * MenuItem.cs:
8349                 - MergeMenu and Clone and CloneMenu functions
8350
8351 2005-02-03  Jackson Harper  <jackson@ximian.com>
8352
8353         * ScrollBar.cs: Make abstract
8354         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8355         is abstract.
8356
8357 2005-02-03  Jackson Harper  <jackson@ximian.com>
8358
8359         * ScrollBar.cs: First part of my scrollbar fixups. This removes
8360         all the unneeded refreshes and uses invalidates with properly
8361         computed rects.
8362
8363 2005-02-03  Peter Bartok  <pbartok@novell.com>
8364
8365         * ComponentModel.cs: Added
8366         * IDataGridEditingService.cs: Added
8367         * Timer.cs: Added missing attributes
8368         * ToolTip.cs: Added missing attributes
8369
8370 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
8371
8372         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8373
8374 2005-02-03  Peter Bartok  <pbartok@novell.com>
8375
8376         * ListBox.cs: Added missing attributes
8377
8378 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
8379         
8380         * ListBox.cs:
8381                 - Fixes font height after font change
8382                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8383                 
8384 2005-02-02  Peter Bartok  <pbartok@novell.com>
8385
8386         * HandleData.cs: Introduced static methods to allow class
8387           to be more self-contained and track it's own HandleData objects
8388         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8389           HandleData to use new static methods
8390
8391 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
8392
8393         * Combobox.cs:
8394                 - Fixes default size and PreferredHeight
8395                 - Missing events
8396                 - ObjectCollection.Insert implementation
8397                 
8398         * ListControl.cs
8399                 - Fixes signature
8400         * ListBox.cs:
8401                 - Several fixes
8402                 - ObjectCollection.Insert implementation
8403                 - No selection after clean
8404                 - Small fixes
8405
8406 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8407
8408         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8409
8410 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
8411
8412         * Combobox.cs:
8413                 - Caches ItemHeight calculation for OwnerDrawVariable
8414                 - Handles dropdown properly
8415                 - Fixes several minor bugs
8416
8417 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8418
8419         * ListBox.cs:
8420                 - Fixes 71946 and 71950
8421                 - Fixes changing Multicolumn on the fly
8422                 - Fixes keyboard navigation on Multicolumn listboxes
8423
8424 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8425         
8426         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8427         crash reporter log.
8428
8429 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8430
8431         * XplatUIOSX.cs: Allow applications to actually exit.
8432
8433 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8434
8435         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
8436         their parent at creation time rather than lazily later.  Fixes a major
8437         regression we were experiencing.
8438
8439 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8440
8441         * ThemeWin32Classic.cs: more date time picker painting fixes
8442         * DateTimePicker.cs: more monthcalendar drop down fixes
8443         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8444
8445 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8446
8447         * ScrollBar.cs:
8448                 - When moving the thumb going outside the control should stop the moving
8449                 - Adds the firing of missing events
8450                 - Fixes no button show if Size is not specified
8451                 - End / Home keys for keyboard navigation
8452
8453 2005-01-30  Peter Bartok  <pbartok@novell.com>
8454
8455         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8456           sanity check to prevent theoretical loop
8457         * XplatUIWin32.cs (SetVisible): Removed debug output
8458         * XplatUIX11.cs (SystrayChange): Added sanity check
8459         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8460         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8461           behaviour, valid until the X11 client window rewrite is done
8462         * TextBox.cs (ctor): Setting proper default foreground and background
8463           colors
8464
8465 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
8466
8467         * Theme: Added DrawDateTimePicker to interface
8468         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8469         * DateTimePicker.cs: Created (still needs keys and painting code)
8470         * DateTimePickerFormat.cs: added
8471         * MonthCalendar.cs: fixed CreateParams for popup window mode
8472           
8473 2005-01-29  Peter Bartok  <pbartok@novell.com>
8474
8475         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8476           this should also the calculations for ligher/darker
8477         * Theme.cs: Fixed defaults for ScrollBar widths/heights
8478
8479 2005-01-29  Peter Bartok  <pbartok@novell.com>
8480
8481         * ArrangeDirection.cs: Added
8482         * ArrangeStartingPositon.cs: Added
8483         * SystemInformation.cs: Implemented
8484         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8485           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8486           used by SystemInformation class
8487         * X11Strucs.cs: Added XSizeHints structure
8488         * MenuAPI.cs:
8489           - Fixed CreateParams to make sure the menu window is always visible
8490           - TrackPopupMenu: Added check to make sure we don't draw the
8491             menu offscreen
8492
8493 2005-01-29  Peter Bartok  <pbartok@novell.com>
8494
8495         * HandleData.cs: Added method for altering invalid area
8496         * TextBoxBase.cs: Implemented TextLength
8497
8498 2005-01-28  Peter Bartok  <pbartok@novell.com>
8499
8500         * XplatUIX11.cs: Improvement over last patch, not sending
8501           the WM_PAINT directly anymore, instead we scroll any pending
8502           exposed areas and let the system pick out the WM_PAINT later
8503
8504 2005-01-28  Peter Bartok  <pbartok@novell.com>
8505
8506         * SWF.csproj: Deleted, no longer used. Instead,
8507           Managed.Windows.Forms/SWF.csproj should be used
8508         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8509           directly, to avoid a potential race condition with the next
8510           scroll
8511
8512 2005-01-28  Peter Bartok  <pbartok@novell.com>
8513
8514         * XplatUI.cs: Made class internal
8515
8516 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
8517
8518         * CheckedListBox.cs:
8519                 - Draw focus
8520                 - Fixed Drawing
8521                 - Missing methods and events
8522
8523 2005-01-27  Peter Bartok  <pbartok@novell.com>
8524
8525         * Application.cs (Run): Don't use form if we don't have one
8526
8527 2005-01-27  Peter Bartok  <pbartok@novell.com>
8528
8529         * TextBoxBase.cs (get_Lines): Fixed index off by one error
8530
8531 2005-01-27  Peter Bartok  <pbartok@novell.com>
8532
8533         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8534         * GridItem.cs: Added; Patch by Jonathan S. Chambers
8535         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8536         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8537         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8538         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8539         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8540         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8541         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8542         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8543         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8544         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8545
8546 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8547
8548         * Combobox.cs:
8549                 - Draw focus on Simple Combobox
8550                 - Fixes drawing issues
8551                 - fixes 71834
8552
8553 2005-01-27  Peter Bartok  <pbartok@novell.com>
8554
8555         * Form.cs:
8556           - Place window in default location, instead of hardcoded 0/0
8557           - Send initial LocationChanged event
8558         * Control.cs:
8559           - UpdateBounds after creation to find out where the WM placed us
8560           - Make sure that if the ParentForm changes location the Form
8561             is notified
8562         * XplatUIX11.cs: XGetGeometry will not return the coords relative
8563             to the root, but to whatever the WM placed around us.
8564             Translate to root coordinates before returning toplevel
8565             coordinates
8566         * XplatUIWin32.cs: Removed debug output
8567         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8568           flag to GetWindowPos, to allow translation of coordinates on X11
8569
8570 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8571
8572         * ListBox.cs: connect LostFocus Event
8573
8574 2005-01-27  Peter Bartok  <pbartok@novell.com>
8575
8576         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8577           XplatUIX11.cs: Extended the Systray API
8578         * Form.cs: Removed debug output
8579         * Application.cs: Fixed focus assignment, always need to call
8580           XplatUI.Activate() since Form.Activate() has rules that may
8581           prevent activation
8582         * NotifyIcon.cs: Should be complete now
8583         * ToolTip.cs: Worked around possible timer bug
8584
8585 2005-01-27  Jackson Harper  <jackson@ximian.com>
8586
8587         * TabControl.cs:
8588         - Only invalidate the effected tabs when the
8589         selected index changes. This reduces drawing and gets rid of some
8590         flicker.
8591         - Only refresh if the tabs need to be shifted, otherwise only
8592         invalidate the slider button.
8593         - On windows the tabs are not filled to right if the slider is
8594         visible.
8595         
8596 2005-01-27  Jackson Harper  <jackson@ximian.com>
8597
8598         * TabControl.cs: Only refresh on mouseup if we are showing the
8599         slider. Also only invalidate the button whose state has changed.
8600
8601 2005-01-26  Peter Bartok  <pbartok@novell.com>
8602
8603         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8604         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8605           and SystrayRemove() methods
8606         * XplatUIOSX.cs: Stubbed Systray methods
8607         * XplatUIX11.cs:
8608           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8609             methods
8610           - Fixed broken XChangeProperty calls (marshalling messed up things)
8611         * X11Structs.cs: Added enums and structs required for Size hinting
8612         * NotifyIcon.cs: Added & implemented
8613
8614 2005-01-26  Jackson Harper  <jackson@ximian.com>
8615
8616         * TabControl.cs: Space vertically layed out tabs properly.
8617
8618 2005-01-26  Peter Bartok  <pbartok@novell.com>
8619
8620         * Form.cs (CreateClientParams): Always set the location to 0,0
8621           since we're a child window.
8622
8623         * Control.cs (SetVisibleCore): Always explicitly setting the location
8624           of a toplevel window, apparently X11 doesn't like to move windows
8625           while they're not mapped.
8626
8627 2005-01-26  Jackson Harper  <jackson@ximian.com>
8628
8629         * TabControl.cs: Implement FillToRight size mode with vertically
8630         rendered tabs.
8631
8632 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8633
8634         * ControlPaint.cs, ThemeWin32Classic.cs
8635                 - Fixes DrawFocusRectangle
8636
8637 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8638
8639         * MenuAPI.cs:
8640                 - MenuBar tracking only starts when item is first clicked
8641                 - Fixes menu hidding for multiple subitems
8642                 - Unselect item in MenuBar when item Executed
8643                 - Fixes bug 71495
8644
8645 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8646
8647         * ListControl.cs:
8648                 - IsInputKey for ListBox
8649         * ListBox.cs:
8650                 - Focus item
8651                 - Shift and Control item selection
8652                 - Implement SelectionMode.MultiExtended
8653                 - Fixes RightToLeft
8654         * ComboBox.cs:
8655                 - IsInputKey implemented
8656                 - Do not generate OnTextChangedEdit on internal txt changes
8657                 
8658 2005-01-23  Peter Bartok  <pbartok@novell.com>
8659
8660         * AccessibleObject.cs: Partially implemented Select()
8661         * MonthCalendar.cs: Added missing attributes and events
8662         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8663           form can properly override CreateParams.
8664         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8665           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8666           Control performs Invalidate & Update
8667         * NativeWindow (CreateHandle): Added special handling for Form
8668           and Form.FormParent classes to allow overriding of From.CreateParams
8669         * Control.cs:
8670           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8671             name 'owner'
8672           - ControlNativeWindow: Added Owner property
8673           - Removed usage of Refresh() on property changes, changed into
8674             Invalidate(), we need to wait until the queue is processed for
8675             updates, direct calls might cause problems if not all vars for
8676             Paint are initialized
8677           - Added call to UpdateStyles() when creating the window, to set any
8678             styles that CreateWindow might have ignored.
8679           - Added support for Form CreateParent overrides to UpdateStyles()
8680         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8681           CreateParams are now properly overridable
8682         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8683           CreateParams are now properly overridable
8684
8685 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8686
8687         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8688         OnTextBoxChanged.
8689
8690         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8691         recursive invocation that I have not figured out yet.
8692
8693         Reset the timer when not using (it was accumulating).
8694
8695
8696         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8697         user has made changes that require validation.
8698
8699         Reset changing to avoid loops.
8700
8701 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8702
8703         * NumericUpDown.cs: Display value at startup.
8704
8705         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8706         ValidateEditText.
8707
8708         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8709         filled in.  Added some basic parsing of text.
8710
8711         Still missing the OnXXX method overrides, and figuring out the
8712         events that must be emitted.
8713
8714         * UpDownBase.cs: Handle UserEdit on the Text property.
8715         
8716 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8717
8718         * ComboBox.cs:
8719           - Fixes IntegralHeight
8720           - ToString method
8721
8722 2005-01-21  Jackson Harper  <jackson@ximian.com>
8723
8724         * TabControl.cs: Set the SelectedIndex property when SelectedTab
8725         is set so that the page visibility is updated and the tabs are
8726         sized correctly.
8727
8728 2005-01-21  Jackson Harper  <jackson@ximian.com>
8729
8730         * TabControl.cs: Use cliping rectangle for blitting. Give the
8731         theme the clipping rect so we can do clipping while
8732         drawing. Remove some debug code.
8733
8734 2005-01-21  Jackson Harper  <jackson@ximian.com>
8735
8736         * TabPage.cs: Add a new method so tab pages can force the tab
8737         control to recalculate the tab page sizes.
8738         * TabControl.cs: UpdateOwner needs to make the tab control recalc
8739         sizes.
8740
8741 2005-01-20  Jackson Harper  <jackson@ximian.com>
8742
8743         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8744
8745 2005-01-20  Jackson Harper  <jackson@ximian.com>
8746
8747         * TreeView.cs: Set the bounds for nodes properly. They were
8748         getting screwed up when checkboxes were not enabled, but images
8749         were.
8750
8751 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
8752
8753         * ListBox.cs:
8754                 - Owner draw support
8755                 - Fixes
8756                 
8757 2005-01-20  Jackson Harper  <jackson@ximian.com>
8758
8759         * XplatUIStructs.cs: More misc keys
8760         * X11Keyboard.cs: Ignore some control keys.
8761
8762 2005-01-20  Jackson Harper  <jackson@ximian.com>
8763
8764         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8765         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8766
8767 2005-01-19  Peter Bartok  <pbartok@novell.com>
8768
8769         * Control.cs: Un-selecting the control when it is loosing focus
8770
8771 2005-01-19  Jackson Harper  <jackson@ximian.com>
8772
8773         * TreeView.cs: Hook up to the text controls leave event so we can
8774         end editing when the users clicks outside the text box.
8775         
8776 2005-01-19  Jackson Harper  <jackson@ximian.com>
8777
8778         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8779         get set in the conversion array.
8780
8781 2005-01-19  Peter Bartok  <pbartok@novell.com>
8782
8783         * Application.cs (ModalRun): Added a call to CreateControl to ensure
8784           focus is properly set
8785         * Button.cs:
8786           - Added missing attributes
8787           - removed styles, those are already set in the base class
8788         * ButtonBase.cs:
8789           - Added missing attributes
8790           - Added clip window styles
8791         * CheckBox.cs: Added missing attributes
8792         * CommonDialog.cs:
8793           - FormParentWindow.CreateParams: Added required clip styles
8794         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8795           also filters modifier keys
8796         * MessageBox.cs:
8797           - Added assignment of Accept and Cancel button to enable Enter
8798             and Esc keys in MessageBox dialogs
8799           - FormParentWindow.CreateParams: Added required clip styles
8800         * RadioButton.cs: Added missing attributes
8801         * TextControl.cs: No longer draws selection if control does not
8802           have focus
8803         * TextBoxBase.cs:
8804           - Now draws simple rectangle around test area to make it obvious
8805             there's a control. This is a hack until we properly support borders
8806           - A few simple fixes to support selections better, now erases selected
8807             text when typing, and resets selection when using movement keys
8808
8809 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
8810
8811         * UpDownBase.cs: Added some new properties.
8812
8813         * DomainUpDown.cs: Implement a lot to get my test working.
8814
8815 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8816
8817         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8818
8819 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8820
8821         * OSXStructs (WindowAttributes): Fixed csc complaints
8822
8823 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8824
8825         * XplayUIOSX.cs:
8826           OSXStructs.cs: Initial refactor to move enums and consts into
8827           OSXStructs and use them in the driver for greater readability.
8828
8829 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8830
8831         * XplatUIOSX.cs: Initial support for Standard Cursors.
8832         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8833
8834 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
8835
8836         * ComboBox.cs: ability to change style when the ctrl is already
8837         created, missing methods and events, bug fixes, signature fixes
8838
8839 2005-01-19  Peter Bartok  <pbartok@novell.com>
8840
8841         * Cursors.cs (ctor): Added ctor to fix signature
8842
8843 2005-01-18  Peter Bartok  <pbartok@novell.com>
8844
8845         * Button.cs: Implemented DoubleClick event
8846         * ButtonBase.cs:
8847           - Fixed keyboard handling to behave like MS, where the press of
8848             Spacebar is equivalent to a mousedown, and the key release is
8849             equivalent to mouseup. Now a spacebar push will give the same
8850             visual feedback like a mouse click.
8851           - Added missing attributes
8852           - Added ImeModeChanged event
8853           - Added support for generating DoubleClick event for derived classes
8854         * CheckBox.cs:
8855           - Implemented DoubleClick event
8856           - Added missing attributes
8857         * CommonDialog.cs: Added missing attribute
8858         * ContextMenu.cs: Added missing attributes
8859         * RadioButton.cs:
8860           - AutoChecked buttons do not allow to be unselected when clicked
8861             (otherwise we might end up with no selected buttons in a group)
8862           - Added missing attributes
8863           - Implemented DoubleClickEvent
8864         * ThreadExceptionDialog.cs: Enabled TextBox code
8865
8866 2005-01-18  Peter Bartok  <pbartok@novell.com>
8867
8868         * Form.cs: Removed debug output
8869         * Button.cs: Added support for DoubleClick method
8870
8871 2005-01-18  Peter Bartok  <pbartok@novell.com>
8872
8873         * Form.cs:
8874           - Added method to parent window that allows triggering size
8875             calculations when a menu is added/removed
8876           - set_Menu: Cleaned up mess from early days of Form and Control,
8877             now properly triggers a recalc when a menu is added/removed
8878           - Added case to select form itself as focused form if no child
8879             controls exist
8880           - Added PerformLayout call when showing dialog, to ensure properly
8881             placed controls
8882         * Control.cs:
8883           - Select(): Made internal so Form can access it
8884           - Focus(): Only call Xplat layer if required (avoids loop), and sets
8885             status
8886         * Application.cs (Run): Removed hack and calls PerformLayout instead
8887           to trigger calculation when Form becomes visible
8888
8889 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
8890
8891         * ComboBox.cs: fixes for ownerdraw
8892
8893 2005-01-18  Peter Bartok  <pbartok@novell.com>
8894
8895         * TextControl.cs:
8896           - Sentinel is no longer static, each Document gets it's own, this
8897             avoids locking or alternatively overwrite problems when more
8898             than one text control is used simultaneously.
8899           - Switched to use Hilight and HilightText brushes for text selection
8900
8901         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8902
8903 2005-01-18  Peter Bartok  <pbartok@novell.com>
8904
8905         * Control.cs:
8906           - Hooked up the following events:
8907                 o ControlAdded
8908                 o ControlRemoved
8909                 o HandleDestroyed
8910                 o ImeModeChanged
8911                 o ParentChanged
8912                 o TabStopChanged
8913                 o Invalidated
8914                 o SystemColorsChanged
8915                 o ParentFontChanged
8916                 o Move
8917           - Removed debug output
8918           - Added a call to the current theme's ResetDefaults when a color change
8919             is detected
8920         * Form.cs: Now setting the proper ImeMode
8921         * Theme.cs: Defined a method to force recreation of cached resources
8922           and rereading of system defaults (ResetDefaults())
8923         * ThemeWin32Classic.cs: Added ResetDefaults() stub
8924
8925 2005-01-17  Peter Bartok  <pbartok@novell.com>
8926
8927         * Control.cs: Added missing attributes
8928
8929 2005-01-17  Jackson Harper  <jackson@ximian.com>
8930
8931         * TreeNode.cs: Implement editing. Add missing properties selected
8932         and visible.
8933         * TreeView.cs: Implement node editing. Also some fixes to use
8934         Invalidate (invalid area) instead of Refresh when selecting.
8935
8936 2005-01-17  Peter Bartok  <pbartok@novell.com>
8937
8938         * Control.cs:
8939           - Implemented InvokeGotFocus() method
8940           - Implemented InvokeLostFocus() method
8941           - Implemented InvokePaint() method
8942           - Implemented InvokePaintBackground() method
8943           - Implemented InvokeClick() method
8944           - Implemented FindForm() method
8945           - Implemented RectangleToClient() method
8946           - Implemented ClientToRectangle() method
8947           - Implemented ResetBackColor() method
8948           - Implemented ResetCursor() method
8949           - Implemented ResetFont() method
8950           - Implemented ResteForeColor() method
8951           - Implemented ResetImeMode() method
8952           - Implemented ResetLeftToRight() method
8953           - Implemented ResetText() method
8954           - Implemented Scale() methods
8955           - Implemented ScaleCore() method
8956           - Implemented Update() method
8957           - Removed unused variables
8958           - Stubbed AccessibilityNotifyClients and
8959             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8960             with those yet)
8961           - Now setting proper default for RightToLeft property
8962           - Fixed bug in SetClientSizeCore that would cause windows to get
8963             really big
8964           - Now sending Click/DoubleClick events
8965           - Now selecting controls when left mouse button is clicked on
8966             selectable control
8967         * AccessibleEvents.cs: Added
8968         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8969         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8970         * XplatUIWin32.cs: Implemented UpdateWindow() method
8971         * XplatUIX11.cs: Implemented UpdateWindow() method
8972         * Form.cs: Removed stray semicolon causing CS0162 warning
8973         * ThemeWin32Classic.cs: Fixed unused variable warnings
8974         * ScrollableControl.cs: Now calls base method for ScaleCore
8975         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8976           style to avoid interference with internal click handler (which is
8977           different than standard Control click handling)
8978         * RadioButton.cs:
8979           - Now unchecks all sibling radio buttons when control is
8980             selected (Fixes #68756)
8981           - Removed internal tabstop variable, using the one inherited from
8982             Control
8983
8984 2005-01-17  Jackson Harper  <jackson@ximian.com>
8985
8986         * NavigateEventArgs.cs: Fix base type.
8987         * LinkLabel.cs: Sig fix
8988         
8989 2005-01-17  Jackson Harper  <jackson@ximian.com>
8990
8991         * TreeView.cs: Only invalidate the effected nodes bounds when
8992         selecting nodes.
8993
8994 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8995
8996         * XplatUIWin32.cs: fixes Win32 marshaling
8997         * XplatUIX11.cs: fixes method signature
8998
8999 2005-01-17  Peter Bartok  <pbartok@novell.com>
9000
9001         * XplatUIX11.cs: Clean up resources when we no longer need them
9002
9003 2005-01-17  Peter Bartok  <pbartok@novell.com>
9004
9005         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9006           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9007           and DestroyCursor() methods.
9008         * Cursor.cs: Partially implemented, now supports standard cursors;
9009           still contains some debug code
9010         * Cursors.cs: Implemented class
9011         * Control.cs:
9012           - WndProc(): Added handling of WM_SETCURSOR message, setting the
9013             appropriate cursor
9014           - Implemented Cursor property
9015           - Replaced break; with return; more straightforwar and possibly
9016             faster
9017           - Now properly setting the result for WM_HELP
9018         * X11Structs.cs: Added CursorFontShape enum
9019         * XplatUIStructs.cs:
9020           - Added StdCursor enum (to support DefineStdCursor() method)
9021           - Added HitTest enum (to support sending WM_SETCURSOR message)
9022         * XplatUIX11.cs:
9023           - Now sends the WM_SETCURSOR message
9024           - Implemented new cursor methods
9025         * XplatUIOSX.cs: Stubbed new cursor methods
9026         * XplatUIWin32.cs:
9027           - Implemented new cursor methods
9028           - Added GetSystemMetrics function and associated enumeration
9029
9030 2005-01-15  Peter Bartok  <pbartok@novell.com>
9031
9032         * Control.cs:
9033           - WndProc(): Now handles EnableNotifyMessage
9034           - SelectNextControl(): Fixed bug where if no child or sibling
9035             controls exist we looped endlessly
9036
9037 2005-01-14  Jackson Harper  <jackson@ximian.com>
9038
9039         * TreeView.cs: Recalculate the tab pages when a new one is added
9040         so that the proper bounding rects are created.
9041
9042 2005-01-14  Jackson Harper  <jackson@ximian.com>
9043
9044         * TreeView.cs: Draw a gray box instead of a grip in the lower
9045         right hand corner when there are both horizontal and vertical
9046         scroll bars.
9047
9048 2005-01-14  Jackson Harper  <jackson@ximian.com>
9049
9050         * Control.cs: When erasing backgrounds use FromHwnd instead of
9051         FromHdc when there is a NULL wparam. This occurs on the X driver.
9052         * XplatUIX11.cs: Set the wparam to NULL.
9053
9054 2005-01-13  Jackson Harper  <jackson@ximian.com>
9055
9056         * PictureBox.cs: Implement missing methods (except ToString, need
9057         to test that on windows) and events. When visibility is changed we
9058         need to redraw the image because the buffers are killed. When size
9059         is changed refresh if the sizemode needs it.
9060
9061 2005-01-13  Peter Bartok  <pbartok@novell.com>
9062
9063         * Control.cs (SelectNextControl): Was using wrong method to select
9064           a control
9065
9066 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
9067
9068         * ComboBox.cs: fixes dropstyle
9069
9070 2005-01-13  Peter Bartok  <pbartok@novell.com>
9071
9072         * Form.cs:
9073           - Implemented Select() override
9074           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9075           - Now sets keyboard focus on startup
9076         * Control.cs (SelectNextControl): Now properly handles directed=true
9077         * TextBoxBase.cs:
9078           - WndProc: Now passes tab key on to base if AcceptTabChar=false
9079           - Added (really bad) focus rectangle (mostly for testing)
9080         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9081           to enforce redraw on focus changes
9082         * ContainerControl.cs:
9083           - Fixed detection of Shift-Tab key presses
9084           - Fixed traversal with arrow keys
9085         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9086           gonna keep this or if it's complete yet
9087         
9088 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
9089
9090         * ComboBox.cs: missing properties, fixes
9091
9092 2005-01-13  Peter Bartok  <pbartok@novell.com>
9093
9094         * Panel.cs (ctor): Setting Selectable window style to off
9095         * Splitter.cs (ctor): Setting Selectable window style to off
9096         * GroupBox.cs (ctor): Setting Selectable window style to off
9097         * Label.cs (ctor): Setting Selectable window style to off
9098
9099 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
9100
9101         * UpDownBase.cs (InitTimer): If the timer has been already
9102         created, enable it.
9103
9104         Use a TextBox instead of a Label.
9105
9106 2005-01-12  Jackson Harper  <jackson@ximian.com>
9107
9108         * TreeView.cs: Refresh the tree after sorting the nodes. Always
9109         draw the connecting node lines (when ShowLines is true).
9110         * TreeNode.cs: The nodes index can now be updated. This is used
9111         when a node collection is sorted.
9112         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9113         insert or an existing unsorted node collection can be sorted.
9114         
9115 2005-01-12  Peter Bartok  <pbartok@novell.com>
9116
9117         * ContainerControl.cs: Implemented ProcessDialogKeys()
9118
9119 2005-01-12  Peter Bartok  <pbartok@novell.com>
9120
9121         * Control.cs:
9122           - Implemented SelectNextControl() method
9123           - Several focus related bug fixes
9124           - Fixed Docking calculations to match MS documentation and
9125             behaviour
9126
9127 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
9128
9129         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9130         bug fixes
9131
9132 2005-01-12  Peter Bartok  <pbartok@novell.com>
9133
9134         * Control.cs:
9135           - Fixed broken Contains() method
9136           - Implemented GetNextControl() method. Finally. This is the pre-
9137             requisite for focus handling.
9138
9139 2005-01-12  Peter Bartok  <pbartok@novell.com>
9140
9141         * OSXStrucs.cs: Added
9142
9143 2005-01-12  Peter Bartok  <pbartok@novell.com>
9144
9145         * XplatUIWin32.cs:
9146           - Removed PeekMessageFlags
9147           - Implemented SetWindowStyle() method
9148         * XplatUIStructs.cs: Added PeekMessageFlags
9149         * X11Structs: Added missing border_width field to XWindowChanges struct
9150         * XplatUIX11.cs:
9151           - PeekMessage: Now throws exception if flags which are not yet
9152             supported are passed
9153           - Implemented SetWindowStyle() method
9154           - Fixed SetZOrder to handle AfterHwnd properly
9155         * XplatUI.cs: Added SetWindowStyle() method
9156         * XplatUIDriver.cs: Added SetWindowStyle() abstract
9157         * Control.cs:
9158           - Implemented UpdateStyles() method
9159           - Implemented UpdateZOrder() method
9160         * XplatUIOSX.cs: Added SetWindowStyle() stub
9161
9162 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
9163
9164         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9165         button mouse).
9166
9167
9168 2005-01-11  Jackson Harper  <jackson@ximian.com>
9169
9170         * TreeView.cs: Still need to draw lines to siblings even if out of
9171         the current node is out of the clip.
9172
9173 2005-01-11  Jackson Harper  <jackson@ximian.com>
9174
9175         * TreeView.cs: When setting the hbar/vbar/grip position use
9176         SetBounds so that perform layout is only called once. Also suspend
9177         and resume layout so layout is only done once for all controls.
9178         - Removed some debug fluff
9179         * SizeGrip.cs: Call base implmentation in overriding methods.
9180         - When visibility is changed the drawing buffers are killed so we
9181         need to redraw.
9182
9183 2005-01-11  Jackson Harper  <jackson@ximian.com>
9184
9185         * TreeView.cs: Calculate the open node count while drawing. This
9186         saves us an entire tree traversal for every paint operation. Use
9187         a member var for the open node count so less vars are passed around.
9188
9189 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
9190
9191         * MonthCalendar.cs:
9192         - fixed selection to use mousemove, not mouse polling on timer
9193         * ThemeWin32Classic.cs
9194         - removed redundant unused variable "no_more_content"
9195         
9196 2005-01-11  Peter Bartok  <pbartok@novell.com>
9197
9198         * XplatUIX11.cs (DoEvents): Needs to return when no more events
9199           are pending, so it now calls PeekMessage instead of GetMessage;
9200           implemented a incomplete version of PeekMessage
9201         
9202 2005-01-11  Peter Bartok  <pbartok@novell.com>
9203
9204         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9205           I18n issues
9206         * TextBoxBase.cs: Added sending of TextChanged event
9207
9208 2005-01-10  Jackson Harper  <jackson@ximian.com>
9209
9210         * TreeView.cs: Try not to draw outside the clipping rectangle on
9211         each node element.
9212
9213 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
9214
9215         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9216
9217 2005-01-10  Jackson Harper  <jackson@ximian.com>
9218
9219         * TreeView.cs:
9220         - Implement fast scrolling. Now only the newly
9221         exposed nodes are drawn and the old image is moved using the
9222         XplatUI::ScrollWindow method.
9223         - Factor in height of nodes when calculating whether or not the
9224         node is in the clipping rect.
9225
9226 2005-01-10  Jackson Harper  <jackson@ximian.com>
9227
9228         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9229
9230 2005-01-10  Peter Bartok  <pbartok@novell.com>
9231
9232         * Application.cs: Added temporary hack to resolve all our resize
9233           required issues on startup. This will get fixed properly at
9234           some point in the future
9235
9236 2005-01-10  Jackson Harper  <jackson@ximian.com>
9237
9238         * SizeGrip.cs: New internal class that is used as a sizing
9239         grip control...hence the name.
9240
9241 2005-01-10  Peter Bartok  <pbartok@novell.com>
9242
9243         * Control.cs: Implemented proper TabIndex handling, now assigning
9244           a tabindex when a control is added to a container
9245         * GroupBox.cs (ctor): Now sets the Container style bit, required
9246           for Control.GetNextControl()
9247
9248 2005-01-09  Jackson Harper  <jackson@ximian.com>
9249
9250         * TextBoxBase.cs: Clear window when scrolling (fixes build).
9251
9252 2005-01-09  Peter Bartok <pbartok@novell.com>
9253
9254         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9255           XplatUIX11.cs: Added ability to control ScrollWindow expose and
9256           an overload for ScrollWindow to allow only scrolling a rectangle
9257
9258 2005-01-09  Peter Bartok <pbartok@novell.com>
9259
9260         * Form.cs:
9261           - Implemented SetDesktopBounds method
9262           - Implemented SetDesktopLocation method
9263
9264 2005-01-08  Jackson Harper  <jackson@ximian.com>
9265
9266         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9267         the node count has changed, this removes to VScroll::Refresh calls
9268         when drawing.
9269
9270 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
9271
9272         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9273
9274 2005-01-07  Jackson Harper  <jackson@ximian.com>
9275
9276         * TreeNode.cs: Just update the single node when it is
9277         checked. Don't refresh after toggling, the Expand/Collapse already
9278         handles this.
9279         * TreeView.cs: Respect clipping a little more when drawing. Try
9280         not to redraw things that don't need to be redrawn. Just hide the
9281         scrollbars when they are no longer needed instead of removing
9282         them, so they don't have to be created again and again.
9283         
9284 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
9285
9286         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
9287         coordinates to window space to place the caret properly, FIXED.
9288         Implement GetWindowState & SetWindowState
9289
9290 2005-01-06  Peter Bartok <pbartok@novell.com>
9291
9292         * Form.cs:
9293           - Implemented ClientSize property
9294           - Implemented DesktopBounds property
9295           - Implemented DesktopLocation property
9296           - Implemented IsRestrictedWindow property
9297           - Implemented Size property
9298           - Implemented TopLevel property
9299           - Implemented FormWindowState property
9300         * Control.cs:
9301           - Implemented GetTopLevel() method
9302           - Implemented SetTopLevel() method
9303         * X11Structs.cs (Atom):
9304           - Added AnyPropertyType definition
9305           - Added MapState definiton and updated XWindowAttribute struct
9306         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9307         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9308         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9309         * XplatUIWin32.cs:
9310           - Implemented GetWindowState() and SetWindowState() methods
9311           - Fixed Win32GetWindowLong return type
9312         * XplatUIX11.cs:
9313           - Introduced central function for sending NET_WM messages
9314           - Implemented GetWindowState() and SetWindowState() methods
9315         * TextBoxBase.cs (set_Lines):
9316           - Now uses Foreground color for text added via Text property (Duh!)
9317           - Added code to remember programmatically requested size (fixes
9318             behaviour when Multiline is set after Size)
9319           - Added AutoSize logic
9320
9321 2005-01-06  Jackson Harper  <jackson@ximian.com>
9322
9323         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9324
9325 2005-01-06  Jackson Harper  <jackson@ximian.com>
9326
9327         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9328         set to less then 0.
9329
9330 2005-01-06  Jackson Harper  <jackson@ximian.com>
9331
9332         * ScrollableControl.cs: Lazy init the scrollbars.
9333         
9334 2005-01-06  Jackson Harper  <jackson@ximian.com>
9335
9336         * Theme.cs: Speed up getting pens and solid brushes, by using
9337         their ARGB as a hash instead of tostring and not calling Contains.
9338
9339 2005-01-06  Peter Bartok <pbartok@novell.com>
9340
9341         * Form.cs:
9342           - Implemented OnActivated and OnDeactivate event trigger
9343           - Implemented Activate() method
9344           - Fixed ShowDialog() to activate the form that was active before
9345             the dialog was shown
9346         * XplatUIX11.cs:
9347           - Added global active_window var that tracks the currently active
9348             X11 window
9349           - Now always grabs Property changes from the root window to always
9350             catch changes on the active window property
9351           - Added code to PropertyNotify handler to send Active/Inactive
9352             messages when state changes. This puts X11 and Win32 en par on
9353             WM_ACTIVATE notifications (except for double notifications when
9354             the user clicks away from our modal window to another one of our
9355             windows)
9356
9357 2005-01-05  Jackson Harper  <jackson@ximian.com>
9358
9359         * ImageList.cs: Implment ctor
9360
9361 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9362
9363         * XplatUIOSX.cs: Implement Activate/SetTopmost
9364
9365 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9366
9367         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9368
9369 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9370
9371         * XplatUIOSX.cs: Implement GetActive/SetFocus.
9372
9373 2005-01-05  Peter Bartok <pbartok@novell.com>
9374
9375         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9376           XplatUIOSX.cs: Added GetActive method to return the currently
9377           active window for the application (or null, if none is active)
9378         * Form.cs:
9379           - Implemented ActiveForm
9380           - Commented out owner assignment for modal dialogs (causes problems
9381             on Win32, since the owner will be disabled)
9382           - Reworked some Active/Focus handling (still incomplete)
9383         * CommonDialog.cs: Commented out owner assignment for modal dialogs
9384           (causes problems on Win32, since the owner will be disabled)
9385         * IWin32Window: Added ComVisible attribute
9386
9387 2005-01-05  Peter Bartok <pbartok@novell.com>
9388
9389         * ToolTip.cs (WndProc): Enable setting focus now that we have the
9390           required XplatUI functions.
9391
9392 2005-01-05  Peter Bartok <pbartok@novell.com>
9393
9394         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9395           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9396           to implement focus and activation handling; still incomplete and
9397           with debug output
9398
9399 2005-01-04  Peter Bartok <pbartok@novell.com>
9400
9401         * TextBoxBase.cs: Changed access level for Document property to
9402           match switch to internal for TextControl
9403
9404 2005-01-04  Peter Bartok <pbartok@novell.com>
9405
9406         * AccessibleObject: Added ComVisible attribute
9407
9408 2005-01-04  Jackson Harper  <jackson@ximian.com>
9409
9410         * X11Keyboard.cs: Remove unneeded var.
9411
9412 2005-01-04  Jackson Harper  <jackson@ximian.com>
9413
9414         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9415         but PAINT.
9416         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9417         ClientMessage. This makes apps exit cleanly (more often).
9418         
9419 2005-01-04  Jackson Harper  <jackson@ximian.com>
9420
9421         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9422         handling focus, return correct colors and fonts,
9423         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9424         handle selection, horizontal scrolling, and mouse interaction.
9425
9426 2005-01-04  Peter Bartok <pbartok@novell.com>
9427
9428         * ICommandExecutor.cs: Added
9429         * IDataGridColumnStyleEditingNotificationService.cs: Added
9430         * IFeatureSupport.cs: Added
9431         * IFileReaderService.cs: Added
9432         * IDataObject.cs: Added ComVisible attribute
9433         * AmbientProperties.cs: Added
9434         * BaseCollection.cs: Added missing attributes
9435         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9436         * BaseCollection.cs: Added missing attributes
9437         * Binding.cs: Added TypeConverter attribute
9438         * BindingContext.cs: Added DefaultEvent attribute
9439         * BindingsCollection.cs: Added DefaultEvent attribute
9440         * Button.cs: Added DefaultValue attribute
9441         * DragEventArgs.cs: Added ComVisible attribute
9442         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9443         * KeyEventArgs.cs: Added ComVisible attribute
9444         * KeyPressEventArgs.cs: Added ComVisible attribute
9445         * MouseEventArgs.cs: Added ComVisible attribute
9446         * NavigateEventArgs.cs: Added
9447         * NavigateEventHandler.cs: Added
9448         * FeatureSupport.cs: Added
9449         * OSFeature.cs: Added
9450         * Theme.cs: Added abstract Version property to support OSFeature
9451         * ThemeWin32Classic.cs: Added Version property to
9452           support OSFeature.Themes
9453         * ProgressBar.cs: Removed OnPaintBackground override, not required since
9454           the proper styles to avoid background drawing are set, also doesn't
9455           match MS signature
9456         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9457         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9458         * ScrollEventArgs.cs: Added ComVisible attribute
9459         * SplitterEventArgs.cs: Added ComVisible attribute
9460         * AccessibleSelection.cs: Added Flags attribute
9461         * Appearance.cs: Added ComVisible attribute
9462         * Border3DSide.cs: Added ComVisible attribute
9463         * Border3DStyle.cs: Added ComVisible attribute
9464         * BorderStyle.cs: Added ComVisible attribute
9465         * DragAction.cs: Added ComVisible attribute
9466         * ErrorBlinkStyle.cs: Added
9467         * ScrollEventType.cs: Added ComVisible attribute
9468         * AnchorStyles.cs: Added Editor attribute
9469         * DockStyle.cs: Added Editor attribute
9470         * HorizontalAlignment.cs: Added ComVisible attribute
9471         * HelpEventArgs.cs: Added ComVisible attribute
9472         * PaintEventArgs.cs: Added IDisposable
9473
9474 2005-01-04  Peter Bartok <pbartok@novell.com>
9475
9476         * TextControl.cs: Switched Line, LineTag and Document classes to
9477           internal
9478
9479 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9480
9481         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9482         Simple mode, fixes, IntegralHeight, etc.
9483
9484 2005-01-04  Peter Bartok <pbartok@novell.com>
9485
9486         * TextBoxBase.cs: Using proper font variable now
9487
9488 2005-01-04  Peter Bartok <pbartok@novell.com>
9489
9490         * Form.cs (ShowDialog): Set parent to owner, if provided
9491         * GroupBox.cs: Removed unused vars
9492         * TextControl.cs:
9493           - Added GetHashCode() for Document and LineTag classes
9494           - Removed unused variables
9495           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9496             to allow translation between continuous char position and line/pos
9497         * CheckBox.cs: Removed vars that are provided by base class
9498         * RadioButton.cs: Removed vars that are provided by base class, added
9499           new keyword where required
9500         * LinkLabel.cs: Added new keyword where required
9501         * Control.cs (WndProc): Removed unused variable
9502         * TextBoxBase.cs:
9503           - Finished SelectionLength property
9504           - Implemented SelectionStart property
9505           - Implemented Text property
9506           - Removed unused vars
9507         * MessageBox.cs: Added new keyword where required
9508         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9509           WndProc signature
9510         * MenuAPI.cs: Added new keyword where required
9511         * ButtonBase.cs: Removed vars that are provided by base class, added
9512           new keyword where required
9513         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9514           argument to double, to allow compiling with csc 2.0 (Atsushi ran
9515           into this)
9516         * Application.cs (Run): Now triggers the ThreadExit event
9517         * CommonDialog.cs: Added new keyword where required; now properly sets
9518           parent (owner) for dialog
9519         * XplatUIX11.cs: Commented out unused vars
9520         * StatusBar.cs: Fixed signature for Text property
9521         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9522
9523 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9524
9525         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9526         TrackBar.cs, MonthCalendar.cs: remove unused vars
9527
9528 2005-01-03  Jackson Harper  <jackson@ximian.com>
9529
9530         * ThemeWin32Classic.cs:
9531         * X11Keyboard.cs: Remove unused vars.
9532
9533 2005-01-03  Peter Bartok  <pbartok@novell.com>
9534
9535         * TextBox.cs:
9536           - set_Text: Tied into TextControl
9537           - set_TextAlignment: Tied into TextControl
9538         * TextControl.cs:
9539           - Added alignment properties and implemented alignment handling
9540             and drawing (still has a bug, not generating proper expose events)
9541           - Added new Line() constructor to allow passing the line alignment
9542           - Fixed selection setting, properly handling end<start now
9543           - Added aligment considerations to RecalculateDocument()
9544         * TextBoxBase.cs:
9545           - Now properly enforces control height for single line controls
9546           - Added support for CharacterCasing
9547           - Added IsInputKey override
9548           - Fixed Keys.Enter logic
9549           - Added SetBoundsCore override
9550           - Fixed mouse selection handling
9551
9552 2005-01-03  Jackson Harper  <jackson@ximian.com>
9553
9554         * TreeView.cs:
9555           - Collapse and uncheck all nodes when CheckBoxes is disabled.
9556           - Checkboxes are always aligned to the bottom of the node,
9557           regardless of item height.
9558           - Use the node bounds to draw the text so we can center it when
9559           the item height is greater then the font height.
9560           - Node::Bounds are only the text part of the node.
9561         * TreeNode.cs: New method to combine collapsing and unchecking all
9562           nodes recursively.
9563
9564 2005-01-02  Jackson Harper  <jackson@ximian.com>
9565
9566         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9567         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9568         tree when a check is changed. TODO: Only refresh the checked node.
9569
9570 2004-12-30  Jackson Harper  <jackson@ximian.com>
9571
9572         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9573         * TreeNode.cs: When collapsing make sure to never collapse the
9574         root node.
9575
9576 2004-12-29  Jackson Harper  <jackson@ximian.com>
9577
9578         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9579         
9580 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
9581
9582         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9583
9584 2004-12-28  Peter Bartok  <pbartok@novell.com>
9585
9586         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9587           not yet assigned
9588
9589 2004-12-28  Peter Bartok  <pbartok@novell.com>
9590
9591         * Control.cs (WndProc): Added WM_HELP handler, now generates
9592           HelpRequested event
9593         * Form.cs: Added HelpButton property and required support code
9594         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9595
9596 2004-12-28  Peter Bartok  <pbartok@novell.com>
9597
9598         * CommonDialog.cs:
9599           - Made DialogForm.owner variable internal
9600           - Added check to ensure owner form is set before setting
9601             owner properties in CreateParams
9602
9603 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
9604
9605         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
9606           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
9607           GetCursorPos.  Fix major visibility issues.  Rework the windowing
9608           system to support borderless/titleless windows (implements menus).
9609           Fix GetWindowPos.  Implement initial background color support for
9610           views.
9611
9612 2004-12-28  Peter Bartok  <pbartok@novell.com>
9613
9614         * Form.cs (get_CreateParams): Make sure we have an owner before using
9615           the owner variable. Implement proper default if no owner exists
9616
9617 2004-12-28  Peter Bartok  <pbartok@novell.com>
9618
9619         * In preparation for making Managed.Windows.Forms the default build target
9620           for System.Windows.Forms, the following stubbed files were added.
9621           Dialogs are currently being implemented by contributors and are only
9622           short-term place holders.
9623         * ColorDialog.cs: Initial check-in (minmal stub)
9624         * DataGrid.cs: Initial check-in (minimal stub)
9625         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9626         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9627         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9628         * FontDialog.cs: Initial check-in (minimal stub)
9629         * FileDialog.cs: Initial check-in (minimal stub)
9630         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9631         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9632         * OpenFileDialog: Initial check-in (minimal stub)
9633         * IComponentEditorPageSite.cs: Initial check-in
9634         * Splitter.cs: Initial check-in (for Jackson)
9635         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9636         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9637         * TextBox.cs: Initial check-in; still needs some wiring to
9638           TextControl backend
9639         * Form.cs: Implemented ControlBox property
9640         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9641         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9642         * TextControl.cs: Added selection functionality; added todo header
9643         * TextBoxBase.cs:
9644           - Implemented Lines property
9645           - Implemented TextHeight property
9646           - Implemented SelectedText property
9647           - Implemented SelectionLength property
9648           - Implemented SelectAll method
9649           - Implemented ToString method
9650           - Removed and cleaned up some debug code
9651           - Implemented (still buggy) mouse text selection
9652
9653 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9654
9655         * ComboBox.cs: Complete DropDownList implementation, fixes.
9656
9657 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9658
9659         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9660         * ComboBoxStyle.cs: ComboBoxStyle enum
9661         * ComboBox.cs: Initial work on ComboBox control
9662
9663 2004-12-21  Peter Bartok  <pbartok@novell.com>
9664
9665         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9666           forward so that anything that creates a window gets the default,
9667           also no longer uses Visible property in CreateParams to avoid
9668           walking up the parent chain and possibly get the wrong visible
9669           status. Fixed IsVisible to no longer walk up to the parent.
9670
9671 2004-12-21  Peter Bartok  <pbartok@novell.com>
9672
9673         * Form.cs (ShowDialog): Unset modality for the proper window
9674  
9675 2004-12-20  Peter Bartok  <pbartok@novell.com>
9676
9677         * CommonDialog.cs: Initial check-in
9678
9679 2004-12-20  Peter Bartok  <pbartok@novell.com>
9680
9681         * Control.cs (Visible): Now uses the parent window instead of the
9682           client area window for the property
9683
9684         * Form.cs
9685           - ShowDialog(): Now uses the proper window for modality
9686           - The default visibility state for the form parent is now false. This
9687             will prevent the user from seeing all the changes to the form and
9688             its controls before the application hits Application.Run()
9689           - Removed some stale commented out code
9690
9691         * NativeWindow.cs:
9692           - Added FindWindow() method to have a method to check for existence
9693             of a window handle
9694           - Added ability to override default exception handling (for example
9695             when debugging with VS.Net; to do this the ExternalExceptionHandler
9696             define must be set
9697           - Removed some useless debug output
9698
9699         * XplatUIX11.cs:
9700           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9701             not working as expected
9702           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9703             property to allow switching back to the modal window if focus is
9704             given to another one of our windows (Application Modal)
9705           - Now only sets override_redirect if we create a window
9706             without WS_CAPTION
9707           - Moved EventMask selection before mapping of newly created window
9708             so we can catch the map event as well
9709           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9710           - Added various Atom related DllImports
9711           - Implemented Exit() method
9712           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9713             in the CreateParams
9714
9715         * MessageBox.cs: Now properly deals with the FormParent window by
9716           providing an override the FormParent CreateParams property to
9717           set as POPUP instead of OVERLAPPED window.
9718
9719 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9720
9721         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
9722         Minor code cleanup.
9723
9724 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9725         
9726         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9727
9728 2004-12-18  Peter Bartok  <pbartok@novell.com>
9729
9730         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9731           implementing SetModal() method
9732
9733 2004-12-18  Peter Bartok  <pbartok@novell.com>
9734
9735         * X11Structs.cs (XGCValues): Fixed type of function element
9736         * XplatUI.cs: Added ScrollWindow() method
9737         * XplatUIDriver.cs: Added ScrollWindow() abstract
9738         * XplatUIWin32.cs: Implemented ScrollWindow() method
9739         * XplatUIX11.cs: Implemented ScrollWindow() method
9740         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9741
9742 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9743
9744         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
9745         Some more keyboard support (INCOMPLETE)
9746
9747 2004-12-17  Peter Bartok  <pbartok@novell.com>
9748
9749         * TextControl.cs:
9750         - Added color attribute to line tags.
9751         - Added color argument to all functions dealing with tags
9752         - Added color argument support to various functions
9753         - Fixed miss-calculation of baseline/shift in certain circumstances
9754
9755         * TextBoxBase.cs: Added new color option to test code
9756
9757 2004-12-17  Jackson Harper  <jackson@ximian.com>
9758
9759         * TreeNode.cs:
9760         * MonthCalendar.cs: Signature fixes
9761
9762 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9763
9764         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9765         keyboard event moved it.  Create a new graphics context for each paint resolves this
9766
9767 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9768
9769         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9770         Make caret exist and go blink blink.  Initial keyboard support.
9771         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
9772         works.
9773
9774 2004-12-17  Jackson Harper  <jackson@ximian.com>
9775
9776         * XplatUIStructs.cs: Updated set of virtual keycodes.
9777         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9778
9779 2004-12-17  Jackson Harper  <jackson@ximian.com>
9780
9781         * XplatUIX11.cs: Prune old keyboard code.
9782
9783 2004-12-17  Jackson Harper  <jackson@ximian.com>
9784
9785         * XplatUIX11.cs: When generating mouse wparams get the modifier
9786         keys from the ModifierKeys property.
9787
9788 2004-12-17  Jackson Harper  <jackson@ximian.com>
9789
9790         * X11Keyboard.cs: Send up/down input when generating
9791         messages. Remove some unused vars.
9792
9793 2004-12-17  Jackson Harper  <jackson@ximian.com>
9794
9795         * TabControl.cs:
9796         * TreeView.cs: get rid of warnings.
9797
9798 2004-12-17  Jackson Harper  <jackson@ximian.com>
9799
9800         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9801
9802 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
9803
9804         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9805           CheckedListBox.cs: Implementation
9806
9807 2004-12-17  Peter Bartok  <pbartok@novell.com>
9808
9809         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9810
9811 2004-12-16  Peter Bartok  <pbartok@novell.com>
9812
9813         * TextControl.cs:
9814           - InsertCharAtCaret(): Fixed start pos fixup
9815           - CaretLine_get: No longer derives the line from the tag, the tag
9816             could be stale if lines in the document have been added or deleted
9817           - RebalanceAfterDelete(): Fixed bug in balancing code
9818           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9819           - Line.Streamline(): Now can also elminate leading empty tags
9820           - DumpTree(): Added a few more tests and prevented exception on
9821             uninitialized data
9822           - Added Debug section for Combining lines
9823           - Delete(): Now copies all remaining properties of a line
9824           
9825         * TextBoxBase.cs:
9826           - Left mousebutton now sets the caret (and middle button still acts
9827             as formatting tester, which must go away soon)
9828           - Added Debug section for Deleting/Combining lines
9829           - Fixed calculations for UpdateView after Combining lines
9830
9831 2004-12-16  Peter Bartok  <pbartok@novell.com>
9832
9833         * TextControl.cs: Now properly aligns text on a baseline, using the
9834           new XplatUI.GetFontMetrics() method. Simplified several calculations
9835         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9836           defined
9837
9838 2004-12-16  Peter Bartok  <pbartok@novell.com>
9839
9840         * XplatUI.cs: Added GetFontMetrics() method
9841         * XplatUIDriver.cs: Added GetFontMetrics() abstract
9842         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9843           into libgdiplus, our private GetFontMetrics function
9844         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9845         * XplatUIWin32.cs: Implemented GetFontMetrics() method
9846
9847 2004-12-16  Jackson Harper  <jackson@ximain.com>
9848
9849         * XplatUIStruct.cs: Add enum for dead keys
9850         * X11Keyboard.cs: Map and unmap dead keys.
9851
9852 2004-12-16  Jackson Harper  <jackson@ximian.com>
9853
9854         * X11Keyboard.cs: Detect and use the num lock mask.
9855
9856 2004-12-16  Peter Bartok  <pbartok@novell.com>
9857
9858         * Control.cs (CreateGraphics): Added check to make sure the
9859           handle of the window exists before calling Graphics.FromHwnd()
9860
9861 2004-12-16  Peter Bartok  <pbartok@novell.com>
9862
9863         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9864           contains a lot of code that's not supposed to be there for the
9865           real thing, but required for developing/testing the textbox
9866           backend.
9867
9868 2004-12-16  Peter Bartok  <pbartok@novell.com>
9869
9870         * TextControl.cs:
9871         - Fixed Streamline method
9872         - Added FindTag method to Line
9873         - Added DumpTree method for debugging
9874         - Added DecrementLines() method for deleting lines
9875         - Fixed UpdateView to update the cursor to end-of-line on single-line
9876           updates
9877         - Added PositionCaret() method
9878         - Fixed MoveCaret(LineDown) to move into the last line, too
9879         - Added InsertChar overload
9880         - Fixed InsertChar tag offset calculations
9881         - Added DeleteChar() method
9882         - Added Combine() method for folding lines
9883         - Fixed Delete() method, no longer allocates wasted Line object and
9884           now copies all properties when swapping nodes
9885         - Delete() method now updates document line counter
9886
9887 2004-12-15  Jackson Harper  <jackson@ximian.com>
9888
9889         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9890         * X11Keyboard.cs: Expose the currently selected modifier keys
9891         through a property.
9892
9893 2004-12-15  Peter Bartok  <pbartok@novell.com>
9894
9895         * TextControl.cs: Initial check-in. Still incomplete
9896
9897 2004-12-15  Jackson Harper  <jackson@ximian.com>
9898
9899         * TreeNode.cs:
9900         * TreeView.cs: Fix build on csc (second time today ;-))
9901
9902 2004-12-15  Jackson Harper  <jackson@ximian.com>
9903
9904         * TreeView.cs: Store the treenodes plus/minus box bounds when it
9905         is calculated and use this for click testing.
9906         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9907
9908 2004-12-15  Jackson Harper  <jackson@ximian.com>
9909
9910         * TreeView.cs: Pass the nodes image index to the image list when
9911         drawing that image.
9912
9913 2004-12-15  Jackson Harper  <jackson@ximian.com>
9914
9915         * X11Keyboard.cs: Set messages hwnd.
9916         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9917         post_message calls.
9918
9919 2004-12-15  Jackson Harper  <jackson@ximian.com>
9920
9921         * X11Keyboard.cs: Fix to compile with csc.
9922         
9923 2004-12-15  Jackson Harper  <jackson@ximian.com>
9924
9925         * X11Structs.cs: Add key mask values
9926         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9927         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9928         down/up foo into WM_CHAR foo
9929         * KeyboardLayouts.cs: Common keyboard layouts
9930         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9931         post messages into the main queue.
9932
9933 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9934
9935         * Button.cs: implement ProcessMnemonic
9936         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9937           brushes everytime
9938         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9939         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9940
9941 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9942         
9943         * MonthCalendar.cs: Implemented click-hold for next/previous month
9944           and date selection
9945           
9946 2004-12-11  Peter Bartok  <pbartok@novell.com>
9947
9948         * X11Structs.cs:
9949           - Added XKeyboardState (moved from XplatUIX11.cs)
9950           - Added XCreateGC related enums and structures
9951           - Added GXFunction for XSetFunction
9952
9953         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9954
9955         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9956           CaretVisible() calls
9957
9958         * ToolTip.cs: Added code to prevent stealing focus from app windows
9959
9960         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9961           DestroyCaret, SetCaretPos and CaretVisible)
9962
9963         * XplatUIX11.cs:
9964           - Added implementation for caret functions
9965           - Moved hover variables into a struct, to make it a bit easier
9966             on the eyes and to debug
9967           - Removed XKeyboardState (moved to XplatUIX11.cs)
9968           - Moved Keyboard properties into the properties region
9969
9970         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9971           call to get a graphics context for our control
9972
9973         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9974
9975         * TreeView.cs: Fixed bug. No matter what color was set it would always
9976           return SystemColors.Window
9977
9978         * XplatUIWin32.cs: Implemented caret overrides
9979
9980 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9981
9982         * ListBox.cs: fire events, implement missing methods and properties,
9983         sorting.
9984
9985 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9986
9987         * MonthCalendar.cs: invalidation bug fixing
9988         * ThemeWin32Classic.cs: paint fixing
9989
9990 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9991
9992         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9993         prepare the CGContextRef there now.
9994
9995 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9996
9997         * MonthCalendar.cs:
9998           - optimisationL only invalidate areas that have changed
9999         * ThemeWin32Classic.cs:
10000           - only paint parts that intersect with clip_area
10001
10002 2004-12-09  Peter Bartok  <pbartok@novell.com>
10003
10004         * Application.cs: Undid changes from r37004 which cause problems
10005         on X11
10006
10007 2004-12-09  Ravindra  <rkumar@novell.com>
10008
10009         * ToolBar.cs: Added support for displaying ContextMenu
10010         attached to a button on ToolBar.
10011         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10012         property.
10013
10014 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
10015
10016         * Label.cs: autosize works in text change and removes unnecessary
10017         invalidate
10018
10019 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
10020
10021         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10022         remove warnings
10023
10024 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
10025
10026         * XplatUIOSX.cs: Added mouse move/click/grab support
10027         Remove some debugging WriteLines not needed anymore.
10028         Add window resizing/positioning.
10029         Fix visibility on reparenting.
10030
10031 2004-12-08  Peter Bartok  <pbartok@novell.com>
10032
10033         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10034
10035 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
10036
10037         * XplatUIOSX.cs: Initial checkin
10038         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10039
10040 2004-12-03  Ravindra <rkumar@novell.com>
10041
10042         * ListView.cs: Added some keybindings and fixed scrolling.
10043         ScrollBars listen to ValueChanged event instead of Scroll
10044         Event. This would let us take care of all changes being
10045         done in the scrollbars' values programmatically or manually.
10046         * ListView.cs (CanMultiselect): Added a check for shift key.
10047         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10048         * ListViewItem.cs (Clone): Fixed. We need to make a copy
10049         of ListViewSubItemCollection as well.
10050
10051 2004-12-06  Peter Bartok <pbartok@novell.com>
10052
10053         * Control.cs (Parent): Added check and exception to prevent
10054         circular parenting
10055
10056 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
10057
10058         * ListBox.cs: implemented clipping, selection single and multiple,
10059         bug fixing
10060
10061 2004-12-03  Ravindra <rkumar@novell.com>
10062
10063         * ListView.cs (ListView_KeyDown):
10064         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10065         when CTRL key is pressed.
10066         * ListViewItem.cs (Selected): Fixed setting the property.
10067
10068 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
10069
10070         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10071
10072         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10073         MinimizeBox, ShowInTaskbar, TopMost properties.
10074
10075         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10076         will be implemented).
10077
10078 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
10079
10080         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10081
10082         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10083         tests.
10084         
10085         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10086         
10087         * TreeView.cs: BackColor is Colors.Window.
10088
10089 2004-12-01  Jackson Harper  <jackson@ximian.com>
10090
10091         * TreeView.cs: When resizing the tree if the user is making it
10092         smaller we don't get expose events, so we need to handle adding
10093         the horizontal scrollbar in the size changed handler as well as
10094         the expose handler.
10095
10096 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
10097
10098         * DrawItemState.cs: fixes wrong enum values
10099
10100 2004-12-01  Jackson Harper  <jackson@ximian.com>
10101
10102         * TreeView.cs: Resize the hbar as well as the vbar on resize.
10103
10104 2004-12-01  Jackson Harper  <jackson@ximian.com>
10105
10106         * NodeLabelEditEventArgs.cs:
10107         * NodeLabelEditEventHandler.cs:
10108         * OpenTreeNodeEnumerator.cs:
10109         * TreeNode.cs:
10110         * TreeNodeCollection.cs:
10111         * TreeView.cs:
10112         * TreeViewAction.cs:
10113         * TreeViewCancelEventArgs.cs:
10114         * TreeViewCancelEventHandler.cs:
10115         * TreeViewEventArgs.cs:
10116         * TreeViewEventHandler.cs: Initial implementation.
10117
10118 2004-12-01  Ravindra <rkumar@novell.com>
10119
10120         * ListView.cs (CalculateListView): Fixed scrolling related
10121         calculations. Also, removed some debug statements from other
10122         places.
10123         * ListViewItem.cs: Changed access to 'selected' instance variable
10124         from private to internal.
10125         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10126
10127 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
10128
10129         * ThemeWin32Classic.cs: remove cache of brush and pens for
10130         specific controls and use the global system, fixes scrollbutton
10131         bugs (for small sizes, disabled, etc)
10132         
10133         * ScrollBar.cs: does not show the thumb for very small controls
10134         (as MS) and allow smaller buttons that the regular size
10135
10136 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
10137
10138         * UpDownBase.cs: Add abstract methods for the interface.
10139         Add new virtual methods (need to be hooked up to TextEntry when it
10140         exists).
10141         Add override methods for most features.
10142         Computes the size, forces the height of the text entry.
10143
10144         * NumericUpDown.cs: Put here the current testing code.
10145
10146         * Set eol-style property on all files that do not have mixed line
10147         endings, to minimize the future problems.  There are still a few
10148         files with mixed endings, and someone should choose whether they
10149         want to move it or not.
10150
10151 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
10152
10153         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10154         System.Colors
10155         
10156 2004-11-30  Ravindra <rkumar@novell.com>
10157
10158         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10159         drawing and replaced use of SystemColors by theme colors.
10160         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10161         * ListView.cs (ListViewItemCollection.Add): Throw exception when
10162         same ListViewItem is being added more than once.
10163
10164 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
10165
10166         * MonthCalendar.cs:
10167           - ControlStyles love to make the control not flicker
10168           
10169 2004-11-30  Peter Bartok  <pbartok@novell.com>
10170
10171         * CharacterCasing.cs: Added
10172
10173 2004-11-29  Peter Bartok  <pbartok@novell.com>
10174
10175         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10176           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10177           I am removing these files as they conflict with already completed
10178           work. While it is fantastic to get contributions to MWF, I
10179           respectfully ask that everyone please coordinate their contributions
10180           through mono-winforms-list or #mono-winforms at this time. We're
10181           explicitly avoiding stubbing and don't want controls that don't have
10182           their basic functionality implemented in svn. Please also see
10183           http://www.mono-project.com/contributing/winforms.html
10184
10185
10186 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
10187
10188         * Application.cs (ModalRun): Don't hang after exit.
10189
10190         * Theme.cs: New TreeViewDefaultSize property.
10191
10192         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10193         with less hardcoded SystemColors constant.
10194         Implemented TreeViewDefaultSize.
10195
10196         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10197         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10198
10199
10200 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
10201
10202         * MonthCalendar.cs:
10203           - Fix NextMonthDate and PrevMonthDate click moving calendar
10204
10205 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10206
10207         * MonthCalendar.cs:
10208           - Fix usage of ScrollChange Property when scrolling months
10209
10210 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
10211
10212         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10213          - Fixes menu destroying
10214          - Support adding and removing items on already created menus
10215
10216 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10217
10218         * MonthCalendar.cs:
10219           - Re-worked all bolded dates handling to match win32
10220         * ThemeWin32Classic.cs:
10221           - Fixed rendering with bolded dates
10222
10223 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
10224
10225         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10226         - Horizontal scroolbar
10227         - Multicolumn
10228         - Fixes
10229
10230
10231 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
10232
10233         * MonthCalendar.cs:
10234           - Fix Usage of MaxSelectionCount from SelectionRange
10235           - Fixed Shift + Cursor Selection
10236           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10237           - Fixed normal cursor selection to be compat with win32
10238           - Fixed Shift + Mouse Click selection
10239
10240 2004-11-24  Peter Bartok <pbartok@novell.com>
10241
10242         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10243         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10244         * XplatUIX11.cs:
10245           - CreatedKeyBoardMsg now updates keystate with Alt key
10246           - Added workaround for timer crash to CheckTimers, Jackson will
10247             develop a proper fix and check in later
10248           - Implemented DispatchMessage
10249           - Removed calling the native window proc from GetMessage (call
10250             now moved to DispatchMessage)
10251
10252         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10253           the keydata (Fixes bug #69831)
10254
10255         * XplatUIWin32.cs:
10256           - (DispatchMessage): Switched to return IntPtr
10257           - Added DllImport for SetFocus
10258
10259 2004-11-24  Ravindra <rkumar@novell.com>
10260
10261         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10262         background drawing.
10263         * ListViewItem.cs: Fixed various properties, calculations
10264         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10265         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10266         and some internal properties. Fixed MouseDown handler and Paint
10267         method.
10268
10269 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10270
10271         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10272
10273 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10274
10275         * ContainerControl.cs: correct accidental check in of local changes
10276
10277 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10278
10279         * ThemeWin32Classic.cs:
10280                 - Fixed Drawing Last month in grid (sometimes not showing)
10281         * MonthCalendar.cs:
10282                 - Fixed title width calculation bug (makeing title small)
10283
10284 2004-11-23  Peter Bartok <pbartok@novell.com>
10285
10286         * XplatUIX11.cs:
10287           - Added generation of WM_MOUSEHOVER event
10288           - Added missing assignment of async_method atom
10289           - Fixed WM_ERASEBKGND; now only redraws the exposed area
10290
10291 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10292
10293         * ThemeWin32Classic.cs:
10294                 - Fixed Drawing of today circle when showtodaycircle not set
10295                 - fixed drawing of first and last month in the grid (gay dates)
10296         * MonthCalendar.cs:
10297                 - Fixed Drawing of today circle
10298                 - Fixed drawing of grady dates
10299                 - Fixed HitTest for today link when ShowToday set to false
10300                 - Fixed DefaultSize to obey ShowToday
10301
10302 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10303
10304         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10305         * System.Windows.Forms/Theme.cs
10306         * MonthCalendar.cs: added for MonthCalendar
10307         * SelectionRange.cs: added for MonthCalendar
10308         * Day.cs: added for MonthCalendar: added for MonthCalendar
10309         * DateRangeEventArgs.cs: added for MonthCalendar
10310         * DateRangeEventHandler.cs: added for MonthCalendar
10311
10312 2004-11-22  Ravindra <rkumar@novell.com>
10313
10314         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10315         property.
10316
10317 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
10318
10319         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10320         event handler.
10321         
10322         * NumericUpDown.cs: Added new implementation.
10323         * UpDownBase.cs: Added new implementation.
10324
10325         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10326         implementations.
10327         
10328         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10329         implementations.
10330
10331         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10332         methods.
10333
10334 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
10335
10336         * Timer.cs  (Dispose): Should call the base dispose when
10337         overriding.
10338
10339 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10340
10341         * ScrollBar.cs: updates thumb position when max, min or increment
10342         is changed
10343
10344 2004-11-21  Ravindra <rkumar@novell.com>
10345
10346         * ListView.cs: Implemented item selection, activation and
10347         column header style. Fixed properties to do a redraw, if
10348         required. Added support for MouseHover, DoubleClick, KeyDown
10349         and KeyUp event handling and some minor fixes.
10350         * ListViewItem.cs: Fixed constructor.
10351         * ThemeWin32Classic.cs: Improved drawing for ListView.
10352
10353 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10354
10355         * ThemeWin32Classic.cs: initial listbox drawing code
10356         * DrawMode.cs: new enumerator
10357         * ListControl.cs: stubbed class
10358         * ListBox.cs: initial implementation
10359         * Theme.cs: new methods definitions
10360         * SelectionMode.cs: new enumerator
10361
10362 2004-11-17  Peter Bartok  <pbartok@novell.com>
10363
10364         * XplatUIWin32.cs: Added double-click events to the class style
10365         * Control.cs (WndProc):
10366           - Added handling of click-count to MouseDown/ MouseUp events.
10367           - Added handling of middle and right mouse buttons
10368           - Removed old debug code
10369
10370 2004-11-17  Jackson Harper  <jackson@ximian.com>
10371
10372         * XplatUIX11.cs: Use the new Mono.Unix namespace.
10373
10374 2004-11-17  Ravindra <rkumar@novell.com>
10375
10376         * ListView.cs: Added event handling for MouseMove/Up/Down.
10377         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10378         * ThemeWin32Classic.cs: We need to clear the graphics context and
10379         draw column header in a proper state.
10380
10381
10382 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
10383
10384         *  Menu.cs: fixes signature
10385
10386 2004-11-16  Peter Bartok  <pbartok@novell.com>
10387
10388         * XplatUIX11.cs (GetMessage): Implemented generation of
10389           double click mouse messages
10390
10391 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
10392
10393         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10394         not by menu
10395
10396 2004-11-11  Peter Bartok  <pbartok@novell.com>
10397
10398         * HandleData.cs: Added Visible property
10399         * XplatUIX11.cs (IsVisible): Now uses Visible property from
10400           HandleData
10401         * XplatUIX11.cs: Removed old debug leftovers
10402         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10403         * Control.cs (WndProc): Removed old debug leftovers,
10404           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10405           needed WM_SIZE handling
10406
10407 2004-11-11  Jackson Harper  <jackson@ximian.com>
10408
10409         * OwnerDrawPropertyBag.cs:
10410         * TreeViewImageIndexConverter.cs: Initial implementation
10411
10412 2004-11-10  Jackson Harper  <jackson@ximian.com>
10413
10414         * ThemeWin32Classic.cs:
10415         * TabControl.cs: instead of moving tabs by the slider pos just
10416         start drawing at the tab that is offset by the slider. This way
10417         scrolling always moves by exactly one tab.
10418
10419 2004-11-10  Jackson Harper  <jackson@ximian.com>
10420
10421         * TabControl.cs: You can only scroll left when the slider has
10422         already ben moved right.
10423         
10424 2004-11-10  Jackson Harper  <jackson@ximian.com>
10425
10426         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10427         the clip area.
10428         
10429 2004-11-10  Jackson Harper  <jackson@ximian.com>
10430
10431         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10432         clip area.
10433         
10434 2004-11-09  Jackson Harper  <jackson@ximian.com>
10435
10436         * TabControl.cs (CalcXPos): New helper method so we can determine
10437         the proper place to start drawing vertical tabs.
10438         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10439         
10440 2004-11-09  Jackson Harper  <jackson@ximian.com>
10441
10442         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10443         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10444         and Bottom, left and right are illegal values for this and
10445         multiline is enabled when the alignment is set to left or right.
10446         (DrawTab): Each alignment block should draw the text itself now
10447         because Left requires special love. Also add rendering for Left
10448         aligned tabs.
10449         
10450 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
10451
10452         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10453         does not destroy the windows, removes debugging messages
10454
10455 2004-11-09  jba  <jba-mono@optusnet.com.au>
10456
10457         * ThemeWin32Classic.cs
10458         (DrawButtonBase): Fix verticle text rect clipping in windows
10459         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10460         rendering and incorrect text rect clipping
10461         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10462         rendering and incorrect text rect clipping
10463         
10464 2004-11-08  Jackson Harper  <jackson@ximian.com>
10465
10466         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10467         bottom when they are bottom aligned so the bottoms of the tabs get
10468         displayed.
10469         * TabControl.cs (DropRow): Move rows up instead of down when the
10470         tab control is bottom aligned.
10471
10472 2004-11-08 13:59  pbartok
10473
10474         * XplatUIX11.cs:
10475           - Added handling for various window styles
10476           - Added handling for popup windows
10477           - Added SetTopmost handling
10478
10479 2004-11-08 13:55  pbartok
10480
10481         * XplatUIWin32.cs:
10482           - Added argument to SetTopmost method
10483           - Fixed broken ClientToScreen function
10484
10485 2004-11-08 13:53  pbartok
10486
10487         * XplatUIStructs.cs:
10488           - Added missing WS_EX styles
10489
10490 2004-11-08 13:53  pbartok
10491
10492         * XplatUI.cs, XplatUIDriver.cs:
10493           - Added argument to SetTopmost
10494
10495 2004-11-08 13:52  pbartok
10496
10497         * X11Structs.cs:
10498           - Added XSetWindowAttributes structure
10499           - Improved XWindowAttributes structure
10500           - Added SetWindowValuemask enum
10501           - Added window creation arguments enum
10502           - Added gravity enum
10503           - Added Motif hints structure
10504           - Added various Motif flags and enums
10505           - Added PropertyMode enum for property functions
10506
10507 2004-11-08 13:50  pbartok
10508
10509         * Form.cs:
10510           - Fixed arguments for updated SetTopmost method
10511
10512 2004-11-08 13:49  pbartok
10513
10514         * ToolTip.cs:
10515           - Fixed arguments for updated SetTopmost function
10516           - Fixed usage of PointToClient
10517
10518 2004-11-08 13:44  pbartok
10519
10520         * MenuAPI.cs:
10521           - Added Clipping of children and siblings
10522
10523 2004-11-08 13:41  pbartok
10524
10525         * MainMenu.cs:
10526           - Removed SetMenuBarWindow call. We do this in Form.cs
10527
10528 2004-11-08 13:40  jackson
10529
10530         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10531           scrolling jimmi in the correct location with bottom aligned tabs
10532
10533 2004-11-08 13:36  pbartok
10534
10535         * ContainerControl.cs:
10536           - Implemented BindingContext
10537           - Implemented ParentForm
10538
10539 2004-11-08 12:46  jackson
10540
10541         * TabControl.cs: Put bottom rendered tabs in the right location
10542
10543 2004-11-08 07:15  jordi
10544
10545         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10546           removes dead code
10547
10548 2004-11-05 17:30  jackson
10549
10550         * TabControl.cs: When selected tabs are expanded make sure they
10551           don't go beyond the edges of the tab control
10552
10553 2004-11-05 14:57  jackson
10554
10555         * TabControl.cs: Reset show_slider so if the control is resized to
10556           a size where it is no longer needed it's not displayed anymore
10557
10558 2004-11-05 13:16  jackson
10559
10560         * TabControl.cs: Make tab pages non visible when added to the
10561           control
10562
10563 2004-11-05 12:42  jackson
10564
10565         * TabControl.cs: Implement SizeMode.FillToRight
10566
10567 2004-11-05 12:16  jackson
10568
10569         * Control.cs: Do not call CreateHandle if the handle is already
10570           created
10571
10572 2004-11-05 11:46  jackson
10573
10574         * TabControl.cs: Remove superflous call to CalcTabRows
10575
10576 2004-11-05 09:07  jackson
10577
10578         * XplatUIX11.cs: Update for Mono.Posix changes
10579
10580 2004-11-05 07:00  ravindra
10581
10582         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10583           scrolling.
10584
10585 2004-11-04 22:47  jba
10586
10587         * ThemeWin32Classic.cs:
10588           - Fix Button rendering for FlatStyle = Flat or Popup
10589           - Fix RadioButton and CheckBox rendering when Appearance = Button
10590             (normal and flatstyle).
10591           - Correct outer rectangle color when drawing focus rectangle
10592           - Adjust button bounds to be 1 px smaller when focused
10593           - Make button not draw sunken 3d border when pushed (windows compat)
10594           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10595           - Offset the text in RadioButton and Checkbox when being rendered as
10596           a button.
10597           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10598           radiobuttons
10599           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10600           - Fixed disabled text rendering for normally rendered radiobuttons
10601
10602 2004-11-04 10:26  jackson
10603
10604         * TabControl.cs: Recalculate tab rows when resizing
10605
10606 2004-11-04 07:47  jordi
10607
10608         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10609           collection completion, drawing issues, missing features
10610
10611 2004-11-04 05:03  ravindra
10612
10613         * ScrollBar.cs:
10614                 - We need to recalculate the Thumb area when
10615                 LargeChange/maximum/minimum values are changed.
10616           - We set the 'pos' in UpdatePos() method to minimum, if it's less
10617                 than minimum. This is required to handle the case if large_change is
10618                 more than max, and use LargeChange property instead of large_change
10619                 variable.
10620           - We return max+1 when large_change is more than max, like MS does.
10621
10622 2004-11-04 04:29  ravindra
10623
10624         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10625                 - Changed default value signatures (prefixed all with ListView).
10626                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10627                 ListView.
10628           - Fixed calculations for ListViewItem and implemented Clone()
10629           method.
10630
10631 2004-11-04 04:26  ravindra
10632
10633         * Theme.cs, ThemeWin32Classic.cs:
10634                 - Changed default ListView values signatures (prefixed all with
10635                 ListView).
10636           - Fixed default size values for VScrollBar and HScrollBar.
10637                 - Fixed DrawListViewItem method.
10638
10639 2004-11-04 04:05  ravindra
10640
10641         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10642
10643 2004-11-04 04:04  ravindra
10644
10645         * ImageList.cs: Implemented the missing overload for Draw method.
10646
10647 2004-11-03 19:29  jackson
10648
10649         * TabControl.cs: Handle dropping rows on selection properly
10650
10651 2004-11-03 11:59  jackson
10652
10653         * TabControl.cs: remove debug code
10654
10655 2004-11-03 11:52  jackson
10656
10657         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10658           the scrolly widgerywoo
10659
10660 2004-11-02 13:52  jackson
10661
10662         * TabControl.cs: Resize the tab pages and tabs when the tab control
10663           is resized
10664
10665 2004-11-02 13:40  jackson
10666
10667         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10668           selected tab to the bottom
10669
10670 2004-11-02 13:39  jackson
10671
10672         * TabPage.cs: Store the tab pages row
10673
10674 2004-11-02 12:33  jordi
10675
10676         * MenuItem.cs: fixes handle creation
10677
10678 2004-11-02 11:42  jackson
10679
10680         * TabControl.cs: signature fix
10681
10682 2004-11-02 08:56  jackson
10683
10684         * TabControl.cs: Calculate whether the tab is on an edge properly.
10685           Remove top secret debugging code
10686
10687 2004-11-01 19:57  jackson
10688
10689         * TabControl.cs: Add click handling, and proper sizing
10690
10691 2004-11-01 19:47  jackson
10692
10693         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10694           tab controls
10695
10696 2004-11-01 19:39  jackson
10697
10698         * TabPage.cs: add internal property to store the bounds of a tab
10699           page
10700
10701 2004-10-30 04:23  ravindra
10702
10703         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10704           values.
10705
10706 2004-10-30 04:21  ravindra
10707
10708         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10709           fixed calculations.
10710
10711 2004-10-30 03:06  pbartok
10712
10713         * XplatUIX11.cs:
10714           - Removed extension of DllImported libs
10715
10716 2004-10-29 09:55  jordi
10717
10718         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10719           navigation, itemcollection completion, menu fixes
10720
10721 2004-10-27 22:58  pbartok
10722
10723         * XplatUIX11.cs:
10724           - Now throws a nice error message when no X display could be opened
10725
10726 2004-10-26 13:51  jordi
10727
10728         * ListView.cs: removes warning
10729
10730 2004-10-26 03:55  ravindra
10731
10732         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10733           ThemeWin32Classic.cs: Some formatting for my last checkins.
10734
10735 2004-10-26 03:36  ravindra
10736
10737         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10738           control and default values.
10739
10740 2004-10-26 03:35  ravindra
10741
10742         * Theme.cs: Added some default values for ListView control.
10743
10744 2004-10-26 03:33  ravindra
10745
10746         * ToolBar.cs: ToolBar should use the user specified button size, if
10747           there is any. Added a size_specified flag for the same.
10748
10749 2004-10-26 03:33  ravindra
10750
10751         * ColumnHeader.cs: Added some internal members and calculations for
10752           ColumnHeader.
10753
10754 2004-10-26 03:32  ravindra
10755
10756         * ListViewItem.cs: Calculations for ListViewItem.
10757
10758 2004-10-26 03:31  ravindra
10759
10760         * ListView.cs: Added some internal members and calculations for
10761           ListView.
10762
10763 2004-10-22 13:31  jordi
10764
10765         * MenuAPI.cs: speedup menus drawing
10766
10767 2004-10-22 13:16  jackson
10768
10769         * XplatUIX11.cs: Make sure to update exposed regions when adding an
10770           expose event
10771
10772 2004-10-22 11:49  jackson
10773
10774         * Control.cs: oops
10775
10776 2004-10-22 11:41  jackson
10777
10778         * Control.cs: Check to see if the window should have its background
10779           repainted by X when drawing.
10780
10781 2004-10-22 11:31  jackson
10782
10783         * XplatUIX11.cs: When invalidating areas only use XClearArea if
10784           clear is true, this way we do not get flicker from X repainting the
10785           background
10786
10787 2004-10-22 11:28  jackson
10788
10789         * XEventQueue.cs: Queue properly
10790
10791 2004-10-21 09:38  jackson
10792
10793         * XEventQueue.cs: Fix access modifier
10794
10795 2004-10-21 09:36  jackson
10796
10797         * XEventQueue.cs: Don't loose messages
10798
10799 2004-10-21 09:22  jackson
10800
10801         * XEventQueue.cs: Don't loose messages
10802
10803 2004-10-20 04:15  jordi
10804
10805         * BootMode.cs: enum need it by SystemInfo
10806
10807 2004-10-19 21:58  pbartok
10808
10809         * XplatUIWin32.cs:
10810           - Small sanity check
10811
10812 2004-10-19 21:56  pbartok
10813
10814         * Form.cs:
10815           - Added private FormParentWindow class which acts as the container
10816             for our form and as the non-client area where menus are drawn
10817           - Added/Moved required tie-ins to Jordi's menus
10818           - Fixed/Implemented the FormStartPosition functionality
10819
10820 2004-10-19 21:52  pbartok
10821
10822         * Control.cs:
10823           - Removed unneeded locals
10824           - Added code to all size and location properties to understand and
10825             deal with the parent container of Form
10826
10827 2004-10-19 21:33  pbartok
10828
10829         * Application.cs:
10830           - Fixed to deal with new Form subclasses for menus
10831
10832 2004-10-19 17:48  jackson
10833
10834         * XEventQueue.cs: commit correct version of file
10835
10836 2004-10-19 16:50  jackson
10837
10838         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10839
10840 2004-10-19 16:15  jordi
10841
10842         * MenuAPI.cs: MenuBarCalcSize returns the height
10843
10844 2004-10-19 08:31  pbartok
10845
10846         * Control.cs:
10847           - Added missing call to PreProcessMessage before calling OnXXXKey
10848           methods
10849
10850 2004-10-19 00:04  ravindra
10851
10852         * ToolTip.cs: Fixed constructor.
10853
10854 2004-10-18 09:31  jordi
10855
10856         * MenuAPI.cs: menuitems in menubars do not have shortcuts
10857
10858 2004-10-18 09:26  jordi
10859
10860         * MenuItem.cs: fixes MenuItem class signature
10861
10862 2004-10-18 08:56  jordi
10863
10864         * MenuAPI.cs: prevents windows from showing in the taskbar
10865
10866 2004-10-18 00:28  ravindra
10867
10868         * ToolTip.cs: Suppressed a warning message.
10869
10870 2004-10-18 00:27  ravindra
10871
10872         * Control.cs: Default value of visible property must be true.
10873
10874 2004-10-17 23:19  pbartok
10875
10876         * ToolTip.cs:
10877           - Complete implementation
10878
10879 2004-10-17 23:19  pbartok
10880
10881         * XplatUIX11.cs:
10882           - Added EnableWindow method
10883           - Added SetModal stub
10884           - Added generation of WM_ACTIVATE message (still needs testing)
10885           - Added SetTopMost stub
10886           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10887
10888 2004-10-17 23:17  pbartok
10889
10890         * XplatUIWin32.cs:
10891           - Removed VirtualKeys to XplatUIStructs
10892           - Implemented SetTopMost method
10893           - Implemented EnableWindow method
10894           - Bugfix in ScreenToClient()
10895           - Bugfixes in ClientToScreen()
10896
10897 2004-10-17 22:51  pbartok
10898
10899         * XplatUIStructs.cs:
10900           - Added WS_EX styles to WindowStyles enumeration
10901
10902 2004-10-17 22:50  pbartok
10903
10904         * XplatUI.cs, XplatUIDriver.cs:
10905           - Added method for enabling/disabling windows
10906           - Added method for setting window modality
10907           - Added method for setting topmost window
10908
10909 2004-10-17 22:49  pbartok
10910
10911         * ThemeWin32Classic.cs:
10912           - Added ToolTip drawing code
10913
10914 2004-10-17 22:49  pbartok
10915
10916         * Theme.cs:
10917           - Added ToolTip abstracts
10918
10919 2004-10-17 22:47  pbartok
10920
10921         * Form.cs:
10922           - Fixed Form.ControlCollection to handle owner relations
10923           - Added Owner/OwnedForms handling
10924           - Implemented Z-Ordering for owned forms
10925           - Removed unneeded private overload of ShowDialog
10926           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10927             so I hope)
10928           - Fixed Close(), had wrong default
10929           - Added firing of OnLoad event
10930           - Added some commented out debug code for Ownership handling
10931
10932 2004-10-17 22:16  pbartok
10933
10934         * Control.cs:
10935           - Fixed/implemented flat list of controls
10936
10937 2004-10-17 22:14  pbartok
10938
10939         * Application.cs:
10940           - Added code to simulate modal dialogs on Win32
10941
10942 2004-10-17 16:11  jordi
10943
10944         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10945           mouse event
10946
10947 2004-10-17 13:39  jordi
10948
10949         * MenuAPI.cs: menu drawing fixes
10950
10951 2004-10-15 09:10  ravindra
10952
10953         * StructFormat.cs: General Enum.
10954
10955 2004-10-15 09:09  ravindra
10956
10957         * SizeGripStyle.cs: Enum for Form.
10958
10959 2004-10-15 09:08  ravindra
10960
10961         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10962           in Theme for ListView.
10963
10964 2004-10-15 09:06  ravindra
10965
10966         * ColumnHeader.cs: Flushing some formatting changes.
10967
10968 2004-10-15 09:05  ravindra
10969
10970         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10971           style.
10972
10973 2004-10-15 09:03  ravindra
10974
10975         * ListView.cs: Implemented Paint method and fixed coding style.
10976
10977 2004-10-15 07:34  jordi
10978
10979         * MenuAPI.cs: fix for X11
10980
10981 2004-10-15 07:32  ravindra
10982
10983         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10984                 - Renamed Paint() method to Draw() for clarity. Also, moved
10985                 DrawImage() to OnPaint().
10986
10987 2004-10-15 07:25  ravindra
10988
10989         * CheckBox.cs, RadioButton.cs:
10990                 - Removed Redraw (), we get it from ButtonBase.
10991                 - Implemented Paint (), to do class specific painting.
10992
10993 2004-10-15 07:16  ravindra
10994
10995         * ButtonBase.cs:
10996                 - Redraw () is not virtual now.
10997                 - Added an internal virtual method Paint (), so that
10998                 derived classes can do their painting on their own.
10999                 - Modified OnPaint () to call Paint ().
11000
11001 2004-10-15 06:43  jordi
11002
11003         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11004           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11005
11006 2004-10-15 00:30  ravindra
11007
11008         * MessageBox.cs:
11009                 - MessageBox on windows does not have min/max buttons.
11010                 This change in CreateParams fixes this on Windows. We
11011                 still need to implement this windowstyle behavior in
11012                 our X11 driver.
11013
11014 2004-10-14 05:14  ravindra
11015
11016         * ToolBar.cs:
11017                 - Changed Redraw () to do a Refresh () always.
11018                 - Fixed the MouseMove event handling when mouse is pressed,
11019                 ie drag event handling.
11020                 - Replaced the usage of ToolBarButton.Pressed property to
11021                 ToolBarButton.pressed internal variable.
11022
11023 2004-10-14 05:10  ravindra
11024
11025         * ToolBarButton.cs:
11026                 - Added an internal member 'inside' to handle mouse move
11027                 with mouse pressed ie mouse drag event.
11028                 - Changed 'Pressed' property to return true only when
11029                 'inside' and 'pressed' are both true.
11030                 - Some coding style love.
11031
11032 2004-10-14 00:17  ravindra
11033
11034         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11035           public method.
11036
11037 2004-10-14 00:15  ravindra
11038
11039         * ButtonBase.cs: Redraw () related improvements.
11040
11041 2004-10-14 00:14  ravindra
11042
11043         * MessageBox.cs: Moved InitFormSize () out of Paint method and
11044           removed unnecessary calls to Button.Show () method.
11045
11046 2004-10-13 17:50  pbartok
11047
11048         * XplatUIX11.cs:
11049           - Formatting fix
11050           - Removed destroying of window until we solve the problem of X
11051             destroying the window before us on shutdown
11052
11053 2004-10-13 16:32  pbartok
11054
11055         * ButtonBase.cs:
11056           - Now Redraws on MouseUp for FlatStyle Flat and Popup
11057
11058 2004-10-13 14:18  pbartok
11059
11060         * XplatUIX11.cs:
11061           - Added code to destroy the X window
11062
11063 2004-10-13 14:18  pbartok
11064
11065         * XplatUIWin32.cs:
11066           - Added code to destroy a window
11067
11068 2004-10-13 14:12  pbartok
11069
11070         * ButtonBase.cs:
11071           - Added the Redraw on Resize that got dropped in the last rev
11072
11073 2004-10-13 09:06  pbartok
11074
11075         * ThemeWin32Classic.cs:
11076           - Path from John BouAntoun:
11077             * Fix check rendering (centre correctly for normal style, offset
11078               correctly for FlatStyle).
11079             * Fix border color usage (use backcolor) for FlatStyle.Popup
11080             * Use checkbox.Capture instead of checkbox.is_pressed when
11081               rendering flatstyle states.
11082
11083 2004-10-12 21:48  pbartok
11084
11085         * ThemeWin32Classic.cs:
11086           - Removed all occurences of SystemColors and replaced them with the
11087             matching theme color
11088
11089 2004-10-12 21:41  pbartok
11090
11091         * ThemeWin32Classic.cs:
11092           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11093             him using the function for flatstyle drawing
11094           - Changed functions to use the new version of CPDrawBorder3D
11095
11096 2004-10-12 21:15  pbartok
11097
11098         * ControlPaint.cs:
11099           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11100             match MS documentation. They need to return defined colors if the
11101             passed color matches the configured control color. Thanks to John
11102             BouAntoun for pointing this out.
11103
11104 2004-10-12 20:57  pbartok
11105
11106         * Control.cs:
11107           - Fix from John BouAntoun: Raise ForeColorChanged event when text
11108             color is changed
11109
11110 2004-10-12 20:46  pbartok
11111
11112         * CheckBox.cs:
11113           - Fix from John BouAntoun: Now properly sets the Appearance property
11114
11115 2004-10-12 20:45  pbartok
11116
11117         * ThemeWin32Classic.cs:
11118           - Fixes from John BouAntoun: now handles forecolors and backcolors
11119             for flatstyle rendered controls much better; It also fixes normal
11120             checkbox rendering when pushed or disabled.
11121
11122 2004-10-08 02:50  jordi
11123
11124         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11125           work
11126
11127 2004-10-07 08:56  jordi
11128
11129         * ThemeWin32Classic.cs: Removes deletion of cached brushes
11130
11131 2004-10-06 03:59  jordi
11132
11133         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11134           XplatUIWin32.cs: removes warnings from compilation
11135
11136 2004-10-05 12:23  jackson
11137
11138         * RadioButton.cs: Fix ctor
11139
11140 2004-10-05 11:10  pbartok
11141
11142         * MessageBox.cs:
11143           - Partial implementation by Benjamin Dasnois
11144
11145 2004-10-05 10:15  jackson
11146
11147         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11148           by John BouAntoun
11149
11150 2004-10-05 03:07  ravindra
11151
11152         * ToolBar.cs:
11153                 - Removed a private method, Draw ().
11154                 - Fixed the ButtonDropDown event handling.
11155                 - Fixed MouseMove event handling.
11156
11157 2004-10-05 03:04  ravindra
11158
11159         * ThemeWin32Classic.cs:
11160                 - Added DrawListView method and ListViewDefaultSize property.
11161                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11162                 - Changed DOS style CRLF to Unix format (dos2unix).
11163
11164 2004-10-05 03:03  ravindra
11165
11166         * Theme.cs:
11167                 - Added DrawListView method and ListViewDefaultSize property.
11168
11169 2004-10-05 02:42  ravindra
11170
11171         * ToolBarButton.cs: Added an internal member dd_pressed to handle
11172           clicks on DropDown arrow.
11173
11174 2004-10-04 22:56  jackson
11175
11176         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11177           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11178           Control handle the buffers, derived classes should not have to
11179           CreateBuffers themselves.
11180
11181 2004-10-04 21:20  jackson
11182
11183         * StatusBar.cs: The control handles resizing the buffers now.
11184
11185 2004-10-04 21:18  jackson
11186
11187         * Control.cs: When resizing the buffers should be invalidated. This
11188           should be handled in Control not in derived classes.
11189
11190 2004-10-04 14:45  jackson
11191
11192         * TabPage.cs: oops
11193
11194 2004-10-04 02:14  pbartok
11195
11196         * LeftRightAlignment.cs:
11197           - Initial check-in
11198
11199 2004-10-04 01:09  jordi
11200
11201         * ThemeWin32Classic.cs: fixes right button position causing right
11202           button not showing on horizontal scrollbars
11203
11204 2004-10-02 13:12  pbartok
11205
11206         * XplatUIX11.cs:
11207           - Simplified the Invalidate method by using an X call instead of
11208             generating the expose ourselves
11209           - Added an expose when the window background is changed
11210           - Implemented ClientToScreen method
11211
11212 2004-10-02 13:08  pbartok
11213
11214         * XplatUIWin32.cs:
11215           - Added Win32EnableWindow method (test for implementing modal
11216           dialogs)
11217           - Added ClientToScreen method and imports
11218
11219 2004-10-02 13:07  pbartok
11220
11221         * XplatUI.cs, XplatUIDriver.cs:
11222           - Added ClientToScreen coordinate translation method
11223
11224 2004-10-02 13:06  pbartok
11225
11226         * KeyPressEventArgs.cs:
11227           - Fixed access level for constructor
11228
11229 2004-10-02 13:06  pbartok
11230
11231         * NativeWindow.cs:
11232           - Changed access level for the window_collection hash table
11233
11234 2004-10-02 13:05  pbartok
11235
11236         * Form.cs:
11237           - Added KeyPreview property
11238           - Added Menu property (still incomplete, pending Jordi's menu work)
11239           - Implemented ProcessCmdKey
11240           - Implemented ProcessDialogKey
11241           - Implemented ProcessKeyPreview
11242
11243 2004-10-02 13:02  pbartok
11244
11245         * Control.cs:
11246           - Added private method to get the Control object from the window
11247           handle
11248           - Implemented ContextMenu property
11249           - Implemented PointToScreen
11250           - Implemented PreProcessMessage
11251           - Implemented IsInputChar
11252           - Implemented IsInputKey
11253           - Implemented ProcessCmdKey
11254           - Completed ProcessKeyEventArgs
11255           - Fixed message loop to call the proper chain of functions on key
11256           events
11257           - Implemented ProcessDialogChar
11258           - Implemented ProcessDialogKey
11259           - Implemented ProcessKeyMessage
11260           - Implemented ProcessKeyPreview
11261           - Added RaiseDragEvent stub (MS internal method)
11262           - Added RaiseKeyEvent stub (MS internal method)
11263           - Added RaiseMouseEvent stub (MS Internal method)
11264           - Added RaisePaintEvent stub (MS Internal method)
11265           - Added ResetMouseEventArgs stub (MS Internal method)
11266           - Implemented RtlTranslateAlignment
11267           - Implemented RtlTranslateContent
11268           - Implemented RtlTranslateHorizontal
11269           - Implemented RtlTranslateLeftRight
11270           - Added generation of KeyPress event
11271
11272 2004-10-02 05:57  ravindra
11273
11274         * ListViewItem.cs: Added attributes.
11275
11276 2004-10-02 05:32  ravindra
11277
11278         * ListView.cs: Added attributes.
11279
11280 2004-10-01 11:53  jackson
11281
11282         * Form.cs: Implement the Close method so work on MessageBox can
11283           continue.
11284
11285 2004-09-30 14:06  pbartok
11286
11287         * XplatUIX11.cs:
11288           - Bug fixes
11289
11290 2004-09-30 11:34  jackson
11291
11292         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11293
11294 2004-09-30 07:26  ravindra
11295
11296         * ListViewItemConverter.cs: Converter for ListViewItem.
11297
11298 2004-09-30 07:26  ravindra
11299
11300         * SortOrder.cs: Enum for ListView control.
11301
11302 2004-09-30 07:25  ravindra
11303
11304         * ColumnHeader.cs: Supporting class for ListView control.
11305
11306 2004-09-30 07:24  ravindra
11307
11308         * ListView.cs, ListViewItem.cs: Initial implementation.
11309
11310 2004-09-30 07:20  ravindra
11311
11312         * ItemActivation.cs: Enum for ListView Control.
11313
11314 2004-09-29 20:29  pbartok
11315
11316         * XplatUIX11.cs:
11317           - Added lookup of pixel value for background color; tries to get a
11318             color 'close' to the requested color, it avoids having to create a
11319             colormap.  Depending on the display this could mean the used color
11320             is slightly off the desired color. Might have to change it to a more
11321             resource intensive colormap approach, but it will work as a
11322           workaround to avoid red screens.
11323
11324 2004-09-29 14:27  jackson
11325
11326         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11327
11328 2004-09-28 12:44  pbartok
11329
11330         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11331           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11332           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11333           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11334           TrackBar.cs, VScrollBar.cs:
11335           - Streamlined Theme interfaces:
11336             * Each DrawXXX method for a control now is passed the object for
11337               the control to be drawn in order to allow accessing any state the
11338               theme might require
11339
11340             * ControlPaint methods for the theme now have a CP prefix to avoid
11341               name clashes with the Draw methods for controls
11342
11343             * Every control now retrieves it's DefaultSize from the current
11344             theme
11345
11346 2004-09-28 12:17  jackson
11347
11348         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11349           drawing
11350
11351 2004-09-24 14:57  jackson
11352
11353         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11354           Gives us a nice little performance boost.
11355
11356 2004-09-24 12:02  jackson
11357
11358         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11359           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11360           Control and supporting classes. Initial checkin
11361
11362 2004-09-23 13:08  jackson
11363
11364         * Form.cs: Temp build fixage
11365
11366 2004-09-23 01:39  ravindra
11367
11368         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11369           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11370           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11371           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11372           EventHandlers needed by ListView Control.
11373
11374 2004-09-22 14:12  pbartok
11375
11376         * ScrollableControl.cs:
11377           - Implemented DockPadding property
11378           - Implemented AutoScroll property
11379           - Implemented AutoScrollMargin property
11380           - Implemented AutoScrollMinSize property
11381           - Implemented AutoScrollPosition property
11382           - Implemented DisplayRectangle property (still incomplete)
11383           - Implemented CreateParams property
11384           - Implemented HScroll property
11385           - Implemented VScroll property
11386           - Implemented OnVisibleChanged property
11387
11388 2004-09-22 14:09  pbartok
11389
11390         * Form.cs:
11391           - Added Form.ControllCollection class
11392           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11393             RemoveOwnedForm (still incomplete, missing on-top and common
11394             minimize/maximize behaviour)
11395           - Added StartPosition property (still incomplete, does not use when
11396             creating the form)
11397           - Added ShowDialog() methods (still incomplete, missing forcing the
11398             dialog modal)
11399
11400 2004-09-22 14:05  pbartok
11401
11402         * Application.cs:
11403           - Added message loop for modal dialogs
11404
11405 2004-09-22 14:02  pbartok
11406
11407         * GroupBox.cs:
11408           - Fixed wrong types for events
11409
11410 2004-09-22 14:00  pbartok
11411
11412         * Shortcut.cs, FormWindowState.cs:
11413           - Fixed wrong values
11414
11415 2004-09-22 12:01  jackson
11416
11417         * Control.cs: Text is never null
11418
11419 2004-09-20 22:14  pbartok
11420
11421         * XplatUIWin32.cs:
11422           - Fixed accessibility level for Idle handler
11423
11424 2004-09-20 18:54  jackson
11425
11426         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11427           XplatUIX11.cs: New message loop that uses poll so we don't get a
11428           busy loop
11429
11430 2004-09-17 10:43  pbartok
11431
11432         * ScrollBar.cs:
11433           - Fixed behaviour of arrow buttons. Now properly behaves like
11434             Buttons (and like Microsoft's scrollbar arrow buttons)
11435
11436 2004-09-17 10:14  pbartok
11437
11438         * ScrollBar.cs:
11439           - Added missing release of keyboard/mouse capture
11440
11441 2004-09-17 06:18  jordi
11442
11443         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11444           Theme.cs: Very early menu support
11445
11446 2004-09-16 17:45  pbartok
11447
11448         * XplatUIWin32.cs:
11449           - Fixed sending a window to the front
11450           - Added overload for SetWindowPos to avoid casting
11451
11452 2004-09-16 17:44  pbartok
11453
11454         * Control.cs:
11455           - Added SendToBack and BringToFront methods
11456
11457 2004-09-16 07:00  ravindra
11458
11459         * Copyright: Added Novell URL.
11460
11461 2004-09-16 07:00  ravindra
11462
11463         * ToolBar.cs: Invalidate should be done before redrawing.
11464
11465 2004-09-15 21:19  ravindra
11466
11467         * ColumnHeaderStyle.cs: Enum for ListView Control.
11468
11469 2004-09-15 21:18  ravindra
11470
11471         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11472           ListView Control.
11473
11474 2004-09-13 18:26  jackson
11475
11476         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11477           properly
11478
11479 2004-09-13 18:13  jackson
11480
11481         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11482           a second thread and post messages into the main threads message
11483           queue. This makes timing much more consistent. Both win2K and XP
11484           have a minimum timer value of 15 milliseconds, so we now do this
11485           too.
11486
11487 2004-09-13 15:18  pbartok
11488
11489         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11490           XplatUIX11.cs:
11491           - Added Z-Ordering methods
11492
11493 2004-09-13 10:56  pbartok
11494
11495         * Form.cs:
11496           - Fixed #region names
11497           - Moved properties and methods into their proper #regions
11498
11499 2004-09-13 10:51  pbartok
11500
11501         * Form.cs:
11502           - Added Accept and CancelButton properties
11503           - Added ProcessDialogKey() method
11504
11505 2004-09-13 08:18  pbartok
11506
11507         * IWindowTarget.cs:
11508           - Initial check-in
11509
11510 2004-09-10 21:50  pbartok
11511
11512         * Control.cs:
11513           - Added DoDragDrop() [incomplete]
11514           - Properly implemented 'Visible' handling
11515           - Added SetVisibleCore()
11516           - Implemented FindChildAtPoint()
11517           - Implemented GetContainerControl()
11518           - Implemented Hide()
11519
11520 2004-09-10 19:28  pbartok
11521
11522         * Control.cs:
11523           - Moved methods into their appropriate #regions
11524           - Reordered methods within regions alphabetically
11525
11526 2004-09-10 18:57  pbartok
11527
11528         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11529           - Added method to retrieve text from window
11530
11531 2004-09-10 18:56  pbartok
11532
11533         * Control.cs:
11534           - Moved some internal functions into the internal region
11535           - Implemented FontHeight
11536           - Implemented RenderRightToLeft
11537           - Implemented ResizeRedraw
11538           - Implemented ShowFocusCues
11539           - Implemented ShowKeyboardCues
11540           - Implemented FromChildHandle
11541           - Implemented FromHandle
11542           - Implemented IsMnemonic
11543           - Implemented ReflectMessage
11544           - All public and protected Static Methods are now complete
11545
11546 2004-09-10 16:54  pbartok
11547
11548         * Control.cs:
11549           - Implemented remaining missing public instance properties
11550           - Alphabetized some out of order properties
11551
11552 2004-09-10 05:51  ravindra
11553
11554         * PictureBox.cs: Added a check for null image.
11555
11556 2004-09-10 00:59  jordi
11557
11558         * GroupBox.cs: remove cvs tag
11559
11560 2004-09-09 05:25  ravindra
11561
11562         * ToolBar.cs: Make redraw accessible from ToolBarButton.
11563
11564 2004-09-09 05:23  ravindra
11565
11566         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11567           parent redraw.
11568
11569 2004-09-09 02:28  pbartok
11570
11571         * ThemeWin32Classic.cs:
11572           - Improve disabled string look
11573
11574 2004-09-09 01:15  jordi
11575
11576         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11577           args and handler
11578
11579 2004-09-08 23:56  ravindra
11580
11581         * ItemBoundsPortion.cs: It's enum, not a class!
11582
11583 2004-09-08 23:47  ravindra
11584
11585         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11586           Enums for Form.
11587
11588 2004-09-08 21:13  ravindra
11589
11590         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11591           ListView control.
11592
11593 2004-09-08 21:03  ravindra
11594
11595         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11596           avoid crash.
11597
11598 2004-09-08 21:01  ravindra
11599
11600         * ScrollableControl.cs: Removed unreachable code.
11601
11602 2004-09-08 06:45  jordi
11603
11604         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11605
11606 2004-09-08 01:00  jackson
11607
11608         * XplatUIX11.cs: Only run the timers when updating the message
11609           queue. This effectively gives X messages a higher priority then
11610           timer messages. Timers still need love though
11611
11612 2004-09-07 14:01  jackson
11613
11614         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11615           this for us and the handle is no longer valid.
11616
11617 2004-09-07 13:59  jackson
11618
11619         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11620           loop that manages to not crash. TODO: Add poll and cleanup timers
11621
11622 2004-09-07 11:12  jordi
11623
11624         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11625
11626 2004-09-07 03:40  jordi
11627
11628         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11629           fixes, methods, multiple links
11630
11631 2004-09-06 06:55  jordi
11632
11633         * Control.cs: Caches ClientRectangle rectangle value
11634
11635 2004-09-05 02:03  jordi
11636
11637         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11638           certain situations
11639
11640 2004-09-04 11:10  jordi
11641
11642         * Label.cs: Refresh when font changed
11643
11644 2004-09-02 16:24  pbartok
11645
11646         * Control.cs:
11647           - Added sanity check to creation of double buffer bitmap
11648
11649 2004-09-02 16:24  pbartok
11650
11651         * ButtonBase.cs:
11652           - Fixed selection of text color
11653           - Fixed handling of resize event; now properly recreates double
11654             buffering bitmap
11655           - Added missing assignment of TextAlignment
11656           - Added proper default for TextAlignment
11657
11658 2004-09-02 14:26  pbartok
11659
11660         * RadioButton.cs:
11661           - Added missing RadioButton.RadioButtonAccessibleObject class
11662
11663 2004-09-02 14:26  pbartok
11664
11665         * Control.cs:
11666           - Added missing Control.ControlAccessibleObject class
11667           - Started to implement Select()ion mechanisms, still very incomplete
11668
11669 2004-09-02 14:25  pbartok
11670
11671         * AccessibleObject.cs:
11672           - Added missing methods
11673
11674 2004-09-02 14:23  pbartok
11675
11676         * AccessibleNavigation.cs, AccessibleSelection.cs:
11677           - Initial check-in
11678
11679 2004-09-02 10:32  jordi
11680
11681         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11682           pool for pens, brushes, and hatchbruses
11683
11684 2004-09-01 15:30  jackson
11685
11686         * StatusBar.cs: Fix typo
11687
11688 2004-09-01 14:44  pbartok
11689
11690         * RadioButton.cs:
11691           - Fixed state
11692
11693 2004-09-01 14:39  pbartok
11694
11695         * Button.cs, RadioButton.cs:
11696           - Functional initial check-in
11697
11698 2004-09-01 14:01  pbartok
11699
11700         * CheckBox.cs:
11701           - Added missing default
11702           - Added missing region mark
11703
11704 2004-09-01 09:10  jordi
11705
11706         * Label.cs: fixes method signatures, new methods, events, fixes
11707           autosize
11708
11709 2004-09-01 07:19  jordi
11710
11711         * Control.cs: Init string variables with an empty object
11712
11713 2004-09-01 04:20  jordi
11714
11715         * Control.cs: fires OnFontChanged event
11716
11717 2004-08-31 20:07  pbartok
11718
11719         * ButtonBase.cs:
11720           - Enabled display of strings
11721
11722 2004-08-31 20:05  pbartok
11723
11724         * Form.cs:
11725           - Added (partial) implementation of DialogResult; rest needs to be
11726             implemented when the modal loop code is done
11727
11728 2004-08-31 19:55  pbartok
11729
11730         * CheckBox.cs:
11731           - Fixed to match the removal of the needs_redraw concept
11732
11733 2004-08-31 19:55  pbartok
11734
11735         * ButtonBase.cs:
11736           - Removed the rather odd split between 'needs redraw' and redrawing
11737           - Now handles the events that require regeneration (ambient
11738             properties and size)
11739
11740 2004-08-31 19:41  pbartok
11741
11742         * Control.cs:
11743           - Added firing of BackColorChanged event
11744           - Added TopLevelControl property
11745           - Fixed handling of WM_ERASEBKGRND message
11746
11747 2004-08-31 12:49  pbartok
11748
11749         * ButtonBase.cs:
11750           - Removed debug
11751           - Minor fixes
11752
11753 2004-08-31 12:48  pbartok
11754
11755         * CheckBox.cs:
11756           - Finished (famous last words)
11757
11758 2004-08-31 04:35  jordi
11759
11760         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11761           scrolling bugs, adds new methods
11762
11763 2004-08-30 14:42  pbartok
11764
11765         * CheckBox.cs:
11766           - Implemented CheckBox drawing code
11767
11768 2004-08-30 14:42  pbartok
11769
11770         * ButtonBase.cs:
11771           - Made Redraw() and CheckRedraw() virtual
11772           - Improved mouse up/down/move logic to properly track buttons
11773
11774 2004-08-30 09:44  pbartok
11775
11776         * CheckBox.cs:
11777           - Updated to fix broken build. Not complete yet.
11778
11779 2004-08-30 09:28  pbartok
11780
11781         * CheckState.cs:
11782           - Initial checkin
11783
11784 2004-08-30 09:17  pbartok
11785
11786         * Appearance.cs:
11787           - Initial check-in
11788
11789 2004-08-27 16:12  ravindra
11790
11791         * ToolBarButton.cs: Added TypeConverter attribute.
11792
11793 2004-08-27 16:07  ravindra
11794
11795         * ImageIndexConverter.cs: Implemented.
11796
11797 2004-08-27 14:17  pbartok
11798
11799         * Control.cs:
11800           - Removed unneeded stack vars
11801           - First attempt to fix sizing issues when layout is suspended
11802
11803 2004-08-25 15:35  jordi
11804
11805         * ScrollBar.cs: more fixes to scrollbar
11806
11807 2004-08-25 14:04  ravindra
11808
11809         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11810           Added the missing divider code and grip for ToolBar Control.
11811
11812 2004-08-25 13:20  pbartok
11813
11814         * Control.cs:
11815           - Control now properly passes the ambient background color to child
11816             controls
11817
11818 2004-08-25 13:20  jordi
11819
11820         * ScrollBar.cs: small bug fix regarding bar position
11821
11822 2004-08-25 12:33  pbartok
11823
11824         * Timer.cs:
11825           - Now only calls SetTimer or KillTimer if the enabled state has
11826           changed
11827
11828 2004-08-25 12:33  pbartok
11829
11830         * XplatUIWin32.cs:
11831           - Fixed timer handling, now seems to work
11832           - Improved error message for window creation
11833
11834 2004-08-25 12:32  pbartok
11835
11836         * Control.cs:
11837           - Fixed generation of MouseUp message
11838
11839 2004-08-25 12:29  jordi
11840
11841         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11842           and fixes for progressbar
11843
11844 2004-08-24 18:43  ravindra
11845
11846         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11847           in ToolBar control.
11848
11849 2004-08-24 17:15  pbartok
11850
11851         * Panel.cs:
11852           - Added #region
11853           - Added missing events
11854           - Alphabetized
11855
11856 2004-08-24 17:14  pbartok
11857
11858         * StatusBar.cs, PictureBox.cs:
11859           - Now uses Control's CreateParams
11860
11861 2004-08-24 16:36  pbartok
11862
11863         * XplatUIX11.cs:
11864           - Fixed background color handling
11865           - Fixed sending of enter/leave events on a grab
11866
11867 2004-08-24 16:35  pbartok
11868
11869         * X11Structs.cs:
11870           - Refined definitions for CrossingEvent
11871
11872 2004-08-24 12:37  jordi
11873
11874         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11875           formmating, methods signature, and adds missing events
11876
11877 2004-08-24 12:24  jordi
11878
11879         * Control.cs: fire OnEnabledChanged event
11880
11881 2004-08-24 11:17  pbartok
11882
11883         * XplatUIWin32.cs:
11884           - Implemented SetTimer() and KillTimer()
11885
11886 2004-08-24 11:16  pbartok
11887
11888         * XplatUIX11.cs:
11889           - Now uses Remove instead of Add to kill the timer
11890
11891 2004-08-24 10:16  jackson
11892
11893         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11894           picture boxes in the theme now. Draw picture box borders and obey
11895           sizing modes
11896
11897 2004-08-24 05:49  jackson
11898
11899         * Timer.cs: Remove top secret debugging code
11900
11901 2004-08-24 05:34  jackson
11902
11903         * PictureBox.cs: Temp hack to make picture boxes draw their full
11904           image
11905
11906 2004-08-24 05:29  jackson
11907
11908         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11909           XplatUIX11.cs: Move timers to the driver level. On X they are
11910           queued by the driver and checked on idle.
11911
11912 2004-08-24 01:07  jackson
11913
11914         * XplatUIX11.cs: Use a queue for async messages instead of passing
11915           them as ClientMessages since that was totally broken. Also simply
11916           check for events and return an idle message if none are found. This
11917           gives us an idle handler, and prevents deadlocking when no messages
11918           are in the queue.
11919
11920 2004-08-23 18:19  ravindra
11921
11922         * XplatUIWin32.cs: Removed the unwanted destructor.
11923
11924 2004-08-23 17:27  pbartok
11925
11926         * ButtonBase.cs:
11927           - Finishing touches. Works now, just needs some optimizations.
11928
11929 2004-08-23 16:53  jordi
11930
11931         * ScrollBar.cs: small fix
11932
11933 2004-08-23 16:45  pbartok
11934
11935         * Application.cs:
11936           - Removed debug output
11937           - Simplifications
11938
11939 2004-08-23 16:43  jordi
11940
11941         * ScrollBar.cs: [no log message]
11942
11943 2004-08-23 16:10  pbartok
11944
11945         * Form.cs:
11946           - Fixed handling of WM_CLOSE message
11947           - Removed debug output
11948
11949 2004-08-23 16:09  pbartok
11950
11951         * Application.cs:
11952           - Added handling of Idle event
11953           - Added handling of form closing
11954           - Fixed reporting of MessageLoop property
11955           - Removed some unneeded code, should provide a bit of a speedup
11956
11957 2004-08-23 15:22  pbartok
11958
11959         * Control.cs:
11960           - Added InitLayout() method
11961           - Added code to properly perform layout when Anchor or Dock property
11962             is changed
11963           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11964             LAMESPEC, tried to do it in a way that makes sense
11965
11966 2004-08-23 14:10  jordi
11967
11968         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11969           properties and methods
11970
11971 2004-08-23 13:55  pbartok
11972
11973         * Control.cs:
11974           - Properly fixed Jordi's last fix
11975           - Now uses Cursor's Position property instead of calling XplatUI
11976           directly
11977
11978 2004-08-23 13:44  jordi
11979
11980         * PaintEventHandler.cs: Adding missing attribute
11981
11982 2004-08-23 13:39  pbartok
11983
11984         * Cursor.cs:
11985           - Implemented Position property
11986
11987 2004-08-23 13:39  pbartok
11988
11989         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11990           - Added method to move mouse cursor
11991
11992 2004-08-23 13:39  pbartok
11993
11994         * XplatUIX11.cs:
11995           - Fixed setting of background color
11996           - Added method to move mouse cursor
11997
11998 2004-08-23 13:16  jordi
11999
12000         * Control.cs: avoids null exception
12001
12002 2004-08-22 17:46  jackson
12003
12004         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12005           PictureBox
12006
12007 2004-08-22 17:40  jackson
12008
12009         * XplatUIX11.cs: Add some missing locks
12010
12011 2004-08-22 15:10  pbartok
12012
12013         * Control.cs, Form.cs:
12014           - Removed OverlappedWindow style from Control, instead it's default
12015             now is child
12016           - Made form windows OverlappedWindow by default
12017
12018 2004-08-22 13:34  jackson
12019
12020         * ScrollBar.cs: Update the position through the Value property so
12021           the OnValueChanged event is raised.
12022
12023 2004-08-22 12:04  pbartok
12024
12025         * SWF.csproj:
12026           - Added Cursor.cs and UserControl.cs
12027
12028 2004-08-22 12:03  pbartok
12029
12030         * Cursor.cs:
12031           - Started implementation, not usable yet
12032
12033 2004-08-22 12:00  pbartok
12034
12035         * UserControl.cs:
12036           - Implemented UserControl (complete)
12037
12038 2004-08-21 19:20  ravindra
12039
12040         * ToolBar.cs: Correcting the formatting mess of VS.NET.
12041
12042 2004-08-21 18:49  ravindra
12043
12044         * ToolBar.cs: Probably this completes the missing attributes in
12045           toolbar control.
12046
12047 2004-08-21 18:03  ravindra
12048
12049         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12050           Fixed toolbar control signatures.
12051
12052 2004-08-21 16:32  pbartok
12053
12054         * LinkLabel.cs:
12055           - Signature Fixes
12056
12057 2004-08-21 16:30  pbartok
12058
12059         * Label.cs:
12060           - Signature fixes
12061
12062 2004-08-21 16:19  pbartok
12063
12064         * Control.cs, Label.cs:
12065           - Signature fixes
12066
12067 2004-08-21 15:57  pbartok
12068
12069         * ButtonBase.cs:
12070           - Added loads of debug output for development
12071           - Fixed typo in method name
12072
12073 2004-08-21 15:52  pbartok
12074
12075         * ToolBarButtonClickEventArgs.cs:
12076           - Added missing base class
12077
12078 2004-08-21 14:53  pbartok
12079
12080         * Control.cs:
12081           - Updated to match new GrabWindow signature
12082
12083 2004-08-21 14:51  pbartok
12084
12085         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12086           - Added method to get default display size
12087
12088 2004-08-21 14:23  pbartok
12089
12090         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12091           - Added method to query current grab state
12092           - Added argument to allow confining a grab to a window
12093
12094 2004-08-21 14:22  pbartok
12095
12096         * Keys.cs:
12097           - Added [Flags] attribute so that modifiers can be used in bitwise
12098           ops
12099
12100 2004-08-21 14:21  pbartok
12101
12102         * TrackBar.cs, ScrollBar.cs:
12103           - Replaced direct XplatUI calls with their Control counterpart
12104
12105 2004-08-21 13:32  pbartok
12106
12107         * Control.cs:
12108           - Implemented Created property
12109
12110 2004-08-21 13:28  pbartok
12111
12112         * Control.cs:
12113           - Implemented ContainsFocus
12114
12115 2004-08-21 13:26  pbartok
12116
12117         * Control.cs:
12118           - Implemented CausesValidation
12119
12120 2004-08-21 13:21  pbartok
12121
12122         * Control.cs:
12123           - Implemented CanFocus
12124           - Implemented CanSelect
12125           - Implemented Capture
12126
12127 2004-08-21 12:35  pbartok
12128
12129         * XplatUIWin32.cs:
12130           - Fixed bug with Async message handling
12131           - Implemented getting the ModifierKeys
12132
12133 2004-08-21 12:32  jackson
12134
12135         * AsyncMethodResult.cs: Make sure we have the mutex before we
12136           release it. Fixes BeginInvoke on windows
12137
12138 2004-08-21 11:31  pbartok
12139
12140         * XplatUIWin32.cs, XplatUIX11.cs:
12141           - Drivers now return proper mouse state
12142
12143 2004-08-21 10:54  jackson
12144
12145         * Control.cs: Implement EndInvoke
12146
12147 2004-08-21 10:48  jackson
12148
12149         * Timer.cs: Remove unneeded finalizer
12150
12151 2004-08-20 19:52  ravindra
12152
12153         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12154           in mouse event handling in the ToolBar control.
12155
12156 2004-08-20 19:50  ravindra
12157
12158         * ImageList.cs: Changed draw method to use the arguments passed in
12159           to draw the image.
12160
12161 2004-08-20 18:58  pbartok
12162
12163         * XplatUIStructs.cs:
12164           - Added private message for async communication
12165
12166 2004-08-20 17:38  ravindra
12167
12168         * Control.cs: Made RightToLeft property virtual and removed a
12169           Console.WriteLine.
12170
12171 2004-08-20 14:39  jordi
12172
12173         * ThemeGtk.cs: use style_attach
12174
12175 2004-08-20 14:39  pbartok
12176
12177         * XplatUIWin32.cs:
12178           - Added jackson's Async code from X11 to Win32
12179
12180 2004-08-20 14:09  pbartok
12181
12182         * SWF.csproj:
12183           - Added all new files
12184
12185 2004-08-20 14:09  pbartok
12186
12187         * Control.cs:
12188           - Added call to set window background color
12189
12190 2004-08-20 14:03  pbartok
12191
12192         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12193           - Added method for setting the window background
12194
12195 2004-08-20 14:02  pbartok
12196
12197         * XplatUIWin32.cs:
12198           - Added method for setting the background color
12199           - Added handling for erasing the window background
12200
12201 2004-08-20 13:45  jordi
12202
12203         * TrackBar.cs: fixes timer, new properties and methods
12204
12205 2004-08-20 13:34  jackson
12206
12207         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12208           correct thread
12209
12210 2004-08-20 13:22  jackson
12211
12212         * Timer.cs: Timer Tick events are now handed through Controls Async
12213           mechanism so the callbacks are executed in the same thread as X
12214
12215 2004-08-20 13:19  jackson
12216
12217         * XplatUIDriver.cs: Expose functionality to send async messages
12218           through the driver
12219
12220 2004-08-20 13:18  jackson
12221
12222         * Control.cs: Implement Begininvoke
12223
12224 2004-08-20 13:14  jackson
12225
12226         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12227           messages through the driver
12228
12229 2004-08-20 13:12  jackson
12230
12231         * XplatUIX11.cs: Lock before all X operations. Also added Async
12232           method functionality through XSendEvent
12233
12234 2004-08-20 13:11  jackson
12235
12236         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12237           This will screw up on 64 bit systems)
12238
12239 2004-08-20 13:10  jackson
12240
12241         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12242           Async messages through X/Win32
12243
12244 2004-08-19 19:39  pbartok
12245
12246         * XplatUIX11.cs:
12247           - Updated code to match new HandleData.DeviceContext type
12248
12249 2004-08-19 19:38  pbartok
12250
12251         * HandleData.cs:
12252           - Made DeviceContext a generic object to allow usage from various
12253           drivers
12254           - Added support for queueing Windows messages
12255
12256 2004-08-19 19:37  pbartok
12257
12258         * XplatUIWin32.cs:
12259           - Added generation of MouseEnter, MouseLeave and MouseHover events
12260           - Added cleanup on EndPaint
12261
12262 2004-08-19 19:17  pbartok
12263
12264         * Control.cs:
12265           - Added handling of WM_MOUSEHOVER
12266           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12267           code
12268
12269 2004-08-19 18:55  jordi
12270
12271         * ThemeGtk.cs: fixes button order
12272
12273 2004-08-19 18:12  jordi
12274
12275         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12276
12277 2004-08-19 17:09  pbartok
12278
12279         * Control.cs:
12280           - Added Right property
12281           - Added RightToLeft property
12282
12283 2004-08-19 16:27  jordi
12284
12285         * ThemeGtk.cs: experimental GTK theme support
12286
12287 2004-08-19 16:26  jordi
12288
12289         * ITheme.cs, Theme.cs: move themes from an interface to a class
12290
12291 2004-08-19 16:25  jordi
12292
12293         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12294           theme enhancaments
12295
12296 2004-08-19 16:04  pbartok
12297
12298         * XplatUIX11.cs:
12299           - Added colormap basics
12300           - Added a way to re-initialize with a different display handle
12301           - Fixed setting of the window background color
12302           - Added various X11 imports related to colors and colormaps
12303
12304 2004-08-19 15:51  pbartok
12305
12306         * X11Structs.cs:
12307           - Removed packing hints (Paolo suggested this a while back)
12308           - fixed colormap type
12309           - Added default Atom types
12310           - Added Screen and color structs and enums
12311
12312 2004-08-19 15:39  pbartok
12313
12314         * ImageList.cs:
12315           - Added missing Draw() method
12316           - Added missing RecreateHandle event
12317
12318 2004-08-19 15:30  pbartok
12319
12320         * Form.cs:
12321           - Added handling of WM_CLOSE
12322
12323 2004-08-18 13:16  jordi
12324
12325         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12326           a table
12327
12328 2004-08-18 09:56  jordi
12329
12330         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12331
12332 2004-08-17 15:31  ravindra
12333
12334         * SWF.csproj: Updated project.
12335
12336 2004-08-17 15:25  pbartok
12337
12338         * Control.cs:
12339           - Drawing improvement; don't call UpdateBounds if we are not visible
12340             (or have been minimized)
12341
12342 2004-08-17 15:24  pbartok
12343
12344         * XplatUIWin32.cs:
12345           - Finished IsVisible
12346           - Added Win32GetWindowPlacement
12347
12348 2004-08-17 15:08  jackson
12349
12350         * Panel.cs: Initial checkin of the Panel
12351
12352 2004-08-17 14:25  pbartok
12353
12354         * Control.cs:
12355           - Fixed broken handling of default window sizes
12356
12357 2004-08-17 13:29  jackson
12358
12359         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12360           has a large startup time.
12361
12362 2004-08-17 10:25  jackson
12363
12364         * HandleData.cs: union areas properly
12365
12366 2004-08-17 10:12  jackson
12367
12368         * HandleData.cs: union areas properly
12369
12370 2004-08-16 20:00  ravindra
12371
12372         * ToolBar.cs, ToolBarButton.cs: Added attributes.
12373
12374 2004-08-16 18:48  ravindra
12375
12376         * ToolBar.cs: Added attributes.
12377
12378 2004-08-16 17:17  ravindra
12379
12380         * SWF.csproj: Updated project.
12381
12382 2004-08-16 17:16  jackson
12383
12384         * XplatUIX11.cs: Check for more expose events before sending a
12385           WM_PAINT so they can all be grouped together. This makes dragging a
12386           window across another window redraw in a sane way.
12387
12388 2004-08-16 15:47  pbartok
12389
12390         * Control.cs:
12391           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12392             support OnMouseEnter/Leave()
12393           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12394             exposure handling
12395
12396 2004-08-16 15:46  pbartok
12397
12398         * XplatUIStructs.cs, XplatUIX11.cs:
12399           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12400           OnMouseEnter/Leave()
12401
12402 2004-08-16 15:34  jackson
12403
12404         * XplatUIX11.cs: Group multiple expose events in HandleData, make
12405           sure messages get the message field set to WM_NULL if they are not
12406           handled.
12407
12408 2004-08-16 15:24  jackson
12409
12410         * HandleData.cs: HandleData is used for storing message information
12411           for window handles
12412
12413 2004-08-15 17:23  ravindra
12414
12415         * ColorDepth.cs: Added attribute.
12416
12417 2004-08-15 17:23  ravindra
12418
12419         * SWF.csproj: Updated project for ToolBar Control.
12420
12421 2004-08-15 17:20  ravindra
12422
12423         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12424           control and also dos2unix format.
12425
12426 2004-08-15 17:13  ravindra
12427
12428         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12429           ToolBarButtonClickEventArgs.cs,
12430           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12431           ToolBarTextAlign.cs: First Implementation of ToolBar control.
12432
12433 2004-08-15 15:31  pbartok
12434
12435         * ButtonBase.cs:
12436           - First (mostly) working version
12437
12438 2004-08-13 16:15  pbartok
12439
12440         * Control.cs:
12441           - Fixed Anchor default
12442
12443 2004-08-13 15:43  pbartok
12444
12445         * Control.cs:
12446           - Changed GetCursorPos signature
12447
12448 2004-08-13 15:42  pbartok
12449
12450         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12451           - Changed signature for GetCursorPos
12452
12453 2004-08-13 15:25  pbartok
12454
12455         * XplatUIX11.cs:
12456           - Cleanup
12457           - Fixed resizing/exposure handling
12458
12459 2004-08-13 15:22  jordi
12460
12461         * ThemeWin32Classic.cs: removes redundant code and fixes issues
12462           with tickposition
12463
12464 2004-08-13 14:55  jordi
12465
12466         * TrackBar.cs: change from wndproc to events
12467
12468 2004-08-13 13:00  jordi
12469
12470         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12471           XplatUIX11.cs: implements PointToClient (ScreenToClient)
12472
12473 2004-08-13 12:53  pbartok
12474
12475         * XplatUIWin32.cs:
12476           - Changed GetWindowPos to also provide client area size
12477           - Fixed broken prototypes for several win32 functions
12478
12479 2004-08-13 12:53  pbartok
12480
12481         * XplatUI.cs, XplatUIDriver.cs:
12482           - Changed GetWindowPos to also provide client area size
12483
12484 2004-08-13 12:52  pbartok
12485
12486         * XplatUIX11.cs:
12487           - Added generation of WM_POSCHANGED
12488           - Changed GetWindowPos to also provide client area size
12489
12490 2004-08-13 12:52  pbartok
12491
12492         * Control.cs:
12493           - Added Dispose() and destructor
12494           - Fixed resizing and bounds calculation
12495           - Fixed Layout
12496           - Added memory savings for invisible windows
12497
12498 2004-08-13 12:46  jordi
12499
12500         * TrackBar.cs: adds timer and grap window
12501
12502 2004-08-13 10:25  jackson
12503
12504         * Timer.cs: SWF Timer
12505
12506 2004-08-12 16:59  pbartok
12507
12508         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12509           - Implemented method to get current mouse position
12510
12511 2004-08-12 14:29  jordi
12512
12513         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12514           enhancement, fix mouse problems, highli thumb, etc
12515
12516 2004-08-12 13:31  pbartok
12517
12518         * Control.cs:
12519           - Fixed Anchoring bugs
12520
12521 2004-08-12 13:01  jackson
12522
12523         * StatusBar.cs: Don't forget things
12524
12525 2004-08-12 12:54  jackson
12526
12527         * ThemeWin32Classic.cs: Handle owner draw status bars
12528
12529 2004-08-12 12:54  jackson
12530
12531         * StatusBar.cs: Implement missing properties, events, and methods.
12532           Handle mouse clicking
12533
12534 2004-08-12 10:19  jackson
12535
12536         * StatusBarPanelClickEventArgs.cs,
12537           StatusBarPanelClickEventHandler.cs: Classes for handling status
12538           bar panel click events
12539
12540 2004-08-12 10:10  jackson
12541
12542         * Control.cs: Add missing properties
12543
12544 2004-08-12 09:46  pbartok
12545
12546         * BindingsManagerBase.cs:
12547           - Name changed to BindingManagerBase.cs
12548
12549 2004-08-12 09:25  jordi
12550
12551         * ScrollableControl.cs: calls ctrlbase instead of exeception
12552
12553 2004-08-11 16:28  pbartok
12554
12555         * InputLanguageChangingEventArgs.cs:
12556           - Never check in before compiling. Fixes the last check-in
12557
12558 2004-08-11 16:26  pbartok
12559
12560         * InputLanguageChangingEventArgs.cs:
12561           - More signature fixes
12562
12563 2004-08-11 16:20  pbartok
12564
12565         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12566           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12567           ImageListStreamer.cs, InputLanguage.cs,
12568           InputLanguageChangedEventArgs.cs,
12569           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12570           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12571           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12572           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12573           - Signature fixes
12574
12575 2004-08-11 16:16  pbartok
12576
12577         * Application.cs:
12578           - Fixed Signature
12579           - Added .Net 1.1 method
12580
12581 2004-08-11 15:25  pbartok
12582
12583         * SWF.csproj:
12584           - Fixed BindingManagerBase.cs filename
12585
12586 2004-08-11 15:22  pbartok
12587
12588         * BindingManagerBase.cs:
12589           - Was checked in with wrong filename
12590
12591 2004-08-11 14:50  pbartok
12592
12593         * SWF.csproj:
12594           - Updated
12595
12596 2004-08-11 13:41  jordi
12597
12598         * XplatUIWin32.cs: Fixes ClientRect
12599
12600 2004-08-11 13:19  pbartok
12601
12602         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12603           XplatUIX11.cs:
12604           - We had SetWindowPos and MoveWindow to set window positions and
12605             size, removed MoveWindow. We have GetWindowPos, so it made sense to
12606             keep SetWindowPos as matching counterpart
12607           - Added some X11 sanity checking
12608
12609 2004-08-11 12:59  pbartok
12610
12611         * Control.cs:
12612           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12613             (It seems that SetBounds is just a front for SetBoundsCore and
12614              SetBoundsCore updates the underlying window system and
12615              UpdateBounds is responsible for updating the variables associated
12616              with the Control and sending the events)
12617           - Major cleanup of Size handling; we now have two sizes, client_size
12618             and bounds. Bounds defines the window with decorations, client_size
12619             without them.
12620
12621 2004-08-11 12:55  pbartok
12622
12623         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12624           - Added method to calculate difference between decorated window and
12625             raw client area
12626
12627 2004-08-11 12:54  pbartok
12628
12629         * Label.cs:
12630           - Forcing redraw on resize
12631
12632 2004-08-11 11:43  pbartok
12633
12634         * ImageList.cs:
12635           - Removed disposing of the actual images when the list is disposed
12636
12637 2004-08-11 09:13  pbartok
12638
12639         * Control.cs:
12640           - Now properly reparents windows
12641
12642 2004-08-11 08:37  pbartok
12643
12644         * Control.cs:
12645           - Duh!
12646
12647 2004-08-11 07:47  pbartok
12648
12649         * Control.cs:
12650           - Rewrote the collection stuff. Might not be as fast now, not
12651             keeping the number of children around and accessible directly, but
12652             it's more straightforward
12653
12654 2004-08-11 07:44  pbartok
12655
12656         * AccessibleObject.cs:
12657           - Fixed to match ControlCollection rewrite
12658
12659 2004-08-11 07:43  pbartok
12660
12661         * ImageList.cs:
12662           - Added missing creation of the collection list
12663
12664 2004-08-10 20:08  jackson
12665
12666         * StatusBar.cs: Get the paint message from WndProc
12667
12668 2004-08-10 19:31  jackson
12669
12670         * ThemeWin32Classic.cs: Create Brushes as little as possible
12671
12672 2004-08-10 19:20  jackson
12673
12674         * UICues.cs: Add Flags attribute
12675
12676 2004-08-10 19:19  jackson
12677
12678         * StatusBarPanel.cs: Signature cleanup
12679
12680 2004-08-10 19:10  jackson
12681
12682         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12683           Initial implementation of status bar item drawing
12684
12685 2004-08-10 17:27  jordi
12686
12687         * TrackBar.cs: add missing methods, properties, and restructure to
12688           hide extra ones
12689
12690 2004-08-10 16:24  jackson
12691
12692         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12693           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12694           attribute
12695
12696 2004-08-10 13:21  jordi
12697
12698         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12699           enhancements and standarize on win colors defaults
12700
12701 2004-08-10 12:52  jackson
12702
12703         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12704           ThemeWin32Classic.cs: Implement DrawItem functionality
12705
12706 2004-08-10 12:47  jordi
12707
12708         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12709
12710 2004-08-10 12:32  jordi
12711
12712         * Control.cs: throw ontextchange event
12713
12714 2004-08-10 11:43  pbartok
12715
12716         * Control.cs:
12717           - Added more to the still unfinished Dock/Anchor layout code
12718
12719 2004-08-10 11:39  pbartok
12720
12721         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12722           - Added GetWindowPos method
12723
12724 2004-08-10 11:36  pbartok
12725
12726         * XplatUIWin32.cs:
12727           - Implemented several methods
12728
12729 2004-08-10 09:47  jackson
12730
12731         * TrackBar.cs: Allow control to handle buffering
12732
12733 2004-08-10 09:41  jackson
12734
12735         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12736
12737 2004-08-10 09:24  jackson
12738
12739         * Label.cs, LinkLabel.cs: Let Control handle buffering.
12740
12741 2004-08-10 09:09  jackson
12742
12743         * StatusBar.cs: Let Control handle all the buffering.
12744
12745 2004-08-10 09:08  jackson
12746
12747         * Control.cs: Control will now handle the buffering code, so each
12748           control does not have to implement this.
12749
12750 2004-08-10 08:34  jackson
12751
12752         * XplatUIDriver.cs: Use default colors from the theme
12753
12754 2004-08-09 17:12  pbartok
12755
12756         * ImageList.cs:
12757           - Fixed several bugs Ravindra pointed out
12758
12759 2004-08-09 16:11  pbartok
12760
12761         * Control.cs:
12762           - Added incomplete dock layout code
12763           - Added support for mouse wheel
12764
12765 2004-08-09 16:09  pbartok
12766
12767         * XplatUIX11.cs:
12768           - Added handling for middle and right mousebutton
12769           - Added handling for mouse wheel
12770           - Added handling for key state and mouse state and position
12771           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12772           messages
12773
12774 2004-08-09 15:40  jackson
12775
12776         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12777           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12778           checkin
12779
12780 2004-08-09 15:37  jackson
12781
12782         * StatusBar.cs: Initial implementation of StatusBar
12783
12784 2004-08-09 15:36  jackson
12785
12786         * ITheme.cs: Add support for drawing status bar and getting status
12787           bar item sizes
12788
12789 2004-08-09 15:35  pbartok
12790
12791         * MouseButtons.cs:
12792           - Fixed values
12793
12794 2004-08-09 15:34  jackson
12795
12796         * ThemeWin32Classic.cs: Add support for drawing status bar and get
12797           status bar item sizes
12798
12799 2004-08-09 15:21  jackson
12800
12801         * ThemeWin32Classic.cs: Use known colors for default control
12802           colours
12803
12804 2004-08-09 15:12  jackson
12805
12806         * ThemeWin32Classic.cs: Make the default font static, it is static
12807           in control so this doesn't change functionality and creating fonts
12808           is sloooooow.
12809
12810 2004-08-09 14:56  pbartok
12811
12812         * X11Structs.cs:
12813           - Added GrabMode enum
12814
12815 2004-08-09 14:55  pbartok
12816
12817         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12818           - Removed Run method, was only required for initial development
12819
12820 2004-08-09 14:51  pbartok
12821
12822         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12823           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12824           capture
12825
12826 2004-08-09 13:48  pbartok
12827
12828         * XplatUIX11.cs:
12829           - Fixed default sizing for child windows
12830
12831 2004-08-09 12:56  pbartok
12832
12833         * XplatUIX11.cs:
12834           - Added generation of WM_DESTROY message
12835           - Added handling of window manager induced shutdown
12836
12837 2004-08-09 11:31  jackson
12838
12839         * ThemeWin32Classic.cs: New names for control properties
12840
12841 2004-08-09 11:25  jackson
12842
12843         * Control.cs: Use new color names
12844
12845 2004-08-09 11:02  jackson
12846
12847         * XplatUI.cs: Get default window properties from the theme
12848
12849 2004-08-09 11:01  jackson
12850
12851         * ITheme.cs: The theme engine now controls default window
12852           properties
12853
12854 2004-08-09 11:00  jackson
12855
12856         * ThemeWin32Classic.cs: Add default window color properties
12857
12858 2004-08-09 10:17  jackson
12859
12860         * ThemeWin32Classic.cs: Use correct default back color
12861
12862 2004-08-09 10:05  jackson
12863
12864         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12865           the theme now.
12866
12867 2004-08-09 09:56  jackson
12868
12869         * XplatUI.cs: Remove defaults, these are handled by the theme now.
12870
12871 2004-08-09 09:54  jackson
12872
12873         * Control.cs: Get default properties from the theme.
12874
12875 2004-08-09 09:53  jackson
12876
12877         * ITheme.cs: Themes now handle default control properties
12878
12879 2004-08-09 09:53  jackson
12880
12881         * ThemeWin32Classic.cs: Themes now handle default control
12882           properties so coloring will be consistent
12883
12884 2004-08-08 16:54  jordi
12885
12886         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12887
12888 2004-08-08 15:08  jordi
12889
12890         * XplatUIX11.cs: fixes keyboard crash
12891
12892 2004-08-08 13:47  jordi
12893
12894         * Label.cs: add cvs header info
12895
12896 2004-08-08 12:09  jackson
12897
12898         * ThemeWin32Classic.cs: Add pen_buttonface
12899
12900 2004-08-08 11:52  jordi
12901
12902         * Label.cs, LinkLabel.cs: [no log message]
12903
12904 2004-08-08 11:34  jordi
12905
12906         * ThemeWin32Classic.cs: Use Windows Standard Colours
12907
12908 2004-08-07 17:32  jordi
12909
12910         * TrackBar.cs: throw exceptions of invalid enums values
12911
12912 2004-08-07 17:31  jordi
12913
12914         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12915           draw method name
12916
12917 2004-08-07 16:56  jackson
12918
12919         * HorizontalAlignment.cs: Initial checkin
12920
12921 2004-08-07 13:16  jordi
12922
12923         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12924           methods
12925
12926 2004-08-07 13:05  jordi
12927
12928         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12929           GetSysColor defines
12930
12931 2004-08-06 18:01  pbartok
12932
12933         * ThemeWin32Classic.cs:
12934           - Fixed some rounding issues with float/int
12935
12936 2004-08-06 18:00  jackson
12937
12938         * DockStyle.cs, AnchorStyles.cs:
12939
12940                   Add flags and serializable attributes.
12941
12942 2004-08-06 17:46  pbartok
12943
12944         * XplatUIX11.cs:
12945           - Implemented GetParent
12946
12947 2004-08-06 17:18  pbartok
12948
12949         * TrackBar.cs:
12950           - Fixed some rounding issues with float/int
12951
12952 2004-08-06 17:17  pbartok
12953
12954         * X11Structs.cs, XplatUIX11.cs:
12955           - Fixed Refresh and Invalidate
12956
12957 2004-08-06 15:30  pbartok
12958
12959         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12960           - Fixed recursive loop when resizing
12961           - Improved/fixed redrawing on expose messages
12962
12963 2004-08-06 09:53  jordi
12964
12965         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12966           keyboard navigation
12967
12968 2004-08-06 08:02  pbartok
12969
12970         * X11Structs.cs, XplatUIX11.cs:
12971           - Fixed reparenting
12972           - Fixed window border creation
12973
12974 2004-08-05 15:38  pbartok
12975
12976         * XplatUIX11.cs:
12977           - Attempted fix for reparenting problems
12978
12979 2004-08-04 15:14  pbartok
12980
12981         * Control.cs:
12982           - Fixed Invalidation bug (calculated wrong client area)
12983           - Added ClientSize setter
12984
12985 2004-08-04 15:13  pbartok
12986
12987         * Form.cs:
12988           - Added AutoScale properties
12989
12990 2004-08-04 15:13  pbartok
12991
12992         * SWF.csproj:
12993           - Added latest files
12994
12995 2004-08-04 14:11  pbartok
12996
12997         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12998           XplatUIX11.cs:
12999           - Added Invalidate handling
13000
13001 2004-08-03 17:09  jordi
13002
13003         * XplatUIDriver.cs: fixes spelling mistake
13004
13005 2004-07-27 09:53  jordi
13006
13007         * TrackBar.cs: fixes trackbar events, def classname, methods
13008           signature
13009
13010 2004-07-27 09:29  jordi
13011
13012         * ScrollBar.cs: fixes scrollbar events
13013
13014 2004-07-27 04:38  jordi
13015
13016         * Control.cs: changes to be able to run winforms samples
13017
13018 2004-07-26 11:42  jordi
13019
13020         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13021           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13022
13023 2004-07-26 05:41  jordi
13024
13025         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13026           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13027           implementation
13028
13029 2004-07-22 09:22  jordi
13030
13031         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13032           check link overlapping, implement events, and fixes
13033
13034 2004-07-21 10:28  jordi
13035
13036         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13037
13038 2004-07-21 10:19  jordi
13039
13040         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13041           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13042           LinkLabelLinkClickedEventArgs.cs,
13043           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13044           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13045           implementation
13046
13047 2004-07-19 13:09  jordi
13048
13049         * Control.cs, Label.cs: label control re-written: added missing
13050           functionlity, events, and properties
13051
13052 2004-07-19 10:49  jordi
13053
13054         * Control.cs: fixes SetBounds logic
13055
13056 2004-07-19 01:29  jordi
13057
13058         * Control.cs: Call RefreshWindow only if the window has created
13059
13060 2004-07-15 14:05  pbartok
13061
13062         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13063           - Implemented ImageList and ImageList.ImageCollection classes
13064           - Added ColorDepth enumeration
13065           - Updated SWF VS.Net project
13066
13067 2004-07-15 11:06  jordi
13068
13069         * XplatUIStructs.cs: added MsgButons enum
13070
13071 2004-07-15 11:03  jordi
13072
13073         * Control.cs: added basic mouse handeling events
13074
13075 2004-07-15 03:38  jordi
13076
13077         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13078           Vertical TrackBar control implementation
13079
13080 2004-07-13 09:33  jordi
13081
13082         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13083
13084 2004-07-13 09:31  jordi
13085
13086         * Control.cs, Form.cs: commit: new properties and fixes form size
13087           problems
13088
13089 2004-07-09 14:13  miguel
13090
13091         * ProgressBar.cs: Spelling
13092
13093 2004-07-09 11:25  pbartok
13094
13095         * ProgressBar.cs:
13096           - Removed usage of Rectangle for drawing. Miguel pointed out it's
13097           faster
13098
13099 2004-07-09 11:17  miguel
13100
13101         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
13102
13103                 * ProgressBar.cs: Fixed spelling for `block'
13104
13105                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13106                 style guidelines.
13107
13108                 Avoid using the += on rect.X, that exposed a bug in the compiler.
13109
13110 2004-07-08 23:21  pbartok
13111
13112         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13113           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13114           BaseCollection.cs, Binding.cs, BindingContext.cs,
13115           BindingMemberInfo.cs, BindingsCollection.cs,
13116           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13117           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13118           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13119           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13120           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13121           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13122           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13123           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13124           FrameStyle.cs, GiveFeedbackEventArgs.cs,
13125           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13126           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13127           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13128           InputLanguageChangedEventArgs.cs,
13129           InputLanguageChangedEventHandler.cs,
13130           InputLanguageChangingEventArgs.cs,
13131           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13132           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13133           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13134           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13135           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13136           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13137           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13138           QueryAccessibilityHelpEventArgs.cs,
13139           QueryAccessibilityHelpEventHandler.cs,
13140           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13141           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13142           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13143           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13144           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13145           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13146           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13147           XplatUIX11.cs, lang.cs:
13148           - Initial check-in
13149