2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
blob91495cf9c621a912c6b54634e00c0596cf919390
1 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
3         * TextBox.cs: Add MWFCategoryAttributes
4         * TextBoxBase.cs: Add MWFCategoryAttributes
5         * Form.cs: Add MWFCategoryAttributes
7 2006-05-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
9         * Control.cs: Add MWFCategoryAttributes
10         * ScrollableControl.cs: Add MWFCategoryAttributes
12 2006-05-03  Alexander Olk  <alex.olk@googlemail.com>
14         * ThemeWin32Classic.cs: Draw the ToolBar top border only if
15           Divider is true. Fix a little glitch in PropertyToolBar
16           drawing code
18 2006-05-02  Peter Dennis Bartok  <pbartok@novell.com> 
20         * Control.cs:
21           - Dispose: Call base.Dispose, this causes the disposed event
22             to be fired (and probably other, more important stuff)
23           - SetVisibleCore: Set is_visible to true after creating the
24             window so that the window still gets created invisible (if
25             WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
26             to generate a WM_ACTIVE message
27         * Form.cs: Call Dispose when we want to destroy the window, instead of
28           just destroying the handle (Dispose will do that for us)
29         * XplatUIX11.cs:
30           - RootWindow also needs a queue, so we can properly process the
31             property change events from RootWindow (like Activate)
32           - Generatic synthetic WM_ACTIVE message when the active window is
33             being destroyed
35 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
37         * LinkLabel.cs: Trigger a recalc of our label dimensions when
38           bounds are changed
40 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com>
42         * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
43           for determining width and height (image might not be assigned if
44           we're drawing an imagelist)
46 2006-05-01  Peter Dennis Bartok  <pbartok@novell.com> 
48         * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
49         * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
50           height from system
51         * Theme.cs: No longer returns hardcoded menu height, instead calls
52           new driver method
53         * Form.cs (OnLoad): Scaling happens before triggering Load events 
54           on MS (# 78257)
56 2006-05-01  Mike Kestner  <mkestner@novell.com>
58         * MenuItem.cs: fix NRE for text == null.  Fixes #78250.
60 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com> 
62         * TextBoxBase.cs: Removed Fixme
63         * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
65 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com>
67         * XplatUIX11.cs:
68           - ScrollWindow: We were passing hwnd.ClientRectangle which returns
69             the rectangle relative to the parent, considering borders. We
70             don't really want that.
71           - ScrollWindow: Fixed warning to be more understandable
72         * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
73           scrollbars and scroll only the visible area
74         * RichTextBox.cs: Removed debug output
76 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
78         * NumericUpDown.cs (Text): Just use base
79         * UpDownBase.cs: Ensure txtView is created before using it
81 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
83         * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
84           casting to IntPtr to avoid 64bit overflow errors
86 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
88         * Control.cs:
89           - AllowDrop: Don't force handle creation.
90           - CreateHandle: Added call to tell driver if we're allowed to drop
92 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
94         * FileDialog.cs: Remember the last directory not only for the
95           current instance but also for new FileDialog instances.
97 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com> 
98         
99         * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
100           broke sending async messages
102 2006-04-29  Peter Dennis Bartok  <pbartok@novell.com>
104         * XplatUIX11.cs:
105           - ScrollWindow: Fixed method. We finally generate expose events again
106             for scrolled areas. This was causing 'garbage' when scrolling
107             textbox and other controls that used ScrollWindow
108           - Switched from using the regular queue for paint events to the MS 
109             model of 'generating' paint events when the queue is empty.
110             We use the new XQueueEvent.Paint subclass to store which windows
111             need painting.
112           - AddExpose now takes the x/y/width/height of the exposed area
113             and inserts the window into the paint queue if not already there
114           - InvalidateWholeWindow: Switched to use new AddExpose method
115           - UpdateMessageQueue: Added which queue to monitor for paint events
116           - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
117             the unlikely case nothing above handles it. We reset the expose
118             pending states to get them off the queue.
119           - GetMessage: Now pulls a paint event if no other events are in the
120             queue
121           - Invalidate: Switched to new AddExpose method
122           - PeekMessage: Updated to understand pending paint events
123           - UpdateWindow: Fixed logic bug. We were only updating if the window
124             didn't need updating. Also switched to sending WM_PAINT directly,
125             like MS does.
126         * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
127           and random access Remove(). The random access is needed to handle
128           UpdateWindow() where a WM_PAINT is sent directly without accessing
129           the queue.
130         * ScrollBar.cs: Added Update() calls to cause immediate updates to
131           allow for better feedback when scrolling. Scrollbars are small and
132           the immediate update should make it 'feel' more responsive without
133           slowing things down. ScrollBar still needs it's invaliate logic
134           updated to not always invalidate the whole bar on certain changes.
136 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138         * Control.cs:
139         (BackColor): if the control does not support a transparent background,
140         return the default backcolor when the parent backcolor is transparent.
142 2006-04-28  Peter Dennis Bartok  <pbartok@novell.com>
144         * Application.cs: Updated to new StartLoop/GetMessage API
145         * RichTextBox.cs: Provide some output on RTF parsing errors
146         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
147           new queue_id argument to GetMessage and PeekMessage to allow faster
148           handling of per-thread queues in drivers.
149         * Hwnd.cs: Added Queue tracking and property
150         * MenuAPI.cs: Updated to new StartLoop/GetMessage API
151         * XEventQueue.cs: Added thread trackingA
152         * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
153         * XplatUIX11.cs:
154           - Implemented new per-thread queue
155           - GetMessage: Fixed return/break behaviour on several cases. We were
156             returning stale messages in some cases, instead of just processing
157             the next message
159 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
161         * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
163 2006-04-27  Peter Dennis Bartok  <pbartok@novell.com>
165         * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
166           fixed off-by-one comparisons between Width/Height and Right/Bottom.
168 2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>
170         * PropertyGridView.cs: Fix drop down width.
172 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
174         * ThemeWin32Classic.cs: Peter thinks that three additional lines are
175           a mess in DrawToolBar, so I removed one of them.
177 2006-04-27  Alexander Olk  <alex.olk@googlemail.com>
179         * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
180           needed (clip). Otherwise we get artifacts.
182 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
184         * FixedSizeTextBox.cs: Added constructor to allow specifying which
185           dimension is fixed
186         * UpDownBase.cs: Set the spinner control to be fixed height vertical,
187           and switched FixedSizeTextBox to only be fixed vertical (#78116)
188         * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
189           if it matches the scale base font (avoids unneeded scaling)
191 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
193         * X11DesktopColors.cs: One gtk_init_check should be enough
195 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com> 
197         * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
198           match MS behaviour
200 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
202         * TextBoxBase.cs: 
203           - Generate OnTextChanged for Backspace even if we're only deleting
204             the current selection
205           - When setting the Text property, only select all text if the
206             control does not have focus when it is being set. Otherwise
207             just place the cursor at the beginning of the control
209 2006-04-26  Alexander Olk  <alex.olk@googlemail.com>
211         * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
212           Added a little helper to draw PropertyGrid ToolBar with a different
213           border and a different BackColor.
214         * PropertyGrid.cs: Some background parts didn't get painted with the
215           correct background color. Added a class that helps us to draw the
216           correct border for PropertyGridView and a class that helps us to
217           draw ToolBars with a different backcolor
218         * PropertyGridView.cs: Draw PlusMinus with the correct colors.
220 2006-04-25  Jonathan Chambers  <jonathan.chambers@ansys.com>
222         * PropertyGrid.cs: Bug 78196, font size, and splitter location.
223         * PropertyGridView.cs: Bug 78196, font size, and splitter location.
225 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
227         * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
228           into the palette entries. Also, since we're working on a copy
229           we needed to copy the palette back onto the bitmap.
230         * Cursor.cs: Same fix as XplatUIWin32.cs.
232 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>
234         * ImageListStreamer.cs: Need to read the var (or we're off)
236 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com> 
238         * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs, 
239           XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
240           TextBoxBase.cs: Unused var fixes
241         * AxHost.cs: Small 2.0 fix
242         * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms 
243           as it seems that is what at least Metacity expects. This will make
244           icons show up on 64bit platforms. We still have some 64bit size
245           issues, though, since the startup app window size still won't match.
247 2006-04-25  Mike Kestner  <mkestner@novell.com>
249         * *.cs: cleanup newly reported exception var unused warnings.
251 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
253         * ThemeWin32Classic.cs: Button image alignment now matches exactly
254           ms
256 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
258         * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
259           image. The image position is always the same, no matter if the
260           button is pressed or not.
262 2006-04-25  Alexander Olk  <alex.olk@googlemail.com>
264         * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
265           selection and set the correct filename for SaveFileDialog.
266           Patch by Emery Conrad.
268 2006-04-24  Mike Kestner  <mkestner@novell.com>
270         * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
271         check for item.X outside the ClientRect instead of item.Y. Fixes
272         #78151.
274 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276         * ImageListStreamer.cs: some images store a wrong grow factor, so don't
277         trust that value blindly and do some sanity check. Fixes bug #77814.
279 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
281         * ImageListStreamer.cs: save the mask as a 1bpp image.
283 2006-04-21  Mike Kestner  <mkestner@novell.com>
285         * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
286         pass Checked and Indeterminate to the Theme Engine. Improve
287         encapsulation with ListBox.
288         * ListBox.cs: Keep a StringFormat instead of calculating it every item
289         draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
290         nested types.  Move all CheckState functionality to CheckedListBox.
291         Make IntegralHeight work like MS.  Rewrite of Layout engine.  Fix
292         OwnerDrawVariable layout/rendering.  Fix multicolumn rendering.  Fix
293         ScrollAlwaysVisible handling. Refactor "selected" collections to use a
294         single base list. Fix scrollbar sizing and placement to mirror MS.
295         * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
296         used.
297         * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
298         for CheckedListBox by using new DrawItemState info.  Center the
299         checkboxes on the items. Use new StringFormat property.
301 2006-04-18  Jackson Harper  <jackson@ximian.com>
303         * Form.cs: MdiChildren don't do default locations the same way as
304         regular forms.  This prevents a crash when trying to position the
305         mdi windows.
307 2006-04-17  Jonathan Chambers  <jonathan.chambers@ansys.com>
309         * PropertyGridTextBox.cs: Formatting, copyright
310         * PropertiesTab.cs: Formatting
311         * PropertyGrid.cs: Formatting
312         * PropertyGridView.cs: Formatting, fix drop down, enabled double 
313           click toggling of values
314           
315 2006-04-17  Peter Dennis Bartok  <pbartok@novell.com> 
317         * KeyPressEventArgs: Added 2.0 only setter for KeyChar
318         * Control.cs (.ctor): verify_thread_handle is static, don't reset
319           every time a control is created
320         * Application.cs: Removed obsolete EnableRTLMirroring method
322 2006-04-18  Gert Driesen  <drieseng@users.sourceforge.net>
324         * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
325         SelectedIndex to -1. Fixes bug #78121.
327 2006-04-17  Jackson Harper  <jackson@ximian.com>
329         * Binding.cs: Handle null values for Current and BindingContext.
330         This occurs when binding is a little delayed.
331         * CurrencyManager.cs: return null for Current when there are no
332         items in the list.
333         - Hookup to the listchanged event on the DataView and update
334         bindings when the list is changed.  This fixes late binding of
335         controls.
337 2006-04-17  Jackson Harper  <jackson@ximian.com>
339         * X11Dnd.cs:
340         * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
341         Ringenbach.
343 2006-04-15  Alexander Olk  <alex.olk@googlemail.com>
345         * ThemeWin32Classic.cs: Draw disabled combo button in the correct
346           place
347         * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
348           with the correct ButtonState
350 2006-04-14  Peter Dennis Bartok  <pbartok@novell.com>
352         * XplatUIX11.cs: Improved distinguishing between window types to
353           tell the WM a type closer to what the app wants (Fixes #78107)
355 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
357         * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
358           GrabHandle
360 2006-04-14  Alexander Olk  <alex.olk@googlemail.com>
362         * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
363           drawing code to reflect the size grip changes
365 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367         * ImageListStreamer.cs: fix handling of the mask that follows the main
368         bitmap when deserializing and serialize it properly. The generated mask
369         should better be a 1bpp image, but I'll do that later.
371 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
373         * FileDialog.cs: Show something in the DirComboBox on *nix if the
374           path doesn't fit into some of our Current.Places
376 2006-04-13  Jackson Harper  <jackson@ximian.com>
378         * ComboBox.cs: Use borders instead of drawing our own decorations,
379         try to obey correct rules for heights.
380         * Theme.cs:
381         * ThemeNice.cs:
382         * ThemeClearLooks.cs:
383         * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
384         this is now handled by borders.
385         - Remove unused DrawListBoxDecorationSize method.
386         
387 2006-04-13  Mike Kestner  <mkestner@novell.com>
389         * MenuAPI.cs: null guarding for the disbled click check fixes crash
390         reported by Alex.
392 2006-04-13  Alexander Olk  <alex.olk@googlemail.com>
394         * ThemeWin32Classic.cs: 
395           - Fixed CPDrawStringDisabled
396           - Corrected drawing of disabled menu items
397           - Fixed drawing of disabled radio buttons (bug #78095)
398           - Draw check in a disabled CheckBox with color ControlDark 
400 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
402         * Form.cs: Use the provided width when calculating the menu size;
403           when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
404           and ClientSize.Width won't be updated yet
405         * Application.cs: Use Visible instead of Show() to make form visible,
406           this way we create the handle later and menusize is considered
408 2006-04-12  Mike Kestner  <mkestner@novell.com>
410         * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
411         reporting.
413 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
415         * TextBox.cs: Implemented context menu
417 2006-04-12  Mike Kestner  <mkestner@novell.com>
419         * ListView.cs: implement box selection. fixes #77838.
420         * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
422 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
424         * XplatUIX11.cs: Added setting of window type when transient window
425           is created (metacity would move it otherwise)
426         * X11Structs.cs: Added WINDOW_TYPE atoms
427         * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
428           background (the control is Opaque but still wants transparent
429           backgrounds)
431 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
433         * Control.cs: Added OnPaintBackgroundInternal to allow controls
434           that set Opaque but don't mean it (like all ButtonBase-derived
435           controls) to still draw their background
436         * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
437           the background
439 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
441         * Control.cs (PaintControlBackground): Set the graphics object
442           on our PaintEvent to null to prevent it from being disposed
443           when the PaintEvent gets disposed
445 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
447         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
448         * ThemeNice.cs, ThemeClearlooks.cs: fix typo
450 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
452         * Control.cs: 
453           - Added transparency check to BackColor property. Transparent
454             backgrounds are only allowed if the control styles permit it
455           - Added recursive painting of parent control background and
456             foreground if a control with a transparent backcolor is drawn
457             (Thanks to Tim Ringenback for providing his 'hack' as a base
458              for this patch) Fixes #77985 and #78026.
459           - Added Opaque style check before calling OnPaintBackground, no
460             need to draw the background if the control is opaque
461           - Removed ControlAccessibleObject owner variable (inherited from
462             base, no need to define again)
463           - Added some documentation links explaining the drawing events
464             and styles
466 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
468         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
469           that the affected control is the located at the left border of our
470           parent (Fixes #77936)
472 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
474         * TextBoxBase.cs: When rendering disabled or readonly controls,
475           draw the background with 'Control' instead of 'Window' color as
476           long as the user hasn't specifically set a color
478 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
480         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
481           since that won't be updated if the user types text (only if it's
482           programatically set)
484 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
486         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
487           layout changes do to app-triggered resizes will have the proper
488           display rectangle for layout
490 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
492         * ThemeWin32Classic.cs:
493           - Make use of the SystemBrushes and SystemPens wherever possible
494           - Corrected some highlight colors
495           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
496             drawing
497         * Theme.cs: Added Empty field to CPColor struct
499 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
501         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
502           is displayed when calculating the display rectangle. Thanks to Mike
503           for teaching me the err of my ways.
505 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
507         * ScrollableControl.cs:
508           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
509             (instead of 0,0) and we now return the real width/height instead of
510             just the clientrectangle, adjusted for padding. The rectangle is
511             now cached and created by the new CalculateDisplayRectangle method.
512           - Created new CalculateDisplayRectange method, which basically does
513             what get_DisplayRectangle() did originally, but now using the 
514             right edge instead of DisplayRectangle to determine the size of
515             our scrollbars
516           - get_Canvas(): Fixed it to properly calculate canvas for 
517             right/bottom controls which seem to be placed to the right/bottom
518             of any controls that have a fixed location
519           - Removed TODO that's taken care of
520           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
521             and SetDisplayRectLocation according to new MSDN2 docs
522           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
523             event when that is called, this is added for compatibility
524           - ScrollControlIntoView(): Implemented.
525           - Switched scrollbars to be implicit, they shouldn't be selectable
526         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
527           call it when the active control is set/changed
528         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
529         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
530           implicit_control variable (used for native Win32 message generation)
531         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
532           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
533         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
534         * XplatUIStructs.cs: Added ScrollBarCommands enum
536 2006-04-10  Jackson Harper  <jackson@ximian.com>
538         * ButtonBase.cs:
539         * CheckedListBox.cs:
540         * ComboBox.cs:
541         * DataGrid.cs:
542         * DataGridView.cs:
543         * Form.cs:
544         * GroupBox.cs:
545         * ListBox.cs:
546         * PrintPreviewControl.cs:
547         * ProgressBar.cs:
548         * PropertyGrid.cs:
549         * Splitter.cs:
550         * StatusBar.cs:
551         * TrackBar.cs:
552         * UpDownBase.cs: Fixup base event overrides.
553         
554 2006-04-06  Mike Kestner  <mkestner@novell.com>
556         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
557         all user-initiated value changes to min <= value <= max-thumbsz+1.
558         (set_Value): check for vert/horiz when calculating new thumb position.
559         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
560         like MS does.
561         (OnMouseMoveSB): refactor the thumb dragging code and refine
562         invalidation logic to reduce flicker.
563         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
564         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
565         (UpdateThumbPosition): small code readability cleanup
567 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
569         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
570           different
572 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
574         * ThemeNice.cs: Use a better graphics effect when a button is pressed
576 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
578         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
579         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
580           This dramatically reduces the number of Pen.Dispose calls. 
581           Where possible call ResPool methods only once instead of calling it
582           over and over again (for example for the same color).
584 2006-04-06  Mike Kestner  <mkestner@novell.com>
586         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
587         Also remove an unused private field on the collection. Fixes #77972.
589 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
591         * ThemeNice.cs: Added ToolBar drawing code
593 2006-04-06  Mike Kestner  <mkestner@novell.com>
595         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
596         I'm assuming that means we need to look up the toplevel for the
597         provided control. Fixes the crash trace in #77911 but exposes another
598         crash in some strange reflection usage in NDocGui.
600 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
602         * ThemeNice.cs: Gave it a little silver touch and added Images
603           method
604         * FontDialog.cs: FontDialog is not resizable
605         * FileDialg.cs: Added SizeGripStyle.Show
607 2006-04-05  Jackson Harper  <jackson@ximian.com>
609         * KeyboardLayouts.cs: Remove warning.
611 2006-04-05  Jackson Harper  <jackson@ximian.com>
613         * Control.cs: Enable OnPaintInternal so we can use it for drawing
614         all of our controls instead of Paint +=.
615         * ListBox.cs:
616         * ListView.cs:
617         * MenuAPI.cs:
618         * MessageBox.cs:
619         * NotifyIcon.cs:
620         * ProgressBar.cs:
621         * ScrollBar.cs:
622         * Splitter.cs:
623         * StatusBar.cs:
624         * TabControl.cs:
625         * TextBoxBase.cs:
626         * ToolBar.cs:
627         * TrackBar.cs:
628         * UpDownBase.cs:
629         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
630         use OnPaintInternal. Remove Width/Height and Visible checks in
631         paint handler, this is done at a higher level now.
632         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
633         * PaintEventArgs.cs: Add a handled flag so controls that don't
634         want anymore painting after OnPaintInternal can make sure OnPaint
635         isn't called.
637 2006-04-05  Mike Kestner  <mkestner@novell.com>
639         * Form.cs: fix the menu WndProc hacks to respect the native enabled
640         state of the form, so that we don't process events when Modal dialogs
641         are up. Fixes #77922.
643 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
645         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
646           checking is done.
648 2006-04-05  Mike Kestner  <mkestner@novell.com>
650         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
652 2006-04-05  Mike Kestner  <mkestner@novell.com>
654         * ListView.cs (HeaderMouseMove): null guarding for the over column
655         when setting up the drag_to_index.  Fixes #78015.
657 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
659         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
660           in the taskbar. Transient windows seem to accomplish that.
662 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
664         * Form.cs:
665           - Re-enabled CreateParams.X/Y code for FormStartPosition
666           - Added code for manual placement when creating the Control
667           - Incomplete patch to treat MDI forms differently when
668             setting the ClientSizeCore. (Still need to figure out handling
669             x/y coords there)
670         * XplatUIX11.cs:
671           - When we're explicitly setting the X/Y position of a non-Child
672             window, let the WM know. Metacity really wants this.
674 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
676         * ThemeNice.cs: Added CPDrawButton
678 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
680         * ThemeNice.cs: Changed the color for focused buttons and activated
681           the arrows for small scroll buttons.
683 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
685         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
686           anymore. Changed some method modifiers to protected (virtual)
687         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
688           changes
689         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
690           Updated drawing of menus, buttons and progressbars; added
691           CPDrawBorder3D 
693 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
695         * ImageListStreamer.cs: implemented serialization/deserialization
696         of the images.
698 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
700         * ThemeWin32Classic.cs:
701           - Removed all the DrawFrameControl stuff; CPDrawButton,
702             CPDrawCheckBox and CPDrawRadioButton are now handled directly
703             inside the methods
704           - Updated and corrected the drawing code of CPDrawButton,
705             CPDrawCheckBox and CPDrawRadioButton to better match ms
706           - Updated theme checkbox and radiobutton code to use the CP*
707             methods
709 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
711         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
712           bug is fixed
714 2006-03-31  Jackson Harper  <jackson@ximian.com>
716         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
717         sometimes.
718         * UpDownBase.cs: Don't CreateGraphics manually, use a
719         Refresh. Ideally we would invalidate the correct areas here.
721 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
723         * XplatUIX11.cs: 
724           - We now track the mapping state of windows. If a window (or 
725             one of it's parents) is not mapped we no longer permit
726             WM_PAINT messages to be generated since we'd otherwise get 
727             lots of BadMatch X errors. Jackson did all the work figuring
728             out the problem.
729           - Destroying the caret if the window it's contained in is 
730             destroyed. Can't use regular DestroyCaret method since it
731             might fall into a drawing function (trying to remove the
732             caret) and with that generate new BadMatch errors. Again,
733             Jackson tracked this down.
734           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
735             make sure we send the messages to all windows. (The old code
736             would send the WM_DESTROY to the window, and then all child
737             windows would be 'gone' because the WM_DESTROY handle lookup
738             would no longer find the destroyed window)
739         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
740         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
742 2006-03-31  Jackson Harper  <jackson@ximian.com>
744         * ScrollableControl.cs: Dont recalc if we are not visible.
746 2006-03-31  Mike Kestner  <mkestner@novell.com>
748         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
749         the visibility branch.
751 2006-03-31  Jackson Harper  <jackson@ximian.com>
753         * ScrollBar.cs: Cap values when incrementing/decrementing.
755 2006-03-31  Mike Kestner  <mkestner@novell.com>
757         * MenuAPI.cs: setup menu.tracker for popup/context menus.
758         * ToolTip.cs: guard against timer expirations with no active control.
759         Not sure why it happened.
761 2006-03-31  Mike Kestner  <mkestner@novell.com>
763         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
764         text.
765         * ToolTip.cs: Position the tooltip based on where the cursor is at
766         popup time, not at MouseEnter time.  Add a Down state so that we don't
767         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
768         positioning offset. Lookup DisplaySize at positioning time, since it
769         can theoretically change during invocation.
770         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
771         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
773 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
775         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
776           Fixes behaviour when the Text property of the box is String.Empty
778 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
780         * XplatUIX11.cs: Only send mouseleave for our client windows, not
781           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
782           a window)
784 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
786         * FileDialog.cs: Visual enhancement for the popup buttons in 
787           PopupButtonPanel
789 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
791         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
792           code
794 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
796         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
797           highlighted menu items to match ms
799 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
801         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
803 2006-03-30  Mike Kestner  <mkestner@novell.com>
805         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
806         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
807         go active to account for HotLight to Selected transition.
808         * MenuItem.cs: add internal Selected prop. Fill out the Status
809         property by calculating it from item info. Add HotLight,
810         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
812 2006-03-30  Mike Kestner  <mkestner@novell.com>
814         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
816 2006-03-29  Jackson Harper  <jackson@ximian.com>
818         * Form.cs: Implement TODO.
820 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
822         * PrintPreviewDialog.cs: Implemented missing methods and events; still
823           missing proper dialog setup in the constructor
825 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
827         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
828         * Control.cs:
829           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
830           - Fixed ResetBindings and removed TODO
831           - Added check for cross-thread calls to get_Handle()
832           - Added Marshaller attribute for set_Font to satisfy class status
833         * FontDialog.cs: Removed TODOs that seemed implemented
834         * UpDownBase.cs: Removed unneeded TODO and Fixme
835         * MessageBox.cs: Implemented support for Default button and removed TODO
836         * FileDialog.cs: Removed obsolete TODO
837         * DomainUpDown.cs: Removed obsolete TODO
838         * ButtonBase.cs: Removed obsolete TODO
839         * XplatUIWin32.cs: Removed obsolete TODO
840         * Form.cs:
841           - Removed obsolete TODO
842           - Calling CheckAcceptButton when the acceptbutton is changed to allow
843             internal status updates
844           - Making sure the active control is selected when the control is created
845         * CurrencyManager.cs: Removed obsolete TODO
847 2006-03-29  Mike Kestner  <mkestner@novell.com>
849         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
850         of PrintPreviewDialog and RichTextBox.
852 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
854         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
855           DarkDark, Light and LightLight colors for a specific color
856         * ThemeWin32Classic.cs:
857           - Use Button drawing code to draw RadioButtons and CheckBoxes with
858             Appearance = Button 
859           - Make use of the new ResPool helper CPColor
860           - Draw ProgressBar and StatusBar with correct 3D borders
862 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
864         * ColorDialog.cs: Return selected color. Fixes bug #77940.
866 2006-03-28  Mike Kestner  <mkestner@novell.com>
868         * ListView.cs: fix Icon layout to plan for scrollbar widths when
869         calculating col/row counts.
871 2006-03-28  Mike Kestner  <mkestner@novell.com>
873         * ColumnHeader.cs:
874         * ListView.cs:
875         * ListViewItem.cs:
876         * Menu.cs: 
877         switch to explicit interface method implementation for some methods
878         corcompare identifies as inconsistent with MS.
880 2006-03-28  Mike Kestner  <mkestner@novell.com>
882         * MainMenu.cs: 
883         * Menu.cs:
884         add a few missing methods from the class status output.
886 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
888         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
889           correct.
891 2006-03-28  Mike Kestner  <mkestner@novell.com>
893         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
895 2006-03-27  Mike Kestner  <mkestner@novell.com>
897         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
898         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
900 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
902         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
904 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
906         * ThemeWin32Classic.cs:
907           - GroupBox: Inserted a little gap between the text and the lines
908             on the right side
909           - Made the code in CPDrawBorder3D more readable
910           - Corrected the drawing location of the up and down arrows in 
911             CPDrawScrollButton
913 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
915         * ControlPaint.cs: Corrected line widths in DrawBorder for
916           ButtonBorderStyle Inset and Outset
918 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
920         * ThemeWin32Classic.cs:
921           - Rewrote the totally broken CPDrawBorder3D method. That was
922             one of the main problems for the terrific ThemeWin32Classic
923             look
924           - Updated and corrected Button drawing
925           - Correct the dimensions of the SizeGrip to match ms ones
926           - Removed a small drawing glitch in DrawComboBoxEditDecorations
927         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
928           Border3DStyle.Sunken to match ms.
930 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
932         * ThemeWin32Classic.cs: First small part of the "de-uglify
933           ThemeWin32Classic" effort, SizeGrip
935 2006-03-24  Jackson Harper  <jackson@ximian.com>
937         * XplatUIX11.cs: Give a max idle time of one second, this matches
938         MS and forces an Idle event every second when there are no other
939         events in the queue.
941 2006-03-24  Mike Kestner  <mkestner@novell.com>
943         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
944         * ListView.Item.cs: fix layout issues with null image lists and images
945         smaller than checkbox size.
946         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
947         mode like MS does.  It's weird, but consistent.  ;-)
948         Fixes #77890.
950 2006-03-24  Mike Kestner  <mkestner@novell.com>
952         * ListView.cs: Scroll wheel support for the item control.  Fixes
953         #77839.
955 2006-03-23  Jackson Harper  <jackson@ximian.com>
957         * ScrollableControl.cs: Special case negative sized areas, not
958         zero.
959         * MonthCalendar.cs: Save the rect of the clicked date so we can
960         use it for invalidation.
961         - Try to cut down on the number of invalidates
962         - Invalidate the rect the mouse is over and was over when moving
963         the mouse, so we get the focus box following the cursor.
965 2006-03-23  Mike Kestner  <mkestner@novell.com>
967         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
968         focus rectangle drawing. Fixes #77835.
970 2006-03-23  Mike Kestner  <mkestner@novell.com>
972         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
973         the if and else if and reverting back to the original == check on the
974         None conditional.
976 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
978         * FontDialog.cs: Update the example panel if the selected index of
979           the fontListBox changes.
981 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
983         * FileDialog.cs: Make FileDialog remember which directory it was in
984           last in the same execution.
986 2006-03-22  Mike Kestner  <mkestner@novell.com>
988         * FileDialog.cs: make the DropDownMenu on the toolbar display
989         RadioChecks since they are mutually exclusive and that's what MS does.
991 2006-03-22  Mike Kestner  <mkestner@novell.com>
993         * Theme.cs: add Color param to CPDrawMenuGlyph.
994         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
995         checks and radio marks and arrows are visible on highlighted items.
996         * ControlPaint.cs: update to use new Theme signature.
998 2006-03-22  Mike Kestner  <mkestner@novell.com>
1000         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1001         is active. Fixes #77870.
1003 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1005         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1006           to be focused/selected after startup
1008 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
1010         * ColorDialog.cs: 
1011           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1012             CustomColors and ShowHelp properties
1013           - Some internal rewrites to get better results when using the
1014             ColorMatrix
1016 2006-03-22  Mike Kestner  <mkestner@novell.com>
1018         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1019         HoverSelection.  Fixes #77836.
1021 2006-03-22  Mike Kestner  <mkestner@novell.com>
1023         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
1024         ToggleButtons.  (De)Sensitize the Back button around a stack count of
1025         1, not 0.  Update ButtonSize based on a pixel count of the win32
1026         control.  Adjust the toolbar size/location for new button size.
1028 2006-03-22  Jackson Harper  <jackson@ximian.com>
1030         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1031         true.
1032         * ScrollBar.cs: When doing increments and decrements we need to
1033         set the Value property so that ValueChanged gets raised. A
1034         possible optimization here would be to make an internal SetValue
1035         that doesn't invalidate immediately.
1036         * ToolTip.cs: Tooltips get added to their container (when
1037         supplied) so they get disposed when the container is disposed.
1038         - Don't create tooltips for String.Empty. This prevents all these
1039         little 2-3 pixel windows from showing up when running nunit-gui
1040         and driving me mad.
1041         * Form.cs: Don't set topmost when setting the owner if the handles
1042         haven't been created yet.  The topmost set will happen when the
1043         handles are created.
1045 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
1047         * XplatUIX11.cs:
1048           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1049           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
1050             visible (to allow them to recalculate their sizes)
1052 2006-03-21  Mike Kestner  <mkestner@novell.com>
1054         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1055         methods. Removed a ton of redundant code.  Still not really happy with
1056         the border rendering, but I think that's mainly because of the
1057         ControlDarkDark being black instead of a dark grey. Depending on how 
1058         close we want to be, we might want to revisit those color choices.
1059         Among the new features added during the refactor were DropDownArrow
1060         pressed rendering, Disabled image rendering.  Proper flat appearance
1061         boundary rendering.  Removed the Divider and Wrapping dividers since I
1062         can't figure out any combination of themes and conditions to make the
1063         MS control draw a horizontal line on a toolbar despite what the
1064         Divider property docs indicate.
1065         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1066         conditions and incorrect layout.  Updated to coding standard.
1067         * ToolBarButton.cs: refactored layout and positioning code from
1068         ToolBar to here.  Invalidate wherever possible instead of forcing
1069         redraws of the whole toolbar. 
1070         (Known remaining issues: explicit ButtonSize smaller than provided
1071         images.)
1073 2006-03-21  Mike Kestner  <mkestner@novell.com>
1075         * ContextMenu.cs (Show): use the position parameter instead of just
1076         showing at the MousePosition.
1078 2006-03-21  Jackson Harper  <jackson@ximian.com>
1080         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1081         control handle this.
1082         * TreeNodeCollection.cs: If we are clearing the root node we need
1083         to reset top_node so calcs can still happen.
1084         * ThemeWin32Classic.cs: This is a Flags so we need to check
1085         properly.
1086         
1087 2006-03-21  Jackson Harper  <jackson@ximian.com>
1089         * DataGrid.cs: Create columns when the binding context has been
1090         changed.
1091         * X11Structs.cs: Keysyms are uints.
1092         - Add size to fix build.
1094 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
1096         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1097           XplatUIOSX.cs: 
1098           - Added ResetMouseHover method to allow controls to retrigger
1099             hovering if they need it more than once
1100           - Implemented MouseHoverTime and MouseHoverSize properties
1101         * Timer.cs: Start() must reset the interval
1102         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1103           properties
1105 2006-03-21  Jackson Harper  <jackson@ximian.com>
1107         * X11Keyboard.cs: improved layout detection. Move the nonchar
1108         tables into this file.
1109         * KeyboardLayouts.cs: Move the tables into resource files.
1111 2006-03-21  Mike Kestner  <mkestner@novell.com>
1113         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1115 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
1117         * Mime.cs: Various speed optimizations. Looking up mime types
1118           is now 2 times faster than before
1120 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
1122         * CreateParams.cs: Added internal menu field
1123         * Control.cs: 
1124           - Switched call order for UpdateBounds; now we always call
1125             the one that also takes ClientSize, and we're calculating the 
1126             client size via driver method in the others. The previous
1127             method of tracking client size by difference wasn't working
1128             for forms where even the starting client size wouldn't match
1129             the overall form size (due to borders) (Part of fix for #77729)
1130           - CreateParams(): Do not use parent.Handle unless the handle is
1131             already created. Causes havoc with Nexxia and throws off our
1132             creation of controls
1133         * XplatUIX11.cs:
1134           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1135           - Switched handling of ConfigureNotify over to new PerformNCCalc 
1136             method (consolidates code)
1137           - Changed RequestNCRecalc to use new PerformNCCalc method
1138           - Added calls to RequestNCRecalc when menus and borders are changed
1139             to allow app to set NC size. (Part of fix for #77729) This matches
1140             when MS send a WM_NCRECALC on Win32 windows.
1141           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1142             (Part of fix for #77729). This matches what MS does, they also
1143             send that message when the form is made visible.
1144           - XException.GetMessage: Improved usability of X errors by including
1145             a translation of the window into Hwnd and Control class
1146           - Improved debug info for window creation, reparenting and destruction
1147           - Created helper method WindowIsMapped() [Currently not used]
1148         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1149         * Form.cs:
1150           - CreateParams: Now setting our menu on the new internal menu field
1151           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1152             avoid calculating the same property twice
1153         * Hwnd.cs:
1154           - Improved usability of ToString() for debugging purposes
1155           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1156             determine the height of the menu, instead of just the font. This
1157             required to also create a graphics context and to keep a bmp 
1158             around (for performance reasons)
1160 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
1162         * MenuAPI.cs: Added OnMouseUp method
1163         * Form.cs:
1164           - Now remembering the requested client size, avoids size errors
1165           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1166             instead of base if the menu is active. This is required due to
1167             control now capturing and releasing on down/up and it would
1168             prematurely release our menu capture
1170 2006-03-17  Jackson Harper  <jackson@ximian.com>
1172         * KeyboardLayouts.cs: Add the czech layouts.
1174 2006-03-16  Jackson Harper  <jackson@ximian.com>
1176         * Control.cs: Use the viewport space when sizing not the controls
1177         client size, so things like ScrollableControl that effect the
1178         viewport size (when scrollbars are added) are computed correctly.
1179         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1180         of ManagerEntrys.
1181         - Handle creating BindingManagers for null data sources.
1182         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1183         source, otherwise when rows are added they are added to the 'fake'
1184         datasource and we will crash when trying to set the position in
1185         those rows.
1186         - Use Implicit scrollbars on the datagrid so they arent
1187         selectable.
1188         
1189 2006-03-16  Jackson Harper  <jackson@ximian.com>
1191         * Binding.cs:
1192         * InternalWindowManager.cs:
1193         * MdiWindowManager.cs:
1194         * X11Keyboard.cs: I really want Mike to love me again (fix
1195         compiler warnings).
1197 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
1199         * DataGrid.cs:
1200           - OnMouseDown: Switch to editing mode when clicking on the cell
1201                          even if we're clicking on the cell that's currently 
1202                          selected
1203           - ProcessGridKey: Left/Right now wrap like MS.Net does
1204           - ProcessGridKey: Tab now knows to add a new row when tab is
1205                             pressed in the cell of the last column of the 
1206                             last row
1207           - ProcessGridKey: Enter now adds another row  if pressed in the last
1208                             row and selectes the new row, same column cell
1209           - ProcessGridKey: Home/End navigate columns, not rows, like 
1210                             originally implemented
1211           - Broke ProcessKeyPreview code out into an extra Internal method
1212             so it can be called from the edit code
1213         * DataGridTextBox.cs (ProcessKeyMessage):
1214           - Switched to accept Tab keypresses
1215           - Added F2 handling to allow jumping to the end of the edited cell
1216           - Added logic to allow moving caret left/right inside edited cell
1217             and making the edited cell jump when the caret hits cell borders
1218           - Tab and Enter are now passed to the datagrid after being handled
1219         * TextBoxBase.cs:
1220           - Removed capture code now that Control handles it
1221           - set_SelectionStart now ensures caret is visible
1223 2006-03-16  Jackson Harper  <jackson@ximian.com>
1225         * TrackBar.cs: Debackwards the increment/decrement for handling
1226         mouse clicks on the bar with vertical trackbars.
1227         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1228         bottom to match MS.
1230 2006-03-16  Mike Kestner  <mkestner@novell.com>
1232         * ListView.cs: make shift/ctrl keyboard and mouse selection 
1233         consistent with the MS control. Fix a bug in
1234         SelectedListViewItemCollection.Clear that was pissing me off for the
1235         better part of a day because the collection was being altered
1236         underneath us as we walked the list.
1238 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
1240         * Control.cs: Not sure how we could miss this so long, but it seems
1241           that MS.Net has Capture set all the way from before calling 
1242           OnMouseDown through sending the mouse events until after
1243           OnMouseUp. This will fix DataGrid's selection being set to end
1244           at the location of the MouseUp.
1246 2006-03-15  Jackson Harper  <jackson@ximian.com>
1248         * BindingContext.cs: Check the binding after its added so that it
1249           can initialize the binding managers and hookup to events.
1250         * Binding.cs: Data members seem to sometimes include rows/cols in
1251           the format Row.Column we now take this into account.
1252           - Hookup to the position changed event so we can update the
1253           control when the position has changed in the data set.
1254         * CurrencyManager.cs: Take into account the row/col naming
1255           convention when creating dataset tables.
1256         * BindingContext.cs: Using a newer better way of storing
1257           datasource/datamember pairs.  Hopefully this better matches MS for
1258           looking up binding managers.
1261 2006-03-15  Jackson Harper  <jackson@ximian.com>
1263         * BindingContext.cs: The currency manager needs the data member
1264         name, if the member is a data set we use the name to find the
1265         correct table.
1266         * CurrencyManager.cs: When creating the list prefer an IList over
1267         an IListSource.
1268         - Attempt to create a DataTable from a DataSet (TODO: might need
1269         some better error checking here, although MS doesn't seem to have much)
1270         - If we have a DataTable create a view and use it as our list.
1272 2006-03-15  Mike Kestner  <mkestner@novell.com>
1274         * ListView.cs: keep a matrix of the icon mode layout to facilitate
1275         keyboard navigation. Support Up/Down/Left/Right selection correctly
1276         for all 4 View modes.
1277         * ListViewItem.cs: add internal row/col fields for icon layouts.
1279 2006-03-15  Jackson Harper  <jackson@ximian.com>
1281         * TabControl.cs: Redraw the tabs when we resize so their newly
1282         calculated sizes are drawn on screen.
1283         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
1284         composite characters.
1285         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1286         - filter events so that composite characters can be created
1287         patches by peter
1288         * X11Structs.cs: Add XIMProperties enum.
1290 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1292         * Control.cs (BringToFront, SendToBack): Don't use window or handle
1293           unless it's created
1295 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1297         * Control.cs (PerformLayout): We don't need to consider visiblity
1298           for anchoring, only for docking. This fixes 'whacky' alignment
1299           in listbox and other controls that use implicit scrollbars after
1300           the previous PerformLayout patch
1301         * ListBox.cs: Switched to use implicit scrollbars
1302           
1303 2006-03-14  Mike Kestner  <mkestner@novell.com>
1305         * ToolBar.cs: 
1306         * VScrollBar.cs:
1307         - chain up the "new event" overrides to base and use
1308         OnEvent to raise them.  Part of fix for bug #76509.
1310 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
1312         * FileDialog.cs: Do not select an item in the parent directory
1313           on backspace
1315 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
1317         * Control.cs (PerformLayout): It would seem that we considered
1318           invisible windows for our layout. Not quite the right thing
1319           to do. Now we don't any longer, thereby fixing bug #76889.
1321 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
1323         * Control.cs (CanFocus): I goofed. A control can have focus 
1324           even though it's not selectable. Made it match MS docs.
1326 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1328         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1329           center by default (fixes #76895)
1330         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
1331           all uses of Border3DSides.All with the explicit ORd together
1332           Left|Right|Top|Bottom because I assume that nobody was aware 
1333           that All also implies a center fill. Most places I checked had
1334           a fill right above.
1335         * ProgressBarStyle.cs: Added
1337 2006-03-13  Mike Kestner  <mkestner@novell.com>
1339         * ListView.cs: fix breakage in drag shadow header positioning 
1340         from Peter's csc compilation fix.
1342 2006-03-13  Mike Kestner  <mkestner@novell.com>
1344         * ListView.cs: fix NRE produced by backspacing twice in a focused
1345         FileDialog.
1347 2006-03-13  Mike Kestner  <mkestner@novell.com>
1349         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1351 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1353         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1354           be changed
1355         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1356           the allowed size before making programmatic size changes
1358 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
1360         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
1361           set, metacity is broken and will still use the emty sizes in 
1362           the struct. (Fix for #77089)
1364 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
1366         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
1367           WindowExStyles and marked both enums as Flags
1368         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1369           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1370           to match WindowStyles split
1371         * XplatUIX11.cs:
1372           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1373           - Updated to match WindowStyles split
1374         * XplatUIWin32.cs:
1375           - Fixed FosterParent creation, was using ExStyle on the Style field
1376             (This should help with Popup focus issues)
1377           - Updated to match WindowStyles split
1379 2006-03-13  Jackson Harper  <jackson@ximian.com>
1381         * MdiWindowManager.cs: Use the system menu height. Fixes some
1382         strange sizing issues.
1384 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1386         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1387         * TextBoxBase.cs:
1388           - Scroll to caret after inserting text (#77672)
1389           - Make scroll range one pixel higher, fixes off-by-one error (and
1390             makes underlines visible on the last line)
1392 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
1394         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1395           the keyboard state from being stuck with keys in 'pressed' state when
1396           focus is switched away via keyboard
1397         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1398           reset the keyboard if no X11 KeyUp events are expected to come
1399         * X11Structs.cs: Switched type of Visible to bool to match driver
1401 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
1403         * TextControl.cs:
1404           - Switched caret to be just 1 pixel wide, matches MS and looks less
1405             clunky
1406           - Moved caret display 1 pixel down from the top of the control
1407             to improve view
1408           - InsertCharAtCharet: Update the selection start if moving the caret
1409             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1410           - No longer always creating the caret when the caret methods are
1411             called. Only the actual ShowCaret/HideCaret will do that now
1412           - Only setting caret visible if the owner control has focus
1413           - UpdateView: Added invalidation-shortcut logic for center and right 
1414             aligned text. Previously we'd update all according to the left
1415             logic which caused drawing errors. Also fixed height of invalidated
1416             areas, now properly invalidating the whole area (was off-by-one)
1417           - owner_HandleCreated: Always generate the document when the
1418             handle is created; this ensures that 
1419         * TextBoxBase.cs:
1420           - Fixed situation where caret would disappear under the right
1421             window border, also improved scrolling behaviour on left-
1422             aligned textboxes
1423           - Fixed right-aligned textboxes to have a border to the
1424             right instead of the caret being under the right border
1425         * XplatUIX11.cs:
1426           - Switched from 'nested' to simple visible/not visible tracking 
1427             for caret (part of fix for #77671)
1428           - No longer passing through translated FocusIn/FocusOut messages
1429             since we were notifying too often and the wrong windows. Instead
1430             we just notify our focussed window of receiving or loosing focus
1431         * XplatUIWin32.cs: Switched from 'nested' show/hide 
1432           counting for caret to simple visible yes/no behaviour (part of 
1433           fix for #77671)
1435 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1437         * Mime.cs: Remove debug code...
1439 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1441         * MimeGenerated.cs: Removed
1442         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1443           and subclasses) from /usr/(local/)share/mime and
1444           $HOME/.local/share/mime.
1446 2006-03-10  Jackson Harper  <jackson@ximian.com>
1448         * MdiWindowManager.cs: Recalc the NC area when a window is
1449         maximized/restored so that the menu area is drawn on forms that
1450         don't have a menu.
1452 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1454         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1455           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1456           us to force a WM_NCCALCRESIZE message being sent. This is needed
1457           for MDI maximizing.
1459 2006-03-10  Jackson Harper  <jackson@ximian.com>
1461         * Form.cs: We need to use the ActiveMenu when calculating menu
1462         height.
1463         - Fix nullref when the window manager hasn't been created yet.
1464         * Control.cs: Fix nullref when we try to bring a control to the
1465         front that has no parent.
1466         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1467         height.
1468         - Add a dummy item to the maximized menu so it always has the
1469         correct height. Otherwise when there are no menus we don't get our
1470         icon and buttons.
1471         
1473 2006-03-10  Jackson Harper  <jackson@ximian.com>
1475         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1476         stuff.
1477         * Form.cs: Make the window_state internal so the window managers
1478         can track it.
1479         - When an MDI child is maximized let its window manager create the
1480         main menu (so it can add its icon).
1481         - Notify the window managers of state changes
1482         - Let the window manager paint its buttons and handle button
1483         clicks on the menu when it is maximized.
1484         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1485         window manager, since tool windows don't use it, only mdi windows.
1486         - Tell the main form that we don't want it to handle NCPAINT
1487         itself to avoid extra painting.
1488         - Handle clicks on a maximized windows menu.
1489         - Handle window state changes
1490         - Handle minimize/maximize clicks correctly by setting the window state.
1491         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1492         when clicking on the forms icon).
1493         - New method to create a forms maximized menu. This is its normal
1494         menu + an icon.
1495         - Handle window state changes.
1496         - Handle sizing of maximized windows.  Maximized windows are just
1497         drawn bigger then the parent visible area. All controls are still
1498         there, they are just outside the visible area (this matches windows).
1499         * MdiClient.cs: No scrollbars when a child window is maximized.
1500         - Let the children windows figure out how big they should be when
1501         sizing maximized windows.
1502         - Implement a version of ArrangeIconicWindows somewhat similar to
1503         Windows version.  There are some little differences, but I don't
1504         think any app will rely on the layout of minimized mdi windows.
1506 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1508         * Padding.cs: Several fixes to allow compiling with csc 2.0
1510 2006-03-09  Jackson Harper  <jackson@ximian.com>
1512         * Menu.cs:
1513         * MenuItem.cs: Cheap hack so we can add items to the list without
1514         the events being raised.  This allows adding mdi items during
1515         drawing. TODO: Should probably find a better time to add the items.
1517 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1519         * ThemeWin32Classic.cs:
1520           - CheckBox_DrawText: Added logic to not wrap if not enough space
1521             is available (Fix for bug #77727)
1522           - RadioButton_DrawText: Added logic not to wrap if not enough
1523             space is available (Fix for bug #77727). Also removed some
1524             duplicate code, DrawString always drawing the regular text
1525             before hitting the if statement.
1527 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1529         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1531 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1533         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1534         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1535           methods. Moved the new 2.0 properties into alphabetical order with
1536           other properties and added MonoTODO tags
1538 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1540         * AutoScaleMode.cs: Added. Fix build.
1542 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1544         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1545           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1546           and was requiring premature handle creation for calls from above
1547         * Form.cs, Control.cs: Removed handle arguments from calls to
1548           CalculateClientRect()
1550 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1552         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
1553           drag_column.column_rect is MarshalByRef and can't be used that way
1555 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1557         * AxHost.cs: Added deserialization constructor for 
1558           AxHost+State (fixes 77743)
1560 2006-03-09  Mike Kestner  <mkestner@novell.com>
1562         * ListView.cs: 
1563         - Added column drag reordering for details view.
1564         - fixed behavior when mouse is dragged off column and
1565         AllowColumnReorder is false.
1566         * ColumnHeader.cs: clone the format too in Clone.
1567         * Theme.cs: add DrawListViewHeaderDragDetails method.
1568         * ThemeWin32Classic.cs:
1569         - impl new method for drawing drag column shadows and targets.
1570         - support column offset for details mode in DrawListViewItem.
1572 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1574         * TextControl.cs: Reset the char_count when the document is cleared
1575           (Fixes bug reported on mono-winforms mailing list)
1577 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1579         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1580           of calling base we simply process the key ourselves, since both
1581           DefWindowProc and the handled method would set m.Result. 
1582           (Fixes #77732)
1584 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1586         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1587           method also moves the window; instead implemented a copy of
1588           Control.ScaleCore (Part of fix for #77456)
1589         * TextBoxBase.cs: 
1590           - Created new CreateGraphicsInternal method to allow providing
1591             a graphics context when no handle is created without triggering
1592             handle creation. (Part of fix for #77456)
1593           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1594         * TextControl.cs: 
1595           - Switched Constructor to require TextBoxBase instead of Control (to
1596             allow uncast access to CreateGraphicsInternal)
1597           - Safeguarded use of owner.Handle property. No longer accessing it
1598             unless the handle is already created.
1599           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1600           - Now triggering a recalc when owning control becomes visible
1601         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
1602           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1603           premature handle creation (Part of fix for #77456)
1604         * Control.cs:
1605           - We now only destroy our double-buffering buffers when the
1606             control is resized or disposed, but not when visibility
1607             changes. (The code even re-created them twice every time)
1608           - Now requiring a redraw of the buffer on visibility changes
1609             (fixes bug 77654 part 2)
1610           - Not passing OnParentVisibleChanged up unless the control
1611             is visible
1612           - CanFocus: Fixed to match MS documentation
1613           - Focus: Fixed to return actual focus state and to check if
1614             setting focus is legal before setting it
1616 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
1618         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1619           when to draw focus rectangle by looking at parent focus and
1620           selected state instead. This fixes TabPages on Linux sometimes
1621           having none or multiple focus rectangles.
1622         * XplatUIX11.cs (SetFocus): 
1623           - Don't set the focus if the same window already has focus
1624           - Use SendMessage instead of PostMessage (like it's Win32
1625             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1626             to match MS behaviour
1627         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1628           are not selectable.
1630 2006-03-07  Jackson Harper  <jackson@ximian.com>
1632         * PictureBox.cs: Revert line I accidently committed last week.
1634 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
1636         * Control.cs: 
1637           - Added new IsRecreating and ParentIsRecreating properties to
1638             allow testing if RecreateHandle has been called on ourselves
1639             or one of our parents
1640           - WndProc(WM_DESTROY): If our control handle is being recreated
1641             we immediately need to create the handle when receiving the
1642             destroy, that way our child windows find a valid parent handle
1643             when they themselves are being recreated upon WM_DESTROY receipt
1644             (fix for bug #77654 part 1)
1645         * XplatUIX11.cs:
1646           - DestroyWindow: WM_DESTROY must be sent to our own window before
1647             notifying any child windows. MS documents that child windows
1648             are still valid when WM_DESTROY is received. (Control now relies on
1649             this behaviour)
1650           - Added some fine-grain debug options
1652 2006-03-06  Jackson Harper  <jackson@ximian.com>
1654         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1655         box and base calculations off this.
1656         * MdiChildContext.cs:
1657         * MdiWindowManager.cs: Don't need to ensure scrollbars here
1658         anymore.
1659         
1660 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
1662         * Splitter.cs: In situations where the affected control is added
1663           to the parent's control list after the splitter, we would not
1664           populate affected. Now we try populating it on mousedown, if
1665           it's not already set, and force it to be re-set whenever our
1666           parent changes.
1668 2006-03-03  Matt Hargett  <matt@use.net>
1670         * Control.cs: implement Control.Padding
1671         * Padding.cs: -Padding.All returns -1 when constructing with the
1672         implicit default ctor
1673         -Padding.ToString() matches MS.NET
1674         * ContainerControl.cs: implement
1675         ContainerControl.AutoScaleDimensions
1676         * ListControl.cs: implement ListControl.FormattingEnabled
1677         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1678         * ButtonBase.cs:
1679         * TabPage.cs: Implement UseVisualStyleBackColor.
1680         * PictureBox.cs: Implement PictureBox.InitialImage.
1682 2006-03-03  Mike Kestner  <mkestner@novell.com>
1684         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1685         event declarations to proxy to base event.
1686         * ListViewItem.cs: update to use ItemControl.
1687         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1688         * ThemeWin32Classic.cs: update to new ListView theme API and fix
1689         column header label rendering for 0 width columns.
1691 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
1693         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1694           that causes the control to be created. Fixes #77476.
1696 2006-03-02  Jackson Harper  <jackson@ximian.com>
1698         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1699         expose_pending.
1701 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
1703         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1704           passed in for the EventArgs (fixes #77690)
1706 2006-03-01  Jackson Harper  <jackson@ximian.com>
1708         * ScrollBar.cs: Refresh afterbeing resized.
1710 2006-02-28  Mike Kestner  <mkestner@novell.com>
1712         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1713         Clean up a tracker compile warning.
1714         * MenuItem.cs: add internal PerformPopup method.
1715         [Fixes #77457]
1717 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1719         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1720           implicit expose) when the text is set to null
1722 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
1724         * RichTextBox.cs (FlushText): When newline is true, we always
1725           need to split the line, even if no text is on it and we may
1726           never eat newlines. (Fixes #77669)
1728 2006-02-28  Mike Kestner  <mkestner@novell.com>
1730         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
1731         and set Selected instead.
1732         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
1733         collections.
1735 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1737         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1739 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
1741         * FontDialog.cs:
1742           - Got rid of the panel. All controls are now directly added to
1743             the dialog form
1744           - It is now possible to set a font with the Font property
1745           - MinSize and MaxSize property do now what they should
1746           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1747           - Searching and selecting a font with the font textbox works now,
1748             the same applies to the style and size textbox
1749           - Draw the correct 3D border in the example panel
1750           - Fixed a little mem leak (unused fonts didn't get disposed)
1751           - Many other internal updates/rewrites...
1752           - Fix typo
1754 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1756         * TextControl.cs: 
1757           - InsertRTFFromStream: Added 'number of characters inserted' argument
1758           - set_SelectedRTF: Now using the number of characters to calculate
1759             the new location for the selection and cursor (x/y cannot be used
1760             due to potentially already wrapped text)
1762 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1764         * TextControl.cs: Added property and implemented means to allow 
1765           disabling recalculation of a document (can be used to speed up
1766           multiple inserts and is needed to make RTF inserts predictable, see
1767           bug #77659)
1768         * RichTextBox.cs: Using the new NoRecalc property of Document to
1769           keep x/y insert locations predictable. Also makes it faster inserting
1770           large chunks of RTF
1772 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1774         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1775           it's easier for a child control to handle the other messages without
1776           having to duplicate the special functionality
1777         * TextBoxBase.cs
1778           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1779             code to handle processing the key ourselves, in order to get 
1780             access to the result of KeyEventArgs.Handled. We now only call 
1781             ProcessKey if they key hasn't been handled already. Fixes #77526.
1782           - set_Text: If null or empty string is given, just clear the 
1783             document. Fixes part of #77526
1785 2006-02-27  Jackson Harper  <jackson@ximian.com>
1787         * SizeGrip.cs: Paint the background color before painting the grip
1788         so things look right.
1789         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1791 2006-02-27  Mike Kestner  <mkestner@novell.com>
1793         * ListView.cs:
1794           - Restructure layout and invalidation model to remove a ton of
1795           flicker from the control and speed up performance in general.
1796           - Add manual column resize, flickers like crazy, but I already have
1797           some ideas on how I'll fix that. (#76822)
1798           - Merge the three Icon-based views into a single layout method.
1799           - Move item selection interaction logic from the item since 
1800           interaction with the collections is more appropriate to the view.
1801           - Deselection on non-item clicks.
1802         * ListViewItem.cs:
1803           - Encapsulate most of the layout. Add some internal props to trigger
1804           layout.  Move to a model where Items invalidate themselves instead
1805           of just invalidating the whole control every time something changes.
1806           - Invalidate on Text/Caption changes.
1807           - switch to an offset based layout model to avoid having to absolute
1808           position every element on item moves.
1809           - correct checkbox layout to conform to MS layout.
1810         * ThemeWin32Classic.cs:
1811           - refactor some column header drawing code.
1812           - fix string justification for column headers (#76821)
1813           - make SmallIcon labels top justified for compat with MS impl.
1814         * ThemeClearlooks.cs:
1815           - adjust to new ListViewItem internal checkbox bounds api.
1817 2006-02-27  Jackson Harper  <jackson@ximian.com>
1819         * Control.cs:  Change where implicit controls fall in the zorder.
1820         They are now on top of all children.
1821         - Synced AddImplicit code with Add
1822         - Removed unused enumerator.
1823         * SizeGrip.cs: Remove the TODO as its been TODONE.
1825 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
1827         * TextControl.cs(Insert): Combine the last lines unless the insertion
1828           string ends with \n\n, otherwise we leave one line too many (Fixes
1829           something I noticed with the testapp for #77526; the bug itself was
1830           already fixed in the previous checkin)
1832 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
1834         * RichTextBox.cs:
1835           - SelectionColor and SelectionFont methods no longer set absolute
1836             styles. Instead, the keep font or color respectively (This 
1837             resolves a long-standing FIXME in the code)
1838           - When flushing RTF text, the insert code now considers text trailing
1839             behind the insertion point (Fixes the bug where when replacing
1840             the selected text via SelectedRTF the remainder of the line behind 
1841             the selection would stay on the first insertion line)
1842         * TextBoxBase.cs:
1843           - AppendText now updates the selection points after inserting text
1844           - AppendText now ensures that the last tag (sometimes 0-length) of
1845             the document is used for the style information (Fixes part of 
1846             bug #77220)
1847         * TextControl.cs:
1848           - Created new FontDefiniton class to allow describing partial style
1849             changes
1850           - StreamLine() now takes a lines argument, to allow it to decide
1851             whether an encountered zero-length tag is the last in the document
1852             (which must be kept to not loose the font/color contained in it,
1853             for later appends)
1854           - Created Combine() and Split() methods for Marker structs, to 
1855             support marker updates due to reformatted documents (soft line
1856             wraps)
1857           - Implemented Document.CaretTag setter
1858           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1859             of the last line (Not the cause, but also exposed by bug #77220)
1860           - Added LineTag argument to InsertString method, to allow callers
1861             to force a certain tag to be used (required to force use of the
1862             trailing zero-length tag of a document)
1863           - Now updating markers in Combine(), to avoid stale tag markers
1864           - Added some method descriptions to aid maintenance
1865           - Implemented new FormatText concept, allowing additive/subtractive
1866             formatting by only specifying the components that are to be 
1867             changed. This was needed for resolving the RTB.SelectedColor/
1868             RTB.SelectedFont fixmes
1869           - Added Break() support method to allow breaking up linetags (used
1870             for partial formatting)
1871           - Added GenerateTextFormat() method. It is used for partial 
1872             formatting and allows to generate a full font/color from given
1873             attributes and an existing tag.
1875 2006-02-26  Jackson Harper  <jackson@ximian.com>
1877         * XplatUIX11.cs:  Use the correct caption height.
1878         - Translate hittest coordinates to screen coords to match MS.
1879         * XplatUIWin32.cs: When we create MDI windows we need to reset
1880         some of the style flags, so we get a nice blank window, and can
1881         draw all the decorations ourselves.
1882         - Set a clipping rectangle on the non client paint event, the
1883         window manager drawing code needs one.
1884         * Form.cs: The window manager needs to know when the window state
1885         has been updated.
1886         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1887         don't need to factor in border and title sizes in these
1888         methods. TODO: Remove the args and fix the call points.
1889         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1890         properly.
1891         - Let the driver set the cursors.
1892         - Improve active window handling
1893         - Correct sizes for title bars and buttons.
1894         - Match MS drawing better
1895         * MdiWindowManager.cs: We don't need to handle border style
1896         updates specially anymore.
1897         - Check for scrollbars when windows are done moving
1898         - Handle Active properly.
1899         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1900         correctly. I am spewing the exception though, so we don't hide the
1901         bugs.
1902         
1903 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
1905         * DataGridViewRowPostPaintEventArgs.cs,
1906           DataGridViewCellPaintingEventArgs.cs,
1907           DataGridViewRowCollection.cs,
1908           DataGridViewRowPrePaintEventArgs.cs,
1909           DataGridViewCell.cs: Clear a few warnings and implement a few
1910           exceptions that should be thrown.
1912 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1914         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1915           'inheriting' our parent's (non-default) cursor. (Part of
1916            the fix for #77479)
1918 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
1920         * XplatUIX11.cs: Fixed cast to make csc happy
1922 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1924         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1925           it's for the client area (part of fix for #77479 and needed
1926           for MDI window cursor handling)
1927         * XplatUIX11.cs
1928           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1929             the appropriate default cursors and also passing the message
1930             up the parent chain 
1931           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1932             for non-client areas
1934 2006-02-15  Jackson Harper  <jackson@ximian.com>
1936         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1937         is a real MDI window
1939 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
1941         * X11DesktopColors.cs: Instead of checking the desktop session
1942           string for "KDE" check if it starts with "KDE"
1944 2006-02-10  Jackson Harper  <jackson@ximian.com>
1946         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1947         systems).
1949 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1951         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1952           errors
1953         * ColorDialog.cs:
1954           - Got rid of the panel. All controls are now directly added to
1955             the dialog form
1956           - Changed to mono coding style
1958 2006-02-10  Jackson Harper  <jackson@ximian.com>
1960         * InternalWindowManager.cs: We don't need the set visibility to
1961         false hack anymore now that peter has written beautiful shutdown
1962         code.
1964 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
1966         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1967           where already explicitly destroyed
1969 2006-02-10  Jackson Harper  <jackson@ximian.com>
1971         * MdiClient.cs: Handle the case where windows are too high or to
1972         the left and we need scrollbars.
1974 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1976         * MimeIcon.cs: Added some icons
1977         * FileDialog.cs:
1978           - Fixed bug #77477
1979           - Got rid of the panel. All controls are now directly added to
1980             the dialog form
1981           - Changed to mono coding style
1982           - On Linux "My Computer" and "My Network" will now show some
1983             more usefull information. A new class, MasterMount, gathers
1984             this information from /proc/mount. Updated MWFFileView to make
1985             use of this information
1986           - Fixed a bug that caused FileDialog to crash when
1987             ".recently_used" file had a zero size
1988           - FilterIndex does now what it should
1989           - Some Refactoring
1990         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1991             FileDialog changes
1993 2006-02-09  Jackson Harper  <jackson@ximian.com>
1995         * ComboBox.cs: Don't touch if null.
1997 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
1999         * Cursor.cs: 64bit safeness fix
2000         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2002 2006-02-09  Jackson Harper  <jackson@ximian.com>
2004         * Form.cs: If a form is made into an MDI form update the styles so
2005         all the props can get set correctly.
2006         - Kill the mdi_container when we dont need it anymore.
2007         * InternalWindowManager.cs: Add missing NOT
2009 2006-02-08  Jackson Harper  <jackson@ximian.com>
2011         * InternalWindowManager.cs: Respek clipping when drawing MDi
2012         decorations.
2014 2006-02-08  Jackson Harper  <jackson@ximian.com>
2016         * Hwnd.cs: Add bits to track non client expose events.
2017         * XplatUIX11.cs: Track non client expose events on the hwnd. This
2018         gives us a proper invalid rect and will allow for some nice
2019         optimizations with NC client drawing
2020         - MDI windows are children windows, so move their style handling
2021         into the child window block.
2022         * InternalWindowManager.cs: Remove a state reset that was
2023         getting invoked at the wrong time. Fixes managed windows getting
2024         into a 'stuck' captured state.
2026 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2028         * TextControl.cs (Document.ctor): Now initializing 
2029           selection_anchor. Fixes #77493
2031 2006-02-07  Jackson Harper  <jackson@ximian.com>
2033         * TrackBar.cs: The increment/decrements were backwards.
2035 2006-02-07  Mike Kestner  <mkestner@novell.com>
2037         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2038         to the instance itself.
2040 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
2042         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2043           on ulongs and pointers, the size differs between 32bit and 64bit
2044           systems. 
2046 2006-02-07  Mike Kestner  <mkestner@novell.com>
2048         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2049         for 64 bit platforms to work around a metacity bug. 
2051 2006-02-07  Jackson Harper  <jackson@ximian.com>
2053         * TrackBar.cs: Process the input keys we need, and hookup to
2054         KeyDown instead of using WndProc, so we get key messages.
2056 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
2058         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2059           machine we're on. 
2060         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2061           we need to translate the XdndVersion atoms array before sending it
2063 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
2065         * XplatUIX11.cs: 
2066           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2067             number of bits for the property, not the number of bytes. The
2068             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2069             but would not crash since it specified 8 bits instead of 4 bits)
2070           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2071             defined as XID -> long in the C headers)
2072           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
2073             references since those are now IntPtr to begin with
2074           - Switched all Atom.XXX 'int' casts to IntPtr casts
2075           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2076           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2077           - Added XChangeActivePointerGrab DllImport (for X11DnD)
2078         * X11Structs.cs:
2079           - Changed 'int' type for Atoms in XEvent structures to IntPtr
2080           - Changed atom in HoverStruct to be IntPtr
2081         * X11DnD.cs:
2082           - Removed local DllImports, switched code to use those from XplatUIX11
2083           - Removed/fixed casts related to the switch of Atom to be a IntPtr
2085 2006-02-06  Mike Kestner  <mkestner@novell.com>
2087         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
2088         method signatures in the import region.  There may still be some
2089         lingering struct marshaling issues, as I didn't drill down into those.
2090         Yet.
2092 2006-02-06  Jackson Harper  <jackson@ximian.com>
2094         * ComboBox.cs: Dont manually set the top_item, this is computed
2095         when the scrollbar position is set.
2097 2006-02-06  Mike Kestner  <mkestner@novell.com>
2099         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2100         startup crashes on amd64.  There's other fixes needed.  All pinvoke
2101         usage of Atom needs to be mapped to IntPtr for example.  And there are
2102         likely other int/long issues to be addressed.
2104 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
2106         * FileDialog.cs: One more...
2108 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2110         * FileDialog.cs: Next try
2112 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2114         * FileDialog.cs: First part of fix for #77464
2116 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
2118         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2119           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2120           AcceptButton border drawing.
2122 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
2124         * Form.cs: Moved positioning of form after auto scaling is applied,
2125           otherwise it would possibly use wrong form size.
2127 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
2129         * Control.cs (RecreateHandle): No need to re-create any child
2130           controls, the child windows will get destroyed automatically by
2131           the windowing system or driver, and re-created when the handle
2132           is being accessed the first time. Fixes #77456
2133         * Form.cs: No longer setting the form to closing if the handle is 
2134           being recreated. This seems like the right thing to do, don't
2135           have a bug or testcase for this, though.
2137 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2139         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2140           controls to avoid unwanted side effects
2142 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
2144         * Control.cs: 
2145           - ScaleCore needs to scale the bounds, not the ClientSize of the 
2146             control. Fixes #77416.
2147           - DefaultSize is 0,0 for control
2148         * TextBoxBase.cs: 
2149           - DefaultSize is 100, 20
2150           - SetBoundsCore: Now enforcing the height, no matter if the provided
2151             height is more or less than the preferred one, as long as AutoSize
2152             is on
2153         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2155 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
2157         * Control.cs:
2158           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2159             call unless both performLayout is true *and* we have a pending
2160             layout change
2161           - ResumeLayout: MS does not completely nest Suspend and Resume,
2162             they bottom out at 0, fixed our code to match that.
2163           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2164             SetBoundsCore, we were updating even when we shouldn't. This fixes
2165             swf-anchors mis-anchoring when resizing the app fast and lots.
2166           - UpdateDistances: Now only setting the left and top distance if 
2167             we have a parent and are not suspended, this is based on
2168             a suggestion by Don Edvaldson in bug #77355.
2169           - OnVisibleChanged: Fixed logic when to create the control. We may
2170             not create the control if we have no parent or if it's not visible;
2171             switched to using Visible property instead of is_visible field 
2172             since the property also considers parent states. This fixes a bug
2173             when starting Paint.Net
2175 2006-02-02  Jackson Harper  <jackson@ximian.com>
2177         * Form.cs: If the forms handle hasn't been created yet don't call
2178         into xplatui to make it top most, just set the topmost flag on the
2179         form in CreateParams
2180         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2182 2006-02-01  Jackson Harper  <jackson@ximian.com>
2184         * ScrollableControl.cs: Refactored the Recalculate method a
2185         little, this wasn't handling all the variants of bottom and right
2186         bars needed to be added and added/removed based on their
2187         counterparts being added/removed (which changes the drawable
2188         size). Also we special case client widths and heights of 0 and
2189         don't add the scrollbar for those.
2191 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
2193         * XplatUIX11.cs: 
2194           - Added method to get AbsoluteGeometry(); currently unused, but might
2195             be used in the future, if we try again to figure out toplevel
2196             coordinates with some more crappy window managers
2197           - Added FrameExtents() method to retrieve the WM set decoration size
2198           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
2199             to deal with at least KDE, FVWM and metacity (Fixes #77092)
2200         * Hwnd.cs: 
2201           - Added whacky_wm tracking var for metacity
2202           - Added logic to have default menu height if the actual menu height
2203             has not yet been calculated (part of fix for #77426)
2204         * Form.cs: Keep track whether client size has been set and re-set 
2205           it if a menu is added/removed afterwards (Fixes #77426)
2207 2006-01-31  Jackson Harper  <jackson@ximian.com>
2209         * Control.cs: When a new Site is set on the component attempt to
2210         pull the AmbientProperties from it.
2212 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
2214         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2215           in the background of the owning form. Fixes #77332
2217 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2219         * MimeIcon.cs: Fix for #77409
2221 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
2223         * XplatUIX11GTK.cs: Initial import
2225 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
2227         * FixedSizeTextBox: fixes class signature
2229 2006-01-30  Jackson Harper  <jackson@ximian.com>
2231         * FixedSizeTextBox.cs: New internal class that represents a
2232         textBox that will not be scaled.
2233         * TreeView.cs:
2234         * ComboBox.cs:
2235         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2236         standard TextBox.
2237                 
2238 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
2240         * XplatUIX11.cs: Retrieve default screen number instead of
2241           assuming 0. Attempted fix for #77318
2243 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
2245         * XplatUIWin32.cs: 
2246           - GetWindowPos: When a window is parented by FosterParent, use 
2247             the desktop instead of FosterParent as the base to get coordinates
2248           - CreateWindow: Don't make FosterParent the parent window for Popups
2249             if we don't want a taskbar entry, Popups automatically don't get one
2250         * Hwnd.cs: Need to call remove to actually remove the key from the
2251           hash table
2253 2006-01-30  Mike Kestner  <mkestner@novell.com>
2255         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2257 2006-01-30  Jackson Harper  <jackson@ximian.com>
2259         * TreeView.cs:
2260         * TreeNode.cs: Raise events no matter how the treenode is
2261         checked. Patch by Don Edvalson.
2263 2006-01-30  Jackson Harper  <jackson@ximian.com>
2265         * TreeNode.cs: Signature fix.
2267 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
2269         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2271 2006-01-20  Mike Kestner  <mkestner@novell.com>
2273         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2274         event forwarding when menus are active.
2275         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
2276         Most of the patch is pdb's with a little rework.
2278 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2280         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
2281           Removed GetMenuDC and ReleaseMenuDC methods; replaced
2282           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2283         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2284         * InternalWindowManager.cs: Added use of PaintEventStart/End to
2285           handling of WM_NCPAINT message, now passing the PaintEventArgs to
2286           the PaintWindowDecorations method
2287         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2288         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2289         * MenuAPI.cs: Made tracker window invisible
2290         * XplatUIWin32.cs:
2291           - Removed GetMenuDC and ReleaseMenuDC methods
2292           - Implemented the client=false path for PaintEventStart and
2293             PaintEventEnd
2295 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2297         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2298         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2299           styles
2300         * Form.cs: 
2301           - MaximizeBox, MinimizeBox: Recreate the handle when setting
2302             the style
2303           - CreateParams: Reworked the styles to match MS look'n'feel,
2304             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2305             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2307 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
2309         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
2310           window is not mapped, since otherwise every form that's being 
2311           created is considered minimized, which is wrong.
2312         * Form.cs: Catching the exception and returning our internal value
2313           instead
2315 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
2317         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2318           SetWindowMinMax() to have means to tell the driver about the minimum,
2319           maximum and maximized state window sizes. (Part of the fix for #76485)
2320         * Form.cs:
2321           - Implemented tracking of minimum and maximum window size, now calling
2322             new SetWindowMinMax() driver method to tell the driver (Part of the
2323             fix for #76485)
2324           - Finished handling of WM_GETMINMAXINFO method, now setting all values
2325             (Completes fix for #76485)
2326           - Calling new SetWindowMinMax driver method when the handle for a 
2327             form is created, to make sure the driver knows about it even if
2328             the values have been set before the window was created
2329           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2330             to avoid messing up our anchoring calculations (partial fix
2331             for #77355)
2332         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2333         * XplatUIX11.cs:
2334           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2335           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
2336             (and presumably other freedesktop.org compliant WMs). Left the
2337             assumption unmapped=minimized, needed for SetVisible to work.
2338           - Now setting the window state when creating windows
2339           - Fixed SetVisible to consider/set the window state when mapping
2340             a Form. We cannot set the state before it's mapped, and we cannot
2341             use Form.WindowState once it's mapped (since it would ask the
2342             driver and get 'normal'. Therefore, we grab the state before
2343             mapping, map, and then set state.
2344           - Implmemented SetWindowMinMax method; Metacity does not seem to
2345             honor the ZoomHints, though.
2346         * XplatUIWin32.cs:
2347           - Removed MINMAXINFO (moved to XplatUIStructs)
2348           - Added SetWindowMinMax stub (on Win32 the only way to set that
2349             information is in response to the WM_GETMINMAXINFO message, which
2350             is handled in Form.cs)
2351           - Added logic to SetVisible to set the proper window state when a 
2352             form is made visible (fixes #75720)
2354 2006-01-26  Jackson Harper  <jackson@ximian.com>
2356         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2357         same way we handle them with Invoke.
2359 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
2361         * Form.cs:
2362           - Added tracking of window state so CreateParams can return
2363             the appropriate style
2364           - Moved setting of WS_CAPTION style in CreateParams to allow
2365             styles without caption
2366         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
2367           control if the TextBox property is accessed. Fixes #77345
2368         * Control.cs:
2369           - get_Created: now uses is_disposed and is_created to determine
2370             return value (suggested by Jackson)
2371           - CreateHandle: No longer exits if the handle is being recreated
2372           - RecreateHandle: If the handle is not yet created call the 
2373             appropriate method to create either control or handle. If the
2374             control is already created CreateHandle will simply exit instead
2375             of just creating the handle
2376         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2377           now SendMessage WM_DESTROY directly to the control when DestroyWindow
2378           is called.
2379         * XplatUIX11.cs: 
2380           - When DestroyWindow is called, instead of waiting for the 
2381             DestroyNotification from X11, we directly post it to the WndProc
2382             and immediately dispose the hwnd object.
2383             Same applies to DestroyChildWindows, and this obsoletes the
2384             expose_pending tracking. Contrary to Win32 behaviour we destroy our
2385             child windows before our own, to avoid X11 errors.
2386           - Removed the direct sending of WM_PAINT on UpdateWindow
2387         * XplatUIWin32.cs:
2388           - Reworked DoEvents and GetMessage to allow access to internal queue
2389             even when trying non-blocking access to the queue.  Fixes #77335. 
2390             Based on a patch suggestion by Don Edvalson. The new private
2391             GetMessage can now also be used as a backend for a PeekMessage
2392             frontend version.
2393         * XplatUI.cs: Improved debug output for CreateWindow
2395 2006-01-25  Jackson Harper  <jackson@ximian.com>
2397         * Help.cs: Allow param to be null. Patch by Don Edvalson.
2399 2006-01-24  Jackson Harper  <jackson@ximian.com>
2401         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2402         when we have a MaxDropItems lower then the selected index.
2404 2006-01-24  Jackson Harper  <jackson@ximian.com>
2406         * Control.cs: Don't allow selection of non visible controls, allow
2407         selection of controls without parents.
2409 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2411         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2412         * DataGridDrawingLogic.cs: Add editing row only when is necessary
2414 2006-01-23  Jackson Harper  <jackson@ximian.com>
2416         * UpDownBase.cs: Make the textbox handle all the selection and
2417         tabbing. This fixes tabing to updown controls.
2419 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
2421         * TextBoxBase.cs: fixes exception thown the object was null
2423 2006-01-23  Jackson Harper  <jackson@ximian.com>
2425         * ButtonBase.cs: Just use the base CreateParams. They set
2426         visibility and enabled correctly.
2427         * ComboBox.cs:
2428         * TrackBar.cs:
2429         * MonthCalendar.cs: Lets let the base set as much of the
2430         createparams as possible so we don't have duplicate code all over
2431         the place.
2433 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
2435         * ThemeGtk.cs: Added TrackBar and some experimental code to
2436           get double buffering back
2438 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2440         * DataGrid.cs: Allows row number set internally higher than the last
2441         when creating a new row. Restores the editing functionality.
2443 2006-01-20  Mike Kestner  <mkestner@novell.com>
2445         * MimeIcon.cs: delay Image creation until the icons are accessed
2446         instead of creating 190 scaled images on GnomeHandler startup.
2448 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2450         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2451           first call base before processing the event. Fixes #77279
2453 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2455         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2456           that the stride for the GDI bitmap would match the stride of
2457           a DIB or a Cursor.
2459 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2461         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2463 2006-01-19  Jackson Harper  <jackson@ximian.com>
2465         * ComboBox.cs: Hookup the text controls keydown event so we get
2466         those when the text control has the focus.
2468 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2470         * Label.cs: Now using the base events instead of defining new ones;
2471           this allows us to just call the base properties without having to
2472           duplicate all base property logic 
2474 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2476         * Label.cs: A label by default is not a tabstop (Fixes one of our
2477           failing nunit tests)
2479 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2481         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2482         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2484 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2486         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2487           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2488           This fixes #77218
2489         * XplatUIWin32.cs: 
2490           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2491             constructor creates images that can't be saved. Part of the fix
2492             for #76103
2493           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2494           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2495             bug fix for handling window state in forms properly)
2497 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2499         * ThemeGtk.cs: Simplify ScrollBar drawing
2501 2006-01-18  Jackson Harper  <jackson@ximian.com>
2503         * Splitter.cs: Set the default dock style for the splitter control
2504         in the constructor.
2506 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2508         * ThemeGtk.cs: Corrected StateType and ShadowType for
2509           gtk_paint_box
2511 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2513         * Control.cs: Make use of Theme.DoubleBufferingSupported
2514         * ThemeGtk.cs:
2515           - Added drawing for flat style buttons
2516           - Added ScrollBar drawing
2518 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2520         * ThemeClearlooks.cs: Removed some unneeded code.
2521         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2523 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2525         * LinkLabel.cs: We need to update the hover drawing when
2526           leaving the control as well.
2528 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2530         * DataGrid.cs: Clicking on non empty areas in the columns
2531            area was giving an exception
2533 2006-01-17  Jackson Harper  <jackson@ximian.com>
2535         * ThemeWin32Classic.cs:
2536         * ListView.cs: Do not draw/clip the headers when the header style
2537         is None.
2539 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2541         * DataGrid.cs: Fixes 77260
2542         
2543 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2545         * DataGrid.cs: Clicking on a column on a empty grid was giving
2546           an exception
2548 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2550         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2551           or any keypress will crash the grid.
2553 2006-01-17  Mike Kestner  <mkestner@novell.com>
2555         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2556         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
2557         invisible/previously-visible items.
2558         [Fixes #76909]
2560 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
2562         * ThemeClearlooks.cs:
2563         - Added CL_Draw_Button method; now other theme controls that are 
2564           not derived from button or do not have a button can draw buttons
2565           too
2566         - Updated ComboBox drawing
2567         - Beautified RadioButton drawing
2568         - Corrected drawing of bottom and left tabs
2569         - Beautified DateTimePicker and MonthCalendar
2570         - Added CPDrawButton and CPDrawRadioButton
2572 2006-01-16  Jackson Harper  <jackson@ximian.com>
2574         * ComboBox.cs: Set the initial value of the scrollbar to the
2575         current index. Reduce the numbers of refreshs and IndexOfs called.
2577 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
2579         * FileDialog.cs: When the file listview is focused hitting the
2580           backspace key moves the fileview to the parent directory
2582 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2584         * Form.cs: 
2585           - Added RecreateHandle call when changing taskbar visibility to 
2586             trigger reparenting in Win32 driver (Fixes #75719)
2587           - If a window has minimize or maximize buttons, it cannot have
2588             a help button
2589         * XplatUIWin32.cs:
2590           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2591             the toplevel form with FosterParent (A toolwindow not on the
2592             taskbar) (Fixes #75719)
2593           - Made FosterParent a toolwindow
2595 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2597         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2599 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2601         * ToolTip.cs: If SetToolTip is called from a control and the mouse
2602           is currently over that control, make sure that tooltip_window.Text
2603           gets updated
2605 2006-01-13  Mike Kestner  <mkestner@novell.com>
2607         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2609 2006-01-13  Jackson Harper  <jackson@ximian.com>
2611         * TreeView.cs: On MS GetNodeAt never actually factors in the X
2612         value passed.  Also redraw the selected node when we recieve
2613         focus, so tabbing between trees works correctly.
2615 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2617         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2618           ~/.gconf/%gconf-tree.xml, so use
2619           .gconf/desktop/gnome/interface/%gconf.xml
2621 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2623         * TextControl.cs: Draw text in gray if control is disabled
2625 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2627         * TreeView.cs: Draw the focus rectangle outside the highlight, to
2628           make sure it's always visible. Fixes #76680.
2630 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2632         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2634 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
2636         * PageSetupDialog.cs: Added.
2637         * PrintDialog.cs: Attributes.
2638         * PrintPreviewControl.cs: Updates.
2639         * PrintPreviewDialog.cs: Updates.
2640         
2641 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2643         * Control.cs: Undid my selection check fix, since it's not needed
2644         * TextBoxBase.cs:
2645           - Now considering the presence of hscroll/vscroll when sizing
2646             vscroll/hscroll respectively. Fixed bug #77077
2647           - Added Left/Up/Down/Right to IsInputKey list to prevent
2648             ContainerControl from stealing them. This fixes what I broke
2649             with my last checkin.
2651 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
2653         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2654           I finally understand how the property can be set without a setter :-)
2656 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2658         * Application.cs:
2659           - Switched RunLoop to use static Message.Create to create a 
2660             Message object
2661           - Added PreProcessMessage call in runloop for keyboard events; this
2662             is part of the fix for #77219, I overlooked this originally in the
2663             MSDN doc for PreProcessMessage
2664         * Control.cs:
2665           - Removed call to PreProcessMessage from handling of keyboard 
2666             messages; it's supposed to be done in the message pump
2667           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2668             per MSDN documentation.
2669           - IsInputChar: All chars are input chars by default; removed the 
2670             parent calling chain, MS does not document that
2671           - PreProcessMessage: If IsInputChar is true, we want to return false
2672             to allow dispatching of the message
2673           - When selecting the next control, now also check that we're not
2674             selecting ourselves again and therefore return a false positive.
2675         * TextBoxBase.cs:
2676           - Tried to match return values for IsInputKey and ProcessDialogKey
2677             to what MS returns; moved processing of our special keys outside
2678             ProcessDialogKey since MS does not seem to return true on those.
2679           - Moved code that previously was in ProcessDialogKey into new private
2680             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2681           - Reworked handling of WM_CHAR to not have to duplicate code from
2682             Control.cs anymore, instead we simply call down to base.
2683            
2684 2006-01-12  Jackson Harper  <jackson@ximian.com>
2686         * ComboBox.cs: We always need to refresh the text area when
2687         EndUpdate is called. Fixes the combobox in the file dialog.
2688         * Control.cs: Don't create the creator_thread until the controls
2689         handle is created.  Also in InvokeRequired we check if the
2690         creator_thread is null. This gives the effect of InvokeRequired
2691         returning true if the controls handle is not created yet, and
2692         matches MS.
2694 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2696         * XplatUI.cs:
2697           - Added StartLoop() driver method. This is used to allow drivers to
2698             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2699             loop for a particular thread
2700           - Added EndLoop() driver method. This is called once the message
2701             pump for the thread is shut down
2702           - Added SupportsTransparency method to allow the driver to indicate
2703             opacity support for windows
2704         * Form.cs:
2705           - Removed TODO attribute, completed AllowTransparency property
2706           - Added documented logic to Opacity
2707         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2708           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2709           versions of CompatibleTextRendering
2710         * X11Structs.cs: Added opacity atom to our atom enumeration
2711         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2712           of a form might be set before it's reparented by the WM, and we need
2713           the opacity value without calling up to Form)
2714         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
2715           SupportsTransparency() driver methods
2716         * Application.cs: Now calling StartLoop and EndLoop driver methods
2717         * XplatUIX11.cs:
2718           - Added opacity atom registration
2719           - Added StartLoop()/EndLoop() methods. They're empty right now but
2720             will need to get implemented when we switch to a per-thread queue
2721           - Implemented SupportsTransparency() method
2722           - Implemented SetWindowTransparency() method
2723           - Added support for setting the opacity value when a window is
2724             reparented (since the opacity needs to be set on the WM frame)
2725         * XplatUIOSX.cs, XplatUIWin32.cs:
2726           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2728 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2730         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2732 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2734         * FileDialog.cs: Added ToolTip for MWFFileView
2735         * MimeIcon.cs: Rewrote GnomeHandler.
2736           - Get currently used gnome icon theme from
2737             ($HOME)/.gconf/%gconf-tree.xml
2738           - Make use of inherited icon themes
2739           - Support SVG icon themes like Tango via librsvg
2741 2006-01-12  Miguel de Icaza  <miguel@novell.com>
2743         Revert's Jackson's revert which broke 2.0 builds.   Fix both
2744         builds. 
2745         
2746         * Application.cs: Move the use_compatible_text_rendering outside
2747         the NET_2_0 define.  If we ever need to use the
2748         use_compatible_text_rendering on the individual controls they will
2749         access the variable from the common shared code paths.
2751 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2753         * XplatUI.cs:
2754           - Added more granular debug options
2755           - Added method to print both window text and id
2756           - Switched debug output to use new Window() debug method
2757           - Added IsEnabled() driver method
2758           - Added EnableWindow() driver method
2759         * Form.cs:
2760           - Removed end_modal; no longer needed, new loop handles termination
2761             via 'closing' variable
2762           - If form is modal, setting DialogResult will now initiate loop
2763             termination via 'closing' variable
2764           - Added support for is_enabled/WS_DISABLED to CreateParams
2765           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2766             does all the work
2767           - Removed code that's now in RunLoop from ShowDialog()
2768           - Added various documented sanity checks to ShowDialog()
2769           - Added handling of WM_DESTROY message; we set 'closing' on getting
2770             the message to indicate the message pump to terminate
2771           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2772             send by the Application.ExitThread method. (We send the message
2773             to destroy the window after all other events have been
2774             processed through the queue, instead of destroying the handle 
2775             directly)
2776           - Moved code from Close() method to WM_CLOSE handler; added logic
2777             to only send close-related events if the form is not displayed
2778             modal
2779         * Splitter.cs (..ctor): Fixed typo in resource name
2780         * Control.cs:
2781           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2782             brush now
2783           - set_Cursor: Now only setting calling into XplatUI if the handle for
2784             the control is already created; this avoids implict handle creation
2785             or crashes if it's not created
2786           - set_Enabled: Now setting the enabled state via the new driver method
2787             instead of just tracking it
2788           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2789           - CreateControl: Reordered event firing and method calls to more
2790             closely fire events in the order MS does. Now setting the
2791             enabled state in the driver when creating the control.
2792           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2793             match MS order
2794         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2795           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2796         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2797         * Hwnd.cs:
2798           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2799           - Added EnabledHwnd property to easily allow a driver to find the
2800             handle of the first enabled window in the parent chain (this is
2801             used by drivers to pass up input events of disabled windows)
2802         * XplatUIDriver.cs: Added IsEnabled() method
2803         * Application.cs:
2804           - Removed crude and obsolete exiting tracking variable
2805           - Removed internal ModalRun(); replaced by RunLoop()
2806           - Implemented private CloseForms() method to allow closing all 
2807             windows owned by a particular (or all) threads
2808           - Exit() now properly closes all windows without forcing the message
2809             pump to quit
2810           - Removed obsolete InternalExit() method
2811           - Changed Run() methods to use new RunLoop() message pump
2812           - Implemented new RunLoop() method for both modal and non-modal forms
2813         * CommonDialog.cs:
2814           - get_CreateParams: Added setting of WS_DISABLED
2815           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2816             invoked via Form.ShowDialog()
2817         * NativeWindow.cs: We don't remove the window from the collection when
2818           the handle is destroyed; there might still be messages for it in the
2819           queue (mainly the resulting WM_DESTROY); instead it will be removed
2820           when Control calls InvalidateHandle in the WM_DESTROY handler
2821         * XplatUIX11.cs:
2822           - CreateWindow: Added logic to handle the WS_DISABLED window style
2823           - EnableWindow: Implemented based on Hwnd.Enabled
2824           - GetMessage: Reset PostQuitState so the method can be called again
2825           - Implemented support for disabled windows (passing messages to the
2826             first enabled parent) in handling all input messages
2827           - Added optimizations for handling Expose events
2828           - Implemeted new driver method IsEnabled()
2829           - Now always resetting paint pending tracking vars when we start paint
2830           - Re-implemented UpdateWindow via just sending a WM_PAINT message
2831         * XplatUIOSX.cs: Added IsEnabled method stub
2832         * XplatUIWin32.cs: Implemented new IsEnabled() method
2834 2006-01-11  Jackson Harper  <jackson@ximian.com>
2836         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2837         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2838         variables a little.
2839         * ColorDialog.cs: Clear out the old form before adding the new
2840         panel.  
2842 2006-01-11  Jackson Harper  <jackson@ximian.com>
2844         * X11Dnd.cs: Make sure to add all the text formats when adding
2845         strings to the data object.
2846         * TreeNodeCollection.cs: When adding to a sorted tree we need to
2847         do some redrawing too.  Also change the UpdateNode to an
2848         UpdateBelow so the newly added node gets painted.
2849         
2850 2006-01-11  Miguel de Icaza  <miguel@novell.com>
2852         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2853         LinkLabel.cs, PropertyGrid.cs: Implement the
2854         UseCompatibleTextRendering property for 2.x
2856         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
2858 2006-01-11  Jackson Harper  <jackson@ximian.com>
2860         * TreeView.cs: Use the property for setting the selected node so
2861         the correct events get raised.
2862         * TreeNode.cs: Update the tree when the fore/back colours of a
2863         node are set.
2865 2006-01-10  Jackson Harper  <jackson@ximian.com>
2867         * TreeView.cs: Allow setting SelectedNode to null.
2869 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2871         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2873 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2875         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2877 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2879         * PrintDialog.cs: Added attributes and set default property values.
2881 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2883         * PrintControllerWithStatusDialog.cs: 
2884         Added PrintControllerWithStatusDialog.
2886 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2888         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
2889         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2891 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2893         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2895 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
2897         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2898         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2900 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2902         * MimeIcon.cs: Added internal class SVGUtil.
2904 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2906         * FileDialog.cs: Don't crash if there are two files with the
2907           same name but different locations.
2909 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
2911         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2912         dates across multiple month grids. Used to not highlight entire 
2913         month, but does now.
2914         
2915 2006-01-06  Jackson Harper  <jackson@ximian.com>
2917         * MonthCalendar.cs: Removed DoEvents call to prevent a running
2918         message loop. Change timer intervals to numbers that seem more
2919         natural.
2921 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
2923         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2924           object for location info since screen object is now implemented.
2926 2006-01-05  Jackson Harper  <jackson@ximian.com>
2928         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2929         * AsyncMethodResult.cs: We no longer use a WeakReference for the
2930         AsyncMethodResult, this is because we ALWAYS want the
2931         ManualResetEvent to get set.
2932         * Control.cs: When disposing use an async invoke to call shutdown
2933         code, so that thigns don't block on the finalizer thread.  Also
2934         check if we even have a message loop before trying to send
2935         messages, if we don't then don't bother sending messages.
2936         - No more weak references for async methods
2937         * XplatUIDriver.cs: No more weak references for async methods.
2939 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2941         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2942           returns two FontFamily with the same name
2944 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2946         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
2947           drawing disabled text. Instead using the ColorGrayText color
2949 2006-01-04  Jackson Harper  <jackson@ximian.com>
2951         * TreeNode.cs: redraw the node when its image index is changed.
2953 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2955         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2956           time I checked there are no others like it.
2958 2006-01-04  Jackson Harper  <jackson@ximian.com>
2960         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2961         this gives the behavoir I was looking for.
2962         * Control.cs: Special case Invoking EventHandlers, this matches MS
2963         and fixes part of bug #76326.
2965 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2967         * ThemeClearlooks.cs, FileDialog.cs:
2968           - Reflect the latest Theme class changes
2969           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
2970             with DateTime
2971             
2972 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2974         * Theme.cs: Cache UI resource images and resize them if needed
2976 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2978         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2979           is called. This fixes the crash in Nexxia when setting the font
2980           attributes in the chat. [However, RTF needs a look-over to make sure
2981           that all SelectionXXX methods handle the special case that selection
2982           is empty and therefore the change must be applied to all text starting
2983           at the cursor/selection start]
2985 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
2987         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2988           XplatUIOSX.cs: Added SendMessage and PostMessage methods
2989         * X11Keyboard.cs: Switched to new way of calling PostMessage
2991 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2993         * Theme.cs: Added theme interface for images to allow the theme to
2994           control what images are used for things like FileDialog, MessageBox
2995           icons, etc.
2996         * MessageBox.cs: Now uses the new Theme icon/image interfaces
2998 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
3000         * FileDialog.cs:
3001           - Removed some dead code
3002           - Opening a recently used file does work now
3003           - Small UI enhancements
3004           - Refactoring
3006 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3008         * FileDialog.cs: Forgot too add __MonoCS__
3010 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
3012         * FileDialog.cs: We are able to read recently used files now let's
3013           go on and write them.
3015 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
3017         * FileDialog.cs: Breathe some life into "last open"/"recently used"
3018           button
3019         * MimeIcon.cs: Do a check for the top level media type also
3021 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3023         * ThemeClearlooks.cs:
3024           - Added CPDrawStringDisabled
3025           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3026             some chars if the text doesn't fit into text_rect
3027           - DrawListViewItem: If View = View.LargeIcon center the image;
3028             rewrote the drawing of ListViewItem.Text if View = 
3029             View.LargeIcon
3031 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
3033         * MimeIcon.cs: Use default KDE icon theme if there is no
3034           "48x48" directory for the current icon theme, fixes #77114
3035         * Mime.cs: Disable not working and actually not used code. 
3036         * ThemeWin32Classic.cs:
3037           - Replace "new SolidBrush" in GetControlBackBrush and
3038             GetControlForeBrush with ResPool.GetSolidBrush
3039           - Changed DrawListViewItem from private to protected virtual
3040         * FileDialog.cs:
3041           - Added form.MaximizeBox = true
3042           - Don't throw an exception if there is a broken symbolic link
3044 2005-12-23  Jackson Harper  <jackson@ximian.com>
3046         * TabControl.cs: Give the panels focus, keyboard navigation is
3047         fixed so this works correctly now.
3048         - We need these key events also.
3049         * ToolBar.cs: Remove some of the poor mans double buffering.
3050         
3051 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
3053         * ComboBox.cs: The internal TextBox now returns the focus.
3055 2005-12-23  Jackson Harper  <jackson@ximian.com>
3057         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
3059 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3061         * Control.cs: Removed debug code
3062         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3063           implicit children
3065 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
3067         * Control.cs: When creating the control, update the Z-order after
3068           all it's children are created, too. (Fixes nexxia not showing
3069           picturebox bug)
3071 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
3073         * Control.cs: Do not update the anchoring distances if layout is
3074           suspended, instead do it once layout is resumed
3076 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
3078         * Control.cs: 
3079           - After many hours of debugging, for both Jackson and
3080             myself, it turns out that it helps to set the parent of a control
3081             if you want to actually see it onscreen. In the spirit of that
3082             discovery, we're now setting the parent of the control and
3083             it's children when the control's handle is created. This fix
3084             will make Lutz Roeder's Reflector run happily. 
3085           - now just creating the handle instead of the whole control when
3086             getting a graphics context for the control.
3088 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3090         * ScrollableControl.cs: When calculating the canvas, don't consider
3091           the scrollbar widths. Instead, predict if horizontal scrollbar
3092           will affect canvas when deciding on vertical display and vice versa.
3094 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
3096         * RichTextBox.cs: Set default RTF font for documents that don't
3097           have a font table (Fixes #77076)
3099 2005-12-22  Jackson Harper  <jackson@ximian.com>
3101         * TextBoxBase.cs: It's difficult to do, but you can have an empty
3102         clipboard. This prevents a NullRef in that case.
3103         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3104         clipboard. PRIMARY is for the currently selected text only. (We
3105         should implement PRIMARY at some point.
3107 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3109         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3110           a Unicode function with a structure that was defined in Ansi way.
3111           This fixes #76942.
3113 2005-12-21  Jackson Harper  <jackson@ximian.com>
3115         * StatusBar.cs: Statusbar handles its fore/back colours on it's
3116         on. Because thats how it rolls. (and this avoids it using ambient
3117         colours).
3118         * ThemeWin32Classic.cs: Use the proper back color for filling.
3119         * Menu.cs: Use the system menu bar color for drawing menu
3120         bars. Using the window back color will bring ambient colours into
3121         the picture.
3123 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
3125         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3126           Bitmaps were created and not disposed.
3128 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3130         * Control.cs (CreateControl): Don't do anything if the control is
3131           already created, otherwise we'd fire the OnCreated event more than
3132           once
3134 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3136         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3137           will always match. Instead return -1. Fixes #76464.
3139 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
3141         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3142           neither the beginning nor the end of the line (Fixes bug #76479)
3144 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
3146         * Control.cs:
3147           - ControlNativeWindow.ControlFromHandle(): Now handling situation
3148             where handle is invalid
3149           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3150             instead of slower linear search
3151         * NativeWindow.cs: Don't remove the window from the hashtable until
3152           after the driver has destroyed it (since the driver might use
3153           Control.FromHandle to lookup the control object
3154         * Hwnd.cs: Added DestroyPending property to track if a window is 
3155           already destroyed as far as the driver is concerned and only hasn't
3156           yet notified the control
3157         * XplatUIX11.cs:
3158           - Activate(): Check if the window is still valid before using the 
3159             handle
3160           - Implemented DestroyChildWindow() method to mark child windows as
3161             destroyed when a window is destroyed. This prevents situations 
3162             where we might call an X method based on queued events for a
3163             window that already has been destroyed but we haven't yet pulled
3164             the destroy method from the queue.
3165           - Added a call to the new DestroyChildWindow() method to the drivers
3166             DestroyWindow code. Also now marking the destroyed window itself
3167             as pending
3169 2005-12-20  Jackson Harper  <jackson@ximian.com>
3171         * StatusBar.cs:
3172         * StatusBarPanel.cs: Don't calculate panel sizes on draw
3173         anymore. Just do them when needed, also track the rects of panels
3174         so that we can optimize refreshing more in the future.
3176 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
3178         * ColorDialog.cs: Fixed focus drawing in small color controls
3180 2005-12-19  Jackson Harper  <jackson@ximian.com>
3182         * InternalWindowManager.cs:
3183         * MdiWindowManager.cs: Cleanup some coordinate system changes so
3184         moving windows works properly.
3186 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
3188         * Control.cs: 
3189           - Removed call to InitLayout() from SetBoundsCore(); doc says
3190             it's only called when a control is added to a container
3191           - Split InitLayout logic, moved to separate UpdateDistances() method
3192             since we need to perform those calculations more often than just
3193             when adding the control to a container. (Needed to fix #77022)
3194           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3195           - Reduced the OnBindingContextChanged events count, don't send them
3196             unless the control is created, we still aren't totally matching
3197             MS, but I can't quite figure out some of their rules
3199 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3201         * ThemeClearlooks.cs: Corrected distance between ProgressBar
3202           stripes
3204 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3206         * ThemeClearlooks.cs:
3207           - Updated ProgressBar drawing
3208           - Corrected drawing of ScrollBars and scroll buttons
3209           - Some temporary fixes for minor pixel artefacts
3211 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
3213         * Control.cs:
3214           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3215             cause events to be sent in the same order as MS does.
3216           - Added ChangeParent() method to trigger various OnXXXChanged events
3217             that need to be fired when a parent changes (This is a reworking
3218             of the patch from r54254, with the X11 errors fixed)
3219           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3220             since on MS we get OnLayoutChanged events when calling Clear()
3221           - Changed Enabled property to consider parent state as well, if a
3222             parent is not enabled, the control will not be either
3223           - Changed Parent property to simply call Controls.Add() since that
3224             now does all the work required, this way we avoid code duplication
3225           - Threw in a few OnBindingsContextChanged calls to try and match
3226             when MS sends them. We seem to send a few too many, though.
3227           - Added call to CreateControl when adding the control to a parent.
3228             We were never calling CreateControl. Still needs some work, in
3229             some places we treat HandleCreated and ControlCreated as equal, 
3230             which is wrong
3231           - Removed obsolete commented out code from UpdateZOrder()
3233 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
3235         * ThemeClearlooks.cs: Updated TrackBar drawing.
3237 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3239         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3241 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
3243         * FileDialog.cs: Add the Help button and the open readonly
3244           checkbox only if needed
3246 2005-12-16  Jackson Harper  <jackson@ximian.com>
3248         * Control.cs: Make sure we have an active menu before trying to
3249         process commands on it. Prevents menu-less forms from crashing
3250         when Alt is pressed.
3251         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3252         Dieter Bremes.
3253         * RichTextBox.cs: Expand statement to help out gmcs and fix the
3254         2.0 build.
3256 2005-12-16  Jackson Harper  <jackson@ximian.com>
3258         * InternalWindowManager.cs: Don't translate tool windows screen
3259         coordinates. This fixes windows 'bouncing' around when being moved.
3261 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3263         * TextBoxBase.cs:
3264           - MaxLength now treats 2^31-1 equal to unlimited length (this is
3265             not quite MS compatible, MS uses that number only for single line
3266             and 2^32-1 for multi-line, but I figure it won't hurt keeping
3267             the limit at 2GB)
3268           - Now enforcing the MaxLength limit when entering characters
3269           - Added argument to internal Paste() method to track if it's called
3270             from programatically or via keyboard, since keyboard driven pastes
3271             need to enforce max-length
3272           - Added logic to Paste to only paste as many chars as MaxLength 
3273             allows
3274         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3275         * TextControl.cs:
3276           - Added Length property to return number of characters in document
3277           - Added private CharCount property which only tracks actual chars
3278             in the document (no linefeeds) and fires event when CharCount
3279             changes
3280           - Added tracking of character count to all methods that alter it
3281           - Added LengthChanged event to allow applications to subscribe
3282             to any changes to the document
3284 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
3286         * TextBox.cs: 
3287           - Removed local password_char field (moved to TextBoxBase)
3288           - Now setting the document's password var when password is
3289             set
3290         * TextBoxBase.cs:
3291           - Added password_char field (needed here so MultiLine can
3292             access it)
3293           - Added logic to MultiLine property setter to set the document's
3294             variable when password display is allowed
3295           - Removed debug code and made some debug code conditional
3296         * TextControl.cs:
3297           - Added RecalculatePasswordLine() method to handle special password
3298             char only lines
3299           - Added PasswordChar property, also added related tracking vars
3300           - Draw() method now uses local text var for grabbing text to draw,
3301             this var is set to line.text unless we're doing password display,
3302             then it is set to the pre-generated all-password-chars line
3303           - Added calling RecalculatePasswordLine() method for password lines
3305 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3307         * Hwnd.cs: 
3308           - Added Reparented property to allow tracking of Window Manager
3309             reparenting actions (which affect X/Y calculations of toplevel 
3310             windows)
3311           - Made ToString() print window handles in hex
3312         * XplatUIX11.cs:
3313           - AddConfigureNotify(): Now uses reparented state off Hwnd to
3314             determine if X/Y needs offsetting
3315           - AddConfigureNotify(): Fixed offset calculations
3316           - Now adds ReparentNotify messages into the queue
3317           - Now processes ReparentNotify messages and causes a 
3318             WM_WINDOWPOSCHANGED message to be sent upstream if a window
3319             is reparented (as most likely it's X/Y coordinates are changed
3320             due to that)
3322 2005-12-14  Jackson Harper  <jackson@ximian.com>
3324         * XplatUIX11.cs: Tool windows still need to respek focus.
3326 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
3328         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3329           have a working release
3331 2005-12-13  Jackson Harper  <jackson@ximian.com>
3333         * Form.cs: Update styles after setting the border style regardless
3334         of whether or not the window is using a window manager.
3336 2005-12-13  Jackson Harper  <jackson@ximian.com>
3338         * Form.cs: We now hook into an internal window manager instead of just an
3339         MDI subsystem, this is so we can have properly behaving tool windows.
3340         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3341         * InternalWindowManager.cs: New internal class that acts as a
3342         window manager for tool windows and as a base for mdi windows.
3343         * MdiWindowManager.cs: New class that acts as a window manager for
3344         mdi windows.
3346 2005-12-12  Jackson Harper  <jackson@ximian.com>
3348         * Control.cs: Updates so we match behavoir for for implicit
3349         controls. Fixes explosions in MDI.
3351 2005-12-12  Jackson Harper  <jackson@ximian.com>
3353         * Control.cs: Implement Invalidate (Region).
3355 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
3357         * Control.cs: 
3358           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
3359             the same events as MS does. MS fires events for each property 
3360             except, for unknown reasons, Cursor, when the control is reparented. 
3361             I can't seem to totally match add/remove since MS also fires some 
3362             VisibleChanged events, which makes no sense. Consolidated the
3363             parenting code into a separate method so it can be called from
3364             both Add and Remove. set_Parent no longer needs any special logic
3365             as it calls the parent's add method which implicitly fires
3366             all events
3367           - Removed some obsolete code and debug output
3368           - Enabled state is inherited from parents, if this is enabled
3370 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
3372         * Form.cs: Removed commented out code
3374 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
3376         * Control.cs:
3377           - Added internal version of Invoke, with additional argument 
3378             indicating if we're calling it from a Dispose() handler. That
3379             way we can avoid BeginInvoke throwing an exception if we're
3380             calling for an already destroyed window.
3381           - Added a dispose argument to BeginInvokeInternal, and made the
3382             check if a valid window handle chain exists conditional on
3383             it not being a dispose call
3384           - Removed code in DestroyHandle to destroy our children. Since we
3385             now handle the WM_DESTROY message we will catch all our children
3386             being destroyed.
3387           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3388         * Form.cs:
3389           - Added a field to track the application context of the form.
3390           - No need to set closing variable as response to WM_CLOSE, instead
3391             we destroy the window. We also call PostQuitMessage if the form
3392             has an application context (which makes it the main app form,
3393             which, when closed terminates the app)
3394         * XplatUI.cs:
3395           - Dropped Exit() method, it's naming was confusing
3396           - Added PostQuitMessage() which causes GetMessage to return false
3397             once the message queue is empty
3398         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
3399           PostQuitMessage()
3400         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3401           no longer a valid XplatUI method, but left it in since it's used
3402           internally. Added empty PostQuitMessage() method.
3403         * MenuAPI.cs: Replaced call to Exit() with call to
3404           PostQuitMessage, even though this is probably no longer needed.
3405         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3406         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3407         * Application.cs:
3408           - Replaced call to XplatUI.Exit() with PostQuitMessage()
3409           - Removed old debug code that would call XplatUI for exception
3410             display, enabled standard exception handling (Still not enabled
3411             though, until NativeWindow's ExternalExceptionHandler define
3412             is removed
3413         * NativeWindow.cs:
3414           - Added internal method to allow control to update NativeWindow
3415             after a window has been destroyed
3416           - Added handling of already destroyed windows when calling i
3417             DestroyWindow
3418           - Added removal of handle from list on ReleaseHandle
3419         * XplatUIX11.cs:
3420           - Dropped GetMessageResult var and related code
3421           - Added PostQuitState to field to track if PostQuitMessage has been
3422             called
3423           - Dropped Exit() method
3424           - Added PostQuitMessage() method
3425           - GetMessage now will return false if PostQuitState is set and no
3426             more messages are in the queue.
3427           - Expose handler will no longer generate WM_PAINT messages if we are
3428             in PostQuitState since it's very likely any windows have already
3429             been destroyed, and since Hwnd won't get updated until we have
3430             processed the DestroyNotify we'd be causing X errors.
3431         
3432 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3434         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3435           Thanks to Mike for pointing out the err of my ways.
3437 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3439         * Control.cs(PreProcessMessage): Moved menu handling back, but
3440           after all other key handling, to match MS (who handles Menu in
3441           DefWndProc)
3442         * Menu.cs (WndProc): Removed my brainfart
3444 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3446         * Control.cs(PreProcessMessage): Removed special menu handling 
3447         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3449 2005-12-07  Mike Kestner  <mkestner@novell.com>
3451         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3452         state according in tracker.
3453         * Menu.cs : promote tracker field to base class and provide a tracker
3454         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3455         has a tracker. Unparent items that are removed from the collection.
3456         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3457         * Theme*.cs: add always_show_hotkeys field to support configurability
3458         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3459         pressed.
3461 2005-12-07  Jackson Harper  <jackson@ximian.com>
3463         * MdiChildContext.cs: Use Control.ResetCursor.
3464         * Control.cs: ResetCursor needs to set the property so that the
3465         correct XplatUI call gets made.
3467 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3469         * Control.cs: More fixes to make our key events match MS. We
3470           were not setting the modifier state on KeyData, and we were
3471           not generating any events when Alt was pressed with a key
3472           since handling of WM_SYSxxx was missing for the OnKey methods.
3474 2005-12-07  Jackson Harper  <jackson@ximian.com>
3476         * MdiChildContext.cs: reenable the sizing code.
3477         - When the mouse leaves a window reset its cursor.
3479 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3481         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3483 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3485         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3486           widths of Fixed3D borders
3488 2005-12-07  Jackson Harper  <jackson@ximian.com>
3490         * MdiClient.cs: Fix warnings. Earn Mike's love.
3492 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3494         * ThemeClearlooks.cs:
3495           - Adjusted mouse over button color
3496           - Added first parts of CheckBox drawing
3497           - Added correct color for selected text background
3498           - Fixed ComboBox drawing
3499           - Added CPDrawBorder3D and CPDrawBorder
3501 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3503         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3505 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3507         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3508           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3509           alert users via sound. We could add an enum arg with different
3510           types of alerts in the future
3512 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3514         * Control.cs: Fix behaviour problems pointed out by Mike
3516 2005-12-05  Mike Kestner  <mkestner@novell.com>
3518         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3519         prop setters.  Calls parent.Refresh for now, but could be maybe be
3520         optimized with an internal method on StatusBar at some point.
3521         [Fixes #76513]
3523 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3525         * RichTextBox.cs: Implemented get_SelectionColor
3527 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3529         * ThemeClearlooks.cs:
3530           - Removed dead code
3531           - Draw black button border only if button is Form.AcceptButton
3532           - Draw correct button color for pressed RadioButton if the mouse 
3533             has entered the button
3534           - Updated ProgressBar drawing!
3535           - Updated CPDrawSizeGrip drawing
3536           - Updated StatusBarPanel drawing
3538 2005-12-05  Mike Kestner  <mkestner@novell.com>
3540         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3541         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3543 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
3545         * ThemeClearlooks.cs: Initial check-in, activate with
3546           export MONO_THEME=clearlooks
3547         * ThemeEngine.cs: Added ThemeClearlooks
3549 2005-12-03  Mike Kestner  <mkestner@novell.com>
3551         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3552         [Fixes #76897]
3554 2005-12-02  Jackson Harper  <jackson@ximian.com>
3556         * Form.cs: If the child form has no menu the default main menu is
3557         used as the active menu.
3559 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
3561         * ListBox.cs: Check if any items exist before trying to resolve 
3562           coordinates into items
3564 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3566         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3567           as the second color for the background hatch
3569 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3571         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3572         * RichTextBox.cs: FormatText position arguments are 1-based, now making
3573           sure that what we pass to FormatText is always 1-based. Fixes #76885
3575 2005-11-29  Miguel de Icaza  <miguel@novell.com>
3577         * NumericUpDown.cs (EndInit): When we are done initializing,
3578         reflect any updates on the UI.
3580 2005-12-02  Jackson Harper  <jackson@ximian.com>
3582         * ImplicitHScrollBar.cs:
3583         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3584         their container controls.
3585         * TreeView.cs: Use the new implicit scrollbars.
3587 2005-12-02  Jackson Harper  <jackson@ximian.com>
3589         * TreeView.cs: Make top_node internal so the TreeNodeCollections
3590         can play with it.
3591         * TreeNodeCollection.cs: If we remove the topnode we need to
3592         update topnode to the next node in line.
3593         - When clearing nodes go through the same process as removing
3594         them, so they get depareneted and checked if they are top node.
3596 2005-12-01  Jackson Harper  <jackson@ximian.com>
3598         * TreeView.cs: When imagelists are used the image area is
3599         selectable as well as the text.
3600         - If there are no selected nodes select the first one.
3601         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3602         so don't do it more then we need to.
3604 2005-12-01  Jackson Harper  <jackson@ximian.com>
3606         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3607         that arrows can be scaled.
3609 2005-12-01  Jackson Harper  <jackson@ximian.com>
3611         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3612         fail. Patch by Dieter Bremes
3614 2005-11-30  Jackson Harper  <jackson@ximian.com>
3616         * Form.cs: Property is 2.0 only
3617         * PrintDialog.cs: Signature fix.
3619 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3621         * TextControl.cs: 
3622           - No longer artificially moves text 2 pixels down (now that we have
3623             borders this is no longer needed)
3624           - Added calcs for left, hanging and right indent
3626 2005-11-23  Mike Kestner  <mkestner@novell.com>
3628         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3630 2005-11-30  Jackson Harper  <jackson@ximian.com>
3632         * MdiChildContext.cs: Set the cloned menus forms, as these don't
3633         get cloned as part of CloneMenu ().
3634         * Menu.cs: Make sure the parent of the items get set correctly
3635         when they are added.  And the owners are notified of the changes.
3636         * Form.cs: Create an ActiveMenu property, so that when MDI is used
3637         we can change the menu being displayed/handled by the form without
3638         changing the menu assosciated with the form.
3639         - Don't let Mdi children draw/handle menus.
3640         
3641 2005-11-30  Jackson Harper  <jackson@ximian.com>
3643         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3644         a MenuChanged event. Just to make the API a little more
3645         consistent.
3646         * MainMenu.cs:
3647         * MenuItem.cs: Use the new OnMenuChanged
3648         * MdiChildContext.cs: Handle menu merging.
3649         * Form.cs: Implement MergedMenu.
3650         
3651 2005-11-30  Jackson Harper  <jackson@ximian.com>
3653         * Menu.cs: We were misusing Add. Add goes behind the specified
3654         index according to the docs, and does not replace the specified
3655         index. So I added an Insert method.
3657 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3659         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3660           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3661           is for Jackson
3662         * RichTextBox.cs: Added calls to base for DnD events
3664 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
3666         * TextControl.cs:
3667           - Fixed drag-selection related crash; style fixes
3668           - Implemented undo class
3669             o Implemented method to capture document state for specified
3670               range in document tree
3671             o Implemented method to restore captured document state
3672             o Implemented cursor tracking
3673             o Implemented basic undo stack
3674           - Added undo cursor tracking to methods altering cursor location
3675           - Added undo tracking to selection deletion (still missing
3676             other text-altering hookups)
3677         * RichTextBox.cs:
3678           - Added SelectionLength property
3679           - Implemented CanPaste()
3680           - Implemented Paste()
3681           - Added missing protected methods
3682           - Fixed RTF->Document conversion; now uses font index 0 and color 
3683             index 0 as the default font for the parsed text
3684           - Fixed RTF<->Document font size translation
3685           - Fixed RTF generation, now properly handles cross-tag boundaries
3686             for single line selection
3687           - No longer always appends blank line to generated RTF
3688           - Removed TODOs
3689           - Added missing attributes
3690           - Hooked up undo-related methods
3691         * TextBoxBase.cs:
3692           - Implemented Copy()
3693           - Implemented Paste()
3694           - Implemented Cut()
3695           - Fixed caret mis-behaviour on backspace across line-boundaries
3697 2005-11-29  Jackson Harper  <jackson@ximian.com>
3699         * MdiClient.cs: Add a method for activating mdi children. Very
3700         basic right now. I imagine someday it might need more girth.
3701         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3702         children windows names are added to the menu item.
3703         * ThemeWin32Classic.cs: Draw the arrow if the item is an
3704         mdilist. This happens regardless of whether or not there are any
3705         mdi windows to see in the list, and according to my tests happens
3706         before the items are even added. Also happens if there isn't even
3707         an mdi client to get windows from.
3709 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
3711         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3712         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3714 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
3716         * DataGridTableStyle.cs:
3717           - Create always the styles for the missing columns even if they are
3718             provided by the user (not default table style)
3719         * DataGrid.cs:
3720           - Fixes bug 76770
3721           - Fixes SetDataBinding (always re-attach source)
3722           - Fixes SetNewDataSource (only clear styles if they are not for 
3723             this source)
3724          -  Expands OnTableStylesCollectionChanged to handle style refresh 
3725             and remove properly
3727 2005-11-29  Jackson Harper  <jackson@ximian.com>
3729         * FileDialog.cs: Implement missing bits, remove some dead
3730         code.
3731         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3732         creation of the panel so that the options set on the dialog are
3733         seen when the panel is created.
3734         * TreeView.cs: raise a click when items are clicked.
3735         
3736 2005-11-29  Jackson Harper  <jackson@ximian.com>
3738         * MdiClient.cs: Pass some signature methods through to base.
3740 2005-11-28  Jackson Harper  <jackson@ximian.com>
3742         * ListView.cs: Raise the click event when items are clicked.
3744 2005-11-28  Jackson Harper  <jackson@ximian.com>
3746         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
3747         a nullref.
3749 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3751         * ThemeNice.cs: - Removed 1 pixel bitmaps
3752           - Use SmoothingMode.AntiAlias where it makes sense
3753             (ScrollButton arrow for example)
3754           - Enhanced Button focus drawing
3755           - Fixed ComboBox drawing (no artefacts anymore, focus
3756             rectangle is back again, reduced size of ComboButton, etc.)
3757           - Fixed RadioButton focus drawing for Appearence.Button
3758           - Slight ScrollButton redesign
3759           - Some LinearGradientBrush size fixes
3760           - GroupBoxes have now rounded edges
3761           - Fixed StatusBar drawing
3763 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3765         * ThemeNice.cs: - Remove dead code
3766           - use correct background colors for menus, etc.
3767           - Fake pixel drawing with 1 pixel bitmaps
3769 2005-11-24  Jackson Harper  <jackson@ximian.com>
3771         * MdiClient.cs: Size the scrollbars when resizing the window.
3772         - Resize the maximized windows when the client is resized
3773         * Form.cs: Make the child context available
3774         
3775 2005-11-23  Jackson Harper  <jackson@ximian.com>
3777         * MdiChildContext.cs: Don't size windows if they are maximized.
3779 2005-11-23  Mike Kestner  <mkestner@novell.com>
3781         * ContextMenu.cs: use MenuTracker.
3782         * Control.cs: remove menu handle usage.
3783         * Form.cs: remove menu handle usage.
3784         * Hwnd.cs: remove menu handle usage.
3785         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3786         motion and clicks to the new Tracker handlers.
3787         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3788         and handle usage.
3789         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3790         Killed the MENU and MENUITEM data types and associated collections
3791         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3792         MenuTracker class that exposes the leftovers from the old MenuAPI
3793         static methods. Restructured Capture handling so that only one grab is
3794         done for the entire menu hierarchy instead of handing off grabs to
3795         submenus. Tracker now has an invisible control to Capture when active.
3796         * MenuItem.cs: add sizing accessors, kill Create
3797         and handle usage.
3798         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3799         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3800         MENU(ITEM). remove menu handle usage, use Menu directly.
3801         * XplatUIDriver.cs: remove menu handle usage.
3802         * XplatUIOSX.cs: remove menu handle usage.
3803         * XplatUIWin32.cs: remove menu handle usage.
3804         * XplatUIX11.cs: remove menu handle usage.
3806 2005-11-22  Jackson Harper  <jackson@ximian.com>
3808         * Hwnd.cs: Don't compute the menu size for
3809         DefaultClientRectangle.
3810         - Reenable menu sizes being computed for GetClienRectangle.
3811         * Form.cs: Remove comment of trechery
3812         
3813 2005-11-22  Jackson Harper  <jackson@ximian.com>
3815         * Hwnd.cs: The adjustments for the menu bar are made when it is
3816         attached to the form.
3818 2005-11-19  Jackson Harper  <jackson@ximian.com>
3820         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3821         (just like on windows).
3823 2005-11-19  Jackson Harper  <jackson@ximian.com>
3825         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3826         use real buttons anymore because they are in non client area. The
3827         one TODO here is that I need to somehow invalidate a section of
3828         the non client area.
3830 2005-11-18  Jackson Harper  <jackson@ximian.com>
3832         * Control.cs: Put the enum check back in now that MDI doesnt have
3833         to use this to set border styles.
3834         * Form.cs: Only set mdi child windows borders if the handle has
3835         been created.
3836         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3837         this directly on to the driver.
3838         - Get the move start position before adjusting for the titlebar
3839         height, this fixes the windows "skipping" when they are first
3840         moved.
3842 2005-11-18  Jackson Harper  <jackson@ximian.com>
3844         * XplatUIX11.cs: Just compute the mdi borders separately as they
3845         don't totally match up with normal form borders.
3847 2005-11-18  Jackson Harper  <jackson@ximian.com>
3849         * Control.cs: Set WS_ styles for borders, so that the driver does
3850         not have to retrieve the control instance to figure out what kind
3851         of borders it should have.
3852         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3853         driver can know its an mdi child easily.
3854         * XplatUIX11.cs: Get the border styles and whether the window is
3855         MDI from the Styles and ExStyles params instead of having to get a
3856         control. This prevents a chicken and egg problem.       
3858 2005-11-18  Jackson Harper  <jackson@ximian.com>
3860         * MdiClient.cs: Fix typo so scrollbars show up correctly.
3862 2005-11-18  Jackson Harper  <jackson@ximian.com>
3864         * MdiClient.cs: Calculate when to add and remove scrollbars
3865         correctly.
3866         * MdiChildContext.cs: Adjust the y position to take the titlebar
3867         into account.
3868         - No height for FormBorderStyle.None
3870 2005-11-18  Jackson Harper  <jackson@ximian.com>
3872         * Control.cs: Allow non enum values to be used for
3873         InternalBorderStyle.  MDI does this to set a special border style.
3874         - New utility methods for converting points to/from client coords
3875         - Add the newly created control to the Controls collection before
3876         updating its style. This way UpdateStyle can walk the control
3877         heirarchy to find the control if needed.
3878         so I don't need to create a new Point object all the time.
3879         * Form.cs: Let MDI windows handle their border styles.
3880         - Set styles on MDI windows so the correct title style is derived.
3881         * MdiChildContext.cs: Move all the painting and window handling
3882         into the non client area.
3883         - Use correct sizing and put correct buttons on frames based on
3884         the FormBorderStyle.
3885         - Notify the mdi client about scrolling
3886         - Need to handle the buttons ourselves now, because they are all
3887         in non client areas and we can't add controls there.
3888         * MdiClient.cs: Halfway to scrolling, this implementation is
3889         somewhat broken though, we need to check to make sure other
3890         windows aren't causing scrolling before removing the bars. Also
3891         the bars need to be drawn on top, maybe I can switch implicit
3892         controls to be on top.
3893         * Hwnd.cs: caption_height and tool_caption_height are now
3894         properties of an hwnd, this way they can be set by the driver
3895         based on the type of window they are.  In X11 the window manager
3896         handles the decorations so caption_height is zero unless its an
3897         MDI window.
3898         - Add 3 pixel borders for MDI windows (0xFFFF).
3899         - Get rid of some code duplication, have DefaultClientRectanle
3900         just call GetClientRectangle.
3901         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3902         Hwnd now.
3903         - Set border styles differently for mdi windows.
3904         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3905         Hwnd now.
3906         
3907 2005-11-15  Mike Kestner  <mkestner@novell.com>
3909         * Menu.cs: when adding an item to the collection, if item is already 
3910         parented, remove it from the parent.
3912 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
3914         * X11DesktopColors.cs: Added KDE support
3916 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
3918         * XplatUIWin32.cs: 
3919           - Clipboard methods now can translate Rtf format
3920           - No longer removes clipboard contents whenever a new format is added
3921             to allow placing multiple formats on the clipboard
3922         * Clipboard.cs: Clipboard now supports getting a IDataObject and
3923           will place all formats contained in it onto the clipboard. Also
3924           now cleans the clipboard before placing a new object onto it
3925         * RichTextBox.cs:
3926           - Implemented set_Rtf
3927           - Implemented set_SelectedRtf
3928           - Created InsertRTFFromStream() method to allow single code base
3929             for all properties and methods that insert RTF into document
3930           - Removed debug output
3931         * TextControl.cs:
3932           - Fixed Delete(int) to fix up line numbers
3933           - Fixed ReplaceSelection to combine start and end line
3934           - Fixed serious DeleteChars bug that would leave the document tree
3935             broken
3936           - Improved DumpTree with several logic checks to detect broken
3937             document trees
3938           - Removed debug lines
3939           - Fixed Caret.WordForward/WordBack moving code, now always also 
3940             updates caret.tag (fixes crash when word-selecting across tag
3941             boundaries via keyboard)
3942           - Added Insert() method for inserting multiline text into documents
3943           - Fixed DeleteChars() calculation errors that would cause a broken
3944             tag chain with multiple tag lines
3945           - DeleteChars() no longer crashes on multi-tag lines if not all tags
3946           - Split() no longer moves caret if split is at caret location
3947           - ReplaceSelection() now updates the cursor and re-displays it
3948           - ReplaceSelection() now uses new Insert() method to avoid code
3949             duplication
3950           - FormatText() can now handle formatting partial lines
3951         * TextBoxBase.cs:
3952           - Append now uses new TextControl.Insert() method (this avoids 
3953             duplicate code)
3954           - Implemented Ctrl-X (Cut) (
3955           - Implemented Ctrl-C (Copy)
3956           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
3957             regeneration when pasting text; roundtripping Copy&Paste within
3958             edit control still fails due to some calculation bugs in GenerateRTF)
3959           - The Delete key will now remove the current selection if it is visible
3960         * TextBox.cs: Removed debug lines
3961         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3962           driver to be initialized and can't therefore be done via a static ctor)
3964 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
3966         * TextControl.cs: Added backend code for finding char arrays and strings
3967         * TextBoxBase.cs:
3968           - Added mouse wheel scroll support
3969           - Added support for VScroll and HScroll events
3970         * RichTextBox.cs:
3971           - Implemented all seven Find() variants
3972           - Implemented GetCharFromPosition()
3973           - Implemented GetCharIndexFromPosition()
3974           - Implemented GetLineFromIndex()
3975           - Implemented GetPositionFromCharIndex();
3976           - Implemented SaveFile for PlainText and UnicodeText
3977           - Fixed set_Font, now setting a new font applies that font to
3978             the whole document
3979           - Implemented generic Document to RTF converter
3980           - Implemented SaveFile for RichText format (still missing unicode
3981             conversion for non-ansi chars)
3982           - Implemented get_Rtf
3983           - Implemented get_SelectedRtf
3985 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
3987         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3988           to allow any captures to be released before triggering OnClick. This
3989           way a click handler may capture the mouse without interference.
3990         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3991           This way we send them even though X may not allow a grab (if the window
3992           isn't visible, for example)
3994 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
3996         * DataGridViewRowEventArgs.cs: DataGridView implementation
3997         * DataGridViewElement.cs: DataGridView implementation
3998         * DataGridViewComboBoxCell.cs: DataGridView implementation
3999         * DataGridViewDataErrorContexts.cs: DataGridView implementation
4000         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4001         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4002         * ImageLayout.cs: DataGridView implementation
4003         * DataGridViewComboBoxColumn.cs: DataGridView implementation
4004         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4005         * DataGridViewSelectionMode.cs: DataGridView implementation
4006         * IDataGridViewEditingControl.cs: DataGridView implementation
4007         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4008         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4009         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4010         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4011         * DataGridViewColumnSortMode.cs: DataGridView implementation
4012         * DataGridView.cs: DataGridView implementation
4013         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4014         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4015         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4016         * Padding.cs: DataGridView implementation
4017         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4018         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4019         * DataGridViewRowEventHandler.cs: DataGridView implementation
4020         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4021         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4022         * DataGridViewButtonCell.cs: DataGridView implementation
4023         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4024         * DataGridViewEditMode.cs: DataGridView implementation
4025         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4026         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4027         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4028         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4029         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4030         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4031         * DataGridViewCellEventHandler.cs: DataGridView implementation
4032         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4033         * DataGridViewCellStyleConverter.cs: DataGridView implementation
4034         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4035         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4036         * DataGridViewColumnEventArgs.cs: DataGridView implementation
4037         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4038         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4039         * QuestionEventArgs.cs: DataGridView implementation
4040         * IDataGridViewEditingCell.cs: DataGridView implementation
4041         * DataGridViewTriState.cs: DataGridView implementation
4042         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4043         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4044         * DataGridViewColumnCollection.cs: DataGridView implementation
4045         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4046         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4047         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4048         * DataGridViewColumn.cs: DataGridView implementation
4049         * DataGridViewCellBorderStyle.cs: DataGridView implementation
4050         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4051         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4052         * DataGridViewRow.cs: DataGridView implementation
4053         * DataGridViewImageCellLayout.cs: DataGridView implementation
4054         * DataGridViewImageCell.cs: DataGridView implementation
4055         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4056         * DataGridViewCheckBoxCell.cs: DataGridView implementation
4057         * DataGridViewHeaderCell.cs: DataGridView implementation
4058         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4059         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4060         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4061         * DataGridViewTextBoxColumn.cs: DataGridView implementation
4062         * QuestionEventHandler.cs: DataGridView implementation
4063         * DataGridViewCellStyleScopes.cs: DataGridView implementation
4064         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4065         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4066         * DataGridViewCell.cs: DataGridView implementation
4067         * DataGridViewCellEventArgs.cs: DataGridView implementation
4068         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4069         * DataGridViewCellStyle.cs: DataGridView implementation
4070         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4071         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4072         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4073         * TextFormatFlags.cs: DataGridView implementation
4074         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4075         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4076         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4077         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4078         * DataGridViewButtonColumn.cs: DataGridView implementation
4079         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4080         * HandledMouseEventArgs.cs: DataGridView implementation
4081         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4082         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4083         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4084         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4085         * DataGridViewRowCollection.cs: DataGridView implementation
4086         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4087         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4088         * DataGridViewHitTestType.cs: DataGridView implementation
4089         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4090         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4091         * DataGridViewColumnEventHandler.cs: DataGridView implementation
4092         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4093         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4094         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4095         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4096         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4097         * DataGridViewContentAlignment.cs: DataGridView implementation
4098         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4099         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4100         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4101         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4102         * DataGridViewPaintParts.cs: DataGridView implementation
4103         * DataGridViewCellCollection.cs: DataGridView implementation
4104         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4105         * DataGridViewImageColumn.cs: DataGridView implementation
4106         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4107         * DataGridViewElementStates.cs: DataGridView implementation
4108         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4109         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4110         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4111         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4112         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4113         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4114         * DataGridViewRowHeaderCell.cs: DataGridView implementation
4115         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4116         * DataGridViewTextBoxCell.cs: DataGridView implementation
4117         * DataGridViewBand.cs: DataGridView implementation
4118         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4119         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4120         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4121         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4122         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4123         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4124         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4125         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4126         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4127         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4128         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4130 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
4132         * ThemeWin32Classic.cs: 
4133           - Draw the outside focus rectangle around buttons
4134           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4135             doesn't use end caps for every dash of a line anymore. This
4136             workaround ignores the forecolor.
4138 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
4140         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4141           endian safe.
4143 2005-11-07  Jackson Harper  <jackson@ximian.com>
4145         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4147 2005-11-07  Jackson Harper  <jackson@ximian.com>
4149         * ScrollableControl.cs: Calculate the maximum and change vars
4150         (more) correctly so that scrollbars appear as a sensible size.
4152 2005-11-04  Jackson Harper  <jackson@ximian.com>
4154         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4155         collection.
4156         * TreeView.cs: When the tree is sorted null out the top_node so
4157         that it is recalculated.
4158         - Use dotted lines instead of dashed lines to match MS better.
4160 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
4162         * ListView.cs: 
4163           - Implements key search for items. Useful when browsing files with FileDialog
4164           - When changing view mode or when clear the items reset scrollbar positions
4166 2005-11-04  Jackson Harper  <jackson@ximian.com>
4168         * CurrencyManager.cs: Implement the MetaDataChanged event, the
4169         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4170         as to what the method may do as there is no real way of creating a
4171         derived CurrencyManager and calling the method. 
4173 2005-11-03  Jackson Harper  <jackson@ximian.com>
4175         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4176         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4177         method which seems to just be used internally to refresh the tabs.
4179 2005-11-03  Jackson Harper  <jackson@ximian.com>
4181         * TabControl.cs: Implement the remove method. Fix some broken
4182         comments.
4184 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4186         * DateTimePicker.cs:
4187           - Added missing DateTimePickerAccessibleObject class
4188           - Added missing events
4189           - Added OnFontChanged method
4190         * Form.cs: Added missing attributes
4191         * TreeView.cs: Added missing attributes
4193 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
4195         * GridItemCollection.cs: Fix signatures
4197 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4199         * XplatUI.cs: Updated build rev/date
4200         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
4201           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4202         * Application.cs: Trigger context-specific ExitThread events
4204 2005-11-03  Jackson Harper  <jackson@ximian.com>
4206         * Menu.cs:
4207         * MainMenu.cs:
4208         * GridTableStylesCollection.cs:
4209         * Timer.cs:
4210         * TabPage.cs:
4211         * HelpProvider.cs:
4212         * StatusBar.cs:
4213         * MonthCalendar.cs: Signature fixes
4215 2005-11-03  Jackson Harper  <jackson@ximian.com>
4217         * TreeNodeCollection.cs: Remove should not be virtual.
4218         * TreeView.cs: Implement the last of the missing methods.
4220 2005-11-03  Jackson Harper  <jackson@ximian.com>
4222         * TreeNodeConverter.cs: Implement to get off my class-status back.
4224 2005-11-03  Jackson Harper  <jackson@ximian.com>
4226         * TreeView.cs: Hookup the bits for drag and drop.
4227         * TreeNode.cs: Don't cache the tree_view or index anymore, now
4228         that nodes can be moved from tree to tree easily this just causes
4229         all sorts of problems.
4230         * TreeNodeCollection: Don't need to give treenodes an index and
4231         treeview anymore when they are added, these are computed on the
4232         fly. Also make sure to remove a node before its added.
4234 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
4236         * TextControl.cs:
4237           - Added CaretSelection enum
4238           - Added comparison methods to Marker struct, makes selection code
4239             more readable
4240           - Added SelectionStart and SelectionEnd as 'moveable' location for
4241             the CaretDirection enum and handler
4242           - Added selection_prev variable to track optimized invalidation for
4243             word and line selection
4244           - Added SelectionVisible property (returns true if there is a valid 
4245             selection)
4246           - Switched CaretHasFocus to only display the caret if there is no
4247             visible selection
4248           - Avoiding StringBuilder.ToString to retrieve a single char, instead
4249             using the direct character index; should be much faster
4250           - Added various conditional debug statements
4251           - Fixed invalidation calculation for selection ranges
4252           - Added ExpandSelection() method to support word and line selection
4253           - Switched SetSelectionToCaret to use new Marker compare overloads
4254           - Added central IsWordSeparator() method to determine word 
4255             separators/whitespace and FindWordSeparator() to streamline common
4256             usage of IsWordSeparator()
4257         * TextBoxBase.cs:
4258           - Removed unneeded grabbed variable, it was just mirroring
4259             Control.Capture
4260           - No longer firing OnTextChanged event when Text setter is called,
4261             since the base will fire the event for us
4262           - Added handling of Ctrl-Up/Down selection
4263           - Added handling of Shift-Cursorkey selection
4264           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4265             words
4266           - Added handling of Shift and Ctrl-Shift-Home/End selection
4267           - Removed some debug output
4268           - Added handling for single/double/tripple-click to place caret/
4269             select word/select line respectively (Fixes bug #76031)
4270           - Added support for drag expansion of word/line selection
4271         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4272           current selection
4274 2005-11-02  Jackson Harper  <jackson@ximian.com>
4276         * X11Dnd.cs: If the drag is going to and from a MWF window just
4277         copy the data instead of sending it out through the X Selection
4278         mechanism.
4280 2005-11-02  Jackson Harper  <jackson@ximian.com>
4282         * X11Dnd.cs:
4283         * XplatUIX11.cs: When in a drag we don't want motion notify
4284         messages to get passed on to the other controls. This prevents
4285         mouse move messages from showing up in the drag source.
4287 2005-11-02  Jackson Harper  <jackson@ximian.com>
4289         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
4290         the correct button is release to end a drag.
4291         * XplatUIX11.cs: Make the button state internal so the drag system
4292         can access it.  Dragging needs to know about all button releases,
4293         not just left button.
4295 2005-11-02  Miguel de Icaza  <miguel@novell.com>
4297         * Form.cs (Icon): If the icon is null, reset the icon to the
4298         default value. 
4300         * Cursor.cs: When writing the AND-mask bitmap do not include the
4301         number of colors, but hardcode those to two (black and white),
4302         fixes the loading of color cursors (Paint Dot Net).
4304         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4305         turn off autoscaling.
4307         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4309 2005-11-02  Jackson Harper  <jackson@ximian.com>
4311         * X11Dnd.cs: Make sure to send a status message if the pointer
4312         enters a control that can not accept a drop, otherwise the cursor
4313         isn't updated correctly. Also tried to compress the lines of code
4314         a bit.
4316 2005-11-02  Jackson Harper  <jackson@ximian.com>
4318         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4319         set actions correctly.  This isn't perfect as XDND and win32 have
4320         some differences on how you allow actions. I'll clear this up by
4321         adding a path for drag from MWF to MWF windows.
4322         * XplatUIX11.cs: Hook into the dnd system.
4324 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
4326         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4327         previously shown but they are no longer need it. Very obvious when 
4328         browsing files with FileDialog.
4330 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
4332         * Control.cs: We always need to call OnPaintBackground. We pretty much
4333           ignore AllPaintingInWmPaint and always do the painting there, whether 
4334           it's set or not, since we always ignore the WM_ERASEBKGND message 
4335           (which we don't generate on X11). This fixes #76616.
4336         * Panel.cs: Removed unneeded background painting. This happens properly
4337           in Control.cs already
4339 2005-10-31  Mike Kestner  <mkestner@novell.com>
4341         * Menu.cs: Add items to collection before setting their index.
4342         * MenuItem.cs : add range checking with ArgumentException like MS.
4343         [Fixes #76510]
4345 2005-10-31  Jackson Harper  <jackson@ximian.com>
4347         * ListBox.cs: Invalidate if the area is visible at all not just
4348         contained in the visible rect. Fixes unselection of semi visible
4349         items.
4351 2005-10-31  Jackson Harper  <jackson@ximian.com>
4353         * Control.cs: Consistently name the dnd methods. Make them
4354         internal so we can override them to match some MS behavoir
4355         internally.
4356         * Win32DnD.cs: Use the new consistent names.
4358 2005-10-31  Jackson Harper  <jackson@ximian.com>
4360         * TreeView.cs: Don't draw the selected node when we lose focus.
4362 2005-10-31  Jackson Harper  <jackson@ximian.com>
4364         * X11Dnd.cs: We still need to reset the state even though a full
4365         reset isn't being done, otherwise status's still get sent all over
4366         the place.
4368 2005-10-31  Jackson Harper  <jackson@ximian.com>
4370         * Control.cs: Make the dnd_aware flag internal so the dnd
4371         subsystem can check it. Catch exceptions thrown in dnd handlers to
4372         match MS behavoir.
4373         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4374         * X11Dnd.cs: Handle null data in the converters. Set the XDND
4375         version when sending a XdndEnter. Use the control/hwnd dnd_aware
4376         flags to reduce the number of dnd enters/status's sent.
4378 2005-10-31  Jackson Harper  <jackson@ximian.com>
4380         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4382 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
4384         * PictureBox.cs: Fixes 76512
4386 2005-10-28  Jackson Harper  <jackson@ximian.com>
4388         * X11Dnd.cs: Early implementation to support winforms being a drag
4389         source for data on X11. Also restructured the converters so they
4390         can go both ways now.
4391         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4392         
4393 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
4395         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4396           clipboard requests
4398 2005-10-27  Jackson Harper  <jackson@ximian.com>
4400         * TreeNode.cs: Implement serialization so my DnD examples will work.
4402 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
4404         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4405           TreeView.cs: Don't dispose objects that are not owned.
4406           
4407 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
4409         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4410           should retrieve the current cursor and report that, but XplatUI
4411           doesn't (yet) have an interface for that (and I'm not sure I even
4412           can, on X11)
4413         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4414           until any message loop processing is done (and the WM_SETCURSOR
4415           replaces the cursor to the proper one)
4416         * XplatUIX11.cs: 
4417           - Fixed override behaviour, we can't set the cursor globally on X11, 
4418             just for our windows.
4419           - Invalidating the System.Drawing X11 display handle when we are
4420             shutting down
4421         * Control.cs: Fix to make csc happy
4423 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
4425         * TextBoxBase.cs: 
4426           - get_Text: Add last line (without trailing newline) to returned
4427             value (Fixes 76212)
4428           - get_TextLength: Count last line in returned length
4429           - ToString: Call Text property instead of duplicating code
4431 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
4433         * ImageList.cs: Dispose ImageAttributes objects.
4435 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4437         * ImageList.cs: Use attribute constructors with less arguments where
4438           possible.
4440 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4442         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4443           Use typeof instead of strings when assembly is referenced. Added
4444           some more comments.
4446 2005-10-21  Jackson Harper  <jackson@ximian.com>
4448         * ListView.cs: Raise a double click event. Also tried to somewhat
4449         fix when the selectedindexchanged event is raised. Its still
4450         broken though.
4452 2005-10-21  Jackson Harper  <jackson@ximian.com>
4454         * TreeView.cs: New method to invalidate the plus minus area of a
4455         node without invalidating the whole node (maybe this can be used
4456         in some more places).
4457         * TreeNodeCollection.cs: When adding to an empty node we need to
4458         invalidate its plus minus area so the little block shows up.
4459         
4460 2005-10-21  Jackson Harper  <jackson@ximian.com>
4462         * TreeView.cs: Make sure that when we invalidate a node the bounds
4463         are big enough to cover the selected box and the focus
4464         rectangle. Use a different colour for the lines connecting nodes
4465         so they show up with all themes.
4467 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4469         * NativeWindow.cs: Don't call anything that could call into the driver,
4470           we might be on a different thread.
4472 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4474         * Control.cs(Dispose): Since Dispose might run on a different thread,
4475           make sure that we call methods that could call into the driver via
4476           invoke, to avoid thread issues
4478 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4480         * XplatUI.cs: Removed finalizer
4481         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4482           not allowing to be called on the finalizer thread.
4484 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4486         * ImageList.cs:
4487           - Reverted r51889 and r51891.
4488           - Added ImageListItem class that stores unmodified image items and image
4489             properties required to create list images until handle is created.
4490           - Added AddItem and moved image creation logic to AddItemInternal.
4491           - Added CreateHandle method that creates images based on unmodified items.
4492           - Added DestroyHandle that changes state to store unmodified items.
4493           - Add and AddStrip methods no more create handle.
4494           - ReduceColorDepth has no return value.
4495           - Dispose destroys handle.
4496           - Modified other methods to reflect the above changes.
4497           - Implemented key support.
4498           - Added profile 2.0 members and attributes.
4499           - Added private Reset and ShouldSerialize methods that provide the same
4500             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4501             them as they are private.
4502           - Added some more comments about implementation details.
4504 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4506         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4508 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4510         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4512 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4514         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4515         * DataGridColumnStyle.cs: Remove debug message
4517 2005-10-20  Jackson Harper  <jackson@ximian.com>
4519         * TreeView.cs: We can always get input keys regardless of whether
4520         or not editing is enabled. They are used for navigation.
4522 2005-10-20  Jackson Harper  <jackson@ximian.com>
4524         * TreeNode.cs: Use the viewport rect for determining if a node
4525         needs to be moved for visibility. Don't use Begin/End edit. This
4526         calls a full refresh when its done.
4527         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4528         rect property internal so the treenodes can see it. When clicking
4529         on a node we need to ensure that its visible because it might just
4530         be partly visible when clicked.
4532 2005-10-20  Jackson Harper  <jackson@ximian.com>
4534         * TreeNodeCollection.cs: Remove debug code.
4536 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4538         * Datagrid.cs: Implements column sorting in Datagrid
4539         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4541 2005-10-20  Jackson Harper  <jackson@ximian.com>
4543         * TreeNodeCollection.cs: Remove items properly. Update the correct
4544         area after removing them.
4546 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4548         * Datagrid.cs: Should not call base.OnPaintBackground
4550 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4552         * XplatUIX11.cs (GetMessage):
4553           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4554             window instead of client window
4555           - Now properly calculates NC_xBUTTONUP message coordinates
4556           - ScreenToMenu now properly calculates it's coordinates of whole 
4557             window, since menus are in the whole window, not in the client
4558             window
4559           - Added WholeToScreen coordinate translation method
4561 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
4563         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4564           want to return a message, loop back to the beginning of the function
4565           and grab the next real message to process instead.
4567 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4569         * Splitter.cs: Properly set limits if no filler control is used
4571 2005-10-19  Jackson Harper  <jackson@ximian.com>
4573         * ColorDialog.cs: Don't show the help button if it is not enabled
4574         instead of disabling it (this is what MS does). Don't create the
4575         panel until the dialog is run, otherwise the vars (such as
4576         ShowHelp) are not set yet.
4578 2005-10-19  Jackson Harper  <jackson@ximian.com>
4580         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4581         are reduced when adding nodes.
4582         * TreeNode.cs:
4583         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4584         tree.
4585         
4586 2005-10-19  Jackson Harper  <jackson@ximian.com>
4588         * FolderBrowserDialog.cs: End editing our treeview so the window
4589         actually gets refreshed.
4591 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4593         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
4594           Obsoleted handling of WM_ERASEBKGND, now always draws our background
4595           inside of WM_PAINT
4597 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4599         * MenuAPI.cs: Returns after Hidding window
4600         * XplatUIX11.cs: Added TODO found while debugging menu issues
4602 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4604         * XplatUIX11.cs: Do not re-map the whole window when it's size
4605           becomes non-zero unless it's supposed to be actually visible
4607 2005-10-18  Jackson Harper  <jackson@ximian.com>
4609         * TreeView.cs: We don't need to keep a count anymore.
4610         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4611         use the Grow method.
4613 2005-10-18  Jackson Harper  <jackson@ximian.com>
4615         * TreeNodeCollection.cs: Insert is not supported on arrays, so
4616         implement it manually here.
4618 2005-10-18  Jackson Harper  <jackson@ximian.com>
4620         * ImageList.cs: Dont kill the list when the colour depth is
4621         changed, just change the colour depth of all the images.
4622         - Same goes for setting the image size. Just resize them all
4623         instead of killing the list softly.
4625 2005-10-18  Jackson Harper  <jackson@ximian.com>
4627         * Control.cs: Don't invalidate empty rectangles.
4629 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4631         * ListViewItem.cs:
4632           - Adds checked item to the Checked/Item lists (where empty before)
4633           - Do not add items to the Selected lists if they are already present
4634         * ListView.cs:
4635           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4636           - When deleting items make sure that we delete them for the Selected
4637           and Checked list also.
4639 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4641         * Label.cs: Dispose objects no longer used
4642         * ThemeWin32Classic.cs: Dispose objects no longer used
4644 2005-10-18  Jackson Harper  <jackson@ximian.com>
4646         * TabControl.cs: Don't refresh the whole control when the tabs are
4647         scrolled, we just need to refresh the tab area.
4649 2005-10-17  Jackson Harper  <jackson@ximian.com>
4651         * XplatUIX11.cs: Compress code a little bit. Only calculate the
4652         after handle when we need it.
4654 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4656         * Control.cs: When the parent size changes, recalculate anchor 
4657           positions. Partial fix for #76462
4659 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4661         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
4662           drawn. Fixes #76462
4664 2005-10-17  Jackson Harper  <jackson@ximian.com>
4666         * MonthCalendar.cs: Don't create the numeric up down until our
4667         handle is created. Otherwise our handle is created in the
4668         constructor and we don't know if we are a WS_CHILD or WS_POPUP
4669         yet.
4671 2005-10-17  Jackson Harper  <jackson@ximian.com>
4673         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4674         correctly.
4676 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4677         * TreeNode.cs : small logical fix (was using local var instead of field)
4678         
4679 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4681         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4683 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4685         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4687 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
4689         * Control.cs: 
4690           - Re-implemented anchoring code. My first version was really broken.
4691             This fixes bug #76033. Unlike the previous implementation we will
4692             no longer have round errors since all numbers are calculated from
4693             scratch every time. Removed various anchor-related obsolete vars.
4694           - InitLayout no longer causes layout event firing and layout to be 
4695             performed
4697 2005-10-16  Jackson Harper  <jackson@ximian.com>
4699         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4700         which was broken).
4702 2005-10-16  Jackson Harper  <jackson@ximian.com>
4704         * TabControl.cs: Remove debug code.
4706 2005-10-16  Jackson Harper  <jackson@ximian.com>
4708         * XEventQueue.cs: Increase the default queue size (very simple
4709         apps needed to grow the queue).
4710         * Hwnd.cs: No finalizer so we don't need to suppress
4711         finalization. Compute the invalid area manually so a new rectangle
4712         does not newto be created.
4713         * ScrollableControl.cs: Don't set any params (otherwise visibility
4714         isn't set correctly).
4715         * MdiChildContext.cs: New constructor takes the mdi parent so it
4716         doesn't have to be computed and avoids a crash on windows. Draw
4717         the window icon properly, and allow the text to be seen.
4718         * Form.cs: Use new MdiChildContext constructor. Make sure the
4719         child context isn't null in wndproc.
4720         * TabControl.cs: Don't set focus, this is muddling keyboard
4721         behavoir. Expand the tab rows when a window size increase will
4722         allow extra tabs to be seen. Don't allow tabs smaller than the
4723         width of a window to be scrolled out of view.
4724         * TreeNode.cs:
4725         * TreeView.cs: Use measure string to calculate a nodes width, the
4726         width is cached and only updated when the text or the font is
4727         changed. Don't check for expand/collapse clicks on the first level
4728         nodes if root lines are disabled.
4729         
4730 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
4732         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4734 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4736         * DataGridBoolColumn.cs: fixes warning
4738 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4740         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4741         to match more to match more precisely the MS Net behavior
4743 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4745         * Hwnd.cs: Added field to track if window is mapped
4746         * XplatUIX11.cs: 
4747           - Unmap windows if they become 0-size, re-map when 
4748             they are >0 again; fixes #76035
4749           - Re-set our error handler after initializing X11Desktop
4750             to override any error handlers Gtk or whatever was called
4751             may have set.
4753 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4755         * CheckedListBox.cs: Removed unused vars
4756         * ListView.cs: Fixed signatures
4757         * RichTextBox.cs: Removed unused vars
4758         * TextBoxBase.cs: Removed unused vars
4759         * XplatUIWin32.cs: Removed unused vars
4760         * XplatUIX11.cs: Removed unused vars
4761         * XplatUI.cs: Updated version and date to latest published
4763 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4765         * Cursor.cs: Added private .ctor to work around a bug in
4766           resourceset (Thanks to Geoff Norton for the help on this)
4767         * SplitterEventArgs.cs: Made fields accessible so we don't
4768           waste boatloads of objects and can reuse the same one
4769           in Splitter
4770         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4771           any captions and borders when generating screen coordinates
4772         * Splitter.cs: Reimplemented control, now fully complete, uses
4773           rubberband drawing, supports and obeys all properties, has
4774           proper cursors
4776 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4778         * Form.cs (Form): Setup default values for autoscale and
4779         autoscale_base_size;  Make these instance variables, not static
4780         variables. 
4782         (OnLoad): on the first load, adjust the size of the form.
4784 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4786         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4787           width argument to DrawReversibleRectangle()
4788         * XplatUIWin32.cs, XplatUIX11.cs: 
4789           - Implemented width for DrawReversibleRectangle()
4790           - Added logic to DrawReversibleRectangle that recognizes a zero
4791             width or height and only draws a line in that situation
4792         
4793 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4795         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4796         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4797         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4798           method (it uses our FosterParent window to get a graphics context)
4800 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4802         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4803           and SetWindowBackground methods
4804         * Control.cs:
4805           - Setting proper ControlStyles
4806           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4807             EraseWindowBackground, instead we draw the window background
4808             ourselves in PaintControlBackground. This behaviour is
4809             required to match MS, where, when OnPaintBackground is not
4810             called, the background is not drawn.
4811           - Removed unneeded Refresh() in set_Text
4812         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4813         * XplatUIX11.cs:
4814           - Created DeriveStyles method to translate from CreateParams to
4815             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4816             matches FormBorderStyle enum values)
4817           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4818             style calculations into single DeriveStyles method
4819           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4820             from redrawing the whole window on any resize or expose.
4821           - Fixed CreateWindow usage of SetWindowValuemask. Before not
4822             all styles were applied to our whole/client window appropriately
4823           - Removed EraseWindowBackground() and SetWindowBackground() methods
4824           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4825             no longer clear/redraw the background through X
4826           - Removed handling of erase_pending bit, we have no use for it (or
4827             so it seems)
4828         * XplatUIOSX.cs:
4829           - Removed generation and handling of WM_ERASEBKGND message
4830           - Removed EraseWindowBackground() and SetWindowBackground() methods
4831           - Removed handling of hwnd.ErasePending flag
4832         * XplatUIWin32.cs:
4833           - Removed EraseWindowBackground() and SetWindowBackground() methods
4834           - We no longer call EraseWindowBackground on PaintEventStart, we 
4835             ignore the fErase flag, erasing is handled in Control in the
4836             background handler
4837         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4838           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4839           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
4840           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
4841           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
4842           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4843           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4845 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
4847         * PropertyGrids.cs: Get sub properties
4848         * PropertyGridView.cs: Fix drawing code
4850 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4852         * ListBox.cs: Fixes 76383
4854 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4856         * DataGridTextBoxColumn.cs: Sets location and size before attachment
4857         * ThemeWin32Classic.cs: Fixes border drawing and calculations
4858         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4861 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4863         * ComboBox.cs: Fixes border drawing
4865 2005-10-10  Miguel de Icaza  <miguel@novell.com>
4867         * MimeIcon.cs: Ignore errors if the file can not be read.
4869 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4871         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4872          - Fixed border calculations
4873          - Fixed horizontal scrolling in single column listboxes
4874          - Fixed drawing issues
4876 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
4878         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
4879           FormBorderStyle enum
4880         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
4881           code to determine FormBorderStyles from CreateParams
4882         * Form.cs:
4883           - Fixed bug where we'd set the wrong window styles if we were
4884             not creating an MDI window
4885           - Added call to XplatUI.SetBorderStyle when form borders are set
4886         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4887         * Hwnd.cs:
4888           - Removed obsolete edge style
4889           - Switched from BorderStyle to FormBorderStyle
4890         
4891 2005-10-10  Jackson Harper  <jackson@ximian.com>
4893         * Form.cs: Use the property to get the window handle instead of
4894         accessing it directly. Prevents a null reference exception.
4896 2005-10-10  Jackson Harper  <jackson@ximian.com>
4898         * TreeView.cs: Don't adjust the rect given to DrawString now that
4899         our libgdiplus draws correctly.
4901 2005-10-08  Jackson Harper  <jackson@ximian.com>
4903         * TreeView.cs: Don't try to find the clicked on node if there are
4904         no nodes in the tree.
4906 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4908         * RichTextBox.cs:
4910           restore
4912 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4914         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4915           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4916           ErrorProvider.cs:
4917           Use ResPool for brushes and dispose System.Drawing objects that
4918           are not used anymore.
4920 2005-10-07  Jackson Harper  <jackson@ximian.com>
4922         * MdiChildContext.cs: Use the new borders instead of drawing them
4923         ourselves.
4925 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4927         * Calling UpdateBounds after changing the window's BorderStyle 
4928         since the style can change the ClientSize
4930 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4932         * Control.cs: Made PaintControlBackground virtual
4933         * Panel.cs: Overriding PaintControlBackground instead of using paint
4934           event; paint event method was interfering with 'real' users of the
4935           event.
4937 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4939         * ThemeWin32Classic.cs: remove border drawing since it is handled
4940         by the base control class now and was causing double border drawing.
4942 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4944         * Panel.cs: Redraw our background on paint. Not a pretty solution,
4945           but it does seem to match MS behaviour. This fixes bug #75324
4947 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4949         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4950           somewhat hackish looking
4952 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4954         * TextBoxBase.cs:
4955           - We now accept Enter even if AcceptEnter is false, if the containing
4956             form does not have an AcceptButton configured (fixes bug #76355)
4957           - Calculations are now fixed to no longer use Width/Height, but
4958             ClientSize.Width/Height, since we now support borders (this was
4959             a result of fixing borders and therefore bug #76166)
4960           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
4961             true (fixes bug #76354)
4962         
4963 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4965         * Control.cs: 
4966           - Defaulting BorderStyle and setting it in XplatUI when our window 
4967             is created
4968           - Added enum check to InternalBorderStyle setter
4969         * XplatUIX11.cs: 
4970           - Added drawing of window borders
4971           - Now properly calculates WM decorations offset for toplevel 
4972             windows (fixes bug #74763)
4973         * XplatUIWin32.cs: 
4974           - Implemented BorderStyles for windows (we're letting win32 draw 
4975             the border for us)
4976           - Fixed the signature for SetWindowLong
4977         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4978           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
4979           setting borders
4980         * UpDownBase.cs: Remove drawing of borders, this is handled by
4981           the driver, outside the client area
4982         * ListView.cs: Removed bogus border calculations. The control should
4983           be oblivious to borders, since those are not part of the client
4984           area. 
4985         * X11DesktopColors.cs: Commented out (currently) unneeded variables
4986         * ThemeWin32Classic.cs: Removed border calculations from ListView 
4987           drawing code
4989 2005-10-06  Jackson Harper  <jackson@ximian.com>
4991         * MdiChildContext.cs: Clear out the old virtual position remove
4992         all the unneeded calls to CreateGraphics.
4994 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4996         * TextControl.cs: Use proper color for highlighted text; fixes #76350
4998 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
5000         * Form.cs: 
5001           - Added loading and setting of our new default icon
5002           - Only set icon if window is already created
5004 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
5006         * Label.cs:
5007           - Do not explicitly set the foreground and background colors, to
5008             allow inheriting from parents (fixes #76302)
5009           - Use Control's InternalBorderStyle property to deal with borders
5011 2005-10-06  Jackson Harper  <jackson@ximian.com>
5013         * MdiChildContext.cs: Use the new xplatui function to draw a
5014         reversible rect.
5016 2005-10-06  Jackson Harper  <jackson@ximian.com>
5018         * Form.cs: Add the parent before creating the child context cause
5019         we need the parent when setting up the child.
5021 2005-10-06  Jackson Harper  <jackson@ximian.com>
5023         * FolderBrowserDialog.cs: redo the tree population code so a
5024         second thread isn't used. Should be a lot faster and more stable
5025         now.
5027 2005-10-05  Jackson Harper  <jackson@ximian.com>
5029         * TreeView.cs: There are no expand/collapse boxes if the node has
5030         no children.
5032 2005-10-05  Jackson Harper  <jackson@ximian.com>
5034         * X11DesktopColors.cs: Get menu colours for the gtk theme.
5036 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
5038         * FileDialog.cs: Fix InitialDirectory
5040 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5042         * ComboBox.cs:
5043                 - Fixes changing between styles
5044                 - Fixes simple mode
5045                 - Fixes last item crashing when navigating with keyboard
5047 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
5049         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5051 2005-10-05  Jackson Harper  <jackson@ximian.com>
5053         * TreeView.cs: If updating the root node do a full refresh.
5054         * TreeNode.cs: The root node should be expanded by default. Also
5055         added a utility prop to tell if we are the root node.
5056         * TreeNodeCollection.cs: Only refresh if the node we are being
5057         added to is expanded. Also added a comment on a potential
5058         optimization.
5059         
5060 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
5062         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
5063           in dispose method. Fixes #76330
5065 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
5067         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5069                 - Implements vertical and horizontal scrolling using XplatUI
5070                 - Fixes keyboard navagation
5071                 - Fixes EnsureVisible
5072                 - Drawing fixes
5073                 - Handles and draws focus properly
5076 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
5078         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5079           Create handle. NET_2_0: Destroy handle when value is null.
5081 2005-10-03  Jackson Harper  <jackson@ximian.com>
5083         * ScrollBar.cs: My last scrollbar patch was broken. This is a
5084         revert and a new patch to prevent the thumb from refreshing so
5085         much.
5087 2005-10-02  Jackson Harper  <jackson@ximian.com>
5089         * ScrollBar.cs: Don't update position if it hasn't actually
5090         changed. This occurs when you hold down the increment/decrement
5091         buttons and the thumb gets to the max/min.
5093 2005-10-01  Jackson Harper  <jackson@ximian.com>
5095         * Form.cs:
5096         * MdiChildContext.cs:
5097         * MdiClient.cs: Implement ActiveMdiChild in Form.
5099 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
5101         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5103 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
5105         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5106           be found
5108 2005-09-30  Jackson Harper  <jackson@ximian.com>
5110         * ListBox.cs: Don't do a full refresh unless some data has
5111         actually changed.
5113 2005-09-30  Jackson Harper  <jackson@ximian.com>
5115         * TreeView.cs: Make sure that the checkboxes size is factored in
5116         even when not visible.
5118 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5120         * FileDialog.cs: Fix Jordi's build break
5122 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5124         * FileDialog.cs: 
5125                 - Use standard the Windows colours for the combobox as espected
5126                 - Dispose objects that use resouces when no longer need them
5128 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
5130         * X11DesktopColors.cs: Initial incomplete implementation
5131         * XplatUIX11.cs: Added call to initialize X11DesktopColors
5133 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
5135         * Theme.cs: 
5136           - Switched Theme color names to match the names defined in 
5137             System.Drawing.KnownColors. Life's hard enough, no need to make 
5138             it harder.
5139           - Added setters to all theme color properties so themes can set
5140             their color schemes. The setters also propagate the color changes
5141             to System.Drawing.KnownColors via reflection
5142         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5143           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5144           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5145           use the new, more logical theme color names
5146         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5147           post-NT colors
5148         * ThemeWin32Classic.cs:
5149           - Removed code to set the old classic Windows colors. Instead it
5150             now relies on the colors returned by System.Drawing.KnownColors
5151             which will be either modern static colors (Unix) or colors
5152             read from the user's configuration (Win32)
5153           - Updated to use the new, more logical theme color names
5154           - Switched DataGrid drawing code to use only Theme colors instead of
5155             a mix of System.Drawing.KnownColors and Theme colors
5156           - DrawFrameControl(): Removed code that fills the button area, the
5157             fill would overwrite any previous fill done by a control. This
5158             fixes bug #75338 
5159           - Added DrawReversibleRectangle() stub
5160         * ScrollableControl.cs: Set visible state to false when scrollbars
5161           are removed (pdn fix)
5162         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
5163           DrawReversibleRectangle() method to allow drawing primitive 
5164           'rubber bands'
5165         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5167 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5169         * ImageList.cs: Add(Icon): Create handle.
5171 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
5173         * ListView.cs:
5174         * ThemeWin32Classic.cs:
5175                 - Fixes detail mode
5176                 - Sets clippings
5177                 - Issues with drawing
5179 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5181         * ImageList.cs: Moved RecreateHandle back to ImageList as event
5182           source has to be the ImageList.
5184 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5186         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5188 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5190         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5192 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5194         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5196 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
5197         * GridItem.cs: Fixed TODOs
5198         * GridItemCollection.cs: Added ICollection interface
5200 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
5202         * ImageList.cs: Resize icons when needed.
5204 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
5206         * ListViewItem.cs
5207                 - Fixes GetBounds and returns on screen rects
5208         * ListView.cs:
5209                 - Fixes vertical and horzintal scrolling of items
5210         * ThemeWin32Classic.cs:
5211                 - Fixes drawing
5212                 
5213 2005-09-29  Raja R Harinath  <harinath@gmail.com>
5215         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5217 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
5219         * ImageList.cs: Added comments about handle creation. Moved Handle,
5220           HandleCreated and OnRecreateHandle implementations to ImageCollection.
5221           Handle is created in Add methods.
5223 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5224          
5225         * DataGridDrawingLogic.cs: 
5226                 - Takes rows into account on Colum calculations
5227                 - Returns the column when clickig
5228         * DataGrid.cs:
5229                 - Fixes default HitTestInfo values
5230                 - Fixes HitTestInfo.ToString
5231                 - Fixes ResetBackColor          
5232         
5233 2005-09-28  Jackson Harper  <jackson@ximian.com>
5235         * MdiChildContext.cs: Obey rules for fixed sized windows (no
5236         sizing or cursor changes). Also added some temp code to draw the
5237         titlebars text (Makes dev a little easier).
5239 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5241         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5243 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
5244          
5245         * ListBox.cs: Fixes bug 76253
5247 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
5249         * ImageList.cs: Added comments about the current implementation. Added
5250           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5251           Format32bppArgb to preserve transparency and can use Graphics.FromImage
5252           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5253           with Bitmap.LockBits for better performance. Revised the whole file to
5254           match MS.NET behaviour and provide better performance. Non-public
5255           interface members are calling public members even when they throw
5256           NotSupportedException for better maintainability. Moved ColorDepth,
5257           ImageSize, ImageStream and TransparentColor implementations to
5258           ImageCollection for better performance as these properties are not used
5259           by ImageList.
5260         * ImageListStreamer.cs: Added a new internal constructor that takes an
5261           ImageList.ImageCollection and serializes Images based on
5262           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5263           match ImageList property name.
5265 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
5267         * ListBox.cs: Fixes IndexFromPoint for last item
5269 2005-09-27  Jackson Harper  <jackson@ximian.com>
5271         * Form.cs: Set the position of new mdi children correctly.
5273 2005-09-27  Jackson Harper  <jackson@ximian.com>
5275         * MdiClient.cs: New mdi children need to be added to the back of
5276         the controls collection so the zorder is set correctly. Also add a
5277         count of all the child windows that have been created.
5279 2005-09-27  Jackson Harper  <jackson@ximian.com>
5281         * Form.cs (CreateParams): Setup MDI forms correctly.
5283 2005-09-27  Jackson Harper  <jackson@ximian.com>
5285         * MdiChildContext.cs:
5286         * MonthCalendar.cs:
5287         * UpDownBase.cs:
5288         * ListBox.cs:
5289         * ListView.cs:
5290         * TextBoxBase.cs:
5291         * TreeView.cs:
5292         * ScrollableControl.cs:
5293         * ComboBox.cs: Add implicit controls using the new implict control
5294         functionality in ControlCollection. Also try to block multiple
5295         control add in a suspend/resume layout to save some cycles.
5296         
5297 2005-09-27  Jackson Harper  <jackson@ximian.com>
5299         * Control.cs: Add functionality to the controls collection to add
5300         'implicit controls' these are controls that are created by the
5301         containing control but should not be exposed to the user. Such as
5302         scrollbars in the treeview.
5303         * Form.cs: The list var of the ControlsCollection is no longer
5304         available because of the potential of implicit controls getting
5305         ignored by someone accessing the list directly.
5307 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
5309         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5310           loose it's parent. (Fixed bug introduced in r49103 when we added
5311           setting the child parent to null on Remove)
5313 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
5315         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5316         * Splitter.cs: Added missing attributes for BorderStyle property.
5317         * TextBoxBase.cs: Marked Calculate* methods internal.
5318         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5319         MS.NET.
5321 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
5322          
5323         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5325 2005-09-25  Jackson Harper  <jackson@ximian.com>
5327         * TreeView.cs: Update the node bounds correctly regardless of
5328         whether the node is visible.
5330 2005-09-25  Jackson Harper  <jackson@ximian.com>
5332         * ImageList.cs: Don't dispose the image after it is added to the
5333         image list. Only reformat images that need to be resized.
5335 2005-09-25  Jackson Harper  <jackson@ximian.com>
5337         * ImageList.cs: Don't set the format when changing the image.
5339 2005-09-25  Jackson Harper  <jackson@ximian.com>
5341         * TreeView.cs: We can't just assume the node has a font. Use the
5342         treeviews font if no node font is available.
5344 2005-09-25  Jackson Harper  <jackson@ximian.com>
5346         * TreeView.cs: Allow the scrollbars to be reset with negative
5347         values.
5348         - Don't add scrollbars to negative sized windows.
5350 2005-09-23  Jackson Harper  <jackson@ximian.com>
5352         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5353         old Mono.Posix. Also remove some stray code that shouldn't have
5354         been committed.
5356 2005-09-23  Jackson Harper  <jackson@ximian.com>
5358         * TreeView.cs: Attempt at proper sizing of the horizontal
5359         scrollbar. Also don't resize the scrollbars unless they are
5360         visible.
5362 2005-09-23  Jackson Harper  <jackson@ximian.com>
5364         * TreeView.cs: We don't need to expand the invalid area when the
5365         selection changes, as this is all drawn in the node's bounding
5366         box. The area needs to be expanded (previous typo was contracting
5367         it) when the focus rect moves.
5369 2005-09-23  Jackson Harper  <jackson@ximian.com>
5371         * TreeView.cs: Display the selection box under the correct
5372         circumstances. We were rendering white text with no selection box
5373         before.
5375 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
5377         * TextControl.cs(Split): Now updates selection start/end if it points 
5378           into a line that's being split. Fixes a FIXME and bug #75258
5380 2005-09-23  Jackson Harper  <jackson@ximian.com>
5382         * Binding.cs:
5383         * ListControl.cs: Don't use the path when retrieving binding
5384         managers from the binding context. My bat sense tells me that the
5385         path is only used on insertion.
5387 2005-09-22  Jackson Harper  <jackson@ximian.com>
5389         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5391 2005-09-22  Jackson Harper  <jackson@ximian.com>
5393         * Splitter.cs: There are special cursors used for splitting.
5394         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5396 2005-09-22  Jackson Harper  <jackson@ximian.com>
5398         * Splitter.cs: Change the cursor appropriately when the splitter
5399         is moused over, so the user actually knows there is a splitter
5400         there.
5402 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5404        * Label.cs : Fix ToString method to give same output as MS.NET
5406 2005-09-22  Jackson Harper  <jackson@ximian.com>
5408         * TreeView.cs: Create the scrollbars when the handle is created
5409         and add them right away, just make them invisble. Also account for
5410         the window being shrunk vertically to the point that the vert
5411         scrollbar needs to be added.
5412         - Remove some 0.5 adjustments to get around anti aliasing issues.
5413         
5414 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
5415          
5416         * MainMenu.cs: Fixes default value
5417         * MenuItem.cs: Fixes default value
5419 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
5421         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5423 2005-09-21  Jackson Harper  <jackson@ximian.com>
5425         * Control.cs: Don't try to set the border style on the window if
5426         it hasn't been created. When the window is created the border
5427         style will be used.
5429 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5431         * Control.cs (Update): Don't call XplatUI if we don't have a
5432           window handle yet
5434 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5436         * ContainerControl.cs: Instead of throwing an exception, print
5437           a one-time warning about Validate not being implemented
5438         * XplatUIWin32.cs: Removed debug output
5440 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5442         * Control.cs: Only set XplatUI background if we expect the windowing
5443           system to handle the background. This stops controls that draw their
5444           own background from flickering
5446         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5447           creation. This allows, amongst other things, using MWF X11 windows 
5448           with OpenGL.
5450 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5452         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5453           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5454           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5455           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5456           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5457           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5458           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5459           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5460           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5461           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5462           GridColumnStylesCollection.cs, 
5463           IDataGridColumnStyleEditingNotificationService.cs,
5464           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5465           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5466           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5467           TreeNodeCollection.cs, AmbientProperties.cs, 
5468           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5469           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5470           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5471           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5472           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5473           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5474           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5475           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5476           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5477           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5478           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5479           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5480           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5481           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5482           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5483           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5484           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5485           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5486           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5487           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5488           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5489           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5490           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5491           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5492           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5493           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5494           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5495           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5496           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5497           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5498           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5499           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5500           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5501           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5502           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5503           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5504           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5506 2005-09-21  Jackson Harper  <jackson@ximian.com>
5508         * TreeNode.cs: Call Before/After Expand not Collapse when
5509         expanding.
5511 2005-09-20  Jackson Harper  <jackson@ximian.com>
5512         
5513         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5515 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5516          
5517         * ListViewItem.cs:
5518                 - Fixes bug 76120
5519                 - Fixes proper storing of subitems
5520                 - Fixes not updated items
5522 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5524         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5525           things if our window handle isn't created yet. Also disabled 
5526           debug for TextBoxBase
5528 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5530         * MenuAPI.cs: Remove filtering of events to allow menu usage
5532 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5534         * Cursor.cs: Allow null to be passed to Cursor.Current.
5536 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5538         * ThemeWin32Classic.cs:
5539           - Change some private methods/fields to protected virtual so that 
5540             they can be accessed and overriden in derived classes
5541           - First refactoring of some methods. Derived themes now don't 
5542             need to duplicate the complete code from ThemeWin32Classic
5543         * ThemeNice.cs:
5544           - Added nice StatusBar
5545           - Derive from ThemeWin32Classic and not Theme
5546           - Removed duplicate ThemeWin32Classic code
5548 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5550         * Control.cs (ControlCollection.Add): If the value null is passed
5551         the control is ignored. 
5553         Optimize this loop.
5555 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
5557         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5558           PostQuitMessage state.
5559         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5561 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
5563         * Application.cs: Our constructor will never get called, move 
5564           initialization to fields; fixes bug #75933
5566 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5568         * FileDialog.cs :
5569                 - Allow files to be selected properly using file name
5570                 combo box.
5571                 - Add ability to change diretory (absolute / relative)
5572                 using file name combo box.
5574 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5575          
5576         * ListBox.cs: 
5577                 - Fixes Multicolumn listboxes item wrong calculations
5578                 - Allows to click when only one item is in the listbox
5579                 - Fixes crash when no items using keyboard navigation
5581 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
5583         * ComboBox.cs: Reverted almost everything from the latest patch which
5584           broke ComboBox
5586 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
5587         
5588         * ToolTip.cs:
5589                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5590         * ComboBox.cs:
5591                 - When DropDownStyle is Simple, it does not show scrollbar 
5592                 to the last item of the list.
5593                 - When DropDownStyle is Simple, it crashed when the list was 
5594                 scrolled down with the down cursor key.
5595                 - Fixed a bug that when DropDownStyle is DropDownList, the 
5596                 selected item was not shown.
5597                 - The position of the selected item was not preserved when 
5598                 the next dropdown happened.
5599         * ThemeWin32Classic.cs:
5600                 - Items were wrapped at the right end.
5601         * CheckedListBox.cs:
5602                 - Fixed Add method
5603         * ListBox.cs:
5604                 - Items should be fully shown.
5605                 - When resizing and vertical scrollbar disappeared, the item 
5606                 of index 0 should be on the top of the list.
5607                 - GetItemRectangle should consider the size of ver. scrollbar
5608         * StatusBar.cs:
5609                 - SizingGrip area should not be allocated when it is not 
5610                 displayed.
5611                 - Now it reflects MinWidth of the containing panel and 
5612                 fixed a crash that happens when its width becomes so small.
5614 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5616         * CheckedListBox.cs: Fixes bug 76028
5617         * ListBox.cs: Fixes bug 76028
5619 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5621         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5622         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5624 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
5626         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5628 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5630         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
5632 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5634         * IRootGridEntry.cs: Added
5635         * PropertyGridCommands.cs: Added
5636         * PropertiesTab.cs: Added missing methods and property
5637         * PropertyGridView.cs: Made class internal
5638         * PropertyGridTextBox.cs: Made class internal
5640 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5642         * MimeIcon.cs: Try to check some other environment variables
5643           if "DESKTOP_SESSION" returns "default"
5645 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5647         * ThemeNice.cs: Corrected background colors (e.g. menus)
5648         * ColorDialog.cs: Use correct background colors for controls
5650 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5652         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5654 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
5656         * RichTextBox.cs: Added initial implementation
5657         * lang.cs: Removed. Was accidentally checked in long time ago
5658         * TODO: Removed. Contents were obsolete
5660 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5661                                                                                 
5662         * PropertiesTab.cs : Added
5664 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5665                                                                                 
5666         * PropertyGrid.cs : Update
5667         * PropertyGridView.cs : Update
5668         * System.Windows.Forms.resx : Added images and strings
5670 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
5672         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5674 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
5676         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5677           a busy loop right after the Ungrab the X11 display is otherwise 
5678           blocked
5680 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
5682         * ThemeWin32Classic.cs: Optimise the use of clipping
5684 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
5686         * DataGrid.cs: fixes recursion bug
5688 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
5690         * ThemeNice.cs: 
5691           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5692           - Cleanup
5694 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
5696         * ThemeNice.cs: Draw nice ProgressBars
5698 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5700         * VScrollBar.cs: Another buglet found by Aaron's tool. 
5702         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5703         bug finder.
5705 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
5707         * ThemeNice.cs:
5708           - Added nicer menu drawing
5709           - Updated DrawTab
5710           - some refactoring
5712 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5714         * CreateParams.cs (ToString): Made output match MS
5715         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
5716             handle is already created (to avoid forcing window creation)
5717         * XplatUIX11.cs: Set window text to caption after creating window,
5718           in case Text was set before window was created
5719         * Form.cs: Use this.Text instead of a static string as caption
5721 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5723         * NotifyIcon.cs: Don't set the window to visible; this screws
5724           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5725           OnPaint without a bitmap)
5726         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
5727           happen very often anyway; we could add the check to the WM_PAINT 
5728           event generation code
5730 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5732         * NotifyIcon.cs: Fill the icon area with a background color, to 
5733           avoid 'residue' when transparent icons are drawn
5734         * XplatUIX11.cs:
5735           - Handle whole_window == client_window when destroying windows
5736           - SystrayAdd(): Set client_window to whole_window value to
5737             get mouse and other events passed to NotifyIcon
5739 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5741         * Form.cs: Set proper default for Opacity property
5742         * NotifyIcon.cs:
5743           - ShowSystray(): Don't bother creating telling the OS
5744             about the systray item if no icon is provided
5745           - Now handles WM_NCPAINT message to deal with whole/client window
5746             split
5747           - Create window as visible to not get caught by Expose optimization
5748         * Hwnd.cs: Removed debug message
5749         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5750           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5751             PaintEventStart/End to use new client argument
5752         * TextBoxBase.cs:
5753           - Commented out debug messages
5754           - Switched PaintEventStart/End to use new client argument
5755         * XplatUI.cs: Added client window bool to PaintEventStart()/
5756           PaintEventEnd() calls, to support drawing in non-client areas
5757         * XplatUIDriver.cs: 
5758           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5759             calls, to support drawing in non-client areas
5760           - Added conditional compile to allow using MWF BeginInvoke 
5761             on MS runtime
5762         * XplatUIX11.cs:
5763           - Added some conditional debug output
5764           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5765             whole/client window split
5766           - Implemented handling of client argument to PaintEventStart()/End()
5767         * Control.cs:
5768           - Throw exception if BeginInvoke() is called and the window handle
5769             or one of the window's parent handles is not created
5770           - Added conditional compile to allow using MWF BeginInvoke on
5771             MS runtime
5772           - get_Parent(): Only sets parent if handle is created. This avoids
5773             forcing window handle creation when parent is set.
5774           - Now fires Layout and Parent changed events in proper order
5775           - Switched to use Handle instead of window.Handle for Z-Order setting,
5776             the get_Parent() patch above causes us to possibly get null for 'window'
5777           - Implemented handling of client argument to PaintEventStart()/End()
5778           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5779             default handling)
5780           - Now sends a Refresh() to all child windows when Refresh() is called
5782 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5784         * Form.cs: Added (non-functional) Opacity property
5785         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5787 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5788         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5789           use export MONO_THEME=nice to activate it.
5790           Currently supported controls:
5791           - Button
5792           - ComboBox
5793           - ScrollBar
5794           - TabControl (TabAlignment.Top only, other will follow)
5795         * ThemeEngine.cs: Add theme nice
5796         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5797           if enabled
5799 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5801         * Splitter.cs: Resize docked control and its neighbor.
5803 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5804         -- Making Windows with Menus layout correctly --
5805         * Form.cs : The first leg of the fix
5806                 Menu setter - adjust Client Size as needed to make space for the menu
5807                 SetClientSizeCore - doesn't call base version to be able to pass the 
5808                         menu handle to XplatUI.CalculateWindowRect
5809         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5810         * XplatUIX11.cs: The critical second leg of the fix
5811                 GetWindowPos needs to use a recalculated client_rect
5812                 so that resizing the window doesn't break layout of child controls. 
5813                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5814                 Lots of \t\n killed
5816 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5818         * Label.cs: Now properly recalculates width and height on Font and Text
5819           changes if AutoSize is set
5821 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5822         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5824 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
5826         * ImageList.cs: Makes ToString method compatible with MS
5828 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
5830         * MenuAPI.cs: fixes bug 75716
5832 2005-08-11 Umadevi S <sumadevi@novell.com>
5833         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5835 2005-08-11 Umadevi S <sumadevi@novell.com>
5836         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5838 2005-08-10  Umadevi S <sumadevi@novell.com>
5839         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5841 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
5843         * Menu.cs: fixes bug 75700
5844         * MenuAPI.cs: fixes navigation issues
5846 2005-08-09  Umadevi S <sumadevi@novell.com>
5847         * CheckedListBox.cs - simple fix for GetItemChecked.
5849 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
5851         * ComboBox.cs: Serveral fixes
5852         * ListBox.cs: Serveral fixes
5854 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5856         * ComboBox.cs: Fixes FindString methods and GetItemHeight
5857         * ListBox.cs: Fixes FindString methods
5859 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5861         * DataGrid.cs: fixes bugs exposed by new tests
5863 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5865         * Mime.cs: Compile Mono assembly references only if compiling
5866           with Mono (Allows to build with VS.Net again)
5868 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
5870         * Control.cs (PaintControlBackground): Draw background image
5871         corrrectly.
5872         (CheckForIllegalCrossThreadCalls): Stubbed.
5873         
5874         * Form.cs (OnCreateControl): Center when should be centered.
5875         
5876         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5878 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
5880         * Binding.cs: Binding to properties should be case unsensitive
5882 2005-07-18 vlindos@nucleusys.com
5884         * DataGrid.cs: fixes setmember order
5886 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
5888         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5889         * FileDialog.cs: FileDialog is now resizable and uses the new
5890           MimeIconEngine
5892 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
5894         * DataGridTextBoxColumn.cs: default value
5895         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5896         * GridTableStylesCollection.cs: fixes checking MappingName
5897         * DataGridDrawingLogic.cs: fixes drawing logic issues
5898         * DataSourceHelper.cs: rewritten to make compatible with more data sources
5899         * DataGrid.cs: fixes    
5901 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
5903         * MimeGenerated.cs: Use case sensitive comparer for
5904           NameValueCollections
5906 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
5908         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
5909         * ThemeWin32Classic.cs: bug fixes, code refactoring
5910         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
5911         * DataGrid.cs: bug fixes, code refactoring
5912         * DataGridTextBox.cs: bug fixes, code refactoring
5913         * DataGridColumnStyle.cs:  bug fixes, code refactoring
5914         * Theme.cs:  bug fixes, code refactoring
5916 2005-07-01  Peter Bartok  <pbartok@novell.com> 
5918         * TextControl.cs: Quick fix for the reported crash on ColorDialog
5919           and other text box usage
5921 2005-07-01  Jackson Harper  <jackson@ximian.com>
5923         * TabControl.cs: Make sure the bottom of the tab covers the pages
5924         border.
5926 2005-06-30  Peter Bartok  <pbartok@novell.com> 
5928         * Form.cs (ShowDialog): Assign owner of the dialog
5929         * TextBoxBase.cs: Always refresh caret size when deleting, caret
5930           might have been moved to a tag with different height
5932 2005-06-30  Jackson Harper  <jackson@ximian.com>
5934         * Form.cs: Don't create an infinite loop when setting focus
5935         * MenuItem.cs: Don't dirty the parents if we don't have any
5937 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
5939         * LibSupport.cs: Rename
5941 2005-06-29  Peter Bartok  <pbartok@novell.com>
5943         * TextBoxBase.cs: Re-align caret after deleting a character
5944         * TextControl.cs:
5945           - DeleteChars(): Ensure that tag covers the provided position
5946           - StreamLine(): Drop reference for dropped tag
5948 2005-06-29  Peter Bartok  <pbartok@novell.com> 
5950         * TextControl.cs: 
5951           - Selections now work properly, anchoring at the initial location
5952             and properly extending in either direction (SetSelectionToCaret(),
5953             SetSelectionStart() and SetSelectionEnd())
5954           - No longer redraws the whole control on selection change, now
5955             calculates delta between previous and new selection and only
5956             invalidates/redraws that area
5957           - Fixed FindPos() math off-by-one errors
5958           - Changed DeleteChars() to verify the provided tag covers the
5959             provided position, selections may have a tag that doesn't cover
5960             the position if the selection is at a tag border
5961           - Fixed off-by-one errors in DeleteChars()
5962           - Added missing streamlining check in DeleteChars() to remove
5963             zero-length tags
5964           - Implemented Invalidate() method, now properly calculates exposures
5965             between two given lines/positions
5966           - Implemented SetSelection()
5967           - Obsoleted and removed FixupSelection()
5968           - Improved RecalculateDocument() logic, removing code duplication
5970 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5972         * LibSupport.cs: changes to match different input/output arguments.
5974 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5976         * LibSupport.cs: added libsupport.so init routine.
5978 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
5979         
5980         * ControlBindingsCollection.cs
5981                 - Throws an exception on null datasource when adding
5982                 - Checks for duplicated bindings when adding
5984 2005-06-28  Jackson Harper  <jackson@ximian.com>
5986         * TreeView.cs (OnKeyDown): Support left and right properly
5987         (navigates as well as expanding and collapsing.
5988         - Add support for Multiply, this expands all the selected nodes
5989         children.
5990         - Fix some tabbing.
5992 2005-06-28  Jackson Harper  <jackson@ximian.com>
5994         * TreeView.cs: Implement keyboard navigation, currently supports,
5995         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5996         support for toggling checkboxes with the space bar.
5998 2005-06-28  Jackson Harper  <jackson@ximian.com>
6000         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6001         tree.
6003 2005-06-28  Jackson Harper  <jackson@ximian.com>
6005         * TreeView.cs: Add missing event.
6007 2005-06-27  Peter Bartok  <pbartok@novell.com> 
6009         * TextControl.cs:
6010           - Made line ending size configurable (now allows for counting 
6011             lineendings as \n or \r\n)
6012           - Added margin to viewport to keep caret visible on right side
6013           - Fixed translation routines for line/pos to documentpos to consider
6014             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6015           - Fixed some line-endings to be unix style
6016           - Fixed Document.FormatText to perform it's calculations 1-based
6017           - Added descriptions for a few methods that might otherwise get 
6018             used wrong
6019           - Added NOTE section with some basic conventions to remember at 
6020             the top of the file
6021           - Major fixup for RichTextBox selection drawing:
6022             * Fixed crashes when multiple tags on a single line were selected
6023             * fixed selection box drawing not overlaying text
6024             * fixed bogus offset calculation for tags not starting at index 1
6025             * Switched behaviour from using multiple Substrings of a 
6026               StringBuilder.ToString() to using multiple 
6027               StringBuilder.ToString(start, length) statements, hoping this is
6028               faster (kept original version commented out in the code, in case
6029               original version was faster)
6030         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
6031           alignment != Left
6032         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6033           call it as well
6035 2005-06-27  Jackson Harper  <jackson@ximian.com>
6037         * TabControl.cs: Move to the left and right with the arrow
6038         keys. These keys don't cycle beyond first and last like
6039         tab. Refresh all the tabs when scrolling them to the left or
6040         right.
6042 2005-06-27  Jackson Harper  <jackson@ximian.com>
6044         * TabControl.cs:
6045           - ToString: Added method
6046           - CreateParams: Remove TODO and comment
6047           - OnKeyDown: Cycle through bounds properly.
6048           - SelectedIndex: Scroll to the right or left if we need to
6049           display the newly selected tab.
6051 2005-06-23  Jackson Harper  <jackson@ximian.com>
6053         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6054         set.
6056 2005-06-23  Jackson Harper  <jackson@ximian.com>
6058         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6059         CTRL-SHIFT-TAB, and HOME, END are there any others?
6061 2005-06-23  Jackson Harper  <jackson@ximian.com>
6063         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6065 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6066         
6067         * DataGridTextBoxColumn.cs: fixes and enhancements
6068         * ThemeWin32Classic.cs: fixes and enhancements
6069         * DataGridBoolColumn.cs:  fixes and enhancements
6070         * DataGridDrawingLogic.cs:  fixes and enhancements
6071         * CurrencyManager.cs: fixes and enhancements
6072         * DataGrid.cs: fixes and enhancements
6073         * DataGridColumnStyle.cs:  fixes and enhancements
6075 2005-06-22  Jackson Harper  <jackson@ximian.com>
6077         * TabControl.cs: Add some missing methods that just call into the
6078         base. Make the TabPageCollection's IList interface behave in the
6079         same manner as the MS implementation.
6081 2005-06-22  Peter Bartok  <pbartok@novell.com> 
6083         * TextControl.cs: Added sanity check
6084         * TextBoxBase.cs: 
6085           - Fixed wrapping behaviour, don't set wrap on single line controls
6086             (this fixes the breakage of colordialog introduced in an earlier
6087              checkin)
6088           - Added rudimentary support for autoscrolling right-aligned controls
6089             (still needs fixing, also, center alignment scroll is missing)
6091 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
6092         
6093         * ScrollBar.cs: Fixes thumbpos on Maximum values
6095 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
6096         
6097         * PropertyGridView.cs: Pass context information to UITypeEditors 
6099 2005-06-21  Peter Bartok  <pbartok@novell.com> 
6101         * TextBoxBase.cs:
6102           - Now calling PositionCaret with absolute space coordinates
6103           - Enabled vertical scrolling
6104           - Better tracking of scrollbar changes, tied into WidthChange
6105             event
6106           - Improved cursor tracking
6107           - Removed debug output
6108         * TextControl.cs:
6109           - PositionCaret coordinates are now works in absolute space, not 
6110             the canvas
6111           - Improved tracking of document size
6112           - Added events for width and height changes
6114 2005-06-21  Peter Bartok  <pbartok@novell.com>
6116         * Form.cs: Set focus to active control when form is activated
6117         * TextControl.cs: 
6118           - Added word-wrap functionality to RecalculateLine() 
6119           - Added some short function descriptions for VS.Net to aid in
6120             writing dependent controls
6121           - Added Caret property, returning the current coords of the caret
6122           - Added ViewPortWidth and ViewPortHeight properties
6123           - Added Wrap property
6124           - Added CaretMoved event
6125           - Removed some old debug code
6126           - Split() can now create soft splits
6127           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6128           - Added method to format existing text
6129           - Fixed size/alignment calculations to use viewport
6130           - RecalculateDocument now can handle changing line-numbers while
6131             calculating lines
6133         * TextBox.cs:
6134           - Added some wrap logic, we don't wrap if alignment is not left
6135           - Added casts for scrollbar var, base class switched types to
6136             also support RichTextBoxA
6137           - Implemented handling of scrollbar visibility flags
6139         * TextBoxBase.cs:
6140           - Switched scrollbars type to RichTextBoxScrollBars to support
6141             RichTextBox
6142           - Added tracking of canvas width/height
6143           - Switched scrollbars to be not selectable (to keep focus on text)
6144           - Added central CalculateDocument() method to handle all redraw
6145             requirements
6146           - Added ReadOnly support
6147           - Added WordWrap support
6148           - Fixed handling of Enter key (we now treat it as a DialogKey)
6149           - Fixed caret positioning when h or v scroll is not zero
6150           - Fixed placing/generation of vertical scrollbar
6151           - Added CalculateScrollBars() method to allow updating scrollbar
6152             limits and visibility
6153           - Fixed handling of horizontal scroll
6154           - Added handling of vertical scroll
6155           - Implemented auto-'jump' when caret moves to close to a left or
6156             right border and there is text to be scrolled into view (currently
6157             there's the potential for a stack overflow, until a bug in
6158             scrollbar is fixed)
6160 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
6161         
6162         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6164 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
6166         * Mime.cs:
6167         - added inodes.
6168         - return application/x-zerosize for files with size zero
6169           (if no extension pattern matches).
6170         - check matches collection for strings too.
6171         - return only the first mime type if the name value
6172           collection has more than one mime type.
6174 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
6175         
6176         * PropertyGrid.cs: Cleaned up some TODOs
6177         * PropertyGridView.cs: Added support for UITypeEditors
6179 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6180         
6181         * DataGrid.cs: clears cached value
6183 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
6185         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6186         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6187         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6188         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6189         
6190 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
6192         * ThemeWin32Classic.cs: fixes colour
6194 2005-06-15  Peter Bartok  <pbartok@novell.com>
6196         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6197         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6198         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6199         * Control.cs: Added some MWFCategory and MWFDescription attributes
6200         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6202 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
6204         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6205         usage
6207 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
6209         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6210         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6211         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6212         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6213         * DataGrid.cs: default datagrid settings for Default Styles, fixes
6214         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6216 2005-06-13  Jackson Harper  <jackson@ximian.com>
6218         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6219         isn't printed when the user enables dropping. (X11 does accept
6220         drops).
6221         
6222 2005-06-13  Jackson Harper  <jackson@ximian.com>
6224         * TreeView.cs: Remove some TODOS.
6226 2005-06-13  Jackson Harper  <jackson@ximian.com>
6228         * Form.cs: Hook into the mdi framework.
6229         * MdiClient.cs: Use the base control collections add method so
6230         parents get setup correctly. Set the default back colour and dock
6231         style.
6232         * MdiChildContext.cs: New class, this bad actor handles an
6233         instance of an MDI window. Right now there is only basic
6234         support. You can drag, close, and resize windows. Minimize and
6235         Maximize are partially implemented.
6237 2005-06-13  Jackson Harper  <jackson@ximian.com>
6239         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6240         freaky when both vals are negative. NOTE: There are probably other
6241         places in XplatUIX11 that this needs to be done.
6243 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
6245         * DataGrid.cs: implement missing methods, move KeyboardNavigation
6246         * DataGridColumnStyle.cs: fixes signature
6248 2005-06-12  Jackson Harper  <jackson@ximian.com>
6250         * XplatUIX11.cs: Use sizing cursors similar to the ones on
6251         windows.
6253 2005-06-11  Jackson Harper  <jackson@ximian.com>
6255         * StatusBarPanel.cs: Signature cleanups. Implement
6256         BeginInit/EndInit.
6258 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
6260         * DataGridTextBoxColumn.cs: Honors aligment
6261         * GridColumnStylesCollection.cs: Contains is case unsensitive
6262         * GridTableStylesCollection.cs: several fixes
6263         * DataGridTableStyle.cs: default column creation
6264         * DataGridDrawingLogic.cs: fixes
6265         * CurrencyManager.cs: ListName property
6266         * DataGrid.cs: multiple styles support
6267         * DataGridColumnStyle.cs: fixes
6268         
6270 2005-06-10  Peter Bartok  <pbartok@novell.com>
6272         * Control.cs(Select): Moved SetFocus call to avoid potential
6273           loops if controls change the active control when getting focus
6274         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6275           the up/down buttons
6277 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
6279         * ImageListConverter.cs: Implemented
6281 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6283         * MonthCalendar.cs: Wired in NumericUpDown control for year
6285 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
6287         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6288           DoubleClick events, since they are not meant to be fired.
6290 2005-06-09  Peter Bartok  <pbartok@novell.com>
6292         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6293           Jonathan's standalone controls into MWF, implemented missing
6294           events, attributes and methods; added xxxAccessible classes
6295         * AccessibleObject.cs: Made fields internal so other classes
6296           can change them if needed
6298 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
6300         * UpDownBase.cs: Complete implementation
6301         * NumericUpDown.cs: Complete implementation
6302         * DomainUpDown.cs: Complete implementation
6304 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
6306         * DataGridTextBoxColumn.cs: drawing fixes
6307         * DataGridCell.cs: fixes ToString method to match MSNet
6308         * DataGridTableStyle.cs: fixes
6309         * DataGridBoolColumn.cs: fixes, drawing
6310         * DataGridDrawingLogic.cs: fixes, new methods
6311         * DataGridTextBox.cs: Keyboard and fixes
6312         * DataGrid.cs:
6313                 - Keyboard navigation
6314                 - Scrolling fixes
6315                 - Row selection (single, multiple, deletion, etc)
6316                 - Lots of fixes
6317         
6318 2005-06-07  Jackson Harper  <jackson@ximian.com>
6320         * ThemeWin32Classic.cs: Clear the background area when drawing
6321         buttons.
6323 2005-06-06  Peter Bartok  <pbartok@novell.com>
6325         * ImageListStreamer.cs: Fixed signature for GetData
6326         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6327         * ComboBox.cs:
6328           - Added missing ChildAccessibleObject class
6329           - Added missing OnXXXFocus overrides, switched to using those
6330             instead of the event handler
6331         * Control.cs:
6332           - Added Parent property for ControlAccessibleObject
6333           - Fixed signatures
6334           - Fixed attributes
6335           - Added ResetBindings()
6336         * ListBindingConverter.cs: Implemented some methods
6337         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6338         * ImageList.cs: Implemented basic handle scheme, removed TODOs
6339         * ContainerControl.cs: Fixed signature, now subscribing to the
6340           ControlRemoved event instead of overriding the handler, LAMESPEC
6341         * CurrencyManager.cs: Added missing attribute
6342         * MonthCalendar.cs: Added missing properties
6344 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6346         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6347         
6348 2005-06-06  Gaurav Vaish and Ankit Jain
6350         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6351         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6352         
6353 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
6355         * Control.cs: fixes CreateParams Width / Height.
6357 2005-06-05  Peter Bartok  <pbartok@novell.com>
6359         * Win32DnD.cs: Removed compilation warnings
6361 2005-06-05  Peter Bartok  <pbartok@novell.com>
6363         * Control.cs (CreateParams): Since we don't know if one of the
6364           properties we use is overridden, lets make sure if we fail accessing
6365           we continue with a backup plan
6367 2005-06-05  Peter Bartok  <pbartok@novell.com>
6369         * Win32DnD.cs:
6370           - Removed debug output
6371           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6372             struct
6373           - Plugged resource leak
6374         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6375           MS size
6377 2005-06-05  Peter Bartok  <pbartok@novell.com>
6379         * XplatUIWin32.cs: Removed DnD code
6380         * Win32DnD.cs: Implemented drop source and drop target functionality
6382 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6384         * UpDownBase.cs: remove duplicate addition of event, enable some code
6385         that was commented out.
6386         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6387         Validate input when a key is pressed. It works fine now for every
6388         combination of Hexadecimal. Only missing some drawing love when sharing
6389         space with other controls.
6391 2005-06-04  Peter Bartok  <pbartok@novell.com>
6393         * Control.cs:
6394           - We need to pass a window for DragDrop, so enable callback events
6395           - Added DnD callback events when being a DragSource
6396         * XplatUI.cs (StartDrag): Added window handle argument
6397         * XplatUIDriver.cs (StartDrag): Added window handle argument
6398         * QueryContinueDragEventArgs: Made fields internally accessible so
6399           drivers can set them
6400         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6401           can set them
6403 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
6405         * DataGridTextBoxColumn.cs: column text editing
6406         * DataGridTableStyle.cs: Respect columns styles created by the user
6407         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6408         * DataGridBoolColumn.cs: bool column editing
6409         * DataGrid.cs: fixes to scrolling, properties, etc
6410         * DataGridTextBox.cs: handle keyboard
6411         * DataGridColumnStyle.cs: fixes
6413 2005-06-02  Jackson Harper  <jackson@ximian.com>
6415         * ImageListStreamer.cs: Somewhat broken implementation of
6416         GetObjectData. The RLE needs some work to match MS properly.
6418 2005-06-02  Jackson Harper  <jackson@ximian.com>
6420         * X11Dnd.cs: Attempting to keep at least one file in MWF
6421         monostyled.
6423 2005-06-02  Peter Bartok  <pbartok@novell.com>
6425         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6426           that way
6428 2005-06-02  Peter Bartok  <pbartok@novell.com>
6430         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6431         * XplatUI.cs: Added DoDragDrop() method
6432         * XplatUIDriver.cs: Added DoDragDrop() method
6434 2005-06-02  Jackson Harper  <jackson@ximian.com>
6436         * Splitter.cs: Implement BorderStyle.
6438 2005-06-02  Jackson Harper  <jackson@ximian.com>
6440         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6441         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6442         X11 using XDND.
6444 2005-06-02  Peter Bartok  <pbartok@novell.com>
6446         * DataObject.cs:
6447           - Added Data setter
6448           - Fixed broken insertion code for SetData, now also
6449             overwrites any existing entry of the same format name
6450         * Hwnd.cs: Added list of pointers that automatically gets
6451           freed when the window is disposed
6452         * XplatUI.cs: Call driver initialization method when loading
6453           a driver
6454         * Control.cs:
6455           - OnDragLeave takes EventArgs, not DragEventArgs
6456           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6457             supported
6458           - Forces style update when drop state changes
6459         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6460           not perfect since we cannot (yet) call the IDataObject.GetData()
6461           method, we keep getting 0x80004005 error, dunno why)
6463 2005-06-02  Peter Bartok  <pbartok@novell.com>
6465         * DragEventArgs.cs: Make fields internal so we can cache the
6466           object and re-set the fields from XplatUI
6468 2005-06-02  Jackson Harper  <jackson@ximian.com>
6470         * Control.cs: Add some internal methods so the DnD subsystem can
6471         raise DnD events. Also call into the driver when AllowDrop is set.
6472         * XplatUI.cs:
6473         * XplatUIDriver.cs: New method for setting whether or not a window
6474         is allowed to accept drag and drop messages.
6475                 
6476 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6477         
6478         * ScrollBar.cs: Make sure that values sent in Scroll events
6479         are always between Maximum and Minimum.
6481 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6483         * Menu.cs: Call MenuChanged when menuitem visibility has been
6484         changed.
6485         * MenuItem.cs: Rebuild menu when item is (not) visible.
6486         * MainMenu.cs: MainMenu has special MenuChanged.
6487         * Theme.cs: Caption and FrameBorderSize are not fixed.
6488         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6489         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6490         * XplatUIX11.cs,
6491         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6492         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6494 2005-05-30  Jackson Harper  <jackson@ximian.com>
6496         * DataFormat.cs: We can't statically initialize this stuff because
6497         it calls into the xplatui and could create a loop. So we lazy init
6498         it.
6500 2005-05-28  Jackson Harper  <jackson@ximian.com>
6502         * Control.cs: Proper implementation of Product(Name/Version).
6504 2005-05-27  Jackson Harper  <jackson@ximian.com>
6506         * DataObject.cs: Dont crash if no data is found.
6508 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6509         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6510                 as per status page, guessing it should be set to true
6512 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6514         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6515         * DataGridTableStyle.cs: set proper formatting text, def header text
6516         * ThemeWin32Classic.cs: new themable paramaters
6517         * DataGridBoolColumn.cs: paint check box, get data, fixes
6518         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6519         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6520         * DataGridColumnStyle.cs: fixes
6521         * Theme.cs: new themable paramaters
6522                 
6523 2005-05-26  Peter Bartok  <pbartok@novell.com>
6525         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6527 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6528         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6530 2005-05-24  Peter Bartok  <pbartok@novell.com>
6532         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6533           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6534           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6535           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6536           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6537           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6538           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6539           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6540           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6541           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6542           missing attributes, etc
6543         * DataGridPreferredColumnWidthTypeConverter.cs: Added
6545 2005-05-24  Peter Bartok  <pbartok@novell.com>
6547         * Help.cs: Added, implemented trivial functions, throws up MessageBox
6548           when user tries to get help
6549         * DataObject.cs, DataFormats.cs, LinkArea.cs,
6550           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6551           to suppress warnings
6552         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6553           avoid unreachable code warning
6555 2005-05-20  Peter Bartok  <pbartok@novell.com>
6557         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6559 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6561         * DataGridTextBoxColumn.cs: Basic painting methods
6562         * DataGridTableStyle.cs: Set table style in the column
6563         * ThemeWin32Classic.cs: Use Theme for colors
6564         * DataGridDrawingLogic.cs: Implement more drawing
6565         * DataGrid.cs: drawing, theming, enhacements, fixes
6566         * DataGridColumnStyle.cs: fixes, drawing
6567         * Theme.cs: theming for Datagrid
6569 2005-05-20  Peter Bartok  <pbartok@novell.com>
6571         * Cursor.cs: Implemented GetObjectData() method
6573 2005-05-20  Peter Bartok  <pbartok@novell.com>
6575         * Cursors.cs: Added setting of cursor name
6576         * Cursor.cs:
6577           - Implemented constructors
6578           - Implemented Draw and DrawStretched
6579           - Implemented Current property
6580           - Implemented == and != operators
6581           - Implemented Dispose()
6582           - Implemented ToString
6583           - Added missing attributes
6584         * XplatUIX11.cs:
6585           - Added missing reset for OverrideCursor when DoEvents is called
6586           - Fixed creation of cursor, logic was wrong
6587         * XplatUIWin32.cs:
6588           - Added missing reset for OverrideCursor when DoEvents is called
6589           - Fixed creation of cursor, bit arrays were swapped
6590         * Clipboard.cs: Removed obsolete MonoTODO attribute
6592 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6594         * ComboBox.cs: fixes OnSelectedItemChanged
6595         * ControlBindingsCollection.cs: fixes item range check
6597 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6599         * UpDownBase.cs:
6600                 - Calc preferred height properly
6601                 - Implement missing properties
6602                 
6603         * NumericUpDown.cs: Implement missing events
6605 2005-05-19  Jackson Harper  <jackson@ximian.com>
6607         * TabControl.cs: New method that resizes the tab pages before
6608         redrawing them. This as needed as the control is double buffered
6609         and sizing will not be recalculated unless ResizeTabPages is
6610         called.
6611         * TabPage.cs: Set base.Text instead of Text in the constructor so
6612         that UpdateOwner does not get called. Use the new Redraw method of
6613         TabControl instead of Refresh so the sizing is recalculated.
6614         * ThemeWin32Classic.cs: Draw the text for button tabs.
6616 2005-05-19  Jackson Harper  <jackson@ximian.com>
6618         * Control.cs: Paint control background images. Fix typo where
6619         PaintControlBackground was not getting called correctly.
6621 2005-05-19  Peter Bartok  <pbartok@novell.com>
6623         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6624           I can investigate, apparently I broke FileDialog
6626 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
6628         * AxHost.cs: Some simple properties.
6629         * Control.cs: window must be accessible after ctor.
6630         * Form.cs: Added TransparencyKey property.
6631         * TextBoxBase.cs: Implemented Clear. Text property can be null.
6632         * XplatUIWin32.cs: SetBorderStyle implemented.
6634 2005-05-18  Peter Bartok  <pbartok@novell.com>
6636         * DataObject.cs: Entries are not global but particular to the
6637           DataObject, now it behaves that way
6638         * XplatUIWin32.cs: Implemented Clipboard methods
6639         * Clipboard.cs: Implemented
6640         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6641         * XplatUIOSX.cs: Updated to final clipboard prototypes
6642         * XplatUIX11.cs: Implemented Clipboard methods
6643         * XplatUIDriver.cs: Updated to final clipboard prototypes
6644         * XplatUIStructs.cs:
6645           - Added BITMAPINFOHEADER struct
6646           - Added ClipboardFormats enum
6647         * X11Structs.cs:
6648           - Added ClipboardStruct
6649           - Added Atom enum items for clipboard types
6650           - Fixed atom types for Selection event structures
6651         * DataFormats.cs:
6652           - Added internal properties and methods for drivers to enumerate
6653             all known formats
6654           - Switched initialization method to allow drivers to assign their
6655             own IDs even for the MS predefined clipboard IDs
6656         * XplatUI.cs: Updated to final clipboard interface
6658 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6659         * PropertyGridView.cs: Fixed compiler warnings.
6661 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6662         * PropertyGrid.cs: Added some event calls
6663         * PropertyGridView.cs: Change drawing code to use double buffering
6664         * PropertyGridTextBox.cs: Changed Text property name
6665         * GridItem.cs: Added Bounds property.
6666         * GridEntry.cs: Added Bounds property.
6668 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6670         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6671         since GetType() may not return the correct type if the object is
6672         a remoting proxy.
6674 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
6676         * TreeNodeCollection.cs: fixes get/set item ranges
6677         
6678 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6680         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6681                 
6682 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6684         * ComboBox.cs: Fix item range comparation
6685         * ListView.cs: Fix item range comparation
6687 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6689         * FontDialog.cs:
6690           - Clear example panel when OnPaint is called
6691           - Better solution for displaying the example panel text
6692           - Select default indexes in the ListBoxes
6694 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6696         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
6698 2005-05-11  Peter Bartok  <pbartok@novell.com>
6700         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6701         * SelectionRangeConverter.cs: Implemented
6702         * PropertyGrid.cs: Fixed attribute value
6703         * Control.cs:
6704           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6705           - Added Sebastien Pouliot's CAS Stack Propagation fixes
6706         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6707           that's common to all drivers. First methods to go there are
6708           Sebastien Pouliot's CAS Stack Propagation helper methods
6709         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6710           Sebastien Pouliot for CAS Stack Propagation
6712 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6714         * OSXStructs.cs:
6715           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6717 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
6719         * DataGridTextBoxColumn.cs: fixed some members
6720         * GridColumnStylesCollection.cs: indexed column is case insensitive
6721         * DataGridTableStyle.cs: fixes
6722         * ThemeWin32Classic.cs: add new theme parameter
6723         * Theme.cs: add new theme parameter
6724         * DataGridDrawingLogic.cs: Datagrid's drawing logic
6725         * DataGrid.cs: fixes, new internal properties, etc.
6726         * DataGridColumnStyle.cs: allows to set grid value
6727         *
6729 2005-05-10  Peter Bartok  <pbartok@novell.com>
6731         * AccessibleObject.cs:
6732           - Removed MonoTODO attribute on help, method is correct
6733           - Fixed Bounds property
6734         * AxHost.cs: Moved MonoTODO
6735         * ButtonBase.cs: Now setting AccessibleObject properties
6736         * RadioButton.cs: Setting proper AccessibleObject role
6737         * CheckBox.cs: Setting proper AccessibleObject role
6738         * ControlBindingsCollection.cs: Added properties, methods and attributes
6739         * DataFormats.cs: Fixed awkward internal API, and changed to enable
6740           userdefined DataFormats.Format items as well
6741         * ListControl.cs: Removed data_member from the public eye
6742         * OpenFileDialog.cs:
6743           - Made class sealed
6744           - Added missing attributes
6745         * SaveFileDialog.cs: Added missing attributes
6746         * ImageListStreamer.cs: Fixed code that caused warnings
6747         * LinkLabel.cs: Removed unreachable code
6748         * TreeView.cs: Fixed code that caused warnings
6749         * PropertyGridView.cs: Fixed code that caused warnings
6750         * GridColumnStylesCollection.cs: Added missing attributes
6751         * GridTableStylesCollection: Added missing attribute
6752         * PropertyManager: Added .ctor
6753         * SecurityIDType: Added
6754         * DataObject.cs: Implemented class
6755         * LinkArea.cs: Added missing attribute
6757 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6759         * RadioButton.cs: call base method to allow to fire OnClick event
6760         * UpDownBase.cs: OnMouseUp call base method
6761         * CheckedListBox.cs: call base method before returning
6762         * TrackBar.cs: call base method before returning
6763         
6765 2005-05-10  Peter Bartok  <pbartok@novell.com>
6767         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6768           for messages
6770 2005-05-10  Peter Bartok  <pbartok@novell.com>
6772         * DataFormats.cs: Implemented
6773         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6774           XplatUIX11.cs: Added Clipboard APIs
6775         * XplatUIWin32.cs: Implemented Clipboard APIs
6776         * FolderBrowserDialog.cs: Added missing event, attributes
6778 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6780         * CheckBox.cs: call base method to allow to fire OnClick event
6782 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6784         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6786 2005-05-06  Peter Bartok  <pbartok@novell.com>
6788         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6789         * Screen.cs: Implemented
6790         * HelpNavigator.cs: Added
6791         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6792           property
6793         * HelpProvider.cs: Implemented all we can do until we have a CHM
6794           help library (which means that "What's This" does work now)
6796 2005-05-06  Jackson Harper  <jackson@ximian.com>
6798         * XplatUIX11.cs: Fix waking up the main loop.
6799                 
6800 2005-05-05  Peter Bartok  <pbartok@novell.com>
6802         * XplatUI.cs: Updated revision
6803         * Form.cs: Removed enless loop
6804         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6805         * Label.cs (OnPaint): Added call to base.OnPaint()
6806         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6807         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6808         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6809         * AxHost.cs: Added
6810         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6811         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6812           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6813           reuse of ToolTipWindow by other controls
6814         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6815         * XplatUIX11.cs: Now clipping drawing area (experimental)
6816         * PictureBox.cs: Moved base.OnPaint() call to end of method
6817         * Theme.cs: Fixed ToolTip abstracts to match new format
6818         * ErrorProvider.cs: Implemented
6820 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
6822         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6823         * LinkLabel.cs:
6824                 - Adds cursors
6825                 - Handles focus
6826                 - Implements LinkBehavior
6827                 - Fixes many issues
6829 2005-05-03  Jackson Harper  <jackson@ximian.com>
6831         * ListView.cs: Calculate the scrollbar positioning on resize and
6832         paint, so they get put in the correct place.
6834 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6836         * ColorDialogs.cs: The small color panels are now handled by
6837           SmallColorControl. This fixes drawing of the focus rectangle
6838           and adds a 3D border.
6840 2005-05-03  Peter Bartok  <pbartok@novell.com>
6842         * Control.cs: Modified version of Jonathan Chamber's fix for
6843           double-buffering
6845 2005-05-03  Jackson Harper  <jackson@ximian.com>
6847         * ListView.cs: Remove redraw variable. Control now handles whether
6848         or not a redraw needs to be done, and will only raise the paint
6849         event if redrawing is needed.
6851 2005-05-03  Jackson Harper  <jackson@ximian.com>
6853         * Splitter.cs: No decorations for the splitter form. Cache the
6854         hatch brush.
6856 2005-05-03  Jackson Harper  <jackson@ximian.com>
6858         * TreeView.cs: Use dashed lines to connect nodes. Use the
6859         ControlPaint method for drawing the focus rect instead of doing
6860         that in treeview.
6862 2005-05-02  Peter Bartok  <pbartok@novell.com>
6864         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6866 2005-04-29  Jackson Harper  <jackson@ximian.com>
6868         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6869         entire image buffer. Just clear the clipping rectangle.
6871 2005-04-29  Jackson Harper  <jackson@ximian.com>
6873         * ThemeWin32Classic.cs: Don't draw list view items that are
6874         outside the clipping rectangle.
6876 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
6878         * ListBox.cs: added horizontal item scroll
6880 2005-04-29  Jackson Harper  <jackson@ximian.com>
6882         * ThemeWin32Classic.cs: Remove some old debug code that was
6883         causing flicker with the new double buffering code.
6885 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
6887         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6888         behave like combobox and comboboxlist (still not sure if this is
6889         correct though).
6891 2005-04-28  Jackson Harper  <jackson@ximian.com>
6893         * ThemeWin32Classic.cs: Don't fill the middle of progress
6894         bars. This fills areas outside of the clip bounds that don't need
6895         to be filled.
6897 2005-04-28  Jackson Harper  <jackson@ximian.com>
6899         * Control.cs: Don't expose functionality to touch the image buffers.
6900         * ProgressBar.cs:
6901         * ListView.cs: We do not need to (and no longer can) manipulate
6902         the image buffers directly. All of this is handled by Control.
6904 2005-04-28  Peter Bartok  <pbartok@novell.com>
6906         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6907           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6908           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6910 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6912         * Combobox:
6913                 - Adjust control's height for non-simple comboboxes (bug fix)
6914                 - Remove dead code
6915         * MenuAPI.cs: remove unused var
6916         * ScrollBar.cs: remove unsed var
6917                  
6918         * ListBox.cs: unselect items when clearing
6920 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6922         * ListControl.cs: honors OnPositionChanged and default Selected Item
6923         * ListBox.cs: unselect items when clearing
6925 2005-04-27  Jackson Harper  <jackson@ximian.com>
6927         * X11Keyboard.cs: Initialize a default keyboard and give a warning
6928         if a "correct" keyboard is not found. This will make us not crash,
6929         but might give some users bad keyboard layouts...seems to be the
6930         same thing rewind does.
6932 2005-04-27  Jackson Harper  <jackson@ximian.com>
6934         * BindingManagerBase.cs: Attach the current/position changed
6935         handlers to their respective events.
6937 2005-04-27  Jackson Harper  <jackson@ximian.com>
6939         * Control.cs: Make sure that the first WM_PAINT does a full draw,
6940         not just a blit.
6941         * ThemeWin32Classic.cs: Don't fill the background for picture
6942         boxes. This could overright user drawing.
6943         * ComboBox.cs: Just fill the clipping rect not the entire client
6944         rect when drawing the background. This prevents pieces of the
6945         image buffer from getting overwritten and is theoretically faster.
6947 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
6949         * ComboBox.cs: Databinding support fixes, fire missing events
6950         * ListControl.cs: implement missing methods and properties, fixes
6951         * ThemeWin32Classic.cs: Databiding support on Drawing
6952         * CheckedListBox.cs: Databinding support fixes, fire missing events
6953         * ListBox.cs: Databinding support fixes, fire missing events
6954         
6955 2005-04-25  Peter Bartok  <pbartok@novell.com>
6957         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6959 2005-04-25  Jackson Harper  <jackson@ximian.com>
6961         * TreeView.cs: Use the horizontal scrollbars height not width when
6962         determining how much of the client area is available.
6964 2005-04-25  Jackson Harper  <jackson@ximian.com>
6966         * Control.cs: Double buffering is handled differently now. As per
6967         the spec, the extra buffer is created in the WM_PAINT message and
6968         passed down to the control's drawing code.
6969         * GroupBox.cs:
6970         * Label.cs:
6971         * CheckBox.cs:
6972         * ProgressBar.cs:
6973         * RadioButton.cs:
6974         * ColorDialog.cs:
6975         * ComboBox.cs:
6976         * PropertyGridView.cs:
6977         * UpDownBase.cs:
6978         * MessageBox.cs:
6979         * MenuAPI.cs:
6980         * ListView.cs:
6981         * ButtonBase.cs:
6982         * SizeGrip.cs:
6983         * ScrollBar.cs:
6984         * ListBox.cs:
6985         * TrackBar.cs:
6986         * ToolBar.cs:
6987         * PictureBox.cs:
6988         * DateTimePicker.cs:
6989         * StatusBar.cs:
6990         * TreeView.cs: Update to new double buffering system.
6991         * MonthCalendar.cs: Uncomment block, as Capture is now
6992         working. Update to new double buffering
6993         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6994         * PaintEventArgs.cs: New internal method allows us to set the
6995         graphics object. This is used for double buffering.
6996         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6997         rectangle. The internal paint_area var has been removed from
6998         StatusBar. The clipping rect should be used instead.
6999         * Theme.cs: Give the PictureBox drawing method a clipping rect.
7000         * TabPage.cs: The RefreshTabs method was removed, so just call the
7001         tab controls Refresh method now.
7002         * TabControl.cs: Update to new double buffering. Make sure the
7003         handle is created before sizing the tab pages, otherwise we will
7004         get stuck in a loop.
7006 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
7008         * LinkLabel.cs: Fix typo, bug #74719; patch
7009           from Borja Sanchez Zamorano
7011 2005-04-22  Jackson Harper  <jackson@ximian.com>
7013         * TreeNode.cs: Implement Handle stuff.
7014         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7016 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
7018         * DataGridTextBoxColumn.cs: call base constructors, fixes
7019         * GridColumnStylesCollection.cs: missing events, methods, and functionality
7020         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7021         * DataGridTableStyle.cs: implements create default column styles
7022         * DataGridBoolColumn.cs: which types can handle
7023         * DataGrid.cs: missing methods, fixes, new functionality
7024         * DataGridColumnStyle.cs: fixes
7026 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
7027         * FolderBrowserDialog.cs:
7028         - Use a thread to fill the TreeView
7029         - Adjusted some sizes
7031 2005-04-19  Peter Bartok  <pbartok@novell.com>
7033         * LinkLabel.cs: (Re-)create the pieces when setting the Text
7034           property. Fixes #74360.
7036 2005-04-19  Jackson Harper  <jackson@ximian.com>
7038         * XEventQueue.cs: Lock when getting the lockqueue size.
7039         * PictureBox.cs: Call base OnPaint
7040         
7041 2005-04-19  Peter Bartok  <pbartok@novell.com>
7043         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7044           messages were no longer being processed (this broke BeginInvoke)
7046           
7047 2005-04-18  Jackson Harper  <jackson@ximian.com>
7049         * TreeView.cs: buglet that caused node images to get drawn
7050         regardless of whether or not they were in the clipping rectangle.
7052 2005-04-18  Jackson Harper  <jackson@ximian.com>
7054         * CurrencyManager.cs: There are four rules for GetItemProperties:
7055         - If the type is an array use the element type of the array
7056         - If the type is a typed list, use the type
7057         - If the list contains an Item property that is not an object, use
7058         that property
7059         - use the first element of the list if there are any elements in
7060         the list.
7061         
7062 2005-04-17  Jackson Harper  <jackson@ximian.oom>
7064         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7065         click. This handles offsets for scrolling properly and reduces
7066         memory. Also fixed GetNode to not offset now that TopNode works
7067         properly.
7068         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7069         
7070 2005-04-17  Jackson Harper  <jackson@ximian.com>
7072         * CursorConverter.cs: Initial implementation.
7074 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7076         * ListControl.cs: work towards complex data binding support on ListControl
7077         * CurrencyManager.cs: work towards complex data binding support on ListControl
7078         * ListBox.cs: work towards complex data binding support on ListControl
7081 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
7083         * GridTableStylesCollection.cs: fixes name and constructor
7084         * DataGridTableStyle.cs: fixes
7085         * DataGridBoolColumn.cs: fixes names and constructors
7086         * DataGrid.cs: define methods and properties. Some init implementations
7087         * DataGridCell.cs: define methods and properties. Some init implementations
7088         * GridTablesFactory.cs: Define methods and properties
7090 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
7092         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
7093         graphics port changes.  We still want the coordinates in global screen
7094         coordinates.
7096 2005-04-14  Jackson Harper  <jackson@ximian.com>
7098         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7099         check plus minus or checkbox clicks unless those features are enabled.
7101 2005-04-14  Jackson Harper  <jackson@ximian.com>
7103         * TreeView.cs: Add methods for setting the top and bottom visible
7104         nodes. TreeNode::EnsureVisible uses these methods.
7105         * TreeNode.cs: Implement EnsureVisible
7107 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
7109         * Form.cs: Pospone menu assignation if the window has not been created yet
7110         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7111         size and position
7113 2005-04-12  Jackson Harper  <jackson@ximian.com>
7115         * TreeView.cs: Set the TopNode properly when scrolling
7116         occurs. This has the added benifit of reducing the amount of
7117         walking that needs to be done when drawing. Also removed an old
7118         misleading TODO.
7119         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7120         
7121 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
7123         * Timer.cs: fixes interval setting when the timer is already enabled
7124         
7125 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
7127         * FolderBrowserDialog.cs: First approach
7129 2005-04-09  Peter Bartok  <pbartok@novell.com>
7131         * FolderBrowserDialog: Added
7133 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
7135         * LinkLabel.cs: move drawing code into the theme
7136         * ThemeWin32Classic.cs: drawing code and painting background bugfix
7137         * Theme.cs: define DrawLinkLabel method
7139 2005-04-05  Jackson Harper  <jackson@ximian.com>
7141         * BindingContext.cs: Use weak references so these bad actors don't
7142         stay alive longer then they need to.
7144 2005-04-05  Jackson Harper  <jackson@ximian.com>
7146         * ListControl.cs: Basic implementation of complex databinding.
7147         * ComboBox.cs:
7148         * ListBox.cs: Add calls to ListControl databinding methods.
7150 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
7152         * FileDialog.cs:
7153           - Don't change PopupButtonState to Normal when the
7154             PopupButton gets pressed several times.
7155           - Renamed ButtonPanel to PopupButtonPanel
7157 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
7159         * ColorDialog.cs: Use cached objects instead of creating them
7160         * LinkLabel.cs: Use cached objects instead of creating them
7161         * Splitter.cs: Use cached objects instead of creating them
7162         * FontDialog.cs: Use cached objects instead of creating them
7163         * PropertyGridView.cs: Use cached objects instead of creating them
7164         * MessageBox.cs: Use cached objects instead of creating them
7165         * FileDialog.cs: Use cached objects instead of creating them
7166         * ThemeWin32Classic.cs: Use cached objects instead of creating them
7167         * TreeView.cs: Use cached objects instead of creating them
7168         
7169 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
7171         * Control.cs: use Equals to compare the font since no == op
7172         * ScrollBar.cs: use Equals to compare the font since no == op
7174 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
7176         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7178 2005-04-01  Jackson Harper  <jackson@ximian.com>
7180         * Binding.cs: Implement IsBinding.
7181         * BindingManagerBase.cs:
7182         * PropertyManager.cs:
7183         * CurrencyManager.cs: Add IsSuspended property.
7185 2005-04-01  Jackson Harper  <jackson@ximian.com>
7187         * Binding.cs: Had some IsAssignableFrom calls backwards.
7189 2005-04-01  Jackson Harper  <jackson@ximian.com>
7191         * Binding.cs: Handle null data members when pulling data.
7192         * PropertyManager.cs: Handle the data member being a property that
7193         does not exist.
7195 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7197         * DataGridTextBoxColumn.cs: fixes signature
7198         * DataGrid.cs: calls right constructor
7200 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
7202         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7203         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7204         * GridTableStylesCollection.cs: implements GridTableStylesCollection
7205         * DataGridTableStyle.cs: implements DataGridTableStyle
7206         * DataGridBoolColumn.cs: implements DataGridBoolColumn
7207         * DataGridTextBox.cs: implements DataGridTextBox
7208         * DataGridColumnStyle.cs: implements DataGridColumnStyle
7210 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
7212         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7214 2005-03-29  Peter Bartok  <pbartok@novell.com>
7216         * Application.cs:
7217           - Properly implemented CompanyName property
7218           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7219             returns a path that includes CompanyName, ProductName and
7220             Version (fixes bug #70330)
7222 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
7224         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7225           fixes bug #72588.
7227 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7229         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7230         
7231           - Added ReadOnly CheckBox
7232           - Further refactoring: moved some code from Open-/SaveFileDialog
7233             to FileDialog
7235 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
7237         * OpenFileDialog.cs: Fixed CheckFileExists
7238         * FileDialog.cs:
7239           Moved FileView and DirComboBox outside FileDialog class.
7240           They can now be used outside FileDialog
7242 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7244         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7245         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7247 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
7249         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7250           - Added missing CreatePrompt property in SaveDialog
7251           - Overall SaveDialog handling should be better now
7252           - Added non standard ShowHiddenFiles property
7253           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7254           - Added InitialDirectory and RestoreDirectory support
7256 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
7258         * FileDialog.cs: Made dirComboBox usable
7260 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
7262         * FileDialog.cs: Added Filter support (case sensitiv)
7264 2005-03-24  Jackson Harper  <jackson@ximian.com>
7266         * TabControl.cs: Need a couple more pixels for the lines.
7268 2005-03-23  Jackson Harper  <jackson@ximian.com>
7270         * TabControl.cs: Give the tab page focus when it is selected.
7272 2005-03-23  Jackson Harper  <jackson@ximian.com>
7274         * TabControl.cs: Account for the drawing of tabs borders when
7275         invalidating. If the slider was clicked dont do click detection on
7276         the tabs.
7278 2005-03-23  Jackson Harper  <jackson@ximian.com>
7280         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7282 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
7284         * CategoryGridEntry.cs: Added
7285         * GridItem.cs: Added helper properties
7286         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7287         * GridEntry.cs: Updated code for collection
7288         * PropertyGrid.cs: Cleaned up some formatting
7289         * PropertyGridView.cs: Added drop down functionality for enums.
7290         * GridItemCollection.cs: Added enumerator logic
7291         * PropertyGridEntry.cs: Added
7293 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7295         * FileDialog.cs:
7296           - Removed unnecessary commented code
7297           - Fixed handling for entering the filename manually in the combobox
7299 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
7301         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7303 2005-03-18  Peter Bartok  <pbartok@novell.com>
7305         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7306           them being touching the border
7308 2005-03-18  Peter Bartok  <pbartok@novell.com>
7310         * TextControl.cs: Quick hack to center text better
7312 2005-03-18  Peter Bartok  <pbartok@novell.com>
7314         * ControlPaint.cs:
7315           - Don't throw NotImplemented exceptions, just print a notice once
7316             instead (requested by Miguel). This makes running existing SWF
7317             apps a bit easier
7318         * Control.cs:
7319           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7320           - Added context menu trigger on right click
7321         * Panel.cs: Trigger invalidate on resize
7322         * StatusBar.cs:
7323           - Removed old double-buffer drawing
7324           - Added ResizeRedraw style to force proper update of statusbar
7325         * ListView.cs:
7326           - Removed debug output
7327         * ThemeWin32Classic.cs:
7328           - Fixed drawing of status bar, now draws Text property if there
7329             are no defined panels
7331 2005-03-18  Jackson Harper  <jackson@ximian.com>
7333         * ImageList.cs: When the image stream is set pull all the images
7334         from it.
7335         * ImageListStreamer.cs: Implement reading image list streams.
7337 2005-03-18  Peter Bartok  <pbartok@novell.com>
7339         * ThemeWin32Classic.cs (DrawPictureBox):
7340           - Fixed calculations for centered drawing
7341           - Fixed drawing for normal mode, not scaling the image on normal
7343 2005-03-18  Peter Bartok  <pbartok@novell.com>
7345         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7346           textbox
7347         * FileDialog.cs:
7348           - Made Open/Save button the accept button for FileDialog
7349           - Tied the cancel button to the IButtonControl cancel button
7350           - Save/Open now properly builds the pathname
7351           - Now handles user-entered text
7352           - Preventing crash on right-click if no item is selected
7353           - Fixed Text property, now uses contents of textbox
7354           - Fixed SelectedText property, now just returns the text part that
7355             is selected in the text box
7357 2005-03-18  Jackson Harper  <jackson@ximian.com>
7359         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7360         rect, make sure to de-adjust the interior rect after drawing the
7361         tab text.
7363 2005-03-18  Peter Bartok  <pbartok@novell.com>
7365         * MenuAPI.cs: Remove menu *before* executing selected action to
7366           prevent the menu from 'hanging around'
7367           
7368 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
7370         * XplatUIOSX.cs: Implemented WorkingArea property
7372 2005-03-17  Peter Bartok  <pbartok@novell.com>
7374         * XplatUIX11.cs: Fixed menu coord calculations
7375         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7376           for calculating offsets
7378 2005-03-17  Peter Bartok  <pbartok@novell.com>
7380         * Hwnd.cs: Do not consider menu presence for default client
7381           rectangle location/size
7382         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7383           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7384           translation functions
7385         * FileDialog.cs: Fixed (what I presume is a) typo
7387 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
7389         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7390           X access (avoids X-Async errors)
7392 2005-03-16  Jackson Harper  <jackson@ximian.com>
7394         * TabControl.cs: Raise the SelectedIndexChanged event.
7396 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
7398         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7399           - Removed vertical ToolBar and replaced it with a custom panel
7400             (desktop and home button already work)
7401           - Added Help button (some controls get resized or relocated then)
7402           - Draw correct text depending on Open or Save.
7403           - Fixed some typos...
7405 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
7407         * ScrollBar.cs:
7408           - Only change Maximum and Minimum when need it (bug fix)
7410 2005-03-15  Peter Bartok  <pbartok@novell.com>
7412         * Form.cs: Use Handle for icon, to trigger creation if
7413           the window does not yet exist
7414         * Control.cs:
7415           - CanSelect: Slight performance improvement
7416           - Focus(): Preventing possible recursion
7417           - Invalidate(): Removed ControlStyle based clear flag setting
7418           - WM_PAINT: fixed logic for calling OnPaintBackground
7419           - WM_ERASEBKGND: Fixed logic, added call to new driver method
7420             EraseWindowBackground if the control doesn't paint background
7421         * XplatUIWin32.cs:
7422           - Moved EraseWindowBackground() method to internal methods
7423           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7424             is sent via SendMessage on BeginPaint call on Win32
7425         * XplatUIX11.cs:
7426           - Added EraseWindowBackground() method
7427           - No longer sends WM_ERASEBKGND on .Expose, but on call to
7428             PaintEventStart, which more closely matches Win32 behaviour
7429           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7430           - Fixed SetFocus() to properly deal with client and whole windows
7431         * Hwnd.cs: Added ErasePending property
7432         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7433         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7435 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
7437         * XplatUIOSX.cs:
7438           - Fix hard loop when timers exist.
7439           - Fix bugs with middle and right click for 3 button mice.
7441 2005-03-11  Peter Bartok  <pbartok@novell.com>
7443         * XplatUIX11.cs:
7444           - get_WorkingArea: Need to call X directly, GetWindowPos only
7445             returns cached data now
7446           - Added sanity check to GetWindowPos hwnd usage
7448 2005-03-11  Jackson Harper  <jackson@ximian.com>
7450         * BindingManagerBase.cs: This method isn't used anymore as
7451         PullData now updates the data in the control.
7453 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7455         * Form.cs: fixes menu drawing on X11
7456         * MenuAPI.cs:  fixes menu drawing on X11
7458 2005-03-11  Peter Bartok  <pbartok@novell.com>
7460         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7461           from Jonathan Gilbert; should fix bug #73606
7462         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7463           in Screen coordinates. Thanks, Jordi.
7464         * Form.cs: Added missing attribute
7466 2005-03-11  Peter Bartok  <pbartok@novell.com>
7468         * Form.cs:
7469           - Rudimentary Mdi support
7470           - Removed outdated FormParent code
7471           - Implemented lots of missing properties and methods, still missing
7472             transparency support
7473           - Added missing attributes
7474           - Implemented support for MaximumBounds
7475           - Added firing of various events
7476         * XplatUI.cs: Added SetIcon() method
7477         * XplatUIDriver.cs: Added SetIcon() abstract
7478         * XplatUIOSX.cs: Stubbed out SetIcon() method
7479         * XplatUIX11.cs:
7480           - Implemented SetIcon() support
7481           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7482           - Switched to unix line endings
7483         * XplatUIWin32.cs:
7484           - Made POINT internal so for can access it as part of MINMAX
7485           - Implemented SetIcon() support
7486           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7487             native Mdi support again, might have to go managed)
7488         * Control.cs: Now fires the StyleChanged event
7489         * MdiClient.cs: Added; still mostly empty
7491 2005-03-10  Peter Bartok  <pbartok@novell.com>
7493         * SaveFileDialog.cs: Added emtpy file
7495 2005-03-08  Peter Bartok  <pbartok@novell.com>
7497         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7498           in turn triggers OnCreateContro) when creating a handle for the
7499           first time.
7500         * TextControl.cs: Fixed endless loop in certain cases when
7501           replacing the current selection
7503 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7505         * ScrollBar.cs:
7506           - Honors NewValue changes in Scroll events allowing apps to change it
7507           - Adds First and Last Scroll events
7508           - Fixes Thumb events
7510 2005-03-07  Peter Bartok  <pbartok@novell.com>
7512         * Hwnd.cs: Added DefaultClientRectangle property
7513         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7514           more detailed debug information
7515         * XplatUIX11.cs:
7516           - Fixed size-change feedback loop, where we would pull an old size
7517             off the queue and mistakenly change our window's size to an
7518             earlier value
7519           - Now compressing ConfigureNotify events, to reduce looping and
7520             redraw issues
7521         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7522           is called
7524 2005-03-07  Jackson Harper  <jackson@ximian.com>
7526         * Binding.cs: Push data pushes from data -> property. Check if the
7527         property is readonly when attempting to set it.
7529 2005-03-07  Jackson Harper  <jackson@ximian.com>
7531         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7532         instead of IsSubclassOf. Pulling data now sets the value on the
7533         control.
7534         * PropertyManager.cs:
7535         * CurrencyManager.cs: Just need to pull data when updating now,
7536         because PullData will set the value on the control.
7538 2005-03-04  Jackson Harper  <jackson@ximian.com>
7540         * Binding.cs: Implement data type parsing and converting on pulled
7541         data. TODO: Are there more ways the data can be converted?
7543 2005-03-04  Jackson Harper  <jackson@ximian.com>
7545         * Binding.cs: Support <Property>IsNull checks. Also bind to the
7546         controls Validating method so we can repull the data when the
7547         control loses focus.
7549 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
7551         * ColumnHeader.cs:
7552           - Fixes null string format
7553           
7554         * ListView.cs:
7555           - Adds enum type checks
7556           - Fixes redrawing and recalc need after changing some properties
7557           - Fixes on focus_item set after the event
7558           - Fixes adding columns after the control has been created
7559           
7560         * ThemeWin32Classic.cs:
7561           - Fixes CheckBox focus rectangle
7562           - Fixes ColumnHeader drawing
7565 2005-03-03  Jackson Harper  <jackson@ximian.com>
7567         * Binding.cs: Bind to <Property>Changed events so we can detect
7568         when properties are changed and update the data.
7570 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
7572         * ImageList.cs:
7573           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7574           - Fixes ImageList constructor with ImageList container
7575           - Fixes image scaling (wrong parameters at DrawImage)
7577 2005-02-02  Jackson Harper  <jackson@ximian.com>
7579         * Binding.cs: Make property searches case-insensitive. Eliminate
7580         some duplicated code.
7582 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
7584         * ComboBox.cs:
7585                 - Handle focus event
7586                 - Fix scrollbar events
7587                 - Discard highlighted item if remove it
7588                 - Fixes SelectedItem with strings
7590 2005-03-01  Peter Bartok  <pbartok@novell.com>
7592         * Control.cs:
7593           - Fixed Visible property, now follows (once again) parent chain
7594             to return false if any control in the chain is visible=false
7595           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7596           - Fixed several places where is_visible instead of Visible was used
7597           - Implemented FIXME related to focus selection when setting focused
7598             control to be invisible
7600         * XplatUIWin32.cs: Now using proper method to find out if window is
7601           visible. Thanks to Jordi for pointing it out
7603 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
7605         * ComboBox.cs: show/hide scrollbar instead of creating it
7607 2005-02-27  Jackson Harper  <jackson@ximian.com>
7609         * CurrencyManager.cs: Add PositionChanged stuff.
7611 2005-02-27  Peter Bartok  <pbartok@novell.com>
7613         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7614         * XplatUIOSX.cs: Added GetMenuOrigin() stub
7615         * XplatUIWin32.cs: Implemented GetMenuOrigin()
7616         * XplatUIX11.cs:
7617           - Implemented GetMenuDC()
7618           - Implemented GetMenuOrigin()
7619           - Implemented ReleaseMenuDC()
7620           - Implemented generation of WM_NCPAINT message
7621           - Implemented generation and handling of WM_NCCALCSIZE message
7622         * Form.cs: Added debug helper message for Jordi's menu work
7623         * Hwnd.cs:
7624           - Modified ClientRect property; added setter, fixed getter to handle
7625             setting of ClientRect
7626           - Added MenuOrigin property
7628 2005-02-26  Peter Bartok  <pbartok@novell.com>
7630         * XplatUIX11.cs:
7631           - Destroys the caret if a window that's being destroyed contains it
7632           - Ignores expose events coming from the X11 queue for windows that
7633             already are destroyed
7634           - Now uses the proper variable for handling DestroyNotify, before we
7635             marked the wrong window as destroyed
7636           - Improved/added some debug output
7638 2005-02-26  Peter Bartok  <pbartok@novell.com>
7640         * X11Keyboard.cs: Fixes to work on 64bit systems
7642 2005-02-26  Peter Bartok  <pbartok@novell.com>
7644         * Control.cs:
7645           - Now calling OnHandleDestroyed from DestroyHandle()
7646             instead of Dispose()
7647           - Removed bogus call to controls.Remove() from DestroyHandle()
7649 2005-02-26  Peter Bartok  <pbartok@novell.com>
7651         * Control.cs: Properly destroy child windows when our handle is
7652           destroyed
7654 2005-02-25  Peter Bartok  <pbartok@novell.com>
7656         * XplatUI.cs:
7657           - Added 'DriverDebug' define to allow tracing XplatUI API calls
7658           - Alphabetized Static Methods and Subclasses
7660         * XplatUIX11.cs:
7661           - Added XException class to allow custom handling of X11 exceptions
7662           - Created custom X11 error handler, tied into XException class
7663           - Added support for MONO_XEXCEPTIONS env var to allow the user
7664             to either throw an exception on X errors or continue running
7665             after displaying the error
7666           - Added handling of DestroyNotify message
7667           - Added handler for CreateNotify message (still disabled)
7668           - Improved (tried to at least) Where method to provide file and lineno
7669         * X11Structs.cs:
7670           - Added XErrorHandler delegate
7671           - Added XRequest enumeration (to suppor translation of errors)
7673 2005-02-25  Jackson Harper  <jackson@ximian.com>
7675         * PropertyManager.cs: Implement editing features
7676         * CurrencyManager.cs:
7677         * Binding.cs: First attempt at UpdateIsBinding
7678         * BindingManagerBase.cs: Call UpdateIsBinding before
7679         pushing/pulling data.
7681 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
7683         * MenuAPI.cs: Respect disabled items
7684         * ThemeWin32Classic.cs
7685                 - Caches ImageAttributes creation for DrawImageDisabled
7686                 - Fixes vertical menu line drawing
7687                 - Draws disabled arrows in disable menu items
7689 2005-02-24  Peter Bartok  <pbartok@novell.com>
7691         * Hwnd.cs:
7692           - Added UserData property to allow associating arbitrary objects
7693             with the handle
7694           - Fixed leak; now removing Hwnd references from static windows array
7695         * XplatUIWin32.cs:
7696           - Fixed Graphics leak in PaintEventEnd
7697           - Removed usage of HandleData, switched over to Hwnd class
7698         * HandleData.cs: Removed, obsoleted by Hwnd.cs
7700 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7702         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7703         * ScrollBar.cs: Fixes bug
7704         * TrackBar.cs: removes death code, clipping, mimize refreshes,
7705          keyboard navigation enhancements
7707 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7709         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7710         * GroupBox.cs: Add control styles
7711         * Label.cs: Add control styles
7712         * UpDownBase.cs: Add control styles
7713         * ListBox.cs: Add control styles
7714         * XplatUIWin32.cs: Fixes wrong parameter order
7717 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
7719         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7721 2005-02-23  Jackson Harper  <jackson@ximian.com>
7723         * PropertyManager.cs: Implement property binding. This doesn't
7724         seem to work yet though as (I think) there are some bugs in
7725         System.ComponentModel.PropertyDescriptor.
7726         * BindingContext.cs: Use new PropertyManager constructor.
7728 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
7730         * ProgressBar.cs: use clip region in ProgressBar
7731         * ThemeWin32Classic.cs: use clip region in ProgressBar
7733 2004-02-22  Jackson Harper  <jackson@ximian.com>
7735         * BindingsCollection.cs: Remove some debug code.
7737 2005-02-22  Jackson Harper  <jackson@ximian.com>
7739         * BindingContext.cs:
7740         * ControlBindingsCollection.cs:
7741         * CurrencyManager.cs:
7742         * Binding.cs:
7743         * BindingManagerBase.cs: Initial implementation
7744         * BindingsCollection.cs: Add an internal contains method that the
7745         BindingManagerBase uses to ensure bindings aren't added twice to
7746         the collection.
7747         * PropertyManager.cs: Stubbed out.
7748         * Control.cs:
7749         * ContainerControl.cs: Hook up databinding
7750         
7751 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7753         * XplatUIOSX.cs:
7754           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7755           Fixed Invalidate/Update chain.
7756           Fixed tons of other minor bugs (this is almost a complete rewrite).
7758 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7760         * ComboBox.cs: do subcontrol creation when the control is created
7762 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7764         * Label.cs: fixes image drawing (image and imagelist)
7765         * ThemeWin32Classic.cs: cache brushes
7766         
7767 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7769         * Form.cs: Move menu drawing code to Theme class
7770         * ComboBox.cs: Move ComboBox drawing code to Theme class
7771         * MenuItem.cs: Move menu drawing code to Theme class
7772         * MenuAPI.cs: Move menu drawing code to Theme class
7773         * ThemeWin32Classic.cs: New methods
7774         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7775         * ListBox.cs: Move Listbox drawing code to Theme class
7776         * Theme.cs: New methods
7778 2005-02-20  Peter Bartok  <pbartok@novell.com>
7780         * Control.cs:
7781           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7782             only process mnemonics on those)
7783           - Fixed event sequence for key handling; first calling
7784             ProcessKeyEventArgs now
7785         * TextBoxBase.cs:
7786           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7787             for processing non-character keys
7788           - Fixed WM_CHAR to generate proper event sequence before processing
7789         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7790           generation
7792 2005-02-19  Peter Bartok  <pbartok@novell.com>
7794         * UserControl.cs: Added TextChanged event; added attributes
7795         * SizeGrip.cs: Implemented resizing and optional display of grip
7796         * Form.cs: Fixed attribute
7797         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7798           Changed meaning of ScrollWindow bool argument; instead of the
7799           clear attribute (which will be true usually anyway), it gives the
7800           option of moving child controls as well.
7801         * XplatUIX11.cs:
7802           - Changed to match new ScrollWindow argument
7803           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7804             now handles the implicit parent window a WM puts around us
7805         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7806           to work)
7807         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7808         * TreeView.cs: Adjusted to new ScrollWindow arguments
7810 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7812         * Form.cs: Menu integration with non-client area
7813         * MenuItem.cs: Menu integration with non-client area
7814         * MenuAPI.cs: Menu integration with non-client area
7816 2005-02-18  Peter Bartok  <pbartok@novell.com>
7818         * MethodInvoker.cs: Added
7819         * MdiLayout.cs: Added
7820         * SendKeys.cs: Started implementation
7821         * ErrorIconAlignment.cs: Added
7823 2005-02-18  Peter Bartok  <pbartok@novell.com>
7825         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7826         * Form.cs: Added handling for Menu-related Non-client messages
7828 2005-02-17  Peter Bartok  <pbartok@novell.com>
7830         * UpDownBase.cs: Fixed typo, compilation errors
7831         * DomainUpDown.cs: Fixed attribute value
7833 2005-02-16  Miguel de Icaza  <miguel@novell.com>
7835         * UpDownBase.cs: Attach entry events.
7836         Propagate events.
7837         Add ForeColor property, Focused, InterceptArrowKeys (interception
7838         does not work yet).
7840 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
7842         * Form.cs:
7843                 - Redraw non client are on Setmenu
7844                 - Calc proper menu starting point
7846 2005-02-17  Peter Bartok  <pbartok@novell.com>
7848         * Application.cs: Fixed message_filter check
7850 2005-02-17  Peter Bartok  <pbartok@novell.com>
7852         * Application.cs: Now calls registered message filters
7853         * DockStyle.cs: Fixed attribute
7854         * Form.cs: Fixed attribute
7855         * Menu.cs: Fixed attribute
7856         * ToolTip.cs: Fixed attribute
7857         * TreeNode.cs: Added missing attributes and arranged in regions
7858         * PropertyGrid.cs: Fixed signatures
7859         * TreeNodeCollection.cs: Added attributes
7860         * Splitter.cs: Added missing attributes; arranged into regions
7861         * TabPage.cs: Added missing attributes; arranged into regions
7862         * TextBoxBase.cs: Added missing attributes
7863         * TextBox.cs: Added missing attributes
7864         * ArrangeDirection.cs: Added missing attributes
7865         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7866         * ToolBarButton.cs: Fixed attributes
7867         * AnchorStyles.cs: Fixed attribute
7868         * TrackBar.cs: Fixed attributes
7869         * TabControl.cs: Added missing attributes and arranged into regions
7870         * ToolBar.cs: Fixed attribute
7871         * StatusBar.cs: Fixed signature, organized into regions and added
7872           attributes
7873         * StatusBarPanel.cs: Fixed attributes
7874         * ContentsResizedEventArgs.cs: Implemented
7875         * ContentsResizedEventHandler.cs: Implemented
7876         * DateBoldEventArgs.cs: Implemented
7877         * DateBoldEventHandler.cs: Implemented
7878         * UpDownEventArgs.cs: Implemented
7879         * UpDownEventHandler.cs: Implemented
7880         
7881 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
7883         * Form.cs: first Menu NC refactoring
7884         * MenuAPI.cs: first Menu NC refactoring
7885         
7886 2005-02-16  Peter Bartok  <pbartok@novell.com>
7888         * ImeMode.cs: Added missing attributes
7889         * Menu.cs: Fixed attribute
7890         * GroupBox.cs: Fixed attribute
7891         * Label.cs: Fixed attribute
7892         * ColorDialog.cs (RunDialog): Removed TODO attribute
7893         * ComboBox.cs: Fixed attributes
7894         * ListControl.cs: Added missing attributes
7895         * PropertyGrid.cs: Fixed attributes
7896         * Control.cs: Fixed attributes
7897         * ListViewItem.cs: Added TypeConverter attribute
7898         * NotifyIcon.cs: Fixed attributes
7899         * ListView.cs: Fixed attributes
7900         * ButtonBase.cs: Fixed attribute
7901         * ImageList.cs: Added missing attributes
7902         * ContainerControl.cs: Fixed signature
7903         * CheckedListBox.cs: Fixed attribute; added missing attributes
7904         * Panel.cs: Fixed attributes
7905         * PropertyTabChangedEventArgs.cs: Added missing attribute
7906         * PropertyValueChangedEventArgs.cs: Added missing attribute
7907         * Binding.cs: Fixed attribute
7908         * ListViewItemConverter: Implemented ListViewSubItemConverter class
7909         * ListBox.cs: Fixed attribute; added missing attributes;
7910         * ScrollableControl.cs: Added missing attributes
7911         * PictureBox.cs: Added missing attributes; implemented missing property
7912         * DateTimePicker.cs: Added missing attributes
7913         * Theme.cs (ToolWindowCaptionHeight): Fixed type
7914         * MonthCalendar.cs: Fixed attributes
7915         * StatusBarPanel.cs: Added missing attributes
7916         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7918 2005-02-16  Peter Bartok  <pbartok@novell.com>
7920         * TextBoxBase.cs: The previous method to enforce height yet remember
7921           the requested high was less than ideal, this is an attempt to do
7922           it better.
7923         * Control.cs: Added comment about possible problem
7924         * Copyright: Updated format
7925         * GridItemType.cs: Fixed swapped values
7927 2005-02-15  Jackson Harper  <jackson@ximian.com>
7929         * BaseCollection.cs: Use property so we never access an
7930         uninitialized list. Also initialize the list in the property.
7932 2005-02-15  Peter Bartok  <pbartok@novell.com>
7934         * GroupBox.cs (ProcessMnemonic): Implemented
7935         * Label.cs (ProcessMnemonic): Implemented
7936         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7937           hotkeys
7939 2005-02-15  Peter Bartok  <pbartok@novell.com>
7941         * RadioButton.cs (ProcessMnemonic): Implemented
7942         * CheckBox.cs (ProcessMnemonic): Implemented
7943         * Control.cs:
7944           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7945             handling
7946           - Added internal method to allow calling ProcessMnemonic from other
7947             controls
7948         * ContainerControl.cs:
7949           - Started support for handling validation chain handling
7950           - Implemented ProcessMnemonic support
7951           - Added Select() call to Active, to make sure the active control
7952             receives focus
7953         * Form.cs: Setting toplevel flag for Forms (this was lost in the
7954           FormParent rewrite)
7955         * ThemeWin32Classic.cs:
7956           - DrawCheckBox(): Fixed stringformat to show hotkeys
7957           - DrawRadioButton(): Fixed stringformat to show hotkeys
7958         * CommonDialog.cs: Removed WndProc override, not needed
7960 2005-02-14  Peter Bartok  <pbartok@novell.com>
7962         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7963           missed those in the rewrite
7965 2005-02-14  Miguel de Icaza  <miguel@novell.com>
7967         * NumericUpDown.cs (Increment, ToString): Add.
7968         (DecimalPlaces): implement.
7969         
7970         Add attributes.
7971         
7972         * UpDownBase.cs: Add the designer attributes.
7974 2005-02-13  Peter Bartok  <pbartok@novell.com>
7976         * Panel.cs: Removed border_style, now in Control
7977         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7978           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7980 2005-02-13  Peter Bartok  <pbartok@novell.com>
7982         * MouseButtons.cs: Added missing attributes
7983         * XplatUIStructs.cs: Added enumeration for title styles
7984         * LeftRightAlignment.cs: Added missing attributes
7985         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7986           it compatible with Graphics.FromHwnd()
7987         * SelectedGridItemChangedEventArgs.cs: Fixed property type
7988         * Keys.cs: Added missing attributes
7989         * SelectionRange.cs: Added missing attributes
7990         * SelectionRangeConverter.cs: Added
7991         * XplatUI.cs:
7992           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7993             ReleaseMenuDC methods
7994           - Renamed ReleaseWindow to UngrabWindow
7995           - Added proper startup notice to allow version identification
7996         * Form.cs:
7997           - Added missing attributes
7998           - Removed FormParent concept
7999         * Label.cs: Removed border_style field, now in Control
8000         * RadioButton.cs: Now properly selects RadioButton when focus is
8001           received
8002         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8003         * Control.cs:
8004           - Added missing attributes
8005           - Added borderstyle handling
8006           - Removed FormParent concept support
8007           - Fixed calls to XplatUI to match changed APIs
8008           - Fixed bug that would case us to use disposed Graphics objects
8009           - Removed unneeded internal methods
8010           - PerformLayout(): Fixed to handle DockStyle.Fill properly
8011           - SelectNextControl(): Fixed to properly check common parents
8012         * TextBoxBase.cs: Removed border_style field (now in Control)
8013         * MessageBox.cs:
8014           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8015             fixed calculations for form size
8016           - Added support for localized strings and icons
8017           - Improved form size calculations, added border
8018         * ListView.cs: Removed border_style field (now in Control)
8019         * X11Structs.cs: Moved several structs from X11 driver here
8020         * X11Keyboard.cs: Changed debug message
8021         * Application.cs: Removed FormParent concept support
8022         * CommonDialog.cs:
8023           - Resetting end_modal flag
8024           - Removed FormParent concept support
8025         * NativeWindow.cs: Removed FormParent concept support
8026         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8027           Client area and Non-Client whole window to allow support for WM_NC
8028           messages
8029         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8030           prevent using it until it supports Hwnd as per Geoff Norton's request
8031         * ToolBar.cs: Fixed drawing, was not doing proper drawing
8032         * PictureBox.cs: Removed border_style field, now in Control
8033         * XplatUIWin32.cs: Added new driver methods
8035 2005-02-12  Peter Bartok  <pbartok@novell.com>
8037         * OpacityConverter.cs: Implemented
8038         * Hwnd.cs: Internal class to support drivers that need to emulate
8039           client area/non-client area window behaviour
8041 2005-02-11  Peter Bartok  <pbartok@novell.com>
8043         * KeysConverter.cs: Implemented
8045 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
8047         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8048         * LinkLabel: Added missing attributes
8049         * MainMenu.cs: fixes ToString
8050         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8051         * ListBox.cs: fixes event position
8052         * TrackBar.cs: adds missing attributes and events
8053         
8054 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
8056         * MenuItem.cs: Use SystemInformation and bug fixes
8057         * MenuAPI.cs: Use SystemInformation and bug fixes
8059 2005-02-09  Jackson Harper  <jackson@ximian.com>
8061         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8062         their keystate otherwise things like VK_MENU get stuck "on".
8064 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
8066         * ListBox.cs: Fixes AddRange bug
8067         
8068 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
8070         * ProgressBar.cs
8071                 - Add missing attributes
8072                 - Add missing method
8073                 
8074         * CheckedListBox.cs: Added missing attributes
8075                 - Add missing attributes
8076                 - Remove extra method
8077         
8078         * ComboBox.cs: Added missing attributes
8079         * VScrollBar.cs: Added missing attributes
8080         * ScrollBar.cs:  Added missing attributes
8081         * ListBox.cs: Fixes signature, add missing consts
8082         * LinkArea.cs:   Added missing attributes
8083         
8085 2005-02-08  Peter Bartok  <pbartok@novell.com>
8087         * Menu.cs: Added missing attributes
8088         * MainMenu.cs: Added missing attributes
8089         * GroupBox.cs: Added missing attributes
8090         * Label.cs: Added missing attributes
8091         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8092         * ColorDialog.cs:
8093           - Added Instance and Options properties
8094           - Added missing attributes
8095         * Cursor.cs: Made Serializable
8096         * NotifyIcon: Added missing attributes
8097         * MenuItem.cs: Added missing attributes
8098         * TextBoxBase.cs: Implemented AppendText() and Select() methods
8099         * Panel.cs: Added Missing attributes
8100         * MonthCalendar.cs: Fixed CreateParams
8102 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8103         
8104         * LinkLabel.cs:
8105                 - Fixes signature
8106                 - Fixes issues with links
8107                 - Adds the class attributes
8109 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
8110         
8111         * ComboBox.cs:
8112                 - Fixes button when no items available in dropdown
8113                 - Fixes repainting problems
8114                 - Adds the class attributes
8115                 
8116 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8118         * XplatUIOSX.cs: Detect the menu bar and title bar height from
8119         the current theme.  Cache these on startup.
8121 2005-02-07  Jackson Harper  <jackson@ximian.com>
8123         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8124         the scrollbar buttons when they are depressed.
8126 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8128         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8129         Get the display size from the main displayid.  We currently dont
8130         support multiple display configurations.
8132 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
8134         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8136 2005-02-07  Miguel de Icaza  <miguel@novell.com>
8138         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8140 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
8142         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8144 2005-02-04  Jackson Harper  <jackson@ximian.com>
8146         * ThemeWin32Classic.cs: Respect the clipping rect when
8147         drawing. Only fill the intersection of clips and rects so there
8148         isn't a lot of large fills.
8149         * ScrollBar.cs: Pass the correct clipping rect to the theme
8150         engine. Remove some debug code.
8152 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
8153         
8154         * DateTimePicker.cs:
8155                 - Fixed crash on DateTime.Parse, use Constructor instead
8157 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8158         
8159         * MenuItem.cs:
8160         * MenuAPI.cs:
8161                 - Owner draw support (MeasureItem and DrawItem)
8163 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
8164         
8165         *  Menu.cs:
8166                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8167                 - Fixes MenuItems.Add range
8168         * MenuItem.cs:
8169                 - MergeMenu and Clone and CloneMenu functions
8171 2005-02-03  Jackson Harper  <jackson@ximian.com>
8173         * ScrollBar.cs: Make abstract
8174         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8175         is abstract.
8177 2005-02-03  Jackson Harper  <jackson@ximian.com>
8179         * ScrollBar.cs: First part of my scrollbar fixups. This removes
8180         all the unneeded refreshes and uses invalidates with properly
8181         computed rects.
8183 2005-02-03  Peter Bartok  <pbartok@novell.com>
8185         * ComponentModel.cs: Added
8186         * IDataGridEditingService.cs: Added
8187         * Timer.cs: Added missing attributes
8188         * ToolTip.cs: Added missing attributes
8190 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
8192         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8194 2005-02-03  Peter Bartok  <pbartok@novell.com>
8196         * ListBox.cs: Added missing attributes
8198 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
8199         
8200         * ListBox.cs:
8201                 - Fixes font height after font change
8202                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8203                 
8204 2005-02-02  Peter Bartok  <pbartok@novell.com>
8206         * HandleData.cs: Introduced static methods to allow class
8207           to be more self-contained and track it's own HandleData objects
8208         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8209           HandleData to use new static methods
8211 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
8213         * Combobox.cs:
8214                 - Fixes default size and PreferredHeight
8215                 - Missing events
8216                 - ObjectCollection.Insert implementation
8217                 
8218         * ListControl.cs
8219                 - Fixes signature
8220         * ListBox.cs:
8221                 - Several fixes
8222                 - ObjectCollection.Insert implementation
8223                 - No selection after clean
8224                 - Small fixes
8226 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8228         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8230 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
8232         * Combobox.cs:
8233                 - Caches ItemHeight calculation for OwnerDrawVariable
8234                 - Handles dropdown properly
8235                 - Fixes several minor bugs
8237 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8239         * ListBox.cs:
8240                 - Fixes 71946 and 71950
8241                 - Fixes changing Multicolumn on the fly
8242                 - Fixes keyboard navigation on Multicolumn listboxes
8244 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8245         
8246         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8247         crash reporter log.
8249 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8251         * XplatUIOSX.cs: Allow applications to actually exit.
8253 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
8255         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
8256         their parent at creation time rather than lazily later.  Fixes a major
8257         regression we were experiencing.
8259 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
8261         * ThemeWin32Classic.cs: more date time picker painting fixes
8262         * DateTimePicker.cs: more monthcalendar drop down fixes
8263         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8265 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
8267         * ScrollBar.cs:
8268                 - When moving the thumb going outside the control should stop the moving
8269                 - Adds the firing of missing events
8270                 - Fixes no button show if Size is not specified
8271                 - End / Home keys for keyboard navigation
8273 2005-01-30  Peter Bartok  <pbartok@novell.com>
8275         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8276           sanity check to prevent theoretical loop
8277         * XplatUIWin32.cs (SetVisible): Removed debug output
8278         * XplatUIX11.cs (SystrayChange): Added sanity check
8279         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8280         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8281           behaviour, valid until the X11 client window rewrite is done
8282         * TextBox.cs (ctor): Setting proper default foreground and background
8283           colors
8285 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
8287         * Theme: Added DrawDateTimePicker to interface
8288         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8289         * DateTimePicker.cs: Created (still needs keys and painting code)
8290         * DateTimePickerFormat.cs: added
8291         * MonthCalendar.cs: fixed CreateParams for popup window mode
8292           
8293 2005-01-29  Peter Bartok  <pbartok@novell.com>
8295         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8296           this should also the calculations for ligher/darker
8297         * Theme.cs: Fixed defaults for ScrollBar widths/heights
8299 2005-01-29  Peter Bartok  <pbartok@novell.com>
8301         * ArrangeDirection.cs: Added
8302         * ArrangeStartingPositon.cs: Added
8303         * SystemInformation.cs: Implemented
8304         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8305           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8306           used by SystemInformation class
8307         * X11Strucs.cs: Added XSizeHints structure
8308         * MenuAPI.cs:
8309           - Fixed CreateParams to make sure the menu window is always visible
8310           - TrackPopupMenu: Added check to make sure we don't draw the
8311             menu offscreen
8313 2005-01-29  Peter Bartok  <pbartok@novell.com>
8315         * HandleData.cs: Added method for altering invalid area
8316         * TextBoxBase.cs: Implemented TextLength
8318 2005-01-28  Peter Bartok  <pbartok@novell.com>
8320         * XplatUIX11.cs: Improvement over last patch, not sending
8321           the WM_PAINT directly anymore, instead we scroll any pending
8322           exposed areas and let the system pick out the WM_PAINT later
8324 2005-01-28  Peter Bartok  <pbartok@novell.com>
8326         * SWF.csproj: Deleted, no longer used. Instead,
8327           Managed.Windows.Forms/SWF.csproj should be used
8328         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8329           directly, to avoid a potential race condition with the next
8330           scroll
8332 2005-01-28  Peter Bartok  <pbartok@novell.com>
8334         * XplatUI.cs: Made class internal
8336 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
8338         * CheckedListBox.cs:
8339                 - Draw focus
8340                 - Fixed Drawing
8341                 - Missing methods and events
8343 2005-01-27  Peter Bartok  <pbartok@novell.com>
8345         * Application.cs (Run): Don't use form if we don't have one
8347 2005-01-27  Peter Bartok  <pbartok@novell.com>
8349         * TextBoxBase.cs (get_Lines): Fixed index off by one error
8351 2005-01-27  Peter Bartok  <pbartok@novell.com>
8353         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8354         * GridItem.cs: Added; Patch by Jonathan S. Chambers
8355         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8356         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8357         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8358         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8359         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8360         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8361         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8362         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8363         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8364         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8366 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8368         * Combobox.cs:
8369                 - Draw focus on Simple Combobox
8370                 - Fixes drawing issues
8371                 - fixes 71834
8373 2005-01-27  Peter Bartok  <pbartok@novell.com>
8375         * Form.cs:
8376           - Place window in default location, instead of hardcoded 0/0
8377           - Send initial LocationChanged event
8378         * Control.cs:
8379           - UpdateBounds after creation to find out where the WM placed us
8380           - Make sure that if the ParentForm changes location the Form
8381             is notified
8382         * XplatUIX11.cs: XGetGeometry will not return the coords relative
8383             to the root, but to whatever the WM placed around us.
8384             Translate to root coordinates before returning toplevel
8385             coordinates
8386         * XplatUIWin32.cs: Removed debug output
8387         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8388           flag to GetWindowPos, to allow translation of coordinates on X11
8390 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
8392         * ListBox.cs: connect LostFocus Event
8394 2005-01-27  Peter Bartok  <pbartok@novell.com>
8396         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8397           XplatUIX11.cs: Extended the Systray API
8398         * Form.cs: Removed debug output
8399         * Application.cs: Fixed focus assignment, always need to call
8400           XplatUI.Activate() since Form.Activate() has rules that may
8401           prevent activation
8402         * NotifyIcon.cs: Should be complete now
8403         * ToolTip.cs: Worked around possible timer bug
8405 2005-01-27  Jackson Harper  <jackson@ximian.com>
8407         * TabControl.cs:
8408         - Only invalidate the effected tabs when the
8409         selected index changes. This reduces drawing and gets rid of some
8410         flicker.
8411         - Only refresh if the tabs need to be shifted, otherwise only
8412         invalidate the slider button.
8413         - On windows the tabs are not filled to right if the slider is
8414         visible.
8415         
8416 2005-01-27  Jackson Harper  <jackson@ximian.com>
8418         * TabControl.cs: Only refresh on mouseup if we are showing the
8419         slider. Also only invalidate the button whose state has changed.
8421 2005-01-26  Peter Bartok  <pbartok@novell.com>
8423         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8424         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8425           and SystrayRemove() methods
8426         * XplatUIOSX.cs: Stubbed Systray methods
8427         * XplatUIX11.cs:
8428           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8429             methods
8430           - Fixed broken XChangeProperty calls (marshalling messed up things)
8431         * X11Structs.cs: Added enums and structs required for Size hinting
8432         * NotifyIcon.cs: Added & implemented
8434 2005-01-26  Jackson Harper  <jackson@ximian.com>
8436         * TabControl.cs: Space vertically layed out tabs properly.
8438 2005-01-26  Peter Bartok  <pbartok@novell.com>
8440         * Form.cs (CreateClientParams): Always set the location to 0,0
8441           since we're a child window.
8443         * Control.cs (SetVisibleCore): Always explicitly setting the location
8444           of a toplevel window, apparently X11 doesn't like to move windows
8445           while they're not mapped.
8447 2005-01-26  Jackson Harper  <jackson@ximian.com>
8449         * TabControl.cs: Implement FillToRight size mode with vertically
8450         rendered tabs.
8452 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8454         * ControlPaint.cs, ThemeWin32Classic.cs
8455                 - Fixes DrawFocusRectangle
8457 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8459         * MenuAPI.cs:
8460                 - MenuBar tracking only starts when item is first clicked
8461                 - Fixes menu hidding for multiple subitems
8462                 - Unselect item in MenuBar when item Executed
8463                 - Fixes bug 71495
8465 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8467         * ListControl.cs:
8468                 - IsInputKey for ListBox
8469         * ListBox.cs:
8470                 - Focus item
8471                 - Shift and Control item selection
8472                 - Implement SelectionMode.MultiExtended
8473                 - Fixes RightToLeft
8474         * ComboBox.cs:
8475                 - IsInputKey implemented
8476                 - Do not generate OnTextChangedEdit on internal txt changes
8477                 
8478 2005-01-23  Peter Bartok  <pbartok@novell.com>
8480         * AccessibleObject.cs: Partially implemented Select()
8481         * MonthCalendar.cs: Added missing attributes and events
8482         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8483           form can properly override CreateParams.
8484         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8485           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8486           Control performs Invalidate & Update
8487         * NativeWindow (CreateHandle): Added special handling for Form
8488           and Form.FormParent classes to allow overriding of From.CreateParams
8489         * Control.cs:
8490           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8491             name 'owner'
8492           - ControlNativeWindow: Added Owner property
8493           - Removed usage of Refresh() on property changes, changed into
8494             Invalidate(), we need to wait until the queue is processed for
8495             updates, direct calls might cause problems if not all vars for
8496             Paint are initialized
8497           - Added call to UpdateStyles() when creating the window, to set any
8498             styles that CreateWindow might have ignored.
8499           - Added support for Form CreateParent overrides to UpdateStyles()
8500         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8501           CreateParams are now properly overridable
8502         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8503           CreateParams are now properly overridable
8505 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8507         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8508         OnTextBoxChanged.
8510         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8511         recursive invocation that I have not figured out yet.
8513         Reset the timer when not using (it was accumulating).
8516         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8517         user has made changes that require validation.
8519         Reset changing to avoid loops.
8521 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8523         * NumericUpDown.cs: Display value at startup.
8525         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8526         ValidateEditText.
8528         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8529         filled in.  Added some basic parsing of text.
8531         Still missing the OnXXX method overrides, and figuring out the
8532         events that must be emitted.
8534         * UpDownBase.cs: Handle UserEdit on the Text property.
8535         
8536 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8538         * ComboBox.cs:
8539           - Fixes IntegralHeight
8540           - ToString method
8542 2005-01-21  Jackson Harper  <jackson@ximian.com>
8544         * TabControl.cs: Set the SelectedIndex property when SelectedTab
8545         is set so that the page visibility is updated and the tabs are
8546         sized correctly.
8548 2005-01-21  Jackson Harper  <jackson@ximian.com>
8550         * TabControl.cs: Use cliping rectangle for blitting. Give the
8551         theme the clipping rect so we can do clipping while
8552         drawing. Remove some debug code.
8554 2005-01-21  Jackson Harper  <jackson@ximian.com>
8556         * TabPage.cs: Add a new method so tab pages can force the tab
8557         control to recalculate the tab page sizes.
8558         * TabControl.cs: UpdateOwner needs to make the tab control recalc
8559         sizes.
8561 2005-01-20  Jackson Harper  <jackson@ximian.com>
8563         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8565 2005-01-20  Jackson Harper  <jackson@ximian.com>
8567         * TreeView.cs: Set the bounds for nodes properly. They were
8568         getting screwed up when checkboxes were not enabled, but images
8569         were.
8571 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
8573         * ListBox.cs:
8574                 - Owner draw support
8575                 - Fixes
8576                 
8577 2005-01-20  Jackson Harper  <jackson@ximian.com>
8579         * XplatUIStructs.cs: More misc keys
8580         * X11Keyboard.cs: Ignore some control keys.
8582 2005-01-20  Jackson Harper  <jackson@ximian.com>
8584         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8585         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8587 2005-01-19  Peter Bartok  <pbartok@novell.com>
8589         * Control.cs: Un-selecting the control when it is loosing focus
8591 2005-01-19  Jackson Harper  <jackson@ximian.com>
8593         * TreeView.cs: Hook up to the text controls leave event so we can
8594         end editing when the users clicks outside the text box.
8595         
8596 2005-01-19  Jackson Harper  <jackson@ximian.com>
8598         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8599         get set in the conversion array.
8601 2005-01-19  Peter Bartok  <pbartok@novell.com>
8603         * Application.cs (ModalRun): Added a call to CreateControl to ensure
8604           focus is properly set
8605         * Button.cs:
8606           - Added missing attributes
8607           - removed styles, those are already set in the base class
8608         * ButtonBase.cs:
8609           - Added missing attributes
8610           - Added clip window styles
8611         * CheckBox.cs: Added missing attributes
8612         * CommonDialog.cs:
8613           - FormParentWindow.CreateParams: Added required clip styles
8614         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8615           also filters modifier keys
8616         * MessageBox.cs:
8617           - Added assignment of Accept and Cancel button to enable Enter
8618             and Esc keys in MessageBox dialogs
8619           - FormParentWindow.CreateParams: Added required clip styles
8620         * RadioButton.cs: Added missing attributes
8621         * TextControl.cs: No longer draws selection if control does not
8622           have focus
8623         * TextBoxBase.cs:
8624           - Now draws simple rectangle around test area to make it obvious
8625             there's a control. This is a hack until we properly support borders
8626           - A few simple fixes to support selections better, now erases selected
8627             text when typing, and resets selection when using movement keys
8629 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
8631         * UpDownBase.cs: Added some new properties.
8633         * DomainUpDown.cs: Implement a lot to get my test working.
8635 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8637         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8639 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8641         * OSXStructs (WindowAttributes): Fixed csc complaints
8643 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8645         * XplayUIOSX.cs:
8646           OSXStructs.cs: Initial refactor to move enums and consts into
8647           OSXStructs and use them in the driver for greater readability.
8649 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8651         * XplatUIOSX.cs: Initial support for Standard Cursors.
8652         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8654 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
8656         * ComboBox.cs: ability to change style when the ctrl is already
8657         created, missing methods and events, bug fixes, signature fixes
8659 2005-01-19  Peter Bartok  <pbartok@novell.com>
8661         * Cursors.cs (ctor): Added ctor to fix signature
8663 2005-01-18  Peter Bartok  <pbartok@novell.com>
8665         * Button.cs: Implemented DoubleClick event
8666         * ButtonBase.cs:
8667           - Fixed keyboard handling to behave like MS, where the press of
8668             Spacebar is equivalent to a mousedown, and the key release is
8669             equivalent to mouseup. Now a spacebar push will give the same
8670             visual feedback like a mouse click.
8671           - Added missing attributes
8672           - Added ImeModeChanged event
8673           - Added support for generating DoubleClick event for derived classes
8674         * CheckBox.cs:
8675           - Implemented DoubleClick event
8676           - Added missing attributes
8677         * CommonDialog.cs: Added missing attribute
8678         * ContextMenu.cs: Added missing attributes
8679         * RadioButton.cs:
8680           - AutoChecked buttons do not allow to be unselected when clicked
8681             (otherwise we might end up with no selected buttons in a group)
8682           - Added missing attributes
8683           - Implemented DoubleClickEvent
8684         * ThreadExceptionDialog.cs: Enabled TextBox code
8686 2005-01-18  Peter Bartok  <pbartok@novell.com>
8688         * Form.cs: Removed debug output
8689         * Button.cs: Added support for DoubleClick method
8691 2005-01-18  Peter Bartok  <pbartok@novell.com>
8693         * Form.cs:
8694           - Added method to parent window that allows triggering size
8695             calculations when a menu is added/removed
8696           - set_Menu: Cleaned up mess from early days of Form and Control,
8697             now properly triggers a recalc when a menu is added/removed
8698           - Added case to select form itself as focused form if no child
8699             controls exist
8700           - Added PerformLayout call when showing dialog, to ensure properly
8701             placed controls
8702         * Control.cs:
8703           - Select(): Made internal so Form can access it
8704           - Focus(): Only call Xplat layer if required (avoids loop), and sets
8705             status
8706         * Application.cs (Run): Removed hack and calls PerformLayout instead
8707           to trigger calculation when Form becomes visible
8709 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
8711         * ComboBox.cs: fixes for ownerdraw
8713 2005-01-18  Peter Bartok  <pbartok@novell.com>
8715         * TextControl.cs:
8716           - Sentinel is no longer static, each Document gets it's own, this
8717             avoids locking or alternatively overwrite problems when more
8718             than one text control is used simultaneously.
8719           - Switched to use Hilight and HilightText brushes for text selection
8721         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8723 2005-01-18  Peter Bartok  <pbartok@novell.com>
8725         * Control.cs:
8726           - Hooked up the following events:
8727                 o ControlAdded
8728                 o ControlRemoved
8729                 o HandleDestroyed
8730                 o ImeModeChanged
8731                 o ParentChanged
8732                 o TabStopChanged
8733                 o Invalidated
8734                 o SystemColorsChanged
8735                 o ParentFontChanged
8736                 o Move
8737           - Removed debug output
8738           - Added a call to the current theme's ResetDefaults when a color change
8739             is detected
8740         * Form.cs: Now setting the proper ImeMode
8741         * Theme.cs: Defined a method to force recreation of cached resources
8742           and rereading of system defaults (ResetDefaults())
8743         * ThemeWin32Classic.cs: Added ResetDefaults() stub
8745 2005-01-17  Peter Bartok  <pbartok@novell.com>
8747         * Control.cs: Added missing attributes
8749 2005-01-17  Jackson Harper  <jackson@ximian.com>
8751         * TreeNode.cs: Implement editing. Add missing properties selected
8752         and visible.
8753         * TreeView.cs: Implement node editing. Also some fixes to use
8754         Invalidate (invalid area) instead of Refresh when selecting.
8756 2005-01-17  Peter Bartok  <pbartok@novell.com>
8758         * Control.cs:
8759           - Implemented InvokeGotFocus() method
8760           - Implemented InvokeLostFocus() method
8761           - Implemented InvokePaint() method
8762           - Implemented InvokePaintBackground() method
8763           - Implemented InvokeClick() method
8764           - Implemented FindForm() method
8765           - Implemented RectangleToClient() method
8766           - Implemented ClientToRectangle() method
8767           - Implemented ResetBackColor() method
8768           - Implemented ResetCursor() method
8769           - Implemented ResetFont() method
8770           - Implemented ResteForeColor() method
8771           - Implemented ResetImeMode() method
8772           - Implemented ResetLeftToRight() method
8773           - Implemented ResetText() method
8774           - Implemented Scale() methods
8775           - Implemented ScaleCore() method
8776           - Implemented Update() method
8777           - Removed unused variables
8778           - Stubbed AccessibilityNotifyClients and
8779             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8780             with those yet)
8781           - Now setting proper default for RightToLeft property
8782           - Fixed bug in SetClientSizeCore that would cause windows to get
8783             really big
8784           - Now sending Click/DoubleClick events
8785           - Now selecting controls when left mouse button is clicked on
8786             selectable control
8787         * AccessibleEvents.cs: Added
8788         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8789         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8790         * XplatUIWin32.cs: Implemented UpdateWindow() method
8791         * XplatUIX11.cs: Implemented UpdateWindow() method
8792         * Form.cs: Removed stray semicolon causing CS0162 warning
8793         * ThemeWin32Classic.cs: Fixed unused variable warnings
8794         * ScrollableControl.cs: Now calls base method for ScaleCore
8795         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8796           style to avoid interference with internal click handler (which is
8797           different than standard Control click handling)
8798         * RadioButton.cs:
8799           - Now unchecks all sibling radio buttons when control is
8800             selected (Fixes #68756)
8801           - Removed internal tabstop variable, using the one inherited from
8802             Control
8804 2005-01-17  Jackson Harper  <jackson@ximian.com>
8806         * NavigateEventArgs.cs: Fix base type.
8807         * LinkLabel.cs: Sig fix
8808         
8809 2005-01-17  Jackson Harper  <jackson@ximian.com>
8811         * TreeView.cs: Only invalidate the effected nodes bounds when
8812         selecting nodes.
8814 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8816         * XplatUIWin32.cs: fixes Win32 marshaling
8817         * XplatUIX11.cs: fixes method signature
8819 2005-01-17  Peter Bartok  <pbartok@novell.com>
8821         * XplatUIX11.cs: Clean up resources when we no longer need them
8823 2005-01-17  Peter Bartok  <pbartok@novell.com>
8825         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8826           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8827           and DestroyCursor() methods.
8828         * Cursor.cs: Partially implemented, now supports standard cursors;
8829           still contains some debug code
8830         * Cursors.cs: Implemented class
8831         * Control.cs:
8832           - WndProc(): Added handling of WM_SETCURSOR message, setting the
8833             appropriate cursor
8834           - Implemented Cursor property
8835           - Replaced break; with return; more straightforwar and possibly
8836             faster
8837           - Now properly setting the result for WM_HELP
8838         * X11Structs.cs: Added CursorFontShape enum
8839         * XplatUIStructs.cs:
8840           - Added StdCursor enum (to support DefineStdCursor() method)
8841           - Added HitTest enum (to support sending WM_SETCURSOR message)
8842         * XplatUIX11.cs:
8843           - Now sends the WM_SETCURSOR message
8844           - Implemented new cursor methods
8845         * XplatUIOSX.cs: Stubbed new cursor methods
8846         * XplatUIWin32.cs:
8847           - Implemented new cursor methods
8848           - Added GetSystemMetrics function and associated enumeration
8850 2005-01-15  Peter Bartok  <pbartok@novell.com>
8852         * Control.cs:
8853           - WndProc(): Now handles EnableNotifyMessage
8854           - SelectNextControl(): Fixed bug where if no child or sibling
8855             controls exist we looped endlessly
8857 2005-01-14  Jackson Harper  <jackson@ximian.com>
8859         * TreeView.cs: Recalculate the tab pages when a new one is added
8860         so that the proper bounding rects are created.
8862 2005-01-14  Jackson Harper  <jackson@ximian.com>
8864         * TreeView.cs: Draw a gray box instead of a grip in the lower
8865         right hand corner when there are both horizontal and vertical
8866         scroll bars.
8868 2005-01-14  Jackson Harper  <jackson@ximian.com>
8870         * Control.cs: When erasing backgrounds use FromHwnd instead of
8871         FromHdc when there is a NULL wparam. This occurs on the X driver.
8872         * XplatUIX11.cs: Set the wparam to NULL.
8874 2005-01-13  Jackson Harper  <jackson@ximian.com>
8876         * PictureBox.cs: Implement missing methods (except ToString, need
8877         to test that on windows) and events. When visibility is changed we
8878         need to redraw the image because the buffers are killed. When size
8879         is changed refresh if the sizemode needs it.
8881 2005-01-13  Peter Bartok  <pbartok@novell.com>
8883         * Control.cs (SelectNextControl): Was using wrong method to select
8884           a control
8886 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8888         * ComboBox.cs: fixes dropstyle
8890 2005-01-13  Peter Bartok  <pbartok@novell.com>
8892         * Form.cs:
8893           - Implemented Select() override
8894           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8895           - Now sets keyboard focus on startup
8896         * Control.cs (SelectNextControl): Now properly handles directed=true
8897         * TextBoxBase.cs:
8898           - WndProc: Now passes tab key on to base if AcceptTabChar=false
8899           - Added (really bad) focus rectangle (mostly for testing)
8900         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8901           to enforce redraw on focus changes
8902         * ContainerControl.cs:
8903           - Fixed detection of Shift-Tab key presses
8904           - Fixed traversal with arrow keys
8905         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8906           gonna keep this or if it's complete yet
8907         
8908 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8910         * ComboBox.cs: missing properties, fixes
8912 2005-01-13  Peter Bartok  <pbartok@novell.com>
8914         * Panel.cs (ctor): Setting Selectable window style to off
8915         * Splitter.cs (ctor): Setting Selectable window style to off
8916         * GroupBox.cs (ctor): Setting Selectable window style to off
8917         * Label.cs (ctor): Setting Selectable window style to off
8919 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
8921         * UpDownBase.cs (InitTimer): If the timer has been already
8922         created, enable it.
8924         Use a TextBox instead of a Label.
8926 2005-01-12  Jackson Harper  <jackson@ximian.com>
8928         * TreeView.cs: Refresh the tree after sorting the nodes. Always
8929         draw the connecting node lines (when ShowLines is true).
8930         * TreeNode.cs: The nodes index can now be updated. This is used
8931         when a node collection is sorted.
8932         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8933         insert or an existing unsorted node collection can be sorted.
8934         
8935 2005-01-12  Peter Bartok  <pbartok@novell.com>
8937         * ContainerControl.cs: Implemented ProcessDialogKeys()
8939 2005-01-12  Peter Bartok  <pbartok@novell.com>
8941         * Control.cs:
8942           - Implemented SelectNextControl() method
8943           - Several focus related bug fixes
8944           - Fixed Docking calculations to match MS documentation and
8945             behaviour
8947 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
8949         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8950         bug fixes
8952 2005-01-12  Peter Bartok  <pbartok@novell.com>
8954         * Control.cs:
8955           - Fixed broken Contains() method
8956           - Implemented GetNextControl() method. Finally. This is the pre-
8957             requisite for focus handling.
8959 2005-01-12  Peter Bartok  <pbartok@novell.com>
8961         * OSXStrucs.cs: Added
8963 2005-01-12  Peter Bartok  <pbartok@novell.com>
8965         * XplatUIWin32.cs:
8966           - Removed PeekMessageFlags
8967           - Implemented SetWindowStyle() method
8968         * XplatUIStructs.cs: Added PeekMessageFlags
8969         * X11Structs: Added missing border_width field to XWindowChanges struct
8970         * XplatUIX11.cs:
8971           - PeekMessage: Now throws exception if flags which are not yet
8972             supported are passed
8973           - Implemented SetWindowStyle() method
8974           - Fixed SetZOrder to handle AfterHwnd properly
8975         * XplatUI.cs: Added SetWindowStyle() method
8976         * XplatUIDriver.cs: Added SetWindowStyle() abstract
8977         * Control.cs:
8978           - Implemented UpdateStyles() method
8979           - Implemented UpdateZOrder() method
8980         * XplatUIOSX.cs: Added SetWindowStyle() stub
8982 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
8984         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8985         button mouse).
8988 2005-01-11  Jackson Harper  <jackson@ximian.com>
8990         * TreeView.cs: Still need to draw lines to siblings even if out of
8991         the current node is out of the clip.
8993 2005-01-11  Jackson Harper  <jackson@ximian.com>
8995         * TreeView.cs: When setting the hbar/vbar/grip position use
8996         SetBounds so that perform layout is only called once. Also suspend
8997         and resume layout so layout is only done once for all controls.
8998         - Removed some debug fluff
8999         * SizeGrip.cs: Call base implmentation in overriding methods.
9000         - When visibility is changed the drawing buffers are killed so we
9001         need to redraw.
9003 2005-01-11  Jackson Harper  <jackson@ximian.com>
9005         * TreeView.cs: Calculate the open node count while drawing. This
9006         saves us an entire tree traversal for every paint operation. Use
9007         a member var for the open node count so less vars are passed around.
9009 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
9011         * MonthCalendar.cs:
9012         - fixed selection to use mousemove, not mouse polling on timer
9013         * ThemeWin32Classic.cs
9014         - removed redundant unused variable "no_more_content"
9015         
9016 2005-01-11  Peter Bartok  <pbartok@novell.com>
9018         * XplatUIX11.cs (DoEvents): Needs to return when no more events
9019           are pending, so it now calls PeekMessage instead of GetMessage;
9020           implemented a incomplete version of PeekMessage
9021         
9022 2005-01-11  Peter Bartok  <pbartok@novell.com>
9024         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9025           I18n issues
9026         * TextBoxBase.cs: Added sending of TextChanged event
9028 2005-01-10  Jackson Harper  <jackson@ximian.com>
9030         * TreeView.cs: Try not to draw outside the clipping rectangle on
9031         each node element.
9033 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
9035         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9037 2005-01-10  Jackson Harper  <jackson@ximian.com>
9039         * TreeView.cs:
9040         - Implement fast scrolling. Now only the newly
9041         exposed nodes are drawn and the old image is moved using the
9042         XplatUI::ScrollWindow method.
9043         - Factor in height of nodes when calculating whether or not the
9044         node is in the clipping rect.
9046 2005-01-10  Jackson Harper  <jackson@ximian.com>
9048         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9050 2005-01-10  Peter Bartok  <pbartok@novell.com>
9052         * Application.cs: Added temporary hack to resolve all our resize
9053           required issues on startup. This will get fixed properly at
9054           some point in the future
9056 2005-01-10  Jackson Harper  <jackson@ximian.com>
9058         * SizeGrip.cs: New internal class that is used as a sizing
9059         grip control...hence the name.
9061 2005-01-10  Peter Bartok  <pbartok@novell.com>
9063         * Control.cs: Implemented proper TabIndex handling, now assigning
9064           a tabindex when a control is added to a container
9065         * GroupBox.cs (ctor): Now sets the Container style bit, required
9066           for Control.GetNextControl()
9068 2005-01-09  Jackson Harper  <jackson@ximian.com>
9070         * TextBoxBase.cs: Clear window when scrolling (fixes build).
9072 2005-01-09  Peter Bartok <pbartok@novell.com>
9074         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9075           XplatUIX11.cs: Added ability to control ScrollWindow expose and
9076           an overload for ScrollWindow to allow only scrolling a rectangle
9078 2005-01-09  Peter Bartok <pbartok@novell.com>
9080         * Form.cs:
9081           - Implemented SetDesktopBounds method
9082           - Implemented SetDesktopLocation method
9084 2005-01-08  Jackson Harper  <jackson@ximian.com>
9086         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9087         the node count has changed, this removes to VScroll::Refresh calls
9088         when drawing.
9090 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
9092         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9094 2005-01-07  Jackson Harper  <jackson@ximian.com>
9096         * TreeNode.cs: Just update the single node when it is
9097         checked. Don't refresh after toggling, the Expand/Collapse already
9098         handles this.
9099         * TreeView.cs: Respect clipping a little more when drawing. Try
9100         not to redraw things that don't need to be redrawn. Just hide the
9101         scrollbars when they are no longer needed instead of removing
9102         them, so they don't have to be created again and again.
9103         
9104 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
9106         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
9107         coordinates to window space to place the caret properly, FIXED.
9108         Implement GetWindowState & SetWindowState
9110 2005-01-06  Peter Bartok <pbartok@novell.com>
9112         * Form.cs:
9113           - Implemented ClientSize property
9114           - Implemented DesktopBounds property
9115           - Implemented DesktopLocation property
9116           - Implemented IsRestrictedWindow property
9117           - Implemented Size property
9118           - Implemented TopLevel property
9119           - Implemented FormWindowState property
9120         * Control.cs:
9121           - Implemented GetTopLevel() method
9122           - Implemented SetTopLevel() method
9123         * X11Structs.cs (Atom):
9124           - Added AnyPropertyType definition
9125           - Added MapState definiton and updated XWindowAttribute struct
9126         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9127         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9128         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9129         * XplatUIWin32.cs:
9130           - Implemented GetWindowState() and SetWindowState() methods
9131           - Fixed Win32GetWindowLong return type
9132         * XplatUIX11.cs:
9133           - Introduced central function for sending NET_WM messages
9134           - Implemented GetWindowState() and SetWindowState() methods
9135         * TextBoxBase.cs (set_Lines):
9136           - Now uses Foreground color for text added via Text property (Duh!)
9137           - Added code to remember programmatically requested size (fixes
9138             behaviour when Multiline is set after Size)
9139           - Added AutoSize logic
9141 2005-01-06  Jackson Harper  <jackson@ximian.com>
9143         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9145 2005-01-06  Jackson Harper  <jackson@ximian.com>
9147         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9148         set to less then 0.
9150 2005-01-06  Jackson Harper  <jackson@ximian.com>
9152         * ScrollableControl.cs: Lazy init the scrollbars.
9153         
9154 2005-01-06  Jackson Harper  <jackson@ximian.com>
9156         * Theme.cs: Speed up getting pens and solid brushes, by using
9157         their ARGB as a hash instead of tostring and not calling Contains.
9159 2005-01-06  Peter Bartok <pbartok@novell.com>
9161         * Form.cs:
9162           - Implemented OnActivated and OnDeactivate event trigger
9163           - Implemented Activate() method
9164           - Fixed ShowDialog() to activate the form that was active before
9165             the dialog was shown
9166         * XplatUIX11.cs:
9167           - Added global active_window var that tracks the currently active
9168             X11 window
9169           - Now always grabs Property changes from the root window to always
9170             catch changes on the active window property
9171           - Added code to PropertyNotify handler to send Active/Inactive
9172             messages when state changes. This puts X11 and Win32 en par on
9173             WM_ACTIVATE notifications (except for double notifications when
9174             the user clicks away from our modal window to another one of our
9175             windows)
9177 2005-01-05  Jackson Harper  <jackson@ximian.com>
9179         * ImageList.cs: Implment ctor
9181 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9183         * XplatUIOSX.cs: Implement Activate/SetTopmost
9185 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9187         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9189 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
9191         * XplatUIOSX.cs: Implement GetActive/SetFocus.
9193 2005-01-05  Peter Bartok <pbartok@novell.com>
9195         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9196           XplatUIOSX.cs: Added GetActive method to return the currently
9197           active window for the application (or null, if none is active)
9198         * Form.cs:
9199           - Implemented ActiveForm
9200           - Commented out owner assignment for modal dialogs (causes problems
9201             on Win32, since the owner will be disabled)
9202           - Reworked some Active/Focus handling (still incomplete)
9203         * CommonDialog.cs: Commented out owner assignment for modal dialogs
9204           (causes problems on Win32, since the owner will be disabled)
9205         * IWin32Window: Added ComVisible attribute
9207 2005-01-05  Peter Bartok <pbartok@novell.com>
9209         * ToolTip.cs (WndProc): Enable setting focus now that we have the
9210           required XplatUI functions.
9212 2005-01-05  Peter Bartok <pbartok@novell.com>
9214         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9215           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9216           to implement focus and activation handling; still incomplete and
9217           with debug output
9219 2005-01-04  Peter Bartok <pbartok@novell.com>
9221         * TextBoxBase.cs: Changed access level for Document property to
9222           match switch to internal for TextControl
9224 2005-01-04  Peter Bartok <pbartok@novell.com>
9226         * AccessibleObject: Added ComVisible attribute
9228 2005-01-04  Jackson Harper  <jackson@ximian.com>
9230         * X11Keyboard.cs: Remove unneeded var.
9232 2005-01-04  Jackson Harper  <jackson@ximian.com>
9234         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9235         but PAINT.
9236         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9237         ClientMessage. This makes apps exit cleanly (more often).
9238         
9239 2005-01-04  Jackson Harper  <jackson@ximian.com>
9241         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9242         handling focus, return correct colors and fonts,
9243         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9244         handle selection, horizontal scrolling, and mouse interaction.
9246 2005-01-04  Peter Bartok <pbartok@novell.com>
9248         * ICommandExecutor.cs: Added
9249         * IDataGridColumnStyleEditingNotificationService.cs: Added
9250         * IFeatureSupport.cs: Added
9251         * IFileReaderService.cs: Added
9252         * IDataObject.cs: Added ComVisible attribute
9253         * AmbientProperties.cs: Added
9254         * BaseCollection.cs: Added missing attributes
9255         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9256         * BaseCollection.cs: Added missing attributes
9257         * Binding.cs: Added TypeConverter attribute
9258         * BindingContext.cs: Added DefaultEvent attribute
9259         * BindingsCollection.cs: Added DefaultEvent attribute
9260         * Button.cs: Added DefaultValue attribute
9261         * DragEventArgs.cs: Added ComVisible attribute
9262         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9263         * KeyEventArgs.cs: Added ComVisible attribute
9264         * KeyPressEventArgs.cs: Added ComVisible attribute
9265         * MouseEventArgs.cs: Added ComVisible attribute
9266         * NavigateEventArgs.cs: Added
9267         * NavigateEventHandler.cs: Added
9268         * FeatureSupport.cs: Added
9269         * OSFeature.cs: Added
9270         * Theme.cs: Added abstract Version property to support OSFeature
9271         * ThemeWin32Classic.cs: Added Version property to
9272           support OSFeature.Themes
9273         * ProgressBar.cs: Removed OnPaintBackground override, not required since
9274           the proper styles to avoid background drawing are set, also doesn't
9275           match MS signature
9276         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9277         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9278         * ScrollEventArgs.cs: Added ComVisible attribute
9279         * SplitterEventArgs.cs: Added ComVisible attribute
9280         * AccessibleSelection.cs: Added Flags attribute
9281         * Appearance.cs: Added ComVisible attribute
9282         * Border3DSide.cs: Added ComVisible attribute
9283         * Border3DStyle.cs: Added ComVisible attribute
9284         * BorderStyle.cs: Added ComVisible attribute
9285         * DragAction.cs: Added ComVisible attribute
9286         * ErrorBlinkStyle.cs: Added
9287         * ScrollEventType.cs: Added ComVisible attribute
9288         * AnchorStyles.cs: Added Editor attribute
9289         * DockStyle.cs: Added Editor attribute
9290         * HorizontalAlignment.cs: Added ComVisible attribute
9291         * HelpEventArgs.cs: Added ComVisible attribute
9292         * PaintEventArgs.cs: Added IDisposable
9294 2005-01-04  Peter Bartok <pbartok@novell.com>
9296         * TextControl.cs: Switched Line, LineTag and Document classes to
9297           internal
9299 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9301         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9302         Simple mode, fixes, IntegralHeight, etc.
9304 2005-01-04  Peter Bartok <pbartok@novell.com>
9306         * TextBoxBase.cs: Using proper font variable now
9308 2005-01-04  Peter Bartok <pbartok@novell.com>
9310         * Form.cs (ShowDialog): Set parent to owner, if provided
9311         * GroupBox.cs: Removed unused vars
9312         * TextControl.cs:
9313           - Added GetHashCode() for Document and LineTag classes
9314           - Removed unused variables
9315           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9316             to allow translation between continuous char position and line/pos
9317         * CheckBox.cs: Removed vars that are provided by base class
9318         * RadioButton.cs: Removed vars that are provided by base class, added
9319           new keyword where required
9320         * LinkLabel.cs: Added new keyword where required
9321         * Control.cs (WndProc): Removed unused variable
9322         * TextBoxBase.cs:
9323           - Finished SelectionLength property
9324           - Implemented SelectionStart property
9325           - Implemented Text property
9326           - Removed unused vars
9327         * MessageBox.cs: Added new keyword where required
9328         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9329           WndProc signature
9330         * MenuAPI.cs: Added new keyword where required
9331         * ButtonBase.cs: Removed vars that are provided by base class, added
9332           new keyword where required
9333         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9334           argument to double, to allow compiling with csc 2.0 (Atsushi ran
9335           into this)
9336         * Application.cs (Run): Now triggers the ThreadExit event
9337         * CommonDialog.cs: Added new keyword where required; now properly sets
9338           parent (owner) for dialog
9339         * XplatUIX11.cs: Commented out unused vars
9340         * StatusBar.cs: Fixed signature for Text property
9341         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9343 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
9345         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9346         TrackBar.cs, MonthCalendar.cs: remove unused vars
9348 2005-01-03  Jackson Harper  <jackson@ximian.com>
9350         * ThemeWin32Classic.cs:
9351         * X11Keyboard.cs: Remove unused vars.
9353 2005-01-03  Peter Bartok  <pbartok@novell.com>
9355         * TextBox.cs:
9356           - set_Text: Tied into TextControl
9357           - set_TextAlignment: Tied into TextControl
9358         * TextControl.cs:
9359           - Added alignment properties and implemented alignment handling
9360             and drawing (still has a bug, not generating proper expose events)
9361           - Added new Line() constructor to allow passing the line alignment
9362           - Fixed selection setting, properly handling end<start now
9363           - Added aligment considerations to RecalculateDocument()
9364         * TextBoxBase.cs:
9365           - Now properly enforces control height for single line controls
9366           - Added support for CharacterCasing
9367           - Added IsInputKey override
9368           - Fixed Keys.Enter logic
9369           - Added SetBoundsCore override
9370           - Fixed mouse selection handling
9372 2005-01-03  Jackson Harper  <jackson@ximian.com>
9374         * TreeView.cs:
9375           - Collapse and uncheck all nodes when CheckBoxes is disabled.
9376           - Checkboxes are always aligned to the bottom of the node,
9377           regardless of item height.
9378           - Use the node bounds to draw the text so we can center it when
9379           the item height is greater then the font height.
9380           - Node::Bounds are only the text part of the node.
9381         * TreeNode.cs: New method to combine collapsing and unchecking all
9382           nodes recursively.
9384 2005-01-02  Jackson Harper  <jackson@ximian.com>
9386         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9387         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9388         tree when a check is changed. TODO: Only refresh the checked node.
9390 2004-12-30  Jackson Harper  <jackson@ximian.com>
9392         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9393         * TreeNode.cs: When collapsing make sure to never collapse the
9394         root node.
9396 2004-12-29  Jackson Harper  <jackson@ximian.com>
9398         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9399         
9400 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
9402         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9404 2004-12-28  Peter Bartok  <pbartok@novell.com>
9406         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9407           not yet assigned
9409 2004-12-28  Peter Bartok  <pbartok@novell.com>
9411         * Control.cs (WndProc): Added WM_HELP handler, now generates
9412           HelpRequested event
9413         * Form.cs: Added HelpButton property and required support code
9414         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9416 2004-12-28  Peter Bartok  <pbartok@novell.com>
9418         * CommonDialog.cs:
9419           - Made DialogForm.owner variable internal
9420           - Added check to ensure owner form is set before setting
9421             owner properties in CreateParams
9423 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
9425         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
9426           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
9427           GetCursorPos.  Fix major visibility issues.  Rework the windowing
9428           system to support borderless/titleless windows (implements menus).
9429           Fix GetWindowPos.  Implement initial background color support for
9430           views.
9432 2004-12-28  Peter Bartok  <pbartok@novell.com>
9434         * Form.cs (get_CreateParams): Make sure we have an owner before using
9435           the owner variable. Implement proper default if no owner exists
9437 2004-12-28  Peter Bartok  <pbartok@novell.com>
9439         * In preparation for making Managed.Windows.Forms the default build target
9440           for System.Windows.Forms, the following stubbed files were added.
9441           Dialogs are currently being implemented by contributors and are only
9442           short-term place holders.
9443         * ColorDialog.cs: Initial check-in (minmal stub)
9444         * DataGrid.cs: Initial check-in (minimal stub)
9445         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9446         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9447         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9448         * FontDialog.cs: Initial check-in (minimal stub)
9449         * FileDialog.cs: Initial check-in (minimal stub)
9450         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9451         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9452         * OpenFileDialog: Initial check-in (minimal stub)
9453         * IComponentEditorPageSite.cs: Initial check-in
9454         * Splitter.cs: Initial check-in (for Jackson)
9455         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9456         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9457         * TextBox.cs: Initial check-in; still needs some wiring to
9458           TextControl backend
9459         * Form.cs: Implemented ControlBox property
9460         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9461         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9462         * TextControl.cs: Added selection functionality; added todo header
9463         * TextBoxBase.cs:
9464           - Implemented Lines property
9465           - Implemented TextHeight property
9466           - Implemented SelectedText property
9467           - Implemented SelectionLength property
9468           - Implemented SelectAll method
9469           - Implemented ToString method
9470           - Removed and cleaned up some debug code
9471           - Implemented (still buggy) mouse text selection
9473 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9475         * ComboBox.cs: Complete DropDownList implementation, fixes.
9477 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9479         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9480         * ComboBoxStyle.cs: ComboBoxStyle enum
9481         * ComboBox.cs: Initial work on ComboBox control
9483 2004-12-21  Peter Bartok  <pbartok@novell.com>
9485         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9486           forward so that anything that creates a window gets the default,
9487           also no longer uses Visible property in CreateParams to avoid
9488           walking up the parent chain and possibly get the wrong visible
9489           status. Fixed IsVisible to no longer walk up to the parent.
9491 2004-12-21  Peter Bartok  <pbartok@novell.com>
9493         * Form.cs (ShowDialog): Unset modality for the proper window
9495 2004-12-20  Peter Bartok  <pbartok@novell.com>
9497         * CommonDialog.cs: Initial check-in
9499 2004-12-20  Peter Bartok  <pbartok@novell.com>
9501         * Control.cs (Visible): Now uses the parent window instead of the
9502           client area window for the property
9504         * Form.cs
9505           - ShowDialog(): Now uses the proper window for modality
9506           - The default visibility state for the form parent is now false. This
9507             will prevent the user from seeing all the changes to the form and
9508             its controls before the application hits Application.Run()
9509           - Removed some stale commented out code
9511         * NativeWindow.cs:
9512           - Added FindWindow() method to have a method to check for existence
9513             of a window handle
9514           - Added ability to override default exception handling (for example
9515             when debugging with VS.Net; to do this the ExternalExceptionHandler
9516             define must be set
9517           - Removed some useless debug output
9519         * XplatUIX11.cs:
9520           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9521             not working as expected
9522           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9523             property to allow switching back to the modal window if focus is
9524             given to another one of our windows (Application Modal)
9525           - Now only sets override_redirect if we create a window
9526             without WS_CAPTION
9527           - Moved EventMask selection before mapping of newly created window
9528             so we can catch the map event as well
9529           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9530           - Added various Atom related DllImports
9531           - Implemented Exit() method
9532           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9533             in the CreateParams
9535         * MessageBox.cs: Now properly deals with the FormParent window by
9536           providing an override the FormParent CreateParams property to
9537           set as POPUP instead of OVERLAPPED window.
9539 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9541         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
9542         Minor code cleanup.
9544 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9545         
9546         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9548 2004-12-18  Peter Bartok  <pbartok@novell.com>
9550         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9551           implementing SetModal() method
9553 2004-12-18  Peter Bartok  <pbartok@novell.com>
9555         * X11Structs.cs (XGCValues): Fixed type of function element
9556         * XplatUI.cs: Added ScrollWindow() method
9557         * XplatUIDriver.cs: Added ScrollWindow() abstract
9558         * XplatUIWin32.cs: Implemented ScrollWindow() method
9559         * XplatUIX11.cs: Implemented ScrollWindow() method
9560         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9562 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9564         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
9565         Some more keyboard support (INCOMPLETE)
9567 2004-12-17  Peter Bartok  <pbartok@novell.com>
9569         * TextControl.cs:
9570         - Added color attribute to line tags.
9571         - Added color argument to all functions dealing with tags
9572         - Added color argument support to various functions
9573         - Fixed miss-calculation of baseline/shift in certain circumstances
9575         * TextBoxBase.cs: Added new color option to test code
9577 2004-12-17  Jackson Harper  <jackson@ximian.com>
9579         * TreeNode.cs:
9580         * MonthCalendar.cs: Signature fixes
9582 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9584         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9585         keyboard event moved it.  Create a new graphics context for each paint resolves this
9587 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9589         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9590         Make caret exist and go blink blink.  Initial keyboard support.
9591         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
9592         works.
9594 2004-12-17  Jackson Harper  <jackson@ximian.com>
9596         * XplatUIStructs.cs: Updated set of virtual keycodes.
9597         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9599 2004-12-17  Jackson Harper  <jackson@ximian.com>
9601         * XplatUIX11.cs: Prune old keyboard code.
9603 2004-12-17  Jackson Harper  <jackson@ximian.com>
9605         * XplatUIX11.cs: When generating mouse wparams get the modifier
9606         keys from the ModifierKeys property.
9608 2004-12-17  Jackson Harper  <jackson@ximian.com>
9610         * X11Keyboard.cs: Send up/down input when generating
9611         messages. Remove some unused vars.
9613 2004-12-17  Jackson Harper  <jackson@ximian.com>
9615         * TabControl.cs:
9616         * TreeView.cs: get rid of warnings.
9618 2004-12-17  Jackson Harper  <jackson@ximian.com>
9620         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9622 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
9624         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9625           CheckedListBox.cs: Implementation
9627 2004-12-17  Peter Bartok  <pbartok@novell.com>
9629         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9631 2004-12-16  Peter Bartok  <pbartok@novell.com>
9633         * TextControl.cs:
9634           - InsertCharAtCaret(): Fixed start pos fixup
9635           - CaretLine_get: No longer derives the line from the tag, the tag
9636             could be stale if lines in the document have been added or deleted
9637           - RebalanceAfterDelete(): Fixed bug in balancing code
9638           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9639           - Line.Streamline(): Now can also elminate leading empty tags
9640           - DumpTree(): Added a few more tests and prevented exception on
9641             uninitialized data
9642           - Added Debug section for Combining lines
9643           - Delete(): Now copies all remaining properties of a line
9644           
9645         * TextBoxBase.cs:
9646           - Left mousebutton now sets the caret (and middle button still acts
9647             as formatting tester, which must go away soon)
9648           - Added Debug section for Deleting/Combining lines
9649           - Fixed calculations for UpdateView after Combining lines
9651 2004-12-16  Peter Bartok  <pbartok@novell.com>
9653         * TextControl.cs: Now properly aligns text on a baseline, using the
9654           new XplatUI.GetFontMetrics() method. Simplified several calculations
9655         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9656           defined
9658 2004-12-16  Peter Bartok  <pbartok@novell.com>
9660         * XplatUI.cs: Added GetFontMetrics() method
9661         * XplatUIDriver.cs: Added GetFontMetrics() abstract
9662         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9663           into libgdiplus, our private GetFontMetrics function
9664         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9665         * XplatUIWin32.cs: Implemented GetFontMetrics() method
9667 2004-12-16  Jackson Harper  <jackson@ximain.com>
9669         * XplatUIStruct.cs: Add enum for dead keys
9670         * X11Keyboard.cs: Map and unmap dead keys.
9672 2004-12-16  Jackson Harper  <jackson@ximian.com>
9674         * X11Keyboard.cs: Detect and use the num lock mask.
9676 2004-12-16  Peter Bartok  <pbartok@novell.com>
9678         * Control.cs (CreateGraphics): Added check to make sure the
9679           handle of the window exists before calling Graphics.FromHwnd()
9681 2004-12-16  Peter Bartok  <pbartok@novell.com>
9683         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9684           contains a lot of code that's not supposed to be there for the
9685           real thing, but required for developing/testing the textbox
9686           backend.
9688 2004-12-16  Peter Bartok  <pbartok@novell.com>
9690         * TextControl.cs:
9691         - Fixed Streamline method
9692         - Added FindTag method to Line
9693         - Added DumpTree method for debugging
9694         - Added DecrementLines() method for deleting lines
9695         - Fixed UpdateView to update the cursor to end-of-line on single-line
9696           updates
9697         - Added PositionCaret() method
9698         - Fixed MoveCaret(LineDown) to move into the last line, too
9699         - Added InsertChar overload
9700         - Fixed InsertChar tag offset calculations
9701         - Added DeleteChar() method
9702         - Added Combine() method for folding lines
9703         - Fixed Delete() method, no longer allocates wasted Line object and
9704           now copies all properties when swapping nodes
9705         - Delete() method now updates document line counter
9707 2004-12-15  Jackson Harper  <jackson@ximian.com>
9709         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9710         * X11Keyboard.cs: Expose the currently selected modifier keys
9711         through a property.
9713 2004-12-15  Peter Bartok  <pbartok@novell.com>
9715         * TextControl.cs: Initial check-in. Still incomplete
9717 2004-12-15  Jackson Harper  <jackson@ximian.com>
9719         * TreeNode.cs:
9720         * TreeView.cs: Fix build on csc (second time today ;-))
9722 2004-12-15  Jackson Harper  <jackson@ximian.com>
9724         * TreeView.cs: Store the treenodes plus/minus box bounds when it
9725         is calculated and use this for click testing.
9726         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9728 2004-12-15  Jackson Harper  <jackson@ximian.com>
9730         * TreeView.cs: Pass the nodes image index to the image list when
9731         drawing that image.
9733 2004-12-15  Jackson Harper  <jackson@ximian.com>
9735         * X11Keyboard.cs: Set messages hwnd.
9736         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9737         post_message calls.
9739 2004-12-15  Jackson Harper  <jackson@ximian.com>
9741         * X11Keyboard.cs: Fix to compile with csc.
9742         
9743 2004-12-15  Jackson Harper  <jackson@ximian.com>
9745         * X11Structs.cs: Add key mask values
9746         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9747         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9748         down/up foo into WM_CHAR foo
9749         * KeyboardLayouts.cs: Common keyboard layouts
9750         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9751         post messages into the main queue.
9753 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9755         * Button.cs: implement ProcessMnemonic
9756         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9757           brushes everytime
9758         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9759         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9761 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9762         
9763         * MonthCalendar.cs: Implemented click-hold for next/previous month
9764           and date selection
9765           
9766 2004-12-11  Peter Bartok  <pbartok@novell.com>
9768         * X11Structs.cs:
9769           - Added XKeyboardState (moved from XplatUIX11.cs)
9770           - Added XCreateGC related enums and structures
9771           - Added GXFunction for XSetFunction
9773         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9775         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9776           CaretVisible() calls
9778         * ToolTip.cs: Added code to prevent stealing focus from app windows
9780         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9781           DestroyCaret, SetCaretPos and CaretVisible)
9783         * XplatUIX11.cs:
9784           - Added implementation for caret functions
9785           - Moved hover variables into a struct, to make it a bit easier
9786             on the eyes and to debug
9787           - Removed XKeyboardState (moved to XplatUIX11.cs)
9788           - Moved Keyboard properties into the properties region
9790         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9791           call to get a graphics context for our control
9793         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9795         * TreeView.cs: Fixed bug. No matter what color was set it would always
9796           return SystemColors.Window
9798         * XplatUIWin32.cs: Implemented caret overrides
9800 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9802         * ListBox.cs: fire events, implement missing methods and properties,
9803         sorting.
9805 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9807         * MonthCalendar.cs: invalidation bug fixing
9808         * ThemeWin32Classic.cs: paint fixing
9810 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9812         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9813         prepare the CGContextRef there now.
9815 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9817         * MonthCalendar.cs:
9818           - optimisationL only invalidate areas that have changed
9819         * ThemeWin32Classic.cs:
9820           - only paint parts that intersect with clip_area
9822 2004-12-09  Peter Bartok  <pbartok@novell.com>
9824         * Application.cs: Undid changes from r37004 which cause problems
9825         on X11
9827 2004-12-09  Ravindra  <rkumar@novell.com>
9829         * ToolBar.cs: Added support for displaying ContextMenu
9830         attached to a button on ToolBar.
9831         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9832         property.
9834 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9836         * Label.cs: autosize works in text change and removes unnecessary
9837         invalidate
9839 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9841         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9842         remove warnings
9844 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
9846         * XplatUIOSX.cs: Added mouse move/click/grab support
9847         Remove some debugging WriteLines not needed anymore.
9848         Add window resizing/positioning.
9849         Fix visibility on reparenting.
9851 2004-12-08  Peter Bartok  <pbartok@novell.com>
9853         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9855 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
9857         * XplatUIOSX.cs: Initial checkin
9858         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9860 2004-12-03  Ravindra <rkumar@novell.com>
9862         * ListView.cs: Added some keybindings and fixed scrolling.
9863         ScrollBars listen to ValueChanged event instead of Scroll
9864         Event. This would let us take care of all changes being
9865         done in the scrollbars' values programmatically or manually.
9866         * ListView.cs (CanMultiselect): Added a check for shift key.
9867         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9868         * ListViewItem.cs (Clone): Fixed. We need to make a copy
9869         of ListViewSubItemCollection as well.
9871 2004-12-06  Peter Bartok <pbartok@novell.com>
9873         * Control.cs (Parent): Added check and exception to prevent
9874         circular parenting
9876 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
9878         * ListBox.cs: implemented clipping, selection single and multiple,
9879         bug fixing
9881 2004-12-03  Ravindra <rkumar@novell.com>
9883         * ListView.cs (ListView_KeyDown):
9884         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9885         when CTRL key is pressed.
9886         * ListViewItem.cs (Selected): Fixed setting the property.
9888 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9890         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9892         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9893         MinimizeBox, ShowInTaskbar, TopMost properties.
9895         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9896         will be implemented).
9898 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9900         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9902         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9903         tests.
9904         
9905         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9906         
9907         * TreeView.cs: BackColor is Colors.Window.
9909 2004-12-01  Jackson Harper  <jackson@ximian.com>
9911         * TreeView.cs: When resizing the tree if the user is making it
9912         smaller we don't get expose events, so we need to handle adding
9913         the horizontal scrollbar in the size changed handler as well as
9914         the expose handler.
9916 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
9918         * DrawItemState.cs: fixes wrong enum values
9920 2004-12-01  Jackson Harper  <jackson@ximian.com>
9922         * TreeView.cs: Resize the hbar as well as the vbar on resize.
9924 2004-12-01  Jackson Harper  <jackson@ximian.com>
9926         * NodeLabelEditEventArgs.cs:
9927         * NodeLabelEditEventHandler.cs:
9928         * OpenTreeNodeEnumerator.cs:
9929         * TreeNode.cs:
9930         * TreeNodeCollection.cs:
9931         * TreeView.cs:
9932         * TreeViewAction.cs:
9933         * TreeViewCancelEventArgs.cs:
9934         * TreeViewCancelEventHandler.cs:
9935         * TreeViewEventArgs.cs:
9936         * TreeViewEventHandler.cs: Initial implementation.
9938 2004-12-01  Ravindra <rkumar@novell.com>
9940         * ListView.cs (CalculateListView): Fixed scrolling related
9941         calculations. Also, removed some debug statements from other
9942         places.
9943         * ListViewItem.cs: Changed access to 'selected' instance variable
9944         from private to internal.
9945         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9947 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
9949         * ThemeWin32Classic.cs: remove cache of brush and pens for
9950         specific controls and use the global system, fixes scrollbutton
9951         bugs (for small sizes, disabled, etc)
9952         
9953         * ScrollBar.cs: does not show the thumb for very small controls
9954         (as MS) and allow smaller buttons that the regular size
9956 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
9958         * UpDownBase.cs: Add abstract methods for the interface.
9959         Add new virtual methods (need to be hooked up to TextEntry when it
9960         exists).
9961         Add override methods for most features.
9962         Computes the size, forces the height of the text entry.
9964         * NumericUpDown.cs: Put here the current testing code.
9966         * Set eol-style property on all files that do not have mixed line
9967         endings, to minimize the future problems.  There are still a few
9968         files with mixed endings, and someone should choose whether they
9969         want to move it or not.
9971 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
9973         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9974         System.Colors
9975         
9976 2004-11-30  Ravindra <rkumar@novell.com>
9978         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9979         drawing and replaced use of SystemColors by theme colors.
9980         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9981         * ListView.cs (ListViewItemCollection.Add): Throw exception when
9982         same ListViewItem is being added more than once.
9984 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
9986         * MonthCalendar.cs:
9987           - ControlStyles love to make the control not flicker
9988           
9989 2004-11-30  Peter Bartok  <pbartok@novell.com>
9991         * CharacterCasing.cs: Added
9993 2004-11-29  Peter Bartok  <pbartok@novell.com>
9995         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9996           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9997           I am removing these files as they conflict with already completed
9998           work. While it is fantastic to get contributions to MWF, I
9999           respectfully ask that everyone please coordinate their contributions
10000           through mono-winforms-list or #mono-winforms at this time. We're
10001           explicitly avoiding stubbing and don't want controls that don't have
10002           their basic functionality implemented in svn. Please also see
10003           http://www.mono-project.com/contributing/winforms.html
10006 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
10008         * Application.cs (ModalRun): Don't hang after exit.
10010         * Theme.cs: New TreeViewDefaultSize property.
10012         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10013         with less hardcoded SystemColors constant.
10014         Implemented TreeViewDefaultSize.
10016         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10017         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10020 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
10022         * MonthCalendar.cs:
10023           - Fix NextMonthDate and PrevMonthDate click moving calendar
10025 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10027         * MonthCalendar.cs:
10028           - Fix usage of ScrollChange Property when scrolling months
10030 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
10032         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10033          - Fixes menu destroying
10034          - Support adding and removing items on already created menus
10036 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
10038         * MonthCalendar.cs:
10039           - Re-worked all bolded dates handling to match win32
10040         * ThemeWin32Classic.cs:
10041           - Fixed rendering with bolded dates
10043 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
10045         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10046         - Horizontal scroolbar
10047         - Multicolumn
10048         - Fixes
10051 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
10053         * MonthCalendar.cs:
10054           - Fix Usage of MaxSelectionCount from SelectionRange
10055           - Fixed Shift + Cursor Selection
10056           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10057           - Fixed normal cursor selection to be compat with win32
10058           - Fixed Shift + Mouse Click selection
10060 2004-11-24  Peter Bartok <pbartok@novell.com>
10062         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10063         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10064         * XplatUIX11.cs:
10065           - CreatedKeyBoardMsg now updates keystate with Alt key
10066           - Added workaround for timer crash to CheckTimers, Jackson will
10067             develop a proper fix and check in later
10068           - Implemented DispatchMessage
10069           - Removed calling the native window proc from GetMessage (call
10070             now moved to DispatchMessage)
10072         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10073           the keydata (Fixes bug #69831)
10075         * XplatUIWin32.cs:
10076           - (DispatchMessage): Switched to return IntPtr
10077           - Added DllImport for SetFocus
10079 2004-11-24  Ravindra <rkumar@novell.com>
10081         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10082         background drawing.
10083         * ListViewItem.cs: Fixed various properties, calculations
10084         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10085         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10086         and some internal properties. Fixed MouseDown handler and Paint
10087         method.
10089 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10091         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10093 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10095         * ContainerControl.cs: correct accidental check in of local changes
10097 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
10099         * ThemeWin32Classic.cs:
10100                 - Fixed Drawing Last month in grid (sometimes not showing)
10101         * MonthCalendar.cs:
10102                 - Fixed title width calculation bug (makeing title small)
10104 2004-11-23  Peter Bartok <pbartok@novell.com>
10106         * XplatUIX11.cs:
10107           - Added generation of WM_MOUSEHOVER event
10108           - Added missing assignment of async_method atom
10109           - Fixed WM_ERASEBKGND; now only redraws the exposed area
10111 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10113         * ThemeWin32Classic.cs:
10114                 - Fixed Drawing of today circle when showtodaycircle not set
10115                 - fixed drawing of first and last month in the grid (gay dates)
10116         * MonthCalendar.cs:
10117                 - Fixed Drawing of today circle
10118                 - Fixed drawing of grady dates
10119                 - Fixed HitTest for today link when ShowToday set to false
10120                 - Fixed DefaultSize to obey ShowToday
10122 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
10124         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10125         * System.Windows.Forms/Theme.cs
10126         * MonthCalendar.cs: added for MonthCalendar
10127         * SelectionRange.cs: added for MonthCalendar
10128         * Day.cs: added for MonthCalendar: added for MonthCalendar
10129         * DateRangeEventArgs.cs: added for MonthCalendar
10130         * DateRangeEventHandler.cs: added for MonthCalendar
10132 2004-11-22  Ravindra <rkumar@novell.com>
10134         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10135         property.
10137 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
10139         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10140         event handler.
10141         
10142         * NumericUpDown.cs: Added new implementation.
10143         * UpDownBase.cs: Added new implementation.
10145         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10146         implementations.
10147         
10148         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10149         implementations.
10151         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10152         methods.
10154 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
10156         * Timer.cs  (Dispose): Should call the base dispose when
10157         overriding.
10159 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10161         * ScrollBar.cs: updates thumb position when max, min or increment
10162         is changed
10164 2004-11-21  Ravindra <rkumar@novell.com>
10166         * ListView.cs: Implemented item selection, activation and
10167         column header style. Fixed properties to do a redraw, if
10168         required. Added support for MouseHover, DoubleClick, KeyDown
10169         and KeyUp event handling and some minor fixes.
10170         * ListViewItem.cs: Fixed constructor.
10171         * ThemeWin32Classic.cs: Improved drawing for ListView.
10173 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
10175         * ThemeWin32Classic.cs: initial listbox drawing code
10176         * DrawMode.cs: new enumerator
10177         * ListControl.cs: stubbed class
10178         * ListBox.cs: initial implementation
10179         * Theme.cs: new methods definitions
10180         * SelectionMode.cs: new enumerator
10182 2004-11-17  Peter Bartok  <pbartok@novell.com>
10184         * XplatUIWin32.cs: Added double-click events to the class style
10185         * Control.cs (WndProc):
10186           - Added handling of click-count to MouseDown/ MouseUp events.
10187           - Added handling of middle and right mouse buttons
10188           - Removed old debug code
10190 2004-11-17  Jackson Harper  <jackson@ximian.com>
10192         * XplatUIX11.cs: Use the new Mono.Unix namespace.
10194 2004-11-17  Ravindra <rkumar@novell.com>
10196         * ListView.cs: Added event handling for MouseMove/Up/Down.
10197         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10198         * ThemeWin32Classic.cs: We need to clear the graphics context and
10199         draw column header in a proper state.
10202 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
10204         *  Menu.cs: fixes signature
10206 2004-11-16  Peter Bartok  <pbartok@novell.com>
10208         * XplatUIX11.cs (GetMessage): Implemented generation of
10209           double click mouse messages
10211 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
10213         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10214         not by menu
10216 2004-11-11  Peter Bartok  <pbartok@novell.com>
10218         * HandleData.cs: Added Visible property
10219         * XplatUIX11.cs (IsVisible): Now uses Visible property from
10220           HandleData
10221         * XplatUIX11.cs: Removed old debug leftovers
10222         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10223         * Control.cs (WndProc): Removed old debug leftovers,
10224           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10225           needed WM_SIZE handling
10227 2004-11-11  Jackson Harper  <jackson@ximian.com>
10229         * OwnerDrawPropertyBag.cs:
10230         * TreeViewImageIndexConverter.cs: Initial implementation
10232 2004-11-10  Jackson Harper  <jackson@ximian.com>
10234         * ThemeWin32Classic.cs:
10235         * TabControl.cs: instead of moving tabs by the slider pos just
10236         start drawing at the tab that is offset by the slider. This way
10237         scrolling always moves by exactly one tab.
10239 2004-11-10  Jackson Harper  <jackson@ximian.com>
10241         * TabControl.cs: You can only scroll left when the slider has
10242         already ben moved right.
10243         
10244 2004-11-10  Jackson Harper  <jackson@ximian.com>
10246         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10247         the clip area.
10248         
10249 2004-11-10  Jackson Harper  <jackson@ximian.com>
10251         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10252         clip area.
10253         
10254 2004-11-09  Jackson Harper  <jackson@ximian.com>
10256         * TabControl.cs (CalcXPos): New helper method so we can determine
10257         the proper place to start drawing vertical tabs.
10258         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10259         
10260 2004-11-09  Jackson Harper  <jackson@ximian.com>
10262         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10263         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10264         and Bottom, left and right are illegal values for this and
10265         multiline is enabled when the alignment is set to left or right.
10266         (DrawTab): Each alignment block should draw the text itself now
10267         because Left requires special love. Also add rendering for Left
10268         aligned tabs.
10269         
10270 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
10272         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10273         does not destroy the windows, removes debugging messages
10275 2004-11-09  jba  <jba-mono@optusnet.com.au>
10277         * ThemeWin32Classic.cs
10278         (DrawButtonBase): Fix verticle text rect clipping in windows
10279         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10280         rendering and incorrect text rect clipping
10281         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10282         rendering and incorrect text rect clipping
10283         
10284 2004-11-08  Jackson Harper  <jackson@ximian.com>
10286         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10287         bottom when they are bottom aligned so the bottoms of the tabs get
10288         displayed.
10289         * TabControl.cs (DropRow): Move rows up instead of down when the
10290         tab control is bottom aligned.
10292 2004-11-08 13:59  pbartok
10294         * XplatUIX11.cs:
10295           - Added handling for various window styles
10296           - Added handling for popup windows
10297           - Added SetTopmost handling
10299 2004-11-08 13:55  pbartok
10301         * XplatUIWin32.cs:
10302           - Added argument to SetTopmost method
10303           - Fixed broken ClientToScreen function
10305 2004-11-08 13:53  pbartok
10307         * XplatUIStructs.cs:
10308           - Added missing WS_EX styles
10310 2004-11-08 13:53  pbartok
10312         * XplatUI.cs, XplatUIDriver.cs:
10313           - Added argument to SetTopmost
10315 2004-11-08 13:52  pbartok
10317         * X11Structs.cs:
10318           - Added XSetWindowAttributes structure
10319           - Improved XWindowAttributes structure
10320           - Added SetWindowValuemask enum
10321           - Added window creation arguments enum
10322           - Added gravity enum
10323           - Added Motif hints structure
10324           - Added various Motif flags and enums
10325           - Added PropertyMode enum for property functions
10327 2004-11-08 13:50  pbartok
10329         * Form.cs:
10330           - Fixed arguments for updated SetTopmost method
10332 2004-11-08 13:49  pbartok
10334         * ToolTip.cs:
10335           - Fixed arguments for updated SetTopmost function
10336           - Fixed usage of PointToClient
10338 2004-11-08 13:44  pbartok
10340         * MenuAPI.cs:
10341           - Added Clipping of children and siblings
10343 2004-11-08 13:41  pbartok
10345         * MainMenu.cs:
10346           - Removed SetMenuBarWindow call. We do this in Form.cs
10348 2004-11-08 13:40  jackson
10350         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10351           scrolling jimmi in the correct location with bottom aligned tabs
10353 2004-11-08 13:36  pbartok
10355         * ContainerControl.cs:
10356           - Implemented BindingContext
10357           - Implemented ParentForm
10359 2004-11-08 12:46  jackson
10361         * TabControl.cs: Put bottom rendered tabs in the right location
10363 2004-11-08 07:15  jordi
10365         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10366           removes dead code
10368 2004-11-05 17:30  jackson
10370         * TabControl.cs: When selected tabs are expanded make sure they
10371           don't go beyond the edges of the tab control
10373 2004-11-05 14:57  jackson
10375         * TabControl.cs: Reset show_slider so if the control is resized to
10376           a size where it is no longer needed it's not displayed anymore
10378 2004-11-05 13:16  jackson
10380         * TabControl.cs: Make tab pages non visible when added to the
10381           control
10383 2004-11-05 12:42  jackson
10385         * TabControl.cs: Implement SizeMode.FillToRight
10387 2004-11-05 12:16  jackson
10389         * Control.cs: Do not call CreateHandle if the handle is already
10390           created
10392 2004-11-05 11:46  jackson
10394         * TabControl.cs: Remove superflous call to CalcTabRows
10396 2004-11-05 09:07  jackson
10398         * XplatUIX11.cs: Update for Mono.Posix changes
10400 2004-11-05 07:00  ravindra
10402         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10403           scrolling.
10405 2004-11-04 22:47  jba
10407         * ThemeWin32Classic.cs:
10408           - Fix Button rendering for FlatStyle = Flat or Popup
10409           - Fix RadioButton and CheckBox rendering when Appearance = Button
10410             (normal and flatstyle).
10411           - Correct outer rectangle color when drawing focus rectangle
10412           - Adjust button bounds to be 1 px smaller when focused
10413           - Make button not draw sunken 3d border when pushed (windows compat)
10414           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10415           - Offset the text in RadioButton and Checkbox when being rendered as
10416           a button.
10417           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10418           radiobuttons
10419           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10420           - Fixed disabled text rendering for normally rendered radiobuttons
10422 2004-11-04 10:26  jackson
10424         * TabControl.cs: Recalculate tab rows when resizing
10426 2004-11-04 07:47  jordi
10428         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10429           collection completion, drawing issues, missing features
10431 2004-11-04 05:03  ravindra
10433         * ScrollBar.cs:
10434                 - We need to recalculate the Thumb area when
10435                 LargeChange/maximum/minimum values are changed.
10436           - We set the 'pos' in UpdatePos() method to minimum, if it's less
10437                 than minimum. This is required to handle the case if large_change is
10438                 more than max, and use LargeChange property instead of large_change
10439                 variable.
10440           - We return max+1 when large_change is more than max, like MS does.
10442 2004-11-04 04:29  ravindra
10444         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10445                 - Changed default value signatures (prefixed all with ListView).
10446                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10447                 ListView.
10448           - Fixed calculations for ListViewItem and implemented Clone()
10449           method.
10451 2004-11-04 04:26  ravindra
10453         * Theme.cs, ThemeWin32Classic.cs:
10454                 - Changed default ListView values signatures (prefixed all with
10455                 ListView).
10456           - Fixed default size values for VScrollBar and HScrollBar.
10457                 - Fixed DrawListViewItem method.
10459 2004-11-04 04:05  ravindra
10461         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10463 2004-11-04 04:04  ravindra
10465         * ImageList.cs: Implemented the missing overload for Draw method.
10467 2004-11-03 19:29  jackson
10469         * TabControl.cs: Handle dropping rows on selection properly
10471 2004-11-03 11:59  jackson
10473         * TabControl.cs: remove debug code
10475 2004-11-03 11:52  jackson
10477         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10478           the scrolly widgerywoo
10480 2004-11-02 13:52  jackson
10482         * TabControl.cs: Resize the tab pages and tabs when the tab control
10483           is resized
10485 2004-11-02 13:40  jackson
10487         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10488           selected tab to the bottom
10490 2004-11-02 13:39  jackson
10492         * TabPage.cs: Store the tab pages row
10494 2004-11-02 12:33  jordi
10496         * MenuItem.cs: fixes handle creation
10498 2004-11-02 11:42  jackson
10500         * TabControl.cs: signature fix
10502 2004-11-02 08:56  jackson
10504         * TabControl.cs: Calculate whether the tab is on an edge properly.
10505           Remove top secret debugging code
10507 2004-11-01 19:57  jackson
10509         * TabControl.cs: Add click handling, and proper sizing
10511 2004-11-01 19:47  jackson
10513         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10514           tab controls
10516 2004-11-01 19:39  jackson
10518         * TabPage.cs: add internal property to store the bounds of a tab
10519           page
10521 2004-10-30 04:23  ravindra
10523         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10524           values.
10526 2004-10-30 04:21  ravindra
10528         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10529           fixed calculations.
10531 2004-10-30 03:06  pbartok
10533         * XplatUIX11.cs:
10534           - Removed extension of DllImported libs
10536 2004-10-29 09:55  jordi
10538         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10539           navigation, itemcollection completion, menu fixes
10541 2004-10-27 22:58  pbartok
10543         * XplatUIX11.cs:
10544           - Now throws a nice error message when no X display could be opened
10546 2004-10-26 13:51  jordi
10548         * ListView.cs: removes warning
10550 2004-10-26 03:55  ravindra
10552         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10553           ThemeWin32Classic.cs: Some formatting for my last checkins.
10555 2004-10-26 03:36  ravindra
10557         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10558           control and default values.
10560 2004-10-26 03:35  ravindra
10562         * Theme.cs: Added some default values for ListView control.
10564 2004-10-26 03:33  ravindra
10566         * ToolBar.cs: ToolBar should use the user specified button size, if
10567           there is any. Added a size_specified flag for the same.
10569 2004-10-26 03:33  ravindra
10571         * ColumnHeader.cs: Added some internal members and calculations for
10572           ColumnHeader.
10574 2004-10-26 03:32  ravindra
10576         * ListViewItem.cs: Calculations for ListViewItem.
10578 2004-10-26 03:31  ravindra
10580         * ListView.cs: Added some internal members and calculations for
10581           ListView.
10583 2004-10-22 13:31  jordi
10585         * MenuAPI.cs: speedup menus drawing
10587 2004-10-22 13:16  jackson
10589         * XplatUIX11.cs: Make sure to update exposed regions when adding an
10590           expose event
10592 2004-10-22 11:49  jackson
10594         * Control.cs: oops
10596 2004-10-22 11:41  jackson
10598         * Control.cs: Check to see if the window should have its background
10599           repainted by X when drawing.
10601 2004-10-22 11:31  jackson
10603         * XplatUIX11.cs: When invalidating areas only use XClearArea if
10604           clear is true, this way we do not get flicker from X repainting the
10605           background
10607 2004-10-22 11:28  jackson
10609         * XEventQueue.cs: Queue properly
10611 2004-10-21 09:38  jackson
10613         * XEventQueue.cs: Fix access modifier
10615 2004-10-21 09:36  jackson
10617         * XEventQueue.cs: Don't loose messages
10619 2004-10-21 09:22  jackson
10621         * XEventQueue.cs: Don't loose messages
10623 2004-10-20 04:15  jordi
10625         * BootMode.cs: enum need it by SystemInfo
10627 2004-10-19 21:58  pbartok
10629         * XplatUIWin32.cs:
10630           - Small sanity check
10632 2004-10-19 21:56  pbartok
10634         * Form.cs:
10635           - Added private FormParentWindow class which acts as the container
10636             for our form and as the non-client area where menus are drawn
10637           - Added/Moved required tie-ins to Jordi's menus
10638           - Fixed/Implemented the FormStartPosition functionality
10640 2004-10-19 21:52  pbartok
10642         * Control.cs:
10643           - Removed unneeded locals
10644           - Added code to all size and location properties to understand and
10645             deal with the parent container of Form
10647 2004-10-19 21:33  pbartok
10649         * Application.cs:
10650           - Fixed to deal with new Form subclasses for menus
10652 2004-10-19 17:48  jackson
10654         * XEventQueue.cs: commit correct version of file
10656 2004-10-19 16:50  jackson
10658         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10660 2004-10-19 16:15  jordi
10662         * MenuAPI.cs: MenuBarCalcSize returns the height
10664 2004-10-19 08:31  pbartok
10666         * Control.cs:
10667           - Added missing call to PreProcessMessage before calling OnXXXKey
10668           methods
10670 2004-10-19 00:04  ravindra
10672         * ToolTip.cs: Fixed constructor.
10674 2004-10-18 09:31  jordi
10676         * MenuAPI.cs: menuitems in menubars do not have shortcuts
10678 2004-10-18 09:26  jordi
10680         * MenuItem.cs: fixes MenuItem class signature
10682 2004-10-18 08:56  jordi
10684         * MenuAPI.cs: prevents windows from showing in the taskbar
10686 2004-10-18 00:28  ravindra
10688         * ToolTip.cs: Suppressed a warning message.
10690 2004-10-18 00:27  ravindra
10692         * Control.cs: Default value of visible property must be true.
10694 2004-10-17 23:19  pbartok
10696         * ToolTip.cs:
10697           - Complete implementation
10699 2004-10-17 23:19  pbartok
10701         * XplatUIX11.cs:
10702           - Added EnableWindow method
10703           - Added SetModal stub
10704           - Added generation of WM_ACTIVATE message (still needs testing)
10705           - Added SetTopMost stub
10706           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10708 2004-10-17 23:17  pbartok
10710         * XplatUIWin32.cs:
10711           - Removed VirtualKeys to XplatUIStructs
10712           - Implemented SetTopMost method
10713           - Implemented EnableWindow method
10714           - Bugfix in ScreenToClient()
10715           - Bugfixes in ClientToScreen()
10717 2004-10-17 22:51  pbartok
10719         * XplatUIStructs.cs:
10720           - Added WS_EX styles to WindowStyles enumeration
10722 2004-10-17 22:50  pbartok
10724         * XplatUI.cs, XplatUIDriver.cs:
10725           - Added method for enabling/disabling windows
10726           - Added method for setting window modality
10727           - Added method for setting topmost window
10729 2004-10-17 22:49  pbartok
10731         * ThemeWin32Classic.cs:
10732           - Added ToolTip drawing code
10734 2004-10-17 22:49  pbartok
10736         * Theme.cs:
10737           - Added ToolTip abstracts
10739 2004-10-17 22:47  pbartok
10741         * Form.cs:
10742           - Fixed Form.ControlCollection to handle owner relations
10743           - Added Owner/OwnedForms handling
10744           - Implemented Z-Ordering for owned forms
10745           - Removed unneeded private overload of ShowDialog
10746           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10747             so I hope)
10748           - Fixed Close(), had wrong default
10749           - Added firing of OnLoad event
10750           - Added some commented out debug code for Ownership handling
10752 2004-10-17 22:16  pbartok
10754         * Control.cs:
10755           - Fixed/implemented flat list of controls
10757 2004-10-17 22:14  pbartok
10759         * Application.cs:
10760           - Added code to simulate modal dialogs on Win32
10762 2004-10-17 16:11  jordi
10764         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10765           mouse event
10767 2004-10-17 13:39  jordi
10769         * MenuAPI.cs: menu drawing fixes
10771 2004-10-15 09:10  ravindra
10773         * StructFormat.cs: General Enum.
10775 2004-10-15 09:09  ravindra
10777         * SizeGripStyle.cs: Enum for Form.
10779 2004-10-15 09:08  ravindra
10781         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10782           in Theme for ListView.
10784 2004-10-15 09:06  ravindra
10786         * ColumnHeader.cs: Flushing some formatting changes.
10788 2004-10-15 09:05  ravindra
10790         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10791           style.
10793 2004-10-15 09:03  ravindra
10795         * ListView.cs: Implemented Paint method and fixed coding style.
10797 2004-10-15 07:34  jordi
10799         * MenuAPI.cs: fix for X11
10801 2004-10-15 07:32  ravindra
10803         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10804                 - Renamed Paint() method to Draw() for clarity. Also, moved
10805                 DrawImage() to OnPaint().
10807 2004-10-15 07:25  ravindra
10809         * CheckBox.cs, RadioButton.cs:
10810                 - Removed Redraw (), we get it from ButtonBase.
10811                 - Implemented Paint (), to do class specific painting.
10813 2004-10-15 07:16  ravindra
10815         * ButtonBase.cs:
10816                 - Redraw () is not virtual now.
10817                 - Added an internal virtual method Paint (), so that
10818                 derived classes can do their painting on their own.
10819                 - Modified OnPaint () to call Paint ().
10821 2004-10-15 06:43  jordi
10823         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10824           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10826 2004-10-15 00:30  ravindra
10828         * MessageBox.cs:
10829                 - MessageBox on windows does not have min/max buttons.
10830                 This change in CreateParams fixes this on Windows. We
10831                 still need to implement this windowstyle behavior in
10832                 our X11 driver.
10834 2004-10-14 05:14  ravindra
10836         * ToolBar.cs:
10837                 - Changed Redraw () to do a Refresh () always.
10838                 - Fixed the MouseMove event handling when mouse is pressed,
10839                 ie drag event handling.
10840                 - Replaced the usage of ToolBarButton.Pressed property to
10841                 ToolBarButton.pressed internal variable.
10843 2004-10-14 05:10  ravindra
10845         * ToolBarButton.cs:
10846                 - Added an internal member 'inside' to handle mouse move
10847                 with mouse pressed ie mouse drag event.
10848                 - Changed 'Pressed' property to return true only when
10849                 'inside' and 'pressed' are both true.
10850                 - Some coding style love.
10852 2004-10-14 00:17  ravindra
10854         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10855           public method.
10857 2004-10-14 00:15  ravindra
10859         * ButtonBase.cs: Redraw () related improvements.
10861 2004-10-14 00:14  ravindra
10863         * MessageBox.cs: Moved InitFormSize () out of Paint method and
10864           removed unnecessary calls to Button.Show () method.
10866 2004-10-13 17:50  pbartok
10868         * XplatUIX11.cs:
10869           - Formatting fix
10870           - Removed destroying of window until we solve the problem of X
10871             destroying the window before us on shutdown
10873 2004-10-13 16:32  pbartok
10875         * ButtonBase.cs:
10876           - Now Redraws on MouseUp for FlatStyle Flat and Popup
10878 2004-10-13 14:18  pbartok
10880         * XplatUIX11.cs:
10881           - Added code to destroy the X window
10883 2004-10-13 14:18  pbartok
10885         * XplatUIWin32.cs:
10886           - Added code to destroy a window
10888 2004-10-13 14:12  pbartok
10890         * ButtonBase.cs:
10891           - Added the Redraw on Resize that got dropped in the last rev
10893 2004-10-13 09:06  pbartok
10895         * ThemeWin32Classic.cs:
10896           - Path from John BouAntoun:
10897             * Fix check rendering (centre correctly for normal style, offset
10898               correctly for FlatStyle).
10899             * Fix border color usage (use backcolor) for FlatStyle.Popup
10900             * Use checkbox.Capture instead of checkbox.is_pressed when
10901               rendering flatstyle states.
10903 2004-10-12 21:48  pbartok
10905         * ThemeWin32Classic.cs:
10906           - Removed all occurences of SystemColors and replaced them with the
10907             matching theme color
10909 2004-10-12 21:41  pbartok
10911         * ThemeWin32Classic.cs:
10912           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10913             him using the function for flatstyle drawing
10914           - Changed functions to use the new version of CPDrawBorder3D
10916 2004-10-12 21:15  pbartok
10918         * ControlPaint.cs:
10919           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10920             match MS documentation. They need to return defined colors if the
10921             passed color matches the configured control color. Thanks to John
10922             BouAntoun for pointing this out.
10924 2004-10-12 20:57  pbartok
10926         * Control.cs:
10927           - Fix from John BouAntoun: Raise ForeColorChanged event when text
10928             color is changed
10930 2004-10-12 20:46  pbartok
10932         * CheckBox.cs:
10933           - Fix from John BouAntoun: Now properly sets the Appearance property
10935 2004-10-12 20:45  pbartok
10937         * ThemeWin32Classic.cs:
10938           - Fixes from John BouAntoun: now handles forecolors and backcolors
10939             for flatstyle rendered controls much better; It also fixes normal
10940             checkbox rendering when pushed or disabled.
10942 2004-10-08 02:50  jordi
10944         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10945           work
10947 2004-10-07 08:56  jordi
10949         * ThemeWin32Classic.cs: Removes deletion of cached brushes
10951 2004-10-06 03:59  jordi
10953         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10954           XplatUIWin32.cs: removes warnings from compilation
10956 2004-10-05 12:23  jackson
10958         * RadioButton.cs: Fix ctor
10960 2004-10-05 11:10  pbartok
10962         * MessageBox.cs:
10963           - Partial implementation by Benjamin Dasnois
10965 2004-10-05 10:15  jackson
10967         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10968           by John BouAntoun
10970 2004-10-05 03:07  ravindra
10972         * ToolBar.cs:
10973                 - Removed a private method, Draw ().
10974                 - Fixed the ButtonDropDown event handling.
10975                 - Fixed MouseMove event handling.
10977 2004-10-05 03:04  ravindra
10979         * ThemeWin32Classic.cs:
10980                 - Added DrawListView method and ListViewDefaultSize property.
10981                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10982                 - Changed DOS style CRLF to Unix format (dos2unix).
10984 2004-10-05 03:03  ravindra
10986         * Theme.cs:
10987                 - Added DrawListView method and ListViewDefaultSize property.
10989 2004-10-05 02:42  ravindra
10991         * ToolBarButton.cs: Added an internal member dd_pressed to handle
10992           clicks on DropDown arrow.
10994 2004-10-04 22:56  jackson
10996         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10997           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10998           Control handle the buffers, derived classes should not have to
10999           CreateBuffers themselves.
11001 2004-10-04 21:20  jackson
11003         * StatusBar.cs: The control handles resizing the buffers now.
11005 2004-10-04 21:18  jackson
11007         * Control.cs: When resizing the buffers should be invalidated. This
11008           should be handled in Control not in derived classes.
11010 2004-10-04 14:45  jackson
11012         * TabPage.cs: oops
11014 2004-10-04 02:14  pbartok
11016         * LeftRightAlignment.cs:
11017           - Initial check-in
11019 2004-10-04 01:09  jordi
11021         * ThemeWin32Classic.cs: fixes right button position causing right
11022           button not showing on horizontal scrollbars
11024 2004-10-02 13:12  pbartok
11026         * XplatUIX11.cs:
11027           - Simplified the Invalidate method by using an X call instead of
11028             generating the expose ourselves
11029           - Added an expose when the window background is changed
11030           - Implemented ClientToScreen method
11032 2004-10-02 13:08  pbartok
11034         * XplatUIWin32.cs:
11035           - Added Win32EnableWindow method (test for implementing modal
11036           dialogs)
11037           - Added ClientToScreen method and imports
11039 2004-10-02 13:07  pbartok
11041         * XplatUI.cs, XplatUIDriver.cs:
11042           - Added ClientToScreen coordinate translation method
11044 2004-10-02 13:06  pbartok
11046         * KeyPressEventArgs.cs:
11047           - Fixed access level for constructor
11049 2004-10-02 13:06  pbartok
11051         * NativeWindow.cs:
11052           - Changed access level for the window_collection hash table
11054 2004-10-02 13:05  pbartok
11056         * Form.cs:
11057           - Added KeyPreview property
11058           - Added Menu property (still incomplete, pending Jordi's menu work)
11059           - Implemented ProcessCmdKey
11060           - Implemented ProcessDialogKey
11061           - Implemented ProcessKeyPreview
11063 2004-10-02 13:02  pbartok
11065         * Control.cs:
11066           - Added private method to get the Control object from the window
11067           handle
11068           - Implemented ContextMenu property
11069           - Implemented PointToScreen
11070           - Implemented PreProcessMessage
11071           - Implemented IsInputChar
11072           - Implemented IsInputKey
11073           - Implemented ProcessCmdKey
11074           - Completed ProcessKeyEventArgs
11075           - Fixed message loop to call the proper chain of functions on key
11076           events
11077           - Implemented ProcessDialogChar
11078           - Implemented ProcessDialogKey
11079           - Implemented ProcessKeyMessage
11080           - Implemented ProcessKeyPreview
11081           - Added RaiseDragEvent stub (MS internal method)
11082           - Added RaiseKeyEvent stub (MS internal method)
11083           - Added RaiseMouseEvent stub (MS Internal method)
11084           - Added RaisePaintEvent stub (MS Internal method)
11085           - Added ResetMouseEventArgs stub (MS Internal method)
11086           - Implemented RtlTranslateAlignment
11087           - Implemented RtlTranslateContent
11088           - Implemented RtlTranslateHorizontal
11089           - Implemented RtlTranslateLeftRight
11090           - Added generation of KeyPress event
11092 2004-10-02 05:57  ravindra
11094         * ListViewItem.cs: Added attributes.
11096 2004-10-02 05:32  ravindra
11098         * ListView.cs: Added attributes.
11100 2004-10-01 11:53  jackson
11102         * Form.cs: Implement the Close method so work on MessageBox can
11103           continue.
11105 2004-09-30 14:06  pbartok
11107         * XplatUIX11.cs:
11108           - Bug fixes
11110 2004-09-30 11:34  jackson
11112         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11114 2004-09-30 07:26  ravindra
11116         * ListViewItemConverter.cs: Converter for ListViewItem.
11118 2004-09-30 07:26  ravindra
11120         * SortOrder.cs: Enum for ListView control.
11122 2004-09-30 07:25  ravindra
11124         * ColumnHeader.cs: Supporting class for ListView control.
11126 2004-09-30 07:24  ravindra
11128         * ListView.cs, ListViewItem.cs: Initial implementation.
11130 2004-09-30 07:20  ravindra
11132         * ItemActivation.cs: Enum for ListView Control.
11134 2004-09-29 20:29  pbartok
11136         * XplatUIX11.cs:
11137           - Added lookup of pixel value for background color; tries to get a
11138             color 'close' to the requested color, it avoids having to create a
11139             colormap.  Depending on the display this could mean the used color
11140             is slightly off the desired color. Might have to change it to a more
11141             resource intensive colormap approach, but it will work as a
11142           workaround to avoid red screens.
11144 2004-09-29 14:27  jackson
11146         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11148 2004-09-28 12:44  pbartok
11150         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11151           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11152           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11153           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11154           TrackBar.cs, VScrollBar.cs:
11155           - Streamlined Theme interfaces:
11156             * Each DrawXXX method for a control now is passed the object for
11157               the control to be drawn in order to allow accessing any state the
11158               theme might require
11160             * ControlPaint methods for the theme now have a CP prefix to avoid
11161               name clashes with the Draw methods for controls
11163             * Every control now retrieves it's DefaultSize from the current
11164             theme
11166 2004-09-28 12:17  jackson
11168         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11169           drawing
11171 2004-09-24 14:57  jackson
11173         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11174           Gives us a nice little performance boost.
11176 2004-09-24 12:02  jackson
11178         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11179           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11180           Control and supporting classes. Initial checkin
11182 2004-09-23 13:08  jackson
11184         * Form.cs: Temp build fixage
11186 2004-09-23 01:39  ravindra
11188         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11189           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11190           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11191           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11192           EventHandlers needed by ListView Control.
11194 2004-09-22 14:12  pbartok
11196         * ScrollableControl.cs:
11197           - Implemented DockPadding property
11198           - Implemented AutoScroll property
11199           - Implemented AutoScrollMargin property
11200           - Implemented AutoScrollMinSize property
11201           - Implemented AutoScrollPosition property
11202           - Implemented DisplayRectangle property (still incomplete)
11203           - Implemented CreateParams property
11204           - Implemented HScroll property
11205           - Implemented VScroll property
11206           - Implemented OnVisibleChanged property
11208 2004-09-22 14:09  pbartok
11210         * Form.cs:
11211           - Added Form.ControllCollection class
11212           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11213             RemoveOwnedForm (still incomplete, missing on-top and common
11214             minimize/maximize behaviour)
11215           - Added StartPosition property (still incomplete, does not use when
11216             creating the form)
11217           - Added ShowDialog() methods (still incomplete, missing forcing the
11218             dialog modal)
11220 2004-09-22 14:05  pbartok
11222         * Application.cs:
11223           - Added message loop for modal dialogs
11225 2004-09-22 14:02  pbartok
11227         * GroupBox.cs:
11228           - Fixed wrong types for events
11230 2004-09-22 14:00  pbartok
11232         * Shortcut.cs, FormWindowState.cs:
11233           - Fixed wrong values
11235 2004-09-22 12:01  jackson
11237         * Control.cs: Text is never null
11239 2004-09-20 22:14  pbartok
11241         * XplatUIWin32.cs:
11242           - Fixed accessibility level for Idle handler
11244 2004-09-20 18:54  jackson
11246         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11247           XplatUIX11.cs: New message loop that uses poll so we don't get a
11248           busy loop
11250 2004-09-17 10:43  pbartok
11252         * ScrollBar.cs:
11253           - Fixed behaviour of arrow buttons. Now properly behaves like
11254             Buttons (and like Microsoft's scrollbar arrow buttons)
11256 2004-09-17 10:14  pbartok
11258         * ScrollBar.cs:
11259           - Added missing release of keyboard/mouse capture
11261 2004-09-17 06:18  jordi
11263         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11264           Theme.cs: Very early menu support
11266 2004-09-16 17:45  pbartok
11268         * XplatUIWin32.cs:
11269           - Fixed sending a window to the front
11270           - Added overload for SetWindowPos to avoid casting
11272 2004-09-16 17:44  pbartok
11274         * Control.cs:
11275           - Added SendToBack and BringToFront methods
11277 2004-09-16 07:00  ravindra
11279         * Copyright: Added Novell URL.
11281 2004-09-16 07:00  ravindra
11283         * ToolBar.cs: Invalidate should be done before redrawing.
11285 2004-09-15 21:19  ravindra
11287         * ColumnHeaderStyle.cs: Enum for ListView Control.
11289 2004-09-15 21:18  ravindra
11291         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11292           ListView Control.
11294 2004-09-13 18:26  jackson
11296         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11297           properly
11299 2004-09-13 18:13  jackson
11301         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11302           a second thread and post messages into the main threads message
11303           queue. This makes timing much more consistent. Both win2K and XP
11304           have a minimum timer value of 15 milliseconds, so we now do this
11305           too.
11307 2004-09-13 15:18  pbartok
11309         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11310           XplatUIX11.cs:
11311           - Added Z-Ordering methods
11313 2004-09-13 10:56  pbartok
11315         * Form.cs:
11316           - Fixed #region names
11317           - Moved properties and methods into their proper #regions
11319 2004-09-13 10:51  pbartok
11321         * Form.cs:
11322           - Added Accept and CancelButton properties
11323           - Added ProcessDialogKey() method
11325 2004-09-13 08:18  pbartok
11327         * IWindowTarget.cs:
11328           - Initial check-in
11330 2004-09-10 21:50  pbartok
11332         * Control.cs:
11333           - Added DoDragDrop() [incomplete]
11334           - Properly implemented 'Visible' handling
11335           - Added SetVisibleCore()
11336           - Implemented FindChildAtPoint()
11337           - Implemented GetContainerControl()
11338           - Implemented Hide()
11340 2004-09-10 19:28  pbartok
11342         * Control.cs:
11343           - Moved methods into their appropriate #regions
11344           - Reordered methods within regions alphabetically
11346 2004-09-10 18:57  pbartok
11348         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11349           - Added method to retrieve text from window
11351 2004-09-10 18:56  pbartok
11353         * Control.cs:
11354           - Moved some internal functions into the internal region
11355           - Implemented FontHeight
11356           - Implemented RenderRightToLeft
11357           - Implemented ResizeRedraw
11358           - Implemented ShowFocusCues
11359           - Implemented ShowKeyboardCues
11360           - Implemented FromChildHandle
11361           - Implemented FromHandle
11362           - Implemented IsMnemonic
11363           - Implemented ReflectMessage
11364           - All public and protected Static Methods are now complete
11366 2004-09-10 16:54  pbartok
11368         * Control.cs:
11369           - Implemented remaining missing public instance properties
11370           - Alphabetized some out of order properties
11372 2004-09-10 05:51  ravindra
11374         * PictureBox.cs: Added a check for null image.
11376 2004-09-10 00:59  jordi
11378         * GroupBox.cs: remove cvs tag
11380 2004-09-09 05:25  ravindra
11382         * ToolBar.cs: Make redraw accessible from ToolBarButton.
11384 2004-09-09 05:23  ravindra
11386         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11387           parent redraw.
11389 2004-09-09 02:28  pbartok
11391         * ThemeWin32Classic.cs:
11392           - Improve disabled string look
11394 2004-09-09 01:15  jordi
11396         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11397           args and handler
11399 2004-09-08 23:56  ravindra
11401         * ItemBoundsPortion.cs: It's enum, not a class!
11403 2004-09-08 23:47  ravindra
11405         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11406           Enums for Form.
11408 2004-09-08 21:13  ravindra
11410         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11411           ListView control.
11413 2004-09-08 21:03  ravindra
11415         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11416           avoid crash.
11418 2004-09-08 21:01  ravindra
11420         * ScrollableControl.cs: Removed unreachable code.
11422 2004-09-08 06:45  jordi
11424         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11426 2004-09-08 01:00  jackson
11428         * XplatUIX11.cs: Only run the timers when updating the message
11429           queue. This effectively gives X messages a higher priority then
11430           timer messages. Timers still need love though
11432 2004-09-07 14:01  jackson
11434         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11435           this for us and the handle is no longer valid.
11437 2004-09-07 13:59  jackson
11439         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11440           loop that manages to not crash. TODO: Add poll and cleanup timers
11442 2004-09-07 11:12  jordi
11444         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11446 2004-09-07 03:40  jordi
11448         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11449           fixes, methods, multiple links
11451 2004-09-06 06:55  jordi
11453         * Control.cs: Caches ClientRectangle rectangle value
11455 2004-09-05 02:03  jordi
11457         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11458           certain situations
11460 2004-09-04 11:10  jordi
11462         * Label.cs: Refresh when font changed
11464 2004-09-02 16:24  pbartok
11466         * Control.cs:
11467           - Added sanity check to creation of double buffer bitmap
11469 2004-09-02 16:24  pbartok
11471         * ButtonBase.cs:
11472           - Fixed selection of text color
11473           - Fixed handling of resize event; now properly recreates double
11474             buffering bitmap
11475           - Added missing assignment of TextAlignment
11476           - Added proper default for TextAlignment
11478 2004-09-02 14:26  pbartok
11480         * RadioButton.cs:
11481           - Added missing RadioButton.RadioButtonAccessibleObject class
11483 2004-09-02 14:26  pbartok
11485         * Control.cs:
11486           - Added missing Control.ControlAccessibleObject class
11487           - Started to implement Select()ion mechanisms, still very incomplete
11489 2004-09-02 14:25  pbartok
11491         * AccessibleObject.cs:
11492           - Added missing methods
11494 2004-09-02 14:23  pbartok
11496         * AccessibleNavigation.cs, AccessibleSelection.cs:
11497           - Initial check-in
11499 2004-09-02 10:32  jordi
11501         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11502           pool for pens, brushes, and hatchbruses
11504 2004-09-01 15:30  jackson
11506         * StatusBar.cs: Fix typo
11508 2004-09-01 14:44  pbartok
11510         * RadioButton.cs:
11511           - Fixed state
11513 2004-09-01 14:39  pbartok
11515         * Button.cs, RadioButton.cs:
11516           - Functional initial check-in
11518 2004-09-01 14:01  pbartok
11520         * CheckBox.cs:
11521           - Added missing default
11522           - Added missing region mark
11524 2004-09-01 09:10  jordi
11526         * Label.cs: fixes method signatures, new methods, events, fixes
11527           autosize
11529 2004-09-01 07:19  jordi
11531         * Control.cs: Init string variables with an empty object
11533 2004-09-01 04:20  jordi
11535         * Control.cs: fires OnFontChanged event
11537 2004-08-31 20:07  pbartok
11539         * ButtonBase.cs:
11540           - Enabled display of strings
11542 2004-08-31 20:05  pbartok
11544         * Form.cs:
11545           - Added (partial) implementation of DialogResult; rest needs to be
11546             implemented when the modal loop code is done
11548 2004-08-31 19:55  pbartok
11550         * CheckBox.cs:
11551           - Fixed to match the removal of the needs_redraw concept
11553 2004-08-31 19:55  pbartok
11555         * ButtonBase.cs:
11556           - Removed the rather odd split between 'needs redraw' and redrawing
11557           - Now handles the events that require regeneration (ambient
11558             properties and size)
11560 2004-08-31 19:41  pbartok
11562         * Control.cs:
11563           - Added firing of BackColorChanged event
11564           - Added TopLevelControl property
11565           - Fixed handling of WM_ERASEBKGRND message
11567 2004-08-31 12:49  pbartok
11569         * ButtonBase.cs:
11570           - Removed debug
11571           - Minor fixes
11573 2004-08-31 12:48  pbartok
11575         * CheckBox.cs:
11576           - Finished (famous last words)
11578 2004-08-31 04:35  jordi
11580         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11581           scrolling bugs, adds new methods
11583 2004-08-30 14:42  pbartok
11585         * CheckBox.cs:
11586           - Implemented CheckBox drawing code
11588 2004-08-30 14:42  pbartok
11590         * ButtonBase.cs:
11591           - Made Redraw() and CheckRedraw() virtual
11592           - Improved mouse up/down/move logic to properly track buttons
11594 2004-08-30 09:44  pbartok
11596         * CheckBox.cs:
11597           - Updated to fix broken build. Not complete yet.
11599 2004-08-30 09:28  pbartok
11601         * CheckState.cs:
11602           - Initial checkin
11604 2004-08-30 09:17  pbartok
11606         * Appearance.cs:
11607           - Initial check-in
11609 2004-08-27 16:12  ravindra
11611         * ToolBarButton.cs: Added TypeConverter attribute.
11613 2004-08-27 16:07  ravindra
11615         * ImageIndexConverter.cs: Implemented.
11617 2004-08-27 14:17  pbartok
11619         * Control.cs:
11620           - Removed unneeded stack vars
11621           - First attempt to fix sizing issues when layout is suspended
11623 2004-08-25 15:35  jordi
11625         * ScrollBar.cs: more fixes to scrollbar
11627 2004-08-25 14:04  ravindra
11629         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11630           Added the missing divider code and grip for ToolBar Control.
11632 2004-08-25 13:20  pbartok
11634         * Control.cs:
11635           - Control now properly passes the ambient background color to child
11636             controls
11638 2004-08-25 13:20  jordi
11640         * ScrollBar.cs: small bug fix regarding bar position
11642 2004-08-25 12:33  pbartok
11644         * Timer.cs:
11645           - Now only calls SetTimer or KillTimer if the enabled state has
11646           changed
11648 2004-08-25 12:33  pbartok
11650         * XplatUIWin32.cs:
11651           - Fixed timer handling, now seems to work
11652           - Improved error message for window creation
11654 2004-08-25 12:32  pbartok
11656         * Control.cs:
11657           - Fixed generation of MouseUp message
11659 2004-08-25 12:29  jordi
11661         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11662           and fixes for progressbar
11664 2004-08-24 18:43  ravindra
11666         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11667           in ToolBar control.
11669 2004-08-24 17:15  pbartok
11671         * Panel.cs:
11672           - Added #region
11673           - Added missing events
11674           - Alphabetized
11676 2004-08-24 17:14  pbartok
11678         * StatusBar.cs, PictureBox.cs:
11679           - Now uses Control's CreateParams
11681 2004-08-24 16:36  pbartok
11683         * XplatUIX11.cs:
11684           - Fixed background color handling
11685           - Fixed sending of enter/leave events on a grab
11687 2004-08-24 16:35  pbartok
11689         * X11Structs.cs:
11690           - Refined definitions for CrossingEvent
11692 2004-08-24 12:37  jordi
11694         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11695           formmating, methods signature, and adds missing events
11697 2004-08-24 12:24  jordi
11699         * Control.cs: fire OnEnabledChanged event
11701 2004-08-24 11:17  pbartok
11703         * XplatUIWin32.cs:
11704           - Implemented SetTimer() and KillTimer()
11706 2004-08-24 11:16  pbartok
11708         * XplatUIX11.cs:
11709           - Now uses Remove instead of Add to kill the timer
11711 2004-08-24 10:16  jackson
11713         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11714           picture boxes in the theme now. Draw picture box borders and obey
11715           sizing modes
11717 2004-08-24 05:49  jackson
11719         * Timer.cs: Remove top secret debugging code
11721 2004-08-24 05:34  jackson
11723         * PictureBox.cs: Temp hack to make picture boxes draw their full
11724           image
11726 2004-08-24 05:29  jackson
11728         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11729           XplatUIX11.cs: Move timers to the driver level. On X they are
11730           queued by the driver and checked on idle.
11732 2004-08-24 01:07  jackson
11734         * XplatUIX11.cs: Use a queue for async messages instead of passing
11735           them as ClientMessages since that was totally broken. Also simply
11736           check for events and return an idle message if none are found. This
11737           gives us an idle handler, and prevents deadlocking when no messages
11738           are in the queue.
11740 2004-08-23 18:19  ravindra
11742         * XplatUIWin32.cs: Removed the unwanted destructor.
11744 2004-08-23 17:27  pbartok
11746         * ButtonBase.cs:
11747           - Finishing touches. Works now, just needs some optimizations.
11749 2004-08-23 16:53  jordi
11751         * ScrollBar.cs: small fix
11753 2004-08-23 16:45  pbartok
11755         * Application.cs:
11756           - Removed debug output
11757           - Simplifications
11759 2004-08-23 16:43  jordi
11761         * ScrollBar.cs: [no log message]
11763 2004-08-23 16:10  pbartok
11765         * Form.cs:
11766           - Fixed handling of WM_CLOSE message
11767           - Removed debug output
11769 2004-08-23 16:09  pbartok
11771         * Application.cs:
11772           - Added handling of Idle event
11773           - Added handling of form closing
11774           - Fixed reporting of MessageLoop property
11775           - Removed some unneeded code, should provide a bit of a speedup
11777 2004-08-23 15:22  pbartok
11779         * Control.cs:
11780           - Added InitLayout() method
11781           - Added code to properly perform layout when Anchor or Dock property
11782             is changed
11783           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11784             LAMESPEC, tried to do it in a way that makes sense
11786 2004-08-23 14:10  jordi
11788         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11789           properties and methods
11791 2004-08-23 13:55  pbartok
11793         * Control.cs:
11794           - Properly fixed Jordi's last fix
11795           - Now uses Cursor's Position property instead of calling XplatUI
11796           directly
11798 2004-08-23 13:44  jordi
11800         * PaintEventHandler.cs: Adding missing attribute
11802 2004-08-23 13:39  pbartok
11804         * Cursor.cs:
11805           - Implemented Position property
11807 2004-08-23 13:39  pbartok
11809         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11810           - Added method to move mouse cursor
11812 2004-08-23 13:39  pbartok
11814         * XplatUIX11.cs:
11815           - Fixed setting of background color
11816           - Added method to move mouse cursor
11818 2004-08-23 13:16  jordi
11820         * Control.cs: avoids null exception
11822 2004-08-22 17:46  jackson
11824         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11825           PictureBox
11827 2004-08-22 17:40  jackson
11829         * XplatUIX11.cs: Add some missing locks
11831 2004-08-22 15:10  pbartok
11833         * Control.cs, Form.cs:
11834           - Removed OverlappedWindow style from Control, instead it's default
11835             now is child
11836           - Made form windows OverlappedWindow by default
11838 2004-08-22 13:34  jackson
11840         * ScrollBar.cs: Update the position through the Value property so
11841           the OnValueChanged event is raised.
11843 2004-08-22 12:04  pbartok
11845         * SWF.csproj:
11846           - Added Cursor.cs and UserControl.cs
11848 2004-08-22 12:03  pbartok
11850         * Cursor.cs:
11851           - Started implementation, not usable yet
11853 2004-08-22 12:00  pbartok
11855         * UserControl.cs:
11856           - Implemented UserControl (complete)
11858 2004-08-21 19:20  ravindra
11860         * ToolBar.cs: Correcting the formatting mess of VS.NET.
11862 2004-08-21 18:49  ravindra
11864         * ToolBar.cs: Probably this completes the missing attributes in
11865           toolbar control.
11867 2004-08-21 18:03  ravindra
11869         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11870           Fixed toolbar control signatures.
11872 2004-08-21 16:32  pbartok
11874         * LinkLabel.cs:
11875           - Signature Fixes
11877 2004-08-21 16:30  pbartok
11879         * Label.cs:
11880           - Signature fixes
11882 2004-08-21 16:19  pbartok
11884         * Control.cs, Label.cs:
11885           - Signature fixes
11887 2004-08-21 15:57  pbartok
11889         * ButtonBase.cs:
11890           - Added loads of debug output for development
11891           - Fixed typo in method name
11893 2004-08-21 15:52  pbartok
11895         * ToolBarButtonClickEventArgs.cs:
11896           - Added missing base class
11898 2004-08-21 14:53  pbartok
11900         * Control.cs:
11901           - Updated to match new GrabWindow signature
11903 2004-08-21 14:51  pbartok
11905         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11906           - Added method to get default display size
11908 2004-08-21 14:23  pbartok
11910         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11911           - Added method to query current grab state
11912           - Added argument to allow confining a grab to a window
11914 2004-08-21 14:22  pbartok
11916         * Keys.cs:
11917           - Added [Flags] attribute so that modifiers can be used in bitwise
11918           ops
11920 2004-08-21 14:21  pbartok
11922         * TrackBar.cs, ScrollBar.cs:
11923           - Replaced direct XplatUI calls with their Control counterpart
11925 2004-08-21 13:32  pbartok
11927         * Control.cs:
11928           - Implemented Created property
11930 2004-08-21 13:28  pbartok
11932         * Control.cs:
11933           - Implemented ContainsFocus
11935 2004-08-21 13:26  pbartok
11937         * Control.cs:
11938           - Implemented CausesValidation
11940 2004-08-21 13:21  pbartok
11942         * Control.cs:
11943           - Implemented CanFocus
11944           - Implemented CanSelect
11945           - Implemented Capture
11947 2004-08-21 12:35  pbartok
11949         * XplatUIWin32.cs:
11950           - Fixed bug with Async message handling
11951           - Implemented getting the ModifierKeys
11953 2004-08-21 12:32  jackson
11955         * AsyncMethodResult.cs: Make sure we have the mutex before we
11956           release it. Fixes BeginInvoke on windows
11958 2004-08-21 11:31  pbartok
11960         * XplatUIWin32.cs, XplatUIX11.cs:
11961           - Drivers now return proper mouse state
11963 2004-08-21 10:54  jackson
11965         * Control.cs: Implement EndInvoke
11967 2004-08-21 10:48  jackson
11969         * Timer.cs: Remove unneeded finalizer
11971 2004-08-20 19:52  ravindra
11973         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11974           in mouse event handling in the ToolBar control.
11976 2004-08-20 19:50  ravindra
11978         * ImageList.cs: Changed draw method to use the arguments passed in
11979           to draw the image.
11981 2004-08-20 18:58  pbartok
11983         * XplatUIStructs.cs:
11984           - Added private message for async communication
11986 2004-08-20 17:38  ravindra
11988         * Control.cs: Made RightToLeft property virtual and removed a
11989           Console.WriteLine.
11991 2004-08-20 14:39  jordi
11993         * ThemeGtk.cs: use style_attach
11995 2004-08-20 14:39  pbartok
11997         * XplatUIWin32.cs:
11998           - Added jackson's Async code from X11 to Win32
12000 2004-08-20 14:09  pbartok
12002         * SWF.csproj:
12003           - Added all new files
12005 2004-08-20 14:09  pbartok
12007         * Control.cs:
12008           - Added call to set window background color
12010 2004-08-20 14:03  pbartok
12012         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12013           - Added method for setting the window background
12015 2004-08-20 14:02  pbartok
12017         * XplatUIWin32.cs:
12018           - Added method for setting the background color
12019           - Added handling for erasing the window background
12021 2004-08-20 13:45  jordi
12023         * TrackBar.cs: fixes timer, new properties and methods
12025 2004-08-20 13:34  jackson
12027         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12028           correct thread
12030 2004-08-20 13:22  jackson
12032         * Timer.cs: Timer Tick events are now handed through Controls Async
12033           mechanism so the callbacks are executed in the same thread as X
12035 2004-08-20 13:19  jackson
12037         * XplatUIDriver.cs: Expose functionality to send async messages
12038           through the driver
12040 2004-08-20 13:18  jackson
12042         * Control.cs: Implement Begininvoke
12044 2004-08-20 13:14  jackson
12046         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12047           messages through the driver
12049 2004-08-20 13:12  jackson
12051         * XplatUIX11.cs: Lock before all X operations. Also added Async
12052           method functionality through XSendEvent
12054 2004-08-20 13:11  jackson
12056         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12057           This will screw up on 64 bit systems)
12059 2004-08-20 13:10  jackson
12061         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12062           Async messages through X/Win32
12064 2004-08-19 19:39  pbartok
12066         * XplatUIX11.cs:
12067           - Updated code to match new HandleData.DeviceContext type
12069 2004-08-19 19:38  pbartok
12071         * HandleData.cs:
12072           - Made DeviceContext a generic object to allow usage from various
12073           drivers
12074           - Added support for queueing Windows messages
12076 2004-08-19 19:37  pbartok
12078         * XplatUIWin32.cs:
12079           - Added generation of MouseEnter, MouseLeave and MouseHover events
12080           - Added cleanup on EndPaint
12082 2004-08-19 19:17  pbartok
12084         * Control.cs:
12085           - Added handling of WM_MOUSEHOVER
12086           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12087           code
12089 2004-08-19 18:55  jordi
12091         * ThemeGtk.cs: fixes button order
12093 2004-08-19 18:12  jordi
12095         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12097 2004-08-19 17:09  pbartok
12099         * Control.cs:
12100           - Added Right property
12101           - Added RightToLeft property
12103 2004-08-19 16:27  jordi
12105         * ThemeGtk.cs: experimental GTK theme support
12107 2004-08-19 16:26  jordi
12109         * ITheme.cs, Theme.cs: move themes from an interface to a class
12111 2004-08-19 16:25  jordi
12113         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12114           theme enhancaments
12116 2004-08-19 16:04  pbartok
12118         * XplatUIX11.cs:
12119           - Added colormap basics
12120           - Added a way to re-initialize with a different display handle
12121           - Fixed setting of the window background color
12122           - Added various X11 imports related to colors and colormaps
12124 2004-08-19 15:51  pbartok
12126         * X11Structs.cs:
12127           - Removed packing hints (Paolo suggested this a while back)
12128           - fixed colormap type
12129           - Added default Atom types
12130           - Added Screen and color structs and enums
12132 2004-08-19 15:39  pbartok
12134         * ImageList.cs:
12135           - Added missing Draw() method
12136           - Added missing RecreateHandle event
12138 2004-08-19 15:30  pbartok
12140         * Form.cs:
12141           - Added handling of WM_CLOSE
12143 2004-08-18 13:16  jordi
12145         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12146           a table
12148 2004-08-18 09:56  jordi
12150         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12152 2004-08-17 15:31  ravindra
12154         * SWF.csproj: Updated project.
12156 2004-08-17 15:25  pbartok
12158         * Control.cs:
12159           - Drawing improvement; don't call UpdateBounds if we are not visible
12160             (or have been minimized)
12162 2004-08-17 15:24  pbartok
12164         * XplatUIWin32.cs:
12165           - Finished IsVisible
12166           - Added Win32GetWindowPlacement
12168 2004-08-17 15:08  jackson
12170         * Panel.cs: Initial checkin of the Panel
12172 2004-08-17 14:25  pbartok
12174         * Control.cs:
12175           - Fixed broken handling of default window sizes
12177 2004-08-17 13:29  jackson
12179         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12180           has a large startup time.
12182 2004-08-17 10:25  jackson
12184         * HandleData.cs: union areas properly
12186 2004-08-17 10:12  jackson
12188         * HandleData.cs: union areas properly
12190 2004-08-16 20:00  ravindra
12192         * ToolBar.cs, ToolBarButton.cs: Added attributes.
12194 2004-08-16 18:48  ravindra
12196         * ToolBar.cs: Added attributes.
12198 2004-08-16 17:17  ravindra
12200         * SWF.csproj: Updated project.
12202 2004-08-16 17:16  jackson
12204         * XplatUIX11.cs: Check for more expose events before sending a
12205           WM_PAINT so they can all be grouped together. This makes dragging a
12206           window across another window redraw in a sane way.
12208 2004-08-16 15:47  pbartok
12210         * Control.cs:
12211           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12212             support OnMouseEnter/Leave()
12213           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12214             exposure handling
12216 2004-08-16 15:46  pbartok
12218         * XplatUIStructs.cs, XplatUIX11.cs:
12219           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12220           OnMouseEnter/Leave()
12222 2004-08-16 15:34  jackson
12224         * XplatUIX11.cs: Group multiple expose events in HandleData, make
12225           sure messages get the message field set to WM_NULL if they are not
12226           handled.
12228 2004-08-16 15:24  jackson
12230         * HandleData.cs: HandleData is used for storing message information
12231           for window handles
12233 2004-08-15 17:23  ravindra
12235         * ColorDepth.cs: Added attribute.
12237 2004-08-15 17:23  ravindra
12239         * SWF.csproj: Updated project for ToolBar Control.
12241 2004-08-15 17:20  ravindra
12243         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12244           control and also dos2unix format.
12246 2004-08-15 17:13  ravindra
12248         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12249           ToolBarButtonClickEventArgs.cs,
12250           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12251           ToolBarTextAlign.cs: First Implementation of ToolBar control.
12253 2004-08-15 15:31  pbartok
12255         * ButtonBase.cs:
12256           - First (mostly) working version
12258 2004-08-13 16:15  pbartok
12260         * Control.cs:
12261           - Fixed Anchor default
12263 2004-08-13 15:43  pbartok
12265         * Control.cs:
12266           - Changed GetCursorPos signature
12268 2004-08-13 15:42  pbartok
12270         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12271           - Changed signature for GetCursorPos
12273 2004-08-13 15:25  pbartok
12275         * XplatUIX11.cs:
12276           - Cleanup
12277           - Fixed resizing/exposure handling
12279 2004-08-13 15:22  jordi
12281         * ThemeWin32Classic.cs: removes redundant code and fixes issues
12282           with tickposition
12284 2004-08-13 14:55  jordi
12286         * TrackBar.cs: change from wndproc to events
12288 2004-08-13 13:00  jordi
12290         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12291           XplatUIX11.cs: implements PointToClient (ScreenToClient)
12293 2004-08-13 12:53  pbartok
12295         * XplatUIWin32.cs:
12296           - Changed GetWindowPos to also provide client area size
12297           - Fixed broken prototypes for several win32 functions
12299 2004-08-13 12:53  pbartok
12301         * XplatUI.cs, XplatUIDriver.cs:
12302           - Changed GetWindowPos to also provide client area size
12304 2004-08-13 12:52  pbartok
12306         * XplatUIX11.cs:
12307           - Added generation of WM_POSCHANGED
12308           - Changed GetWindowPos to also provide client area size
12310 2004-08-13 12:52  pbartok
12312         * Control.cs:
12313           - Added Dispose() and destructor
12314           - Fixed resizing and bounds calculation
12315           - Fixed Layout
12316           - Added memory savings for invisible windows
12318 2004-08-13 12:46  jordi
12320         * TrackBar.cs: adds timer and grap window
12322 2004-08-13 10:25  jackson
12324         * Timer.cs: SWF Timer
12326 2004-08-12 16:59  pbartok
12328         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12329           - Implemented method to get current mouse position
12331 2004-08-12 14:29  jordi
12333         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12334           enhancement, fix mouse problems, highli thumb, etc
12336 2004-08-12 13:31  pbartok
12338         * Control.cs:
12339           - Fixed Anchoring bugs
12341 2004-08-12 13:01  jackson
12343         * StatusBar.cs: Don't forget things
12345 2004-08-12 12:54  jackson
12347         * ThemeWin32Classic.cs: Handle owner draw status bars
12349 2004-08-12 12:54  jackson
12351         * StatusBar.cs: Implement missing properties, events, and methods.
12352           Handle mouse clicking
12354 2004-08-12 10:19  jackson
12356         * StatusBarPanelClickEventArgs.cs,
12357           StatusBarPanelClickEventHandler.cs: Classes for handling status
12358           bar panel click events
12360 2004-08-12 10:10  jackson
12362         * Control.cs: Add missing properties
12364 2004-08-12 09:46  pbartok
12366         * BindingsManagerBase.cs:
12367           - Name changed to BindingManagerBase.cs
12369 2004-08-12 09:25  jordi
12371         * ScrollableControl.cs: calls ctrlbase instead of exeception
12373 2004-08-11 16:28  pbartok
12375         * InputLanguageChangingEventArgs.cs:
12376           - Never check in before compiling. Fixes the last check-in
12378 2004-08-11 16:26  pbartok
12380         * InputLanguageChangingEventArgs.cs:
12381           - More signature fixes
12383 2004-08-11 16:20  pbartok
12385         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12386           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12387           ImageListStreamer.cs, InputLanguage.cs,
12388           InputLanguageChangedEventArgs.cs,
12389           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12390           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12391           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12392           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12393           - Signature fixes
12395 2004-08-11 16:16  pbartok
12397         * Application.cs:
12398           - Fixed Signature
12399           - Added .Net 1.1 method
12401 2004-08-11 15:25  pbartok
12403         * SWF.csproj:
12404           - Fixed BindingManagerBase.cs filename
12406 2004-08-11 15:22  pbartok
12408         * BindingManagerBase.cs:
12409           - Was checked in with wrong filename
12411 2004-08-11 14:50  pbartok
12413         * SWF.csproj:
12414           - Updated
12416 2004-08-11 13:41  jordi
12418         * XplatUIWin32.cs: Fixes ClientRect
12420 2004-08-11 13:19  pbartok
12422         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12423           XplatUIX11.cs:
12424           - We had SetWindowPos and MoveWindow to set window positions and
12425             size, removed MoveWindow. We have GetWindowPos, so it made sense to
12426             keep SetWindowPos as matching counterpart
12427           - Added some X11 sanity checking
12429 2004-08-11 12:59  pbartok
12431         * Control.cs:
12432           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12433             (It seems that SetBounds is just a front for SetBoundsCore and
12434              SetBoundsCore updates the underlying window system and
12435              UpdateBounds is responsible for updating the variables associated
12436              with the Control and sending the events)
12437           - Major cleanup of Size handling; we now have two sizes, client_size
12438             and bounds. Bounds defines the window with decorations, client_size
12439             without them.
12441 2004-08-11 12:55  pbartok
12443         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12444           - Added method to calculate difference between decorated window and
12445             raw client area
12447 2004-08-11 12:54  pbartok
12449         * Label.cs:
12450           - Forcing redraw on resize
12452 2004-08-11 11:43  pbartok
12454         * ImageList.cs:
12455           - Removed disposing of the actual images when the list is disposed
12457 2004-08-11 09:13  pbartok
12459         * Control.cs:
12460           - Now properly reparents windows
12462 2004-08-11 08:37  pbartok
12464         * Control.cs:
12465           - Duh!
12467 2004-08-11 07:47  pbartok
12469         * Control.cs:
12470           - Rewrote the collection stuff. Might not be as fast now, not
12471             keeping the number of children around and accessible directly, but
12472             it's more straightforward
12474 2004-08-11 07:44  pbartok
12476         * AccessibleObject.cs:
12477           - Fixed to match ControlCollection rewrite
12479 2004-08-11 07:43  pbartok
12481         * ImageList.cs:
12482           - Added missing creation of the collection list
12484 2004-08-10 20:08  jackson
12486         * StatusBar.cs: Get the paint message from WndProc
12488 2004-08-10 19:31  jackson
12490         * ThemeWin32Classic.cs: Create Brushes as little as possible
12492 2004-08-10 19:20  jackson
12494         * UICues.cs: Add Flags attribute
12496 2004-08-10 19:19  jackson
12498         * StatusBarPanel.cs: Signature cleanup
12500 2004-08-10 19:10  jackson
12502         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12503           Initial implementation of status bar item drawing
12505 2004-08-10 17:27  jordi
12507         * TrackBar.cs: add missing methods, properties, and restructure to
12508           hide extra ones
12510 2004-08-10 16:24  jackson
12512         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12513           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12514           attribute
12516 2004-08-10 13:21  jordi
12518         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12519           enhancements and standarize on win colors defaults
12521 2004-08-10 12:52  jackson
12523         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12524           ThemeWin32Classic.cs: Implement DrawItem functionality
12526 2004-08-10 12:47  jordi
12528         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12530 2004-08-10 12:32  jordi
12532         * Control.cs: throw ontextchange event
12534 2004-08-10 11:43  pbartok
12536         * Control.cs:
12537           - Added more to the still unfinished Dock/Anchor layout code
12539 2004-08-10 11:39  pbartok
12541         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12542           - Added GetWindowPos method
12544 2004-08-10 11:36  pbartok
12546         * XplatUIWin32.cs:
12547           - Implemented several methods
12549 2004-08-10 09:47  jackson
12551         * TrackBar.cs: Allow control to handle buffering
12553 2004-08-10 09:41  jackson
12555         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12557 2004-08-10 09:24  jackson
12559         * Label.cs, LinkLabel.cs: Let Control handle buffering.
12561 2004-08-10 09:09  jackson
12563         * StatusBar.cs: Let Control handle all the buffering.
12565 2004-08-10 09:08  jackson
12567         * Control.cs: Control will now handle the buffering code, so each
12568           control does not have to implement this.
12570 2004-08-10 08:34  jackson
12572         * XplatUIDriver.cs: Use default colors from the theme
12574 2004-08-09 17:12  pbartok
12576         * ImageList.cs:
12577           - Fixed several bugs Ravindra pointed out
12579 2004-08-09 16:11  pbartok
12581         * Control.cs:
12582           - Added incomplete dock layout code
12583           - Added support for mouse wheel
12585 2004-08-09 16:09  pbartok
12587         * XplatUIX11.cs:
12588           - Added handling for middle and right mousebutton
12589           - Added handling for mouse wheel
12590           - Added handling for key state and mouse state and position
12591           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12592           messages
12594 2004-08-09 15:40  jackson
12596         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12597           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12598           checkin
12600 2004-08-09 15:37  jackson
12602         * StatusBar.cs: Initial implementation of StatusBar
12604 2004-08-09 15:36  jackson
12606         * ITheme.cs: Add support for drawing status bar and getting status
12607           bar item sizes
12609 2004-08-09 15:35  pbartok
12611         * MouseButtons.cs:
12612           - Fixed values
12614 2004-08-09 15:34  jackson
12616         * ThemeWin32Classic.cs: Add support for drawing status bar and get
12617           status bar item sizes
12619 2004-08-09 15:21  jackson
12621         * ThemeWin32Classic.cs: Use known colors for default control
12622           colours
12624 2004-08-09 15:12  jackson
12626         * ThemeWin32Classic.cs: Make the default font static, it is static
12627           in control so this doesn't change functionality and creating fonts
12628           is sloooooow.
12630 2004-08-09 14:56  pbartok
12632         * X11Structs.cs:
12633           - Added GrabMode enum
12635 2004-08-09 14:55  pbartok
12637         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12638           - Removed Run method, was only required for initial development
12640 2004-08-09 14:51  pbartok
12642         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12643           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12644           capture
12646 2004-08-09 13:48  pbartok
12648         * XplatUIX11.cs:
12649           - Fixed default sizing for child windows
12651 2004-08-09 12:56  pbartok
12653         * XplatUIX11.cs:
12654           - Added generation of WM_DESTROY message
12655           - Added handling of window manager induced shutdown
12657 2004-08-09 11:31  jackson
12659         * ThemeWin32Classic.cs: New names for control properties
12661 2004-08-09 11:25  jackson
12663         * Control.cs: Use new color names
12665 2004-08-09 11:02  jackson
12667         * XplatUI.cs: Get default window properties from the theme
12669 2004-08-09 11:01  jackson
12671         * ITheme.cs: The theme engine now controls default window
12672           properties
12674 2004-08-09 11:00  jackson
12676         * ThemeWin32Classic.cs: Add default window color properties
12678 2004-08-09 10:17  jackson
12680         * ThemeWin32Classic.cs: Use correct default back color
12682 2004-08-09 10:05  jackson
12684         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12685           the theme now.
12687 2004-08-09 09:56  jackson
12689         * XplatUI.cs: Remove defaults, these are handled by the theme now.
12691 2004-08-09 09:54  jackson
12693         * Control.cs: Get default properties from the theme.
12695 2004-08-09 09:53  jackson
12697         * ITheme.cs: Themes now handle default control properties
12699 2004-08-09 09:53  jackson
12701         * ThemeWin32Classic.cs: Themes now handle default control
12702           properties so coloring will be consistent
12704 2004-08-08 16:54  jordi
12706         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12708 2004-08-08 15:08  jordi
12710         * XplatUIX11.cs: fixes keyboard crash
12712 2004-08-08 13:47  jordi
12714         * Label.cs: add cvs header info
12716 2004-08-08 12:09  jackson
12718         * ThemeWin32Classic.cs: Add pen_buttonface
12720 2004-08-08 11:52  jordi
12722         * Label.cs, LinkLabel.cs: [no log message]
12724 2004-08-08 11:34  jordi
12726         * ThemeWin32Classic.cs: Use Windows Standard Colours
12728 2004-08-07 17:32  jordi
12730         * TrackBar.cs: throw exceptions of invalid enums values
12732 2004-08-07 17:31  jordi
12734         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12735           draw method name
12737 2004-08-07 16:56  jackson
12739         * HorizontalAlignment.cs: Initial checkin
12741 2004-08-07 13:16  jordi
12743         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12744           methods
12746 2004-08-07 13:05  jordi
12748         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12749           GetSysColor defines
12751 2004-08-06 18:01  pbartok
12753         * ThemeWin32Classic.cs:
12754           - Fixed some rounding issues with float/int
12756 2004-08-06 18:00  jackson
12758         * DockStyle.cs, AnchorStyles.cs:
12760                   Add flags and serializable attributes.
12762 2004-08-06 17:46  pbartok
12764         * XplatUIX11.cs:
12765           - Implemented GetParent
12767 2004-08-06 17:18  pbartok
12769         * TrackBar.cs:
12770           - Fixed some rounding issues with float/int
12772 2004-08-06 17:17  pbartok
12774         * X11Structs.cs, XplatUIX11.cs:
12775           - Fixed Refresh and Invalidate
12777 2004-08-06 15:30  pbartok
12779         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12780           - Fixed recursive loop when resizing
12781           - Improved/fixed redrawing on expose messages
12783 2004-08-06 09:53  jordi
12785         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12786           keyboard navigation
12788 2004-08-06 08:02  pbartok
12790         * X11Structs.cs, XplatUIX11.cs:
12791           - Fixed reparenting
12792           - Fixed window border creation
12794 2004-08-05 15:38  pbartok
12796         * XplatUIX11.cs:
12797           - Attempted fix for reparenting problems
12799 2004-08-04 15:14  pbartok
12801         * Control.cs:
12802           - Fixed Invalidation bug (calculated wrong client area)
12803           - Added ClientSize setter
12805 2004-08-04 15:13  pbartok
12807         * Form.cs:
12808           - Added AutoScale properties
12810 2004-08-04 15:13  pbartok
12812         * SWF.csproj:
12813           - Added latest files
12815 2004-08-04 14:11  pbartok
12817         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12818           XplatUIX11.cs:
12819           - Added Invalidate handling
12821 2004-08-03 17:09  jordi
12823         * XplatUIDriver.cs: fixes spelling mistake
12825 2004-07-27 09:53  jordi
12827         * TrackBar.cs: fixes trackbar events, def classname, methods
12828           signature
12830 2004-07-27 09:29  jordi
12832         * ScrollBar.cs: fixes scrollbar events
12834 2004-07-27 04:38  jordi
12836         * Control.cs: changes to be able to run winforms samples
12838 2004-07-26 11:42  jordi
12840         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12841           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12843 2004-07-26 05:41  jordi
12845         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12846           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12847           implementation
12849 2004-07-22 09:22  jordi
12851         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12852           check link overlapping, implement events, and fixes
12854 2004-07-21 10:28  jordi
12856         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12858 2004-07-21 10:19  jordi
12860         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12861           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12862           LinkLabelLinkClickedEventArgs.cs,
12863           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12864           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12865           implementation
12867 2004-07-19 13:09  jordi
12869         * Control.cs, Label.cs: label control re-written: added missing
12870           functionlity, events, and properties
12872 2004-07-19 10:49  jordi
12874         * Control.cs: fixes SetBounds logic
12876 2004-07-19 01:29  jordi
12878         * Control.cs: Call RefreshWindow only if the window has created
12880 2004-07-15 14:05  pbartok
12882         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12883           - Implemented ImageList and ImageList.ImageCollection classes
12884           - Added ColorDepth enumeration
12885           - Updated SWF VS.Net project
12887 2004-07-15 11:06  jordi
12889         * XplatUIStructs.cs: added MsgButons enum
12891 2004-07-15 11:03  jordi
12893         * Control.cs: added basic mouse handeling events
12895 2004-07-15 03:38  jordi
12897         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12898           Vertical TrackBar control implementation
12900 2004-07-13 09:33  jordi
12902         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12904 2004-07-13 09:31  jordi
12906         * Control.cs, Form.cs: commit: new properties and fixes form size
12907           problems
12909 2004-07-09 14:13  miguel
12911         * ProgressBar.cs: Spelling
12913 2004-07-09 11:25  pbartok
12915         * ProgressBar.cs:
12916           - Removed usage of Rectangle for drawing. Miguel pointed out it's
12917           faster
12919 2004-07-09 11:17  miguel
12921         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
12923                 * ProgressBar.cs: Fixed spelling for `block'
12925                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12926                 style guidelines.
12928                 Avoid using the += on rect.X, that exposed a bug in the compiler.
12930 2004-07-08 23:21  pbartok
12932         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12933           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12934           BaseCollection.cs, Binding.cs, BindingContext.cs,
12935           BindingMemberInfo.cs, BindingsCollection.cs,
12936           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12937           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12938           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12939           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12940           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12941           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12942           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12943           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12944           FrameStyle.cs, GiveFeedbackEventArgs.cs,
12945           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12946           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12947           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12948           InputLanguageChangedEventArgs.cs,
12949           InputLanguageChangedEventHandler.cs,
12950           InputLanguageChangingEventArgs.cs,
12951           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12952           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12953           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12954           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12955           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12956           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12957           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12958           QueryAccessibilityHelpEventArgs.cs,
12959           QueryAccessibilityHelpEventHandler.cs,
12960           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12961           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12962           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12963           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12964           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12965           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12966           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12967           XplatUIX11.cs, lang.cs:
12968           - Initial check-in