296ffc1a078467b5e5068658cceb460dd286248a
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
2
3         * FileDialog.cs: Show something in the DirComboBox on *nix if the
4           path doesn't fit into some of our Current.Places
5
6 2006-04-13  Jackson Harper  <jackson@ximian.com>
7
8         * ComboBox.cs: Use borders instead of drawing our own decorations,
9         try to obey correct rules for heights.
10         * Theme.cs:
11         * ThemeNice.cs:
12         * ThemeClearLooks.cs:
13         * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
14         this is now handled by borders.
15         - Remove unused DrawListBoxDecorationSize method.
16         
17 2006-04-13  Mike Kestner  <mkestner@novell.com>
18
19         * MenuAPI.cs: null guarding for the disbled click check fixes crash
20         reported by Alex.
21
22 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
23
24         * ThemeWin32Classic.cs: 
25           - Fixed CPDrawStringDisabled
26           - Corrected drawing of disabled menu items
27           - Fixed drawing of disabled radio buttons (bug #78095)
28           - Draw check in a disabled CheckBox with color ControlDark 
29
30 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
31
32         * Form.cs: Use the provided width when calculating the menu size;
33           when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
34           and ClientSize.Width won't be updated yet
35         * Application.cs: Use Visible instead of Show() to make form visible,
36           this way we create the handle later and menusize is considered
37
38 2006-04-12  Mike Kestner  <mkestner@novell.com>
39
40         * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
41         reporting.
42
43 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
44
45         * TextBox.cs: Implemented context menu
46
47 2006-04-12  Mike Kestner  <mkestner@novell.com>
48
49         * ListView.cs: implement box selection. fixes #77838.
50         * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
51
52 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
53
54         * XplatUIX11.cs: Added setting of window type when transient window
55           is created (metacity would move it otherwise)
56         * X11Structs.cs: Added WINDOW_TYPE atoms
57         * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
58           background (the control is Opaque but still wants transparent
59           backgrounds)
60
61 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
62
63         * Control.cs: Added OnPaintBackgroundInternal to allow controls
64           that set Opaque but don't mean it (like all ButtonBase-derived
65           controls) to still draw their background
66         * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
67           the background
68
69 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
70
71         * Control.cs (PaintControlBackground): Set the graphics object
72           on our PaintEvent to null to prevent it from being disposed
73           when the PaintEvent gets disposed
74
75 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
76
77         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
78         * ThemeNice.cs, ThemeClearlooks.cs: fix typo
79
80 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
81
82         * Control.cs: 
83           - Added transparency check to BackColor property. Transparent
84             backgrounds are only allowed if the control styles permit it
85           - Added recursive painting of parent control background and
86             foreground if a control with a transparent backcolor is drawn
87             (Thanks to Tim Ringenback for providing his 'hack' as a base
88              for this patch) Fixes #77985 and #78026.
89           - Added Opaque style check before calling OnPaintBackground, no
90             need to draw the background if the control is opaque
91           - Removed ControlAccessibleObject owner variable (inherited from
92             base, no need to define again)
93           - Added some documentation links explaining the drawing events
94             and styles
95
96 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
97
98         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
99           that the affected control is the located at the left border of our
100           parent (Fixes #77936)
101
102 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
103
104         * TextBoxBase.cs: When rendering disabled or readonly controls,
105           draw the background with 'Control' instead of 'Window' color as
106           long as the user hasn't specifically set a color
107
108 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
109
110         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
111           since that won't be updated if the user types text (only if it's
112           programatically set)
113
114 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
115
116         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
117           layout changes do to app-triggered resizes will have the proper
118           display rectangle for layout
119
120 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
121
122         * ThemeWin32Classic.cs:
123           - Make use of the SystemBrushes and SystemPens wherever possible
124           - Corrected some highlight colors
125           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
126             drawing
127         * Theme.cs: Added Empty field to CPColor struct
128
129 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
130
131         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
132           is displayed when calculating the display rectangle. Thanks to Mike
133           for teaching me the err of my ways.
134
135 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
136
137         * ScrollableControl.cs:
138           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
139             (instead of 0,0) and we now return the real width/height instead of
140             just the clientrectangle, adjusted for padding. The rectangle is
141             now cached and created by the new CalculateDisplayRectangle method.
142           - Created new CalculateDisplayRectange method, which basically does
143             what get_DisplayRectangle() did originally, but now using the 
144             right edge instead of DisplayRectangle to determine the size of
145             our scrollbars
146           - get_Canvas(): Fixed it to properly calculate canvas for 
147             right/bottom controls which seem to be placed to the right/bottom
148             of any controls that have a fixed location
149           - Removed TODO that's taken care of
150           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
151             and SetDisplayRectLocation according to new MSDN2 docs
152           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
153             event when that is called, this is added for compatibility
154           - ScrollControlIntoView(): Implemented.
155           - Switched scrollbars to be implicit, they shouldn't be selectable
156         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
157           call it when the active control is set/changed
158         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
159         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
160           implicit_control variable (used for native Win32 message generation)
161         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
162           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
163         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
164         * XplatUIStructs.cs: Added ScrollBarCommands enum
165
166 2006-04-10  Jackson Harper  <jackson@ximian.com>
167
168         * ButtonBase.cs:
169         * CheckedListBox.cs:
170         * ComboBox.cs:
171         * DataGrid.cs:
172         * DataGridView.cs:
173         * Form.cs:
174         * GroupBox.cs:
175         * ListBox.cs:
176         * PrintPreviewControl.cs:
177         * ProgressBar.cs:
178         * PropertyGrid.cs:
179         * Splitter.cs:
180         * StatusBar.cs:
181         * TrackBar.cs:
182         * UpDownBase.cs: Fixup base event overrides.
183         
184 2006-04-06  Mike Kestner  <mkestner@novell.com>
185
186         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
187         all user-initiated value changes to min <= value <= max-thumbsz+1.
188         (set_Value): check for vert/horiz when calculating new thumb position.
189         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
190         like MS does.
191         (OnMouseMoveSB): refactor the thumb dragging code and refine
192         invalidation logic to reduce flicker.
193         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
194         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
195         (UpdateThumbPosition): small code readability cleanup
196
197 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
198
199         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
200           different
201
202 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
203
204         * ThemeNice.cs: Use a better graphics effect when a button is pressed
205
206 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
207
208         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
209         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
210           This dramatically reduces the number of Pen.Dispose calls. 
211           Where possible call ResPool methods only once instead of calling it
212           over and over again (for example for the same color).
213
214 2006-04-06  Mike Kestner  <mkestner@novell.com>
215
216         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
217         Also remove an unused private field on the collection. Fixes #77972.
218
219 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
220
221         * ThemeNice.cs: Added ToolBar drawing code
222
223 2006-04-06  Mike Kestner  <mkestner@novell.com>
224
225         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
226         I'm assuming that means we need to look up the toplevel for the
227         provided control. Fixes the crash trace in #77911 but exposes another
228         crash in some strange reflection usage in NDocGui.
229
230 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
231
232         * ThemeNice.cs: Gave it a little silver touch and added Images
233           method
234         * FontDialog.cs: FontDialog is not resizable
235         * FileDialg.cs: Added SizeGripStyle.Show
236
237 2006-04-05  Jackson Harper  <jackson@ximian.com>
238
239         * KeyboardLayouts.cs: Remove warning.
240
241 2006-04-05  Jackson Harper  <jackson@ximian.com>
242
243         * Control.cs: Enable OnPaintInternal so we can use it for drawing
244         all of our controls instead of Paint +=.
245         * ListBox.cs:
246         * ListView.cs:
247         * MenuAPI.cs:
248         * MessageBox.cs:
249         * NotifyIcon.cs:
250         * ProgressBar.cs:
251         * ScrollBar.cs:
252         * Splitter.cs:
253         * StatusBar.cs:
254         * TabControl.cs:
255         * TextBoxBase.cs:
256         * ToolBar.cs:
257         * TrackBar.cs:
258         * UpDownBase.cs:
259         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
260         use OnPaintInternal. Remove Width/Height and Visible checks in
261         paint handler, this is done at a higher level now.
262         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
263         * PaintEventArgs.cs: Add a handled flag so controls that don't
264         want anymore painting after OnPaintInternal can make sure OnPaint
265         isn't called.
266
267 2006-04-05  Mike Kestner  <mkestner@novell.com>
268
269         * Form.cs: fix the menu WndProc hacks to respect the native enabled
270         state of the form, so that we don't process events when Modal dialogs
271         are up. Fixes #77922.
272
273 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
274
275         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
276           checking is done.
277
278 2006-04-05  Mike Kestner  <mkestner@novell.com>
279
280         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
281
282 2006-04-05  Mike Kestner  <mkestner@novell.com>
283
284         * ListView.cs (HeaderMouseMove): null guarding for the over column
285         when setting up the drag_to_index.  Fixes #78015.
286
287 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
288
289         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
290           in the taskbar. Transient windows seem to accomplish that.
291
292 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
293
294         * Form.cs:
295           - Re-enabled CreateParams.X/Y code for FormStartPosition
296           - Added code for manual placement when creating the Control
297           - Incomplete patch to treat MDI forms differently when
298             setting the ClientSizeCore. (Still need to figure out handling
299             x/y coords there)
300         * XplatUIX11.cs:
301           - When we're explicitly setting the X/Y position of a non-Child
302             window, let the WM know. Metacity really wants this.
303
304 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
305
306         * ThemeNice.cs: Added CPDrawButton
307
308 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
309
310         * ThemeNice.cs: Changed the color for focused buttons and activated
311           the arrows for small scroll buttons.
312
313 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
314
315         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
316           anymore. Changed some method modifiers to protected (virtual)
317         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
318           changes
319         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
320           Updated drawing of menus, buttons and progressbars; added
321           CPDrawBorder3D 
322
323 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
324
325         * ImageListStreamer.cs: implemented serialization/deserialization
326         of the images.
327
328 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
329
330         * ThemeWin32Classic.cs:
331           - Removed all the DrawFrameControl stuff; CPDrawButton,
332             CPDrawCheckBox and CPDrawRadioButton are now handled directly
333             inside the methods
334           - Updated and corrected the drawing code of CPDrawButton,
335             CPDrawCheckBox and CPDrawRadioButton to better match ms
336           - Updated theme checkbox and radiobutton code to use the CP*
337             methods
338
339 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
340
341         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
342           bug is fixed
343
344 2006-03-31  Jackson Harper  <jackson@ximian.com>
345
346         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
347         sometimes.
348         * UpDownBase.cs: Don't CreateGraphics manually, use a
349         Refresh. Ideally we would invalidate the correct areas here.
350
351 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
352
353         * XplatUIX11.cs: 
354           - We now track the mapping state of windows. If a window (or 
355             one of it's parents) is not mapped we no longer permit
356             WM_PAINT messages to be generated since we'd otherwise get 
357             lots of BadMatch X errors. Jackson did all the work figuring
358             out the problem.
359           - Destroying the caret if the window it's contained in is 
360             destroyed. Can't use regular DestroyCaret method since it
361             might fall into a drawing function (trying to remove the
362             caret) and with that generate new BadMatch errors. Again,
363             Jackson tracked this down.
364           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
365             make sure we send the messages to all windows. (The old code
366             would send the WM_DESTROY to the window, and then all child
367             windows would be 'gone' because the WM_DESTROY handle lookup
368             would no longer find the destroyed window)
369         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
370         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
371
372 2006-03-31  Jackson Harper  <jackson@ximian.com>
373
374         * ScrollableControl.cs: Dont recalc if we are not visible.
375
376 2006-03-31  Mike Kestner  <mkestner@novell.com>
377
378         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
379         the visibility branch.
380
381 2006-03-31  Jackson Harper  <jackson@ximian.com>
382
383         * ScrollBar.cs: Cap values when incrementing/decrementing.
384
385 2006-03-31  Mike Kestner  <mkestner@novell.com>
386
387         * MenuAPI.cs: setup menu.tracker for popup/context menus.
388         * ToolTip.cs: guard against timer expirations with no active control.
389         Not sure why it happened.
390
391 2006-03-31  Mike Kestner  <mkestner@novell.com>
392
393         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
394         text.
395         * ToolTip.cs: Position the tooltip based on where the cursor is at
396         popup time, not at MouseEnter time.  Add a Down state so that we don't
397         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
398         positioning offset. Lookup DisplaySize at positioning time, since it
399         can theoretically change during invocation.
400         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
401         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
402
403 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
404
405         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
406           Fixes behaviour when the Text property of the box is String.Empty
407
408 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
409
410         * XplatUIX11.cs: Only send mouseleave for our client windows, not
411           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
412           a window)
413
414 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
415
416         * FileDialog.cs: Visual enhancement for the popup buttons in 
417           PopupButtonPanel
418
419 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
420
421         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
422           code
423
424 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
425
426         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
427           highlighted menu items to match ms
428
429 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
430
431         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
432
433 2006-03-30  Mike Kestner  <mkestner@novell.com>
434
435         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
436         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
437         go active to account for HotLight to Selected transition.
438         * MenuItem.cs: add internal Selected prop. Fill out the Status
439         property by calculating it from item info. Add HotLight,
440         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
441
442 2006-03-30  Mike Kestner  <mkestner@novell.com>
443
444         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
445
446 2006-03-29  Jackson Harper  <jackson@ximian.com>
447
448         * Form.cs: Implement TODO.
449
450 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
451
452         * PrintPreviewDialog.cs: Implemented missing methods and events; still
453           missing proper dialog setup in the constructor
454
455 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
456
457         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
458         * Control.cs:
459           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
460           - Fixed ResetBindings and removed TODO
461           - Added check for cross-thread calls to get_Handle()
462           - Added Marshaller attribute for set_Font to satisfy class status
463         * FontDialog.cs: Removed TODOs that seemed implemented
464         * UpDownBase.cs: Removed unneeded TODO and Fixme
465         * MessageBox.cs: Implemented support for Default button and removed TODO
466         * FileDialog.cs: Removed obsolete TODO
467         * DomainUpDown.cs: Removed obsolete TODO
468         * ButtonBase.cs: Removed obsolete TODO
469         * XplatUIWin32.cs: Removed obsolete TODO
470         * Form.cs:
471           - Removed obsolete TODO
472           - Calling CheckAcceptButton when the acceptbutton is changed to allow
473             internal status updates
474           - Making sure the active control is selected when the control is created
475         * CurrencyManager.cs: Removed obsolete TODO
476
477 2006-03-29  Mike Kestner  <mkestner@novell.com>
478
479         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
480         of PrintPreviewDialog and RichTextBox.
481
482 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
483
484         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
485           DarkDark, Light and LightLight colors for a specific color
486         * ThemeWin32Classic.cs:
487           - Use Button drawing code to draw RadioButtons and CheckBoxes with
488             Appearance = Button 
489           - Make use of the new ResPool helper CPColor
490           - Draw ProgressBar and StatusBar with correct 3D borders
491
492 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
493
494         * ColorDialog.cs: Return selected color. Fixes bug #77940.
495
496 2006-03-28  Mike Kestner  <mkestner@novell.com>
497
498         * ListView.cs: fix Icon layout to plan for scrollbar widths when
499         calculating col/row counts.
500
501 2006-03-28  Mike Kestner  <mkestner@novell.com>
502
503         * ColumnHeader.cs:
504         * ListView.cs:
505         * ListViewItem.cs:
506         * Menu.cs: 
507         switch to explicit interface method implementation for some methods
508         corcompare identifies as inconsistent with MS.
509
510 2006-03-28  Mike Kestner  <mkestner@novell.com>
511
512         * MainMenu.cs: 
513         * Menu.cs:
514         add a few missing methods from the class status output.
515
516 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
517
518         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
519           correct.
520
521 2006-03-28  Mike Kestner  <mkestner@novell.com>
522
523         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
524
525 2006-03-27  Mike Kestner  <mkestner@novell.com>
526
527         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
528         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
529
530 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
531
532         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
533
534 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
535
536         * ThemeWin32Classic.cs:
537           - GroupBox: Inserted a little gap between the text and the lines
538             on the right side
539           - Made the code in CPDrawBorder3D more readable
540           - Corrected the drawing location of the up and down arrows in 
541             CPDrawScrollButton
542
543 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
544
545         * ControlPaint.cs: Corrected line widths in DrawBorder for
546           ButtonBorderStyle Inset and Outset
547
548 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
549
550         * ThemeWin32Classic.cs:
551           - Rewrote the totally broken CPDrawBorder3D method. That was
552             one of the main problems for the terrific ThemeWin32Classic
553             look
554           - Updated and corrected Button drawing
555           - Correct the dimensions of the SizeGrip to match ms ones
556           - Removed a small drawing glitch in DrawComboBoxEditDecorations
557         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
558           Border3DStyle.Sunken to match ms.
559
560 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
561
562         * ThemeWin32Classic.cs: First small part of the "de-uglify
563           ThemeWin32Classic" effort, SizeGrip
564
565 2006-03-24  Jackson Harper  <jackson@ximian.com>
566
567         * XplatUIX11.cs: Give a max idle time of one second, this matches
568         MS and forces an Idle event every second when there are no other
569         events in the queue.
570
571 2006-03-24  Mike Kestner  <mkestner@novell.com>
572
573         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
574         * ListView.Item.cs: fix layout issues with null image lists and images
575         smaller than checkbox size.
576         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
577         mode like MS does.  It's weird, but consistent.  ;-)
578         Fixes #77890.
579
580 2006-03-24  Mike Kestner  <mkestner@novell.com>
581
582         * ListView.cs: Scroll wheel support for the item control.  Fixes
583         #77839.
584
585 2006-03-23  Jackson Harper  <jackson@ximian.com>
586
587         * ScrollableControl.cs: Special case negative sized areas, not
588         zero.
589         * MonthCalendar.cs: Save the rect of the clicked date so we can
590         use it for invalidation.
591         - Try to cut down on the number of invalidates
592         - Invalidate the rect the mouse is over and was over when moving
593         the mouse, so we get the focus box following the cursor.
594
595 2006-03-23  Mike Kestner  <mkestner@novell.com>
596
597         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
598         focus rectangle drawing. Fixes #77835.
599
600 2006-03-23  Mike Kestner  <mkestner@novell.com>
601
602         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
603         the if and else if and reverting back to the original == check on the
604         None conditional.
605
606 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
607
608         * FontDialog.cs: Update the example panel if the selected index of
609           the fontListBox changes.
610
611 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
612
613         * FileDialog.cs: Make FileDialog remember which directory it was in
614           last in the same execution.
615
616 2006-03-22  Mike Kestner  <mkestner@novell.com>
617
618         * FileDialog.cs: make the DropDownMenu on the toolbar display
619         RadioChecks since they are mutually exclusive and that's what MS does.
620
621 2006-03-22  Mike Kestner  <mkestner@novell.com>
622
623         * Theme.cs: add Color param to CPDrawMenuGlyph.
624         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
625         checks and radio marks and arrows are visible on highlighted items.
626         * ControlPaint.cs: update to use new Theme signature.
627
628 2006-03-22  Mike Kestner  <mkestner@novell.com>
629
630         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
631         is active. Fixes #77870.
632
633 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
634
635         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
636           to be focused/selected after startup
637
638 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
639
640         * ColorDialog.cs: 
641           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
642             CustomColors and ShowHelp properties
643           - Some internal rewrites to get better results when using the
644             ColorMatrix
645
646 2006-03-22  Mike Kestner  <mkestner@novell.com>
647
648         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
649         HoverSelection.  Fixes #77836.
650
651 2006-03-22  Mike Kestner  <mkestner@novell.com>
652
653         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
654         ToggleButtons.  (De)Sensitize the Back button around a stack count of
655         1, not 0.  Update ButtonSize based on a pixel count of the win32
656         control.  Adjust the toolbar size/location for new button size.
657
658 2006-03-22  Jackson Harper  <jackson@ximian.com>
659
660         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
661         true.
662         * ScrollBar.cs: When doing increments and decrements we need to
663         set the Value property so that ValueChanged gets raised. A
664         possible optimization here would be to make an internal SetValue
665         that doesn't invalidate immediately.
666         * ToolTip.cs: Tooltips get added to their container (when
667         supplied) so they get disposed when the container is disposed.
668         - Don't create tooltips for String.Empty. This prevents all these
669         little 2-3 pixel windows from showing up when running nunit-gui
670         and driving me mad.
671         * Form.cs: Don't set topmost when setting the owner if the handles
672         haven't been created yet.  The topmost set will happen when the
673         handles are created.
674
675 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
676
677         * XplatUIX11.cs:
678           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
679           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
680             visible (to allow them to recalculate their sizes)
681
682 2006-03-21  Mike Kestner  <mkestner@novell.com>
683
684         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
685         methods. Removed a ton of redundant code.  Still not really happy with
686         the border rendering, but I think that's mainly because of the
687         ControlDarkDark being black instead of a dark grey. Depending on how 
688         close we want to be, we might want to revisit those color choices.
689         Among the new features added during the refactor were DropDownArrow
690         pressed rendering, Disabled image rendering.  Proper flat appearance
691         boundary rendering.  Removed the Divider and Wrapping dividers since I
692         can't figure out any combination of themes and conditions to make the
693         MS control draw a horizontal line on a toolbar despite what the
694         Divider property docs indicate.
695         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
696         conditions and incorrect layout.  Updated to coding standard.
697         * ToolBarButton.cs: refactored layout and positioning code from
698         ToolBar to here.  Invalidate wherever possible instead of forcing
699         redraws of the whole toolbar. 
700         (Known remaining issues: explicit ButtonSize smaller than provided
701         images.)
702
703 2006-03-21  Mike Kestner  <mkestner@novell.com>
704
705         * ContextMenu.cs (Show): use the position parameter instead of just
706         showing at the MousePosition.
707
708 2006-03-21  Jackson Harper  <jackson@ximian.com>
709
710         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
711         control handle this.
712         * TreeNodeCollection.cs: If we are clearing the root node we need
713         to reset top_node so calcs can still happen.
714         * ThemeWin32Classic.cs: This is a Flags so we need to check
715         properly.
716         
717 2006-03-21  Jackson Harper  <jackson@ximian.com>
718
719         * DataGrid.cs: Create columns when the binding context has been
720         changed.
721         * X11Structs.cs: Keysyms are uints.
722         - Add size to fix build.
723
724 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
725
726         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
727           XplatUIOSX.cs: 
728           - Added ResetMouseHover method to allow controls to retrigger
729             hovering if they need it more than once
730           - Implemented MouseHoverTime and MouseHoverSize properties
731         * Timer.cs: Start() must reset the interval
732         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
733           properties
734
735 2006-03-21  Jackson Harper  <jackson@ximian.com>
736
737         * X11Keyboard.cs: improved layout detection. Move the nonchar
738         tables into this file.
739         * KeyboardLayouts.cs: Move the tables into resource files.
740
741 2006-03-21  Mike Kestner  <mkestner@novell.com>
742
743         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
744
745 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
746
747         * Mime.cs: Various speed optimizations. Looking up mime types
748           is now 2 times faster than before
749
750 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
751
752         * CreateParams.cs: Added internal menu field
753         * Control.cs: 
754           - Switched call order for UpdateBounds; now we always call
755             the one that also takes ClientSize, and we're calculating the 
756             client size via driver method in the others. The previous
757             method of tracking client size by difference wasn't working
758             for forms where even the starting client size wouldn't match
759             the overall form size (due to borders) (Part of fix for #77729)
760           - CreateParams(): Do not use parent.Handle unless the handle is
761             already created. Causes havoc with Nexxia and throws off our
762             creation of controls
763         * XplatUIX11.cs:
764           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
765           - Switched handling of ConfigureNotify over to new PerformNCCalc 
766             method (consolidates code)
767           - Changed RequestNCRecalc to use new PerformNCCalc method
768           - Added calls to RequestNCRecalc when menus and borders are changed
769             to allow app to set NC size. (Part of fix for #77729) This matches
770             when MS send a WM_NCRECALC on Win32 windows.
771           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
772             (Part of fix for #77729). This matches what MS does, they also
773             send that message when the form is made visible.
774           - XException.GetMessage: Improved usability of X errors by including
775             a translation of the window into Hwnd and Control class
776           - Improved debug info for window creation, reparenting and destruction
777           - Created helper method WindowIsMapped() [Currently not used]
778         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
779         * Form.cs:
780           - CreateParams: Now setting our menu on the new internal menu field
781           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
782             avoid calculating the same property twice
783         * Hwnd.cs:
784           - Improved usability of ToString() for debugging purposes
785           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
786             determine the height of the menu, instead of just the font. This
787             required to also create a graphics context and to keep a bmp 
788             around (for performance reasons)
789
790 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
791
792         * MenuAPI.cs: Added OnMouseUp method
793         * Form.cs:
794           - Now remembering the requested client size, avoids size errors
795           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
796             instead of base if the menu is active. This is required due to
797             control now capturing and releasing on down/up and it would
798             prematurely release our menu capture
799
800 2006-03-17  Jackson Harper  <jackson@ximian.com>
801
802         * KeyboardLayouts.cs: Add the czech layouts.
803
804 2006-03-16  Jackson Harper  <jackson@ximian.com>
805
806         * Control.cs: Use the viewport space when sizing not the controls
807         client size, so things like ScrollableControl that effect the
808         viewport size (when scrollbars are added) are computed correctly.
809         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
810         of ManagerEntrys.
811         - Handle creating BindingManagers for null data sources.
812         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
813         source, otherwise when rows are added they are added to the 'fake'
814         datasource and we will crash when trying to set the position in
815         those rows.
816         - Use Implicit scrollbars on the datagrid so they arent
817         selectable.
818         
819 2006-03-16  Jackson Harper  <jackson@ximian.com>
820
821         * Binding.cs:
822         * InternalWindowManager.cs:
823         * MdiWindowManager.cs:
824         * X11Keyboard.cs: I really want Mike to love me again (fix
825         compiler warnings).
826
827 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
828
829         * DataGrid.cs:
830           - OnMouseDown: Switch to editing mode when clicking on the cell
831                          even if we're clicking on the cell that's currently 
832                          selected
833           - ProcessGridKey: Left/Right now wrap like MS.Net does
834           - ProcessGridKey: Tab now knows to add a new row when tab is
835                             pressed in the cell of the last column of the 
836                             last row
837           - ProcessGridKey: Enter now adds another row  if pressed in the last
838                             row and selectes the new row, same column cell
839           - ProcessGridKey: Home/End navigate columns, not rows, like 
840                             originally implemented
841           - Broke ProcessKeyPreview code out into an extra Internal method
842             so it can be called from the edit code
843         * DataGridTextBox.cs (ProcessKeyMessage):
844           - Switched to accept Tab keypresses
845           - Added F2 handling to allow jumping to the end of the edited cell
846           - Added logic to allow moving caret left/right inside edited cell
847             and making the edited cell jump when the caret hits cell borders
848           - Tab and Enter are now passed to the datagrid after being handled
849         * TextBoxBase.cs:
850           - Removed capture code now that Control handles it
851           - set_SelectionStart now ensures caret is visible
852
853 2006-03-16  Jackson Harper  <jackson@ximian.com>
854
855         * TrackBar.cs: Debackwards the increment/decrement for handling
856         mouse clicks on the bar with vertical trackbars.
857         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
858         bottom to match MS.
859
860 2006-03-16  Mike Kestner  <mkestner@novell.com>
861
862         * ListView.cs: make shift/ctrl keyboard and mouse selection 
863         consistent with the MS control. Fix a bug in
864         SelectedListViewItemCollection.Clear that was pissing me off for the
865         better part of a day because the collection was being altered
866         underneath us as we walked the list.
867
868 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
869
870         * Control.cs: Not sure how we could miss this so long, but it seems
871           that MS.Net has Capture set all the way from before calling 
872           OnMouseDown through sending the mouse events until after
873           OnMouseUp. This will fix DataGrid's selection being set to end
874           at the location of the MouseUp.
875
876 2006-03-15  Jackson Harper  <jackson@ximian.com>
877
878         * BindingContext.cs: Check the binding after its added so that it
879           can initialize the binding managers and hookup to events.
880         * Binding.cs: Data members seem to sometimes include rows/cols in
881           the format Row.Column we now take this into account.
882           - Hookup to the position changed event so we can update the
883           control when the position has changed in the data set.
884         * CurrencyManager.cs: Take into account the row/col naming
885           convention when creating dataset tables.
886         * BindingContext.cs: Using a newer better way of storing
887           datasource/datamember pairs.  Hopefully this better matches MS for
888           looking up binding managers.
889
890
891 2006-03-15  Jackson Harper  <jackson@ximian.com>
892
893         * BindingContext.cs: The currency manager needs the data member
894         name, if the member is a data set we use the name to find the
895         correct table.
896         * CurrencyManager.cs: When creating the list prefer an IList over
897         an IListSource.
898         - Attempt to create a DataTable from a DataSet (TODO: might need
899         some better error checking here, although MS doesn't seem to have much)
900         - If we have a DataTable create a view and use it as our list.
901
902 2006-03-15  Mike Kestner  <mkestner@novell.com>
903
904         * ListView.cs: keep a matrix of the icon mode layout to facilitate
905         keyboard navigation. Support Up/Down/Left/Right selection correctly
906         for all 4 View modes.
907         * ListViewItem.cs: add internal row/col fields for icon layouts.
908
909 2006-03-15  Jackson Harper  <jackson@ximian.com>
910
911         * TabControl.cs: Redraw the tabs when we resize so their newly
912         calculated sizes are drawn on screen.
913         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
914         composite characters.
915         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
916         - filter events so that composite characters can be created
917         patches by peter
918         * X11Structs.cs: Add XIMProperties enum.
919
920 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
921
922         * Control.cs (BringToFront, SendToBack): Don't use window or handle
923           unless it's created
924
925 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
926
927         * Control.cs (PerformLayout): We don't need to consider visiblity
928           for anchoring, only for docking. This fixes 'whacky' alignment
929           in listbox and other controls that use implicit scrollbars after
930           the previous PerformLayout patch
931         * ListBox.cs: Switched to use implicit scrollbars
932           
933 2006-03-14  Mike Kestner  <mkestner@novell.com>
934
935         * ToolBar.cs: 
936         * VScrollBar.cs:
937         - chain up the "new event" overrides to base and use
938         OnEvent to raise them.  Part of fix for bug #76509.
939
940 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
941
942         * FileDialog.cs: Do not select an item in the parent directory
943           on backspace
944
945 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
946
947         * Control.cs (PerformLayout): It would seem that we considered
948           invisible windows for our layout. Not quite the right thing
949           to do. Now we don't any longer, thereby fixing bug #76889.
950
951 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
952
953         * Control.cs (CanFocus): I goofed. A control can have focus 
954           even though it's not selectable. Made it match MS docs.
955
956 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
957
958         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
959           center by default (fixes #76895)
960         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
961           all uses of Border3DSides.All with the explicit ORd together
962           Left|Right|Top|Bottom because I assume that nobody was aware 
963           that All also implies a center fill. Most places I checked had
964           a fill right above.
965         * ProgressBarStyle.cs: Added
966
967 2006-03-13  Mike Kestner  <mkestner@novell.com>
968
969         * ListView.cs: fix breakage in drag shadow header positioning 
970         from Peter's csc compilation fix.
971
972 2006-03-13  Mike Kestner  <mkestner@novell.com>
973
974         * ListView.cs: fix NRE produced by backspacing twice in a focused
975         FileDialog.
976
977 2006-03-13  Mike Kestner  <mkestner@novell.com>
978
979         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
980
981 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
982
983         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
984           be changed
985         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
986           the allowed size before making programmatic size changes
987
988 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
989
990         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
991           set, metacity is broken and will still use the emty sizes in 
992           the struct. (Fix for #77089)
993
994 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
995
996         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
997           WindowExStyles and marked both enums as Flags
998         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
999           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1000           to match WindowStyles split
1001         * XplatUIX11.cs:
1002           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1003           - Updated to match WindowStyles split
1004         * XplatUIWin32.cs:
1005           - Fixed FosterParent creation, was using ExStyle on the Style field
1006             (This should help with Popup focus issues)
1007           - Updated to match WindowStyles split
1008
1009 2006-03-13  Jackson Harper  <jackson@ximian.com>
1010
1011         * MdiWindowManager.cs: Use the system menu height. Fixes some
1012         strange sizing issues.
1013
1014 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1015
1016         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1017         * TextBoxBase.cs:
1018           - Scroll to caret after inserting text (#77672)
1019           - Make scroll range one pixel higher, fixes off-by-one error (and
1020             makes underlines visible on the last line)
1021
1022 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
1023
1024         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1025           the keyboard state from being stuck with keys in 'pressed' state when
1026           focus is switched away via keyboard
1027         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1028           reset the keyboard if no X11 KeyUp events are expected to come
1029         * X11Structs.cs: Switched type of Visible to bool to match driver
1030
1031 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1032
1033         * TextControl.cs:
1034           - Switched caret to be just 1 pixel wide, matches MS and looks less
1035             clunky
1036           - Moved caret display 1 pixel down from the top of the control
1037             to improve view
1038           - InsertCharAtCharet: Update the selection start if moving the caret
1039             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1040           - No longer always creating the caret when the caret methods are
1041             called. Only the actual ShowCaret/HideCaret will do that now
1042           - Only setting caret visible if the owner control has focus
1043           - UpdateView: Added invalidation-shortcut logic for center and right 
1044             aligned text. Previously we'd update all according to the left
1045             logic which caused drawing errors. Also fixed height of invalidated
1046             areas, now properly invalidating the whole area (was off-by-one)
1047           - owner_HandleCreated: Always generate the document when the
1048             handle is created; this ensures that 
1049         * TextBoxBase.cs:
1050           - Fixed situation where caret would disappear under the right
1051             window border, also improved scrolling behaviour on left-
1052             aligned textboxes
1053           - Fixed right-aligned textboxes to have a border to the
1054             right instead of the caret being under the right border
1055         * XplatUIX11.cs:
1056           - Switched from 'nested' to simple visible/not visible tracking 
1057             for caret (part of fix for #77671)
1058           - No longer passing through translated FocusIn/FocusOut messages
1059             since we were notifying too often and the wrong windows. Instead
1060             we just notify our focussed window of receiving or loosing focus
1061         * XplatUIWin32.cs: Switched from 'nested' show/hide 
1062           counting for caret to simple visible yes/no behaviour (part of 
1063           fix for #77671)
1064
1065 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1066
1067         * Mime.cs: Remove debug code...
1068
1069 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1070
1071         * MimeGenerated.cs: Removed
1072         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1073           and subclasses) from /usr/(local/)share/mime and
1074           $HOME/.local/share/mime.
1075
1076 2006-03-10  Jackson Harper  <jackson@ximian.com>
1077
1078         * MdiWindowManager.cs: Recalc the NC area when a window is
1079         maximized/restored so that the menu area is drawn on forms that
1080         don't have a menu.
1081
1082 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1083
1084         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1085           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1086           us to force a WM_NCCALCRESIZE message being sent. This is needed
1087           for MDI maximizing.
1088
1089 2006-03-10  Jackson Harper  <jackson@ximian.com>
1090
1091         * Form.cs: We need to use the ActiveMenu when calculating menu
1092         height.
1093         - Fix nullref when the window manager hasn't been created yet.
1094         * Control.cs: Fix nullref when we try to bring a control to the
1095         front that has no parent.
1096         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1097         height.
1098         - Add a dummy item to the maximized menu so it always has the
1099         correct height. Otherwise when there are no menus we don't get our
1100         icon and buttons.
1101         
1102
1103 2006-03-10  Jackson Harper  <jackson@ximian.com>
1104
1105         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1106         stuff.
1107         * Form.cs: Make the window_state internal so the window managers
1108         can track it.
1109         - When an MDI child is maximized let its window manager create the
1110         main menu (so it can add its icon).
1111         - Notify the window managers of state changes
1112         - Let the window manager paint its buttons and handle button
1113         clicks on the menu when it is maximized.
1114         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1115         window manager, since tool windows don't use it, only mdi windows.
1116         - Tell the main form that we don't want it to handle NCPAINT
1117         itself to avoid extra painting.
1118         - Handle clicks on a maximized windows menu.
1119         - Handle window state changes
1120         - Handle minimize/maximize clicks correctly by setting the window state.
1121         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1122         when clicking on the forms icon).
1123         - New method to create a forms maximized menu. This is its normal
1124         menu + an icon.
1125         - Handle window state changes.
1126         - Handle sizing of maximized windows.  Maximized windows are just
1127         drawn bigger then the parent visible area. All controls are still
1128         there, they are just outside the visible area (this matches windows).
1129         * MdiClient.cs: No scrollbars when a child window is maximized.
1130         - Let the children windows figure out how big they should be when
1131         sizing maximized windows.
1132         - Implement a version of ArrangeIconicWindows somewhat similar to
1133         Windows version.  There are some little differences, but I don't
1134         think any app will rely on the layout of minimized mdi windows.
1135
1136 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1137
1138         * Padding.cs: Several fixes to allow compiling with csc 2.0
1139
1140 2006-03-09  Jackson Harper  <jackson@ximian.com>
1141
1142         * Menu.cs:
1143         * MenuItem.cs: Cheap hack so we can add items to the list without
1144         the events being raised.  This allows adding mdi items during
1145         drawing. TODO: Should probably find a better time to add the items.
1146
1147 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1148
1149         * ThemeWin32Classic.cs:
1150           - CheckBox_DrawText: Added logic to not wrap if not enough space
1151             is available (Fix for bug #77727)
1152           - RadioButton_DrawText: Added logic not to wrap if not enough
1153             space is available (Fix for bug #77727). Also removed some
1154             duplicate code, DrawString always drawing the regular text
1155             before hitting the if statement.
1156
1157 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1158
1159         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1160
1161 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1162
1163         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1164         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1165           methods. Moved the new 2.0 properties into alphabetical order with
1166           other properties and added MonoTODO tags
1167
1168 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1169
1170         * AutoScaleMode.cs: Added. Fix build.
1171
1172 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1173
1174         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1175           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1176           and was requiring premature handle creation for calls from above
1177         * Form.cs, Control.cs: Removed handle arguments from calls to
1178           CalculateClientRect()
1179
1180 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1181
1182         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
1183           drag_column.column_rect is MarshalByRef and can't be used that way
1184
1185 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1186
1187         * AxHost.cs: Added deserialization constructor for 
1188           AxHost+State (fixes 77743)
1189
1190 2006-03-09  Mike Kestner  <mkestner@novell.com>
1191
1192         * ListView.cs: 
1193         - Added column drag reordering for details view.
1194         - fixed behavior when mouse is dragged off column and
1195         AllowColumnReorder is false.
1196         * ColumnHeader.cs: clone the format too in Clone.
1197         * Theme.cs: add DrawListViewHeaderDragDetails method.
1198         * ThemeWin32Classic.cs:
1199         - impl new method for drawing drag column shadows and targets.
1200         - support column offset for details mode in DrawListViewItem.
1201
1202 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1203
1204         * TextControl.cs: Reset the char_count when the document is cleared
1205           (Fixes bug reported on mono-winforms mailing list)
1206
1207 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1208
1209         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1210           of calling base we simply process the key ourselves, since both
1211           DefWindowProc and the handled method would set m.Result. 
1212           (Fixes #77732)
1213
1214 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1215
1216         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1217           method also moves the window; instead implemented a copy of
1218           Control.ScaleCore (Part of fix for #77456)
1219         * TextBoxBase.cs: 
1220           - Created new CreateGraphicsInternal method to allow providing
1221             a graphics context when no handle is created without triggering
1222             handle creation. (Part of fix for #77456)
1223           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1224         * TextControl.cs: 
1225           - Switched Constructor to require TextBoxBase instead of Control (to
1226             allow uncast access to CreateGraphicsInternal)
1227           - Safeguarded use of owner.Handle property. No longer accessing it
1228             unless the handle is already created.
1229           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1230           - Now triggering a recalc when owning control becomes visible
1231         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
1232           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1233           premature handle creation (Part of fix for #77456)
1234         * Control.cs:
1235           - We now only destroy our double-buffering buffers when the
1236             control is resized or disposed, but not when visibility
1237             changes. (The code even re-created them twice every time)
1238           - Now requiring a redraw of the buffer on visibility changes
1239             (fixes bug 77654 part 2)
1240           - Not passing OnParentVisibleChanged up unless the control
1241             is visible
1242           - CanFocus: Fixed to match MS documentation
1243           - Focus: Fixed to return actual focus state and to check if
1244             setting focus is legal before setting it
1245
1246 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
1247
1248         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1249           when to draw focus rectangle by looking at parent focus and
1250           selected state instead. This fixes TabPages on Linux sometimes
1251           having none or multiple focus rectangles.
1252         * XplatUIX11.cs (SetFocus): 
1253           - Don't set the focus if the same window already has focus
1254           - Use SendMessage instead of PostMessage (like it's Win32
1255             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1256             to match MS behaviour
1257         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1258           are not selectable.
1259
1260 2006-03-07  Jackson Harper  <jackson@ximian.com>
1261
1262         * PictureBox.cs: Revert line I accidently committed last week.
1263
1264 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
1265
1266         * Control.cs: 
1267           - Added new IsRecreating and ParentIsRecreating properties to
1268             allow testing if RecreateHandle has been called on ourselves
1269             or one of our parents
1270           - WndProc(WM_DESTROY): If our control handle is being recreated
1271             we immediately need to create the handle when receiving the
1272             destroy, that way our child windows find a valid parent handle
1273             when they themselves are being recreated upon WM_DESTROY receipt
1274             (fix for bug #77654 part 1)
1275         * XplatUIX11.cs:
1276           - DestroyWindow: WM_DESTROY must be sent to our own window before
1277             notifying any child windows. MS documents that child windows
1278             are still valid when WM_DESTROY is received. (Control now relies on
1279             this behaviour)
1280           - Added some fine-grain debug options
1281
1282 2006-03-06  Jackson Harper  <jackson@ximian.com>
1283
1284         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1285         box and base calculations off this.
1286         * MdiChildContext.cs:
1287         * MdiWindowManager.cs: Don't need to ensure scrollbars here
1288         anymore.
1289         
1290 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
1291
1292         * Splitter.cs: In situations where the affected control is added
1293           to the parent's control list after the splitter, we would not
1294           populate affected. Now we try populating it on mousedown, if
1295           it's not already set, and force it to be re-set whenever our
1296           parent changes.
1297
1298 2006-03-03  Matt Hargett  <matt@use.net>
1299
1300         * Control.cs: implement Control.Padding
1301         * Padding.cs: -Padding.All returns -1 when constructing with the
1302         implicit default ctor
1303         -Padding.ToString() matches MS.NET
1304         * ContainerControl.cs: implement
1305         ContainerControl.AutoScaleDimensions
1306         * ListControl.cs: implement ListControl.FormattingEnabled
1307         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1308         * ButtonBase.cs:
1309         * TabPage.cs: Implement UseVisualStyleBackColor.
1310         * PictureBox.cs: Implement PictureBox.InitialImage.
1311
1312 2006-03-03  Mike Kestner  <mkestner@novell.com>
1313
1314         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1315         event declarations to proxy to base event.
1316         * ListViewItem.cs: update to use ItemControl.
1317         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1318         * ThemeWin32Classic.cs: update to new ListView theme API and fix
1319         column header label rendering for 0 width columns.
1320
1321 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
1322
1323         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1324           that causes the control to be created. Fixes #77476.
1325
1326 2006-03-02  Jackson Harper  <jackson@ximian.com>
1327
1328         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1329         expose_pending.
1330
1331 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
1332
1333         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1334           passed in for the EventArgs (fixes #77690)
1335
1336 2006-03-01  Jackson Harper  <jackson@ximian.com>
1337
1338         * ScrollBar.cs: Refresh afterbeing resized.
1339
1340 2006-02-28  Mike Kestner  <mkestner@novell.com>
1341
1342         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1343         Clean up a tracker compile warning.
1344         * MenuItem.cs: add internal PerformPopup method.
1345         [Fixes #77457]
1346
1347 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1348
1349         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1350           implicit expose) when the text is set to null
1351
1352 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
1353
1354         * RichTextBox.cs (FlushText): When newline is true, we always
1355           need to split the line, even if no text is on it and we may
1356           never eat newlines. (Fixes #77669)
1357
1358 2006-02-28  Mike Kestner  <mkestner@novell.com>
1359
1360         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
1361         and set Selected instead.
1362         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
1363         collections.
1364
1365 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1366
1367         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1368
1369 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
1370
1371         * FontDialog.cs:
1372           - Got rid of the panel. All controls are now directly added to
1373             the dialog form
1374           - It is now possible to set a font with the Font property
1375           - MinSize and MaxSize property do now what they should
1376           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1377           - Searching and selecting a font with the font textbox works now,
1378             the same applies to the style and size textbox
1379           - Draw the correct 3D border in the example panel
1380           - Fixed a little mem leak (unused fonts didn't get disposed)
1381           - Many other internal updates/rewrites...
1382           - Fix typo
1383
1384 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1385
1386         * TextControl.cs: 
1387           - InsertRTFFromStream: Added 'number of characters inserted' argument
1388           - set_SelectedRTF: Now using the number of characters to calculate
1389             the new location for the selection and cursor (x/y cannot be used
1390             due to potentially already wrapped text)
1391
1392 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1393
1394         * TextControl.cs: Added property and implemented means to allow 
1395           disabling recalculation of a document (can be used to speed up
1396           multiple inserts and is needed to make RTF inserts predictable, see
1397           bug #77659)
1398         * RichTextBox.cs: Using the new NoRecalc property of Document to
1399           keep x/y insert locations predictable. Also makes it faster inserting
1400           large chunks of RTF
1401
1402 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1403
1404         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1405           it's easier for a child control to handle the other messages without
1406           having to duplicate the special functionality
1407         * TextBoxBase.cs
1408           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1409             code to handle processing the key ourselves, in order to get 
1410             access to the result of KeyEventArgs.Handled. We now only call 
1411             ProcessKey if they key hasn't been handled already. Fixes #77526.
1412           - set_Text: If null or empty string is given, just clear the 
1413             document. Fixes part of #77526
1414
1415 2006-02-27  Jackson Harper  <jackson@ximian.com>
1416
1417         * SizeGrip.cs: Paint the background color before painting the grip
1418         so things look right.
1419         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1420
1421 2006-02-27  Mike Kestner  <mkestner@novell.com>
1422
1423         * ListView.cs:
1424           - Restructure layout and invalidation model to remove a ton of
1425           flicker from the control and speed up performance in general.
1426           - Add manual column resize, flickers like crazy, but I already have
1427           some ideas on how I'll fix that. (#76822)
1428           - Merge the three Icon-based views into a single layout method.
1429           - Move item selection interaction logic from the item since 
1430           interaction with the collections is more appropriate to the view.
1431           - Deselection on non-item clicks.
1432         * ListViewItem.cs:
1433           - Encapsulate most of the layout. Add some internal props to trigger
1434           layout.  Move to a model where Items invalidate themselves instead
1435           of just invalidating the whole control every time something changes.
1436           - Invalidate on Text/Caption changes.
1437           - switch to an offset based layout model to avoid having to absolute
1438           position every element on item moves.
1439           - correct checkbox layout to conform to MS layout.
1440         * ThemeWin32Classic.cs:
1441           - refactor some column header drawing code.
1442           - fix string justification for column headers (#76821)
1443           - make SmallIcon labels top justified for compat with MS impl.
1444         * ThemeClearlooks.cs:
1445           - adjust to new ListViewItem internal checkbox bounds api.
1446
1447 2006-02-27  Jackson Harper  <jackson@ximian.com>
1448
1449         * Control.cs:  Change where implicit controls fall in the zorder.
1450         They are now on top of all children.
1451         - Synced AddImplicit code with Add
1452         - Removed unused enumerator.
1453         * SizeGrip.cs: Remove the TODO as its been TODONE.
1454
1455 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
1456
1457         * TextControl.cs(Insert): Combine the last lines unless the insertion
1458           string ends with \n\n, otherwise we leave one line too many (Fixes
1459           something I noticed with the testapp for #77526; the bug itself was
1460           already fixed in the previous checkin)
1461
1462 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
1463
1464         * RichTextBox.cs:
1465           - SelectionColor and SelectionFont methods no longer set absolute
1466             styles. Instead, the keep font or color respectively (This 
1467             resolves a long-standing FIXME in the code)
1468           - When flushing RTF text, the insert code now considers text trailing
1469             behind the insertion point (Fixes the bug where when replacing
1470             the selected text via SelectedRTF the remainder of the line behind 
1471             the selection would stay on the first insertion line)
1472         * TextBoxBase.cs:
1473           - AppendText now updates the selection points after inserting text
1474           - AppendText now ensures that the last tag (sometimes 0-length) of
1475             the document is used for the style information (Fixes part of 
1476             bug #77220)
1477         * TextControl.cs:
1478           - Created new FontDefiniton class to allow describing partial style
1479             changes
1480           - StreamLine() now takes a lines argument, to allow it to decide
1481             whether an encountered zero-length tag is the last in the document
1482             (which must be kept to not loose the font/color contained in it,
1483             for later appends)
1484           - Created Combine() and Split() methods for Marker structs, to 
1485             support marker updates due to reformatted documents (soft line
1486             wraps)
1487           - Implemented Document.CaretTag setter
1488           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1489             of the last line (Not the cause, but also exposed by bug #77220)
1490           - Added LineTag argument to InsertString method, to allow callers
1491             to force a certain tag to be used (required to force use of the
1492             trailing zero-length tag of a document)
1493           - Now updating markers in Combine(), to avoid stale tag markers
1494           - Added some method descriptions to aid maintenance
1495           - Implemented new FormatText concept, allowing additive/subtractive
1496             formatting by only specifying the components that are to be 
1497             changed. This was needed for resolving the RTB.SelectedColor/
1498             RTB.SelectedFont fixmes
1499           - Added Break() support method to allow breaking up linetags (used
1500             for partial formatting)
1501           - Added GenerateTextFormat() method. It is used for partial 
1502             formatting and allows to generate a full font/color from given
1503             attributes and an existing tag.
1504
1505 2006-02-26  Jackson Harper  <jackson@ximian.com>
1506
1507         * XplatUIX11.cs:  Use the correct caption height.
1508         - Translate hittest coordinates to screen coords to match MS.
1509         * XplatUIWin32.cs: When we create MDI windows we need to reset
1510         some of the style flags, so we get a nice blank window, and can
1511         draw all the decorations ourselves.
1512         - Set a clipping rectangle on the non client paint event, the
1513         window manager drawing code needs one.
1514         * Form.cs: The window manager needs to know when the window state
1515         has been updated.
1516         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1517         don't need to factor in border and title sizes in these
1518         methods. TODO: Remove the args and fix the call points.
1519         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1520         properly.
1521         - Let the driver set the cursors.
1522         - Improve active window handling
1523         - Correct sizes for title bars and buttons.
1524         - Match MS drawing better
1525         * MdiWindowManager.cs: We don't need to handle border style
1526         updates specially anymore.
1527         - Check for scrollbars when windows are done moving
1528         - Handle Active properly.
1529         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1530         correctly. I am spewing the exception though, so we don't hide the
1531         bugs.
1532         
1533 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
1534
1535         * DataGridViewRowPostPaintEventArgs.cs,
1536           DataGridViewCellPaintingEventArgs.cs,
1537           DataGridViewRowCollection.cs,
1538           DataGridViewRowPrePaintEventArgs.cs,
1539           DataGridViewCell.cs: Clear a few warnings and implement a few
1540           exceptions that should be thrown.
1541
1542 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1543
1544         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1545           'inheriting' our parent's (non-default) cursor. (Part of
1546            the fix for #77479)
1547
1548 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
1549
1550         * XplatUIX11.cs: Fixed cast to make csc happy
1551
1552 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1553
1554         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1555           it's for the client area (part of fix for #77479 and needed
1556           for MDI window cursor handling)
1557         * XplatUIX11.cs
1558           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1559             the appropriate default cursors and also passing the message
1560             up the parent chain 
1561           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1562             for non-client areas
1563
1564 2006-02-15  Jackson Harper  <jackson@ximian.com>
1565
1566         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1567         is a real MDI window
1568
1569 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
1570
1571         * X11DesktopColors.cs: Instead of checking the desktop session
1572           string for "KDE" check if it starts with "KDE"
1573
1574 2006-02-10  Jackson Harper  <jackson@ximian.com>
1575
1576         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1577         systems).
1578
1579 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1580
1581         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1582           errors
1583         * ColorDialog.cs:
1584           - Got rid of the panel. All controls are now directly added to
1585             the dialog form
1586           - Changed to mono coding style
1587
1588 2006-02-10  Jackson Harper  <jackson@ximian.com>
1589
1590         * InternalWindowManager.cs: We don't need the set visibility to
1591         false hack anymore now that peter has written beautiful shutdown
1592         code.
1593
1594 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
1595
1596         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1597           where already explicitly destroyed
1598
1599 2006-02-10  Jackson Harper  <jackson@ximian.com>
1600
1601         * MdiClient.cs: Handle the case where windows are too high or to
1602         the left and we need scrollbars.
1603
1604 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1605
1606         * MimeIcon.cs: Added some icons
1607         * FileDialog.cs:
1608           - Fixed bug #77477
1609           - Got rid of the panel. All controls are now directly added to
1610             the dialog form
1611           - Changed to mono coding style
1612           - On Linux "My Computer" and "My Network" will now show some
1613             more usefull information. A new class, MasterMount, gathers
1614             this information from /proc/mount. Updated MWFFileView to make
1615             use of this information
1616           - Fixed a bug that caused FileDialog to crash when
1617             ".recently_used" file had a zero size
1618           - FilterIndex does now what it should
1619           - Some Refactoring
1620         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1621             FileDialog changes
1622
1623 2006-02-09  Jackson Harper  <jackson@ximian.com>
1624
1625         * ComboBox.cs: Don't touch if null.
1626
1627 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
1628
1629         * Cursor.cs: 64bit safeness fix
1630         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1631
1632 2006-02-09  Jackson Harper  <jackson@ximian.com>
1633
1634         * Form.cs: If a form is made into an MDI form update the styles so
1635         all the props can get set correctly.
1636         - Kill the mdi_container when we dont need it anymore.
1637         * InternalWindowManager.cs: Add missing NOT
1638
1639 2006-02-08  Jackson Harper  <jackson@ximian.com>
1640
1641         * InternalWindowManager.cs: Respek clipping when drawing MDi
1642         decorations.
1643
1644 2006-02-08  Jackson Harper  <jackson@ximian.com>
1645
1646         * Hwnd.cs: Add bits to track non client expose events.
1647         * XplatUIX11.cs: Track non client expose events on the hwnd. This
1648         gives us a proper invalid rect and will allow for some nice
1649         optimizations with NC client drawing
1650         - MDI windows are children windows, so move their style handling
1651         into the child window block.
1652         * InternalWindowManager.cs: Remove a state reset that was
1653         getting invoked at the wrong time. Fixes managed windows getting
1654         into a 'stuck' captured state.
1655
1656 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1657
1658         * TextControl.cs (Document.ctor): Now initializing 
1659           selection_anchor. Fixes #77493
1660
1661 2006-02-07  Jackson Harper  <jackson@ximian.com>
1662
1663         * TrackBar.cs: The increment/decrements were backwards.
1664
1665 2006-02-07  Mike Kestner  <mkestner@novell.com>
1666
1667         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1668         to the instance itself.
1669
1670 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1671
1672         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1673           on ulongs and pointers, the size differs between 32bit and 64bit
1674           systems. 
1675
1676 2006-02-07  Mike Kestner  <mkestner@novell.com>
1677
1678         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1679         for 64 bit platforms to work around a metacity bug. 
1680
1681 2006-02-07  Jackson Harper  <jackson@ximian.com>
1682
1683         * TrackBar.cs: Process the input keys we need, and hookup to
1684         KeyDown instead of using WndProc, so we get key messages.
1685
1686 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
1687
1688         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1689           machine we're on. 
1690         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1691           we need to translate the XdndVersion atoms array before sending it
1692
1693 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
1694
1695         * XplatUIX11.cs: 
1696           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1697             number of bits for the property, not the number of bytes. The
1698             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1699             but would not crash since it specified 8 bits instead of 4 bits)
1700           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1701             defined as XID -> long in the C headers)
1702           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
1703             references since those are now IntPtr to begin with
1704           - Switched all Atom.XXX 'int' casts to IntPtr casts
1705           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1706           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1707           - Added XChangeActivePointerGrab DllImport (for X11DnD)
1708         * X11Structs.cs:
1709           - Changed 'int' type for Atoms in XEvent structures to IntPtr
1710           - Changed atom in HoverStruct to be IntPtr
1711         * X11DnD.cs:
1712           - Removed local DllImports, switched code to use those from XplatUIX11
1713           - Removed/fixed casts related to the switch of Atom to be a IntPtr
1714
1715 2006-02-06  Mike Kestner  <mkestner@novell.com>
1716
1717         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
1718         method signatures in the import region.  There may still be some
1719         lingering struct marshaling issues, as I didn't drill down into those.
1720         Yet.
1721
1722 2006-02-06  Jackson Harper  <jackson@ximian.com>
1723
1724         * ComboBox.cs: Dont manually set the top_item, this is computed
1725         when the scrollbar position is set.
1726
1727 2006-02-06  Mike Kestner  <mkestner@novell.com>
1728
1729         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1730         startup crashes on amd64.  There's other fixes needed.  All pinvoke
1731         usage of Atom needs to be mapped to IntPtr for example.  And there are
1732         likely other int/long issues to be addressed.
1733
1734 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
1735
1736         * FileDialog.cs: One more...
1737
1738 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1739
1740         * FileDialog.cs: Next try
1741
1742 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1743
1744         * FileDialog.cs: First part of fix for #77464
1745
1746 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1747
1748         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1749           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1750           AcceptButton border drawing.
1751
1752 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
1753
1754         * Form.cs: Moved positioning of form after auto scaling is applied,
1755           otherwise it would possibly use wrong form size.
1756
1757 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
1758
1759         * Control.cs (RecreateHandle): No need to re-create any child
1760           controls, the child windows will get destroyed automatically by
1761           the windowing system or driver, and re-created when the handle
1762           is being accessed the first time. Fixes #77456
1763         * Form.cs: No longer setting the form to closing if the handle is 
1764           being recreated. This seems like the right thing to do, don't
1765           have a bug or testcase for this, though.
1766
1767 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1768
1769         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1770           controls to avoid unwanted side effects
1771
1772 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
1773
1774         * Control.cs: 
1775           - ScaleCore needs to scale the bounds, not the ClientSize of the 
1776             control. Fixes #77416.
1777           - DefaultSize is 0,0 for control
1778         * TextBoxBase.cs: 
1779           - DefaultSize is 100, 20
1780           - SetBoundsCore: Now enforcing the height, no matter if the provided
1781             height is more or less than the preferred one, as long as AutoSize
1782             is on
1783         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1784
1785 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1786
1787         * Control.cs:
1788           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1789             call unless both performLayout is true *and* we have a pending
1790             layout change
1791           - ResumeLayout: MS does not completely nest Suspend and Resume,
1792             they bottom out at 0, fixed our code to match that.
1793           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1794             SetBoundsCore, we were updating even when we shouldn't. This fixes
1795             swf-anchors mis-anchoring when resizing the app fast and lots.
1796           - UpdateDistances: Now only setting the left and top distance if 
1797             we have a parent and are not suspended, this is based on
1798             a suggestion by Don Edvaldson in bug #77355.
1799           - OnVisibleChanged: Fixed logic when to create the control. We may
1800             not create the control if we have no parent or if it's not visible;
1801             switched to using Visible property instead of is_visible field 
1802             since the property also considers parent states. This fixes a bug
1803             when starting Paint.Net
1804
1805 2006-02-02  Jackson Harper  <jackson@ximian.com>
1806
1807         * Form.cs: If the forms handle hasn't been created yet don't call
1808         into xplatui to make it top most, just set the topmost flag on the
1809         form in CreateParams
1810         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1811
1812 2006-02-01  Jackson Harper  <jackson@ximian.com>
1813
1814         * ScrollableControl.cs: Refactored the Recalculate method a
1815         little, this wasn't handling all the variants of bottom and right
1816         bars needed to be added and added/removed based on their
1817         counterparts being added/removed (which changes the drawable
1818         size). Also we special case client widths and heights of 0 and
1819         don't add the scrollbar for those.
1820
1821 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
1822
1823         * XplatUIX11.cs: 
1824           - Added method to get AbsoluteGeometry(); currently unused, but might
1825             be used in the future, if we try again to figure out toplevel
1826             coordinates with some more crappy window managers
1827           - Added FrameExtents() method to retrieve the WM set decoration size
1828           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
1829             to deal with at least KDE, FVWM and metacity (Fixes #77092)
1830         * Hwnd.cs: 
1831           - Added whacky_wm tracking var for metacity
1832           - Added logic to have default menu height if the actual menu height
1833             has not yet been calculated (part of fix for #77426)
1834         * Form.cs: Keep track whether client size has been set and re-set 
1835           it if a menu is added/removed afterwards (Fixes #77426)
1836
1837 2006-01-31  Jackson Harper  <jackson@ximian.com>
1838
1839         * Control.cs: When a new Site is set on the component attempt to
1840         pull the AmbientProperties from it.
1841
1842 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
1843
1844         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1845           in the background of the owning form. Fixes #77332
1846
1847 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1848
1849         * MimeIcon.cs: Fix for #77409
1850
1851 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1852
1853         * XplatUIX11GTK.cs: Initial import
1854
1855 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
1856
1857         * FixedSizeTextBox: fixes class signature
1858
1859 2006-01-30  Jackson Harper  <jackson@ximian.com>
1860
1861         * FixedSizeTextBox.cs: New internal class that represents a
1862         textBox that will not be scaled.
1863         * TreeView.cs:
1864         * ComboBox.cs:
1865         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1866         standard TextBox.
1867                 
1868 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
1869
1870         * XplatUIX11.cs: Retrieve default screen number instead of
1871           assuming 0. Attempted fix for #77318
1872
1873 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
1874
1875         * XplatUIWin32.cs: 
1876           - GetWindowPos: When a window is parented by FosterParent, use 
1877             the desktop instead of FosterParent as the base to get coordinates
1878           - CreateWindow: Don't make FosterParent the parent window for Popups
1879             if we don't want a taskbar entry, Popups automatically don't get one
1880         * Hwnd.cs: Need to call remove to actually remove the key from the
1881           hash table
1882
1883 2006-01-30  Mike Kestner  <mkestner@novell.com>
1884
1885         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1886
1887 2006-01-30  Jackson Harper  <jackson@ximian.com>
1888
1889         * TreeView.cs:
1890         * TreeNode.cs: Raise events no matter how the treenode is
1891         checked. Patch by Don Edvalson.
1892
1893 2006-01-30  Jackson Harper  <jackson@ximian.com>
1894
1895         * TreeNode.cs: Signature fix.
1896
1897 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
1898
1899         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1900
1901 2006-01-20  Mike Kestner  <mkestner@novell.com>
1902
1903         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1904         event forwarding when menus are active.
1905         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
1906         Most of the patch is pdb's with a little rework.
1907
1908 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1909
1910         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
1911           Removed GetMenuDC and ReleaseMenuDC methods; replaced
1912           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1913         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1914         * InternalWindowManager.cs: Added use of PaintEventStart/End to
1915           handling of WM_NCPAINT message, now passing the PaintEventArgs to
1916           the PaintWindowDecorations method
1917         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1918         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1919         * MenuAPI.cs: Made tracker window invisible
1920         * XplatUIWin32.cs:
1921           - Removed GetMenuDC and ReleaseMenuDC methods
1922           - Implemented the client=false path for PaintEventStart and
1923             PaintEventEnd
1924
1925 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1926
1927         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1928         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1929           styles
1930         * Form.cs: 
1931           - MaximizeBox, MinimizeBox: Recreate the handle when setting
1932             the style
1933           - CreateParams: Reworked the styles to match MS look'n'feel,
1934             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1935             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1936
1937 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1938
1939         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
1940           window is not mapped, since otherwise every form that's being 
1941           created is considered minimized, which is wrong.
1942         * Form.cs: Catching the exception and returning our internal value
1943           instead
1944
1945 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1946
1947         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1948           SetWindowMinMax() to have means to tell the driver about the minimum,
1949           maximum and maximized state window sizes. (Part of the fix for #76485)
1950         * Form.cs:
1951           - Implemented tracking of minimum and maximum window size, now calling
1952             new SetWindowMinMax() driver method to tell the driver (Part of the
1953             fix for #76485)
1954           - Finished handling of WM_GETMINMAXINFO method, now setting all values
1955             (Completes fix for #76485)
1956           - Calling new SetWindowMinMax driver method when the handle for a 
1957             form is created, to make sure the driver knows about it even if
1958             the values have been set before the window was created
1959           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1960             to avoid messing up our anchoring calculations (partial fix
1961             for #77355)
1962         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1963         * XplatUIX11.cs:
1964           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1965           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
1966             (and presumably other freedesktop.org compliant WMs). Left the
1967             assumption unmapped=minimized, needed for SetVisible to work.
1968           - Now setting the window state when creating windows
1969           - Fixed SetVisible to consider/set the window state when mapping
1970             a Form. We cannot set the state before it's mapped, and we cannot
1971             use Form.WindowState once it's mapped (since it would ask the
1972             driver and get 'normal'. Therefore, we grab the state before
1973             mapping, map, and then set state.
1974           - Implmemented SetWindowMinMax method; Metacity does not seem to
1975             honor the ZoomHints, though.
1976         * XplatUIWin32.cs:
1977           - Removed MINMAXINFO (moved to XplatUIStructs)
1978           - Added SetWindowMinMax stub (on Win32 the only way to set that
1979             information is in response to the WM_GETMINMAXINFO message, which
1980             is handled in Form.cs)
1981           - Added logic to SetVisible to set the proper window state when a 
1982             form is made visible (fixes #75720)
1983
1984 2006-01-26  Jackson Harper  <jackson@ximian.com>
1985
1986         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1987         same way we handle them with Invoke.
1988
1989 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
1990
1991         * Form.cs:
1992           - Added tracking of window state so CreateParams can return
1993             the appropriate style
1994           - Moved setting of WS_CAPTION style in CreateParams to allow
1995             styles without caption
1996         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
1997           control if the TextBox property is accessed. Fixes #77345
1998         * Control.cs:
1999           - get_Created: now uses is_disposed and is_created to determine
2000             return value (suggested by Jackson)
2001           - CreateHandle: No longer exits if the handle is being recreated
2002           - RecreateHandle: If the handle is not yet created call the 
2003             appropriate method to create either control or handle. If the
2004             control is already created CreateHandle will simply exit instead
2005             of just creating the handle
2006         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2007           now SendMessage WM_DESTROY directly to the control when DestroyWindow
2008           is called.
2009         * XplatUIX11.cs: 
2010           - When DestroyWindow is called, instead of waiting for the 
2011             DestroyNotification from X11, we directly post it to the WndProc
2012             and immediately dispose the hwnd object.
2013             Same applies to DestroyChildWindows, and this obsoletes the
2014             expose_pending tracking. Contrary to Win32 behaviour we destroy our
2015             child windows before our own, to avoid X11 errors.
2016           - Removed the direct sending of WM_PAINT on UpdateWindow
2017         * XplatUIWin32.cs:
2018           - Reworked DoEvents and GetMessage to allow access to internal queue
2019             even when trying non-blocking access to the queue.  Fixes #77335. 
2020             Based on a patch suggestion by Don Edvalson. The new private
2021             GetMessage can now also be used as a backend for a PeekMessage
2022             frontend version.
2023         * XplatUI.cs: Improved debug output for CreateWindow
2024
2025 2006-01-25  Jackson Harper  <jackson@ximian.com>
2026
2027         * Help.cs: Allow param to be null. Patch by Don Edvalson.
2028
2029 2006-01-24  Jackson Harper  <jackson@ximian.com>
2030
2031         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2032         when we have a MaxDropItems lower then the selected index.
2033
2034 2006-01-24  Jackson Harper  <jackson@ximian.com>
2035
2036         * Control.cs: Don't allow selection of non visible controls, allow
2037         selection of controls without parents.
2038
2039 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2040
2041         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2042         * DataGridDrawingLogic.cs: Add editing row only when is necessary
2043
2044 2006-01-23  Jackson Harper  <jackson@ximian.com>
2045
2046         * UpDownBase.cs: Make the textbox handle all the selection and
2047         tabbing. This fixes tabing to updown controls.
2048
2049 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2050
2051         * TextBoxBase.cs: fixes exception thown the object was null
2052
2053 2006-01-23  Jackson Harper  <jackson@ximian.com>
2054
2055         * ButtonBase.cs: Just use the base CreateParams. They set
2056         visibility and enabled correctly.
2057         * ComboBox.cs:
2058         * TrackBar.cs:
2059         * MonthCalendar.cs: Lets let the base set as much of the
2060         createparams as possible so we don't have duplicate code all over
2061         the place.
2062
2063 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
2064
2065         * ThemeGtk.cs: Added TrackBar and some experimental code to
2066           get double buffering back
2067
2068 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2069
2070         * DataGrid.cs: Allows row number set internally higher than the last
2071         when creating a new row. Restores the editing functionality.
2072
2073 2006-01-20  Mike Kestner  <mkestner@novell.com>
2074
2075         * MimeIcon.cs: delay Image creation until the icons are accessed
2076         instead of creating 190 scaled images on GnomeHandler startup.
2077
2078 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2079
2080         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2081           first call base before processing the event. Fixes #77279
2082
2083 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2084
2085         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2086           that the stride for the GDI bitmap would match the stride of
2087           a DIB or a Cursor.
2088
2089 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2090
2091         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2092
2093 2006-01-19  Jackson Harper  <jackson@ximian.com>
2094
2095         * ComboBox.cs: Hookup the text controls keydown event so we get
2096         those when the text control has the focus.
2097
2098 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2099
2100         * Label.cs: Now using the base events instead of defining new ones;
2101           this allows us to just call the base properties without having to
2102           duplicate all base property logic 
2103
2104 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2105
2106         * Label.cs: A label by default is not a tabstop (Fixes one of our
2107           failing nunit tests)
2108
2109 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2110
2111         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2112         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2113
2114 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2115
2116         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2117           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2118           This fixes #77218
2119         * XplatUIWin32.cs: 
2120           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2121             constructor creates images that can't be saved. Part of the fix
2122             for #76103
2123           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2124           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2125             bug fix for handling window state in forms properly)
2126
2127 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2128
2129         * ThemeGtk.cs: Simplify ScrollBar drawing
2130
2131 2006-01-18  Jackson Harper  <jackson@ximian.com>
2132
2133         * Splitter.cs: Set the default dock style for the splitter control
2134         in the constructor.
2135
2136 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2137
2138         * ThemeGtk.cs: Corrected StateType and ShadowType for
2139           gtk_paint_box
2140
2141 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2142
2143         * Control.cs: Make use of Theme.DoubleBufferingSupported
2144         * ThemeGtk.cs:
2145           - Added drawing for flat style buttons
2146           - Added ScrollBar drawing
2147
2148 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2149
2150         * ThemeClearlooks.cs: Removed some unneeded code.
2151         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2152
2153 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2154
2155         * LinkLabel.cs: We need to update the hover drawing when
2156           leaving the control as well.
2157
2158 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2159
2160         * DataGrid.cs: Clicking on non empty areas in the columns
2161            area was giving an exception
2162
2163 2006-01-17  Jackson Harper  <jackson@ximian.com>
2164
2165         * ThemeWin32Classic.cs:
2166         * ListView.cs: Do not draw/clip the headers when the header style
2167         is None.
2168
2169 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2170
2171         * DataGrid.cs: Fixes 77260
2172         
2173 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2174
2175         * DataGrid.cs: Clicking on a column on a empty grid was giving
2176           an exception
2177
2178 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2179
2180         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2181           or any keypress will crash the grid.
2182
2183 2006-01-17  Mike Kestner  <mkestner@novell.com>
2184
2185         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2186         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
2187         invisible/previously-visible items.
2188         [Fixes #76909]
2189
2190 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
2191
2192         * ThemeClearlooks.cs:
2193         - Added CL_Draw_Button method; now other theme controls that are 
2194           not derived from button or do not have a button can draw buttons
2195           too
2196         - Updated ComboBox drawing
2197         - Beautified RadioButton drawing
2198         - Corrected drawing of bottom and left tabs
2199         - Beautified DateTimePicker and MonthCalendar
2200         - Added CPDrawButton and CPDrawRadioButton
2201
2202 2006-01-16  Jackson Harper  <jackson@ximian.com>
2203
2204         * ComboBox.cs: Set the initial value of the scrollbar to the
2205         current index. Reduce the numbers of refreshs and IndexOfs called.
2206
2207 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
2208
2209         * FileDialog.cs: When the file listview is focused hitting the
2210           backspace key moves the fileview to the parent directory
2211
2212 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2213
2214         * Form.cs: 
2215           - Added RecreateHandle call when changing taskbar visibility to 
2216             trigger reparenting in Win32 driver (Fixes #75719)
2217           - If a window has minimize or maximize buttons, it cannot have
2218             a help button
2219         * XplatUIWin32.cs:
2220           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2221             the toplevel form with FosterParent (A toolwindow not on the
2222             taskbar) (Fixes #75719)
2223           - Made FosterParent a toolwindow
2224
2225 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2226
2227         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2228
2229 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2230
2231         * ToolTip.cs: If SetToolTip is called from a control and the mouse
2232           is currently over that control, make sure that tooltip_window.Text
2233           gets updated
2234
2235 2006-01-13  Mike Kestner  <mkestner@novell.com>
2236
2237         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2238
2239 2006-01-13  Jackson Harper  <jackson@ximian.com>
2240
2241         * TreeView.cs: On MS GetNodeAt never actually factors in the X
2242         value passed.  Also redraw the selected node when we recieve
2243         focus, so tabbing between trees works correctly.
2244
2245 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2246
2247         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2248           ~/.gconf/%gconf-tree.xml, so use
2249           .gconf/desktop/gnome/interface/%gconf.xml
2250
2251 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2252
2253         * TextControl.cs: Draw text in gray if control is disabled
2254
2255 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2256
2257         * TreeView.cs: Draw the focus rectangle outside the highlight, to
2258           make sure it's always visible. Fixes #76680.
2259
2260 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2261
2262         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2263
2264 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
2265
2266         * PageSetupDialog.cs: Added.
2267         * PrintDialog.cs: Attributes.
2268         * PrintPreviewControl.cs: Updates.
2269         * PrintPreviewDialog.cs: Updates.
2270         
2271 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2272
2273         * Control.cs: Undid my selection check fix, since it's not needed
2274         * TextBoxBase.cs:
2275           - Now considering the presence of hscroll/vscroll when sizing
2276             vscroll/hscroll respectively. Fixed bug #77077
2277           - Added Left/Up/Down/Right to IsInputKey list to prevent
2278             ContainerControl from stealing them. This fixes what I broke
2279             with my last checkin.
2280
2281 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
2282
2283         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2284           I finally understand how the property can be set without a setter :-)
2285
2286 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2287
2288         * Application.cs:
2289           - Switched RunLoop to use static Message.Create to create a 
2290             Message object
2291           - Added PreProcessMessage call in runloop for keyboard events; this
2292             is part of the fix for #77219, I overlooked this originally in the
2293             MSDN doc for PreProcessMessage
2294         * Control.cs:
2295           - Removed call to PreProcessMessage from handling of keyboard 
2296             messages; it's supposed to be done in the message pump
2297           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2298             per MSDN documentation.
2299           - IsInputChar: All chars are input chars by default; removed the 
2300             parent calling chain, MS does not document that
2301           - PreProcessMessage: If IsInputChar is true, we want to return false
2302             to allow dispatching of the message
2303           - When selecting the next control, now also check that we're not
2304             selecting ourselves again and therefore return a false positive.
2305         * TextBoxBase.cs:
2306           - Tried to match return values for IsInputKey and ProcessDialogKey
2307             to what MS returns; moved processing of our special keys outside
2308             ProcessDialogKey since MS does not seem to return true on those.
2309           - Moved code that previously was in ProcessDialogKey into new private
2310             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2311           - Reworked handling of WM_CHAR to not have to duplicate code from
2312             Control.cs anymore, instead we simply call down to base.
2313            
2314 2006-01-12  Jackson Harper  <jackson@ximian.com>
2315
2316         * ComboBox.cs: We always need to refresh the text area when
2317         EndUpdate is called. Fixes the combobox in the file dialog.
2318         * Control.cs: Don't create the creator_thread until the controls
2319         handle is created.  Also in InvokeRequired we check if the
2320         creator_thread is null. This gives the effect of InvokeRequired
2321         returning true if the controls handle is not created yet, and
2322         matches MS.
2323
2324 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2325
2326         * XplatUI.cs:
2327           - Added StartLoop() driver method. This is used to allow drivers to
2328             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2329             loop for a particular thread
2330           - Added EndLoop() driver method. This is called once the message
2331             pump for the thread is shut down
2332           - Added SupportsTransparency method to allow the driver to indicate
2333             opacity support for windows
2334         * Form.cs:
2335           - Removed TODO attribute, completed AllowTransparency property
2336           - Added documented logic to Opacity
2337         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2338           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2339           versions of CompatibleTextRendering
2340         * X11Structs.cs: Added opacity atom to our atom enumeration
2341         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2342           of a form might be set before it's reparented by the WM, and we need
2343           the opacity value without calling up to Form)
2344         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
2345           SupportsTransparency() driver methods
2346         * Application.cs: Now calling StartLoop and EndLoop driver methods
2347         * XplatUIX11.cs:
2348           - Added opacity atom registration
2349           - Added StartLoop()/EndLoop() methods. They're empty right now but
2350             will need to get implemented when we switch to a per-thread queue
2351           - Implemented SupportsTransparency() method
2352           - Implemented SetWindowTransparency() method
2353           - Added support for setting the opacity value when a window is
2354             reparented (since the opacity needs to be set on the WM frame)
2355         * XplatUIOSX.cs, XplatUIWin32.cs:
2356           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2357
2358 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2359
2360         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2361
2362 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2363
2364         * FileDialog.cs: Added ToolTip for MWFFileView
2365         * MimeIcon.cs: Rewrote GnomeHandler.
2366           - Get currently used gnome icon theme from
2367             ($HOME)/.gconf/%gconf-tree.xml
2368           - Make use of inherited icon themes
2369           - Support SVG icon themes like Tango via librsvg
2370
2371 2006-01-12  Miguel de Icaza  <miguel@novell.com>
2372
2373         Revert's Jackson's revert which broke 2.0 builds.   Fix both
2374         builds. 
2375         
2376         * Application.cs: Move the use_compatible_text_rendering outside
2377         the NET_2_0 define.  If we ever need to use the
2378         use_compatible_text_rendering on the individual controls they will
2379         access the variable from the common shared code paths.
2380
2381 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2382
2383         * XplatUI.cs:
2384           - Added more granular debug options
2385           - Added method to print both window text and id
2386           - Switched debug output to use new Window() debug method
2387           - Added IsEnabled() driver method
2388           - Added EnableWindow() driver method
2389         * Form.cs:
2390           - Removed end_modal; no longer needed, new loop handles termination
2391             via 'closing' variable
2392           - If form is modal, setting DialogResult will now initiate loop
2393             termination via 'closing' variable
2394           - Added support for is_enabled/WS_DISABLED to CreateParams
2395           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2396             does all the work
2397           - Removed code that's now in RunLoop from ShowDialog()
2398           - Added various documented sanity checks to ShowDialog()
2399           - Added handling of WM_DESTROY message; we set 'closing' on getting
2400             the message to indicate the message pump to terminate
2401           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2402             send by the Application.ExitThread method. (We send the message
2403             to destroy the window after all other events have been
2404             processed through the queue, instead of destroying the handle 
2405             directly)
2406           - Moved code from Close() method to WM_CLOSE handler; added logic
2407             to only send close-related events if the form is not displayed
2408             modal
2409         * Splitter.cs (..ctor): Fixed typo in resource name
2410         * Control.cs:
2411           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2412             brush now
2413           - set_Cursor: Now only setting calling into XplatUI if the handle for
2414             the control is already created; this avoids implict handle creation
2415             or crashes if it's not created
2416           - set_Enabled: Now setting the enabled state via the new driver method
2417             instead of just tracking it
2418           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2419           - CreateControl: Reordered event firing and method calls to more
2420             closely fire events in the order MS does. Now setting the
2421             enabled state in the driver when creating the control.
2422           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2423             match MS order
2424         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2425           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2426         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2427         * Hwnd.cs:
2428           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2429           - Added EnabledHwnd property to easily allow a driver to find the
2430             handle of the first enabled window in the parent chain (this is
2431             used by drivers to pass up input events of disabled windows)
2432         * XplatUIDriver.cs: Added IsEnabled() method
2433         * Application.cs:
2434           - Removed crude and obsolete exiting tracking variable
2435           - Removed internal ModalRun(); replaced by RunLoop()
2436           - Implemented private CloseForms() method to allow closing all 
2437             windows owned by a particular (or all) threads
2438           - Exit() now properly closes all windows without forcing the message
2439             pump to quit
2440           - Removed obsolete InternalExit() method
2441           - Changed Run() methods to use new RunLoop() message pump
2442           - Implemented new RunLoop() method for both modal and non-modal forms
2443         * CommonDialog.cs:
2444           - get_CreateParams: Added setting of WS_DISABLED
2445           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2446             invoked via Form.ShowDialog()
2447         * NativeWindow.cs: We don't remove the window from the collection when
2448           the handle is destroyed; there might still be messages for it in the
2449           queue (mainly the resulting WM_DESTROY); instead it will be removed
2450           when Control calls InvalidateHandle in the WM_DESTROY handler
2451         * XplatUIX11.cs:
2452           - CreateWindow: Added logic to handle the WS_DISABLED window style
2453           - EnableWindow: Implemented based on Hwnd.Enabled
2454           - GetMessage: Reset PostQuitState so the method can be called again
2455           - Implemented support for disabled windows (passing messages to the
2456             first enabled parent) in handling all input messages
2457           - Added optimizations for handling Expose events
2458           - Implemeted new driver method IsEnabled()
2459           - Now always resetting paint pending tracking vars when we start paint
2460           - Re-implemented UpdateWindow via just sending a WM_PAINT message
2461         * XplatUIOSX.cs: Added IsEnabled method stub
2462         * XplatUIWin32.cs: Implemented new IsEnabled() method
2463
2464 2006-01-11  Jackson Harper  <jackson@ximian.com>
2465
2466         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2467         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2468         variables a little.
2469         * ColorDialog.cs: Clear out the old form before adding the new
2470         panel.  
2471
2472 2006-01-11  Jackson Harper  <jackson@ximian.com>
2473
2474         * X11Dnd.cs: Make sure to add all the text formats when adding
2475         strings to the data object.
2476         * TreeNodeCollection.cs: When adding to a sorted tree we need to
2477         do some redrawing too.  Also change the UpdateNode to an
2478         UpdateBelow so the newly added node gets painted.
2479         
2480 2006-01-11  Miguel de Icaza  <miguel@novell.com>
2481
2482         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2483         LinkLabel.cs, PropertyGrid.cs: Implement the
2484         UseCompatibleTextRendering property for 2.x
2485
2486         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
2487
2488 2006-01-11  Jackson Harper  <jackson@ximian.com>
2489
2490         * TreeView.cs: Use the property for setting the selected node so
2491         the correct events get raised.
2492         * TreeNode.cs: Update the tree when the fore/back colours of a
2493         node are set.
2494
2495 2006-01-10  Jackson Harper  <jackson@ximian.com>
2496
2497         * TreeView.cs: Allow setting SelectedNode to null.
2498
2499 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2500
2501         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2502
2503 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2504
2505         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2506
2507 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2508
2509         * PrintDialog.cs: Added attributes and set default property values.
2510
2511 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2512
2513         * PrintControllerWithStatusDialog.cs: 
2514         Added PrintControllerWithStatusDialog.
2515
2516 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2517
2518         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
2519         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2520
2521 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2522
2523         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2524
2525 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
2526
2527         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2528         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2529
2530 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2531
2532         * MimeIcon.cs: Added internal class SVGUtil.
2533
2534 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2535
2536         * FileDialog.cs: Don't crash if there are two files with the
2537           same name but different locations.
2538
2539 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
2540
2541         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2542         dates across multiple month grids. Used to not highlight entire 
2543         month, but does now.
2544         
2545 2006-01-06  Jackson Harper  <jackson@ximian.com>
2546
2547         * MonthCalendar.cs: Removed DoEvents call to prevent a running
2548         message loop. Change timer intervals to numbers that seem more
2549         natural.
2550
2551 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
2552
2553         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2554           object for location info since screen object is now implemented.
2555
2556 2006-01-05  Jackson Harper  <jackson@ximian.com>
2557
2558         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2559         * AsyncMethodResult.cs: We no longer use a WeakReference for the
2560         AsyncMethodResult, this is because we ALWAYS want the
2561         ManualResetEvent to get set.
2562         * Control.cs: When disposing use an async invoke to call shutdown
2563         code, so that thigns don't block on the finalizer thread.  Also
2564         check if we even have a message loop before trying to send
2565         messages, if we don't then don't bother sending messages.
2566         - No more weak references for async methods
2567         * XplatUIDriver.cs: No more weak references for async methods.
2568
2569 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2570
2571         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2572           returns two FontFamily with the same name
2573
2574 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2575
2576         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
2577           drawing disabled text. Instead using the ColorGrayText color
2578
2579 2006-01-04  Jackson Harper  <jackson@ximian.com>
2580
2581         * TreeNode.cs: redraw the node when its image index is changed.
2582
2583 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2584
2585         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2586           time I checked there are no others like it.
2587
2588 2006-01-04  Jackson Harper  <jackson@ximian.com>
2589
2590         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2591         this gives the behavoir I was looking for.
2592         * Control.cs: Special case Invoking EventHandlers, this matches MS
2593         and fixes part of bug #76326.
2594
2595 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2596
2597         * ThemeClearlooks.cs, FileDialog.cs:
2598           - Reflect the latest Theme class changes
2599           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
2600             with DateTime
2601             
2602 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2603
2604         * Theme.cs: Cache UI resource images and resize them if needed
2605
2606 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2607
2608         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2609           is called. This fixes the crash in Nexxia when setting the font
2610           attributes in the chat. [However, RTF needs a look-over to make sure
2611           that all SelectionXXX methods handle the special case that selection
2612           is empty and therefore the change must be applied to all text starting
2613           at the cursor/selection start]
2614
2615 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
2616
2617         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2618           XplatUIOSX.cs: Added SendMessage and PostMessage methods
2619         * X11Keyboard.cs: Switched to new way of calling PostMessage
2620
2621 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2622
2623         * Theme.cs: Added theme interface for images to allow the theme to
2624           control what images are used for things like FileDialog, MessageBox
2625           icons, etc.
2626         * MessageBox.cs: Now uses the new Theme icon/image interfaces
2627
2628 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
2629
2630         * FileDialog.cs:
2631           - Removed some dead code
2632           - Opening a recently used file does work now
2633           - Small UI enhancements
2634           - Refactoring
2635
2636 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2637
2638         * FileDialog.cs: Forgot too add __MonoCS__
2639
2640 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2641
2642         * FileDialog.cs: We are able to read recently used files now let's
2643           go on and write them.
2644
2645 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
2646
2647         * FileDialog.cs: Breathe some life into "last open"/"recently used"
2648           button
2649         * MimeIcon.cs: Do a check for the top level media type also
2650
2651 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2652
2653         * ThemeClearlooks.cs:
2654           - Added CPDrawStringDisabled
2655           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2656             some chars if the text doesn't fit into text_rect
2657           - DrawListViewItem: If View = View.LargeIcon center the image;
2658             rewrote the drawing of ListViewItem.Text if View = 
2659             View.LargeIcon
2660
2661 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2662
2663         * MimeIcon.cs: Use default KDE icon theme if there is no
2664           "48x48" directory for the current icon theme, fixes #77114
2665         * Mime.cs: Disable not working and actually not used code. 
2666         * ThemeWin32Classic.cs:
2667           - Replace "new SolidBrush" in GetControlBackBrush and
2668             GetControlForeBrush with ResPool.GetSolidBrush
2669           - Changed DrawListViewItem from private to protected virtual
2670         * FileDialog.cs:
2671           - Added form.MaximizeBox = true
2672           - Don't throw an exception if there is a broken symbolic link
2673
2674 2005-12-23  Jackson Harper  <jackson@ximian.com>
2675
2676         * TabControl.cs: Give the panels focus, keyboard navigation is
2677         fixed so this works correctly now.
2678         - We need these key events also.
2679         * ToolBar.cs: Remove some of the poor mans double buffering.
2680         
2681 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
2682
2683         * ComboBox.cs: The internal TextBox now returns the focus.
2684
2685 2005-12-23  Jackson Harper  <jackson@ximian.com>
2686
2687         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
2688
2689 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2690
2691         * Control.cs: Removed debug code
2692         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2693           implicit children
2694
2695 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
2696
2697         * Control.cs: When creating the control, update the Z-order after
2698           all it's children are created, too. (Fixes nexxia not showing
2699           picturebox bug)
2700
2701 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2702
2703         * Control.cs: Do not update the anchoring distances if layout is
2704           suspended, instead do it once layout is resumed
2705
2706 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
2707
2708         * Control.cs: 
2709           - After many hours of debugging, for both Jackson and
2710             myself, it turns out that it helps to set the parent of a control
2711             if you want to actually see it onscreen. In the spirit of that
2712             discovery, we're now setting the parent of the control and
2713             it's children when the control's handle is created. This fix
2714             will make Lutz Roeder's Reflector run happily. 
2715           - now just creating the handle instead of the whole control when
2716             getting a graphics context for the control.
2717
2718 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2719
2720         * ScrollableControl.cs: When calculating the canvas, don't consider
2721           the scrollbar widths. Instead, predict if horizontal scrollbar
2722           will affect canvas when deciding on vertical display and vice versa.
2723
2724 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2725
2726         * RichTextBox.cs: Set default RTF font for documents that don't
2727           have a font table (Fixes #77076)
2728
2729 2005-12-22  Jackson Harper  <jackson@ximian.com>
2730
2731         * TextBoxBase.cs: It's difficult to do, but you can have an empty
2732         clipboard. This prevents a NullRef in that case.
2733         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2734         clipboard. PRIMARY is for the currently selected text only. (We
2735         should implement PRIMARY at some point.
2736
2737 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2738
2739         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2740           a Unicode function with a structure that was defined in Ansi way.
2741           This fixes #76942.
2742
2743 2005-12-21  Jackson Harper  <jackson@ximian.com>
2744
2745         * StatusBar.cs: Statusbar handles its fore/back colours on it's
2746         on. Because thats how it rolls. (and this avoids it using ambient
2747         colours).
2748         * ThemeWin32Classic.cs: Use the proper back color for filling.
2749         * Menu.cs: Use the system menu bar color for drawing menu
2750         bars. Using the window back color will bring ambient colours into
2751         the picture.
2752
2753 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
2754
2755         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2756           Bitmaps were created and not disposed.
2757
2758 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2759
2760         * Control.cs (CreateControl): Don't do anything if the control is
2761           already created, otherwise we'd fire the OnCreated event more than
2762           once
2763
2764 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2765
2766         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2767           will always match. Instead return -1. Fixes #76464.
2768
2769 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2770
2771         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2772           neither the beginning nor the end of the line (Fixes bug #76479)
2773
2774 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2775
2776         * Control.cs:
2777           - ControlNativeWindow.ControlFromHandle(): Now handling situation
2778             where handle is invalid
2779           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2780             instead of slower linear search
2781         * NativeWindow.cs: Don't remove the window from the hashtable until
2782           after the driver has destroyed it (since the driver might use
2783           Control.FromHandle to lookup the control object
2784         * Hwnd.cs: Added DestroyPending property to track if a window is 
2785           already destroyed as far as the driver is concerned and only hasn't
2786           yet notified the control
2787         * XplatUIX11.cs:
2788           - Activate(): Check if the window is still valid before using the 
2789             handle
2790           - Implemented DestroyChildWindow() method to mark child windows as
2791             destroyed when a window is destroyed. This prevents situations 
2792             where we might call an X method based on queued events for a
2793             window that already has been destroyed but we haven't yet pulled
2794             the destroy method from the queue.
2795           - Added a call to the new DestroyChildWindow() method to the drivers
2796             DestroyWindow code. Also now marking the destroyed window itself
2797             as pending
2798
2799 2005-12-20  Jackson Harper  <jackson@ximian.com>
2800
2801         * StatusBar.cs:
2802         * StatusBarPanel.cs: Don't calculate panel sizes on draw
2803         anymore. Just do them when needed, also track the rects of panels
2804         so that we can optimize refreshing more in the future.
2805
2806 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
2807
2808         * ColorDialog.cs: Fixed focus drawing in small color controls
2809
2810 2005-12-19  Jackson Harper  <jackson@ximian.com>
2811
2812         * InternalWindowManager.cs:
2813         * MdiWindowManager.cs: Cleanup some coordinate system changes so
2814         moving windows works properly.
2815
2816 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
2817
2818         * Control.cs: 
2819           - Removed call to InitLayout() from SetBoundsCore(); doc says
2820             it's only called when a control is added to a container
2821           - Split InitLayout logic, moved to separate UpdateDistances() method
2822             since we need to perform those calculations more often than just
2823             when adding the control to a container. (Needed to fix #77022)
2824           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2825           - Reduced the OnBindingContextChanged events count, don't send them
2826             unless the control is created, we still aren't totally matching
2827             MS, but I can't quite figure out some of their rules
2828
2829 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2830
2831         * ThemeClearlooks.cs: Corrected distance between ProgressBar
2832           stripes
2833
2834 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2835
2836         * ThemeClearlooks.cs:
2837           - Updated ProgressBar drawing
2838           - Corrected drawing of ScrollBars and scroll buttons
2839           - Some temporary fixes for minor pixel artefacts
2840
2841 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
2842
2843         * Control.cs:
2844           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2845             cause events to be sent in the same order as MS does.
2846           - Added ChangeParent() method to trigger various OnXXXChanged events
2847             that need to be fired when a parent changes (This is a reworking
2848             of the patch from r54254, with the X11 errors fixed)
2849           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2850             since on MS we get OnLayoutChanged events when calling Clear()
2851           - Changed Enabled property to consider parent state as well, if a
2852             parent is not enabled, the control will not be either
2853           - Changed Parent property to simply call Controls.Add() since that
2854             now does all the work required, this way we avoid code duplication
2855           - Threw in a few OnBindingsContextChanged calls to try and match
2856             when MS sends them. We seem to send a few too many, though.
2857           - Added call to CreateControl when adding the control to a parent.
2858             We were never calling CreateControl. Still needs some work, in
2859             some places we treat HandleCreated and ControlCreated as equal, 
2860             which is wrong
2861           - Removed obsolete commented out code from UpdateZOrder()
2862
2863 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2864
2865         * ThemeClearlooks.cs: Updated TrackBar drawing.
2866
2867 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2868
2869         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2870
2871 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2872
2873         * FileDialog.cs: Add the Help button and the open readonly
2874           checkbox only if needed
2875
2876 2005-12-16  Jackson Harper  <jackson@ximian.com>
2877
2878         * Control.cs: Make sure we have an active menu before trying to
2879         process commands on it. Prevents menu-less forms from crashing
2880         when Alt is pressed.
2881         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2882         Dieter Bremes.
2883         * RichTextBox.cs: Expand statement to help out gmcs and fix the
2884         2.0 build.
2885
2886 2005-12-16  Jackson Harper  <jackson@ximian.com>
2887
2888         * InternalWindowManager.cs: Don't translate tool windows screen
2889         coordinates. This fixes windows 'bouncing' around when being moved.
2890
2891 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2892
2893         * TextBoxBase.cs:
2894           - MaxLength now treats 2^31-1 equal to unlimited length (this is
2895             not quite MS compatible, MS uses that number only for single line
2896             and 2^32-1 for multi-line, but I figure it won't hurt keeping
2897             the limit at 2GB)
2898           - Now enforcing the MaxLength limit when entering characters
2899           - Added argument to internal Paste() method to track if it's called
2900             from programatically or via keyboard, since keyboard driven pastes
2901             need to enforce max-length
2902           - Added logic to Paste to only paste as many chars as MaxLength 
2903             allows
2904         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2905         * TextControl.cs:
2906           - Added Length property to return number of characters in document
2907           - Added private CharCount property which only tracks actual chars
2908             in the document (no linefeeds) and fires event when CharCount
2909             changes
2910           - Added tracking of character count to all methods that alter it
2911           - Added LengthChanged event to allow applications to subscribe
2912             to any changes to the document
2913
2914 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2915
2916         * TextBox.cs: 
2917           - Removed local password_char field (moved to TextBoxBase)
2918           - Now setting the document's password var when password is
2919             set
2920         * TextBoxBase.cs:
2921           - Added password_char field (needed here so MultiLine can
2922             access it)
2923           - Added logic to MultiLine property setter to set the document's
2924             variable when password display is allowed
2925           - Removed debug code and made some debug code conditional
2926         * TextControl.cs:
2927           - Added RecalculatePasswordLine() method to handle special password
2928             char only lines
2929           - Added PasswordChar property, also added related tracking vars
2930           - Draw() method now uses local text var for grabbing text to draw,
2931             this var is set to line.text unless we're doing password display,
2932             then it is set to the pre-generated all-password-chars line
2933           - Added calling RecalculatePasswordLine() method for password lines
2934
2935 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2936
2937         * Hwnd.cs: 
2938           - Added Reparented property to allow tracking of Window Manager
2939             reparenting actions (which affect X/Y calculations of toplevel 
2940             windows)
2941           - Made ToString() print window handles in hex
2942         * XplatUIX11.cs:
2943           - AddConfigureNotify(): Now uses reparented state off Hwnd to
2944             determine if X/Y needs offsetting
2945           - AddConfigureNotify(): Fixed offset calculations
2946           - Now adds ReparentNotify messages into the queue
2947           - Now processes ReparentNotify messages and causes a 
2948             WM_WINDOWPOSCHANGED message to be sent upstream if a window
2949             is reparented (as most likely it's X/Y coordinates are changed
2950             due to that)
2951
2952 2005-12-14  Jackson Harper  <jackson@ximian.com>
2953
2954         * XplatUIX11.cs: Tool windows still need to respek focus.
2955
2956 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2957
2958         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2959           have a working release
2960
2961 2005-12-13  Jackson Harper  <jackson@ximian.com>
2962
2963         * Form.cs: Update styles after setting the border style regardless
2964         of whether or not the window is using a window manager.
2965
2966 2005-12-13  Jackson Harper  <jackson@ximian.com>
2967
2968         * Form.cs: We now hook into an internal window manager instead of just an
2969         MDI subsystem, this is so we can have properly behaving tool windows.
2970         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2971         * InternalWindowManager.cs: New internal class that acts as a
2972         window manager for tool windows and as a base for mdi windows.
2973         * MdiWindowManager.cs: New class that acts as a window manager for
2974         mdi windows.
2975
2976 2005-12-12  Jackson Harper  <jackson@ximian.com>
2977
2978         * Control.cs: Updates so we match behavoir for for implicit
2979         controls. Fixes explosions in MDI.
2980
2981 2005-12-12  Jackson Harper  <jackson@ximian.com>
2982
2983         * Control.cs: Implement Invalidate (Region).
2984
2985 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
2986
2987         * Control.cs: 
2988           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
2989             the same events as MS does. MS fires events for each property 
2990             except, for unknown reasons, Cursor, when the control is reparented. 
2991             I can't seem to totally match add/remove since MS also fires some 
2992             VisibleChanged events, which makes no sense. Consolidated the
2993             parenting code into a separate method so it can be called from
2994             both Add and Remove. set_Parent no longer needs any special logic
2995             as it calls the parent's add method which implicitly fires
2996             all events
2997           - Removed some obsolete code and debug output
2998           - Enabled state is inherited from parents, if this is enabled
2999
3000 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
3001
3002         * Form.cs: Removed commented out code
3003
3004 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
3005
3006         * Control.cs:
3007           - Added internal version of Invoke, with additional argument 
3008             indicating if we're calling it from a Dispose() handler. That
3009             way we can avoid BeginInvoke throwing an exception if we're
3010             calling for an already destroyed window.
3011           - Added a dispose argument to BeginInvokeInternal, and made the
3012             check if a valid window handle chain exists conditional on
3013             it not being a dispose call
3014           - Removed code in DestroyHandle to destroy our children. Since we
3015             now handle the WM_DESTROY message we will catch all our children
3016             being destroyed.
3017           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3018         * Form.cs:
3019           - Added a field to track the application context of the form.
3020           - No need to set closing variable as response to WM_CLOSE, instead
3021             we destroy the window. We also call PostQuitMessage if the form
3022             has an application context (which makes it the main app form,
3023             which, when closed terminates the app)
3024         * XplatUI.cs:
3025           - Dropped Exit() method, it's naming was confusing
3026           - Added PostQuitMessage() which causes GetMessage to return false
3027             once the message queue is empty
3028         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
3029           PostQuitMessage()
3030         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3031           no longer a valid XplatUI method, but left it in since it's used
3032           internally. Added empty PostQuitMessage() method.
3033         * MenuAPI.cs: Replaced call to Exit() with call to
3034           PostQuitMessage, even though this is probably no longer needed.
3035         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3036         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3037         * Application.cs:
3038           - Replaced call to XplatUI.Exit() with PostQuitMessage()
3039           - Removed old debug code that would call XplatUI for exception
3040             display, enabled standard exception handling (Still not enabled
3041             though, until NativeWindow's ExternalExceptionHandler define
3042             is removed
3043         * NativeWindow.cs:
3044           - Added internal method to allow control to update NativeWindow
3045             after a window has been destroyed
3046           - Added handling of already destroyed windows when calling i
3047             DestroyWindow
3048           - Added removal of handle from list on ReleaseHandle
3049         * XplatUIX11.cs:
3050           - Dropped GetMessageResult var and related code
3051           - Added PostQuitState to field to track if PostQuitMessage has been
3052             called
3053           - Dropped Exit() method
3054           - Added PostQuitMessage() method
3055           - GetMessage now will return false if PostQuitState is set and no
3056             more messages are in the queue.
3057           - Expose handler will no longer generate WM_PAINT messages if we are
3058             in PostQuitState since it's very likely any windows have already
3059             been destroyed, and since Hwnd won't get updated until we have
3060             processed the DestroyNotify we'd be causing X errors.
3061         
3062 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3063
3064         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3065           Thanks to Mike for pointing out the err of my ways.
3066
3067 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3068
3069         * Control.cs(PreProcessMessage): Moved menu handling back, but
3070           after all other key handling, to match MS (who handles Menu in
3071           DefWndProc)
3072         * Menu.cs (WndProc): Removed my brainfart
3073
3074 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3075
3076         * Control.cs(PreProcessMessage): Removed special menu handling 
3077         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3078
3079 2005-12-07  Mike Kestner  <mkestner@novell.com>
3080
3081         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3082         state according in tracker.
3083         * Menu.cs : promote tracker field to base class and provide a tracker
3084         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3085         has a tracker. Unparent items that are removed from the collection.
3086         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3087         * Theme*.cs: add always_show_hotkeys field to support configurability
3088         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3089         pressed.
3090
3091 2005-12-07  Jackson Harper  <jackson@ximian.com>
3092
3093         * MdiChildContext.cs: Use Control.ResetCursor.
3094         * Control.cs: ResetCursor needs to set the property so that the
3095         correct XplatUI call gets made.
3096
3097 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3098
3099         * Control.cs: More fixes to make our key events match MS. We
3100           were not setting the modifier state on KeyData, and we were
3101           not generating any events when Alt was pressed with a key
3102           since handling of WM_SYSxxx was missing for the OnKey methods.
3103
3104 2005-12-07  Jackson Harper  <jackson@ximian.com>
3105
3106         * MdiChildContext.cs: reenable the sizing code.
3107         - When the mouse leaves a window reset its cursor.
3108
3109 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3110
3111         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3112
3113 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3114
3115         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3116           widths of Fixed3D borders
3117
3118 2005-12-07  Jackson Harper  <jackson@ximian.com>
3119
3120         * MdiClient.cs: Fix warnings. Earn Mike's love.
3121
3122 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3123
3124         * ThemeClearlooks.cs:
3125           - Adjusted mouse over button color
3126           - Added first parts of CheckBox drawing
3127           - Added correct color for selected text background
3128           - Fixed ComboBox drawing
3129           - Added CPDrawBorder3D and CPDrawBorder
3130
3131 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3132
3133         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3134
3135 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3136
3137         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3138           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3139           alert users via sound. We could add an enum arg with different
3140           types of alerts in the future
3141
3142 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3143
3144         * Control.cs: Fix behaviour problems pointed out by Mike
3145
3146 2005-12-05  Mike Kestner  <mkestner@novell.com>
3147
3148         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3149         prop setters.  Calls parent.Refresh for now, but could be maybe be
3150         optimized with an internal method on StatusBar at some point.
3151         [Fixes #76513]
3152
3153 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3154
3155         * RichTextBox.cs: Implemented get_SelectionColor
3156
3157 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3158
3159         * ThemeClearlooks.cs:
3160           - Removed dead code
3161           - Draw black button border only if button is Form.AcceptButton
3162           - Draw correct button color for pressed RadioButton if the mouse 
3163             has entered the button
3164           - Updated ProgressBar drawing!
3165           - Updated CPDrawSizeGrip drawing
3166           - Updated StatusBarPanel drawing
3167
3168 2005-12-05  Mike Kestner  <mkestner@novell.com>
3169
3170         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3171         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3172
3173 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
3174
3175         * ThemeClearlooks.cs: Initial check-in, activate with
3176           export MONO_THEME=clearlooks
3177         * ThemeEngine.cs: Added ThemeClearlooks
3178
3179 2005-12-03  Mike Kestner  <mkestner@novell.com>
3180
3181         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3182         [Fixes #76897]
3183
3184 2005-12-02  Jackson Harper  <jackson@ximian.com>
3185
3186         * Form.cs: If the child form has no menu the default main menu is
3187         used as the active menu.
3188
3189 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
3190
3191         * ListBox.cs: Check if any items exist before trying to resolve 
3192           coordinates into items
3193
3194 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3195
3196         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3197           as the second color for the background hatch
3198
3199 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3200
3201         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3202         * RichTextBox.cs: FormatText position arguments are 1-based, now making
3203           sure that what we pass to FormatText is always 1-based. Fixes #76885
3204
3205 2005-11-29  Miguel de Icaza  <miguel@novell.com>
3206
3207         * NumericUpDown.cs (EndInit): When we are done initializing,
3208         reflect any updates on the UI.
3209
3210 2005-12-02  Jackson Harper  <jackson@ximian.com>
3211
3212         * ImplicitHScrollBar.cs:
3213         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3214         their container controls.
3215         * TreeView.cs: Use the new implicit scrollbars.
3216
3217 2005-12-02  Jackson Harper  <jackson@ximian.com>
3218
3219         * TreeView.cs: Make top_node internal so the TreeNodeCollections
3220         can play with it.
3221         * TreeNodeCollection.cs: If we remove the topnode we need to
3222         update topnode to the next node in line.
3223         - When clearing nodes go through the same process as removing
3224         them, so they get depareneted and checked if they are top node.
3225
3226 2005-12-01  Jackson Harper  <jackson@ximian.com>
3227
3228         * TreeView.cs: When imagelists are used the image area is
3229         selectable as well as the text.
3230         - If there are no selected nodes select the first one.
3231         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3232         so don't do it more then we need to.
3233
3234 2005-12-01  Jackson Harper  <jackson@ximian.com>
3235
3236         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3237         that arrows can be scaled.
3238
3239 2005-12-01  Jackson Harper  <jackson@ximian.com>
3240
3241         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3242         fail. Patch by Dieter Bremes
3243
3244 2005-11-30  Jackson Harper  <jackson@ximian.com>
3245
3246         * Form.cs: Property is 2.0 only
3247         * PrintDialog.cs: Signature fix.
3248
3249 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3250
3251         * TextControl.cs: 
3252           - No longer artificially moves text 2 pixels down (now that we have
3253             borders this is no longer needed)
3254           - Added calcs for left, hanging and right indent
3255
3256 2005-11-23  Mike Kestner  <mkestner@novell.com>
3257
3258         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3259
3260 2005-11-30  Jackson Harper  <jackson@ximian.com>
3261
3262         * MdiChildContext.cs: Set the cloned menus forms, as these don't
3263         get cloned as part of CloneMenu ().
3264         * Menu.cs: Make sure the parent of the items get set correctly
3265         when they are added.  And the owners are notified of the changes.
3266         * Form.cs: Create an ActiveMenu property, so that when MDI is used
3267         we can change the menu being displayed/handled by the form without
3268         changing the menu assosciated with the form.
3269         - Don't let Mdi children draw/handle menus.
3270         
3271 2005-11-30  Jackson Harper  <jackson@ximian.com>
3272
3273         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3274         a MenuChanged event. Just to make the API a little more
3275         consistent.
3276         * MainMenu.cs:
3277         * MenuItem.cs: Use the new OnMenuChanged
3278         * MdiChildContext.cs: Handle menu merging.
3279         * Form.cs: Implement MergedMenu.
3280         
3281 2005-11-30  Jackson Harper  <jackson@ximian.com>
3282
3283         * Menu.cs: We were misusing Add. Add goes behind the specified
3284         index according to the docs, and does not replace the specified
3285         index. So I added an Insert method.
3286
3287 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3288
3289         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3290           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3291           is for Jackson
3292         * RichTextBox.cs: Added calls to base for DnD events
3293
3294 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
3295
3296         * TextControl.cs:
3297           - Fixed drag-selection related crash; style fixes
3298           - Implemented undo class
3299             o Implemented method to capture document state for specified
3300               range in document tree
3301             o Implemented method to restore captured document state
3302             o Implemented cursor tracking
3303             o Implemented basic undo stack
3304           - Added undo cursor tracking to methods altering cursor location
3305           - Added undo tracking to selection deletion (still missing
3306             other text-altering hookups)
3307         * RichTextBox.cs:
3308           - Added SelectionLength property
3309           - Implemented CanPaste()
3310           - Implemented Paste()
3311           - Added missing protected methods
3312           - Fixed RTF->Document conversion; now uses font index 0 and color 
3313             index 0 as the default font for the parsed text
3314           - Fixed RTF<->Document font size translation
3315           - Fixed RTF generation, now properly handles cross-tag boundaries
3316             for single line selection
3317           - No longer always appends blank line to generated RTF
3318           - Removed TODOs
3319           - Added missing attributes
3320           - Hooked up undo-related methods
3321         * TextBoxBase.cs:
3322           - Implemented Copy()
3323           - Implemented Paste()
3324           - Implemented Cut()
3325           - Fixed caret mis-behaviour on backspace across line-boundaries
3326
3327 2005-11-29  Jackson Harper  <jackson@ximian.com>
3328
3329         * MdiClient.cs: Add a method for activating mdi children. Very
3330         basic right now. I imagine someday it might need more girth.
3331         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3332         children windows names are added to the menu item.
3333         * ThemeWin32Classic.cs: Draw the arrow if the item is an
3334         mdilist. This happens regardless of whether or not there are any
3335         mdi windows to see in the list, and according to my tests happens
3336         before the items are even added. Also happens if there isn't even
3337         an mdi client to get windows from.
3338
3339 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
3340
3341         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3342         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3343
3344 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
3345
3346         * DataGridTableStyle.cs:
3347           - Create always the styles for the missing columns even if they are
3348             provided by the user (not default table style)
3349         * DataGrid.cs:
3350           - Fixes bug 76770
3351           - Fixes SetDataBinding (always re-attach source)
3352           - Fixes SetNewDataSource (only clear styles if they are not for 
3353             this source)
3354          -  Expands OnTableStylesCollectionChanged to handle style refresh 
3355             and remove properly
3356
3357 2005-11-29  Jackson Harper  <jackson@ximian.com>
3358
3359         * FileDialog.cs: Implement missing bits, remove some dead
3360         code.
3361         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3362         creation of the panel so that the options set on the dialog are
3363         seen when the panel is created.
3364         * TreeView.cs: raise a click when items are clicked.
3365         
3366 2005-11-29  Jackson Harper  <jackson@ximian.com>
3367
3368         * MdiClient.cs: Pass some signature methods through to base.
3369
3370 2005-11-28  Jackson Harper  <jackson@ximian.com>
3371
3372         * ListView.cs: Raise the click event when items are clicked.
3373
3374 2005-11-28  Jackson Harper  <jackson@ximian.com>
3375
3376         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
3377         a nullref.
3378
3379 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3380
3381         * ThemeNice.cs: - Removed 1 pixel bitmaps
3382           - Use SmoothingMode.AntiAlias where it makes sense
3383             (ScrollButton arrow for example)
3384           - Enhanced Button focus drawing
3385           - Fixed ComboBox drawing (no artefacts anymore, focus
3386             rectangle is back again, reduced size of ComboButton, etc.)
3387           - Fixed RadioButton focus drawing for Appearence.Button
3388           - Slight ScrollButton redesign
3389           - Some LinearGradientBrush size fixes
3390           - GroupBoxes have now rounded edges
3391           - Fixed StatusBar drawing
3392
3393 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3394
3395         * ThemeNice.cs: - Remove dead code
3396           - use correct background colors for menus, etc.
3397           - Fake pixel drawing with 1 pixel bitmaps
3398
3399 2005-11-24  Jackson Harper  <jackson@ximian.com>
3400
3401         * MdiClient.cs: Size the scrollbars when resizing the window.
3402         - Resize the maximized windows when the client is resized
3403         * Form.cs: Make the child context available
3404         
3405 2005-11-23  Jackson Harper  <jackson@ximian.com>
3406
3407         * MdiChildContext.cs: Don't size windows if they are maximized.
3408
3409 2005-11-23  Mike Kestner  <mkestner@novell.com>
3410
3411         * ContextMenu.cs: use MenuTracker.
3412         * Control.cs: remove menu handle usage.
3413         * Form.cs: remove menu handle usage.
3414         * Hwnd.cs: remove menu handle usage.
3415         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3416         motion and clicks to the new Tracker handlers.
3417         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3418         and handle usage.
3419         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3420         Killed the MENU and MENUITEM data types and associated collections
3421         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3422         MenuTracker class that exposes the leftovers from the old MenuAPI
3423         static methods. Restructured Capture handling so that only one grab is
3424         done for the entire menu hierarchy instead of handing off grabs to
3425         submenus. Tracker now has an invisible control to Capture when active.
3426         * MenuItem.cs: add sizing accessors, kill Create
3427         and handle usage.
3428         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3429         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3430         MENU(ITEM). remove menu handle usage, use Menu directly.
3431         * XplatUIDriver.cs: remove menu handle usage.
3432         * XplatUIOSX.cs: remove menu handle usage.
3433         * XplatUIWin32.cs: remove menu handle usage.
3434         * XplatUIX11.cs: remove menu handle usage.
3435
3436 2005-11-22  Jackson Harper  <jackson@ximian.com>
3437
3438         * Hwnd.cs: Don't compute the menu size for
3439         DefaultClientRectangle.
3440         - Reenable menu sizes being computed for GetClienRectangle.
3441         * Form.cs: Remove comment of trechery
3442         
3443 2005-11-22  Jackson Harper  <jackson@ximian.com>
3444
3445         * Hwnd.cs: The adjustments for the menu bar are made when it is
3446         attached to the form.
3447
3448 2005-11-19  Jackson Harper  <jackson@ximian.com>
3449
3450         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3451         (just like on windows).
3452
3453 2005-11-19  Jackson Harper  <jackson@ximian.com>
3454
3455         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3456         use real buttons anymore because they are in non client area. The
3457         one TODO here is that I need to somehow invalidate a section of
3458         the non client area.
3459
3460 2005-11-18  Jackson Harper  <jackson@ximian.com>
3461
3462         * Control.cs: Put the enum check back in now that MDI doesnt have
3463         to use this to set border styles.
3464         * Form.cs: Only set mdi child windows borders if the handle has
3465         been created.
3466         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3467         this directly on to the driver.
3468         - Get the move start position before adjusting for the titlebar
3469         height, this fixes the windows "skipping" when they are first
3470         moved.
3471
3472 2005-11-18  Jackson Harper  <jackson@ximian.com>
3473
3474         * XplatUIX11.cs: Just compute the mdi borders separately as they
3475         don't totally match up with normal form borders.
3476
3477 2005-11-18  Jackson Harper  <jackson@ximian.com>
3478
3479         * Control.cs: Set WS_ styles for borders, so that the driver does
3480         not have to retrieve the control instance to figure out what kind
3481         of borders it should have.
3482         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3483         driver can know its an mdi child easily.
3484         * XplatUIX11.cs: Get the border styles and whether the window is
3485         MDI from the Styles and ExStyles params instead of having to get a
3486         control. This prevents a chicken and egg problem.       
3487
3488 2005-11-18  Jackson Harper  <jackson@ximian.com>
3489
3490         * MdiClient.cs: Fix typo so scrollbars show up correctly.
3491
3492 2005-11-18  Jackson Harper  <jackson@ximian.com>
3493
3494         * MdiClient.cs: Calculate when to add and remove scrollbars
3495         correctly.
3496         * MdiChildContext.cs: Adjust the y position to take the titlebar
3497         into account.
3498         - No height for FormBorderStyle.None
3499
3500 2005-11-18  Jackson Harper  <jackson@ximian.com>
3501
3502         * Control.cs: Allow non enum values to be used for
3503         InternalBorderStyle.  MDI does this to set a special border style.
3504         - New utility methods for converting points to/from client coords
3505         - Add the newly created control to the Controls collection before
3506         updating its style. This way UpdateStyle can walk the control
3507         heirarchy to find the control if needed.
3508         so I don't need to create a new Point object all the time.
3509         * Form.cs: Let MDI windows handle their border styles.
3510         - Set styles on MDI windows so the correct title style is derived.
3511         * MdiChildContext.cs: Move all the painting and window handling
3512         into the non client area.
3513         - Use correct sizing and put correct buttons on frames based on
3514         the FormBorderStyle.
3515         - Notify the mdi client about scrolling
3516         - Need to handle the buttons ourselves now, because they are all
3517         in non client areas and we can't add controls there.
3518         * MdiClient.cs: Halfway to scrolling, this implementation is
3519         somewhat broken though, we need to check to make sure other
3520         windows aren't causing scrolling before removing the bars. Also
3521         the bars need to be drawn on top, maybe I can switch implicit
3522         controls to be on top.
3523         * Hwnd.cs: caption_height and tool_caption_height are now
3524         properties of an hwnd, this way they can be set by the driver
3525         based on the type of window they are.  In X11 the window manager
3526         handles the decorations so caption_height is zero unless its an
3527         MDI window.
3528         - Add 3 pixel borders for MDI windows (0xFFFF).
3529         - Get rid of some code duplication, have DefaultClientRectanle
3530         just call GetClientRectangle.
3531         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3532         Hwnd now.
3533         - Set border styles differently for mdi windows.
3534         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3535         Hwnd now.
3536         
3537 2005-11-15  Mike Kestner  <mkestner@novell.com>
3538
3539         * Menu.cs: when adding an item to the collection, if item is already 
3540         parented, remove it from the parent.
3541
3542 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
3543
3544         * X11DesktopColors.cs: Added KDE support
3545
3546 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
3547
3548         * XplatUIWin32.cs: 
3549           - Clipboard methods now can translate Rtf format
3550           - No longer removes clipboard contents whenever a new format is added
3551             to allow placing multiple formats on the clipboard
3552         * Clipboard.cs: Clipboard now supports getting a IDataObject and
3553           will place all formats contained in it onto the clipboard. Also
3554           now cleans the clipboard before placing a new object onto it
3555         * RichTextBox.cs:
3556           - Implemented set_Rtf
3557           - Implemented set_SelectedRtf
3558           - Created InsertRTFFromStream() method to allow single code base
3559             for all properties and methods that insert RTF into document
3560           - Removed debug output
3561         * TextControl.cs:
3562           - Fixed Delete(int) to fix up line numbers
3563           - Fixed ReplaceSelection to combine start and end line
3564           - Fixed serious DeleteChars bug that would leave the document tree
3565             broken
3566           - Improved DumpTree with several logic checks to detect broken
3567             document trees
3568           - Removed debug lines
3569           - Fixed Caret.WordForward/WordBack moving code, now always also 
3570             updates caret.tag (fixes crash when word-selecting across tag
3571             boundaries via keyboard)
3572           - Added Insert() method for inserting multiline text into documents
3573           - Fixed DeleteChars() calculation errors that would cause a broken
3574             tag chain with multiple tag lines
3575           - DeleteChars() no longer crashes on multi-tag lines if not all tags
3576           - Split() no longer moves caret if split is at caret location
3577           - ReplaceSelection() now updates the cursor and re-displays it
3578           - ReplaceSelection() now uses new Insert() method to avoid code
3579             duplication
3580           - FormatText() can now handle formatting partial lines
3581         * TextBoxBase.cs:
3582           - Append now uses new TextControl.Insert() method (this avoids 
3583             duplicate code)
3584           - Implemented Ctrl-X (Cut) (
3585           - Implemented Ctrl-C (Copy)
3586           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
3587             regeneration when pasting text; roundtripping Copy&Paste within
3588             edit control still fails due to some calculation bugs in GenerateRTF)
3589           - The Delete key will now remove the current selection if it is visible
3590         * TextBox.cs: Removed debug lines
3591         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3592           driver to be initialized and can't therefore be done via a static ctor)
3593
3594 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
3595
3596         * TextControl.cs: Added backend code for finding char arrays and strings
3597         * TextBoxBase.cs:
3598           - Added mouse wheel scroll support
3599           - Added support for VScroll and HScroll events
3600         * RichTextBox.cs:
3601           - Implemented all seven Find() variants
3602           - Implemented GetCharFromPosition()
3603           - Implemented GetCharIndexFromPosition()
3604           - Implemented GetLineFromIndex()
3605           - Implemented GetPositionFromCharIndex();
3606           - Implemented SaveFile for PlainText and UnicodeText
3607           - Fixed set_Font, now setting a new font applies that font to
3608             the whole document
3609           - Implemented generic Document to RTF converter
3610           - Implemented SaveFile for RichText format (still missing unicode
3611             conversion for non-ansi chars)
3612           - Implemented get_Rtf
3613           - Implemented get_SelectedRtf
3614
3615 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
3616
3617         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3618           to allow any captures to be released before triggering OnClick. This
3619           way a click handler may capture the mouse without interference.
3620         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3621           This way we send them even though X may not allow a grab (if the window
3622           isn't visible, for example)
3623
3624 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
3625
3626         * DataGridViewRowEventArgs.cs: DataGridView implementation
3627         * DataGridViewElement.cs: DataGridView implementation
3628         * DataGridViewComboBoxCell.cs: DataGridView implementation
3629         * DataGridViewDataErrorContexts.cs: DataGridView implementation
3630         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3631         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3632         * ImageLayout.cs: DataGridView implementation
3633         * DataGridViewComboBoxColumn.cs: DataGridView implementation
3634         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3635         * DataGridViewSelectionMode.cs: DataGridView implementation
3636         * IDataGridViewEditingControl.cs: DataGridView implementation
3637         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3638         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3639         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3640         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3641         * DataGridViewColumnSortMode.cs: DataGridView implementation
3642         * DataGridView.cs: DataGridView implementation
3643         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3644         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3645         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3646         * Padding.cs: DataGridView implementation
3647         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3648         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3649         * DataGridViewRowEventHandler.cs: DataGridView implementation
3650         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3651         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3652         * DataGridViewButtonCell.cs: DataGridView implementation
3653         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3654         * DataGridViewEditMode.cs: DataGridView implementation
3655         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3656         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3657         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3658         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3659         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3660         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3661         * DataGridViewCellEventHandler.cs: DataGridView implementation
3662         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3663         * DataGridViewCellStyleConverter.cs: DataGridView implementation
3664         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3665         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3666         * DataGridViewColumnEventArgs.cs: DataGridView implementation
3667         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3668         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3669         * QuestionEventArgs.cs: DataGridView implementation
3670         * IDataGridViewEditingCell.cs: DataGridView implementation
3671         * DataGridViewTriState.cs: DataGridView implementation
3672         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3673         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3674         * DataGridViewColumnCollection.cs: DataGridView implementation
3675         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3676         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3677         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3678         * DataGridViewColumn.cs: DataGridView implementation
3679         * DataGridViewCellBorderStyle.cs: DataGridView implementation
3680         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3681         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3682         * DataGridViewRow.cs: DataGridView implementation
3683         * DataGridViewImageCellLayout.cs: DataGridView implementation
3684         * DataGridViewImageCell.cs: DataGridView implementation
3685         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3686         * DataGridViewCheckBoxCell.cs: DataGridView implementation
3687         * DataGridViewHeaderCell.cs: DataGridView implementation
3688         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3689         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3690         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3691         * DataGridViewTextBoxColumn.cs: DataGridView implementation
3692         * QuestionEventHandler.cs: DataGridView implementation
3693         * DataGridViewCellStyleScopes.cs: DataGridView implementation
3694         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3695         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3696         * DataGridViewCell.cs: DataGridView implementation
3697         * DataGridViewCellEventArgs.cs: DataGridView implementation
3698         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3699         * DataGridViewCellStyle.cs: DataGridView implementation
3700         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3701         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3702         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3703         * TextFormatFlags.cs: DataGridView implementation
3704         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3705         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3706         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3707         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3708         * DataGridViewButtonColumn.cs: DataGridView implementation
3709         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3710         * HandledMouseEventArgs.cs: DataGridView implementation
3711         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3712         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3713         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3714         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3715         * DataGridViewRowCollection.cs: DataGridView implementation
3716         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3717         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3718         * DataGridViewHitTestType.cs: DataGridView implementation
3719         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3720         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3721         * DataGridViewColumnEventHandler.cs: DataGridView implementation
3722         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3723         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3724         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3725         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3726         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3727         * DataGridViewContentAlignment.cs: DataGridView implementation
3728         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3729         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3730         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3731         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3732         * DataGridViewPaintParts.cs: DataGridView implementation
3733         * DataGridViewCellCollection.cs: DataGridView implementation
3734         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3735         * DataGridViewImageColumn.cs: DataGridView implementation
3736         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3737         * DataGridViewElementStates.cs: DataGridView implementation
3738         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3739         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3740         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3741         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3742         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3743         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3744         * DataGridViewRowHeaderCell.cs: DataGridView implementation
3745         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3746         * DataGridViewTextBoxCell.cs: DataGridView implementation
3747         * DataGridViewBand.cs: DataGridView implementation
3748         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3749         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3750         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3751         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3752         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3753         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3754         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3755         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3756         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3757         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3758         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3759
3760 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
3761
3762         * ThemeWin32Classic.cs: 
3763           - Draw the outside focus rectangle around buttons
3764           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3765             doesn't use end caps for every dash of a line anymore. This
3766             workaround ignores the forecolor.
3767
3768 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
3769
3770         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3771           endian safe.
3772
3773 2005-11-07  Jackson Harper  <jackson@ximian.com>
3774
3775         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3776
3777 2005-11-07  Jackson Harper  <jackson@ximian.com>
3778
3779         * ScrollableControl.cs: Calculate the maximum and change vars
3780         (more) correctly so that scrollbars appear as a sensible size.
3781
3782 2005-11-04  Jackson Harper  <jackson@ximian.com>
3783
3784         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3785         collection.
3786         * TreeView.cs: When the tree is sorted null out the top_node so
3787         that it is recalculated.
3788         - Use dotted lines instead of dashed lines to match MS better.
3789
3790 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
3791
3792         * ListView.cs: 
3793           - Implements key search for items. Useful when browsing files with FileDialog
3794           - When changing view mode or when clear the items reset scrollbar positions
3795
3796 2005-11-04  Jackson Harper  <jackson@ximian.com>
3797
3798         * CurrencyManager.cs: Implement the MetaDataChanged event, the
3799         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3800         as to what the method may do as there is no real way of creating a
3801         derived CurrencyManager and calling the method. 
3802
3803 2005-11-03  Jackson Harper  <jackson@ximian.com>
3804
3805         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3806         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3807         method which seems to just be used internally to refresh the tabs.
3808
3809 2005-11-03  Jackson Harper  <jackson@ximian.com>
3810
3811         * TabControl.cs: Implement the remove method. Fix some broken
3812         comments.
3813
3814 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3815
3816         * DateTimePicker.cs:
3817           - Added missing DateTimePickerAccessibleObject class
3818           - Added missing events
3819           - Added OnFontChanged method
3820         * Form.cs: Added missing attributes
3821         * TreeView.cs: Added missing attributes
3822
3823 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
3824
3825         * GridItemCollection.cs: Fix signatures
3826
3827 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3828
3829         * XplatUI.cs: Updated build rev/date
3830         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
3831           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3832         * Application.cs: Trigger context-specific ExitThread events
3833
3834 2005-11-03  Jackson Harper  <jackson@ximian.com>
3835
3836         * Menu.cs:
3837         * MainMenu.cs:
3838         * GridTableStylesCollection.cs:
3839         * Timer.cs:
3840         * TabPage.cs:
3841         * HelpProvider.cs:
3842         * StatusBar.cs:
3843         * MonthCalendar.cs: Signature fixes
3844
3845 2005-11-03  Jackson Harper  <jackson@ximian.com>
3846
3847         * TreeNodeCollection.cs: Remove should not be virtual.
3848         * TreeView.cs: Implement the last of the missing methods.
3849
3850 2005-11-03  Jackson Harper  <jackson@ximian.com>
3851
3852         * TreeNodeConverter.cs: Implement to get off my class-status back.
3853
3854 2005-11-03  Jackson Harper  <jackson@ximian.com>
3855
3856         * TreeView.cs: Hookup the bits for drag and drop.
3857         * TreeNode.cs: Don't cache the tree_view or index anymore, now
3858         that nodes can be moved from tree to tree easily this just causes
3859         all sorts of problems.
3860         * TreeNodeCollection: Don't need to give treenodes an index and
3861         treeview anymore when they are added, these are computed on the
3862         fly. Also make sure to remove a node before its added.
3863
3864 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3865
3866         * TextControl.cs:
3867           - Added CaretSelection enum
3868           - Added comparison methods to Marker struct, makes selection code
3869             more readable
3870           - Added SelectionStart and SelectionEnd as 'moveable' location for
3871             the CaretDirection enum and handler
3872           - Added selection_prev variable to track optimized invalidation for
3873             word and line selection
3874           - Added SelectionVisible property (returns true if there is a valid 
3875             selection)
3876           - Switched CaretHasFocus to only display the caret if there is no
3877             visible selection
3878           - Avoiding StringBuilder.ToString to retrieve a single char, instead
3879             using the direct character index; should be much faster
3880           - Added various conditional debug statements
3881           - Fixed invalidation calculation for selection ranges
3882           - Added ExpandSelection() method to support word and line selection
3883           - Switched SetSelectionToCaret to use new Marker compare overloads
3884           - Added central IsWordSeparator() method to determine word 
3885             separators/whitespace and FindWordSeparator() to streamline common
3886             usage of IsWordSeparator()
3887         * TextBoxBase.cs:
3888           - Removed unneeded grabbed variable, it was just mirroring
3889             Control.Capture
3890           - No longer firing OnTextChanged event when Text setter is called,
3891             since the base will fire the event for us
3892           - Added handling of Ctrl-Up/Down selection
3893           - Added handling of Shift-Cursorkey selection
3894           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3895             words
3896           - Added handling of Shift and Ctrl-Shift-Home/End selection
3897           - Removed some debug output
3898           - Added handling for single/double/tripple-click to place caret/
3899             select word/select line respectively (Fixes bug #76031)
3900           - Added support for drag expansion of word/line selection
3901         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3902           current selection
3903
3904 2005-11-02  Jackson Harper  <jackson@ximian.com>
3905
3906         * X11Dnd.cs: If the drag is going to and from a MWF window just
3907         copy the data instead of sending it out through the X Selection
3908         mechanism.
3909
3910 2005-11-02  Jackson Harper  <jackson@ximian.com>
3911
3912         * X11Dnd.cs:
3913         * XplatUIX11.cs: When in a drag we don't want motion notify
3914         messages to get passed on to the other controls. This prevents
3915         mouse move messages from showing up in the drag source.
3916
3917 2005-11-02  Jackson Harper  <jackson@ximian.com>
3918
3919         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
3920         the correct button is release to end a drag.
3921         * XplatUIX11.cs: Make the button state internal so the drag system
3922         can access it.  Dragging needs to know about all button releases,
3923         not just left button.
3924
3925 2005-11-02  Miguel de Icaza  <miguel@novell.com>
3926
3927         * Form.cs (Icon): If the icon is null, reset the icon to the
3928         default value. 
3929
3930         * Cursor.cs: When writing the AND-mask bitmap do not include the
3931         number of colors, but hardcode those to two (black and white),
3932         fixes the loading of color cursors (Paint Dot Net).
3933
3934         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3935         turn off autoscaling.
3936
3937         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3938
3939 2005-11-02  Jackson Harper  <jackson@ximian.com>
3940
3941         * X11Dnd.cs: Make sure to send a status message if the pointer
3942         enters a control that can not accept a drop, otherwise the cursor
3943         isn't updated correctly. Also tried to compress the lines of code
3944         a bit.
3945
3946 2005-11-02  Jackson Harper  <jackson@ximian.com>
3947
3948         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3949         set actions correctly.  This isn't perfect as XDND and win32 have
3950         some differences on how you allow actions. I'll clear this up by
3951         adding a path for drag from MWF to MWF windows.
3952         * XplatUIX11.cs: Hook into the dnd system.
3953
3954 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
3955
3956         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3957         previously shown but they are no longer need it. Very obvious when 
3958         browsing files with FileDialog.
3959
3960 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
3961
3962         * Control.cs: We always need to call OnPaintBackground. We pretty much
3963           ignore AllPaintingInWmPaint and always do the painting there, whether 
3964           it's set or not, since we always ignore the WM_ERASEBKGND message 
3965           (which we don't generate on X11). This fixes #76616.
3966         * Panel.cs: Removed unneeded background painting. This happens properly
3967           in Control.cs already
3968
3969 2005-10-31  Mike Kestner  <mkestner@novell.com>
3970
3971         * Menu.cs: Add items to collection before setting their index.
3972         * MenuItem.cs : add range checking with ArgumentException like MS.
3973         [Fixes #76510]
3974
3975 2005-10-31  Jackson Harper  <jackson@ximian.com>
3976
3977         * ListBox.cs: Invalidate if the area is visible at all not just
3978         contained in the visible rect. Fixes unselection of semi visible
3979         items.
3980
3981 2005-10-31  Jackson Harper  <jackson@ximian.com>
3982
3983         * Control.cs: Consistently name the dnd methods. Make them
3984         internal so we can override them to match some MS behavoir
3985         internally.
3986         * Win32DnD.cs: Use the new consistent names.
3987
3988 2005-10-31  Jackson Harper  <jackson@ximian.com>
3989
3990         * TreeView.cs: Don't draw the selected node when we lose focus.
3991
3992 2005-10-31  Jackson Harper  <jackson@ximian.com>
3993
3994         * X11Dnd.cs: We still need to reset the state even though a full
3995         reset isn't being done, otherwise status's still get sent all over
3996         the place.
3997
3998 2005-10-31  Jackson Harper  <jackson@ximian.com>
3999
4000         * Control.cs: Make the dnd_aware flag internal so the dnd
4001         subsystem can check it. Catch exceptions thrown in dnd handlers to
4002         match MS behavoir.
4003         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4004         * X11Dnd.cs: Handle null data in the converters. Set the XDND
4005         version when sending a XdndEnter. Use the control/hwnd dnd_aware
4006         flags to reduce the number of dnd enters/status's sent.
4007
4008 2005-10-31  Jackson Harper  <jackson@ximian.com>
4009
4010         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4011
4012 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
4013
4014         * PictureBox.cs: Fixes 76512
4015
4016 2005-10-28  Jackson Harper  <jackson@ximian.com>
4017
4018         * X11Dnd.cs: Early implementation to support winforms being a drag
4019         source for data on X11. Also restructured the converters so they
4020         can go both ways now.
4021         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4022         
4023 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
4024
4025         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4026           clipboard requests
4027
4028 2005-10-27  Jackson Harper  <jackson@ximian.com>
4029
4030         * TreeNode.cs: Implement serialization so my DnD examples will work.
4031
4032 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
4033
4034         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4035           TreeView.cs: Don't dispose objects that are not owned.
4036           
4037 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
4038
4039         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4040           should retrieve the current cursor and report that, but XplatUI
4041           doesn't (yet) have an interface for that (and I'm not sure I even
4042           can, on X11)
4043         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4044           until any message loop processing is done (and the WM_SETCURSOR
4045           replaces the cursor to the proper one)
4046         * XplatUIX11.cs: 
4047           - Fixed override behaviour, we can't set the cursor globally on X11, 
4048             just for our windows.
4049           - Invalidating the System.Drawing X11 display handle when we are
4050             shutting down
4051         * Control.cs: Fix to make csc happy
4052
4053 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
4054
4055         * TextBoxBase.cs: 
4056           - get_Text: Add last line (without trailing newline) to returned
4057             value (Fixes 76212)
4058           - get_TextLength: Count last line in returned length
4059           - ToString: Call Text property instead of duplicating code
4060
4061 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
4062
4063         * ImageList.cs: Dispose ImageAttributes objects.
4064
4065 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4066
4067         * ImageList.cs: Use attribute constructors with less arguments where
4068           possible.
4069
4070 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4071
4072         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4073           Use typeof instead of strings when assembly is referenced. Added
4074           some more comments.
4075
4076 2005-10-21  Jackson Harper  <jackson@ximian.com>
4077
4078         * ListView.cs: Raise a double click event. Also tried to somewhat
4079         fix when the selectedindexchanged event is raised. Its still
4080         broken though.
4081
4082 2005-10-21  Jackson Harper  <jackson@ximian.com>
4083
4084         * TreeView.cs: New method to invalidate the plus minus area of a
4085         node without invalidating the whole node (maybe this can be used
4086         in some more places).
4087         * TreeNodeCollection.cs: When adding to an empty node we need to
4088         invalidate its plus minus area so the little block shows up.
4089         
4090 2005-10-21  Jackson Harper  <jackson@ximian.com>
4091
4092         * TreeView.cs: Make sure that when we invalidate a node the bounds
4093         are big enough to cover the selected box and the focus
4094         rectangle. Use a different colour for the lines connecting nodes
4095         so they show up with all themes.
4096
4097 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4098
4099         * NativeWindow.cs: Don't call anything that could call into the driver,
4100           we might be on a different thread.
4101
4102 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4103
4104         * Control.cs(Dispose): Since Dispose might run on a different thread,
4105           make sure that we call methods that could call into the driver via
4106           invoke, to avoid thread issues
4107
4108 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4109
4110         * XplatUI.cs: Removed finalizer
4111         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4112           not allowing to be called on the finalizer thread.
4113
4114 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4115
4116         * ImageList.cs:
4117           - Reverted r51889 and r51891.
4118           - Added ImageListItem class that stores unmodified image items and image
4119             properties required to create list images until handle is created.
4120           - Added AddItem and moved image creation logic to AddItemInternal.
4121           - Added CreateHandle method that creates images based on unmodified items.
4122           - Added DestroyHandle that changes state to store unmodified items.
4123           - Add and AddStrip methods no more create handle.
4124           - ReduceColorDepth has no return value.
4125           - Dispose destroys handle.
4126           - Modified other methods to reflect the above changes.
4127           - Implemented key support.
4128           - Added profile 2.0 members and attributes.
4129           - Added private Reset and ShouldSerialize methods that provide the same
4130             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4131             them as they are private.
4132           - Added some more comments about implementation details.
4133
4134 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4135
4136         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4137
4138 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4139
4140         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4141
4142 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4143
4144         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4145         * DataGridColumnStyle.cs: Remove debug message
4146
4147 2005-10-20  Jackson Harper  <jackson@ximian.com>
4148
4149         * TreeView.cs: We can always get input keys regardless of whether
4150         or not editing is enabled. They are used for navigation.
4151
4152 2005-10-20  Jackson Harper  <jackson@ximian.com>
4153
4154         * TreeNode.cs: Use the viewport rect for determining if a node
4155         needs to be moved for visibility. Don't use Begin/End edit. This
4156         calls a full refresh when its done.
4157         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4158         rect property internal so the treenodes can see it. When clicking
4159         on a node we need to ensure that its visible because it might just
4160         be partly visible when clicked.
4161
4162 2005-10-20  Jackson Harper  <jackson@ximian.com>
4163
4164         * TreeNodeCollection.cs: Remove debug code.
4165
4166 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4167
4168         * Datagrid.cs: Implements column sorting in Datagrid
4169         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4170
4171 2005-10-20  Jackson Harper  <jackson@ximian.com>
4172
4173         * TreeNodeCollection.cs: Remove items properly. Update the correct
4174         area after removing them.
4175
4176 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4177
4178         * Datagrid.cs: Should not call base.OnPaintBackground
4179
4180 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4181
4182         * XplatUIX11.cs (GetMessage):
4183           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4184             window instead of client window
4185           - Now properly calculates NC_xBUTTONUP message coordinates
4186           - ScreenToMenu now properly calculates it's coordinates of whole 
4187             window, since menus are in the whole window, not in the client
4188             window
4189           - Added WholeToScreen coordinate translation method
4190
4191 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
4192
4193         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4194           want to return a message, loop back to the beginning of the function
4195           and grab the next real message to process instead.
4196
4197 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4198
4199         * Splitter.cs: Properly set limits if no filler control is used
4200
4201 2005-10-19  Jackson Harper  <jackson@ximian.com>
4202
4203         * ColorDialog.cs: Don't show the help button if it is not enabled
4204         instead of disabling it (this is what MS does). Don't create the
4205         panel until the dialog is run, otherwise the vars (such as
4206         ShowHelp) are not set yet.
4207
4208 2005-10-19  Jackson Harper  <jackson@ximian.com>
4209
4210         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4211         are reduced when adding nodes.
4212         * TreeNode.cs:
4213         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4214         tree.
4215         
4216 2005-10-19  Jackson Harper  <jackson@ximian.com>
4217
4218         * FolderBrowserDialog.cs: End editing our treeview so the window
4219         actually gets refreshed.
4220
4221 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4222
4223         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
4224           Obsoleted handling of WM_ERASEBKGND, now always draws our background
4225           inside of WM_PAINT
4226
4227 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4228
4229         * MenuAPI.cs: Returns after Hidding window
4230         * XplatUIX11.cs: Added TODO found while debugging menu issues
4231
4232 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4233
4234         * XplatUIX11.cs: Do not re-map the whole window when it's size
4235           becomes non-zero unless it's supposed to be actually visible
4236
4237 2005-10-18  Jackson Harper  <jackson@ximian.com>
4238
4239         * TreeView.cs: We don't need to keep a count anymore.
4240         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4241         use the Grow method.
4242
4243 2005-10-18  Jackson Harper  <jackson@ximian.com>
4244
4245         * TreeNodeCollection.cs: Insert is not supported on arrays, so
4246         implement it manually here.
4247
4248 2005-10-18  Jackson Harper  <jackson@ximian.com>
4249
4250         * ImageList.cs: Dont kill the list when the colour depth is
4251         changed, just change the colour depth of all the images.
4252         - Same goes for setting the image size. Just resize them all
4253         instead of killing the list softly.
4254
4255 2005-10-18  Jackson Harper  <jackson@ximian.com>
4256
4257         * Control.cs: Don't invalidate empty rectangles.
4258
4259 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4260
4261         * ListViewItem.cs:
4262           - Adds checked item to the Checked/Item lists (where empty before)
4263           - Do not add items to the Selected lists if they are already present
4264         * ListView.cs:
4265           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4266           - When deleting items make sure that we delete them for the Selected
4267           and Checked list also.
4268
4269 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4270
4271         * Label.cs: Dispose objects no longer used
4272         * ThemeWin32Classic.cs: Dispose objects no longer used
4273
4274 2005-10-18  Jackson Harper  <jackson@ximian.com>
4275
4276         * TabControl.cs: Don't refresh the whole control when the tabs are
4277         scrolled, we just need to refresh the tab area.
4278
4279 2005-10-17  Jackson Harper  <jackson@ximian.com>
4280
4281         * XplatUIX11.cs: Compress code a little bit. Only calculate the
4282         after handle when we need it.
4283
4284 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4285
4286         * Control.cs: When the parent size changes, recalculate anchor 
4287           positions. Partial fix for #76462
4288
4289 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4290
4291         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
4292           drawn. Fixes #76462
4293
4294 2005-10-17  Jackson Harper  <jackson@ximian.com>
4295
4296         * MonthCalendar.cs: Don't create the numeric up down until our
4297         handle is created. Otherwise our handle is created in the
4298         constructor and we don't know if we are a WS_CHILD or WS_POPUP
4299         yet.
4300
4301 2005-10-17  Jackson Harper  <jackson@ximian.com>
4302
4303         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4304         correctly.
4305
4306 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4307         * TreeNode.cs : small logical fix (was using local var instead of field)
4308         
4309 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4310
4311         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4312
4313 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4314
4315         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4316
4317 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
4318
4319         * Control.cs: 
4320           - Re-implemented anchoring code. My first version was really broken.
4321             This fixes bug #76033. Unlike the previous implementation we will
4322             no longer have round errors since all numbers are calculated from
4323             scratch every time. Removed various anchor-related obsolete vars.
4324           - InitLayout no longer causes layout event firing and layout to be 
4325             performed
4326
4327 2005-10-16  Jackson Harper  <jackson@ximian.com>
4328
4329         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4330         which was broken).
4331
4332 2005-10-16  Jackson Harper  <jackson@ximian.com>
4333
4334         * TabControl.cs: Remove debug code.
4335
4336 2005-10-16  Jackson Harper  <jackson@ximian.com>
4337
4338         * XEventQueue.cs: Increase the default queue size (very simple
4339         apps needed to grow the queue).
4340         * Hwnd.cs: No finalizer so we don't need to suppress
4341         finalization. Compute the invalid area manually so a new rectangle
4342         does not newto be created.
4343         * ScrollableControl.cs: Don't set any params (otherwise visibility
4344         isn't set correctly).
4345         * MdiChildContext.cs: New constructor takes the mdi parent so it
4346         doesn't have to be computed and avoids a crash on windows. Draw
4347         the window icon properly, and allow the text to be seen.
4348         * Form.cs: Use new MdiChildContext constructor. Make sure the
4349         child context isn't null in wndproc.
4350         * TabControl.cs: Don't set focus, this is muddling keyboard
4351         behavoir. Expand the tab rows when a window size increase will
4352         allow extra tabs to be seen. Don't allow tabs smaller than the
4353         width of a window to be scrolled out of view.
4354         * TreeNode.cs:
4355         * TreeView.cs: Use measure string to calculate a nodes width, the
4356         width is cached and only updated when the text or the font is
4357         changed. Don't check for expand/collapse clicks on the first level
4358         nodes if root lines are disabled.
4359         
4360 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
4361
4362         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4363
4364 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4365
4366         * DataGridBoolColumn.cs: fixes warning
4367
4368 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4369
4370         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4371         to match more to match more precisely the MS Net behavior
4372
4373 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4374
4375         * Hwnd.cs: Added field to track if window is mapped
4376         * XplatUIX11.cs: 
4377           - Unmap windows if they become 0-size, re-map when 
4378             they are >0 again; fixes #76035
4379           - Re-set our error handler after initializing X11Desktop
4380             to override any error handlers Gtk or whatever was called
4381             may have set.
4382
4383 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4384
4385         * CheckedListBox.cs: Removed unused vars
4386         * ListView.cs: Fixed signatures
4387         * RichTextBox.cs: Removed unused vars
4388         * TextBoxBase.cs: Removed unused vars
4389         * XplatUIWin32.cs: Removed unused vars
4390         * XplatUIX11.cs: Removed unused vars
4391         * XplatUI.cs: Updated version and date to latest published
4392
4393 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4394
4395         * Cursor.cs: Added private .ctor to work around a bug in
4396           resourceset (Thanks to Geoff Norton for the help on this)
4397         * SplitterEventArgs.cs: Made fields accessible so we don't
4398           waste boatloads of objects and can reuse the same one
4399           in Splitter
4400         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4401           any captions and borders when generating screen coordinates
4402         * Splitter.cs: Reimplemented control, now fully complete, uses
4403           rubberband drawing, supports and obeys all properties, has
4404           proper cursors
4405
4406 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4407
4408         * Form.cs (Form): Setup default values for autoscale and
4409         autoscale_base_size;  Make these instance variables, not static
4410         variables. 
4411
4412         (OnLoad): on the first load, adjust the size of the form.
4413
4414 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4415
4416         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4417           width argument to DrawReversibleRectangle()
4418         * XplatUIWin32.cs, XplatUIX11.cs: 
4419           - Implemented width for DrawReversibleRectangle()
4420           - Added logic to DrawReversibleRectangle that recognizes a zero
4421             width or height and only draws a line in that situation
4422         
4423 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4424
4425         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4426         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4427         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4428           method (it uses our FosterParent window to get a graphics context)
4429
4430 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4431
4432         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4433           and SetWindowBackground methods
4434         * Control.cs:
4435           - Setting proper ControlStyles
4436           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4437             EraseWindowBackground, instead we draw the window background
4438             ourselves in PaintControlBackground. This behaviour is
4439             required to match MS, where, when OnPaintBackground is not
4440             called, the background is not drawn.
4441           - Removed unneeded Refresh() in set_Text
4442         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4443         * XplatUIX11.cs:
4444           - Created DeriveStyles method to translate from CreateParams to
4445             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4446             matches FormBorderStyle enum values)
4447           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4448             style calculations into single DeriveStyles method
4449           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4450             from redrawing the whole window on any resize or expose.
4451           - Fixed CreateWindow usage of SetWindowValuemask. Before not
4452             all styles were applied to our whole/client window appropriately
4453           - Removed EraseWindowBackground() and SetWindowBackground() methods
4454           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4455             no longer clear/redraw the background through X
4456           - Removed handling of erase_pending bit, we have no use for it (or
4457             so it seems)
4458         * XplatUIOSX.cs:
4459           - Removed generation and handling of WM_ERASEBKGND message
4460           - Removed EraseWindowBackground() and SetWindowBackground() methods
4461           - Removed handling of hwnd.ErasePending flag
4462         * XplatUIWin32.cs:
4463           - Removed EraseWindowBackground() and SetWindowBackground() methods
4464           - We no longer call EraseWindowBackground on PaintEventStart, we 
4465             ignore the fErase flag, erasing is handled in Control in the
4466             background handler
4467         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4468           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4469           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
4470           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
4471           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
4472           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4473           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4474
4475 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
4476
4477         * PropertyGrids.cs: Get sub properties
4478         * PropertyGridView.cs: Fix drawing code
4479
4480 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4481
4482         * ListBox.cs: Fixes 76383
4483
4484 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4485
4486         * DataGridTextBoxColumn.cs: Sets location and size before attachment
4487         * ThemeWin32Classic.cs: Fixes border drawing and calculations
4488         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4489
4490
4491 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4492
4493         * ComboBox.cs: Fixes border drawing
4494
4495 2005-10-10  Miguel de Icaza  <miguel@novell.com>
4496
4497         * MimeIcon.cs: Ignore errors if the file can not be read.
4498
4499 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4500
4501         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4502          - Fixed border calculations
4503          - Fixed horizontal scrolling in single column listboxes
4504          - Fixed drawing issues
4505
4506 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
4507
4508         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
4509           FormBorderStyle enum
4510         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
4511           code to determine FormBorderStyles from CreateParams
4512         * Form.cs:
4513           - Fixed bug where we'd set the wrong window styles if we were
4514             not creating an MDI window
4515           - Added call to XplatUI.SetBorderStyle when form borders are set
4516         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4517         * Hwnd.cs:
4518           - Removed obsolete edge style
4519           - Switched from BorderStyle to FormBorderStyle
4520         
4521 2005-10-10  Jackson Harper  <jackson@ximian.com>
4522
4523         * Form.cs: Use the property to get the window handle instead of
4524         accessing it directly. Prevents a null reference exception.
4525
4526 2005-10-10  Jackson Harper  <jackson@ximian.com>
4527
4528         * TreeView.cs: Don't adjust the rect given to DrawString now that
4529         our libgdiplus draws correctly.
4530
4531 2005-10-08  Jackson Harper  <jackson@ximian.com>
4532
4533         * TreeView.cs: Don't try to find the clicked on node if there are
4534         no nodes in the tree.
4535
4536 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4537
4538         * RichTextBox.cs:
4539
4540           restore
4541
4542 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4543
4544         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4545           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4546           ErrorProvider.cs:
4547           Use ResPool for brushes and dispose System.Drawing objects that
4548           are not used anymore.
4549
4550 2005-10-07  Jackson Harper  <jackson@ximian.com>
4551
4552         * MdiChildContext.cs: Use the new borders instead of drawing them
4553         ourselves.
4554
4555 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4556
4557         * Calling UpdateBounds after changing the window's BorderStyle 
4558         since the style can change the ClientSize
4559
4560 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4561
4562         * Control.cs: Made PaintControlBackground virtual
4563         * Panel.cs: Overriding PaintControlBackground instead of using paint
4564           event; paint event method was interfering with 'real' users of the
4565           event.
4566
4567 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4568
4569         * ThemeWin32Classic.cs: remove border drawing since it is handled
4570         by the base control class now and was causing double border drawing.
4571
4572 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4573
4574         * Panel.cs: Redraw our background on paint. Not a pretty solution,
4575           but it does seem to match MS behaviour. This fixes bug #75324
4576
4577 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4578
4579         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4580           somewhat hackish looking
4581
4582 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4583
4584         * TextBoxBase.cs:
4585           - We now accept Enter even if AcceptEnter is false, if the containing
4586             form does not have an AcceptButton configured (fixes bug #76355)
4587           - Calculations are now fixed to no longer use Width/Height, but
4588             ClientSize.Width/Height, since we now support borders (this was
4589             a result of fixing borders and therefore bug #76166)
4590           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
4591             true (fixes bug #76354)
4592         
4593 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4594
4595         * Control.cs: 
4596           - Defaulting BorderStyle and setting it in XplatUI when our window 
4597             is created
4598           - Added enum check to InternalBorderStyle setter
4599         * XplatUIX11.cs: 
4600           - Added drawing of window borders
4601           - Now properly calculates WM decorations offset for toplevel 
4602             windows (fixes bug #74763)
4603         * XplatUIWin32.cs: 
4604           - Implemented BorderStyles for windows (we're letting win32 draw 
4605             the border for us)
4606           - Fixed the signature for SetWindowLong
4607         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4608           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
4609           setting borders
4610         * UpDownBase.cs: Remove drawing of borders, this is handled by
4611           the driver, outside the client area
4612         * ListView.cs: Removed bogus border calculations. The control should
4613           be oblivious to borders, since those are not part of the client
4614           area. 
4615         * X11DesktopColors.cs: Commented out (currently) unneeded variables
4616         * ThemeWin32Classic.cs: Removed border calculations from ListView 
4617           drawing code
4618
4619 2005-10-06  Jackson Harper  <jackson@ximian.com>
4620
4621         * MdiChildContext.cs: Clear out the old virtual position remove
4622         all the unneeded calls to CreateGraphics.
4623
4624 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4625
4626         * TextControl.cs: Use proper color for highlighted text; fixes #76350
4627
4628 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4629
4630         * Form.cs: 
4631           - Added loading and setting of our new default icon
4632           - Only set icon if window is already created
4633
4634 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4635
4636         * Label.cs:
4637           - Do not explicitly set the foreground and background colors, to
4638             allow inheriting from parents (fixes #76302)
4639           - Use Control's InternalBorderStyle property to deal with borders
4640
4641 2005-10-06  Jackson Harper  <jackson@ximian.com>
4642
4643         * MdiChildContext.cs: Use the new xplatui function to draw a
4644         reversible rect.
4645
4646 2005-10-06  Jackson Harper  <jackson@ximian.com>
4647
4648         * Form.cs: Add the parent before creating the child context cause
4649         we need the parent when setting up the child.
4650
4651 2005-10-06  Jackson Harper  <jackson@ximian.com>
4652
4653         * FolderBrowserDialog.cs: redo the tree population code so a
4654         second thread isn't used. Should be a lot faster and more stable
4655         now.
4656
4657 2005-10-05  Jackson Harper  <jackson@ximian.com>
4658
4659         * TreeView.cs: There are no expand/collapse boxes if the node has
4660         no children.
4661
4662 2005-10-05  Jackson Harper  <jackson@ximian.com>
4663
4664         * X11DesktopColors.cs: Get menu colours for the gtk theme.
4665
4666 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
4667
4668         * FileDialog.cs: Fix InitialDirectory
4669
4670 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4671
4672         * ComboBox.cs:
4673                 - Fixes changing between styles
4674                 - Fixes simple mode
4675                 - Fixes last item crashing when navigating with keyboard
4676
4677 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4678
4679         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4680
4681 2005-10-05  Jackson Harper  <jackson@ximian.com>
4682
4683         * TreeView.cs: If updating the root node do a full refresh.
4684         * TreeNode.cs: The root node should be expanded by default. Also
4685         added a utility prop to tell if we are the root node.
4686         * TreeNodeCollection.cs: Only refresh if the node we are being
4687         added to is expanded. Also added a comment on a potential
4688         optimization.
4689         
4690 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
4691
4692         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
4693           in dispose method. Fixes #76330
4694
4695 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
4696
4697         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4698
4699                 - Implements vertical and horizontal scrolling using XplatUI
4700                 - Fixes keyboard navagation
4701                 - Fixes EnsureVisible
4702                 - Drawing fixes
4703                 - Handles and draws focus properly
4704
4705
4706 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
4707
4708         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4709           Create handle. NET_2_0: Destroy handle when value is null.
4710
4711 2005-10-03  Jackson Harper  <jackson@ximian.com>
4712
4713         * ScrollBar.cs: My last scrollbar patch was broken. This is a
4714         revert and a new patch to prevent the thumb from refreshing so
4715         much.
4716
4717 2005-10-02  Jackson Harper  <jackson@ximian.com>
4718
4719         * ScrollBar.cs: Don't update position if it hasn't actually
4720         changed. This occurs when you hold down the increment/decrement
4721         buttons and the thumb gets to the max/min.
4722
4723 2005-10-01  Jackson Harper  <jackson@ximian.com>
4724
4725         * Form.cs:
4726         * MdiChildContext.cs:
4727         * MdiClient.cs: Implement ActiveMdiChild in Form.
4728
4729 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
4730
4731         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4732
4733 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
4734
4735         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4736           be found
4737
4738 2005-09-30  Jackson Harper  <jackson@ximian.com>
4739
4740         * ListBox.cs: Don't do a full refresh unless some data has
4741         actually changed.
4742
4743 2005-09-30  Jackson Harper  <jackson@ximian.com>
4744
4745         * TreeView.cs: Make sure that the checkboxes size is factored in
4746         even when not visible.
4747
4748 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4749
4750         * FileDialog.cs: Fix Jordi's build break
4751
4752 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4753
4754         * FileDialog.cs: 
4755                 - Use standard the Windows colours for the combobox as espected
4756                 - Dispose objects that use resouces when no longer need them
4757
4758 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4759
4760         * X11DesktopColors.cs: Initial incomplete implementation
4761         * XplatUIX11.cs: Added call to initialize X11DesktopColors
4762
4763 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
4764
4765         * Theme.cs: 
4766           - Switched Theme color names to match the names defined in 
4767             System.Drawing.KnownColors. Life's hard enough, no need to make 
4768             it harder.
4769           - Added setters to all theme color properties so themes can set
4770             their color schemes. The setters also propagate the color changes
4771             to System.Drawing.KnownColors via reflection
4772         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4773           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4774           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4775           use the new, more logical theme color names
4776         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4777           post-NT colors
4778         * ThemeWin32Classic.cs:
4779           - Removed code to set the old classic Windows colors. Instead it
4780             now relies on the colors returned by System.Drawing.KnownColors
4781             which will be either modern static colors (Unix) or colors
4782             read from the user's configuration (Win32)
4783           - Updated to use the new, more logical theme color names
4784           - Switched DataGrid drawing code to use only Theme colors instead of
4785             a mix of System.Drawing.KnownColors and Theme colors
4786           - DrawFrameControl(): Removed code that fills the button area, the
4787             fill would overwrite any previous fill done by a control. This
4788             fixes bug #75338 
4789           - Added DrawReversibleRectangle() stub
4790         * ScrollableControl.cs: Set visible state to false when scrollbars
4791           are removed (pdn fix)
4792         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
4793           DrawReversibleRectangle() method to allow drawing primitive 
4794           'rubber bands'
4795         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4796
4797 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4798
4799         * ImageList.cs: Add(Icon): Create handle.
4800
4801 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4802
4803         * ListView.cs:
4804         * ThemeWin32Classic.cs:
4805                 - Fixes detail mode
4806                 - Sets clippings
4807                 - Issues with drawing
4808
4809 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4810
4811         * ImageList.cs: Moved RecreateHandle back to ImageList as event
4812           source has to be the ImageList.
4813
4814 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4815
4816         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4817
4818 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4819
4820         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4821
4822 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4823
4824         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4825
4826 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
4827         * GridItem.cs: Fixed TODOs
4828         * GridItemCollection.cs: Added ICollection interface
4829
4830 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4831
4832         * ImageList.cs: Resize icons when needed.
4833
4834 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
4835
4836         * ListViewItem.cs
4837                 - Fixes GetBounds and returns on screen rects
4838         * ListView.cs:
4839                 - Fixes vertical and horzintal scrolling of items
4840         * ThemeWin32Classic.cs:
4841                 - Fixes drawing
4842                 
4843 2005-09-29  Raja R Harinath  <harinath@gmail.com>
4844
4845         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4846
4847 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
4848
4849         * ImageList.cs: Added comments about handle creation. Moved Handle,
4850           HandleCreated and OnRecreateHandle implementations to ImageCollection.
4851           Handle is created in Add methods.
4852
4853 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4854          
4855         * DataGridDrawingLogic.cs: 
4856                 - Takes rows into account on Colum calculations
4857                 - Returns the column when clickig
4858         * DataGrid.cs:
4859                 - Fixes default HitTestInfo values
4860                 - Fixes HitTestInfo.ToString
4861                 - Fixes ResetBackColor          
4862         
4863 2005-09-28  Jackson Harper  <jackson@ximian.com>
4864
4865         * MdiChildContext.cs: Obey rules for fixed sized windows (no
4866         sizing or cursor changes). Also added some temp code to draw the
4867         titlebars text (Makes dev a little easier).
4868
4869 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4870
4871         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4872
4873 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4874          
4875         * ListBox.cs: Fixes bug 76253
4876
4877 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4878
4879         * ImageList.cs: Added comments about the current implementation. Added
4880           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4881           Format32bppArgb to preserve transparency and can use Graphics.FromImage
4882           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4883           with Bitmap.LockBits for better performance. Revised the whole file to
4884           match MS.NET behaviour and provide better performance. Non-public
4885           interface members are calling public members even when they throw
4886           NotSupportedException for better maintainability. Moved ColorDepth,
4887           ImageSize, ImageStream and TransparentColor implementations to
4888           ImageCollection for better performance as these properties are not used
4889           by ImageList.
4890         * ImageListStreamer.cs: Added a new internal constructor that takes an
4891           ImageList.ImageCollection and serializes Images based on
4892           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4893           match ImageList property name.
4894
4895 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
4896
4897         * ListBox.cs: Fixes IndexFromPoint for last item
4898
4899 2005-09-27  Jackson Harper  <jackson@ximian.com>
4900
4901         * Form.cs: Set the position of new mdi children correctly.
4902
4903 2005-09-27  Jackson Harper  <jackson@ximian.com>
4904
4905         * MdiClient.cs: New mdi children need to be added to the back of
4906         the controls collection so the zorder is set correctly. Also add a
4907         count of all the child windows that have been created.
4908
4909 2005-09-27  Jackson Harper  <jackson@ximian.com>
4910
4911         * Form.cs (CreateParams): Setup MDI forms correctly.
4912
4913 2005-09-27  Jackson Harper  <jackson@ximian.com>
4914
4915         * MdiChildContext.cs:
4916         * MonthCalendar.cs:
4917         * UpDownBase.cs:
4918         * ListBox.cs:
4919         * ListView.cs:
4920         * TextBoxBase.cs:
4921         * TreeView.cs:
4922         * ScrollableControl.cs:
4923         * ComboBox.cs: Add implicit controls using the new implict control
4924         functionality in ControlCollection. Also try to block multiple
4925         control add in a suspend/resume layout to save some cycles.
4926         
4927 2005-09-27  Jackson Harper  <jackson@ximian.com>
4928
4929         * Control.cs: Add functionality to the controls collection to add
4930         'implicit controls' these are controls that are created by the
4931         containing control but should not be exposed to the user. Such as
4932         scrollbars in the treeview.
4933         * Form.cs: The list var of the ControlsCollection is no longer
4934         available because of the potential of implicit controls getting
4935         ignored by someone accessing the list directly.
4936
4937 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
4938
4939         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4940           loose it's parent. (Fixed bug introduced in r49103 when we added
4941           setting the child parent to null on Remove)
4942
4943 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
4944
4945         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4946         * Splitter.cs: Added missing attributes for BorderStyle property.
4947         * TextBoxBase.cs: Marked Calculate* methods internal.
4948         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4949         MS.NET.
4950
4951 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
4952          
4953         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4954
4955 2005-09-25  Jackson Harper  <jackson@ximian.com>
4956
4957         * TreeView.cs: Update the node bounds correctly regardless of
4958         whether the node is visible.
4959
4960 2005-09-25  Jackson Harper  <jackson@ximian.com>
4961
4962         * ImageList.cs: Don't dispose the image after it is added to the
4963         image list. Only reformat images that need to be resized.
4964
4965 2005-09-25  Jackson Harper  <jackson@ximian.com>
4966
4967         * ImageList.cs: Don't set the format when changing the image.
4968
4969 2005-09-25  Jackson Harper  <jackson@ximian.com>
4970
4971         * TreeView.cs: We can't just assume the node has a font. Use the
4972         treeviews font if no node font is available.
4973
4974 2005-09-25  Jackson Harper  <jackson@ximian.com>
4975
4976         * TreeView.cs: Allow the scrollbars to be reset with negative
4977         values.
4978         - Don't add scrollbars to negative sized windows.
4979
4980 2005-09-23  Jackson Harper  <jackson@ximian.com>
4981
4982         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4983         old Mono.Posix. Also remove some stray code that shouldn't have
4984         been committed.
4985
4986 2005-09-23  Jackson Harper  <jackson@ximian.com>
4987
4988         * TreeView.cs: Attempt at proper sizing of the horizontal
4989         scrollbar. Also don't resize the scrollbars unless they are
4990         visible.
4991
4992 2005-09-23  Jackson Harper  <jackson@ximian.com>
4993
4994         * TreeView.cs: We don't need to expand the invalid area when the
4995         selection changes, as this is all drawn in the node's bounding
4996         box. The area needs to be expanded (previous typo was contracting
4997         it) when the focus rect moves.
4998
4999 2005-09-23  Jackson Harper  <jackson@ximian.com>
5000
5001         * TreeView.cs: Display the selection box under the correct
5002         circumstances. We were rendering white text with no selection box
5003         before.
5004
5005 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
5006
5007         * TextControl.cs(Split): Now updates selection start/end if it points 
5008           into a line that's being split. Fixes a FIXME and bug #75258
5009
5010 2005-09-23  Jackson Harper  <jackson@ximian.com>
5011
5012         * Binding.cs:
5013         * ListControl.cs: Don't use the path when retrieving binding
5014         managers from the binding context. My bat sense tells me that the
5015         path is only used on insertion.
5016
5017 2005-09-22  Jackson Harper  <jackson@ximian.com>
5018
5019         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5020
5021 2005-09-22  Jackson Harper  <jackson@ximian.com>
5022
5023         * Splitter.cs: There are special cursors used for splitting.
5024         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5025
5026 2005-09-22  Jackson Harper  <jackson@ximian.com>
5027
5028         * Splitter.cs: Change the cursor appropriately when the splitter
5029         is moused over, so the user actually knows there is a splitter
5030         there.
5031
5032 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5033
5034        * Label.cs : Fix ToString method to give same output as MS.NET
5035
5036 2005-09-22  Jackson Harper  <jackson@ximian.com>
5037
5038         * TreeView.cs: Create the scrollbars when the handle is created
5039         and add them right away, just make them invisble. Also account for
5040         the window being shrunk vertically to the point that the vert
5041         scrollbar needs to be added.
5042         - Remove some 0.5 adjustments to get around anti aliasing issues.
5043         
5044 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
5045          
5046         * MainMenu.cs: Fixes default value
5047         * MenuItem.cs: Fixes default value
5048
5049 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
5050
5051         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5052
5053 2005-09-21  Jackson Harper  <jackson@ximian.com>
5054
5055         * Control.cs: Don't try to set the border style on the window if
5056         it hasn't been created. When the window is created the border
5057         style will be used.
5058
5059 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5060
5061         * Control.cs (Update): Don't call XplatUI if we don't have a
5062           window handle yet
5063
5064 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5065
5066         * ContainerControl.cs: Instead of throwing an exception, print
5067           a one-time warning about Validate not being implemented
5068         * XplatUIWin32.cs: Removed debug output
5069
5070 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5071
5072         * Control.cs: Only set XplatUI background if we expect the windowing
5073           system to handle the background. This stops controls that draw their
5074           own background from flickering
5075
5076         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5077           creation. This allows, amongst other things, using MWF X11 windows 
5078           with OpenGL.
5079
5080 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5081
5082         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5083           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5084           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5085           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5086           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5087           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5088           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5089           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5090           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5091           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5092           GridColumnStylesCollection.cs, 
5093           IDataGridColumnStyleEditingNotificationService.cs,
5094           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5095           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5096           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5097           TreeNodeCollection.cs, AmbientProperties.cs, 
5098           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5099           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5100           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5101           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5102           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5103           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5104           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5105           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5106           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5107           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5108           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5109           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5110           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5111           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5112           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5113           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5114           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5115           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5116           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5117           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5118           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5119           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5120           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5121           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5122           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5123           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5124           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5125           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5126           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5127           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5128           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5129           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5130           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5131           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5132           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5133           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5134           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5135
5136 2005-09-21  Jackson Harper  <jackson@ximian.com>
5137
5138         * TreeNode.cs: Call Before/After Expand not Collapse when
5139         expanding.
5140
5141 2005-09-20  Jackson Harper  <jackson@ximian.com>
5142         
5143         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5144
5145 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5146          
5147         * ListViewItem.cs:
5148                 - Fixes bug 76120
5149                 - Fixes proper storing of subitems
5150                 - Fixes not updated items
5151
5152 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5153
5154         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5155           things if our window handle isn't created yet. Also disabled 
5156           debug for TextBoxBase
5157
5158 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5159
5160         * MenuAPI.cs: Remove filtering of events to allow menu usage
5161
5162 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5163
5164         * Cursor.cs: Allow null to be passed to Cursor.Current.
5165
5166 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5167
5168         * ThemeWin32Classic.cs:
5169           - Change some private methods/fields to protected virtual so that 
5170             they can be accessed and overriden in derived classes
5171           - First refactoring of some methods. Derived themes now don't 
5172             need to duplicate the complete code from ThemeWin32Classic
5173         * ThemeNice.cs:
5174           - Added nice StatusBar
5175           - Derive from ThemeWin32Classic and not Theme
5176           - Removed duplicate ThemeWin32Classic code
5177
5178 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5179
5180         * Control.cs (ControlCollection.Add): If the value null is passed
5181         the control is ignored. 
5182
5183         Optimize this loop.
5184
5185 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
5186
5187         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5188           PostQuitMessage state.
5189         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5190
5191 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
5192
5193         * Application.cs: Our constructor will never get called, move 
5194           initialization to fields; fixes bug #75933
5195
5196 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5197
5198         * FileDialog.cs :
5199                 - Allow files to be selected properly using file name
5200                 combo box.
5201                 - Add ability to change diretory (absolute / relative)
5202                 using file name combo box.
5203
5204 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5205          
5206         * ListBox.cs: 
5207                 - Fixes Multicolumn listboxes item wrong calculations
5208                 - Allows to click when only one item is in the listbox
5209                 - Fixes crash when no items using keyboard navigation
5210
5211 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
5212
5213         * ComboBox.cs: Reverted almost everything from the latest patch which
5214           broke ComboBox
5215
5216 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
5217         
5218         * ToolTip.cs:
5219                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5220         * ComboBox.cs:
5221                 - When DropDownStyle is Simple, it does not show scrollbar 
5222                 to the last item of the list.
5223                 - When DropDownStyle is Simple, it crashed when the list was 
5224                 scrolled down with the down cursor key.
5225                 - Fixed a bug that when DropDownStyle is DropDownList, the 
5226                 selected item was not shown.
5227                 - The position of the selected item was not preserved when 
5228                 the next dropdown happened.
5229         * ThemeWin32Classic.cs:
5230                 - Items were wrapped at the right end.
5231         * CheckedListBox.cs:
5232                 - Fixed Add method
5233         * ListBox.cs:
5234                 - Items should be fully shown.
5235                 - When resizing and vertical scrollbar disappeared, the item 
5236                 of index 0 should be on the top of the list.
5237                 - GetItemRectangle should consider the size of ver. scrollbar
5238         * StatusBar.cs:
5239                 - SizingGrip area should not be allocated when it is not 
5240                 displayed.
5241                 - Now it reflects MinWidth of the containing panel and 
5242                 fixed a crash that happens when its width becomes so small.
5243
5244 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5245
5246         * CheckedListBox.cs: Fixes bug 76028
5247         * ListBox.cs: Fixes bug 76028
5248
5249 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5250
5251         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5252         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5253
5254 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
5255
5256         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5257
5258 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5259
5260         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
5261
5262 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5263
5264         * IRootGridEntry.cs: Added
5265         * PropertyGridCommands.cs: Added
5266         * PropertiesTab.cs: Added missing methods and property
5267         * PropertyGridView.cs: Made class internal
5268         * PropertyGridTextBox.cs: Made class internal
5269
5270 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5271
5272         * MimeIcon.cs: Try to check some other environment variables
5273           if "DESKTOP_SESSION" returns "default"
5274
5275 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5276
5277         * ThemeNice.cs: Corrected background colors (e.g. menus)
5278         * ColorDialog.cs: Use correct background colors for controls
5279
5280 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5281
5282         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5283
5284 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
5285
5286         * RichTextBox.cs: Added initial implementation
5287         * lang.cs: Removed. Was accidentally checked in long time ago
5288         * TODO: Removed. Contents were obsolete
5289
5290 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5291                                                                                 
5292         * PropertiesTab.cs : Added
5293
5294 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5295                                                                                 
5296         * PropertyGrid.cs : Update
5297         * PropertyGridView.cs : Update
5298         * System.Windows.Forms.resx : Added images and strings
5299
5300 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
5301
5302         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5303  
5304 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
5305
5306         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5307           a busy loop right after the Ungrab the X11 display is otherwise 
5308           blocked
5309
5310 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
5311
5312         * ThemeWin32Classic.cs: Optimise the use of clipping
5313
5314 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
5315
5316         * DataGrid.cs: fixes recursion bug
5317
5318 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
5319
5320         * ThemeNice.cs: 
5321           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5322           - Cleanup
5323
5324 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
5325
5326         * ThemeNice.cs: Draw nice ProgressBars
5327
5328 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5329
5330         * VScrollBar.cs: Another buglet found by Aaron's tool. 
5331
5332         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5333         bug finder.
5334
5335 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
5336
5337         * ThemeNice.cs:
5338           - Added nicer menu drawing
5339           - Updated DrawTab
5340           - some refactoring
5341
5342 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5343
5344         * CreateParams.cs (ToString): Made output match MS
5345         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
5346             handle is already created (to avoid forcing window creation)
5347         * XplatUIX11.cs: Set window text to caption after creating window,
5348           in case Text was set before window was created
5349         * Form.cs: Use this.Text instead of a static string as caption
5350
5351 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5352
5353         * NotifyIcon.cs: Don't set the window to visible; this screws
5354           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5355           OnPaint without a bitmap)
5356         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
5357           happen very often anyway; we could add the check to the WM_PAINT 
5358           event generation code
5359
5360 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5361
5362         * NotifyIcon.cs: Fill the icon area with a background color, to 
5363           avoid 'residue' when transparent icons are drawn
5364         * XplatUIX11.cs:
5365           - Handle whole_window == client_window when destroying windows
5366           - SystrayAdd(): Set client_window to whole_window value to
5367             get mouse and other events passed to NotifyIcon
5368
5369 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5370
5371         * Form.cs: Set proper default for Opacity property
5372         * NotifyIcon.cs:
5373           - ShowSystray(): Don't bother creating telling the OS
5374             about the systray item if no icon is provided
5375           - Now handles WM_NCPAINT message to deal with whole/client window
5376             split
5377           - Create window as visible to not get caught by Expose optimization
5378         * Hwnd.cs: Removed debug message
5379         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5380           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5381             PaintEventStart/End to use new client argument
5382         * TextBoxBase.cs:
5383           - Commented out debug messages
5384           - Switched PaintEventStart/End to use new client argument
5385         * XplatUI.cs: Added client window bool to PaintEventStart()/
5386           PaintEventEnd() calls, to support drawing in non-client areas
5387         * XplatUIDriver.cs: 
5388           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5389             calls, to support drawing in non-client areas
5390           - Added conditional compile to allow using MWF BeginInvoke 
5391             on MS runtime
5392         * XplatUIX11.cs:
5393           - Added some conditional debug output
5394           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5395             whole/client window split
5396           - Implemented handling of client argument to PaintEventStart()/End()
5397         * Control.cs:
5398           - Throw exception if BeginInvoke() is called and the window handle
5399             or one of the window's parent handles is not created
5400           - Added conditional compile to allow using MWF BeginInvoke on
5401             MS runtime
5402           - get_Parent(): Only sets parent if handle is created. This avoids
5403             forcing window handle creation when parent is set.
5404           - Now fires Layout and Parent changed events in proper order
5405           - Switched to use Handle instead of window.Handle for Z-Order setting,
5406             the get_Parent() patch above causes us to possibly get null for 'window'
5407           - Implemented handling of client argument to PaintEventStart()/End()
5408           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5409             default handling)
5410           - Now sends a Refresh() to all child windows when Refresh() is called
5411
5412 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5413
5414         * Form.cs: Added (non-functional) Opacity property
5415         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5416
5417 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5418         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5419           use export MONO_THEME=nice to activate it.
5420           Currently supported controls:
5421           - Button
5422           - ComboBox
5423           - ScrollBar
5424           - TabControl (TabAlignment.Top only, other will follow)
5425         * ThemeEngine.cs: Add theme nice
5426         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5427           if enabled
5428
5429 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5430
5431         * Splitter.cs: Resize docked control and its neighbor.
5432
5433 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5434         -- Making Windows with Menus layout correctly --
5435         * Form.cs : The first leg of the fix
5436                 Menu setter - adjust Client Size as needed to make space for the menu
5437                 SetClientSizeCore - doesn't call base version to be able to pass the 
5438                         menu handle to XplatUI.CalculateWindowRect
5439         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5440         * XplatUIX11.cs: The critical second leg of the fix
5441                 GetWindowPos needs to use a recalculated client_rect
5442                 so that resizing the window doesn't break layout of child controls. 
5443                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5444                 Lots of \t\n killed
5445
5446 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5447
5448         * Label.cs: Now properly recalculates width and height on Font and Text
5449           changes if AutoSize is set
5450
5451 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5452         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5453
5454 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
5455
5456         * ImageList.cs: Makes ToString method compatible with MS
5457
5458 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
5459
5460         * MenuAPI.cs: fixes bug 75716
5461
5462 2005-08-11 Umadevi S <sumadevi@novell.com>
5463         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5464
5465 2005-08-11 Umadevi S <sumadevi@novell.com>
5466         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5467
5468 2005-08-10  Umadevi S <sumadevi@novell.com>
5469         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5470
5471 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
5472
5473         * Menu.cs: fixes bug 75700
5474         * MenuAPI.cs: fixes navigation issues
5475
5476 2005-08-09  Umadevi S <sumadevi@novell.com>
5477         * CheckedListBox.cs - simple fix for GetItemChecked.
5478
5479 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
5480
5481         * ComboBox.cs: Serveral fixes
5482         * ListBox.cs: Serveral fixes
5483
5484 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5485
5486         * ComboBox.cs: Fixes FindString methods and GetItemHeight
5487         * ListBox.cs: Fixes FindString methods
5488
5489 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5490
5491         * DataGrid.cs: fixes bugs exposed by new tests
5492
5493 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5494
5495         * Mime.cs: Compile Mono assembly references only if compiling
5496           with Mono (Allows to build with VS.Net again)
5497
5498 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
5499
5500         * Control.cs (PaintControlBackground): Draw background image
5501         corrrectly.
5502         (CheckForIllegalCrossThreadCalls): Stubbed.
5503         
5504         * Form.cs (OnCreateControl): Center when should be centered.
5505         
5506         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5507
5508 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
5509
5510         * Binding.cs: Binding to properties should be case unsensitive
5511
5512 2005-07-18 vlindos@nucleusys.com
5513
5514         * DataGrid.cs: fixes setmember order
5515
5516 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
5517
5518         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5519         * FileDialog.cs: FileDialog is now resizable and uses the new
5520           MimeIconEngine
5521
5522 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
5523
5524         * DataGridTextBoxColumn.cs: default value
5525         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5526         * GridTableStylesCollection.cs: fixes checking MappingName
5527         * DataGridDrawingLogic.cs: fixes drawing logic issues
5528         * DataSourceHelper.cs: rewritten to make compatible with more data sources
5529         * DataGrid.cs: fixes    
5530
5531 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
5532
5533         * MimeGenerated.cs: Use case sensitive comparer for
5534           NameValueCollections
5535
5536 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
5537
5538         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
5539         * ThemeWin32Classic.cs: bug fixes, code refactoring
5540         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
5541         * DataGrid.cs: bug fixes, code refactoring
5542         * DataGridTextBox.cs: bug fixes, code refactoring
5543         * DataGridColumnStyle.cs:  bug fixes, code refactoring
5544         * Theme.cs:  bug fixes, code refactoring
5545
5546 2005-07-01  Peter Bartok  <pbartok@novell.com> 
5547
5548         * TextControl.cs: Quick fix for the reported crash on ColorDialog
5549           and other text box usage
5550
5551 2005-07-01  Jackson Harper  <jackson@ximian.com>
5552
5553         * TabControl.cs: Make sure the bottom of the tab covers the pages
5554         border.
5555
5556 2005-06-30  Peter Bartok  <pbartok@novell.com> 
5557
5558         * Form.cs (ShowDialog): Assign owner of the dialog
5559         * TextBoxBase.cs: Always refresh caret size when deleting, caret
5560           might have been moved to a tag with different height
5561
5562 2005-06-30  Jackson Harper  <jackson@ximian.com>
5563
5564         * Form.cs: Don't create an infinite loop when setting focus
5565         * MenuItem.cs: Don't dirty the parents if we don't have any
5566
5567 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
5568
5569         * LibSupport.cs: Rename
5570
5571 2005-06-29  Peter Bartok  <pbartok@novell.com>
5572
5573         * TextBoxBase.cs: Re-align caret after deleting a character
5574         * TextControl.cs:
5575           - DeleteChars(): Ensure that tag covers the provided position
5576           - StreamLine(): Drop reference for dropped tag
5577
5578 2005-06-29  Peter Bartok  <pbartok@novell.com> 
5579
5580         * TextControl.cs: 
5581           - Selections now work properly, anchoring at the initial location
5582             and properly extending in either direction (SetSelectionToCaret(),
5583             SetSelectionStart() and SetSelectionEnd())
5584           - No longer redraws the whole control on selection change, now
5585             calculates delta between previous and new selection and only
5586             invalidates/redraws that area
5587           - Fixed FindPos() math off-by-one errors
5588           - Changed DeleteChars() to verify the provided tag covers the
5589             provided position, selections may have a tag that doesn't cover
5590             the position if the selection is at a tag border
5591           - Fixed off-by-one errors in DeleteChars()
5592           - Added missing streamlining check in DeleteChars() to remove
5593             zero-length tags
5594           - Implemented Invalidate() method, now properly calculates exposures
5595             between two given lines/positions
5596           - Implemented SetSelection()
5597           - Obsoleted and removed FixupSelection()
5598           - Improved RecalculateDocument() logic, removing code duplication
5599
5600 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5601
5602         * LibSupport.cs: changes to match different input/output arguments.
5603
5604 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5605
5606         * LibSupport.cs: added libsupport.so init routine.
5607
5608 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
5609         
5610         * ControlBindingsCollection.cs
5611                 - Throws an exception on null datasource when adding
5612                 - Checks for duplicated bindings when adding
5613
5614 2005-06-28  Jackson Harper  <jackson@ximian.com>
5615
5616         * TreeView.cs (OnKeyDown): Support left and right properly
5617         (navigates as well as expanding and collapsing.
5618         - Add support for Multiply, this expands all the selected nodes
5619         children.
5620         - Fix some tabbing.
5621
5622 2005-06-28  Jackson Harper  <jackson@ximian.com>
5623
5624         * TreeView.cs: Implement keyboard navigation, currently supports,
5625         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5626         support for toggling checkboxes with the space bar.
5627
5628 2005-06-28  Jackson Harper  <jackson@ximian.com>
5629
5630         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5631         tree.
5632
5633 2005-06-28  Jackson Harper  <jackson@ximian.com>
5634
5635         * TreeView.cs: Add missing event.
5636
5637 2005-06-27  Peter Bartok  <pbartok@novell.com> 
5638
5639         * TextControl.cs:
5640           - Made line ending size configurable (now allows for counting 
5641             lineendings as \n or \r\n)
5642           - Added margin to viewport to keep caret visible on right side
5643           - Fixed translation routines for line/pos to documentpos to consider
5644             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5645           - Fixed some line-endings to be unix style
5646           - Fixed Document.FormatText to perform it's calculations 1-based
5647           - Added descriptions for a few methods that might otherwise get 
5648             used wrong
5649           - Added NOTE section with some basic conventions to remember at 
5650             the top of the file
5651           - Major fixup for RichTextBox selection drawing:
5652             * Fixed crashes when multiple tags on a single line were selected
5653             * fixed selection box drawing not overlaying text
5654             * fixed bogus offset calculation for tags not starting at index 1
5655             * Switched behaviour from using multiple Substrings of a 
5656               StringBuilder.ToString() to using multiple 
5657               StringBuilder.ToString(start, length) statements, hoping this is
5658               faster (kept original version commented out in the code, in case
5659               original version was faster)
5660         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
5661           alignment != Left
5662         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5663           call it as well
5664
5665 2005-06-27  Jackson Harper  <jackson@ximian.com>
5666
5667         * TabControl.cs: Move to the left and right with the arrow
5668         keys. These keys don't cycle beyond first and last like
5669         tab. Refresh all the tabs when scrolling them to the left or
5670         right.
5671
5672 2005-06-27  Jackson Harper  <jackson@ximian.com>
5673
5674         * TabControl.cs:
5675           - ToString: Added method
5676           - CreateParams: Remove TODO and comment
5677           - OnKeyDown: Cycle through bounds properly.
5678           - SelectedIndex: Scroll to the right or left if we need to
5679           display the newly selected tab.
5680
5681 2005-06-23  Jackson Harper  <jackson@ximian.com>
5682
5683         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5684         set.
5685
5686 2005-06-23  Jackson Harper  <jackson@ximian.com>
5687
5688         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5689         CTRL-SHIFT-TAB, and HOME, END are there any others?
5690
5691 2005-06-23  Jackson Harper  <jackson@ximian.com>
5692
5693         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5694
5695 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5696         
5697         * DataGridTextBoxColumn.cs: fixes and enhancements
5698         * ThemeWin32Classic.cs: fixes and enhancements
5699         * DataGridBoolColumn.cs:  fixes and enhancements
5700         * DataGridDrawingLogic.cs:  fixes and enhancements
5701         * CurrencyManager.cs: fixes and enhancements
5702         * DataGrid.cs: fixes and enhancements
5703         * DataGridColumnStyle.cs:  fixes and enhancements
5704
5705 2005-06-22  Jackson Harper  <jackson@ximian.com>
5706
5707         * TabControl.cs: Add some missing methods that just call into the
5708         base. Make the TabPageCollection's IList interface behave in the
5709         same manner as the MS implementation.
5710
5711 2005-06-22  Peter Bartok  <pbartok@novell.com> 
5712
5713         * TextControl.cs: Added sanity check
5714         * TextBoxBase.cs: 
5715           - Fixed wrapping behaviour, don't set wrap on single line controls
5716             (this fixes the breakage of colordialog introduced in an earlier
5717              checkin)
5718           - Added rudimentary support for autoscrolling right-aligned controls
5719             (still needs fixing, also, center alignment scroll is missing)
5720
5721 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5722         
5723         * ScrollBar.cs: Fixes thumbpos on Maximum values
5724
5725 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
5726         
5727         * PropertyGridView.cs: Pass context information to UITypeEditors 
5728
5729 2005-06-21  Peter Bartok  <pbartok@novell.com> 
5730
5731         * TextBoxBase.cs:
5732           - Now calling PositionCaret with absolute space coordinates
5733           - Enabled vertical scrolling
5734           - Better tracking of scrollbar changes, tied into WidthChange
5735             event
5736           - Improved cursor tracking
5737           - Removed debug output
5738         * TextControl.cs:
5739           - PositionCaret coordinates are now works in absolute space, not 
5740             the canvas
5741           - Improved tracking of document size
5742           - Added events for width and height changes
5743
5744 2005-06-21  Peter Bartok  <pbartok@novell.com>
5745
5746         * Form.cs: Set focus to active control when form is activated
5747         * TextControl.cs: 
5748           - Added word-wrap functionality to RecalculateLine() 
5749           - Added some short function descriptions for VS.Net to aid in
5750             writing dependent controls
5751           - Added Caret property, returning the current coords of the caret
5752           - Added ViewPortWidth and ViewPortHeight properties
5753           - Added Wrap property
5754           - Added CaretMoved event
5755           - Removed some old debug code
5756           - Split() can now create soft splits
5757           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5758           - Added method to format existing text
5759           - Fixed size/alignment calculations to use viewport
5760           - RecalculateDocument now can handle changing line-numbers while
5761             calculating lines
5762
5763         * TextBox.cs:
5764           - Added some wrap logic, we don't wrap if alignment is not left
5765           - Added casts for scrollbar var, base class switched types to
5766             also support RichTextBoxA
5767           - Implemented handling of scrollbar visibility flags
5768
5769         * TextBoxBase.cs:
5770           - Switched scrollbars type to RichTextBoxScrollBars to support
5771             RichTextBox
5772           - Added tracking of canvas width/height
5773           - Switched scrollbars to be not selectable (to keep focus on text)
5774           - Added central CalculateDocument() method to handle all redraw
5775             requirements
5776           - Added ReadOnly support
5777           - Added WordWrap support
5778           - Fixed handling of Enter key (we now treat it as a DialogKey)
5779           - Fixed caret positioning when h or v scroll is not zero
5780           - Fixed placing/generation of vertical scrollbar
5781           - Added CalculateScrollBars() method to allow updating scrollbar
5782             limits and visibility
5783           - Fixed handling of horizontal scroll
5784           - Added handling of vertical scroll
5785           - Implemented auto-'jump' when caret moves to close to a left or
5786             right border and there is text to be scrolled into view (currently
5787             there's the potential for a stack overflow, until a bug in
5788             scrollbar is fixed)
5789
5790 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
5791         
5792         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5793
5794 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
5795
5796         * Mime.cs:
5797         - added inodes.
5798         - return application/x-zerosize for files with size zero
5799           (if no extension pattern matches).
5800         - check matches collection for strings too.
5801         - return only the first mime type if the name value
5802           collection has more than one mime type.
5803
5804 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
5805         
5806         * PropertyGrid.cs: Cleaned up some TODOs
5807         * PropertyGridView.cs: Added support for UITypeEditors
5808
5809 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5810         
5811         * DataGrid.cs: clears cached value
5812
5813 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5814
5815         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5816         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5817         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5818         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5819         
5820 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
5821
5822         * ThemeWin32Classic.cs: fixes colour
5823
5824 2005-06-15  Peter Bartok  <pbartok@novell.com>
5825
5826         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5827         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5828         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5829         * Control.cs: Added some MWFCategory and MWFDescription attributes
5830         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5831
5832 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
5833
5834         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5835         usage
5836
5837 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
5838
5839         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5840         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5841         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5842         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5843         * DataGrid.cs: default datagrid settings for Default Styles, fixes
5844         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5845
5846 2005-06-13  Jackson Harper  <jackson@ximian.com>
5847
5848         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5849         isn't printed when the user enables dropping. (X11 does accept
5850         drops).
5851         
5852 2005-06-13  Jackson Harper  <jackson@ximian.com>
5853
5854         * TreeView.cs: Remove some TODOS.
5855
5856 2005-06-13  Jackson Harper  <jackson@ximian.com>
5857
5858         * Form.cs: Hook into the mdi framework.
5859         * MdiClient.cs: Use the base control collections add method so
5860         parents get setup correctly. Set the default back colour and dock
5861         style.
5862         * MdiChildContext.cs: New class, this bad actor handles an
5863         instance of an MDI window. Right now there is only basic
5864         support. You can drag, close, and resize windows. Minimize and
5865         Maximize are partially implemented.
5866
5867 2005-06-13  Jackson Harper  <jackson@ximian.com>
5868
5869         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5870         freaky when both vals are negative. NOTE: There are probably other
5871         places in XplatUIX11 that this needs to be done.
5872
5873 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
5874
5875         * DataGrid.cs: implement missing methods, move KeyboardNavigation
5876         * DataGridColumnStyle.cs: fixes signature
5877
5878 2005-06-12  Jackson Harper  <jackson@ximian.com>
5879
5880         * XplatUIX11.cs: Use sizing cursors similar to the ones on
5881         windows.
5882
5883 2005-06-11  Jackson Harper  <jackson@ximian.com>
5884
5885         * StatusBarPanel.cs: Signature cleanups. Implement
5886         BeginInit/EndInit.
5887
5888 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
5889
5890         * DataGridTextBoxColumn.cs: Honors aligment
5891         * GridColumnStylesCollection.cs: Contains is case unsensitive
5892         * GridTableStylesCollection.cs: several fixes
5893         * DataGridTableStyle.cs: default column creation
5894         * DataGridDrawingLogic.cs: fixes
5895         * CurrencyManager.cs: ListName property
5896         * DataGrid.cs: multiple styles support
5897         * DataGridColumnStyle.cs: fixes
5898         
5899
5900 2005-06-10  Peter Bartok  <pbartok@novell.com>
5901
5902         * Control.cs(Select): Moved SetFocus call to avoid potential
5903           loops if controls change the active control when getting focus
5904         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5905           the up/down buttons
5906
5907 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
5908
5909         * ImageListConverter.cs: Implemented
5910
5911 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5912
5913         * MonthCalendar.cs: Wired in NumericUpDown control for year
5914
5915 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5916
5917         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5918           DoubleClick events, since they are not meant to be fired.
5919
5920 2005-06-09  Peter Bartok  <pbartok@novell.com>
5921
5922         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5923           Jonathan's standalone controls into MWF, implemented missing
5924           events, attributes and methods; added xxxAccessible classes
5925         * AccessibleObject.cs: Made fields internal so other classes
5926           can change them if needed
5927
5928 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
5929
5930         * UpDownBase.cs: Complete implementation
5931         * NumericUpDown.cs: Complete implementation
5932         * DomainUpDown.cs: Complete implementation
5933
5934 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
5935
5936         * DataGridTextBoxColumn.cs: drawing fixes
5937         * DataGridCell.cs: fixes ToString method to match MSNet
5938         * DataGridTableStyle.cs: fixes
5939         * DataGridBoolColumn.cs: fixes, drawing
5940         * DataGridDrawingLogic.cs: fixes, new methods
5941         * DataGridTextBox.cs: Keyboard and fixes
5942         * DataGrid.cs:
5943                 - Keyboard navigation
5944                 - Scrolling fixes
5945                 - Row selection (single, multiple, deletion, etc)
5946                 - Lots of fixes
5947         
5948 2005-06-07  Jackson Harper  <jackson@ximian.com>
5949
5950         * ThemeWin32Classic.cs: Clear the background area when drawing
5951         buttons.
5952
5953 2005-06-06  Peter Bartok  <pbartok@novell.com>
5954
5955         * ImageListStreamer.cs: Fixed signature for GetData
5956         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5957         * ComboBox.cs:
5958           - Added missing ChildAccessibleObject class
5959           - Added missing OnXXXFocus overrides, switched to using those
5960             instead of the event handler
5961         * Control.cs:
5962           - Added Parent property for ControlAccessibleObject
5963           - Fixed signatures
5964           - Fixed attributes
5965           - Added ResetBindings()
5966         * ListBindingConverter.cs: Implemented some methods
5967         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5968         * ImageList.cs: Implemented basic handle scheme, removed TODOs
5969         * ContainerControl.cs: Fixed signature, now subscribing to the
5970           ControlRemoved event instead of overriding the handler, LAMESPEC
5971         * CurrencyManager.cs: Added missing attribute
5972         * MonthCalendar.cs: Added missing properties
5973
5974 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5975
5976         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5977         
5978 2005-06-06  Gaurav Vaish and Ankit Jain
5979
5980         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5981         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5982         
5983 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5984
5985         * Control.cs: fixes CreateParams Width / Height.
5986
5987 2005-06-05  Peter Bartok  <pbartok@novell.com>
5988
5989         * Win32DnD.cs: Removed compilation warnings
5990
5991 2005-06-05  Peter Bartok  <pbartok@novell.com>
5992
5993         * Control.cs (CreateParams): Since we don't know if one of the
5994           properties we use is overridden, lets make sure if we fail accessing
5995           we continue with a backup plan
5996
5997 2005-06-05  Peter Bartok  <pbartok@novell.com>
5998
5999         * Win32DnD.cs:
6000           - Removed debug output
6001           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6002             struct
6003           - Plugged resource leak
6004         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6005           MS size
6006
6007 2005-06-05  Peter Bartok  <pbartok@novell.com>
6008
6009         * XplatUIWin32.cs: Removed DnD code
6010         * Win32DnD.cs: Implemented drop source and drop target functionality
6011
6012 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6013
6014         * UpDownBase.cs: remove duplicate addition of event, enable some code
6015         that was commented out.
6016         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6017         Validate input when a key is pressed. It works fine now for every
6018         combination of Hexadecimal. Only missing some drawing love when sharing
6019         space with other controls.
6020
6021 2005-06-04  Peter Bartok  <pbartok@novell.com>
6022
6023         * Control.cs:
6024           - We need to pass a window for DragDrop, so enable callback events
6025           - Added DnD callback events when being a DragSource
6026         * XplatUI.cs (StartDrag): Added window handle argument
6027         * XplatUIDriver.cs (StartDrag): Added window handle argument
6028         * QueryContinueDragEventArgs: Made fields internally accessible so
6029           drivers can set them
6030         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6031           can set them
6032
6033 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
6034
6035         * DataGridTextBoxColumn.cs: column text editing
6036         * DataGridTableStyle.cs: Respect columns styles created by the user
6037         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6038         * DataGridBoolColumn.cs: bool column editing
6039         * DataGrid.cs: fixes to scrolling, properties, etc
6040         * DataGridTextBox.cs: handle keyboard
6041         * DataGridColumnStyle.cs: fixes
6042
6043 2005-06-02  Jackson Harper  <jackson@ximian.com>
6044
6045         * ImageListStreamer.cs: Somewhat broken implementation of
6046         GetObjectData. The RLE needs some work to match MS properly.
6047
6048 2005-06-02  Jackson Harper  <jackson@ximian.com>
6049
6050         * X11Dnd.cs: Attempting to keep at least one file in MWF
6051         monostyled.
6052
6053 2005-06-02  Peter Bartok  <pbartok@novell.com>
6054
6055         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6056           that way
6057
6058 2005-06-02  Peter Bartok  <pbartok@novell.com>
6059
6060         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6061         * XplatUI.cs: Added DoDragDrop() method
6062         * XplatUIDriver.cs: Added DoDragDrop() method
6063
6064 2005-06-02  Jackson Harper  <jackson@ximian.com>
6065
6066         * Splitter.cs: Implement BorderStyle.
6067
6068 2005-06-02  Jackson Harper  <jackson@ximian.com>
6069
6070         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6071         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6072         X11 using XDND.
6073
6074 2005-06-02  Peter Bartok  <pbartok@novell.com>
6075
6076         * DataObject.cs:
6077           - Added Data setter
6078           - Fixed broken insertion code for SetData, now also
6079             overwrites any existing entry of the same format name
6080         * Hwnd.cs: Added list of pointers that automatically gets
6081           freed when the window is disposed
6082         * XplatUI.cs: Call driver initialization method when loading
6083           a driver
6084         * Control.cs:
6085           - OnDragLeave takes EventArgs, not DragEventArgs
6086           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6087             supported
6088           - Forces style update when drop state changes
6089         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6090           not perfect since we cannot (yet) call the IDataObject.GetData()
6091           method, we keep getting 0x80004005 error, dunno why)
6092
6093 2005-06-02  Peter Bartok  <pbartok@novell.com>
6094
6095         * DragEventArgs.cs: Make fields internal so we can cache the
6096           object and re-set the fields from XplatUI
6097
6098 2005-06-02  Jackson Harper  <jackson@ximian.com>
6099
6100         * Control.cs: Add some internal methods so the DnD subsystem can
6101         raise DnD events. Also call into the driver when AllowDrop is set.
6102         * XplatUI.cs:
6103         * XplatUIDriver.cs: New method for setting whether or not a window
6104         is allowed to accept drag and drop messages.
6105                 
6106 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6107         
6108         * ScrollBar.cs: Make sure that values sent in Scroll events
6109         are always between Maximum and Minimum.
6110
6111 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6112
6113         * Menu.cs: Call MenuChanged when menuitem visibility has been
6114         changed.
6115         * MenuItem.cs: Rebuild menu when item is (not) visible.
6116         * MainMenu.cs: MainMenu has special MenuChanged.
6117         * Theme.cs: Caption and FrameBorderSize are not fixed.
6118         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6119         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6120         * XplatUIX11.cs,
6121         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6122         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6123
6124 2005-05-30  Jackson Harper  <jackson@ximian.com>
6125
6126         * DataFormat.cs: We can't statically initialize this stuff because
6127         it calls into the xplatui and could create a loop. So we lazy init
6128         it.
6129
6130 2005-05-28  Jackson Harper  <jackson@ximian.com>
6131
6132         * Control.cs: Proper implementation of Product(Name/Version).
6133
6134 2005-05-27  Jackson Harper  <jackson@ximian.com>
6135
6136         * DataObject.cs: Dont crash if no data is found.
6137
6138 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6139         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6140                 as per status page, guessing it should be set to true
6141
6142 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6143
6144         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6145         * DataGridTableStyle.cs: set proper formatting text, def header text
6146         * ThemeWin32Classic.cs: new themable paramaters
6147         * DataGridBoolColumn.cs: paint check box, get data, fixes
6148         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6149         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6150         * DataGridColumnStyle.cs: fixes
6151         * Theme.cs: new themable paramaters
6152                 
6153 2005-05-26  Peter Bartok  <pbartok@novell.com>
6154
6155         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6156
6157 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6158         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6159
6160 2005-05-24  Peter Bartok  <pbartok@novell.com>
6161
6162         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6163           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6164           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6165           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6166           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6167           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6168           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6169           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6170           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6171           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6172           missing attributes, etc
6173         * DataGridPreferredColumnWidthTypeConverter.cs: Added
6174
6175 2005-05-24  Peter Bartok  <pbartok@novell.com>
6176
6177         * Help.cs: Added, implemented trivial functions, throws up MessageBox
6178           when user tries to get help
6179         * DataObject.cs, DataFormats.cs, LinkArea.cs,
6180           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6181           to suppress warnings
6182         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6183           avoid unreachable code warning
6184
6185 2005-05-20  Peter Bartok  <pbartok@novell.com>
6186
6187         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6188
6189 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6190
6191         * DataGridTextBoxColumn.cs: Basic painting methods
6192         * DataGridTableStyle.cs: Set table style in the column
6193         * ThemeWin32Classic.cs: Use Theme for colors
6194         * DataGridDrawingLogic.cs: Implement more drawing
6195         * DataGrid.cs: drawing, theming, enhacements, fixes
6196         * DataGridColumnStyle.cs: fixes, drawing
6197         * Theme.cs: theming for Datagrid
6198
6199 2005-05-20  Peter Bartok  <pbartok@novell.com>
6200
6201         * Cursor.cs: Implemented GetObjectData() method
6202
6203 2005-05-20  Peter Bartok  <pbartok@novell.com>
6204
6205         * Cursors.cs: Added setting of cursor name
6206         * Cursor.cs:
6207           - Implemented constructors
6208           - Implemented Draw and DrawStretched
6209           - Implemented Current property
6210           - Implemented == and != operators
6211           - Implemented Dispose()
6212           - Implemented ToString
6213           - Added missing attributes
6214         * XplatUIX11.cs:
6215           - Added missing reset for OverrideCursor when DoEvents is called
6216           - Fixed creation of cursor, logic was wrong
6217         * XplatUIWin32.cs:
6218           - Added missing reset for OverrideCursor when DoEvents is called
6219           - Fixed creation of cursor, bit arrays were swapped
6220         * Clipboard.cs: Removed obsolete MonoTODO attribute
6221
6222 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6223
6224         * ComboBox.cs: fixes OnSelectedItemChanged
6225         * ControlBindingsCollection.cs: fixes item range check
6226
6227 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6228
6229         * UpDownBase.cs:
6230                 - Calc preferred height properly
6231                 - Implement missing properties
6232                 
6233         * NumericUpDown.cs: Implement missing events
6234
6235 2005-05-19  Jackson Harper  <jackson@ximian.com>
6236
6237         * TabControl.cs: New method that resizes the tab pages before
6238         redrawing them. This as needed as the control is double buffered
6239         and sizing will not be recalculated unless ResizeTabPages is
6240         called.
6241         * TabPage.cs: Set base.Text instead of Text in the constructor so
6242         that UpdateOwner does not get called. Use the new Redraw method of
6243         TabControl instead of Refresh so the sizing is recalculated.
6244         * ThemeWin32Classic.cs: Draw the text for button tabs.
6245
6246 2005-05-19  Jackson Harper  <jackson@ximian.com>
6247
6248         * Control.cs: Paint control background images. Fix typo where
6249         PaintControlBackground was not getting called correctly.
6250
6251 2005-05-19  Peter Bartok  <pbartok@novell.com>
6252
6253         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6254           I can investigate, apparently I broke FileDialog
6255
6256 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
6257
6258         * AxHost.cs: Some simple properties.
6259         * Control.cs: window must be accessible after ctor.
6260         * Form.cs: Added TransparencyKey property.
6261         * TextBoxBase.cs: Implemented Clear. Text property can be null.
6262         * XplatUIWin32.cs: SetBorderStyle implemented.
6263
6264 2005-05-18  Peter Bartok  <pbartok@novell.com>
6265
6266         * DataObject.cs: Entries are not global but particular to the
6267           DataObject, now it behaves that way
6268         * XplatUIWin32.cs: Implemented Clipboard methods
6269         * Clipboard.cs: Implemented
6270         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6271         * XplatUIOSX.cs: Updated to final clipboard prototypes
6272         * XplatUIX11.cs: Implemented Clipboard methods
6273         * XplatUIDriver.cs: Updated to final clipboard prototypes
6274         * XplatUIStructs.cs:
6275           - Added BITMAPINFOHEADER struct
6276           - Added ClipboardFormats enum
6277         * X11Structs.cs:
6278           - Added ClipboardStruct
6279           - Added Atom enum items for clipboard types
6280           - Fixed atom types for Selection event structures
6281         * DataFormats.cs:
6282           - Added internal properties and methods for drivers to enumerate
6283             all known formats
6284           - Switched initialization method to allow drivers to assign their
6285             own IDs even for the MS predefined clipboard IDs
6286         * XplatUI.cs: Updated to final clipboard interface
6287
6288 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6289         * PropertyGridView.cs: Fixed compiler warnings.
6290
6291 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6292         * PropertyGrid.cs: Added some event calls
6293         * PropertyGridView.cs: Change drawing code to use double buffering
6294         * PropertyGridTextBox.cs: Changed Text property name
6295         * GridItem.cs: Added Bounds property.
6296         * GridEntry.cs: Added Bounds property.
6297
6298 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6299
6300         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6301         since GetType() may not return the correct type if the object is
6302         a remoting proxy.
6303
6304 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
6305
6306         * TreeNodeCollection.cs: fixes get/set item ranges
6307         
6308 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6309
6310         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6311                 
6312 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6313
6314         * ComboBox.cs: Fix item range comparation
6315         * ListView.cs: Fix item range comparation
6316
6317 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6318
6319         * FontDialog.cs:
6320           - Clear example panel when OnPaint is called
6321           - Better solution for displaying the example panel text
6322           - Select default indexes in the ListBoxes
6323
6324 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6325
6326         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
6327
6328 2005-05-11  Peter Bartok  <pbartok@novell.com>
6329
6330         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6331         * SelectionRangeConverter.cs: Implemented
6332         * PropertyGrid.cs: Fixed attribute value
6333         * Control.cs:
6334           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6335           - Added Sebastien Pouliot's CAS Stack Propagation fixes
6336         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6337           that's common to all drivers. First methods to go there are
6338           Sebastien Pouliot's CAS Stack Propagation helper methods
6339         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6340           Sebastien Pouliot for CAS Stack Propagation
6341
6342 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6343
6344         * OSXStructs.cs:
6345           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6346
6347 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
6348
6349         * DataGridTextBoxColumn.cs: fixed some members
6350         * GridColumnStylesCollection.cs: indexed column is case insensitive
6351         * DataGridTableStyle.cs: fixes
6352         * ThemeWin32Classic.cs: add new theme parameter
6353         * Theme.cs: add new theme parameter
6354         * DataGridDrawingLogic.cs: Datagrid's drawing logic
6355         * DataGrid.cs: fixes, new internal properties, etc.
6356         * DataGridColumnStyle.cs: allows to set grid value
6357         *
6358
6359 2005-05-10  Peter Bartok  <pbartok@novell.com>
6360
6361         * AccessibleObject.cs:
6362           - Removed MonoTODO attribute on help, method is correct
6363           - Fixed Bounds property
6364         * AxHost.cs: Moved MonoTODO
6365         * ButtonBase.cs: Now setting AccessibleObject properties
6366         * RadioButton.cs: Setting proper AccessibleObject role
6367         * CheckBox.cs: Setting proper AccessibleObject role
6368         * ControlBindingsCollection.cs: Added properties, methods and attributes
6369         * DataFormats.cs: Fixed awkward internal API, and changed to enable
6370           userdefined DataFormats.Format items as well
6371         * ListControl.cs: Removed data_member from the public eye
6372         * OpenFileDialog.cs:
6373           - Made class sealed
6374           - Added missing attributes
6375         * SaveFileDialog.cs: Added missing attributes
6376         * ImageListStreamer.cs: Fixed code that caused warnings
6377         * LinkLabel.cs: Removed unreachable code
6378         * TreeView.cs: Fixed code that caused warnings
6379         * PropertyGridView.cs: Fixed code that caused warnings
6380         * GridColumnStylesCollection.cs: Added missing attributes
6381         * GridTableStylesCollection: Added missing attribute
6382         * PropertyManager: Added .ctor
6383         * SecurityIDType: Added
6384         * DataObject.cs: Implemented class
6385         * LinkArea.cs: Added missing attribute
6386
6387 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6388
6389         * RadioButton.cs: call base method to allow to fire OnClick event
6390         * UpDownBase.cs: OnMouseUp call base method
6391         * CheckedListBox.cs: call base method before returning
6392         * TrackBar.cs: call base method before returning
6393         
6394
6395 2005-05-10  Peter Bartok  <pbartok@novell.com>
6396
6397         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6398           for messages
6399
6400 2005-05-10  Peter Bartok  <pbartok@novell.com>
6401
6402         * DataFormats.cs: Implemented
6403         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6404           XplatUIX11.cs: Added Clipboard APIs
6405         * XplatUIWin32.cs: Implemented Clipboard APIs
6406         * FolderBrowserDialog.cs: Added missing event, attributes
6407
6408 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6409
6410         * CheckBox.cs: call base method to allow to fire OnClick event
6411
6412 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6413
6414         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6415
6416 2005-05-06  Peter Bartok  <pbartok@novell.com>
6417
6418         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6419         * Screen.cs: Implemented
6420         * HelpNavigator.cs: Added
6421         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6422           property
6423         * HelpProvider.cs: Implemented all we can do until we have a CHM
6424           help library (which means that "What's This" does work now)
6425
6426 2005-05-06  Jackson Harper  <jackson@ximian.com>
6427
6428         * XplatUIX11.cs: Fix waking up the main loop.
6429                 
6430 2005-05-05  Peter Bartok  <pbartok@novell.com>
6431
6432         * XplatUI.cs: Updated revision
6433         * Form.cs: Removed enless loop
6434         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6435         * Label.cs (OnPaint): Added call to base.OnPaint()
6436         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6437         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6438         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6439         * AxHost.cs: Added
6440         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6441         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6442           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6443           reuse of ToolTipWindow by other controls
6444         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6445         * XplatUIX11.cs: Now clipping drawing area (experimental)
6446         * PictureBox.cs: Moved base.OnPaint() call to end of method
6447         * Theme.cs: Fixed ToolTip abstracts to match new format
6448         * ErrorProvider.cs: Implemented
6449
6450 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
6451
6452         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6453         * LinkLabel.cs:
6454                 - Adds cursors
6455                 - Handles focus
6456                 - Implements LinkBehavior
6457                 - Fixes many issues
6458
6459 2005-05-03  Jackson Harper  <jackson@ximian.com>
6460
6461         * ListView.cs: Calculate the scrollbar positioning on resize and
6462         paint, so they get put in the correct place.
6463
6464 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6465
6466         * ColorDialogs.cs: The small color panels are now handled by
6467           SmallColorControl. This fixes drawing of the focus rectangle
6468           and adds a 3D border.
6469
6470 2005-05-03  Peter Bartok  <pbartok@novell.com>
6471
6472         * Control.cs: Modified version of Jonathan Chamber's fix for
6473           double-buffering
6474
6475 2005-05-03  Jackson Harper  <jackson@ximian.com>
6476
6477         * ListView.cs: Remove redraw variable. Control now handles whether
6478         or not a redraw needs to be done, and will only raise the paint
6479         event if redrawing is needed.
6480
6481 2005-05-03  Jackson Harper  <jackson@ximian.com>
6482
6483         * Splitter.cs: No decorations for the splitter form. Cache the
6484         hatch brush.
6485
6486 2005-05-03  Jackson Harper  <jackson@ximian.com>
6487
6488         * TreeView.cs: Use dashed lines to connect nodes. Use the
6489         ControlPaint method for drawing the focus rect instead of doing
6490         that in treeview.
6491
6492 2005-05-02  Peter Bartok  <pbartok@novell.com>
6493
6494         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6495
6496 2005-04-29  Jackson Harper  <jackson@ximian.com>
6497
6498         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6499         entire image buffer. Just clear the clipping rectangle.
6500
6501 2005-04-29  Jackson Harper  <jackson@ximian.com>
6502
6503         * ThemeWin32Classic.cs: Don't draw list view items that are
6504         outside the clipping rectangle.
6505
6506 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
6507
6508         * ListBox.cs: added horizontal item scroll
6509
6510 2005-04-29  Jackson Harper  <jackson@ximian.com>
6511
6512         * ThemeWin32Classic.cs: Remove some old debug code that was
6513         causing flicker with the new double buffering code.
6514
6515 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
6516
6517         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6518         behave like combobox and comboboxlist (still not sure if this is
6519         correct though).
6520
6521 2005-04-28  Jackson Harper  <jackson@ximian.com>
6522
6523         * ThemeWin32Classic.cs: Don't fill the middle of progress
6524         bars. This fills areas outside of the clip bounds that don't need
6525         to be filled.
6526
6527 2005-04-28  Jackson Harper  <jackson@ximian.com>
6528
6529         * Control.cs: Don't expose functionality to touch the image buffers.
6530         * ProgressBar.cs:
6531         * ListView.cs: We do not need to (and no longer can) manipulate
6532         the image buffers directly. All of this is handled by Control.
6533
6534 2005-04-28  Peter Bartok  <pbartok@novell.com>
6535
6536         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6537           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6538           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6539
6540 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6541
6542         * Combobox:
6543                 - Adjust control's height for non-simple comboboxes (bug fix)
6544                 - Remove dead code
6545         * MenuAPI.cs: remove unused var
6546         * ScrollBar.cs: remove unsed var
6547                  
6548         * ListBox.cs: unselect items when clearing
6549
6550 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6551
6552         * ListControl.cs: honors OnPositionChanged and default Selected Item
6553         * ListBox.cs: unselect items when clearing
6554
6555 2005-04-27  Jackson Harper  <jackson@ximian.com>
6556
6557         * X11Keyboard.cs: Initialize a default keyboard and give a warning
6558         if a "correct" keyboard is not found. This will make us not crash,
6559         but might give some users bad keyboard layouts...seems to be the
6560         same thing rewind does.
6561
6562 2005-04-27  Jackson Harper  <jackson@ximian.com>
6563
6564         * BindingManagerBase.cs: Attach the current/position changed
6565         handlers to their respective events.
6566
6567 2005-04-27  Jackson Harper  <jackson@ximian.com>
6568
6569         * Control.cs: Make sure that the first WM_PAINT does a full draw,
6570         not just a blit.
6571         * ThemeWin32Classic.cs: Don't fill the background for picture
6572         boxes. This could overright user drawing.
6573         * ComboBox.cs: Just fill the clipping rect not the entire client
6574         rect when drawing the background. This prevents pieces of the
6575         image buffer from getting overwritten and is theoretically faster.
6576
6577 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
6578
6579         * ComboBox.cs: Databinding support fixes, fire missing events
6580         * ListControl.cs: implement missing methods and properties, fixes
6581         * ThemeWin32Classic.cs: Databiding support on Drawing
6582         * CheckedListBox.cs: Databinding support fixes, fire missing events
6583         * ListBox.cs: Databinding support fixes, fire missing events
6584         
6585 2005-04-25  Peter Bartok  <pbartok@novell.com>
6586
6587         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6588
6589 2005-04-25  Jackson Harper  <jackson@ximian.com>
6590
6591         * TreeView.cs: Use the horizontal scrollbars height not width when
6592         determining how much of the client area is available.
6593
6594 2005-04-25  Jackson Harper  <jackson@ximian.com>
6595
6596         * Control.cs: Double buffering is handled differently now. As per
6597         the spec, the extra buffer is created in the WM_PAINT message and
6598         passed down to the control's drawing code.
6599         * GroupBox.cs:
6600         * Label.cs:
6601         * CheckBox.cs:
6602         * ProgressBar.cs:
6603         * RadioButton.cs:
6604         * ColorDialog.cs:
6605         * ComboBox.cs:
6606         * PropertyGridView.cs:
6607         * UpDownBase.cs:
6608         * MessageBox.cs:
6609         * MenuAPI.cs:
6610         * ListView.cs:
6611         * ButtonBase.cs:
6612         * SizeGrip.cs:
6613         * ScrollBar.cs:
6614         * ListBox.cs:
6615         * TrackBar.cs:
6616         * ToolBar.cs:
6617         * PictureBox.cs:
6618         * DateTimePicker.cs:
6619         * StatusBar.cs:
6620         * TreeView.cs: Update to new double buffering system.
6621         * MonthCalendar.cs: Uncomment block, as Capture is now
6622         working. Update to new double buffering
6623         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6624         * PaintEventArgs.cs: New internal method allows us to set the
6625         graphics object. This is used for double buffering.
6626         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6627         rectangle. The internal paint_area var has been removed from
6628         StatusBar. The clipping rect should be used instead.
6629         * Theme.cs: Give the PictureBox drawing method a clipping rect.
6630         * TabPage.cs: The RefreshTabs method was removed, so just call the
6631         tab controls Refresh method now.
6632         * TabControl.cs: Update to new double buffering. Make sure the
6633         handle is created before sizing the tab pages, otherwise we will
6634         get stuck in a loop.
6635
6636 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
6637
6638         * LinkLabel.cs: Fix typo, bug #74719; patch
6639           from Borja Sanchez Zamorano
6640
6641 2005-04-22  Jackson Harper  <jackson@ximian.com>
6642
6643         * TreeNode.cs: Implement Handle stuff.
6644         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6645
6646 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
6647
6648         * DataGridTextBoxColumn.cs: call base constructors, fixes
6649         * GridColumnStylesCollection.cs: missing events, methods, and functionality
6650         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6651         * DataGridTableStyle.cs: implements create default column styles
6652         * DataGridBoolColumn.cs: which types can handle
6653         * DataGrid.cs: missing methods, fixes, new functionality
6654         * DataGridColumnStyle.cs: fixes
6655
6656 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
6657         * FolderBrowserDialog.cs:
6658         - Use a thread to fill the TreeView
6659         - Adjusted some sizes
6660
6661 2005-04-19  Peter Bartok  <pbartok@novell.com>
6662
6663         * LinkLabel.cs: (Re-)create the pieces when setting the Text
6664           property. Fixes #74360.
6665
6666 2005-04-19  Jackson Harper  <jackson@ximian.com>
6667
6668         * XEventQueue.cs: Lock when getting the lockqueue size.
6669         * PictureBox.cs: Call base OnPaint
6670         
6671 2005-04-19  Peter Bartok  <pbartok@novell.com>
6672
6673         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6674           messages were no longer being processed (this broke BeginInvoke)
6675
6676           
6677 2005-04-18  Jackson Harper  <jackson@ximian.com>
6678
6679         * TreeView.cs: buglet that caused node images to get drawn
6680         regardless of whether or not they were in the clipping rectangle.
6681
6682 2005-04-18  Jackson Harper  <jackson@ximian.com>
6683
6684         * CurrencyManager.cs: There are four rules for GetItemProperties:
6685         - If the type is an array use the element type of the array
6686         - If the type is a typed list, use the type
6687         - If the list contains an Item property that is not an object, use
6688         that property
6689         - use the first element of the list if there are any elements in
6690         the list.
6691         
6692 2005-04-17  Jackson Harper  <jackson@ximian.oom>
6693
6694         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6695         click. This handles offsets for scrolling properly and reduces
6696         memory. Also fixed GetNode to not offset now that TopNode works
6697         properly.
6698         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6699         
6700 2005-04-17  Jackson Harper  <jackson@ximian.com>
6701
6702         * CursorConverter.cs: Initial implementation.
6703
6704 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6705
6706         * ListControl.cs: work towards complex data binding support on ListControl
6707         * CurrencyManager.cs: work towards complex data binding support on ListControl
6708         * ListBox.cs: work towards complex data binding support on ListControl
6709
6710
6711 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6712
6713         * GridTableStylesCollection.cs: fixes name and constructor
6714         * DataGridTableStyle.cs: fixes
6715         * DataGridBoolColumn.cs: fixes names and constructors
6716         * DataGrid.cs: define methods and properties. Some init implementations
6717         * DataGridCell.cs: define methods and properties. Some init implementations
6718         * GridTablesFactory.cs: Define methods and properties
6719
6720 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
6721
6722         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
6723         graphics port changes.  We still want the coordinates in global screen
6724         coordinates.
6725
6726 2005-04-14  Jackson Harper  <jackson@ximian.com>
6727
6728         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6729         check plus minus or checkbox clicks unless those features are enabled.
6730
6731 2005-04-14  Jackson Harper  <jackson@ximian.com>
6732
6733         * TreeView.cs: Add methods for setting the top and bottom visible
6734         nodes. TreeNode::EnsureVisible uses these methods.
6735         * TreeNode.cs: Implement EnsureVisible
6736
6737 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
6738
6739         * Form.cs: Pospone menu assignation if the window has not been created yet
6740         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6741         size and position
6742
6743 2005-04-12  Jackson Harper  <jackson@ximian.com>
6744
6745         * TreeView.cs: Set the TopNode properly when scrolling
6746         occurs. This has the added benifit of reducing the amount of
6747         walking that needs to be done when drawing. Also removed an old
6748         misleading TODO.
6749         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6750         
6751 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
6752
6753         * Timer.cs: fixes interval setting when the timer is already enabled
6754         
6755 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
6756
6757         * FolderBrowserDialog.cs: First approach
6758
6759 2005-04-09  Peter Bartok  <pbartok@novell.com>
6760
6761         * FolderBrowserDialog: Added
6762
6763 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
6764
6765         * LinkLabel.cs: move drawing code into the theme
6766         * ThemeWin32Classic.cs: drawing code and painting background bugfix
6767         * Theme.cs: define DrawLinkLabel method
6768
6769 2005-04-05  Jackson Harper  <jackson@ximian.com>
6770
6771         * BindingContext.cs: Use weak references so these bad actors don't
6772         stay alive longer then they need to.
6773
6774 2005-04-05  Jackson Harper  <jackson@ximian.com>
6775
6776         * ListControl.cs: Basic implementation of complex databinding.
6777         * ComboBox.cs:
6778         * ListBox.cs: Add calls to ListControl databinding methods.
6779
6780 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
6781
6782         * FileDialog.cs:
6783           - Don't change PopupButtonState to Normal when the
6784             PopupButton gets pressed several times.
6785           - Renamed ButtonPanel to PopupButtonPanel
6786
6787 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
6788
6789         * ColorDialog.cs: Use cached objects instead of creating them
6790         * LinkLabel.cs: Use cached objects instead of creating them
6791         * Splitter.cs: Use cached objects instead of creating them
6792         * FontDialog.cs: Use cached objects instead of creating them
6793         * PropertyGridView.cs: Use cached objects instead of creating them
6794         * MessageBox.cs: Use cached objects instead of creating them
6795         * FileDialog.cs: Use cached objects instead of creating them
6796         * ThemeWin32Classic.cs: Use cached objects instead of creating them
6797         * TreeView.cs: Use cached objects instead of creating them
6798         
6799 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
6800
6801         * Control.cs: use Equals to compare the font since no == op
6802         * ScrollBar.cs: use Equals to compare the font since no == op
6803
6804 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
6805
6806         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6807
6808 2005-04-01  Jackson Harper  <jackson@ximian.com>
6809
6810         * Binding.cs: Implement IsBinding.
6811         * BindingManagerBase.cs:
6812         * PropertyManager.cs:
6813         * CurrencyManager.cs: Add IsSuspended property.
6814
6815 2005-04-01  Jackson Harper  <jackson@ximian.com>
6816
6817         * Binding.cs: Had some IsAssignableFrom calls backwards.
6818
6819 2005-04-01  Jackson Harper  <jackson@ximian.com>
6820
6821         * Binding.cs: Handle null data members when pulling data.
6822         * PropertyManager.cs: Handle the data member being a property that
6823         does not exist.
6824
6825 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6826
6827         * DataGridTextBoxColumn.cs: fixes signature
6828         * DataGrid.cs: calls right constructor
6829
6830 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6831
6832         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6833         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6834         * GridTableStylesCollection.cs: implements GridTableStylesCollection
6835         * DataGridTableStyle.cs: implements DataGridTableStyle
6836         * DataGridBoolColumn.cs: implements DataGridBoolColumn
6837         * DataGridTextBox.cs: implements DataGridTextBox
6838         * DataGridColumnStyle.cs: implements DataGridColumnStyle
6839
6840 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
6841
6842         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6843
6844 2005-03-29  Peter Bartok  <pbartok@novell.com>
6845
6846         * Application.cs:
6847           - Properly implemented CompanyName property
6848           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6849             returns a path that includes CompanyName, ProductName and
6850             Version (fixes bug #70330)
6851
6852 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
6853
6854         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6855           fixes bug #72588.
6856
6857 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6858
6859         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6860         
6861           - Added ReadOnly CheckBox
6862           - Further refactoring: moved some code from Open-/SaveFileDialog
6863             to FileDialog
6864
6865 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6866
6867         * OpenFileDialog.cs: Fixed CheckFileExists
6868         * FileDialog.cs:
6869           Moved FileView and DirComboBox outside FileDialog class.
6870           They can now be used outside FileDialog
6871
6872 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6873
6874         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6875         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6876
6877 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6878
6879         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6880           - Added missing CreatePrompt property in SaveDialog
6881           - Overall SaveDialog handling should be better now
6882           - Added non standard ShowHiddenFiles property
6883           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6884           - Added InitialDirectory and RestoreDirectory support
6885
6886 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
6887
6888         * FileDialog.cs: Made dirComboBox usable
6889
6890 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
6891
6892         * FileDialog.cs: Added Filter support (case sensitiv)
6893
6894 2005-03-24  Jackson Harper  <jackson@ximian.com>
6895
6896         * TabControl.cs: Need a couple more pixels for the lines.
6897
6898 2005-03-23  Jackson Harper  <jackson@ximian.com>
6899
6900         * TabControl.cs: Give the tab page focus when it is selected.
6901
6902 2005-03-23  Jackson Harper  <jackson@ximian.com>
6903
6904         * TabControl.cs: Account for the drawing of tabs borders when
6905         invalidating. If the slider was clicked dont do click detection on
6906         the tabs.
6907
6908 2005-03-23  Jackson Harper  <jackson@ximian.com>
6909
6910         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6911
6912 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
6913
6914         * CategoryGridEntry.cs: Added
6915         * GridItem.cs: Added helper properties
6916         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6917         * GridEntry.cs: Updated code for collection
6918         * PropertyGrid.cs: Cleaned up some formatting
6919         * PropertyGridView.cs: Added drop down functionality for enums.
6920         * GridItemCollection.cs: Added enumerator logic
6921         * PropertyGridEntry.cs: Added
6922
6923 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6924
6925         * FileDialog.cs:
6926           - Removed unnecessary commented code
6927           - Fixed handling for entering the filename manually in the combobox
6928
6929 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6930
6931         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6932
6933 2005-03-18  Peter Bartok  <pbartok@novell.com>
6934
6935         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6936           them being touching the border
6937
6938 2005-03-18  Peter Bartok  <pbartok@novell.com>
6939
6940         * TextControl.cs: Quick hack to center text better
6941
6942 2005-03-18  Peter Bartok  <pbartok@novell.com>
6943
6944         * ControlPaint.cs:
6945           - Don't throw NotImplemented exceptions, just print a notice once
6946             instead (requested by Miguel). This makes running existing SWF
6947             apps a bit easier
6948         * Control.cs:
6949           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6950           - Added context menu trigger on right click
6951         * Panel.cs: Trigger invalidate on resize
6952         * StatusBar.cs:
6953           - Removed old double-buffer drawing
6954           - Added ResizeRedraw style to force proper update of statusbar
6955         * ListView.cs:
6956           - Removed debug output
6957         * ThemeWin32Classic.cs:
6958           - Fixed drawing of status bar, now draws Text property if there
6959             are no defined panels
6960
6961 2005-03-18  Jackson Harper  <jackson@ximian.com>
6962
6963         * ImageList.cs: When the image stream is set pull all the images
6964         from it.
6965         * ImageListStreamer.cs: Implement reading image list streams.
6966
6967 2005-03-18  Peter Bartok  <pbartok@novell.com>
6968
6969         * ThemeWin32Classic.cs (DrawPictureBox):
6970           - Fixed calculations for centered drawing
6971           - Fixed drawing for normal mode, not scaling the image on normal
6972
6973 2005-03-18  Peter Bartok  <pbartok@novell.com>
6974
6975         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6976           textbox
6977         * FileDialog.cs:
6978           - Made Open/Save button the accept button for FileDialog
6979           - Tied the cancel button to the IButtonControl cancel button
6980           - Save/Open now properly builds the pathname
6981           - Now handles user-entered text
6982           - Preventing crash on right-click if no item is selected
6983           - Fixed Text property, now uses contents of textbox
6984           - Fixed SelectedText property, now just returns the text part that
6985             is selected in the text box
6986
6987 2005-03-18  Jackson Harper  <jackson@ximian.com>
6988
6989         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6990         rect, make sure to de-adjust the interior rect after drawing the
6991         tab text.
6992
6993 2005-03-18  Peter Bartok  <pbartok@novell.com>
6994
6995         * MenuAPI.cs: Remove menu *before* executing selected action to
6996           prevent the menu from 'hanging around'
6997           
6998 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
6999
7000         * XplatUIOSX.cs: Implemented WorkingArea property
7001
7002 2005-03-17  Peter Bartok  <pbartok@novell.com>
7003
7004         * XplatUIX11.cs: Fixed menu coord calculations
7005         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7006           for calculating offsets
7007
7008 2005-03-17  Peter Bartok  <pbartok@novell.com>
7009
7010         * Hwnd.cs: Do not consider menu presence for default client
7011           rectangle location/size
7012         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7013           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7014           translation functions
7015         * FileDialog.cs: Fixed (what I presume is a) typo
7016
7017 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
7018
7019         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7020           X access (avoids X-Async errors)
7021
7022 2005-03-16  Jackson Harper  <jackson@ximian.com>
7023
7024         * TabControl.cs: Raise the SelectedIndexChanged event.
7025
7026 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
7027
7028         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7029           - Removed vertical ToolBar and replaced it with a custom panel
7030             (desktop and home button already work)
7031           - Added Help button (some controls get resized or relocated then)
7032           - Draw correct text depending on Open or Save.
7033           - Fixed some typos...
7034
7035 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
7036
7037         * ScrollBar.cs:
7038           - Only change Maximum and Minimum when need it (bug fix)
7039
7040 2005-03-15  Peter Bartok  <pbartok@novell.com>
7041
7042         * Form.cs: Use Handle for icon, to trigger creation if
7043           the window does not yet exist
7044         * Control.cs:
7045           - CanSelect: Slight performance improvement
7046           - Focus(): Preventing possible recursion
7047           - Invalidate(): Removed ControlStyle based clear flag setting
7048           - WM_PAINT: fixed logic for calling OnPaintBackground
7049           - WM_ERASEBKGND: Fixed logic, added call to new driver method
7050             EraseWindowBackground if the control doesn't paint background
7051         * XplatUIWin32.cs:
7052           - Moved EraseWindowBackground() method to internal methods
7053           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7054             is sent via SendMessage on BeginPaint call on Win32
7055         * XplatUIX11.cs:
7056           - Added EraseWindowBackground() method
7057           - No longer sends WM_ERASEBKGND on .Expose, but on call to
7058             PaintEventStart, which more closely matches Win32 behaviour
7059           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7060           - Fixed SetFocus() to properly deal with client and whole windows
7061         * Hwnd.cs: Added ErasePending property
7062         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7063         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7064
7065 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
7066
7067         * XplatUIOSX.cs:
7068           - Fix hard loop when timers exist.
7069           - Fix bugs with middle and right click for 3 button mice.
7070
7071 2005-03-11  Peter Bartok  <pbartok@novell.com>
7072
7073         * XplatUIX11.cs:
7074           - get_WorkingArea: Need to call X directly, GetWindowPos only
7075             returns cached data now
7076           - Added sanity check to GetWindowPos hwnd usage
7077
7078 2005-03-11  Jackson Harper  <jackson@ximian.com>
7079
7080         * BindingManagerBase.cs: This method isn't used anymore as
7081         PullData now updates the data in the control.
7082
7083 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7084
7085         * Form.cs: fixes menu drawing on X11
7086         * MenuAPI.cs:  fixes menu drawing on X11
7087
7088 2005-03-11  Peter Bartok  <pbartok@novell.com>
7089
7090         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7091           from Jonathan Gilbert; should fix bug #73606
7092         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7093           in Screen coordinates. Thanks, Jordi.
7094         * Form.cs: Added missing attribute
7095
7096 2005-03-11  Peter Bartok  <pbartok@novell.com>
7097
7098         * Form.cs:
7099           - Rudimentary Mdi support
7100           - Removed outdated FormParent code
7101           - Implemented lots of missing properties and methods, still missing
7102             transparency support
7103           - Added missing attributes
7104           - Implemented support for MaximumBounds
7105           - Added firing of various events
7106         * XplatUI.cs: Added SetIcon() method
7107         * XplatUIDriver.cs: Added SetIcon() abstract
7108         * XplatUIOSX.cs: Stubbed out SetIcon() method
7109         * XplatUIX11.cs:
7110           - Implemented SetIcon() support
7111           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7112           - Switched to unix line endings
7113         * XplatUIWin32.cs:
7114           - Made POINT internal so for can access it as part of MINMAX
7115           - Implemented SetIcon() support
7116           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7117             native Mdi support again, might have to go managed)
7118         * Control.cs: Now fires the StyleChanged event
7119         * MdiClient.cs: Added; still mostly empty
7120
7121 2005-03-10  Peter Bartok  <pbartok@novell.com>
7122
7123         * SaveFileDialog.cs: Added emtpy file
7124
7125 2005-03-08  Peter Bartok  <pbartok@novell.com>
7126
7127         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7128           in turn triggers OnCreateContro) when creating a handle for the
7129           first time.
7130         * TextControl.cs: Fixed endless loop in certain cases when
7131           replacing the current selection
7132
7133 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7134
7135         * ScrollBar.cs:
7136           - Honors NewValue changes in Scroll events allowing apps to change it
7137           - Adds First and Last Scroll events
7138           - Fixes Thumb events
7139
7140 2005-03-07  Peter Bartok  <pbartok@novell.com>
7141
7142         * Hwnd.cs: Added DefaultClientRectangle property
7143         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7144           more detailed debug information
7145         * XplatUIX11.cs:
7146           - Fixed size-change feedback loop, where we would pull an old size
7147             off the queue and mistakenly change our window's size to an
7148             earlier value
7149           - Now compressing ConfigureNotify events, to reduce looping and
7150             redraw issues
7151         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7152           is called
7153
7154 2005-03-07  Jackson Harper  <jackson@ximian.com>
7155
7156         * Binding.cs: Push data pushes from data -> property. Check if the
7157         property is readonly when attempting to set it.
7158
7159 2005-03-07  Jackson Harper  <jackson@ximian.com>
7160
7161         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7162         instead of IsSubclassOf. Pulling data now sets the value on the
7163         control.
7164         * PropertyManager.cs:
7165         * CurrencyManager.cs: Just need to pull data when updating now,
7166         because PullData will set the value on the control.
7167
7168 2005-03-04  Jackson Harper  <jackson@ximian.com>
7169
7170         * Binding.cs: Implement data type parsing and converting on pulled
7171         data. TODO: Are there more ways the data can be converted?
7172
7173 2005-03-04  Jackson Harper  <jackson@ximian.com>
7174
7175         * Binding.cs: Support <Property>IsNull checks. Also bind to the
7176         controls Validating method so we can repull the data when the
7177         control loses focus.
7178
7179 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
7180
7181         * ColumnHeader.cs:
7182           - Fixes null string format
7183           
7184         * ListView.cs:
7185           - Adds enum type checks
7186           - Fixes redrawing and recalc need after changing some properties
7187           - Fixes on focus_item set after the event
7188           - Fixes adding columns after the control has been created
7189           
7190         * ThemeWin32Classic.cs:
7191           - Fixes CheckBox focus rectangle
7192           - Fixes ColumnHeader drawing
7193
7194
7195 2005-03-03  Jackson Harper  <jackson@ximian.com>
7196
7197         * Binding.cs: Bind to <Property>Changed events so we can detect
7198         when properties are changed and update the data.
7199
7200 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
7201
7202         * ImageList.cs:
7203           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7204           - Fixes ImageList constructor with ImageList container
7205           - Fixes image scaling (wrong parameters at DrawImage)
7206
7207 2005-02-02  Jackson Harper  <jackson@ximian.com>
7208
7209         * Binding.cs: Make property searches case-insensitive. Eliminate
7210         some duplicated code.
7211
7212 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
7213
7214         * ComboBox.cs:
7215                 - Handle focus event
7216                 - Fix scrollbar events
7217                 - Discard highlighted item if remove it
7218                 - Fixes SelectedItem with strings
7219
7220 2005-03-01  Peter Bartok  <pbartok@novell.com>
7221
7222         * Control.cs:
7223           - Fixed Visible property, now follows (once again) parent chain
7224             to return false if any control in the chain is visible=false
7225           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7226           - Fixed several places where is_visible instead of Visible was used
7227           - Implemented FIXME related to focus selection when setting focused
7228             control to be invisible
7229
7230         * XplatUIWin32.cs: Now using proper method to find out if window is
7231           visible. Thanks to Jordi for pointing it out
7232
7233 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
7234
7235         * ComboBox.cs: show/hide scrollbar instead of creating it
7236
7237 2005-02-27  Jackson Harper  <jackson@ximian.com>
7238
7239         * CurrencyManager.cs: Add PositionChanged stuff.
7240
7241 2005-02-27  Peter Bartok  <pbartok@novell.com>
7242
7243         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7244         * XplatUIOSX.cs: Added GetMenuOrigin() stub
7245         * XplatUIWin32.cs: Implemented GetMenuOrigin()
7246         * XplatUIX11.cs:
7247           - Implemented GetMenuDC()
7248           - Implemented GetMenuOrigin()
7249           - Implemented ReleaseMenuDC()
7250           - Implemented generation of WM_NCPAINT message
7251           - Implemented generation and handling of WM_NCCALCSIZE message
7252         * Form.cs: Added debug helper message for Jordi's menu work
7253         * Hwnd.cs:
7254           - Modified ClientRect property; added setter, fixed getter to handle
7255             setting of ClientRect
7256           - Added MenuOrigin property
7257
7258 2005-02-26  Peter Bartok  <pbartok@novell.com>
7259
7260         * XplatUIX11.cs:
7261           - Destroys the caret if a window that's being destroyed contains it
7262           - Ignores expose events coming from the X11 queue for windows that
7263             already are destroyed
7264           - Now uses the proper variable for handling DestroyNotify, before we
7265             marked the wrong window as destroyed
7266           - Improved/added some debug output
7267
7268 2005-02-26  Peter Bartok  <pbartok@novell.com>
7269
7270         * X11Keyboard.cs: Fixes to work on 64bit systems
7271
7272 2005-02-26  Peter Bartok  <pbartok@novell.com>
7273
7274         * Control.cs:
7275           - Now calling OnHandleDestroyed from DestroyHandle()
7276             instead of Dispose()
7277           - Removed bogus call to controls.Remove() from DestroyHandle()
7278
7279 2005-02-26  Peter Bartok  <pbartok@novell.com>
7280
7281         * Control.cs: Properly destroy child windows when our handle is
7282           destroyed
7283
7284 2005-02-25  Peter Bartok  <pbartok@novell.com>
7285
7286         * XplatUI.cs:
7287           - Added 'DriverDebug' define to allow tracing XplatUI API calls
7288           - Alphabetized Static Methods and Subclasses
7289
7290         * XplatUIX11.cs:
7291           - Added XException class to allow custom handling of X11 exceptions
7292           - Created custom X11 error handler, tied into XException class
7293           - Added support for MONO_XEXCEPTIONS env var to allow the user
7294             to either throw an exception on X errors or continue running
7295             after displaying the error
7296           - Added handling of DestroyNotify message
7297           - Added handler for CreateNotify message (still disabled)
7298           - Improved (tried to at least) Where method to provide file and lineno
7299         * X11Structs.cs:
7300           - Added XErrorHandler delegate
7301           - Added XRequest enumeration (to suppor translation of errors)
7302
7303 2005-02-25  Jackson Harper  <jackson@ximian.com>
7304
7305         * PropertyManager.cs: Implement editing features
7306         * CurrencyManager.cs:
7307         * Binding.cs: First attempt at UpdateIsBinding
7308         * BindingManagerBase.cs: Call UpdateIsBinding before
7309         pushing/pulling data.
7310
7311 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
7312
7313         * MenuAPI.cs: Respect disabled items
7314         * ThemeWin32Classic.cs
7315                 - Caches ImageAttributes creation for DrawImageDisabled
7316                 - Fixes vertical menu line drawing
7317                 - Draws disabled arrows in disable menu items
7318
7319 2005-02-24  Peter Bartok  <pbartok@novell.com>
7320
7321         * Hwnd.cs:
7322           - Added UserData property to allow associating arbitrary objects
7323             with the handle
7324           - Fixed leak; now removing Hwnd references from static windows array
7325         * XplatUIWin32.cs:
7326           - Fixed Graphics leak in PaintEventEnd
7327           - Removed usage of HandleData, switched over to Hwnd class
7328         * HandleData.cs: Removed, obsoleted by Hwnd.cs
7329
7330 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7331
7332         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7333         * ScrollBar.cs: Fixes bug
7334         * TrackBar.cs: removes death code, clipping, mimize refreshes,
7335          keyboard navigation enhancements
7336
7337 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7338
7339         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7340         * GroupBox.cs: Add control styles
7341         * Label.cs: Add control styles
7342         * UpDownBase.cs: Add control styles
7343         * ListBox.cs: Add control styles
7344         * XplatUIWin32.cs: Fixes wrong parameter order
7345
7346
7347 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
7348
7349         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7350
7351 2005-02-23  Jackson Harper  <jackson@ximian.com>
7352
7353         * PropertyManager.cs: Implement property binding. This doesn't
7354         seem to work yet though as (I think) there are some bugs in
7355         System.ComponentModel.PropertyDescriptor.
7356         * BindingContext.cs: Use new PropertyManager constructor.
7357
7358 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
7359
7360         * ProgressBar.cs: use clip region in ProgressBar
7361         * ThemeWin32Classic.cs: use clip region in ProgressBar
7362
7363 2004-02-22  Jackson Harper  <jackson@ximian.com>
7364
7365         * BindingsCollection.cs: Remove some debug code.
7366
7367 2005-02-22  Jackson Harper  <jackson@ximian.com>
7368
7369         * BindingContext.cs:
7370         * ControlBindingsCollection.cs:
7371         * CurrencyManager.cs:
7372         * Binding.cs:
7373         * BindingManagerBase.cs: Initial implementation
7374         * BindingsCollection.cs: Add an internal contains method that the
7375         BindingManagerBase uses to ensure bindings aren't added twice to
7376         the collection.
7377         * PropertyManager.cs: Stubbed out.
7378         * Control.cs:
7379         * ContainerControl.cs: Hook up databinding
7380         
7381 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7382
7383         * XplatUIOSX.cs:
7384           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7385           Fixed Invalidate/Update chain.
7386           Fixed tons of other minor bugs (this is almost a complete rewrite).
7387
7388 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7389
7390         * ComboBox.cs: do subcontrol creation when the control is created
7391
7392 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7393
7394         * Label.cs: fixes image drawing (image and imagelist)
7395         * ThemeWin32Classic.cs: cache brushes
7396         
7397 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7398
7399         * Form.cs: Move menu drawing code to Theme class
7400         * ComboBox.cs: Move ComboBox drawing code to Theme class
7401         * MenuItem.cs: Move menu drawing code to Theme class
7402         * MenuAPI.cs: Move menu drawing code to Theme class
7403         * ThemeWin32Classic.cs: New methods
7404         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7405         * ListBox.cs: Move Listbox drawing code to Theme class
7406         * Theme.cs: New methods
7407
7408 2005-02-20  Peter Bartok  <pbartok@novell.com>
7409
7410         * Control.cs:
7411           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7412             only process mnemonics on those)
7413           - Fixed event sequence for key handling; first calling
7414             ProcessKeyEventArgs now
7415         * TextBoxBase.cs:
7416           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7417             for processing non-character keys
7418           - Fixed WM_CHAR to generate proper event sequence before processing
7419         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7420           generation
7421
7422 2005-02-19  Peter Bartok  <pbartok@novell.com>
7423
7424         * UserControl.cs: Added TextChanged event; added attributes
7425         * SizeGrip.cs: Implemented resizing and optional display of grip
7426         * Form.cs: Fixed attribute
7427         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7428           Changed meaning of ScrollWindow bool argument; instead of the
7429           clear attribute (which will be true usually anyway), it gives the
7430           option of moving child controls as well.
7431         * XplatUIX11.cs:
7432           - Changed to match new ScrollWindow argument
7433           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7434             now handles the implicit parent window a WM puts around us
7435         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7436           to work)
7437         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7438         * TreeView.cs: Adjusted to new ScrollWindow arguments
7439
7440 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7441
7442         * Form.cs: Menu integration with non-client area
7443         * MenuItem.cs: Menu integration with non-client area
7444         * MenuAPI.cs: Menu integration with non-client area
7445
7446 2005-02-18  Peter Bartok  <pbartok@novell.com>
7447
7448         * MethodInvoker.cs: Added
7449         * MdiLayout.cs: Added
7450         * SendKeys.cs: Started implementation
7451         * ErrorIconAlignment.cs: Added
7452
7453 2005-02-18  Peter Bartok  <pbartok@novell.com>
7454
7455         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7456         * Form.cs: Added handling for Menu-related Non-client messages
7457
7458 2005-02-17  Peter Bartok  <pbartok@novell.com>
7459
7460         * UpDownBase.cs: Fixed typo, compilation errors
7461         * DomainUpDown.cs: Fixed attribute value
7462
7463 2005-02-16  Miguel de Icaza  <miguel@novell.com>
7464
7465         * UpDownBase.cs: Attach entry events.
7466         Propagate events.
7467         Add ForeColor property, Focused, InterceptArrowKeys (interception
7468         does not work yet).
7469
7470 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
7471
7472         * Form.cs:
7473                 - Redraw non client are on Setmenu
7474                 - Calc proper menu starting point
7475
7476 2005-02-17  Peter Bartok  <pbartok@novell.com>
7477
7478         * Application.cs: Fixed message_filter check
7479
7480 2005-02-17  Peter Bartok  <pbartok@novell.com>
7481
7482         * Application.cs: Now calls registered message filters
7483         * DockStyle.cs: Fixed attribute
7484         * Form.cs: Fixed attribute
7485         * Menu.cs: Fixed attribute
7486         * ToolTip.cs: Fixed attribute
7487         * TreeNode.cs: Added missing attributes and arranged in regions
7488         * PropertyGrid.cs: Fixed signatures
7489         * TreeNodeCollection.cs: Added attributes
7490         * Splitter.cs: Added missing attributes; arranged into regions
7491         * TabPage.cs: Added missing attributes; arranged into regions
7492         * TextBoxBase.cs: Added missing attributes
7493         * TextBox.cs: Added missing attributes
7494         * ArrangeDirection.cs: Added missing attributes
7495         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7496         * ToolBarButton.cs: Fixed attributes
7497         * AnchorStyles.cs: Fixed attribute
7498         * TrackBar.cs: Fixed attributes
7499         * TabControl.cs: Added missing attributes and arranged into regions
7500         * ToolBar.cs: Fixed attribute
7501         * StatusBar.cs: Fixed signature, organized into regions and added
7502           attributes
7503         * StatusBarPanel.cs: Fixed attributes
7504         * ContentsResizedEventArgs.cs: Implemented
7505         * ContentsResizedEventHandler.cs: Implemented
7506         * DateBoldEventArgs.cs: Implemented
7507         * DateBoldEventHandler.cs: Implemented
7508         * UpDownEventArgs.cs: Implemented
7509         * UpDownEventHandler.cs: Implemented
7510         
7511 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
7512
7513         * Form.cs: first Menu NC refactoring
7514         * MenuAPI.cs: first Menu NC refactoring
7515         
7516 2005-02-16  Peter Bartok  <pbartok@novell.com>
7517
7518         * ImeMode.cs: Added missing attributes
7519         * Menu.cs: Fixed attribute
7520         * GroupBox.cs: Fixed attribute
7521         * Label.cs: Fixed attribute
7522         * ColorDialog.cs (RunDialog): Removed TODO attribute
7523         * ComboBox.cs: Fixed attributes
7524         * ListControl.cs: Added missing attributes
7525         * PropertyGrid.cs: Fixed attributes
7526         * Control.cs: Fixed attributes
7527         * ListViewItem.cs: Added TypeConverter attribute
7528         * NotifyIcon.cs: Fixed attributes
7529         * ListView.cs: Fixed attributes
7530         * ButtonBase.cs: Fixed attribute
7531         * ImageList.cs: Added missing attributes
7532         * ContainerControl.cs: Fixed signature
7533         * CheckedListBox.cs: Fixed attribute; added missing attributes
7534         * Panel.cs: Fixed attributes
7535         * PropertyTabChangedEventArgs.cs: Added missing attribute
7536         * PropertyValueChangedEventArgs.cs: Added missing attribute
7537         * Binding.cs: Fixed attribute
7538         * ListViewItemConverter: Implemented ListViewSubItemConverter class
7539         * ListBox.cs: Fixed attribute; added missing attributes;
7540         * ScrollableControl.cs: Added missing attributes
7541         * PictureBox.cs: Added missing attributes; implemented missing property
7542         * DateTimePicker.cs: Added missing attributes
7543         * Theme.cs (ToolWindowCaptionHeight): Fixed type
7544         * MonthCalendar.cs: Fixed attributes
7545         * StatusBarPanel.cs: Added missing attributes
7546         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7547
7548 2005-02-16  Peter Bartok  <pbartok@novell.com>
7549
7550         * TextBoxBase.cs: The previous method to enforce height yet remember
7551           the requested high was less than ideal, this is an attempt to do
7552           it better.
7553         * Control.cs: Added comment about possible problem
7554         * Copyright: Updated format
7555         * GridItemType.cs: Fixed swapped values
7556
7557 2005-02-15  Jackson Harper  <jackson@ximian.com>
7558
7559         * BaseCollection.cs: Use property so we never access an
7560         uninitialized list. Also initialize the list in the property.
7561
7562 2005-02-15  Peter Bartok  <pbartok@novell.com>
7563
7564         * GroupBox.cs (ProcessMnemonic): Implemented
7565         * Label.cs (ProcessMnemonic): Implemented
7566         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7567           hotkeys
7568
7569 2005-02-15  Peter Bartok  <pbartok@novell.com>
7570
7571         * RadioButton.cs (ProcessMnemonic): Implemented
7572         * CheckBox.cs (ProcessMnemonic): Implemented
7573         * Control.cs:
7574           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7575             handling
7576           - Added internal method to allow calling ProcessMnemonic from other
7577             controls
7578         * ContainerControl.cs:
7579           - Started support for handling validation chain handling
7580           - Implemented ProcessMnemonic support
7581           - Added Select() call to Active, to make sure the active control
7582             receives focus
7583         * Form.cs: Setting toplevel flag for Forms (this was lost in the
7584           FormParent rewrite)
7585         * ThemeWin32Classic.cs:
7586           - DrawCheckBox(): Fixed stringformat to show hotkeys
7587           - DrawRadioButton(): Fixed stringformat to show hotkeys
7588         * CommonDialog.cs: Removed WndProc override, not needed
7589
7590 2005-02-14  Peter Bartok  <pbartok@novell.com>
7591
7592         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7593           missed those in the rewrite
7594
7595 2005-02-14  Miguel de Icaza  <miguel@novell.com>
7596
7597         * NumericUpDown.cs (Increment, ToString): Add.
7598         (DecimalPlaces): implement.
7599         
7600         Add attributes.
7601         
7602         * UpDownBase.cs: Add the designer attributes.
7603
7604 2005-02-13  Peter Bartok  <pbartok@novell.com>
7605
7606         * Panel.cs: Removed border_style, now in Control
7607         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7608           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7609
7610 2005-02-13  Peter Bartok  <pbartok@novell.com>
7611
7612         * MouseButtons.cs: Added missing attributes
7613         * XplatUIStructs.cs: Added enumeration for title styles
7614         * LeftRightAlignment.cs: Added missing attributes
7615         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7616           it compatible with Graphics.FromHwnd()
7617         * SelectedGridItemChangedEventArgs.cs: Fixed property type
7618         * Keys.cs: Added missing attributes
7619         * SelectionRange.cs: Added missing attributes
7620         * SelectionRangeConverter.cs: Added
7621         * XplatUI.cs:
7622           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7623             ReleaseMenuDC methods
7624           - Renamed ReleaseWindow to UngrabWindow
7625           - Added proper startup notice to allow version identification
7626         * Form.cs:
7627           - Added missing attributes
7628           - Removed FormParent concept
7629         * Label.cs: Removed border_style field, now in Control
7630         * RadioButton.cs: Now properly selects RadioButton when focus is
7631           received
7632         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7633         * Control.cs:
7634           - Added missing attributes
7635           - Added borderstyle handling
7636           - Removed FormParent concept support
7637           - Fixed calls to XplatUI to match changed APIs
7638           - Fixed bug that would case us to use disposed Graphics objects
7639           - Removed unneeded internal methods
7640           - PerformLayout(): Fixed to handle DockStyle.Fill properly
7641           - SelectNextControl(): Fixed to properly check common parents
7642         * TextBoxBase.cs: Removed border_style field (now in Control)
7643         * MessageBox.cs:
7644           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7645             fixed calculations for form size
7646           - Added support for localized strings and icons
7647           - Improved form size calculations, added border
7648         * ListView.cs: Removed border_style field (now in Control)
7649         * X11Structs.cs: Moved several structs from X11 driver here
7650         * X11Keyboard.cs: Changed debug message
7651         * Application.cs: Removed FormParent concept support
7652         * CommonDialog.cs:
7653           - Resetting end_modal flag
7654           - Removed FormParent concept support
7655         * NativeWindow.cs: Removed FormParent concept support
7656         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7657           Client area and Non-Client whole window to allow support for WM_NC
7658           messages
7659         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7660           prevent using it until it supports Hwnd as per Geoff Norton's request
7661         * ToolBar.cs: Fixed drawing, was not doing proper drawing
7662         * PictureBox.cs: Removed border_style field, now in Control
7663         * XplatUIWin32.cs: Added new driver methods
7664
7665 2005-02-12  Peter Bartok  <pbartok@novell.com>
7666
7667         * OpacityConverter.cs: Implemented
7668         * Hwnd.cs: Internal class to support drivers that need to emulate
7669           client area/non-client area window behaviour
7670
7671 2005-02-11  Peter Bartok  <pbartok@novell.com>
7672
7673         * KeysConverter.cs: Implemented
7674
7675 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
7676
7677         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7678         * LinkLabel: Added missing attributes
7679         * MainMenu.cs: fixes ToString
7680         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7681         * ListBox.cs: fixes event position
7682         * TrackBar.cs: adds missing attributes and events
7683         
7684 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
7685
7686         * MenuItem.cs: Use SystemInformation and bug fixes
7687         * MenuAPI.cs: Use SystemInformation and bug fixes
7688
7689 2005-02-09  Jackson Harper  <jackson@ximian.com>
7690
7691         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7692         their keystate otherwise things like VK_MENU get stuck "on".
7693
7694 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
7695
7696         * ListBox.cs: Fixes AddRange bug
7697         
7698 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
7699
7700         * ProgressBar.cs
7701                 - Add missing attributes
7702                 - Add missing method
7703                 
7704         * CheckedListBox.cs: Added missing attributes
7705                 - Add missing attributes
7706                 - Remove extra method
7707         
7708         * ComboBox.cs: Added missing attributes
7709         * VScrollBar.cs: Added missing attributes
7710         * ScrollBar.cs:  Added missing attributes
7711         * ListBox.cs: Fixes signature, add missing consts
7712         * LinkArea.cs:   Added missing attributes
7713         
7714
7715 2005-02-08  Peter Bartok  <pbartok@novell.com>
7716
7717         * Menu.cs: Added missing attributes
7718         * MainMenu.cs: Added missing attributes
7719         * GroupBox.cs: Added missing attributes
7720         * Label.cs: Added missing attributes
7721         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7722         * ColorDialog.cs:
7723           - Added Instance and Options properties
7724           - Added missing attributes
7725         * Cursor.cs: Made Serializable
7726         * NotifyIcon: Added missing attributes
7727         * MenuItem.cs: Added missing attributes
7728         * TextBoxBase.cs: Implemented AppendText() and Select() methods
7729         * Panel.cs: Added Missing attributes
7730         * MonthCalendar.cs: Fixed CreateParams
7731
7732 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7733         
7734         * LinkLabel.cs:
7735                 - Fixes signature
7736                 - Fixes issues with links
7737                 - Adds the class attributes
7738
7739 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7740         
7741         * ComboBox.cs:
7742                 - Fixes button when no items available in dropdown
7743                 - Fixes repainting problems
7744                 - Adds the class attributes
7745                 
7746 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7747
7748         * XplatUIOSX.cs: Detect the menu bar and title bar height from
7749         the current theme.  Cache these on startup.
7750
7751 2005-02-07  Jackson Harper  <jackson@ximian.com>
7752
7753         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7754         the scrollbar buttons when they are depressed.
7755
7756 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7757
7758         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7759         Get the display size from the main displayid.  We currently dont
7760         support multiple display configurations.
7761
7762 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7763
7764         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7765
7766 2005-02-07  Miguel de Icaza  <miguel@novell.com>
7767
7768         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7769
7770 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
7771
7772         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7773
7774 2005-02-04  Jackson Harper  <jackson@ximian.com>
7775
7776         * ThemeWin32Classic.cs: Respect the clipping rect when
7777         drawing. Only fill the intersection of clips and rects so there
7778         isn't a lot of large fills.
7779         * ScrollBar.cs: Pass the correct clipping rect to the theme
7780         engine. Remove some debug code.
7781
7782 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
7783         
7784         * DateTimePicker.cs:
7785                 - Fixed crash on DateTime.Parse, use Constructor instead
7786
7787 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7788         
7789         * MenuItem.cs:
7790         * MenuAPI.cs:
7791                 - Owner draw support (MeasureItem and DrawItem)
7792
7793 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7794         
7795         *  Menu.cs:
7796                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7797                 - Fixes MenuItems.Add range
7798         * MenuItem.cs:
7799                 - MergeMenu and Clone and CloneMenu functions
7800
7801 2005-02-03  Jackson Harper  <jackson@ximian.com>
7802
7803         * ScrollBar.cs: Make abstract
7804         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7805         is abstract.
7806
7807 2005-02-03  Jackson Harper  <jackson@ximian.com>
7808
7809         * ScrollBar.cs: First part of my scrollbar fixups. This removes
7810         all the unneeded refreshes and uses invalidates with properly
7811         computed rects.
7812
7813 2005-02-03  Peter Bartok  <pbartok@novell.com>
7814
7815         * ComponentModel.cs: Added
7816         * IDataGridEditingService.cs: Added
7817         * Timer.cs: Added missing attributes
7818         * ToolTip.cs: Added missing attributes
7819
7820 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
7821
7822         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7823
7824 2005-02-03  Peter Bartok  <pbartok@novell.com>
7825
7826         * ListBox.cs: Added missing attributes
7827
7828 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
7829         
7830         * ListBox.cs:
7831                 - Fixes font height after font change
7832                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7833                 
7834 2005-02-02  Peter Bartok  <pbartok@novell.com>
7835
7836         * HandleData.cs: Introduced static methods to allow class
7837           to be more self-contained and track it's own HandleData objects
7838         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7839           HandleData to use new static methods
7840
7841 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
7842
7843         * Combobox.cs:
7844                 - Fixes default size and PreferredHeight
7845                 - Missing events
7846                 - ObjectCollection.Insert implementation
7847                 
7848         * ListControl.cs
7849                 - Fixes signature
7850         * ListBox.cs:
7851                 - Several fixes
7852                 - ObjectCollection.Insert implementation
7853                 - No selection after clean
7854                 - Small fixes
7855
7856 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7857
7858         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7859
7860 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
7861
7862         * Combobox.cs:
7863                 - Caches ItemHeight calculation for OwnerDrawVariable
7864                 - Handles dropdown properly
7865                 - Fixes several minor bugs
7866
7867 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7868
7869         * ListBox.cs:
7870                 - Fixes 71946 and 71950
7871                 - Fixes changing Multicolumn on the fly
7872                 - Fixes keyboard navigation on Multicolumn listboxes
7873
7874 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7875         
7876         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7877         crash reporter log.
7878
7879 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7880
7881         * XplatUIOSX.cs: Allow applications to actually exit.
7882
7883 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7884
7885         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
7886         their parent at creation time rather than lazily later.  Fixes a major
7887         regression we were experiencing.
7888
7889 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7890
7891         * ThemeWin32Classic.cs: more date time picker painting fixes
7892         * DateTimePicker.cs: more monthcalendar drop down fixes
7893         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7894
7895 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7896
7897         * ScrollBar.cs:
7898                 - When moving the thumb going outside the control should stop the moving
7899                 - Adds the firing of missing events
7900                 - Fixes no button show if Size is not specified
7901                 - End / Home keys for keyboard navigation
7902
7903 2005-01-30  Peter Bartok  <pbartok@novell.com>
7904
7905         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7906           sanity check to prevent theoretical loop
7907         * XplatUIWin32.cs (SetVisible): Removed debug output
7908         * XplatUIX11.cs (SystrayChange): Added sanity check
7909         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7910         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7911           behaviour, valid until the X11 client window rewrite is done
7912         * TextBox.cs (ctor): Setting proper default foreground and background
7913           colors
7914
7915 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
7916
7917         * Theme: Added DrawDateTimePicker to interface
7918         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7919         * DateTimePicker.cs: Created (still needs keys and painting code)
7920         * DateTimePickerFormat.cs: added
7921         * MonthCalendar.cs: fixed CreateParams for popup window mode
7922           
7923 2005-01-29  Peter Bartok  <pbartok@novell.com>
7924
7925         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7926           this should also the calculations for ligher/darker
7927         * Theme.cs: Fixed defaults for ScrollBar widths/heights
7928
7929 2005-01-29  Peter Bartok  <pbartok@novell.com>
7930
7931         * ArrangeDirection.cs: Added
7932         * ArrangeStartingPositon.cs: Added
7933         * SystemInformation.cs: Implemented
7934         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7935           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7936           used by SystemInformation class
7937         * X11Strucs.cs: Added XSizeHints structure
7938         * MenuAPI.cs:
7939           - Fixed CreateParams to make sure the menu window is always visible
7940           - TrackPopupMenu: Added check to make sure we don't draw the
7941             menu offscreen
7942
7943 2005-01-29  Peter Bartok  <pbartok@novell.com>
7944
7945         * HandleData.cs: Added method for altering invalid area
7946         * TextBoxBase.cs: Implemented TextLength
7947
7948 2005-01-28  Peter Bartok  <pbartok@novell.com>
7949
7950         * XplatUIX11.cs: Improvement over last patch, not sending
7951           the WM_PAINT directly anymore, instead we scroll any pending
7952           exposed areas and let the system pick out the WM_PAINT later
7953
7954 2005-01-28  Peter Bartok  <pbartok@novell.com>
7955
7956         * SWF.csproj: Deleted, no longer used. Instead,
7957           Managed.Windows.Forms/SWF.csproj should be used
7958         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7959           directly, to avoid a potential race condition with the next
7960           scroll
7961
7962 2005-01-28  Peter Bartok  <pbartok@novell.com>
7963
7964         * XplatUI.cs: Made class internal
7965
7966 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
7967
7968         * CheckedListBox.cs:
7969                 - Draw focus
7970                 - Fixed Drawing
7971                 - Missing methods and events
7972
7973 2005-01-27  Peter Bartok  <pbartok@novell.com>
7974
7975         * Application.cs (Run): Don't use form if we don't have one
7976
7977 2005-01-27  Peter Bartok  <pbartok@novell.com>
7978
7979         * TextBoxBase.cs (get_Lines): Fixed index off by one error
7980
7981 2005-01-27  Peter Bartok  <pbartok@novell.com>
7982
7983         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7984         * GridItem.cs: Added; Patch by Jonathan S. Chambers
7985         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7986         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7987         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7988         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7989         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7990         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7991         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7992         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7993         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7994         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7995
7996 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7997
7998         * Combobox.cs:
7999                 - Draw focus on Simple Combobox
8000                 - Fixes drawing issues
8001                 - fixes 71834
8002
8003 2005-01-27  Peter Bartok  <pbartok@novell.com>
8004
8005         * Form.cs:
8006           - Place window in default location, instead of hardcoded 0/0
8007           - Send initial LocationChanged event
8008         * Control.cs:
8009           - UpdateBounds after creation to find out where the WM placed us
8010           - Make sure that if the ParentForm changes location the Form
8011             is notified
8012         * XplatUIX11.cs: XGetGeometry will not return the coords relative
8013             to the root, but to whatever the WM placed around us.
8014             Translate to root coordinates before returning toplevel
8015             coordinates
8016         * XplatUIWin32.cs: Removed debug output
8017         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8018           flag to GetWindowPos, to allow translation of coordinates on X11
8019
8020 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8021
8022         * ListBox.cs: connect LostFocus Event
8023
8024 2005-01-27  Peter Bartok  <pbartok@novell.com>
8025
8026         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8027           XplatUIX11.cs: Extended the Systray API
8028         * Form.cs: Removed debug output
8029         * Application.cs: Fixed focus assignment, always need to call
8030           XplatUI.Activate() since Form.Activate() has rules that may
8031           prevent activation
8032         * NotifyIcon.cs: Should be complete now
8033         * ToolTip.cs: Worked around possible timer bug
8034
8035 2005-01-27  Jackson Harper  <jackson@ximian.com>
8036
8037         * TabControl.cs:
8038         - Only invalidate the effected tabs when the
8039         selected index changes. This reduces drawing and gets rid of some
8040         flicker.
8041         - Only refresh if the tabs need to be shifted, otherwise only
8042         invalidate the slider button.
8043         - On windows the tabs are not filled to right if the slider is
8044         visible.
8045         
8046 2005-01-27  Jackson Harper  <jackson@ximian.com>
8047
8048         * TabControl.cs: Only refresh on mouseup if we are showing the
8049         slider. Also only invalidate the button whose state has changed.
8050
8051 2005-01-26  Peter Bartok  <pbartok@novell.com>
8052
8053         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8054         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8055           and SystrayRemove() methods
8056         * XplatUIOSX.cs: Stubbed Systray methods
8057         * XplatUIX11.cs:
8058           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8059             methods
8060           - Fixed broken XChangeProperty calls (marshalling messed up things)
8061         * X11Structs.cs: Added enums and structs required for Size hinting
8062         * NotifyIcon.cs: Added & implemented
8063
8064 2005-01-26  Jackson Harper  <jackson@ximian.com>
8065
8066         * TabControl.cs: Space vertically layed out tabs properly.
8067
8068 2005-01-26  Peter Bartok  <pbartok@novell.com>
8069
8070         * Form.cs (CreateClientParams): Always set the location to 0,0
8071           since we're a child window.
8072
8073         * Control.cs (SetVisibleCore): Always explicitly setting the location
8074           of a toplevel window, apparently X11 doesn't like to move windows
8075           while they're not mapped.
8076
8077 2005-01-26  Jackson Harper  <jackson@ximian.com>
8078
8079         * TabControl.cs: Implement FillToRight size mode with vertically
8080         rendered tabs.
8081
8082 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8083
8084         * ControlPaint.cs, ThemeWin32Classic.cs
8085                 - Fixes DrawFocusRectangle
8086
8087 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8088
8089         * MenuAPI.cs:
8090                 - MenuBar tracking only starts when item is first clicked
8091                 - Fixes menu hidding for multiple subitems
8092                 - Unselect item in MenuBar when item Executed
8093                 - Fixes bug 71495
8094
8095 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8096
8097         * ListControl.cs:
8098                 - IsInputKey for ListBox
8099         * ListBox.cs:
8100                 - Focus item
8101                 - Shift and Control item selection
8102                 - Implement SelectionMode.MultiExtended
8103                 - Fixes RightToLeft
8104         * ComboBox.cs:
8105                 - IsInputKey implemented
8106                 - Do not generate OnTextChangedEdit on internal txt changes
8107                 
8108 2005-01-23  Peter Bartok  <pbartok@novell.com>
8109
8110         * AccessibleObject.cs: Partially implemented Select()
8111         * MonthCalendar.cs: Added missing attributes and events
8112         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8113           form can properly override CreateParams.
8114         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8115           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8116           Control performs Invalidate & Update
8117         * NativeWindow (CreateHandle): Added special handling for Form
8118           and Form.FormParent classes to allow overriding of From.CreateParams
8119         * Control.cs:
8120           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8121             name 'owner'
8122           - ControlNativeWindow: Added Owner property
8123           - Removed usage of Refresh() on property changes, changed into
8124             Invalidate(), we need to wait until the queue is processed for
8125             updates, direct calls might cause problems if not all vars for
8126             Paint are initialized
8127           - Added call to UpdateStyles() when creating the window, to set any
8128             styles that CreateWindow might have ignored.
8129           - Added support for Form CreateParent overrides to UpdateStyles()
8130         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8131           CreateParams are now properly overridable
8132         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8133           CreateParams are now properly overridable
8134
8135 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8136
8137         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8138         OnTextBoxChanged.
8139
8140         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8141         recursive invocation that I have not figured out yet.
8142
8143         Reset the timer when not using (it was accumulating).
8144
8145
8146         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8147         user has made changes that require validation.
8148
8149         Reset changing to avoid loops.
8150
8151 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8152
8153         * NumericUpDown.cs: Display value at startup.
8154
8155         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8156         ValidateEditText.
8157
8158         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8159         filled in.  Added some basic parsing of text.
8160
8161         Still missing the OnXXX method overrides, and figuring out the
8162         events that must be emitted.
8163
8164         * UpDownBase.cs: Handle UserEdit on the Text property.
8165         
8166 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8167
8168         * ComboBox.cs:
8169           - Fixes IntegralHeight
8170           - ToString method
8171
8172 2005-01-21  Jackson Harper  <jackson@ximian.com>
8173
8174         * TabControl.cs: Set the SelectedIndex property when SelectedTab
8175         is set so that the page visibility is updated and the tabs are
8176         sized correctly.
8177
8178 2005-01-21  Jackson Harper  <jackson@ximian.com>
8179
8180         * TabControl.cs: Use cliping rectangle for blitting. Give the
8181         theme the clipping rect so we can do clipping while
8182         drawing. Remove some debug code.
8183
8184 2005-01-21  Jackson Harper  <jackson@ximian.com>
8185
8186         * TabPage.cs: Add a new method so tab pages can force the tab
8187         control to recalculate the tab page sizes.
8188         * TabControl.cs: UpdateOwner needs to make the tab control recalc
8189         sizes.
8190
8191 2005-01-20  Jackson Harper  <jackson@ximian.com>
8192
8193         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8194
8195 2005-01-20  Jackson Harper  <jackson@ximian.com>
8196
8197         * TreeView.cs: Set the bounds for nodes properly. They were
8198         getting screwed up when checkboxes were not enabled, but images
8199         were.
8200
8201 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
8202
8203         * ListBox.cs:
8204                 - Owner draw support
8205                 - Fixes
8206                 
8207 2005-01-20  Jackson Harper  <jackson@ximian.com>
8208
8209         * XplatUIStructs.cs: More misc keys
8210         * X11Keyboard.cs: Ignore some control keys.
8211
8212 2005-01-20  Jackson Harper  <jackson@ximian.com>
8213
8214         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8215         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8216
8217 2005-01-19  Peter Bartok  <pbartok@novell.com>
8218
8219         * Control.cs: Un-selecting the control when it is loosing focus
8220
8221 2005-01-19  Jackson Harper  <jackson@ximian.com>
8222
8223         * TreeView.cs: Hook up to the text controls leave event so we can
8224         end editing when the users clicks outside the text box.
8225         
8226 2005-01-19  Jackson Harper  <jackson@ximian.com>
8227
8228         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8229         get set in the conversion array.
8230
8231 2005-01-19  Peter Bartok  <pbartok@novell.com>
8232
8233         * Application.cs (ModalRun): Added a call to CreateControl to ensure
8234           focus is properly set
8235         * Button.cs:
8236           - Added missing attributes
8237           - removed styles, those are already set in the base class
8238         * ButtonBase.cs:
8239           - Added missing attributes
8240           - Added clip window styles
8241         * CheckBox.cs: Added missing attributes
8242         * CommonDialog.cs:
8243           - FormParentWindow.CreateParams: Added required clip styles
8244         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8245           also filters modifier keys
8246         * MessageBox.cs:
8247           - Added assignment of Accept and Cancel button to enable Enter
8248             and Esc keys in MessageBox dialogs
8249           - FormParentWindow.CreateParams: Added required clip styles
8250         * RadioButton.cs: Added missing attributes
8251         * TextControl.cs: No longer draws selection if control does not
8252           have focus
8253         * TextBoxBase.cs:
8254           - Now draws simple rectangle around test area to make it obvious
8255             there's a control. This is a hack until we properly support borders
8256           - A few simple fixes to support selections better, now erases selected
8257             text when typing, and resets selection when using movement keys
8258
8259 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
8260
8261         * UpDownBase.cs: Added some new properties.
8262
8263         * DomainUpDown.cs: Implement a lot to get my test working.
8264
8265 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8266
8267         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8268
8269 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8270
8271         * OSXStructs (WindowAttributes): Fixed csc complaints
8272
8273 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8274
8275         * XplayUIOSX.cs:
8276           OSXStructs.cs: Initial refactor to move enums and consts into
8277           OSXStructs and use them in the driver for greater readability.
8278
8279 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8280
8281         * XplatUIOSX.cs: Initial support for Standard Cursors.
8282         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8283
8284 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
8285
8286         * ComboBox.cs: ability to change style when the ctrl is already
8287         created, missing methods and events, bug fixes, signature fixes
8288
8289 2005-01-19  Peter Bartok  <pbartok@novell.com>
8290
8291         * Cursors.cs (ctor): Added ctor to fix signature
8292
8293 2005-01-18  Peter Bartok  <pbartok@novell.com>
8294
8295         * Button.cs: Implemented DoubleClick event
8296         * ButtonBase.cs:
8297           - Fixed keyboard handling to behave like MS, where the press of
8298             Spacebar is equivalent to a mousedown, and the key release is
8299             equivalent to mouseup. Now a spacebar push will give the same
8300             visual feedback like a mouse click.
8301           - Added missing attributes
8302           - Added ImeModeChanged event
8303           - Added support for generating DoubleClick event for derived classes
8304         * CheckBox.cs:
8305           - Implemented DoubleClick event
8306           - Added missing attributes
8307         * CommonDialog.cs: Added missing attribute
8308         * ContextMenu.cs: Added missing attributes
8309         * RadioButton.cs:
8310           - AutoChecked buttons do not allow to be unselected when clicked
8311             (otherwise we might end up with no selected buttons in a group)
8312           - Added missing attributes
8313           - Implemented DoubleClickEvent
8314         * ThreadExceptionDialog.cs: Enabled TextBox code
8315
8316 2005-01-18  Peter Bartok  <pbartok@novell.com>
8317
8318         * Form.cs: Removed debug output
8319         * Button.cs: Added support for DoubleClick method
8320
8321 2005-01-18  Peter Bartok  <pbartok@novell.com>
8322
8323         * Form.cs:
8324           - Added method to parent window that allows triggering size
8325             calculations when a menu is added/removed
8326           - set_Menu: Cleaned up mess from early days of Form and Control,
8327             now properly triggers a recalc when a menu is added/removed
8328           - Added case to select form itself as focused form if no child
8329             controls exist
8330           - Added PerformLayout call when showing dialog, to ensure properly
8331             placed controls
8332         * Control.cs:
8333           - Select(): Made internal so Form can access it
8334           - Focus(): Only call Xplat layer if required (avoids loop), and sets
8335             status
8336         * Application.cs (Run): Removed hack and calls PerformLayout instead
8337           to trigger calculation when Form becomes visible
8338
8339 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
8340
8341         * ComboBox.cs: fixes for ownerdraw
8342
8343 2005-01-18  Peter Bartok  <pbartok@novell.com>
8344
8345         * TextControl.cs:
8346           - Sentinel is no longer static, each Document gets it's own, this
8347             avoids locking or alternatively overwrite problems when more
8348             than one text control is used simultaneously.
8349           - Switched to use Hilight and HilightText brushes for text selection
8350
8351         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8352
8353 2005-01-18  Peter Bartok  <pbartok@novell.com>
8354
8355         * Control.cs:
8356           - Hooked up the following events:
8357                 o ControlAdded
8358                 o ControlRemoved
8359                 o HandleDestroyed
8360                 o ImeModeChanged
8361                 o ParentChanged
8362                 o TabStopChanged
8363                 o Invalidated
8364                 o SystemColorsChanged
8365                 o ParentFontChanged
8366                 o Move
8367           - Removed debug output
8368           - Added a call to the current theme's ResetDefaults when a color change
8369             is detected
8370         * Form.cs: Now setting the proper ImeMode
8371         * Theme.cs: Defined a method to force recreation of cached resources
8372           and rereading of system defaults (ResetDefaults())
8373         * ThemeWin32Classic.cs: Added ResetDefaults() stub
8374
8375 2005-01-17  Peter Bartok  <pbartok@novell.com>
8376
8377         * Control.cs: Added missing attributes
8378
8379 2005-01-17  Jackson Harper  <jackson@ximian.com>
8380
8381         * TreeNode.cs: Implement editing. Add missing properties selected
8382         and visible.
8383         * TreeView.cs: Implement node editing. Also some fixes to use
8384         Invalidate (invalid area) instead of Refresh when selecting.
8385
8386 2005-01-17  Peter Bartok  <pbartok@novell.com>
8387
8388         * Control.cs:
8389           - Implemented InvokeGotFocus() method
8390           - Implemented InvokeLostFocus() method
8391           - Implemented InvokePaint() method
8392           - Implemented InvokePaintBackground() method
8393           - Implemented InvokeClick() method
8394           - Implemented FindForm() method
8395           - Implemented RectangleToClient() method
8396           - Implemented ClientToRectangle() method
8397           - Implemented ResetBackColor() method
8398           - Implemented ResetCursor() method
8399           - Implemented ResetFont() method
8400           - Implemented ResteForeColor() method
8401           - Implemented ResetImeMode() method
8402           - Implemented ResetLeftToRight() method
8403           - Implemented ResetText() method
8404           - Implemented Scale() methods
8405           - Implemented ScaleCore() method
8406           - Implemented Update() method
8407           - Removed unused variables
8408           - Stubbed AccessibilityNotifyClients and
8409             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8410             with those yet)
8411           - Now setting proper default for RightToLeft property
8412           - Fixed bug in SetClientSizeCore that would cause windows to get
8413             really big
8414           - Now sending Click/DoubleClick events
8415           - Now selecting controls when left mouse button is clicked on
8416             selectable control
8417         * AccessibleEvents.cs: Added
8418         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8419         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8420         * XplatUIWin32.cs: Implemented UpdateWindow() method
8421         * XplatUIX11.cs: Implemented UpdateWindow() method
8422         * Form.cs: Removed stray semicolon causing CS0162 warning
8423         * ThemeWin32Classic.cs: Fixed unused variable warnings
8424         * ScrollableControl.cs: Now calls base method for ScaleCore
8425         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8426           style to avoid interference with internal click handler (which is
8427           different than standard Control click handling)
8428         * RadioButton.cs:
8429           - Now unchecks all sibling radio buttons when control is
8430             selected (Fixes #68756)
8431           - Removed internal tabstop variable, using the one inherited from
8432             Control
8433
8434 2005-01-17  Jackson Harper  <jackson@ximian.com>
8435
8436         * NavigateEventArgs.cs: Fix base type.
8437         * LinkLabel.cs: Sig fix
8438         
8439 2005-01-17  Jackson Harper  <jackson@ximian.com>
8440
8441         * TreeView.cs: Only invalidate the effected nodes bounds when
8442         selecting nodes.
8443
8444 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8445
8446         * XplatUIWin32.cs: fixes Win32 marshaling
8447         * XplatUIX11.cs: fixes method signature
8448
8449 2005-01-17  Peter Bartok  <pbartok@novell.com>
8450
8451         * XplatUIX11.cs: Clean up resources when we no longer need them
8452
8453 2005-01-17  Peter Bartok  <pbartok@novell.com>
8454
8455         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8456           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8457           and DestroyCursor() methods.
8458         * Cursor.cs: Partially implemented, now supports standard cursors;
8459           still contains some debug code
8460         * Cursors.cs: Implemented class
8461         * Control.cs:
8462           - WndProc(): Added handling of WM_SETCURSOR message, setting the
8463             appropriate cursor
8464           - Implemented Cursor property
8465           - Replaced break; with return; more straightforwar and possibly
8466             faster
8467           - Now properly setting the result for WM_HELP
8468         * X11Structs.cs: Added CursorFontShape enum
8469         * XplatUIStructs.cs:
8470           - Added StdCursor enum (to support DefineStdCursor() method)
8471           - Added HitTest enum (to support sending WM_SETCURSOR message)
8472         * XplatUIX11.cs:
8473           - Now sends the WM_SETCURSOR message
8474           - Implemented new cursor methods
8475         * XplatUIOSX.cs: Stubbed new cursor methods
8476         * XplatUIWin32.cs:
8477           - Implemented new cursor methods
8478           - Added GetSystemMetrics function and associated enumeration
8479
8480 2005-01-15  Peter Bartok  <pbartok@novell.com>
8481
8482         * Control.cs:
8483           - WndProc(): Now handles EnableNotifyMessage
8484           - SelectNextControl(): Fixed bug where if no child or sibling
8485             controls exist we looped endlessly
8486
8487 2005-01-14  Jackson Harper  <jackson@ximian.com>
8488
8489         * TreeView.cs: Recalculate the tab pages when a new one is added
8490         so that the proper bounding rects are created.
8491
8492 2005-01-14  Jackson Harper  <jackson@ximian.com>
8493
8494         * TreeView.cs: Draw a gray box instead of a grip in the lower
8495         right hand corner when there are both horizontal and vertical
8496         scroll bars.
8497
8498 2005-01-14  Jackson Harper  <jackson@ximian.com>
8499
8500         * Control.cs: When erasing backgrounds use FromHwnd instead of
8501         FromHdc when there is a NULL wparam. This occurs on the X driver.
8502         * XplatUIX11.cs: Set the wparam to NULL.
8503
8504 2005-01-13  Jackson Harper  <jackson@ximian.com>
8505
8506         * PictureBox.cs: Implement missing methods (except ToString, need
8507         to test that on windows) and events. When visibility is changed we
8508         need to redraw the image because the buffers are killed. When size
8509         is changed refresh if the sizemode needs it.
8510
8511 2005-01-13  Peter Bartok  <pbartok@novell.com>
8512
8513         * Control.cs (SelectNextControl): Was using wrong method to select
8514           a control
8515
8516 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8517
8518         * ComboBox.cs: fixes dropstyle
8519
8520 2005-01-13  Peter Bartok  <pbartok@novell.com>
8521
8522         * Form.cs:
8523           - Implemented Select() override
8524           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8525           - Now sets keyboard focus on startup
8526         * Control.cs (SelectNextControl): Now properly handles directed=true
8527         * TextBoxBase.cs:
8528           - WndProc: Now passes tab key on to base if AcceptTabChar=false
8529           - Added (really bad) focus rectangle (mostly for testing)
8530         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8531           to enforce redraw on focus changes
8532         * ContainerControl.cs:
8533           - Fixed detection of Shift-Tab key presses
8534           - Fixed traversal with arrow keys
8535         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8536           gonna keep this or if it's complete yet
8537         
8538 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8539
8540         * ComboBox.cs: missing properties, fixes
8541
8542 2005-01-13  Peter Bartok  <pbartok@novell.com>
8543
8544         * Panel.cs (ctor): Setting Selectable window style to off
8545         * Splitter.cs (ctor): Setting Selectable window style to off
8546         * GroupBox.cs (ctor): Setting Selectable window style to off
8547         * Label.cs (ctor): Setting Selectable window style to off
8548
8549 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
8550
8551         * UpDownBase.cs (InitTimer): If the timer has been already
8552         created, enable it.
8553
8554         Use a TextBox instead of a Label.
8555
8556 2005-01-12  Jackson Harper  <jackson@ximian.com>
8557
8558         * TreeView.cs: Refresh the tree after sorting the nodes. Always
8559         draw the connecting node lines (when ShowLines is true).
8560         * TreeNode.cs: The nodes index can now be updated. This is used
8561         when a node collection is sorted.
8562         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8563         insert or an existing unsorted node collection can be sorted.
8564         
8565 2005-01-12  Peter Bartok  <pbartok@novell.com>
8566
8567         * ContainerControl.cs: Implemented ProcessDialogKeys()
8568
8569 2005-01-12  Peter Bartok  <pbartok@novell.com>
8570
8571         * Control.cs:
8572           - Implemented SelectNextControl() method
8573           - Several focus related bug fixes
8574           - Fixed Docking calculations to match MS documentation and
8575             behaviour
8576
8577 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
8578
8579         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8580         bug fixes
8581
8582 2005-01-12  Peter Bartok  <pbartok@novell.com>
8583
8584         * Control.cs:
8585           - Fixed broken Contains() method
8586           - Implemented GetNextControl() method. Finally. This is the pre-
8587             requisite for focus handling.
8588
8589 2005-01-12  Peter Bartok  <pbartok@novell.com>
8590
8591         * OSXStrucs.cs: Added
8592
8593 2005-01-12  Peter Bartok  <pbartok@novell.com>
8594
8595         * XplatUIWin32.cs:
8596           - Removed PeekMessageFlags
8597           - Implemented SetWindowStyle() method
8598         * XplatUIStructs.cs: Added PeekMessageFlags
8599         * X11Structs: Added missing border_width field to XWindowChanges struct
8600         * XplatUIX11.cs:
8601           - PeekMessage: Now throws exception if flags which are not yet
8602             supported are passed
8603           - Implemented SetWindowStyle() method
8604           - Fixed SetZOrder to handle AfterHwnd properly
8605         * XplatUI.cs: Added SetWindowStyle() method
8606         * XplatUIDriver.cs: Added SetWindowStyle() abstract
8607         * Control.cs:
8608           - Implemented UpdateStyles() method
8609           - Implemented UpdateZOrder() method
8610         * XplatUIOSX.cs: Added SetWindowStyle() stub
8611
8612 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
8613
8614         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8615         button mouse).
8616
8617
8618 2005-01-11  Jackson Harper  <jackson@ximian.com>
8619
8620         * TreeView.cs: Still need to draw lines to siblings even if out of
8621         the current node is out of the clip.
8622
8623 2005-01-11  Jackson Harper  <jackson@ximian.com>
8624
8625         * TreeView.cs: When setting the hbar/vbar/grip position use
8626         SetBounds so that perform layout is only called once. Also suspend
8627         and resume layout so layout is only done once for all controls.
8628         - Removed some debug fluff
8629         * SizeGrip.cs: Call base implmentation in overriding methods.
8630         - When visibility is changed the drawing buffers are killed so we
8631         need to redraw.
8632
8633 2005-01-11  Jackson Harper  <jackson@ximian.com>
8634
8635         * TreeView.cs: Calculate the open node count while drawing. This
8636         saves us an entire tree traversal for every paint operation. Use
8637         a member var for the open node count so less vars are passed around.
8638
8639 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
8640
8641         * MonthCalendar.cs:
8642         - fixed selection to use mousemove, not mouse polling on timer
8643         * ThemeWin32Classic.cs
8644         - removed redundant unused variable "no_more_content"
8645         
8646 2005-01-11  Peter Bartok  <pbartok@novell.com>
8647
8648         * XplatUIX11.cs (DoEvents): Needs to return when no more events
8649           are pending, so it now calls PeekMessage instead of GetMessage;
8650           implemented a incomplete version of PeekMessage
8651         
8652 2005-01-11  Peter Bartok  <pbartok@novell.com>
8653
8654         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8655           I18n issues
8656         * TextBoxBase.cs: Added sending of TextChanged event
8657
8658 2005-01-10  Jackson Harper  <jackson@ximian.com>
8659
8660         * TreeView.cs: Try not to draw outside the clipping rectangle on
8661         each node element.
8662
8663 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
8664
8665         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8666
8667 2005-01-10  Jackson Harper  <jackson@ximian.com>
8668
8669         * TreeView.cs:
8670         - Implement fast scrolling. Now only the newly
8671         exposed nodes are drawn and the old image is moved using the
8672         XplatUI::ScrollWindow method.
8673         - Factor in height of nodes when calculating whether or not the
8674         node is in the clipping rect.
8675
8676 2005-01-10  Jackson Harper  <jackson@ximian.com>
8677
8678         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8679
8680 2005-01-10  Peter Bartok  <pbartok@novell.com>
8681
8682         * Application.cs: Added temporary hack to resolve all our resize
8683           required issues on startup. This will get fixed properly at
8684           some point in the future
8685
8686 2005-01-10  Jackson Harper  <jackson@ximian.com>
8687
8688         * SizeGrip.cs: New internal class that is used as a sizing
8689         grip control...hence the name.
8690
8691 2005-01-10  Peter Bartok  <pbartok@novell.com>
8692
8693         * Control.cs: Implemented proper TabIndex handling, now assigning
8694           a tabindex when a control is added to a container
8695         * GroupBox.cs (ctor): Now sets the Container style bit, required
8696           for Control.GetNextControl()
8697
8698 2005-01-09  Jackson Harper  <jackson@ximian.com>
8699
8700         * TextBoxBase.cs: Clear window when scrolling (fixes build).
8701
8702 2005-01-09  Peter Bartok <pbartok@novell.com>
8703
8704         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8705           XplatUIX11.cs: Added ability to control ScrollWindow expose and
8706           an overload for ScrollWindow to allow only scrolling a rectangle
8707
8708 2005-01-09  Peter Bartok <pbartok@novell.com>
8709
8710         * Form.cs:
8711           - Implemented SetDesktopBounds method
8712           - Implemented SetDesktopLocation method
8713
8714 2005-01-08  Jackson Harper  <jackson@ximian.com>
8715
8716         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8717         the node count has changed, this removes to VScroll::Refresh calls
8718         when drawing.
8719
8720 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
8721
8722         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8723
8724 2005-01-07  Jackson Harper  <jackson@ximian.com>
8725
8726         * TreeNode.cs: Just update the single node when it is
8727         checked. Don't refresh after toggling, the Expand/Collapse already
8728         handles this.
8729         * TreeView.cs: Respect clipping a little more when drawing. Try
8730         not to redraw things that don't need to be redrawn. Just hide the
8731         scrollbars when they are no longer needed instead of removing
8732         them, so they don't have to be created again and again.
8733         
8734 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
8735
8736         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
8737         coordinates to window space to place the caret properly, FIXED.
8738         Implement GetWindowState & SetWindowState
8739
8740 2005-01-06  Peter Bartok <pbartok@novell.com>
8741
8742         * Form.cs:
8743           - Implemented ClientSize property
8744           - Implemented DesktopBounds property
8745           - Implemented DesktopLocation property
8746           - Implemented IsRestrictedWindow property
8747           - Implemented Size property
8748           - Implemented TopLevel property
8749           - Implemented FormWindowState property
8750         * Control.cs:
8751           - Implemented GetTopLevel() method
8752           - Implemented SetTopLevel() method
8753         * X11Structs.cs (Atom):
8754           - Added AnyPropertyType definition
8755           - Added MapState definiton and updated XWindowAttribute struct
8756         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8757         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8758         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8759         * XplatUIWin32.cs:
8760           - Implemented GetWindowState() and SetWindowState() methods
8761           - Fixed Win32GetWindowLong return type
8762         * XplatUIX11.cs:
8763           - Introduced central function for sending NET_WM messages
8764           - Implemented GetWindowState() and SetWindowState() methods
8765         * TextBoxBase.cs (set_Lines):
8766           - Now uses Foreground color for text added via Text property (Duh!)
8767           - Added code to remember programmatically requested size (fixes
8768             behaviour when Multiline is set after Size)
8769           - Added AutoSize logic
8770
8771 2005-01-06  Jackson Harper  <jackson@ximian.com>
8772
8773         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8774
8775 2005-01-06  Jackson Harper  <jackson@ximian.com>
8776
8777         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8778         set to less then 0.
8779
8780 2005-01-06  Jackson Harper  <jackson@ximian.com>
8781
8782         * ScrollableControl.cs: Lazy init the scrollbars.
8783         
8784 2005-01-06  Jackson Harper  <jackson@ximian.com>
8785
8786         * Theme.cs: Speed up getting pens and solid brushes, by using
8787         their ARGB as a hash instead of tostring and not calling Contains.
8788
8789 2005-01-06  Peter Bartok <pbartok@novell.com>
8790
8791         * Form.cs:
8792           - Implemented OnActivated and OnDeactivate event trigger
8793           - Implemented Activate() method
8794           - Fixed ShowDialog() to activate the form that was active before
8795             the dialog was shown
8796         * XplatUIX11.cs:
8797           - Added global active_window var that tracks the currently active
8798             X11 window
8799           - Now always grabs Property changes from the root window to always
8800             catch changes on the active window property
8801           - Added code to PropertyNotify handler to send Active/Inactive
8802             messages when state changes. This puts X11 and Win32 en par on
8803             WM_ACTIVATE notifications (except for double notifications when
8804             the user clicks away from our modal window to another one of our
8805             windows)
8806
8807 2005-01-05  Jackson Harper  <jackson@ximian.com>
8808
8809         * ImageList.cs: Implment ctor
8810
8811 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8812
8813         * XplatUIOSX.cs: Implement Activate/SetTopmost
8814
8815 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8816
8817         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8818
8819 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8820
8821         * XplatUIOSX.cs: Implement GetActive/SetFocus.
8822
8823 2005-01-05  Peter Bartok <pbartok@novell.com>
8824
8825         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8826           XplatUIOSX.cs: Added GetActive method to return the currently
8827           active window for the application (or null, if none is active)
8828         * Form.cs:
8829           - Implemented ActiveForm
8830           - Commented out owner assignment for modal dialogs (causes problems
8831             on Win32, since the owner will be disabled)
8832           - Reworked some Active/Focus handling (still incomplete)
8833         * CommonDialog.cs: Commented out owner assignment for modal dialogs
8834           (causes problems on Win32, since the owner will be disabled)
8835         * IWin32Window: Added ComVisible attribute
8836
8837 2005-01-05  Peter Bartok <pbartok@novell.com>
8838
8839         * ToolTip.cs (WndProc): Enable setting focus now that we have the
8840           required XplatUI functions.
8841
8842 2005-01-05  Peter Bartok <pbartok@novell.com>
8843
8844         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8845           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8846           to implement focus and activation handling; still incomplete and
8847           with debug output
8848
8849 2005-01-04  Peter Bartok <pbartok@novell.com>
8850
8851         * TextBoxBase.cs: Changed access level for Document property to
8852           match switch to internal for TextControl
8853
8854 2005-01-04  Peter Bartok <pbartok@novell.com>
8855
8856         * AccessibleObject: Added ComVisible attribute
8857
8858 2005-01-04  Jackson Harper  <jackson@ximian.com>
8859
8860         * X11Keyboard.cs: Remove unneeded var.
8861
8862 2005-01-04  Jackson Harper  <jackson@ximian.com>
8863
8864         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8865         but PAINT.
8866         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8867         ClientMessage. This makes apps exit cleanly (more often).
8868         
8869 2005-01-04  Jackson Harper  <jackson@ximian.com>
8870
8871         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8872         handling focus, return correct colors and fonts,
8873         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8874         handle selection, horizontal scrolling, and mouse interaction.
8875
8876 2005-01-04  Peter Bartok <pbartok@novell.com>
8877
8878         * ICommandExecutor.cs: Added
8879         * IDataGridColumnStyleEditingNotificationService.cs: Added
8880         * IFeatureSupport.cs: Added
8881         * IFileReaderService.cs: Added
8882         * IDataObject.cs: Added ComVisible attribute
8883         * AmbientProperties.cs: Added
8884         * BaseCollection.cs: Added missing attributes
8885         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8886         * BaseCollection.cs: Added missing attributes
8887         * Binding.cs: Added TypeConverter attribute
8888         * BindingContext.cs: Added DefaultEvent attribute
8889         * BindingsCollection.cs: Added DefaultEvent attribute
8890         * Button.cs: Added DefaultValue attribute
8891         * DragEventArgs.cs: Added ComVisible attribute
8892         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8893         * KeyEventArgs.cs: Added ComVisible attribute
8894         * KeyPressEventArgs.cs: Added ComVisible attribute
8895         * MouseEventArgs.cs: Added ComVisible attribute
8896         * NavigateEventArgs.cs: Added
8897         * NavigateEventHandler.cs: Added
8898         * FeatureSupport.cs: Added
8899         * OSFeature.cs: Added
8900         * Theme.cs: Added abstract Version property to support OSFeature
8901         * ThemeWin32Classic.cs: Added Version property to
8902           support OSFeature.Themes
8903         * ProgressBar.cs: Removed OnPaintBackground override, not required since
8904           the proper styles to avoid background drawing are set, also doesn't
8905           match MS signature
8906         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8907         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8908         * ScrollEventArgs.cs: Added ComVisible attribute
8909         * SplitterEventArgs.cs: Added ComVisible attribute
8910         * AccessibleSelection.cs: Added Flags attribute
8911         * Appearance.cs: Added ComVisible attribute
8912         * Border3DSide.cs: Added ComVisible attribute
8913         * Border3DStyle.cs: Added ComVisible attribute
8914         * BorderStyle.cs: Added ComVisible attribute
8915         * DragAction.cs: Added ComVisible attribute
8916         * ErrorBlinkStyle.cs: Added
8917         * ScrollEventType.cs: Added ComVisible attribute
8918         * AnchorStyles.cs: Added Editor attribute
8919         * DockStyle.cs: Added Editor attribute
8920         * HorizontalAlignment.cs: Added ComVisible attribute
8921         * HelpEventArgs.cs: Added ComVisible attribute
8922         * PaintEventArgs.cs: Added IDisposable
8923
8924 2005-01-04  Peter Bartok <pbartok@novell.com>
8925
8926         * TextControl.cs: Switched Line, LineTag and Document classes to
8927           internal
8928
8929 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8930
8931         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8932         Simple mode, fixes, IntegralHeight, etc.
8933
8934 2005-01-04  Peter Bartok <pbartok@novell.com>
8935
8936         * TextBoxBase.cs: Using proper font variable now
8937
8938 2005-01-04  Peter Bartok <pbartok@novell.com>
8939
8940         * Form.cs (ShowDialog): Set parent to owner, if provided
8941         * GroupBox.cs: Removed unused vars
8942         * TextControl.cs:
8943           - Added GetHashCode() for Document and LineTag classes
8944           - Removed unused variables
8945           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8946             to allow translation between continuous char position and line/pos
8947         * CheckBox.cs: Removed vars that are provided by base class
8948         * RadioButton.cs: Removed vars that are provided by base class, added
8949           new keyword where required
8950         * LinkLabel.cs: Added new keyword where required
8951         * Control.cs (WndProc): Removed unused variable
8952         * TextBoxBase.cs:
8953           - Finished SelectionLength property
8954           - Implemented SelectionStart property
8955           - Implemented Text property
8956           - Removed unused vars
8957         * MessageBox.cs: Added new keyword where required
8958         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8959           WndProc signature
8960         * MenuAPI.cs: Added new keyword where required
8961         * ButtonBase.cs: Removed vars that are provided by base class, added
8962           new keyword where required
8963         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8964           argument to double, to allow compiling with csc 2.0 (Atsushi ran
8965           into this)
8966         * Application.cs (Run): Now triggers the ThreadExit event
8967         * CommonDialog.cs: Added new keyword where required; now properly sets
8968           parent (owner) for dialog
8969         * XplatUIX11.cs: Commented out unused vars
8970         * StatusBar.cs: Fixed signature for Text property
8971         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8972
8973 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8974
8975         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8976         TrackBar.cs, MonthCalendar.cs: remove unused vars
8977
8978 2005-01-03  Jackson Harper  <jackson@ximian.com>
8979
8980         * ThemeWin32Classic.cs:
8981         * X11Keyboard.cs: Remove unused vars.
8982
8983 2005-01-03  Peter Bartok  <pbartok@novell.com>
8984
8985         * TextBox.cs:
8986           - set_Text: Tied into TextControl
8987           - set_TextAlignment: Tied into TextControl
8988         * TextControl.cs:
8989           - Added alignment properties and implemented alignment handling
8990             and drawing (still has a bug, not generating proper expose events)
8991           - Added new Line() constructor to allow passing the line alignment
8992           - Fixed selection setting, properly handling end<start now
8993           - Added aligment considerations to RecalculateDocument()
8994         * TextBoxBase.cs:
8995           - Now properly enforces control height for single line controls
8996           - Added support for CharacterCasing
8997           - Added IsInputKey override
8998           - Fixed Keys.Enter logic
8999           - Added SetBoundsCore override
9000           - Fixed mouse selection handling
9001
9002 2005-01-03  Jackson Harper  <jackson@ximian.com>
9003
9004         * TreeView.cs:
9005           - Collapse and uncheck all nodes when CheckBoxes is disabled.
9006           - Checkboxes are always aligned to the bottom of the node,
9007           regardless of item height.
9008           - Use the node bounds to draw the text so we can center it when
9009           the item height is greater then the font height.
9010           - Node::Bounds are only the text part of the node.
9011         * TreeNode.cs: New method to combine collapsing and unchecking all
9012           nodes recursively.
9013
9014 2005-01-02  Jackson Harper  <jackson@ximian.com>
9015
9016         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9017         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9018         tree when a check is changed. TODO: Only refresh the checked node.
9019
9020 2004-12-30  Jackson Harper  <jackson@ximian.com>
9021
9022         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9023         * TreeNode.cs: When collapsing make sure to never collapse the
9024         root node.
9025
9026 2004-12-29  Jackson Harper  <jackson@ximian.com>
9027
9028         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9029         
9030 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
9031
9032         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9033
9034 2004-12-28  Peter Bartok  <pbartok@novell.com>
9035
9036         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9037           not yet assigned
9038
9039 2004-12-28  Peter Bartok  <pbartok@novell.com>
9040
9041         * Control.cs (WndProc): Added WM_HELP handler, now generates
9042           HelpRequested event
9043         * Form.cs: Added HelpButton property and required support code
9044         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9045
9046 2004-12-28  Peter Bartok  <pbartok@novell.com>
9047
9048         * CommonDialog.cs:
9049           - Made DialogForm.owner variable internal
9050           - Added check to ensure owner form is set before setting
9051             owner properties in CreateParams
9052
9053 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
9054
9055         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
9056           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
9057           GetCursorPos.  Fix major visibility issues.  Rework the windowing
9058           system to support borderless/titleless windows (implements menus).
9059           Fix GetWindowPos.  Implement initial background color support for
9060           views.
9061
9062 2004-12-28  Peter Bartok  <pbartok@novell.com>
9063
9064         * Form.cs (get_CreateParams): Make sure we have an owner before using
9065           the owner variable. Implement proper default if no owner exists
9066
9067 2004-12-28  Peter Bartok  <pbartok@novell.com>
9068
9069         * In preparation for making Managed.Windows.Forms the default build target
9070           for System.Windows.Forms, the following stubbed files were added.
9071           Dialogs are currently being implemented by contributors and are only
9072           short-term place holders.
9073         * ColorDialog.cs: Initial check-in (minmal stub)
9074         * DataGrid.cs: Initial check-in (minimal stub)
9075         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9076         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9077         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9078         * FontDialog.cs: Initial check-in (minimal stub)
9079         * FileDialog.cs: Initial check-in (minimal stub)
9080         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9081         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9082         * OpenFileDialog: Initial check-in (minimal stub)
9083         * IComponentEditorPageSite.cs: Initial check-in
9084         * Splitter.cs: Initial check-in (for Jackson)
9085         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9086         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9087         * TextBox.cs: Initial check-in; still needs some wiring to
9088           TextControl backend
9089         * Form.cs: Implemented ControlBox property
9090         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9091         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9092         * TextControl.cs: Added selection functionality; added todo header
9093         * TextBoxBase.cs:
9094           - Implemented Lines property
9095           - Implemented TextHeight property
9096           - Implemented SelectedText property
9097           - Implemented SelectionLength property
9098           - Implemented SelectAll method
9099           - Implemented ToString method
9100           - Removed and cleaned up some debug code
9101           - Implemented (still buggy) mouse text selection
9102
9103 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9104
9105         * ComboBox.cs: Complete DropDownList implementation, fixes.
9106
9107 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9108
9109         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9110         * ComboBoxStyle.cs: ComboBoxStyle enum
9111         * ComboBox.cs: Initial work on ComboBox control
9112
9113 2004-12-21  Peter Bartok  <pbartok@novell.com>
9114
9115         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9116           forward so that anything that creates a window gets the default,
9117           also no longer uses Visible property in CreateParams to avoid
9118           walking up the parent chain and possibly get the wrong visible
9119           status. Fixed IsVisible to no longer walk up to the parent.
9120
9121 2004-12-21  Peter Bartok  <pbartok@novell.com>
9122
9123         * Form.cs (ShowDialog): Unset modality for the proper window
9124  
9125 2004-12-20  Peter Bartok  <pbartok@novell.com>
9126
9127         * CommonDialog.cs: Initial check-in
9128
9129 2004-12-20  Peter Bartok  <pbartok@novell.com>
9130
9131         * Control.cs (Visible): Now uses the parent window instead of the
9132           client area window for the property
9133
9134         * Form.cs
9135           - ShowDialog(): Now uses the proper window for modality
9136           - The default visibility state for the form parent is now false. This
9137             will prevent the user from seeing all the changes to the form and
9138             its controls before the application hits Application.Run()
9139           - Removed some stale commented out code
9140
9141         * NativeWindow.cs:
9142           - Added FindWindow() method to have a method to check for existence
9143             of a window handle
9144           - Added ability to override default exception handling (for example
9145             when debugging with VS.Net; to do this the ExternalExceptionHandler
9146             define must be set
9147           - Removed some useless debug output
9148
9149         * XplatUIX11.cs:
9150           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9151             not working as expected
9152           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9153             property to allow switching back to the modal window if focus is
9154             given to another one of our windows (Application Modal)
9155           - Now only sets override_redirect if we create a window
9156             without WS_CAPTION
9157           - Moved EventMask selection before mapping of newly created window
9158             so we can catch the map event as well
9159           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9160           - Added various Atom related DllImports
9161           - Implemented Exit() method
9162           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9163             in the CreateParams
9164
9165         * MessageBox.cs: Now properly deals with the FormParent window by
9166           providing an override the FormParent CreateParams property to
9167           set as POPUP instead of OVERLAPPED window.
9168
9169 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9170
9171         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
9172         Minor code cleanup.
9173
9174 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9175         
9176         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9177
9178 2004-12-18  Peter Bartok  <pbartok@novell.com>
9179
9180         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9181           implementing SetModal() method
9182
9183 2004-12-18  Peter Bartok  <pbartok@novell.com>
9184
9185         * X11Structs.cs (XGCValues): Fixed type of function element
9186         * XplatUI.cs: Added ScrollWindow() method
9187         * XplatUIDriver.cs: Added ScrollWindow() abstract
9188         * XplatUIWin32.cs: Implemented ScrollWindow() method
9189         * XplatUIX11.cs: Implemented ScrollWindow() method
9190         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9191
9192 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9193
9194         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
9195         Some more keyboard support (INCOMPLETE)
9196
9197 2004-12-17  Peter Bartok  <pbartok@novell.com>
9198
9199         * TextControl.cs:
9200         - Added color attribute to line tags.
9201         - Added color argument to all functions dealing with tags
9202         - Added color argument support to various functions
9203         - Fixed miss-calculation of baseline/shift in certain circumstances
9204
9205         * TextBoxBase.cs: Added new color option to test code
9206
9207 2004-12-17  Jackson Harper  <jackson@ximian.com>
9208
9209         * TreeNode.cs:
9210         * MonthCalendar.cs: Signature fixes
9211
9212 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9213
9214         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9215         keyboard event moved it.  Create a new graphics context for each paint resolves this
9216
9217 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9218
9219         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9220         Make caret exist and go blink blink.  Initial keyboard support.
9221         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
9222         works.
9223
9224 2004-12-17  Jackson Harper  <jackson@ximian.com>
9225
9226         * XplatUIStructs.cs: Updated set of virtual keycodes.
9227         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9228
9229 2004-12-17  Jackson Harper  <jackson@ximian.com>
9230
9231         * XplatUIX11.cs: Prune old keyboard code.
9232
9233 2004-12-17  Jackson Harper  <jackson@ximian.com>
9234
9235         * XplatUIX11.cs: When generating mouse wparams get the modifier
9236         keys from the ModifierKeys property.
9237
9238 2004-12-17  Jackson Harper  <jackson@ximian.com>
9239
9240         * X11Keyboard.cs: Send up/down input when generating
9241         messages. Remove some unused vars.
9242
9243 2004-12-17  Jackson Harper  <jackson@ximian.com>
9244
9245         * TabControl.cs:
9246         * TreeView.cs: get rid of warnings.
9247
9248 2004-12-17  Jackson Harper  <jackson@ximian.com>
9249
9250         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9251
9252 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
9253
9254         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9255           CheckedListBox.cs: Implementation
9256
9257 2004-12-17  Peter Bartok  <pbartok@novell.com>
9258
9259         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9260
9261 2004-12-16  Peter Bartok  <pbartok@novell.com>
9262
9263         * TextControl.cs:
9264           - InsertCharAtCaret(): Fixed start pos fixup
9265           - CaretLine_get: No longer derives the line from the tag, the tag
9266             could be stale if lines in the document have been added or deleted
9267           - RebalanceAfterDelete(): Fixed bug in balancing code
9268           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9269           - Line.Streamline(): Now can also elminate leading empty tags
9270           - DumpTree(): Added a few more tests and prevented exception on
9271             uninitialized data
9272           - Added Debug section for Combining lines
9273           - Delete(): Now copies all remaining properties of a line
9274           
9275         * TextBoxBase.cs:
9276           - Left mousebutton now sets the caret (and middle button still acts
9277             as formatting tester, which must go away soon)
9278           - Added Debug section for Deleting/Combining lines
9279           - Fixed calculations for UpdateView after Combining lines
9280
9281 2004-12-16  Peter Bartok  <pbartok@novell.com>
9282
9283         * TextControl.cs: Now properly aligns text on a baseline, using the
9284           new XplatUI.GetFontMetrics() method. Simplified several calculations
9285         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9286           defined
9287
9288 2004-12-16  Peter Bartok  <pbartok@novell.com>
9289
9290         * XplatUI.cs: Added GetFontMetrics() method
9291         * XplatUIDriver.cs: Added GetFontMetrics() abstract
9292         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9293           into libgdiplus, our private GetFontMetrics function
9294         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9295         * XplatUIWin32.cs: Implemented GetFontMetrics() method
9296
9297 2004-12-16  Jackson Harper  <jackson@ximain.com>
9298
9299         * XplatUIStruct.cs: Add enum for dead keys
9300         * X11Keyboard.cs: Map and unmap dead keys.
9301
9302 2004-12-16  Jackson Harper  <jackson@ximian.com>
9303
9304         * X11Keyboard.cs: Detect and use the num lock mask.
9305
9306 2004-12-16  Peter Bartok  <pbartok@novell.com>
9307
9308         * Control.cs (CreateGraphics): Added check to make sure the
9309           handle of the window exists before calling Graphics.FromHwnd()
9310
9311 2004-12-16  Peter Bartok  <pbartok@novell.com>
9312
9313         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9314           contains a lot of code that's not supposed to be there for the
9315           real thing, but required for developing/testing the textbox
9316           backend.
9317
9318 2004-12-16  Peter Bartok  <pbartok@novell.com>
9319
9320         * TextControl.cs:
9321         - Fixed Streamline method
9322         - Added FindTag method to Line
9323         - Added DumpTree method for debugging
9324         - Added DecrementLines() method for deleting lines
9325         - Fixed UpdateView to update the cursor to end-of-line on single-line
9326           updates
9327         - Added PositionCaret() method
9328         - Fixed MoveCaret(LineDown) to move into the last line, too
9329         - Added InsertChar overload
9330         - Fixed InsertChar tag offset calculations
9331         - Added DeleteChar() method
9332         - Added Combine() method for folding lines
9333         - Fixed Delete() method, no longer allocates wasted Line object and
9334           now copies all properties when swapping nodes
9335         - Delete() method now updates document line counter
9336
9337 2004-12-15  Jackson Harper  <jackson@ximian.com>
9338
9339         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9340         * X11Keyboard.cs: Expose the currently selected modifier keys
9341         through a property.
9342
9343 2004-12-15  Peter Bartok  <pbartok@novell.com>
9344
9345         * TextControl.cs: Initial check-in. Still incomplete
9346
9347 2004-12-15  Jackson Harper  <jackson@ximian.com>
9348
9349         * TreeNode.cs:
9350         * TreeView.cs: Fix build on csc (second time today ;-))
9351
9352 2004-12-15  Jackson Harper  <jackson@ximian.com>
9353
9354         * TreeView.cs: Store the treenodes plus/minus box bounds when it
9355         is calculated and use this for click testing.
9356         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9357
9358 2004-12-15  Jackson Harper  <jackson@ximian.com>
9359
9360         * TreeView.cs: Pass the nodes image index to the image list when
9361         drawing that image.
9362
9363 2004-12-15  Jackson Harper  <jackson@ximian.com>
9364
9365         * X11Keyboard.cs: Set messages hwnd.
9366         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9367         post_message calls.
9368
9369 2004-12-15  Jackson Harper  <jackson@ximian.com>
9370
9371         * X11Keyboard.cs: Fix to compile with csc.
9372         
9373 2004-12-15  Jackson Harper  <jackson@ximian.com>
9374
9375         * X11Structs.cs: Add key mask values
9376         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9377         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9378         down/up foo into WM_CHAR foo
9379         * KeyboardLayouts.cs: Common keyboard layouts
9380         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9381         post messages into the main queue.
9382
9383 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9384
9385         * Button.cs: implement ProcessMnemonic
9386         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9387           brushes everytime
9388         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9389         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9390
9391 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9392         
9393         * MonthCalendar.cs: Implemented click-hold for next/previous month
9394           and date selection
9395           
9396 2004-12-11  Peter Bartok  <pbartok@novell.com>
9397
9398         * X11Structs.cs:
9399           - Added XKeyboardState (moved from XplatUIX11.cs)
9400           - Added XCreateGC related enums and structures
9401           - Added GXFunction for XSetFunction
9402
9403         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9404
9405         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9406           CaretVisible() calls
9407
9408         * ToolTip.cs: Added code to prevent stealing focus from app windows
9409
9410         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9411           DestroyCaret, SetCaretPos and CaretVisible)
9412
9413         * XplatUIX11.cs:
9414           - Added implementation for caret functions
9415           - Moved hover variables into a struct, to make it a bit easier
9416             on the eyes and to debug
9417           - Removed XKeyboardState (moved to XplatUIX11.cs)
9418           - Moved Keyboard properties into the properties region
9419
9420         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9421           call to get a graphics context for our control
9422
9423         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9424
9425         * TreeView.cs: Fixed bug. No matter what color was set it would always
9426           return SystemColors.Window
9427
9428         * XplatUIWin32.cs: Implemented caret overrides
9429
9430 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9431
9432         * ListBox.cs: fire events, implement missing methods and properties,
9433         sorting.
9434
9435 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9436
9437         * MonthCalendar.cs: invalidation bug fixing
9438         * ThemeWin32Classic.cs: paint fixing
9439
9440 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9441
9442         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9443         prepare the CGContextRef there now.
9444
9445 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9446
9447         * MonthCalendar.cs:
9448           - optimisationL only invalidate areas that have changed
9449         * ThemeWin32Classic.cs:
9450           - only paint parts that intersect with clip_area
9451
9452 2004-12-09  Peter Bartok  <pbartok@novell.com>
9453
9454         * Application.cs: Undid changes from r37004 which cause problems
9455         on X11
9456
9457 2004-12-09  Ravindra  <rkumar@novell.com>
9458
9459         * ToolBar.cs: Added support for displaying ContextMenu
9460         attached to a button on ToolBar.
9461         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9462         property.
9463
9464 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9465
9466         * Label.cs: autosize works in text change and removes unnecessary
9467         invalidate
9468
9469 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9470
9471         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9472         remove warnings
9473
9474 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
9475
9476         * XplatUIOSX.cs: Added mouse move/click/grab support
9477         Remove some debugging WriteLines not needed anymore.
9478         Add window resizing/positioning.
9479         Fix visibility on reparenting.
9480
9481 2004-12-08  Peter Bartok  <pbartok@novell.com>
9482
9483         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9484
9485 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
9486
9487         * XplatUIOSX.cs: Initial checkin
9488         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9489
9490 2004-12-03  Ravindra <rkumar@novell.com>
9491
9492         * ListView.cs: Added some keybindings and fixed scrolling.
9493         ScrollBars listen to ValueChanged event instead of Scroll
9494         Event. This would let us take care of all changes being
9495         done in the scrollbars' values programmatically or manually.
9496         * ListView.cs (CanMultiselect): Added a check for shift key.
9497         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9498         * ListViewItem.cs (Clone): Fixed. We need to make a copy
9499         of ListViewSubItemCollection as well.
9500
9501 2004-12-06  Peter Bartok <pbartok@novell.com>
9502
9503         * Control.cs (Parent): Added check and exception to prevent
9504         circular parenting
9505
9506 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
9507
9508         * ListBox.cs: implemented clipping, selection single and multiple,
9509         bug fixing
9510
9511 2004-12-03  Ravindra <rkumar@novell.com>
9512
9513         * ListView.cs (ListView_KeyDown):
9514         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9515         when CTRL key is pressed.
9516         * ListViewItem.cs (Selected): Fixed setting the property.
9517
9518 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9519
9520         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9521
9522         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9523         MinimizeBox, ShowInTaskbar, TopMost properties.
9524
9525         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9526         will be implemented).
9527
9528 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9529
9530         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9531
9532         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9533         tests.
9534         
9535         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9536         
9537         * TreeView.cs: BackColor is Colors.Window.
9538
9539 2004-12-01  Jackson Harper  <jackson@ximian.com>
9540
9541         * TreeView.cs: When resizing the tree if the user is making it
9542         smaller we don't get expose events, so we need to handle adding
9543         the horizontal scrollbar in the size changed handler as well as
9544         the expose handler.
9545
9546 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
9547
9548         * DrawItemState.cs: fixes wrong enum values
9549
9550 2004-12-01  Jackson Harper  <jackson@ximian.com>
9551
9552         * TreeView.cs: Resize the hbar as well as the vbar on resize.
9553
9554 2004-12-01  Jackson Harper  <jackson@ximian.com>
9555
9556         * NodeLabelEditEventArgs.cs:
9557         * NodeLabelEditEventHandler.cs:
9558         * OpenTreeNodeEnumerator.cs:
9559         * TreeNode.cs:
9560         * TreeNodeCollection.cs:
9561         * TreeView.cs:
9562         * TreeViewAction.cs:
9563         * TreeViewCancelEventArgs.cs:
9564         * TreeViewCancelEventHandler.cs:
9565         * TreeViewEventArgs.cs:
9566         * TreeViewEventHandler.cs: Initial implementation.
9567
9568 2004-12-01  Ravindra <rkumar@novell.com>
9569
9570         * ListView.cs (CalculateListView): Fixed scrolling related
9571         calculations. Also, removed some debug statements from other
9572         places.
9573         * ListViewItem.cs: Changed access to 'selected' instance variable
9574         from private to internal.
9575         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9576
9577 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
9578
9579         * ThemeWin32Classic.cs: remove cache of brush and pens for
9580         specific controls and use the global system, fixes scrollbutton
9581         bugs (for small sizes, disabled, etc)
9582         
9583         * ScrollBar.cs: does not show the thumb for very small controls
9584         (as MS) and allow smaller buttons that the regular size
9585
9586 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
9587
9588         * UpDownBase.cs: Add abstract methods for the interface.
9589         Add new virtual methods (need to be hooked up to TextEntry when it
9590         exists).
9591         Add override methods for most features.
9592         Computes the size, forces the height of the text entry.
9593
9594         * NumericUpDown.cs: Put here the current testing code.
9595
9596         * Set eol-style property on all files that do not have mixed line
9597         endings, to minimize the future problems.  There are still a few
9598         files with mixed endings, and someone should choose whether they
9599         want to move it or not.
9600
9601 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
9602
9603         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9604         System.Colors
9605         
9606 2004-11-30  Ravindra <rkumar@novell.com>
9607
9608         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9609         drawing and replaced use of SystemColors by theme colors.
9610         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9611         * ListView.cs (ListViewItemCollection.Add): Throw exception when
9612         same ListViewItem is being added more than once.
9613
9614 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
9615
9616         * MonthCalendar.cs:
9617           - ControlStyles love to make the control not flicker
9618           
9619 2004-11-30  Peter Bartok  <pbartok@novell.com>
9620
9621         * CharacterCasing.cs: Added
9622
9623 2004-11-29  Peter Bartok  <pbartok@novell.com>
9624
9625         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9626           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9627           I am removing these files as they conflict with already completed
9628           work. While it is fantastic to get contributions to MWF, I
9629           respectfully ask that everyone please coordinate their contributions
9630           through mono-winforms-list or #mono-winforms at this time. We're
9631           explicitly avoiding stubbing and don't want controls that don't have
9632           their basic functionality implemented in svn. Please also see
9633           http://www.mono-project.com/contributing/winforms.html
9634
9635
9636 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
9637
9638         * Application.cs (ModalRun): Don't hang after exit.
9639
9640         * Theme.cs: New TreeViewDefaultSize property.
9641
9642         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9643         with less hardcoded SystemColors constant.
9644         Implemented TreeViewDefaultSize.
9645
9646         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9647         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9648
9649
9650 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
9651
9652         * MonthCalendar.cs:
9653           - Fix NextMonthDate and PrevMonthDate click moving calendar
9654
9655 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9656
9657         * MonthCalendar.cs:
9658           - Fix usage of ScrollChange Property when scrolling months
9659
9660 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
9661
9662         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9663          - Fixes menu destroying
9664          - Support adding and removing items on already created menus
9665
9666 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9667
9668         * MonthCalendar.cs:
9669           - Re-worked all bolded dates handling to match win32
9670         * ThemeWin32Classic.cs:
9671           - Fixed rendering with bolded dates
9672
9673 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
9674
9675         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9676         - Horizontal scroolbar
9677         - Multicolumn
9678         - Fixes
9679
9680
9681 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
9682
9683         * MonthCalendar.cs:
9684           - Fix Usage of MaxSelectionCount from SelectionRange
9685           - Fixed Shift + Cursor Selection
9686           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9687           - Fixed normal cursor selection to be compat with win32
9688           - Fixed Shift + Mouse Click selection
9689
9690 2004-11-24  Peter Bartok <pbartok@novell.com>
9691
9692         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9693         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9694         * XplatUIX11.cs:
9695           - CreatedKeyBoardMsg now updates keystate with Alt key
9696           - Added workaround for timer crash to CheckTimers, Jackson will
9697             develop a proper fix and check in later
9698           - Implemented DispatchMessage
9699           - Removed calling the native window proc from GetMessage (call
9700             now moved to DispatchMessage)
9701
9702         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9703           the keydata (Fixes bug #69831)
9704
9705         * XplatUIWin32.cs:
9706           - (DispatchMessage): Switched to return IntPtr
9707           - Added DllImport for SetFocus
9708
9709 2004-11-24  Ravindra <rkumar@novell.com>
9710
9711         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9712         background drawing.
9713         * ListViewItem.cs: Fixed various properties, calculations
9714         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9715         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9716         and some internal properties. Fixed MouseDown handler and Paint
9717         method.
9718
9719 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9720
9721         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9722
9723 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9724
9725         * ContainerControl.cs: correct accidental check in of local changes
9726
9727 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9728
9729         * ThemeWin32Classic.cs:
9730                 - Fixed Drawing Last month in grid (sometimes not showing)
9731         * MonthCalendar.cs:
9732                 - Fixed title width calculation bug (makeing title small)
9733
9734 2004-11-23  Peter Bartok <pbartok@novell.com>
9735
9736         * XplatUIX11.cs:
9737           - Added generation of WM_MOUSEHOVER event
9738           - Added missing assignment of async_method atom
9739           - Fixed WM_ERASEBKGND; now only redraws the exposed area
9740
9741 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9742
9743         * ThemeWin32Classic.cs:
9744                 - Fixed Drawing of today circle when showtodaycircle not set
9745                 - fixed drawing of first and last month in the grid (gay dates)
9746         * MonthCalendar.cs:
9747                 - Fixed Drawing of today circle
9748                 - Fixed drawing of grady dates
9749                 - Fixed HitTest for today link when ShowToday set to false
9750                 - Fixed DefaultSize to obey ShowToday
9751
9752 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9753
9754         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9755         * System.Windows.Forms/Theme.cs
9756         * MonthCalendar.cs: added for MonthCalendar
9757         * SelectionRange.cs: added for MonthCalendar
9758         * Day.cs: added for MonthCalendar: added for MonthCalendar
9759         * DateRangeEventArgs.cs: added for MonthCalendar
9760         * DateRangeEventHandler.cs: added for MonthCalendar
9761
9762 2004-11-22  Ravindra <rkumar@novell.com>
9763
9764         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9765         property.
9766
9767 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
9768
9769         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9770         event handler.
9771         
9772         * NumericUpDown.cs: Added new implementation.
9773         * UpDownBase.cs: Added new implementation.
9774
9775         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9776         implementations.
9777         
9778         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9779         implementations.
9780
9781         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9782         methods.
9783
9784 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
9785
9786         * Timer.cs  (Dispose): Should call the base dispose when
9787         overriding.
9788
9789 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9790
9791         * ScrollBar.cs: updates thumb position when max, min or increment
9792         is changed
9793
9794 2004-11-21  Ravindra <rkumar@novell.com>
9795
9796         * ListView.cs: Implemented item selection, activation and
9797         column header style. Fixed properties to do a redraw, if
9798         required. Added support for MouseHover, DoubleClick, KeyDown
9799         and KeyUp event handling and some minor fixes.
9800         * ListViewItem.cs: Fixed constructor.
9801         * ThemeWin32Classic.cs: Improved drawing for ListView.
9802
9803 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9804
9805         * ThemeWin32Classic.cs: initial listbox drawing code
9806         * DrawMode.cs: new enumerator
9807         * ListControl.cs: stubbed class
9808         * ListBox.cs: initial implementation
9809         * Theme.cs: new methods definitions
9810         * SelectionMode.cs: new enumerator
9811
9812 2004-11-17  Peter Bartok  <pbartok@novell.com>
9813
9814         * XplatUIWin32.cs: Added double-click events to the class style
9815         * Control.cs (WndProc):
9816           - Added handling of click-count to MouseDown/ MouseUp events.
9817           - Added handling of middle and right mouse buttons
9818           - Removed old debug code
9819
9820 2004-11-17  Jackson Harper  <jackson@ximian.com>
9821
9822         * XplatUIX11.cs: Use the new Mono.Unix namespace.
9823
9824 2004-11-17  Ravindra <rkumar@novell.com>
9825
9826         * ListView.cs: Added event handling for MouseMove/Up/Down.
9827         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9828         * ThemeWin32Classic.cs: We need to clear the graphics context and
9829         draw column header in a proper state.
9830
9831
9832 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
9833
9834         *  Menu.cs: fixes signature
9835
9836 2004-11-16  Peter Bartok  <pbartok@novell.com>
9837
9838         * XplatUIX11.cs (GetMessage): Implemented generation of
9839           double click mouse messages
9840
9841 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
9842
9843         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9844         not by menu
9845
9846 2004-11-11  Peter Bartok  <pbartok@novell.com>
9847
9848         * HandleData.cs: Added Visible property
9849         * XplatUIX11.cs (IsVisible): Now uses Visible property from
9850           HandleData
9851         * XplatUIX11.cs: Removed old debug leftovers
9852         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9853         * Control.cs (WndProc): Removed old debug leftovers,
9854           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9855           needed WM_SIZE handling
9856
9857 2004-11-11  Jackson Harper  <jackson@ximian.com>
9858
9859         * OwnerDrawPropertyBag.cs:
9860         * TreeViewImageIndexConverter.cs: Initial implementation
9861
9862 2004-11-10  Jackson Harper  <jackson@ximian.com>
9863
9864         * ThemeWin32Classic.cs:
9865         * TabControl.cs: instead of moving tabs by the slider pos just
9866         start drawing at the tab that is offset by the slider. This way
9867         scrolling always moves by exactly one tab.
9868
9869 2004-11-10  Jackson Harper  <jackson@ximian.com>
9870
9871         * TabControl.cs: You can only scroll left when the slider has
9872         already ben moved right.
9873         
9874 2004-11-10  Jackson Harper  <jackson@ximian.com>
9875
9876         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9877         the clip area.
9878         
9879 2004-11-10  Jackson Harper  <jackson@ximian.com>
9880
9881         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9882         clip area.
9883         
9884 2004-11-09  Jackson Harper  <jackson@ximian.com>
9885
9886         * TabControl.cs (CalcXPos): New helper method so we can determine
9887         the proper place to start drawing vertical tabs.
9888         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9889         
9890 2004-11-09  Jackson Harper  <jackson@ximian.com>
9891
9892         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9893         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9894         and Bottom, left and right are illegal values for this and
9895         multiline is enabled when the alignment is set to left or right.
9896         (DrawTab): Each alignment block should draw the text itself now
9897         because Left requires special love. Also add rendering for Left
9898         aligned tabs.
9899         
9900 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
9901
9902         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9903         does not destroy the windows, removes debugging messages
9904
9905 2004-11-09  jba  <jba-mono@optusnet.com.au>
9906
9907         * ThemeWin32Classic.cs
9908         (DrawButtonBase): Fix verticle text rect clipping in windows
9909         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9910         rendering and incorrect text rect clipping
9911         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9912         rendering and incorrect text rect clipping
9913         
9914 2004-11-08  Jackson Harper  <jackson@ximian.com>
9915
9916         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9917         bottom when they are bottom aligned so the bottoms of the tabs get
9918         displayed.
9919         * TabControl.cs (DropRow): Move rows up instead of down when the
9920         tab control is bottom aligned.
9921
9922 2004-11-08 13:59  pbartok
9923
9924         * XplatUIX11.cs:
9925           - Added handling for various window styles
9926           - Added handling for popup windows
9927           - Added SetTopmost handling
9928
9929 2004-11-08 13:55  pbartok
9930
9931         * XplatUIWin32.cs:
9932           - Added argument to SetTopmost method
9933           - Fixed broken ClientToScreen function
9934
9935 2004-11-08 13:53  pbartok
9936
9937         * XplatUIStructs.cs:
9938           - Added missing WS_EX styles
9939
9940 2004-11-08 13:53  pbartok
9941
9942         * XplatUI.cs, XplatUIDriver.cs:
9943           - Added argument to SetTopmost
9944
9945 2004-11-08 13:52  pbartok
9946
9947         * X11Structs.cs:
9948           - Added XSetWindowAttributes structure
9949           - Improved XWindowAttributes structure
9950           - Added SetWindowValuemask enum
9951           - Added window creation arguments enum
9952           - Added gravity enum
9953           - Added Motif hints structure
9954           - Added various Motif flags and enums
9955           - Added PropertyMode enum for property functions
9956
9957 2004-11-08 13:50  pbartok
9958
9959         * Form.cs:
9960           - Fixed arguments for updated SetTopmost method
9961
9962 2004-11-08 13:49  pbartok
9963
9964         * ToolTip.cs:
9965           - Fixed arguments for updated SetTopmost function
9966           - Fixed usage of PointToClient
9967
9968 2004-11-08 13:44  pbartok
9969
9970         * MenuAPI.cs:
9971           - Added Clipping of children and siblings
9972
9973 2004-11-08 13:41  pbartok
9974
9975         * MainMenu.cs:
9976           - Removed SetMenuBarWindow call. We do this in Form.cs
9977
9978 2004-11-08 13:40  jackson
9979
9980         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9981           scrolling jimmi in the correct location with bottom aligned tabs
9982
9983 2004-11-08 13:36  pbartok
9984
9985         * ContainerControl.cs:
9986           - Implemented BindingContext
9987           - Implemented ParentForm
9988
9989 2004-11-08 12:46  jackson
9990
9991         * TabControl.cs: Put bottom rendered tabs in the right location
9992
9993 2004-11-08 07:15  jordi
9994
9995         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9996           removes dead code
9997
9998 2004-11-05 17:30  jackson
9999
10000         * TabControl.cs: When selected tabs are expanded make sure they
10001           don't go beyond the edges of the tab control
10002
10003 2004-11-05 14:57  jackson
10004
10005         * TabControl.cs: Reset show_slider so if the control is resized to
10006           a size where it is no longer needed it's not displayed anymore
10007
10008 2004-11-05 13:16  jackson
10009
10010         * TabControl.cs: Make tab pages non visible when added to the
10011           control
10012
10013 2004-11-05 12:42  jackson
10014
10015         * TabControl.cs: Implement SizeMode.FillToRight
10016
10017 2004-11-05 12:16  jackson
10018
10019         * Control.cs: Do not call CreateHandle if the handle is already
10020           created
10021
10022 2004-11-05 11:46  jackson
10023
10024         * TabControl.cs: Remove superflous call to CalcTabRows
10025
10026 2004-11-05 09:07  jackson
10027
10028         * XplatUIX11.cs: Update for Mono.Posix changes
10029
10030 2004-11-05 07:00  ravindra
10031
10032         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10033           scrolling.
10034
10035 2004-11-04 22:47  jba
10036
10037         * ThemeWin32Classic.cs:
10038           - Fix Button rendering for FlatStyle = Flat or Popup
10039           - Fix RadioButton and CheckBox rendering when Appearance = Button
10040             (normal and flatstyle).
10041           - Correct outer rectangle color when drawing focus rectangle
10042           - Adjust button bounds to be 1 px smaller when focused
10043           - Make button not draw sunken 3d border when pushed (windows compat)
10044           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10045           - Offset the text in RadioButton and Checkbox when being rendered as
10046           a button.
10047           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10048           radiobuttons
10049           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10050           - Fixed disabled text rendering for normally rendered radiobuttons
10051
10052 2004-11-04 10:26  jackson
10053
10054         * TabControl.cs: Recalculate tab rows when resizing
10055
10056 2004-11-04 07:47  jordi
10057
10058         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10059           collection completion, drawing issues, missing features
10060
10061 2004-11-04 05:03  ravindra
10062
10063         * ScrollBar.cs:
10064                 - We need to recalculate the Thumb area when
10065                 LargeChange/maximum/minimum values are changed.
10066           - We set the 'pos' in UpdatePos() method to minimum, if it's less
10067                 than minimum. This is required to handle the case if large_change is
10068                 more than max, and use LargeChange property instead of large_change
10069                 variable.
10070           - We return max+1 when large_change is more than max, like MS does.
10071
10072 2004-11-04 04:29  ravindra
10073
10074         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10075                 - Changed default value signatures (prefixed all with ListView).
10076                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10077                 ListView.
10078           - Fixed calculations for ListViewItem and implemented Clone()
10079           method.
10080
10081 2004-11-04 04:26  ravindra
10082
10083         * Theme.cs, ThemeWin32Classic.cs:
10084                 - Changed default ListView values signatures (prefixed all with
10085                 ListView).
10086           - Fixed default size values for VScrollBar and HScrollBar.
10087                 - Fixed DrawListViewItem method.
10088
10089 2004-11-04 04:05  ravindra
10090
10091         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10092
10093 2004-11-04 04:04  ravindra
10094
10095         * ImageList.cs: Implemented the missing overload for Draw method.
10096
10097 2004-11-03 19:29  jackson
10098
10099         * TabControl.cs: Handle dropping rows on selection properly
10100
10101 2004-11-03 11:59  jackson
10102
10103         * TabControl.cs: remove debug code
10104
10105 2004-11-03 11:52  jackson
10106
10107         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10108           the scrolly widgerywoo
10109
10110 2004-11-02 13:52  jackson
10111
10112         * TabControl.cs: Resize the tab pages and tabs when the tab control
10113           is resized
10114
10115 2004-11-02 13:40  jackson
10116
10117         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10118           selected tab to the bottom
10119
10120 2004-11-02 13:39  jackson
10121
10122         * TabPage.cs: Store the tab pages row
10123
10124 2004-11-02 12:33  jordi
10125
10126         * MenuItem.cs: fixes handle creation
10127
10128 2004-11-02 11:42  jackson
10129
10130         * TabControl.cs: signature fix
10131
10132 2004-11-02 08:56  jackson
10133
10134         * TabControl.cs: Calculate whether the tab is on an edge properly.
10135           Remove top secret debugging code
10136
10137 2004-11-01 19:57  jackson
10138
10139         * TabControl.cs: Add click handling, and proper sizing
10140
10141 2004-11-01 19:47  jackson
10142
10143         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10144           tab controls
10145
10146 2004-11-01 19:39  jackson
10147
10148         * TabPage.cs: add internal property to store the bounds of a tab
10149           page
10150
10151 2004-10-30 04:23  ravindra
10152
10153         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10154           values.
10155
10156 2004-10-30 04:21  ravindra
10157
10158         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10159           fixed calculations.
10160
10161 2004-10-30 03:06  pbartok
10162
10163         * XplatUIX11.cs:
10164           - Removed extension of DllImported libs
10165
10166 2004-10-29 09:55  jordi
10167
10168         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10169           navigation, itemcollection completion, menu fixes
10170
10171 2004-10-27 22:58  pbartok
10172
10173         * XplatUIX11.cs:
10174           - Now throws a nice error message when no X display could be opened
10175
10176 2004-10-26 13:51  jordi
10177
10178         * ListView.cs: removes warning
10179
10180 2004-10-26 03:55  ravindra
10181
10182         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10183           ThemeWin32Classic.cs: Some formatting for my last checkins.
10184
10185 2004-10-26 03:36  ravindra
10186
10187         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10188           control and default values.
10189
10190 2004-10-26 03:35  ravindra
10191
10192         * Theme.cs: Added some default values for ListView control.
10193
10194 2004-10-26 03:33  ravindra
10195
10196         * ToolBar.cs: ToolBar should use the user specified button size, if
10197           there is any. Added a size_specified flag for the same.
10198
10199 2004-10-26 03:33  ravindra
10200
10201         * ColumnHeader.cs: Added some internal members and calculations for
10202           ColumnHeader.
10203
10204 2004-10-26 03:32  ravindra
10205
10206         * ListViewItem.cs: Calculations for ListViewItem.
10207
10208 2004-10-26 03:31  ravindra
10209
10210         * ListView.cs: Added some internal members and calculations for
10211           ListView.
10212
10213 2004-10-22 13:31  jordi
10214
10215         * MenuAPI.cs: speedup menus drawing
10216
10217 2004-10-22 13:16  jackson
10218
10219         * XplatUIX11.cs: Make sure to update exposed regions when adding an
10220           expose event
10221
10222 2004-10-22 11:49  jackson
10223
10224         * Control.cs: oops
10225
10226 2004-10-22 11:41  jackson
10227
10228         * Control.cs: Check to see if the window should have its background
10229           repainted by X when drawing.
10230
10231 2004-10-22 11:31  jackson
10232
10233         * XplatUIX11.cs: When invalidating areas only use XClearArea if
10234           clear is true, this way we do not get flicker from X repainting the
10235           background
10236
10237 2004-10-22 11:28  jackson
10238
10239         * XEventQueue.cs: Queue properly
10240
10241 2004-10-21 09:38  jackson
10242
10243         * XEventQueue.cs: Fix access modifier
10244
10245 2004-10-21 09:36  jackson
10246
10247         * XEventQueue.cs: Don't loose messages
10248
10249 2004-10-21 09:22  jackson
10250
10251         * XEventQueue.cs: Don't loose messages
10252
10253 2004-10-20 04:15  jordi
10254
10255         * BootMode.cs: enum need it by SystemInfo
10256
10257 2004-10-19 21:58  pbartok
10258
10259         * XplatUIWin32.cs:
10260           - Small sanity check
10261
10262 2004-10-19 21:56  pbartok
10263
10264         * Form.cs:
10265           - Added private FormParentWindow class which acts as the container
10266             for our form and as the non-client area where menus are drawn
10267           - Added/Moved required tie-ins to Jordi's menus
10268           - Fixed/Implemented the FormStartPosition functionality
10269
10270 2004-10-19 21:52  pbartok
10271
10272         * Control.cs:
10273           - Removed unneeded locals
10274           - Added code to all size and location properties to understand and
10275             deal with the parent container of Form
10276
10277 2004-10-19 21:33  pbartok
10278
10279         * Application.cs:
10280           - Fixed to deal with new Form subclasses for menus
10281
10282 2004-10-19 17:48  jackson
10283
10284         * XEventQueue.cs: commit correct version of file
10285
10286 2004-10-19 16:50  jackson
10287
10288         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10289
10290 2004-10-19 16:15  jordi
10291
10292         * MenuAPI.cs: MenuBarCalcSize returns the height
10293
10294 2004-10-19 08:31  pbartok
10295
10296         * Control.cs:
10297           - Added missing call to PreProcessMessage before calling OnXXXKey
10298           methods
10299
10300 2004-10-19 00:04  ravindra
10301
10302         * ToolTip.cs: Fixed constructor.
10303
10304 2004-10-18 09:31  jordi
10305
10306         * MenuAPI.cs: menuitems in menubars do not have shortcuts
10307
10308 2004-10-18 09:26  jordi
10309
10310         * MenuItem.cs: fixes MenuItem class signature
10311
10312 2004-10-18 08:56  jordi
10313
10314         * MenuAPI.cs: prevents windows from showing in the taskbar
10315
10316 2004-10-18 00:28  ravindra
10317
10318         * ToolTip.cs: Suppressed a warning message.
10319
10320 2004-10-18 00:27  ravindra
10321
10322         * Control.cs: Default value of visible property must be true.
10323
10324 2004-10-17 23:19  pbartok
10325
10326         * ToolTip.cs:
10327           - Complete implementation
10328
10329 2004-10-17 23:19  pbartok
10330
10331         * XplatUIX11.cs:
10332           - Added EnableWindow method
10333           - Added SetModal stub
10334           - Added generation of WM_ACTIVATE message (still needs testing)
10335           - Added SetTopMost stub
10336           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10337
10338 2004-10-17 23:17  pbartok
10339
10340         * XplatUIWin32.cs:
10341           - Removed VirtualKeys to XplatUIStructs
10342           - Implemented SetTopMost method
10343           - Implemented EnableWindow method
10344           - Bugfix in ScreenToClient()
10345           - Bugfixes in ClientToScreen()
10346
10347 2004-10-17 22:51  pbartok
10348
10349         * XplatUIStructs.cs:
10350           - Added WS_EX styles to WindowStyles enumeration
10351
10352 2004-10-17 22:50  pbartok
10353
10354         * XplatUI.cs, XplatUIDriver.cs:
10355           - Added method for enabling/disabling windows
10356           - Added method for setting window modality
10357           - Added method for setting topmost window
10358
10359 2004-10-17 22:49  pbartok
10360
10361         * ThemeWin32Classic.cs:
10362           - Added ToolTip drawing code
10363
10364 2004-10-17 22:49  pbartok
10365
10366         * Theme.cs:
10367           - Added ToolTip abstracts
10368
10369 2004-10-17 22:47  pbartok
10370
10371         * Form.cs:
10372           - Fixed Form.ControlCollection to handle owner relations
10373           - Added Owner/OwnedForms handling
10374           - Implemented Z-Ordering for owned forms
10375           - Removed unneeded private overload of ShowDialog
10376           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10377             so I hope)
10378           - Fixed Close(), had wrong default
10379           - Added firing of OnLoad event
10380           - Added some commented out debug code for Ownership handling
10381
10382 2004-10-17 22:16  pbartok
10383
10384         * Control.cs:
10385           - Fixed/implemented flat list of controls
10386
10387 2004-10-17 22:14  pbartok
10388
10389         * Application.cs:
10390           - Added code to simulate modal dialogs on Win32
10391
10392 2004-10-17 16:11  jordi
10393
10394         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10395           mouse event
10396
10397 2004-10-17 13:39  jordi
10398
10399         * MenuAPI.cs: menu drawing fixes
10400
10401 2004-10-15 09:10  ravindra
10402
10403         * StructFormat.cs: General Enum.
10404
10405 2004-10-15 09:09  ravindra
10406
10407         * SizeGripStyle.cs: Enum for Form.
10408
10409 2004-10-15 09:08  ravindra
10410
10411         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10412           in Theme for ListView.
10413
10414 2004-10-15 09:06  ravindra
10415
10416         * ColumnHeader.cs: Flushing some formatting changes.
10417
10418 2004-10-15 09:05  ravindra
10419
10420         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10421           style.
10422
10423 2004-10-15 09:03  ravindra
10424
10425         * ListView.cs: Implemented Paint method and fixed coding style.
10426
10427 2004-10-15 07:34  jordi
10428
10429         * MenuAPI.cs: fix for X11
10430
10431 2004-10-15 07:32  ravindra
10432
10433         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10434                 - Renamed Paint() method to Draw() for clarity. Also, moved
10435                 DrawImage() to OnPaint().
10436
10437 2004-10-15 07:25  ravindra
10438
10439         * CheckBox.cs, RadioButton.cs:
10440                 - Removed Redraw (), we get it from ButtonBase.
10441                 - Implemented Paint (), to do class specific painting.
10442
10443 2004-10-15 07:16  ravindra
10444
10445         * ButtonBase.cs:
10446                 - Redraw () is not virtual now.
10447                 - Added an internal virtual method Paint (), so that
10448                 derived classes can do their painting on their own.
10449                 - Modified OnPaint () to call Paint ().
10450
10451 2004-10-15 06:43  jordi
10452
10453         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10454           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10455
10456 2004-10-15 00:30  ravindra
10457
10458         * MessageBox.cs:
10459                 - MessageBox on windows does not have min/max buttons.
10460                 This change in CreateParams fixes this on Windows. We
10461                 still need to implement this windowstyle behavior in
10462                 our X11 driver.
10463
10464 2004-10-14 05:14  ravindra
10465
10466         * ToolBar.cs:
10467                 - Changed Redraw () to do a Refresh () always.
10468                 - Fixed the MouseMove event handling when mouse is pressed,
10469                 ie drag event handling.
10470                 - Replaced the usage of ToolBarButton.Pressed property to
10471                 ToolBarButton.pressed internal variable.
10472
10473 2004-10-14 05:10  ravindra
10474
10475         * ToolBarButton.cs:
10476                 - Added an internal member 'inside' to handle mouse move
10477                 with mouse pressed ie mouse drag event.
10478                 - Changed 'Pressed' property to return true only when
10479                 'inside' and 'pressed' are both true.
10480                 - Some coding style love.
10481
10482 2004-10-14 00:17  ravindra
10483
10484         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10485           public method.
10486
10487 2004-10-14 00:15  ravindra
10488
10489         * ButtonBase.cs: Redraw () related improvements.
10490
10491 2004-10-14 00:14  ravindra
10492
10493         * MessageBox.cs: Moved InitFormSize () out of Paint method and
10494           removed unnecessary calls to Button.Show () method.
10495
10496 2004-10-13 17:50  pbartok
10497
10498         * XplatUIX11.cs:
10499           - Formatting fix
10500           - Removed destroying of window until we solve the problem of X
10501             destroying the window before us on shutdown
10502
10503 2004-10-13 16:32  pbartok
10504
10505         * ButtonBase.cs:
10506           - Now Redraws on MouseUp for FlatStyle Flat and Popup
10507
10508 2004-10-13 14:18  pbartok
10509
10510         * XplatUIX11.cs:
10511           - Added code to destroy the X window
10512
10513 2004-10-13 14:18  pbartok
10514
10515         * XplatUIWin32.cs:
10516           - Added code to destroy a window
10517
10518 2004-10-13 14:12  pbartok
10519
10520         * ButtonBase.cs:
10521           - Added the Redraw on Resize that got dropped in the last rev
10522
10523 2004-10-13 09:06  pbartok
10524
10525         * ThemeWin32Classic.cs:
10526           - Path from John BouAntoun:
10527             * Fix check rendering (centre correctly for normal style, offset
10528               correctly for FlatStyle).
10529             * Fix border color usage (use backcolor) for FlatStyle.Popup
10530             * Use checkbox.Capture instead of checkbox.is_pressed when
10531               rendering flatstyle states.
10532
10533 2004-10-12 21:48  pbartok
10534
10535         * ThemeWin32Classic.cs:
10536           - Removed all occurences of SystemColors and replaced them with the
10537             matching theme color
10538
10539 2004-10-12 21:41  pbartok
10540
10541         * ThemeWin32Classic.cs:
10542           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10543             him using the function for flatstyle drawing
10544           - Changed functions to use the new version of CPDrawBorder3D
10545
10546 2004-10-12 21:15  pbartok
10547
10548         * ControlPaint.cs:
10549           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10550             match MS documentation. They need to return defined colors if the
10551             passed color matches the configured control color. Thanks to John
10552             BouAntoun for pointing this out.
10553
10554 2004-10-12 20:57  pbartok
10555
10556         * Control.cs:
10557           - Fix from John BouAntoun: Raise ForeColorChanged event when text
10558             color is changed
10559
10560 2004-10-12 20:46  pbartok
10561
10562         * CheckBox.cs:
10563           - Fix from John BouAntoun: Now properly sets the Appearance property
10564
10565 2004-10-12 20:45  pbartok
10566
10567         * ThemeWin32Classic.cs:
10568           - Fixes from John BouAntoun: now handles forecolors and backcolors
10569             for flatstyle rendered controls much better; It also fixes normal
10570             checkbox rendering when pushed or disabled.
10571
10572 2004-10-08 02:50  jordi
10573
10574         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10575           work
10576
10577 2004-10-07 08:56  jordi
10578
10579         * ThemeWin32Classic.cs: Removes deletion of cached brushes
10580
10581 2004-10-06 03:59  jordi
10582
10583         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10584           XplatUIWin32.cs: removes warnings from compilation
10585
10586 2004-10-05 12:23  jackson
10587
10588         * RadioButton.cs: Fix ctor
10589
10590 2004-10-05 11:10  pbartok
10591
10592         * MessageBox.cs:
10593           - Partial implementation by Benjamin Dasnois
10594
10595 2004-10-05 10:15  jackson
10596
10597         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10598           by John BouAntoun
10599
10600 2004-10-05 03:07  ravindra
10601
10602         * ToolBar.cs:
10603                 - Removed a private method, Draw ().
10604                 - Fixed the ButtonDropDown event handling.
10605                 - Fixed MouseMove event handling.
10606
10607 2004-10-05 03:04  ravindra
10608
10609         * ThemeWin32Classic.cs:
10610                 - Added DrawListView method and ListViewDefaultSize property.
10611                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10612                 - Changed DOS style CRLF to Unix format (dos2unix).
10613
10614 2004-10-05 03:03  ravindra
10615
10616         * Theme.cs:
10617                 - Added DrawListView method and ListViewDefaultSize property.
10618
10619 2004-10-05 02:42  ravindra
10620
10621         * ToolBarButton.cs: Added an internal member dd_pressed to handle
10622           clicks on DropDown arrow.
10623
10624 2004-10-04 22:56  jackson
10625
10626         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10627           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10628           Control handle the buffers, derived classes should not have to
10629           CreateBuffers themselves.
10630
10631 2004-10-04 21:20  jackson
10632
10633         * StatusBar.cs: The control handles resizing the buffers now.
10634
10635 2004-10-04 21:18  jackson
10636
10637         * Control.cs: When resizing the buffers should be invalidated. This
10638           should be handled in Control not in derived classes.
10639
10640 2004-10-04 14:45  jackson
10641
10642         * TabPage.cs: oops
10643
10644 2004-10-04 02:14  pbartok
10645
10646         * LeftRightAlignment.cs:
10647           - Initial check-in
10648
10649 2004-10-04 01:09  jordi
10650
10651         * ThemeWin32Classic.cs: fixes right button position causing right
10652           button not showing on horizontal scrollbars
10653
10654 2004-10-02 13:12  pbartok
10655
10656         * XplatUIX11.cs:
10657           - Simplified the Invalidate method by using an X call instead of
10658             generating the expose ourselves
10659           - Added an expose when the window background is changed
10660           - Implemented ClientToScreen method
10661
10662 2004-10-02 13:08  pbartok
10663
10664         * XplatUIWin32.cs:
10665           - Added Win32EnableWindow method (test for implementing modal
10666           dialogs)
10667           - Added ClientToScreen method and imports
10668
10669 2004-10-02 13:07  pbartok
10670
10671         * XplatUI.cs, XplatUIDriver.cs:
10672           - Added ClientToScreen coordinate translation method
10673
10674 2004-10-02 13:06  pbartok
10675
10676         * KeyPressEventArgs.cs:
10677           - Fixed access level for constructor
10678
10679 2004-10-02 13:06  pbartok
10680
10681         * NativeWindow.cs:
10682           - Changed access level for the window_collection hash table
10683
10684 2004-10-02 13:05  pbartok
10685
10686         * Form.cs:
10687           - Added KeyPreview property
10688           - Added Menu property (still incomplete, pending Jordi's menu work)
10689           - Implemented ProcessCmdKey
10690           - Implemented ProcessDialogKey
10691           - Implemented ProcessKeyPreview
10692
10693 2004-10-02 13:02  pbartok
10694
10695         * Control.cs:
10696           - Added private method to get the Control object from the window
10697           handle
10698           - Implemented ContextMenu property
10699           - Implemented PointToScreen
10700           - Implemented PreProcessMessage
10701           - Implemented IsInputChar
10702           - Implemented IsInputKey
10703           - Implemented ProcessCmdKey
10704           - Completed ProcessKeyEventArgs
10705           - Fixed message loop to call the proper chain of functions on key
10706           events
10707           - Implemented ProcessDialogChar
10708           - Implemented ProcessDialogKey
10709           - Implemented ProcessKeyMessage
10710           - Implemented ProcessKeyPreview
10711           - Added RaiseDragEvent stub (MS internal method)
10712           - Added RaiseKeyEvent stub (MS internal method)
10713           - Added RaiseMouseEvent stub (MS Internal method)
10714           - Added RaisePaintEvent stub (MS Internal method)
10715           - Added ResetMouseEventArgs stub (MS Internal method)
10716           - Implemented RtlTranslateAlignment
10717           - Implemented RtlTranslateContent
10718           - Implemented RtlTranslateHorizontal
10719           - Implemented RtlTranslateLeftRight
10720           - Added generation of KeyPress event
10721
10722 2004-10-02 05:57  ravindra
10723
10724         * ListViewItem.cs: Added attributes.
10725
10726 2004-10-02 05:32  ravindra
10727
10728         * ListView.cs: Added attributes.
10729
10730 2004-10-01 11:53  jackson
10731
10732         * Form.cs: Implement the Close method so work on MessageBox can
10733           continue.
10734
10735 2004-09-30 14:06  pbartok
10736
10737         * XplatUIX11.cs:
10738           - Bug fixes
10739
10740 2004-09-30 11:34  jackson
10741
10742         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10743
10744 2004-09-30 07:26  ravindra
10745
10746         * ListViewItemConverter.cs: Converter for ListViewItem.
10747
10748 2004-09-30 07:26  ravindra
10749
10750         * SortOrder.cs: Enum for ListView control.
10751
10752 2004-09-30 07:25  ravindra
10753
10754         * ColumnHeader.cs: Supporting class for ListView control.
10755
10756 2004-09-30 07:24  ravindra
10757
10758         * ListView.cs, ListViewItem.cs: Initial implementation.
10759
10760 2004-09-30 07:20  ravindra
10761
10762         * ItemActivation.cs: Enum for ListView Control.
10763
10764 2004-09-29 20:29  pbartok
10765
10766         * XplatUIX11.cs:
10767           - Added lookup of pixel value for background color; tries to get a
10768             color 'close' to the requested color, it avoids having to create a
10769             colormap.  Depending on the display this could mean the used color
10770             is slightly off the desired color. Might have to change it to a more
10771             resource intensive colormap approach, but it will work as a
10772           workaround to avoid red screens.
10773
10774 2004-09-29 14:27  jackson
10775
10776         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10777
10778 2004-09-28 12:44  pbartok
10779
10780         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10781           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10782           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10783           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10784           TrackBar.cs, VScrollBar.cs:
10785           - Streamlined Theme interfaces:
10786             * Each DrawXXX method for a control now is passed the object for
10787               the control to be drawn in order to allow accessing any state the
10788               theme might require
10789
10790             * ControlPaint methods for the theme now have a CP prefix to avoid
10791               name clashes with the Draw methods for controls
10792
10793             * Every control now retrieves it's DefaultSize from the current
10794             theme
10795
10796 2004-09-28 12:17  jackson
10797
10798         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10799           drawing
10800
10801 2004-09-24 14:57  jackson
10802
10803         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10804           Gives us a nice little performance boost.
10805
10806 2004-09-24 12:02  jackson
10807
10808         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10809           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10810           Control and supporting classes. Initial checkin
10811
10812 2004-09-23 13:08  jackson
10813
10814         * Form.cs: Temp build fixage
10815
10816 2004-09-23 01:39  ravindra
10817
10818         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10819           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10820           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10821           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10822           EventHandlers needed by ListView Control.
10823
10824 2004-09-22 14:12  pbartok
10825
10826         * ScrollableControl.cs:
10827           - Implemented DockPadding property
10828           - Implemented AutoScroll property
10829           - Implemented AutoScrollMargin property
10830           - Implemented AutoScrollMinSize property
10831           - Implemented AutoScrollPosition property
10832           - Implemented DisplayRectangle property (still incomplete)
10833           - Implemented CreateParams property
10834           - Implemented HScroll property
10835           - Implemented VScroll property
10836           - Implemented OnVisibleChanged property
10837
10838 2004-09-22 14:09  pbartok
10839
10840         * Form.cs:
10841           - Added Form.ControllCollection class
10842           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10843             RemoveOwnedForm (still incomplete, missing on-top and common
10844             minimize/maximize behaviour)
10845           - Added StartPosition property (still incomplete, does not use when
10846             creating the form)
10847           - Added ShowDialog() methods (still incomplete, missing forcing the
10848             dialog modal)
10849
10850 2004-09-22 14:05  pbartok
10851
10852         * Application.cs:
10853           - Added message loop for modal dialogs
10854
10855 2004-09-22 14:02  pbartok
10856
10857         * GroupBox.cs:
10858           - Fixed wrong types for events
10859
10860 2004-09-22 14:00  pbartok
10861
10862         * Shortcut.cs, FormWindowState.cs:
10863           - Fixed wrong values
10864
10865 2004-09-22 12:01  jackson
10866
10867         * Control.cs: Text is never null
10868
10869 2004-09-20 22:14  pbartok
10870
10871         * XplatUIWin32.cs:
10872           - Fixed accessibility level for Idle handler
10873
10874 2004-09-20 18:54  jackson
10875
10876         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10877           XplatUIX11.cs: New message loop that uses poll so we don't get a
10878           busy loop
10879
10880 2004-09-17 10:43  pbartok
10881
10882         * ScrollBar.cs:
10883           - Fixed behaviour of arrow buttons. Now properly behaves like
10884             Buttons (and like Microsoft's scrollbar arrow buttons)
10885
10886 2004-09-17 10:14  pbartok
10887
10888         * ScrollBar.cs:
10889           - Added missing release of keyboard/mouse capture
10890
10891 2004-09-17 06:18  jordi
10892
10893         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10894           Theme.cs: Very early menu support
10895
10896 2004-09-16 17:45  pbartok
10897
10898         * XplatUIWin32.cs:
10899           - Fixed sending a window to the front
10900           - Added overload for SetWindowPos to avoid casting
10901
10902 2004-09-16 17:44  pbartok
10903
10904         * Control.cs:
10905           - Added SendToBack and BringToFront methods
10906
10907 2004-09-16 07:00  ravindra
10908
10909         * Copyright: Added Novell URL.
10910
10911 2004-09-16 07:00  ravindra
10912
10913         * ToolBar.cs: Invalidate should be done before redrawing.
10914
10915 2004-09-15 21:19  ravindra
10916
10917         * ColumnHeaderStyle.cs: Enum for ListView Control.
10918
10919 2004-09-15 21:18  ravindra
10920
10921         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10922           ListView Control.
10923
10924 2004-09-13 18:26  jackson
10925
10926         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10927           properly
10928
10929 2004-09-13 18:13  jackson
10930
10931         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10932           a second thread and post messages into the main threads message
10933           queue. This makes timing much more consistent. Both win2K and XP
10934           have a minimum timer value of 15 milliseconds, so we now do this
10935           too.
10936
10937 2004-09-13 15:18  pbartok
10938
10939         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10940           XplatUIX11.cs:
10941           - Added Z-Ordering methods
10942
10943 2004-09-13 10:56  pbartok
10944
10945         * Form.cs:
10946           - Fixed #region names
10947           - Moved properties and methods into their proper #regions
10948
10949 2004-09-13 10:51  pbartok
10950
10951         * Form.cs:
10952           - Added Accept and CancelButton properties
10953           - Added ProcessDialogKey() method
10954
10955 2004-09-13 08:18  pbartok
10956
10957         * IWindowTarget.cs:
10958           - Initial check-in
10959
10960 2004-09-10 21:50  pbartok
10961
10962         * Control.cs:
10963           - Added DoDragDrop() [incomplete]
10964           - Properly implemented 'Visible' handling
10965           - Added SetVisibleCore()
10966           - Implemented FindChildAtPoint()
10967           - Implemented GetContainerControl()
10968           - Implemented Hide()
10969
10970 2004-09-10 19:28  pbartok
10971
10972         * Control.cs:
10973           - Moved methods into their appropriate #regions
10974           - Reordered methods within regions alphabetically
10975
10976 2004-09-10 18:57  pbartok
10977
10978         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10979           - Added method to retrieve text from window
10980
10981 2004-09-10 18:56  pbartok
10982
10983         * Control.cs:
10984           - Moved some internal functions into the internal region
10985           - Implemented FontHeight
10986           - Implemented RenderRightToLeft
10987           - Implemented ResizeRedraw
10988           - Implemented ShowFocusCues
10989           - Implemented ShowKeyboardCues
10990           - Implemented FromChildHandle
10991           - Implemented FromHandle
10992           - Implemented IsMnemonic
10993           - Implemented ReflectMessage
10994           - All public and protected Static Methods are now complete
10995
10996 2004-09-10 16:54  pbartok
10997
10998         * Control.cs:
10999           - Implemented remaining missing public instance properties
11000           - Alphabetized some out of order properties
11001
11002 2004-09-10 05:51  ravindra
11003
11004         * PictureBox.cs: Added a check for null image.
11005
11006 2004-09-10 00:59  jordi
11007
11008         * GroupBox.cs: remove cvs tag
11009
11010 2004-09-09 05:25  ravindra
11011
11012         * ToolBar.cs: Make redraw accessible from ToolBarButton.
11013
11014 2004-09-09 05:23  ravindra
11015
11016         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11017           parent redraw.
11018
11019 2004-09-09 02:28  pbartok
11020
11021         * ThemeWin32Classic.cs:
11022           - Improve disabled string look
11023
11024 2004-09-09 01:15  jordi
11025
11026         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11027           args and handler
11028
11029 2004-09-08 23:56  ravindra
11030
11031         * ItemBoundsPortion.cs: It's enum, not a class!
11032
11033 2004-09-08 23:47  ravindra
11034
11035         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11036           Enums for Form.
11037
11038 2004-09-08 21:13  ravindra
11039
11040         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11041           ListView control.
11042
11043 2004-09-08 21:03  ravindra
11044
11045         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11046           avoid crash.
11047
11048 2004-09-08 21:01  ravindra
11049
11050         * ScrollableControl.cs: Removed unreachable code.
11051
11052 2004-09-08 06:45  jordi
11053
11054         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11055
11056 2004-09-08 01:00  jackson
11057
11058         * XplatUIX11.cs: Only run the timers when updating the message
11059           queue. This effectively gives X messages a higher priority then
11060           timer messages. Timers still need love though
11061
11062 2004-09-07 14:01  jackson
11063
11064         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11065           this for us and the handle is no longer valid.
11066
11067 2004-09-07 13:59  jackson
11068
11069         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11070           loop that manages to not crash. TODO: Add poll and cleanup timers
11071
11072 2004-09-07 11:12  jordi
11073
11074         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11075
11076 2004-09-07 03:40  jordi
11077
11078         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11079           fixes, methods, multiple links
11080
11081 2004-09-06 06:55  jordi
11082
11083         * Control.cs: Caches ClientRectangle rectangle value
11084
11085 2004-09-05 02:03  jordi
11086
11087         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11088           certain situations
11089
11090 2004-09-04 11:10  jordi
11091
11092         * Label.cs: Refresh when font changed
11093
11094 2004-09-02 16:24  pbartok
11095
11096         * Control.cs:
11097           - Added sanity check to creation of double buffer bitmap
11098
11099 2004-09-02 16:24  pbartok
11100
11101         * ButtonBase.cs:
11102           - Fixed selection of text color
11103           - Fixed handling of resize event; now properly recreates double
11104             buffering bitmap
11105           - Added missing assignment of TextAlignment
11106           - Added proper default for TextAlignment
11107
11108 2004-09-02 14:26  pbartok
11109
11110         * RadioButton.cs:
11111           - Added missing RadioButton.RadioButtonAccessibleObject class
11112
11113 2004-09-02 14:26  pbartok
11114
11115         * Control.cs:
11116           - Added missing Control.ControlAccessibleObject class
11117           - Started to implement Select()ion mechanisms, still very incomplete
11118
11119 2004-09-02 14:25  pbartok
11120
11121         * AccessibleObject.cs:
11122           - Added missing methods
11123
11124 2004-09-02 14:23  pbartok
11125
11126         * AccessibleNavigation.cs, AccessibleSelection.cs:
11127           - Initial check-in
11128
11129 2004-09-02 10:32  jordi
11130
11131         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11132           pool for pens, brushes, and hatchbruses
11133
11134 2004-09-01 15:30  jackson
11135
11136         * StatusBar.cs: Fix typo
11137
11138 2004-09-01 14:44  pbartok
11139
11140         * RadioButton.cs:
11141           - Fixed state
11142
11143 2004-09-01 14:39  pbartok
11144
11145         * Button.cs, RadioButton.cs:
11146           - Functional initial check-in
11147
11148 2004-09-01 14:01  pbartok
11149
11150         * CheckBox.cs:
11151           - Added missing default
11152           - Added missing region mark
11153
11154 2004-09-01 09:10  jordi
11155
11156         * Label.cs: fixes method signatures, new methods, events, fixes
11157           autosize
11158
11159 2004-09-01 07:19  jordi
11160
11161         * Control.cs: Init string variables with an empty object
11162
11163 2004-09-01 04:20  jordi
11164
11165         * Control.cs: fires OnFontChanged event
11166
11167 2004-08-31 20:07  pbartok
11168
11169         * ButtonBase.cs:
11170           - Enabled display of strings
11171
11172 2004-08-31 20:05  pbartok
11173
11174         * Form.cs:
11175           - Added (partial) implementation of DialogResult; rest needs to be
11176             implemented when the modal loop code is done
11177
11178 2004-08-31 19:55  pbartok
11179
11180         * CheckBox.cs:
11181           - Fixed to match the removal of the needs_redraw concept
11182
11183 2004-08-31 19:55  pbartok
11184
11185         * ButtonBase.cs:
11186           - Removed the rather odd split between 'needs redraw' and redrawing
11187           - Now handles the events that require regeneration (ambient
11188             properties and size)
11189
11190 2004-08-31 19:41  pbartok
11191
11192         * Control.cs:
11193           - Added firing of BackColorChanged event
11194           - Added TopLevelControl property
11195           - Fixed handling of WM_ERASEBKGRND message
11196
11197 2004-08-31 12:49  pbartok
11198
11199         * ButtonBase.cs:
11200           - Removed debug
11201           - Minor fixes
11202
11203 2004-08-31 12:48  pbartok
11204
11205         * CheckBox.cs:
11206           - Finished (famous last words)
11207
11208 2004-08-31 04:35  jordi
11209
11210         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11211           scrolling bugs, adds new methods
11212
11213 2004-08-30 14:42  pbartok
11214
11215         * CheckBox.cs:
11216           - Implemented CheckBox drawing code
11217
11218 2004-08-30 14:42  pbartok
11219
11220         * ButtonBase.cs:
11221           - Made Redraw() and CheckRedraw() virtual
11222           - Improved mouse up/down/move logic to properly track buttons
11223
11224 2004-08-30 09:44  pbartok
11225
11226         * CheckBox.cs:
11227           - Updated to fix broken build. Not complete yet.
11228
11229 2004-08-30 09:28  pbartok
11230
11231         * CheckState.cs:
11232           - Initial checkin
11233
11234 2004-08-30 09:17  pbartok
11235
11236         * Appearance.cs:
11237           - Initial check-in
11238
11239 2004-08-27 16:12  ravindra
11240
11241         * ToolBarButton.cs: Added TypeConverter attribute.
11242
11243 2004-08-27 16:07  ravindra
11244
11245         * ImageIndexConverter.cs: Implemented.
11246
11247 2004-08-27 14:17  pbartok
11248
11249         * Control.cs:
11250           - Removed unneeded stack vars
11251           - First attempt to fix sizing issues when layout is suspended
11252
11253 2004-08-25 15:35  jordi
11254
11255         * ScrollBar.cs: more fixes to scrollbar
11256
11257 2004-08-25 14:04  ravindra
11258
11259         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11260           Added the missing divider code and grip for ToolBar Control.
11261
11262 2004-08-25 13:20  pbartok
11263
11264         * Control.cs:
11265           - Control now properly passes the ambient background color to child
11266             controls
11267
11268 2004-08-25 13:20  jordi
11269
11270         * ScrollBar.cs: small bug fix regarding bar position
11271
11272 2004-08-25 12:33  pbartok
11273
11274         * Timer.cs:
11275           - Now only calls SetTimer or KillTimer if the enabled state has
11276           changed
11277
11278 2004-08-25 12:33  pbartok
11279
11280         * XplatUIWin32.cs:
11281           - Fixed timer handling, now seems to work
11282           - Improved error message for window creation
11283
11284 2004-08-25 12:32  pbartok
11285
11286         * Control.cs:
11287           - Fixed generation of MouseUp message
11288
11289 2004-08-25 12:29  jordi
11290
11291         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11292           and fixes for progressbar
11293
11294 2004-08-24 18:43  ravindra
11295
11296         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11297           in ToolBar control.
11298
11299 2004-08-24 17:15  pbartok
11300
11301         * Panel.cs:
11302           - Added #region
11303           - Added missing events
11304           - Alphabetized
11305
11306 2004-08-24 17:14  pbartok
11307
11308         * StatusBar.cs, PictureBox.cs:
11309           - Now uses Control's CreateParams
11310
11311 2004-08-24 16:36  pbartok
11312
11313         * XplatUIX11.cs:
11314           - Fixed background color handling
11315           - Fixed sending of enter/leave events on a grab
11316
11317 2004-08-24 16:35  pbartok
11318
11319         * X11Structs.cs:
11320           - Refined definitions for CrossingEvent
11321
11322 2004-08-24 12:37  jordi
11323
11324         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11325           formmating, methods signature, and adds missing events
11326
11327 2004-08-24 12:24  jordi
11328
11329         * Control.cs: fire OnEnabledChanged event
11330
11331 2004-08-24 11:17  pbartok
11332
11333         * XplatUIWin32.cs:
11334           - Implemented SetTimer() and KillTimer()
11335
11336 2004-08-24 11:16  pbartok
11337
11338         * XplatUIX11.cs:
11339           - Now uses Remove instead of Add to kill the timer
11340
11341 2004-08-24 10:16  jackson
11342
11343         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11344           picture boxes in the theme now. Draw picture box borders and obey
11345           sizing modes
11346
11347 2004-08-24 05:49  jackson
11348
11349         * Timer.cs: Remove top secret debugging code
11350
11351 2004-08-24 05:34  jackson
11352
11353         * PictureBox.cs: Temp hack to make picture boxes draw their full
11354           image
11355
11356 2004-08-24 05:29  jackson
11357
11358         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11359           XplatUIX11.cs: Move timers to the driver level. On X they are
11360           queued by the driver and checked on idle.
11361
11362 2004-08-24 01:07  jackson
11363
11364         * XplatUIX11.cs: Use a queue for async messages instead of passing
11365           them as ClientMessages since that was totally broken. Also simply
11366           check for events and return an idle message if none are found. This
11367           gives us an idle handler, and prevents deadlocking when no messages
11368           are in the queue.
11369
11370 2004-08-23 18:19  ravindra
11371
11372         * XplatUIWin32.cs: Removed the unwanted destructor.
11373
11374 2004-08-23 17:27  pbartok
11375
11376         * ButtonBase.cs:
11377           - Finishing touches. Works now, just needs some optimizations.
11378
11379 2004-08-23 16:53  jordi
11380
11381         * ScrollBar.cs: small fix
11382
11383 2004-08-23 16:45  pbartok
11384
11385         * Application.cs:
11386           - Removed debug output
11387           - Simplifications
11388
11389 2004-08-23 16:43  jordi
11390
11391         * ScrollBar.cs: [no log message]
11392
11393 2004-08-23 16:10  pbartok
11394
11395         * Form.cs:
11396           - Fixed handling of WM_CLOSE message
11397           - Removed debug output
11398
11399 2004-08-23 16:09  pbartok
11400
11401         * Application.cs:
11402           - Added handling of Idle event
11403           - Added handling of form closing
11404           - Fixed reporting of MessageLoop property
11405           - Removed some unneeded code, should provide a bit of a speedup
11406
11407 2004-08-23 15:22  pbartok
11408
11409         * Control.cs:
11410           - Added InitLayout() method
11411           - Added code to properly perform layout when Anchor or Dock property
11412             is changed
11413           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11414             LAMESPEC, tried to do it in a way that makes sense
11415
11416 2004-08-23 14:10  jordi
11417
11418         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11419           properties and methods
11420
11421 2004-08-23 13:55  pbartok
11422
11423         * Control.cs:
11424           - Properly fixed Jordi's last fix
11425           - Now uses Cursor's Position property instead of calling XplatUI
11426           directly
11427
11428 2004-08-23 13:44  jordi
11429
11430         * PaintEventHandler.cs: Adding missing attribute
11431
11432 2004-08-23 13:39  pbartok
11433
11434         * Cursor.cs:
11435           - Implemented Position property
11436
11437 2004-08-23 13:39  pbartok
11438
11439         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11440           - Added method to move mouse cursor
11441
11442 2004-08-23 13:39  pbartok
11443
11444         * XplatUIX11.cs:
11445           - Fixed setting of background color
11446           - Added method to move mouse cursor
11447
11448 2004-08-23 13:16  jordi
11449
11450         * Control.cs: avoids null exception
11451
11452 2004-08-22 17:46  jackson
11453
11454         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11455           PictureBox
11456
11457 2004-08-22 17:40  jackson
11458
11459         * XplatUIX11.cs: Add some missing locks
11460
11461 2004-08-22 15:10  pbartok
11462
11463         * Control.cs, Form.cs:
11464           - Removed OverlappedWindow style from Control, instead it's default
11465             now is child
11466           - Made form windows OverlappedWindow by default
11467
11468 2004-08-22 13:34  jackson
11469
11470         * ScrollBar.cs: Update the position through the Value property so
11471           the OnValueChanged event is raised.
11472
11473 2004-08-22 12:04  pbartok
11474
11475         * SWF.csproj:
11476           - Added Cursor.cs and UserControl.cs
11477
11478 2004-08-22 12:03  pbartok
11479
11480         * Cursor.cs:
11481           - Started implementation, not usable yet
11482
11483 2004-08-22 12:00  pbartok
11484
11485         * UserControl.cs:
11486           - Implemented UserControl (complete)
11487
11488 2004-08-21 19:20  ravindra
11489
11490         * ToolBar.cs: Correcting the formatting mess of VS.NET.
11491
11492 2004-08-21 18:49  ravindra
11493
11494         * ToolBar.cs: Probably this completes the missing attributes in
11495           toolbar control.
11496
11497 2004-08-21 18:03  ravindra
11498
11499         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11500           Fixed toolbar control signatures.
11501
11502 2004-08-21 16:32  pbartok
11503
11504         * LinkLabel.cs:
11505           - Signature Fixes
11506
11507 2004-08-21 16:30  pbartok
11508
11509         * Label.cs:
11510           - Signature fixes
11511
11512 2004-08-21 16:19  pbartok
11513
11514         * Control.cs, Label.cs:
11515           - Signature fixes
11516
11517 2004-08-21 15:57  pbartok
11518
11519         * ButtonBase.cs:
11520           - Added loads of debug output for development
11521           - Fixed typo in method name
11522
11523 2004-08-21 15:52  pbartok
11524
11525         * ToolBarButtonClickEventArgs.cs:
11526           - Added missing base class
11527
11528 2004-08-21 14:53  pbartok
11529
11530         * Control.cs:
11531           - Updated to match new GrabWindow signature
11532
11533 2004-08-21 14:51  pbartok
11534
11535         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11536           - Added method to get default display size
11537
11538 2004-08-21 14:23  pbartok
11539
11540         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11541           - Added method to query current grab state
11542           - Added argument to allow confining a grab to a window
11543
11544 2004-08-21 14:22  pbartok
11545
11546         * Keys.cs:
11547           - Added [Flags] attribute so that modifiers can be used in bitwise
11548           ops
11549
11550 2004-08-21 14:21  pbartok
11551
11552         * TrackBar.cs, ScrollBar.cs:
11553           - Replaced direct XplatUI calls with their Control counterpart
11554
11555 2004-08-21 13:32  pbartok
11556
11557         * Control.cs:
11558           - Implemented Created property
11559
11560 2004-08-21 13:28  pbartok
11561
11562         * Control.cs:
11563           - Implemented ContainsFocus
11564
11565 2004-08-21 13:26  pbartok
11566
11567         * Control.cs:
11568           - Implemented CausesValidation
11569
11570 2004-08-21 13:21  pbartok
11571
11572         * Control.cs:
11573           - Implemented CanFocus
11574           - Implemented CanSelect
11575           - Implemented Capture
11576
11577 2004-08-21 12:35  pbartok
11578
11579         * XplatUIWin32.cs:
11580           - Fixed bug with Async message handling
11581           - Implemented getting the ModifierKeys
11582
11583 2004-08-21 12:32  jackson
11584
11585         * AsyncMethodResult.cs: Make sure we have the mutex before we
11586           release it. Fixes BeginInvoke on windows
11587
11588 2004-08-21 11:31  pbartok
11589
11590         * XplatUIWin32.cs, XplatUIX11.cs:
11591           - Drivers now return proper mouse state
11592
11593 2004-08-21 10:54  jackson
11594
11595         * Control.cs: Implement EndInvoke
11596
11597 2004-08-21 10:48  jackson
11598
11599         * Timer.cs: Remove unneeded finalizer
11600
11601 2004-08-20 19:52  ravindra
11602
11603         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11604           in mouse event handling in the ToolBar control.
11605
11606 2004-08-20 19:50  ravindra
11607
11608         * ImageList.cs: Changed draw method to use the arguments passed in
11609           to draw the image.
11610
11611 2004-08-20 18:58  pbartok
11612
11613         * XplatUIStructs.cs:
11614           - Added private message for async communication
11615
11616 2004-08-20 17:38  ravindra
11617
11618         * Control.cs: Made RightToLeft property virtual and removed a
11619           Console.WriteLine.
11620
11621 2004-08-20 14:39  jordi
11622
11623         * ThemeGtk.cs: use style_attach
11624
11625 2004-08-20 14:39  pbartok
11626
11627         * XplatUIWin32.cs:
11628           - Added jackson's Async code from X11 to Win32
11629
11630 2004-08-20 14:09  pbartok
11631
11632         * SWF.csproj:
11633           - Added all new files
11634
11635 2004-08-20 14:09  pbartok
11636
11637         * Control.cs:
11638           - Added call to set window background color
11639
11640 2004-08-20 14:03  pbartok
11641
11642         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11643           - Added method for setting the window background
11644
11645 2004-08-20 14:02  pbartok
11646
11647         * XplatUIWin32.cs:
11648           - Added method for setting the background color
11649           - Added handling for erasing the window background
11650
11651 2004-08-20 13:45  jordi
11652
11653         * TrackBar.cs: fixes timer, new properties and methods
11654
11655 2004-08-20 13:34  jackson
11656
11657         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11658           correct thread
11659
11660 2004-08-20 13:22  jackson
11661
11662         * Timer.cs: Timer Tick events are now handed through Controls Async
11663           mechanism so the callbacks are executed in the same thread as X
11664
11665 2004-08-20 13:19  jackson
11666
11667         * XplatUIDriver.cs: Expose functionality to send async messages
11668           through the driver
11669
11670 2004-08-20 13:18  jackson
11671
11672         * Control.cs: Implement Begininvoke
11673
11674 2004-08-20 13:14  jackson
11675
11676         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11677           messages through the driver
11678
11679 2004-08-20 13:12  jackson
11680
11681         * XplatUIX11.cs: Lock before all X operations. Also added Async
11682           method functionality through XSendEvent
11683
11684 2004-08-20 13:11  jackson
11685
11686         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11687           This will screw up on 64 bit systems)
11688
11689 2004-08-20 13:10  jackson
11690
11691         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11692           Async messages through X/Win32
11693
11694 2004-08-19 19:39  pbartok
11695
11696         * XplatUIX11.cs:
11697           - Updated code to match new HandleData.DeviceContext type
11698
11699 2004-08-19 19:38  pbartok
11700
11701         * HandleData.cs:
11702           - Made DeviceContext a generic object to allow usage from various
11703           drivers
11704           - Added support for queueing Windows messages
11705
11706 2004-08-19 19:37  pbartok
11707
11708         * XplatUIWin32.cs:
11709           - Added generation of MouseEnter, MouseLeave and MouseHover events
11710           - Added cleanup on EndPaint
11711
11712 2004-08-19 19:17  pbartok
11713
11714         * Control.cs:
11715           - Added handling of WM_MOUSEHOVER
11716           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11717           code
11718
11719 2004-08-19 18:55  jordi
11720
11721         * ThemeGtk.cs: fixes button order
11722
11723 2004-08-19 18:12  jordi
11724
11725         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11726
11727 2004-08-19 17:09  pbartok
11728
11729         * Control.cs:
11730           - Added Right property
11731           - Added RightToLeft property
11732
11733 2004-08-19 16:27  jordi
11734
11735         * ThemeGtk.cs: experimental GTK theme support
11736
11737 2004-08-19 16:26  jordi
11738
11739         * ITheme.cs, Theme.cs: move themes from an interface to a class
11740
11741 2004-08-19 16:25  jordi
11742
11743         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11744           theme enhancaments
11745
11746 2004-08-19 16:04  pbartok
11747
11748         * XplatUIX11.cs:
11749           - Added colormap basics
11750           - Added a way to re-initialize with a different display handle
11751           - Fixed setting of the window background color
11752           - Added various X11 imports related to colors and colormaps
11753
11754 2004-08-19 15:51  pbartok
11755
11756         * X11Structs.cs:
11757           - Removed packing hints (Paolo suggested this a while back)
11758           - fixed colormap type
11759           - Added default Atom types
11760           - Added Screen and color structs and enums
11761
11762 2004-08-19 15:39  pbartok
11763
11764         * ImageList.cs:
11765           - Added missing Draw() method
11766           - Added missing RecreateHandle event
11767
11768 2004-08-19 15:30  pbartok
11769
11770         * Form.cs:
11771           - Added handling of WM_CLOSE
11772
11773 2004-08-18 13:16  jordi
11774
11775         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11776           a table
11777
11778 2004-08-18 09:56  jordi
11779
11780         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11781
11782 2004-08-17 15:31  ravindra
11783
11784         * SWF.csproj: Updated project.
11785
11786 2004-08-17 15:25  pbartok
11787
11788         * Control.cs:
11789           - Drawing improvement; don't call UpdateBounds if we are not visible
11790             (or have been minimized)
11791
11792 2004-08-17 15:24  pbartok
11793
11794         * XplatUIWin32.cs:
11795           - Finished IsVisible
11796           - Added Win32GetWindowPlacement
11797
11798 2004-08-17 15:08  jackson
11799
11800         * Panel.cs: Initial checkin of the Panel
11801
11802 2004-08-17 14:25  pbartok
11803
11804         * Control.cs:
11805           - Fixed broken handling of default window sizes
11806
11807 2004-08-17 13:29  jackson
11808
11809         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11810           has a large startup time.
11811
11812 2004-08-17 10:25  jackson
11813
11814         * HandleData.cs: union areas properly
11815
11816 2004-08-17 10:12  jackson
11817
11818         * HandleData.cs: union areas properly
11819
11820 2004-08-16 20:00  ravindra
11821
11822         * ToolBar.cs, ToolBarButton.cs: Added attributes.
11823
11824 2004-08-16 18:48  ravindra
11825
11826         * ToolBar.cs: Added attributes.
11827
11828 2004-08-16 17:17  ravindra
11829
11830         * SWF.csproj: Updated project.
11831
11832 2004-08-16 17:16  jackson
11833
11834         * XplatUIX11.cs: Check for more expose events before sending a
11835           WM_PAINT so they can all be grouped together. This makes dragging a
11836           window across another window redraw in a sane way.
11837
11838 2004-08-16 15:47  pbartok
11839
11840         * Control.cs:
11841           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11842             support OnMouseEnter/Leave()
11843           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11844             exposure handling
11845
11846 2004-08-16 15:46  pbartok
11847
11848         * XplatUIStructs.cs, XplatUIX11.cs:
11849           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11850           OnMouseEnter/Leave()
11851
11852 2004-08-16 15:34  jackson
11853
11854         * XplatUIX11.cs: Group multiple expose events in HandleData, make
11855           sure messages get the message field set to WM_NULL if they are not
11856           handled.
11857
11858 2004-08-16 15:24  jackson
11859
11860         * HandleData.cs: HandleData is used for storing message information
11861           for window handles
11862
11863 2004-08-15 17:23  ravindra
11864
11865         * ColorDepth.cs: Added attribute.
11866
11867 2004-08-15 17:23  ravindra
11868
11869         * SWF.csproj: Updated project for ToolBar Control.
11870
11871 2004-08-15 17:20  ravindra
11872
11873         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11874           control and also dos2unix format.
11875
11876 2004-08-15 17:13  ravindra
11877
11878         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11879           ToolBarButtonClickEventArgs.cs,
11880           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11881           ToolBarTextAlign.cs: First Implementation of ToolBar control.
11882
11883 2004-08-15 15:31  pbartok
11884
11885         * ButtonBase.cs:
11886           - First (mostly) working version
11887
11888 2004-08-13 16:15  pbartok
11889
11890         * Control.cs:
11891           - Fixed Anchor default
11892
11893 2004-08-13 15:43  pbartok
11894
11895         * Control.cs:
11896           - Changed GetCursorPos signature
11897
11898 2004-08-13 15:42  pbartok
11899
11900         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11901           - Changed signature for GetCursorPos
11902
11903 2004-08-13 15:25  pbartok
11904
11905         * XplatUIX11.cs:
11906           - Cleanup
11907           - Fixed resizing/exposure handling
11908
11909 2004-08-13 15:22  jordi
11910
11911         * ThemeWin32Classic.cs: removes redundant code and fixes issues
11912           with tickposition
11913
11914 2004-08-13 14:55  jordi
11915
11916         * TrackBar.cs: change from wndproc to events
11917
11918 2004-08-13 13:00  jordi
11919
11920         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11921           XplatUIX11.cs: implements PointToClient (ScreenToClient)
11922
11923 2004-08-13 12:53  pbartok
11924
11925         * XplatUIWin32.cs:
11926           - Changed GetWindowPos to also provide client area size
11927           - Fixed broken prototypes for several win32 functions
11928
11929 2004-08-13 12:53  pbartok
11930
11931         * XplatUI.cs, XplatUIDriver.cs:
11932           - Changed GetWindowPos to also provide client area size
11933
11934 2004-08-13 12:52  pbartok
11935
11936         * XplatUIX11.cs:
11937           - Added generation of WM_POSCHANGED
11938           - Changed GetWindowPos to also provide client area size
11939
11940 2004-08-13 12:52  pbartok
11941
11942         * Control.cs:
11943           - Added Dispose() and destructor
11944           - Fixed resizing and bounds calculation
11945           - Fixed Layout
11946           - Added memory savings for invisible windows
11947
11948 2004-08-13 12:46  jordi
11949
11950         * TrackBar.cs: adds timer and grap window
11951
11952 2004-08-13 10:25  jackson
11953
11954         * Timer.cs: SWF Timer
11955
11956 2004-08-12 16:59  pbartok
11957
11958         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11959           - Implemented method to get current mouse position
11960
11961 2004-08-12 14:29  jordi
11962
11963         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11964           enhancement, fix mouse problems, highli thumb, etc
11965
11966 2004-08-12 13:31  pbartok
11967
11968         * Control.cs:
11969           - Fixed Anchoring bugs
11970
11971 2004-08-12 13:01  jackson
11972
11973         * StatusBar.cs: Don't forget things
11974
11975 2004-08-12 12:54  jackson
11976
11977         * ThemeWin32Classic.cs: Handle owner draw status bars
11978
11979 2004-08-12 12:54  jackson
11980
11981         * StatusBar.cs: Implement missing properties, events, and methods.
11982           Handle mouse clicking
11983
11984 2004-08-12 10:19  jackson
11985
11986         * StatusBarPanelClickEventArgs.cs,
11987           StatusBarPanelClickEventHandler.cs: Classes for handling status
11988           bar panel click events
11989
11990 2004-08-12 10:10  jackson
11991
11992         * Control.cs: Add missing properties
11993
11994 2004-08-12 09:46  pbartok
11995
11996         * BindingsManagerBase.cs:
11997           - Name changed to BindingManagerBase.cs
11998
11999 2004-08-12 09:25  jordi
12000
12001         * ScrollableControl.cs: calls ctrlbase instead of exeception
12002
12003 2004-08-11 16:28  pbartok
12004
12005         * InputLanguageChangingEventArgs.cs:
12006           - Never check in before compiling. Fixes the last check-in
12007
12008 2004-08-11 16:26  pbartok
12009
12010         * InputLanguageChangingEventArgs.cs:
12011           - More signature fixes
12012
12013 2004-08-11 16:20  pbartok
12014
12015         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12016           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12017           ImageListStreamer.cs, InputLanguage.cs,
12018           InputLanguageChangedEventArgs.cs,
12019           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12020           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12021           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12022           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12023           - Signature fixes
12024
12025 2004-08-11 16:16  pbartok
12026
12027         * Application.cs:
12028           - Fixed Signature
12029           - Added .Net 1.1 method
12030
12031 2004-08-11 15:25  pbartok
12032
12033         * SWF.csproj:
12034           - Fixed BindingManagerBase.cs filename
12035
12036 2004-08-11 15:22  pbartok
12037
12038         * BindingManagerBase.cs:
12039           - Was checked in with wrong filename
12040
12041 2004-08-11 14:50  pbartok
12042
12043         * SWF.csproj:
12044           - Updated
12045
12046 2004-08-11 13:41  jordi
12047
12048         * XplatUIWin32.cs: Fixes ClientRect
12049
12050 2004-08-11 13:19  pbartok
12051
12052         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12053           XplatUIX11.cs:
12054           - We had SetWindowPos and MoveWindow to set window positions and
12055             size, removed MoveWindow. We have GetWindowPos, so it made sense to
12056             keep SetWindowPos as matching counterpart
12057           - Added some X11 sanity checking
12058
12059 2004-08-11 12:59  pbartok
12060
12061         * Control.cs:
12062           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12063             (It seems that SetBounds is just a front for SetBoundsCore and
12064              SetBoundsCore updates the underlying window system and
12065              UpdateBounds is responsible for updating the variables associated
12066              with the Control and sending the events)
12067           - Major cleanup of Size handling; we now have two sizes, client_size
12068             and bounds. Bounds defines the window with decorations, client_size
12069             without them.
12070
12071 2004-08-11 12:55  pbartok
12072
12073         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12074           - Added method to calculate difference between decorated window and
12075             raw client area
12076
12077 2004-08-11 12:54  pbartok
12078
12079         * Label.cs:
12080           - Forcing redraw on resize
12081
12082 2004-08-11 11:43  pbartok
12083
12084         * ImageList.cs:
12085           - Removed disposing of the actual images when the list is disposed
12086
12087 2004-08-11 09:13  pbartok
12088
12089         * Control.cs:
12090           - Now properly reparents windows
12091
12092 2004-08-11 08:37  pbartok
12093
12094         * Control.cs:
12095           - Duh!
12096
12097 2004-08-11 07:47  pbartok
12098
12099         * Control.cs:
12100           - Rewrote the collection stuff. Might not be as fast now, not
12101             keeping the number of children around and accessible directly, but
12102             it's more straightforward
12103
12104 2004-08-11 07:44  pbartok
12105
12106         * AccessibleObject.cs:
12107           - Fixed to match ControlCollection rewrite
12108
12109 2004-08-11 07:43  pbartok
12110
12111         * ImageList.cs:
12112           - Added missing creation of the collection list
12113
12114 2004-08-10 20:08  jackson
12115
12116         * StatusBar.cs: Get the paint message from WndProc
12117
12118 2004-08-10 19:31  jackson
12119
12120         * ThemeWin32Classic.cs: Create Brushes as little as possible
12121
12122 2004-08-10 19:20  jackson
12123
12124         * UICues.cs: Add Flags attribute
12125
12126 2004-08-10 19:19  jackson
12127
12128         * StatusBarPanel.cs: Signature cleanup
12129
12130 2004-08-10 19:10  jackson
12131
12132         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12133           Initial implementation of status bar item drawing
12134
12135 2004-08-10 17:27  jordi
12136
12137         * TrackBar.cs: add missing methods, properties, and restructure to
12138           hide extra ones
12139
12140 2004-08-10 16:24  jackson
12141
12142         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12143           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12144           attribute
12145
12146 2004-08-10 13:21  jordi
12147
12148         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12149           enhancements and standarize on win colors defaults
12150
12151 2004-08-10 12:52  jackson
12152
12153         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12154           ThemeWin32Classic.cs: Implement DrawItem functionality
12155
12156 2004-08-10 12:47  jordi
12157
12158         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12159
12160 2004-08-10 12:32  jordi
12161
12162         * Control.cs: throw ontextchange event
12163
12164 2004-08-10 11:43  pbartok
12165
12166         * Control.cs:
12167           - Added more to the still unfinished Dock/Anchor layout code
12168
12169 2004-08-10 11:39  pbartok
12170
12171         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12172           - Added GetWindowPos method
12173
12174 2004-08-10 11:36  pbartok
12175
12176         * XplatUIWin32.cs:
12177           - Implemented several methods
12178
12179 2004-08-10 09:47  jackson
12180
12181         * TrackBar.cs: Allow control to handle buffering
12182
12183 2004-08-10 09:41  jackson
12184
12185         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12186
12187 2004-08-10 09:24  jackson
12188
12189         * Label.cs, LinkLabel.cs: Let Control handle buffering.
12190
12191 2004-08-10 09:09  jackson
12192
12193         * StatusBar.cs: Let Control handle all the buffering.
12194
12195 2004-08-10 09:08  jackson
12196
12197         * Control.cs: Control will now handle the buffering code, so each
12198           control does not have to implement this.
12199
12200 2004-08-10 08:34  jackson
12201
12202         * XplatUIDriver.cs: Use default colors from the theme
12203
12204 2004-08-09 17:12  pbartok
12205
12206         * ImageList.cs:
12207           - Fixed several bugs Ravindra pointed out
12208
12209 2004-08-09 16:11  pbartok
12210
12211         * Control.cs:
12212           - Added incomplete dock layout code
12213           - Added support for mouse wheel
12214
12215 2004-08-09 16:09  pbartok
12216
12217         * XplatUIX11.cs:
12218           - Added handling for middle and right mousebutton
12219           - Added handling for mouse wheel
12220           - Added handling for key state and mouse state and position
12221           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12222           messages
12223
12224 2004-08-09 15:40  jackson
12225
12226         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12227           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12228           checkin
12229
12230 2004-08-09 15:37  jackson
12231
12232         * StatusBar.cs: Initial implementation of StatusBar
12233
12234 2004-08-09 15:36  jackson
12235
12236         * ITheme.cs: Add support for drawing status bar and getting status
12237           bar item sizes
12238
12239 2004-08-09 15:35  pbartok
12240
12241         * MouseButtons.cs:
12242           - Fixed values
12243
12244 2004-08-09 15:34  jackson
12245
12246         * ThemeWin32Classic.cs: Add support for drawing status bar and get
12247           status bar item sizes
12248
12249 2004-08-09 15:21  jackson
12250
12251         * ThemeWin32Classic.cs: Use known colors for default control
12252           colours
12253
12254 2004-08-09 15:12  jackson
12255
12256         * ThemeWin32Classic.cs: Make the default font static, it is static
12257           in control so this doesn't change functionality and creating fonts
12258           is sloooooow.
12259
12260 2004-08-09 14:56  pbartok
12261
12262         * X11Structs.cs:
12263           - Added GrabMode enum
12264
12265 2004-08-09 14:55  pbartok
12266
12267         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12268           - Removed Run method, was only required for initial development
12269
12270 2004-08-09 14:51  pbartok
12271
12272         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12273           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12274           capture
12275
12276 2004-08-09 13:48  pbartok
12277
12278         * XplatUIX11.cs:
12279           - Fixed default sizing for child windows
12280
12281 2004-08-09 12:56  pbartok
12282
12283         * XplatUIX11.cs:
12284           - Added generation of WM_DESTROY message
12285           - Added handling of window manager induced shutdown
12286
12287 2004-08-09 11:31  jackson
12288
12289         * ThemeWin32Classic.cs: New names for control properties
12290
12291 2004-08-09 11:25  jackson
12292
12293         * Control.cs: Use new color names
12294
12295 2004-08-09 11:02  jackson
12296
12297         * XplatUI.cs: Get default window properties from the theme
12298
12299 2004-08-09 11:01  jackson
12300
12301         * ITheme.cs: The theme engine now controls default window
12302           properties
12303
12304 2004-08-09 11:00  jackson
12305
12306         * ThemeWin32Classic.cs: Add default window color properties
12307
12308 2004-08-09 10:17  jackson
12309
12310         * ThemeWin32Classic.cs: Use correct default back color
12311
12312 2004-08-09 10:05  jackson
12313
12314         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12315           the theme now.
12316
12317 2004-08-09 09:56  jackson
12318
12319         * XplatUI.cs: Remove defaults, these are handled by the theme now.
12320
12321 2004-08-09 09:54  jackson
12322
12323         * Control.cs: Get default properties from the theme.
12324
12325 2004-08-09 09:53  jackson
12326
12327         * ITheme.cs: Themes now handle default control properties
12328
12329 2004-08-09 09:53  jackson
12330
12331         * ThemeWin32Classic.cs: Themes now handle default control
12332           properties so coloring will be consistent
12333
12334 2004-08-08 16:54  jordi
12335
12336         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12337
12338 2004-08-08 15:08  jordi
12339
12340         * XplatUIX11.cs: fixes keyboard crash
12341
12342 2004-08-08 13:47  jordi
12343
12344         * Label.cs: add cvs header info
12345
12346 2004-08-08 12:09  jackson
12347
12348         * ThemeWin32Classic.cs: Add pen_buttonface
12349
12350 2004-08-08 11:52  jordi
12351
12352         * Label.cs, LinkLabel.cs: [no log message]
12353
12354 2004-08-08 11:34  jordi
12355
12356         * ThemeWin32Classic.cs: Use Windows Standard Colours
12357
12358 2004-08-07 17:32  jordi
12359
12360         * TrackBar.cs: throw exceptions of invalid enums values
12361
12362 2004-08-07 17:31  jordi
12363
12364         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12365           draw method name
12366
12367 2004-08-07 16:56  jackson
12368
12369         * HorizontalAlignment.cs: Initial checkin
12370
12371 2004-08-07 13:16  jordi
12372
12373         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12374           methods
12375
12376 2004-08-07 13:05  jordi
12377
12378         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12379           GetSysColor defines
12380
12381 2004-08-06 18:01  pbartok
12382
12383         * ThemeWin32Classic.cs:
12384           - Fixed some rounding issues with float/int
12385
12386 2004-08-06 18:00  jackson
12387
12388         * DockStyle.cs, AnchorStyles.cs:
12389
12390                   Add flags and serializable attributes.
12391
12392 2004-08-06 17:46  pbartok
12393
12394         * XplatUIX11.cs:
12395           - Implemented GetParent
12396
12397 2004-08-06 17:18  pbartok
12398
12399         * TrackBar.cs:
12400           - Fixed some rounding issues with float/int
12401
12402 2004-08-06 17:17  pbartok
12403
12404         * X11Structs.cs, XplatUIX11.cs:
12405           - Fixed Refresh and Invalidate
12406
12407 2004-08-06 15:30  pbartok
12408
12409         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12410           - Fixed recursive loop when resizing
12411           - Improved/fixed redrawing on expose messages
12412
12413 2004-08-06 09:53  jordi
12414
12415         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12416           keyboard navigation
12417
12418 2004-08-06 08:02  pbartok
12419
12420         * X11Structs.cs, XplatUIX11.cs:
12421           - Fixed reparenting
12422           - Fixed window border creation
12423
12424 2004-08-05 15:38  pbartok
12425
12426         * XplatUIX11.cs:
12427           - Attempted fix for reparenting problems
12428
12429 2004-08-04 15:14  pbartok
12430
12431         * Control.cs:
12432           - Fixed Invalidation bug (calculated wrong client area)
12433           - Added ClientSize setter
12434
12435 2004-08-04 15:13  pbartok
12436
12437         * Form.cs:
12438           - Added AutoScale properties
12439
12440 2004-08-04 15:13  pbartok
12441
12442         * SWF.csproj:
12443           - Added latest files
12444
12445 2004-08-04 14:11  pbartok
12446
12447         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12448           XplatUIX11.cs:
12449           - Added Invalidate handling
12450
12451 2004-08-03 17:09  jordi
12452
12453         * XplatUIDriver.cs: fixes spelling mistake
12454
12455 2004-07-27 09:53  jordi
12456
12457         * TrackBar.cs: fixes trackbar events, def classname, methods
12458           signature
12459
12460 2004-07-27 09:29  jordi
12461
12462         * ScrollBar.cs: fixes scrollbar events
12463
12464 2004-07-27 04:38  jordi
12465
12466         * Control.cs: changes to be able to run winforms samples
12467
12468 2004-07-26 11:42  jordi
12469
12470         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12471           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12472
12473 2004-07-26 05:41  jordi
12474
12475         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12476           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12477           implementation
12478
12479 2004-07-22 09:22  jordi
12480
12481         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12482           check link overlapping, implement events, and fixes
12483
12484 2004-07-21 10:28  jordi
12485
12486         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12487
12488 2004-07-21 10:19  jordi
12489
12490         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12491           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12492           LinkLabelLinkClickedEventArgs.cs,
12493           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12494           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12495           implementation
12496
12497 2004-07-19 13:09  jordi
12498
12499         * Control.cs, Label.cs: label control re-written: added missing
12500           functionlity, events, and properties
12501
12502 2004-07-19 10:49  jordi
12503
12504         * Control.cs: fixes SetBounds logic
12505
12506 2004-07-19 01:29  jordi
12507
12508         * Control.cs: Call RefreshWindow only if the window has created
12509
12510 2004-07-15 14:05  pbartok
12511
12512         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12513           - Implemented ImageList and ImageList.ImageCollection classes
12514           - Added ColorDepth enumeration
12515           - Updated SWF VS.Net project
12516
12517 2004-07-15 11:06  jordi
12518
12519         * XplatUIStructs.cs: added MsgButons enum
12520
12521 2004-07-15 11:03  jordi
12522
12523         * Control.cs: added basic mouse handeling events
12524
12525 2004-07-15 03:38  jordi
12526
12527         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12528           Vertical TrackBar control implementation
12529
12530 2004-07-13 09:33  jordi
12531
12532         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12533
12534 2004-07-13 09:31  jordi
12535
12536         * Control.cs, Form.cs: commit: new properties and fixes form size
12537           problems
12538
12539 2004-07-09 14:13  miguel
12540
12541         * ProgressBar.cs: Spelling
12542
12543 2004-07-09 11:25  pbartok
12544
12545         * ProgressBar.cs:
12546           - Removed usage of Rectangle for drawing. Miguel pointed out it's
12547           faster
12548
12549 2004-07-09 11:17  miguel
12550
12551         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
12552
12553                 * ProgressBar.cs: Fixed spelling for `block'
12554
12555                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12556                 style guidelines.
12557
12558                 Avoid using the += on rect.X, that exposed a bug in the compiler.
12559
12560 2004-07-08 23:21  pbartok
12561
12562         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12563           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12564           BaseCollection.cs, Binding.cs, BindingContext.cs,
12565           BindingMemberInfo.cs, BindingsCollection.cs,
12566           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12567           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12568           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12569           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12570           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12571           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12572           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12573           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12574           FrameStyle.cs, GiveFeedbackEventArgs.cs,
12575           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12576           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12577           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12578           InputLanguageChangedEventArgs.cs,
12579           InputLanguageChangedEventHandler.cs,
12580           InputLanguageChangingEventArgs.cs,
12581           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12582           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12583           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12584           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12585           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12586           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12587           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12588           QueryAccessibilityHelpEventArgs.cs,
12589           QueryAccessibilityHelpEventHandler.cs,
12590           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12591           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12592           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12593           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12594           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12595           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12596           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12597           XplatUIX11.cs, lang.cs:
12598           - Initial check-in
12599