2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
blob0baf8dfb36fda07161e4112fb7300ae8940b49a4
1 2006-04-17  Jonathan Chambers  <jonathan.chambers@ansys.com>
3         * PropertyGridTextBox.cs: Formatting, copyright
4         * PropertiesTab.cs: Formatting
5         * PropertyGrid.cs: Formatting
6         * PropertyGridView.cs: Formatting, fix drop down, enabled double 
7           click toggling of values
8           
9 2006-04-17  Peter Dennis Bartok  <pbartok@novell.com> 
11         * KeyPressEventArgs: Added 2.0 only setter for KeyChar
12         * Control.cs (.ctor): verify_thread_handle is static, don't reset
13           every time a control is created
14         * Application.cs: Removed obsolete EnableRTLMirroring method
16 2006-04-18  Gert Driesen  <drieseng@users.sourceforge.net>
18         * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
19         SelectedIndex to -1. Fixes bug #78121.
21 2006-04-17  Jackson Harper  <jackson@ximian.com>
23         * Binding.cs: Handle null values for Current and BindingContext.
24         This occurs when binding is a little delayed.
25         * CurrencyManager.cs: return null for Current when there are no
26         items in the list.
27         - Hookup to the listchanged event on the DataView and update
28         bindings when the list is changed.  This fixes late binding of
29         controls.
31 2006-04-17  Jackson Harper  <jackson@ximian.com>
33         * X11Dnd.cs:
34         * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
35         Ringenbach.
37 2006-04-15  Alexander Olk  <alex.olk@googlemail.com>
39         * ThemeWin32Classic.cs: Draw disabled combo button in the correct
40           place
41         * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
42           with the correct ButtonState
44 2006-04-14  Peter Dennis Bartok  <pbartok@novell.com>
46         * XplatUIX11.cs: Improved distinguishing between window types to
47           tell the WM a type closer to what the app wants (Fixes #78107)
49 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
51         * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
52           GrabHandle
54 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
56         * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
57           drawing code to reflect the size grip changes
59 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61         * ImageListStreamer.cs: fix handling of the mask that follows the main
62         bitmap when deserializing and serialize it properly. The generated mask
63         should better be a 1bpp image, but I'll do that later.
65 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
67         * FileDialog.cs: Show something in the DirComboBox on *nix if the
68           path doesn't fit into some of our Current.Places
70 2006-04-13  Jackson Harper  <jackson@ximian.com>
72         * ComboBox.cs: Use borders instead of drawing our own decorations,
73         try to obey correct rules for heights.
74         * Theme.cs:
75         * ThemeNice.cs:
76         * ThemeClearLooks.cs:
77         * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
78         this is now handled by borders.
79         - Remove unused DrawListBoxDecorationSize method.
80         
81 2006-04-13  Mike Kestner  <mkestner@novell.com>
83         * MenuAPI.cs: null guarding for the disbled click check fixes crash
84         reported by Alex.
86 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
88         * ThemeWin32Classic.cs: 
89           - Fixed CPDrawStringDisabled
90           - Corrected drawing of disabled menu items
91           - Fixed drawing of disabled radio buttons (bug #78095)
92           - Draw check in a disabled CheckBox with color ControlDark 
94 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
96         * Form.cs: Use the provided width when calculating the menu size;
97           when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
98           and ClientSize.Width won't be updated yet
99         * Application.cs: Use Visible instead of Show() to make form visible,
100           this way we create the handle later and menusize is considered
102 2006-04-12  Mike Kestner  <mkestner@novell.com>
104         * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
105         reporting.
107 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
109         * TextBox.cs: Implemented context menu
111 2006-04-12  Mike Kestner  <mkestner@novell.com>
113         * ListView.cs: implement box selection. fixes #77838.
114         * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
116 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
118         * XplatUIX11.cs: Added setting of window type when transient window
119           is created (metacity would move it otherwise)
120         * X11Structs.cs: Added WINDOW_TYPE atoms
121         * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
122           background (the control is Opaque but still wants transparent
123           backgrounds)
125 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
127         * Control.cs: Added OnPaintBackgroundInternal to allow controls
128           that set Opaque but don't mean it (like all ButtonBase-derived
129           controls) to still draw their background
130         * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
131           the background
133 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
135         * Control.cs (PaintControlBackground): Set the graphics object
136           on our PaintEvent to null to prevent it from being disposed
137           when the PaintEvent gets disposed
139 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
141         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
142         * ThemeNice.cs, ThemeClearlooks.cs: fix typo
144 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
146         * Control.cs: 
147           - Added transparency check to BackColor property. Transparent
148             backgrounds are only allowed if the control styles permit it
149           - Added recursive painting of parent control background and
150             foreground if a control with a transparent backcolor is drawn
151             (Thanks to Tim Ringenback for providing his 'hack' as a base
152              for this patch) Fixes #77985 and #78026.
153           - Added Opaque style check before calling OnPaintBackground, no
154             need to draw the background if the control is opaque
155           - Removed ControlAccessibleObject owner variable (inherited from
156             base, no need to define again)
157           - Added some documentation links explaining the drawing events
158             and styles
160 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
162         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
163           that the affected control is the located at the left border of our
164           parent (Fixes #77936)
166 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
168         * TextBoxBase.cs: When rendering disabled or readonly controls,
169           draw the background with 'Control' instead of 'Window' color as
170           long as the user hasn't specifically set a color
172 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
174         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
175           since that won't be updated if the user types text (only if it's
176           programatically set)
178 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
180         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
181           layout changes do to app-triggered resizes will have the proper
182           display rectangle for layout
184 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
186         * ThemeWin32Classic.cs:
187           - Make use of the SystemBrushes and SystemPens wherever possible
188           - Corrected some highlight colors
189           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
190             drawing
191         * Theme.cs: Added Empty field to CPColor struct
193 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
195         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
196           is displayed when calculating the display rectangle. Thanks to Mike
197           for teaching me the err of my ways.
199 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
201         * ScrollableControl.cs:
202           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
203             (instead of 0,0) and we now return the real width/height instead of
204             just the clientrectangle, adjusted for padding. The rectangle is
205             now cached and created by the new CalculateDisplayRectangle method.
206           - Created new CalculateDisplayRectange method, which basically does
207             what get_DisplayRectangle() did originally, but now using the 
208             right edge instead of DisplayRectangle to determine the size of
209             our scrollbars
210           - get_Canvas(): Fixed it to properly calculate canvas for 
211             right/bottom controls which seem to be placed to the right/bottom
212             of any controls that have a fixed location
213           - Removed TODO that's taken care of
214           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
215             and SetDisplayRectLocation according to new MSDN2 docs
216           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
217             event when that is called, this is added for compatibility
218           - ScrollControlIntoView(): Implemented.
219           - Switched scrollbars to be implicit, they shouldn't be selectable
220         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
221           call it when the active control is set/changed
222         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
223         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
224           implicit_control variable (used for native Win32 message generation)
225         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
226           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
227         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
228         * XplatUIStructs.cs: Added ScrollBarCommands enum
230 2006-04-10  Jackson Harper  <jackson@ximian.com>
232         * ButtonBase.cs:
233         * CheckedListBox.cs:
234         * ComboBox.cs:
235         * DataGrid.cs:
236         * DataGridView.cs:
237         * Form.cs:
238         * GroupBox.cs:
239         * ListBox.cs:
240         * PrintPreviewControl.cs:
241         * ProgressBar.cs:
242         * PropertyGrid.cs:
243         * Splitter.cs:
244         * StatusBar.cs:
245         * TrackBar.cs:
246         * UpDownBase.cs: Fixup base event overrides.
247         
248 2006-04-06  Mike Kestner  <mkestner@novell.com>
250         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
251         all user-initiated value changes to min <= value <= max-thumbsz+1.
252         (set_Value): check for vert/horiz when calculating new thumb position.
253         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
254         like MS does.
255         (OnMouseMoveSB): refactor the thumb dragging code and refine
256         invalidation logic to reduce flicker.
257         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
258         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
259         (UpdateThumbPosition): small code readability cleanup
261 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
263         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
264           different
266 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
268         * ThemeNice.cs: Use a better graphics effect when a button is pressed
270 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
272         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
273         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
274           This dramatically reduces the number of Pen.Dispose calls. 
275           Where possible call ResPool methods only once instead of calling it
276           over and over again (for example for the same color).
278 2006-04-06  Mike Kestner  <mkestner@novell.com>
280         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
281         Also remove an unused private field on the collection. Fixes #77972.
283 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
285         * ThemeNice.cs: Added ToolBar drawing code
287 2006-04-06  Mike Kestner  <mkestner@novell.com>
289         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
290         I'm assuming that means we need to look up the toplevel for the
291         provided control. Fixes the crash trace in #77911 but exposes another
292         crash in some strange reflection usage in NDocGui.
294 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
296         * ThemeNice.cs: Gave it a little silver touch and added Images
297           method
298         * FontDialog.cs: FontDialog is not resizable
299         * FileDialg.cs: Added SizeGripStyle.Show
301 2006-04-05  Jackson Harper  <jackson@ximian.com>
303         * KeyboardLayouts.cs: Remove warning.
305 2006-04-05  Jackson Harper  <jackson@ximian.com>
307         * Control.cs: Enable OnPaintInternal so we can use it for drawing
308         all of our controls instead of Paint +=.
309         * ListBox.cs:
310         * ListView.cs:
311         * MenuAPI.cs:
312         * MessageBox.cs:
313         * NotifyIcon.cs:
314         * ProgressBar.cs:
315         * ScrollBar.cs:
316         * Splitter.cs:
317         * StatusBar.cs:
318         * TabControl.cs:
319         * TextBoxBase.cs:
320         * ToolBar.cs:
321         * TrackBar.cs:
322         * UpDownBase.cs:
323         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
324         use OnPaintInternal. Remove Width/Height and Visible checks in
325         paint handler, this is done at a higher level now.
326         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
327         * PaintEventArgs.cs: Add a handled flag so controls that don't
328         want anymore painting after OnPaintInternal can make sure OnPaint
329         isn't called.
331 2006-04-05  Mike Kestner  <mkestner@novell.com>
333         * Form.cs: fix the menu WndProc hacks to respect the native enabled
334         state of the form, so that we don't process events when Modal dialogs
335         are up. Fixes #77922.
337 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
339         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
340           checking is done.
342 2006-04-05  Mike Kestner  <mkestner@novell.com>
344         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
346 2006-04-05  Mike Kestner  <mkestner@novell.com>
348         * ListView.cs (HeaderMouseMove): null guarding for the over column
349         when setting up the drag_to_index.  Fixes #78015.
351 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
353         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
354           in the taskbar. Transient windows seem to accomplish that.
356 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
358         * Form.cs:
359           - Re-enabled CreateParams.X/Y code for FormStartPosition
360           - Added code for manual placement when creating the Control
361           - Incomplete patch to treat MDI forms differently when
362             setting the ClientSizeCore. (Still need to figure out handling
363             x/y coords there)
364         * XplatUIX11.cs:
365           - When we're explicitly setting the X/Y position of a non-Child
366             window, let the WM know. Metacity really wants this.
368 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
370         * ThemeNice.cs: Added CPDrawButton
372 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
374         * ThemeNice.cs: Changed the color for focused buttons and activated
375           the arrows for small scroll buttons.
377 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
379         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
380           anymore. Changed some method modifiers to protected (virtual)
381         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
382           changes
383         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
384           Updated drawing of menus, buttons and progressbars; added
385           CPDrawBorder3D 
387 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
389         * ImageListStreamer.cs: implemented serialization/deserialization
390         of the images.
392 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
394         * ThemeWin32Classic.cs:
395           - Removed all the DrawFrameControl stuff; CPDrawButton,
396             CPDrawCheckBox and CPDrawRadioButton are now handled directly
397             inside the methods
398           - Updated and corrected the drawing code of CPDrawButton,
399             CPDrawCheckBox and CPDrawRadioButton to better match ms
400           - Updated theme checkbox and radiobutton code to use the CP*
401             methods
403 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
405         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
406           bug is fixed
408 2006-03-31  Jackson Harper  <jackson@ximian.com>
410         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
411         sometimes.
412         * UpDownBase.cs: Don't CreateGraphics manually, use a
413         Refresh. Ideally we would invalidate the correct areas here.
415 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
417         * XplatUIX11.cs: 
418           - We now track the mapping state of windows. If a window (or 
419             one of it's parents) is not mapped we no longer permit
420             WM_PAINT messages to be generated since we'd otherwise get 
421             lots of BadMatch X errors. Jackson did all the work figuring
422             out the problem.
423           - Destroying the caret if the window it's contained in is 
424             destroyed. Can't use regular DestroyCaret method since it
425             might fall into a drawing function (trying to remove the
426             caret) and with that generate new BadMatch errors. Again,
427             Jackson tracked this down.
428           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
429             make sure we send the messages to all windows. (The old code
430             would send the WM_DESTROY to the window, and then all child
431             windows would be 'gone' because the WM_DESTROY handle lookup
432             would no longer find the destroyed window)
433         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
434         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
436 2006-03-31  Jackson Harper  <jackson@ximian.com>
438         * ScrollableControl.cs: Dont recalc if we are not visible.
440 2006-03-31  Mike Kestner  <mkestner@novell.com>
442         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
443         the visibility branch.
445 2006-03-31  Jackson Harper  <jackson@ximian.com>
447         * ScrollBar.cs: Cap values when incrementing/decrementing.
449 2006-03-31  Mike Kestner  <mkestner@novell.com>
451         * MenuAPI.cs: setup menu.tracker for popup/context menus.
452         * ToolTip.cs: guard against timer expirations with no active control.
453         Not sure why it happened.
455 2006-03-31  Mike Kestner  <mkestner@novell.com>
457         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
458         text.
459         * ToolTip.cs: Position the tooltip based on where the cursor is at
460         popup time, not at MouseEnter time.  Add a Down state so that we don't
461         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
462         positioning offset. Lookup DisplaySize at positioning time, since it
463         can theoretically change during invocation.
464         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
465         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
467 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
469         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
470           Fixes behaviour when the Text property of the box is String.Empty
472 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
474         * XplatUIX11.cs: Only send mouseleave for our client windows, not
475           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
476           a window)
478 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
480         * FileDialog.cs: Visual enhancement for the popup buttons in 
481           PopupButtonPanel
483 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
485         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
486           code
488 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
490         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
491           highlighted menu items to match ms
493 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
495         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
497 2006-03-30  Mike Kestner  <mkestner@novell.com>
499         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
500         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
501         go active to account for HotLight to Selected transition.
502         * MenuItem.cs: add internal Selected prop. Fill out the Status
503         property by calculating it from item info. Add HotLight,
504         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
506 2006-03-30  Mike Kestner  <mkestner@novell.com>
508         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
510 2006-03-29  Jackson Harper  <jackson@ximian.com>
512         * Form.cs: Implement TODO.
514 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
516         * PrintPreviewDialog.cs: Implemented missing methods and events; still
517           missing proper dialog setup in the constructor
519 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
521         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
522         * Control.cs:
523           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
524           - Fixed ResetBindings and removed TODO
525           - Added check for cross-thread calls to get_Handle()
526           - Added Marshaller attribute for set_Font to satisfy class status
527         * FontDialog.cs: Removed TODOs that seemed implemented
528         * UpDownBase.cs: Removed unneeded TODO and Fixme
529         * MessageBox.cs: Implemented support for Default button and removed TODO
530         * FileDialog.cs: Removed obsolete TODO
531         * DomainUpDown.cs: Removed obsolete TODO
532         * ButtonBase.cs: Removed obsolete TODO
533         * XplatUIWin32.cs: Removed obsolete TODO
534         * Form.cs:
535           - Removed obsolete TODO
536           - Calling CheckAcceptButton when the acceptbutton is changed to allow
537             internal status updates
538           - Making sure the active control is selected when the control is created
539         * CurrencyManager.cs: Removed obsolete TODO
541 2006-03-29  Mike Kestner  <mkestner@novell.com>
543         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
544         of PrintPreviewDialog and RichTextBox.
546 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
548         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
549           DarkDark, Light and LightLight colors for a specific color
550         * ThemeWin32Classic.cs:
551           - Use Button drawing code to draw RadioButtons and CheckBoxes with
552             Appearance = Button 
553           - Make use of the new ResPool helper CPColor
554           - Draw ProgressBar and StatusBar with correct 3D borders
556 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
558         * ColorDialog.cs: Return selected color. Fixes bug #77940.
560 2006-03-28  Mike Kestner  <mkestner@novell.com>
562         * ListView.cs: fix Icon layout to plan for scrollbar widths when
563         calculating col/row counts.
565 2006-03-28  Mike Kestner  <mkestner@novell.com>
567         * ColumnHeader.cs:
568         * ListView.cs:
569         * ListViewItem.cs:
570         * Menu.cs: 
571         switch to explicit interface method implementation for some methods
572         corcompare identifies as inconsistent with MS.
574 2006-03-28  Mike Kestner  <mkestner@novell.com>
576         * MainMenu.cs: 
577         * Menu.cs:
578         add a few missing methods from the class status output.
580 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
582         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
583           correct.
585 2006-03-28  Mike Kestner  <mkestner@novell.com>
587         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
589 2006-03-27  Mike Kestner  <mkestner@novell.com>
591         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
592         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
594 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
596         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
598 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
600         * ThemeWin32Classic.cs:
601           - GroupBox: Inserted a little gap between the text and the lines
602             on the right side
603           - Made the code in CPDrawBorder3D more readable
604           - Corrected the drawing location of the up and down arrows in 
605             CPDrawScrollButton
607 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
609         * ControlPaint.cs: Corrected line widths in DrawBorder for
610           ButtonBorderStyle Inset and Outset
612 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
614         * ThemeWin32Classic.cs:
615           - Rewrote the totally broken CPDrawBorder3D method. That was
616             one of the main problems for the terrific ThemeWin32Classic
617             look
618           - Updated and corrected Button drawing
619           - Correct the dimensions of the SizeGrip to match ms ones
620           - Removed a small drawing glitch in DrawComboBoxEditDecorations
621         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
622           Border3DStyle.Sunken to match ms.
624 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
626         * ThemeWin32Classic.cs: First small part of the "de-uglify
627           ThemeWin32Classic" effort, SizeGrip
629 2006-03-24  Jackson Harper  <jackson@ximian.com>
631         * XplatUIX11.cs: Give a max idle time of one second, this matches
632         MS and forces an Idle event every second when there are no other
633         events in the queue.
635 2006-03-24  Mike Kestner  <mkestner@novell.com>
637         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
638         * ListView.Item.cs: fix layout issues with null image lists and images
639         smaller than checkbox size.
640         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
641         mode like MS does.  It's weird, but consistent.  ;-)
642         Fixes #77890.
644 2006-03-24  Mike Kestner  <mkestner@novell.com>
646         * ListView.cs: Scroll wheel support for the item control.  Fixes
647         #77839.
649 2006-03-23  Jackson Harper  <jackson@ximian.com>
651         * ScrollableControl.cs: Special case negative sized areas, not
652         zero.
653         * MonthCalendar.cs: Save the rect of the clicked date so we can
654         use it for invalidation.
655         - Try to cut down on the number of invalidates
656         - Invalidate the rect the mouse is over and was over when moving
657         the mouse, so we get the focus box following the cursor.
659 2006-03-23  Mike Kestner  <mkestner@novell.com>
661         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
662         focus rectangle drawing. Fixes #77835.
664 2006-03-23  Mike Kestner  <mkestner@novell.com>
666         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
667         the if and else if and reverting back to the original == check on the
668         None conditional.
670 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
672         * FontDialog.cs: Update the example panel if the selected index of
673           the fontListBox changes.
675 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
677         * FileDialog.cs: Make FileDialog remember which directory it was in
678           last in the same execution.
680 2006-03-22  Mike Kestner  <mkestner@novell.com>
682         * FileDialog.cs: make the DropDownMenu on the toolbar display
683         RadioChecks since they are mutually exclusive and that's what MS does.
685 2006-03-22  Mike Kestner  <mkestner@novell.com>
687         * Theme.cs: add Color param to CPDrawMenuGlyph.
688         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
689         checks and radio marks and arrows are visible on highlighted items.
690         * ControlPaint.cs: update to use new Theme signature.
692 2006-03-22  Mike Kestner  <mkestner@novell.com>
694         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
695         is active. Fixes #77870.
697 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
699         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
700           to be focused/selected after startup
702 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
704         * ColorDialog.cs: 
705           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
706             CustomColors and ShowHelp properties
707           - Some internal rewrites to get better results when using the
708             ColorMatrix
710 2006-03-22  Mike Kestner  <mkestner@novell.com>
712         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
713         HoverSelection.  Fixes #77836.
715 2006-03-22  Mike Kestner  <mkestner@novell.com>
717         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
718         ToggleButtons.  (De)Sensitize the Back button around a stack count of
719         1, not 0.  Update ButtonSize based on a pixel count of the win32
720         control.  Adjust the toolbar size/location for new button size.
722 2006-03-22  Jackson Harper  <jackson@ximian.com>
724         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
725         true.
726         * ScrollBar.cs: When doing increments and decrements we need to
727         set the Value property so that ValueChanged gets raised. A
728         possible optimization here would be to make an internal SetValue
729         that doesn't invalidate immediately.
730         * ToolTip.cs: Tooltips get added to their container (when
731         supplied) so they get disposed when the container is disposed.
732         - Don't create tooltips for String.Empty. This prevents all these
733         little 2-3 pixel windows from showing up when running nunit-gui
734         and driving me mad.
735         * Form.cs: Don't set topmost when setting the owner if the handles
736         haven't been created yet.  The topmost set will happen when the
737         handles are created.
739 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
741         * XplatUIX11.cs:
742           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
743           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
744             visible (to allow them to recalculate their sizes)
746 2006-03-21  Mike Kestner  <mkestner@novell.com>
748         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
749         methods. Removed a ton of redundant code.  Still not really happy with
750         the border rendering, but I think that's mainly because of the
751         ControlDarkDark being black instead of a dark grey. Depending on how 
752         close we want to be, we might want to revisit those color choices.
753         Among the new features added during the refactor were DropDownArrow
754         pressed rendering, Disabled image rendering.  Proper flat appearance
755         boundary rendering.  Removed the Divider and Wrapping dividers since I
756         can't figure out any combination of themes and conditions to make the
757         MS control draw a horizontal line on a toolbar despite what the
758         Divider property docs indicate.
759         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
760         conditions and incorrect layout.  Updated to coding standard.
761         * ToolBarButton.cs: refactored layout and positioning code from
762         ToolBar to here.  Invalidate wherever possible instead of forcing
763         redraws of the whole toolbar. 
764         (Known remaining issues: explicit ButtonSize smaller than provided
765         images.)
767 2006-03-21  Mike Kestner  <mkestner@novell.com>
769         * ContextMenu.cs (Show): use the position parameter instead of just
770         showing at the MousePosition.
772 2006-03-21  Jackson Harper  <jackson@ximian.com>
774         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
775         control handle this.
776         * TreeNodeCollection.cs: If we are clearing the root node we need
777         to reset top_node so calcs can still happen.
778         * ThemeWin32Classic.cs: This is a Flags so we need to check
779         properly.
780         
781 2006-03-21  Jackson Harper  <jackson@ximian.com>
783         * DataGrid.cs: Create columns when the binding context has been
784         changed.
785         * X11Structs.cs: Keysyms are uints.
786         - Add size to fix build.
788 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
790         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
791           XplatUIOSX.cs: 
792           - Added ResetMouseHover method to allow controls to retrigger
793             hovering if they need it more than once
794           - Implemented MouseHoverTime and MouseHoverSize properties
795         * Timer.cs: Start() must reset the interval
796         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
797           properties
799 2006-03-21  Jackson Harper  <jackson@ximian.com>
801         * X11Keyboard.cs: improved layout detection. Move the nonchar
802         tables into this file.
803         * KeyboardLayouts.cs: Move the tables into resource files.
805 2006-03-21  Mike Kestner  <mkestner@novell.com>
807         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
809 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
811         * Mime.cs: Various speed optimizations. Looking up mime types
812           is now 2 times faster than before
814 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
816         * CreateParams.cs: Added internal menu field
817         * Control.cs: 
818           - Switched call order for UpdateBounds; now we always call
819             the one that also takes ClientSize, and we're calculating the 
820             client size via driver method in the others. The previous
821             method of tracking client size by difference wasn't working
822             for forms where even the starting client size wouldn't match
823             the overall form size (due to borders) (Part of fix for #77729)
824           - CreateParams(): Do not use parent.Handle unless the handle is
825             already created. Causes havoc with Nexxia and throws off our
826             creation of controls
827         * XplatUIX11.cs:
828           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
829           - Switched handling of ConfigureNotify over to new PerformNCCalc 
830             method (consolidates code)
831           - Changed RequestNCRecalc to use new PerformNCCalc method
832           - Added calls to RequestNCRecalc when menus and borders are changed
833             to allow app to set NC size. (Part of fix for #77729) This matches
834             when MS send a WM_NCRECALC on Win32 windows.
835           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
836             (Part of fix for #77729). This matches what MS does, they also
837             send that message when the form is made visible.
838           - XException.GetMessage: Improved usability of X errors by including
839             a translation of the window into Hwnd and Control class
840           - Improved debug info for window creation, reparenting and destruction
841           - Created helper method WindowIsMapped() [Currently not used]
842         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
843         * Form.cs:
844           - CreateParams: Now setting our menu on the new internal menu field
845           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
846             avoid calculating the same property twice
847         * Hwnd.cs:
848           - Improved usability of ToString() for debugging purposes
849           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
850             determine the height of the menu, instead of just the font. This
851             required to also create a graphics context and to keep a bmp 
852             around (for performance reasons)
854 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
856         * MenuAPI.cs: Added OnMouseUp method
857         * Form.cs:
858           - Now remembering the requested client size, avoids size errors
859           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
860             instead of base if the menu is active. This is required due to
861             control now capturing and releasing on down/up and it would
862             prematurely release our menu capture
864 2006-03-17  Jackson Harper  <jackson@ximian.com>
866         * KeyboardLayouts.cs: Add the czech layouts.
868 2006-03-16  Jackson Harper  <jackson@ximian.com>
870         * Control.cs: Use the viewport space when sizing not the controls
871         client size, so things like ScrollableControl that effect the
872         viewport size (when scrollbars are added) are computed correctly.
873         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
874         of ManagerEntrys.
875         - Handle creating BindingManagers for null data sources.
876         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
877         source, otherwise when rows are added they are added to the 'fake'
878         datasource and we will crash when trying to set the position in
879         those rows.
880         - Use Implicit scrollbars on the datagrid so they arent
881         selectable.
882         
883 2006-03-16  Jackson Harper  <jackson@ximian.com>
885         * Binding.cs:
886         * InternalWindowManager.cs:
887         * MdiWindowManager.cs:
888         * X11Keyboard.cs: I really want Mike to love me again (fix
889         compiler warnings).
891 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
893         * DataGrid.cs:
894           - OnMouseDown: Switch to editing mode when clicking on the cell
895                          even if we're clicking on the cell that's currently 
896                          selected
897           - ProcessGridKey: Left/Right now wrap like MS.Net does
898           - ProcessGridKey: Tab now knows to add a new row when tab is
899                             pressed in the cell of the last column of the 
900                             last row
901           - ProcessGridKey: Enter now adds another row  if pressed in the last
902                             row and selectes the new row, same column cell
903           - ProcessGridKey: Home/End navigate columns, not rows, like 
904                             originally implemented
905           - Broke ProcessKeyPreview code out into an extra Internal method
906             so it can be called from the edit code
907         * DataGridTextBox.cs (ProcessKeyMessage):
908           - Switched to accept Tab keypresses
909           - Added F2 handling to allow jumping to the end of the edited cell
910           - Added logic to allow moving caret left/right inside edited cell
911             and making the edited cell jump when the caret hits cell borders
912           - Tab and Enter are now passed to the datagrid after being handled
913         * TextBoxBase.cs:
914           - Removed capture code now that Control handles it
915           - set_SelectionStart now ensures caret is visible
917 2006-03-16  Jackson Harper  <jackson@ximian.com>
919         * TrackBar.cs: Debackwards the increment/decrement for handling
920         mouse clicks on the bar with vertical trackbars.
921         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
922         bottom to match MS.
924 2006-03-16  Mike Kestner  <mkestner@novell.com>
926         * ListView.cs: make shift/ctrl keyboard and mouse selection 
927         consistent with the MS control. Fix a bug in
928         SelectedListViewItemCollection.Clear that was pissing me off for the
929         better part of a day because the collection was being altered
930         underneath us as we walked the list.
932 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
934         * Control.cs: Not sure how we could miss this so long, but it seems
935           that MS.Net has Capture set all the way from before calling 
936           OnMouseDown through sending the mouse events until after
937           OnMouseUp. This will fix DataGrid's selection being set to end
938           at the location of the MouseUp.
940 2006-03-15  Jackson Harper  <jackson@ximian.com>
942         * BindingContext.cs: Check the binding after its added so that it
943           can initialize the binding managers and hookup to events.
944         * Binding.cs: Data members seem to sometimes include rows/cols in
945           the format Row.Column we now take this into account.
946           - Hookup to the position changed event so we can update the
947           control when the position has changed in the data set.
948         * CurrencyManager.cs: Take into account the row/col naming
949           convention when creating dataset tables.
950         * BindingContext.cs: Using a newer better way of storing
951           datasource/datamember pairs.  Hopefully this better matches MS for
952           looking up binding managers.
955 2006-03-15  Jackson Harper  <jackson@ximian.com>
957         * BindingContext.cs: The currency manager needs the data member
958         name, if the member is a data set we use the name to find the
959         correct table.
960         * CurrencyManager.cs: When creating the list prefer an IList over
961         an IListSource.
962         - Attempt to create a DataTable from a DataSet (TODO: might need
963         some better error checking here, although MS doesn't seem to have much)
964         - If we have a DataTable create a view and use it as our list.
966 2006-03-15  Mike Kestner  <mkestner@novell.com>
968         * ListView.cs: keep a matrix of the icon mode layout to facilitate
969         keyboard navigation. Support Up/Down/Left/Right selection correctly
970         for all 4 View modes.
971         * ListViewItem.cs: add internal row/col fields for icon layouts.
973 2006-03-15  Jackson Harper  <jackson@ximian.com>
975         * TabControl.cs: Redraw the tabs when we resize so their newly
976         calculated sizes are drawn on screen.
977         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
978         composite characters.
979         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
980         - filter events so that composite characters can be created
981         patches by peter
982         * X11Structs.cs: Add XIMProperties enum.
984 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
986         * Control.cs (BringToFront, SendToBack): Don't use window or handle
987           unless it's created
989 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
991         * Control.cs (PerformLayout): We don't need to consider visiblity
992           for anchoring, only for docking. This fixes 'whacky' alignment
993           in listbox and other controls that use implicit scrollbars after
994           the previous PerformLayout patch
995         * ListBox.cs: Switched to use implicit scrollbars
996           
997 2006-03-14  Mike Kestner  <mkestner@novell.com>
999         * ToolBar.cs: 
1000         * VScrollBar.cs:
1001         - chain up the "new event" overrides to base and use
1002         OnEvent to raise them.  Part of fix for bug #76509.
1004 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
1006         * FileDialog.cs: Do not select an item in the parent directory
1007           on backspace
1009 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1011         * Control.cs (PerformLayout): It would seem that we considered
1012           invisible windows for our layout. Not quite the right thing
1013           to do. Now we don't any longer, thereby fixing bug #76889.
1015 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1017         * Control.cs (CanFocus): I goofed. A control can have focus 
1018           even though it's not selectable. Made it match MS docs.
1020 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1022         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1023           center by default (fixes #76895)
1024         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
1025           all uses of Border3DSides.All with the explicit ORd together
1026           Left|Right|Top|Bottom because I assume that nobody was aware 
1027           that All also implies a center fill. Most places I checked had
1028           a fill right above.
1029         * ProgressBarStyle.cs: Added
1031 2006-03-13  Mike Kestner  <mkestner@novell.com>
1033         * ListView.cs: fix breakage in drag shadow header positioning 
1034         from Peter's csc compilation fix.
1036 2006-03-13  Mike Kestner  <mkestner@novell.com>
1038         * ListView.cs: fix NRE produced by backspacing twice in a focused
1039         FileDialog.
1041 2006-03-13  Mike Kestner  <mkestner@novell.com>
1043         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1045 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1047         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1048           be changed
1049         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1050           the allowed size before making programmatic size changes
1052 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
1054         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
1055           set, metacity is broken and will still use the emty sizes in 
1056           the struct. (Fix for #77089)
1058 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1060         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
1061           WindowExStyles and marked both enums as Flags
1062         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1063           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1064           to match WindowStyles split
1065         * XplatUIX11.cs:
1066           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1067           - Updated to match WindowStyles split
1068         * XplatUIWin32.cs:
1069           - Fixed FosterParent creation, was using ExStyle on the Style field
1070             (This should help with Popup focus issues)
1071           - Updated to match WindowStyles split
1073 2006-03-13  Jackson Harper  <jackson@ximian.com>
1075         * MdiWindowManager.cs: Use the system menu height. Fixes some
1076         strange sizing issues.
1078 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1080         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1081         * TextBoxBase.cs:
1082           - Scroll to caret after inserting text (#77672)
1083           - Make scroll range one pixel higher, fixes off-by-one error (and
1084             makes underlines visible on the last line)
1086 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
1088         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1089           the keyboard state from being stuck with keys in 'pressed' state when
1090           focus is switched away via keyboard
1091         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1092           reset the keyboard if no X11 KeyUp events are expected to come
1093         * X11Structs.cs: Switched type of Visible to bool to match driver
1095 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1097         * TextControl.cs:
1098           - Switched caret to be just 1 pixel wide, matches MS and looks less
1099             clunky
1100           - Moved caret display 1 pixel down from the top of the control
1101             to improve view
1102           - InsertCharAtCharet: Update the selection start if moving the caret
1103             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1104           - No longer always creating the caret when the caret methods are
1105             called. Only the actual ShowCaret/HideCaret will do that now
1106           - Only setting caret visible if the owner control has focus
1107           - UpdateView: Added invalidation-shortcut logic for center and right 
1108             aligned text. Previously we'd update all according to the left
1109             logic which caused drawing errors. Also fixed height of invalidated
1110             areas, now properly invalidating the whole area (was off-by-one)
1111           - owner_HandleCreated: Always generate the document when the
1112             handle is created; this ensures that 
1113         * TextBoxBase.cs:
1114           - Fixed situation where caret would disappear under the right
1115             window border, also improved scrolling behaviour on left-
1116             aligned textboxes
1117           - Fixed right-aligned textboxes to have a border to the
1118             right instead of the caret being under the right border
1119         * XplatUIX11.cs:
1120           - Switched from 'nested' to simple visible/not visible tracking 
1121             for caret (part of fix for #77671)
1122           - No longer passing through translated FocusIn/FocusOut messages
1123             since we were notifying too often and the wrong windows. Instead
1124             we just notify our focussed window of receiving or loosing focus
1125         * XplatUIWin32.cs: Switched from 'nested' show/hide 
1126           counting for caret to simple visible yes/no behaviour (part of 
1127           fix for #77671)
1129 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1131         * Mime.cs: Remove debug code...
1133 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1135         * MimeGenerated.cs: Removed
1136         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1137           and subclasses) from /usr/(local/)share/mime and
1138           $HOME/.local/share/mime.
1140 2006-03-10  Jackson Harper  <jackson@ximian.com>
1142         * MdiWindowManager.cs: Recalc the NC area when a window is
1143         maximized/restored so that the menu area is drawn on forms that
1144         don't have a menu.
1146 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1148         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1149           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1150           us to force a WM_NCCALCRESIZE message being sent. This is needed
1151           for MDI maximizing.
1153 2006-03-10  Jackson Harper  <jackson@ximian.com>
1155         * Form.cs: We need to use the ActiveMenu when calculating menu
1156         height.
1157         - Fix nullref when the window manager hasn't been created yet.
1158         * Control.cs: Fix nullref when we try to bring a control to the
1159         front that has no parent.
1160         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1161         height.
1162         - Add a dummy item to the maximized menu so it always has the
1163         correct height. Otherwise when there are no menus we don't get our
1164         icon and buttons.
1165         
1167 2006-03-10  Jackson Harper  <jackson@ximian.com>
1169         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1170         stuff.
1171         * Form.cs: Make the window_state internal so the window managers
1172         can track it.
1173         - When an MDI child is maximized let its window manager create the
1174         main menu (so it can add its icon).
1175         - Notify the window managers of state changes
1176         - Let the window manager paint its buttons and handle button
1177         clicks on the menu when it is maximized.
1178         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1179         window manager, since tool windows don't use it, only mdi windows.
1180         - Tell the main form that we don't want it to handle NCPAINT
1181         itself to avoid extra painting.
1182         - Handle clicks on a maximized windows menu.
1183         - Handle window state changes
1184         - Handle minimize/maximize clicks correctly by setting the window state.
1185         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1186         when clicking on the forms icon).
1187         - New method to create a forms maximized menu. This is its normal
1188         menu + an icon.
1189         - Handle window state changes.
1190         - Handle sizing of maximized windows.  Maximized windows are just
1191         drawn bigger then the parent visible area. All controls are still
1192         there, they are just outside the visible area (this matches windows).
1193         * MdiClient.cs: No scrollbars when a child window is maximized.
1194         - Let the children windows figure out how big they should be when
1195         sizing maximized windows.
1196         - Implement a version of ArrangeIconicWindows somewhat similar to
1197         Windows version.  There are some little differences, but I don't
1198         think any app will rely on the layout of minimized mdi windows.
1200 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1202         * Padding.cs: Several fixes to allow compiling with csc 2.0
1204 2006-03-09  Jackson Harper  <jackson@ximian.com>
1206         * Menu.cs:
1207         * MenuItem.cs: Cheap hack so we can add items to the list without
1208         the events being raised.  This allows adding mdi items during
1209         drawing. TODO: Should probably find a better time to add the items.
1211 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1213         * ThemeWin32Classic.cs:
1214           - CheckBox_DrawText: Added logic to not wrap if not enough space
1215             is available (Fix for bug #77727)
1216           - RadioButton_DrawText: Added logic not to wrap if not enough
1217             space is available (Fix for bug #77727). Also removed some
1218             duplicate code, DrawString always drawing the regular text
1219             before hitting the if statement.
1221 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1223         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1225 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1227         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1228         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1229           methods. Moved the new 2.0 properties into alphabetical order with
1230           other properties and added MonoTODO tags
1232 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1234         * AutoScaleMode.cs: Added. Fix build.
1236 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1238         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1239           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1240           and was requiring premature handle creation for calls from above
1241         * Form.cs, Control.cs: Removed handle arguments from calls to
1242           CalculateClientRect()
1244 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1246         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
1247           drag_column.column_rect is MarshalByRef and can't be used that way
1249 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1251         * AxHost.cs: Added deserialization constructor for 
1252           AxHost+State (fixes 77743)
1254 2006-03-09  Mike Kestner  <mkestner@novell.com>
1256         * ListView.cs: 
1257         - Added column drag reordering for details view.
1258         - fixed behavior when mouse is dragged off column and
1259         AllowColumnReorder is false.
1260         * ColumnHeader.cs: clone the format too in Clone.
1261         * Theme.cs: add DrawListViewHeaderDragDetails method.
1262         * ThemeWin32Classic.cs:
1263         - impl new method for drawing drag column shadows and targets.
1264         - support column offset for details mode in DrawListViewItem.
1266 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1268         * TextControl.cs: Reset the char_count when the document is cleared
1269           (Fixes bug reported on mono-winforms mailing list)
1271 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1273         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1274           of calling base we simply process the key ourselves, since both
1275           DefWindowProc and the handled method would set m.Result. 
1276           (Fixes #77732)
1278 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1280         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1281           method also moves the window; instead implemented a copy of
1282           Control.ScaleCore (Part of fix for #77456)
1283         * TextBoxBase.cs: 
1284           - Created new CreateGraphicsInternal method to allow providing
1285             a graphics context when no handle is created without triggering
1286             handle creation. (Part of fix for #77456)
1287           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1288         * TextControl.cs: 
1289           - Switched Constructor to require TextBoxBase instead of Control (to
1290             allow uncast access to CreateGraphicsInternal)
1291           - Safeguarded use of owner.Handle property. No longer accessing it
1292             unless the handle is already created.
1293           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1294           - Now triggering a recalc when owning control becomes visible
1295         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
1296           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1297           premature handle creation (Part of fix for #77456)
1298         * Control.cs:
1299           - We now only destroy our double-buffering buffers when the
1300             control is resized or disposed, but not when visibility
1301             changes. (The code even re-created them twice every time)
1302           - Now requiring a redraw of the buffer on visibility changes
1303             (fixes bug 77654 part 2)
1304           - Not passing OnParentVisibleChanged up unless the control
1305             is visible
1306           - CanFocus: Fixed to match MS documentation
1307           - Focus: Fixed to return actual focus state and to check if
1308             setting focus is legal before setting it
1310 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
1312         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1313           when to draw focus rectangle by looking at parent focus and
1314           selected state instead. This fixes TabPages on Linux sometimes
1315           having none or multiple focus rectangles.
1316         * XplatUIX11.cs (SetFocus): 
1317           - Don't set the focus if the same window already has focus
1318           - Use SendMessage instead of PostMessage (like it's Win32
1319             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1320             to match MS behaviour
1321         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1322           are not selectable.
1324 2006-03-07  Jackson Harper  <jackson@ximian.com>
1326         * PictureBox.cs: Revert line I accidently committed last week.
1328 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
1330         * Control.cs: 
1331           - Added new IsRecreating and ParentIsRecreating properties to
1332             allow testing if RecreateHandle has been called on ourselves
1333             or one of our parents
1334           - WndProc(WM_DESTROY): If our control handle is being recreated
1335             we immediately need to create the handle when receiving the
1336             destroy, that way our child windows find a valid parent handle
1337             when they themselves are being recreated upon WM_DESTROY receipt
1338             (fix for bug #77654 part 1)
1339         * XplatUIX11.cs:
1340           - DestroyWindow: WM_DESTROY must be sent to our own window before
1341             notifying any child windows. MS documents that child windows
1342             are still valid when WM_DESTROY is received. (Control now relies on
1343             this behaviour)
1344           - Added some fine-grain debug options
1346 2006-03-06  Jackson Harper  <jackson@ximian.com>
1348         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1349         box and base calculations off this.
1350         * MdiChildContext.cs:
1351         * MdiWindowManager.cs: Don't need to ensure scrollbars here
1352         anymore.
1353         
1354 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
1356         * Splitter.cs: In situations where the affected control is added
1357           to the parent's control list after the splitter, we would not
1358           populate affected. Now we try populating it on mousedown, if
1359           it's not already set, and force it to be re-set whenever our
1360           parent changes.
1362 2006-03-03  Matt Hargett  <matt@use.net>
1364         * Control.cs: implement Control.Padding
1365         * Padding.cs: -Padding.All returns -1 when constructing with the
1366         implicit default ctor
1367         -Padding.ToString() matches MS.NET
1368         * ContainerControl.cs: implement
1369         ContainerControl.AutoScaleDimensions
1370         * ListControl.cs: implement ListControl.FormattingEnabled
1371         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1372         * ButtonBase.cs:
1373         * TabPage.cs: Implement UseVisualStyleBackColor.
1374         * PictureBox.cs: Implement PictureBox.InitialImage.
1376 2006-03-03  Mike Kestner  <mkestner@novell.com>
1378         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1379         event declarations to proxy to base event.
1380         * ListViewItem.cs: update to use ItemControl.
1381         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1382         * ThemeWin32Classic.cs: update to new ListView theme API and fix
1383         column header label rendering for 0 width columns.
1385 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
1387         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1388           that causes the control to be created. Fixes #77476.
1390 2006-03-02  Jackson Harper  <jackson@ximian.com>
1392         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1393         expose_pending.
1395 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
1397         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1398           passed in for the EventArgs (fixes #77690)
1400 2006-03-01  Jackson Harper  <jackson@ximian.com>
1402         * ScrollBar.cs: Refresh afterbeing resized.
1404 2006-02-28  Mike Kestner  <mkestner@novell.com>
1406         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1407         Clean up a tracker compile warning.
1408         * MenuItem.cs: add internal PerformPopup method.
1409         [Fixes #77457]
1411 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1413         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1414           implicit expose) when the text is set to null
1416 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
1418         * RichTextBox.cs (FlushText): When newline is true, we always
1419           need to split the line, even if no text is on it and we may
1420           never eat newlines. (Fixes #77669)
1422 2006-02-28  Mike Kestner  <mkestner@novell.com>
1424         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
1425         and set Selected instead.
1426         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
1427         collections.
1429 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1431         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1433 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
1435         * FontDialog.cs:
1436           - Got rid of the panel. All controls are now directly added to
1437             the dialog form
1438           - It is now possible to set a font with the Font property
1439           - MinSize and MaxSize property do now what they should
1440           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1441           - Searching and selecting a font with the font textbox works now,
1442             the same applies to the style and size textbox
1443           - Draw the correct 3D border in the example panel
1444           - Fixed a little mem leak (unused fonts didn't get disposed)
1445           - Many other internal updates/rewrites...
1446           - Fix typo
1448 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1450         * TextControl.cs: 
1451           - InsertRTFFromStream: Added 'number of characters inserted' argument
1452           - set_SelectedRTF: Now using the number of characters to calculate
1453             the new location for the selection and cursor (x/y cannot be used
1454             due to potentially already wrapped text)
1456 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1458         * TextControl.cs: Added property and implemented means to allow 
1459           disabling recalculation of a document (can be used to speed up
1460           multiple inserts and is needed to make RTF inserts predictable, see
1461           bug #77659)
1462         * RichTextBox.cs: Using the new NoRecalc property of Document to
1463           keep x/y insert locations predictable. Also makes it faster inserting
1464           large chunks of RTF
1466 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1468         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1469           it's easier for a child control to handle the other messages without
1470           having to duplicate the special functionality
1471         * TextBoxBase.cs
1472           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1473             code to handle processing the key ourselves, in order to get 
1474             access to the result of KeyEventArgs.Handled. We now only call 
1475             ProcessKey if they key hasn't been handled already. Fixes #77526.
1476           - set_Text: If null or empty string is given, just clear the 
1477             document. Fixes part of #77526
1479 2006-02-27  Jackson Harper  <jackson@ximian.com>
1481         * SizeGrip.cs: Paint the background color before painting the grip
1482         so things look right.
1483         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1485 2006-02-27  Mike Kestner  <mkestner@novell.com>
1487         * ListView.cs:
1488           - Restructure layout and invalidation model to remove a ton of
1489           flicker from the control and speed up performance in general.
1490           - Add manual column resize, flickers like crazy, but I already have
1491           some ideas on how I'll fix that. (#76822)
1492           - Merge the three Icon-based views into a single layout method.
1493           - Move item selection interaction logic from the item since 
1494           interaction with the collections is more appropriate to the view.
1495           - Deselection on non-item clicks.
1496         * ListViewItem.cs:
1497           - Encapsulate most of the layout. Add some internal props to trigger
1498           layout.  Move to a model where Items invalidate themselves instead
1499           of just invalidating the whole control every time something changes.
1500           - Invalidate on Text/Caption changes.
1501           - switch to an offset based layout model to avoid having to absolute
1502           position every element on item moves.
1503           - correct checkbox layout to conform to MS layout.
1504         * ThemeWin32Classic.cs:
1505           - refactor some column header drawing code.
1506           - fix string justification for column headers (#76821)
1507           - make SmallIcon labels top justified for compat with MS impl.
1508         * ThemeClearlooks.cs:
1509           - adjust to new ListViewItem internal checkbox bounds api.
1511 2006-02-27  Jackson Harper  <jackson@ximian.com>
1513         * Control.cs:  Change where implicit controls fall in the zorder.
1514         They are now on top of all children.
1515         - Synced AddImplicit code with Add
1516         - Removed unused enumerator.
1517         * SizeGrip.cs: Remove the TODO as its been TODONE.
1519 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
1521         * TextControl.cs(Insert): Combine the last lines unless the insertion
1522           string ends with \n\n, otherwise we leave one line too many (Fixes
1523           something I noticed with the testapp for #77526; the bug itself was
1524           already fixed in the previous checkin)
1526 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
1528         * RichTextBox.cs:
1529           - SelectionColor and SelectionFont methods no longer set absolute
1530             styles. Instead, the keep font or color respectively (This 
1531             resolves a long-standing FIXME in the code)
1532           - When flushing RTF text, the insert code now considers text trailing
1533             behind the insertion point (Fixes the bug where when replacing
1534             the selected text via SelectedRTF the remainder of the line behind 
1535             the selection would stay on the first insertion line)
1536         * TextBoxBase.cs:
1537           - AppendText now updates the selection points after inserting text
1538           - AppendText now ensures that the last tag (sometimes 0-length) of
1539             the document is used for the style information (Fixes part of 
1540             bug #77220)
1541         * TextControl.cs:
1542           - Created new FontDefiniton class to allow describing partial style
1543             changes
1544           - StreamLine() now takes a lines argument, to allow it to decide
1545             whether an encountered zero-length tag is the last in the document
1546             (which must be kept to not loose the font/color contained in it,
1547             for later appends)
1548           - Created Combine() and Split() methods for Marker structs, to 
1549             support marker updates due to reformatted documents (soft line
1550             wraps)
1551           - Implemented Document.CaretTag setter
1552           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1553             of the last line (Not the cause, but also exposed by bug #77220)
1554           - Added LineTag argument to InsertString method, to allow callers
1555             to force a certain tag to be used (required to force use of the
1556             trailing zero-length tag of a document)
1557           - Now updating markers in Combine(), to avoid stale tag markers
1558           - Added some method descriptions to aid maintenance
1559           - Implemented new FormatText concept, allowing additive/subtractive
1560             formatting by only specifying the components that are to be 
1561             changed. This was needed for resolving the RTB.SelectedColor/
1562             RTB.SelectedFont fixmes
1563           - Added Break() support method to allow breaking up linetags (used
1564             for partial formatting)
1565           - Added GenerateTextFormat() method. It is used for partial 
1566             formatting and allows to generate a full font/color from given
1567             attributes and an existing tag.
1569 2006-02-26  Jackson Harper  <jackson@ximian.com>
1571         * XplatUIX11.cs:  Use the correct caption height.
1572         - Translate hittest coordinates to screen coords to match MS.
1573         * XplatUIWin32.cs: When we create MDI windows we need to reset
1574         some of the style flags, so we get a nice blank window, and can
1575         draw all the decorations ourselves.
1576         - Set a clipping rectangle on the non client paint event, the
1577         window manager drawing code needs one.
1578         * Form.cs: The window manager needs to know when the window state
1579         has been updated.
1580         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1581         don't need to factor in border and title sizes in these
1582         methods. TODO: Remove the args and fix the call points.
1583         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1584         properly.
1585         - Let the driver set the cursors.
1586         - Improve active window handling
1587         - Correct sizes for title bars and buttons.
1588         - Match MS drawing better
1589         * MdiWindowManager.cs: We don't need to handle border style
1590         updates specially anymore.
1591         - Check for scrollbars when windows are done moving
1592         - Handle Active properly.
1593         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1594         correctly. I am spewing the exception though, so we don't hide the
1595         bugs.
1596         
1597 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
1599         * DataGridViewRowPostPaintEventArgs.cs,
1600           DataGridViewCellPaintingEventArgs.cs,
1601           DataGridViewRowCollection.cs,
1602           DataGridViewRowPrePaintEventArgs.cs,
1603           DataGridViewCell.cs: Clear a few warnings and implement a few
1604           exceptions that should be thrown.
1606 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1608         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1609           'inheriting' our parent's (non-default) cursor. (Part of
1610            the fix for #77479)
1612 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
1614         * XplatUIX11.cs: Fixed cast to make csc happy
1616 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1618         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1619           it's for the client area (part of fix for #77479 and needed
1620           for MDI window cursor handling)
1621         * XplatUIX11.cs
1622           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1623             the appropriate default cursors and also passing the message
1624             up the parent chain 
1625           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1626             for non-client areas
1628 2006-02-15  Jackson Harper  <jackson@ximian.com>
1630         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1631         is a real MDI window
1633 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
1635         * X11DesktopColors.cs: Instead of checking the desktop session
1636           string for "KDE" check if it starts with "KDE"
1638 2006-02-10  Jackson Harper  <jackson@ximian.com>
1640         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1641         systems).
1643 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1645         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1646           errors
1647         * ColorDialog.cs:
1648           - Got rid of the panel. All controls are now directly added to
1649             the dialog form
1650           - Changed to mono coding style
1652 2006-02-10  Jackson Harper  <jackson@ximian.com>
1654         * InternalWindowManager.cs: We don't need the set visibility to
1655         false hack anymore now that peter has written beautiful shutdown
1656         code.
1658 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
1660         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1661           where already explicitly destroyed
1663 2006-02-10  Jackson Harper  <jackson@ximian.com>
1665         * MdiClient.cs: Handle the case where windows are too high or to
1666         the left and we need scrollbars.
1668 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1670         * MimeIcon.cs: Added some icons
1671         * FileDialog.cs:
1672           - Fixed bug #77477
1673           - Got rid of the panel. All controls are now directly added to
1674             the dialog form
1675           - Changed to mono coding style
1676           - On Linux "My Computer" and "My Network" will now show some
1677             more usefull information. A new class, MasterMount, gathers
1678             this information from /proc/mount. Updated MWFFileView to make
1679             use of this information
1680           - Fixed a bug that caused FileDialog to crash when
1681             ".recently_used" file had a zero size
1682           - FilterIndex does now what it should
1683           - Some Refactoring
1684         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1685             FileDialog changes
1687 2006-02-09  Jackson Harper  <jackson@ximian.com>
1689         * ComboBox.cs: Don't touch if null.
1691 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
1693         * Cursor.cs: 64bit safeness fix
1694         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1696 2006-02-09  Jackson Harper  <jackson@ximian.com>
1698         * Form.cs: If a form is made into an MDI form update the styles so
1699         all the props can get set correctly.
1700         - Kill the mdi_container when we dont need it anymore.
1701         * InternalWindowManager.cs: Add missing NOT
1703 2006-02-08  Jackson Harper  <jackson@ximian.com>
1705         * InternalWindowManager.cs: Respek clipping when drawing MDi
1706         decorations.
1708 2006-02-08  Jackson Harper  <jackson@ximian.com>
1710         * Hwnd.cs: Add bits to track non client expose events.
1711         * XplatUIX11.cs: Track non client expose events on the hwnd. This
1712         gives us a proper invalid rect and will allow for some nice
1713         optimizations with NC client drawing
1714         - MDI windows are children windows, so move their style handling
1715         into the child window block.
1716         * InternalWindowManager.cs: Remove a state reset that was
1717         getting invoked at the wrong time. Fixes managed windows getting
1718         into a 'stuck' captured state.
1720 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1722         * TextControl.cs (Document.ctor): Now initializing 
1723           selection_anchor. Fixes #77493
1725 2006-02-07  Jackson Harper  <jackson@ximian.com>
1727         * TrackBar.cs: The increment/decrements were backwards.
1729 2006-02-07  Mike Kestner  <mkestner@novell.com>
1731         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1732         to the instance itself.
1734 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1736         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1737           on ulongs and pointers, the size differs between 32bit and 64bit
1738           systems. 
1740 2006-02-07  Mike Kestner  <mkestner@novell.com>
1742         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1743         for 64 bit platforms to work around a metacity bug. 
1745 2006-02-07  Jackson Harper  <jackson@ximian.com>
1747         * TrackBar.cs: Process the input keys we need, and hookup to
1748         KeyDown instead of using WndProc, so we get key messages.
1750 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
1752         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1753           machine we're on. 
1754         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1755           we need to translate the XdndVersion atoms array before sending it
1757 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
1759         * XplatUIX11.cs: 
1760           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1761             number of bits for the property, not the number of bytes. The
1762             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1763             but would not crash since it specified 8 bits instead of 4 bits)
1764           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1765             defined as XID -> long in the C headers)
1766           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
1767             references since those are now IntPtr to begin with
1768           - Switched all Atom.XXX 'int' casts to IntPtr casts
1769           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1770           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1771           - Added XChangeActivePointerGrab DllImport (for X11DnD)
1772         * X11Structs.cs:
1773           - Changed 'int' type for Atoms in XEvent structures to IntPtr
1774           - Changed atom in HoverStruct to be IntPtr
1775         * X11DnD.cs:
1776           - Removed local DllImports, switched code to use those from XplatUIX11
1777           - Removed/fixed casts related to the switch of Atom to be a IntPtr
1779 2006-02-06  Mike Kestner  <mkestner@novell.com>
1781         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
1782         method signatures in the import region.  There may still be some
1783         lingering struct marshaling issues, as I didn't drill down into those.
1784         Yet.
1786 2006-02-06  Jackson Harper  <jackson@ximian.com>
1788         * ComboBox.cs: Dont manually set the top_item, this is computed
1789         when the scrollbar position is set.
1791 2006-02-06  Mike Kestner  <mkestner@novell.com>
1793         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1794         startup crashes on amd64.  There's other fixes needed.  All pinvoke
1795         usage of Atom needs to be mapped to IntPtr for example.  And there are
1796         likely other int/long issues to be addressed.
1798 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
1800         * FileDialog.cs: One more...
1802 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1804         * FileDialog.cs: Next try
1806 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1808         * FileDialog.cs: First part of fix for #77464
1810 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1812         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1813           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1814           AcceptButton border drawing.
1816 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
1818         * Form.cs: Moved positioning of form after auto scaling is applied,
1819           otherwise it would possibly use wrong form size.
1821 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
1823         * Control.cs (RecreateHandle): No need to re-create any child
1824           controls, the child windows will get destroyed automatically by
1825           the windowing system or driver, and re-created when the handle
1826           is being accessed the first time. Fixes #77456
1827         * Form.cs: No longer setting the form to closing if the handle is 
1828           being recreated. This seems like the right thing to do, don't
1829           have a bug or testcase for this, though.
1831 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1833         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1834           controls to avoid unwanted side effects
1836 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
1838         * Control.cs: 
1839           - ScaleCore needs to scale the bounds, not the ClientSize of the 
1840             control. Fixes #77416.
1841           - DefaultSize is 0,0 for control
1842         * TextBoxBase.cs: 
1843           - DefaultSize is 100, 20
1844           - SetBoundsCore: Now enforcing the height, no matter if the provided
1845             height is more or less than the preferred one, as long as AutoSize
1846             is on
1847         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1849 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1851         * Control.cs:
1852           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1853             call unless both performLayout is true *and* we have a pending
1854             layout change
1855           - ResumeLayout: MS does not completely nest Suspend and Resume,
1856             they bottom out at 0, fixed our code to match that.
1857           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1858             SetBoundsCore, we were updating even when we shouldn't. This fixes
1859             swf-anchors mis-anchoring when resizing the app fast and lots.
1860           - UpdateDistances: Now only setting the left and top distance if 
1861             we have a parent and are not suspended, this is based on
1862             a suggestion by Don Edvaldson in bug #77355.
1863           - OnVisibleChanged: Fixed logic when to create the control. We may
1864             not create the control if we have no parent or if it's not visible;
1865             switched to using Visible property instead of is_visible field 
1866             since the property also considers parent states. This fixes a bug
1867             when starting Paint.Net
1869 2006-02-02  Jackson Harper  <jackson@ximian.com>
1871         * Form.cs: If the forms handle hasn't been created yet don't call
1872         into xplatui to make it top most, just set the topmost flag on the
1873         form in CreateParams
1874         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1876 2006-02-01  Jackson Harper  <jackson@ximian.com>
1878         * ScrollableControl.cs: Refactored the Recalculate method a
1879         little, this wasn't handling all the variants of bottom and right
1880         bars needed to be added and added/removed based on their
1881         counterparts being added/removed (which changes the drawable
1882         size). Also we special case client widths and heights of 0 and
1883         don't add the scrollbar for those.
1885 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
1887         * XplatUIX11.cs: 
1888           - Added method to get AbsoluteGeometry(); currently unused, but might
1889             be used in the future, if we try again to figure out toplevel
1890             coordinates with some more crappy window managers
1891           - Added FrameExtents() method to retrieve the WM set decoration size
1892           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
1893             to deal with at least KDE, FVWM and metacity (Fixes #77092)
1894         * Hwnd.cs: 
1895           - Added whacky_wm tracking var for metacity
1896           - Added logic to have default menu height if the actual menu height
1897             has not yet been calculated (part of fix for #77426)
1898         * Form.cs: Keep track whether client size has been set and re-set 
1899           it if a menu is added/removed afterwards (Fixes #77426)
1901 2006-01-31  Jackson Harper  <jackson@ximian.com>
1903         * Control.cs: When a new Site is set on the component attempt to
1904         pull the AmbientProperties from it.
1906 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
1908         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1909           in the background of the owning form. Fixes #77332
1911 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1913         * MimeIcon.cs: Fix for #77409
1915 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1917         * XplatUIX11GTK.cs: Initial import
1919 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
1921         * FixedSizeTextBox: fixes class signature
1923 2006-01-30  Jackson Harper  <jackson@ximian.com>
1925         * FixedSizeTextBox.cs: New internal class that represents a
1926         textBox that will not be scaled.
1927         * TreeView.cs:
1928         * ComboBox.cs:
1929         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1930         standard TextBox.
1931                 
1932 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
1934         * XplatUIX11.cs: Retrieve default screen number instead of
1935           assuming 0. Attempted fix for #77318
1937 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
1939         * XplatUIWin32.cs: 
1940           - GetWindowPos: When a window is parented by FosterParent, use 
1941             the desktop instead of FosterParent as the base to get coordinates
1942           - CreateWindow: Don't make FosterParent the parent window for Popups
1943             if we don't want a taskbar entry, Popups automatically don't get one
1944         * Hwnd.cs: Need to call remove to actually remove the key from the
1945           hash table
1947 2006-01-30  Mike Kestner  <mkestner@novell.com>
1949         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1951 2006-01-30  Jackson Harper  <jackson@ximian.com>
1953         * TreeView.cs:
1954         * TreeNode.cs: Raise events no matter how the treenode is
1955         checked. Patch by Don Edvalson.
1957 2006-01-30  Jackson Harper  <jackson@ximian.com>
1959         * TreeNode.cs: Signature fix.
1961 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
1963         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1965 2006-01-20  Mike Kestner  <mkestner@novell.com>
1967         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1968         event forwarding when menus are active.
1969         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
1970         Most of the patch is pdb's with a little rework.
1972 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1974         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
1975           Removed GetMenuDC and ReleaseMenuDC methods; replaced
1976           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1977         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1978         * InternalWindowManager.cs: Added use of PaintEventStart/End to
1979           handling of WM_NCPAINT message, now passing the PaintEventArgs to
1980           the PaintWindowDecorations method
1981         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1982         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1983         * MenuAPI.cs: Made tracker window invisible
1984         * XplatUIWin32.cs:
1985           - Removed GetMenuDC and ReleaseMenuDC methods
1986           - Implemented the client=false path for PaintEventStart and
1987             PaintEventEnd
1989 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1991         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1992         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1993           styles
1994         * Form.cs: 
1995           - MaximizeBox, MinimizeBox: Recreate the handle when setting
1996             the style
1997           - CreateParams: Reworked the styles to match MS look'n'feel,
1998             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1999             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2001 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2003         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
2004           window is not mapped, since otherwise every form that's being 
2005           created is considered minimized, which is wrong.
2006         * Form.cs: Catching the exception and returning our internal value
2007           instead
2009 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2011         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2012           SetWindowMinMax() to have means to tell the driver about the minimum,
2013           maximum and maximized state window sizes. (Part of the fix for #76485)
2014         * Form.cs:
2015           - Implemented tracking of minimum and maximum window size, now calling
2016             new SetWindowMinMax() driver method to tell the driver (Part of the
2017             fix for #76485)
2018           - Finished handling of WM_GETMINMAXINFO method, now setting all values
2019             (Completes fix for #76485)
2020           - Calling new SetWindowMinMax driver method when the handle for a 
2021             form is created, to make sure the driver knows about it even if
2022             the values have been set before the window was created
2023           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2024             to avoid messing up our anchoring calculations (partial fix
2025             for #77355)
2026         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2027         * XplatUIX11.cs:
2028           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2029           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
2030             (and presumably other freedesktop.org compliant WMs). Left the
2031             assumption unmapped=minimized, needed for SetVisible to work.
2032           - Now setting the window state when creating windows
2033           - Fixed SetVisible to consider/set the window state when mapping
2034             a Form. We cannot set the state before it's mapped, and we cannot
2035             use Form.WindowState once it's mapped (since it would ask the
2036             driver and get 'normal'. Therefore, we grab the state before
2037             mapping, map, and then set state.
2038           - Implmemented SetWindowMinMax method; Metacity does not seem to
2039             honor the ZoomHints, though.
2040         * XplatUIWin32.cs:
2041           - Removed MINMAXINFO (moved to XplatUIStructs)
2042           - Added SetWindowMinMax stub (on Win32 the only way to set that
2043             information is in response to the WM_GETMINMAXINFO message, which
2044             is handled in Form.cs)
2045           - Added logic to SetVisible to set the proper window state when a 
2046             form is made visible (fixes #75720)
2048 2006-01-26  Jackson Harper  <jackson@ximian.com>
2050         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2051         same way we handle them with Invoke.
2053 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
2055         * Form.cs:
2056           - Added tracking of window state so CreateParams can return
2057             the appropriate style
2058           - Moved setting of WS_CAPTION style in CreateParams to allow
2059             styles without caption
2060         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
2061           control if the TextBox property is accessed. Fixes #77345
2062         * Control.cs:
2063           - get_Created: now uses is_disposed and is_created to determine
2064             return value (suggested by Jackson)
2065           - CreateHandle: No longer exits if the handle is being recreated
2066           - RecreateHandle: If the handle is not yet created call the 
2067             appropriate method to create either control or handle. If the
2068             control is already created CreateHandle will simply exit instead
2069             of just creating the handle
2070         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2071           now SendMessage WM_DESTROY directly to the control when DestroyWindow
2072           is called.
2073         * XplatUIX11.cs: 
2074           - When DestroyWindow is called, instead of waiting for the 
2075             DestroyNotification from X11, we directly post it to the WndProc
2076             and immediately dispose the hwnd object.
2077             Same applies to DestroyChildWindows, and this obsoletes the
2078             expose_pending tracking. Contrary to Win32 behaviour we destroy our
2079             child windows before our own, to avoid X11 errors.
2080           - Removed the direct sending of WM_PAINT on UpdateWindow
2081         * XplatUIWin32.cs:
2082           - Reworked DoEvents and GetMessage to allow access to internal queue
2083             even when trying non-blocking access to the queue.  Fixes #77335. 
2084             Based on a patch suggestion by Don Edvalson. The new private
2085             GetMessage can now also be used as a backend for a PeekMessage
2086             frontend version.
2087         * XplatUI.cs: Improved debug output for CreateWindow
2089 2006-01-25  Jackson Harper  <jackson@ximian.com>
2091         * Help.cs: Allow param to be null. Patch by Don Edvalson.
2093 2006-01-24  Jackson Harper  <jackson@ximian.com>
2095         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2096         when we have a MaxDropItems lower then the selected index.
2098 2006-01-24  Jackson Harper  <jackson@ximian.com>
2100         * Control.cs: Don't allow selection of non visible controls, allow
2101         selection of controls without parents.
2103 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2105         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2106         * DataGridDrawingLogic.cs: Add editing row only when is necessary
2108 2006-01-23  Jackson Harper  <jackson@ximian.com>
2110         * UpDownBase.cs: Make the textbox handle all the selection and
2111         tabbing. This fixes tabing to updown controls.
2113 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2115         * TextBoxBase.cs: fixes exception thown the object was null
2117 2006-01-23  Jackson Harper  <jackson@ximian.com>
2119         * ButtonBase.cs: Just use the base CreateParams. They set
2120         visibility and enabled correctly.
2121         * ComboBox.cs:
2122         * TrackBar.cs:
2123         * MonthCalendar.cs: Lets let the base set as much of the
2124         createparams as possible so we don't have duplicate code all over
2125         the place.
2127 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
2129         * ThemeGtk.cs: Added TrackBar and some experimental code to
2130           get double buffering back
2132 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2134         * DataGrid.cs: Allows row number set internally higher than the last
2135         when creating a new row. Restores the editing functionality.
2137 2006-01-20  Mike Kestner  <mkestner@novell.com>
2139         * MimeIcon.cs: delay Image creation until the icons are accessed
2140         instead of creating 190 scaled images on GnomeHandler startup.
2142 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2144         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2145           first call base before processing the event. Fixes #77279
2147 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2149         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2150           that the stride for the GDI bitmap would match the stride of
2151           a DIB or a Cursor.
2153 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2155         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2157 2006-01-19  Jackson Harper  <jackson@ximian.com>
2159         * ComboBox.cs: Hookup the text controls keydown event so we get
2160         those when the text control has the focus.
2162 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2164         * Label.cs: Now using the base events instead of defining new ones;
2165           this allows us to just call the base properties without having to
2166           duplicate all base property logic 
2168 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2170         * Label.cs: A label by default is not a tabstop (Fixes one of our
2171           failing nunit tests)
2173 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2175         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2176         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2178 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2180         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2181           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2182           This fixes #77218
2183         * XplatUIWin32.cs: 
2184           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2185             constructor creates images that can't be saved. Part of the fix
2186             for #76103
2187           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2188           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2189             bug fix for handling window state in forms properly)
2191 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2193         * ThemeGtk.cs: Simplify ScrollBar drawing
2195 2006-01-18  Jackson Harper  <jackson@ximian.com>
2197         * Splitter.cs: Set the default dock style for the splitter control
2198         in the constructor.
2200 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2202         * ThemeGtk.cs: Corrected StateType and ShadowType for
2203           gtk_paint_box
2205 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2207         * Control.cs: Make use of Theme.DoubleBufferingSupported
2208         * ThemeGtk.cs:
2209           - Added drawing for flat style buttons
2210           - Added ScrollBar drawing
2212 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2214         * ThemeClearlooks.cs: Removed some unneeded code.
2215         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2217 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2219         * LinkLabel.cs: We need to update the hover drawing when
2220           leaving the control as well.
2222 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2224         * DataGrid.cs: Clicking on non empty areas in the columns
2225            area was giving an exception
2227 2006-01-17  Jackson Harper  <jackson@ximian.com>
2229         * ThemeWin32Classic.cs:
2230         * ListView.cs: Do not draw/clip the headers when the header style
2231         is None.
2233 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2235         * DataGrid.cs: Fixes 77260
2236         
2237 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2239         * DataGrid.cs: Clicking on a column on a empty grid was giving
2240           an exception
2242 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2244         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2245           or any keypress will crash the grid.
2247 2006-01-17  Mike Kestner  <mkestner@novell.com>
2249         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2250         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
2251         invisible/previously-visible items.
2252         [Fixes #76909]
2254 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
2256         * ThemeClearlooks.cs:
2257         - Added CL_Draw_Button method; now other theme controls that are 
2258           not derived from button or do not have a button can draw buttons
2259           too
2260         - Updated ComboBox drawing
2261         - Beautified RadioButton drawing
2262         - Corrected drawing of bottom and left tabs
2263         - Beautified DateTimePicker and MonthCalendar
2264         - Added CPDrawButton and CPDrawRadioButton
2266 2006-01-16  Jackson Harper  <jackson@ximian.com>
2268         * ComboBox.cs: Set the initial value of the scrollbar to the
2269         current index. Reduce the numbers of refreshs and IndexOfs called.
2271 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
2273         * FileDialog.cs: When the file listview is focused hitting the
2274           backspace key moves the fileview to the parent directory
2276 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2278         * Form.cs: 
2279           - Added RecreateHandle call when changing taskbar visibility to 
2280             trigger reparenting in Win32 driver (Fixes #75719)
2281           - If a window has minimize or maximize buttons, it cannot have
2282             a help button
2283         * XplatUIWin32.cs:
2284           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2285             the toplevel form with FosterParent (A toolwindow not on the
2286             taskbar) (Fixes #75719)
2287           - Made FosterParent a toolwindow
2289 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2291         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2293 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2295         * ToolTip.cs: If SetToolTip is called from a control and the mouse
2296           is currently over that control, make sure that tooltip_window.Text
2297           gets updated
2299 2006-01-13  Mike Kestner  <mkestner@novell.com>
2301         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2303 2006-01-13  Jackson Harper  <jackson@ximian.com>
2305         * TreeView.cs: On MS GetNodeAt never actually factors in the X
2306         value passed.  Also redraw the selected node when we recieve
2307         focus, so tabbing between trees works correctly.
2309 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2311         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2312           ~/.gconf/%gconf-tree.xml, so use
2313           .gconf/desktop/gnome/interface/%gconf.xml
2315 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2317         * TextControl.cs: Draw text in gray if control is disabled
2319 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2321         * TreeView.cs: Draw the focus rectangle outside the highlight, to
2322           make sure it's always visible. Fixes #76680.
2324 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2326         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2328 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
2330         * PageSetupDialog.cs: Added.
2331         * PrintDialog.cs: Attributes.
2332         * PrintPreviewControl.cs: Updates.
2333         * PrintPreviewDialog.cs: Updates.
2334         
2335 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2337         * Control.cs: Undid my selection check fix, since it's not needed
2338         * TextBoxBase.cs:
2339           - Now considering the presence of hscroll/vscroll when sizing
2340             vscroll/hscroll respectively. Fixed bug #77077
2341           - Added Left/Up/Down/Right to IsInputKey list to prevent
2342             ContainerControl from stealing them. This fixes what I broke
2343             with my last checkin.
2345 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
2347         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2348           I finally understand how the property can be set without a setter :-)
2350 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2352         * Application.cs:
2353           - Switched RunLoop to use static Message.Create to create a 
2354             Message object
2355           - Added PreProcessMessage call in runloop for keyboard events; this
2356             is part of the fix for #77219, I overlooked this originally in the
2357             MSDN doc for PreProcessMessage
2358         * Control.cs:
2359           - Removed call to PreProcessMessage from handling of keyboard 
2360             messages; it's supposed to be done in the message pump
2361           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2362             per MSDN documentation.
2363           - IsInputChar: All chars are input chars by default; removed the 
2364             parent calling chain, MS does not document that
2365           - PreProcessMessage: If IsInputChar is true, we want to return false
2366             to allow dispatching of the message
2367           - When selecting the next control, now also check that we're not
2368             selecting ourselves again and therefore return a false positive.
2369         * TextBoxBase.cs:
2370           - Tried to match return values for IsInputKey and ProcessDialogKey
2371             to what MS returns; moved processing of our special keys outside
2372             ProcessDialogKey since MS does not seem to return true on those.
2373           - Moved code that previously was in ProcessDialogKey into new private
2374             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2375           - Reworked handling of WM_CHAR to not have to duplicate code from
2376             Control.cs anymore, instead we simply call down to base.
2377            
2378 2006-01-12  Jackson Harper  <jackson@ximian.com>
2380         * ComboBox.cs: We always need to refresh the text area when
2381         EndUpdate is called. Fixes the combobox in the file dialog.
2382         * Control.cs: Don't create the creator_thread until the controls
2383         handle is created.  Also in InvokeRequired we check if the
2384         creator_thread is null. This gives the effect of InvokeRequired
2385         returning true if the controls handle is not created yet, and
2386         matches MS.
2388 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2390         * XplatUI.cs:
2391           - Added StartLoop() driver method. This is used to allow drivers to
2392             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2393             loop for a particular thread
2394           - Added EndLoop() driver method. This is called once the message
2395             pump for the thread is shut down
2396           - Added SupportsTransparency method to allow the driver to indicate
2397             opacity support for windows
2398         * Form.cs:
2399           - Removed TODO attribute, completed AllowTransparency property
2400           - Added documented logic to Opacity
2401         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2402           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2403           versions of CompatibleTextRendering
2404         * X11Structs.cs: Added opacity atom to our atom enumeration
2405         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2406           of a form might be set before it's reparented by the WM, and we need
2407           the opacity value without calling up to Form)
2408         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
2409           SupportsTransparency() driver methods
2410         * Application.cs: Now calling StartLoop and EndLoop driver methods
2411         * XplatUIX11.cs:
2412           - Added opacity atom registration
2413           - Added StartLoop()/EndLoop() methods. They're empty right now but
2414             will need to get implemented when we switch to a per-thread queue
2415           - Implemented SupportsTransparency() method
2416           - Implemented SetWindowTransparency() method
2417           - Added support for setting the opacity value when a window is
2418             reparented (since the opacity needs to be set on the WM frame)
2419         * XplatUIOSX.cs, XplatUIWin32.cs:
2420           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2422 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2424         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2426 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2428         * FileDialog.cs: Added ToolTip for MWFFileView
2429         * MimeIcon.cs: Rewrote GnomeHandler.
2430           - Get currently used gnome icon theme from
2431             ($HOME)/.gconf/%gconf-tree.xml
2432           - Make use of inherited icon themes
2433           - Support SVG icon themes like Tango via librsvg
2435 2006-01-12  Miguel de Icaza  <miguel@novell.com>
2437         Revert's Jackson's revert which broke 2.0 builds.   Fix both
2438         builds. 
2439         
2440         * Application.cs: Move the use_compatible_text_rendering outside
2441         the NET_2_0 define.  If we ever need to use the
2442         use_compatible_text_rendering on the individual controls they will
2443         access the variable from the common shared code paths.
2445 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2447         * XplatUI.cs:
2448           - Added more granular debug options
2449           - Added method to print both window text and id
2450           - Switched debug output to use new Window() debug method
2451           - Added IsEnabled() driver method
2452           - Added EnableWindow() driver method
2453         * Form.cs:
2454           - Removed end_modal; no longer needed, new loop handles termination
2455             via 'closing' variable
2456           - If form is modal, setting DialogResult will now initiate loop
2457             termination via 'closing' variable
2458           - Added support for is_enabled/WS_DISABLED to CreateParams
2459           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2460             does all the work
2461           - Removed code that's now in RunLoop from ShowDialog()
2462           - Added various documented sanity checks to ShowDialog()
2463           - Added handling of WM_DESTROY message; we set 'closing' on getting
2464             the message to indicate the message pump to terminate
2465           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2466             send by the Application.ExitThread method. (We send the message
2467             to destroy the window after all other events have been
2468             processed through the queue, instead of destroying the handle 
2469             directly)
2470           - Moved code from Close() method to WM_CLOSE handler; added logic
2471             to only send close-related events if the form is not displayed
2472             modal
2473         * Splitter.cs (..ctor): Fixed typo in resource name
2474         * Control.cs:
2475           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2476             brush now
2477           - set_Cursor: Now only setting calling into XplatUI if the handle for
2478             the control is already created; this avoids implict handle creation
2479             or crashes if it's not created
2480           - set_Enabled: Now setting the enabled state via the new driver method
2481             instead of just tracking it
2482           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2483           - CreateControl: Reordered event firing and method calls to more
2484             closely fire events in the order MS does. Now setting the
2485             enabled state in the driver when creating the control.
2486           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2487             match MS order
2488         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2489           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2490         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2491         * Hwnd.cs:
2492           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2493           - Added EnabledHwnd property to easily allow a driver to find the
2494             handle of the first enabled window in the parent chain (this is
2495             used by drivers to pass up input events of disabled windows)
2496         * XplatUIDriver.cs: Added IsEnabled() method
2497         * Application.cs:
2498           - Removed crude and obsolete exiting tracking variable
2499           - Removed internal ModalRun(); replaced by RunLoop()
2500           - Implemented private CloseForms() method to allow closing all 
2501             windows owned by a particular (or all) threads
2502           - Exit() now properly closes all windows without forcing the message
2503             pump to quit
2504           - Removed obsolete InternalExit() method
2505           - Changed Run() methods to use new RunLoop() message pump
2506           - Implemented new RunLoop() method for both modal and non-modal forms
2507         * CommonDialog.cs:
2508           - get_CreateParams: Added setting of WS_DISABLED
2509           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2510             invoked via Form.ShowDialog()
2511         * NativeWindow.cs: We don't remove the window from the collection when
2512           the handle is destroyed; there might still be messages for it in the
2513           queue (mainly the resulting WM_DESTROY); instead it will be removed
2514           when Control calls InvalidateHandle in the WM_DESTROY handler
2515         * XplatUIX11.cs:
2516           - CreateWindow: Added logic to handle the WS_DISABLED window style
2517           - EnableWindow: Implemented based on Hwnd.Enabled
2518           - GetMessage: Reset PostQuitState so the method can be called again
2519           - Implemented support for disabled windows (passing messages to the
2520             first enabled parent) in handling all input messages
2521           - Added optimizations for handling Expose events
2522           - Implemeted new driver method IsEnabled()
2523           - Now always resetting paint pending tracking vars when we start paint
2524           - Re-implemented UpdateWindow via just sending a WM_PAINT message
2525         * XplatUIOSX.cs: Added IsEnabled method stub
2526         * XplatUIWin32.cs: Implemented new IsEnabled() method
2528 2006-01-11  Jackson Harper  <jackson@ximian.com>
2530         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2531         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2532         variables a little.
2533         * ColorDialog.cs: Clear out the old form before adding the new
2534         panel.  
2536 2006-01-11  Jackson Harper  <jackson@ximian.com>
2538         * X11Dnd.cs: Make sure to add all the text formats when adding
2539         strings to the data object.
2540         * TreeNodeCollection.cs: When adding to a sorted tree we need to
2541         do some redrawing too.  Also change the UpdateNode to an
2542         UpdateBelow so the newly added node gets painted.
2543         
2544 2006-01-11  Miguel de Icaza  <miguel@novell.com>
2546         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2547         LinkLabel.cs, PropertyGrid.cs: Implement the
2548         UseCompatibleTextRendering property for 2.x
2550         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
2552 2006-01-11  Jackson Harper  <jackson@ximian.com>
2554         * TreeView.cs: Use the property for setting the selected node so
2555         the correct events get raised.
2556         * TreeNode.cs: Update the tree when the fore/back colours of a
2557         node are set.
2559 2006-01-10  Jackson Harper  <jackson@ximian.com>
2561         * TreeView.cs: Allow setting SelectedNode to null.
2563 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2565         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2567 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2569         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2571 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2573         * PrintDialog.cs: Added attributes and set default property values.
2575 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2577         * PrintControllerWithStatusDialog.cs: 
2578         Added PrintControllerWithStatusDialog.
2580 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2582         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
2583         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2585 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2587         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2589 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
2591         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2592         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2594 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2596         * MimeIcon.cs: Added internal class SVGUtil.
2598 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2600         * FileDialog.cs: Don't crash if there are two files with the
2601           same name but different locations.
2603 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
2605         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2606         dates across multiple month grids. Used to not highlight entire 
2607         month, but does now.
2608         
2609 2006-01-06  Jackson Harper  <jackson@ximian.com>
2611         * MonthCalendar.cs: Removed DoEvents call to prevent a running
2612         message loop. Change timer intervals to numbers that seem more
2613         natural.
2615 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
2617         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2618           object for location info since screen object is now implemented.
2620 2006-01-05  Jackson Harper  <jackson@ximian.com>
2622         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2623         * AsyncMethodResult.cs: We no longer use a WeakReference for the
2624         AsyncMethodResult, this is because we ALWAYS want the
2625         ManualResetEvent to get set.
2626         * Control.cs: When disposing use an async invoke to call shutdown
2627         code, so that thigns don't block on the finalizer thread.  Also
2628         check if we even have a message loop before trying to send
2629         messages, if we don't then don't bother sending messages.
2630         - No more weak references for async methods
2631         * XplatUIDriver.cs: No more weak references for async methods.
2633 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2635         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2636           returns two FontFamily with the same name
2638 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2640         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
2641           drawing disabled text. Instead using the ColorGrayText color
2643 2006-01-04  Jackson Harper  <jackson@ximian.com>
2645         * TreeNode.cs: redraw the node when its image index is changed.
2647 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2649         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2650           time I checked there are no others like it.
2652 2006-01-04  Jackson Harper  <jackson@ximian.com>
2654         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2655         this gives the behavoir I was looking for.
2656         * Control.cs: Special case Invoking EventHandlers, this matches MS
2657         and fixes part of bug #76326.
2659 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2661         * ThemeClearlooks.cs, FileDialog.cs:
2662           - Reflect the latest Theme class changes
2663           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
2664             with DateTime
2665             
2666 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2668         * Theme.cs: Cache UI resource images and resize them if needed
2670 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2672         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2673           is called. This fixes the crash in Nexxia when setting the font
2674           attributes in the chat. [However, RTF needs a look-over to make sure
2675           that all SelectionXXX methods handle the special case that selection
2676           is empty and therefore the change must be applied to all text starting
2677           at the cursor/selection start]
2679 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
2681         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2682           XplatUIOSX.cs: Added SendMessage and PostMessage methods
2683         * X11Keyboard.cs: Switched to new way of calling PostMessage
2685 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2687         * Theme.cs: Added theme interface for images to allow the theme to
2688           control what images are used for things like FileDialog, MessageBox
2689           icons, etc.
2690         * MessageBox.cs: Now uses the new Theme icon/image interfaces
2692 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
2694         * FileDialog.cs:
2695           - Removed some dead code
2696           - Opening a recently used file does work now
2697           - Small UI enhancements
2698           - Refactoring
2700 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2702         * FileDialog.cs: Forgot too add __MonoCS__
2704 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2706         * FileDialog.cs: We are able to read recently used files now let's
2707           go on and write them.
2709 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
2711         * FileDialog.cs: Breathe some life into "last open"/"recently used"
2712           button
2713         * MimeIcon.cs: Do a check for the top level media type also
2715 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2717         * ThemeClearlooks.cs:
2718           - Added CPDrawStringDisabled
2719           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2720             some chars if the text doesn't fit into text_rect
2721           - DrawListViewItem: If View = View.LargeIcon center the image;
2722             rewrote the drawing of ListViewItem.Text if View = 
2723             View.LargeIcon
2725 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2727         * MimeIcon.cs: Use default KDE icon theme if there is no
2728           "48x48" directory for the current icon theme, fixes #77114
2729         * Mime.cs: Disable not working and actually not used code. 
2730         * ThemeWin32Classic.cs:
2731           - Replace "new SolidBrush" in GetControlBackBrush and
2732             GetControlForeBrush with ResPool.GetSolidBrush
2733           - Changed DrawListViewItem from private to protected virtual
2734         * FileDialog.cs:
2735           - Added form.MaximizeBox = true
2736           - Don't throw an exception if there is a broken symbolic link
2738 2005-12-23  Jackson Harper  <jackson@ximian.com>
2740         * TabControl.cs: Give the panels focus, keyboard navigation is
2741         fixed so this works correctly now.
2742         - We need these key events also.
2743         * ToolBar.cs: Remove some of the poor mans double buffering.
2744         
2745 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
2747         * ComboBox.cs: The internal TextBox now returns the focus.
2749 2005-12-23  Jackson Harper  <jackson@ximian.com>
2751         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
2753 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2755         * Control.cs: Removed debug code
2756         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2757           implicit children
2759 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
2761         * Control.cs: When creating the control, update the Z-order after
2762           all it's children are created, too. (Fixes nexxia not showing
2763           picturebox bug)
2765 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2767         * Control.cs: Do not update the anchoring distances if layout is
2768           suspended, instead do it once layout is resumed
2770 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
2772         * Control.cs: 
2773           - After many hours of debugging, for both Jackson and
2774             myself, it turns out that it helps to set the parent of a control
2775             if you want to actually see it onscreen. In the spirit of that
2776             discovery, we're now setting the parent of the control and
2777             it's children when the control's handle is created. This fix
2778             will make Lutz Roeder's Reflector run happily. 
2779           - now just creating the handle instead of the whole control when
2780             getting a graphics context for the control.
2782 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2784         * ScrollableControl.cs: When calculating the canvas, don't consider
2785           the scrollbar widths. Instead, predict if horizontal scrollbar
2786           will affect canvas when deciding on vertical display and vice versa.
2788 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2790         * RichTextBox.cs: Set default RTF font for documents that don't
2791           have a font table (Fixes #77076)
2793 2005-12-22  Jackson Harper  <jackson@ximian.com>
2795         * TextBoxBase.cs: It's difficult to do, but you can have an empty
2796         clipboard. This prevents a NullRef in that case.
2797         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2798         clipboard. PRIMARY is for the currently selected text only. (We
2799         should implement PRIMARY at some point.
2801 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2803         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2804           a Unicode function with a structure that was defined in Ansi way.
2805           This fixes #76942.
2807 2005-12-21  Jackson Harper  <jackson@ximian.com>
2809         * StatusBar.cs: Statusbar handles its fore/back colours on it's
2810         on. Because thats how it rolls. (and this avoids it using ambient
2811         colours).
2812         * ThemeWin32Classic.cs: Use the proper back color for filling.
2813         * Menu.cs: Use the system menu bar color for drawing menu
2814         bars. Using the window back color will bring ambient colours into
2815         the picture.
2817 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
2819         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2820           Bitmaps were created and not disposed.
2822 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2824         * Control.cs (CreateControl): Don't do anything if the control is
2825           already created, otherwise we'd fire the OnCreated event more than
2826           once
2828 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2830         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2831           will always match. Instead return -1. Fixes #76464.
2833 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2835         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2836           neither the beginning nor the end of the line (Fixes bug #76479)
2838 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2840         * Control.cs:
2841           - ControlNativeWindow.ControlFromHandle(): Now handling situation
2842             where handle is invalid
2843           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2844             instead of slower linear search
2845         * NativeWindow.cs: Don't remove the window from the hashtable until
2846           after the driver has destroyed it (since the driver might use
2847           Control.FromHandle to lookup the control object
2848         * Hwnd.cs: Added DestroyPending property to track if a window is 
2849           already destroyed as far as the driver is concerned and only hasn't
2850           yet notified the control
2851         * XplatUIX11.cs:
2852           - Activate(): Check if the window is still valid before using the 
2853             handle
2854           - Implemented DestroyChildWindow() method to mark child windows as
2855             destroyed when a window is destroyed. This prevents situations 
2856             where we might call an X method based on queued events for a
2857             window that already has been destroyed but we haven't yet pulled
2858             the destroy method from the queue.
2859           - Added a call to the new DestroyChildWindow() method to the drivers
2860             DestroyWindow code. Also now marking the destroyed window itself
2861             as pending
2863 2005-12-20  Jackson Harper  <jackson@ximian.com>
2865         * StatusBar.cs:
2866         * StatusBarPanel.cs: Don't calculate panel sizes on draw
2867         anymore. Just do them when needed, also track the rects of panels
2868         so that we can optimize refreshing more in the future.
2870 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
2872         * ColorDialog.cs: Fixed focus drawing in small color controls
2874 2005-12-19  Jackson Harper  <jackson@ximian.com>
2876         * InternalWindowManager.cs:
2877         * MdiWindowManager.cs: Cleanup some coordinate system changes so
2878         moving windows works properly.
2880 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
2882         * Control.cs: 
2883           - Removed call to InitLayout() from SetBoundsCore(); doc says
2884             it's only called when a control is added to a container
2885           - Split InitLayout logic, moved to separate UpdateDistances() method
2886             since we need to perform those calculations more often than just
2887             when adding the control to a container. (Needed to fix #77022)
2888           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2889           - Reduced the OnBindingContextChanged events count, don't send them
2890             unless the control is created, we still aren't totally matching
2891             MS, but I can't quite figure out some of their rules
2893 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2895         * ThemeClearlooks.cs: Corrected distance between ProgressBar
2896           stripes
2898 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2900         * ThemeClearlooks.cs:
2901           - Updated ProgressBar drawing
2902           - Corrected drawing of ScrollBars and scroll buttons
2903           - Some temporary fixes for minor pixel artefacts
2905 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
2907         * Control.cs:
2908           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2909             cause events to be sent in the same order as MS does.
2910           - Added ChangeParent() method to trigger various OnXXXChanged events
2911             that need to be fired when a parent changes (This is a reworking
2912             of the patch from r54254, with the X11 errors fixed)
2913           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2914             since on MS we get OnLayoutChanged events when calling Clear()
2915           - Changed Enabled property to consider parent state as well, if a
2916             parent is not enabled, the control will not be either
2917           - Changed Parent property to simply call Controls.Add() since that
2918             now does all the work required, this way we avoid code duplication
2919           - Threw in a few OnBindingsContextChanged calls to try and match
2920             when MS sends them. We seem to send a few too many, though.
2921           - Added call to CreateControl when adding the control to a parent.
2922             We were never calling CreateControl. Still needs some work, in
2923             some places we treat HandleCreated and ControlCreated as equal, 
2924             which is wrong
2925           - Removed obsolete commented out code from UpdateZOrder()
2927 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2929         * ThemeClearlooks.cs: Updated TrackBar drawing.
2931 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2933         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2935 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2937         * FileDialog.cs: Add the Help button and the open readonly
2938           checkbox only if needed
2940 2005-12-16  Jackson Harper  <jackson@ximian.com>
2942         * Control.cs: Make sure we have an active menu before trying to
2943         process commands on it. Prevents menu-less forms from crashing
2944         when Alt is pressed.
2945         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2946         Dieter Bremes.
2947         * RichTextBox.cs: Expand statement to help out gmcs and fix the
2948         2.0 build.
2950 2005-12-16  Jackson Harper  <jackson@ximian.com>
2952         * InternalWindowManager.cs: Don't translate tool windows screen
2953         coordinates. This fixes windows 'bouncing' around when being moved.
2955 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2957         * TextBoxBase.cs:
2958           - MaxLength now treats 2^31-1 equal to unlimited length (this is
2959             not quite MS compatible, MS uses that number only for single line
2960             and 2^32-1 for multi-line, but I figure it won't hurt keeping
2961             the limit at 2GB)
2962           - Now enforcing the MaxLength limit when entering characters
2963           - Added argument to internal Paste() method to track if it's called
2964             from programatically or via keyboard, since keyboard driven pastes
2965             need to enforce max-length
2966           - Added logic to Paste to only paste as many chars as MaxLength 
2967             allows
2968         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2969         * TextControl.cs:
2970           - Added Length property to return number of characters in document
2971           - Added private CharCount property which only tracks actual chars
2972             in the document (no linefeeds) and fires event when CharCount
2973             changes
2974           - Added tracking of character count to all methods that alter it
2975           - Added LengthChanged event to allow applications to subscribe
2976             to any changes to the document
2978 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2980         * TextBox.cs: 
2981           - Removed local password_char field (moved to TextBoxBase)
2982           - Now setting the document's password var when password is
2983             set
2984         * TextBoxBase.cs:
2985           - Added password_char field (needed here so MultiLine can
2986             access it)
2987           - Added logic to MultiLine property setter to set the document's
2988             variable when password display is allowed
2989           - Removed debug code and made some debug code conditional
2990         * TextControl.cs:
2991           - Added RecalculatePasswordLine() method to handle special password
2992             char only lines
2993           - Added PasswordChar property, also added related tracking vars
2994           - Draw() method now uses local text var for grabbing text to draw,
2995             this var is set to line.text unless we're doing password display,
2996             then it is set to the pre-generated all-password-chars line
2997           - Added calling RecalculatePasswordLine() method for password lines
2999 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3001         * Hwnd.cs: 
3002           - Added Reparented property to allow tracking of Window Manager
3003             reparenting actions (which affect X/Y calculations of toplevel 
3004             windows)
3005           - Made ToString() print window handles in hex
3006         * XplatUIX11.cs:
3007           - AddConfigureNotify(): Now uses reparented state off Hwnd to
3008             determine if X/Y needs offsetting
3009           - AddConfigureNotify(): Fixed offset calculations
3010           - Now adds ReparentNotify messages into the queue
3011           - Now processes ReparentNotify messages and causes a 
3012             WM_WINDOWPOSCHANGED message to be sent upstream if a window
3013             is reparented (as most likely it's X/Y coordinates are changed
3014             due to that)
3016 2005-12-14  Jackson Harper  <jackson@ximian.com>
3018         * XplatUIX11.cs: Tool windows still need to respek focus.
3020 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3022         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3023           have a working release
3025 2005-12-13  Jackson Harper  <jackson@ximian.com>
3027         * Form.cs: Update styles after setting the border style regardless
3028         of whether or not the window is using a window manager.
3030 2005-12-13  Jackson Harper  <jackson@ximian.com>
3032         * Form.cs: We now hook into an internal window manager instead of just an
3033         MDI subsystem, this is so we can have properly behaving tool windows.
3034         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3035         * InternalWindowManager.cs: New internal class that acts as a
3036         window manager for tool windows and as a base for mdi windows.
3037         * MdiWindowManager.cs: New class that acts as a window manager for
3038         mdi windows.
3040 2005-12-12  Jackson Harper  <jackson@ximian.com>
3042         * Control.cs: Updates so we match behavoir for for implicit
3043         controls. Fixes explosions in MDI.
3045 2005-12-12  Jackson Harper  <jackson@ximian.com>
3047         * Control.cs: Implement Invalidate (Region).
3049 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
3051         * Control.cs: 
3052           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
3053             the same events as MS does. MS fires events for each property 
3054             except, for unknown reasons, Cursor, when the control is reparented. 
3055             I can't seem to totally match add/remove since MS also fires some 
3056             VisibleChanged events, which makes no sense. Consolidated the
3057             parenting code into a separate method so it can be called from
3058             both Add and Remove. set_Parent no longer needs any special logic
3059             as it calls the parent's add method which implicitly fires
3060             all events
3061           - Removed some obsolete code and debug output
3062           - Enabled state is inherited from parents, if this is enabled
3064 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
3066         * Form.cs: Removed commented out code
3068 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
3070         * Control.cs:
3071           - Added internal version of Invoke, with additional argument 
3072             indicating if we're calling it from a Dispose() handler. That
3073             way we can avoid BeginInvoke throwing an exception if we're
3074             calling for an already destroyed window.
3075           - Added a dispose argument to BeginInvokeInternal, and made the
3076             check if a valid window handle chain exists conditional on
3077             it not being a dispose call
3078           - Removed code in DestroyHandle to destroy our children. Since we
3079             now handle the WM_DESTROY message we will catch all our children
3080             being destroyed.
3081           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3082         * Form.cs:
3083           - Added a field to track the application context of the form.
3084           - No need to set closing variable as response to WM_CLOSE, instead
3085             we destroy the window. We also call PostQuitMessage if the form
3086             has an application context (which makes it the main app form,
3087             which, when closed terminates the app)
3088         * XplatUI.cs:
3089           - Dropped Exit() method, it's naming was confusing
3090           - Added PostQuitMessage() which causes GetMessage to return false
3091             once the message queue is empty
3092         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
3093           PostQuitMessage()
3094         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3095           no longer a valid XplatUI method, but left it in since it's used
3096           internally. Added empty PostQuitMessage() method.
3097         * MenuAPI.cs: Replaced call to Exit() with call to
3098           PostQuitMessage, even though this is probably no longer needed.
3099         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3100         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3101         * Application.cs:
3102           - Replaced call to XplatUI.Exit() with PostQuitMessage()
3103           - Removed old debug code that would call XplatUI for exception
3104             display, enabled standard exception handling (Still not enabled
3105             though, until NativeWindow's ExternalExceptionHandler define
3106             is removed
3107         * NativeWindow.cs:
3108           - Added internal method to allow control to update NativeWindow
3109             after a window has been destroyed
3110           - Added handling of already destroyed windows when calling i
3111             DestroyWindow
3112           - Added removal of handle from list on ReleaseHandle
3113         * XplatUIX11.cs:
3114           - Dropped GetMessageResult var and related code
3115           - Added PostQuitState to field to track if PostQuitMessage has been
3116             called
3117           - Dropped Exit() method
3118           - Added PostQuitMessage() method
3119           - GetMessage now will return false if PostQuitState is set and no
3120             more messages are in the queue.
3121           - Expose handler will no longer generate WM_PAINT messages if we are
3122             in PostQuitState since it's very likely any windows have already
3123             been destroyed, and since Hwnd won't get updated until we have
3124             processed the DestroyNotify we'd be causing X errors.
3125         
3126 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3128         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3129           Thanks to Mike for pointing out the err of my ways.
3131 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3133         * Control.cs(PreProcessMessage): Moved menu handling back, but
3134           after all other key handling, to match MS (who handles Menu in
3135           DefWndProc)
3136         * Menu.cs (WndProc): Removed my brainfart
3138 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3140         * Control.cs(PreProcessMessage): Removed special menu handling 
3141         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3143 2005-12-07  Mike Kestner  <mkestner@novell.com>
3145         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3146         state according in tracker.
3147         * Menu.cs : promote tracker field to base class and provide a tracker
3148         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3149         has a tracker. Unparent items that are removed from the collection.
3150         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3151         * Theme*.cs: add always_show_hotkeys field to support configurability
3152         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3153         pressed.
3155 2005-12-07  Jackson Harper  <jackson@ximian.com>
3157         * MdiChildContext.cs: Use Control.ResetCursor.
3158         * Control.cs: ResetCursor needs to set the property so that the
3159         correct XplatUI call gets made.
3161 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3163         * Control.cs: More fixes to make our key events match MS. We
3164           were not setting the modifier state on KeyData, and we were
3165           not generating any events when Alt was pressed with a key
3166           since handling of WM_SYSxxx was missing for the OnKey methods.
3168 2005-12-07  Jackson Harper  <jackson@ximian.com>
3170         * MdiChildContext.cs: reenable the sizing code.
3171         - When the mouse leaves a window reset its cursor.
3173 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3175         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3177 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3179         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3180           widths of Fixed3D borders
3182 2005-12-07  Jackson Harper  <jackson@ximian.com>
3184         * MdiClient.cs: Fix warnings. Earn Mike's love.
3186 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3188         * ThemeClearlooks.cs:
3189           - Adjusted mouse over button color
3190           - Added first parts of CheckBox drawing
3191           - Added correct color for selected text background
3192           - Fixed ComboBox drawing
3193           - Added CPDrawBorder3D and CPDrawBorder
3195 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3197         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3199 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3201         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3202           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3203           alert users via sound. We could add an enum arg with different
3204           types of alerts in the future
3206 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3208         * Control.cs: Fix behaviour problems pointed out by Mike
3210 2005-12-05  Mike Kestner  <mkestner@novell.com>
3212         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3213         prop setters.  Calls parent.Refresh for now, but could be maybe be
3214         optimized with an internal method on StatusBar at some point.
3215         [Fixes #76513]
3217 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3219         * RichTextBox.cs: Implemented get_SelectionColor
3221 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3223         * ThemeClearlooks.cs:
3224           - Removed dead code
3225           - Draw black button border only if button is Form.AcceptButton
3226           - Draw correct button color for pressed RadioButton if the mouse 
3227             has entered the button
3228           - Updated ProgressBar drawing!
3229           - Updated CPDrawSizeGrip drawing
3230           - Updated StatusBarPanel drawing
3232 2005-12-05  Mike Kestner  <mkestner@novell.com>
3234         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3235         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3237 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
3239         * ThemeClearlooks.cs: Initial check-in, activate with
3240           export MONO_THEME=clearlooks
3241         * ThemeEngine.cs: Added ThemeClearlooks
3243 2005-12-03  Mike Kestner  <mkestner@novell.com>
3245         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3246         [Fixes #76897]
3248 2005-12-02  Jackson Harper  <jackson@ximian.com>
3250         * Form.cs: If the child form has no menu the default main menu is
3251         used as the active menu.
3253 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
3255         * ListBox.cs: Check if any items exist before trying to resolve 
3256           coordinates into items
3258 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3260         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3261           as the second color for the background hatch
3263 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3265         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3266         * RichTextBox.cs: FormatText position arguments are 1-based, now making
3267           sure that what we pass to FormatText is always 1-based. Fixes #76885
3269 2005-11-29  Miguel de Icaza  <miguel@novell.com>
3271         * NumericUpDown.cs (EndInit): When we are done initializing,
3272         reflect any updates on the UI.
3274 2005-12-02  Jackson Harper  <jackson@ximian.com>
3276         * ImplicitHScrollBar.cs:
3277         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3278         their container controls.
3279         * TreeView.cs: Use the new implicit scrollbars.
3281 2005-12-02  Jackson Harper  <jackson@ximian.com>
3283         * TreeView.cs: Make top_node internal so the TreeNodeCollections
3284         can play with it.
3285         * TreeNodeCollection.cs: If we remove the topnode we need to
3286         update topnode to the next node in line.
3287         - When clearing nodes go through the same process as removing
3288         them, so they get depareneted and checked if they are top node.
3290 2005-12-01  Jackson Harper  <jackson@ximian.com>
3292         * TreeView.cs: When imagelists are used the image area is
3293         selectable as well as the text.
3294         - If there are no selected nodes select the first one.
3295         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3296         so don't do it more then we need to.
3298 2005-12-01  Jackson Harper  <jackson@ximian.com>
3300         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3301         that arrows can be scaled.
3303 2005-12-01  Jackson Harper  <jackson@ximian.com>
3305         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3306         fail. Patch by Dieter Bremes
3308 2005-11-30  Jackson Harper  <jackson@ximian.com>
3310         * Form.cs: Property is 2.0 only
3311         * PrintDialog.cs: Signature fix.
3313 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3315         * TextControl.cs: 
3316           - No longer artificially moves text 2 pixels down (now that we have
3317             borders this is no longer needed)
3318           - Added calcs for left, hanging and right indent
3320 2005-11-23  Mike Kestner  <mkestner@novell.com>
3322         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3324 2005-11-30  Jackson Harper  <jackson@ximian.com>
3326         * MdiChildContext.cs: Set the cloned menus forms, as these don't
3327         get cloned as part of CloneMenu ().
3328         * Menu.cs: Make sure the parent of the items get set correctly
3329         when they are added.  And the owners are notified of the changes.
3330         * Form.cs: Create an ActiveMenu property, so that when MDI is used
3331         we can change the menu being displayed/handled by the form without
3332         changing the menu assosciated with the form.
3333         - Don't let Mdi children draw/handle menus.
3334         
3335 2005-11-30  Jackson Harper  <jackson@ximian.com>
3337         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3338         a MenuChanged event. Just to make the API a little more
3339         consistent.
3340         * MainMenu.cs:
3341         * MenuItem.cs: Use the new OnMenuChanged
3342         * MdiChildContext.cs: Handle menu merging.
3343         * Form.cs: Implement MergedMenu.
3344         
3345 2005-11-30  Jackson Harper  <jackson@ximian.com>
3347         * Menu.cs: We were misusing Add. Add goes behind the specified
3348         index according to the docs, and does not replace the specified
3349         index. So I added an Insert method.
3351 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3353         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3354           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3355           is for Jackson
3356         * RichTextBox.cs: Added calls to base for DnD events
3358 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
3360         * TextControl.cs:
3361           - Fixed drag-selection related crash; style fixes
3362           - Implemented undo class
3363             o Implemented method to capture document state for specified
3364               range in document tree
3365             o Implemented method to restore captured document state
3366             o Implemented cursor tracking
3367             o Implemented basic undo stack
3368           - Added undo cursor tracking to methods altering cursor location
3369           - Added undo tracking to selection deletion (still missing
3370             other text-altering hookups)
3371         * RichTextBox.cs:
3372           - Added SelectionLength property
3373           - Implemented CanPaste()
3374           - Implemented Paste()
3375           - Added missing protected methods
3376           - Fixed RTF->Document conversion; now uses font index 0 and color 
3377             index 0 as the default font for the parsed text
3378           - Fixed RTF<->Document font size translation
3379           - Fixed RTF generation, now properly handles cross-tag boundaries
3380             for single line selection
3381           - No longer always appends blank line to generated RTF
3382           - Removed TODOs
3383           - Added missing attributes
3384           - Hooked up undo-related methods
3385         * TextBoxBase.cs:
3386           - Implemented Copy()
3387           - Implemented Paste()
3388           - Implemented Cut()
3389           - Fixed caret mis-behaviour on backspace across line-boundaries
3391 2005-11-29  Jackson Harper  <jackson@ximian.com>
3393         * MdiClient.cs: Add a method for activating mdi children. Very
3394         basic right now. I imagine someday it might need more girth.
3395         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3396         children windows names are added to the menu item.
3397         * ThemeWin32Classic.cs: Draw the arrow if the item is an
3398         mdilist. This happens regardless of whether or not there are any
3399         mdi windows to see in the list, and according to my tests happens
3400         before the items are even added. Also happens if there isn't even
3401         an mdi client to get windows from.
3403 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
3405         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3406         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3408 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
3410         * DataGridTableStyle.cs:
3411           - Create always the styles for the missing columns even if they are
3412             provided by the user (not default table style)
3413         * DataGrid.cs:
3414           - Fixes bug 76770
3415           - Fixes SetDataBinding (always re-attach source)
3416           - Fixes SetNewDataSource (only clear styles if they are not for 
3417             this source)
3418          -  Expands OnTableStylesCollectionChanged to handle style refresh 
3419             and remove properly
3421 2005-11-29  Jackson Harper  <jackson@ximian.com>
3423         * FileDialog.cs: Implement missing bits, remove some dead
3424         code.
3425         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3426         creation of the panel so that the options set on the dialog are
3427         seen when the panel is created.
3428         * TreeView.cs: raise a click when items are clicked.
3429         
3430 2005-11-29  Jackson Harper  <jackson@ximian.com>
3432         * MdiClient.cs: Pass some signature methods through to base.
3434 2005-11-28  Jackson Harper  <jackson@ximian.com>
3436         * ListView.cs: Raise the click event when items are clicked.
3438 2005-11-28  Jackson Harper  <jackson@ximian.com>
3440         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
3441         a nullref.
3443 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3445         * ThemeNice.cs: - Removed 1 pixel bitmaps
3446           - Use SmoothingMode.AntiAlias where it makes sense
3447             (ScrollButton arrow for example)
3448           - Enhanced Button focus drawing
3449           - Fixed ComboBox drawing (no artefacts anymore, focus
3450             rectangle is back again, reduced size of ComboButton, etc.)
3451           - Fixed RadioButton focus drawing for Appearence.Button
3452           - Slight ScrollButton redesign
3453           - Some LinearGradientBrush size fixes
3454           - GroupBoxes have now rounded edges
3455           - Fixed StatusBar drawing
3457 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3459         * ThemeNice.cs: - Remove dead code
3460           - use correct background colors for menus, etc.
3461           - Fake pixel drawing with 1 pixel bitmaps
3463 2005-11-24  Jackson Harper  <jackson@ximian.com>
3465         * MdiClient.cs: Size the scrollbars when resizing the window.
3466         - Resize the maximized windows when the client is resized
3467         * Form.cs: Make the child context available
3468         
3469 2005-11-23  Jackson Harper  <jackson@ximian.com>
3471         * MdiChildContext.cs: Don't size windows if they are maximized.
3473 2005-11-23  Mike Kestner  <mkestner@novell.com>
3475         * ContextMenu.cs: use MenuTracker.
3476         * Control.cs: remove menu handle usage.
3477         * Form.cs: remove menu handle usage.
3478         * Hwnd.cs: remove menu handle usage.
3479         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3480         motion and clicks to the new Tracker handlers.
3481         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3482         and handle usage.
3483         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3484         Killed the MENU and MENUITEM data types and associated collections
3485         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3486         MenuTracker class that exposes the leftovers from the old MenuAPI
3487         static methods. Restructured Capture handling so that only one grab is
3488         done for the entire menu hierarchy instead of handing off grabs to
3489         submenus. Tracker now has an invisible control to Capture when active.
3490         * MenuItem.cs: add sizing accessors, kill Create
3491         and handle usage.
3492         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3493         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3494         MENU(ITEM). remove menu handle usage, use Menu directly.
3495         * XplatUIDriver.cs: remove menu handle usage.
3496         * XplatUIOSX.cs: remove menu handle usage.
3497         * XplatUIWin32.cs: remove menu handle usage.
3498         * XplatUIX11.cs: remove menu handle usage.
3500 2005-11-22  Jackson Harper  <jackson@ximian.com>
3502         * Hwnd.cs: Don't compute the menu size for
3503         DefaultClientRectangle.
3504         - Reenable menu sizes being computed for GetClienRectangle.
3505         * Form.cs: Remove comment of trechery
3506         
3507 2005-11-22  Jackson Harper  <jackson@ximian.com>
3509         * Hwnd.cs: The adjustments for the menu bar are made when it is
3510         attached to the form.
3512 2005-11-19  Jackson Harper  <jackson@ximian.com>
3514         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3515         (just like on windows).
3517 2005-11-19  Jackson Harper  <jackson@ximian.com>
3519         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3520         use real buttons anymore because they are in non client area. The
3521         one TODO here is that I need to somehow invalidate a section of
3522         the non client area.
3524 2005-11-18  Jackson Harper  <jackson@ximian.com>
3526         * Control.cs: Put the enum check back in now that MDI doesnt have
3527         to use this to set border styles.
3528         * Form.cs: Only set mdi child windows borders if the handle has
3529         been created.
3530         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3531         this directly on to the driver.
3532         - Get the move start position before adjusting for the titlebar
3533         height, this fixes the windows "skipping" when they are first
3534         moved.
3536 2005-11-18  Jackson Harper  <jackson@ximian.com>
3538         * XplatUIX11.cs: Just compute the mdi borders separately as they
3539         don't totally match up with normal form borders.
3541 2005-11-18  Jackson Harper  <jackson@ximian.com>
3543         * Control.cs: Set WS_ styles for borders, so that the driver does
3544         not have to retrieve the control instance to figure out what kind
3545         of borders it should have.
3546         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3547         driver can know its an mdi child easily.
3548         * XplatUIX11.cs: Get the border styles and whether the window is
3549         MDI from the Styles and ExStyles params instead of having to get a
3550         control. This prevents a chicken and egg problem.       
3552 2005-11-18  Jackson Harper  <jackson@ximian.com>
3554         * MdiClient.cs: Fix typo so scrollbars show up correctly.
3556 2005-11-18  Jackson Harper  <jackson@ximian.com>
3558         * MdiClient.cs: Calculate when to add and remove scrollbars
3559         correctly.
3560         * MdiChildContext.cs: Adjust the y position to take the titlebar
3561         into account.
3562         - No height for FormBorderStyle.None
3564 2005-11-18  Jackson Harper  <jackson@ximian.com>
3566         * Control.cs: Allow non enum values to be used for
3567         InternalBorderStyle.  MDI does this to set a special border style.
3568         - New utility methods for converting points to/from client coords
3569         - Add the newly created control to the Controls collection before
3570         updating its style. This way UpdateStyle can walk the control
3571         heirarchy to find the control if needed.
3572         so I don't need to create a new Point object all the time.
3573         * Form.cs: Let MDI windows handle their border styles.
3574         - Set styles on MDI windows so the correct title style is derived.
3575         * MdiChildContext.cs: Move all the painting and window handling
3576         into the non client area.
3577         - Use correct sizing and put correct buttons on frames based on
3578         the FormBorderStyle.
3579         - Notify the mdi client about scrolling
3580         - Need to handle the buttons ourselves now, because they are all
3581         in non client areas and we can't add controls there.
3582         * MdiClient.cs: Halfway to scrolling, this implementation is
3583         somewhat broken though, we need to check to make sure other
3584         windows aren't causing scrolling before removing the bars. Also
3585         the bars need to be drawn on top, maybe I can switch implicit
3586         controls to be on top.
3587         * Hwnd.cs: caption_height and tool_caption_height are now
3588         properties of an hwnd, this way they can be set by the driver
3589         based on the type of window they are.  In X11 the window manager
3590         handles the decorations so caption_height is zero unless its an
3591         MDI window.
3592         - Add 3 pixel borders for MDI windows (0xFFFF).
3593         - Get rid of some code duplication, have DefaultClientRectanle
3594         just call GetClientRectangle.
3595         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3596         Hwnd now.
3597         - Set border styles differently for mdi windows.
3598         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3599         Hwnd now.
3600         
3601 2005-11-15  Mike Kestner  <mkestner@novell.com>
3603         * Menu.cs: when adding an item to the collection, if item is already 
3604         parented, remove it from the parent.
3606 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
3608         * X11DesktopColors.cs: Added KDE support
3610 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
3612         * XplatUIWin32.cs: 
3613           - Clipboard methods now can translate Rtf format
3614           - No longer removes clipboard contents whenever a new format is added
3615             to allow placing multiple formats on the clipboard
3616         * Clipboard.cs: Clipboard now supports getting a IDataObject and
3617           will place all formats contained in it onto the clipboard. Also
3618           now cleans the clipboard before placing a new object onto it
3619         * RichTextBox.cs:
3620           - Implemented set_Rtf
3621           - Implemented set_SelectedRtf
3622           - Created InsertRTFFromStream() method to allow single code base
3623             for all properties and methods that insert RTF into document
3624           - Removed debug output
3625         * TextControl.cs:
3626           - Fixed Delete(int) to fix up line numbers
3627           - Fixed ReplaceSelection to combine start and end line
3628           - Fixed serious DeleteChars bug that would leave the document tree
3629             broken
3630           - Improved DumpTree with several logic checks to detect broken
3631             document trees
3632           - Removed debug lines
3633           - Fixed Caret.WordForward/WordBack moving code, now always also 
3634             updates caret.tag (fixes crash when word-selecting across tag
3635             boundaries via keyboard)
3636           - Added Insert() method for inserting multiline text into documents
3637           - Fixed DeleteChars() calculation errors that would cause a broken
3638             tag chain with multiple tag lines
3639           - DeleteChars() no longer crashes on multi-tag lines if not all tags
3640           - Split() no longer moves caret if split is at caret location
3641           - ReplaceSelection() now updates the cursor and re-displays it
3642           - ReplaceSelection() now uses new Insert() method to avoid code
3643             duplication
3644           - FormatText() can now handle formatting partial lines
3645         * TextBoxBase.cs:
3646           - Append now uses new TextControl.Insert() method (this avoids 
3647             duplicate code)
3648           - Implemented Ctrl-X (Cut) (
3649           - Implemented Ctrl-C (Copy)
3650           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
3651             regeneration when pasting text; roundtripping Copy&Paste within
3652             edit control still fails due to some calculation bugs in GenerateRTF)
3653           - The Delete key will now remove the current selection if it is visible
3654         * TextBox.cs: Removed debug lines
3655         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3656           driver to be initialized and can't therefore be done via a static ctor)
3658 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
3660         * TextControl.cs: Added backend code for finding char arrays and strings
3661         * TextBoxBase.cs:
3662           - Added mouse wheel scroll support
3663           - Added support for VScroll and HScroll events
3664         * RichTextBox.cs:
3665           - Implemented all seven Find() variants
3666           - Implemented GetCharFromPosition()
3667           - Implemented GetCharIndexFromPosition()
3668           - Implemented GetLineFromIndex()
3669           - Implemented GetPositionFromCharIndex();
3670           - Implemented SaveFile for PlainText and UnicodeText
3671           - Fixed set_Font, now setting a new font applies that font to
3672             the whole document
3673           - Implemented generic Document to RTF converter
3674           - Implemented SaveFile for RichText format (still missing unicode
3675             conversion for non-ansi chars)
3676           - Implemented get_Rtf
3677           - Implemented get_SelectedRtf
3679 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
3681         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3682           to allow any captures to be released before triggering OnClick. This
3683           way a click handler may capture the mouse without interference.
3684         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3685           This way we send them even though X may not allow a grab (if the window
3686           isn't visible, for example)
3688 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
3690         * DataGridViewRowEventArgs.cs: DataGridView implementation
3691         * DataGridViewElement.cs: DataGridView implementation
3692         * DataGridViewComboBoxCell.cs: DataGridView implementation
3693         * DataGridViewDataErrorContexts.cs: DataGridView implementation
3694         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3695         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3696         * ImageLayout.cs: DataGridView implementation
3697         * DataGridViewComboBoxColumn.cs: DataGridView implementation
3698         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3699         * DataGridViewSelectionMode.cs: DataGridView implementation
3700         * IDataGridViewEditingControl.cs: DataGridView implementation
3701         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3702         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3703         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3704         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3705         * DataGridViewColumnSortMode.cs: DataGridView implementation
3706         * DataGridView.cs: DataGridView implementation
3707         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3708         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3709         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3710         * Padding.cs: DataGridView implementation
3711         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3712         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3713         * DataGridViewRowEventHandler.cs: DataGridView implementation
3714         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3715         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3716         * DataGridViewButtonCell.cs: DataGridView implementation
3717         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3718         * DataGridViewEditMode.cs: DataGridView implementation
3719         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3720         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3721         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3722         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3723         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3724         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3725         * DataGridViewCellEventHandler.cs: DataGridView implementation
3726         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3727         * DataGridViewCellStyleConverter.cs: DataGridView implementation
3728         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3729         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3730         * DataGridViewColumnEventArgs.cs: DataGridView implementation
3731         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3732         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3733         * QuestionEventArgs.cs: DataGridView implementation
3734         * IDataGridViewEditingCell.cs: DataGridView implementation
3735         * DataGridViewTriState.cs: DataGridView implementation
3736         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3737         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3738         * DataGridViewColumnCollection.cs: DataGridView implementation
3739         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3740         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3741         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3742         * DataGridViewColumn.cs: DataGridView implementation
3743         * DataGridViewCellBorderStyle.cs: DataGridView implementation
3744         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3745         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3746         * DataGridViewRow.cs: DataGridView implementation
3747         * DataGridViewImageCellLayout.cs: DataGridView implementation
3748         * DataGridViewImageCell.cs: DataGridView implementation
3749         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3750         * DataGridViewCheckBoxCell.cs: DataGridView implementation
3751         * DataGridViewHeaderCell.cs: DataGridView implementation
3752         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3753         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3754         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3755         * DataGridViewTextBoxColumn.cs: DataGridView implementation
3756         * QuestionEventHandler.cs: DataGridView implementation
3757         * DataGridViewCellStyleScopes.cs: DataGridView implementation
3758         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3759         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3760         * DataGridViewCell.cs: DataGridView implementation
3761         * DataGridViewCellEventArgs.cs: DataGridView implementation
3762         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3763         * DataGridViewCellStyle.cs: DataGridView implementation
3764         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3765         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3766         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3767         * TextFormatFlags.cs: DataGridView implementation
3768         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3769         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3770         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3771         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3772         * DataGridViewButtonColumn.cs: DataGridView implementation
3773         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3774         * HandledMouseEventArgs.cs: DataGridView implementation
3775         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3776         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3777         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3778         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3779         * DataGridViewRowCollection.cs: DataGridView implementation
3780         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3781         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3782         * DataGridViewHitTestType.cs: DataGridView implementation
3783         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3784         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3785         * DataGridViewColumnEventHandler.cs: DataGridView implementation
3786         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3787         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3788         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3789         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3790         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3791         * DataGridViewContentAlignment.cs: DataGridView implementation
3792         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3793         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3794         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3795         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3796         * DataGridViewPaintParts.cs: DataGridView implementation
3797         * DataGridViewCellCollection.cs: DataGridView implementation
3798         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3799         * DataGridViewImageColumn.cs: DataGridView implementation
3800         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3801         * DataGridViewElementStates.cs: DataGridView implementation
3802         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3803         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3804         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3805         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3806         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3807         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3808         * DataGridViewRowHeaderCell.cs: DataGridView implementation
3809         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3810         * DataGridViewTextBoxCell.cs: DataGridView implementation
3811         * DataGridViewBand.cs: DataGridView implementation
3812         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3813         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3814         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3815         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3816         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3817         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3818         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3819         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3820         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3821         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3822         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3824 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
3826         * ThemeWin32Classic.cs: 
3827           - Draw the outside focus rectangle around buttons
3828           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3829             doesn't use end caps for every dash of a line anymore. This
3830             workaround ignores the forecolor.
3832 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
3834         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3835           endian safe.
3837 2005-11-07  Jackson Harper  <jackson@ximian.com>
3839         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3841 2005-11-07  Jackson Harper  <jackson@ximian.com>
3843         * ScrollableControl.cs: Calculate the maximum and change vars
3844         (more) correctly so that scrollbars appear as a sensible size.
3846 2005-11-04  Jackson Harper  <jackson@ximian.com>
3848         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3849         collection.
3850         * TreeView.cs: When the tree is sorted null out the top_node so
3851         that it is recalculated.
3852         - Use dotted lines instead of dashed lines to match MS better.
3854 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
3856         * ListView.cs: 
3857           - Implements key search for items. Useful when browsing files with FileDialog
3858           - When changing view mode or when clear the items reset scrollbar positions
3860 2005-11-04  Jackson Harper  <jackson@ximian.com>
3862         * CurrencyManager.cs: Implement the MetaDataChanged event, the
3863         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3864         as to what the method may do as there is no real way of creating a
3865         derived CurrencyManager and calling the method. 
3867 2005-11-03  Jackson Harper  <jackson@ximian.com>
3869         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3870         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3871         method which seems to just be used internally to refresh the tabs.
3873 2005-11-03  Jackson Harper  <jackson@ximian.com>
3875         * TabControl.cs: Implement the remove method. Fix some broken
3876         comments.
3878 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3880         * DateTimePicker.cs:
3881           - Added missing DateTimePickerAccessibleObject class
3882           - Added missing events
3883           - Added OnFontChanged method
3884         * Form.cs: Added missing attributes
3885         * TreeView.cs: Added missing attributes
3887 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
3889         * GridItemCollection.cs: Fix signatures
3891 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3893         * XplatUI.cs: Updated build rev/date
3894         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
3895           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3896         * Application.cs: Trigger context-specific ExitThread events
3898 2005-11-03  Jackson Harper  <jackson@ximian.com>
3900         * Menu.cs:
3901         * MainMenu.cs:
3902         * GridTableStylesCollection.cs:
3903         * Timer.cs:
3904         * TabPage.cs:
3905         * HelpProvider.cs:
3906         * StatusBar.cs:
3907         * MonthCalendar.cs: Signature fixes
3909 2005-11-03  Jackson Harper  <jackson@ximian.com>
3911         * TreeNodeCollection.cs: Remove should not be virtual.
3912         * TreeView.cs: Implement the last of the missing methods.
3914 2005-11-03  Jackson Harper  <jackson@ximian.com>
3916         * TreeNodeConverter.cs: Implement to get off my class-status back.
3918 2005-11-03  Jackson Harper  <jackson@ximian.com>
3920         * TreeView.cs: Hookup the bits for drag and drop.
3921         * TreeNode.cs: Don't cache the tree_view or index anymore, now
3922         that nodes can be moved from tree to tree easily this just causes
3923         all sorts of problems.
3924         * TreeNodeCollection: Don't need to give treenodes an index and
3925         treeview anymore when they are added, these are computed on the
3926         fly. Also make sure to remove a node before its added.
3928 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3930         * TextControl.cs:
3931           - Added CaretSelection enum
3932           - Added comparison methods to Marker struct, makes selection code
3933             more readable
3934           - Added SelectionStart and SelectionEnd as 'moveable' location for
3935             the CaretDirection enum and handler
3936           - Added selection_prev variable to track optimized invalidation for
3937             word and line selection
3938           - Added SelectionVisible property (returns true if there is a valid 
3939             selection)
3940           - Switched CaretHasFocus to only display the caret if there is no
3941             visible selection
3942           - Avoiding StringBuilder.ToString to retrieve a single char, instead
3943             using the direct character index; should be much faster
3944           - Added various conditional debug statements
3945           - Fixed invalidation calculation for selection ranges
3946           - Added ExpandSelection() method to support word and line selection
3947           - Switched SetSelectionToCaret to use new Marker compare overloads
3948           - Added central IsWordSeparator() method to determine word 
3949             separators/whitespace and FindWordSeparator() to streamline common
3950             usage of IsWordSeparator()
3951         * TextBoxBase.cs:
3952           - Removed unneeded grabbed variable, it was just mirroring
3953             Control.Capture
3954           - No longer firing OnTextChanged event when Text setter is called,
3955             since the base will fire the event for us
3956           - Added handling of Ctrl-Up/Down selection
3957           - Added handling of Shift-Cursorkey selection
3958           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3959             words
3960           - Added handling of Shift and Ctrl-Shift-Home/End selection
3961           - Removed some debug output
3962           - Added handling for single/double/tripple-click to place caret/
3963             select word/select line respectively (Fixes bug #76031)
3964           - Added support for drag expansion of word/line selection
3965         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3966           current selection
3968 2005-11-02  Jackson Harper  <jackson@ximian.com>
3970         * X11Dnd.cs: If the drag is going to and from a MWF window just
3971         copy the data instead of sending it out through the X Selection
3972         mechanism.
3974 2005-11-02  Jackson Harper  <jackson@ximian.com>
3976         * X11Dnd.cs:
3977         * XplatUIX11.cs: When in a drag we don't want motion notify
3978         messages to get passed on to the other controls. This prevents
3979         mouse move messages from showing up in the drag source.
3981 2005-11-02  Jackson Harper  <jackson@ximian.com>
3983         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
3984         the correct button is release to end a drag.
3985         * XplatUIX11.cs: Make the button state internal so the drag system
3986         can access it.  Dragging needs to know about all button releases,
3987         not just left button.
3989 2005-11-02  Miguel de Icaza  <miguel@novell.com>
3991         * Form.cs (Icon): If the icon is null, reset the icon to the
3992         default value. 
3994         * Cursor.cs: When writing the AND-mask bitmap do not include the
3995         number of colors, but hardcode those to two (black and white),
3996         fixes the loading of color cursors (Paint Dot Net).
3998         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3999         turn off autoscaling.
4001         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4003 2005-11-02  Jackson Harper  <jackson@ximian.com>
4005         * X11Dnd.cs: Make sure to send a status message if the pointer
4006         enters a control that can not accept a drop, otherwise the cursor
4007         isn't updated correctly. Also tried to compress the lines of code
4008         a bit.
4010 2005-11-02  Jackson Harper  <jackson@ximian.com>
4012         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4013         set actions correctly.  This isn't perfect as XDND and win32 have
4014         some differences on how you allow actions. I'll clear this up by
4015         adding a path for drag from MWF to MWF windows.
4016         * XplatUIX11.cs: Hook into the dnd system.
4018 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
4020         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4021         previously shown but they are no longer need it. Very obvious when 
4022         browsing files with FileDialog.
4024 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
4026         * Control.cs: We always need to call OnPaintBackground. We pretty much
4027           ignore AllPaintingInWmPaint and always do the painting there, whether 
4028           it's set or not, since we always ignore the WM_ERASEBKGND message 
4029           (which we don't generate on X11). This fixes #76616.
4030         * Panel.cs: Removed unneeded background painting. This happens properly
4031           in Control.cs already
4033 2005-10-31  Mike Kestner  <mkestner@novell.com>
4035         * Menu.cs: Add items to collection before setting their index.
4036         * MenuItem.cs : add range checking with ArgumentException like MS.
4037         [Fixes #76510]
4039 2005-10-31  Jackson Harper  <jackson@ximian.com>
4041         * ListBox.cs: Invalidate if the area is visible at all not just
4042         contained in the visible rect. Fixes unselection of semi visible
4043         items.
4045 2005-10-31  Jackson Harper  <jackson@ximian.com>
4047         * Control.cs: Consistently name the dnd methods. Make them
4048         internal so we can override them to match some MS behavoir
4049         internally.
4050         * Win32DnD.cs: Use the new consistent names.
4052 2005-10-31  Jackson Harper  <jackson@ximian.com>
4054         * TreeView.cs: Don't draw the selected node when we lose focus.
4056 2005-10-31  Jackson Harper  <jackson@ximian.com>
4058         * X11Dnd.cs: We still need to reset the state even though a full
4059         reset isn't being done, otherwise status's still get sent all over
4060         the place.
4062 2005-10-31  Jackson Harper  <jackson@ximian.com>
4064         * Control.cs: Make the dnd_aware flag internal so the dnd
4065         subsystem can check it. Catch exceptions thrown in dnd handlers to
4066         match MS behavoir.
4067         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4068         * X11Dnd.cs: Handle null data in the converters. Set the XDND
4069         version when sending a XdndEnter. Use the control/hwnd dnd_aware
4070         flags to reduce the number of dnd enters/status's sent.
4072 2005-10-31  Jackson Harper  <jackson@ximian.com>
4074         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4076 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
4078         * PictureBox.cs: Fixes 76512
4080 2005-10-28  Jackson Harper  <jackson@ximian.com>
4082         * X11Dnd.cs: Early implementation to support winforms being a drag
4083         source for data on X11. Also restructured the converters so they
4084         can go both ways now.
4085         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4086         
4087 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
4089         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4090           clipboard requests
4092 2005-10-27  Jackson Harper  <jackson@ximian.com>
4094         * TreeNode.cs: Implement serialization so my DnD examples will work.
4096 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
4098         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4099           TreeView.cs: Don't dispose objects that are not owned.
4100           
4101 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
4103         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4104           should retrieve the current cursor and report that, but XplatUI
4105           doesn't (yet) have an interface for that (and I'm not sure I even
4106           can, on X11)
4107         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4108           until any message loop processing is done (and the WM_SETCURSOR
4109           replaces the cursor to the proper one)
4110         * XplatUIX11.cs: 
4111           - Fixed override behaviour, we can't set the cursor globally on X11, 
4112             just for our windows.
4113           - Invalidating the System.Drawing X11 display handle when we are
4114             shutting down
4115         * Control.cs: Fix to make csc happy
4117 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
4119         * TextBoxBase.cs: 
4120           - get_Text: Add last line (without trailing newline) to returned
4121             value (Fixes 76212)
4122           - get_TextLength: Count last line in returned length
4123           - ToString: Call Text property instead of duplicating code
4125 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
4127         * ImageList.cs: Dispose ImageAttributes objects.
4129 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4131         * ImageList.cs: Use attribute constructors with less arguments where
4132           possible.
4134 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4136         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4137           Use typeof instead of strings when assembly is referenced. Added
4138           some more comments.
4140 2005-10-21  Jackson Harper  <jackson@ximian.com>
4142         * ListView.cs: Raise a double click event. Also tried to somewhat
4143         fix when the selectedindexchanged event is raised. Its still
4144         broken though.
4146 2005-10-21  Jackson Harper  <jackson@ximian.com>
4148         * TreeView.cs: New method to invalidate the plus minus area of a
4149         node without invalidating the whole node (maybe this can be used
4150         in some more places).
4151         * TreeNodeCollection.cs: When adding to an empty node we need to
4152         invalidate its plus minus area so the little block shows up.
4153         
4154 2005-10-21  Jackson Harper  <jackson@ximian.com>
4156         * TreeView.cs: Make sure that when we invalidate a node the bounds
4157         are big enough to cover the selected box and the focus
4158         rectangle. Use a different colour for the lines connecting nodes
4159         so they show up with all themes.
4161 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4163         * NativeWindow.cs: Don't call anything that could call into the driver,
4164           we might be on a different thread.
4166 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4168         * Control.cs(Dispose): Since Dispose might run on a different thread,
4169           make sure that we call methods that could call into the driver via
4170           invoke, to avoid thread issues
4172 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4174         * XplatUI.cs: Removed finalizer
4175         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4176           not allowing to be called on the finalizer thread.
4178 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4180         * ImageList.cs:
4181           - Reverted r51889 and r51891.
4182           - Added ImageListItem class that stores unmodified image items and image
4183             properties required to create list images until handle is created.
4184           - Added AddItem and moved image creation logic to AddItemInternal.
4185           - Added CreateHandle method that creates images based on unmodified items.
4186           - Added DestroyHandle that changes state to store unmodified items.
4187           - Add and AddStrip methods no more create handle.
4188           - ReduceColorDepth has no return value.
4189           - Dispose destroys handle.
4190           - Modified other methods to reflect the above changes.
4191           - Implemented key support.
4192           - Added profile 2.0 members and attributes.
4193           - Added private Reset and ShouldSerialize methods that provide the same
4194             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4195             them as they are private.
4196           - Added some more comments about implementation details.
4198 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4200         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4202 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4204         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4206 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4208         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4209         * DataGridColumnStyle.cs: Remove debug message
4211 2005-10-20  Jackson Harper  <jackson@ximian.com>
4213         * TreeView.cs: We can always get input keys regardless of whether
4214         or not editing is enabled. They are used for navigation.
4216 2005-10-20  Jackson Harper  <jackson@ximian.com>
4218         * TreeNode.cs: Use the viewport rect for determining if a node
4219         needs to be moved for visibility. Don't use Begin/End edit. This
4220         calls a full refresh when its done.
4221         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4222         rect property internal so the treenodes can see it. When clicking
4223         on a node we need to ensure that its visible because it might just
4224         be partly visible when clicked.
4226 2005-10-20  Jackson Harper  <jackson@ximian.com>
4228         * TreeNodeCollection.cs: Remove debug code.
4230 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4232         * Datagrid.cs: Implements column sorting in Datagrid
4233         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4235 2005-10-20  Jackson Harper  <jackson@ximian.com>
4237         * TreeNodeCollection.cs: Remove items properly. Update the correct
4238         area after removing them.
4240 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4242         * Datagrid.cs: Should not call base.OnPaintBackground
4244 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4246         * XplatUIX11.cs (GetMessage):
4247           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4248             window instead of client window
4249           - Now properly calculates NC_xBUTTONUP message coordinates
4250           - ScreenToMenu now properly calculates it's coordinates of whole 
4251             window, since menus are in the whole window, not in the client
4252             window
4253           - Added WholeToScreen coordinate translation method
4255 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
4257         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4258           want to return a message, loop back to the beginning of the function
4259           and grab the next real message to process instead.
4261 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4263         * Splitter.cs: Properly set limits if no filler control is used
4265 2005-10-19  Jackson Harper  <jackson@ximian.com>
4267         * ColorDialog.cs: Don't show the help button if it is not enabled
4268         instead of disabling it (this is what MS does). Don't create the
4269         panel until the dialog is run, otherwise the vars (such as
4270         ShowHelp) are not set yet.
4272 2005-10-19  Jackson Harper  <jackson@ximian.com>
4274         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4275         are reduced when adding nodes.
4276         * TreeNode.cs:
4277         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4278         tree.
4279         
4280 2005-10-19  Jackson Harper  <jackson@ximian.com>
4282         * FolderBrowserDialog.cs: End editing our treeview so the window
4283         actually gets refreshed.
4285 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4287         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
4288           Obsoleted handling of WM_ERASEBKGND, now always draws our background
4289           inside of WM_PAINT
4291 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4293         * MenuAPI.cs: Returns after Hidding window
4294         * XplatUIX11.cs: Added TODO found while debugging menu issues
4296 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4298         * XplatUIX11.cs: Do not re-map the whole window when it's size
4299           becomes non-zero unless it's supposed to be actually visible
4301 2005-10-18  Jackson Harper  <jackson@ximian.com>
4303         * TreeView.cs: We don't need to keep a count anymore.
4304         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4305         use the Grow method.
4307 2005-10-18  Jackson Harper  <jackson@ximian.com>
4309         * TreeNodeCollection.cs: Insert is not supported on arrays, so
4310         implement it manually here.
4312 2005-10-18  Jackson Harper  <jackson@ximian.com>
4314         * ImageList.cs: Dont kill the list when the colour depth is
4315         changed, just change the colour depth of all the images.
4316         - Same goes for setting the image size. Just resize them all
4317         instead of killing the list softly.
4319 2005-10-18  Jackson Harper  <jackson@ximian.com>
4321         * Control.cs: Don't invalidate empty rectangles.
4323 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4325         * ListViewItem.cs:
4326           - Adds checked item to the Checked/Item lists (where empty before)
4327           - Do not add items to the Selected lists if they are already present
4328         * ListView.cs:
4329           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4330           - When deleting items make sure that we delete them for the Selected
4331           and Checked list also.
4333 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4335         * Label.cs: Dispose objects no longer used
4336         * ThemeWin32Classic.cs: Dispose objects no longer used
4338 2005-10-18  Jackson Harper  <jackson@ximian.com>
4340         * TabControl.cs: Don't refresh the whole control when the tabs are
4341         scrolled, we just need to refresh the tab area.
4343 2005-10-17  Jackson Harper  <jackson@ximian.com>
4345         * XplatUIX11.cs: Compress code a little bit. Only calculate the
4346         after handle when we need it.
4348 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4350         * Control.cs: When the parent size changes, recalculate anchor 
4351           positions. Partial fix for #76462
4353 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4355         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
4356           drawn. Fixes #76462
4358 2005-10-17  Jackson Harper  <jackson@ximian.com>
4360         * MonthCalendar.cs: Don't create the numeric up down until our
4361         handle is created. Otherwise our handle is created in the
4362         constructor and we don't know if we are a WS_CHILD or WS_POPUP
4363         yet.
4365 2005-10-17  Jackson Harper  <jackson@ximian.com>
4367         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4368         correctly.
4370 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4371         * TreeNode.cs : small logical fix (was using local var instead of field)
4372         
4373 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4375         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4377 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4379         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4381 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
4383         * Control.cs: 
4384           - Re-implemented anchoring code. My first version was really broken.
4385             This fixes bug #76033. Unlike the previous implementation we will
4386             no longer have round errors since all numbers are calculated from
4387             scratch every time. Removed various anchor-related obsolete vars.
4388           - InitLayout no longer causes layout event firing and layout to be 
4389             performed
4391 2005-10-16  Jackson Harper  <jackson@ximian.com>
4393         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4394         which was broken).
4396 2005-10-16  Jackson Harper  <jackson@ximian.com>
4398         * TabControl.cs: Remove debug code.
4400 2005-10-16  Jackson Harper  <jackson@ximian.com>
4402         * XEventQueue.cs: Increase the default queue size (very simple
4403         apps needed to grow the queue).
4404         * Hwnd.cs: No finalizer so we don't need to suppress
4405         finalization. Compute the invalid area manually so a new rectangle
4406         does not newto be created.
4407         * ScrollableControl.cs: Don't set any params (otherwise visibility
4408         isn't set correctly).
4409         * MdiChildContext.cs: New constructor takes the mdi parent so it
4410         doesn't have to be computed and avoids a crash on windows. Draw
4411         the window icon properly, and allow the text to be seen.
4412         * Form.cs: Use new MdiChildContext constructor. Make sure the
4413         child context isn't null in wndproc.
4414         * TabControl.cs: Don't set focus, this is muddling keyboard
4415         behavoir. Expand the tab rows when a window size increase will
4416         allow extra tabs to be seen. Don't allow tabs smaller than the
4417         width of a window to be scrolled out of view.
4418         * TreeNode.cs:
4419         * TreeView.cs: Use measure string to calculate a nodes width, the
4420         width is cached and only updated when the text or the font is
4421         changed. Don't check for expand/collapse clicks on the first level
4422         nodes if root lines are disabled.
4423         
4424 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
4426         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4428 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4430         * DataGridBoolColumn.cs: fixes warning
4432 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4434         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4435         to match more to match more precisely the MS Net behavior
4437 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4439         * Hwnd.cs: Added field to track if window is mapped
4440         * XplatUIX11.cs: 
4441           - Unmap windows if they become 0-size, re-map when 
4442             they are >0 again; fixes #76035
4443           - Re-set our error handler after initializing X11Desktop
4444             to override any error handlers Gtk or whatever was called
4445             may have set.
4447 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4449         * CheckedListBox.cs: Removed unused vars
4450         * ListView.cs: Fixed signatures
4451         * RichTextBox.cs: Removed unused vars
4452         * TextBoxBase.cs: Removed unused vars
4453         * XplatUIWin32.cs: Removed unused vars
4454         * XplatUIX11.cs: Removed unused vars
4455         * XplatUI.cs: Updated version and date to latest published
4457 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4459         * Cursor.cs: Added private .ctor to work around a bug in
4460           resourceset (Thanks to Geoff Norton for the help on this)
4461         * SplitterEventArgs.cs: Made fields accessible so we don't
4462           waste boatloads of objects and can reuse the same one
4463           in Splitter
4464         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4465           any captions and borders when generating screen coordinates
4466         * Splitter.cs: Reimplemented control, now fully complete, uses
4467           rubberband drawing, supports and obeys all properties, has
4468           proper cursors
4470 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4472         * Form.cs (Form): Setup default values for autoscale and
4473         autoscale_base_size;  Make these instance variables, not static
4474         variables. 
4476         (OnLoad): on the first load, adjust the size of the form.
4478 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4480         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4481           width argument to DrawReversibleRectangle()
4482         * XplatUIWin32.cs, XplatUIX11.cs: 
4483           - Implemented width for DrawReversibleRectangle()
4484           - Added logic to DrawReversibleRectangle that recognizes a zero
4485             width or height and only draws a line in that situation
4486         
4487 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4489         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4490         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4491         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4492           method (it uses our FosterParent window to get a graphics context)
4494 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4496         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4497           and SetWindowBackground methods
4498         * Control.cs:
4499           - Setting proper ControlStyles
4500           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4501             EraseWindowBackground, instead we draw the window background
4502             ourselves in PaintControlBackground. This behaviour is
4503             required to match MS, where, when OnPaintBackground is not
4504             called, the background is not drawn.
4505           - Removed unneeded Refresh() in set_Text
4506         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4507         * XplatUIX11.cs:
4508           - Created DeriveStyles method to translate from CreateParams to
4509             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4510             matches FormBorderStyle enum values)
4511           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4512             style calculations into single DeriveStyles method
4513           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4514             from redrawing the whole window on any resize or expose.
4515           - Fixed CreateWindow usage of SetWindowValuemask. Before not
4516             all styles were applied to our whole/client window appropriately
4517           - Removed EraseWindowBackground() and SetWindowBackground() methods
4518           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4519             no longer clear/redraw the background through X
4520           - Removed handling of erase_pending bit, we have no use for it (or
4521             so it seems)
4522         * XplatUIOSX.cs:
4523           - Removed generation and handling of WM_ERASEBKGND message
4524           - Removed EraseWindowBackground() and SetWindowBackground() methods
4525           - Removed handling of hwnd.ErasePending flag
4526         * XplatUIWin32.cs:
4527           - Removed EraseWindowBackground() and SetWindowBackground() methods
4528           - We no longer call EraseWindowBackground on PaintEventStart, we 
4529             ignore the fErase flag, erasing is handled in Control in the
4530             background handler
4531         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4532           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4533           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
4534           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
4535           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
4536           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4537           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4539 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
4541         * PropertyGrids.cs: Get sub properties
4542         * PropertyGridView.cs: Fix drawing code
4544 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4546         * ListBox.cs: Fixes 76383
4548 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4550         * DataGridTextBoxColumn.cs: Sets location and size before attachment
4551         * ThemeWin32Classic.cs: Fixes border drawing and calculations
4552         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4555 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4557         * ComboBox.cs: Fixes border drawing
4559 2005-10-10  Miguel de Icaza  <miguel@novell.com>
4561         * MimeIcon.cs: Ignore errors if the file can not be read.
4563 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4565         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4566          - Fixed border calculations
4567          - Fixed horizontal scrolling in single column listboxes
4568          - Fixed drawing issues
4570 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
4572         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
4573           FormBorderStyle enum
4574         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
4575           code to determine FormBorderStyles from CreateParams
4576         * Form.cs:
4577           - Fixed bug where we'd set the wrong window styles if we were
4578             not creating an MDI window
4579           - Added call to XplatUI.SetBorderStyle when form borders are set
4580         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4581         * Hwnd.cs:
4582           - Removed obsolete edge style
4583           - Switched from BorderStyle to FormBorderStyle
4584         
4585 2005-10-10  Jackson Harper  <jackson@ximian.com>
4587         * Form.cs: Use the property to get the window handle instead of
4588         accessing it directly. Prevents a null reference exception.
4590 2005-10-10  Jackson Harper  <jackson@ximian.com>
4592         * TreeView.cs: Don't adjust the rect given to DrawString now that
4593         our libgdiplus draws correctly.
4595 2005-10-08  Jackson Harper  <jackson@ximian.com>
4597         * TreeView.cs: Don't try to find the clicked on node if there are
4598         no nodes in the tree.
4600 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4602         * RichTextBox.cs:
4604           restore
4606 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4608         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4609           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4610           ErrorProvider.cs:
4611           Use ResPool for brushes and dispose System.Drawing objects that
4612           are not used anymore.
4614 2005-10-07  Jackson Harper  <jackson@ximian.com>
4616         * MdiChildContext.cs: Use the new borders instead of drawing them
4617         ourselves.
4619 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4621         * Calling UpdateBounds after changing the window's BorderStyle 
4622         since the style can change the ClientSize
4624 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4626         * Control.cs: Made PaintControlBackground virtual
4627         * Panel.cs: Overriding PaintControlBackground instead of using paint
4628           event; paint event method was interfering with 'real' users of the
4629           event.
4631 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4633         * ThemeWin32Classic.cs: remove border drawing since it is handled
4634         by the base control class now and was causing double border drawing.
4636 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4638         * Panel.cs: Redraw our background on paint. Not a pretty solution,
4639           but it does seem to match MS behaviour. This fixes bug #75324
4641 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4643         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4644           somewhat hackish looking
4646 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4648         * TextBoxBase.cs:
4649           - We now accept Enter even if AcceptEnter is false, if the containing
4650             form does not have an AcceptButton configured (fixes bug #76355)
4651           - Calculations are now fixed to no longer use Width/Height, but
4652             ClientSize.Width/Height, since we now support borders (this was
4653             a result of fixing borders and therefore bug #76166)
4654           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
4655             true (fixes bug #76354)
4656         
4657 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4659         * Control.cs: 
4660           - Defaulting BorderStyle and setting it in XplatUI when our window 
4661             is created
4662           - Added enum check to InternalBorderStyle setter
4663         * XplatUIX11.cs: 
4664           - Added drawing of window borders
4665           - Now properly calculates WM decorations offset for toplevel 
4666             windows (fixes bug #74763)
4667         * XplatUIWin32.cs: 
4668           - Implemented BorderStyles for windows (we're letting win32 draw 
4669             the border for us)
4670           - Fixed the signature for SetWindowLong
4671         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4672           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
4673           setting borders
4674         * UpDownBase.cs: Remove drawing of borders, this is handled by
4675           the driver, outside the client area
4676         * ListView.cs: Removed bogus border calculations. The control should
4677           be oblivious to borders, since those are not part of the client
4678           area. 
4679         * X11DesktopColors.cs: Commented out (currently) unneeded variables
4680         * ThemeWin32Classic.cs: Removed border calculations from ListView 
4681           drawing code
4683 2005-10-06  Jackson Harper  <jackson@ximian.com>
4685         * MdiChildContext.cs: Clear out the old virtual position remove
4686         all the unneeded calls to CreateGraphics.
4688 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4690         * TextControl.cs: Use proper color for highlighted text; fixes #76350
4692 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4694         * Form.cs: 
4695           - Added loading and setting of our new default icon
4696           - Only set icon if window is already created
4698 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4700         * Label.cs:
4701           - Do not explicitly set the foreground and background colors, to
4702             allow inheriting from parents (fixes #76302)
4703           - Use Control's InternalBorderStyle property to deal with borders
4705 2005-10-06  Jackson Harper  <jackson@ximian.com>
4707         * MdiChildContext.cs: Use the new xplatui function to draw a
4708         reversible rect.
4710 2005-10-06  Jackson Harper  <jackson@ximian.com>
4712         * Form.cs: Add the parent before creating the child context cause
4713         we need the parent when setting up the child.
4715 2005-10-06  Jackson Harper  <jackson@ximian.com>
4717         * FolderBrowserDialog.cs: redo the tree population code so a
4718         second thread isn't used. Should be a lot faster and more stable
4719         now.
4721 2005-10-05  Jackson Harper  <jackson@ximian.com>
4723         * TreeView.cs: There are no expand/collapse boxes if the node has
4724         no children.
4726 2005-10-05  Jackson Harper  <jackson@ximian.com>
4728         * X11DesktopColors.cs: Get menu colours for the gtk theme.
4730 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
4732         * FileDialog.cs: Fix InitialDirectory
4734 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4736         * ComboBox.cs:
4737                 - Fixes changing between styles
4738                 - Fixes simple mode
4739                 - Fixes last item crashing when navigating with keyboard
4741 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4743         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4745 2005-10-05  Jackson Harper  <jackson@ximian.com>
4747         * TreeView.cs: If updating the root node do a full refresh.
4748         * TreeNode.cs: The root node should be expanded by default. Also
4749         added a utility prop to tell if we are the root node.
4750         * TreeNodeCollection.cs: Only refresh if the node we are being
4751         added to is expanded. Also added a comment on a potential
4752         optimization.
4753         
4754 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
4756         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
4757           in dispose method. Fixes #76330
4759 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
4761         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4763                 - Implements vertical and horizontal scrolling using XplatUI
4764                 - Fixes keyboard navagation
4765                 - Fixes EnsureVisible
4766                 - Drawing fixes
4767                 - Handles and draws focus properly
4770 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
4772         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4773           Create handle. NET_2_0: Destroy handle when value is null.
4775 2005-10-03  Jackson Harper  <jackson@ximian.com>
4777         * ScrollBar.cs: My last scrollbar patch was broken. This is a
4778         revert and a new patch to prevent the thumb from refreshing so
4779         much.
4781 2005-10-02  Jackson Harper  <jackson@ximian.com>
4783         * ScrollBar.cs: Don't update position if it hasn't actually
4784         changed. This occurs when you hold down the increment/decrement
4785         buttons and the thumb gets to the max/min.
4787 2005-10-01  Jackson Harper  <jackson@ximian.com>
4789         * Form.cs:
4790         * MdiChildContext.cs:
4791         * MdiClient.cs: Implement ActiveMdiChild in Form.
4793 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
4795         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4797 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
4799         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4800           be found
4802 2005-09-30  Jackson Harper  <jackson@ximian.com>
4804         * ListBox.cs: Don't do a full refresh unless some data has
4805         actually changed.
4807 2005-09-30  Jackson Harper  <jackson@ximian.com>
4809         * TreeView.cs: Make sure that the checkboxes size is factored in
4810         even when not visible.
4812 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4814         * FileDialog.cs: Fix Jordi's build break
4816 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4818         * FileDialog.cs: 
4819                 - Use standard the Windows colours for the combobox as espected
4820                 - Dispose objects that use resouces when no longer need them
4822 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4824         * X11DesktopColors.cs: Initial incomplete implementation
4825         * XplatUIX11.cs: Added call to initialize X11DesktopColors
4827 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
4829         * Theme.cs: 
4830           - Switched Theme color names to match the names defined in 
4831             System.Drawing.KnownColors. Life's hard enough, no need to make 
4832             it harder.
4833           - Added setters to all theme color properties so themes can set
4834             their color schemes. The setters also propagate the color changes
4835             to System.Drawing.KnownColors via reflection
4836         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4837           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4838           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4839           use the new, more logical theme color names
4840         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4841           post-NT colors
4842         * ThemeWin32Classic.cs:
4843           - Removed code to set the old classic Windows colors. Instead it
4844             now relies on the colors returned by System.Drawing.KnownColors
4845             which will be either modern static colors (Unix) or colors
4846             read from the user's configuration (Win32)
4847           - Updated to use the new, more logical theme color names
4848           - Switched DataGrid drawing code to use only Theme colors instead of
4849             a mix of System.Drawing.KnownColors and Theme colors
4850           - DrawFrameControl(): Removed code that fills the button area, the
4851             fill would overwrite any previous fill done by a control. This
4852             fixes bug #75338 
4853           - Added DrawReversibleRectangle() stub
4854         * ScrollableControl.cs: Set visible state to false when scrollbars
4855           are removed (pdn fix)
4856         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
4857           DrawReversibleRectangle() method to allow drawing primitive 
4858           'rubber bands'
4859         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4861 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4863         * ImageList.cs: Add(Icon): Create handle.
4865 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4867         * ListView.cs:
4868         * ThemeWin32Classic.cs:
4869                 - Fixes detail mode
4870                 - Sets clippings
4871                 - Issues with drawing
4873 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4875         * ImageList.cs: Moved RecreateHandle back to ImageList as event
4876           source has to be the ImageList.
4878 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4880         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4882 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4884         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4886 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4888         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4890 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
4891         * GridItem.cs: Fixed TODOs
4892         * GridItemCollection.cs: Added ICollection interface
4894 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4896         * ImageList.cs: Resize icons when needed.
4898 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
4900         * ListViewItem.cs
4901                 - Fixes GetBounds and returns on screen rects
4902         * ListView.cs:
4903                 - Fixes vertical and horzintal scrolling of items
4904         * ThemeWin32Classic.cs:
4905                 - Fixes drawing
4906                 
4907 2005-09-29  Raja R Harinath  <harinath@gmail.com>
4909         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4911 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
4913         * ImageList.cs: Added comments about handle creation. Moved Handle,
4914           HandleCreated and OnRecreateHandle implementations to ImageCollection.
4915           Handle is created in Add methods.
4917 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4918          
4919         * DataGridDrawingLogic.cs: 
4920                 - Takes rows into account on Colum calculations
4921                 - Returns the column when clickig
4922         * DataGrid.cs:
4923                 - Fixes default HitTestInfo values
4924                 - Fixes HitTestInfo.ToString
4925                 - Fixes ResetBackColor          
4926         
4927 2005-09-28  Jackson Harper  <jackson@ximian.com>
4929         * MdiChildContext.cs: Obey rules for fixed sized windows (no
4930         sizing or cursor changes). Also added some temp code to draw the
4931         titlebars text (Makes dev a little easier).
4933 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4935         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4937 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4938          
4939         * ListBox.cs: Fixes bug 76253
4941 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4943         * ImageList.cs: Added comments about the current implementation. Added
4944           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4945           Format32bppArgb to preserve transparency and can use Graphics.FromImage
4946           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4947           with Bitmap.LockBits for better performance. Revised the whole file to
4948           match MS.NET behaviour and provide better performance. Non-public
4949           interface members are calling public members even when they throw
4950           NotSupportedException for better maintainability. Moved ColorDepth,
4951           ImageSize, ImageStream and TransparentColor implementations to
4952           ImageCollection for better performance as these properties are not used
4953           by ImageList.
4954         * ImageListStreamer.cs: Added a new internal constructor that takes an
4955           ImageList.ImageCollection and serializes Images based on
4956           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4957           match ImageList property name.
4959 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
4961         * ListBox.cs: Fixes IndexFromPoint for last item
4963 2005-09-27  Jackson Harper  <jackson@ximian.com>
4965         * Form.cs: Set the position of new mdi children correctly.
4967 2005-09-27  Jackson Harper  <jackson@ximian.com>
4969         * MdiClient.cs: New mdi children need to be added to the back of
4970         the controls collection so the zorder is set correctly. Also add a
4971         count of all the child windows that have been created.
4973 2005-09-27  Jackson Harper  <jackson@ximian.com>
4975         * Form.cs (CreateParams): Setup MDI forms correctly.
4977 2005-09-27  Jackson Harper  <jackson@ximian.com>
4979         * MdiChildContext.cs:
4980         * MonthCalendar.cs:
4981         * UpDownBase.cs:
4982         * ListBox.cs:
4983         * ListView.cs:
4984         * TextBoxBase.cs:
4985         * TreeView.cs:
4986         * ScrollableControl.cs:
4987         * ComboBox.cs: Add implicit controls using the new implict control
4988         functionality in ControlCollection. Also try to block multiple
4989         control add in a suspend/resume layout to save some cycles.
4990         
4991 2005-09-27  Jackson Harper  <jackson@ximian.com>
4993         * Control.cs: Add functionality to the controls collection to add
4994         'implicit controls' these are controls that are created by the
4995         containing control but should not be exposed to the user. Such as
4996         scrollbars in the treeview.
4997         * Form.cs: The list var of the ControlsCollection is no longer
4998         available because of the potential of implicit controls getting
4999         ignored by someone accessing the list directly.
5001 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
5003         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5004           loose it's parent. (Fixed bug introduced in r49103 when we added
5005           setting the child parent to null on Remove)
5007 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
5009         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5010         * Splitter.cs: Added missing attributes for BorderStyle property.
5011         * TextBoxBase.cs: Marked Calculate* methods internal.
5012         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5013         MS.NET.
5015 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
5016          
5017         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5019 2005-09-25  Jackson Harper  <jackson@ximian.com>
5021         * TreeView.cs: Update the node bounds correctly regardless of
5022         whether the node is visible.
5024 2005-09-25  Jackson Harper  <jackson@ximian.com>
5026         * ImageList.cs: Don't dispose the image after it is added to the
5027         image list. Only reformat images that need to be resized.
5029 2005-09-25  Jackson Harper  <jackson@ximian.com>
5031         * ImageList.cs: Don't set the format when changing the image.
5033 2005-09-25  Jackson Harper  <jackson@ximian.com>
5035         * TreeView.cs: We can't just assume the node has a font. Use the
5036         treeviews font if no node font is available.
5038 2005-09-25  Jackson Harper  <jackson@ximian.com>
5040         * TreeView.cs: Allow the scrollbars to be reset with negative
5041         values.
5042         - Don't add scrollbars to negative sized windows.
5044 2005-09-23  Jackson Harper  <jackson@ximian.com>
5046         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5047         old Mono.Posix. Also remove some stray code that shouldn't have
5048         been committed.
5050 2005-09-23  Jackson Harper  <jackson@ximian.com>
5052         * TreeView.cs: Attempt at proper sizing of the horizontal
5053         scrollbar. Also don't resize the scrollbars unless they are
5054         visible.
5056 2005-09-23  Jackson Harper  <jackson@ximian.com>
5058         * TreeView.cs: We don't need to expand the invalid area when the
5059         selection changes, as this is all drawn in the node's bounding
5060         box. The area needs to be expanded (previous typo was contracting
5061         it) when the focus rect moves.
5063 2005-09-23  Jackson Harper  <jackson@ximian.com>
5065         * TreeView.cs: Display the selection box under the correct
5066         circumstances. We were rendering white text with no selection box
5067         before.
5069 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
5071         * TextControl.cs(Split): Now updates selection start/end if it points 
5072           into a line that's being split. Fixes a FIXME and bug #75258
5074 2005-09-23  Jackson Harper  <jackson@ximian.com>
5076         * Binding.cs:
5077         * ListControl.cs: Don't use the path when retrieving binding
5078         managers from the binding context. My bat sense tells me that the
5079         path is only used on insertion.
5081 2005-09-22  Jackson Harper  <jackson@ximian.com>
5083         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5085 2005-09-22  Jackson Harper  <jackson@ximian.com>
5087         * Splitter.cs: There are special cursors used for splitting.
5088         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5090 2005-09-22  Jackson Harper  <jackson@ximian.com>
5092         * Splitter.cs: Change the cursor appropriately when the splitter
5093         is moused over, so the user actually knows there is a splitter
5094         there.
5096 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5098        * Label.cs : Fix ToString method to give same output as MS.NET
5100 2005-09-22  Jackson Harper  <jackson@ximian.com>
5102         * TreeView.cs: Create the scrollbars when the handle is created
5103         and add them right away, just make them invisble. Also account for
5104         the window being shrunk vertically to the point that the vert
5105         scrollbar needs to be added.
5106         - Remove some 0.5 adjustments to get around anti aliasing issues.
5107         
5108 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
5109          
5110         * MainMenu.cs: Fixes default value
5111         * MenuItem.cs: Fixes default value
5113 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
5115         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5117 2005-09-21  Jackson Harper  <jackson@ximian.com>
5119         * Control.cs: Don't try to set the border style on the window if
5120         it hasn't been created. When the window is created the border
5121         style will be used.
5123 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5125         * Control.cs (Update): Don't call XplatUI if we don't have a
5126           window handle yet
5128 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5130         * ContainerControl.cs: Instead of throwing an exception, print
5131           a one-time warning about Validate not being implemented
5132         * XplatUIWin32.cs: Removed debug output
5134 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5136         * Control.cs: Only set XplatUI background if we expect the windowing
5137           system to handle the background. This stops controls that draw their
5138           own background from flickering
5140         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5141           creation. This allows, amongst other things, using MWF X11 windows 
5142           with OpenGL.
5144 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5146         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5147           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5148           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5149           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5150           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5151           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5152           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5153           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5154           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5155           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5156           GridColumnStylesCollection.cs, 
5157           IDataGridColumnStyleEditingNotificationService.cs,
5158           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5159           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5160           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5161           TreeNodeCollection.cs, AmbientProperties.cs, 
5162           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5163           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5164           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5165           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5166           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5167           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5168           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5169           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5170           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5171           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5172           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5173           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5174           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5175           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5176           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5177           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5178           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5179           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5180           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5181           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5182           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5183           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5184           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5185           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5186           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5187           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5188           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5189           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5190           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5191           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5192           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5193           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5194           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5195           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5196           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5197           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5198           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5200 2005-09-21  Jackson Harper  <jackson@ximian.com>
5202         * TreeNode.cs: Call Before/After Expand not Collapse when
5203         expanding.
5205 2005-09-20  Jackson Harper  <jackson@ximian.com>
5206         
5207         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5209 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5210          
5211         * ListViewItem.cs:
5212                 - Fixes bug 76120
5213                 - Fixes proper storing of subitems
5214                 - Fixes not updated items
5216 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5218         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5219           things if our window handle isn't created yet. Also disabled 
5220           debug for TextBoxBase
5222 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5224         * MenuAPI.cs: Remove filtering of events to allow menu usage
5226 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5228         * Cursor.cs: Allow null to be passed to Cursor.Current.
5230 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5232         * ThemeWin32Classic.cs:
5233           - Change some private methods/fields to protected virtual so that 
5234             they can be accessed and overriden in derived classes
5235           - First refactoring of some methods. Derived themes now don't 
5236             need to duplicate the complete code from ThemeWin32Classic
5237         * ThemeNice.cs:
5238           - Added nice StatusBar
5239           - Derive from ThemeWin32Classic and not Theme
5240           - Removed duplicate ThemeWin32Classic code
5242 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5244         * Control.cs (ControlCollection.Add): If the value null is passed
5245         the control is ignored. 
5247         Optimize this loop.
5249 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
5251         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5252           PostQuitMessage state.
5253         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5255 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
5257         * Application.cs: Our constructor will never get called, move 
5258           initialization to fields; fixes bug #75933
5260 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5262         * FileDialog.cs :
5263                 - Allow files to be selected properly using file name
5264                 combo box.
5265                 - Add ability to change diretory (absolute / relative)
5266                 using file name combo box.
5268 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5269          
5270         * ListBox.cs: 
5271                 - Fixes Multicolumn listboxes item wrong calculations
5272                 - Allows to click when only one item is in the listbox
5273                 - Fixes crash when no items using keyboard navigation
5275 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
5277         * ComboBox.cs: Reverted almost everything from the latest patch which
5278           broke ComboBox
5280 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
5281         
5282         * ToolTip.cs:
5283                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5284         * ComboBox.cs:
5285                 - When DropDownStyle is Simple, it does not show scrollbar 
5286                 to the last item of the list.
5287                 - When DropDownStyle is Simple, it crashed when the list was 
5288                 scrolled down with the down cursor key.
5289                 - Fixed a bug that when DropDownStyle is DropDownList, the 
5290                 selected item was not shown.
5291                 - The position of the selected item was not preserved when 
5292                 the next dropdown happened.
5293         * ThemeWin32Classic.cs:
5294                 - Items were wrapped at the right end.
5295         * CheckedListBox.cs:
5296                 - Fixed Add method
5297         * ListBox.cs:
5298                 - Items should be fully shown.
5299                 - When resizing and vertical scrollbar disappeared, the item 
5300                 of index 0 should be on the top of the list.
5301                 - GetItemRectangle should consider the size of ver. scrollbar
5302         * StatusBar.cs:
5303                 - SizingGrip area should not be allocated when it is not 
5304                 displayed.
5305                 - Now it reflects MinWidth of the containing panel and 
5306                 fixed a crash that happens when its width becomes so small.
5308 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5310         * CheckedListBox.cs: Fixes bug 76028
5311         * ListBox.cs: Fixes bug 76028
5313 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5315         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5316         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5318 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
5320         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5322 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5324         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
5326 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5328         * IRootGridEntry.cs: Added
5329         * PropertyGridCommands.cs: Added
5330         * PropertiesTab.cs: Added missing methods and property
5331         * PropertyGridView.cs: Made class internal
5332         * PropertyGridTextBox.cs: Made class internal
5334 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5336         * MimeIcon.cs: Try to check some other environment variables
5337           if "DESKTOP_SESSION" returns "default"
5339 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5341         * ThemeNice.cs: Corrected background colors (e.g. menus)
5342         * ColorDialog.cs: Use correct background colors for controls
5344 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5346         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5348 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
5350         * RichTextBox.cs: Added initial implementation
5351         * lang.cs: Removed. Was accidentally checked in long time ago
5352         * TODO: Removed. Contents were obsolete
5354 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5355                                                                                 
5356         * PropertiesTab.cs : Added
5358 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5359                                                                                 
5360         * PropertyGrid.cs : Update
5361         * PropertyGridView.cs : Update
5362         * System.Windows.Forms.resx : Added images and strings
5364 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
5366         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5368 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
5370         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5371           a busy loop right after the Ungrab the X11 display is otherwise 
5372           blocked
5374 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
5376         * ThemeWin32Classic.cs: Optimise the use of clipping
5378 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
5380         * DataGrid.cs: fixes recursion bug
5382 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
5384         * ThemeNice.cs: 
5385           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5386           - Cleanup
5388 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
5390         * ThemeNice.cs: Draw nice ProgressBars
5392 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5394         * VScrollBar.cs: Another buglet found by Aaron's tool. 
5396         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5397         bug finder.
5399 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
5401         * ThemeNice.cs:
5402           - Added nicer menu drawing
5403           - Updated DrawTab
5404           - some refactoring
5406 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5408         * CreateParams.cs (ToString): Made output match MS
5409         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
5410             handle is already created (to avoid forcing window creation)
5411         * XplatUIX11.cs: Set window text to caption after creating window,
5412           in case Text was set before window was created
5413         * Form.cs: Use this.Text instead of a static string as caption
5415 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5417         * NotifyIcon.cs: Don't set the window to visible; this screws
5418           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5419           OnPaint without a bitmap)
5420         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
5421           happen very often anyway; we could add the check to the WM_PAINT 
5422           event generation code
5424 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5426         * NotifyIcon.cs: Fill the icon area with a background color, to 
5427           avoid 'residue' when transparent icons are drawn
5428         * XplatUIX11.cs:
5429           - Handle whole_window == client_window when destroying windows
5430           - SystrayAdd(): Set client_window to whole_window value to
5431             get mouse and other events passed to NotifyIcon
5433 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5435         * Form.cs: Set proper default for Opacity property
5436         * NotifyIcon.cs:
5437           - ShowSystray(): Don't bother creating telling the OS
5438             about the systray item if no icon is provided
5439           - Now handles WM_NCPAINT message to deal with whole/client window
5440             split
5441           - Create window as visible to not get caught by Expose optimization
5442         * Hwnd.cs: Removed debug message
5443         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5444           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5445             PaintEventStart/End to use new client argument
5446         * TextBoxBase.cs:
5447           - Commented out debug messages
5448           - Switched PaintEventStart/End to use new client argument
5449         * XplatUI.cs: Added client window bool to PaintEventStart()/
5450           PaintEventEnd() calls, to support drawing in non-client areas
5451         * XplatUIDriver.cs: 
5452           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5453             calls, to support drawing in non-client areas
5454           - Added conditional compile to allow using MWF BeginInvoke 
5455             on MS runtime
5456         * XplatUIX11.cs:
5457           - Added some conditional debug output
5458           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5459             whole/client window split
5460           - Implemented handling of client argument to PaintEventStart()/End()
5461         * Control.cs:
5462           - Throw exception if BeginInvoke() is called and the window handle
5463             or one of the window's parent handles is not created
5464           - Added conditional compile to allow using MWF BeginInvoke on
5465             MS runtime
5466           - get_Parent(): Only sets parent if handle is created. This avoids
5467             forcing window handle creation when parent is set.
5468           - Now fires Layout and Parent changed events in proper order
5469           - Switched to use Handle instead of window.Handle for Z-Order setting,
5470             the get_Parent() patch above causes us to possibly get null for 'window'
5471           - Implemented handling of client argument to PaintEventStart()/End()
5472           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5473             default handling)
5474           - Now sends a Refresh() to all child windows when Refresh() is called
5476 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5478         * Form.cs: Added (non-functional) Opacity property
5479         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5481 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5482         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5483           use export MONO_THEME=nice to activate it.
5484           Currently supported controls:
5485           - Button
5486           - ComboBox
5487           - ScrollBar
5488           - TabControl (TabAlignment.Top only, other will follow)
5489         * ThemeEngine.cs: Add theme nice
5490         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5491           if enabled
5493 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5495         * Splitter.cs: Resize docked control and its neighbor.
5497 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5498         -- Making Windows with Menus layout correctly --
5499         * Form.cs : The first leg of the fix
5500                 Menu setter - adjust Client Size as needed to make space for the menu
5501                 SetClientSizeCore - doesn't call base version to be able to pass the 
5502                         menu handle to XplatUI.CalculateWindowRect
5503         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5504         * XplatUIX11.cs: The critical second leg of the fix
5505                 GetWindowPos needs to use a recalculated client_rect
5506                 so that resizing the window doesn't break layout of child controls. 
5507                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5508                 Lots of \t\n killed
5510 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5512         * Label.cs: Now properly recalculates width and height on Font and Text
5513           changes if AutoSize is set
5515 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5516         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5518 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
5520         * ImageList.cs: Makes ToString method compatible with MS
5522 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
5524         * MenuAPI.cs: fixes bug 75716
5526 2005-08-11 Umadevi S <sumadevi@novell.com>
5527         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5529 2005-08-11 Umadevi S <sumadevi@novell.com>
5530         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5532 2005-08-10  Umadevi S <sumadevi@novell.com>
5533         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5535 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
5537         * Menu.cs: fixes bug 75700
5538         * MenuAPI.cs: fixes navigation issues
5540 2005-08-09  Umadevi S <sumadevi@novell.com>
5541         * CheckedListBox.cs - simple fix for GetItemChecked.
5543 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
5545         * ComboBox.cs: Serveral fixes
5546         * ListBox.cs: Serveral fixes
5548 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5550         * ComboBox.cs: Fixes FindString methods and GetItemHeight
5551         * ListBox.cs: Fixes FindString methods
5553 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5555         * DataGrid.cs: fixes bugs exposed by new tests
5557 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5559         * Mime.cs: Compile Mono assembly references only if compiling
5560           with Mono (Allows to build with VS.Net again)
5562 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
5564         * Control.cs (PaintControlBackground): Draw background image
5565         corrrectly.
5566         (CheckForIllegalCrossThreadCalls): Stubbed.
5567         
5568         * Form.cs (OnCreateControl): Center when should be centered.
5569         
5570         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5572 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
5574         * Binding.cs: Binding to properties should be case unsensitive
5576 2005-07-18 vlindos@nucleusys.com
5578         * DataGrid.cs: fixes setmember order
5580 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
5582         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5583         * FileDialog.cs: FileDialog is now resizable and uses the new
5584           MimeIconEngine
5586 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
5588         * DataGridTextBoxColumn.cs: default value
5589         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5590         * GridTableStylesCollection.cs: fixes checking MappingName
5591         * DataGridDrawingLogic.cs: fixes drawing logic issues
5592         * DataSourceHelper.cs: rewritten to make compatible with more data sources
5593         * DataGrid.cs: fixes    
5595 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
5597         * MimeGenerated.cs: Use case sensitive comparer for
5598           NameValueCollections
5600 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
5602         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
5603         * ThemeWin32Classic.cs: bug fixes, code refactoring
5604         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
5605         * DataGrid.cs: bug fixes, code refactoring
5606         * DataGridTextBox.cs: bug fixes, code refactoring
5607         * DataGridColumnStyle.cs:  bug fixes, code refactoring
5608         * Theme.cs:  bug fixes, code refactoring
5610 2005-07-01  Peter Bartok  <pbartok@novell.com> 
5612         * TextControl.cs: Quick fix for the reported crash on ColorDialog
5613           and other text box usage
5615 2005-07-01  Jackson Harper  <jackson@ximian.com>
5617         * TabControl.cs: Make sure the bottom of the tab covers the pages
5618         border.
5620 2005-06-30  Peter Bartok  <pbartok@novell.com> 
5622         * Form.cs (ShowDialog): Assign owner of the dialog
5623         * TextBoxBase.cs: Always refresh caret size when deleting, caret
5624           might have been moved to a tag with different height
5626 2005-06-30  Jackson Harper  <jackson@ximian.com>
5628         * Form.cs: Don't create an infinite loop when setting focus
5629         * MenuItem.cs: Don't dirty the parents if we don't have any
5631 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
5633         * LibSupport.cs: Rename
5635 2005-06-29  Peter Bartok  <pbartok@novell.com>
5637         * TextBoxBase.cs: Re-align caret after deleting a character
5638         * TextControl.cs:
5639           - DeleteChars(): Ensure that tag covers the provided position
5640           - StreamLine(): Drop reference for dropped tag
5642 2005-06-29  Peter Bartok  <pbartok@novell.com> 
5644         * TextControl.cs: 
5645           - Selections now work properly, anchoring at the initial location
5646             and properly extending in either direction (SetSelectionToCaret(),
5647             SetSelectionStart() and SetSelectionEnd())
5648           - No longer redraws the whole control on selection change, now
5649             calculates delta between previous and new selection and only
5650             invalidates/redraws that area
5651           - Fixed FindPos() math off-by-one errors
5652           - Changed DeleteChars() to verify the provided tag covers the
5653             provided position, selections may have a tag that doesn't cover
5654             the position if the selection is at a tag border
5655           - Fixed off-by-one errors in DeleteChars()
5656           - Added missing streamlining check in DeleteChars() to remove
5657             zero-length tags
5658           - Implemented Invalidate() method, now properly calculates exposures
5659             between two given lines/positions
5660           - Implemented SetSelection()
5661           - Obsoleted and removed FixupSelection()
5662           - Improved RecalculateDocument() logic, removing code duplication
5664 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5666         * LibSupport.cs: changes to match different input/output arguments.
5668 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5670         * LibSupport.cs: added libsupport.so init routine.
5672 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
5673         
5674         * ControlBindingsCollection.cs
5675                 - Throws an exception on null datasource when adding
5676                 - Checks for duplicated bindings when adding
5678 2005-06-28  Jackson Harper  <jackson@ximian.com>
5680         * TreeView.cs (OnKeyDown): Support left and right properly
5681         (navigates as well as expanding and collapsing.
5682         - Add support for Multiply, this expands all the selected nodes
5683         children.
5684         - Fix some tabbing.
5686 2005-06-28  Jackson Harper  <jackson@ximian.com>
5688         * TreeView.cs: Implement keyboard navigation, currently supports,
5689         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5690         support for toggling checkboxes with the space bar.
5692 2005-06-28  Jackson Harper  <jackson@ximian.com>
5694         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5695         tree.
5697 2005-06-28  Jackson Harper  <jackson@ximian.com>
5699         * TreeView.cs: Add missing event.
5701 2005-06-27  Peter Bartok  <pbartok@novell.com> 
5703         * TextControl.cs:
5704           - Made line ending size configurable (now allows for counting 
5705             lineendings as \n or \r\n)
5706           - Added margin to viewport to keep caret visible on right side
5707           - Fixed translation routines for line/pos to documentpos to consider
5708             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5709           - Fixed some line-endings to be unix style
5710           - Fixed Document.FormatText to perform it's calculations 1-based
5711           - Added descriptions for a few methods that might otherwise get 
5712             used wrong
5713           - Added NOTE section with some basic conventions to remember at 
5714             the top of the file
5715           - Major fixup for RichTextBox selection drawing:
5716             * Fixed crashes when multiple tags on a single line were selected
5717             * fixed selection box drawing not overlaying text
5718             * fixed bogus offset calculation for tags not starting at index 1
5719             * Switched behaviour from using multiple Substrings of a 
5720               StringBuilder.ToString() to using multiple 
5721               StringBuilder.ToString(start, length) statements, hoping this is
5722               faster (kept original version commented out in the code, in case
5723               original version was faster)
5724         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
5725           alignment != Left
5726         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5727           call it as well
5729 2005-06-27  Jackson Harper  <jackson@ximian.com>
5731         * TabControl.cs: Move to the left and right with the arrow
5732         keys. These keys don't cycle beyond first and last like
5733         tab. Refresh all the tabs when scrolling them to the left or
5734         right.
5736 2005-06-27  Jackson Harper  <jackson@ximian.com>
5738         * TabControl.cs:
5739           - ToString: Added method
5740           - CreateParams: Remove TODO and comment
5741           - OnKeyDown: Cycle through bounds properly.
5742           - SelectedIndex: Scroll to the right or left if we need to
5743           display the newly selected tab.
5745 2005-06-23  Jackson Harper  <jackson@ximian.com>
5747         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5748         set.
5750 2005-06-23  Jackson Harper  <jackson@ximian.com>
5752         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5753         CTRL-SHIFT-TAB, and HOME, END are there any others?
5755 2005-06-23  Jackson Harper  <jackson@ximian.com>
5757         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5759 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5760         
5761         * DataGridTextBoxColumn.cs: fixes and enhancements
5762         * ThemeWin32Classic.cs: fixes and enhancements
5763         * DataGridBoolColumn.cs:  fixes and enhancements
5764         * DataGridDrawingLogic.cs:  fixes and enhancements
5765         * CurrencyManager.cs: fixes and enhancements
5766         * DataGrid.cs: fixes and enhancements
5767         * DataGridColumnStyle.cs:  fixes and enhancements
5769 2005-06-22  Jackson Harper  <jackson@ximian.com>
5771         * TabControl.cs: Add some missing methods that just call into the
5772         base. Make the TabPageCollection's IList interface behave in the
5773         same manner as the MS implementation.
5775 2005-06-22  Peter Bartok  <pbartok@novell.com> 
5777         * TextControl.cs: Added sanity check
5778         * TextBoxBase.cs: 
5779           - Fixed wrapping behaviour, don't set wrap on single line controls
5780             (this fixes the breakage of colordialog introduced in an earlier
5781              checkin)
5782           - Added rudimentary support for autoscrolling right-aligned controls
5783             (still needs fixing, also, center alignment scroll is missing)
5785 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5786         
5787         * ScrollBar.cs: Fixes thumbpos on Maximum values
5789 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
5790         
5791         * PropertyGridView.cs: Pass context information to UITypeEditors 
5793 2005-06-21  Peter Bartok  <pbartok@novell.com> 
5795         * TextBoxBase.cs:
5796           - Now calling PositionCaret with absolute space coordinates
5797           - Enabled vertical scrolling
5798           - Better tracking of scrollbar changes, tied into WidthChange
5799             event
5800           - Improved cursor tracking
5801           - Removed debug output
5802         * TextControl.cs:
5803           - PositionCaret coordinates are now works in absolute space, not 
5804             the canvas
5805           - Improved tracking of document size
5806           - Added events for width and height changes
5808 2005-06-21  Peter Bartok  <pbartok@novell.com>
5810         * Form.cs: Set focus to active control when form is activated
5811         * TextControl.cs: 
5812           - Added word-wrap functionality to RecalculateLine() 
5813           - Added some short function descriptions for VS.Net to aid in
5814             writing dependent controls
5815           - Added Caret property, returning the current coords of the caret
5816           - Added ViewPortWidth and ViewPortHeight properties
5817           - Added Wrap property
5818           - Added CaretMoved event
5819           - Removed some old debug code
5820           - Split() can now create soft splits
5821           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5822           - Added method to format existing text
5823           - Fixed size/alignment calculations to use viewport
5824           - RecalculateDocument now can handle changing line-numbers while
5825             calculating lines
5827         * TextBox.cs:
5828           - Added some wrap logic, we don't wrap if alignment is not left
5829           - Added casts for scrollbar var, base class switched types to
5830             also support RichTextBoxA
5831           - Implemented handling of scrollbar visibility flags
5833         * TextBoxBase.cs:
5834           - Switched scrollbars type to RichTextBoxScrollBars to support
5835             RichTextBox
5836           - Added tracking of canvas width/height
5837           - Switched scrollbars to be not selectable (to keep focus on text)
5838           - Added central CalculateDocument() method to handle all redraw
5839             requirements
5840           - Added ReadOnly support
5841           - Added WordWrap support
5842           - Fixed handling of Enter key (we now treat it as a DialogKey)
5843           - Fixed caret positioning when h or v scroll is not zero
5844           - Fixed placing/generation of vertical scrollbar
5845           - Added CalculateScrollBars() method to allow updating scrollbar
5846             limits and visibility
5847           - Fixed handling of horizontal scroll
5848           - Added handling of vertical scroll
5849           - Implemented auto-'jump' when caret moves to close to a left or
5850             right border and there is text to be scrolled into view (currently
5851             there's the potential for a stack overflow, until a bug in
5852             scrollbar is fixed)
5854 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
5855         
5856         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5858 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
5860         * Mime.cs:
5861         - added inodes.
5862         - return application/x-zerosize for files with size zero
5863           (if no extension pattern matches).
5864         - check matches collection for strings too.
5865         - return only the first mime type if the name value
5866           collection has more than one mime type.
5868 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
5869         
5870         * PropertyGrid.cs: Cleaned up some TODOs
5871         * PropertyGridView.cs: Added support for UITypeEditors
5873 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5874         
5875         * DataGrid.cs: clears cached value
5877 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5879         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5880         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5881         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5882         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5883         
5884 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
5886         * ThemeWin32Classic.cs: fixes colour
5888 2005-06-15  Peter Bartok  <pbartok@novell.com>
5890         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5891         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5892         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5893         * Control.cs: Added some MWFCategory and MWFDescription attributes
5894         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5896 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
5898         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5899         usage
5901 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
5903         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5904         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5905         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5906         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5907         * DataGrid.cs: default datagrid settings for Default Styles, fixes
5908         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5910 2005-06-13  Jackson Harper  <jackson@ximian.com>
5912         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5913         isn't printed when the user enables dropping. (X11 does accept
5914         drops).
5915         
5916 2005-06-13  Jackson Harper  <jackson@ximian.com>
5918         * TreeView.cs: Remove some TODOS.
5920 2005-06-13  Jackson Harper  <jackson@ximian.com>
5922         * Form.cs: Hook into the mdi framework.
5923         * MdiClient.cs: Use the base control collections add method so
5924         parents get setup correctly. Set the default back colour and dock
5925         style.
5926         * MdiChildContext.cs: New class, this bad actor handles an
5927         instance of an MDI window. Right now there is only basic
5928         support. You can drag, close, and resize windows. Minimize and
5929         Maximize are partially implemented.
5931 2005-06-13  Jackson Harper  <jackson@ximian.com>
5933         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5934         freaky when both vals are negative. NOTE: There are probably other
5935         places in XplatUIX11 that this needs to be done.
5937 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
5939         * DataGrid.cs: implement missing methods, move KeyboardNavigation
5940         * DataGridColumnStyle.cs: fixes signature
5942 2005-06-12  Jackson Harper  <jackson@ximian.com>
5944         * XplatUIX11.cs: Use sizing cursors similar to the ones on
5945         windows.
5947 2005-06-11  Jackson Harper  <jackson@ximian.com>
5949         * StatusBarPanel.cs: Signature cleanups. Implement
5950         BeginInit/EndInit.
5952 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
5954         * DataGridTextBoxColumn.cs: Honors aligment
5955         * GridColumnStylesCollection.cs: Contains is case unsensitive
5956         * GridTableStylesCollection.cs: several fixes
5957         * DataGridTableStyle.cs: default column creation
5958         * DataGridDrawingLogic.cs: fixes
5959         * CurrencyManager.cs: ListName property
5960         * DataGrid.cs: multiple styles support
5961         * DataGridColumnStyle.cs: fixes
5962         
5964 2005-06-10  Peter Bartok  <pbartok@novell.com>
5966         * Control.cs(Select): Moved SetFocus call to avoid potential
5967           loops if controls change the active control when getting focus
5968         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5969           the up/down buttons
5971 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
5973         * ImageListConverter.cs: Implemented
5975 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5977         * MonthCalendar.cs: Wired in NumericUpDown control for year
5979 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5981         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5982           DoubleClick events, since they are not meant to be fired.
5984 2005-06-09  Peter Bartok  <pbartok@novell.com>
5986         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5987           Jonathan's standalone controls into MWF, implemented missing
5988           events, attributes and methods; added xxxAccessible classes
5989         * AccessibleObject.cs: Made fields internal so other classes
5990           can change them if needed
5992 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
5994         * UpDownBase.cs: Complete implementation
5995         * NumericUpDown.cs: Complete implementation
5996         * DomainUpDown.cs: Complete implementation
5998 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
6000         * DataGridTextBoxColumn.cs: drawing fixes
6001         * DataGridCell.cs: fixes ToString method to match MSNet
6002         * DataGridTableStyle.cs: fixes
6003         * DataGridBoolColumn.cs: fixes, drawing
6004         * DataGridDrawingLogic.cs: fixes, new methods
6005         * DataGridTextBox.cs: Keyboard and fixes
6006         * DataGrid.cs:
6007                 - Keyboard navigation
6008                 - Scrolling fixes
6009                 - Row selection (single, multiple, deletion, etc)
6010                 - Lots of fixes
6011         
6012 2005-06-07  Jackson Harper  <jackson@ximian.com>
6014         * ThemeWin32Classic.cs: Clear the background area when drawing
6015         buttons.
6017 2005-06-06  Peter Bartok  <pbartok@novell.com>
6019         * ImageListStreamer.cs: Fixed signature for GetData
6020         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6021         * ComboBox.cs:
6022           - Added missing ChildAccessibleObject class
6023           - Added missing OnXXXFocus overrides, switched to using those
6024             instead of the event handler
6025         * Control.cs:
6026           - Added Parent property for ControlAccessibleObject
6027           - Fixed signatures
6028           - Fixed attributes
6029           - Added ResetBindings()
6030         * ListBindingConverter.cs: Implemented some methods
6031         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6032         * ImageList.cs: Implemented basic handle scheme, removed TODOs
6033         * ContainerControl.cs: Fixed signature, now subscribing to the
6034           ControlRemoved event instead of overriding the handler, LAMESPEC
6035         * CurrencyManager.cs: Added missing attribute
6036         * MonthCalendar.cs: Added missing properties
6038 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6040         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6041         
6042 2005-06-06  Gaurav Vaish and Ankit Jain
6044         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6045         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6046         
6047 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6049         * Control.cs: fixes CreateParams Width / Height.
6051 2005-06-05  Peter Bartok  <pbartok@novell.com>
6053         * Win32DnD.cs: Removed compilation warnings
6055 2005-06-05  Peter Bartok  <pbartok@novell.com>
6057         * Control.cs (CreateParams): Since we don't know if one of the
6058           properties we use is overridden, lets make sure if we fail accessing
6059           we continue with a backup plan
6061 2005-06-05  Peter Bartok  <pbartok@novell.com>
6063         * Win32DnD.cs:
6064           - Removed debug output
6065           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6066             struct
6067           - Plugged resource leak
6068         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6069           MS size
6071 2005-06-05  Peter Bartok  <pbartok@novell.com>
6073         * XplatUIWin32.cs: Removed DnD code
6074         * Win32DnD.cs: Implemented drop source and drop target functionality
6076 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6078         * UpDownBase.cs: remove duplicate addition of event, enable some code
6079         that was commented out.
6080         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6081         Validate input when a key is pressed. It works fine now for every
6082         combination of Hexadecimal. Only missing some drawing love when sharing
6083         space with other controls.
6085 2005-06-04  Peter Bartok  <pbartok@novell.com>
6087         * Control.cs:
6088           - We need to pass a window for DragDrop, so enable callback events
6089           - Added DnD callback events when being a DragSource
6090         * XplatUI.cs (StartDrag): Added window handle argument
6091         * XplatUIDriver.cs (StartDrag): Added window handle argument
6092         * QueryContinueDragEventArgs: Made fields internally accessible so
6093           drivers can set them
6094         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6095           can set them
6097 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
6099         * DataGridTextBoxColumn.cs: column text editing
6100         * DataGridTableStyle.cs: Respect columns styles created by the user
6101         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6102         * DataGridBoolColumn.cs: bool column editing
6103         * DataGrid.cs: fixes to scrolling, properties, etc
6104         * DataGridTextBox.cs: handle keyboard
6105         * DataGridColumnStyle.cs: fixes
6107 2005-06-02  Jackson Harper  <jackson@ximian.com>
6109         * ImageListStreamer.cs: Somewhat broken implementation of
6110         GetObjectData. The RLE needs some work to match MS properly.
6112 2005-06-02  Jackson Harper  <jackson@ximian.com>
6114         * X11Dnd.cs: Attempting to keep at least one file in MWF
6115         monostyled.
6117 2005-06-02  Peter Bartok  <pbartok@novell.com>
6119         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6120           that way
6122 2005-06-02  Peter Bartok  <pbartok@novell.com>
6124         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6125         * XplatUI.cs: Added DoDragDrop() method
6126         * XplatUIDriver.cs: Added DoDragDrop() method
6128 2005-06-02  Jackson Harper  <jackson@ximian.com>
6130         * Splitter.cs: Implement BorderStyle.
6132 2005-06-02  Jackson Harper  <jackson@ximian.com>
6134         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6135         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6136         X11 using XDND.
6138 2005-06-02  Peter Bartok  <pbartok@novell.com>
6140         * DataObject.cs:
6141           - Added Data setter
6142           - Fixed broken insertion code for SetData, now also
6143             overwrites any existing entry of the same format name
6144         * Hwnd.cs: Added list of pointers that automatically gets
6145           freed when the window is disposed
6146         * XplatUI.cs: Call driver initialization method when loading
6147           a driver
6148         * Control.cs:
6149           - OnDragLeave takes EventArgs, not DragEventArgs
6150           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6151             supported
6152           - Forces style update when drop state changes
6153         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6154           not perfect since we cannot (yet) call the IDataObject.GetData()
6155           method, we keep getting 0x80004005 error, dunno why)
6157 2005-06-02  Peter Bartok  <pbartok@novell.com>
6159         * DragEventArgs.cs: Make fields internal so we can cache the
6160           object and re-set the fields from XplatUI
6162 2005-06-02  Jackson Harper  <jackson@ximian.com>
6164         * Control.cs: Add some internal methods so the DnD subsystem can
6165         raise DnD events. Also call into the driver when AllowDrop is set.
6166         * XplatUI.cs:
6167         * XplatUIDriver.cs: New method for setting whether or not a window
6168         is allowed to accept drag and drop messages.
6169                 
6170 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6171         
6172         * ScrollBar.cs: Make sure that values sent in Scroll events
6173         are always between Maximum and Minimum.
6175 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6177         * Menu.cs: Call MenuChanged when menuitem visibility has been
6178         changed.
6179         * MenuItem.cs: Rebuild menu when item is (not) visible.
6180         * MainMenu.cs: MainMenu has special MenuChanged.
6181         * Theme.cs: Caption and FrameBorderSize are not fixed.
6182         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6183         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6184         * XplatUIX11.cs,
6185         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6186         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6188 2005-05-30  Jackson Harper  <jackson@ximian.com>
6190         * DataFormat.cs: We can't statically initialize this stuff because
6191         it calls into the xplatui and could create a loop. So we lazy init
6192         it.
6194 2005-05-28  Jackson Harper  <jackson@ximian.com>
6196         * Control.cs: Proper implementation of Product(Name/Version).
6198 2005-05-27  Jackson Harper  <jackson@ximian.com>
6200         * DataObject.cs: Dont crash if no data is found.
6202 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6203         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6204                 as per status page, guessing it should be set to true
6206 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6208         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6209         * DataGridTableStyle.cs: set proper formatting text, def header text
6210         * ThemeWin32Classic.cs: new themable paramaters
6211         * DataGridBoolColumn.cs: paint check box, get data, fixes
6212         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6213         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6214         * DataGridColumnStyle.cs: fixes
6215         * Theme.cs: new themable paramaters
6216                 
6217 2005-05-26  Peter Bartok  <pbartok@novell.com>
6219         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6221 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6222         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6224 2005-05-24  Peter Bartok  <pbartok@novell.com>
6226         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6227           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6228           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6229           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6230           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6231           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6232           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6233           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6234           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6235           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6236           missing attributes, etc
6237         * DataGridPreferredColumnWidthTypeConverter.cs: Added
6239 2005-05-24  Peter Bartok  <pbartok@novell.com>
6241         * Help.cs: Added, implemented trivial functions, throws up MessageBox
6242           when user tries to get help
6243         * DataObject.cs, DataFormats.cs, LinkArea.cs,
6244           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6245           to suppress warnings
6246         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6247           avoid unreachable code warning
6249 2005-05-20  Peter Bartok  <pbartok@novell.com>
6251         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6253 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6255         * DataGridTextBoxColumn.cs: Basic painting methods
6256         * DataGridTableStyle.cs: Set table style in the column
6257         * ThemeWin32Classic.cs: Use Theme for colors
6258         * DataGridDrawingLogic.cs: Implement more drawing
6259         * DataGrid.cs: drawing, theming, enhacements, fixes
6260         * DataGridColumnStyle.cs: fixes, drawing
6261         * Theme.cs: theming for Datagrid
6263 2005-05-20  Peter Bartok  <pbartok@novell.com>
6265         * Cursor.cs: Implemented GetObjectData() method
6267 2005-05-20  Peter Bartok  <pbartok@novell.com>
6269         * Cursors.cs: Added setting of cursor name
6270         * Cursor.cs:
6271           - Implemented constructors
6272           - Implemented Draw and DrawStretched
6273           - Implemented Current property
6274           - Implemented == and != operators
6275           - Implemented Dispose()
6276           - Implemented ToString
6277           - Added missing attributes
6278         * XplatUIX11.cs:
6279           - Added missing reset for OverrideCursor when DoEvents is called
6280           - Fixed creation of cursor, logic was wrong
6281         * XplatUIWin32.cs:
6282           - Added missing reset for OverrideCursor when DoEvents is called
6283           - Fixed creation of cursor, bit arrays were swapped
6284         * Clipboard.cs: Removed obsolete MonoTODO attribute
6286 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6288         * ComboBox.cs: fixes OnSelectedItemChanged
6289         * ControlBindingsCollection.cs: fixes item range check
6291 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6293         * UpDownBase.cs:
6294                 - Calc preferred height properly
6295                 - Implement missing properties
6296                 
6297         * NumericUpDown.cs: Implement missing events
6299 2005-05-19  Jackson Harper  <jackson@ximian.com>
6301         * TabControl.cs: New method that resizes the tab pages before
6302         redrawing them. This as needed as the control is double buffered
6303         and sizing will not be recalculated unless ResizeTabPages is
6304         called.
6305         * TabPage.cs: Set base.Text instead of Text in the constructor so
6306         that UpdateOwner does not get called. Use the new Redraw method of
6307         TabControl instead of Refresh so the sizing is recalculated.
6308         * ThemeWin32Classic.cs: Draw the text for button tabs.
6310 2005-05-19  Jackson Harper  <jackson@ximian.com>
6312         * Control.cs: Paint control background images. Fix typo where
6313         PaintControlBackground was not getting called correctly.
6315 2005-05-19  Peter Bartok  <pbartok@novell.com>
6317         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6318           I can investigate, apparently I broke FileDialog
6320 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
6322         * AxHost.cs: Some simple properties.
6323         * Control.cs: window must be accessible after ctor.
6324         * Form.cs: Added TransparencyKey property.
6325         * TextBoxBase.cs: Implemented Clear. Text property can be null.
6326         * XplatUIWin32.cs: SetBorderStyle implemented.
6328 2005-05-18  Peter Bartok  <pbartok@novell.com>
6330         * DataObject.cs: Entries are not global but particular to the
6331           DataObject, now it behaves that way
6332         * XplatUIWin32.cs: Implemented Clipboard methods
6333         * Clipboard.cs: Implemented
6334         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6335         * XplatUIOSX.cs: Updated to final clipboard prototypes
6336         * XplatUIX11.cs: Implemented Clipboard methods
6337         * XplatUIDriver.cs: Updated to final clipboard prototypes
6338         * XplatUIStructs.cs:
6339           - Added BITMAPINFOHEADER struct
6340           - Added ClipboardFormats enum
6341         * X11Structs.cs:
6342           - Added ClipboardStruct
6343           - Added Atom enum items for clipboard types
6344           - Fixed atom types for Selection event structures
6345         * DataFormats.cs:
6346           - Added internal properties and methods for drivers to enumerate
6347             all known formats
6348           - Switched initialization method to allow drivers to assign their
6349             own IDs even for the MS predefined clipboard IDs
6350         * XplatUI.cs: Updated to final clipboard interface
6352 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6353         * PropertyGridView.cs: Fixed compiler warnings.
6355 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6356         * PropertyGrid.cs: Added some event calls
6357         * PropertyGridView.cs: Change drawing code to use double buffering
6358         * PropertyGridTextBox.cs: Changed Text property name
6359         * GridItem.cs: Added Bounds property.
6360         * GridEntry.cs: Added Bounds property.
6362 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6364         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6365         since GetType() may not return the correct type if the object is
6366         a remoting proxy.
6368 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
6370         * TreeNodeCollection.cs: fixes get/set item ranges
6371         
6372 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6374         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6375                 
6376 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6378         * ComboBox.cs: Fix item range comparation
6379         * ListView.cs: Fix item range comparation
6381 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6383         * FontDialog.cs:
6384           - Clear example panel when OnPaint is called
6385           - Better solution for displaying the example panel text
6386           - Select default indexes in the ListBoxes
6388 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6390         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
6392 2005-05-11  Peter Bartok  <pbartok@novell.com>
6394         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6395         * SelectionRangeConverter.cs: Implemented
6396         * PropertyGrid.cs: Fixed attribute value
6397         * Control.cs:
6398           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6399           - Added Sebastien Pouliot's CAS Stack Propagation fixes
6400         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6401           that's common to all drivers. First methods to go there are
6402           Sebastien Pouliot's CAS Stack Propagation helper methods
6403         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6404           Sebastien Pouliot for CAS Stack Propagation
6406 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6408         * OSXStructs.cs:
6409           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6411 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
6413         * DataGridTextBoxColumn.cs: fixed some members
6414         * GridColumnStylesCollection.cs: indexed column is case insensitive
6415         * DataGridTableStyle.cs: fixes
6416         * ThemeWin32Classic.cs: add new theme parameter
6417         * Theme.cs: add new theme parameter
6418         * DataGridDrawingLogic.cs: Datagrid's drawing logic
6419         * DataGrid.cs: fixes, new internal properties, etc.
6420         * DataGridColumnStyle.cs: allows to set grid value
6421         *
6423 2005-05-10  Peter Bartok  <pbartok@novell.com>
6425         * AccessibleObject.cs:
6426           - Removed MonoTODO attribute on help, method is correct
6427           - Fixed Bounds property
6428         * AxHost.cs: Moved MonoTODO
6429         * ButtonBase.cs: Now setting AccessibleObject properties
6430         * RadioButton.cs: Setting proper AccessibleObject role
6431         * CheckBox.cs: Setting proper AccessibleObject role
6432         * ControlBindingsCollection.cs: Added properties, methods and attributes
6433         * DataFormats.cs: Fixed awkward internal API, and changed to enable
6434           userdefined DataFormats.Format items as well
6435         * ListControl.cs: Removed data_member from the public eye
6436         * OpenFileDialog.cs:
6437           - Made class sealed
6438           - Added missing attributes
6439         * SaveFileDialog.cs: Added missing attributes
6440         * ImageListStreamer.cs: Fixed code that caused warnings
6441         * LinkLabel.cs: Removed unreachable code
6442         * TreeView.cs: Fixed code that caused warnings
6443         * PropertyGridView.cs: Fixed code that caused warnings
6444         * GridColumnStylesCollection.cs: Added missing attributes
6445         * GridTableStylesCollection: Added missing attribute
6446         * PropertyManager: Added .ctor
6447         * SecurityIDType: Added
6448         * DataObject.cs: Implemented class
6449         * LinkArea.cs: Added missing attribute
6451 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6453         * RadioButton.cs: call base method to allow to fire OnClick event
6454         * UpDownBase.cs: OnMouseUp call base method
6455         * CheckedListBox.cs: call base method before returning
6456         * TrackBar.cs: call base method before returning
6457         
6459 2005-05-10  Peter Bartok  <pbartok@novell.com>
6461         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6462           for messages
6464 2005-05-10  Peter Bartok  <pbartok@novell.com>
6466         * DataFormats.cs: Implemented
6467         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6468           XplatUIX11.cs: Added Clipboard APIs
6469         * XplatUIWin32.cs: Implemented Clipboard APIs
6470         * FolderBrowserDialog.cs: Added missing event, attributes
6472 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6474         * CheckBox.cs: call base method to allow to fire OnClick event
6476 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6478         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6480 2005-05-06  Peter Bartok  <pbartok@novell.com>
6482         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6483         * Screen.cs: Implemented
6484         * HelpNavigator.cs: Added
6485         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6486           property
6487         * HelpProvider.cs: Implemented all we can do until we have a CHM
6488           help library (which means that "What's This" does work now)
6490 2005-05-06  Jackson Harper  <jackson@ximian.com>
6492         * XplatUIX11.cs: Fix waking up the main loop.
6493                 
6494 2005-05-05  Peter Bartok  <pbartok@novell.com>
6496         * XplatUI.cs: Updated revision
6497         * Form.cs: Removed enless loop
6498         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6499         * Label.cs (OnPaint): Added call to base.OnPaint()
6500         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6501         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6502         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6503         * AxHost.cs: Added
6504         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6505         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6506           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6507           reuse of ToolTipWindow by other controls
6508         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6509         * XplatUIX11.cs: Now clipping drawing area (experimental)
6510         * PictureBox.cs: Moved base.OnPaint() call to end of method
6511         * Theme.cs: Fixed ToolTip abstracts to match new format
6512         * ErrorProvider.cs: Implemented
6514 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
6516         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6517         * LinkLabel.cs:
6518                 - Adds cursors
6519                 - Handles focus
6520                 - Implements LinkBehavior
6521                 - Fixes many issues
6523 2005-05-03  Jackson Harper  <jackson@ximian.com>
6525         * ListView.cs: Calculate the scrollbar positioning on resize and
6526         paint, so they get put in the correct place.
6528 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6530         * ColorDialogs.cs: The small color panels are now handled by
6531           SmallColorControl. This fixes drawing of the focus rectangle
6532           and adds a 3D border.
6534 2005-05-03  Peter Bartok  <pbartok@novell.com>
6536         * Control.cs: Modified version of Jonathan Chamber's fix for
6537           double-buffering
6539 2005-05-03  Jackson Harper  <jackson@ximian.com>
6541         * ListView.cs: Remove redraw variable. Control now handles whether
6542         or not a redraw needs to be done, and will only raise the paint
6543         event if redrawing is needed.
6545 2005-05-03  Jackson Harper  <jackson@ximian.com>
6547         * Splitter.cs: No decorations for the splitter form. Cache the
6548         hatch brush.
6550 2005-05-03  Jackson Harper  <jackson@ximian.com>
6552         * TreeView.cs: Use dashed lines to connect nodes. Use the
6553         ControlPaint method for drawing the focus rect instead of doing
6554         that in treeview.
6556 2005-05-02  Peter Bartok  <pbartok@novell.com>
6558         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6560 2005-04-29  Jackson Harper  <jackson@ximian.com>
6562         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6563         entire image buffer. Just clear the clipping rectangle.
6565 2005-04-29  Jackson Harper  <jackson@ximian.com>
6567         * ThemeWin32Classic.cs: Don't draw list view items that are
6568         outside the clipping rectangle.
6570 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
6572         * ListBox.cs: added horizontal item scroll
6574 2005-04-29  Jackson Harper  <jackson@ximian.com>
6576         * ThemeWin32Classic.cs: Remove some old debug code that was
6577         causing flicker with the new double buffering code.
6579 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
6581         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6582         behave like combobox and comboboxlist (still not sure if this is
6583         correct though).
6585 2005-04-28  Jackson Harper  <jackson@ximian.com>
6587         * ThemeWin32Classic.cs: Don't fill the middle of progress
6588         bars. This fills areas outside of the clip bounds that don't need
6589         to be filled.
6591 2005-04-28  Jackson Harper  <jackson@ximian.com>
6593         * Control.cs: Don't expose functionality to touch the image buffers.
6594         * ProgressBar.cs:
6595         * ListView.cs: We do not need to (and no longer can) manipulate
6596         the image buffers directly. All of this is handled by Control.
6598 2005-04-28  Peter Bartok  <pbartok@novell.com>
6600         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6601           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6602           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6604 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6606         * Combobox:
6607                 - Adjust control's height for non-simple comboboxes (bug fix)
6608                 - Remove dead code
6609         * MenuAPI.cs: remove unused var
6610         * ScrollBar.cs: remove unsed var
6611                  
6612         * ListBox.cs: unselect items when clearing
6614 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6616         * ListControl.cs: honors OnPositionChanged and default Selected Item
6617         * ListBox.cs: unselect items when clearing
6619 2005-04-27  Jackson Harper  <jackson@ximian.com>
6621         * X11Keyboard.cs: Initialize a default keyboard and give a warning
6622         if a "correct" keyboard is not found. This will make us not crash,
6623         but might give some users bad keyboard layouts...seems to be the
6624         same thing rewind does.
6626 2005-04-27  Jackson Harper  <jackson@ximian.com>
6628         * BindingManagerBase.cs: Attach the current/position changed
6629         handlers to their respective events.
6631 2005-04-27  Jackson Harper  <jackson@ximian.com>
6633         * Control.cs: Make sure that the first WM_PAINT does a full draw,
6634         not just a blit.
6635         * ThemeWin32Classic.cs: Don't fill the background for picture
6636         boxes. This could overright user drawing.
6637         * ComboBox.cs: Just fill the clipping rect not the entire client
6638         rect when drawing the background. This prevents pieces of the
6639         image buffer from getting overwritten and is theoretically faster.
6641 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
6643         * ComboBox.cs: Databinding support fixes, fire missing events
6644         * ListControl.cs: implement missing methods and properties, fixes
6645         * ThemeWin32Classic.cs: Databiding support on Drawing
6646         * CheckedListBox.cs: Databinding support fixes, fire missing events
6647         * ListBox.cs: Databinding support fixes, fire missing events
6648         
6649 2005-04-25  Peter Bartok  <pbartok@novell.com>
6651         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6653 2005-04-25  Jackson Harper  <jackson@ximian.com>
6655         * TreeView.cs: Use the horizontal scrollbars height not width when
6656         determining how much of the client area is available.
6658 2005-04-25  Jackson Harper  <jackson@ximian.com>
6660         * Control.cs: Double buffering is handled differently now. As per
6661         the spec, the extra buffer is created in the WM_PAINT message and
6662         passed down to the control's drawing code.
6663         * GroupBox.cs:
6664         * Label.cs:
6665         * CheckBox.cs:
6666         * ProgressBar.cs:
6667         * RadioButton.cs:
6668         * ColorDialog.cs:
6669         * ComboBox.cs:
6670         * PropertyGridView.cs:
6671         * UpDownBase.cs:
6672         * MessageBox.cs:
6673         * MenuAPI.cs:
6674         * ListView.cs:
6675         * ButtonBase.cs:
6676         * SizeGrip.cs:
6677         * ScrollBar.cs:
6678         * ListBox.cs:
6679         * TrackBar.cs:
6680         * ToolBar.cs:
6681         * PictureBox.cs:
6682         * DateTimePicker.cs:
6683         * StatusBar.cs:
6684         * TreeView.cs: Update to new double buffering system.
6685         * MonthCalendar.cs: Uncomment block, as Capture is now
6686         working. Update to new double buffering
6687         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6688         * PaintEventArgs.cs: New internal method allows us to set the
6689         graphics object. This is used for double buffering.
6690         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6691         rectangle. The internal paint_area var has been removed from
6692         StatusBar. The clipping rect should be used instead.
6693         * Theme.cs: Give the PictureBox drawing method a clipping rect.
6694         * TabPage.cs: The RefreshTabs method was removed, so just call the
6695         tab controls Refresh method now.
6696         * TabControl.cs: Update to new double buffering. Make sure the
6697         handle is created before sizing the tab pages, otherwise we will
6698         get stuck in a loop.
6700 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
6702         * LinkLabel.cs: Fix typo, bug #74719; patch
6703           from Borja Sanchez Zamorano
6705 2005-04-22  Jackson Harper  <jackson@ximian.com>
6707         * TreeNode.cs: Implement Handle stuff.
6708         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6710 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
6712         * DataGridTextBoxColumn.cs: call base constructors, fixes
6713         * GridColumnStylesCollection.cs: missing events, methods, and functionality
6714         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6715         * DataGridTableStyle.cs: implements create default column styles
6716         * DataGridBoolColumn.cs: which types can handle
6717         * DataGrid.cs: missing methods, fixes, new functionality
6718         * DataGridColumnStyle.cs: fixes
6720 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
6721         * FolderBrowserDialog.cs:
6722         - Use a thread to fill the TreeView
6723         - Adjusted some sizes
6725 2005-04-19  Peter Bartok  <pbartok@novell.com>
6727         * LinkLabel.cs: (Re-)create the pieces when setting the Text
6728           property. Fixes #74360.
6730 2005-04-19  Jackson Harper  <jackson@ximian.com>
6732         * XEventQueue.cs: Lock when getting the lockqueue size.
6733         * PictureBox.cs: Call base OnPaint
6734         
6735 2005-04-19  Peter Bartok  <pbartok@novell.com>
6737         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6738           messages were no longer being processed (this broke BeginInvoke)
6740           
6741 2005-04-18  Jackson Harper  <jackson@ximian.com>
6743         * TreeView.cs: buglet that caused node images to get drawn
6744         regardless of whether or not they were in the clipping rectangle.
6746 2005-04-18  Jackson Harper  <jackson@ximian.com>
6748         * CurrencyManager.cs: There are four rules for GetItemProperties:
6749         - If the type is an array use the element type of the array
6750         - If the type is a typed list, use the type
6751         - If the list contains an Item property that is not an object, use
6752         that property
6753         - use the first element of the list if there are any elements in
6754         the list.
6755         
6756 2005-04-17  Jackson Harper  <jackson@ximian.oom>
6758         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6759         click. This handles offsets for scrolling properly and reduces
6760         memory. Also fixed GetNode to not offset now that TopNode works
6761         properly.
6762         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6763         
6764 2005-04-17  Jackson Harper  <jackson@ximian.com>
6766         * CursorConverter.cs: Initial implementation.
6768 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6770         * ListControl.cs: work towards complex data binding support on ListControl
6771         * CurrencyManager.cs: work towards complex data binding support on ListControl
6772         * ListBox.cs: work towards complex data binding support on ListControl
6775 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6777         * GridTableStylesCollection.cs: fixes name and constructor
6778         * DataGridTableStyle.cs: fixes
6779         * DataGridBoolColumn.cs: fixes names and constructors
6780         * DataGrid.cs: define methods and properties. Some init implementations
6781         * DataGridCell.cs: define methods and properties. Some init implementations
6782         * GridTablesFactory.cs: Define methods and properties
6784 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
6786         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
6787         graphics port changes.  We still want the coordinates in global screen
6788         coordinates.
6790 2005-04-14  Jackson Harper  <jackson@ximian.com>
6792         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6793         check plus minus or checkbox clicks unless those features are enabled.
6795 2005-04-14  Jackson Harper  <jackson@ximian.com>
6797         * TreeView.cs: Add methods for setting the top and bottom visible
6798         nodes. TreeNode::EnsureVisible uses these methods.
6799         * TreeNode.cs: Implement EnsureVisible
6801 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
6803         * Form.cs: Pospone menu assignation if the window has not been created yet
6804         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6805         size and position
6807 2005-04-12  Jackson Harper  <jackson@ximian.com>
6809         * TreeView.cs: Set the TopNode properly when scrolling
6810         occurs. This has the added benifit of reducing the amount of
6811         walking that needs to be done when drawing. Also removed an old
6812         misleading TODO.
6813         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6814         
6815 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
6817         * Timer.cs: fixes interval setting when the timer is already enabled
6818         
6819 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
6821         * FolderBrowserDialog.cs: First approach
6823 2005-04-09  Peter Bartok  <pbartok@novell.com>
6825         * FolderBrowserDialog: Added
6827 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
6829         * LinkLabel.cs: move drawing code into the theme
6830         * ThemeWin32Classic.cs: drawing code and painting background bugfix
6831         * Theme.cs: define DrawLinkLabel method
6833 2005-04-05  Jackson Harper  <jackson@ximian.com>
6835         * BindingContext.cs: Use weak references so these bad actors don't
6836         stay alive longer then they need to.
6838 2005-04-05  Jackson Harper  <jackson@ximian.com>
6840         * ListControl.cs: Basic implementation of complex databinding.
6841         * ComboBox.cs:
6842         * ListBox.cs: Add calls to ListControl databinding methods.
6844 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
6846         * FileDialog.cs:
6847           - Don't change PopupButtonState to Normal when the
6848             PopupButton gets pressed several times.
6849           - Renamed ButtonPanel to PopupButtonPanel
6851 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
6853         * ColorDialog.cs: Use cached objects instead of creating them
6854         * LinkLabel.cs: Use cached objects instead of creating them
6855         * Splitter.cs: Use cached objects instead of creating them
6856         * FontDialog.cs: Use cached objects instead of creating them
6857         * PropertyGridView.cs: Use cached objects instead of creating them
6858         * MessageBox.cs: Use cached objects instead of creating them
6859         * FileDialog.cs: Use cached objects instead of creating them
6860         * ThemeWin32Classic.cs: Use cached objects instead of creating them
6861         * TreeView.cs: Use cached objects instead of creating them
6862         
6863 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
6865         * Control.cs: use Equals to compare the font since no == op
6866         * ScrollBar.cs: use Equals to compare the font since no == op
6868 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
6870         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6872 2005-04-01  Jackson Harper  <jackson@ximian.com>
6874         * Binding.cs: Implement IsBinding.
6875         * BindingManagerBase.cs:
6876         * PropertyManager.cs:
6877         * CurrencyManager.cs: Add IsSuspended property.
6879 2005-04-01  Jackson Harper  <jackson@ximian.com>
6881         * Binding.cs: Had some IsAssignableFrom calls backwards.
6883 2005-04-01  Jackson Harper  <jackson@ximian.com>
6885         * Binding.cs: Handle null data members when pulling data.
6886         * PropertyManager.cs: Handle the data member being a property that
6887         does not exist.
6889 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6891         * DataGridTextBoxColumn.cs: fixes signature
6892         * DataGrid.cs: calls right constructor
6894 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6896         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6897         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6898         * GridTableStylesCollection.cs: implements GridTableStylesCollection
6899         * DataGridTableStyle.cs: implements DataGridTableStyle
6900         * DataGridBoolColumn.cs: implements DataGridBoolColumn
6901         * DataGridTextBox.cs: implements DataGridTextBox
6902         * DataGridColumnStyle.cs: implements DataGridColumnStyle
6904 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
6906         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6908 2005-03-29  Peter Bartok  <pbartok@novell.com>
6910         * Application.cs:
6911           - Properly implemented CompanyName property
6912           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6913             returns a path that includes CompanyName, ProductName and
6914             Version (fixes bug #70330)
6916 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
6918         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6919           fixes bug #72588.
6921 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6923         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6924         
6925           - Added ReadOnly CheckBox
6926           - Further refactoring: moved some code from Open-/SaveFileDialog
6927             to FileDialog
6929 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6931         * OpenFileDialog.cs: Fixed CheckFileExists
6932         * FileDialog.cs:
6933           Moved FileView and DirComboBox outside FileDialog class.
6934           They can now be used outside FileDialog
6936 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6938         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6939         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6941 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6943         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6944           - Added missing CreatePrompt property in SaveDialog
6945           - Overall SaveDialog handling should be better now
6946           - Added non standard ShowHiddenFiles property
6947           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6948           - Added InitialDirectory and RestoreDirectory support
6950 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
6952         * FileDialog.cs: Made dirComboBox usable
6954 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
6956         * FileDialog.cs: Added Filter support (case sensitiv)
6958 2005-03-24  Jackson Harper  <jackson@ximian.com>
6960         * TabControl.cs: Need a couple more pixels for the lines.
6962 2005-03-23  Jackson Harper  <jackson@ximian.com>
6964         * TabControl.cs: Give the tab page focus when it is selected.
6966 2005-03-23  Jackson Harper  <jackson@ximian.com>
6968         * TabControl.cs: Account for the drawing of tabs borders when
6969         invalidating. If the slider was clicked dont do click detection on
6970         the tabs.
6972 2005-03-23  Jackson Harper  <jackson@ximian.com>
6974         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6976 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
6978         * CategoryGridEntry.cs: Added
6979         * GridItem.cs: Added helper properties
6980         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6981         * GridEntry.cs: Updated code for collection
6982         * PropertyGrid.cs: Cleaned up some formatting
6983         * PropertyGridView.cs: Added drop down functionality for enums.
6984         * GridItemCollection.cs: Added enumerator logic
6985         * PropertyGridEntry.cs: Added
6987 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6989         * FileDialog.cs:
6990           - Removed unnecessary commented code
6991           - Fixed handling for entering the filename manually in the combobox
6993 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6995         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6997 2005-03-18  Peter Bartok  <pbartok@novell.com>
6999         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7000           them being touching the border
7002 2005-03-18  Peter Bartok  <pbartok@novell.com>
7004         * TextControl.cs: Quick hack to center text better
7006 2005-03-18  Peter Bartok  <pbartok@novell.com>
7008         * ControlPaint.cs:
7009           - Don't throw NotImplemented exceptions, just print a notice once
7010             instead (requested by Miguel). This makes running existing SWF
7011             apps a bit easier
7012         * Control.cs:
7013           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7014           - Added context menu trigger on right click
7015         * Panel.cs: Trigger invalidate on resize
7016         * StatusBar.cs:
7017           - Removed old double-buffer drawing
7018           - Added ResizeRedraw style to force proper update of statusbar
7019         * ListView.cs:
7020           - Removed debug output
7021         * ThemeWin32Classic.cs:
7022           - Fixed drawing of status bar, now draws Text property if there
7023             are no defined panels
7025 2005-03-18  Jackson Harper  <jackson@ximian.com>
7027         * ImageList.cs: When the image stream is set pull all the images
7028         from it.
7029         * ImageListStreamer.cs: Implement reading image list streams.
7031 2005-03-18  Peter Bartok  <pbartok@novell.com>
7033         * ThemeWin32Classic.cs (DrawPictureBox):
7034           - Fixed calculations for centered drawing
7035           - Fixed drawing for normal mode, not scaling the image on normal
7037 2005-03-18  Peter Bartok  <pbartok@novell.com>
7039         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7040           textbox
7041         * FileDialog.cs:
7042           - Made Open/Save button the accept button for FileDialog
7043           - Tied the cancel button to the IButtonControl cancel button
7044           - Save/Open now properly builds the pathname
7045           - Now handles user-entered text
7046           - Preventing crash on right-click if no item is selected
7047           - Fixed Text property, now uses contents of textbox
7048           - Fixed SelectedText property, now just returns the text part that
7049             is selected in the text box
7051 2005-03-18  Jackson Harper  <jackson@ximian.com>
7053         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7054         rect, make sure to de-adjust the interior rect after drawing the
7055         tab text.
7057 2005-03-18  Peter Bartok  <pbartok@novell.com>
7059         * MenuAPI.cs: Remove menu *before* executing selected action to
7060           prevent the menu from 'hanging around'
7061           
7062 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
7064         * XplatUIOSX.cs: Implemented WorkingArea property
7066 2005-03-17  Peter Bartok  <pbartok@novell.com>
7068         * XplatUIX11.cs: Fixed menu coord calculations
7069         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7070           for calculating offsets
7072 2005-03-17  Peter Bartok  <pbartok@novell.com>
7074         * Hwnd.cs: Do not consider menu presence for default client
7075           rectangle location/size
7076         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7077           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7078           translation functions
7079         * FileDialog.cs: Fixed (what I presume is a) typo
7081 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
7083         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7084           X access (avoids X-Async errors)
7086 2005-03-16  Jackson Harper  <jackson@ximian.com>
7088         * TabControl.cs: Raise the SelectedIndexChanged event.
7090 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
7092         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7093           - Removed vertical ToolBar and replaced it with a custom panel
7094             (desktop and home button already work)
7095           - Added Help button (some controls get resized or relocated then)
7096           - Draw correct text depending on Open or Save.
7097           - Fixed some typos...
7099 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
7101         * ScrollBar.cs:
7102           - Only change Maximum and Minimum when need it (bug fix)
7104 2005-03-15  Peter Bartok  <pbartok@novell.com>
7106         * Form.cs: Use Handle for icon, to trigger creation if
7107           the window does not yet exist
7108         * Control.cs:
7109           - CanSelect: Slight performance improvement
7110           - Focus(): Preventing possible recursion
7111           - Invalidate(): Removed ControlStyle based clear flag setting
7112           - WM_PAINT: fixed logic for calling OnPaintBackground
7113           - WM_ERASEBKGND: Fixed logic, added call to new driver method
7114             EraseWindowBackground if the control doesn't paint background
7115         * XplatUIWin32.cs:
7116           - Moved EraseWindowBackground() method to internal methods
7117           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7118             is sent via SendMessage on BeginPaint call on Win32
7119         * XplatUIX11.cs:
7120           - Added EraseWindowBackground() method
7121           - No longer sends WM_ERASEBKGND on .Expose, but on call to
7122             PaintEventStart, which more closely matches Win32 behaviour
7123           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7124           - Fixed SetFocus() to properly deal with client and whole windows
7125         * Hwnd.cs: Added ErasePending property
7126         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7127         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7129 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
7131         * XplatUIOSX.cs:
7132           - Fix hard loop when timers exist.
7133           - Fix bugs with middle and right click for 3 button mice.
7135 2005-03-11  Peter Bartok  <pbartok@novell.com>
7137         * XplatUIX11.cs:
7138           - get_WorkingArea: Need to call X directly, GetWindowPos only
7139             returns cached data now
7140           - Added sanity check to GetWindowPos hwnd usage
7142 2005-03-11  Jackson Harper  <jackson@ximian.com>
7144         * BindingManagerBase.cs: This method isn't used anymore as
7145         PullData now updates the data in the control.
7147 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7149         * Form.cs: fixes menu drawing on X11
7150         * MenuAPI.cs:  fixes menu drawing on X11
7152 2005-03-11  Peter Bartok  <pbartok@novell.com>
7154         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7155           from Jonathan Gilbert; should fix bug #73606
7156         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7157           in Screen coordinates. Thanks, Jordi.
7158         * Form.cs: Added missing attribute
7160 2005-03-11  Peter Bartok  <pbartok@novell.com>
7162         * Form.cs:
7163           - Rudimentary Mdi support
7164           - Removed outdated FormParent code
7165           - Implemented lots of missing properties and methods, still missing
7166             transparency support
7167           - Added missing attributes
7168           - Implemented support for MaximumBounds
7169           - Added firing of various events
7170         * XplatUI.cs: Added SetIcon() method
7171         * XplatUIDriver.cs: Added SetIcon() abstract
7172         * XplatUIOSX.cs: Stubbed out SetIcon() method
7173         * XplatUIX11.cs:
7174           - Implemented SetIcon() support
7175           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7176           - Switched to unix line endings
7177         * XplatUIWin32.cs:
7178           - Made POINT internal so for can access it as part of MINMAX
7179           - Implemented SetIcon() support
7180           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7181             native Mdi support again, might have to go managed)
7182         * Control.cs: Now fires the StyleChanged event
7183         * MdiClient.cs: Added; still mostly empty
7185 2005-03-10  Peter Bartok  <pbartok@novell.com>
7187         * SaveFileDialog.cs: Added emtpy file
7189 2005-03-08  Peter Bartok  <pbartok@novell.com>
7191         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7192           in turn triggers OnCreateContro) when creating a handle for the
7193           first time.
7194         * TextControl.cs: Fixed endless loop in certain cases when
7195           replacing the current selection
7197 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7199         * ScrollBar.cs:
7200           - Honors NewValue changes in Scroll events allowing apps to change it
7201           - Adds First and Last Scroll events
7202           - Fixes Thumb events
7204 2005-03-07  Peter Bartok  <pbartok@novell.com>
7206         * Hwnd.cs: Added DefaultClientRectangle property
7207         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7208           more detailed debug information
7209         * XplatUIX11.cs:
7210           - Fixed size-change feedback loop, where we would pull an old size
7211             off the queue and mistakenly change our window's size to an
7212             earlier value
7213           - Now compressing ConfigureNotify events, to reduce looping and
7214             redraw issues
7215         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7216           is called
7218 2005-03-07  Jackson Harper  <jackson@ximian.com>
7220         * Binding.cs: Push data pushes from data -> property. Check if the
7221         property is readonly when attempting to set it.
7223 2005-03-07  Jackson Harper  <jackson@ximian.com>
7225         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7226         instead of IsSubclassOf. Pulling data now sets the value on the
7227         control.
7228         * PropertyManager.cs:
7229         * CurrencyManager.cs: Just need to pull data when updating now,
7230         because PullData will set the value on the control.
7232 2005-03-04  Jackson Harper  <jackson@ximian.com>
7234         * Binding.cs: Implement data type parsing and converting on pulled
7235         data. TODO: Are there more ways the data can be converted?
7237 2005-03-04  Jackson Harper  <jackson@ximian.com>
7239         * Binding.cs: Support <Property>IsNull checks. Also bind to the
7240         controls Validating method so we can repull the data when the
7241         control loses focus.
7243 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
7245         * ColumnHeader.cs:
7246           - Fixes null string format
7247           
7248         * ListView.cs:
7249           - Adds enum type checks
7250           - Fixes redrawing and recalc need after changing some properties
7251           - Fixes on focus_item set after the event
7252           - Fixes adding columns after the control has been created
7253           
7254         * ThemeWin32Classic.cs:
7255           - Fixes CheckBox focus rectangle
7256           - Fixes ColumnHeader drawing
7259 2005-03-03  Jackson Harper  <jackson@ximian.com>
7261         * Binding.cs: Bind to <Property>Changed events so we can detect
7262         when properties are changed and update the data.
7264 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
7266         * ImageList.cs:
7267           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7268           - Fixes ImageList constructor with ImageList container
7269           - Fixes image scaling (wrong parameters at DrawImage)
7271 2005-02-02  Jackson Harper  <jackson@ximian.com>
7273         * Binding.cs: Make property searches case-insensitive. Eliminate
7274         some duplicated code.
7276 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
7278         * ComboBox.cs:
7279                 - Handle focus event
7280                 - Fix scrollbar events
7281                 - Discard highlighted item if remove it
7282                 - Fixes SelectedItem with strings
7284 2005-03-01  Peter Bartok  <pbartok@novell.com>
7286         * Control.cs:
7287           - Fixed Visible property, now follows (once again) parent chain
7288             to return false if any control in the chain is visible=false
7289           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7290           - Fixed several places where is_visible instead of Visible was used
7291           - Implemented FIXME related to focus selection when setting focused
7292             control to be invisible
7294         * XplatUIWin32.cs: Now using proper method to find out if window is
7295           visible. Thanks to Jordi for pointing it out
7297 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
7299         * ComboBox.cs: show/hide scrollbar instead of creating it
7301 2005-02-27  Jackson Harper  <jackson@ximian.com>
7303         * CurrencyManager.cs: Add PositionChanged stuff.
7305 2005-02-27  Peter Bartok  <pbartok@novell.com>
7307         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7308         * XplatUIOSX.cs: Added GetMenuOrigin() stub
7309         * XplatUIWin32.cs: Implemented GetMenuOrigin()
7310         * XplatUIX11.cs:
7311           - Implemented GetMenuDC()
7312           - Implemented GetMenuOrigin()
7313           - Implemented ReleaseMenuDC()
7314           - Implemented generation of WM_NCPAINT message
7315           - Implemented generation and handling of WM_NCCALCSIZE message
7316         * Form.cs: Added debug helper message for Jordi's menu work
7317         * Hwnd.cs:
7318           - Modified ClientRect property; added setter, fixed getter to handle
7319             setting of ClientRect
7320           - Added MenuOrigin property
7322 2005-02-26  Peter Bartok  <pbartok@novell.com>
7324         * XplatUIX11.cs:
7325           - Destroys the caret if a window that's being destroyed contains it
7326           - Ignores expose events coming from the X11 queue for windows that
7327             already are destroyed
7328           - Now uses the proper variable for handling DestroyNotify, before we
7329             marked the wrong window as destroyed
7330           - Improved/added some debug output
7332 2005-02-26  Peter Bartok  <pbartok@novell.com>
7334         * X11Keyboard.cs: Fixes to work on 64bit systems
7336 2005-02-26  Peter Bartok  <pbartok@novell.com>
7338         * Control.cs:
7339           - Now calling OnHandleDestroyed from DestroyHandle()
7340             instead of Dispose()
7341           - Removed bogus call to controls.Remove() from DestroyHandle()
7343 2005-02-26  Peter Bartok  <pbartok@novell.com>
7345         * Control.cs: Properly destroy child windows when our handle is
7346           destroyed
7348 2005-02-25  Peter Bartok  <pbartok@novell.com>
7350         * XplatUI.cs:
7351           - Added 'DriverDebug' define to allow tracing XplatUI API calls
7352           - Alphabetized Static Methods and Subclasses
7354         * XplatUIX11.cs:
7355           - Added XException class to allow custom handling of X11 exceptions
7356           - Created custom X11 error handler, tied into XException class
7357           - Added support for MONO_XEXCEPTIONS env var to allow the user
7358             to either throw an exception on X errors or continue running
7359             after displaying the error
7360           - Added handling of DestroyNotify message
7361           - Added handler for CreateNotify message (still disabled)
7362           - Improved (tried to at least) Where method to provide file and lineno
7363         * X11Structs.cs:
7364           - Added XErrorHandler delegate
7365           - Added XRequest enumeration (to suppor translation of errors)
7367 2005-02-25  Jackson Harper  <jackson@ximian.com>
7369         * PropertyManager.cs: Implement editing features
7370         * CurrencyManager.cs:
7371         * Binding.cs: First attempt at UpdateIsBinding
7372         * BindingManagerBase.cs: Call UpdateIsBinding before
7373         pushing/pulling data.
7375 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
7377         * MenuAPI.cs: Respect disabled items
7378         * ThemeWin32Classic.cs
7379                 - Caches ImageAttributes creation for DrawImageDisabled
7380                 - Fixes vertical menu line drawing
7381                 - Draws disabled arrows in disable menu items
7383 2005-02-24  Peter Bartok  <pbartok@novell.com>
7385         * Hwnd.cs:
7386           - Added UserData property to allow associating arbitrary objects
7387             with the handle
7388           - Fixed leak; now removing Hwnd references from static windows array
7389         * XplatUIWin32.cs:
7390           - Fixed Graphics leak in PaintEventEnd
7391           - Removed usage of HandleData, switched over to Hwnd class
7392         * HandleData.cs: Removed, obsoleted by Hwnd.cs
7394 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7396         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7397         * ScrollBar.cs: Fixes bug
7398         * TrackBar.cs: removes death code, clipping, mimize refreshes,
7399          keyboard navigation enhancements
7401 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7403         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7404         * GroupBox.cs: Add control styles
7405         * Label.cs: Add control styles
7406         * UpDownBase.cs: Add control styles
7407         * ListBox.cs: Add control styles
7408         * XplatUIWin32.cs: Fixes wrong parameter order
7411 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
7413         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7415 2005-02-23  Jackson Harper  <jackson@ximian.com>
7417         * PropertyManager.cs: Implement property binding. This doesn't
7418         seem to work yet though as (I think) there are some bugs in
7419         System.ComponentModel.PropertyDescriptor.
7420         * BindingContext.cs: Use new PropertyManager constructor.
7422 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
7424         * ProgressBar.cs: use clip region in ProgressBar
7425         * ThemeWin32Classic.cs: use clip region in ProgressBar
7427 2004-02-22  Jackson Harper  <jackson@ximian.com>
7429         * BindingsCollection.cs: Remove some debug code.
7431 2005-02-22  Jackson Harper  <jackson@ximian.com>
7433         * BindingContext.cs:
7434         * ControlBindingsCollection.cs:
7435         * CurrencyManager.cs:
7436         * Binding.cs:
7437         * BindingManagerBase.cs: Initial implementation
7438         * BindingsCollection.cs: Add an internal contains method that the
7439         BindingManagerBase uses to ensure bindings aren't added twice to
7440         the collection.
7441         * PropertyManager.cs: Stubbed out.
7442         * Control.cs:
7443         * ContainerControl.cs: Hook up databinding
7444         
7445 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7447         * XplatUIOSX.cs:
7448           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7449           Fixed Invalidate/Update chain.
7450           Fixed tons of other minor bugs (this is almost a complete rewrite).
7452 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7454         * ComboBox.cs: do subcontrol creation when the control is created
7456 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7458         * Label.cs: fixes image drawing (image and imagelist)
7459         * ThemeWin32Classic.cs: cache brushes
7460         
7461 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7463         * Form.cs: Move menu drawing code to Theme class
7464         * ComboBox.cs: Move ComboBox drawing code to Theme class
7465         * MenuItem.cs: Move menu drawing code to Theme class
7466         * MenuAPI.cs: Move menu drawing code to Theme class
7467         * ThemeWin32Classic.cs: New methods
7468         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7469         * ListBox.cs: Move Listbox drawing code to Theme class
7470         * Theme.cs: New methods
7472 2005-02-20  Peter Bartok  <pbartok@novell.com>
7474         * Control.cs:
7475           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7476             only process mnemonics on those)
7477           - Fixed event sequence for key handling; first calling
7478             ProcessKeyEventArgs now
7479         * TextBoxBase.cs:
7480           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7481             for processing non-character keys
7482           - Fixed WM_CHAR to generate proper event sequence before processing
7483         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7484           generation
7486 2005-02-19  Peter Bartok  <pbartok@novell.com>
7488         * UserControl.cs: Added TextChanged event; added attributes
7489         * SizeGrip.cs: Implemented resizing and optional display of grip
7490         * Form.cs: Fixed attribute
7491         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7492           Changed meaning of ScrollWindow bool argument; instead of the
7493           clear attribute (which will be true usually anyway), it gives the
7494           option of moving child controls as well.
7495         * XplatUIX11.cs:
7496           - Changed to match new ScrollWindow argument
7497           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7498             now handles the implicit parent window a WM puts around us
7499         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7500           to work)
7501         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7502         * TreeView.cs: Adjusted to new ScrollWindow arguments
7504 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7506         * Form.cs: Menu integration with non-client area
7507         * MenuItem.cs: Menu integration with non-client area
7508         * MenuAPI.cs: Menu integration with non-client area
7510 2005-02-18  Peter Bartok  <pbartok@novell.com>
7512         * MethodInvoker.cs: Added
7513         * MdiLayout.cs: Added
7514         * SendKeys.cs: Started implementation
7515         * ErrorIconAlignment.cs: Added
7517 2005-02-18  Peter Bartok  <pbartok@novell.com>
7519         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7520         * Form.cs: Added handling for Menu-related Non-client messages
7522 2005-02-17  Peter Bartok  <pbartok@novell.com>
7524         * UpDownBase.cs: Fixed typo, compilation errors
7525         * DomainUpDown.cs: Fixed attribute value
7527 2005-02-16  Miguel de Icaza  <miguel@novell.com>
7529         * UpDownBase.cs: Attach entry events.
7530         Propagate events.
7531         Add ForeColor property, Focused, InterceptArrowKeys (interception
7532         does not work yet).
7534 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
7536         * Form.cs:
7537                 - Redraw non client are on Setmenu
7538                 - Calc proper menu starting point
7540 2005-02-17  Peter Bartok  <pbartok@novell.com>
7542         * Application.cs: Fixed message_filter check
7544 2005-02-17  Peter Bartok  <pbartok@novell.com>
7546         * Application.cs: Now calls registered message filters
7547         * DockStyle.cs: Fixed attribute
7548         * Form.cs: Fixed attribute
7549         * Menu.cs: Fixed attribute
7550         * ToolTip.cs: Fixed attribute
7551         * TreeNode.cs: Added missing attributes and arranged in regions
7552         * PropertyGrid.cs: Fixed signatures
7553         * TreeNodeCollection.cs: Added attributes
7554         * Splitter.cs: Added missing attributes; arranged into regions
7555         * TabPage.cs: Added missing attributes; arranged into regions
7556         * TextBoxBase.cs: Added missing attributes
7557         * TextBox.cs: Added missing attributes
7558         * ArrangeDirection.cs: Added missing attributes
7559         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7560         * ToolBarButton.cs: Fixed attributes
7561         * AnchorStyles.cs: Fixed attribute
7562         * TrackBar.cs: Fixed attributes
7563         * TabControl.cs: Added missing attributes and arranged into regions
7564         * ToolBar.cs: Fixed attribute
7565         * StatusBar.cs: Fixed signature, organized into regions and added
7566           attributes
7567         * StatusBarPanel.cs: Fixed attributes
7568         * ContentsResizedEventArgs.cs: Implemented
7569         * ContentsResizedEventHandler.cs: Implemented
7570         * DateBoldEventArgs.cs: Implemented
7571         * DateBoldEventHandler.cs: Implemented
7572         * UpDownEventArgs.cs: Implemented
7573         * UpDownEventHandler.cs: Implemented
7574         
7575 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
7577         * Form.cs: first Menu NC refactoring
7578         * MenuAPI.cs: first Menu NC refactoring
7579         
7580 2005-02-16  Peter Bartok  <pbartok@novell.com>
7582         * ImeMode.cs: Added missing attributes
7583         * Menu.cs: Fixed attribute
7584         * GroupBox.cs: Fixed attribute
7585         * Label.cs: Fixed attribute
7586         * ColorDialog.cs (RunDialog): Removed TODO attribute
7587         * ComboBox.cs: Fixed attributes
7588         * ListControl.cs: Added missing attributes
7589         * PropertyGrid.cs: Fixed attributes
7590         * Control.cs: Fixed attributes
7591         * ListViewItem.cs: Added TypeConverter attribute
7592         * NotifyIcon.cs: Fixed attributes
7593         * ListView.cs: Fixed attributes
7594         * ButtonBase.cs: Fixed attribute
7595         * ImageList.cs: Added missing attributes
7596         * ContainerControl.cs: Fixed signature
7597         * CheckedListBox.cs: Fixed attribute; added missing attributes
7598         * Panel.cs: Fixed attributes
7599         * PropertyTabChangedEventArgs.cs: Added missing attribute
7600         * PropertyValueChangedEventArgs.cs: Added missing attribute
7601         * Binding.cs: Fixed attribute
7602         * ListViewItemConverter: Implemented ListViewSubItemConverter class
7603         * ListBox.cs: Fixed attribute; added missing attributes;
7604         * ScrollableControl.cs: Added missing attributes
7605         * PictureBox.cs: Added missing attributes; implemented missing property
7606         * DateTimePicker.cs: Added missing attributes
7607         * Theme.cs (ToolWindowCaptionHeight): Fixed type
7608         * MonthCalendar.cs: Fixed attributes
7609         * StatusBarPanel.cs: Added missing attributes
7610         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7612 2005-02-16  Peter Bartok  <pbartok@novell.com>
7614         * TextBoxBase.cs: The previous method to enforce height yet remember
7615           the requested high was less than ideal, this is an attempt to do
7616           it better.
7617         * Control.cs: Added comment about possible problem
7618         * Copyright: Updated format
7619         * GridItemType.cs: Fixed swapped values
7621 2005-02-15  Jackson Harper  <jackson@ximian.com>
7623         * BaseCollection.cs: Use property so we never access an
7624         uninitialized list. Also initialize the list in the property.
7626 2005-02-15  Peter Bartok  <pbartok@novell.com>
7628         * GroupBox.cs (ProcessMnemonic): Implemented
7629         * Label.cs (ProcessMnemonic): Implemented
7630         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7631           hotkeys
7633 2005-02-15  Peter Bartok  <pbartok@novell.com>
7635         * RadioButton.cs (ProcessMnemonic): Implemented
7636         * CheckBox.cs (ProcessMnemonic): Implemented
7637         * Control.cs:
7638           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7639             handling
7640           - Added internal method to allow calling ProcessMnemonic from other
7641             controls
7642         * ContainerControl.cs:
7643           - Started support for handling validation chain handling
7644           - Implemented ProcessMnemonic support
7645           - Added Select() call to Active, to make sure the active control
7646             receives focus
7647         * Form.cs: Setting toplevel flag for Forms (this was lost in the
7648           FormParent rewrite)
7649         * ThemeWin32Classic.cs:
7650           - DrawCheckBox(): Fixed stringformat to show hotkeys
7651           - DrawRadioButton(): Fixed stringformat to show hotkeys
7652         * CommonDialog.cs: Removed WndProc override, not needed
7654 2005-02-14  Peter Bartok  <pbartok@novell.com>
7656         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7657           missed those in the rewrite
7659 2005-02-14  Miguel de Icaza  <miguel@novell.com>
7661         * NumericUpDown.cs (Increment, ToString): Add.
7662         (DecimalPlaces): implement.
7663         
7664         Add attributes.
7665         
7666         * UpDownBase.cs: Add the designer attributes.
7668 2005-02-13  Peter Bartok  <pbartok@novell.com>
7670         * Panel.cs: Removed border_style, now in Control
7671         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7672           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7674 2005-02-13  Peter Bartok  <pbartok@novell.com>
7676         * MouseButtons.cs: Added missing attributes
7677         * XplatUIStructs.cs: Added enumeration for title styles
7678         * LeftRightAlignment.cs: Added missing attributes
7679         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7680           it compatible with Graphics.FromHwnd()
7681         * SelectedGridItemChangedEventArgs.cs: Fixed property type
7682         * Keys.cs: Added missing attributes
7683         * SelectionRange.cs: Added missing attributes
7684         * SelectionRangeConverter.cs: Added
7685         * XplatUI.cs:
7686           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7687             ReleaseMenuDC methods
7688           - Renamed ReleaseWindow to UngrabWindow
7689           - Added proper startup notice to allow version identification
7690         * Form.cs:
7691           - Added missing attributes
7692           - Removed FormParent concept
7693         * Label.cs: Removed border_style field, now in Control
7694         * RadioButton.cs: Now properly selects RadioButton when focus is
7695           received
7696         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7697         * Control.cs:
7698           - Added missing attributes
7699           - Added borderstyle handling
7700           - Removed FormParent concept support
7701           - Fixed calls to XplatUI to match changed APIs
7702           - Fixed bug that would case us to use disposed Graphics objects
7703           - Removed unneeded internal methods
7704           - PerformLayout(): Fixed to handle DockStyle.Fill properly
7705           - SelectNextControl(): Fixed to properly check common parents
7706         * TextBoxBase.cs: Removed border_style field (now in Control)
7707         * MessageBox.cs:
7708           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7709             fixed calculations for form size
7710           - Added support for localized strings and icons
7711           - Improved form size calculations, added border
7712         * ListView.cs: Removed border_style field (now in Control)
7713         * X11Structs.cs: Moved several structs from X11 driver here
7714         * X11Keyboard.cs: Changed debug message
7715         * Application.cs: Removed FormParent concept support
7716         * CommonDialog.cs:
7717           - Resetting end_modal flag
7718           - Removed FormParent concept support
7719         * NativeWindow.cs: Removed FormParent concept support
7720         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7721           Client area and Non-Client whole window to allow support for WM_NC
7722           messages
7723         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7724           prevent using it until it supports Hwnd as per Geoff Norton's request
7725         * ToolBar.cs: Fixed drawing, was not doing proper drawing
7726         * PictureBox.cs: Removed border_style field, now in Control
7727         * XplatUIWin32.cs: Added new driver methods
7729 2005-02-12  Peter Bartok  <pbartok@novell.com>
7731         * OpacityConverter.cs: Implemented
7732         * Hwnd.cs: Internal class to support drivers that need to emulate
7733           client area/non-client area window behaviour
7735 2005-02-11  Peter Bartok  <pbartok@novell.com>
7737         * KeysConverter.cs: Implemented
7739 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
7741         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7742         * LinkLabel: Added missing attributes
7743         * MainMenu.cs: fixes ToString
7744         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7745         * ListBox.cs: fixes event position
7746         * TrackBar.cs: adds missing attributes and events
7747         
7748 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
7750         * MenuItem.cs: Use SystemInformation and bug fixes
7751         * MenuAPI.cs: Use SystemInformation and bug fixes
7753 2005-02-09  Jackson Harper  <jackson@ximian.com>
7755         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7756         their keystate otherwise things like VK_MENU get stuck "on".
7758 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
7760         * ListBox.cs: Fixes AddRange bug
7761         
7762 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
7764         * ProgressBar.cs
7765                 - Add missing attributes
7766                 - Add missing method
7767                 
7768         * CheckedListBox.cs: Added missing attributes
7769                 - Add missing attributes
7770                 - Remove extra method
7771         
7772         * ComboBox.cs: Added missing attributes
7773         * VScrollBar.cs: Added missing attributes
7774         * ScrollBar.cs:  Added missing attributes
7775         * ListBox.cs: Fixes signature, add missing consts
7776         * LinkArea.cs:   Added missing attributes
7777         
7779 2005-02-08  Peter Bartok  <pbartok@novell.com>
7781         * Menu.cs: Added missing attributes
7782         * MainMenu.cs: Added missing attributes
7783         * GroupBox.cs: Added missing attributes
7784         * Label.cs: Added missing attributes
7785         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7786         * ColorDialog.cs:
7787           - Added Instance and Options properties
7788           - Added missing attributes
7789         * Cursor.cs: Made Serializable
7790         * NotifyIcon: Added missing attributes
7791         * MenuItem.cs: Added missing attributes
7792         * TextBoxBase.cs: Implemented AppendText() and Select() methods
7793         * Panel.cs: Added Missing attributes
7794         * MonthCalendar.cs: Fixed CreateParams
7796 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7797         
7798         * LinkLabel.cs:
7799                 - Fixes signature
7800                 - Fixes issues with links
7801                 - Adds the class attributes
7803 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7804         
7805         * ComboBox.cs:
7806                 - Fixes button when no items available in dropdown
7807                 - Fixes repainting problems
7808                 - Adds the class attributes
7809                 
7810 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7812         * XplatUIOSX.cs: Detect the menu bar and title bar height from
7813         the current theme.  Cache these on startup.
7815 2005-02-07  Jackson Harper  <jackson@ximian.com>
7817         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7818         the scrollbar buttons when they are depressed.
7820 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7822         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7823         Get the display size from the main displayid.  We currently dont
7824         support multiple display configurations.
7826 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7828         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7830 2005-02-07  Miguel de Icaza  <miguel@novell.com>
7832         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7834 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
7836         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7838 2005-02-04  Jackson Harper  <jackson@ximian.com>
7840         * ThemeWin32Classic.cs: Respect the clipping rect when
7841         drawing. Only fill the intersection of clips and rects so there
7842         isn't a lot of large fills.
7843         * ScrollBar.cs: Pass the correct clipping rect to the theme
7844         engine. Remove some debug code.
7846 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
7847         
7848         * DateTimePicker.cs:
7849                 - Fixed crash on DateTime.Parse, use Constructor instead
7851 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7852         
7853         * MenuItem.cs:
7854         * MenuAPI.cs:
7855                 - Owner draw support (MeasureItem and DrawItem)
7857 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7858         
7859         *  Menu.cs:
7860                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7861                 - Fixes MenuItems.Add range
7862         * MenuItem.cs:
7863                 - MergeMenu and Clone and CloneMenu functions
7865 2005-02-03  Jackson Harper  <jackson@ximian.com>
7867         * ScrollBar.cs: Make abstract
7868         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7869         is abstract.
7871 2005-02-03  Jackson Harper  <jackson@ximian.com>
7873         * ScrollBar.cs: First part of my scrollbar fixups. This removes
7874         all the unneeded refreshes and uses invalidates with properly
7875         computed rects.
7877 2005-02-03  Peter Bartok  <pbartok@novell.com>
7879         * ComponentModel.cs: Added
7880         * IDataGridEditingService.cs: Added
7881         * Timer.cs: Added missing attributes
7882         * ToolTip.cs: Added missing attributes
7884 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
7886         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7888 2005-02-03  Peter Bartok  <pbartok@novell.com>
7890         * ListBox.cs: Added missing attributes
7892 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
7893         
7894         * ListBox.cs:
7895                 - Fixes font height after font change
7896                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7897                 
7898 2005-02-02  Peter Bartok  <pbartok@novell.com>
7900         * HandleData.cs: Introduced static methods to allow class
7901           to be more self-contained and track it's own HandleData objects
7902         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7903           HandleData to use new static methods
7905 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
7907         * Combobox.cs:
7908                 - Fixes default size and PreferredHeight
7909                 - Missing events
7910                 - ObjectCollection.Insert implementation
7911                 
7912         * ListControl.cs
7913                 - Fixes signature
7914         * ListBox.cs:
7915                 - Several fixes
7916                 - ObjectCollection.Insert implementation
7917                 - No selection after clean
7918                 - Small fixes
7920 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7922         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7924 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
7926         * Combobox.cs:
7927                 - Caches ItemHeight calculation for OwnerDrawVariable
7928                 - Handles dropdown properly
7929                 - Fixes several minor bugs
7931 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7933         * ListBox.cs:
7934                 - Fixes 71946 and 71950
7935                 - Fixes changing Multicolumn on the fly
7936                 - Fixes keyboard navigation on Multicolumn listboxes
7938 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7939         
7940         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7941         crash reporter log.
7943 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7945         * XplatUIOSX.cs: Allow applications to actually exit.
7947 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7949         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
7950         their parent at creation time rather than lazily later.  Fixes a major
7951         regression we were experiencing.
7953 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7955         * ThemeWin32Classic.cs: more date time picker painting fixes
7956         * DateTimePicker.cs: more monthcalendar drop down fixes
7957         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7959 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7961         * ScrollBar.cs:
7962                 - When moving the thumb going outside the control should stop the moving
7963                 - Adds the firing of missing events
7964                 - Fixes no button show if Size is not specified
7965                 - End / Home keys for keyboard navigation
7967 2005-01-30  Peter Bartok  <pbartok@novell.com>
7969         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7970           sanity check to prevent theoretical loop
7971         * XplatUIWin32.cs (SetVisible): Removed debug output
7972         * XplatUIX11.cs (SystrayChange): Added sanity check
7973         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7974         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7975           behaviour, valid until the X11 client window rewrite is done
7976         * TextBox.cs (ctor): Setting proper default foreground and background
7977           colors
7979 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
7981         * Theme: Added DrawDateTimePicker to interface
7982         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7983         * DateTimePicker.cs: Created (still needs keys and painting code)
7984         * DateTimePickerFormat.cs: added
7985         * MonthCalendar.cs: fixed CreateParams for popup window mode
7986           
7987 2005-01-29  Peter Bartok  <pbartok@novell.com>
7989         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7990           this should also the calculations for ligher/darker
7991         * Theme.cs: Fixed defaults for ScrollBar widths/heights
7993 2005-01-29  Peter Bartok  <pbartok@novell.com>
7995         * ArrangeDirection.cs: Added
7996         * ArrangeStartingPositon.cs: Added
7997         * SystemInformation.cs: Implemented
7998         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7999           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8000           used by SystemInformation class
8001         * X11Strucs.cs: Added XSizeHints structure
8002         * MenuAPI.cs:
8003           - Fixed CreateParams to make sure the menu window is always visible
8004           - TrackPopupMenu: Added check to make sure we don't draw the
8005             menu offscreen
8007 2005-01-29  Peter Bartok  <pbartok@novell.com>
8009         * HandleData.cs: Added method for altering invalid area
8010         * TextBoxBase.cs: Implemented TextLength
8012 2005-01-28  Peter Bartok  <pbartok@novell.com>
8014         * XplatUIX11.cs: Improvement over last patch, not sending
8015           the WM_PAINT directly anymore, instead we scroll any pending
8016           exposed areas and let the system pick out the WM_PAINT later
8018 2005-01-28  Peter Bartok  <pbartok@novell.com>
8020         * SWF.csproj: Deleted, no longer used. Instead,
8021           Managed.Windows.Forms/SWF.csproj should be used
8022         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8023           directly, to avoid a potential race condition with the next
8024           scroll
8026 2005-01-28  Peter Bartok  <pbartok@novell.com>
8028         * XplatUI.cs: Made class internal
8030 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
8032         * CheckedListBox.cs:
8033                 - Draw focus
8034                 - Fixed Drawing
8035                 - Missing methods and events
8037 2005-01-27  Peter Bartok  <pbartok@novell.com>
8039         * Application.cs (Run): Don't use form if we don't have one
8041 2005-01-27  Peter Bartok  <pbartok@novell.com>
8043         * TextBoxBase.cs (get_Lines): Fixed index off by one error
8045 2005-01-27  Peter Bartok  <pbartok@novell.com>
8047         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8048         * GridItem.cs: Added; Patch by Jonathan S. Chambers
8049         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8050         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8051         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8052         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8053         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8054         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8055         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8056         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8057         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8058         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8060 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8062         * Combobox.cs:
8063                 - Draw focus on Simple Combobox
8064                 - Fixes drawing issues
8065                 - fixes 71834
8067 2005-01-27  Peter Bartok  <pbartok@novell.com>
8069         * Form.cs:
8070           - Place window in default location, instead of hardcoded 0/0
8071           - Send initial LocationChanged event
8072         * Control.cs:
8073           - UpdateBounds after creation to find out where the WM placed us
8074           - Make sure that if the ParentForm changes location the Form
8075             is notified
8076         * XplatUIX11.cs: XGetGeometry will not return the coords relative
8077             to the root, but to whatever the WM placed around us.
8078             Translate to root coordinates before returning toplevel
8079             coordinates
8080         * XplatUIWin32.cs: Removed debug output
8081         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8082           flag to GetWindowPos, to allow translation of coordinates on X11
8084 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8086         * ListBox.cs: connect LostFocus Event
8088 2005-01-27  Peter Bartok  <pbartok@novell.com>
8090         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8091           XplatUIX11.cs: Extended the Systray API
8092         * Form.cs: Removed debug output
8093         * Application.cs: Fixed focus assignment, always need to call
8094           XplatUI.Activate() since Form.Activate() has rules that may
8095           prevent activation
8096         * NotifyIcon.cs: Should be complete now
8097         * ToolTip.cs: Worked around possible timer bug
8099 2005-01-27  Jackson Harper  <jackson@ximian.com>
8101         * TabControl.cs:
8102         - Only invalidate the effected tabs when the
8103         selected index changes. This reduces drawing and gets rid of some
8104         flicker.
8105         - Only refresh if the tabs need to be shifted, otherwise only
8106         invalidate the slider button.
8107         - On windows the tabs are not filled to right if the slider is
8108         visible.
8109         
8110 2005-01-27  Jackson Harper  <jackson@ximian.com>
8112         * TabControl.cs: Only refresh on mouseup if we are showing the
8113         slider. Also only invalidate the button whose state has changed.
8115 2005-01-26  Peter Bartok  <pbartok@novell.com>
8117         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8118         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8119           and SystrayRemove() methods
8120         * XplatUIOSX.cs: Stubbed Systray methods
8121         * XplatUIX11.cs:
8122           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8123             methods
8124           - Fixed broken XChangeProperty calls (marshalling messed up things)
8125         * X11Structs.cs: Added enums and structs required for Size hinting
8126         * NotifyIcon.cs: Added & implemented
8128 2005-01-26  Jackson Harper  <jackson@ximian.com>
8130         * TabControl.cs: Space vertically layed out tabs properly.
8132 2005-01-26  Peter Bartok  <pbartok@novell.com>
8134         * Form.cs (CreateClientParams): Always set the location to 0,0
8135           since we're a child window.
8137         * Control.cs (SetVisibleCore): Always explicitly setting the location
8138           of a toplevel window, apparently X11 doesn't like to move windows
8139           while they're not mapped.
8141 2005-01-26  Jackson Harper  <jackson@ximian.com>
8143         * TabControl.cs: Implement FillToRight size mode with vertically
8144         rendered tabs.
8146 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8148         * ControlPaint.cs, ThemeWin32Classic.cs
8149                 - Fixes DrawFocusRectangle
8151 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8153         * MenuAPI.cs:
8154                 - MenuBar tracking only starts when item is first clicked
8155                 - Fixes menu hidding for multiple subitems
8156                 - Unselect item in MenuBar when item Executed
8157                 - Fixes bug 71495
8159 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8161         * ListControl.cs:
8162                 - IsInputKey for ListBox
8163         * ListBox.cs:
8164                 - Focus item
8165                 - Shift and Control item selection
8166                 - Implement SelectionMode.MultiExtended
8167                 - Fixes RightToLeft
8168         * ComboBox.cs:
8169                 - IsInputKey implemented
8170                 - Do not generate OnTextChangedEdit on internal txt changes
8171                 
8172 2005-01-23  Peter Bartok  <pbartok@novell.com>
8174         * AccessibleObject.cs: Partially implemented Select()
8175         * MonthCalendar.cs: Added missing attributes and events
8176         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8177           form can properly override CreateParams.
8178         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8179           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8180           Control performs Invalidate & Update
8181         * NativeWindow (CreateHandle): Added special handling for Form
8182           and Form.FormParent classes to allow overriding of From.CreateParams
8183         * Control.cs:
8184           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8185             name 'owner'
8186           - ControlNativeWindow: Added Owner property
8187           - Removed usage of Refresh() on property changes, changed into
8188             Invalidate(), we need to wait until the queue is processed for
8189             updates, direct calls might cause problems if not all vars for
8190             Paint are initialized
8191           - Added call to UpdateStyles() when creating the window, to set any
8192             styles that CreateWindow might have ignored.
8193           - Added support for Form CreateParent overrides to UpdateStyles()
8194         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8195           CreateParams are now properly overridable
8196         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8197           CreateParams are now properly overridable
8199 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8201         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8202         OnTextBoxChanged.
8204         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8205         recursive invocation that I have not figured out yet.
8207         Reset the timer when not using (it was accumulating).
8210         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8211         user has made changes that require validation.
8213         Reset changing to avoid loops.
8215 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8217         * NumericUpDown.cs: Display value at startup.
8219         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8220         ValidateEditText.
8222         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8223         filled in.  Added some basic parsing of text.
8225         Still missing the OnXXX method overrides, and figuring out the
8226         events that must be emitted.
8228         * UpDownBase.cs: Handle UserEdit on the Text property.
8229         
8230 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8232         * ComboBox.cs:
8233           - Fixes IntegralHeight
8234           - ToString method
8236 2005-01-21  Jackson Harper  <jackson@ximian.com>
8238         * TabControl.cs: Set the SelectedIndex property when SelectedTab
8239         is set so that the page visibility is updated and the tabs are
8240         sized correctly.
8242 2005-01-21  Jackson Harper  <jackson@ximian.com>
8244         * TabControl.cs: Use cliping rectangle for blitting. Give the
8245         theme the clipping rect so we can do clipping while
8246         drawing. Remove some debug code.
8248 2005-01-21  Jackson Harper  <jackson@ximian.com>
8250         * TabPage.cs: Add a new method so tab pages can force the tab
8251         control to recalculate the tab page sizes.
8252         * TabControl.cs: UpdateOwner needs to make the tab control recalc
8253         sizes.
8255 2005-01-20  Jackson Harper  <jackson@ximian.com>
8257         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8259 2005-01-20  Jackson Harper  <jackson@ximian.com>
8261         * TreeView.cs: Set the bounds for nodes properly. They were
8262         getting screwed up when checkboxes were not enabled, but images
8263         were.
8265 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
8267         * ListBox.cs:
8268                 - Owner draw support
8269                 - Fixes
8270                 
8271 2005-01-20  Jackson Harper  <jackson@ximian.com>
8273         * XplatUIStructs.cs: More misc keys
8274         * X11Keyboard.cs: Ignore some control keys.
8276 2005-01-20  Jackson Harper  <jackson@ximian.com>
8278         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8279         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8281 2005-01-19  Peter Bartok  <pbartok@novell.com>
8283         * Control.cs: Un-selecting the control when it is loosing focus
8285 2005-01-19  Jackson Harper  <jackson@ximian.com>
8287         * TreeView.cs: Hook up to the text controls leave event so we can
8288         end editing when the users clicks outside the text box.
8289         
8290 2005-01-19  Jackson Harper  <jackson@ximian.com>
8292         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8293         get set in the conversion array.
8295 2005-01-19  Peter Bartok  <pbartok@novell.com>
8297         * Application.cs (ModalRun): Added a call to CreateControl to ensure
8298           focus is properly set
8299         * Button.cs:
8300           - Added missing attributes
8301           - removed styles, those are already set in the base class
8302         * ButtonBase.cs:
8303           - Added missing attributes
8304           - Added clip window styles
8305         * CheckBox.cs: Added missing attributes
8306         * CommonDialog.cs:
8307           - FormParentWindow.CreateParams: Added required clip styles
8308         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8309           also filters modifier keys
8310         * MessageBox.cs:
8311           - Added assignment of Accept and Cancel button to enable Enter
8312             and Esc keys in MessageBox dialogs
8313           - FormParentWindow.CreateParams: Added required clip styles
8314         * RadioButton.cs: Added missing attributes
8315         * TextControl.cs: No longer draws selection if control does not
8316           have focus
8317         * TextBoxBase.cs:
8318           - Now draws simple rectangle around test area to make it obvious
8319             there's a control. This is a hack until we properly support borders
8320           - A few simple fixes to support selections better, now erases selected
8321             text when typing, and resets selection when using movement keys
8323 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
8325         * UpDownBase.cs: Added some new properties.
8327         * DomainUpDown.cs: Implement a lot to get my test working.
8329 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8331         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8333 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8335         * OSXStructs (WindowAttributes): Fixed csc complaints
8337 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8339         * XplayUIOSX.cs:
8340           OSXStructs.cs: Initial refactor to move enums and consts into
8341           OSXStructs and use them in the driver for greater readability.
8343 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8345         * XplatUIOSX.cs: Initial support for Standard Cursors.
8346         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8348 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
8350         * ComboBox.cs: ability to change style when the ctrl is already
8351         created, missing methods and events, bug fixes, signature fixes
8353 2005-01-19  Peter Bartok  <pbartok@novell.com>
8355         * Cursors.cs (ctor): Added ctor to fix signature
8357 2005-01-18  Peter Bartok  <pbartok@novell.com>
8359         * Button.cs: Implemented DoubleClick event
8360         * ButtonBase.cs:
8361           - Fixed keyboard handling to behave like MS, where the press of
8362             Spacebar is equivalent to a mousedown, and the key release is
8363             equivalent to mouseup. Now a spacebar push will give the same
8364             visual feedback like a mouse click.
8365           - Added missing attributes
8366           - Added ImeModeChanged event
8367           - Added support for generating DoubleClick event for derived classes
8368         * CheckBox.cs:
8369           - Implemented DoubleClick event
8370           - Added missing attributes
8371         * CommonDialog.cs: Added missing attribute
8372         * ContextMenu.cs: Added missing attributes
8373         * RadioButton.cs:
8374           - AutoChecked buttons do not allow to be unselected when clicked
8375             (otherwise we might end up with no selected buttons in a group)
8376           - Added missing attributes
8377           - Implemented DoubleClickEvent
8378         * ThreadExceptionDialog.cs: Enabled TextBox code
8380 2005-01-18  Peter Bartok  <pbartok@novell.com>
8382         * Form.cs: Removed debug output
8383         * Button.cs: Added support for DoubleClick method
8385 2005-01-18  Peter Bartok  <pbartok@novell.com>
8387         * Form.cs:
8388           - Added method to parent window that allows triggering size
8389             calculations when a menu is added/removed
8390           - set_Menu: Cleaned up mess from early days of Form and Control,
8391             now properly triggers a recalc when a menu is added/removed
8392           - Added case to select form itself as focused form if no child
8393             controls exist
8394           - Added PerformLayout call when showing dialog, to ensure properly
8395             placed controls
8396         * Control.cs:
8397           - Select(): Made internal so Form can access it
8398           - Focus(): Only call Xplat layer if required (avoids loop), and sets
8399             status
8400         * Application.cs (Run): Removed hack and calls PerformLayout instead
8401           to trigger calculation when Form becomes visible
8403 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
8405         * ComboBox.cs: fixes for ownerdraw
8407 2005-01-18  Peter Bartok  <pbartok@novell.com>
8409         * TextControl.cs:
8410           - Sentinel is no longer static, each Document gets it's own, this
8411             avoids locking or alternatively overwrite problems when more
8412             than one text control is used simultaneously.
8413           - Switched to use Hilight and HilightText brushes for text selection
8415         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8417 2005-01-18  Peter Bartok  <pbartok@novell.com>
8419         * Control.cs:
8420           - Hooked up the following events:
8421                 o ControlAdded
8422                 o ControlRemoved
8423                 o HandleDestroyed
8424                 o ImeModeChanged
8425                 o ParentChanged
8426                 o TabStopChanged
8427                 o Invalidated
8428                 o SystemColorsChanged
8429                 o ParentFontChanged
8430                 o Move
8431           - Removed debug output
8432           - Added a call to the current theme's ResetDefaults when a color change
8433             is detected
8434         * Form.cs: Now setting the proper ImeMode
8435         * Theme.cs: Defined a method to force recreation of cached resources
8436           and rereading of system defaults (ResetDefaults())
8437         * ThemeWin32Classic.cs: Added ResetDefaults() stub
8439 2005-01-17  Peter Bartok  <pbartok@novell.com>
8441         * Control.cs: Added missing attributes
8443 2005-01-17  Jackson Harper  <jackson@ximian.com>
8445         * TreeNode.cs: Implement editing. Add missing properties selected
8446         and visible.
8447         * TreeView.cs: Implement node editing. Also some fixes to use
8448         Invalidate (invalid area) instead of Refresh when selecting.
8450 2005-01-17  Peter Bartok  <pbartok@novell.com>
8452         * Control.cs:
8453           - Implemented InvokeGotFocus() method
8454           - Implemented InvokeLostFocus() method
8455           - Implemented InvokePaint() method
8456           - Implemented InvokePaintBackground() method
8457           - Implemented InvokeClick() method
8458           - Implemented FindForm() method
8459           - Implemented RectangleToClient() method
8460           - Implemented ClientToRectangle() method
8461           - Implemented ResetBackColor() method
8462           - Implemented ResetCursor() method
8463           - Implemented ResetFont() method
8464           - Implemented ResteForeColor() method
8465           - Implemented ResetImeMode() method
8466           - Implemented ResetLeftToRight() method
8467           - Implemented ResetText() method
8468           - Implemented Scale() methods
8469           - Implemented ScaleCore() method
8470           - Implemented Update() method
8471           - Removed unused variables
8472           - Stubbed AccessibilityNotifyClients and
8473             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8474             with those yet)
8475           - Now setting proper default for RightToLeft property
8476           - Fixed bug in SetClientSizeCore that would cause windows to get
8477             really big
8478           - Now sending Click/DoubleClick events
8479           - Now selecting controls when left mouse button is clicked on
8480             selectable control
8481         * AccessibleEvents.cs: Added
8482         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8483         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8484         * XplatUIWin32.cs: Implemented UpdateWindow() method
8485         * XplatUIX11.cs: Implemented UpdateWindow() method
8486         * Form.cs: Removed stray semicolon causing CS0162 warning
8487         * ThemeWin32Classic.cs: Fixed unused variable warnings
8488         * ScrollableControl.cs: Now calls base method for ScaleCore
8489         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8490           style to avoid interference with internal click handler (which is
8491           different than standard Control click handling)
8492         * RadioButton.cs:
8493           - Now unchecks all sibling radio buttons when control is
8494             selected (Fixes #68756)
8495           - Removed internal tabstop variable, using the one inherited from
8496             Control
8498 2005-01-17  Jackson Harper  <jackson@ximian.com>
8500         * NavigateEventArgs.cs: Fix base type.
8501         * LinkLabel.cs: Sig fix
8502         
8503 2005-01-17  Jackson Harper  <jackson@ximian.com>
8505         * TreeView.cs: Only invalidate the effected nodes bounds when
8506         selecting nodes.
8508 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8510         * XplatUIWin32.cs: fixes Win32 marshaling
8511         * XplatUIX11.cs: fixes method signature
8513 2005-01-17  Peter Bartok  <pbartok@novell.com>
8515         * XplatUIX11.cs: Clean up resources when we no longer need them
8517 2005-01-17  Peter Bartok  <pbartok@novell.com>
8519         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8520           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8521           and DestroyCursor() methods.
8522         * Cursor.cs: Partially implemented, now supports standard cursors;
8523           still contains some debug code
8524         * Cursors.cs: Implemented class
8525         * Control.cs:
8526           - WndProc(): Added handling of WM_SETCURSOR message, setting the
8527             appropriate cursor
8528           - Implemented Cursor property
8529           - Replaced break; with return; more straightforwar and possibly
8530             faster
8531           - Now properly setting the result for WM_HELP
8532         * X11Structs.cs: Added CursorFontShape enum
8533         * XplatUIStructs.cs:
8534           - Added StdCursor enum (to support DefineStdCursor() method)
8535           - Added HitTest enum (to support sending WM_SETCURSOR message)
8536         * XplatUIX11.cs:
8537           - Now sends the WM_SETCURSOR message
8538           - Implemented new cursor methods
8539         * XplatUIOSX.cs: Stubbed new cursor methods
8540         * XplatUIWin32.cs:
8541           - Implemented new cursor methods
8542           - Added GetSystemMetrics function and associated enumeration
8544 2005-01-15  Peter Bartok  <pbartok@novell.com>
8546         * Control.cs:
8547           - WndProc(): Now handles EnableNotifyMessage
8548           - SelectNextControl(): Fixed bug where if no child or sibling
8549             controls exist we looped endlessly
8551 2005-01-14  Jackson Harper  <jackson@ximian.com>
8553         * TreeView.cs: Recalculate the tab pages when a new one is added
8554         so that the proper bounding rects are created.
8556 2005-01-14  Jackson Harper  <jackson@ximian.com>
8558         * TreeView.cs: Draw a gray box instead of a grip in the lower
8559         right hand corner when there are both horizontal and vertical
8560         scroll bars.
8562 2005-01-14  Jackson Harper  <jackson@ximian.com>
8564         * Control.cs: When erasing backgrounds use FromHwnd instead of
8565         FromHdc when there is a NULL wparam. This occurs on the X driver.
8566         * XplatUIX11.cs: Set the wparam to NULL.
8568 2005-01-13  Jackson Harper  <jackson@ximian.com>
8570         * PictureBox.cs: Implement missing methods (except ToString, need
8571         to test that on windows) and events. When visibility is changed we
8572         need to redraw the image because the buffers are killed. When size
8573         is changed refresh if the sizemode needs it.
8575 2005-01-13  Peter Bartok  <pbartok@novell.com>
8577         * Control.cs (SelectNextControl): Was using wrong method to select
8578           a control
8580 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8582         * ComboBox.cs: fixes dropstyle
8584 2005-01-13  Peter Bartok  <pbartok@novell.com>
8586         * Form.cs:
8587           - Implemented Select() override
8588           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8589           - Now sets keyboard focus on startup
8590         * Control.cs (SelectNextControl): Now properly handles directed=true
8591         * TextBoxBase.cs:
8592           - WndProc: Now passes tab key on to base if AcceptTabChar=false
8593           - Added (really bad) focus rectangle (mostly for testing)
8594         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8595           to enforce redraw on focus changes
8596         * ContainerControl.cs:
8597           - Fixed detection of Shift-Tab key presses
8598           - Fixed traversal with arrow keys
8599         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8600           gonna keep this or if it's complete yet
8601         
8602 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8604         * ComboBox.cs: missing properties, fixes
8606 2005-01-13  Peter Bartok  <pbartok@novell.com>
8608         * Panel.cs (ctor): Setting Selectable window style to off
8609         * Splitter.cs (ctor): Setting Selectable window style to off
8610         * GroupBox.cs (ctor): Setting Selectable window style to off
8611         * Label.cs (ctor): Setting Selectable window style to off
8613 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
8615         * UpDownBase.cs (InitTimer): If the timer has been already
8616         created, enable it.
8618         Use a TextBox instead of a Label.
8620 2005-01-12  Jackson Harper  <jackson@ximian.com>
8622         * TreeView.cs: Refresh the tree after sorting the nodes. Always
8623         draw the connecting node lines (when ShowLines is true).
8624         * TreeNode.cs: The nodes index can now be updated. This is used
8625         when a node collection is sorted.
8626         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8627         insert or an existing unsorted node collection can be sorted.
8628         
8629 2005-01-12  Peter Bartok  <pbartok@novell.com>
8631         * ContainerControl.cs: Implemented ProcessDialogKeys()
8633 2005-01-12  Peter Bartok  <pbartok@novell.com>
8635         * Control.cs:
8636           - Implemented SelectNextControl() method
8637           - Several focus related bug fixes
8638           - Fixed Docking calculations to match MS documentation and
8639             behaviour
8641 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
8643         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8644         bug fixes
8646 2005-01-12  Peter Bartok  <pbartok@novell.com>
8648         * Control.cs:
8649           - Fixed broken Contains() method
8650           - Implemented GetNextControl() method. Finally. This is the pre-
8651             requisite for focus handling.
8653 2005-01-12  Peter Bartok  <pbartok@novell.com>
8655         * OSXStrucs.cs: Added
8657 2005-01-12  Peter Bartok  <pbartok@novell.com>
8659         * XplatUIWin32.cs:
8660           - Removed PeekMessageFlags
8661           - Implemented SetWindowStyle() method
8662         * XplatUIStructs.cs: Added PeekMessageFlags
8663         * X11Structs: Added missing border_width field to XWindowChanges struct
8664         * XplatUIX11.cs:
8665           - PeekMessage: Now throws exception if flags which are not yet
8666             supported are passed
8667           - Implemented SetWindowStyle() method
8668           - Fixed SetZOrder to handle AfterHwnd properly
8669         * XplatUI.cs: Added SetWindowStyle() method
8670         * XplatUIDriver.cs: Added SetWindowStyle() abstract
8671         * Control.cs:
8672           - Implemented UpdateStyles() method
8673           - Implemented UpdateZOrder() method
8674         * XplatUIOSX.cs: Added SetWindowStyle() stub
8676 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
8678         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8679         button mouse).
8682 2005-01-11  Jackson Harper  <jackson@ximian.com>
8684         * TreeView.cs: Still need to draw lines to siblings even if out of
8685         the current node is out of the clip.
8687 2005-01-11  Jackson Harper  <jackson@ximian.com>
8689         * TreeView.cs: When setting the hbar/vbar/grip position use
8690         SetBounds so that perform layout is only called once. Also suspend
8691         and resume layout so layout is only done once for all controls.
8692         - Removed some debug fluff
8693         * SizeGrip.cs: Call base implmentation in overriding methods.
8694         - When visibility is changed the drawing buffers are killed so we
8695         need to redraw.
8697 2005-01-11  Jackson Harper  <jackson@ximian.com>
8699         * TreeView.cs: Calculate the open node count while drawing. This
8700         saves us an entire tree traversal for every paint operation. Use
8701         a member var for the open node count so less vars are passed around.
8703 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
8705         * MonthCalendar.cs:
8706         - fixed selection to use mousemove, not mouse polling on timer
8707         * ThemeWin32Classic.cs
8708         - removed redundant unused variable "no_more_content"
8709         
8710 2005-01-11  Peter Bartok  <pbartok@novell.com>
8712         * XplatUIX11.cs (DoEvents): Needs to return when no more events
8713           are pending, so it now calls PeekMessage instead of GetMessage;
8714           implemented a incomplete version of PeekMessage
8715         
8716 2005-01-11  Peter Bartok  <pbartok@novell.com>
8718         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8719           I18n issues
8720         * TextBoxBase.cs: Added sending of TextChanged event
8722 2005-01-10  Jackson Harper  <jackson@ximian.com>
8724         * TreeView.cs: Try not to draw outside the clipping rectangle on
8725         each node element.
8727 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
8729         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8731 2005-01-10  Jackson Harper  <jackson@ximian.com>
8733         * TreeView.cs:
8734         - Implement fast scrolling. Now only the newly
8735         exposed nodes are drawn and the old image is moved using the
8736         XplatUI::ScrollWindow method.
8737         - Factor in height of nodes when calculating whether or not the
8738         node is in the clipping rect.
8740 2005-01-10  Jackson Harper  <jackson@ximian.com>
8742         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8744 2005-01-10  Peter Bartok  <pbartok@novell.com>
8746         * Application.cs: Added temporary hack to resolve all our resize
8747           required issues on startup. This will get fixed properly at
8748           some point in the future
8750 2005-01-10  Jackson Harper  <jackson@ximian.com>
8752         * SizeGrip.cs: New internal class that is used as a sizing
8753         grip control...hence the name.
8755 2005-01-10  Peter Bartok  <pbartok@novell.com>
8757         * Control.cs: Implemented proper TabIndex handling, now assigning
8758           a tabindex when a control is added to a container
8759         * GroupBox.cs (ctor): Now sets the Container style bit, required
8760           for Control.GetNextControl()
8762 2005-01-09  Jackson Harper  <jackson@ximian.com>
8764         * TextBoxBase.cs: Clear window when scrolling (fixes build).
8766 2005-01-09  Peter Bartok <pbartok@novell.com>
8768         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8769           XplatUIX11.cs: Added ability to control ScrollWindow expose and
8770           an overload for ScrollWindow to allow only scrolling a rectangle
8772 2005-01-09  Peter Bartok <pbartok@novell.com>
8774         * Form.cs:
8775           - Implemented SetDesktopBounds method
8776           - Implemented SetDesktopLocation method
8778 2005-01-08  Jackson Harper  <jackson@ximian.com>
8780         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8781         the node count has changed, this removes to VScroll::Refresh calls
8782         when drawing.
8784 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
8786         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8788 2005-01-07  Jackson Harper  <jackson@ximian.com>
8790         * TreeNode.cs: Just update the single node when it is
8791         checked. Don't refresh after toggling, the Expand/Collapse already
8792         handles this.
8793         * TreeView.cs: Respect clipping a little more when drawing. Try
8794         not to redraw things that don't need to be redrawn. Just hide the
8795         scrollbars when they are no longer needed instead of removing
8796         them, so they don't have to be created again and again.
8797         
8798 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
8800         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
8801         coordinates to window space to place the caret properly, FIXED.
8802         Implement GetWindowState & SetWindowState
8804 2005-01-06  Peter Bartok <pbartok@novell.com>
8806         * Form.cs:
8807           - Implemented ClientSize property
8808           - Implemented DesktopBounds property
8809           - Implemented DesktopLocation property
8810           - Implemented IsRestrictedWindow property
8811           - Implemented Size property
8812           - Implemented TopLevel property
8813           - Implemented FormWindowState property
8814         * Control.cs:
8815           - Implemented GetTopLevel() method
8816           - Implemented SetTopLevel() method
8817         * X11Structs.cs (Atom):
8818           - Added AnyPropertyType definition
8819           - Added MapState definiton and updated XWindowAttribute struct
8820         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8821         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8822         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8823         * XplatUIWin32.cs:
8824           - Implemented GetWindowState() and SetWindowState() methods
8825           - Fixed Win32GetWindowLong return type
8826         * XplatUIX11.cs:
8827           - Introduced central function for sending NET_WM messages
8828           - Implemented GetWindowState() and SetWindowState() methods
8829         * TextBoxBase.cs (set_Lines):
8830           - Now uses Foreground color for text added via Text property (Duh!)
8831           - Added code to remember programmatically requested size (fixes
8832             behaviour when Multiline is set after Size)
8833           - Added AutoSize logic
8835 2005-01-06  Jackson Harper  <jackson@ximian.com>
8837         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8839 2005-01-06  Jackson Harper  <jackson@ximian.com>
8841         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8842         set to less then 0.
8844 2005-01-06  Jackson Harper  <jackson@ximian.com>
8846         * ScrollableControl.cs: Lazy init the scrollbars.
8847         
8848 2005-01-06  Jackson Harper  <jackson@ximian.com>
8850         * Theme.cs: Speed up getting pens and solid brushes, by using
8851         their ARGB as a hash instead of tostring and not calling Contains.
8853 2005-01-06  Peter Bartok <pbartok@novell.com>
8855         * Form.cs:
8856           - Implemented OnActivated and OnDeactivate event trigger
8857           - Implemented Activate() method
8858           - Fixed ShowDialog() to activate the form that was active before
8859             the dialog was shown
8860         * XplatUIX11.cs:
8861           - Added global active_window var that tracks the currently active
8862             X11 window
8863           - Now always grabs Property changes from the root window to always
8864             catch changes on the active window property
8865           - Added code to PropertyNotify handler to send Active/Inactive
8866             messages when state changes. This puts X11 and Win32 en par on
8867             WM_ACTIVATE notifications (except for double notifications when
8868             the user clicks away from our modal window to another one of our
8869             windows)
8871 2005-01-05  Jackson Harper  <jackson@ximian.com>
8873         * ImageList.cs: Implment ctor
8875 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8877         * XplatUIOSX.cs: Implement Activate/SetTopmost
8879 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8881         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8883 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8885         * XplatUIOSX.cs: Implement GetActive/SetFocus.
8887 2005-01-05  Peter Bartok <pbartok@novell.com>
8889         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8890           XplatUIOSX.cs: Added GetActive method to return the currently
8891           active window for the application (or null, if none is active)
8892         * Form.cs:
8893           - Implemented ActiveForm
8894           - Commented out owner assignment for modal dialogs (causes problems
8895             on Win32, since the owner will be disabled)
8896           - Reworked some Active/Focus handling (still incomplete)
8897         * CommonDialog.cs: Commented out owner assignment for modal dialogs
8898           (causes problems on Win32, since the owner will be disabled)
8899         * IWin32Window: Added ComVisible attribute
8901 2005-01-05  Peter Bartok <pbartok@novell.com>
8903         * ToolTip.cs (WndProc): Enable setting focus now that we have the
8904           required XplatUI functions.
8906 2005-01-05  Peter Bartok <pbartok@novell.com>
8908         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8909           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8910           to implement focus and activation handling; still incomplete and
8911           with debug output
8913 2005-01-04  Peter Bartok <pbartok@novell.com>
8915         * TextBoxBase.cs: Changed access level for Document property to
8916           match switch to internal for TextControl
8918 2005-01-04  Peter Bartok <pbartok@novell.com>
8920         * AccessibleObject: Added ComVisible attribute
8922 2005-01-04  Jackson Harper  <jackson@ximian.com>
8924         * X11Keyboard.cs: Remove unneeded var.
8926 2005-01-04  Jackson Harper  <jackson@ximian.com>
8928         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8929         but PAINT.
8930         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8931         ClientMessage. This makes apps exit cleanly (more often).
8932         
8933 2005-01-04  Jackson Harper  <jackson@ximian.com>
8935         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8936         handling focus, return correct colors and fonts,
8937         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8938         handle selection, horizontal scrolling, and mouse interaction.
8940 2005-01-04  Peter Bartok <pbartok@novell.com>
8942         * ICommandExecutor.cs: Added
8943         * IDataGridColumnStyleEditingNotificationService.cs: Added
8944         * IFeatureSupport.cs: Added
8945         * IFileReaderService.cs: Added
8946         * IDataObject.cs: Added ComVisible attribute
8947         * AmbientProperties.cs: Added
8948         * BaseCollection.cs: Added missing attributes
8949         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8950         * BaseCollection.cs: Added missing attributes
8951         * Binding.cs: Added TypeConverter attribute
8952         * BindingContext.cs: Added DefaultEvent attribute
8953         * BindingsCollection.cs: Added DefaultEvent attribute
8954         * Button.cs: Added DefaultValue attribute
8955         * DragEventArgs.cs: Added ComVisible attribute
8956         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8957         * KeyEventArgs.cs: Added ComVisible attribute
8958         * KeyPressEventArgs.cs: Added ComVisible attribute
8959         * MouseEventArgs.cs: Added ComVisible attribute
8960         * NavigateEventArgs.cs: Added
8961         * NavigateEventHandler.cs: Added
8962         * FeatureSupport.cs: Added
8963         * OSFeature.cs: Added
8964         * Theme.cs: Added abstract Version property to support OSFeature
8965         * ThemeWin32Classic.cs: Added Version property to
8966           support OSFeature.Themes
8967         * ProgressBar.cs: Removed OnPaintBackground override, not required since
8968           the proper styles to avoid background drawing are set, also doesn't
8969           match MS signature
8970         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8971         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8972         * ScrollEventArgs.cs: Added ComVisible attribute
8973         * SplitterEventArgs.cs: Added ComVisible attribute
8974         * AccessibleSelection.cs: Added Flags attribute
8975         * Appearance.cs: Added ComVisible attribute
8976         * Border3DSide.cs: Added ComVisible attribute
8977         * Border3DStyle.cs: Added ComVisible attribute
8978         * BorderStyle.cs: Added ComVisible attribute
8979         * DragAction.cs: Added ComVisible attribute
8980         * ErrorBlinkStyle.cs: Added
8981         * ScrollEventType.cs: Added ComVisible attribute
8982         * AnchorStyles.cs: Added Editor attribute
8983         * DockStyle.cs: Added Editor attribute
8984         * HorizontalAlignment.cs: Added ComVisible attribute
8985         * HelpEventArgs.cs: Added ComVisible attribute
8986         * PaintEventArgs.cs: Added IDisposable
8988 2005-01-04  Peter Bartok <pbartok@novell.com>
8990         * TextControl.cs: Switched Line, LineTag and Document classes to
8991           internal
8993 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8995         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8996         Simple mode, fixes, IntegralHeight, etc.
8998 2005-01-04  Peter Bartok <pbartok@novell.com>
9000         * TextBoxBase.cs: Using proper font variable now
9002 2005-01-04  Peter Bartok <pbartok@novell.com>
9004         * Form.cs (ShowDialog): Set parent to owner, if provided
9005         * GroupBox.cs: Removed unused vars
9006         * TextControl.cs:
9007           - Added GetHashCode() for Document and LineTag classes
9008           - Removed unused variables
9009           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9010             to allow translation between continuous char position and line/pos
9011         * CheckBox.cs: Removed vars that are provided by base class
9012         * RadioButton.cs: Removed vars that are provided by base class, added
9013           new keyword where required
9014         * LinkLabel.cs: Added new keyword where required
9015         * Control.cs (WndProc): Removed unused variable
9016         * TextBoxBase.cs:
9017           - Finished SelectionLength property
9018           - Implemented SelectionStart property
9019           - Implemented Text property
9020           - Removed unused vars
9021         * MessageBox.cs: Added new keyword where required
9022         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9023           WndProc signature
9024         * MenuAPI.cs: Added new keyword where required
9025         * ButtonBase.cs: Removed vars that are provided by base class, added
9026           new keyword where required
9027         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9028           argument to double, to allow compiling with csc 2.0 (Atsushi ran
9029           into this)
9030         * Application.cs (Run): Now triggers the ThreadExit event
9031         * CommonDialog.cs: Added new keyword where required; now properly sets
9032           parent (owner) for dialog
9033         * XplatUIX11.cs: Commented out unused vars
9034         * StatusBar.cs: Fixed signature for Text property
9035         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9037 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9039         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9040         TrackBar.cs, MonthCalendar.cs: remove unused vars
9042 2005-01-03  Jackson Harper  <jackson@ximian.com>
9044         * ThemeWin32Classic.cs:
9045         * X11Keyboard.cs: Remove unused vars.
9047 2005-01-03  Peter Bartok  <pbartok@novell.com>
9049         * TextBox.cs:
9050           - set_Text: Tied into TextControl
9051           - set_TextAlignment: Tied into TextControl
9052         * TextControl.cs:
9053           - Added alignment properties and implemented alignment handling
9054             and drawing (still has a bug, not generating proper expose events)
9055           - Added new Line() constructor to allow passing the line alignment
9056           - Fixed selection setting, properly handling end<start now
9057           - Added aligment considerations to RecalculateDocument()
9058         * TextBoxBase.cs:
9059           - Now properly enforces control height for single line controls
9060           - Added support for CharacterCasing
9061           - Added IsInputKey override
9062           - Fixed Keys.Enter logic
9063           - Added SetBoundsCore override
9064           - Fixed mouse selection handling
9066 2005-01-03  Jackson Harper  <jackson@ximian.com>
9068         * TreeView.cs:
9069           - Collapse and uncheck all nodes when CheckBoxes is disabled.
9070           - Checkboxes are always aligned to the bottom of the node,
9071           regardless of item height.
9072           - Use the node bounds to draw the text so we can center it when
9073           the item height is greater then the font height.
9074           - Node::Bounds are only the text part of the node.
9075         * TreeNode.cs: New method to combine collapsing and unchecking all
9076           nodes recursively.
9078 2005-01-02  Jackson Harper  <jackson@ximian.com>
9080         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9081         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9082         tree when a check is changed. TODO: Only refresh the checked node.
9084 2004-12-30  Jackson Harper  <jackson@ximian.com>
9086         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9087         * TreeNode.cs: When collapsing make sure to never collapse the
9088         root node.
9090 2004-12-29  Jackson Harper  <jackson@ximian.com>
9092         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9093         
9094 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
9096         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9098 2004-12-28  Peter Bartok  <pbartok@novell.com>
9100         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9101           not yet assigned
9103 2004-12-28  Peter Bartok  <pbartok@novell.com>
9105         * Control.cs (WndProc): Added WM_HELP handler, now generates
9106           HelpRequested event
9107         * Form.cs: Added HelpButton property and required support code
9108         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9110 2004-12-28  Peter Bartok  <pbartok@novell.com>
9112         * CommonDialog.cs:
9113           - Made DialogForm.owner variable internal
9114           - Added check to ensure owner form is set before setting
9115             owner properties in CreateParams
9117 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
9119         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
9120           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
9121           GetCursorPos.  Fix major visibility issues.  Rework the windowing
9122           system to support borderless/titleless windows (implements menus).
9123           Fix GetWindowPos.  Implement initial background color support for
9124           views.
9126 2004-12-28  Peter Bartok  <pbartok@novell.com>
9128         * Form.cs (get_CreateParams): Make sure we have an owner before using
9129           the owner variable. Implement proper default if no owner exists
9131 2004-12-28  Peter Bartok  <pbartok@novell.com>
9133         * In preparation for making Managed.Windows.Forms the default build target
9134           for System.Windows.Forms, the following stubbed files were added.
9135           Dialogs are currently being implemented by contributors and are only
9136           short-term place holders.
9137         * ColorDialog.cs: Initial check-in (minmal stub)
9138         * DataGrid.cs: Initial check-in (minimal stub)
9139         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9140         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9141         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9142         * FontDialog.cs: Initial check-in (minimal stub)
9143         * FileDialog.cs: Initial check-in (minimal stub)
9144         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9145         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9146         * OpenFileDialog: Initial check-in (minimal stub)
9147         * IComponentEditorPageSite.cs: Initial check-in
9148         * Splitter.cs: Initial check-in (for Jackson)
9149         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9150         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9151         * TextBox.cs: Initial check-in; still needs some wiring to
9152           TextControl backend
9153         * Form.cs: Implemented ControlBox property
9154         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9155         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9156         * TextControl.cs: Added selection functionality; added todo header
9157         * TextBoxBase.cs:
9158           - Implemented Lines property
9159           - Implemented TextHeight property
9160           - Implemented SelectedText property
9161           - Implemented SelectionLength property
9162           - Implemented SelectAll method
9163           - Implemented ToString method
9164           - Removed and cleaned up some debug code
9165           - Implemented (still buggy) mouse text selection
9167 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9169         * ComboBox.cs: Complete DropDownList implementation, fixes.
9171 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9173         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9174         * ComboBoxStyle.cs: ComboBoxStyle enum
9175         * ComboBox.cs: Initial work on ComboBox control
9177 2004-12-21  Peter Bartok  <pbartok@novell.com>
9179         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9180           forward so that anything that creates a window gets the default,
9181           also no longer uses Visible property in CreateParams to avoid
9182           walking up the parent chain and possibly get the wrong visible
9183           status. Fixed IsVisible to no longer walk up to the parent.
9185 2004-12-21  Peter Bartok  <pbartok@novell.com>
9187         * Form.cs (ShowDialog): Unset modality for the proper window
9189 2004-12-20  Peter Bartok  <pbartok@novell.com>
9191         * CommonDialog.cs: Initial check-in
9193 2004-12-20  Peter Bartok  <pbartok@novell.com>
9195         * Control.cs (Visible): Now uses the parent window instead of the
9196           client area window for the property
9198         * Form.cs
9199           - ShowDialog(): Now uses the proper window for modality
9200           - The default visibility state for the form parent is now false. This
9201             will prevent the user from seeing all the changes to the form and
9202             its controls before the application hits Application.Run()
9203           - Removed some stale commented out code
9205         * NativeWindow.cs:
9206           - Added FindWindow() method to have a method to check for existence
9207             of a window handle
9208           - Added ability to override default exception handling (for example
9209             when debugging with VS.Net; to do this the ExternalExceptionHandler
9210             define must be set
9211           - Removed some useless debug output
9213         * XplatUIX11.cs:
9214           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9215             not working as expected
9216           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9217             property to allow switching back to the modal window if focus is
9218             given to another one of our windows (Application Modal)
9219           - Now only sets override_redirect if we create a window
9220             without WS_CAPTION
9221           - Moved EventMask selection before mapping of newly created window
9222             so we can catch the map event as well
9223           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9224           - Added various Atom related DllImports
9225           - Implemented Exit() method
9226           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9227             in the CreateParams
9229         * MessageBox.cs: Now properly deals with the FormParent window by
9230           providing an override the FormParent CreateParams property to
9231           set as POPUP instead of OVERLAPPED window.
9233 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9235         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
9236         Minor code cleanup.
9238 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9239         
9240         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9242 2004-12-18  Peter Bartok  <pbartok@novell.com>
9244         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9245           implementing SetModal() method
9247 2004-12-18  Peter Bartok  <pbartok@novell.com>
9249         * X11Structs.cs (XGCValues): Fixed type of function element
9250         * XplatUI.cs: Added ScrollWindow() method
9251         * XplatUIDriver.cs: Added ScrollWindow() abstract
9252         * XplatUIWin32.cs: Implemented ScrollWindow() method
9253         * XplatUIX11.cs: Implemented ScrollWindow() method
9254         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9256 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9258         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
9259         Some more keyboard support (INCOMPLETE)
9261 2004-12-17  Peter Bartok  <pbartok@novell.com>
9263         * TextControl.cs:
9264         - Added color attribute to line tags.
9265         - Added color argument to all functions dealing with tags
9266         - Added color argument support to various functions
9267         - Fixed miss-calculation of baseline/shift in certain circumstances
9269         * TextBoxBase.cs: Added new color option to test code
9271 2004-12-17  Jackson Harper  <jackson@ximian.com>
9273         * TreeNode.cs:
9274         * MonthCalendar.cs: Signature fixes
9276 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9278         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9279         keyboard event moved it.  Create a new graphics context for each paint resolves this
9281 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9283         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9284         Make caret exist and go blink blink.  Initial keyboard support.
9285         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
9286         works.
9288 2004-12-17  Jackson Harper  <jackson@ximian.com>
9290         * XplatUIStructs.cs: Updated set of virtual keycodes.
9291         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9293 2004-12-17  Jackson Harper  <jackson@ximian.com>
9295         * XplatUIX11.cs: Prune old keyboard code.
9297 2004-12-17  Jackson Harper  <jackson@ximian.com>
9299         * XplatUIX11.cs: When generating mouse wparams get the modifier
9300         keys from the ModifierKeys property.
9302 2004-12-17  Jackson Harper  <jackson@ximian.com>
9304         * X11Keyboard.cs: Send up/down input when generating
9305         messages. Remove some unused vars.
9307 2004-12-17  Jackson Harper  <jackson@ximian.com>
9309         * TabControl.cs:
9310         * TreeView.cs: get rid of warnings.
9312 2004-12-17  Jackson Harper  <jackson@ximian.com>
9314         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9316 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
9318         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9319           CheckedListBox.cs: Implementation
9321 2004-12-17  Peter Bartok  <pbartok@novell.com>
9323         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9325 2004-12-16  Peter Bartok  <pbartok@novell.com>
9327         * TextControl.cs:
9328           - InsertCharAtCaret(): Fixed start pos fixup
9329           - CaretLine_get: No longer derives the line from the tag, the tag
9330             could be stale if lines in the document have been added or deleted
9331           - RebalanceAfterDelete(): Fixed bug in balancing code
9332           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9333           - Line.Streamline(): Now can also elminate leading empty tags
9334           - DumpTree(): Added a few more tests and prevented exception on
9335             uninitialized data
9336           - Added Debug section for Combining lines
9337           - Delete(): Now copies all remaining properties of a line
9338           
9339         * TextBoxBase.cs:
9340           - Left mousebutton now sets the caret (and middle button still acts
9341             as formatting tester, which must go away soon)
9342           - Added Debug section for Deleting/Combining lines
9343           - Fixed calculations for UpdateView after Combining lines
9345 2004-12-16  Peter Bartok  <pbartok@novell.com>
9347         * TextControl.cs: Now properly aligns text on a baseline, using the
9348           new XplatUI.GetFontMetrics() method. Simplified several calculations
9349         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9350           defined
9352 2004-12-16  Peter Bartok  <pbartok@novell.com>
9354         * XplatUI.cs: Added GetFontMetrics() method
9355         * XplatUIDriver.cs: Added GetFontMetrics() abstract
9356         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9357           into libgdiplus, our private GetFontMetrics function
9358         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9359         * XplatUIWin32.cs: Implemented GetFontMetrics() method
9361 2004-12-16  Jackson Harper  <jackson@ximain.com>
9363         * XplatUIStruct.cs: Add enum for dead keys
9364         * X11Keyboard.cs: Map and unmap dead keys.
9366 2004-12-16  Jackson Harper  <jackson@ximian.com>
9368         * X11Keyboard.cs: Detect and use the num lock mask.
9370 2004-12-16  Peter Bartok  <pbartok@novell.com>
9372         * Control.cs (CreateGraphics): Added check to make sure the
9373           handle of the window exists before calling Graphics.FromHwnd()
9375 2004-12-16  Peter Bartok  <pbartok@novell.com>
9377         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9378           contains a lot of code that's not supposed to be there for the
9379           real thing, but required for developing/testing the textbox
9380           backend.
9382 2004-12-16  Peter Bartok  <pbartok@novell.com>
9384         * TextControl.cs:
9385         - Fixed Streamline method
9386         - Added FindTag method to Line
9387         - Added DumpTree method for debugging
9388         - Added DecrementLines() method for deleting lines
9389         - Fixed UpdateView to update the cursor to end-of-line on single-line
9390           updates
9391         - Added PositionCaret() method
9392         - Fixed MoveCaret(LineDown) to move into the last line, too
9393         - Added InsertChar overload
9394         - Fixed InsertChar tag offset calculations
9395         - Added DeleteChar() method
9396         - Added Combine() method for folding lines
9397         - Fixed Delete() method, no longer allocates wasted Line object and
9398           now copies all properties when swapping nodes
9399         - Delete() method now updates document line counter
9401 2004-12-15  Jackson Harper  <jackson@ximian.com>
9403         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9404         * X11Keyboard.cs: Expose the currently selected modifier keys
9405         through a property.
9407 2004-12-15  Peter Bartok  <pbartok@novell.com>
9409         * TextControl.cs: Initial check-in. Still incomplete
9411 2004-12-15  Jackson Harper  <jackson@ximian.com>
9413         * TreeNode.cs:
9414         * TreeView.cs: Fix build on csc (second time today ;-))
9416 2004-12-15  Jackson Harper  <jackson@ximian.com>
9418         * TreeView.cs: Store the treenodes plus/minus box bounds when it
9419         is calculated and use this for click testing.
9420         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9422 2004-12-15  Jackson Harper  <jackson@ximian.com>
9424         * TreeView.cs: Pass the nodes image index to the image list when
9425         drawing that image.
9427 2004-12-15  Jackson Harper  <jackson@ximian.com>
9429         * X11Keyboard.cs: Set messages hwnd.
9430         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9431         post_message calls.
9433 2004-12-15  Jackson Harper  <jackson@ximian.com>
9435         * X11Keyboard.cs: Fix to compile with csc.
9436         
9437 2004-12-15  Jackson Harper  <jackson@ximian.com>
9439         * X11Structs.cs: Add key mask values
9440         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9441         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9442         down/up foo into WM_CHAR foo
9443         * KeyboardLayouts.cs: Common keyboard layouts
9444         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9445         post messages into the main queue.
9447 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9449         * Button.cs: implement ProcessMnemonic
9450         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9451           brushes everytime
9452         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9453         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9455 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9456         
9457         * MonthCalendar.cs: Implemented click-hold for next/previous month
9458           and date selection
9459           
9460 2004-12-11  Peter Bartok  <pbartok@novell.com>
9462         * X11Structs.cs:
9463           - Added XKeyboardState (moved from XplatUIX11.cs)
9464           - Added XCreateGC related enums and structures
9465           - Added GXFunction for XSetFunction
9467         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9469         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9470           CaretVisible() calls
9472         * ToolTip.cs: Added code to prevent stealing focus from app windows
9474         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9475           DestroyCaret, SetCaretPos and CaretVisible)
9477         * XplatUIX11.cs:
9478           - Added implementation for caret functions
9479           - Moved hover variables into a struct, to make it a bit easier
9480             on the eyes and to debug
9481           - Removed XKeyboardState (moved to XplatUIX11.cs)
9482           - Moved Keyboard properties into the properties region
9484         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9485           call to get a graphics context for our control
9487         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9489         * TreeView.cs: Fixed bug. No matter what color was set it would always
9490           return SystemColors.Window
9492         * XplatUIWin32.cs: Implemented caret overrides
9494 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9496         * ListBox.cs: fire events, implement missing methods and properties,
9497         sorting.
9499 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9501         * MonthCalendar.cs: invalidation bug fixing
9502         * ThemeWin32Classic.cs: paint fixing
9504 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9506         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9507         prepare the CGContextRef there now.
9509 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9511         * MonthCalendar.cs:
9512           - optimisationL only invalidate areas that have changed
9513         * ThemeWin32Classic.cs:
9514           - only paint parts that intersect with clip_area
9516 2004-12-09  Peter Bartok  <pbartok@novell.com>
9518         * Application.cs: Undid changes from r37004 which cause problems
9519         on X11
9521 2004-12-09  Ravindra  <rkumar@novell.com>
9523         * ToolBar.cs: Added support for displaying ContextMenu
9524         attached to a button on ToolBar.
9525         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9526         property.
9528 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9530         * Label.cs: autosize works in text change and removes unnecessary
9531         invalidate
9533 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9535         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9536         remove warnings
9538 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
9540         * XplatUIOSX.cs: Added mouse move/click/grab support
9541         Remove some debugging WriteLines not needed anymore.
9542         Add window resizing/positioning.
9543         Fix visibility on reparenting.
9545 2004-12-08  Peter Bartok  <pbartok@novell.com>
9547         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9549 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
9551         * XplatUIOSX.cs: Initial checkin
9552         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9554 2004-12-03  Ravindra <rkumar@novell.com>
9556         * ListView.cs: Added some keybindings and fixed scrolling.
9557         ScrollBars listen to ValueChanged event instead of Scroll
9558         Event. This would let us take care of all changes being
9559         done in the scrollbars' values programmatically or manually.
9560         * ListView.cs (CanMultiselect): Added a check for shift key.
9561         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9562         * ListViewItem.cs (Clone): Fixed. We need to make a copy
9563         of ListViewSubItemCollection as well.
9565 2004-12-06  Peter Bartok <pbartok@novell.com>
9567         * Control.cs (Parent): Added check and exception to prevent
9568         circular parenting
9570 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
9572         * ListBox.cs: implemented clipping, selection single and multiple,
9573         bug fixing
9575 2004-12-03  Ravindra <rkumar@novell.com>
9577         * ListView.cs (ListView_KeyDown):
9578         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9579         when CTRL key is pressed.
9580         * ListViewItem.cs (Selected): Fixed setting the property.
9582 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9584         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9586         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9587         MinimizeBox, ShowInTaskbar, TopMost properties.
9589         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9590         will be implemented).
9592 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9594         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9596         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9597         tests.
9598         
9599         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9600         
9601         * TreeView.cs: BackColor is Colors.Window.
9603 2004-12-01  Jackson Harper  <jackson@ximian.com>
9605         * TreeView.cs: When resizing the tree if the user is making it
9606         smaller we don't get expose events, so we need to handle adding
9607         the horizontal scrollbar in the size changed handler as well as
9608         the expose handler.
9610 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
9612         * DrawItemState.cs: fixes wrong enum values
9614 2004-12-01  Jackson Harper  <jackson@ximian.com>
9616         * TreeView.cs: Resize the hbar as well as the vbar on resize.
9618 2004-12-01  Jackson Harper  <jackson@ximian.com>
9620         * NodeLabelEditEventArgs.cs:
9621         * NodeLabelEditEventHandler.cs:
9622         * OpenTreeNodeEnumerator.cs:
9623         * TreeNode.cs:
9624         * TreeNodeCollection.cs:
9625         * TreeView.cs:
9626         * TreeViewAction.cs:
9627         * TreeViewCancelEventArgs.cs:
9628         * TreeViewCancelEventHandler.cs:
9629         * TreeViewEventArgs.cs:
9630         * TreeViewEventHandler.cs: Initial implementation.
9632 2004-12-01  Ravindra <rkumar@novell.com>
9634         * ListView.cs (CalculateListView): Fixed scrolling related
9635         calculations. Also, removed some debug statements from other
9636         places.
9637         * ListViewItem.cs: Changed access to 'selected' instance variable
9638         from private to internal.
9639         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9641 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
9643         * ThemeWin32Classic.cs: remove cache of brush and pens for
9644         specific controls and use the global system, fixes scrollbutton
9645         bugs (for small sizes, disabled, etc)
9646         
9647         * ScrollBar.cs: does not show the thumb for very small controls
9648         (as MS) and allow smaller buttons that the regular size
9650 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
9652         * UpDownBase.cs: Add abstract methods for the interface.
9653         Add new virtual methods (need to be hooked up to TextEntry when it
9654         exists).
9655         Add override methods for most features.
9656         Computes the size, forces the height of the text entry.
9658         * NumericUpDown.cs: Put here the current testing code.
9660         * Set eol-style property on all files that do not have mixed line
9661         endings, to minimize the future problems.  There are still a few
9662         files with mixed endings, and someone should choose whether they
9663         want to move it or not.
9665 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
9667         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9668         System.Colors
9669         
9670 2004-11-30  Ravindra <rkumar@novell.com>
9672         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9673         drawing and replaced use of SystemColors by theme colors.
9674         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9675         * ListView.cs (ListViewItemCollection.Add): Throw exception when
9676         same ListViewItem is being added more than once.
9678 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
9680         * MonthCalendar.cs:
9681           - ControlStyles love to make the control not flicker
9682           
9683 2004-11-30  Peter Bartok  <pbartok@novell.com>
9685         * CharacterCasing.cs: Added
9687 2004-11-29  Peter Bartok  <pbartok@novell.com>
9689         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9690           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9691           I am removing these files as they conflict with already completed
9692           work. While it is fantastic to get contributions to MWF, I
9693           respectfully ask that everyone please coordinate their contributions
9694           through mono-winforms-list or #mono-winforms at this time. We're
9695           explicitly avoiding stubbing and don't want controls that don't have
9696           their basic functionality implemented in svn. Please also see
9697           http://www.mono-project.com/contributing/winforms.html
9700 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
9702         * Application.cs (ModalRun): Don't hang after exit.
9704         * Theme.cs: New TreeViewDefaultSize property.
9706         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9707         with less hardcoded SystemColors constant.
9708         Implemented TreeViewDefaultSize.
9710         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9711         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9714 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
9716         * MonthCalendar.cs:
9717           - Fix NextMonthDate and PrevMonthDate click moving calendar
9719 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9721         * MonthCalendar.cs:
9722           - Fix usage of ScrollChange Property when scrolling months
9724 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
9726         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9727          - Fixes menu destroying
9728          - Support adding and removing items on already created menus
9730 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9732         * MonthCalendar.cs:
9733           - Re-worked all bolded dates handling to match win32
9734         * ThemeWin32Classic.cs:
9735           - Fixed rendering with bolded dates
9737 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
9739         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9740         - Horizontal scroolbar
9741         - Multicolumn
9742         - Fixes
9745 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
9747         * MonthCalendar.cs:
9748           - Fix Usage of MaxSelectionCount from SelectionRange
9749           - Fixed Shift + Cursor Selection
9750           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9751           - Fixed normal cursor selection to be compat with win32
9752           - Fixed Shift + Mouse Click selection
9754 2004-11-24  Peter Bartok <pbartok@novell.com>
9756         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9757         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9758         * XplatUIX11.cs:
9759           - CreatedKeyBoardMsg now updates keystate with Alt key
9760           - Added workaround for timer crash to CheckTimers, Jackson will
9761             develop a proper fix and check in later
9762           - Implemented DispatchMessage
9763           - Removed calling the native window proc from GetMessage (call
9764             now moved to DispatchMessage)
9766         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9767           the keydata (Fixes bug #69831)
9769         * XplatUIWin32.cs:
9770           - (DispatchMessage): Switched to return IntPtr
9771           - Added DllImport for SetFocus
9773 2004-11-24  Ravindra <rkumar@novell.com>
9775         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9776         background drawing.
9777         * ListViewItem.cs: Fixed various properties, calculations
9778         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9779         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9780         and some internal properties. Fixed MouseDown handler and Paint
9781         method.
9783 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9785         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9787 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9789         * ContainerControl.cs: correct accidental check in of local changes
9791 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9793         * ThemeWin32Classic.cs:
9794                 - Fixed Drawing Last month in grid (sometimes not showing)
9795         * MonthCalendar.cs:
9796                 - Fixed title width calculation bug (makeing title small)
9798 2004-11-23  Peter Bartok <pbartok@novell.com>
9800         * XplatUIX11.cs:
9801           - Added generation of WM_MOUSEHOVER event
9802           - Added missing assignment of async_method atom
9803           - Fixed WM_ERASEBKGND; now only redraws the exposed area
9805 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9807         * ThemeWin32Classic.cs:
9808                 - Fixed Drawing of today circle when showtodaycircle not set
9809                 - fixed drawing of first and last month in the grid (gay dates)
9810         * MonthCalendar.cs:
9811                 - Fixed Drawing of today circle
9812                 - Fixed drawing of grady dates
9813                 - Fixed HitTest for today link when ShowToday set to false
9814                 - Fixed DefaultSize to obey ShowToday
9816 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9818         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9819         * System.Windows.Forms/Theme.cs
9820         * MonthCalendar.cs: added for MonthCalendar
9821         * SelectionRange.cs: added for MonthCalendar
9822         * Day.cs: added for MonthCalendar: added for MonthCalendar
9823         * DateRangeEventArgs.cs: added for MonthCalendar
9824         * DateRangeEventHandler.cs: added for MonthCalendar
9826 2004-11-22  Ravindra <rkumar@novell.com>
9828         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9829         property.
9831 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
9833         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9834         event handler.
9835         
9836         * NumericUpDown.cs: Added new implementation.
9837         * UpDownBase.cs: Added new implementation.
9839         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9840         implementations.
9841         
9842         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9843         implementations.
9845         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9846         methods.
9848 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
9850         * Timer.cs  (Dispose): Should call the base dispose when
9851         overriding.
9853 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9855         * ScrollBar.cs: updates thumb position when max, min or increment
9856         is changed
9858 2004-11-21  Ravindra <rkumar@novell.com>
9860         * ListView.cs: Implemented item selection, activation and
9861         column header style. Fixed properties to do a redraw, if
9862         required. Added support for MouseHover, DoubleClick, KeyDown
9863         and KeyUp event handling and some minor fixes.
9864         * ListViewItem.cs: Fixed constructor.
9865         * ThemeWin32Classic.cs: Improved drawing for ListView.
9867 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9869         * ThemeWin32Classic.cs: initial listbox drawing code
9870         * DrawMode.cs: new enumerator
9871         * ListControl.cs: stubbed class
9872         * ListBox.cs: initial implementation
9873         * Theme.cs: new methods definitions
9874         * SelectionMode.cs: new enumerator
9876 2004-11-17  Peter Bartok  <pbartok@novell.com>
9878         * XplatUIWin32.cs: Added double-click events to the class style
9879         * Control.cs (WndProc):
9880           - Added handling of click-count to MouseDown/ MouseUp events.
9881           - Added handling of middle and right mouse buttons
9882           - Removed old debug code
9884 2004-11-17  Jackson Harper  <jackson@ximian.com>
9886         * XplatUIX11.cs: Use the new Mono.Unix namespace.
9888 2004-11-17  Ravindra <rkumar@novell.com>
9890         * ListView.cs: Added event handling for MouseMove/Up/Down.
9891         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9892         * ThemeWin32Classic.cs: We need to clear the graphics context and
9893         draw column header in a proper state.
9896 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
9898         *  Menu.cs: fixes signature
9900 2004-11-16  Peter Bartok  <pbartok@novell.com>
9902         * XplatUIX11.cs (GetMessage): Implemented generation of
9903           double click mouse messages
9905 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
9907         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9908         not by menu
9910 2004-11-11  Peter Bartok  <pbartok@novell.com>
9912         * HandleData.cs: Added Visible property
9913         * XplatUIX11.cs (IsVisible): Now uses Visible property from
9914           HandleData
9915         * XplatUIX11.cs: Removed old debug leftovers
9916         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9917         * Control.cs (WndProc): Removed old debug leftovers,
9918           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9919           needed WM_SIZE handling
9921 2004-11-11  Jackson Harper  <jackson@ximian.com>
9923         * OwnerDrawPropertyBag.cs:
9924         * TreeViewImageIndexConverter.cs: Initial implementation
9926 2004-11-10  Jackson Harper  <jackson@ximian.com>
9928         * ThemeWin32Classic.cs:
9929         * TabControl.cs: instead of moving tabs by the slider pos just
9930         start drawing at the tab that is offset by the slider. This way
9931         scrolling always moves by exactly one tab.
9933 2004-11-10  Jackson Harper  <jackson@ximian.com>
9935         * TabControl.cs: You can only scroll left when the slider has
9936         already ben moved right.
9937         
9938 2004-11-10  Jackson Harper  <jackson@ximian.com>
9940         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9941         the clip area.
9942         
9943 2004-11-10  Jackson Harper  <jackson@ximian.com>
9945         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9946         clip area.
9947         
9948 2004-11-09  Jackson Harper  <jackson@ximian.com>
9950         * TabControl.cs (CalcXPos): New helper method so we can determine
9951         the proper place to start drawing vertical tabs.
9952         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9953         
9954 2004-11-09  Jackson Harper  <jackson@ximian.com>
9956         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9957         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9958         and Bottom, left and right are illegal values for this and
9959         multiline is enabled when the alignment is set to left or right.
9960         (DrawTab): Each alignment block should draw the text itself now
9961         because Left requires special love. Also add rendering for Left
9962         aligned tabs.
9963         
9964 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
9966         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9967         does not destroy the windows, removes debugging messages
9969 2004-11-09  jba  <jba-mono@optusnet.com.au>
9971         * ThemeWin32Classic.cs
9972         (DrawButtonBase): Fix verticle text rect clipping in windows
9973         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9974         rendering and incorrect text rect clipping
9975         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9976         rendering and incorrect text rect clipping
9977         
9978 2004-11-08  Jackson Harper  <jackson@ximian.com>
9980         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9981         bottom when they are bottom aligned so the bottoms of the tabs get
9982         displayed.
9983         * TabControl.cs (DropRow): Move rows up instead of down when the
9984         tab control is bottom aligned.
9986 2004-11-08 13:59  pbartok
9988         * XplatUIX11.cs:
9989           - Added handling for various window styles
9990           - Added handling for popup windows
9991           - Added SetTopmost handling
9993 2004-11-08 13:55  pbartok
9995         * XplatUIWin32.cs:
9996           - Added argument to SetTopmost method
9997           - Fixed broken ClientToScreen function
9999 2004-11-08 13:53  pbartok
10001         * XplatUIStructs.cs:
10002           - Added missing WS_EX styles
10004 2004-11-08 13:53  pbartok
10006         * XplatUI.cs, XplatUIDriver.cs:
10007           - Added argument to SetTopmost
10009 2004-11-08 13:52  pbartok
10011         * X11Structs.cs:
10012           - Added XSetWindowAttributes structure
10013           - Improved XWindowAttributes structure
10014           - Added SetWindowValuemask enum
10015           - Added window creation arguments enum
10016           - Added gravity enum
10017           - Added Motif hints structure
10018           - Added various Motif flags and enums
10019           - Added PropertyMode enum for property functions
10021 2004-11-08 13:50  pbartok
10023         * Form.cs:
10024           - Fixed arguments for updated SetTopmost method
10026 2004-11-08 13:49  pbartok
10028         * ToolTip.cs:
10029           - Fixed arguments for updated SetTopmost function
10030           - Fixed usage of PointToClient
10032 2004-11-08 13:44  pbartok
10034         * MenuAPI.cs:
10035           - Added Clipping of children and siblings
10037 2004-11-08 13:41  pbartok
10039         * MainMenu.cs:
10040           - Removed SetMenuBarWindow call. We do this in Form.cs
10042 2004-11-08 13:40  jackson
10044         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10045           scrolling jimmi in the correct location with bottom aligned tabs
10047 2004-11-08 13:36  pbartok
10049         * ContainerControl.cs:
10050           - Implemented BindingContext
10051           - Implemented ParentForm
10053 2004-11-08 12:46  jackson
10055         * TabControl.cs: Put bottom rendered tabs in the right location
10057 2004-11-08 07:15  jordi
10059         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10060           removes dead code
10062 2004-11-05 17:30  jackson
10064         * TabControl.cs: When selected tabs are expanded make sure they
10065           don't go beyond the edges of the tab control
10067 2004-11-05 14:57  jackson
10069         * TabControl.cs: Reset show_slider so if the control is resized to
10070           a size where it is no longer needed it's not displayed anymore
10072 2004-11-05 13:16  jackson
10074         * TabControl.cs: Make tab pages non visible when added to the
10075           control
10077 2004-11-05 12:42  jackson
10079         * TabControl.cs: Implement SizeMode.FillToRight
10081 2004-11-05 12:16  jackson
10083         * Control.cs: Do not call CreateHandle if the handle is already
10084           created
10086 2004-11-05 11:46  jackson
10088         * TabControl.cs: Remove superflous call to CalcTabRows
10090 2004-11-05 09:07  jackson
10092         * XplatUIX11.cs: Update for Mono.Posix changes
10094 2004-11-05 07:00  ravindra
10096         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10097           scrolling.
10099 2004-11-04 22:47  jba
10101         * ThemeWin32Classic.cs:
10102           - Fix Button rendering for FlatStyle = Flat or Popup
10103           - Fix RadioButton and CheckBox rendering when Appearance = Button
10104             (normal and flatstyle).
10105           - Correct outer rectangle color when drawing focus rectangle
10106           - Adjust button bounds to be 1 px smaller when focused
10107           - Make button not draw sunken 3d border when pushed (windows compat)
10108           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10109           - Offset the text in RadioButton and Checkbox when being rendered as
10110           a button.
10111           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10112           radiobuttons
10113           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10114           - Fixed disabled text rendering for normally rendered radiobuttons
10116 2004-11-04 10:26  jackson
10118         * TabControl.cs: Recalculate tab rows when resizing
10120 2004-11-04 07:47  jordi
10122         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10123           collection completion, drawing issues, missing features
10125 2004-11-04 05:03  ravindra
10127         * ScrollBar.cs:
10128                 - We need to recalculate the Thumb area when
10129                 LargeChange/maximum/minimum values are changed.
10130           - We set the 'pos' in UpdatePos() method to minimum, if it's less
10131                 than minimum. This is required to handle the case if large_change is
10132                 more than max, and use LargeChange property instead of large_change
10133                 variable.
10134           - We return max+1 when large_change is more than max, like MS does.
10136 2004-11-04 04:29  ravindra
10138         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10139                 - Changed default value signatures (prefixed all with ListView).
10140                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10141                 ListView.
10142           - Fixed calculations for ListViewItem and implemented Clone()
10143           method.
10145 2004-11-04 04:26  ravindra
10147         * Theme.cs, ThemeWin32Classic.cs:
10148                 - Changed default ListView values signatures (prefixed all with
10149                 ListView).
10150           - Fixed default size values for VScrollBar and HScrollBar.
10151                 - Fixed DrawListViewItem method.
10153 2004-11-04 04:05  ravindra
10155         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10157 2004-11-04 04:04  ravindra
10159         * ImageList.cs: Implemented the missing overload for Draw method.
10161 2004-11-03 19:29  jackson
10163         * TabControl.cs: Handle dropping rows on selection properly
10165 2004-11-03 11:59  jackson
10167         * TabControl.cs: remove debug code
10169 2004-11-03 11:52  jackson
10171         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10172           the scrolly widgerywoo
10174 2004-11-02 13:52  jackson
10176         * TabControl.cs: Resize the tab pages and tabs when the tab control
10177           is resized
10179 2004-11-02 13:40  jackson
10181         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10182           selected tab to the bottom
10184 2004-11-02 13:39  jackson
10186         * TabPage.cs: Store the tab pages row
10188 2004-11-02 12:33  jordi
10190         * MenuItem.cs: fixes handle creation
10192 2004-11-02 11:42  jackson
10194         * TabControl.cs: signature fix
10196 2004-11-02 08:56  jackson
10198         * TabControl.cs: Calculate whether the tab is on an edge properly.
10199           Remove top secret debugging code
10201 2004-11-01 19:57  jackson
10203         * TabControl.cs: Add click handling, and proper sizing
10205 2004-11-01 19:47  jackson
10207         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10208           tab controls
10210 2004-11-01 19:39  jackson
10212         * TabPage.cs: add internal property to store the bounds of a tab
10213           page
10215 2004-10-30 04:23  ravindra
10217         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10218           values.
10220 2004-10-30 04:21  ravindra
10222         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10223           fixed calculations.
10225 2004-10-30 03:06  pbartok
10227         * XplatUIX11.cs:
10228           - Removed extension of DllImported libs
10230 2004-10-29 09:55  jordi
10232         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10233           navigation, itemcollection completion, menu fixes
10235 2004-10-27 22:58  pbartok
10237         * XplatUIX11.cs:
10238           - Now throws a nice error message when no X display could be opened
10240 2004-10-26 13:51  jordi
10242         * ListView.cs: removes warning
10244 2004-10-26 03:55  ravindra
10246         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10247           ThemeWin32Classic.cs: Some formatting for my last checkins.
10249 2004-10-26 03:36  ravindra
10251         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10252           control and default values.
10254 2004-10-26 03:35  ravindra
10256         * Theme.cs: Added some default values for ListView control.
10258 2004-10-26 03:33  ravindra
10260         * ToolBar.cs: ToolBar should use the user specified button size, if
10261           there is any. Added a size_specified flag for the same.
10263 2004-10-26 03:33  ravindra
10265         * ColumnHeader.cs: Added some internal members and calculations for
10266           ColumnHeader.
10268 2004-10-26 03:32  ravindra
10270         * ListViewItem.cs: Calculations for ListViewItem.
10272 2004-10-26 03:31  ravindra
10274         * ListView.cs: Added some internal members and calculations for
10275           ListView.
10277 2004-10-22 13:31  jordi
10279         * MenuAPI.cs: speedup menus drawing
10281 2004-10-22 13:16  jackson
10283         * XplatUIX11.cs: Make sure to update exposed regions when adding an
10284           expose event
10286 2004-10-22 11:49  jackson
10288         * Control.cs: oops
10290 2004-10-22 11:41  jackson
10292         * Control.cs: Check to see if the window should have its background
10293           repainted by X when drawing.
10295 2004-10-22 11:31  jackson
10297         * XplatUIX11.cs: When invalidating areas only use XClearArea if
10298           clear is true, this way we do not get flicker from X repainting the
10299           background
10301 2004-10-22 11:28  jackson
10303         * XEventQueue.cs: Queue properly
10305 2004-10-21 09:38  jackson
10307         * XEventQueue.cs: Fix access modifier
10309 2004-10-21 09:36  jackson
10311         * XEventQueue.cs: Don't loose messages
10313 2004-10-21 09:22  jackson
10315         * XEventQueue.cs: Don't loose messages
10317 2004-10-20 04:15  jordi
10319         * BootMode.cs: enum need it by SystemInfo
10321 2004-10-19 21:58  pbartok
10323         * XplatUIWin32.cs:
10324           - Small sanity check
10326 2004-10-19 21:56  pbartok
10328         * Form.cs:
10329           - Added private FormParentWindow class which acts as the container
10330             for our form and as the non-client area where menus are drawn
10331           - Added/Moved required tie-ins to Jordi's menus
10332           - Fixed/Implemented the FormStartPosition functionality
10334 2004-10-19 21:52  pbartok
10336         * Control.cs:
10337           - Removed unneeded locals
10338           - Added code to all size and location properties to understand and
10339             deal with the parent container of Form
10341 2004-10-19 21:33  pbartok
10343         * Application.cs:
10344           - Fixed to deal with new Form subclasses for menus
10346 2004-10-19 17:48  jackson
10348         * XEventQueue.cs: commit correct version of file
10350 2004-10-19 16:50  jackson
10352         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10354 2004-10-19 16:15  jordi
10356         * MenuAPI.cs: MenuBarCalcSize returns the height
10358 2004-10-19 08:31  pbartok
10360         * Control.cs:
10361           - Added missing call to PreProcessMessage before calling OnXXXKey
10362           methods
10364 2004-10-19 00:04  ravindra
10366         * ToolTip.cs: Fixed constructor.
10368 2004-10-18 09:31  jordi
10370         * MenuAPI.cs: menuitems in menubars do not have shortcuts
10372 2004-10-18 09:26  jordi
10374         * MenuItem.cs: fixes MenuItem class signature
10376 2004-10-18 08:56  jordi
10378         * MenuAPI.cs: prevents windows from showing in the taskbar
10380 2004-10-18 00:28  ravindra
10382         * ToolTip.cs: Suppressed a warning message.
10384 2004-10-18 00:27  ravindra
10386         * Control.cs: Default value of visible property must be true.
10388 2004-10-17 23:19  pbartok
10390         * ToolTip.cs:
10391           - Complete implementation
10393 2004-10-17 23:19  pbartok
10395         * XplatUIX11.cs:
10396           - Added EnableWindow method
10397           - Added SetModal stub
10398           - Added generation of WM_ACTIVATE message (still needs testing)
10399           - Added SetTopMost stub
10400           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10402 2004-10-17 23:17  pbartok
10404         * XplatUIWin32.cs:
10405           - Removed VirtualKeys to XplatUIStructs
10406           - Implemented SetTopMost method
10407           - Implemented EnableWindow method
10408           - Bugfix in ScreenToClient()
10409           - Bugfixes in ClientToScreen()
10411 2004-10-17 22:51  pbartok
10413         * XplatUIStructs.cs:
10414           - Added WS_EX styles to WindowStyles enumeration
10416 2004-10-17 22:50  pbartok
10418         * XplatUI.cs, XplatUIDriver.cs:
10419           - Added method for enabling/disabling windows
10420           - Added method for setting window modality
10421           - Added method for setting topmost window
10423 2004-10-17 22:49  pbartok
10425         * ThemeWin32Classic.cs:
10426           - Added ToolTip drawing code
10428 2004-10-17 22:49  pbartok
10430         * Theme.cs:
10431           - Added ToolTip abstracts
10433 2004-10-17 22:47  pbartok
10435         * Form.cs:
10436           - Fixed Form.ControlCollection to handle owner relations
10437           - Added Owner/OwnedForms handling
10438           - Implemented Z-Ordering for owned forms
10439           - Removed unneeded private overload of ShowDialog
10440           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10441             so I hope)
10442           - Fixed Close(), had wrong default
10443           - Added firing of OnLoad event
10444           - Added some commented out debug code for Ownership handling
10446 2004-10-17 22:16  pbartok
10448         * Control.cs:
10449           - Fixed/implemented flat list of controls
10451 2004-10-17 22:14  pbartok
10453         * Application.cs:
10454           - Added code to simulate modal dialogs on Win32
10456 2004-10-17 16:11  jordi
10458         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10459           mouse event
10461 2004-10-17 13:39  jordi
10463         * MenuAPI.cs: menu drawing fixes
10465 2004-10-15 09:10  ravindra
10467         * StructFormat.cs: General Enum.
10469 2004-10-15 09:09  ravindra
10471         * SizeGripStyle.cs: Enum for Form.
10473 2004-10-15 09:08  ravindra
10475         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10476           in Theme for ListView.
10478 2004-10-15 09:06  ravindra
10480         * ColumnHeader.cs: Flushing some formatting changes.
10482 2004-10-15 09:05  ravindra
10484         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10485           style.
10487 2004-10-15 09:03  ravindra
10489         * ListView.cs: Implemented Paint method and fixed coding style.
10491 2004-10-15 07:34  jordi
10493         * MenuAPI.cs: fix for X11
10495 2004-10-15 07:32  ravindra
10497         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10498                 - Renamed Paint() method to Draw() for clarity. Also, moved
10499                 DrawImage() to OnPaint().
10501 2004-10-15 07:25  ravindra
10503         * CheckBox.cs, RadioButton.cs:
10504                 - Removed Redraw (), we get it from ButtonBase.
10505                 - Implemented Paint (), to do class specific painting.
10507 2004-10-15 07:16  ravindra
10509         * ButtonBase.cs:
10510                 - Redraw () is not virtual now.
10511                 - Added an internal virtual method Paint (), so that
10512                 derived classes can do their painting on their own.
10513                 - Modified OnPaint () to call Paint ().
10515 2004-10-15 06:43  jordi
10517         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10518           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10520 2004-10-15 00:30  ravindra
10522         * MessageBox.cs:
10523                 - MessageBox on windows does not have min/max buttons.
10524                 This change in CreateParams fixes this on Windows. We
10525                 still need to implement this windowstyle behavior in
10526                 our X11 driver.
10528 2004-10-14 05:14  ravindra
10530         * ToolBar.cs:
10531                 - Changed Redraw () to do a Refresh () always.
10532                 - Fixed the MouseMove event handling when mouse is pressed,
10533                 ie drag event handling.
10534                 - Replaced the usage of ToolBarButton.Pressed property to
10535                 ToolBarButton.pressed internal variable.
10537 2004-10-14 05:10  ravindra
10539         * ToolBarButton.cs:
10540                 - Added an internal member 'inside' to handle mouse move
10541                 with mouse pressed ie mouse drag event.
10542                 - Changed 'Pressed' property to return true only when
10543                 'inside' and 'pressed' are both true.
10544                 - Some coding style love.
10546 2004-10-14 00:17  ravindra
10548         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10549           public method.
10551 2004-10-14 00:15  ravindra
10553         * ButtonBase.cs: Redraw () related improvements.
10555 2004-10-14 00:14  ravindra
10557         * MessageBox.cs: Moved InitFormSize () out of Paint method and
10558           removed unnecessary calls to Button.Show () method.
10560 2004-10-13 17:50  pbartok
10562         * XplatUIX11.cs:
10563           - Formatting fix
10564           - Removed destroying of window until we solve the problem of X
10565             destroying the window before us on shutdown
10567 2004-10-13 16:32  pbartok
10569         * ButtonBase.cs:
10570           - Now Redraws on MouseUp for FlatStyle Flat and Popup
10572 2004-10-13 14:18  pbartok
10574         * XplatUIX11.cs:
10575           - Added code to destroy the X window
10577 2004-10-13 14:18  pbartok
10579         * XplatUIWin32.cs:
10580           - Added code to destroy a window
10582 2004-10-13 14:12  pbartok
10584         * ButtonBase.cs:
10585           - Added the Redraw on Resize that got dropped in the last rev
10587 2004-10-13 09:06  pbartok
10589         * ThemeWin32Classic.cs:
10590           - Path from John BouAntoun:
10591             * Fix check rendering (centre correctly for normal style, offset
10592               correctly for FlatStyle).
10593             * Fix border color usage (use backcolor) for FlatStyle.Popup
10594             * Use checkbox.Capture instead of checkbox.is_pressed when
10595               rendering flatstyle states.
10597 2004-10-12 21:48  pbartok
10599         * ThemeWin32Classic.cs:
10600           - Removed all occurences of SystemColors and replaced them with the
10601             matching theme color
10603 2004-10-12 21:41  pbartok
10605         * ThemeWin32Classic.cs:
10606           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10607             him using the function for flatstyle drawing
10608           - Changed functions to use the new version of CPDrawBorder3D
10610 2004-10-12 21:15  pbartok
10612         * ControlPaint.cs:
10613           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10614             match MS documentation. They need to return defined colors if the
10615             passed color matches the configured control color. Thanks to John
10616             BouAntoun for pointing this out.
10618 2004-10-12 20:57  pbartok
10620         * Control.cs:
10621           - Fix from John BouAntoun: Raise ForeColorChanged event when text
10622             color is changed
10624 2004-10-12 20:46  pbartok
10626         * CheckBox.cs:
10627           - Fix from John BouAntoun: Now properly sets the Appearance property
10629 2004-10-12 20:45  pbartok
10631         * ThemeWin32Classic.cs:
10632           - Fixes from John BouAntoun: now handles forecolors and backcolors
10633             for flatstyle rendered controls much better; It also fixes normal
10634             checkbox rendering when pushed or disabled.
10636 2004-10-08 02:50  jordi
10638         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10639           work
10641 2004-10-07 08:56  jordi
10643         * ThemeWin32Classic.cs: Removes deletion of cached brushes
10645 2004-10-06 03:59  jordi
10647         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10648           XplatUIWin32.cs: removes warnings from compilation
10650 2004-10-05 12:23  jackson
10652         * RadioButton.cs: Fix ctor
10654 2004-10-05 11:10  pbartok
10656         * MessageBox.cs:
10657           - Partial implementation by Benjamin Dasnois
10659 2004-10-05 10:15  jackson
10661         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10662           by John BouAntoun
10664 2004-10-05 03:07  ravindra
10666         * ToolBar.cs:
10667                 - Removed a private method, Draw ().
10668                 - Fixed the ButtonDropDown event handling.
10669                 - Fixed MouseMove event handling.
10671 2004-10-05 03:04  ravindra
10673         * ThemeWin32Classic.cs:
10674                 - Added DrawListView method and ListViewDefaultSize property.
10675                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10676                 - Changed DOS style CRLF to Unix format (dos2unix).
10678 2004-10-05 03:03  ravindra
10680         * Theme.cs:
10681                 - Added DrawListView method and ListViewDefaultSize property.
10683 2004-10-05 02:42  ravindra
10685         * ToolBarButton.cs: Added an internal member dd_pressed to handle
10686           clicks on DropDown arrow.
10688 2004-10-04 22:56  jackson
10690         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10691           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10692           Control handle the buffers, derived classes should not have to
10693           CreateBuffers themselves.
10695 2004-10-04 21:20  jackson
10697         * StatusBar.cs: The control handles resizing the buffers now.
10699 2004-10-04 21:18  jackson
10701         * Control.cs: When resizing the buffers should be invalidated. This
10702           should be handled in Control not in derived classes.
10704 2004-10-04 14:45  jackson
10706         * TabPage.cs: oops
10708 2004-10-04 02:14  pbartok
10710         * LeftRightAlignment.cs:
10711           - Initial check-in
10713 2004-10-04 01:09  jordi
10715         * ThemeWin32Classic.cs: fixes right button position causing right
10716           button not showing on horizontal scrollbars
10718 2004-10-02 13:12  pbartok
10720         * XplatUIX11.cs:
10721           - Simplified the Invalidate method by using an X call instead of
10722             generating the expose ourselves
10723           - Added an expose when the window background is changed
10724           - Implemented ClientToScreen method
10726 2004-10-02 13:08  pbartok
10728         * XplatUIWin32.cs:
10729           - Added Win32EnableWindow method (test for implementing modal
10730           dialogs)
10731           - Added ClientToScreen method and imports
10733 2004-10-02 13:07  pbartok
10735         * XplatUI.cs, XplatUIDriver.cs:
10736           - Added ClientToScreen coordinate translation method
10738 2004-10-02 13:06  pbartok
10740         * KeyPressEventArgs.cs:
10741           - Fixed access level for constructor
10743 2004-10-02 13:06  pbartok
10745         * NativeWindow.cs:
10746           - Changed access level for the window_collection hash table
10748 2004-10-02 13:05  pbartok
10750         * Form.cs:
10751           - Added KeyPreview property
10752           - Added Menu property (still incomplete, pending Jordi's menu work)
10753           - Implemented ProcessCmdKey
10754           - Implemented ProcessDialogKey
10755           - Implemented ProcessKeyPreview
10757 2004-10-02 13:02  pbartok
10759         * Control.cs:
10760           - Added private method to get the Control object from the window
10761           handle
10762           - Implemented ContextMenu property
10763           - Implemented PointToScreen
10764           - Implemented PreProcessMessage
10765           - Implemented IsInputChar
10766           - Implemented IsInputKey
10767           - Implemented ProcessCmdKey
10768           - Completed ProcessKeyEventArgs
10769           - Fixed message loop to call the proper chain of functions on key
10770           events
10771           - Implemented ProcessDialogChar
10772           - Implemented ProcessDialogKey
10773           - Implemented ProcessKeyMessage
10774           - Implemented ProcessKeyPreview
10775           - Added RaiseDragEvent stub (MS internal method)
10776           - Added RaiseKeyEvent stub (MS internal method)
10777           - Added RaiseMouseEvent stub (MS Internal method)
10778           - Added RaisePaintEvent stub (MS Internal method)
10779           - Added ResetMouseEventArgs stub (MS Internal method)
10780           - Implemented RtlTranslateAlignment
10781           - Implemented RtlTranslateContent
10782           - Implemented RtlTranslateHorizontal
10783           - Implemented RtlTranslateLeftRight
10784           - Added generation of KeyPress event
10786 2004-10-02 05:57  ravindra
10788         * ListViewItem.cs: Added attributes.
10790 2004-10-02 05:32  ravindra
10792         * ListView.cs: Added attributes.
10794 2004-10-01 11:53  jackson
10796         * Form.cs: Implement the Close method so work on MessageBox can
10797           continue.
10799 2004-09-30 14:06  pbartok
10801         * XplatUIX11.cs:
10802           - Bug fixes
10804 2004-09-30 11:34  jackson
10806         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10808 2004-09-30 07:26  ravindra
10810         * ListViewItemConverter.cs: Converter for ListViewItem.
10812 2004-09-30 07:26  ravindra
10814         * SortOrder.cs: Enum for ListView control.
10816 2004-09-30 07:25  ravindra
10818         * ColumnHeader.cs: Supporting class for ListView control.
10820 2004-09-30 07:24  ravindra
10822         * ListView.cs, ListViewItem.cs: Initial implementation.
10824 2004-09-30 07:20  ravindra
10826         * ItemActivation.cs: Enum for ListView Control.
10828 2004-09-29 20:29  pbartok
10830         * XplatUIX11.cs:
10831           - Added lookup of pixel value for background color; tries to get a
10832             color 'close' to the requested color, it avoids having to create a
10833             colormap.  Depending on the display this could mean the used color
10834             is slightly off the desired color. Might have to change it to a more
10835             resource intensive colormap approach, but it will work as a
10836           workaround to avoid red screens.
10838 2004-09-29 14:27  jackson
10840         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10842 2004-09-28 12:44  pbartok
10844         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10845           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10846           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10847           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10848           TrackBar.cs, VScrollBar.cs:
10849           - Streamlined Theme interfaces:
10850             * Each DrawXXX method for a control now is passed the object for
10851               the control to be drawn in order to allow accessing any state the
10852               theme might require
10854             * ControlPaint methods for the theme now have a CP prefix to avoid
10855               name clashes with the Draw methods for controls
10857             * Every control now retrieves it's DefaultSize from the current
10858             theme
10860 2004-09-28 12:17  jackson
10862         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10863           drawing
10865 2004-09-24 14:57  jackson
10867         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10868           Gives us a nice little performance boost.
10870 2004-09-24 12:02  jackson
10872         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10873           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10874           Control and supporting classes. Initial checkin
10876 2004-09-23 13:08  jackson
10878         * Form.cs: Temp build fixage
10880 2004-09-23 01:39  ravindra
10882         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10883           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10884           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10885           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10886           EventHandlers needed by ListView Control.
10888 2004-09-22 14:12  pbartok
10890         * ScrollableControl.cs:
10891           - Implemented DockPadding property
10892           - Implemented AutoScroll property
10893           - Implemented AutoScrollMargin property
10894           - Implemented AutoScrollMinSize property
10895           - Implemented AutoScrollPosition property
10896           - Implemented DisplayRectangle property (still incomplete)
10897           - Implemented CreateParams property
10898           - Implemented HScroll property
10899           - Implemented VScroll property
10900           - Implemented OnVisibleChanged property
10902 2004-09-22 14:09  pbartok
10904         * Form.cs:
10905           - Added Form.ControllCollection class
10906           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10907             RemoveOwnedForm (still incomplete, missing on-top and common
10908             minimize/maximize behaviour)
10909           - Added StartPosition property (still incomplete, does not use when
10910             creating the form)
10911           - Added ShowDialog() methods (still incomplete, missing forcing the
10912             dialog modal)
10914 2004-09-22 14:05  pbartok
10916         * Application.cs:
10917           - Added message loop for modal dialogs
10919 2004-09-22 14:02  pbartok
10921         * GroupBox.cs:
10922           - Fixed wrong types for events
10924 2004-09-22 14:00  pbartok
10926         * Shortcut.cs, FormWindowState.cs:
10927           - Fixed wrong values
10929 2004-09-22 12:01  jackson
10931         * Control.cs: Text is never null
10933 2004-09-20 22:14  pbartok
10935         * XplatUIWin32.cs:
10936           - Fixed accessibility level for Idle handler
10938 2004-09-20 18:54  jackson
10940         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10941           XplatUIX11.cs: New message loop that uses poll so we don't get a
10942           busy loop
10944 2004-09-17 10:43  pbartok
10946         * ScrollBar.cs:
10947           - Fixed behaviour of arrow buttons. Now properly behaves like
10948             Buttons (and like Microsoft's scrollbar arrow buttons)
10950 2004-09-17 10:14  pbartok
10952         * ScrollBar.cs:
10953           - Added missing release of keyboard/mouse capture
10955 2004-09-17 06:18  jordi
10957         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10958           Theme.cs: Very early menu support
10960 2004-09-16 17:45  pbartok
10962         * XplatUIWin32.cs:
10963           - Fixed sending a window to the front
10964           - Added overload for SetWindowPos to avoid casting
10966 2004-09-16 17:44  pbartok
10968         * Control.cs:
10969           - Added SendToBack and BringToFront methods
10971 2004-09-16 07:00  ravindra
10973         * Copyright: Added Novell URL.
10975 2004-09-16 07:00  ravindra
10977         * ToolBar.cs: Invalidate should be done before redrawing.
10979 2004-09-15 21:19  ravindra
10981         * ColumnHeaderStyle.cs: Enum for ListView Control.
10983 2004-09-15 21:18  ravindra
10985         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10986           ListView Control.
10988 2004-09-13 18:26  jackson
10990         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10991           properly
10993 2004-09-13 18:13  jackson
10995         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10996           a second thread and post messages into the main threads message
10997           queue. This makes timing much more consistent. Both win2K and XP
10998           have a minimum timer value of 15 milliseconds, so we now do this
10999           too.
11001 2004-09-13 15:18  pbartok
11003         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11004           XplatUIX11.cs:
11005           - Added Z-Ordering methods
11007 2004-09-13 10:56  pbartok
11009         * Form.cs:
11010           - Fixed #region names
11011           - Moved properties and methods into their proper #regions
11013 2004-09-13 10:51  pbartok
11015         * Form.cs:
11016           - Added Accept and CancelButton properties
11017           - Added ProcessDialogKey() method
11019 2004-09-13 08:18  pbartok
11021         * IWindowTarget.cs:
11022           - Initial check-in
11024 2004-09-10 21:50  pbartok
11026         * Control.cs:
11027           - Added DoDragDrop() [incomplete]
11028           - Properly implemented 'Visible' handling
11029           - Added SetVisibleCore()
11030           - Implemented FindChildAtPoint()
11031           - Implemented GetContainerControl()
11032           - Implemented Hide()
11034 2004-09-10 19:28  pbartok
11036         * Control.cs:
11037           - Moved methods into their appropriate #regions
11038           - Reordered methods within regions alphabetically
11040 2004-09-10 18:57  pbartok
11042         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11043           - Added method to retrieve text from window
11045 2004-09-10 18:56  pbartok
11047         * Control.cs:
11048           - Moved some internal functions into the internal region
11049           - Implemented FontHeight
11050           - Implemented RenderRightToLeft
11051           - Implemented ResizeRedraw
11052           - Implemented ShowFocusCues
11053           - Implemented ShowKeyboardCues
11054           - Implemented FromChildHandle
11055           - Implemented FromHandle
11056           - Implemented IsMnemonic
11057           - Implemented ReflectMessage
11058           - All public and protected Static Methods are now complete
11060 2004-09-10 16:54  pbartok
11062         * Control.cs:
11063           - Implemented remaining missing public instance properties
11064           - Alphabetized some out of order properties
11066 2004-09-10 05:51  ravindra
11068         * PictureBox.cs: Added a check for null image.
11070 2004-09-10 00:59  jordi
11072         * GroupBox.cs: remove cvs tag
11074 2004-09-09 05:25  ravindra
11076         * ToolBar.cs: Make redraw accessible from ToolBarButton.
11078 2004-09-09 05:23  ravindra
11080         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11081           parent redraw.
11083 2004-09-09 02:28  pbartok
11085         * ThemeWin32Classic.cs:
11086           - Improve disabled string look
11088 2004-09-09 01:15  jordi
11090         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11091           args and handler
11093 2004-09-08 23:56  ravindra
11095         * ItemBoundsPortion.cs: It's enum, not a class!
11097 2004-09-08 23:47  ravindra
11099         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11100           Enums for Form.
11102 2004-09-08 21:13  ravindra
11104         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11105           ListView control.
11107 2004-09-08 21:03  ravindra
11109         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11110           avoid crash.
11112 2004-09-08 21:01  ravindra
11114         * ScrollableControl.cs: Removed unreachable code.
11116 2004-09-08 06:45  jordi
11118         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11120 2004-09-08 01:00  jackson
11122         * XplatUIX11.cs: Only run the timers when updating the message
11123           queue. This effectively gives X messages a higher priority then
11124           timer messages. Timers still need love though
11126 2004-09-07 14:01  jackson
11128         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11129           this for us and the handle is no longer valid.
11131 2004-09-07 13:59  jackson
11133         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11134           loop that manages to not crash. TODO: Add poll and cleanup timers
11136 2004-09-07 11:12  jordi
11138         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11140 2004-09-07 03:40  jordi
11142         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11143           fixes, methods, multiple links
11145 2004-09-06 06:55  jordi
11147         * Control.cs: Caches ClientRectangle rectangle value
11149 2004-09-05 02:03  jordi
11151         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11152           certain situations
11154 2004-09-04 11:10  jordi
11156         * Label.cs: Refresh when font changed
11158 2004-09-02 16:24  pbartok
11160         * Control.cs:
11161           - Added sanity check to creation of double buffer bitmap
11163 2004-09-02 16:24  pbartok
11165         * ButtonBase.cs:
11166           - Fixed selection of text color
11167           - Fixed handling of resize event; now properly recreates double
11168             buffering bitmap
11169           - Added missing assignment of TextAlignment
11170           - Added proper default for TextAlignment
11172 2004-09-02 14:26  pbartok
11174         * RadioButton.cs:
11175           - Added missing RadioButton.RadioButtonAccessibleObject class
11177 2004-09-02 14:26  pbartok
11179         * Control.cs:
11180           - Added missing Control.ControlAccessibleObject class
11181           - Started to implement Select()ion mechanisms, still very incomplete
11183 2004-09-02 14:25  pbartok
11185         * AccessibleObject.cs:
11186           - Added missing methods
11188 2004-09-02 14:23  pbartok
11190         * AccessibleNavigation.cs, AccessibleSelection.cs:
11191           - Initial check-in
11193 2004-09-02 10:32  jordi
11195         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11196           pool for pens, brushes, and hatchbruses
11198 2004-09-01 15:30  jackson
11200         * StatusBar.cs: Fix typo
11202 2004-09-01 14:44  pbartok
11204         * RadioButton.cs:
11205           - Fixed state
11207 2004-09-01 14:39  pbartok
11209         * Button.cs, RadioButton.cs:
11210           - Functional initial check-in
11212 2004-09-01 14:01  pbartok
11214         * CheckBox.cs:
11215           - Added missing default
11216           - Added missing region mark
11218 2004-09-01 09:10  jordi
11220         * Label.cs: fixes method signatures, new methods, events, fixes
11221           autosize
11223 2004-09-01 07:19  jordi
11225         * Control.cs: Init string variables with an empty object
11227 2004-09-01 04:20  jordi
11229         * Control.cs: fires OnFontChanged event
11231 2004-08-31 20:07  pbartok
11233         * ButtonBase.cs:
11234           - Enabled display of strings
11236 2004-08-31 20:05  pbartok
11238         * Form.cs:
11239           - Added (partial) implementation of DialogResult; rest needs to be
11240             implemented when the modal loop code is done
11242 2004-08-31 19:55  pbartok
11244         * CheckBox.cs:
11245           - Fixed to match the removal of the needs_redraw concept
11247 2004-08-31 19:55  pbartok
11249         * ButtonBase.cs:
11250           - Removed the rather odd split between 'needs redraw' and redrawing
11251           - Now handles the events that require regeneration (ambient
11252             properties and size)
11254 2004-08-31 19:41  pbartok
11256         * Control.cs:
11257           - Added firing of BackColorChanged event
11258           - Added TopLevelControl property
11259           - Fixed handling of WM_ERASEBKGRND message
11261 2004-08-31 12:49  pbartok
11263         * ButtonBase.cs:
11264           - Removed debug
11265           - Minor fixes
11267 2004-08-31 12:48  pbartok
11269         * CheckBox.cs:
11270           - Finished (famous last words)
11272 2004-08-31 04:35  jordi
11274         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11275           scrolling bugs, adds new methods
11277 2004-08-30 14:42  pbartok
11279         * CheckBox.cs:
11280           - Implemented CheckBox drawing code
11282 2004-08-30 14:42  pbartok
11284         * ButtonBase.cs:
11285           - Made Redraw() and CheckRedraw() virtual
11286           - Improved mouse up/down/move logic to properly track buttons
11288 2004-08-30 09:44  pbartok
11290         * CheckBox.cs:
11291           - Updated to fix broken build. Not complete yet.
11293 2004-08-30 09:28  pbartok
11295         * CheckState.cs:
11296           - Initial checkin
11298 2004-08-30 09:17  pbartok
11300         * Appearance.cs:
11301           - Initial check-in
11303 2004-08-27 16:12  ravindra
11305         * ToolBarButton.cs: Added TypeConverter attribute.
11307 2004-08-27 16:07  ravindra
11309         * ImageIndexConverter.cs: Implemented.
11311 2004-08-27 14:17  pbartok
11313         * Control.cs:
11314           - Removed unneeded stack vars
11315           - First attempt to fix sizing issues when layout is suspended
11317 2004-08-25 15:35  jordi
11319         * ScrollBar.cs: more fixes to scrollbar
11321 2004-08-25 14:04  ravindra
11323         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11324           Added the missing divider code and grip for ToolBar Control.
11326 2004-08-25 13:20  pbartok
11328         * Control.cs:
11329           - Control now properly passes the ambient background color to child
11330             controls
11332 2004-08-25 13:20  jordi
11334         * ScrollBar.cs: small bug fix regarding bar position
11336 2004-08-25 12:33  pbartok
11338         * Timer.cs:
11339           - Now only calls SetTimer or KillTimer if the enabled state has
11340           changed
11342 2004-08-25 12:33  pbartok
11344         * XplatUIWin32.cs:
11345           - Fixed timer handling, now seems to work
11346           - Improved error message for window creation
11348 2004-08-25 12:32  pbartok
11350         * Control.cs:
11351           - Fixed generation of MouseUp message
11353 2004-08-25 12:29  jordi
11355         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11356           and fixes for progressbar
11358 2004-08-24 18:43  ravindra
11360         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11361           in ToolBar control.
11363 2004-08-24 17:15  pbartok
11365         * Panel.cs:
11366           - Added #region
11367           - Added missing events
11368           - Alphabetized
11370 2004-08-24 17:14  pbartok
11372         * StatusBar.cs, PictureBox.cs:
11373           - Now uses Control's CreateParams
11375 2004-08-24 16:36  pbartok
11377         * XplatUIX11.cs:
11378           - Fixed background color handling
11379           - Fixed sending of enter/leave events on a grab
11381 2004-08-24 16:35  pbartok
11383         * X11Structs.cs:
11384           - Refined definitions for CrossingEvent
11386 2004-08-24 12:37  jordi
11388         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11389           formmating, methods signature, and adds missing events
11391 2004-08-24 12:24  jordi
11393         * Control.cs: fire OnEnabledChanged event
11395 2004-08-24 11:17  pbartok
11397         * XplatUIWin32.cs:
11398           - Implemented SetTimer() and KillTimer()
11400 2004-08-24 11:16  pbartok
11402         * XplatUIX11.cs:
11403           - Now uses Remove instead of Add to kill the timer
11405 2004-08-24 10:16  jackson
11407         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11408           picture boxes in the theme now. Draw picture box borders and obey
11409           sizing modes
11411 2004-08-24 05:49  jackson
11413         * Timer.cs: Remove top secret debugging code
11415 2004-08-24 05:34  jackson
11417         * PictureBox.cs: Temp hack to make picture boxes draw their full
11418           image
11420 2004-08-24 05:29  jackson
11422         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11423           XplatUIX11.cs: Move timers to the driver level. On X they are
11424           queued by the driver and checked on idle.
11426 2004-08-24 01:07  jackson
11428         * XplatUIX11.cs: Use a queue for async messages instead of passing
11429           them as ClientMessages since that was totally broken. Also simply
11430           check for events and return an idle message if none are found. This
11431           gives us an idle handler, and prevents deadlocking when no messages
11432           are in the queue.
11434 2004-08-23 18:19  ravindra
11436         * XplatUIWin32.cs: Removed the unwanted destructor.
11438 2004-08-23 17:27  pbartok
11440         * ButtonBase.cs:
11441           - Finishing touches. Works now, just needs some optimizations.
11443 2004-08-23 16:53  jordi
11445         * ScrollBar.cs: small fix
11447 2004-08-23 16:45  pbartok
11449         * Application.cs:
11450           - Removed debug output
11451           - Simplifications
11453 2004-08-23 16:43  jordi
11455         * ScrollBar.cs: [no log message]
11457 2004-08-23 16:10  pbartok
11459         * Form.cs:
11460           - Fixed handling of WM_CLOSE message
11461           - Removed debug output
11463 2004-08-23 16:09  pbartok
11465         * Application.cs:
11466           - Added handling of Idle event
11467           - Added handling of form closing
11468           - Fixed reporting of MessageLoop property
11469           - Removed some unneeded code, should provide a bit of a speedup
11471 2004-08-23 15:22  pbartok
11473         * Control.cs:
11474           - Added InitLayout() method
11475           - Added code to properly perform layout when Anchor or Dock property
11476             is changed
11477           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11478             LAMESPEC, tried to do it in a way that makes sense
11480 2004-08-23 14:10  jordi
11482         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11483           properties and methods
11485 2004-08-23 13:55  pbartok
11487         * Control.cs:
11488           - Properly fixed Jordi's last fix
11489           - Now uses Cursor's Position property instead of calling XplatUI
11490           directly
11492 2004-08-23 13:44  jordi
11494         * PaintEventHandler.cs: Adding missing attribute
11496 2004-08-23 13:39  pbartok
11498         * Cursor.cs:
11499           - Implemented Position property
11501 2004-08-23 13:39  pbartok
11503         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11504           - Added method to move mouse cursor
11506 2004-08-23 13:39  pbartok
11508         * XplatUIX11.cs:
11509           - Fixed setting of background color
11510           - Added method to move mouse cursor
11512 2004-08-23 13:16  jordi
11514         * Control.cs: avoids null exception
11516 2004-08-22 17:46  jackson
11518         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11519           PictureBox
11521 2004-08-22 17:40  jackson
11523         * XplatUIX11.cs: Add some missing locks
11525 2004-08-22 15:10  pbartok
11527         * Control.cs, Form.cs:
11528           - Removed OverlappedWindow style from Control, instead it's default
11529             now is child
11530           - Made form windows OverlappedWindow by default
11532 2004-08-22 13:34  jackson
11534         * ScrollBar.cs: Update the position through the Value property so
11535           the OnValueChanged event is raised.
11537 2004-08-22 12:04  pbartok
11539         * SWF.csproj:
11540           - Added Cursor.cs and UserControl.cs
11542 2004-08-22 12:03  pbartok
11544         * Cursor.cs:
11545           - Started implementation, not usable yet
11547 2004-08-22 12:00  pbartok
11549         * UserControl.cs:
11550           - Implemented UserControl (complete)
11552 2004-08-21 19:20  ravindra
11554         * ToolBar.cs: Correcting the formatting mess of VS.NET.
11556 2004-08-21 18:49  ravindra
11558         * ToolBar.cs: Probably this completes the missing attributes in
11559           toolbar control.
11561 2004-08-21 18:03  ravindra
11563         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11564           Fixed toolbar control signatures.
11566 2004-08-21 16:32  pbartok
11568         * LinkLabel.cs:
11569           - Signature Fixes
11571 2004-08-21 16:30  pbartok
11573         * Label.cs:
11574           - Signature fixes
11576 2004-08-21 16:19  pbartok
11578         * Control.cs, Label.cs:
11579           - Signature fixes
11581 2004-08-21 15:57  pbartok
11583         * ButtonBase.cs:
11584           - Added loads of debug output for development
11585           - Fixed typo in method name
11587 2004-08-21 15:52  pbartok
11589         * ToolBarButtonClickEventArgs.cs:
11590           - Added missing base class
11592 2004-08-21 14:53  pbartok
11594         * Control.cs:
11595           - Updated to match new GrabWindow signature
11597 2004-08-21 14:51  pbartok
11599         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11600           - Added method to get default display size
11602 2004-08-21 14:23  pbartok
11604         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11605           - Added method to query current grab state
11606           - Added argument to allow confining a grab to a window
11608 2004-08-21 14:22  pbartok
11610         * Keys.cs:
11611           - Added [Flags] attribute so that modifiers can be used in bitwise
11612           ops
11614 2004-08-21 14:21  pbartok
11616         * TrackBar.cs, ScrollBar.cs:
11617           - Replaced direct XplatUI calls with their Control counterpart
11619 2004-08-21 13:32  pbartok
11621         * Control.cs:
11622           - Implemented Created property
11624 2004-08-21 13:28  pbartok
11626         * Control.cs:
11627           - Implemented ContainsFocus
11629 2004-08-21 13:26  pbartok
11631         * Control.cs:
11632           - Implemented CausesValidation
11634 2004-08-21 13:21  pbartok
11636         * Control.cs:
11637           - Implemented CanFocus
11638           - Implemented CanSelect
11639           - Implemented Capture
11641 2004-08-21 12:35  pbartok
11643         * XplatUIWin32.cs:
11644           - Fixed bug with Async message handling
11645           - Implemented getting the ModifierKeys
11647 2004-08-21 12:32  jackson
11649         * AsyncMethodResult.cs: Make sure we have the mutex before we
11650           release it. Fixes BeginInvoke on windows
11652 2004-08-21 11:31  pbartok
11654         * XplatUIWin32.cs, XplatUIX11.cs:
11655           - Drivers now return proper mouse state
11657 2004-08-21 10:54  jackson
11659         * Control.cs: Implement EndInvoke
11661 2004-08-21 10:48  jackson
11663         * Timer.cs: Remove unneeded finalizer
11665 2004-08-20 19:52  ravindra
11667         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11668           in mouse event handling in the ToolBar control.
11670 2004-08-20 19:50  ravindra
11672         * ImageList.cs: Changed draw method to use the arguments passed in
11673           to draw the image.
11675 2004-08-20 18:58  pbartok
11677         * XplatUIStructs.cs:
11678           - Added private message for async communication
11680 2004-08-20 17:38  ravindra
11682         * Control.cs: Made RightToLeft property virtual and removed a
11683           Console.WriteLine.
11685 2004-08-20 14:39  jordi
11687         * ThemeGtk.cs: use style_attach
11689 2004-08-20 14:39  pbartok
11691         * XplatUIWin32.cs:
11692           - Added jackson's Async code from X11 to Win32
11694 2004-08-20 14:09  pbartok
11696         * SWF.csproj:
11697           - Added all new files
11699 2004-08-20 14:09  pbartok
11701         * Control.cs:
11702           - Added call to set window background color
11704 2004-08-20 14:03  pbartok
11706         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11707           - Added method for setting the window background
11709 2004-08-20 14:02  pbartok
11711         * XplatUIWin32.cs:
11712           - Added method for setting the background color
11713           - Added handling for erasing the window background
11715 2004-08-20 13:45  jordi
11717         * TrackBar.cs: fixes timer, new properties and methods
11719 2004-08-20 13:34  jackson
11721         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11722           correct thread
11724 2004-08-20 13:22  jackson
11726         * Timer.cs: Timer Tick events are now handed through Controls Async
11727           mechanism so the callbacks are executed in the same thread as X
11729 2004-08-20 13:19  jackson
11731         * XplatUIDriver.cs: Expose functionality to send async messages
11732           through the driver
11734 2004-08-20 13:18  jackson
11736         * Control.cs: Implement Begininvoke
11738 2004-08-20 13:14  jackson
11740         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11741           messages through the driver
11743 2004-08-20 13:12  jackson
11745         * XplatUIX11.cs: Lock before all X operations. Also added Async
11746           method functionality through XSendEvent
11748 2004-08-20 13:11  jackson
11750         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11751           This will screw up on 64 bit systems)
11753 2004-08-20 13:10  jackson
11755         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11756           Async messages through X/Win32
11758 2004-08-19 19:39  pbartok
11760         * XplatUIX11.cs:
11761           - Updated code to match new HandleData.DeviceContext type
11763 2004-08-19 19:38  pbartok
11765         * HandleData.cs:
11766           - Made DeviceContext a generic object to allow usage from various
11767           drivers
11768           - Added support for queueing Windows messages
11770 2004-08-19 19:37  pbartok
11772         * XplatUIWin32.cs:
11773           - Added generation of MouseEnter, MouseLeave and MouseHover events
11774           - Added cleanup on EndPaint
11776 2004-08-19 19:17  pbartok
11778         * Control.cs:
11779           - Added handling of WM_MOUSEHOVER
11780           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11781           code
11783 2004-08-19 18:55  jordi
11785         * ThemeGtk.cs: fixes button order
11787 2004-08-19 18:12  jordi
11789         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11791 2004-08-19 17:09  pbartok
11793         * Control.cs:
11794           - Added Right property
11795           - Added RightToLeft property
11797 2004-08-19 16:27  jordi
11799         * ThemeGtk.cs: experimental GTK theme support
11801 2004-08-19 16:26  jordi
11803         * ITheme.cs, Theme.cs: move themes from an interface to a class
11805 2004-08-19 16:25  jordi
11807         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11808           theme enhancaments
11810 2004-08-19 16:04  pbartok
11812         * XplatUIX11.cs:
11813           - Added colormap basics
11814           - Added a way to re-initialize with a different display handle
11815           - Fixed setting of the window background color
11816           - Added various X11 imports related to colors and colormaps
11818 2004-08-19 15:51  pbartok
11820         * X11Structs.cs:
11821           - Removed packing hints (Paolo suggested this a while back)
11822           - fixed colormap type
11823           - Added default Atom types
11824           - Added Screen and color structs and enums
11826 2004-08-19 15:39  pbartok
11828         * ImageList.cs:
11829           - Added missing Draw() method
11830           - Added missing RecreateHandle event
11832 2004-08-19 15:30  pbartok
11834         * Form.cs:
11835           - Added handling of WM_CLOSE
11837 2004-08-18 13:16  jordi
11839         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11840           a table
11842 2004-08-18 09:56  jordi
11844         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11846 2004-08-17 15:31  ravindra
11848         * SWF.csproj: Updated project.
11850 2004-08-17 15:25  pbartok
11852         * Control.cs:
11853           - Drawing improvement; don't call UpdateBounds if we are not visible
11854             (or have been minimized)
11856 2004-08-17 15:24  pbartok
11858         * XplatUIWin32.cs:
11859           - Finished IsVisible
11860           - Added Win32GetWindowPlacement
11862 2004-08-17 15:08  jackson
11864         * Panel.cs: Initial checkin of the Panel
11866 2004-08-17 14:25  pbartok
11868         * Control.cs:
11869           - Fixed broken handling of default window sizes
11871 2004-08-17 13:29  jackson
11873         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11874           has a large startup time.
11876 2004-08-17 10:25  jackson
11878         * HandleData.cs: union areas properly
11880 2004-08-17 10:12  jackson
11882         * HandleData.cs: union areas properly
11884 2004-08-16 20:00  ravindra
11886         * ToolBar.cs, ToolBarButton.cs: Added attributes.
11888 2004-08-16 18:48  ravindra
11890         * ToolBar.cs: Added attributes.
11892 2004-08-16 17:17  ravindra
11894         * SWF.csproj: Updated project.
11896 2004-08-16 17:16  jackson
11898         * XplatUIX11.cs: Check for more expose events before sending a
11899           WM_PAINT so they can all be grouped together. This makes dragging a
11900           window across another window redraw in a sane way.
11902 2004-08-16 15:47  pbartok
11904         * Control.cs:
11905           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11906             support OnMouseEnter/Leave()
11907           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11908             exposure handling
11910 2004-08-16 15:46  pbartok
11912         * XplatUIStructs.cs, XplatUIX11.cs:
11913           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11914           OnMouseEnter/Leave()
11916 2004-08-16 15:34  jackson
11918         * XplatUIX11.cs: Group multiple expose events in HandleData, make
11919           sure messages get the message field set to WM_NULL if they are not
11920           handled.
11922 2004-08-16 15:24  jackson
11924         * HandleData.cs: HandleData is used for storing message information
11925           for window handles
11927 2004-08-15 17:23  ravindra
11929         * ColorDepth.cs: Added attribute.
11931 2004-08-15 17:23  ravindra
11933         * SWF.csproj: Updated project for ToolBar Control.
11935 2004-08-15 17:20  ravindra
11937         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11938           control and also dos2unix format.
11940 2004-08-15 17:13  ravindra
11942         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11943           ToolBarButtonClickEventArgs.cs,
11944           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11945           ToolBarTextAlign.cs: First Implementation of ToolBar control.
11947 2004-08-15 15:31  pbartok
11949         * ButtonBase.cs:
11950           - First (mostly) working version
11952 2004-08-13 16:15  pbartok
11954         * Control.cs:
11955           - Fixed Anchor default
11957 2004-08-13 15:43  pbartok
11959         * Control.cs:
11960           - Changed GetCursorPos signature
11962 2004-08-13 15:42  pbartok
11964         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11965           - Changed signature for GetCursorPos
11967 2004-08-13 15:25  pbartok
11969         * XplatUIX11.cs:
11970           - Cleanup
11971           - Fixed resizing/exposure handling
11973 2004-08-13 15:22  jordi
11975         * ThemeWin32Classic.cs: removes redundant code and fixes issues
11976           with tickposition
11978 2004-08-13 14:55  jordi
11980         * TrackBar.cs: change from wndproc to events
11982 2004-08-13 13:00  jordi
11984         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11985           XplatUIX11.cs: implements PointToClient (ScreenToClient)
11987 2004-08-13 12:53  pbartok
11989         * XplatUIWin32.cs:
11990           - Changed GetWindowPos to also provide client area size
11991           - Fixed broken prototypes for several win32 functions
11993 2004-08-13 12:53  pbartok
11995         * XplatUI.cs, XplatUIDriver.cs:
11996           - Changed GetWindowPos to also provide client area size
11998 2004-08-13 12:52  pbartok
12000         * XplatUIX11.cs:
12001           - Added generation of WM_POSCHANGED
12002           - Changed GetWindowPos to also provide client area size
12004 2004-08-13 12:52  pbartok
12006         * Control.cs:
12007           - Added Dispose() and destructor
12008           - Fixed resizing and bounds calculation
12009           - Fixed Layout
12010           - Added memory savings for invisible windows
12012 2004-08-13 12:46  jordi
12014         * TrackBar.cs: adds timer and grap window
12016 2004-08-13 10:25  jackson
12018         * Timer.cs: SWF Timer
12020 2004-08-12 16:59  pbartok
12022         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12023           - Implemented method to get current mouse position
12025 2004-08-12 14:29  jordi
12027         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12028           enhancement, fix mouse problems, highli thumb, etc
12030 2004-08-12 13:31  pbartok
12032         * Control.cs:
12033           - Fixed Anchoring bugs
12035 2004-08-12 13:01  jackson
12037         * StatusBar.cs: Don't forget things
12039 2004-08-12 12:54  jackson
12041         * ThemeWin32Classic.cs: Handle owner draw status bars
12043 2004-08-12 12:54  jackson
12045         * StatusBar.cs: Implement missing properties, events, and methods.
12046           Handle mouse clicking
12048 2004-08-12 10:19  jackson
12050         * StatusBarPanelClickEventArgs.cs,
12051           StatusBarPanelClickEventHandler.cs: Classes for handling status
12052           bar panel click events
12054 2004-08-12 10:10  jackson
12056         * Control.cs: Add missing properties
12058 2004-08-12 09:46  pbartok
12060         * BindingsManagerBase.cs:
12061           - Name changed to BindingManagerBase.cs
12063 2004-08-12 09:25  jordi
12065         * ScrollableControl.cs: calls ctrlbase instead of exeception
12067 2004-08-11 16:28  pbartok
12069         * InputLanguageChangingEventArgs.cs:
12070           - Never check in before compiling. Fixes the last check-in
12072 2004-08-11 16:26  pbartok
12074         * InputLanguageChangingEventArgs.cs:
12075           - More signature fixes
12077 2004-08-11 16:20  pbartok
12079         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12080           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12081           ImageListStreamer.cs, InputLanguage.cs,
12082           InputLanguageChangedEventArgs.cs,
12083           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12084           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12085           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12086           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12087           - Signature fixes
12089 2004-08-11 16:16  pbartok
12091         * Application.cs:
12092           - Fixed Signature
12093           - Added .Net 1.1 method
12095 2004-08-11 15:25  pbartok
12097         * SWF.csproj:
12098           - Fixed BindingManagerBase.cs filename
12100 2004-08-11 15:22  pbartok
12102         * BindingManagerBase.cs:
12103           - Was checked in with wrong filename
12105 2004-08-11 14:50  pbartok
12107         * SWF.csproj:
12108           - Updated
12110 2004-08-11 13:41  jordi
12112         * XplatUIWin32.cs: Fixes ClientRect
12114 2004-08-11 13:19  pbartok
12116         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12117           XplatUIX11.cs:
12118           - We had SetWindowPos and MoveWindow to set window positions and
12119             size, removed MoveWindow. We have GetWindowPos, so it made sense to
12120             keep SetWindowPos as matching counterpart
12121           - Added some X11 sanity checking
12123 2004-08-11 12:59  pbartok
12125         * Control.cs:
12126           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12127             (It seems that SetBounds is just a front for SetBoundsCore and
12128              SetBoundsCore updates the underlying window system and
12129              UpdateBounds is responsible for updating the variables associated
12130              with the Control and sending the events)
12131           - Major cleanup of Size handling; we now have two sizes, client_size
12132             and bounds. Bounds defines the window with decorations, client_size
12133             without them.
12135 2004-08-11 12:55  pbartok
12137         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12138           - Added method to calculate difference between decorated window and
12139             raw client area
12141 2004-08-11 12:54  pbartok
12143         * Label.cs:
12144           - Forcing redraw on resize
12146 2004-08-11 11:43  pbartok
12148         * ImageList.cs:
12149           - Removed disposing of the actual images when the list is disposed
12151 2004-08-11 09:13  pbartok
12153         * Control.cs:
12154           - Now properly reparents windows
12156 2004-08-11 08:37  pbartok
12158         * Control.cs:
12159           - Duh!
12161 2004-08-11 07:47  pbartok
12163         * Control.cs:
12164           - Rewrote the collection stuff. Might not be as fast now, not
12165             keeping the number of children around and accessible directly, but
12166             it's more straightforward
12168 2004-08-11 07:44  pbartok
12170         * AccessibleObject.cs:
12171           - Fixed to match ControlCollection rewrite
12173 2004-08-11 07:43  pbartok
12175         * ImageList.cs:
12176           - Added missing creation of the collection list
12178 2004-08-10 20:08  jackson
12180         * StatusBar.cs: Get the paint message from WndProc
12182 2004-08-10 19:31  jackson
12184         * ThemeWin32Classic.cs: Create Brushes as little as possible
12186 2004-08-10 19:20  jackson
12188         * UICues.cs: Add Flags attribute
12190 2004-08-10 19:19  jackson
12192         * StatusBarPanel.cs: Signature cleanup
12194 2004-08-10 19:10  jackson
12196         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12197           Initial implementation of status bar item drawing
12199 2004-08-10 17:27  jordi
12201         * TrackBar.cs: add missing methods, properties, and restructure to
12202           hide extra ones
12204 2004-08-10 16:24  jackson
12206         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12207           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12208           attribute
12210 2004-08-10 13:21  jordi
12212         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12213           enhancements and standarize on win colors defaults
12215 2004-08-10 12:52  jackson
12217         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12218           ThemeWin32Classic.cs: Implement DrawItem functionality
12220 2004-08-10 12:47  jordi
12222         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12224 2004-08-10 12:32  jordi
12226         * Control.cs: throw ontextchange event
12228 2004-08-10 11:43  pbartok
12230         * Control.cs:
12231           - Added more to the still unfinished Dock/Anchor layout code
12233 2004-08-10 11:39  pbartok
12235         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12236           - Added GetWindowPos method
12238 2004-08-10 11:36  pbartok
12240         * XplatUIWin32.cs:
12241           - Implemented several methods
12243 2004-08-10 09:47  jackson
12245         * TrackBar.cs: Allow control to handle buffering
12247 2004-08-10 09:41  jackson
12249         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12251 2004-08-10 09:24  jackson
12253         * Label.cs, LinkLabel.cs: Let Control handle buffering.
12255 2004-08-10 09:09  jackson
12257         * StatusBar.cs: Let Control handle all the buffering.
12259 2004-08-10 09:08  jackson
12261         * Control.cs: Control will now handle the buffering code, so each
12262           control does not have to implement this.
12264 2004-08-10 08:34  jackson
12266         * XplatUIDriver.cs: Use default colors from the theme
12268 2004-08-09 17:12  pbartok
12270         * ImageList.cs:
12271           - Fixed several bugs Ravindra pointed out
12273 2004-08-09 16:11  pbartok
12275         * Control.cs:
12276           - Added incomplete dock layout code
12277           - Added support for mouse wheel
12279 2004-08-09 16:09  pbartok
12281         * XplatUIX11.cs:
12282           - Added handling for middle and right mousebutton
12283           - Added handling for mouse wheel
12284           - Added handling for key state and mouse state and position
12285           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12286           messages
12288 2004-08-09 15:40  jackson
12290         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12291           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12292           checkin
12294 2004-08-09 15:37  jackson
12296         * StatusBar.cs: Initial implementation of StatusBar
12298 2004-08-09 15:36  jackson
12300         * ITheme.cs: Add support for drawing status bar and getting status
12301           bar item sizes
12303 2004-08-09 15:35  pbartok
12305         * MouseButtons.cs:
12306           - Fixed values
12308 2004-08-09 15:34  jackson
12310         * ThemeWin32Classic.cs: Add support for drawing status bar and get
12311           status bar item sizes
12313 2004-08-09 15:21  jackson
12315         * ThemeWin32Classic.cs: Use known colors for default control
12316           colours
12318 2004-08-09 15:12  jackson
12320         * ThemeWin32Classic.cs: Make the default font static, it is static
12321           in control so this doesn't change functionality and creating fonts
12322           is sloooooow.
12324 2004-08-09 14:56  pbartok
12326         * X11Structs.cs:
12327           - Added GrabMode enum
12329 2004-08-09 14:55  pbartok
12331         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12332           - Removed Run method, was only required for initial development
12334 2004-08-09 14:51  pbartok
12336         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12337           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12338           capture
12340 2004-08-09 13:48  pbartok
12342         * XplatUIX11.cs:
12343           - Fixed default sizing for child windows
12345 2004-08-09 12:56  pbartok
12347         * XplatUIX11.cs:
12348           - Added generation of WM_DESTROY message
12349           - Added handling of window manager induced shutdown
12351 2004-08-09 11:31  jackson
12353         * ThemeWin32Classic.cs: New names for control properties
12355 2004-08-09 11:25  jackson
12357         * Control.cs: Use new color names
12359 2004-08-09 11:02  jackson
12361         * XplatUI.cs: Get default window properties from the theme
12363 2004-08-09 11:01  jackson
12365         * ITheme.cs: The theme engine now controls default window
12366           properties
12368 2004-08-09 11:00  jackson
12370         * ThemeWin32Classic.cs: Add default window color properties
12372 2004-08-09 10:17  jackson
12374         * ThemeWin32Classic.cs: Use correct default back color
12376 2004-08-09 10:05  jackson
12378         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12379           the theme now.
12381 2004-08-09 09:56  jackson
12383         * XplatUI.cs: Remove defaults, these are handled by the theme now.
12385 2004-08-09 09:54  jackson
12387         * Control.cs: Get default properties from the theme.
12389 2004-08-09 09:53  jackson
12391         * ITheme.cs: Themes now handle default control properties
12393 2004-08-09 09:53  jackson
12395         * ThemeWin32Classic.cs: Themes now handle default control
12396           properties so coloring will be consistent
12398 2004-08-08 16:54  jordi
12400         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12402 2004-08-08 15:08  jordi
12404         * XplatUIX11.cs: fixes keyboard crash
12406 2004-08-08 13:47  jordi
12408         * Label.cs: add cvs header info
12410 2004-08-08 12:09  jackson
12412         * ThemeWin32Classic.cs: Add pen_buttonface
12414 2004-08-08 11:52  jordi
12416         * Label.cs, LinkLabel.cs: [no log message]
12418 2004-08-08 11:34  jordi
12420         * ThemeWin32Classic.cs: Use Windows Standard Colours
12422 2004-08-07 17:32  jordi
12424         * TrackBar.cs: throw exceptions of invalid enums values
12426 2004-08-07 17:31  jordi
12428         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12429           draw method name
12431 2004-08-07 16:56  jackson
12433         * HorizontalAlignment.cs: Initial checkin
12435 2004-08-07 13:16  jordi
12437         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12438           methods
12440 2004-08-07 13:05  jordi
12442         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12443           GetSysColor defines
12445 2004-08-06 18:01  pbartok
12447         * ThemeWin32Classic.cs:
12448           - Fixed some rounding issues with float/int
12450 2004-08-06 18:00  jackson
12452         * DockStyle.cs, AnchorStyles.cs:
12454                   Add flags and serializable attributes.
12456 2004-08-06 17:46  pbartok
12458         * XplatUIX11.cs:
12459           - Implemented GetParent
12461 2004-08-06 17:18  pbartok
12463         * TrackBar.cs:
12464           - Fixed some rounding issues with float/int
12466 2004-08-06 17:17  pbartok
12468         * X11Structs.cs, XplatUIX11.cs:
12469           - Fixed Refresh and Invalidate
12471 2004-08-06 15:30  pbartok
12473         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12474           - Fixed recursive loop when resizing
12475           - Improved/fixed redrawing on expose messages
12477 2004-08-06 09:53  jordi
12479         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12480           keyboard navigation
12482 2004-08-06 08:02  pbartok
12484         * X11Structs.cs, XplatUIX11.cs:
12485           - Fixed reparenting
12486           - Fixed window border creation
12488 2004-08-05 15:38  pbartok
12490         * XplatUIX11.cs:
12491           - Attempted fix for reparenting problems
12493 2004-08-04 15:14  pbartok
12495         * Control.cs:
12496           - Fixed Invalidation bug (calculated wrong client area)
12497           - Added ClientSize setter
12499 2004-08-04 15:13  pbartok
12501         * Form.cs:
12502           - Added AutoScale properties
12504 2004-08-04 15:13  pbartok
12506         * SWF.csproj:
12507           - Added latest files
12509 2004-08-04 14:11  pbartok
12511         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12512           XplatUIX11.cs:
12513           - Added Invalidate handling
12515 2004-08-03 17:09  jordi
12517         * XplatUIDriver.cs: fixes spelling mistake
12519 2004-07-27 09:53  jordi
12521         * TrackBar.cs: fixes trackbar events, def classname, methods
12522           signature
12524 2004-07-27 09:29  jordi
12526         * ScrollBar.cs: fixes scrollbar events
12528 2004-07-27 04:38  jordi
12530         * Control.cs: changes to be able to run winforms samples
12532 2004-07-26 11:42  jordi
12534         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12535           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12537 2004-07-26 05:41  jordi
12539         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12540           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12541           implementation
12543 2004-07-22 09:22  jordi
12545         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12546           check link overlapping, implement events, and fixes
12548 2004-07-21 10:28  jordi
12550         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12552 2004-07-21 10:19  jordi
12554         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12555           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12556           LinkLabelLinkClickedEventArgs.cs,
12557           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12558           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12559           implementation
12561 2004-07-19 13:09  jordi
12563         * Control.cs, Label.cs: label control re-written: added missing
12564           functionlity, events, and properties
12566 2004-07-19 10:49  jordi
12568         * Control.cs: fixes SetBounds logic
12570 2004-07-19 01:29  jordi
12572         * Control.cs: Call RefreshWindow only if the window has created
12574 2004-07-15 14:05  pbartok
12576         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12577           - Implemented ImageList and ImageList.ImageCollection classes
12578           - Added ColorDepth enumeration
12579           - Updated SWF VS.Net project
12581 2004-07-15 11:06  jordi
12583         * XplatUIStructs.cs: added MsgButons enum
12585 2004-07-15 11:03  jordi
12587         * Control.cs: added basic mouse handeling events
12589 2004-07-15 03:38  jordi
12591         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12592           Vertical TrackBar control implementation
12594 2004-07-13 09:33  jordi
12596         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12598 2004-07-13 09:31  jordi
12600         * Control.cs, Form.cs: commit: new properties and fixes form size
12601           problems
12603 2004-07-09 14:13  miguel
12605         * ProgressBar.cs: Spelling
12607 2004-07-09 11:25  pbartok
12609         * ProgressBar.cs:
12610           - Removed usage of Rectangle for drawing. Miguel pointed out it's
12611           faster
12613 2004-07-09 11:17  miguel
12615         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
12617                 * ProgressBar.cs: Fixed spelling for `block'
12619                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12620                 style guidelines.
12622                 Avoid using the += on rect.X, that exposed a bug in the compiler.
12624 2004-07-08 23:21  pbartok
12626         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12627           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12628           BaseCollection.cs, Binding.cs, BindingContext.cs,
12629           BindingMemberInfo.cs, BindingsCollection.cs,
12630           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12631           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12632           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12633           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12634           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12635           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12636           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12637           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12638           FrameStyle.cs, GiveFeedbackEventArgs.cs,
12639           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12640           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12641           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12642           InputLanguageChangedEventArgs.cs,
12643           InputLanguageChangedEventHandler.cs,
12644           InputLanguageChangingEventArgs.cs,
12645           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12646           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12647           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12648           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12649           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12650           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12651           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12652           QueryAccessibilityHelpEventArgs.cs,
12653           QueryAccessibilityHelpEventHandler.cs,
12654           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12655           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12656           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12657           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12658           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12659           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12660           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12661           XplatUIX11.cs, lang.cs:
12662           - Initial check-in