2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
2
3         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
4           the keyboard state from being stuck with keys in 'pressed' state when
5           focus is switched away via keyboard
6         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
7           reset the keyboard if no X11 KeyUp events are expected to come
8         * X11Structs.cs: Switched type of Visible to bool to match driver
9
10 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
11
12         * TextControl.cs:
13           - Switched caret to be just 1 pixel wide, matches MS and looks less
14             clunky
15           - Moved caret display 1 pixel down from the top of the control
16             to improve view
17           - InsertCharAtCharet: Update the selection start if moving the caret
18             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
19           - No longer always creating the caret when the caret methods are
20             called. Only the actual ShowCaret/HideCaret will do that now
21           - Only setting caret visible if the owner control has focus
22           - UpdateView: Added invalidation-shortcut logic for center and right 
23             aligned text. Previously we'd update all according to the left
24             logic which caused drawing errors. Also fixed height of invalidated
25             areas, now properly invalidating the whole area (was off-by-one)
26           - owner_HandleCreated: Always generate the document when the
27             handle is created; this ensures that 
28         * TextBoxBase.cs:
29           - Fixed situation where caret would disappear under the right
30             window border, also improved scrolling behaviour on left-
31             aligned textboxes
32           - Fixed right-aligned textboxes to have a border to the
33             right instead of the caret being under the right border
34         * XplatUIX11.cs:
35           - Switched from 'nested' to simple visible/not visible tracking 
36             for caret (part of fix for #77671)
37           - No longer passing through translated FocusIn/FocusOut messages
38             since we were notifying too often and the wrong windows. Instead
39             we just notify our focussed window of receiving or loosing focus
40         * XplatUIWin32.cs: Switched from 'nested' show/hide 
41           counting for caret to simple visible yes/no behaviour (part of 
42           fix for #77671)
43
44 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
45
46         * Mime.cs: Remove debug code...
47
48 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
49
50         * MimeGenerated.cs: Removed
51         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
52           and subclasses) from /usr/(local/)share/mime and
53           $HOME/.local/share/mime.
54
55 2006-03-10  Jackson Harper  <jackson@ximian.com>
56
57         * MdiWindowManager.cs: Recalc the NC area when a window is
58         maximized/restored so that the menu area is drawn on forms that
59         don't have a menu.
60
61 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
62
63         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
64           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
65           us to force a WM_NCCALCRESIZE message being sent. This is needed
66           for MDI maximizing.
67
68 2006-03-10  Jackson Harper  <jackson@ximian.com>
69
70         * Form.cs: We need to use the ActiveMenu when calculating menu
71         height.
72         - Fix nullref when the window manager hasn't been created yet.
73         * Control.cs: Fix nullref when we try to bring a control to the
74         front that has no parent.
75         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
76         height.
77         - Add a dummy item to the maximized menu so it always has the
78         correct height. Otherwise when there are no menus we don't get our
79         icon and buttons.
80         
81
82 2006-03-10  Jackson Harper  <jackson@ximian.com>
83
84         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
85         stuff.
86         * Form.cs: Make the window_state internal so the window managers
87         can track it.
88         - When an MDI child is maximized let its window manager create the
89         main menu (so it can add its icon).
90         - Notify the window managers of state changes
91         - Let the window manager paint its buttons and handle button
92         clicks on the menu when it is maximized.
93         * InternalWindowManager.cs: Move the prev_bounds into the mdi
94         window manager, since tool windows don't use it, only mdi windows.
95         - Tell the main form that we don't want it to handle NCPAINT
96         itself to avoid extra painting.
97         - Handle clicks on a maximized windows menu.
98         - Handle window state changes
99         - Handle minimize/maximize clicks correctly by setting the window state.
100         * MdiWindowManager.cs: Add an icon menu that (the menu you get
101         when clicking on the forms icon).
102         - New method to create a forms maximized menu. This is its normal
103         menu + an icon.
104         - Handle window state changes.
105         - Handle sizing of maximized windows.  Maximized windows are just
106         drawn bigger then the parent visible area. All controls are still
107         there, they are just outside the visible area (this matches windows).
108         * MdiClient.cs: No scrollbars when a child window is maximized.
109         - Let the children windows figure out how big they should be when
110         sizing maximized windows.
111         - Implement a version of ArrangeIconicWindows somewhat similar to
112         Windows version.  There are some little differences, but I don't
113         think any app will rely on the layout of minimized mdi windows.
114
115 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
116
117         * Padding.cs: Several fixes to allow compiling with csc 2.0
118
119 2006-03-09  Jackson Harper  <jackson@ximian.com>
120
121         * Menu.cs:
122         * MenuItem.cs: Cheap hack so we can add items to the list without
123         the events being raised.  This allows adding mdi items during
124         drawing. TODO: Should probably find a better time to add the items.
125
126 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
127
128         * ThemeWin32Classic.cs:
129           - CheckBox_DrawText: Added logic to not wrap if not enough space
130             is available (Fix for bug #77727)
131           - RadioButton_DrawText: Added logic not to wrap if not enough
132             space is available (Fix for bug #77727). Also removed some
133             duplicate code, DrawString always drawing the regular text
134             before hitting the if statement.
135
136 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
137
138         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
139
140 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
141
142         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
143         * ContainerControl.cs: Partial implementation of some 2.0 scaling
144           methods. Moved the new 2.0 properties into alphabetical order with
145           other properties and added MonoTODO tags
146
147 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
148
149         * AutoScaleMode.cs: Added. Fix build.
150
151 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
152
153         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
154           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
155           and was requiring premature handle creation for calls from above
156         * Form.cs, Control.cs: Removed handle arguments from calls to
157           CalculateClientRect()
158
159 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
160
161         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
162           drag_column.column_rect is MarshalByRef and can't be used that way
163
164 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
165
166         * AxHost.cs: Added deserialization constructor for 
167           AxHost+State (fixes 77743)
168
169 >>>>>>> .r57770
170 2006-03-09  Mike Kestner  <mkestner@novell.com>
171
172         * ListView.cs: 
173         - Added column drag reordering for details view.
174         - fixed behavior when mouse is dragged off column and
175         AllowColumnReorder is false.
176         * ColumnHeader.cs: clone the format too in Clone.
177         * Theme.cs: add DrawListViewHeaderDragDetails method.
178         * ThemeWin32Classic.cs:
179         - impl new method for drawing drag column shadows and targets.
180         - support column offset for details mode in DrawListViewItem.
181
182 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
183
184         * TextControl.cs: Reset the char_count when the document is cleared
185           (Fixes bug reported on mono-winforms mailing list)
186
187 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
188
189         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
190           of calling base we simply process the key ourselves, since both
191           DefWindowProc and the handled method would set m.Result. 
192           (Fixes #77732)
193
194 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
195
196         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
197           method also moves the window; instead implemented a copy of
198           Control.ScaleCore (Part of fix for #77456)
199         * TextBoxBase.cs: 
200           - Created new CreateGraphicsInternal method to allow providing
201             a graphics context when no handle is created without triggering
202             handle creation. (Part of fix for #77456)
203           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
204         * TextControl.cs: 
205           - Switched Constructor to require TextBoxBase instead of Control (to
206             allow uncast access to CreateGraphicsInternal)
207           - Safeguarded use of owner.Handle property. No longer accessing it
208             unless the handle is already created.
209           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
210           - Now triggering a recalc when owning control becomes visible
211         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
212           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
213           premature handle creation (Part of fix for #77456)
214         * Control.cs:
215           - We now only destroy our double-buffering buffers when the
216             control is resized or disposed, but not when visibility
217             changes. (The code even re-created them twice every time)
218           - Now requiring a redraw of the buffer on visibility changes
219             (fixes bug 77654 part 2)
220           - Not passing OnParentVisibleChanged up unless the control
221             is visible
222           - CanFocus: Fixed to match MS documentation
223           - Focus: Fixed to return actual focus state and to check if
224             setting focus is legal before setting it
225
226 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
227
228         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
229           when to draw focus rectangle by looking at parent focus and
230           selected state instead. This fixes TabPages on Linux sometimes
231           having none or multiple focus rectangles.
232         * XplatUIX11.cs (SetFocus): 
233           - Don't set the focus if the same window already has focus
234           - Use SendMessage instead of PostMessage (like it's Win32
235             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
236             to match MS behaviour
237         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
238           are not selectable.
239
240 2006-03-07  Jackson Harper  <jackson@ximian.com>
241
242         * PictureBox.cs: Revert line I accidently committed last week.
243
244 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
245
246         * Control.cs: 
247           - Added new IsRecreating and ParentIsRecreating properties to
248             allow testing if RecreateHandle has been called on ourselves
249             or one of our parents
250           - WndProc(WM_DESTROY): If our control handle is being recreated
251             we immediately need to create the handle when receiving the
252             destroy, that way our child windows find a valid parent handle
253             when they themselves are being recreated upon WM_DESTROY receipt
254             (fix for bug #77654 part 1)
255         * XplatUIX11.cs:
256           - DestroyWindow: WM_DESTROY must be sent to our own window before
257             notifying any child windows. MS documents that child windows
258             are still valid when WM_DESTROY is received. (Control now relies on
259             this behaviour)
260           - Added some fine-grain debug options
261
262 2006-03-06  Jackson Harper  <jackson@ximian.com>
263
264         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
265         box and base calculations off this.
266         * MdiChildContext.cs:
267         * MdiWindowManager.cs: Don't need to ensure scrollbars here
268         anymore.
269         
270 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
271
272         * Splitter.cs: In situations where the affected control is added
273           to the parent's control list after the splitter, we would not
274           populate affected. Now we try populating it on mousedown, if
275           it's not already set, and force it to be re-set whenever our
276           parent changes.
277
278 2006-03-03  Matt Hargett  <matt@use.net>
279
280         * Control.cs: implement Control.Padding
281         * Padding.cs: -Padding.All returns -1 when constructing with the
282         implicit default ctor
283         -Padding.ToString() matches MS.NET
284         * ContainerControl.cs: implement
285         ContainerControl.AutoScaleDimensions
286         * ListControl.cs: implement ListControl.FormattingEnabled
287         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
288         * ButtonBase.cs:
289         * TabPage.cs: Implement UseVisualStyleBackColor.
290         * PictureBox.cs: Implement PictureBox.InitialImage.
291
292 2006-03-03  Mike Kestner  <mkestner@novell.com>
293
294         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
295         event declarations to proxy to base event.
296         * ListViewItem.cs: update to use ItemControl.
297         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
298         * ThemeWin32Classic.cs: update to new ListView theme API and fix
299         column header label rendering for 0 width columns.
300
301 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
302
303         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
304           that causes the control to be created. Fixes #77476.
305
306 2006-03-02  Jackson Harper  <jackson@ximian.com>
307
308         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
309         expose_pending.
310
311 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
312
313         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
314           passed in for the EventArgs (fixes #77690)
315
316 2006-03-01  Jackson Harper  <jackson@ximian.com>
317
318         * ScrollBar.cs: Refresh afterbeing resized.
319
320 2006-02-28  Mike Kestner  <mkestner@novell.com>
321
322         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
323         Clean up a tracker compile warning.
324         * MenuItem.cs: add internal PerformPopup method.
325         [Fixes #77457]
326
327 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
328
329         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
330           implicit expose) when the text is set to null
331
332 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
333
334         * RichTextBox.cs (FlushText): When newline is true, we always
335           need to split the line, even if no text is on it and we may
336           never eat newlines. (Fixes #77669)
337
338 2006-02-28  Mike Kestner  <mkestner@novell.com>
339
340         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
341         and set Selected instead.
342         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
343         collections.
344
345 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
346
347         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
348
349 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
350
351         * FontDialog.cs:
352           - Got rid of the panel. All controls are now directly added to
353             the dialog form
354           - It is now possible to set a font with the Font property
355           - MinSize and MaxSize property do now what they should
356           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
357           - Searching and selecting a font with the font textbox works now,
358             the same applies to the style and size textbox
359           - Draw the correct 3D border in the example panel
360           - Fixed a little mem leak (unused fonts didn't get disposed)
361           - Many other internal updates/rewrites...
362           - Fix typo
363
364 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
365
366         * TextControl.cs: 
367           - InsertRTFFromStream: Added 'number of characters inserted' argument
368           - set_SelectedRTF: Now using the number of characters to calculate
369             the new location for the selection and cursor (x/y cannot be used
370             due to potentially already wrapped text)
371
372 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
373
374         * TextControl.cs: Added property and implemented means to allow 
375           disabling recalculation of a document (can be used to speed up
376           multiple inserts and is needed to make RTF inserts predictable, see
377           bug #77659)
378         * RichTextBox.cs: Using the new NoRecalc property of Document to
379           keep x/y insert locations predictable. Also makes it faster inserting
380           large chunks of RTF
381
382 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
383
384         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
385           it's easier for a child control to handle the other messages without
386           having to duplicate the special functionality
387         * TextBoxBase.cs
388           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
389             code to handle processing the key ourselves, in order to get 
390             access to the result of KeyEventArgs.Handled. We now only call 
391             ProcessKey if they key hasn't been handled already. Fixes #77526.
392           - set_Text: If null or empty string is given, just clear the 
393             document. Fixes part of #77526
394
395 2006-02-27  Jackson Harper  <jackson@ximian.com>
396
397         * SizeGrip.cs: Paint the background color before painting the grip
398         so things look right.
399         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
400
401 2006-02-27  Mike Kestner  <mkestner@novell.com>
402
403         * ListView.cs:
404           - Restructure layout and invalidation model to remove a ton of
405           flicker from the control and speed up performance in general.
406           - Add manual column resize, flickers like crazy, but I already have
407           some ideas on how I'll fix that. (#76822)
408           - Merge the three Icon-based views into a single layout method.
409           - Move item selection interaction logic from the item since 
410           interaction with the collections is more appropriate to the view.
411           - Deselection on non-item clicks.
412         * ListViewItem.cs:
413           - Encapsulate most of the layout. Add some internal props to trigger
414           layout.  Move to a model where Items invalidate themselves instead
415           of just invalidating the whole control every time something changes.
416           - Invalidate on Text/Caption changes.
417           - switch to an offset based layout model to avoid having to absolute
418           position every element on item moves.
419           - correct checkbox layout to conform to MS layout.
420         * ThemeWin32Classic.cs:
421           - refactor some column header drawing code.
422           - fix string justification for column headers (#76821)
423           - make SmallIcon labels top justified for compat with MS impl.
424         * ThemeClearlooks.cs:
425           - adjust to new ListViewItem internal checkbox bounds api.
426
427 2006-02-27  Jackson Harper  <jackson@ximian.com>
428
429         * Control.cs:  Change where implicit controls fall in the zorder.
430         They are now on top of all children.
431         - Synced AddImplicit code with Add
432         - Removed unused enumerator.
433         * SizeGrip.cs: Remove the TODO as its been TODONE.
434
435 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
436
437         * TextControl.cs(Insert): Combine the last lines unless the insertion
438           string ends with \n\n, otherwise we leave one line too many (Fixes
439           something I noticed with the testapp for #77526; the bug itself was
440           already fixed in the previous checkin)
441
442 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
443
444         * RichTextBox.cs:
445           - SelectionColor and SelectionFont methods no longer set absolute
446             styles. Instead, the keep font or color respectively (This 
447             resolves a long-standing FIXME in the code)
448           - When flushing RTF text, the insert code now considers text trailing
449             behind the insertion point (Fixes the bug where when replacing
450             the selected text via SelectedRTF the remainder of the line behind 
451             the selection would stay on the first insertion line)
452         * TextBoxBase.cs:
453           - AppendText now updates the selection points after inserting text
454           - AppendText now ensures that the last tag (sometimes 0-length) of
455             the document is used for the style information (Fixes part of 
456             bug #77220)
457         * TextControl.cs:
458           - Created new FontDefiniton class to allow describing partial style
459             changes
460           - StreamLine() now takes a lines argument, to allow it to decide
461             whether an encountered zero-length tag is the last in the document
462             (which must be kept to not loose the font/color contained in it,
463             for later appends)
464           - Created Combine() and Split() methods for Marker structs, to 
465             support marker updates due to reformatted documents (soft line
466             wraps)
467           - Implemented Document.CaretTag setter
468           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
469             of the last line (Not the cause, but also exposed by bug #77220)
470           - Added LineTag argument to InsertString method, to allow callers
471             to force a certain tag to be used (required to force use of the
472             trailing zero-length tag of a document)
473           - Now updating markers in Combine(), to avoid stale tag markers
474           - Added some method descriptions to aid maintenance
475           - Implemented new FormatText concept, allowing additive/subtractive
476             formatting by only specifying the components that are to be 
477             changed. This was needed for resolving the RTB.SelectedColor/
478             RTB.SelectedFont fixmes
479           - Added Break() support method to allow breaking up linetags (used
480             for partial formatting)
481           - Added GenerateTextFormat() method. It is used for partial 
482             formatting and allows to generate a full font/color from given
483             attributes and an existing tag.
484
485 2006-02-26  Jackson Harper  <jackson@ximian.com>
486
487         * XplatUIX11.cs:  Use the correct caption height.
488         - Translate hittest coordinates to screen coords to match MS.
489         * XplatUIWin32.cs: When we create MDI windows we need to reset
490         some of the style flags, so we get a nice blank window, and can
491         draw all the decorations ourselves.
492         - Set a clipping rectangle on the non client paint event, the
493         window manager drawing code needs one.
494         * Form.cs: The window manager needs to know when the window state
495         has been updated.
496         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
497         don't need to factor in border and title sizes in these
498         methods. TODO: Remove the args and fix the call points.
499         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
500         properly.
501         - Let the driver set the cursors.
502         - Improve active window handling
503         - Correct sizes for title bars and buttons.
504         - Match MS drawing better
505         * MdiWindowManager.cs: We don't need to handle border style
506         updates specially anymore.
507         - Check for scrollbars when windows are done moving
508         - Handle Active properly.
509         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
510         correctly. I am spewing the exception though, so we don't hide the
511         bugs.
512         
513 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
514
515         * DataGridViewRowPostPaintEventArgs.cs,
516           DataGridViewCellPaintingEventArgs.cs,
517           DataGridViewRowCollection.cs,
518           DataGridViewRowPrePaintEventArgs.cs,
519           DataGridViewCell.cs: Clear a few warnings and implement a few
520           exceptions that should be thrown.
521
522 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
523
524         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
525           'inheriting' our parent's (non-default) cursor. (Part of
526            the fix for #77479)
527
528 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
529
530         * XplatUIX11.cs: Fixed cast to make csc happy
531
532 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
533
534         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
535           it's for the client area (part of fix for #77479 and needed
536           for MDI window cursor handling)
537         * XplatUIX11.cs
538           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
539             the appropriate default cursors and also passing the message
540             up the parent chain 
541           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
542             for non-client areas
543
544 2006-02-15  Jackson Harper  <jackson@ximian.com>
545
546         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
547         is a real MDI window
548
549 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
550
551         * X11DesktopColors.cs: Instead of checking the desktop session
552           string for "KDE" check if it starts with "KDE"
553
554 2006-02-10  Jackson Harper  <jackson@ximian.com>
555
556         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
557         systems).
558
559 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
560
561         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
562           errors
563         * ColorDialog.cs:
564           - Got rid of the panel. All controls are now directly added to
565             the dialog form
566           - Changed to mono coding style
567
568 2006-02-10  Jackson Harper  <jackson@ximian.com>
569
570         * InternalWindowManager.cs: We don't need the set visibility to
571         false hack anymore now that peter has written beautiful shutdown
572         code.
573
574 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
575
576         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
577           where already explicitly destroyed
578
579 2006-02-10  Jackson Harper  <jackson@ximian.com>
580
581         * MdiClient.cs: Handle the case where windows are too high or to
582         the left and we need scrollbars.
583
584 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
585
586         * MimeIcon.cs: Added some icons
587         * FileDialog.cs:
588           - Fixed bug #77477
589           - Got rid of the panel. All controls are now directly added to
590             the dialog form
591           - Changed to mono coding style
592           - On Linux "My Computer" and "My Network" will now show some
593             more usefull information. A new class, MasterMount, gathers
594             this information from /proc/mount. Updated MWFFileView to make
595             use of this information
596           - Fixed a bug that caused FileDialog to crash when
597             ".recently_used" file had a zero size
598           - FilterIndex does now what it should
599           - Some Refactoring
600         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
601             FileDialog changes
602
603 2006-02-09  Jackson Harper  <jackson@ximian.com>
604
605         * ComboBox.cs: Don't touch if null.
606
607 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
608
609         * Cursor.cs: 64bit safeness fix
610         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
611
612 2006-02-09  Jackson Harper  <jackson@ximian.com>
613
614         * Form.cs: If a form is made into an MDI form update the styles so
615         all the props can get set correctly.
616         - Kill the mdi_container when we dont need it anymore.
617         * InternalWindowManager.cs: Add missing NOT
618
619 2006-02-08  Jackson Harper  <jackson@ximian.com>
620
621         * InternalWindowManager.cs: Respek clipping when drawing MDi
622         decorations.
623
624 2006-02-08  Jackson Harper  <jackson@ximian.com>
625
626         * Hwnd.cs: Add bits to track non client expose events.
627         * XplatUIX11.cs: Track non client expose events on the hwnd. This
628         gives us a proper invalid rect and will allow for some nice
629         optimizations with NC client drawing
630         - MDI windows are children windows, so move their style handling
631         into the child window block.
632         * InternalWindowManager.cs: Remove a state reset that was
633         getting invoked at the wrong time. Fixes managed windows getting
634         into a 'stuck' captured state.
635
636 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
637
638         * TextControl.cs (Document.ctor): Now initializing 
639           selection_anchor. Fixes #77493
640
641 2006-02-07  Jackson Harper  <jackson@ximian.com>
642
643         * TrackBar.cs: The increment/decrements were backwards.
644
645 2006-02-07  Mike Kestner  <mkestner@novell.com>
646
647         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
648         to the instance itself.
649
650 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
651
652         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
653           on ulongs and pointers, the size differs between 32bit and 64bit
654           systems. 
655
656 2006-02-07  Mike Kestner  <mkestner@novell.com>
657
658         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
659         for 64 bit platforms to work around a metacity bug. 
660
661 2006-02-07  Jackson Harper  <jackson@ximian.com>
662
663         * TrackBar.cs: Process the input keys we need, and hookup to
664         KeyDown instead of using WndProc, so we get key messages.
665
666 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
667
668         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
669           machine we're on. 
670         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
671           we need to translate the XdndVersion atoms array before sending it
672
673 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
674
675         * XplatUIX11.cs: 
676           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
677             number of bits for the property, not the number of bytes. The
678             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
679             but would not crash since it specified 8 bits instead of 4 bits)
680           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
681             defined as XID -> long in the C headers)
682           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
683             references since those are now IntPtr to begin with
684           - Switched all Atom.XXX 'int' casts to IntPtr casts
685           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
686           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
687           - Added XChangeActivePointerGrab DllImport (for X11DnD)
688         * X11Structs.cs:
689           - Changed 'int' type for Atoms in XEvent structures to IntPtr
690           - Changed atom in HoverStruct to be IntPtr
691         * X11DnD.cs:
692           - Removed local DllImports, switched code to use those from XplatUIX11
693           - Removed/fixed casts related to the switch of Atom to be a IntPtr
694
695 2006-02-06  Mike Kestner  <mkestner@novell.com>
696
697         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
698         method signatures in the import region.  There may still be some
699         lingering struct marshaling issues, as I didn't drill down into those.
700         Yet.
701
702 2006-02-06  Jackson Harper  <jackson@ximian.com>
703
704         * ComboBox.cs: Dont manually set the top_item, this is computed
705         when the scrollbar position is set.
706
707 2006-02-06  Mike Kestner  <mkestner@novell.com>
708
709         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
710         startup crashes on amd64.  There's other fixes needed.  All pinvoke
711         usage of Atom needs to be mapped to IntPtr for example.  And there are
712         likely other int/long issues to be addressed.
713
714 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
715
716         * FileDialog.cs: One more...
717
718 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
719
720         * FileDialog.cs: Next try
721
722 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
723
724         * FileDialog.cs: First part of fix for #77464
725
726 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
727
728         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
729           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
730           AcceptButton border drawing.
731
732 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
733
734         * Form.cs: Moved positioning of form after auto scaling is applied,
735           otherwise it would possibly use wrong form size.
736
737 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
738
739         * Control.cs (RecreateHandle): No need to re-create any child
740           controls, the child windows will get destroyed automatically by
741           the windowing system or driver, and re-created when the handle
742           is being accessed the first time. Fixes #77456
743         * Form.cs: No longer setting the form to closing if the handle is 
744           being recreated. This seems like the right thing to do, don't
745           have a bug or testcase for this, though.
746
747 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
748
749         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
750           controls to avoid unwanted side effects
751
752 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
753
754         * Control.cs: 
755           - ScaleCore needs to scale the bounds, not the ClientSize of the 
756             control. Fixes #77416.
757           - DefaultSize is 0,0 for control
758         * TextBoxBase.cs: 
759           - DefaultSize is 100, 20
760           - SetBoundsCore: Now enforcing the height, no matter if the provided
761             height is more or less than the preferred one, as long as AutoSize
762             is on
763         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
764
765 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
766
767         * Control.cs:
768           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
769             call unless both performLayout is true *and* we have a pending
770             layout change
771           - ResumeLayout: MS does not completely nest Suspend and Resume,
772             they bottom out at 0, fixed our code to match that.
773           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
774             SetBoundsCore, we were updating even when we shouldn't. This fixes
775             swf-anchors mis-anchoring when resizing the app fast and lots.
776           - UpdateDistances: Now only setting the left and top distance if 
777             we have a parent and are not suspended, this is based on
778             a suggestion by Don Edvaldson in bug #77355.
779           - OnVisibleChanged: Fixed logic when to create the control. We may
780             not create the control if we have no parent or if it's not visible;
781             switched to using Visible property instead of is_visible field 
782             since the property also considers parent states. This fixes a bug
783             when starting Paint.Net
784
785 2006-02-02  Jackson Harper  <jackson@ximian.com>
786
787         * Form.cs: If the forms handle hasn't been created yet don't call
788         into xplatui to make it top most, just set the topmost flag on the
789         form in CreateParams
790         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
791
792 2006-02-01  Jackson Harper  <jackson@ximian.com>
793
794         * ScrollableControl.cs: Refactored the Recalculate method a
795         little, this wasn't handling all the variants of bottom and right
796         bars needed to be added and added/removed based on their
797         counterparts being added/removed (which changes the drawable
798         size). Also we special case client widths and heights of 0 and
799         don't add the scrollbar for those.
800
801 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
802
803         * XplatUIX11.cs: 
804           - Added method to get AbsoluteGeometry(); currently unused, but might
805             be used in the future, if we try again to figure out toplevel
806             coordinates with some more crappy window managers
807           - Added FrameExtents() method to retrieve the WM set decoration size
808           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
809             to deal with at least KDE, FVWM and metacity (Fixes #77092)
810         * Hwnd.cs: 
811           - Added whacky_wm tracking var for metacity
812           - Added logic to have default menu height if the actual menu height
813             has not yet been calculated (part of fix for #77426)
814         * Form.cs: Keep track whether client size has been set and re-set 
815           it if a menu is added/removed afterwards (Fixes #77426)
816
817 2006-01-31  Jackson Harper  <jackson@ximian.com>
818
819         * Control.cs: When a new Site is set on the component attempt to
820         pull the AmbientProperties from it.
821
822 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
823
824         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
825           in the background of the owning form. Fixes #77332
826
827 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
828
829         * MimeIcon.cs: Fix for #77409
830
831 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
832
833         * XplatUIX11GTK.cs: Initial import
834
835 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
836
837         * FixedSizeTextBox: fixes class signature
838
839 2006-01-30  Jackson Harper  <jackson@ximian.com>
840
841         * FixedSizeTextBox.cs: New internal class that represents a
842         textBox that will not be scaled.
843         * TreeView.cs:
844         * ComboBox.cs:
845         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
846         standard TextBox.
847                 
848 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
849
850         * XplatUIX11.cs: Retrieve default screen number instead of
851           assuming 0. Attempted fix for #77318
852
853 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
854
855         * XplatUIWin32.cs: 
856           - GetWindowPos: When a window is parented by FosterParent, use 
857             the desktop instead of FosterParent as the base to get coordinates
858           - CreateWindow: Don't make FosterParent the parent window for Popups
859             if we don't want a taskbar entry, Popups automatically don't get one
860         * Hwnd.cs: Need to call remove to actually remove the key from the
861           hash table
862
863 2006-01-30  Mike Kestner  <mkestner@novell.com>
864
865         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
866
867 2006-01-30  Jackson Harper  <jackson@ximian.com>
868
869         * TreeView.cs:
870         * TreeNode.cs: Raise events no matter how the treenode is
871         checked. Patch by Don Edvalson.
872
873 2006-01-30  Jackson Harper  <jackson@ximian.com>
874
875         * TreeNode.cs: Signature fix.
876
877 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
878
879         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
880
881 2006-01-20  Mike Kestner  <mkestner@novell.com>
882
883         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
884         event forwarding when menus are active.
885         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
886         Most of the patch is pdb's with a little rework.
887
888 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
889
890         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
891           Removed GetMenuDC and ReleaseMenuDC methods; replaced
892           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
893         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
894         * InternalWindowManager.cs: Added use of PaintEventStart/End to
895           handling of WM_NCPAINT message, now passing the PaintEventArgs to
896           the PaintWindowDecorations method
897         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
898         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
899         * MenuAPI.cs: Made tracker window invisible
900         * XplatUIWin32.cs:
901           - Removed GetMenuDC and ReleaseMenuDC methods
902           - Implemented the client=false path for PaintEventStart and
903             PaintEventEnd
904
905 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
906
907         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
908         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
909           styles
910         * Form.cs: 
911           - MaximizeBox, MinimizeBox: Recreate the handle when setting
912             the style
913           - CreateParams: Reworked the styles to match MS look'n'feel,
914             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
915             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
916
917 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
918
919         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
920           window is not mapped, since otherwise every form that's being 
921           created is considered minimized, which is wrong.
922         * Form.cs: Catching the exception and returning our internal value
923           instead
924
925 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
926
927         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
928           SetWindowMinMax() to have means to tell the driver about the minimum,
929           maximum and maximized state window sizes. (Part of the fix for #76485)
930         * Form.cs:
931           - Implemented tracking of minimum and maximum window size, now calling
932             new SetWindowMinMax() driver method to tell the driver (Part of the
933             fix for #76485)
934           - Finished handling of WM_GETMINMAXINFO method, now setting all values
935             (Completes fix for #76485)
936           - Calling new SetWindowMinMax driver method when the handle for a 
937             form is created, to make sure the driver knows about it even if
938             the values have been set before the window was created
939           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
940             to avoid messing up our anchoring calculations (partial fix
941             for #77355)
942         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
943         * XplatUIX11.cs:
944           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
945           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
946             (and presumably other freedesktop.org compliant WMs). Left the
947             assumption unmapped=minimized, needed for SetVisible to work.
948           - Now setting the window state when creating windows
949           - Fixed SetVisible to consider/set the window state when mapping
950             a Form. We cannot set the state before it's mapped, and we cannot
951             use Form.WindowState once it's mapped (since it would ask the
952             driver and get 'normal'. Therefore, we grab the state before
953             mapping, map, and then set state.
954           - Implmemented SetWindowMinMax method; Metacity does not seem to
955             honor the ZoomHints, though.
956         * XplatUIWin32.cs:
957           - Removed MINMAXINFO (moved to XplatUIStructs)
958           - Added SetWindowMinMax stub (on Win32 the only way to set that
959             information is in response to the WM_GETMINMAXINFO message, which
960             is handled in Form.cs)
961           - Added logic to SetVisible to set the proper window state when a 
962             form is made visible (fixes #75720)
963
964 2006-01-26  Jackson Harper  <jackson@ximian.com>
965
966         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
967         same way we handle them with Invoke.
968
969 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
970
971         * Form.cs:
972           - Added tracking of window state so CreateParams can return
973             the appropriate style
974           - Moved setting of WS_CAPTION style in CreateParams to allow
975             styles without caption
976         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
977           control if the TextBox property is accessed. Fixes #77345
978         * Control.cs:
979           - get_Created: now uses is_disposed and is_created to determine
980             return value (suggested by Jackson)
981           - CreateHandle: No longer exits if the handle is being recreated
982           - RecreateHandle: If the handle is not yet created call the 
983             appropriate method to create either control or handle. If the
984             control is already created CreateHandle will simply exit instead
985             of just creating the handle
986         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
987           now SendMessage WM_DESTROY directly to the control when DestroyWindow
988           is called.
989         * XplatUIX11.cs: 
990           - When DestroyWindow is called, instead of waiting for the 
991             DestroyNotification from X11, we directly post it to the WndProc
992             and immediately dispose the hwnd object.
993             Same applies to DestroyChildWindows, and this obsoletes the
994             expose_pending tracking. Contrary to Win32 behaviour we destroy our
995             child windows before our own, to avoid X11 errors.
996           - Removed the direct sending of WM_PAINT on UpdateWindow
997         * XplatUIWin32.cs:
998           - Reworked DoEvents and GetMessage to allow access to internal queue
999             even when trying non-blocking access to the queue.  Fixes #77335. 
1000             Based on a patch suggestion by Don Edvalson. The new private
1001             GetMessage can now also be used as a backend for a PeekMessage
1002             frontend version.
1003         * XplatUI.cs: Improved debug output for CreateWindow
1004
1005 2006-01-25  Jackson Harper  <jackson@ximian.com>
1006
1007         * Help.cs: Allow param to be null. Patch by Don Edvalson.
1008
1009 2006-01-24  Jackson Harper  <jackson@ximian.com>
1010
1011         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1012         when we have a MaxDropItems lower then the selected index.
1013
1014 2006-01-24  Jackson Harper  <jackson@ximian.com>
1015
1016         * Control.cs: Don't allow selection of non visible controls, allow
1017         selection of controls without parents.
1018
1019 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1020
1021         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1022         * DataGridDrawingLogic.cs: Add editing row only when is necessary
1023
1024 2006-01-23  Jackson Harper  <jackson@ximian.com>
1025
1026         * UpDownBase.cs: Make the textbox handle all the selection and
1027         tabbing. This fixes tabing to updown controls.
1028
1029 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1030
1031         * TextBoxBase.cs: fixes exception thown the object was null
1032
1033 2006-01-23  Jackson Harper  <jackson@ximian.com>
1034
1035         * ButtonBase.cs: Just use the base CreateParams. They set
1036         visibility and enabled correctly.
1037         * ComboBox.cs:
1038         * TrackBar.cs:
1039         * MonthCalendar.cs: Lets let the base set as much of the
1040         createparams as possible so we don't have duplicate code all over
1041         the place.
1042
1043 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
1044
1045         * ThemeGtk.cs: Added TrackBar and some experimental code to
1046           get double buffering back
1047
1048 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
1049
1050         * DataGrid.cs: Allows row number set internally higher than the last
1051         when creating a new row. Restores the editing functionality.
1052
1053 2006-01-20  Mike Kestner  <mkestner@novell.com>
1054
1055         * MimeIcon.cs: delay Image creation until the icons are accessed
1056         instead of creating 190 scaled images on GnomeHandler startup.
1057
1058 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
1059
1060         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1061           first call base before processing the event. Fixes #77279
1062
1063 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
1064
1065         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1066           that the stride for the GDI bitmap would match the stride of
1067           a DIB or a Cursor.
1068
1069 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
1070
1071         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1072
1073 2006-01-19  Jackson Harper  <jackson@ximian.com>
1074
1075         * ComboBox.cs: Hookup the text controls keydown event so we get
1076         those when the text control has the focus.
1077
1078 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
1079
1080         * Label.cs: Now using the base events instead of defining new ones;
1081           this allows us to just call the base properties without having to
1082           duplicate all base property logic 
1083
1084 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
1085
1086         * Label.cs: A label by default is not a tabstop (Fixes one of our
1087           failing nunit tests)
1088
1089 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
1090
1091         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1092         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1093
1094 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
1095
1096         * Cursor.cs: Reimplemented creating cursor bitmaps without using
1097           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1098           This fixes #77218
1099         * XplatUIWin32.cs: 
1100           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
1101             constructor creates images that can't be saved. Part of the fix
1102             for #76103
1103           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1104           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
1105             bug fix for handling window state in forms properly)
1106
1107 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1108
1109         * ThemeGtk.cs: Simplify ScrollBar drawing
1110
1111 2006-01-18  Jackson Harper  <jackson@ximian.com>
1112
1113         * Splitter.cs: Set the default dock style for the splitter control
1114         in the constructor.
1115
1116 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1117
1118         * ThemeGtk.cs: Corrected StateType and ShadowType for
1119           gtk_paint_box
1120
1121 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1122
1123         * Control.cs: Make use of Theme.DoubleBufferingSupported
1124         * ThemeGtk.cs:
1125           - Added drawing for flat style buttons
1126           - Added ScrollBar drawing
1127
1128 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
1129
1130         * ThemeClearlooks.cs: Removed some unneeded code.
1131         * ThemeGtk.cs: First part of ThemeGtk enhancements.
1132
1133 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
1134
1135         * LinkLabel.cs: We need to update the hover drawing when
1136           leaving the control as well.
1137
1138 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
1139
1140         * DataGrid.cs: Clicking on non empty areas in the columns
1141            area was giving an exception
1142
1143 2006-01-17  Jackson Harper  <jackson@ximian.com>
1144
1145         * ThemeWin32Classic.cs:
1146         * ListView.cs: Do not draw/clip the headers when the header style
1147         is None.
1148
1149 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
1150
1151         * DataGrid.cs: Fixes 77260
1152         
1153 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
1154
1155         * DataGrid.cs: Clicking on a column on a empty grid was giving
1156           an exception
1157
1158 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
1159
1160         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
1161           or any keypress will crash the grid.
1162
1163 2006-01-17  Mike Kestner  <mkestner@novell.com>
1164
1165         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
1166         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
1167         invisible/previously-visible items.
1168         [Fixes #76909]
1169
1170 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
1171
1172         * ThemeClearlooks.cs:
1173         - Added CL_Draw_Button method; now other theme controls that are 
1174           not derived from button or do not have a button can draw buttons
1175           too
1176         - Updated ComboBox drawing
1177         - Beautified RadioButton drawing
1178         - Corrected drawing of bottom and left tabs
1179         - Beautified DateTimePicker and MonthCalendar
1180         - Added CPDrawButton and CPDrawRadioButton
1181
1182 2006-01-16  Jackson Harper  <jackson@ximian.com>
1183
1184         * ComboBox.cs: Set the initial value of the scrollbar to the
1185         current index. Reduce the numbers of refreshs and IndexOfs called.
1186
1187 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
1188
1189         * FileDialog.cs: When the file listview is focused hitting the
1190           backspace key moves the fileview to the parent directory
1191
1192 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
1193
1194         * Form.cs: 
1195           - Added RecreateHandle call when changing taskbar visibility to 
1196             trigger reparenting in Win32 driver (Fixes #75719)
1197           - If a window has minimize or maximize buttons, it cannot have
1198             a help button
1199         * XplatUIWin32.cs:
1200           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
1201             the toplevel form with FosterParent (A toolwindow not on the
1202             taskbar) (Fixes #75719)
1203           - Made FosterParent a toolwindow
1204
1205 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1206
1207         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
1208
1209 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1210
1211         * ToolTip.cs: If SetToolTip is called from a control and the mouse
1212           is currently over that control, make sure that tooltip_window.Text
1213           gets updated
1214
1215 2006-01-13  Mike Kestner  <mkestner@novell.com>
1216
1217         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1218
1219 2006-01-13  Jackson Harper  <jackson@ximian.com>
1220
1221         * TreeView.cs: On MS GetNodeAt never actually factors in the X
1222         value passed.  Also redraw the selected node when we recieve
1223         focus, so tabbing between trees works correctly.
1224
1225 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
1226
1227         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1228           ~/.gconf/%gconf-tree.xml, so use
1229           .gconf/desktop/gnome/interface/%gconf.xml
1230
1231 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
1232
1233         * TextControl.cs: Draw text in gray if control is disabled
1234
1235 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
1236
1237         * TreeView.cs: Draw the focus rectangle outside the highlight, to
1238           make sure it's always visible. Fixes #76680.
1239
1240 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
1241
1242         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1243
1244 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
1245
1246         * PageSetupDialog.cs: Added.
1247         * PrintDialog.cs: Attributes.
1248         * PrintPreviewControl.cs: Updates.
1249         * PrintPreviewDialog.cs: Updates.
1250         
1251 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1252
1253         * Control.cs: Undid my selection check fix, since it's not needed
1254         * TextBoxBase.cs:
1255           - Now considering the presence of hscroll/vscroll when sizing
1256             vscroll/hscroll respectively. Fixed bug #77077
1257           - Added Left/Up/Down/Right to IsInputKey list to prevent
1258             ContainerControl from stealing them. This fixes what I broke
1259             with my last checkin.
1260
1261 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
1262
1263         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1264           I finally understand how the property can be set without a setter :-)
1265
1266 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1267
1268         * Application.cs:
1269           - Switched RunLoop to use static Message.Create to create a 
1270             Message object
1271           - Added PreProcessMessage call in runloop for keyboard events; this
1272             is part of the fix for #77219, I overlooked this originally in the
1273             MSDN doc for PreProcessMessage
1274         * Control.cs:
1275           - Removed call to PreProcessMessage from handling of keyboard 
1276             messages; it's supposed to be done in the message pump
1277           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1278             per MSDN documentation.
1279           - IsInputChar: All chars are input chars by default; removed the 
1280             parent calling chain, MS does not document that
1281           - PreProcessMessage: If IsInputChar is true, we want to return false
1282             to allow dispatching of the message
1283           - When selecting the next control, now also check that we're not
1284             selecting ourselves again and therefore return a false positive.
1285         * TextBoxBase.cs:
1286           - Tried to match return values for IsInputKey and ProcessDialogKey
1287             to what MS returns; moved processing of our special keys outside
1288             ProcessDialogKey since MS does not seem to return true on those.
1289           - Moved code that previously was in ProcessDialogKey into new private
1290             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1291           - Reworked handling of WM_CHAR to not have to duplicate code from
1292             Control.cs anymore, instead we simply call down to base.
1293            
1294 2006-01-12  Jackson Harper  <jackson@ximian.com>
1295
1296         * ComboBox.cs: We always need to refresh the text area when
1297         EndUpdate is called. Fixes the combobox in the file dialog.
1298         * Control.cs: Don't create the creator_thread until the controls
1299         handle is created.  Also in InvokeRequired we check if the
1300         creator_thread is null. This gives the effect of InvokeRequired
1301         returning true if the controls handle is not created yet, and
1302         matches MS.
1303
1304 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1305
1306         * XplatUI.cs:
1307           - Added StartLoop() driver method. This is used to allow drivers to
1308             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1309             loop for a particular thread
1310           - Added EndLoop() driver method. This is called once the message
1311             pump for the thread is shut down
1312           - Added SupportsTransparency method to allow the driver to indicate
1313             opacity support for windows
1314         * Form.cs:
1315           - Removed TODO attribute, completed AllowTransparency property
1316           - Added documented logic to Opacity
1317         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1318           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1319           versions of CompatibleTextRendering
1320         * X11Structs.cs: Added opacity atom to our atom enumeration
1321         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1322           of a form might be set before it's reparented by the WM, and we need
1323           the opacity value without calling up to Form)
1324         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
1325           SupportsTransparency() driver methods
1326         * Application.cs: Now calling StartLoop and EndLoop driver methods
1327         * XplatUIX11.cs:
1328           - Added opacity atom registration
1329           - Added StartLoop()/EndLoop() methods. They're empty right now but
1330             will need to get implemented when we switch to a per-thread queue
1331           - Implemented SupportsTransparency() method
1332           - Implemented SetWindowTransparency() method
1333           - Added support for setting the opacity value when a window is
1334             reparented (since the opacity needs to be set on the WM frame)
1335         * XplatUIOSX.cs, XplatUIWin32.cs:
1336           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1337
1338 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
1339
1340         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1341
1342 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
1343
1344         * FileDialog.cs: Added ToolTip for MWFFileView
1345         * MimeIcon.cs: Rewrote GnomeHandler.
1346           - Get currently used gnome icon theme from
1347             ($HOME)/.gconf/%gconf-tree.xml
1348           - Make use of inherited icon themes
1349           - Support SVG icon themes like Tango via librsvg
1350
1351 2006-01-12  Miguel de Icaza  <miguel@novell.com>
1352
1353         Revert's Jackson's revert which broke 2.0 builds.   Fix both
1354         builds. 
1355         
1356         * Application.cs: Move the use_compatible_text_rendering outside
1357         the NET_2_0 define.  If we ever need to use the
1358         use_compatible_text_rendering on the individual controls they will
1359         access the variable from the common shared code paths.
1360
1361 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
1362
1363         * XplatUI.cs:
1364           - Added more granular debug options
1365           - Added method to print both window text and id
1366           - Switched debug output to use new Window() debug method
1367           - Added IsEnabled() driver method
1368           - Added EnableWindow() driver method
1369         * Form.cs:
1370           - Removed end_modal; no longer needed, new loop handles termination
1371             via 'closing' variable
1372           - If form is modal, setting DialogResult will now initiate loop
1373             termination via 'closing' variable
1374           - Added support for is_enabled/WS_DISABLED to CreateParams
1375           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
1376             does all the work
1377           - Removed code that's now in RunLoop from ShowDialog()
1378           - Added various documented sanity checks to ShowDialog()
1379           - Added handling of WM_DESTROY message; we set 'closing' on getting
1380             the message to indicate the message pump to terminate
1381           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
1382             send by the Application.ExitThread method. (We send the message
1383             to destroy the window after all other events have been
1384             processed through the queue, instead of destroying the handle 
1385             directly)
1386           - Moved code from Close() method to WM_CLOSE handler; added logic
1387             to only send close-related events if the form is not displayed
1388             modal
1389         * Splitter.cs (..ctor): Fixed typo in resource name
1390         * Control.cs:
1391           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
1392             brush now
1393           - set_Cursor: Now only setting calling into XplatUI if the handle for
1394             the control is already created; this avoids implict handle creation
1395             or crashes if it's not created
1396           - set_Enabled: Now setting the enabled state via the new driver method
1397             instead of just tracking it
1398           - CreateParams: Added logic to set WS_DISABLED based on enabled state
1399           - CreateControl: Reordered event firing and method calls to more
1400             closely fire events in the order MS does. Now setting the
1401             enabled state in the driver when creating the control.
1402           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
1403             match MS order
1404         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
1405           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
1406         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
1407         * Hwnd.cs:
1408           - Added tracking of window enabled state (get_Enabled/set_Enabled)
1409           - Added EnabledHwnd property to easily allow a driver to find the
1410             handle of the first enabled window in the parent chain (this is
1411             used by drivers to pass up input events of disabled windows)
1412         * XplatUIDriver.cs: Added IsEnabled() method
1413         * Application.cs:
1414           - Removed crude and obsolete exiting tracking variable
1415           - Removed internal ModalRun(); replaced by RunLoop()
1416           - Implemented private CloseForms() method to allow closing all 
1417             windows owned by a particular (or all) threads
1418           - Exit() now properly closes all windows without forcing the message
1419             pump to quit
1420           - Removed obsolete InternalExit() method
1421           - Changed Run() methods to use new RunLoop() message pump
1422           - Implemented new RunLoop() method for both modal and non-modal forms
1423         * CommonDialog.cs:
1424           - get_CreateParams: Added setting of WS_DISABLED
1425           - Simplified ShowDialog(); now all the work is done in RunLoop(),
1426             invoked via Form.ShowDialog()
1427         * NativeWindow.cs: We don't remove the window from the collection when
1428           the handle is destroyed; there might still be messages for it in the
1429           queue (mainly the resulting WM_DESTROY); instead it will be removed
1430           when Control calls InvalidateHandle in the WM_DESTROY handler
1431         * XplatUIX11.cs:
1432           - CreateWindow: Added logic to handle the WS_DISABLED window style
1433           - EnableWindow: Implemented based on Hwnd.Enabled
1434           - GetMessage: Reset PostQuitState so the method can be called again
1435           - Implemented support for disabled windows (passing messages to the
1436             first enabled parent) in handling all input messages
1437           - Added optimizations for handling Expose events
1438           - Implemeted new driver method IsEnabled()
1439           - Now always resetting paint pending tracking vars when we start paint
1440           - Re-implemented UpdateWindow via just sending a WM_PAINT message
1441         * XplatUIOSX.cs: Added IsEnabled method stub
1442         * XplatUIWin32.cs: Implemented new IsEnabled() method
1443
1444 2006-01-11  Jackson Harper  <jackson@ximian.com>
1445
1446         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1447         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
1448         variables a little.
1449         * ColorDialog.cs: Clear out the old form before adding the new
1450         panel.  
1451
1452 2006-01-11  Jackson Harper  <jackson@ximian.com>
1453
1454         * X11Dnd.cs: Make sure to add all the text formats when adding
1455         strings to the data object.
1456         * TreeNodeCollection.cs: When adding to a sorted tree we need to
1457         do some redrawing too.  Also change the UpdateNode to an
1458         UpdateBelow so the newly added node gets painted.
1459         
1460 2006-01-11  Miguel de Icaza  <miguel@novell.com>
1461
1462         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1463         LinkLabel.cs, PropertyGrid.cs: Implement the
1464         UseCompatibleTextRendering property for 2.x
1465
1466         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
1467
1468 2006-01-11  Jackson Harper  <jackson@ximian.com>
1469
1470         * TreeView.cs: Use the property for setting the selected node so
1471         the correct events get raised.
1472         * TreeNode.cs: Update the tree when the fore/back colours of a
1473         node are set.
1474
1475 2006-01-10  Jackson Harper  <jackson@ximian.com>
1476
1477         * TreeView.cs: Allow setting SelectedNode to null.
1478
1479 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1480
1481         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
1482
1483 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1484
1485         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
1486
1487 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1488
1489         * PrintDialog.cs: Added attributes and set default property values.
1490
1491 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1492
1493         * PrintControllerWithStatusDialog.cs: 
1494         Added PrintControllerWithStatusDialog.
1495
1496 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1497
1498         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
1499         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
1500
1501 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
1502
1503         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
1504
1505 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
1506
1507         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
1508         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
1509
1510 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
1511
1512         * MimeIcon.cs: Added internal class SVGUtil.
1513
1514 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
1515
1516         * FileDialog.cs: Don't crash if there are two files with the
1517           same name but different locations.
1518
1519 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
1520
1521         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
1522         dates across multiple month grids. Used to not highlight entire 
1523         month, but does now.
1524         
1525 2006-01-06  Jackson Harper  <jackson@ximian.com>
1526
1527         * MonthCalendar.cs: Removed DoEvents call to prevent a running
1528         message loop. Change timer intervals to numbers that seem more
1529         natural.
1530
1531 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
1532
1533         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
1534           object for location info since screen object is now implemented.
1535
1536 2006-01-05  Jackson Harper  <jackson@ximian.com>
1537
1538         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
1539         * AsyncMethodResult.cs: We no longer use a WeakReference for the
1540         AsyncMethodResult, this is because we ALWAYS want the
1541         ManualResetEvent to get set.
1542         * Control.cs: When disposing use an async invoke to call shutdown
1543         code, so that thigns don't block on the finalizer thread.  Also
1544         check if we even have a message loop before trying to send
1545         messages, if we don't then don't bother sending messages.
1546         - No more weak references for async methods
1547         * XplatUIDriver.cs: No more weak references for async methods.
1548
1549 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
1550
1551         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
1552           returns two FontFamily with the same name
1553
1554 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
1555
1556         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
1557           drawing disabled text. Instead using the ColorGrayText color
1558
1559 2006-01-04  Jackson Harper  <jackson@ximian.com>
1560
1561         * TreeNode.cs: redraw the node when its image index is changed.
1562
1563 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
1564
1565         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
1566           time I checked there are no others like it.
1567
1568 2006-01-04  Jackson Harper  <jackson@ximian.com>
1569
1570         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
1571         this gives the behavoir I was looking for.
1572         * Control.cs: Special case Invoking EventHandlers, this matches MS
1573         and fixes part of bug #76326.
1574
1575 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
1576
1577         * ThemeClearlooks.cs, FileDialog.cs:
1578           - Reflect the latest Theme class changes
1579           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
1580             with DateTime
1581             
1582 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
1583
1584         * Theme.cs: Cache UI resource images and resize them if needed
1585
1586 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
1587
1588         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
1589           is called. This fixes the crash in Nexxia when setting the font
1590           attributes in the chat. [However, RTF needs a look-over to make sure
1591           that all SelectionXXX methods handle the special case that selection
1592           is empty and therefore the change must be applied to all text starting
1593           at the cursor/selection start]
1594
1595 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
1596
1597         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1598           XplatUIOSX.cs: Added SendMessage and PostMessage methods
1599         * X11Keyboard.cs: Switched to new way of calling PostMessage
1600
1601 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
1602
1603         * Theme.cs: Added theme interface for images to allow the theme to
1604           control what images are used for things like FileDialog, MessageBox
1605           icons, etc.
1606         * MessageBox.cs: Now uses the new Theme icon/image interfaces
1607
1608 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
1609
1610         * FileDialog.cs:
1611           - Removed some dead code
1612           - Opening a recently used file does work now
1613           - Small UI enhancements
1614           - Refactoring
1615
1616 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
1617
1618         * FileDialog.cs: Forgot too add __MonoCS__
1619
1620 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
1621
1622         * FileDialog.cs: We are able to read recently used files now let's
1623           go on and write them.
1624
1625 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
1626
1627         * FileDialog.cs: Breathe some life into "last open"/"recently used"
1628           button
1629         * MimeIcon.cs: Do a check for the top level media type also
1630
1631 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
1632
1633         * ThemeClearlooks.cs:
1634           - Added CPDrawStringDisabled
1635           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
1636             some chars if the text doesn't fit into text_rect
1637           - DrawListViewItem: If View = View.LargeIcon center the image;
1638             rewrote the drawing of ListViewItem.Text if View = 
1639             View.LargeIcon
1640
1641 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
1642
1643         * MimeIcon.cs: Use default KDE icon theme if there is no
1644           "48x48" directory for the current icon theme, fixes #77114
1645         * Mime.cs: Disable not working and actually not used code. 
1646         * ThemeWin32Classic.cs:
1647           - Replace "new SolidBrush" in GetControlBackBrush and
1648             GetControlForeBrush with ResPool.GetSolidBrush
1649           - Changed DrawListViewItem from private to protected virtual
1650         * FileDialog.cs:
1651           - Added form.MaximizeBox = true
1652           - Don't throw an exception if there is a broken symbolic link
1653
1654 2005-12-23  Jackson Harper  <jackson@ximian.com>
1655
1656         * TabControl.cs: Give the panels focus, keyboard navigation is
1657         fixed so this works correctly now.
1658         - We need these key events also.
1659         * ToolBar.cs: Remove some of the poor mans double buffering.
1660         
1661 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
1662
1663         * ComboBox.cs: The internal TextBox now returns the focus.
1664
1665 2005-12-23  Jackson Harper  <jackson@ximian.com>
1666
1667         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
1668
1669 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
1670
1671         * Control.cs: Removed debug code
1672         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
1673           implicit children
1674
1675 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
1676
1677         * Control.cs: When creating the control, update the Z-order after
1678           all it's children are created, too. (Fixes nexxia not showing
1679           picturebox bug)
1680
1681 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
1682
1683         * Control.cs: Do not update the anchoring distances if layout is
1684           suspended, instead do it once layout is resumed
1685
1686 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
1687
1688         * Control.cs: 
1689           - After many hours of debugging, for both Jackson and
1690             myself, it turns out that it helps to set the parent of a control
1691             if you want to actually see it onscreen. In the spirit of that
1692             discovery, we're now setting the parent of the control and
1693             it's children when the control's handle is created. This fix
1694             will make Lutz Roeder's Reflector run happily. 
1695           - now just creating the handle instead of the whole control when
1696             getting a graphics context for the control.
1697
1698 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
1699
1700         * ScrollableControl.cs: When calculating the canvas, don't consider
1701           the scrollbar widths. Instead, predict if horizontal scrollbar
1702           will affect canvas when deciding on vertical display and vice versa.
1703
1704 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
1705
1706         * RichTextBox.cs: Set default RTF font for documents that don't
1707           have a font table (Fixes #77076)
1708
1709 2005-12-22  Jackson Harper  <jackson@ximian.com>
1710
1711         * TextBoxBase.cs: It's difficult to do, but you can have an empty
1712         clipboard. This prevents a NullRef in that case.
1713         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
1714         clipboard. PRIMARY is for the currently selected text only. (We
1715         should implement PRIMARY at some point.
1716
1717 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
1718
1719         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
1720           a Unicode function with a structure that was defined in Ansi way.
1721           This fixes #76942.
1722
1723 2005-12-21  Jackson Harper  <jackson@ximian.com>
1724
1725         * StatusBar.cs: Statusbar handles its fore/back colours on it's
1726         on. Because thats how it rolls. (and this avoids it using ambient
1727         colours).
1728         * ThemeWin32Classic.cs: Use the proper back color for filling.
1729         * Menu.cs: Use the system menu bar color for drawing menu
1730         bars. Using the window back color will bring ambient colours into
1731         the picture.
1732
1733 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
1734
1735         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
1736           Bitmaps were created and not disposed.
1737
1738 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
1739
1740         * Control.cs (CreateControl): Don't do anything if the control is
1741           already created, otherwise we'd fire the OnCreated event more than
1742           once
1743
1744 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
1745
1746         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
1747           will always match. Instead return -1. Fixes #76464.
1748
1749 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
1750
1751         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
1752           neither the beginning nor the end of the line (Fixes bug #76479)
1753
1754 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
1755
1756         * Control.cs:
1757           - ControlNativeWindow.ControlFromHandle(): Now handling situation
1758             where handle is invalid
1759           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
1760             instead of slower linear search
1761         * NativeWindow.cs: Don't remove the window from the hashtable until
1762           after the driver has destroyed it (since the driver might use
1763           Control.FromHandle to lookup the control object
1764         * Hwnd.cs: Added DestroyPending property to track if a window is 
1765           already destroyed as far as the driver is concerned and only hasn't
1766           yet notified the control
1767         * XplatUIX11.cs:
1768           - Activate(): Check if the window is still valid before using the 
1769             handle
1770           - Implemented DestroyChildWindow() method to mark child windows as
1771             destroyed when a window is destroyed. This prevents situations 
1772             where we might call an X method based on queued events for a
1773             window that already has been destroyed but we haven't yet pulled
1774             the destroy method from the queue.
1775           - Added a call to the new DestroyChildWindow() method to the drivers
1776             DestroyWindow code. Also now marking the destroyed window itself
1777             as pending
1778
1779 2005-12-20  Jackson Harper  <jackson@ximian.com>
1780
1781         * StatusBar.cs:
1782         * StatusBarPanel.cs: Don't calculate panel sizes on draw
1783         anymore. Just do them when needed, also track the rects of panels
1784         so that we can optimize refreshing more in the future.
1785
1786 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
1787
1788         * ColorDialog.cs: Fixed focus drawing in small color controls
1789
1790 2005-12-19  Jackson Harper  <jackson@ximian.com>
1791
1792         * InternalWindowManager.cs:
1793         * MdiWindowManager.cs: Cleanup some coordinate system changes so
1794         moving windows works properly.
1795
1796 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
1797
1798         * Control.cs: 
1799           - Removed call to InitLayout() from SetBoundsCore(); doc says
1800             it's only called when a control is added to a container
1801           - Split InitLayout logic, moved to separate UpdateDistances() method
1802             since we need to perform those calculations more often than just
1803             when adding the control to a container. (Needed to fix #77022)
1804           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
1805           - Reduced the OnBindingContextChanged events count, don't send them
1806             unless the control is created, we still aren't totally matching
1807             MS, but I can't quite figure out some of their rules
1808
1809 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
1810
1811         * ThemeClearlooks.cs: Corrected distance between ProgressBar
1812           stripes
1813
1814 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
1815
1816         * ThemeClearlooks.cs:
1817           - Updated ProgressBar drawing
1818           - Corrected drawing of ScrollBars and scroll buttons
1819           - Some temporary fixes for minor pixel artefacts
1820
1821 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
1822
1823         * Control.cs:
1824           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
1825             cause events to be sent in the same order as MS does.
1826           - Added ChangeParent() method to trigger various OnXXXChanged events
1827             that need to be fired when a parent changes (This is a reworking
1828             of the patch from r54254, with the X11 errors fixed)
1829           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
1830             since on MS we get OnLayoutChanged events when calling Clear()
1831           - Changed Enabled property to consider parent state as well, if a
1832             parent is not enabled, the control will not be either
1833           - Changed Parent property to simply call Controls.Add() since that
1834             now does all the work required, this way we avoid code duplication
1835           - Threw in a few OnBindingsContextChanged calls to try and match
1836             when MS sends them. We seem to send a few too many, though.
1837           - Added call to CreateControl when adding the control to a parent.
1838             We were never calling CreateControl. Still needs some work, in
1839             some places we treat HandleCreated and ControlCreated as equal, 
1840             which is wrong
1841           - Removed obsolete commented out code from UpdateZOrder()
1842
1843 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
1844
1845         * ThemeClearlooks.cs: Updated TrackBar drawing.
1846
1847 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
1848
1849         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
1850
1851 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
1852
1853         * FileDialog.cs: Add the Help button and the open readonly
1854           checkbox only if needed
1855
1856 2005-12-16  Jackson Harper  <jackson@ximian.com>
1857
1858         * Control.cs: Make sure we have an active menu before trying to
1859         process commands on it. Prevents menu-less forms from crashing
1860         when Alt is pressed.
1861         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
1862         Dieter Bremes.
1863         * RichTextBox.cs: Expand statement to help out gmcs and fix the
1864         2.0 build.
1865
1866 2005-12-16  Jackson Harper  <jackson@ximian.com>
1867
1868         * InternalWindowManager.cs: Don't translate tool windows screen
1869         coordinates. This fixes windows 'bouncing' around when being moved.
1870
1871 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
1872
1873         * TextBoxBase.cs:
1874           - MaxLength now treats 2^31-1 equal to unlimited length (this is
1875             not quite MS compatible, MS uses that number only for single line
1876             and 2^32-1 for multi-line, but I figure it won't hurt keeping
1877             the limit at 2GB)
1878           - Now enforcing the MaxLength limit when entering characters
1879           - Added argument to internal Paste() method to track if it's called
1880             from programatically or via keyboard, since keyboard driven pastes
1881             need to enforce max-length
1882           - Added logic to Paste to only paste as many chars as MaxLength 
1883             allows
1884         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
1885         * TextControl.cs:
1886           - Added Length property to return number of characters in document
1887           - Added private CharCount property which only tracks actual chars
1888             in the document (no linefeeds) and fires event when CharCount
1889             changes
1890           - Added tracking of character count to all methods that alter it
1891           - Added LengthChanged event to allow applications to subscribe
1892             to any changes to the document
1893
1894 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
1895
1896         * TextBox.cs: 
1897           - Removed local password_char field (moved to TextBoxBase)
1898           - Now setting the document's password var when password is
1899             set
1900         * TextBoxBase.cs:
1901           - Added password_char field (needed here so MultiLine can
1902             access it)
1903           - Added logic to MultiLine property setter to set the document's
1904             variable when password display is allowed
1905           - Removed debug code and made some debug code conditional
1906         * TextControl.cs:
1907           - Added RecalculatePasswordLine() method to handle special password
1908             char only lines
1909           - Added PasswordChar property, also added related tracking vars
1910           - Draw() method now uses local text var for grabbing text to draw,
1911             this var is set to line.text unless we're doing password display,
1912             then it is set to the pre-generated all-password-chars line
1913           - Added calling RecalculatePasswordLine() method for password lines
1914
1915 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
1916
1917         * Hwnd.cs: 
1918           - Added Reparented property to allow tracking of Window Manager
1919             reparenting actions (which affect X/Y calculations of toplevel 
1920             windows)
1921           - Made ToString() print window handles in hex
1922         * XplatUIX11.cs:
1923           - AddConfigureNotify(): Now uses reparented state off Hwnd to
1924             determine if X/Y needs offsetting
1925           - AddConfigureNotify(): Fixed offset calculations
1926           - Now adds ReparentNotify messages into the queue
1927           - Now processes ReparentNotify messages and causes a 
1928             WM_WINDOWPOSCHANGED message to be sent upstream if a window
1929             is reparented (as most likely it's X/Y coordinates are changed
1930             due to that)
1931
1932 2005-12-14  Jackson Harper  <jackson@ximian.com>
1933
1934         * XplatUIX11.cs: Tool windows still need to respek focus.
1935
1936 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
1937
1938         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
1939           have a working release
1940
1941 2005-12-13  Jackson Harper  <jackson@ximian.com>
1942
1943         * Form.cs: Update styles after setting the border style regardless
1944         of whether or not the window is using a window manager.
1945
1946 2005-12-13  Jackson Harper  <jackson@ximian.com>
1947
1948         * Form.cs: We now hook into an internal window manager instead of just an
1949         MDI subsystem, this is so we can have properly behaving tool windows.
1950         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
1951         * InternalWindowManager.cs: New internal class that acts as a
1952         window manager for tool windows and as a base for mdi windows.
1953         * MdiWindowManager.cs: New class that acts as a window manager for
1954         mdi windows.
1955
1956 2005-12-12  Jackson Harper  <jackson@ximian.com>
1957
1958         * Control.cs: Updates so we match behavoir for for implicit
1959         controls. Fixes explosions in MDI.
1960
1961 2005-12-12  Jackson Harper  <jackson@ximian.com>
1962
1963         * Control.cs: Implement Invalidate (Region).
1964
1965 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
1966
1967         * Control.cs: 
1968           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
1969             the same events as MS does. MS fires events for each property 
1970             except, for unknown reasons, Cursor, when the control is reparented. 
1971             I can't seem to totally match add/remove since MS also fires some 
1972             VisibleChanged events, which makes no sense. Consolidated the
1973             parenting code into a separate method so it can be called from
1974             both Add and Remove. set_Parent no longer needs any special logic
1975             as it calls the parent's add method which implicitly fires
1976             all events
1977           - Removed some obsolete code and debug output
1978           - Enabled state is inherited from parents, if this is enabled
1979
1980 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
1981
1982         * Form.cs: Removed commented out code
1983
1984 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
1985
1986         * Control.cs:
1987           - Added internal version of Invoke, with additional argument 
1988             indicating if we're calling it from a Dispose() handler. That
1989             way we can avoid BeginInvoke throwing an exception if we're
1990             calling for an already destroyed window.
1991           - Added a dispose argument to BeginInvokeInternal, and made the
1992             check if a valid window handle chain exists conditional on
1993             it not being a dispose call
1994           - Removed code in DestroyHandle to destroy our children. Since we
1995             now handle the WM_DESTROY message we will catch all our children
1996             being destroyed.
1997           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
1998         * Form.cs:
1999           - Added a field to track the application context of the form.
2000           - No need to set closing variable as response to WM_CLOSE, instead
2001             we destroy the window. We also call PostQuitMessage if the form
2002             has an application context (which makes it the main app form,
2003             which, when closed terminates the app)
2004         * XplatUI.cs:
2005           - Dropped Exit() method, it's naming was confusing
2006           - Added PostQuitMessage() which causes GetMessage to return false
2007             once the message queue is empty
2008         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
2009           PostQuitMessage()
2010         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2011           no longer a valid XplatUI method, but left it in since it's used
2012           internally. Added empty PostQuitMessage() method.
2013         * MenuAPI.cs: Replaced call to Exit() with call to
2014           PostQuitMessage, even though this is probably no longer needed.
2015         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2016         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2017         * Application.cs:
2018           - Replaced call to XplatUI.Exit() with PostQuitMessage()
2019           - Removed old debug code that would call XplatUI for exception
2020             display, enabled standard exception handling (Still not enabled
2021             though, until NativeWindow's ExternalExceptionHandler define
2022             is removed
2023         * NativeWindow.cs:
2024           - Added internal method to allow control to update NativeWindow
2025             after a window has been destroyed
2026           - Added handling of already destroyed windows when calling i
2027             DestroyWindow
2028           - Added removal of handle from list on ReleaseHandle
2029         * XplatUIX11.cs:
2030           - Dropped GetMessageResult var and related code
2031           - Added PostQuitState to field to track if PostQuitMessage has been
2032             called
2033           - Dropped Exit() method
2034           - Added PostQuitMessage() method
2035           - GetMessage now will return false if PostQuitState is set and no
2036             more messages are in the queue.
2037           - Expose handler will no longer generate WM_PAINT messages if we are
2038             in PostQuitState since it's very likely any windows have already
2039             been destroyed, and since Hwnd won't get updated until we have
2040             processed the DestroyNotify we'd be causing X errors.
2041         
2042 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2043
2044         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2045           Thanks to Mike for pointing out the err of my ways.
2046
2047 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2048
2049         * Control.cs(PreProcessMessage): Moved menu handling back, but
2050           after all other key handling, to match MS (who handles Menu in
2051           DefWndProc)
2052         * Menu.cs (WndProc): Removed my brainfart
2053
2054 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2055
2056         * Control.cs(PreProcessMessage): Removed special menu handling 
2057         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2058
2059 2005-12-07  Mike Kestner  <mkestner@novell.com>
2060
2061         * Control.cs : special case SYSKEYUP so that we can adjust keynav
2062         state according in tracker.
2063         * Menu.cs : promote tracker field to base class and provide a tracker
2064         lookup capability.  Add/Remove shortcuts dynamically if the top menu
2065         has a tracker. Unparent items that are removed from the collection.
2066         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2067         * Theme*.cs: add always_show_hotkeys field to support configurability
2068         of mnemonic display.  win32 doesn't show mnemonics until Alt is
2069         pressed.
2070
2071 2005-12-07  Jackson Harper  <jackson@ximian.com>
2072
2073         * MdiChildContext.cs: Use Control.ResetCursor.
2074         * Control.cs: ResetCursor needs to set the property so that the
2075         correct XplatUI call gets made.
2076
2077 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2078
2079         * Control.cs: More fixes to make our key events match MS. We
2080           were not setting the modifier state on KeyData, and we were
2081           not generating any events when Alt was pressed with a key
2082           since handling of WM_SYSxxx was missing for the OnKey methods.
2083
2084 2005-12-07  Jackson Harper  <jackson@ximian.com>
2085
2086         * MdiChildContext.cs: reenable the sizing code.
2087         - When the mouse leaves a window reset its cursor.
2088
2089 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
2090
2091         * ThemeClearlooks.cs: Reflect latest Hwnd changes
2092
2093 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2094
2095         * Hwnd.cs: Now using the theme 3d bordersize to calculate
2096           widths of Fixed3D borders
2097
2098 2005-12-07  Jackson Harper  <jackson@ximian.com>
2099
2100         * MdiClient.cs: Fix warnings. Earn Mike's love.
2101
2102 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
2103
2104         * ThemeClearlooks.cs:
2105           - Adjusted mouse over button color
2106           - Added first parts of CheckBox drawing
2107           - Added correct color for selected text background
2108           - Fixed ComboBox drawing
2109           - Added CPDrawBorder3D and CPDrawBorder
2110
2111 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
2112
2113         * XplatUIX11.cs: Added call to XBell for AudibleAlert
2114
2115 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
2116
2117         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2118           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
2119           alert users via sound. We could add an enum arg with different
2120           types of alerts in the future
2121
2122 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
2123
2124         * Control.cs: Fix behaviour problems pointed out by Mike
2125
2126 2005-12-05  Mike Kestner  <mkestner@novell.com>
2127
2128         * StatusBarPanel.cs: add Invalidate method and hook it into all the
2129         prop setters.  Calls parent.Refresh for now, but could be maybe be
2130         optimized with an internal method on StatusBar at some point.
2131         [Fixes #76513]
2132
2133 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
2134
2135         * RichTextBox.cs: Implemented get_SelectionColor
2136
2137 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
2138
2139         * ThemeClearlooks.cs:
2140           - Removed dead code
2141           - Draw black button border only if button is Form.AcceptButton
2142           - Draw correct button color for pressed RadioButton if the mouse 
2143             has entered the button
2144           - Updated ProgressBar drawing!
2145           - Updated CPDrawSizeGrip drawing
2146           - Updated StatusBarPanel drawing
2147
2148 2005-12-05  Mike Kestner  <mkestner@novell.com>
2149
2150         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
2151         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2152
2153 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
2154
2155         * ThemeClearlooks.cs: Initial check-in, activate with
2156           export MONO_THEME=clearlooks
2157         * ThemeEngine.cs: Added ThemeClearlooks
2158
2159 2005-12-03  Mike Kestner  <mkestner@novell.com>
2160
2161         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
2162         [Fixes #76897]
2163
2164 2005-12-02  Jackson Harper  <jackson@ximian.com>
2165
2166         * Form.cs: If the child form has no menu the default main menu is
2167         used as the active menu.
2168
2169 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
2170
2171         * ListBox.cs: Check if any items exist before trying to resolve 
2172           coordinates into items
2173
2174 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
2175
2176         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
2177           as the second color for the background hatch
2178
2179 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
2180
2181         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
2182         * RichTextBox.cs: FormatText position arguments are 1-based, now making
2183           sure that what we pass to FormatText is always 1-based. Fixes #76885
2184
2185 2005-11-29  Miguel de Icaza  <miguel@novell.com>
2186
2187         * NumericUpDown.cs (EndInit): When we are done initializing,
2188         reflect any updates on the UI.
2189
2190 2005-12-02  Jackson Harper  <jackson@ximian.com>
2191
2192         * ImplicitHScrollBar.cs:
2193         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
2194         their container controls.
2195         * TreeView.cs: Use the new implicit scrollbars.
2196
2197 2005-12-02  Jackson Harper  <jackson@ximian.com>
2198
2199         * TreeView.cs: Make top_node internal so the TreeNodeCollections
2200         can play with it.
2201         * TreeNodeCollection.cs: If we remove the topnode we need to
2202         update topnode to the next node in line.
2203         - When clearing nodes go through the same process as removing
2204         them, so they get depareneted and checked if they are top node.
2205
2206 2005-12-01  Jackson Harper  <jackson@ximian.com>
2207
2208         * TreeView.cs: When imagelists are used the image area is
2209         selectable as well as the text.
2210         - If there are no selected nodes select the first one.
2211         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
2212         so don't do it more then we need to.
2213
2214 2005-12-01  Jackson Harper  <jackson@ximian.com>
2215
2216         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2217         that arrows can be scaled.
2218
2219 2005-12-01  Jackson Harper  <jackson@ximian.com>
2220
2221         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2222         fail. Patch by Dieter Bremes
2223
2224 2005-11-30  Jackson Harper  <jackson@ximian.com>
2225
2226         * Form.cs: Property is 2.0 only
2227         * PrintDialog.cs: Signature fix.
2228
2229 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
2230
2231         * TextControl.cs: 
2232           - No longer artificially moves text 2 pixels down (now that we have
2233             borders this is no longer needed)
2234           - Added calcs for left, hanging and right indent
2235
2236 2005-11-23  Mike Kestner  <mkestner@novell.com>
2237
2238         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2239
2240 2005-11-30  Jackson Harper  <jackson@ximian.com>
2241
2242         * MdiChildContext.cs: Set the cloned menus forms, as these don't
2243         get cloned as part of CloneMenu ().
2244         * Menu.cs: Make sure the parent of the items get set correctly
2245         when they are added.  And the owners are notified of the changes.
2246         * Form.cs: Create an ActiveMenu property, so that when MDI is used
2247         we can change the menu being displayed/handled by the form without
2248         changing the menu assosciated with the form.
2249         - Don't let Mdi children draw/handle menus.
2250         
2251 2005-11-30  Jackson Harper  <jackson@ximian.com>
2252
2253         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2254         a MenuChanged event. Just to make the API a little more
2255         consistent.
2256         * MainMenu.cs:
2257         * MenuItem.cs: Use the new OnMenuChanged
2258         * MdiChildContext.cs: Handle menu merging.
2259         * Form.cs: Implement MergedMenu.
2260         
2261 2005-11-30  Jackson Harper  <jackson@ximian.com>
2262
2263         * Menu.cs: We were misusing Add. Add goes behind the specified
2264         index according to the docs, and does not replace the specified
2265         index. So I added an Insert method.
2266
2267 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
2268
2269         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2270           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2271           is for Jackson
2272         * RichTextBox.cs: Added calls to base for DnD events
2273
2274 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
2275
2276         * TextControl.cs:
2277           - Fixed drag-selection related crash; style fixes
2278           - Implemented undo class
2279             o Implemented method to capture document state for specified
2280               range in document tree
2281             o Implemented method to restore captured document state
2282             o Implemented cursor tracking
2283             o Implemented basic undo stack
2284           - Added undo cursor tracking to methods altering cursor location
2285           - Added undo tracking to selection deletion (still missing
2286             other text-altering hookups)
2287         * RichTextBox.cs:
2288           - Added SelectionLength property
2289           - Implemented CanPaste()
2290           - Implemented Paste()
2291           - Added missing protected methods
2292           - Fixed RTF->Document conversion; now uses font index 0 and color 
2293             index 0 as the default font for the parsed text
2294           - Fixed RTF<->Document font size translation
2295           - Fixed RTF generation, now properly handles cross-tag boundaries
2296             for single line selection
2297           - No longer always appends blank line to generated RTF
2298           - Removed TODOs
2299           - Added missing attributes
2300           - Hooked up undo-related methods
2301         * TextBoxBase.cs:
2302           - Implemented Copy()
2303           - Implemented Paste()
2304           - Implemented Cut()
2305           - Fixed caret mis-behaviour on backspace across line-boundaries
2306
2307 2005-11-29  Jackson Harper  <jackson@ximian.com>
2308
2309         * MdiClient.cs: Add a method for activating mdi children. Very
2310         basic right now. I imagine someday it might need more girth.
2311         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2312         children windows names are added to the menu item.
2313         * ThemeWin32Classic.cs: Draw the arrow if the item is an
2314         mdilist. This happens regardless of whether or not there are any
2315         mdi windows to see in the list, and according to my tests happens
2316         before the items are even added. Also happens if there isn't even
2317         an mdi client to get windows from.
2318
2319 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
2320
2321         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2322         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2323
2324 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
2325
2326         * DataGridTableStyle.cs:
2327           - Create always the styles for the missing columns even if they are
2328             provided by the user (not default table style)
2329         * DataGrid.cs:
2330           - Fixes bug 76770
2331           - Fixes SetDataBinding (always re-attach source)
2332           - Fixes SetNewDataSource (only clear styles if they are not for 
2333             this source)
2334          -  Expands OnTableStylesCollectionChanged to handle style refresh 
2335             and remove properly
2336
2337 2005-11-29  Jackson Harper  <jackson@ximian.com>
2338
2339         * FileDialog.cs: Implement missing bits, remove some dead
2340         code.
2341         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2342         creation of the panel so that the options set on the dialog are
2343         seen when the panel is created.
2344         * TreeView.cs: raise a click when items are clicked.
2345         
2346 2005-11-29  Jackson Harper  <jackson@ximian.com>
2347
2348         * MdiClient.cs: Pass some signature methods through to base.
2349
2350 2005-11-28  Jackson Harper  <jackson@ximian.com>
2351
2352         * ListView.cs: Raise the click event when items are clicked.
2353
2354 2005-11-28  Jackson Harper  <jackson@ximian.com>
2355
2356         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
2357         a nullref.
2358
2359 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
2360
2361         * ThemeNice.cs: - Removed 1 pixel bitmaps
2362           - Use SmoothingMode.AntiAlias where it makes sense
2363             (ScrollButton arrow for example)
2364           - Enhanced Button focus drawing
2365           - Fixed ComboBox drawing (no artefacts anymore, focus
2366             rectangle is back again, reduced size of ComboButton, etc.)
2367           - Fixed RadioButton focus drawing for Appearence.Button
2368           - Slight ScrollButton redesign
2369           - Some LinearGradientBrush size fixes
2370           - GroupBoxes have now rounded edges
2371           - Fixed StatusBar drawing
2372
2373 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
2374
2375         * ThemeNice.cs: - Remove dead code
2376           - use correct background colors for menus, etc.
2377           - Fake pixel drawing with 1 pixel bitmaps
2378
2379 2005-11-24  Jackson Harper  <jackson@ximian.com>
2380
2381         * MdiClient.cs: Size the scrollbars when resizing the window.
2382         - Resize the maximized windows when the client is resized
2383         * Form.cs: Make the child context available
2384         
2385 2005-11-23  Jackson Harper  <jackson@ximian.com>
2386
2387         * MdiChildContext.cs: Don't size windows if they are maximized.
2388
2389 2005-11-23  Mike Kestner  <mkestner@novell.com>
2390
2391         * ContextMenu.cs: use MenuTracker.
2392         * Control.cs: remove menu handle usage.
2393         * Form.cs: remove menu handle usage.
2394         * Hwnd.cs: remove menu handle usage.
2395         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
2396         motion and clicks to the new Tracker handlers.
2397         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
2398         and handle usage.
2399         * MenuAPI.cs: refactored to combine popup and menubar event handling.
2400         Killed the MENU and MENUITEM data types and associated collections
2401         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
2402         MenuTracker class that exposes the leftovers from the old MenuAPI
2403         static methods. Restructured Capture handling so that only one grab is
2404         done for the entire menu hierarchy instead of handing off grabs to
2405         submenus. Tracker now has an invisible control to Capture when active.
2406         * MenuItem.cs: add sizing accessors, kill Create
2407         and handle usage.
2408         * Theme.cs: remove menu handle and MENU(ITEM) usage.
2409         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
2410         MENU(ITEM). remove menu handle usage, use Menu directly.
2411         * XplatUIDriver.cs: remove menu handle usage.
2412         * XplatUIOSX.cs: remove menu handle usage.
2413         * XplatUIWin32.cs: remove menu handle usage.
2414         * XplatUIX11.cs: remove menu handle usage.
2415
2416 2005-11-22  Jackson Harper  <jackson@ximian.com>
2417
2418         * Hwnd.cs: Don't compute the menu size for
2419         DefaultClientRectangle.
2420         - Reenable menu sizes being computed for GetClienRectangle.
2421         * Form.cs: Remove comment of trechery
2422         
2423 2005-11-22  Jackson Harper  <jackson@ximian.com>
2424
2425         * Hwnd.cs: The adjustments for the menu bar are made when it is
2426         attached to the form.
2427
2428 2005-11-19  Jackson Harper  <jackson@ximian.com>
2429
2430         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
2431         (just like on windows).
2432
2433 2005-11-19  Jackson Harper  <jackson@ximian.com>
2434
2435         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
2436         use real buttons anymore because they are in non client area. The
2437         one TODO here is that I need to somehow invalidate a section of
2438         the non client area.
2439
2440 2005-11-18  Jackson Harper  <jackson@ximian.com>
2441
2442         * Control.cs: Put the enum check back in now that MDI doesnt have
2443         to use this to set border styles.
2444         * Form.cs: Only set mdi child windows borders if the handle has
2445         been created.
2446         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
2447         this directly on to the driver.
2448         - Get the move start position before adjusting for the titlebar
2449         height, this fixes the windows "skipping" when they are first
2450         moved.
2451
2452 2005-11-18  Jackson Harper  <jackson@ximian.com>
2453
2454         * XplatUIX11.cs: Just compute the mdi borders separately as they
2455         don't totally match up with normal form borders.
2456
2457 2005-11-18  Jackson Harper  <jackson@ximian.com>
2458
2459         * Control.cs: Set WS_ styles for borders, so that the driver does
2460         not have to retrieve the control instance to figure out what kind
2461         of borders it should have.
2462         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
2463         driver can know its an mdi child easily.
2464         * XplatUIX11.cs: Get the border styles and whether the window is
2465         MDI from the Styles and ExStyles params instead of having to get a
2466         control. This prevents a chicken and egg problem.       
2467
2468 2005-11-18  Jackson Harper  <jackson@ximian.com>
2469
2470         * MdiClient.cs: Fix typo so scrollbars show up correctly.
2471
2472 2005-11-18  Jackson Harper  <jackson@ximian.com>
2473
2474         * MdiClient.cs: Calculate when to add and remove scrollbars
2475         correctly.
2476         * MdiChildContext.cs: Adjust the y position to take the titlebar
2477         into account.
2478         - No height for FormBorderStyle.None
2479
2480 2005-11-18  Jackson Harper  <jackson@ximian.com>
2481
2482         * Control.cs: Allow non enum values to be used for
2483         InternalBorderStyle.  MDI does this to set a special border style.
2484         - New utility methods for converting points to/from client coords
2485         - Add the newly created control to the Controls collection before
2486         updating its style. This way UpdateStyle can walk the control
2487         heirarchy to find the control if needed.
2488         so I don't need to create a new Point object all the time.
2489         * Form.cs: Let MDI windows handle their border styles.
2490         - Set styles on MDI windows so the correct title style is derived.
2491         * MdiChildContext.cs: Move all the painting and window handling
2492         into the non client area.
2493         - Use correct sizing and put correct buttons on frames based on
2494         the FormBorderStyle.
2495         - Notify the mdi client about scrolling
2496         - Need to handle the buttons ourselves now, because they are all
2497         in non client areas and we can't add controls there.
2498         * MdiClient.cs: Halfway to scrolling, this implementation is
2499         somewhat broken though, we need to check to make sure other
2500         windows aren't causing scrolling before removing the bars. Also
2501         the bars need to be drawn on top, maybe I can switch implicit
2502         controls to be on top.
2503         * Hwnd.cs: caption_height and tool_caption_height are now
2504         properties of an hwnd, this way they can be set by the driver
2505         based on the type of window they are.  In X11 the window manager
2506         handles the decorations so caption_height is zero unless its an
2507         MDI window.
2508         - Add 3 pixel borders for MDI windows (0xFFFF).
2509         - Get rid of some code duplication, have DefaultClientRectanle
2510         just call GetClientRectangle.
2511         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
2512         Hwnd now.
2513         - Set border styles differently for mdi windows.
2514         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
2515         Hwnd now.
2516         
2517 2005-11-15  Mike Kestner  <mkestner@novell.com>
2518
2519         * Menu.cs: when adding an item to the collection, if item is already 
2520         parented, remove it from the parent.
2521
2522 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
2523
2524         * X11DesktopColors.cs: Added KDE support
2525
2526 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
2527
2528         * XplatUIWin32.cs: 
2529           - Clipboard methods now can translate Rtf format
2530           - No longer removes clipboard contents whenever a new format is added
2531             to allow placing multiple formats on the clipboard
2532         * Clipboard.cs: Clipboard now supports getting a IDataObject and
2533           will place all formats contained in it onto the clipboard. Also
2534           now cleans the clipboard before placing a new object onto it
2535         * RichTextBox.cs:
2536           - Implemented set_Rtf
2537           - Implemented set_SelectedRtf
2538           - Created InsertRTFFromStream() method to allow single code base
2539             for all properties and methods that insert RTF into document
2540           - Removed debug output
2541         * TextControl.cs:
2542           - Fixed Delete(int) to fix up line numbers
2543           - Fixed ReplaceSelection to combine start and end line
2544           - Fixed serious DeleteChars bug that would leave the document tree
2545             broken
2546           - Improved DumpTree with several logic checks to detect broken
2547             document trees
2548           - Removed debug lines
2549           - Fixed Caret.WordForward/WordBack moving code, now always also 
2550             updates caret.tag (fixes crash when word-selecting across tag
2551             boundaries via keyboard)
2552           - Added Insert() method for inserting multiline text into documents
2553           - Fixed DeleteChars() calculation errors that would cause a broken
2554             tag chain with multiple tag lines
2555           - DeleteChars() no longer crashes on multi-tag lines if not all tags
2556           - Split() no longer moves caret if split is at caret location
2557           - ReplaceSelection() now updates the cursor and re-displays it
2558           - ReplaceSelection() now uses new Insert() method to avoid code
2559             duplication
2560           - FormatText() can now handle formatting partial lines
2561         * TextBoxBase.cs:
2562           - Append now uses new TextControl.Insert() method (this avoids 
2563             duplicate code)
2564           - Implemented Ctrl-X (Cut) (
2565           - Implemented Ctrl-C (Copy)
2566           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
2567             regeneration when pasting text; roundtripping Copy&Paste within
2568             edit control still fails due to some calculation bugs in GenerateRTF)
2569           - The Delete key will now remove the current selection if it is visible
2570         * TextBox.cs: Removed debug lines
2571         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
2572           driver to be initialized and can't therefore be done via a static ctor)
2573
2574 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
2575
2576         * TextControl.cs: Added backend code for finding char arrays and strings
2577         * TextBoxBase.cs:
2578           - Added mouse wheel scroll support
2579           - Added support for VScroll and HScroll events
2580         * RichTextBox.cs:
2581           - Implemented all seven Find() variants
2582           - Implemented GetCharFromPosition()
2583           - Implemented GetCharIndexFromPosition()
2584           - Implemented GetLineFromIndex()
2585           - Implemented GetPositionFromCharIndex();
2586           - Implemented SaveFile for PlainText and UnicodeText
2587           - Fixed set_Font, now setting a new font applies that font to
2588             the whole document
2589           - Implemented generic Document to RTF converter
2590           - Implemented SaveFile for RichText format (still missing unicode
2591             conversion for non-ansi chars)
2592           - Implemented get_Rtf
2593           - Implemented get_SelectedRtf
2594
2595 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
2596
2597         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
2598           to allow any captures to be released before triggering OnClick. This
2599           way a click handler may capture the mouse without interference.
2600         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
2601           This way we send them even though X may not allow a grab (if the window
2602           isn't visible, for example)
2603
2604 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
2605
2606         * DataGridViewRowEventArgs.cs: DataGridView implementation
2607         * DataGridViewElement.cs: DataGridView implementation
2608         * DataGridViewComboBoxCell.cs: DataGridView implementation
2609         * DataGridViewDataErrorContexts.cs: DataGridView implementation
2610         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
2611         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
2612         * ImageLayout.cs: DataGridView implementation
2613         * DataGridViewComboBoxColumn.cs: DataGridView implementation
2614         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
2615         * DataGridViewSelectionMode.cs: DataGridView implementation
2616         * IDataGridViewEditingControl.cs: DataGridView implementation
2617         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
2618         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
2619         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
2620         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
2621         * DataGridViewColumnSortMode.cs: DataGridView implementation
2622         * DataGridView.cs: DataGridView implementation
2623         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
2624         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
2625         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
2626         * Padding.cs: DataGridView implementation
2627         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
2628         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
2629         * DataGridViewRowEventHandler.cs: DataGridView implementation
2630         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
2631         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
2632         * DataGridViewButtonCell.cs: DataGridView implementation
2633         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
2634         * DataGridViewEditMode.cs: DataGridView implementation
2635         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
2636         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
2637         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
2638         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
2639         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
2640         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
2641         * DataGridViewCellEventHandler.cs: DataGridView implementation
2642         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
2643         * DataGridViewCellStyleConverter.cs: DataGridView implementation
2644         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
2645         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
2646         * DataGridViewColumnEventArgs.cs: DataGridView implementation
2647         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
2648         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
2649         * QuestionEventArgs.cs: DataGridView implementation
2650         * IDataGridViewEditingCell.cs: DataGridView implementation
2651         * DataGridViewTriState.cs: DataGridView implementation
2652         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
2653         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
2654         * DataGridViewColumnCollection.cs: DataGridView implementation
2655         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
2656         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
2657         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
2658         * DataGridViewColumn.cs: DataGridView implementation
2659         * DataGridViewCellBorderStyle.cs: DataGridView implementation
2660         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
2661         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
2662         * DataGridViewRow.cs: DataGridView implementation
2663         * DataGridViewImageCellLayout.cs: DataGridView implementation
2664         * DataGridViewImageCell.cs: DataGridView implementation
2665         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
2666         * DataGridViewCheckBoxCell.cs: DataGridView implementation
2667         * DataGridViewHeaderCell.cs: DataGridView implementation
2668         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
2669         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
2670         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
2671         * DataGridViewTextBoxColumn.cs: DataGridView implementation
2672         * QuestionEventHandler.cs: DataGridView implementation
2673         * DataGridViewCellStyleScopes.cs: DataGridView implementation
2674         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
2675         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
2676         * DataGridViewCell.cs: DataGridView implementation
2677         * DataGridViewCellEventArgs.cs: DataGridView implementation
2678         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
2679         * DataGridViewCellStyle.cs: DataGridView implementation
2680         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
2681         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
2682         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
2683         * TextFormatFlags.cs: DataGridView implementation
2684         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
2685         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
2686         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
2687         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
2688         * DataGridViewButtonColumn.cs: DataGridView implementation
2689         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
2690         * HandledMouseEventArgs.cs: DataGridView implementation
2691         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
2692         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
2693         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
2694         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
2695         * DataGridViewRowCollection.cs: DataGridView implementation
2696         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
2697         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
2698         * DataGridViewHitTestType.cs: DataGridView implementation
2699         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
2700         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
2701         * DataGridViewColumnEventHandler.cs: DataGridView implementation
2702         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
2703         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
2704         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
2705         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
2706         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
2707         * DataGridViewContentAlignment.cs: DataGridView implementation
2708         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
2709         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
2710         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
2711         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
2712         * DataGridViewPaintParts.cs: DataGridView implementation
2713         * DataGridViewCellCollection.cs: DataGridView implementation
2714         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
2715         * DataGridViewImageColumn.cs: DataGridView implementation
2716         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
2717         * DataGridViewElementStates.cs: DataGridView implementation
2718         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
2719         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
2720         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
2721         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
2722         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
2723         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
2724         * DataGridViewRowHeaderCell.cs: DataGridView implementation
2725         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
2726         * DataGridViewTextBoxCell.cs: DataGridView implementation
2727         * DataGridViewBand.cs: DataGridView implementation
2728         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
2729         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
2730         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
2731         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
2732         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
2733         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
2734         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
2735         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
2736         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
2737         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
2738         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
2739
2740 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
2741
2742         * ThemeWin32Classic.cs: 
2743           - Draw the outside focus rectangle around buttons
2744           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
2745             doesn't use end caps for every dash of a line anymore. This
2746             workaround ignores the forecolor.
2747
2748 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
2749
2750         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
2751           endian safe.
2752
2753 2005-11-07  Jackson Harper  <jackson@ximian.com>
2754
2755         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
2756
2757 2005-11-07  Jackson Harper  <jackson@ximian.com>
2758
2759         * ScrollableControl.cs: Calculate the maximum and change vars
2760         (more) correctly so that scrollbars appear as a sensible size.
2761
2762 2005-11-04  Jackson Harper  <jackson@ximian.com>
2763
2764         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
2765         collection.
2766         * TreeView.cs: When the tree is sorted null out the top_node so
2767         that it is recalculated.
2768         - Use dotted lines instead of dashed lines to match MS better.
2769
2770 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
2771
2772         * ListView.cs: 
2773           - Implements key search for items. Useful when browsing files with FileDialog
2774           - When changing view mode or when clear the items reset scrollbar positions
2775
2776 2005-11-04  Jackson Harper  <jackson@ximian.com>
2777
2778         * CurrencyManager.cs: Implement the MetaDataChanged event, the
2779         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
2780         as to what the method may do as there is no real way of creating a
2781         derived CurrencyManager and calling the method. 
2782
2783 2005-11-03  Jackson Harper  <jackson@ximian.com>
2784
2785         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
2786         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
2787         method which seems to just be used internally to refresh the tabs.
2788
2789 2005-11-03  Jackson Harper  <jackson@ximian.com>
2790
2791         * TabControl.cs: Implement the remove method. Fix some broken
2792         comments.
2793
2794 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
2795
2796         * DateTimePicker.cs:
2797           - Added missing DateTimePickerAccessibleObject class
2798           - Added missing events
2799           - Added OnFontChanged method
2800         * Form.cs: Added missing attributes
2801         * TreeView.cs: Added missing attributes
2802
2803 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
2804
2805         * GridItemCollection.cs: Fix signatures
2806
2807 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
2808
2809         * XplatUI.cs: Updated build rev/date
2810         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
2811           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
2812         * Application.cs: Trigger context-specific ExitThread events
2813
2814 2005-11-03  Jackson Harper  <jackson@ximian.com>
2815
2816         * Menu.cs:
2817         * MainMenu.cs:
2818         * GridTableStylesCollection.cs:
2819         * Timer.cs:
2820         * TabPage.cs:
2821         * HelpProvider.cs:
2822         * StatusBar.cs:
2823         * MonthCalendar.cs: Signature fixes
2824
2825 2005-11-03  Jackson Harper  <jackson@ximian.com>
2826
2827         * TreeNodeCollection.cs: Remove should not be virtual.
2828         * TreeView.cs: Implement the last of the missing methods.
2829
2830 2005-11-03  Jackson Harper  <jackson@ximian.com>
2831
2832         * TreeNodeConverter.cs: Implement to get off my class-status back.
2833
2834 2005-11-03  Jackson Harper  <jackson@ximian.com>
2835
2836         * TreeView.cs: Hookup the bits for drag and drop.
2837         * TreeNode.cs: Don't cache the tree_view or index anymore, now
2838         that nodes can be moved from tree to tree easily this just causes
2839         all sorts of problems.
2840         * TreeNodeCollection: Don't need to give treenodes an index and
2841         treeview anymore when they are added, these are computed on the
2842         fly. Also make sure to remove a node before its added.
2843
2844 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
2845
2846         * TextControl.cs:
2847           - Added CaretSelection enum
2848           - Added comparison methods to Marker struct, makes selection code
2849             more readable
2850           - Added SelectionStart and SelectionEnd as 'moveable' location for
2851             the CaretDirection enum and handler
2852           - Added selection_prev variable to track optimized invalidation for
2853             word and line selection
2854           - Added SelectionVisible property (returns true if there is a valid 
2855             selection)
2856           - Switched CaretHasFocus to only display the caret if there is no
2857             visible selection
2858           - Avoiding StringBuilder.ToString to retrieve a single char, instead
2859             using the direct character index; should be much faster
2860           - Added various conditional debug statements
2861           - Fixed invalidation calculation for selection ranges
2862           - Added ExpandSelection() method to support word and line selection
2863           - Switched SetSelectionToCaret to use new Marker compare overloads
2864           - Added central IsWordSeparator() method to determine word 
2865             separators/whitespace and FindWordSeparator() to streamline common
2866             usage of IsWordSeparator()
2867         * TextBoxBase.cs:
2868           - Removed unneeded grabbed variable, it was just mirroring
2869             Control.Capture
2870           - No longer firing OnTextChanged event when Text setter is called,
2871             since the base will fire the event for us
2872           - Added handling of Ctrl-Up/Down selection
2873           - Added handling of Shift-Cursorkey selection
2874           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
2875             words
2876           - Added handling of Shift and Ctrl-Shift-Home/End selection
2877           - Removed some debug output
2878           - Added handling for single/double/tripple-click to place caret/
2879             select word/select line respectively (Fixes bug #76031)
2880           - Added support for drag expansion of word/line selection
2881         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
2882           current selection
2883
2884 2005-11-02  Jackson Harper  <jackson@ximian.com>
2885
2886         * X11Dnd.cs: If the drag is going to and from a MWF window just
2887         copy the data instead of sending it out through the X Selection
2888         mechanism.
2889
2890 2005-11-02  Jackson Harper  <jackson@ximian.com>
2891
2892         * X11Dnd.cs:
2893         * XplatUIX11.cs: When in a drag we don't want motion notify
2894         messages to get passed on to the other controls. This prevents
2895         mouse move messages from showing up in the drag source.
2896
2897 2005-11-02  Jackson Harper  <jackson@ximian.com>
2898
2899         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
2900         the correct button is release to end a drag.
2901         * XplatUIX11.cs: Make the button state internal so the drag system
2902         can access it.  Dragging needs to know about all button releases,
2903         not just left button.
2904
2905 2005-11-02  Miguel de Icaza  <miguel@novell.com>
2906
2907         * Form.cs (Icon): If the icon is null, reset the icon to the
2908         default value. 
2909
2910         * Cursor.cs: When writing the AND-mask bitmap do not include the
2911         number of colors, but hardcode those to two (black and white),
2912         fixes the loading of color cursors (Paint Dot Net).
2913
2914         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
2915         turn off autoscaling.
2916
2917         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
2918
2919 2005-11-02  Jackson Harper  <jackson@ximian.com>
2920
2921         * X11Dnd.cs: Make sure to send a status message if the pointer
2922         enters a control that can not accept a drop, otherwise the cursor
2923         isn't updated correctly. Also tried to compress the lines of code
2924         a bit.
2925
2926 2005-11-02  Jackson Harper  <jackson@ximian.com>
2927
2928         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
2929         set actions correctly.  This isn't perfect as XDND and win32 have
2930         some differences on how you allow actions. I'll clear this up by
2931         adding a path for drag from MWF to MWF windows.
2932         * XplatUIX11.cs: Hook into the dnd system.
2933
2934 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
2935
2936         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
2937         previously shown but they are no longer need it. Very obvious when 
2938         browsing files with FileDialog.
2939
2940 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
2941
2942         * Control.cs: We always need to call OnPaintBackground. We pretty much
2943           ignore AllPaintingInWmPaint and always do the painting there, whether 
2944           it's set or not, since we always ignore the WM_ERASEBKGND message 
2945           (which we don't generate on X11). This fixes #76616.
2946         * Panel.cs: Removed unneeded background painting. This happens properly
2947           in Control.cs already
2948
2949 2005-10-31  Mike Kestner  <mkestner@novell.com>
2950
2951         * Menu.cs: Add items to collection before setting their index.
2952         * MenuItem.cs : add range checking with ArgumentException like MS.
2953         [Fixes #76510]
2954
2955 2005-10-31  Jackson Harper  <jackson@ximian.com>
2956
2957         * ListBox.cs: Invalidate if the area is visible at all not just
2958         contained in the visible rect. Fixes unselection of semi visible
2959         items.
2960
2961 2005-10-31  Jackson Harper  <jackson@ximian.com>
2962
2963         * Control.cs: Consistently name the dnd methods. Make them
2964         internal so we can override them to match some MS behavoir
2965         internally.
2966         * Win32DnD.cs: Use the new consistent names.
2967
2968 2005-10-31  Jackson Harper  <jackson@ximian.com>
2969
2970         * TreeView.cs: Don't draw the selected node when we lose focus.
2971
2972 2005-10-31  Jackson Harper  <jackson@ximian.com>
2973
2974         * X11Dnd.cs: We still need to reset the state even though a full
2975         reset isn't being done, otherwise status's still get sent all over
2976         the place.
2977
2978 2005-10-31  Jackson Harper  <jackson@ximian.com>
2979
2980         * Control.cs: Make the dnd_aware flag internal so the dnd
2981         subsystem can check it. Catch exceptions thrown in dnd handlers to
2982         match MS behavoir.
2983         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
2984         * X11Dnd.cs: Handle null data in the converters. Set the XDND
2985         version when sending a XdndEnter. Use the control/hwnd dnd_aware
2986         flags to reduce the number of dnd enters/status's sent.
2987
2988 2005-10-31  Jackson Harper  <jackson@ximian.com>
2989
2990         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
2991
2992 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
2993
2994         * PictureBox.cs: Fixes 76512
2995
2996 2005-10-28  Jackson Harper  <jackson@ximian.com>
2997
2998         * X11Dnd.cs: Early implementation to support winforms being a drag
2999         source for data on X11. Also restructured the converters so they
3000         can go both ways now.
3001         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3002         
3003 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
3004
3005         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3006           clipboard requests
3007
3008 2005-10-27  Jackson Harper  <jackson@ximian.com>
3009
3010         * TreeNode.cs: Implement serialization so my DnD examples will work.
3011
3012 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
3013
3014         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3015           TreeView.cs: Don't dispose objects that are not owned.
3016           
3017 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
3018
3019         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3020           should retrieve the current cursor and report that, but XplatUI
3021           doesn't (yet) have an interface for that (and I'm not sure I even
3022           can, on X11)
3023         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3024           until any message loop processing is done (and the WM_SETCURSOR
3025           replaces the cursor to the proper one)
3026         * XplatUIX11.cs: 
3027           - Fixed override behaviour, we can't set the cursor globally on X11, 
3028             just for our windows.
3029           - Invalidating the System.Drawing X11 display handle when we are
3030             shutting down
3031         * Control.cs: Fix to make csc happy
3032
3033 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
3034
3035         * TextBoxBase.cs: 
3036           - get_Text: Add last line (without trailing newline) to returned
3037             value (Fixes 76212)
3038           - get_TextLength: Count last line in returned length
3039           - ToString: Call Text property instead of duplicating code
3040
3041 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
3042
3043         * ImageList.cs: Dispose ImageAttributes objects.
3044
3045 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
3046
3047         * ImageList.cs: Use attribute constructors with less arguments where
3048           possible.
3049
3050 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
3051
3052         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3053           Use typeof instead of strings when assembly is referenced. Added
3054           some more comments.
3055
3056 2005-10-21  Jackson Harper  <jackson@ximian.com>
3057
3058         * ListView.cs: Raise a double click event. Also tried to somewhat
3059         fix when the selectedindexchanged event is raised. Its still
3060         broken though.
3061
3062 2005-10-21  Jackson Harper  <jackson@ximian.com>
3063
3064         * TreeView.cs: New method to invalidate the plus minus area of a
3065         node without invalidating the whole node (maybe this can be used
3066         in some more places).
3067         * TreeNodeCollection.cs: When adding to an empty node we need to
3068         invalidate its plus minus area so the little block shows up.
3069         
3070 2005-10-21  Jackson Harper  <jackson@ximian.com>
3071
3072         * TreeView.cs: Make sure that when we invalidate a node the bounds
3073         are big enough to cover the selected box and the focus
3074         rectangle. Use a different colour for the lines connecting nodes
3075         so they show up with all themes.
3076
3077 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
3078
3079         * NativeWindow.cs: Don't call anything that could call into the driver,
3080           we might be on a different thread.
3081
3082 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
3083
3084         * Control.cs(Dispose): Since Dispose might run on a different thread,
3085           make sure that we call methods that could call into the driver via
3086           invoke, to avoid thread issues
3087
3088 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
3089
3090         * XplatUI.cs: Removed finalizer
3091         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3092           not allowing to be called on the finalizer thread.
3093
3094 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
3095
3096         * ImageList.cs:
3097           - Reverted r51889 and r51891.
3098           - Added ImageListItem class that stores unmodified image items and image
3099             properties required to create list images until handle is created.
3100           - Added AddItem and moved image creation logic to AddItemInternal.
3101           - Added CreateHandle method that creates images based on unmodified items.
3102           - Added DestroyHandle that changes state to store unmodified items.
3103           - Add and AddStrip methods no more create handle.
3104           - ReduceColorDepth has no return value.
3105           - Dispose destroys handle.
3106           - Modified other methods to reflect the above changes.
3107           - Implemented key support.
3108           - Added profile 2.0 members and attributes.
3109           - Added private Reset and ShouldSerialize methods that provide the same
3110             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3111             them as they are private.
3112           - Added some more comments about implementation details.
3113
3114 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3115
3116         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
3117
3118 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3119
3120         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
3121
3122 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
3123
3124         * DataGridDrawingLogic.cs: Fixes column hit calcultation
3125         * DataGridColumnStyle.cs: Remove debug message
3126
3127 2005-10-20  Jackson Harper  <jackson@ximian.com>
3128
3129         * TreeView.cs: We can always get input keys regardless of whether
3130         or not editing is enabled. They are used for navigation.
3131
3132 2005-10-20  Jackson Harper  <jackson@ximian.com>
3133
3134         * TreeNode.cs: Use the viewport rect for determining if a node
3135         needs to be moved for visibility. Don't use Begin/End edit. This
3136         calls a full refresh when its done.
3137         * TreeView.cs: New SetBottom works correctly.  Make the viewport
3138         rect property internal so the treenodes can see it. When clicking
3139         on a node we need to ensure that its visible because it might just
3140         be partly visible when clicked.
3141
3142 2005-10-20  Jackson Harper  <jackson@ximian.com>
3143
3144         * TreeNodeCollection.cs: Remove debug code.
3145
3146 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
3147
3148         * Datagrid.cs: Implements column sorting in Datagrid
3149         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
3150
3151 2005-10-20  Jackson Harper  <jackson@ximian.com>
3152
3153         * TreeNodeCollection.cs: Remove items properly. Update the correct
3154         area after removing them.
3155
3156 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
3157
3158         * Datagrid.cs: Should not call base.OnPaintBackground
3159
3160 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
3161
3162         * XplatUIX11.cs (GetMessage):
3163           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
3164             window instead of client window
3165           - Now properly calculates NC_xBUTTONUP message coordinates
3166           - ScreenToMenu now properly calculates it's coordinates of whole 
3167             window, since menus are in the whole window, not in the client
3168             window
3169           - Added WholeToScreen coordinate translation method
3170
3171 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
3172
3173         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
3174           want to return a message, loop back to the beginning of the function
3175           and grab the next real message to process instead.
3176
3177 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
3178
3179         * Splitter.cs: Properly set limits if no filler control is used
3180
3181 2005-10-19  Jackson Harper  <jackson@ximian.com>
3182
3183         * ColorDialog.cs: Don't show the help button if it is not enabled
3184         instead of disabling it (this is what MS does). Don't create the
3185         panel until the dialog is run, otherwise the vars (such as
3186         ShowHelp) are not set yet.
3187
3188 2005-10-19  Jackson Harper  <jackson@ximian.com>
3189
3190         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
3191         are reduced when adding nodes.
3192         * TreeNode.cs:
3193         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
3194         tree.
3195         
3196 2005-10-19  Jackson Harper  <jackson@ximian.com>
3197
3198         * FolderBrowserDialog.cs: End editing our treeview so the window
3199         actually gets refreshed.
3200
3201 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
3202
3203         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
3204           Obsoleted handling of WM_ERASEBKGND, now always draws our background
3205           inside of WM_PAINT
3206
3207 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3208
3209         * MenuAPI.cs: Returns after Hidding window
3210         * XplatUIX11.cs: Added TODO found while debugging menu issues
3211
3212 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
3213
3214         * XplatUIX11.cs: Do not re-map the whole window when it's size
3215           becomes non-zero unless it's supposed to be actually visible
3216
3217 2005-10-18  Jackson Harper  <jackson@ximian.com>
3218
3219         * TreeView.cs: We don't need to keep a count anymore.
3220         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3221         use the Grow method.
3222
3223 2005-10-18  Jackson Harper  <jackson@ximian.com>
3224
3225         * TreeNodeCollection.cs: Insert is not supported on arrays, so
3226         implement it manually here.
3227
3228 2005-10-18  Jackson Harper  <jackson@ximian.com>
3229
3230         * ImageList.cs: Dont kill the list when the colour depth is
3231         changed, just change the colour depth of all the images.
3232         - Same goes for setting the image size. Just resize them all
3233         instead of killing the list softly.
3234
3235 2005-10-18  Jackson Harper  <jackson@ximian.com>
3236
3237         * Control.cs: Don't invalidate empty rectangles.
3238
3239 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3240
3241         * ListViewItem.cs:
3242           - Adds checked item to the Checked/Item lists (where empty before)
3243           - Do not add items to the Selected lists if they are already present
3244         * ListView.cs:
3245           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3246           - When deleting items make sure that we delete them for the Selected
3247           and Checked list also.
3248
3249 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
3250
3251         * Label.cs: Dispose objects no longer used
3252         * ThemeWin32Classic.cs: Dispose objects no longer used
3253
3254 2005-10-18  Jackson Harper  <jackson@ximian.com>
3255
3256         * TabControl.cs: Don't refresh the whole control when the tabs are
3257         scrolled, we just need to refresh the tab area.
3258
3259 2005-10-17  Jackson Harper  <jackson@ximian.com>
3260
3261         * XplatUIX11.cs: Compress code a little bit. Only calculate the
3262         after handle when we need it.
3263
3264 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
3265
3266         * Control.cs: When the parent size changes, recalculate anchor 
3267           positions. Partial fix for #76462
3268
3269 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
3270
3271         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
3272           drawn. Fixes #76462
3273
3274 2005-10-17  Jackson Harper  <jackson@ximian.com>
3275
3276         * MonthCalendar.cs: Don't create the numeric up down until our
3277         handle is created. Otherwise our handle is created in the
3278         constructor and we don't know if we are a WS_CHILD or WS_POPUP
3279         yet.
3280
3281 2005-10-17  Jackson Harper  <jackson@ximian.com>
3282
3283         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3284         correctly.
3285
3286 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
3287         * TreeNode.cs : small logical fix (was using local var instead of field)
3288         
3289 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
3290
3291         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3292
3293 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
3294
3295         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3296
3297 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
3298
3299         * Control.cs: 
3300           - Re-implemented anchoring code. My first version was really broken.
3301             This fixes bug #76033. Unlike the previous implementation we will
3302             no longer have round errors since all numbers are calculated from
3303             scratch every time. Removed various anchor-related obsolete vars.
3304           - InitLayout no longer causes layout event firing and layout to be 
3305             performed
3306
3307 2005-10-16  Jackson Harper  <jackson@ximian.com>
3308
3309         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3310         which was broken).
3311
3312 2005-10-16  Jackson Harper  <jackson@ximian.com>
3313
3314         * TabControl.cs: Remove debug code.
3315
3316 2005-10-16  Jackson Harper  <jackson@ximian.com>
3317
3318         * XEventQueue.cs: Increase the default queue size (very simple
3319         apps needed to grow the queue).
3320         * Hwnd.cs: No finalizer so we don't need to suppress
3321         finalization. Compute the invalid area manually so a new rectangle
3322         does not newto be created.
3323         * ScrollableControl.cs: Don't set any params (otherwise visibility
3324         isn't set correctly).
3325         * MdiChildContext.cs: New constructor takes the mdi parent so it
3326         doesn't have to be computed and avoids a crash on windows. Draw
3327         the window icon properly, and allow the text to be seen.
3328         * Form.cs: Use new MdiChildContext constructor. Make sure the
3329         child context isn't null in wndproc.
3330         * TabControl.cs: Don't set focus, this is muddling keyboard
3331         behavoir. Expand the tab rows when a window size increase will
3332         allow extra tabs to be seen. Don't allow tabs smaller than the
3333         width of a window to be scrolled out of view.
3334         * TreeNode.cs:
3335         * TreeView.cs: Use measure string to calculate a nodes width, the
3336         width is cached and only updated when the text or the font is
3337         changed. Don't check for expand/collapse clicks on the first level
3338         nodes if root lines are disabled.
3339         
3340 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
3341
3342         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3343
3344 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
3345
3346         * DataGridBoolColumn.cs: fixes warning
3347
3348 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
3349
3350         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3351         to match more to match more precisely the MS Net behavior
3352
3353 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
3354
3355         * Hwnd.cs: Added field to track if window is mapped
3356         * XplatUIX11.cs: 
3357           - Unmap windows if they become 0-size, re-map when 
3358             they are >0 again; fixes #76035
3359           - Re-set our error handler after initializing X11Desktop
3360             to override any error handlers Gtk or whatever was called
3361             may have set.
3362
3363 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
3364
3365         * CheckedListBox.cs: Removed unused vars
3366         * ListView.cs: Fixed signatures
3367         * RichTextBox.cs: Removed unused vars
3368         * TextBoxBase.cs: Removed unused vars
3369         * XplatUIWin32.cs: Removed unused vars
3370         * XplatUIX11.cs: Removed unused vars
3371         * XplatUI.cs: Updated version and date to latest published
3372
3373 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
3374
3375         * Cursor.cs: Added private .ctor to work around a bug in
3376           resourceset (Thanks to Geoff Norton for the help on this)
3377         * SplitterEventArgs.cs: Made fields accessible so we don't
3378           waste boatloads of objects and can reuse the same one
3379           in Splitter
3380         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
3381           any captions and borders when generating screen coordinates
3382         * Splitter.cs: Reimplemented control, now fully complete, uses
3383           rubberband drawing, supports and obeys all properties, has
3384           proper cursors
3385
3386 2005-10-13  Miguel de Icaza  <miguel@novell.com>
3387
3388         * Form.cs (Form): Setup default values for autoscale and
3389         autoscale_base_size;  Make these instance variables, not static
3390         variables. 
3391
3392         (OnLoad): on the first load, adjust the size of the form.
3393
3394 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
3395
3396         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
3397           width argument to DrawReversibleRectangle()
3398         * XplatUIWin32.cs, XplatUIX11.cs: 
3399           - Implemented width for DrawReversibleRectangle()
3400           - Added logic to DrawReversibleRectangle that recognizes a zero
3401             width or height and only draws a line in that situation
3402         
3403 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
3404
3405         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
3406         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
3407         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
3408           method (it uses our FosterParent window to get a graphics context)
3409
3410 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
3411
3412         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
3413           and SetWindowBackground methods
3414         * Control.cs:
3415           - Setting proper ControlStyles
3416           - We no longer call XplatUI.SetWindowBackground and XplatUI.
3417             EraseWindowBackground, instead we draw the window background
3418             ourselves in PaintControlBackground. This behaviour is
3419             required to match MS, where, when OnPaintBackground is not
3420             called, the background is not drawn.
3421           - Removed unneeded Refresh() in set_Text
3422         * Hwnd.cs: Dropped the ErasePending support. No longer needed
3423         * XplatUIX11.cs:
3424           - Created DeriveStyles method to translate from CreateParams to
3425             FormBorderStyle and TitleStyle, also handles BorderStyle (which
3426             matches FormBorderStyle enum values)
3427           - Consolidated SetHwndStyles and CalculateWindowRect border/title
3428             style calculations into single DeriveStyles method
3429           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
3430             from redrawing the whole window on any resize or expose.
3431           - Fixed CreateWindow usage of SetWindowValuemask. Before not
3432             all styles were applied to our whole/client window appropriately
3433           - Removed EraseWindowBackground() and SetWindowBackground() methods
3434           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
3435             no longer clear/redraw the background through X
3436           - Removed handling of erase_pending bit, we have no use for it (or
3437             so it seems)
3438         * XplatUIOSX.cs:
3439           - Removed generation and handling of WM_ERASEBKGND message
3440           - Removed EraseWindowBackground() and SetWindowBackground() methods
3441           - Removed handling of hwnd.ErasePending flag
3442         * XplatUIWin32.cs:
3443           - Removed EraseWindowBackground() and SetWindowBackground() methods
3444           - We no longer call EraseWindowBackground on PaintEventStart, we 
3445             ignore the fErase flag, erasing is handled in Control in the
3446             background handler
3447         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
3448           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
3449           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
3450           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
3451           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
3452           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
3453           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
3454
3455 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
3456
3457         * PropertyGrids.cs: Get sub properties
3458         * PropertyGridView.cs: Fix drawing code
3459
3460 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
3461
3462         * ListBox.cs: Fixes 76383
3463
3464 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
3465
3466         * DataGridTextBoxColumn.cs: Sets location and size before attachment
3467         * ThemeWin32Classic.cs: Fixes border drawing and calculations
3468         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
3469
3470
3471 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
3472
3473         * ComboBox.cs: Fixes border drawing
3474
3475 2005-10-10  Miguel de Icaza  <miguel@novell.com>
3476
3477         * MimeIcon.cs: Ignore errors if the file can not be read.
3478
3479 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
3480
3481         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
3482          - Fixed border calculations
3483          - Fixed horizontal scrolling in single column listboxes
3484          - Fixed drawing issues
3485
3486 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
3487
3488         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
3489           FormBorderStyle enum
3490         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
3491           code to determine FormBorderStyles from CreateParams
3492         * Form.cs:
3493           - Fixed bug where we'd set the wrong window styles if we were
3494             not creating an MDI window
3495           - Added call to XplatUI.SetBorderStyle when form borders are set
3496         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
3497         * Hwnd.cs:
3498           - Removed obsolete edge style
3499           - Switched from BorderStyle to FormBorderStyle
3500         
3501 2005-10-10  Jackson Harper  <jackson@ximian.com>
3502
3503         * Form.cs: Use the property to get the window handle instead of
3504         accessing it directly. Prevents a null reference exception.
3505
3506 2005-10-10  Jackson Harper  <jackson@ximian.com>
3507
3508         * TreeView.cs: Don't adjust the rect given to DrawString now that
3509         our libgdiplus draws correctly.
3510
3511 2005-10-08  Jackson Harper  <jackson@ximian.com>
3512
3513         * TreeView.cs: Don't try to find the clicked on node if there are
3514         no nodes in the tree.
3515
3516 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
3517
3518         * RichTextBox.cs:
3519
3520           restore
3521
3522 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
3523
3524         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
3525           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
3526           ErrorProvider.cs:
3527           Use ResPool for brushes and dispose System.Drawing objects that
3528           are not used anymore.
3529
3530 2005-10-07  Jackson Harper  <jackson@ximian.com>
3531
3532         * MdiChildContext.cs: Use the new borders instead of drawing them
3533         ourselves.
3534
3535 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
3536
3537         * Calling UpdateBounds after changing the window's BorderStyle 
3538         since the style can change the ClientSize
3539
3540 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
3541
3542         * Control.cs: Made PaintControlBackground virtual
3543         * Panel.cs: Overriding PaintControlBackground instead of using paint
3544           event; paint event method was interfering with 'real' users of the
3545           event.
3546
3547 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
3548
3549         * ThemeWin32Classic.cs: remove border drawing since it is handled
3550         by the base control class now and was causing double border drawing.
3551
3552 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
3553
3554         * Panel.cs: Redraw our background on paint. Not a pretty solution,
3555           but it does seem to match MS behaviour. This fixes bug #75324
3556
3557 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
3558
3559         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
3560           somewhat hackish looking
3561
3562 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
3563
3564         * TextBoxBase.cs:
3565           - We now accept Enter even if AcceptEnter is false, if the containing
3566             form does not have an AcceptButton configured (fixes bug #76355)
3567           - Calculations are now fixed to no longer use Width/Height, but
3568             ClientSize.Width/Height, since we now support borders (this was
3569             a result of fixing borders and therefore bug #76166)
3570           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
3571             true (fixes bug #76354)
3572         
3573 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
3574
3575         * Control.cs: 
3576           - Defaulting BorderStyle and setting it in XplatUI when our window 
3577             is created
3578           - Added enum check to InternalBorderStyle setter
3579         * XplatUIX11.cs: 
3580           - Added drawing of window borders
3581           - Now properly calculates WM decorations offset for toplevel 
3582             windows (fixes bug #74763)
3583         * XplatUIWin32.cs: 
3584           - Implemented BorderStyles for windows (we're letting win32 draw 
3585             the border for us)
3586           - Fixed the signature for SetWindowLong
3587         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
3588           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
3589           setting borders
3590         * UpDownBase.cs: Remove drawing of borders, this is handled by
3591           the driver, outside the client area
3592         * ListView.cs: Removed bogus border calculations. The control should
3593           be oblivious to borders, since those are not part of the client
3594           area. 
3595         * X11DesktopColors.cs: Commented out (currently) unneeded variables
3596         * ThemeWin32Classic.cs: Removed border calculations from ListView 
3597           drawing code
3598
3599 2005-10-06  Jackson Harper  <jackson@ximian.com>
3600
3601         * MdiChildContext.cs: Clear out the old virtual position remove
3602         all the unneeded calls to CreateGraphics.
3603
3604 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
3605
3606         * TextControl.cs: Use proper color for highlighted text; fixes #76350
3607
3608 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
3609
3610         * Form.cs: 
3611           - Added loading and setting of our new default icon
3612           - Only set icon if window is already created
3613
3614 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
3615
3616         * Label.cs:
3617           - Do not explicitly set the foreground and background colors, to
3618             allow inheriting from parents (fixes #76302)
3619           - Use Control's InternalBorderStyle property to deal with borders
3620
3621 2005-10-06  Jackson Harper  <jackson@ximian.com>
3622
3623         * MdiChildContext.cs: Use the new xplatui function to draw a
3624         reversible rect.
3625
3626 2005-10-06  Jackson Harper  <jackson@ximian.com>
3627
3628         * Form.cs: Add the parent before creating the child context cause
3629         we need the parent when setting up the child.
3630
3631 2005-10-06  Jackson Harper  <jackson@ximian.com>
3632
3633         * FolderBrowserDialog.cs: redo the tree population code so a
3634         second thread isn't used. Should be a lot faster and more stable
3635         now.
3636
3637 2005-10-05  Jackson Harper  <jackson@ximian.com>
3638
3639         * TreeView.cs: There are no expand/collapse boxes if the node has
3640         no children.
3641
3642 2005-10-05  Jackson Harper  <jackson@ximian.com>
3643
3644         * X11DesktopColors.cs: Get menu colours for the gtk theme.
3645
3646 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
3647
3648         * FileDialog.cs: Fix InitialDirectory
3649
3650 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
3651
3652         * ComboBox.cs:
3653                 - Fixes changing between styles
3654                 - Fixes simple mode
3655                 - Fixes last item crashing when navigating with keyboard
3656
3657 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
3658
3659         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
3660
3661 2005-10-05  Jackson Harper  <jackson@ximian.com>
3662
3663         * TreeView.cs: If updating the root node do a full refresh.
3664         * TreeNode.cs: The root node should be expanded by default. Also
3665         added a utility prop to tell if we are the root node.
3666         * TreeNodeCollection.cs: Only refresh if the node we are being
3667         added to is expanded. Also added a comment on a potential
3668         optimization.
3669         
3670 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
3671
3672         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
3673           in dispose method. Fixes #76330
3674
3675 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
3676
3677         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
3678
3679                 - Implements vertical and horizontal scrolling using XplatUI
3680                 - Fixes keyboard navagation
3681                 - Fixes EnsureVisible
3682                 - Drawing fixes
3683                 - Handles and draws focus properly
3684
3685
3686 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
3687
3688         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
3689           Create handle. NET_2_0: Destroy handle when value is null.
3690
3691 2005-10-03  Jackson Harper  <jackson@ximian.com>
3692
3693         * ScrollBar.cs: My last scrollbar patch was broken. This is a
3694         revert and a new patch to prevent the thumb from refreshing so
3695         much.
3696
3697 2005-10-02  Jackson Harper  <jackson@ximian.com>
3698
3699         * ScrollBar.cs: Don't update position if it hasn't actually
3700         changed. This occurs when you hold down the increment/decrement
3701         buttons and the thumb gets to the max/min.
3702
3703 2005-10-01  Jackson Harper  <jackson@ximian.com>
3704
3705         * Form.cs:
3706         * MdiChildContext.cs:
3707         * MdiClient.cs: Implement ActiveMdiChild in Form.
3708
3709 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
3710
3711         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
3712
3713 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
3714
3715         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
3716           be found
3717
3718 2005-09-30  Jackson Harper  <jackson@ximian.com>
3719
3720         * ListBox.cs: Don't do a full refresh unless some data has
3721         actually changed.
3722
3723 2005-09-30  Jackson Harper  <jackson@ximian.com>
3724
3725         * TreeView.cs: Make sure that the checkboxes size is factored in
3726         even when not visible.
3727
3728 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
3729
3730         * FileDialog.cs: Fix Jordi's build break
3731
3732 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
3733
3734         * FileDialog.cs: 
3735                 - Use standard the Windows colours for the combobox as espected
3736                 - Dispose objects that use resouces when no longer need them
3737
3738 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
3739
3740         * X11DesktopColors.cs: Initial incomplete implementation
3741         * XplatUIX11.cs: Added call to initialize X11DesktopColors
3742
3743 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
3744
3745         * Theme.cs: 
3746           - Switched Theme color names to match the names defined in 
3747             System.Drawing.KnownColors. Life's hard enough, no need to make 
3748             it harder.
3749           - Added setters to all theme color properties so themes can set
3750             their color schemes. The setters also propagate the color changes
3751             to System.Drawing.KnownColors via reflection
3752         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
3753           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
3754           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
3755           use the new, more logical theme color names
3756         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
3757           post-NT colors
3758         * ThemeWin32Classic.cs:
3759           - Removed code to set the old classic Windows colors. Instead it
3760             now relies on the colors returned by System.Drawing.KnownColors
3761             which will be either modern static colors (Unix) or colors
3762             read from the user's configuration (Win32)
3763           - Updated to use the new, more logical theme color names
3764           - Switched DataGrid drawing code to use only Theme colors instead of
3765             a mix of System.Drawing.KnownColors and Theme colors
3766           - DrawFrameControl(): Removed code that fills the button area, the
3767             fill would overwrite any previous fill done by a control. This
3768             fixes bug #75338 
3769           - Added DrawReversibleRectangle() stub
3770         * ScrollableControl.cs: Set visible state to false when scrollbars
3771           are removed (pdn fix)
3772         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
3773           DrawReversibleRectangle() method to allow drawing primitive 
3774           'rubber bands'
3775         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
3776
3777 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3778
3779         * ImageList.cs: Add(Icon): Create handle.
3780
3781 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
3782
3783         * ListView.cs:
3784         * ThemeWin32Classic.cs:
3785                 - Fixes detail mode
3786                 - Sets clippings
3787                 - Issues with drawing
3788
3789 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3790
3791         * ImageList.cs: Moved RecreateHandle back to ImageList as event
3792           source has to be the ImageList.
3793
3794 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3795
3796         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
3797
3798 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3799
3800         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
3801
3802 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3803
3804         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
3805
3806 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
3807         * GridItem.cs: Fixed TODOs
3808         * GridItemCollection.cs: Added ICollection interface
3809
3810 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
3811
3812         * ImageList.cs: Resize icons when needed.
3813
3814 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
3815
3816         * ListViewItem.cs
3817                 - Fixes GetBounds and returns on screen rects
3818         * ListView.cs:
3819                 - Fixes vertical and horzintal scrolling of items
3820         * ThemeWin32Classic.cs:
3821                 - Fixes drawing
3822                 
3823 2005-09-29  Raja R Harinath  <harinath@gmail.com>
3824
3825         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
3826
3827 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
3828
3829         * ImageList.cs: Added comments about handle creation. Moved Handle,
3830           HandleCreated and OnRecreateHandle implementations to ImageCollection.
3831           Handle is created in Add methods.
3832
3833 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
3834          
3835         * DataGridDrawingLogic.cs: 
3836                 - Takes rows into account on Colum calculations
3837                 - Returns the column when clickig
3838         * DataGrid.cs:
3839                 - Fixes default HitTestInfo values
3840                 - Fixes HitTestInfo.ToString
3841                 - Fixes ResetBackColor          
3842         
3843 2005-09-28  Jackson Harper  <jackson@ximian.com>
3844
3845         * MdiChildContext.cs: Obey rules for fixed sized windows (no
3846         sizing or cursor changes). Also added some temp code to draw the
3847         titlebars text (Makes dev a little easier).
3848
3849 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
3850
3851         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
3852
3853 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
3854          
3855         * ListBox.cs: Fixes bug 76253
3856
3857 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
3858
3859         * ImageList.cs: Added comments about the current implementation. Added
3860           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
3861           Format32bppArgb to preserve transparency and can use Graphics.FromImage
3862           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
3863           with Bitmap.LockBits for better performance. Revised the whole file to
3864           match MS.NET behaviour and provide better performance. Non-public
3865           interface members are calling public members even when they throw
3866           NotSupportedException for better maintainability. Moved ColorDepth,
3867           ImageSize, ImageStream and TransparentColor implementations to
3868           ImageCollection for better performance as these properties are not used
3869           by ImageList.
3870         * ImageListStreamer.cs: Added a new internal constructor that takes an
3871           ImageList.ImageCollection and serializes Images based on
3872           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
3873           match ImageList property name.
3874
3875 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
3876
3877         * ListBox.cs: Fixes IndexFromPoint for last item
3878
3879 2005-09-27  Jackson Harper  <jackson@ximian.com>
3880
3881         * Form.cs: Set the position of new mdi children correctly.
3882
3883 2005-09-27  Jackson Harper  <jackson@ximian.com>
3884
3885         * MdiClient.cs: New mdi children need to be added to the back of
3886         the controls collection so the zorder is set correctly. Also add a
3887         count of all the child windows that have been created.
3888
3889 2005-09-27  Jackson Harper  <jackson@ximian.com>
3890
3891         * Form.cs (CreateParams): Setup MDI forms correctly.
3892
3893 2005-09-27  Jackson Harper  <jackson@ximian.com>
3894
3895         * MdiChildContext.cs:
3896         * MonthCalendar.cs:
3897         * UpDownBase.cs:
3898         * ListBox.cs:
3899         * ListView.cs:
3900         * TextBoxBase.cs:
3901         * TreeView.cs:
3902         * ScrollableControl.cs:
3903         * ComboBox.cs: Add implicit controls using the new implict control
3904         functionality in ControlCollection. Also try to block multiple
3905         control add in a suspend/resume layout to save some cycles.
3906         
3907 2005-09-27  Jackson Harper  <jackson@ximian.com>
3908
3909         * Control.cs: Add functionality to the controls collection to add
3910         'implicit controls' these are controls that are created by the
3911         containing control but should not be exposed to the user. Such as
3912         scrollbars in the treeview.
3913         * Form.cs: The list var of the ControlsCollection is no longer
3914         available because of the potential of implicit controls getting
3915         ignored by someone accessing the list directly.
3916
3917 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
3918
3919         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
3920           loose it's parent. (Fixed bug introduced in r49103 when we added
3921           setting the child parent to null on Remove)
3922
3923 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
3924
3925         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
3926         * Splitter.cs: Added missing attributes for BorderStyle property.
3927         * TextBoxBase.cs: Marked Calculate* methods internal.
3928         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
3929         MS.NET.
3930
3931 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
3932          
3933         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
3934
3935 2005-09-25  Jackson Harper  <jackson@ximian.com>
3936
3937         * TreeView.cs: Update the node bounds correctly regardless of
3938         whether the node is visible.
3939
3940 2005-09-25  Jackson Harper  <jackson@ximian.com>
3941
3942         * ImageList.cs: Don't dispose the image after it is added to the
3943         image list. Only reformat images that need to be resized.
3944
3945 2005-09-25  Jackson Harper  <jackson@ximian.com>
3946
3947         * ImageList.cs: Don't set the format when changing the image.
3948
3949 2005-09-25  Jackson Harper  <jackson@ximian.com>
3950
3951         * TreeView.cs: We can't just assume the node has a font. Use the
3952         treeviews font if no node font is available.
3953
3954 2005-09-25  Jackson Harper  <jackson@ximian.com>
3955
3956         * TreeView.cs: Allow the scrollbars to be reset with negative
3957         values.
3958         - Don't add scrollbars to negative sized windows.
3959
3960 2005-09-23  Jackson Harper  <jackson@ximian.com>
3961
3962         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
3963         old Mono.Posix. Also remove some stray code that shouldn't have
3964         been committed.
3965
3966 2005-09-23  Jackson Harper  <jackson@ximian.com>
3967
3968         * TreeView.cs: Attempt at proper sizing of the horizontal
3969         scrollbar. Also don't resize the scrollbars unless they are
3970         visible.
3971
3972 2005-09-23  Jackson Harper  <jackson@ximian.com>
3973
3974         * TreeView.cs: We don't need to expand the invalid area when the
3975         selection changes, as this is all drawn in the node's bounding
3976         box. The area needs to be expanded (previous typo was contracting
3977         it) when the focus rect moves.
3978
3979 2005-09-23  Jackson Harper  <jackson@ximian.com>
3980
3981         * TreeView.cs: Display the selection box under the correct
3982         circumstances. We were rendering white text with no selection box
3983         before.
3984
3985 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
3986
3987         * TextControl.cs(Split): Now updates selection start/end if it points 
3988           into a line that's being split. Fixes a FIXME and bug #75258
3989
3990 2005-09-23  Jackson Harper  <jackson@ximian.com>
3991
3992         * Binding.cs:
3993         * ListControl.cs: Don't use the path when retrieving binding
3994         managers from the binding context. My bat sense tells me that the
3995         path is only used on insertion.
3996
3997 2005-09-22  Jackson Harper  <jackson@ximian.com>
3998
3999         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4000
4001 2005-09-22  Jackson Harper  <jackson@ximian.com>
4002
4003         * Splitter.cs: There are special cursors used for splitting.
4004         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4005
4006 2005-09-22  Jackson Harper  <jackson@ximian.com>
4007
4008         * Splitter.cs: Change the cursor appropriately when the splitter
4009         is moused over, so the user actually knows there is a splitter
4010         there.
4011
4012 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4013
4014        * Label.cs : Fix ToString method to give same output as MS.NET
4015
4016 2005-09-22  Jackson Harper  <jackson@ximian.com>
4017
4018         * TreeView.cs: Create the scrollbars when the handle is created
4019         and add them right away, just make them invisble. Also account for
4020         the window being shrunk vertically to the point that the vert
4021         scrollbar needs to be added.
4022         - Remove some 0.5 adjustments to get around anti aliasing issues.
4023         
4024 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
4025          
4026         * MainMenu.cs: Fixes default value
4027         * MenuItem.cs: Fixes default value
4028
4029 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
4030
4031         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4032
4033 2005-09-21  Jackson Harper  <jackson@ximian.com>
4034
4035         * Control.cs: Don't try to set the border style on the window if
4036         it hasn't been created. When the window is created the border
4037         style will be used.
4038
4039 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
4040
4041         * Control.cs (Update): Don't call XplatUI if we don't have a
4042           window handle yet
4043
4044 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
4045
4046         * ContainerControl.cs: Instead of throwing an exception, print
4047           a one-time warning about Validate not being implemented
4048         * XplatUIWin32.cs: Removed debug output
4049
4050 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
4051
4052         * Control.cs: Only set XplatUI background if we expect the windowing
4053           system to handle the background. This stops controls that draw their
4054           own background from flickering
4055
4056         * XplatUIX11.cs: Support custom visuals and colormaps for window 
4057           creation. This allows, amongst other things, using MWF X11 windows 
4058           with OpenGL.
4059
4060 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
4061
4062         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4063           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4064           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4065           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4066           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4067           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4068           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4069           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4070           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4071           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4072           GridColumnStylesCollection.cs, 
4073           IDataGridColumnStyleEditingNotificationService.cs,
4074           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4075           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4076           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
4077           TreeNodeCollection.cs, AmbientProperties.cs, 
4078           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4079           DataObject.cs, ErrorProvider.cs, Splitter.cs,
4080           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4081           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4082           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4083           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4084           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4085           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4086           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4087           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4088           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4089           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4090           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4091           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4092           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4093           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4094           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4095           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4096           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4097           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4098           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4099           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4100           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4101           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4102           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4103           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4104           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4105           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4106           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4107           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4108           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4109           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4110           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4111           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4112           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4113           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
4114           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
4115
4116 2005-09-21  Jackson Harper  <jackson@ximian.com>
4117
4118         * TreeNode.cs: Call Before/After Expand not Collapse when
4119         expanding.
4120
4121 2005-09-20  Jackson Harper  <jackson@ximian.com>
4122         
4123         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
4124
4125 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
4126          
4127         * ListViewItem.cs:
4128                 - Fixes bug 76120
4129                 - Fixes proper storing of subitems
4130                 - Fixes not updated items
4131
4132 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
4133
4134         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
4135           things if our window handle isn't created yet. Also disabled 
4136           debug for TextBoxBase
4137
4138 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
4139
4140         * MenuAPI.cs: Remove filtering of events to allow menu usage
4141
4142 2005-09-20  Miguel de Icaza  <miguel@novell.com>
4143
4144         * Cursor.cs: Allow null to be passed to Cursor.Current.
4145
4146 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
4147
4148         * ThemeWin32Classic.cs:
4149           - Change some private methods/fields to protected virtual so that 
4150             they can be accessed and overriden in derived classes
4151           - First refactoring of some methods. Derived themes now don't 
4152             need to duplicate the complete code from ThemeWin32Classic
4153         * ThemeNice.cs:
4154           - Added nice StatusBar
4155           - Derive from ThemeWin32Classic and not Theme
4156           - Removed duplicate ThemeWin32Classic code
4157
4158 2005-09-20  Miguel de Icaza  <miguel@novell.com>
4159
4160         * Control.cs (ControlCollection.Add): If the value null is passed
4161         the control is ignored. 
4162
4163         Optimize this loop.
4164
4165 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
4166
4167         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
4168           PostQuitMessage state.
4169         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
4170
4171 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
4172
4173         * Application.cs: Our constructor will never get called, move 
4174           initialization to fields; fixes bug #75933
4175
4176 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4177
4178         * FileDialog.cs :
4179                 - Allow files to be selected properly using file name
4180                 combo box.
4181                 - Add ability to change diretory (absolute / relative)
4182                 using file name combo box.
4183
4184 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
4185          
4186         * ListBox.cs: 
4187                 - Fixes Multicolumn listboxes item wrong calculations
4188                 - Allows to click when only one item is in the listbox
4189                 - Fixes crash when no items using keyboard navigation
4190
4191 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
4192
4193         * ComboBox.cs: Reverted almost everything from the latest patch which
4194           broke ComboBox
4195
4196 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
4197         
4198         * ToolTip.cs:
4199                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
4200         * ComboBox.cs:
4201                 - When DropDownStyle is Simple, it does not show scrollbar 
4202                 to the last item of the list.
4203                 - When DropDownStyle is Simple, it crashed when the list was 
4204                 scrolled down with the down cursor key.
4205                 - Fixed a bug that when DropDownStyle is DropDownList, the 
4206                 selected item was not shown.
4207                 - The position of the selected item was not preserved when 
4208                 the next dropdown happened.
4209         * ThemeWin32Classic.cs:
4210                 - Items were wrapped at the right end.
4211         * CheckedListBox.cs:
4212                 - Fixed Add method
4213         * ListBox.cs:
4214                 - Items should be fully shown.
4215                 - When resizing and vertical scrollbar disappeared, the item 
4216                 of index 0 should be on the top of the list.
4217                 - GetItemRectangle should consider the size of ver. scrollbar
4218         * StatusBar.cs:
4219                 - SizingGrip area should not be allocated when it is not 
4220                 displayed.
4221                 - Now it reflects MinWidth of the containing panel and 
4222                 fixed a crash that happens when its width becomes so small.
4223
4224 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
4225
4226         * CheckedListBox.cs: Fixes bug 76028
4227         * ListBox.cs: Fixes bug 76028
4228
4229 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
4230
4231         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4232         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4233
4234 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
4235
4236         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4237
4238 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
4239
4240         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
4241
4242 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
4243
4244         * IRootGridEntry.cs: Added
4245         * PropertyGridCommands.cs: Added
4246         * PropertiesTab.cs: Added missing methods and property
4247         * PropertyGridView.cs: Made class internal
4248         * PropertyGridTextBox.cs: Made class internal
4249
4250 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4251
4252         * MimeIcon.cs: Try to check some other environment variables
4253           if "DESKTOP_SESSION" returns "default"
4254
4255 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4256
4257         * ThemeNice.cs: Corrected background colors (e.g. menus)
4258         * ColorDialog.cs: Use correct background colors for controls
4259
4260 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
4261
4262         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4263
4264 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
4265
4266         * RichTextBox.cs: Added initial implementation
4267         * lang.cs: Removed. Was accidentally checked in long time ago
4268         * TODO: Removed. Contents were obsolete
4269
4270 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
4271                                                                                 
4272         * PropertiesTab.cs : Added
4273
4274 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
4275                                                                                 
4276         * PropertyGrid.cs : Update
4277         * PropertyGridView.cs : Update
4278         * System.Windows.Forms.resx : Added images and strings
4279
4280 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
4281
4282         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4283  
4284 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
4285
4286         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4287           a busy loop right after the Ungrab the X11 display is otherwise 
4288           blocked
4289
4290 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
4291
4292         * ThemeWin32Classic.cs: Optimise the use of clipping
4293
4294 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
4295
4296         * DataGrid.cs: fixes recursion bug
4297
4298 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
4299
4300         * ThemeNice.cs: 
4301           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4302           - Cleanup
4303
4304 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
4305
4306         * ThemeNice.cs: Draw nice ProgressBars
4307
4308 2005-09-01  Miguel de Icaza  <miguel@novell.com>
4309
4310         * VScrollBar.cs: Another buglet found by Aaron's tool. 
4311
4312         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4313         bug finder.
4314
4315 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
4316
4317         * ThemeNice.cs:
4318           - Added nicer menu drawing
4319           - Updated DrawTab
4320           - some refactoring
4321
4322 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
4323
4324         * CreateParams.cs (ToString): Made output match MS
4325         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
4326             handle is already created (to avoid forcing window creation)
4327         * XplatUIX11.cs: Set window text to caption after creating window,
4328           in case Text was set before window was created
4329         * Form.cs: Use this.Text instead of a static string as caption
4330
4331 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
4332
4333         * NotifyIcon.cs: Don't set the window to visible; this screws
4334           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4335           OnPaint without a bitmap)
4336         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
4337           happen very often anyway; we could add the check to the WM_PAINT 
4338           event generation code
4339
4340 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
4341
4342         * NotifyIcon.cs: Fill the icon area with a background color, to 
4343           avoid 'residue' when transparent icons are drawn
4344         * XplatUIX11.cs:
4345           - Handle whole_window == client_window when destroying windows
4346           - SystrayAdd(): Set client_window to whole_window value to
4347             get mouse and other events passed to NotifyIcon
4348
4349 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
4350
4351         * Form.cs: Set proper default for Opacity property
4352         * NotifyIcon.cs:
4353           - ShowSystray(): Don't bother creating telling the OS
4354             about the systray item if no icon is provided
4355           - Now handles WM_NCPAINT message to deal with whole/client window
4356             split
4357           - Create window as visible to not get caught by Expose optimization
4358         * Hwnd.cs: Removed debug message
4359         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
4360           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
4361             PaintEventStart/End to use new client argument
4362         * TextBoxBase.cs:
4363           - Commented out debug messages
4364           - Switched PaintEventStart/End to use new client argument
4365         * XplatUI.cs: Added client window bool to PaintEventStart()/
4366           PaintEventEnd() calls, to support drawing in non-client areas
4367         * XplatUIDriver.cs: 
4368           - Added client window bool to PaintEventStart()/PaintEventEnd() 
4369             calls, to support drawing in non-client areas
4370           - Added conditional compile to allow using MWF BeginInvoke 
4371             on MS runtime
4372         * XplatUIX11.cs:
4373           - Added some conditional debug output
4374           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
4375             whole/client window split
4376           - Implemented handling of client argument to PaintEventStart()/End()
4377         * Control.cs:
4378           - Throw exception if BeginInvoke() is called and the window handle
4379             or one of the window's parent handles is not created
4380           - Added conditional compile to allow using MWF BeginInvoke on
4381             MS runtime
4382           - get_Parent(): Only sets parent if handle is created. This avoids
4383             forcing window handle creation when parent is set.
4384           - Now fires Layout and Parent changed events in proper order
4385           - Switched to use Handle instead of window.Handle for Z-Order setting,
4386             the get_Parent() patch above causes us to possibly get null for 'window'
4387           - Implemented handling of client argument to PaintEventStart()/End()
4388           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
4389             default handling)
4390           - Now sends a Refresh() to all child windows when Refresh() is called
4391
4392 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
4393
4394         * Form.cs: Added (non-functional) Opacity property
4395         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
4396
4397 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
4398         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
4399           use export MONO_THEME=nice to activate it.
4400           Currently supported controls:
4401           - Button
4402           - ComboBox
4403           - ScrollBar
4404           - TabControl (TabAlignment.Top only, other will follow)
4405         * ThemeEngine.cs: Add theme nice
4406         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
4407           if enabled
4408
4409 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
4410
4411         * Splitter.cs: Resize docked control and its neighbor.
4412
4413 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4414         -- Making Windows with Menus layout correctly --
4415         * Form.cs : The first leg of the fix
4416                 Menu setter - adjust Client Size as needed to make space for the menu
4417                 SetClientSizeCore - doesn't call base version to be able to pass the 
4418                         menu handle to XplatUI.CalculateWindowRect
4419         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
4420         * XplatUIX11.cs: The critical second leg of the fix
4421                 GetWindowPos needs to use a recalculated client_rect
4422                 so that resizing the window doesn't break layout of child controls. 
4423                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
4424                 Lots of \t\n killed
4425
4426 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
4427
4428         * Label.cs: Now properly recalculates width and height on Font and Text
4429           changes if AutoSize is set
4430
4431 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4432         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
4433
4434 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
4435
4436         * ImageList.cs: Makes ToString method compatible with MS
4437
4438 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
4439
4440         * MenuAPI.cs: fixes bug 75716
4441
4442 2005-08-11 Umadevi S <sumadevi@novell.com>
4443         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
4444
4445 2005-08-11 Umadevi S <sumadevi@novell.com>
4446         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
4447
4448 2005-08-10  Umadevi S <sumadevi@novell.com>
4449         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
4450
4451 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
4452
4453         * Menu.cs: fixes bug 75700
4454         * MenuAPI.cs: fixes navigation issues
4455
4456 2005-08-09  Umadevi S <sumadevi@novell.com>
4457         * CheckedListBox.cs - simple fix for GetItemChecked.
4458
4459 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
4460
4461         * ComboBox.cs: Serveral fixes
4462         * ListBox.cs: Serveral fixes
4463
4464 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
4465
4466         * ComboBox.cs: Fixes FindString methods and GetItemHeight
4467         * ListBox.cs: Fixes FindString methods
4468
4469 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
4470
4471         * DataGrid.cs: fixes bugs exposed by new tests
4472
4473 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
4474
4475         * Mime.cs: Compile Mono assembly references only if compiling
4476           with Mono (Allows to build with VS.Net again)
4477
4478 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
4479
4480         * Control.cs (PaintControlBackground): Draw background image
4481         corrrectly.
4482         (CheckForIllegalCrossThreadCalls): Stubbed.
4483         
4484         * Form.cs (OnCreateControl): Center when should be centered.
4485         
4486         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
4487
4488 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
4489
4490         * Binding.cs: Binding to properties should be case unsensitive
4491
4492 2005-07-18 vlindos@nucleusys.com
4493
4494         * DataGrid.cs: fixes setmember order
4495
4496 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
4497
4498         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
4499         * FileDialog.cs: FileDialog is now resizable and uses the new
4500           MimeIconEngine
4501
4502 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
4503
4504         * DataGridTextBoxColumn.cs: default value
4505         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
4506         * GridTableStylesCollection.cs: fixes checking MappingName
4507         * DataGridDrawingLogic.cs: fixes drawing logic issues
4508         * DataSourceHelper.cs: rewritten to make compatible with more data sources
4509         * DataGrid.cs: fixes    
4510
4511 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
4512
4513         * MimeGenerated.cs: Use case sensitive comparer for
4514           NameValueCollections
4515
4516 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
4517
4518         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
4519         * ThemeWin32Classic.cs: bug fixes, code refactoring
4520         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
4521         * DataGrid.cs: bug fixes, code refactoring
4522         * DataGridTextBox.cs: bug fixes, code refactoring
4523         * DataGridColumnStyle.cs:  bug fixes, code refactoring
4524         * Theme.cs:  bug fixes, code refactoring
4525
4526 2005-07-01  Peter Bartok  <pbartok@novell.com> 
4527
4528         * TextControl.cs: Quick fix for the reported crash on ColorDialog
4529           and other text box usage
4530
4531 2005-07-01  Jackson Harper  <jackson@ximian.com>
4532
4533         * TabControl.cs: Make sure the bottom of the tab covers the pages
4534         border.
4535
4536 2005-06-30  Peter Bartok  <pbartok@novell.com> 
4537
4538         * Form.cs (ShowDialog): Assign owner of the dialog
4539         * TextBoxBase.cs: Always refresh caret size when deleting, caret
4540           might have been moved to a tag with different height
4541
4542 2005-06-30  Jackson Harper  <jackson@ximian.com>
4543
4544         * Form.cs: Don't create an infinite loop when setting focus
4545         * MenuItem.cs: Don't dirty the parents if we don't have any
4546
4547 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
4548
4549         * LibSupport.cs: Rename
4550
4551 2005-06-29  Peter Bartok  <pbartok@novell.com>
4552
4553         * TextBoxBase.cs: Re-align caret after deleting a character
4554         * TextControl.cs:
4555           - DeleteChars(): Ensure that tag covers the provided position
4556           - StreamLine(): Drop reference for dropped tag
4557
4558 2005-06-29  Peter Bartok  <pbartok@novell.com> 
4559
4560         * TextControl.cs: 
4561           - Selections now work properly, anchoring at the initial location
4562             and properly extending in either direction (SetSelectionToCaret(),
4563             SetSelectionStart() and SetSelectionEnd())
4564           - No longer redraws the whole control on selection change, now
4565             calculates delta between previous and new selection and only
4566             invalidates/redraws that area
4567           - Fixed FindPos() math off-by-one errors
4568           - Changed DeleteChars() to verify the provided tag covers the
4569             provided position, selections may have a tag that doesn't cover
4570             the position if the selection is at a tag border
4571           - Fixed off-by-one errors in DeleteChars()
4572           - Added missing streamlining check in DeleteChars() to remove
4573             zero-length tags
4574           - Implemented Invalidate() method, now properly calculates exposures
4575             between two given lines/positions
4576           - Implemented SetSelection()
4577           - Obsoleted and removed FixupSelection()
4578           - Improved RecalculateDocument() logic, removing code duplication
4579
4580 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4581
4582         * LibSupport.cs: changes to match different input/output arguments.
4583
4584 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4585
4586         * LibSupport.cs: added libsupport.so init routine.
4587
4588 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
4589         
4590         * ControlBindingsCollection.cs
4591                 - Throws an exception on null datasource when adding
4592                 - Checks for duplicated bindings when adding
4593
4594 2005-06-28  Jackson Harper  <jackson@ximian.com>
4595
4596         * TreeView.cs (OnKeyDown): Support left and right properly
4597         (navigates as well as expanding and collapsing.
4598         - Add support for Multiply, this expands all the selected nodes
4599         children.
4600         - Fix some tabbing.
4601
4602 2005-06-28  Jackson Harper  <jackson@ximian.com>
4603
4604         * TreeView.cs: Implement keyboard navigation, currently supports,
4605         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
4606         support for toggling checkboxes with the space bar.
4607
4608 2005-06-28  Jackson Harper  <jackson@ximian.com>
4609
4610         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
4611         tree.
4612
4613 2005-06-28  Jackson Harper  <jackson@ximian.com>
4614
4615         * TreeView.cs: Add missing event.
4616
4617 2005-06-27  Peter Bartok  <pbartok@novell.com> 
4618
4619         * TextControl.cs:
4620           - Made line ending size configurable (now allows for counting 
4621             lineendings as \n or \r\n)
4622           - Added margin to viewport to keep caret visible on right side
4623           - Fixed translation routines for line/pos to documentpos to consider
4624             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
4625           - Fixed some line-endings to be unix style
4626           - Fixed Document.FormatText to perform it's calculations 1-based
4627           - Added descriptions for a few methods that might otherwise get 
4628             used wrong
4629           - Added NOTE section with some basic conventions to remember at 
4630             the top of the file
4631           - Major fixup for RichTextBox selection drawing:
4632             * Fixed crashes when multiple tags on a single line were selected
4633             * fixed selection box drawing not overlaying text
4634             * fixed bogus offset calculation for tags not starting at index 1
4635             * Switched behaviour from using multiple Substrings of a 
4636               StringBuilder.ToString() to using multiple 
4637               StringBuilder.ToString(start, length) statements, hoping this is
4638               faster (kept original version commented out in the code, in case
4639               original version was faster)
4640         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
4641           alignment != Left
4642         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
4643           call it as well
4644
4645 2005-06-27  Jackson Harper  <jackson@ximian.com>
4646
4647         * TabControl.cs: Move to the left and right with the arrow
4648         keys. These keys don't cycle beyond first and last like
4649         tab. Refresh all the tabs when scrolling them to the left or
4650         right.
4651
4652 2005-06-27  Jackson Harper  <jackson@ximian.com>
4653
4654         * TabControl.cs:
4655           - ToString: Added method
4656           - CreateParams: Remove TODO and comment
4657           - OnKeyDown: Cycle through bounds properly.
4658           - SelectedIndex: Scroll to the right or left if we need to
4659           display the newly selected tab.
4660
4661 2005-06-23  Jackson Harper  <jackson@ximian.com>
4662
4663         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
4664         set.
4665
4666 2005-06-23  Jackson Harper  <jackson@ximian.com>
4667
4668         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
4669         CTRL-SHIFT-TAB, and HOME, END are there any others?
4670
4671 2005-06-23  Jackson Harper  <jackson@ximian.com>
4672
4673         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
4674
4675 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
4676         
4677         * DataGridTextBoxColumn.cs: fixes and enhancements
4678         * ThemeWin32Classic.cs: fixes and enhancements
4679         * DataGridBoolColumn.cs:  fixes and enhancements
4680         * DataGridDrawingLogic.cs:  fixes and enhancements
4681         * CurrencyManager.cs: fixes and enhancements
4682         * DataGrid.cs: fixes and enhancements
4683         * DataGridColumnStyle.cs:  fixes and enhancements
4684
4685 2005-06-22  Jackson Harper  <jackson@ximian.com>
4686
4687         * TabControl.cs: Add some missing methods that just call into the
4688         base. Make the TabPageCollection's IList interface behave in the
4689         same manner as the MS implementation.
4690
4691 2005-06-22  Peter Bartok  <pbartok@novell.com> 
4692
4693         * TextControl.cs: Added sanity check
4694         * TextBoxBase.cs: 
4695           - Fixed wrapping behaviour, don't set wrap on single line controls
4696             (this fixes the breakage of colordialog introduced in an earlier
4697              checkin)
4698           - Added rudimentary support for autoscrolling right-aligned controls
4699             (still needs fixing, also, center alignment scroll is missing)
4700
4701 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
4702         
4703         * ScrollBar.cs: Fixes thumbpos on Maximum values
4704
4705 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
4706         
4707         * PropertyGridView.cs: Pass context information to UITypeEditors 
4708
4709 2005-06-21  Peter Bartok  <pbartok@novell.com> 
4710
4711         * TextBoxBase.cs:
4712           - Now calling PositionCaret with absolute space coordinates
4713           - Enabled vertical scrolling
4714           - Better tracking of scrollbar changes, tied into WidthChange
4715             event
4716           - Improved cursor tracking
4717           - Removed debug output
4718         * TextControl.cs:
4719           - PositionCaret coordinates are now works in absolute space, not 
4720             the canvas
4721           - Improved tracking of document size
4722           - Added events for width and height changes
4723
4724 2005-06-21  Peter Bartok  <pbartok@novell.com>
4725
4726         * Form.cs: Set focus to active control when form is activated
4727         * TextControl.cs: 
4728           - Added word-wrap functionality to RecalculateLine() 
4729           - Added some short function descriptions for VS.Net to aid in
4730             writing dependent controls
4731           - Added Caret property, returning the current coords of the caret
4732           - Added ViewPortWidth and ViewPortHeight properties
4733           - Added Wrap property
4734           - Added CaretMoved event
4735           - Removed some old debug code
4736           - Split() can now create soft splits
4737           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
4738           - Added method to format existing text
4739           - Fixed size/alignment calculations to use viewport
4740           - RecalculateDocument now can handle changing line-numbers while
4741             calculating lines
4742
4743         * TextBox.cs:
4744           - Added some wrap logic, we don't wrap if alignment is not left
4745           - Added casts for scrollbar var, base class switched types to
4746             also support RichTextBoxA
4747           - Implemented handling of scrollbar visibility flags
4748
4749         * TextBoxBase.cs:
4750           - Switched scrollbars type to RichTextBoxScrollBars to support
4751             RichTextBox
4752           - Added tracking of canvas width/height
4753           - Switched scrollbars to be not selectable (to keep focus on text)
4754           - Added central CalculateDocument() method to handle all redraw
4755             requirements
4756           - Added ReadOnly support
4757           - Added WordWrap support
4758           - Fixed handling of Enter key (we now treat it as a DialogKey)
4759           - Fixed caret positioning when h or v scroll is not zero
4760           - Fixed placing/generation of vertical scrollbar
4761           - Added CalculateScrollBars() method to allow updating scrollbar
4762             limits and visibility
4763           - Fixed handling of horizontal scroll
4764           - Added handling of vertical scroll
4765           - Implemented auto-'jump' when caret moves to close to a left or
4766             right border and there is text to be scrolled into view (currently
4767             there's the potential for a stack overflow, until a bug in
4768             scrollbar is fixed)
4769
4770 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
4771         
4772         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
4773
4774 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
4775
4776         * Mime.cs:
4777         - added inodes.
4778         - return application/x-zerosize for files with size zero
4779           (if no extension pattern matches).
4780         - check matches collection for strings too.
4781         - return only the first mime type if the name value
4782           collection has more than one mime type.
4783
4784 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
4785         
4786         * PropertyGrid.cs: Cleaned up some TODOs
4787         * PropertyGridView.cs: Added support for UITypeEditors
4788
4789 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
4790         
4791         * DataGrid.cs: clears cached value
4792
4793 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
4794
4795         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
4796         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
4797         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
4798         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
4799         
4800 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
4801
4802         * ThemeWin32Classic.cs: fixes colour
4803
4804 2005-06-15  Peter Bartok  <pbartok@novell.com>
4805
4806         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
4807         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
4808         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
4809         * Control.cs: Added some MWFCategory and MWFDescription attributes
4810         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
4811
4812 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
4813
4814         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
4815         usage
4816
4817 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
4818
4819         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
4820         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
4821         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
4822         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
4823         * DataGrid.cs: default datagrid settings for Default Styles, fixes
4824         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
4825
4826 2005-06-13  Jackson Harper  <jackson@ximian.com>
4827
4828         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
4829         isn't printed when the user enables dropping. (X11 does accept
4830         drops).
4831         
4832 2005-06-13  Jackson Harper  <jackson@ximian.com>
4833
4834         * TreeView.cs: Remove some TODOS.
4835
4836 2005-06-13  Jackson Harper  <jackson@ximian.com>
4837
4838         * Form.cs: Hook into the mdi framework.
4839         * MdiClient.cs: Use the base control collections add method so
4840         parents get setup correctly. Set the default back colour and dock
4841         style.
4842         * MdiChildContext.cs: New class, this bad actor handles an
4843         instance of an MDI window. Right now there is only basic
4844         support. You can drag, close, and resize windows. Minimize and
4845         Maximize are partially implemented.
4846
4847 2005-06-13  Jackson Harper  <jackson@ximian.com>
4848
4849         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
4850         freaky when both vals are negative. NOTE: There are probably other
4851         places in XplatUIX11 that this needs to be done.
4852
4853 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
4854
4855         * DataGrid.cs: implement missing methods, move KeyboardNavigation
4856         * DataGridColumnStyle.cs: fixes signature
4857
4858 2005-06-12  Jackson Harper  <jackson@ximian.com>
4859
4860         * XplatUIX11.cs: Use sizing cursors similar to the ones on
4861         windows.
4862
4863 2005-06-11  Jackson Harper  <jackson@ximian.com>
4864
4865         * StatusBarPanel.cs: Signature cleanups. Implement
4866         BeginInit/EndInit.
4867
4868 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
4869
4870         * DataGridTextBoxColumn.cs: Honors aligment
4871         * GridColumnStylesCollection.cs: Contains is case unsensitive
4872         * GridTableStylesCollection.cs: several fixes
4873         * DataGridTableStyle.cs: default column creation
4874         * DataGridDrawingLogic.cs: fixes
4875         * CurrencyManager.cs: ListName property
4876         * DataGrid.cs: multiple styles support
4877         * DataGridColumnStyle.cs: fixes
4878         
4879
4880 2005-06-10  Peter Bartok  <pbartok@novell.com>
4881
4882         * Control.cs(Select): Moved SetFocus call to avoid potential
4883           loops if controls change the active control when getting focus
4884         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
4885           the up/down buttons
4886
4887 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
4888
4889         * ImageListConverter.cs: Implemented
4890
4891 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
4892
4893         * MonthCalendar.cs: Wired in NumericUpDown control for year
4894
4895 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
4896
4897         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
4898           DoubleClick events, since they are not meant to be fired.
4899
4900 2005-06-09  Peter Bartok  <pbartok@novell.com>
4901
4902         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
4903           Jonathan's standalone controls into MWF, implemented missing
4904           events, attributes and methods; added xxxAccessible classes
4905         * AccessibleObject.cs: Made fields internal so other classes
4906           can change them if needed
4907
4908 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
4909
4910         * UpDownBase.cs: Complete implementation
4911         * NumericUpDown.cs: Complete implementation
4912         * DomainUpDown.cs: Complete implementation
4913
4914 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
4915
4916         * DataGridTextBoxColumn.cs: drawing fixes
4917         * DataGridCell.cs: fixes ToString method to match MSNet
4918         * DataGridTableStyle.cs: fixes
4919         * DataGridBoolColumn.cs: fixes, drawing
4920         * DataGridDrawingLogic.cs: fixes, new methods
4921         * DataGridTextBox.cs: Keyboard and fixes
4922         * DataGrid.cs:
4923                 - Keyboard navigation
4924                 - Scrolling fixes
4925                 - Row selection (single, multiple, deletion, etc)
4926                 - Lots of fixes
4927         
4928 2005-06-07  Jackson Harper  <jackson@ximian.com>
4929
4930         * ThemeWin32Classic.cs: Clear the background area when drawing
4931         buttons.
4932
4933 2005-06-06  Peter Bartok  <pbartok@novell.com>
4934
4935         * ImageListStreamer.cs: Fixed signature for GetData
4936         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
4937         * ComboBox.cs:
4938           - Added missing ChildAccessibleObject class
4939           - Added missing OnXXXFocus overrides, switched to using those
4940             instead of the event handler
4941         * Control.cs:
4942           - Added Parent property for ControlAccessibleObject
4943           - Fixed signatures
4944           - Fixed attributes
4945           - Added ResetBindings()
4946         * ListBindingConverter.cs: Implemented some methods
4947         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
4948         * ImageList.cs: Implemented basic handle scheme, removed TODOs
4949         * ContainerControl.cs: Fixed signature, now subscribing to the
4950           ControlRemoved event instead of overriding the handler, LAMESPEC
4951         * CurrencyManager.cs: Added missing attribute
4952         * MonthCalendar.cs: Added missing properties
4953
4954 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
4955
4956         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
4957         
4958 2005-06-06  Gaurav Vaish and Ankit Jain
4959
4960         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
4961         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
4962         
4963 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
4964
4965         * Control.cs: fixes CreateParams Width / Height.
4966
4967 2005-06-05  Peter Bartok  <pbartok@novell.com>
4968
4969         * Win32DnD.cs: Removed compilation warnings
4970
4971 2005-06-05  Peter Bartok  <pbartok@novell.com>
4972
4973         * Control.cs (CreateParams): Since we don't know if one of the
4974           properties we use is overridden, lets make sure if we fail accessing
4975           we continue with a backup plan
4976
4977 2005-06-05  Peter Bartok  <pbartok@novell.com>
4978
4979         * Win32DnD.cs:
4980           - Removed debug output
4981           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
4982             struct
4983           - Plugged resource leak
4984         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
4985           MS size
4986
4987 2005-06-05  Peter Bartok  <pbartok@novell.com>
4988
4989         * XplatUIWin32.cs: Removed DnD code
4990         * Win32DnD.cs: Implemented drop source and drop target functionality
4991
4992 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4993
4994         * UpDownBase.cs: remove duplicate addition of event, enable some code
4995         that was commented out.
4996         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
4997         Validate input when a key is pressed. It works fine now for every
4998         combination of Hexadecimal. Only missing some drawing love when sharing
4999         space with other controls.
5000
5001 2005-06-04  Peter Bartok  <pbartok@novell.com>
5002
5003         * Control.cs:
5004           - We need to pass a window for DragDrop, so enable callback events
5005           - Added DnD callback events when being a DragSource
5006         * XplatUI.cs (StartDrag): Added window handle argument
5007         * XplatUIDriver.cs (StartDrag): Added window handle argument
5008         * QueryContinueDragEventArgs: Made fields internally accessible so
5009           drivers can set them
5010         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5011           can set them
5012
5013 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
5014
5015         * DataGridTextBoxColumn.cs: column text editing
5016         * DataGridTableStyle.cs: Respect columns styles created by the user
5017         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5018         * DataGridBoolColumn.cs: bool column editing
5019         * DataGrid.cs: fixes to scrolling, properties, etc
5020         * DataGridTextBox.cs: handle keyboard
5021         * DataGridColumnStyle.cs: fixes
5022
5023 2005-06-02  Jackson Harper  <jackson@ximian.com>
5024
5025         * ImageListStreamer.cs: Somewhat broken implementation of
5026         GetObjectData. The RLE needs some work to match MS properly.
5027
5028 2005-06-02  Jackson Harper  <jackson@ximian.com>
5029
5030         * X11Dnd.cs: Attempting to keep at least one file in MWF
5031         monostyled.
5032
5033 2005-06-02  Peter Bartok  <pbartok@novell.com>
5034
5035         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5036           that way
5037
5038 2005-06-02  Peter Bartok  <pbartok@novell.com>
5039
5040         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5041         * XplatUI.cs: Added DoDragDrop() method
5042         * XplatUIDriver.cs: Added DoDragDrop() method
5043
5044 2005-06-02  Jackson Harper  <jackson@ximian.com>
5045
5046         * Splitter.cs: Implement BorderStyle.
5047
5048 2005-06-02  Jackson Harper  <jackson@ximian.com>
5049
5050         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5051         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5052         X11 using XDND.
5053
5054 2005-06-02  Peter Bartok  <pbartok@novell.com>
5055
5056         * DataObject.cs:
5057           - Added Data setter
5058           - Fixed broken insertion code for SetData, now also
5059             overwrites any existing entry of the same format name
5060         * Hwnd.cs: Added list of pointers that automatically gets
5061           freed when the window is disposed
5062         * XplatUI.cs: Call driver initialization method when loading
5063           a driver
5064         * Control.cs:
5065           - OnDragLeave takes EventArgs, not DragEventArgs
5066           - Added setting of WS_EX_ACCEPTFILES style when dropping is
5067             supported
5068           - Forces style update when drop state changes
5069         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5070           not perfect since we cannot (yet) call the IDataObject.GetData()
5071           method, we keep getting 0x80004005 error, dunno why)
5072
5073 2005-06-02  Peter Bartok  <pbartok@novell.com>
5074
5075         * DragEventArgs.cs: Make fields internal so we can cache the
5076           object and re-set the fields from XplatUI
5077
5078 2005-06-02  Jackson Harper  <jackson@ximian.com>
5079
5080         * Control.cs: Add some internal methods so the DnD subsystem can
5081         raise DnD events. Also call into the driver when AllowDrop is set.
5082         * XplatUI.cs:
5083         * XplatUIDriver.cs: New method for setting whether or not a window
5084         is allowed to accept drag and drop messages.
5085                 
5086 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
5087         
5088         * ScrollBar.cs: Make sure that values sent in Scroll events
5089         are always between Maximum and Minimum.
5090
5091 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
5092
5093         * Menu.cs: Call MenuChanged when menuitem visibility has been
5094         changed.
5095         * MenuItem.cs: Rebuild menu when item is (not) visible.
5096         * MainMenu.cs: MainMenu has special MenuChanged.
5097         * Theme.cs: Caption and FrameBorderSize are not fixed.
5098         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5099         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5100         * XplatUIX11.cs,
5101         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5102         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5103
5104 2005-05-30  Jackson Harper  <jackson@ximian.com>
5105
5106         * DataFormat.cs: We can't statically initialize this stuff because
5107         it calls into the xplatui and could create a loop. So we lazy init
5108         it.
5109
5110 2005-05-28  Jackson Harper  <jackson@ximian.com>
5111
5112         * Control.cs: Proper implementation of Product(Name/Version).
5113
5114 2005-05-27  Jackson Harper  <jackson@ximian.com>
5115
5116         * DataObject.cs: Dont crash if no data is found.
5117
5118 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
5119         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
5120                 as per status page, guessing it should be set to true
5121
5122 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
5123
5124         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
5125         * DataGridTableStyle.cs: set proper formatting text, def header text
5126         * ThemeWin32Classic.cs: new themable paramaters
5127         * DataGridBoolColumn.cs: paint check box, get data, fixes
5128         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
5129         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
5130         * DataGridColumnStyle.cs: fixes
5131         * Theme.cs: new themable paramaters
5132                 
5133 2005-05-26  Peter Bartok  <pbartok@novell.com>
5134
5135         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
5136
5137 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5138         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
5139
5140 2005-05-24  Peter Bartok  <pbartok@novell.com>
5141
5142         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
5143           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
5144           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
5145           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
5146           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
5147           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
5148           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
5149           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
5150           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
5151           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
5152           missing attributes, etc
5153         * DataGridPreferredColumnWidthTypeConverter.cs: Added
5154
5155 2005-05-24  Peter Bartok  <pbartok@novell.com>
5156
5157         * Help.cs: Added, implemented trivial functions, throws up MessageBox
5158           when user tries to get help
5159         * DataObject.cs, DataFormats.cs, LinkArea.cs,
5160           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
5161           to suppress warnings
5162         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
5163           avoid unreachable code warning
5164
5165 2005-05-20  Peter Bartok  <pbartok@novell.com>
5166
5167         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
5168
5169 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5170
5171         * DataGridTextBoxColumn.cs: Basic painting methods
5172         * DataGridTableStyle.cs: Set table style in the column
5173         * ThemeWin32Classic.cs: Use Theme for colors
5174         * DataGridDrawingLogic.cs: Implement more drawing
5175         * DataGrid.cs: drawing, theming, enhacements, fixes
5176         * DataGridColumnStyle.cs: fixes, drawing
5177         * Theme.cs: theming for Datagrid
5178
5179 2005-05-20  Peter Bartok  <pbartok@novell.com>
5180
5181         * Cursor.cs: Implemented GetObjectData() method
5182
5183 2005-05-20  Peter Bartok  <pbartok@novell.com>
5184
5185         * Cursors.cs: Added setting of cursor name
5186         * Cursor.cs:
5187           - Implemented constructors
5188           - Implemented Draw and DrawStretched
5189           - Implemented Current property
5190           - Implemented == and != operators
5191           - Implemented Dispose()
5192           - Implemented ToString
5193           - Added missing attributes
5194         * XplatUIX11.cs:
5195           - Added missing reset for OverrideCursor when DoEvents is called
5196           - Fixed creation of cursor, logic was wrong
5197         * XplatUIWin32.cs:
5198           - Added missing reset for OverrideCursor when DoEvents is called
5199           - Fixed creation of cursor, bit arrays were swapped
5200         * Clipboard.cs: Removed obsolete MonoTODO attribute
5201
5202 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5203
5204         * ComboBox.cs: fixes OnSelectedItemChanged
5205         * ControlBindingsCollection.cs: fixes item range check
5206
5207 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
5208
5209         * UpDownBase.cs:
5210                 - Calc preferred height properly
5211                 - Implement missing properties
5212                 
5213         * NumericUpDown.cs: Implement missing events
5214
5215 2005-05-19  Jackson Harper  <jackson@ximian.com>
5216
5217         * TabControl.cs: New method that resizes the tab pages before
5218         redrawing them. This as needed as the control is double buffered
5219         and sizing will not be recalculated unless ResizeTabPages is
5220         called.
5221         * TabPage.cs: Set base.Text instead of Text in the constructor so
5222         that UpdateOwner does not get called. Use the new Redraw method of
5223         TabControl instead of Refresh so the sizing is recalculated.
5224         * ThemeWin32Classic.cs: Draw the text for button tabs.
5225
5226 2005-05-19  Jackson Harper  <jackson@ximian.com>
5227
5228         * Control.cs: Paint control background images. Fix typo where
5229         PaintControlBackground was not getting called correctly.
5230
5231 2005-05-19  Peter Bartok  <pbartok@novell.com>
5232
5233         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5234           I can investigate, apparently I broke FileDialog
5235
5236 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
5237
5238         * AxHost.cs: Some simple properties.
5239         * Control.cs: window must be accessible after ctor.
5240         * Form.cs: Added TransparencyKey property.
5241         * TextBoxBase.cs: Implemented Clear. Text property can be null.
5242         * XplatUIWin32.cs: SetBorderStyle implemented.
5243
5244 2005-05-18  Peter Bartok  <pbartok@novell.com>
5245
5246         * DataObject.cs: Entries are not global but particular to the
5247           DataObject, now it behaves that way
5248         * XplatUIWin32.cs: Implemented Clipboard methods
5249         * Clipboard.cs: Implemented
5250         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5251         * XplatUIOSX.cs: Updated to final clipboard prototypes
5252         * XplatUIX11.cs: Implemented Clipboard methods
5253         * XplatUIDriver.cs: Updated to final clipboard prototypes
5254         * XplatUIStructs.cs:
5255           - Added BITMAPINFOHEADER struct
5256           - Added ClipboardFormats enum
5257         * X11Structs.cs:
5258           - Added ClipboardStruct
5259           - Added Atom enum items for clipboard types
5260           - Fixed atom types for Selection event structures
5261         * DataFormats.cs:
5262           - Added internal properties and methods for drivers to enumerate
5263             all known formats
5264           - Switched initialization method to allow drivers to assign their
5265             own IDs even for the MS predefined clipboard IDs
5266         * XplatUI.cs: Updated to final clipboard interface
5267
5268 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5269         * PropertyGridView.cs: Fixed compiler warnings.
5270
5271 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5272         * PropertyGrid.cs: Added some event calls
5273         * PropertyGridView.cs: Change drawing code to use double buffering
5274         * PropertyGridTextBox.cs: Changed Text property name
5275         * GridItem.cs: Added Bounds property.
5276         * GridEntry.cs: Added Bounds property.
5277
5278 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
5279
5280         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5281         since GetType() may not return the correct type if the object is
5282         a remoting proxy.
5283
5284 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
5285
5286         * TreeNodeCollection.cs: fixes get/set item ranges
5287         
5288 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
5289
5290         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5291                 
5292 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
5293
5294         * ComboBox.cs: Fix item range comparation
5295         * ListView.cs: Fix item range comparation
5296
5297 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
5298
5299         * FontDialog.cs:
5300           - Clear example panel when OnPaint is called
5301           - Better solution for displaying the example panel text
5302           - Select default indexes in the ListBoxes
5303
5304 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
5305
5306         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
5307
5308 2005-05-11  Peter Bartok  <pbartok@novell.com>
5309
5310         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5311         * SelectionRangeConverter.cs: Implemented
5312         * PropertyGrid.cs: Fixed attribute value
5313         * Control.cs:
5314           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5315           - Added Sebastien Pouliot's CAS Stack Propagation fixes
5316         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5317           that's common to all drivers. First methods to go there are
5318           Sebastien Pouliot's CAS Stack Propagation helper methods
5319         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5320           Sebastien Pouliot for CAS Stack Propagation
5321
5322 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
5323
5324         * OSXStructs.cs:
5325           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5326
5327 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
5328
5329         * DataGridTextBoxColumn.cs: fixed some members
5330         * GridColumnStylesCollection.cs: indexed column is case insensitive
5331         * DataGridTableStyle.cs: fixes
5332         * ThemeWin32Classic.cs: add new theme parameter
5333         * Theme.cs: add new theme parameter
5334         * DataGridDrawingLogic.cs: Datagrid's drawing logic
5335         * DataGrid.cs: fixes, new internal properties, etc.
5336         * DataGridColumnStyle.cs: allows to set grid value
5337         *
5338
5339 2005-05-10  Peter Bartok  <pbartok@novell.com>
5340
5341         * AccessibleObject.cs:
5342           - Removed MonoTODO attribute on help, method is correct
5343           - Fixed Bounds property
5344         * AxHost.cs: Moved MonoTODO
5345         * ButtonBase.cs: Now setting AccessibleObject properties
5346         * RadioButton.cs: Setting proper AccessibleObject role
5347         * CheckBox.cs: Setting proper AccessibleObject role
5348         * ControlBindingsCollection.cs: Added properties, methods and attributes
5349         * DataFormats.cs: Fixed awkward internal API, and changed to enable
5350           userdefined DataFormats.Format items as well
5351         * ListControl.cs: Removed data_member from the public eye
5352         * OpenFileDialog.cs:
5353           - Made class sealed
5354           - Added missing attributes
5355         * SaveFileDialog.cs: Added missing attributes
5356         * ImageListStreamer.cs: Fixed code that caused warnings
5357         * LinkLabel.cs: Removed unreachable code
5358         * TreeView.cs: Fixed code that caused warnings
5359         * PropertyGridView.cs: Fixed code that caused warnings
5360         * GridColumnStylesCollection.cs: Added missing attributes
5361         * GridTableStylesCollection: Added missing attribute
5362         * PropertyManager: Added .ctor
5363         * SecurityIDType: Added
5364         * DataObject.cs: Implemented class
5365         * LinkArea.cs: Added missing attribute
5366
5367 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
5368
5369         * RadioButton.cs: call base method to allow to fire OnClick event
5370         * UpDownBase.cs: OnMouseUp call base method
5371         * CheckedListBox.cs: call base method before returning
5372         * TrackBar.cs: call base method before returning
5373         
5374
5375 2005-05-10  Peter Bartok  <pbartok@novell.com>
5376
5377         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
5378           for messages
5379
5380 2005-05-10  Peter Bartok  <pbartok@novell.com>
5381
5382         * DataFormats.cs: Implemented
5383         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
5384           XplatUIX11.cs: Added Clipboard APIs
5385         * XplatUIWin32.cs: Implemented Clipboard APIs
5386         * FolderBrowserDialog.cs: Added missing event, attributes
5387
5388 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
5389
5390         * CheckBox.cs: call base method to allow to fire OnClick event
5391
5392 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
5393
5394         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
5395
5396 2005-05-06  Peter Bartok  <pbartok@novell.com>
5397
5398         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
5399         * Screen.cs: Implemented
5400         * HelpNavigator.cs: Added
5401         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
5402           property
5403         * HelpProvider.cs: Implemented all we can do until we have a CHM
5404           help library (which means that "What's This" does work now)
5405
5406 2005-05-06  Jackson Harper  <jackson@ximian.com>
5407
5408         * XplatUIX11.cs: Fix waking up the main loop.
5409                 
5410 2005-05-05  Peter Bartok  <pbartok@novell.com>
5411
5412         * XplatUI.cs: Updated revision
5413         * Form.cs: Removed enless loop
5414         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
5415         * Label.cs (OnPaint): Added call to base.OnPaint()
5416         * ToolTip.cs: Made ToolTipWindow reusable for other controls
5417         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
5418         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
5419         * AxHost.cs: Added
5420         * ButtonBase.cs: Moved base.OnPaint() call to end of method
5421         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
5422           to ToolTip.ToolTipWindow for drawing and size methods; this allows
5423           reuse of ToolTipWindow by other controls
5424         * SizeGrip.cs: Moved base.OnPaint() call to end of method
5425         * XplatUIX11.cs: Now clipping drawing area (experimental)
5426         * PictureBox.cs: Moved base.OnPaint() call to end of method
5427         * Theme.cs: Fixed ToolTip abstracts to match new format
5428         * ErrorProvider.cs: Implemented
5429
5430 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
5431
5432         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
5433         * LinkLabel.cs:
5434                 - Adds cursors
5435                 - Handles focus
5436                 - Implements LinkBehavior
5437                 - Fixes many issues
5438
5439 2005-05-03  Jackson Harper  <jackson@ximian.com>
5440
5441         * ListView.cs: Calculate the scrollbar positioning on resize and
5442         paint, so they get put in the correct place.
5443
5444 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
5445
5446         * ColorDialogs.cs: The small color panels are now handled by
5447           SmallColorControl. This fixes drawing of the focus rectangle
5448           and adds a 3D border.
5449
5450 2005-05-03  Peter Bartok  <pbartok@novell.com>
5451
5452         * Control.cs: Modified version of Jonathan Chamber's fix for
5453           double-buffering
5454
5455 2005-05-03  Jackson Harper  <jackson@ximian.com>
5456
5457         * ListView.cs: Remove redraw variable. Control now handles whether
5458         or not a redraw needs to be done, and will only raise the paint
5459         event if redrawing is needed.
5460
5461 2005-05-03  Jackson Harper  <jackson@ximian.com>
5462
5463         * Splitter.cs: No decorations for the splitter form. Cache the
5464         hatch brush.
5465
5466 2005-05-03  Jackson Harper  <jackson@ximian.com>
5467
5468         * TreeView.cs: Use dashed lines to connect nodes. Use the
5469         ControlPaint method for drawing the focus rect instead of doing
5470         that in treeview.
5471
5472 2005-05-02  Peter Bartok  <pbartok@novell.com>
5473
5474         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
5475
5476 2005-04-29  Jackson Harper  <jackson@ximian.com>
5477
5478         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
5479         entire image buffer. Just clear the clipping rectangle.
5480
5481 2005-04-29  Jackson Harper  <jackson@ximian.com>
5482
5483         * ThemeWin32Classic.cs: Don't draw list view items that are
5484         outside the clipping rectangle.
5485
5486 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
5487
5488         * ListBox.cs: added horizontal item scroll
5489
5490 2005-04-29  Jackson Harper  <jackson@ximian.com>
5491
5492         * ThemeWin32Classic.cs: Remove some old debug code that was
5493         causing flicker with the new double buffering code.
5494
5495 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
5496
5497         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
5498         behave like combobox and comboboxlist (still not sure if this is
5499         correct though).
5500
5501 2005-04-28  Jackson Harper  <jackson@ximian.com>
5502
5503         * ThemeWin32Classic.cs: Don't fill the middle of progress
5504         bars. This fills areas outside of the clip bounds that don't need
5505         to be filled.
5506
5507 2005-04-28  Jackson Harper  <jackson@ximian.com>
5508
5509         * Control.cs: Don't expose functionality to touch the image buffers.
5510         * ProgressBar.cs:
5511         * ListView.cs: We do not need to (and no longer can) manipulate
5512         the image buffers directly. All of this is handled by Control.
5513
5514 2005-04-28  Peter Bartok  <pbartok@novell.com>
5515
5516         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5517           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
5518           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
5519
5520 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
5521
5522         * Combobox:
5523                 - Adjust control's height for non-simple comboboxes (bug fix)
5524                 - Remove dead code
5525         * MenuAPI.cs: remove unused var
5526         * ScrollBar.cs: remove unsed var
5527                  
5528         * ListBox.cs: unselect items when clearing
5529
5530 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
5531
5532         * ListControl.cs: honors OnPositionChanged and default Selected Item
5533         * ListBox.cs: unselect items when clearing
5534
5535 2005-04-27  Jackson Harper  <jackson@ximian.com>
5536
5537         * X11Keyboard.cs: Initialize a default keyboard and give a warning
5538         if a "correct" keyboard is not found. This will make us not crash,
5539         but might give some users bad keyboard layouts...seems to be the
5540         same thing rewind does.
5541
5542 2005-04-27  Jackson Harper  <jackson@ximian.com>
5543
5544         * BindingManagerBase.cs: Attach the current/position changed
5545         handlers to their respective events.
5546
5547 2005-04-27  Jackson Harper  <jackson@ximian.com>
5548
5549         * Control.cs: Make sure that the first WM_PAINT does a full draw,
5550         not just a blit.
5551         * ThemeWin32Classic.cs: Don't fill the background for picture
5552         boxes. This could overright user drawing.
5553         * ComboBox.cs: Just fill the clipping rect not the entire client
5554         rect when drawing the background. This prevents pieces of the
5555         image buffer from getting overwritten and is theoretically faster.
5556
5557 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
5558
5559         * ComboBox.cs: Databinding support fixes, fire missing events
5560         * ListControl.cs: implement missing methods and properties, fixes
5561         * ThemeWin32Classic.cs: Databiding support on Drawing
5562         * CheckedListBox.cs: Databinding support fixes, fire missing events
5563         * ListBox.cs: Databinding support fixes, fire missing events
5564         
5565 2005-04-25  Peter Bartok  <pbartok@novell.com>
5566
5567         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
5568
5569 2005-04-25  Jackson Harper  <jackson@ximian.com>
5570
5571         * TreeView.cs: Use the horizontal scrollbars height not width when
5572         determining how much of the client area is available.
5573
5574 2005-04-25  Jackson Harper  <jackson@ximian.com>
5575
5576         * Control.cs: Double buffering is handled differently now. As per
5577         the spec, the extra buffer is created in the WM_PAINT message and
5578         passed down to the control's drawing code.
5579         * GroupBox.cs:
5580         * Label.cs:
5581         * CheckBox.cs:
5582         * ProgressBar.cs:
5583         * RadioButton.cs:
5584         * ColorDialog.cs:
5585         * ComboBox.cs:
5586         * PropertyGridView.cs:
5587         * UpDownBase.cs:
5588         * MessageBox.cs:
5589         * MenuAPI.cs:
5590         * ListView.cs:
5591         * ButtonBase.cs:
5592         * SizeGrip.cs:
5593         * ScrollBar.cs:
5594         * ListBox.cs:
5595         * TrackBar.cs:
5596         * ToolBar.cs:
5597         * PictureBox.cs:
5598         * DateTimePicker.cs:
5599         * StatusBar.cs:
5600         * TreeView.cs: Update to new double buffering system.
5601         * MonthCalendar.cs: Uncomment block, as Capture is now
5602         working. Update to new double buffering
5603         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
5604         * PaintEventArgs.cs: New internal method allows us to set the
5605         graphics object. This is used for double buffering.
5606         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
5607         rectangle. The internal paint_area var has been removed from
5608         StatusBar. The clipping rect should be used instead.
5609         * Theme.cs: Give the PictureBox drawing method a clipping rect.
5610         * TabPage.cs: The RefreshTabs method was removed, so just call the
5611         tab controls Refresh method now.
5612         * TabControl.cs: Update to new double buffering. Make sure the
5613         handle is created before sizing the tab pages, otherwise we will
5614         get stuck in a loop.
5615
5616 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
5617
5618         * LinkLabel.cs: Fix typo, bug #74719; patch
5619           from Borja Sanchez Zamorano
5620
5621 2005-04-22  Jackson Harper  <jackson@ximian.com>
5622
5623         * TreeNode.cs: Implement Handle stuff.
5624         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
5625
5626 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
5627
5628         * DataGridTextBoxColumn.cs: call base constructors, fixes
5629         * GridColumnStylesCollection.cs: missing events, methods, and functionality
5630         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
5631         * DataGridTableStyle.cs: implements create default column styles
5632         * DataGridBoolColumn.cs: which types can handle
5633         * DataGrid.cs: missing methods, fixes, new functionality
5634         * DataGridColumnStyle.cs: fixes
5635
5636 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
5637         * FolderBrowserDialog.cs:
5638         - Use a thread to fill the TreeView
5639         - Adjusted some sizes
5640
5641 2005-04-19  Peter Bartok  <pbartok@novell.com>
5642
5643         * LinkLabel.cs: (Re-)create the pieces when setting the Text
5644           property. Fixes #74360.
5645
5646 2005-04-19  Jackson Harper  <jackson@ximian.com>
5647
5648         * XEventQueue.cs: Lock when getting the lockqueue size.
5649         * PictureBox.cs: Call base OnPaint
5650         
5651 2005-04-19  Peter Bartok  <pbartok@novell.com>
5652
5653         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
5654           messages were no longer being processed (this broke BeginInvoke)
5655
5656           
5657 2005-04-18  Jackson Harper  <jackson@ximian.com>
5658
5659         * TreeView.cs: buglet that caused node images to get drawn
5660         regardless of whether or not they were in the clipping rectangle.
5661
5662 2005-04-18  Jackson Harper  <jackson@ximian.com>
5663
5664         * CurrencyManager.cs: There are four rules for GetItemProperties:
5665         - If the type is an array use the element type of the array
5666         - If the type is a typed list, use the type
5667         - If the list contains an Item property that is not an object, use
5668         that property
5669         - use the first element of the list if there are any elements in
5670         the list.
5671         
5672 2005-04-17  Jackson Harper  <jackson@ximian.oom>
5673
5674         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
5675         click. This handles offsets for scrolling properly and reduces
5676         memory. Also fixed GetNode to not offset now that TopNode works
5677         properly.
5678         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
5679         
5680 2005-04-17  Jackson Harper  <jackson@ximian.com>
5681
5682         * CursorConverter.cs: Initial implementation.
5683
5684 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
5685
5686         * ListControl.cs: work towards complex data binding support on ListControl
5687         * CurrencyManager.cs: work towards complex data binding support on ListControl
5688         * ListBox.cs: work towards complex data binding support on ListControl
5689
5690
5691 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
5692
5693         * GridTableStylesCollection.cs: fixes name and constructor
5694         * DataGridTableStyle.cs: fixes
5695         * DataGridBoolColumn.cs: fixes names and constructors
5696         * DataGrid.cs: define methods and properties. Some init implementations
5697         * DataGridCell.cs: define methods and properties. Some init implementations
5698         * GridTablesFactory.cs: Define methods and properties
5699
5700 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
5701
5702         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
5703         graphics port changes.  We still want the coordinates in global screen
5704         coordinates.
5705
5706 2005-04-14  Jackson Harper  <jackson@ximian.com>
5707
5708         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
5709         check plus minus or checkbox clicks unless those features are enabled.
5710
5711 2005-04-14  Jackson Harper  <jackson@ximian.com>
5712
5713         * TreeView.cs: Add methods for setting the top and bottom visible
5714         nodes. TreeNode::EnsureVisible uses these methods.
5715         * TreeNode.cs: Implement EnsureVisible
5716
5717 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
5718
5719         * Form.cs: Pospone menu assignation if the window has not been created yet
5720         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
5721         size and position
5722
5723 2005-04-12  Jackson Harper  <jackson@ximian.com>
5724
5725         * TreeView.cs: Set the TopNode properly when scrolling
5726         occurs. This has the added benifit of reducing the amount of
5727         walking that needs to be done when drawing. Also removed an old
5728         misleading TODO.
5729         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
5730         
5731 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
5732
5733         * Timer.cs: fixes interval setting when the timer is already enabled
5734         
5735 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
5736
5737         * FolderBrowserDialog.cs: First approach
5738
5739 2005-04-09  Peter Bartok  <pbartok@novell.com>
5740
5741         * FolderBrowserDialog: Added
5742
5743 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
5744
5745         * LinkLabel.cs: move drawing code into the theme
5746         * ThemeWin32Classic.cs: drawing code and painting background bugfix
5747         * Theme.cs: define DrawLinkLabel method
5748
5749 2005-04-05  Jackson Harper  <jackson@ximian.com>
5750
5751         * BindingContext.cs: Use weak references so these bad actors don't
5752         stay alive longer then they need to.
5753
5754 2005-04-05  Jackson Harper  <jackson@ximian.com>
5755
5756         * ListControl.cs: Basic implementation of complex databinding.
5757         * ComboBox.cs:
5758         * ListBox.cs: Add calls to ListControl databinding methods.
5759
5760 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
5761
5762         * FileDialog.cs:
5763           - Don't change PopupButtonState to Normal when the
5764             PopupButton gets pressed several times.
5765           - Renamed ButtonPanel to PopupButtonPanel
5766
5767 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
5768
5769         * ColorDialog.cs: Use cached objects instead of creating them
5770         * LinkLabel.cs: Use cached objects instead of creating them
5771         * Splitter.cs: Use cached objects instead of creating them
5772         * FontDialog.cs: Use cached objects instead of creating them
5773         * PropertyGridView.cs: Use cached objects instead of creating them
5774         * MessageBox.cs: Use cached objects instead of creating them
5775         * FileDialog.cs: Use cached objects instead of creating them
5776         * ThemeWin32Classic.cs: Use cached objects instead of creating them
5777         * TreeView.cs: Use cached objects instead of creating them
5778         
5779 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
5780
5781         * Control.cs: use Equals to compare the font since no == op
5782         * ScrollBar.cs: use Equals to compare the font since no == op
5783
5784 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
5785
5786         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
5787
5788 2005-04-01  Jackson Harper  <jackson@ximian.com>
5789
5790         * Binding.cs: Implement IsBinding.
5791         * BindingManagerBase.cs:
5792         * PropertyManager.cs:
5793         * CurrencyManager.cs: Add IsSuspended property.
5794
5795 2005-04-01  Jackson Harper  <jackson@ximian.com>
5796
5797         * Binding.cs: Had some IsAssignableFrom calls backwards.
5798
5799 2005-04-01  Jackson Harper  <jackson@ximian.com>
5800
5801         * Binding.cs: Handle null data members when pulling data.
5802         * PropertyManager.cs: Handle the data member being a property that
5803         does not exist.
5804
5805 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
5806
5807         * DataGridTextBoxColumn.cs: fixes signature
5808         * DataGrid.cs: calls right constructor
5809
5810 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
5811
5812         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
5813         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
5814         * GridTableStylesCollection.cs: implements GridTableStylesCollection
5815         * DataGridTableStyle.cs: implements DataGridTableStyle
5816         * DataGridBoolColumn.cs: implements DataGridBoolColumn
5817         * DataGridTextBox.cs: implements DataGridTextBox
5818         * DataGridColumnStyle.cs: implements DataGridColumnStyle
5819
5820 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
5821
5822         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
5823
5824 2005-03-29  Peter Bartok  <pbartok@novell.com>
5825
5826         * Application.cs:
5827           - Properly implemented CompanyName property
5828           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
5829             returns a path that includes CompanyName, ProductName and
5830             Version (fixes bug #70330)
5831
5832 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
5833
5834         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
5835           fixes bug #72588.
5836
5837 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
5838
5839         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
5840         
5841           - Added ReadOnly CheckBox
5842           - Further refactoring: moved some code from Open-/SaveFileDialog
5843             to FileDialog
5844
5845 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
5846
5847         * OpenFileDialog.cs: Fixed CheckFileExists
5848         * FileDialog.cs:
5849           Moved FileView and DirComboBox outside FileDialog class.
5850           They can now be used outside FileDialog
5851
5852 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
5853
5854         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
5855         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
5856
5857 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
5858
5859         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
5860           - Added missing CreatePrompt property in SaveDialog
5861           - Overall SaveDialog handling should be better now
5862           - Added non standard ShowHiddenFiles property
5863           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
5864           - Added InitialDirectory and RestoreDirectory support
5865
5866 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
5867
5868         * FileDialog.cs: Made dirComboBox usable
5869
5870 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
5871
5872         * FileDialog.cs: Added Filter support (case sensitiv)
5873
5874 2005-03-24  Jackson Harper  <jackson@ximian.com>
5875
5876         * TabControl.cs: Need a couple more pixels for the lines.
5877
5878 2005-03-23  Jackson Harper  <jackson@ximian.com>
5879
5880         * TabControl.cs: Give the tab page focus when it is selected.
5881
5882 2005-03-23  Jackson Harper  <jackson@ximian.com>
5883
5884         * TabControl.cs: Account for the drawing of tabs borders when
5885         invalidating. If the slider was clicked dont do click detection on
5886         the tabs.
5887
5888 2005-03-23  Jackson Harper  <jackson@ximian.com>
5889
5890         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
5891
5892 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
5893
5894         * CategoryGridEntry.cs: Added
5895         * GridItem.cs: Added helper properties
5896         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
5897         * GridEntry.cs: Updated code for collection
5898         * PropertyGrid.cs: Cleaned up some formatting
5899         * PropertyGridView.cs: Added drop down functionality for enums.
5900         * GridItemCollection.cs: Added enumerator logic
5901         * PropertyGridEntry.cs: Added
5902
5903 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
5904
5905         * FileDialog.cs:
5906           - Removed unnecessary commented code
5907           - Fixed handling for entering the filename manually in the combobox
5908
5909 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
5910
5911         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
5912
5913 2005-03-18  Peter Bartok  <pbartok@novell.com>
5914
5915         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
5916           them being touching the border
5917
5918 2005-03-18  Peter Bartok  <pbartok@novell.com>
5919
5920         * TextControl.cs: Quick hack to center text better
5921
5922 2005-03-18  Peter Bartok  <pbartok@novell.com>
5923
5924         * ControlPaint.cs:
5925           - Don't throw NotImplemented exceptions, just print a notice once
5926             instead (requested by Miguel). This makes running existing SWF
5927             apps a bit easier
5928         * Control.cs:
5929           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
5930           - Added context menu trigger on right click
5931         * Panel.cs: Trigger invalidate on resize
5932         * StatusBar.cs:
5933           - Removed old double-buffer drawing
5934           - Added ResizeRedraw style to force proper update of statusbar
5935         * ListView.cs:
5936           - Removed debug output
5937         * ThemeWin32Classic.cs:
5938           - Fixed drawing of status bar, now draws Text property if there
5939             are no defined panels
5940
5941 2005-03-18  Jackson Harper  <jackson@ximian.com>
5942
5943         * ImageList.cs: When the image stream is set pull all the images
5944         from it.
5945         * ImageListStreamer.cs: Implement reading image list streams.
5946
5947 2005-03-18  Peter Bartok  <pbartok@novell.com>
5948
5949         * ThemeWin32Classic.cs (DrawPictureBox):
5950           - Fixed calculations for centered drawing
5951           - Fixed drawing for normal mode, not scaling the image on normal
5952
5953 2005-03-18  Peter Bartok  <pbartok@novell.com>
5954
5955         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
5956           textbox
5957         * FileDialog.cs:
5958           - Made Open/Save button the accept button for FileDialog
5959           - Tied the cancel button to the IButtonControl cancel button
5960           - Save/Open now properly builds the pathname
5961           - Now handles user-entered text
5962           - Preventing crash on right-click if no item is selected
5963           - Fixed Text property, now uses contents of textbox
5964           - Fixed SelectedText property, now just returns the text part that
5965             is selected in the text box
5966
5967 2005-03-18  Jackson Harper  <jackson@ximian.com>
5968
5969         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
5970         rect, make sure to de-adjust the interior rect after drawing the
5971         tab text.
5972
5973 2005-03-18  Peter Bartok  <pbartok@novell.com>
5974
5975         * MenuAPI.cs: Remove menu *before* executing selected action to
5976           prevent the menu from 'hanging around'
5977           
5978 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
5979
5980         * XplatUIOSX.cs: Implemented WorkingArea property
5981
5982 2005-03-17  Peter Bartok  <pbartok@novell.com>
5983
5984         * XplatUIX11.cs: Fixed menu coord calculations
5985         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
5986           for calculating offsets
5987
5988 2005-03-17  Peter Bartok  <pbartok@novell.com>
5989
5990         * Hwnd.cs: Do not consider menu presence for default client
5991           rectangle location/size
5992         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
5993           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
5994           translation functions
5995         * FileDialog.cs: Fixed (what I presume is a) typo
5996
5997 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
5998
5999         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6000           X access (avoids X-Async errors)
6001
6002 2005-03-16  Jackson Harper  <jackson@ximian.com>
6003
6004         * TabControl.cs: Raise the SelectedIndexChanged event.
6005
6006 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
6007
6008         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6009           - Removed vertical ToolBar and replaced it with a custom panel
6010             (desktop and home button already work)
6011           - Added Help button (some controls get resized or relocated then)
6012           - Draw correct text depending on Open or Save.
6013           - Fixed some typos...
6014
6015 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
6016
6017         * ScrollBar.cs:
6018           - Only change Maximum and Minimum when need it (bug fix)
6019
6020 2005-03-15  Peter Bartok  <pbartok@novell.com>
6021
6022         * Form.cs: Use Handle for icon, to trigger creation if
6023           the window does not yet exist
6024         * Control.cs:
6025           - CanSelect: Slight performance improvement
6026           - Focus(): Preventing possible recursion
6027           - Invalidate(): Removed ControlStyle based clear flag setting
6028           - WM_PAINT: fixed logic for calling OnPaintBackground
6029           - WM_ERASEBKGND: Fixed logic, added call to new driver method
6030             EraseWindowBackground if the control doesn't paint background
6031         * XplatUIWin32.cs:
6032           - Moved EraseWindowBackground() method to internal methods
6033           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6034             is sent via SendMessage on BeginPaint call on Win32
6035         * XplatUIX11.cs:
6036           - Added EraseWindowBackground() method
6037           - No longer sends WM_ERASEBKGND on .Expose, but on call to
6038             PaintEventStart, which more closely matches Win32 behaviour
6039           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6040           - Fixed SetFocus() to properly deal with client and whole windows
6041         * Hwnd.cs: Added ErasePending property
6042         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6043         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6044
6045 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
6046
6047         * XplatUIOSX.cs:
6048           - Fix hard loop when timers exist.
6049           - Fix bugs with middle and right click for 3 button mice.
6050
6051 2005-03-11  Peter Bartok  <pbartok@novell.com>
6052
6053         * XplatUIX11.cs:
6054           - get_WorkingArea: Need to call X directly, GetWindowPos only
6055             returns cached data now
6056           - Added sanity check to GetWindowPos hwnd usage
6057
6058 2005-03-11  Jackson Harper  <jackson@ximian.com>
6059
6060         * BindingManagerBase.cs: This method isn't used anymore as
6061         PullData now updates the data in the control.
6062
6063 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
6064
6065         * Form.cs: fixes menu drawing on X11
6066         * MenuAPI.cs:  fixes menu drawing on X11
6067
6068 2005-03-11  Peter Bartok  <pbartok@novell.com>
6069
6070         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6071           from Jonathan Gilbert; should fix bug #73606
6072         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6073           in Screen coordinates. Thanks, Jordi.
6074         * Form.cs: Added missing attribute
6075
6076 2005-03-11  Peter Bartok  <pbartok@novell.com>
6077
6078         * Form.cs:
6079           - Rudimentary Mdi support
6080           - Removed outdated FormParent code
6081           - Implemented lots of missing properties and methods, still missing
6082             transparency support
6083           - Added missing attributes
6084           - Implemented support for MaximumBounds
6085           - Added firing of various events
6086         * XplatUI.cs: Added SetIcon() method
6087         * XplatUIDriver.cs: Added SetIcon() abstract
6088         * XplatUIOSX.cs: Stubbed out SetIcon() method
6089         * XplatUIX11.cs:
6090           - Implemented SetIcon() support
6091           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6092           - Switched to unix line endings
6093         * XplatUIWin32.cs:
6094           - Made POINT internal so for can access it as part of MINMAX
6095           - Implemented SetIcon() support
6096           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6097             native Mdi support again, might have to go managed)
6098         * Control.cs: Now fires the StyleChanged event
6099         * MdiClient.cs: Added; still mostly empty
6100
6101 2005-03-10  Peter Bartok  <pbartok@novell.com>
6102
6103         * SaveFileDialog.cs: Added emtpy file
6104
6105 2005-03-08  Peter Bartok  <pbartok@novell.com>
6106
6107         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6108           in turn triggers OnCreateContro) when creating a handle for the
6109           first time.
6110         * TextControl.cs: Fixed endless loop in certain cases when
6111           replacing the current selection
6112
6113 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
6114
6115         * ScrollBar.cs:
6116           - Honors NewValue changes in Scroll events allowing apps to change it
6117           - Adds First and Last Scroll events
6118           - Fixes Thumb events
6119
6120 2005-03-07  Peter Bartok  <pbartok@novell.com>
6121
6122         * Hwnd.cs: Added DefaultClientRectangle property
6123         * XplatUI.cs: Now using the X11 driver Where() method, which provides
6124           more detailed debug information
6125         * XplatUIX11.cs:
6126           - Fixed size-change feedback loop, where we would pull an old size
6127             off the queue and mistakenly change our window's size to an
6128             earlier value
6129           - Now compressing ConfigureNotify events, to reduce looping and
6130             redraw issues
6131         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
6132           is called
6133
6134 2005-03-07  Jackson Harper  <jackson@ximian.com>
6135
6136         * Binding.cs: Push data pushes from data -> property. Check if the
6137         property is readonly when attempting to set it.
6138
6139 2005-03-07  Jackson Harper  <jackson@ximian.com>
6140
6141         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
6142         instead of IsSubclassOf. Pulling data now sets the value on the
6143         control.
6144         * PropertyManager.cs:
6145         * CurrencyManager.cs: Just need to pull data when updating now,
6146         because PullData will set the value on the control.
6147
6148 2005-03-04  Jackson Harper  <jackson@ximian.com>
6149
6150         * Binding.cs: Implement data type parsing and converting on pulled
6151         data. TODO: Are there more ways the data can be converted?
6152
6153 2005-03-04  Jackson Harper  <jackson@ximian.com>
6154
6155         * Binding.cs: Support <Property>IsNull checks. Also bind to the
6156         controls Validating method so we can repull the data when the
6157         control loses focus.
6158
6159 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
6160
6161         * ColumnHeader.cs:
6162           - Fixes null string format
6163           
6164         * ListView.cs:
6165           - Adds enum type checks
6166           - Fixes redrawing and recalc need after changing some properties
6167           - Fixes on focus_item set after the event
6168           - Fixes adding columns after the control has been created
6169           
6170         * ThemeWin32Classic.cs:
6171           - Fixes CheckBox focus rectangle
6172           - Fixes ColumnHeader drawing
6173
6174
6175 2005-03-03  Jackson Harper  <jackson@ximian.com>
6176
6177         * Binding.cs: Bind to <Property>Changed events so we can detect
6178         when properties are changed and update the data.
6179
6180 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
6181
6182         * ImageList.cs:
6183           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
6184           - Fixes ImageList constructor with ImageList container
6185           - Fixes image scaling (wrong parameters at DrawImage)
6186
6187 2005-02-02  Jackson Harper  <jackson@ximian.com>
6188
6189         * Binding.cs: Make property searches case-insensitive. Eliminate
6190         some duplicated code.
6191
6192 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
6193
6194         * ComboBox.cs:
6195                 - Handle focus event
6196                 - Fix scrollbar events
6197                 - Discard highlighted item if remove it
6198                 - Fixes SelectedItem with strings
6199
6200 2005-03-01  Peter Bartok  <pbartok@novell.com>
6201
6202         * Control.cs:
6203           - Fixed Visible property, now follows (once again) parent chain
6204             to return false if any control in the chain is visible=false
6205           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
6206           - Fixed several places where is_visible instead of Visible was used
6207           - Implemented FIXME related to focus selection when setting focused
6208             control to be invisible
6209
6210         * XplatUIWin32.cs: Now using proper method to find out if window is
6211           visible. Thanks to Jordi for pointing it out
6212
6213 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
6214
6215         * ComboBox.cs: show/hide scrollbar instead of creating it
6216
6217 2005-02-27  Jackson Harper  <jackson@ximian.com>
6218
6219         * CurrencyManager.cs: Add PositionChanged stuff.
6220
6221 2005-02-27  Peter Bartok  <pbartok@novell.com>
6222
6223         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6224         * XplatUIOSX.cs: Added GetMenuOrigin() stub
6225         * XplatUIWin32.cs: Implemented GetMenuOrigin()
6226         * XplatUIX11.cs:
6227           - Implemented GetMenuDC()
6228           - Implemented GetMenuOrigin()
6229           - Implemented ReleaseMenuDC()
6230           - Implemented generation of WM_NCPAINT message
6231           - Implemented generation and handling of WM_NCCALCSIZE message
6232         * Form.cs: Added debug helper message for Jordi's menu work
6233         * Hwnd.cs:
6234           - Modified ClientRect property; added setter, fixed getter to handle
6235             setting of ClientRect
6236           - Added MenuOrigin property
6237
6238 2005-02-26  Peter Bartok  <pbartok@novell.com>
6239
6240         * XplatUIX11.cs:
6241           - Destroys the caret if a window that's being destroyed contains it
6242           - Ignores expose events coming from the X11 queue for windows that
6243             already are destroyed
6244           - Now uses the proper variable for handling DestroyNotify, before we
6245             marked the wrong window as destroyed
6246           - Improved/added some debug output
6247
6248 2005-02-26  Peter Bartok  <pbartok@novell.com>
6249
6250         * X11Keyboard.cs: Fixes to work on 64bit systems
6251
6252 2005-02-26  Peter Bartok  <pbartok@novell.com>
6253
6254         * Control.cs:
6255           - Now calling OnHandleDestroyed from DestroyHandle()
6256             instead of Dispose()
6257           - Removed bogus call to controls.Remove() from DestroyHandle()
6258
6259 2005-02-26  Peter Bartok  <pbartok@novell.com>
6260
6261         * Control.cs: Properly destroy child windows when our handle is
6262           destroyed
6263
6264 2005-02-25  Peter Bartok  <pbartok@novell.com>
6265
6266         * XplatUI.cs:
6267           - Added 'DriverDebug' define to allow tracing XplatUI API calls
6268           - Alphabetized Static Methods and Subclasses
6269
6270         * XplatUIX11.cs:
6271           - Added XException class to allow custom handling of X11 exceptions
6272           - Created custom X11 error handler, tied into XException class
6273           - Added support for MONO_XEXCEPTIONS env var to allow the user
6274             to either throw an exception on X errors or continue running
6275             after displaying the error
6276           - Added handling of DestroyNotify message
6277           - Added handler for CreateNotify message (still disabled)
6278           - Improved (tried to at least) Where method to provide file and lineno
6279         * X11Structs.cs:
6280           - Added XErrorHandler delegate
6281           - Added XRequest enumeration (to suppor translation of errors)
6282
6283 2005-02-25  Jackson Harper  <jackson@ximian.com>
6284
6285         * PropertyManager.cs: Implement editing features
6286         * CurrencyManager.cs:
6287         * Binding.cs: First attempt at UpdateIsBinding
6288         * BindingManagerBase.cs: Call UpdateIsBinding before
6289         pushing/pulling data.
6290
6291 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
6292
6293         * MenuAPI.cs: Respect disabled items
6294         * ThemeWin32Classic.cs
6295                 - Caches ImageAttributes creation for DrawImageDisabled
6296                 - Fixes vertical menu line drawing
6297                 - Draws disabled arrows in disable menu items
6298
6299 2005-02-24  Peter Bartok  <pbartok@novell.com>
6300
6301         * Hwnd.cs:
6302           - Added UserData property to allow associating arbitrary objects
6303             with the handle
6304           - Fixed leak; now removing Hwnd references from static windows array
6305         * XplatUIWin32.cs:
6306           - Fixed Graphics leak in PaintEventEnd
6307           - Removed usage of HandleData, switched over to Hwnd class
6308         * HandleData.cs: Removed, obsoleted by Hwnd.cs
6309
6310 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
6311
6312         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6313         * ScrollBar.cs: Fixes bug
6314         * TrackBar.cs: removes death code, clipping, mimize refreshes,
6315          keyboard navigation enhancements
6316
6317 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
6318
6319         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6320         * GroupBox.cs: Add control styles
6321         * Label.cs: Add control styles
6322         * UpDownBase.cs: Add control styles
6323         * ListBox.cs: Add control styles
6324         * XplatUIWin32.cs: Fixes wrong parameter order
6325
6326
6327 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
6328
6329         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6330
6331 2005-02-23  Jackson Harper  <jackson@ximian.com>
6332
6333         * PropertyManager.cs: Implement property binding. This doesn't
6334         seem to work yet though as (I think) there are some bugs in
6335         System.ComponentModel.PropertyDescriptor.
6336         * BindingContext.cs: Use new PropertyManager constructor.
6337
6338 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
6339
6340         * ProgressBar.cs: use clip region in ProgressBar
6341         * ThemeWin32Classic.cs: use clip region in ProgressBar
6342
6343 2004-02-22  Jackson Harper  <jackson@ximian.com>
6344
6345         * BindingsCollection.cs: Remove some debug code.
6346
6347 2005-02-22  Jackson Harper  <jackson@ximian.com>
6348
6349         * BindingContext.cs:
6350         * ControlBindingsCollection.cs:
6351         * CurrencyManager.cs:
6352         * Binding.cs:
6353         * BindingManagerBase.cs: Initial implementation
6354         * BindingsCollection.cs: Add an internal contains method that the
6355         BindingManagerBase uses to ensure bindings aren't added twice to
6356         the collection.
6357         * PropertyManager.cs: Stubbed out.
6358         * Control.cs:
6359         * ContainerControl.cs: Hook up databinding
6360         
6361 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
6362
6363         * XplatUIOSX.cs:
6364           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
6365           Fixed Invalidate/Update chain.
6366           Fixed tons of other minor bugs (this is almost a complete rewrite).
6367
6368 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
6369
6370         * ComboBox.cs: do subcontrol creation when the control is created
6371
6372 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
6373
6374         * Label.cs: fixes image drawing (image and imagelist)
6375         * ThemeWin32Classic.cs: cache brushes
6376         
6377 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
6378
6379         * Form.cs: Move menu drawing code to Theme class
6380         * ComboBox.cs: Move ComboBox drawing code to Theme class
6381         * MenuItem.cs: Move menu drawing code to Theme class
6382         * MenuAPI.cs: Move menu drawing code to Theme class
6383         * ThemeWin32Classic.cs: New methods
6384         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
6385         * ListBox.cs: Move Listbox drawing code to Theme class
6386         * Theme.cs: New methods
6387
6388 2005-02-20  Peter Bartok  <pbartok@novell.com>
6389
6390         * Control.cs:
6391           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
6392             only process mnemonics on those)
6393           - Fixed event sequence for key handling; first calling
6394             ProcessKeyEventArgs now
6395         * TextBoxBase.cs:
6396           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
6397             for processing non-character keys
6398           - Fixed WM_CHAR to generate proper event sequence before processing
6399         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
6400           generation
6401
6402 2005-02-19  Peter Bartok  <pbartok@novell.com>
6403
6404         * UserControl.cs: Added TextChanged event; added attributes
6405         * SizeGrip.cs: Implemented resizing and optional display of grip
6406         * Form.cs: Fixed attribute
6407         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
6408           Changed meaning of ScrollWindow bool argument; instead of the
6409           clear attribute (which will be true usually anyway), it gives the
6410           option of moving child controls as well.
6411         * XplatUIX11.cs:
6412           - Changed to match new ScrollWindow argument
6413           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
6414             now handles the implicit parent window a WM puts around us
6415         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
6416           to work)
6417         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
6418         * TreeView.cs: Adjusted to new ScrollWindow arguments
6419
6420 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
6421
6422         * Form.cs: Menu integration with non-client area
6423         * MenuItem.cs: Menu integration with non-client area
6424         * MenuAPI.cs: Menu integration with non-client area
6425
6426 2005-02-18  Peter Bartok  <pbartok@novell.com>
6427
6428         * MethodInvoker.cs: Added
6429         * MdiLayout.cs: Added
6430         * SendKeys.cs: Started implementation
6431         * ErrorIconAlignment.cs: Added
6432
6433 2005-02-18  Peter Bartok  <pbartok@novell.com>
6434
6435         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
6436         * Form.cs: Added handling for Menu-related Non-client messages
6437
6438 2005-02-17  Peter Bartok  <pbartok@novell.com>
6439
6440         * UpDownBase.cs: Fixed typo, compilation errors
6441         * DomainUpDown.cs: Fixed attribute value
6442
6443 2005-02-16  Miguel de Icaza  <miguel@novell.com>
6444
6445         * UpDownBase.cs: Attach entry events.
6446         Propagate events.
6447         Add ForeColor property, Focused, InterceptArrowKeys (interception
6448         does not work yet).
6449
6450 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
6451
6452         * Form.cs:
6453                 - Redraw non client are on Setmenu
6454                 - Calc proper menu starting point
6455
6456 2005-02-17  Peter Bartok  <pbartok@novell.com>
6457
6458         * Application.cs: Fixed message_filter check
6459
6460 2005-02-17  Peter Bartok  <pbartok@novell.com>
6461
6462         * Application.cs: Now calls registered message filters
6463         * DockStyle.cs: Fixed attribute
6464         * Form.cs: Fixed attribute
6465         * Menu.cs: Fixed attribute
6466         * ToolTip.cs: Fixed attribute
6467         * TreeNode.cs: Added missing attributes and arranged in regions
6468         * PropertyGrid.cs: Fixed signatures
6469         * TreeNodeCollection.cs: Added attributes
6470         * Splitter.cs: Added missing attributes; arranged into regions
6471         * TabPage.cs: Added missing attributes; arranged into regions
6472         * TextBoxBase.cs: Added missing attributes
6473         * TextBox.cs: Added missing attributes
6474         * ArrangeDirection.cs: Added missing attributes
6475         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
6476         * ToolBarButton.cs: Fixed attributes
6477         * AnchorStyles.cs: Fixed attribute
6478         * TrackBar.cs: Fixed attributes
6479         * TabControl.cs: Added missing attributes and arranged into regions
6480         * ToolBar.cs: Fixed attribute
6481         * StatusBar.cs: Fixed signature, organized into regions and added
6482           attributes
6483         * StatusBarPanel.cs: Fixed attributes
6484         * ContentsResizedEventArgs.cs: Implemented
6485         * ContentsResizedEventHandler.cs: Implemented
6486         * DateBoldEventArgs.cs: Implemented
6487         * DateBoldEventHandler.cs: Implemented
6488         * UpDownEventArgs.cs: Implemented
6489         * UpDownEventHandler.cs: Implemented
6490         
6491 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
6492
6493         * Form.cs: first Menu NC refactoring
6494         * MenuAPI.cs: first Menu NC refactoring
6495         
6496 2005-02-16  Peter Bartok  <pbartok@novell.com>
6497
6498         * ImeMode.cs: Added missing attributes
6499         * Menu.cs: Fixed attribute
6500         * GroupBox.cs: Fixed attribute
6501         * Label.cs: Fixed attribute
6502         * ColorDialog.cs (RunDialog): Removed TODO attribute
6503         * ComboBox.cs: Fixed attributes
6504         * ListControl.cs: Added missing attributes
6505         * PropertyGrid.cs: Fixed attributes
6506         * Control.cs: Fixed attributes
6507         * ListViewItem.cs: Added TypeConverter attribute
6508         * NotifyIcon.cs: Fixed attributes
6509         * ListView.cs: Fixed attributes
6510         * ButtonBase.cs: Fixed attribute
6511         * ImageList.cs: Added missing attributes
6512         * ContainerControl.cs: Fixed signature
6513         * CheckedListBox.cs: Fixed attribute; added missing attributes
6514         * Panel.cs: Fixed attributes
6515         * PropertyTabChangedEventArgs.cs: Added missing attribute
6516         * PropertyValueChangedEventArgs.cs: Added missing attribute
6517         * Binding.cs: Fixed attribute
6518         * ListViewItemConverter: Implemented ListViewSubItemConverter class
6519         * ListBox.cs: Fixed attribute; added missing attributes;
6520         * ScrollableControl.cs: Added missing attributes
6521         * PictureBox.cs: Added missing attributes; implemented missing property
6522         * DateTimePicker.cs: Added missing attributes
6523         * Theme.cs (ToolWindowCaptionHeight): Fixed type
6524         * MonthCalendar.cs: Fixed attributes
6525         * StatusBarPanel.cs: Added missing attributes
6526         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
6527
6528 2005-02-16  Peter Bartok  <pbartok@novell.com>
6529
6530         * TextBoxBase.cs: The previous method to enforce height yet remember
6531           the requested high was less than ideal, this is an attempt to do
6532           it better.
6533         * Control.cs: Added comment about possible problem
6534         * Copyright: Updated format
6535         * GridItemType.cs: Fixed swapped values
6536
6537 2005-02-15  Jackson Harper  <jackson@ximian.com>
6538
6539         * BaseCollection.cs: Use property so we never access an
6540         uninitialized list. Also initialize the list in the property.
6541
6542 2005-02-15  Peter Bartok  <pbartok@novell.com>
6543
6544         * GroupBox.cs (ProcessMnemonic): Implemented
6545         * Label.cs (ProcessMnemonic): Implemented
6546         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
6547           hotkeys
6548
6549 2005-02-15  Peter Bartok  <pbartok@novell.com>
6550
6551         * RadioButton.cs (ProcessMnemonic): Implemented
6552         * CheckBox.cs (ProcessMnemonic): Implemented
6553         * Control.cs:
6554           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
6555             handling
6556           - Added internal method to allow calling ProcessMnemonic from other
6557             controls
6558         * ContainerControl.cs:
6559           - Started support for handling validation chain handling
6560           - Implemented ProcessMnemonic support
6561           - Added Select() call to Active, to make sure the active control
6562             receives focus
6563         * Form.cs: Setting toplevel flag for Forms (this was lost in the
6564           FormParent rewrite)
6565         * ThemeWin32Classic.cs:
6566           - DrawCheckBox(): Fixed stringformat to show hotkeys
6567           - DrawRadioButton(): Fixed stringformat to show hotkeys
6568         * CommonDialog.cs: Removed WndProc override, not needed
6569
6570 2005-02-14  Peter Bartok  <pbartok@novell.com>
6571
6572         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
6573           missed those in the rewrite
6574
6575 2005-02-14  Miguel de Icaza  <miguel@novell.com>
6576
6577         * NumericUpDown.cs (Increment, ToString): Add.
6578         (DecimalPlaces): implement.
6579         
6580         Add attributes.
6581         
6582         * UpDownBase.cs: Add the designer attributes.
6583
6584 2005-02-13  Peter Bartok  <pbartok@novell.com>
6585
6586         * Panel.cs: Removed border_style, now in Control
6587         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
6588           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
6589
6590 2005-02-13  Peter Bartok  <pbartok@novell.com>
6591
6592         * MouseButtons.cs: Added missing attributes
6593         * XplatUIStructs.cs: Added enumeration for title styles
6594         * LeftRightAlignment.cs: Added missing attributes
6595         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
6596           it compatible with Graphics.FromHwnd()
6597         * SelectedGridItemChangedEventArgs.cs: Fixed property type
6598         * Keys.cs: Added missing attributes
6599         * SelectionRange.cs: Added missing attributes
6600         * SelectionRangeConverter.cs: Added
6601         * XplatUI.cs:
6602           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
6603             ReleaseMenuDC methods
6604           - Renamed ReleaseWindow to UngrabWindow
6605           - Added proper startup notice to allow version identification
6606         * Form.cs:
6607           - Added missing attributes
6608           - Removed FormParent concept
6609         * Label.cs: Removed border_style field, now in Control
6610         * RadioButton.cs: Now properly selects RadioButton when focus is
6611           received
6612         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
6613         * Control.cs:
6614           - Added missing attributes
6615           - Added borderstyle handling
6616           - Removed FormParent concept support
6617           - Fixed calls to XplatUI to match changed APIs
6618           - Fixed bug that would case us to use disposed Graphics objects
6619           - Removed unneeded internal methods
6620           - PerformLayout(): Fixed to handle DockStyle.Fill properly
6621           - SelectNextControl(): Fixed to properly check common parents
6622         * TextBoxBase.cs: Removed border_style field (now in Control)
6623         * MessageBox.cs:
6624           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
6625             fixed calculations for form size
6626           - Added support for localized strings and icons
6627           - Improved form size calculations, added border
6628         * ListView.cs: Removed border_style field (now in Control)
6629         * X11Structs.cs: Moved several structs from X11 driver here
6630         * X11Keyboard.cs: Changed debug message
6631         * Application.cs: Removed FormParent concept support
6632         * CommonDialog.cs:
6633           - Resetting end_modal flag
6634           - Removed FormParent concept support
6635         * NativeWindow.cs: Removed FormParent concept support
6636         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
6637           Client area and Non-Client whole window to allow support for WM_NC
6638           messages
6639         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
6640           prevent using it until it supports Hwnd as per Geoff Norton's request
6641         * ToolBar.cs: Fixed drawing, was not doing proper drawing
6642         * PictureBox.cs: Removed border_style field, now in Control
6643         * XplatUIWin32.cs: Added new driver methods
6644
6645 2005-02-12  Peter Bartok  <pbartok@novell.com>
6646
6647         * OpacityConverter.cs: Implemented
6648         * Hwnd.cs: Internal class to support drivers that need to emulate
6649           client area/non-client area window behaviour
6650
6651 2005-02-11  Peter Bartok  <pbartok@novell.com>
6652
6653         * KeysConverter.cs: Implemented
6654
6655 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
6656
6657         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
6658         * LinkLabel: Added missing attributes
6659         * MainMenu.cs: fixes ToString
6660         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
6661         * ListBox.cs: fixes event position
6662         * TrackBar.cs: adds missing attributes and events
6663         
6664 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
6665
6666         * MenuItem.cs: Use SystemInformation and bug fixes
6667         * MenuAPI.cs: Use SystemInformation and bug fixes
6668
6669 2005-02-09  Jackson Harper  <jackson@ximian.com>
6670
6671         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
6672         their keystate otherwise things like VK_MENU get stuck "on".
6673
6674 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
6675
6676         * ListBox.cs: Fixes AddRange bug
6677         
6678 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
6679
6680         * ProgressBar.cs
6681                 - Add missing attributes
6682                 - Add missing method
6683                 
6684         * CheckedListBox.cs: Added missing attributes
6685                 - Add missing attributes
6686                 - Remove extra method
6687         
6688         * ComboBox.cs: Added missing attributes
6689         * VScrollBar.cs: Added missing attributes
6690         * ScrollBar.cs:  Added missing attributes
6691         * ListBox.cs: Fixes signature, add missing consts
6692         * LinkArea.cs:   Added missing attributes
6693         
6694
6695 2005-02-08  Peter Bartok  <pbartok@novell.com>
6696
6697         * Menu.cs: Added missing attributes
6698         * MainMenu.cs: Added missing attributes
6699         * GroupBox.cs: Added missing attributes
6700         * Label.cs: Added missing attributes
6701         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
6702         * ColorDialog.cs:
6703           - Added Instance and Options properties
6704           - Added missing attributes
6705         * Cursor.cs: Made Serializable
6706         * NotifyIcon: Added missing attributes
6707         * MenuItem.cs: Added missing attributes
6708         * TextBoxBase.cs: Implemented AppendText() and Select() methods
6709         * Panel.cs: Added Missing attributes
6710         * MonthCalendar.cs: Fixed CreateParams
6711
6712 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
6713         
6714         * LinkLabel.cs:
6715                 - Fixes signature
6716                 - Fixes issues with links
6717                 - Adds the class attributes
6718
6719 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
6720         
6721         * ComboBox.cs:
6722                 - Fixes button when no items available in dropdown
6723                 - Fixes repainting problems
6724                 - Adds the class attributes
6725                 
6726 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
6727
6728         * XplatUIOSX.cs: Detect the menu bar and title bar height from
6729         the current theme.  Cache these on startup.
6730
6731 2005-02-07  Jackson Harper  <jackson@ximian.com>
6732
6733         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
6734         the scrollbar buttons when they are depressed.
6735
6736 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
6737
6738         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
6739         Get the display size from the main displayid.  We currently dont
6740         support multiple display configurations.
6741
6742 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
6743
6744         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
6745
6746 2005-02-07  Miguel de Icaza  <miguel@novell.com>
6747
6748         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
6749
6750 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
6751
6752         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
6753
6754 2005-02-04  Jackson Harper  <jackson@ximian.com>
6755
6756         * ThemeWin32Classic.cs: Respect the clipping rect when
6757         drawing. Only fill the intersection of clips and rects so there
6758         isn't a lot of large fills.
6759         * ScrollBar.cs: Pass the correct clipping rect to the theme
6760         engine. Remove some debug code.
6761
6762 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
6763         
6764         * DateTimePicker.cs:
6765                 - Fixed crash on DateTime.Parse, use Constructor instead
6766
6767 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
6768         
6769         * MenuItem.cs:
6770         * MenuAPI.cs:
6771                 - Owner draw support (MeasureItem and DrawItem)
6772
6773 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
6774         
6775         *  Menu.cs:
6776                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
6777                 - Fixes MenuItems.Add range
6778         * MenuItem.cs:
6779                 - MergeMenu and Clone and CloneMenu functions
6780
6781 2005-02-03  Jackson Harper  <jackson@ximian.com>
6782
6783         * ScrollBar.cs: Make abstract
6784         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
6785         is abstract.
6786
6787 2005-02-03  Jackson Harper  <jackson@ximian.com>
6788
6789         * ScrollBar.cs: First part of my scrollbar fixups. This removes
6790         all the unneeded refreshes and uses invalidates with properly
6791         computed rects.
6792
6793 2005-02-03  Peter Bartok  <pbartok@novell.com>
6794
6795         * ComponentModel.cs: Added
6796         * IDataGridEditingService.cs: Added
6797         * Timer.cs: Added missing attributes
6798         * ToolTip.cs: Added missing attributes
6799
6800 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
6801
6802         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
6803
6804 2005-02-03  Peter Bartok  <pbartok@novell.com>
6805
6806         * ListBox.cs: Added missing attributes
6807
6808 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
6809         
6810         * ListBox.cs:
6811                 - Fixes font height after font change
6812                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
6813                 
6814 2005-02-02  Peter Bartok  <pbartok@novell.com>
6815
6816         * HandleData.cs: Introduced static methods to allow class
6817           to be more self-contained and track it's own HandleData objects
6818         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
6819           HandleData to use new static methods
6820
6821 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
6822
6823         * Combobox.cs:
6824                 - Fixes default size and PreferredHeight
6825                 - Missing events
6826                 - ObjectCollection.Insert implementation
6827                 
6828         * ListControl.cs
6829                 - Fixes signature
6830         * ListBox.cs:
6831                 - Several fixes
6832                 - ObjectCollection.Insert implementation
6833                 - No selection after clean
6834                 - Small fixes
6835
6836 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
6837
6838         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
6839
6840 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
6841
6842         * Combobox.cs:
6843                 - Caches ItemHeight calculation for OwnerDrawVariable
6844                 - Handles dropdown properly
6845                 - Fixes several minor bugs
6846
6847 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
6848
6849         * ListBox.cs:
6850                 - Fixes 71946 and 71950
6851                 - Fixes changing Multicolumn on the fly
6852                 - Fixes keyboard navigation on Multicolumn listboxes
6853
6854 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
6855         
6856         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
6857         crash reporter log.
6858
6859 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
6860
6861         * XplatUIOSX.cs: Allow applications to actually exit.
6862
6863 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
6864
6865         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
6866         their parent at creation time rather than lazily later.  Fixes a major
6867         regression we were experiencing.
6868
6869 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
6870
6871         * ThemeWin32Classic.cs: more date time picker painting fixes
6872         * DateTimePicker.cs: more monthcalendar drop down fixes
6873         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
6874
6875 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
6876
6877         * ScrollBar.cs:
6878                 - When moving the thumb going outside the control should stop the moving
6879                 - Adds the firing of missing events
6880                 - Fixes no button show if Size is not specified
6881                 - End / Home keys for keyboard navigation
6882
6883 2005-01-30  Peter Bartok  <pbartok@novell.com>
6884
6885         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
6886           sanity check to prevent theoretical loop
6887         * XplatUIWin32.cs (SetVisible): Removed debug output
6888         * XplatUIX11.cs (SystrayChange): Added sanity check
6889         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
6890         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
6891           behaviour, valid until the X11 client window rewrite is done
6892         * TextBox.cs (ctor): Setting proper default foreground and background
6893           colors
6894
6895 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
6896
6897         * Theme: Added DrawDateTimePicker to interface
6898         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
6899         * DateTimePicker.cs: Created (still needs keys and painting code)
6900         * DateTimePickerFormat.cs: added
6901         * MonthCalendar.cs: fixed CreateParams for popup window mode
6902           
6903 2005-01-29  Peter Bartok  <pbartok@novell.com>
6904
6905         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
6906           this should also the calculations for ligher/darker
6907         * Theme.cs: Fixed defaults for ScrollBar widths/heights
6908
6909 2005-01-29  Peter Bartok  <pbartok@novell.com>
6910
6911         * ArrangeDirection.cs: Added
6912         * ArrangeStartingPositon.cs: Added
6913         * SystemInformation.cs: Implemented
6914         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
6915           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
6916           used by SystemInformation class
6917         * X11Strucs.cs: Added XSizeHints structure
6918         * MenuAPI.cs:
6919           - Fixed CreateParams to make sure the menu window is always visible
6920           - TrackPopupMenu: Added check to make sure we don't draw the
6921             menu offscreen
6922
6923 2005-01-29  Peter Bartok  <pbartok@novell.com>
6924
6925         * HandleData.cs: Added method for altering invalid area
6926         * TextBoxBase.cs: Implemented TextLength
6927
6928 2005-01-28  Peter Bartok  <pbartok@novell.com>
6929
6930         * XplatUIX11.cs: Improvement over last patch, not sending
6931           the WM_PAINT directly anymore, instead we scroll any pending
6932           exposed areas and let the system pick out the WM_PAINT later
6933
6934 2005-01-28  Peter Bartok  <pbartok@novell.com>
6935
6936         * SWF.csproj: Deleted, no longer used. Instead,
6937           Managed.Windows.Forms/SWF.csproj should be used
6938         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
6939           directly, to avoid a potential race condition with the next
6940           scroll
6941
6942 2005-01-28  Peter Bartok  <pbartok@novell.com>
6943
6944         * XplatUI.cs: Made class internal
6945
6946 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
6947
6948         * CheckedListBox.cs:
6949                 - Draw focus
6950                 - Fixed Drawing
6951                 - Missing methods and events
6952
6953 2005-01-27  Peter Bartok  <pbartok@novell.com>
6954
6955         * Application.cs (Run): Don't use form if we don't have one
6956
6957 2005-01-27  Peter Bartok  <pbartok@novell.com>
6958
6959         * TextBoxBase.cs (get_Lines): Fixed index off by one error
6960
6961 2005-01-27  Peter Bartok  <pbartok@novell.com>
6962
6963         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
6964         * GridItem.cs: Added; Patch by Jonathan S. Chambers
6965         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
6966         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
6967         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
6968         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
6969         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6970         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6971         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6972         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6973         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6974         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6975
6976 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
6977
6978         * Combobox.cs:
6979                 - Draw focus on Simple Combobox
6980                 - Fixes drawing issues
6981                 - fixes 71834
6982
6983 2005-01-27  Peter Bartok  <pbartok@novell.com>
6984
6985         * Form.cs:
6986           - Place window in default location, instead of hardcoded 0/0
6987           - Send initial LocationChanged event
6988         * Control.cs:
6989           - UpdateBounds after creation to find out where the WM placed us
6990           - Make sure that if the ParentForm changes location the Form
6991             is notified
6992         * XplatUIX11.cs: XGetGeometry will not return the coords relative
6993             to the root, but to whatever the WM placed around us.
6994             Translate to root coordinates before returning toplevel
6995             coordinates
6996         * XplatUIWin32.cs: Removed debug output
6997         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
6998           flag to GetWindowPos, to allow translation of coordinates on X11
6999
7000 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7001
7002         * ListBox.cs: connect LostFocus Event
7003
7004 2005-01-27  Peter Bartok  <pbartok@novell.com>
7005
7006         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7007           XplatUIX11.cs: Extended the Systray API
7008         * Form.cs: Removed debug output
7009         * Application.cs: Fixed focus assignment, always need to call
7010           XplatUI.Activate() since Form.Activate() has rules that may
7011           prevent activation
7012         * NotifyIcon.cs: Should be complete now
7013         * ToolTip.cs: Worked around possible timer bug
7014
7015 2005-01-27  Jackson Harper  <jackson@ximian.com>
7016
7017         * TabControl.cs:
7018         - Only invalidate the effected tabs when the
7019         selected index changes. This reduces drawing and gets rid of some
7020         flicker.
7021         - Only refresh if the tabs need to be shifted, otherwise only
7022         invalidate the slider button.
7023         - On windows the tabs are not filled to right if the slider is
7024         visible.
7025         
7026 2005-01-27  Jackson Harper  <jackson@ximian.com>
7027
7028         * TabControl.cs: Only refresh on mouseup if we are showing the
7029         slider. Also only invalidate the button whose state has changed.
7030
7031 2005-01-26  Peter Bartok  <pbartok@novell.com>
7032
7033         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7034         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7035           and SystrayRemove() methods
7036         * XplatUIOSX.cs: Stubbed Systray methods
7037         * XplatUIX11.cs:
7038           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7039             methods
7040           - Fixed broken XChangeProperty calls (marshalling messed up things)
7041         * X11Structs.cs: Added enums and structs required for Size hinting
7042         * NotifyIcon.cs: Added & implemented
7043
7044 2005-01-26  Jackson Harper  <jackson@ximian.com>
7045
7046         * TabControl.cs: Space vertically layed out tabs properly.
7047
7048 2005-01-26  Peter Bartok  <pbartok@novell.com>
7049
7050         * Form.cs (CreateClientParams): Always set the location to 0,0
7051           since we're a child window.
7052
7053         * Control.cs (SetVisibleCore): Always explicitly setting the location
7054           of a toplevel window, apparently X11 doesn't like to move windows
7055           while they're not mapped.
7056
7057 2005-01-26  Jackson Harper  <jackson@ximian.com>
7058
7059         * TabControl.cs: Implement FillToRight size mode with vertically
7060         rendered tabs.
7061
7062 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
7063
7064         * ControlPaint.cs, ThemeWin32Classic.cs
7065                 - Fixes DrawFocusRectangle
7066
7067 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
7068
7069         * MenuAPI.cs:
7070                 - MenuBar tracking only starts when item is first clicked
7071                 - Fixes menu hidding for multiple subitems
7072                 - Unselect item in MenuBar when item Executed
7073                 - Fixes bug 71495
7074
7075 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
7076
7077         * ListControl.cs:
7078                 - IsInputKey for ListBox
7079         * ListBox.cs:
7080                 - Focus item
7081                 - Shift and Control item selection
7082                 - Implement SelectionMode.MultiExtended
7083                 - Fixes RightToLeft
7084         * ComboBox.cs:
7085                 - IsInputKey implemented
7086                 - Do not generate OnTextChangedEdit on internal txt changes
7087                 
7088 2005-01-23  Peter Bartok  <pbartok@novell.com>
7089
7090         * AccessibleObject.cs: Partially implemented Select()
7091         * MonthCalendar.cs: Added missing attributes and events
7092         * Form.cs: Fixed CreateParams behaviour, now controls derived from
7093           form can properly override CreateParams.
7094         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7095           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7096           Control performs Invalidate & Update
7097         * NativeWindow (CreateHandle): Added special handling for Form
7098           and Form.FormParent classes to allow overriding of From.CreateParams
7099         * Control.cs:
7100           - ControlNativeWindow: Renamed 'control' variable to more intuitive
7101             name 'owner'
7102           - ControlNativeWindow: Added Owner property
7103           - Removed usage of Refresh() on property changes, changed into
7104             Invalidate(), we need to wait until the queue is processed for
7105             updates, direct calls might cause problems if not all vars for
7106             Paint are initialized
7107           - Added call to UpdateStyles() when creating the window, to set any
7108             styles that CreateWindow might have ignored.
7109           - Added support for Form CreateParent overrides to UpdateStyles()
7110         * MessageBox.cs: Removed no longer needed FormParent override stuff,
7111           CreateParams are now properly overridable
7112         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7113           CreateParams are now properly overridable
7114
7115 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
7116
7117         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
7118         OnTextBoxChanged.
7119
7120         Capture LostFocus and OnTextBoxChanged.  The later introduces a
7121         recursive invocation that I have not figured out yet.
7122
7123         Reset the timer when not using (it was accumulating).
7124
7125
7126         (OnTextBoxChanged): Set UserEdit to true here to track whether the
7127         user has made changes that require validation.
7128
7129         Reset changing to avoid loops.
7130
7131 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
7132
7133         * NumericUpDown.cs: Display value at startup.
7134
7135         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
7136         ValidateEditText.
7137
7138         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
7139         filled in.  Added some basic parsing of text.
7140
7141         Still missing the OnXXX method overrides, and figuring out the
7142         events that must be emitted.
7143
7144         * UpDownBase.cs: Handle UserEdit on the Text property.
7145         
7146 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
7147
7148         * ComboBox.cs:
7149           - Fixes IntegralHeight
7150           - ToString method
7151
7152 2005-01-21  Jackson Harper  <jackson@ximian.com>
7153
7154         * TabControl.cs: Set the SelectedIndex property when SelectedTab
7155         is set so that the page visibility is updated and the tabs are
7156         sized correctly.
7157
7158 2005-01-21  Jackson Harper  <jackson@ximian.com>
7159
7160         * TabControl.cs: Use cliping rectangle for blitting. Give the
7161         theme the clipping rect so we can do clipping while
7162         drawing. Remove some debug code.
7163
7164 2005-01-21  Jackson Harper  <jackson@ximian.com>
7165
7166         * TabPage.cs: Add a new method so tab pages can force the tab
7167         control to recalculate the tab page sizes.
7168         * TabControl.cs: UpdateOwner needs to make the tab control recalc
7169         sizes.
7170
7171 2005-01-20  Jackson Harper  <jackson@ximian.com>
7172
7173         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
7174
7175 2005-01-20  Jackson Harper  <jackson@ximian.com>
7176
7177         * TreeView.cs: Set the bounds for nodes properly. They were
7178         getting screwed up when checkboxes were not enabled, but images
7179         were.
7180
7181 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
7182
7183         * ListBox.cs:
7184                 - Owner draw support
7185                 - Fixes
7186                 
7187 2005-01-20  Jackson Harper  <jackson@ximian.com>
7188
7189         * XplatUIStructs.cs: More misc keys
7190         * X11Keyboard.cs: Ignore some control keys.
7191
7192 2005-01-20  Jackson Harper  <jackson@ximian.com>
7193
7194         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
7195         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
7196
7197 2005-01-19  Peter Bartok  <pbartok@novell.com>
7198
7199         * Control.cs: Un-selecting the control when it is loosing focus
7200
7201 2005-01-19  Jackson Harper  <jackson@ximian.com>
7202
7203         * TreeView.cs: Hook up to the text controls leave event so we can
7204         end editing when the users clicks outside the text box.
7205         
7206 2005-01-19  Jackson Harper  <jackson@ximian.com>
7207
7208         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
7209         get set in the conversion array.
7210
7211 2005-01-19  Peter Bartok  <pbartok@novell.com>
7212
7213         * Application.cs (ModalRun): Added a call to CreateControl to ensure
7214           focus is properly set
7215         * Button.cs:
7216           - Added missing attributes
7217           - removed styles, those are already set in the base class
7218         * ButtonBase.cs:
7219           - Added missing attributes
7220           - Added clip window styles
7221         * CheckBox.cs: Added missing attributes
7222         * CommonDialog.cs:
7223           - FormParentWindow.CreateParams: Added required clip styles
7224         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7225           also filters modifier keys
7226         * MessageBox.cs:
7227           - Added assignment of Accept and Cancel button to enable Enter
7228             and Esc keys in MessageBox dialogs
7229           - FormParentWindow.CreateParams: Added required clip styles
7230         * RadioButton.cs: Added missing attributes
7231         * TextControl.cs: No longer draws selection if control does not
7232           have focus
7233         * TextBoxBase.cs:
7234           - Now draws simple rectangle around test area to make it obvious
7235             there's a control. This is a hack until we properly support borders
7236           - A few simple fixes to support selections better, now erases selected
7237             text when typing, and resets selection when using movement keys
7238
7239 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
7240
7241         * UpDownBase.cs: Added some new properties.
7242
7243         * DomainUpDown.cs: Implement a lot to get my test working.
7244
7245 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7246
7247         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7248
7249 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7250
7251         * OSXStructs (WindowAttributes): Fixed csc complaints
7252
7253 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7254
7255         * XplayUIOSX.cs:
7256           OSXStructs.cs: Initial refactor to move enums and consts into
7257           OSXStructs and use them in the driver for greater readability.
7258
7259 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
7260
7261         * XplatUIOSX.cs: Initial support for Standard Cursors.
7262         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7263
7264 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
7265
7266         * ComboBox.cs: ability to change style when the ctrl is already
7267         created, missing methods and events, bug fixes, signature fixes
7268
7269 2005-01-19  Peter Bartok  <pbartok@novell.com>
7270
7271         * Cursors.cs (ctor): Added ctor to fix signature
7272
7273 2005-01-18  Peter Bartok  <pbartok@novell.com>
7274
7275         * Button.cs: Implemented DoubleClick event
7276         * ButtonBase.cs:
7277           - Fixed keyboard handling to behave like MS, where the press of
7278             Spacebar is equivalent to a mousedown, and the key release is
7279             equivalent to mouseup. Now a spacebar push will give the same
7280             visual feedback like a mouse click.
7281           - Added missing attributes
7282           - Added ImeModeChanged event
7283           - Added support for generating DoubleClick event for derived classes
7284         * CheckBox.cs:
7285           - Implemented DoubleClick event
7286           - Added missing attributes
7287         * CommonDialog.cs: Added missing attribute
7288         * ContextMenu.cs: Added missing attributes
7289         * RadioButton.cs:
7290           - AutoChecked buttons do not allow to be unselected when clicked
7291             (otherwise we might end up with no selected buttons in a group)
7292           - Added missing attributes
7293           - Implemented DoubleClickEvent
7294         * ThreadExceptionDialog.cs: Enabled TextBox code
7295
7296 2005-01-18  Peter Bartok  <pbartok@novell.com>
7297
7298         * Form.cs: Removed debug output
7299         * Button.cs: Added support for DoubleClick method
7300
7301 2005-01-18  Peter Bartok  <pbartok@novell.com>
7302
7303         * Form.cs:
7304           - Added method to parent window that allows triggering size
7305             calculations when a menu is added/removed
7306           - set_Menu: Cleaned up mess from early days of Form and Control,
7307             now properly triggers a recalc when a menu is added/removed
7308           - Added case to select form itself as focused form if no child
7309             controls exist
7310           - Added PerformLayout call when showing dialog, to ensure properly
7311             placed controls
7312         * Control.cs:
7313           - Select(): Made internal so Form can access it
7314           - Focus(): Only call Xplat layer if required (avoids loop), and sets
7315             status
7316         * Application.cs (Run): Removed hack and calls PerformLayout instead
7317           to trigger calculation when Form becomes visible
7318
7319 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
7320
7321         * ComboBox.cs: fixes for ownerdraw
7322
7323 2005-01-18  Peter Bartok  <pbartok@novell.com>
7324
7325         * TextControl.cs:
7326           - Sentinel is no longer static, each Document gets it's own, this
7327             avoids locking or alternatively overwrite problems when more
7328             than one text control is used simultaneously.
7329           - Switched to use Hilight and HilightText brushes for text selection
7330
7331         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7332
7333 2005-01-18  Peter Bartok  <pbartok@novell.com>
7334
7335         * Control.cs:
7336           - Hooked up the following events:
7337                 o ControlAdded
7338                 o ControlRemoved
7339                 o HandleDestroyed
7340                 o ImeModeChanged
7341                 o ParentChanged
7342                 o TabStopChanged
7343                 o Invalidated
7344                 o SystemColorsChanged
7345                 o ParentFontChanged
7346                 o Move
7347           - Removed debug output
7348           - Added a call to the current theme's ResetDefaults when a color change
7349             is detected
7350         * Form.cs: Now setting the proper ImeMode
7351         * Theme.cs: Defined a method to force recreation of cached resources
7352           and rereading of system defaults (ResetDefaults())
7353         * ThemeWin32Classic.cs: Added ResetDefaults() stub
7354
7355 2005-01-17  Peter Bartok  <pbartok@novell.com>
7356
7357         * Control.cs: Added missing attributes
7358
7359 2005-01-17  Jackson Harper  <jackson@ximian.com>
7360
7361         * TreeNode.cs: Implement editing. Add missing properties selected
7362         and visible.
7363         * TreeView.cs: Implement node editing. Also some fixes to use
7364         Invalidate (invalid area) instead of Refresh when selecting.
7365
7366 2005-01-17  Peter Bartok  <pbartok@novell.com>
7367
7368         * Control.cs:
7369           - Implemented InvokeGotFocus() method
7370           - Implemented InvokeLostFocus() method
7371           - Implemented InvokePaint() method
7372           - Implemented InvokePaintBackground() method
7373           - Implemented InvokeClick() method
7374           - Implemented FindForm() method
7375           - Implemented RectangleToClient() method
7376           - Implemented ClientToRectangle() method
7377           - Implemented ResetBackColor() method
7378           - Implemented ResetCursor() method
7379           - Implemented ResetFont() method
7380           - Implemented ResteForeColor() method
7381           - Implemented ResetImeMode() method
7382           - Implemented ResetLeftToRight() method
7383           - Implemented ResetText() method
7384           - Implemented Scale() methods
7385           - Implemented ScaleCore() method
7386           - Implemented Update() method
7387           - Removed unused variables
7388           - Stubbed AccessibilityNotifyClients and
7389             ControlAccessibleObject.NotifyClients() methods (dunno what to do
7390             with those yet)
7391           - Now setting proper default for RightToLeft property
7392           - Fixed bug in SetClientSizeCore that would cause windows to get
7393             really big
7394           - Now sending Click/DoubleClick events
7395           - Now selecting controls when left mouse button is clicked on
7396             selectable control
7397         * AccessibleEvents.cs: Added
7398         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
7399         * XplatUIOSX.cs: Stubbed UpdateWindow() method
7400         * XplatUIWin32.cs: Implemented UpdateWindow() method
7401         * XplatUIX11.cs: Implemented UpdateWindow() method
7402         * Form.cs: Removed stray semicolon causing CS0162 warning
7403         * ThemeWin32Classic.cs: Fixed unused variable warnings
7404         * ScrollableControl.cs: Now calls base method for ScaleCore
7405         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
7406           style to avoid interference with internal click handler (which is
7407           different than standard Control click handling)
7408         * RadioButton.cs:
7409           - Now unchecks all sibling radio buttons when control is
7410             selected (Fixes #68756)
7411           - Removed internal tabstop variable, using the one inherited from
7412             Control
7413
7414 2005-01-17  Jackson Harper  <jackson@ximian.com>
7415
7416         * NavigateEventArgs.cs: Fix base type.
7417         * LinkLabel.cs: Sig fix
7418         
7419 2005-01-17  Jackson Harper  <jackson@ximian.com>
7420
7421         * TreeView.cs: Only invalidate the effected nodes bounds when
7422         selecting nodes.
7423
7424 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
7425
7426         * XplatUIWin32.cs: fixes Win32 marshaling
7427         * XplatUIX11.cs: fixes method signature
7428
7429 2005-01-17  Peter Bartok  <pbartok@novell.com>
7430
7431         * XplatUIX11.cs: Clean up resources when we no longer need them
7432
7433 2005-01-17  Peter Bartok  <pbartok@novell.com>
7434
7435         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
7436           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
7437           and DestroyCursor() methods.
7438         * Cursor.cs: Partially implemented, now supports standard cursors;
7439           still contains some debug code
7440         * Cursors.cs: Implemented class
7441         * Control.cs:
7442           - WndProc(): Added handling of WM_SETCURSOR message, setting the
7443             appropriate cursor
7444           - Implemented Cursor property
7445           - Replaced break; with return; more straightforwar and possibly
7446             faster
7447           - Now properly setting the result for WM_HELP
7448         * X11Structs.cs: Added CursorFontShape enum
7449         * XplatUIStructs.cs:
7450           - Added StdCursor enum (to support DefineStdCursor() method)
7451           - Added HitTest enum (to support sending WM_SETCURSOR message)
7452         * XplatUIX11.cs:
7453           - Now sends the WM_SETCURSOR message
7454           - Implemented new cursor methods
7455         * XplatUIOSX.cs: Stubbed new cursor methods
7456         * XplatUIWin32.cs:
7457           - Implemented new cursor methods
7458           - Added GetSystemMetrics function and associated enumeration
7459
7460 2005-01-15  Peter Bartok  <pbartok@novell.com>
7461
7462         * Control.cs:
7463           - WndProc(): Now handles EnableNotifyMessage
7464           - SelectNextControl(): Fixed bug where if no child or sibling
7465             controls exist we looped endlessly
7466
7467 2005-01-14  Jackson Harper  <jackson@ximian.com>
7468
7469         * TreeView.cs: Recalculate the tab pages when a new one is added
7470         so that the proper bounding rects are created.
7471
7472 2005-01-14  Jackson Harper  <jackson@ximian.com>
7473
7474         * TreeView.cs: Draw a gray box instead of a grip in the lower
7475         right hand corner when there are both horizontal and vertical
7476         scroll bars.
7477
7478 2005-01-14  Jackson Harper  <jackson@ximian.com>
7479
7480         * Control.cs: When erasing backgrounds use FromHwnd instead of
7481         FromHdc when there is a NULL wparam. This occurs on the X driver.
7482         * XplatUIX11.cs: Set the wparam to NULL.
7483
7484 2005-01-13  Jackson Harper  <jackson@ximian.com>
7485
7486         * PictureBox.cs: Implement missing methods (except ToString, need
7487         to test that on windows) and events. When visibility is changed we
7488         need to redraw the image because the buffers are killed. When size
7489         is changed refresh if the sizemode needs it.
7490
7491 2005-01-13  Peter Bartok  <pbartok@novell.com>
7492
7493         * Control.cs (SelectNextControl): Was using wrong method to select
7494           a control
7495
7496 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
7497
7498         * ComboBox.cs: fixes dropstyle
7499
7500 2005-01-13  Peter Bartok  <pbartok@novell.com>
7501
7502         * Form.cs:
7503           - Implemented Select() override
7504           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
7505           - Now sets keyboard focus on startup
7506         * Control.cs (SelectNextControl): Now properly handles directed=true
7507         * TextBoxBase.cs:
7508           - WndProc: Now passes tab key on to base if AcceptTabChar=false
7509           - Added (really bad) focus rectangle (mostly for testing)
7510         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
7511           to enforce redraw on focus changes
7512         * ContainerControl.cs:
7513           - Fixed detection of Shift-Tab key presses
7514           - Fixed traversal with arrow keys
7515         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
7516           gonna keep this or if it's complete yet
7517         
7518 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
7519
7520         * ComboBox.cs: missing properties, fixes
7521
7522 2005-01-13  Peter Bartok  <pbartok@novell.com>
7523
7524         * Panel.cs (ctor): Setting Selectable window style to off
7525         * Splitter.cs (ctor): Setting Selectable window style to off
7526         * GroupBox.cs (ctor): Setting Selectable window style to off
7527         * Label.cs (ctor): Setting Selectable window style to off
7528
7529 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
7530
7531         * UpDownBase.cs (InitTimer): If the timer has been already
7532         created, enable it.
7533
7534         Use a TextBox instead of a Label.
7535
7536 2005-01-12  Jackson Harper  <jackson@ximian.com>
7537
7538         * TreeView.cs: Refresh the tree after sorting the nodes. Always
7539         draw the connecting node lines (when ShowLines is true).
7540         * TreeNode.cs: The nodes index can now be updated. This is used
7541         when a node collection is sorted.
7542         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
7543         insert or an existing unsorted node collection can be sorted.
7544         
7545 2005-01-12  Peter Bartok  <pbartok@novell.com>
7546
7547         * ContainerControl.cs: Implemented ProcessDialogKeys()
7548
7549 2005-01-12  Peter Bartok  <pbartok@novell.com>
7550
7551         * Control.cs:
7552           - Implemented SelectNextControl() method
7553           - Several focus related bug fixes
7554           - Fixed Docking calculations to match MS documentation and
7555             behaviour
7556
7557 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
7558
7559         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
7560         bug fixes
7561
7562 2005-01-12  Peter Bartok  <pbartok@novell.com>
7563
7564         * Control.cs:
7565           - Fixed broken Contains() method
7566           - Implemented GetNextControl() method. Finally. This is the pre-
7567             requisite for focus handling.
7568
7569 2005-01-12  Peter Bartok  <pbartok@novell.com>
7570
7571         * OSXStrucs.cs: Added
7572
7573 2005-01-12  Peter Bartok  <pbartok@novell.com>
7574
7575         * XplatUIWin32.cs:
7576           - Removed PeekMessageFlags
7577           - Implemented SetWindowStyle() method
7578         * XplatUIStructs.cs: Added PeekMessageFlags
7579         * X11Structs: Added missing border_width field to XWindowChanges struct
7580         * XplatUIX11.cs:
7581           - PeekMessage: Now throws exception if flags which are not yet
7582             supported are passed
7583           - Implemented SetWindowStyle() method
7584           - Fixed SetZOrder to handle AfterHwnd properly
7585         * XplatUI.cs: Added SetWindowStyle() method
7586         * XplatUIDriver.cs: Added SetWindowStyle() abstract
7587         * Control.cs:
7588           - Implemented UpdateStyles() method
7589           - Implemented UpdateZOrder() method
7590         * XplatUIOSX.cs: Added SetWindowStyle() stub
7591
7592 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
7593
7594         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
7595         button mouse).
7596
7597
7598 2005-01-11  Jackson Harper  <jackson@ximian.com>
7599
7600         * TreeView.cs: Still need to draw lines to siblings even if out of
7601         the current node is out of the clip.
7602
7603 2005-01-11  Jackson Harper  <jackson@ximian.com>
7604
7605         * TreeView.cs: When setting the hbar/vbar/grip position use
7606         SetBounds so that perform layout is only called once. Also suspend
7607         and resume layout so layout is only done once for all controls.
7608         - Removed some debug fluff
7609         * SizeGrip.cs: Call base implmentation in overriding methods.
7610         - When visibility is changed the drawing buffers are killed so we
7611         need to redraw.
7612
7613 2005-01-11  Jackson Harper  <jackson@ximian.com>
7614
7615         * TreeView.cs: Calculate the open node count while drawing. This
7616         saves us an entire tree traversal for every paint operation. Use
7617         a member var for the open node count so less vars are passed around.
7618
7619 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
7620
7621         * MonthCalendar.cs:
7622         - fixed selection to use mousemove, not mouse polling on timer
7623         * ThemeWin32Classic.cs
7624         - removed redundant unused variable "no_more_content"
7625         
7626 2005-01-11  Peter Bartok  <pbartok@novell.com>
7627
7628         * XplatUIX11.cs (DoEvents): Needs to return when no more events
7629           are pending, so it now calls PeekMessage instead of GetMessage;
7630           implemented a incomplete version of PeekMessage
7631         
7632 2005-01-11  Peter Bartok  <pbartok@novell.com>
7633
7634         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
7635           I18n issues
7636         * TextBoxBase.cs: Added sending of TextChanged event
7637
7638 2005-01-10  Jackson Harper  <jackson@ximian.com>
7639
7640         * TreeView.cs: Try not to draw outside the clipping rectangle on
7641         each node element.
7642
7643 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
7644
7645         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
7646
7647 2005-01-10  Jackson Harper  <jackson@ximian.com>
7648
7649         * TreeView.cs:
7650         - Implement fast scrolling. Now only the newly
7651         exposed nodes are drawn and the old image is moved using the
7652         XplatUI::ScrollWindow method.
7653         - Factor in height of nodes when calculating whether or not the
7654         node is in the clipping rect.
7655
7656 2005-01-10  Jackson Harper  <jackson@ximian.com>
7657
7658         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
7659
7660 2005-01-10  Peter Bartok  <pbartok@novell.com>
7661
7662         * Application.cs: Added temporary hack to resolve all our resize
7663           required issues on startup. This will get fixed properly at
7664           some point in the future
7665
7666 2005-01-10  Jackson Harper  <jackson@ximian.com>
7667
7668         * SizeGrip.cs: New internal class that is used as a sizing
7669         grip control...hence the name.
7670
7671 2005-01-10  Peter Bartok  <pbartok@novell.com>
7672
7673         * Control.cs: Implemented proper TabIndex handling, now assigning
7674           a tabindex when a control is added to a container
7675         * GroupBox.cs (ctor): Now sets the Container style bit, required
7676           for Control.GetNextControl()
7677
7678 2005-01-09  Jackson Harper  <jackson@ximian.com>
7679
7680         * TextBoxBase.cs: Clear window when scrolling (fixes build).
7681
7682 2005-01-09  Peter Bartok <pbartok@novell.com>
7683
7684         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7685           XplatUIX11.cs: Added ability to control ScrollWindow expose and
7686           an overload for ScrollWindow to allow only scrolling a rectangle
7687
7688 2005-01-09  Peter Bartok <pbartok@novell.com>
7689
7690         * Form.cs:
7691           - Implemented SetDesktopBounds method
7692           - Implemented SetDesktopLocation method
7693
7694 2005-01-08  Jackson Harper  <jackson@ximian.com>
7695
7696         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
7697         the node count has changed, this removes to VScroll::Refresh calls
7698         when drawing.
7699
7700 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
7701
7702         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
7703
7704 2005-01-07  Jackson Harper  <jackson@ximian.com>
7705
7706         * TreeNode.cs: Just update the single node when it is
7707         checked. Don't refresh after toggling, the Expand/Collapse already
7708         handles this.
7709         * TreeView.cs: Respect clipping a little more when drawing. Try
7710         not to redraw things that don't need to be redrawn. Just hide the
7711         scrollbars when they are no longer needed instead of removing
7712         them, so they don't have to be created again and again.
7713         
7714 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
7715
7716         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
7717         coordinates to window space to place the caret properly, FIXED.
7718         Implement GetWindowState & SetWindowState
7719
7720 2005-01-06  Peter Bartok <pbartok@novell.com>
7721
7722         * Form.cs:
7723           - Implemented ClientSize property
7724           - Implemented DesktopBounds property
7725           - Implemented DesktopLocation property
7726           - Implemented IsRestrictedWindow property
7727           - Implemented Size property
7728           - Implemented TopLevel property
7729           - Implemented FormWindowState property
7730         * Control.cs:
7731           - Implemented GetTopLevel() method
7732           - Implemented SetTopLevel() method
7733         * X11Structs.cs (Atom):
7734           - Added AnyPropertyType definition
7735           - Added MapState definiton and updated XWindowAttribute struct
7736         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
7737         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
7738         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
7739         * XplatUIWin32.cs:
7740           - Implemented GetWindowState() and SetWindowState() methods
7741           - Fixed Win32GetWindowLong return type
7742         * XplatUIX11.cs:
7743           - Introduced central function for sending NET_WM messages
7744           - Implemented GetWindowState() and SetWindowState() methods
7745         * TextBoxBase.cs (set_Lines):
7746           - Now uses Foreground color for text added via Text property (Duh!)
7747           - Added code to remember programmatically requested size (fixes
7748             behaviour when Multiline is set after Size)
7749           - Added AutoSize logic
7750
7751 2005-01-06  Jackson Harper  <jackson@ximian.com>
7752
7753         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
7754
7755 2005-01-06  Jackson Harper  <jackson@ximian.com>
7756
7757         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
7758         set to less then 0.
7759
7760 2005-01-06  Jackson Harper  <jackson@ximian.com>
7761
7762         * ScrollableControl.cs: Lazy init the scrollbars.
7763         
7764 2005-01-06  Jackson Harper  <jackson@ximian.com>
7765
7766         * Theme.cs: Speed up getting pens and solid brushes, by using
7767         their ARGB as a hash instead of tostring and not calling Contains.
7768
7769 2005-01-06  Peter Bartok <pbartok@novell.com>
7770
7771         * Form.cs:
7772           - Implemented OnActivated and OnDeactivate event trigger
7773           - Implemented Activate() method
7774           - Fixed ShowDialog() to activate the form that was active before
7775             the dialog was shown
7776         * XplatUIX11.cs:
7777           - Added global active_window var that tracks the currently active
7778             X11 window
7779           - Now always grabs Property changes from the root window to always
7780             catch changes on the active window property
7781           - Added code to PropertyNotify handler to send Active/Inactive
7782             messages when state changes. This puts X11 and Win32 en par on
7783             WM_ACTIVATE notifications (except for double notifications when
7784             the user clicks away from our modal window to another one of our
7785             windows)
7786
7787 2005-01-05  Jackson Harper  <jackson@ximian.com>
7788
7789         * ImageList.cs: Implment ctor
7790
7791 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
7792
7793         * XplatUIOSX.cs: Implement Activate/SetTopmost
7794
7795 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
7796
7797         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
7798
7799 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
7800
7801         * XplatUIOSX.cs: Implement GetActive/SetFocus.
7802
7803 2005-01-05  Peter Bartok <pbartok@novell.com>
7804
7805         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
7806           XplatUIOSX.cs: Added GetActive method to return the currently
7807           active window for the application (or null, if none is active)
7808         * Form.cs:
7809           - Implemented ActiveForm
7810           - Commented out owner assignment for modal dialogs (causes problems
7811             on Win32, since the owner will be disabled)
7812           - Reworked some Active/Focus handling (still incomplete)
7813         * CommonDialog.cs: Commented out owner assignment for modal dialogs
7814           (causes problems on Win32, since the owner will be disabled)
7815         * IWin32Window: Added ComVisible attribute
7816
7817 2005-01-05  Peter Bartok <pbartok@novell.com>
7818
7819         * ToolTip.cs (WndProc): Enable setting focus now that we have the
7820           required XplatUI functions.
7821
7822 2005-01-05  Peter Bartok <pbartok@novell.com>
7823
7824         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
7825           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
7826           to implement focus and activation handling; still incomplete and
7827           with debug output
7828
7829 2005-01-04  Peter Bartok <pbartok@novell.com>
7830
7831         * TextBoxBase.cs: Changed access level for Document property to
7832           match switch to internal for TextControl
7833
7834 2005-01-04  Peter Bartok <pbartok@novell.com>
7835
7836         * AccessibleObject: Added ComVisible attribute
7837
7838 2005-01-04  Jackson Harper  <jackson@ximian.com>
7839
7840         * X11Keyboard.cs: Remove unneeded var.
7841
7842 2005-01-04  Jackson Harper  <jackson@ximian.com>
7843
7844         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
7845         but PAINT.
7846         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
7847         ClientMessage. This makes apps exit cleanly (more often).
7848         
7849 2005-01-04  Jackson Harper  <jackson@ximian.com>
7850
7851         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
7852         handling focus, return correct colors and fonts,
7853         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
7854         handle selection, horizontal scrolling, and mouse interaction.
7855
7856 2005-01-04  Peter Bartok <pbartok@novell.com>
7857
7858         * ICommandExecutor.cs: Added
7859         * IDataGridColumnStyleEditingNotificationService.cs: Added
7860         * IFeatureSupport.cs: Added
7861         * IFileReaderService.cs: Added
7862         * IDataObject.cs: Added ComVisible attribute
7863         * AmbientProperties.cs: Added
7864         * BaseCollection.cs: Added missing attributes
7865         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
7866         * BaseCollection.cs: Added missing attributes
7867         * Binding.cs: Added TypeConverter attribute
7868         * BindingContext.cs: Added DefaultEvent attribute
7869         * BindingsCollection.cs: Added DefaultEvent attribute
7870         * Button.cs: Added DefaultValue attribute
7871         * DragEventArgs.cs: Added ComVisible attribute
7872         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
7873         * KeyEventArgs.cs: Added ComVisible attribute
7874         * KeyPressEventArgs.cs: Added ComVisible attribute
7875         * MouseEventArgs.cs: Added ComVisible attribute
7876         * NavigateEventArgs.cs: Added
7877         * NavigateEventHandler.cs: Added
7878         * FeatureSupport.cs: Added
7879         * OSFeature.cs: Added
7880         * Theme.cs: Added abstract Version property to support OSFeature
7881         * ThemeWin32Classic.cs: Added Version property to
7882           support OSFeature.Themes
7883         * ProgressBar.cs: Removed OnPaintBackground override, not required since
7884           the proper styles to avoid background drawing are set, also doesn't
7885           match MS signature
7886         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
7887         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
7888         * ScrollEventArgs.cs: Added ComVisible attribute
7889         * SplitterEventArgs.cs: Added ComVisible attribute
7890         * AccessibleSelection.cs: Added Flags attribute
7891         * Appearance.cs: Added ComVisible attribute
7892         * Border3DSide.cs: Added ComVisible attribute
7893         * Border3DStyle.cs: Added ComVisible attribute
7894         * BorderStyle.cs: Added ComVisible attribute
7895         * DragAction.cs: Added ComVisible attribute
7896         * ErrorBlinkStyle.cs: Added
7897         * ScrollEventType.cs: Added ComVisible attribute
7898         * AnchorStyles.cs: Added Editor attribute
7899         * DockStyle.cs: Added Editor attribute
7900         * HorizontalAlignment.cs: Added ComVisible attribute
7901         * HelpEventArgs.cs: Added ComVisible attribute
7902         * PaintEventArgs.cs: Added IDisposable
7903
7904 2005-01-04  Peter Bartok <pbartok@novell.com>
7905
7906         * TextControl.cs: Switched Line, LineTag and Document classes to
7907           internal
7908
7909 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
7910
7911         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
7912         Simple mode, fixes, IntegralHeight, etc.
7913
7914 2005-01-04  Peter Bartok <pbartok@novell.com>
7915
7916         * TextBoxBase.cs: Using proper font variable now
7917
7918 2005-01-04  Peter Bartok <pbartok@novell.com>
7919
7920         * Form.cs (ShowDialog): Set parent to owner, if provided
7921         * GroupBox.cs: Removed unused vars
7922         * TextControl.cs:
7923           - Added GetHashCode() for Document and LineTag classes
7924           - Removed unused variables
7925           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
7926             to allow translation between continuous char position and line/pos
7927         * CheckBox.cs: Removed vars that are provided by base class
7928         * RadioButton.cs: Removed vars that are provided by base class, added
7929           new keyword where required
7930         * LinkLabel.cs: Added new keyword where required
7931         * Control.cs (WndProc): Removed unused variable
7932         * TextBoxBase.cs:
7933           - Finished SelectionLength property
7934           - Implemented SelectionStart property
7935           - Implemented Text property
7936           - Removed unused vars
7937         * MessageBox.cs: Added new keyword where required
7938         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
7939           WndProc signature
7940         * MenuAPI.cs: Added new keyword where required
7941         * ButtonBase.cs: Removed vars that are provided by base class, added
7942           new keyword where required
7943         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
7944           argument to double, to allow compiling with csc 2.0 (Atsushi ran
7945           into this)
7946         * Application.cs (Run): Now triggers the ThreadExit event
7947         * CommonDialog.cs: Added new keyword where required; now properly sets
7948           parent (owner) for dialog
7949         * XplatUIX11.cs: Commented out unused vars
7950         * StatusBar.cs: Fixed signature for Text property
7951         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
7952
7953 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
7954
7955         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
7956         TrackBar.cs, MonthCalendar.cs: remove unused vars
7957
7958 2005-01-03  Jackson Harper  <jackson@ximian.com>
7959
7960         * ThemeWin32Classic.cs:
7961         * X11Keyboard.cs: Remove unused vars.
7962
7963 2005-01-03  Peter Bartok  <pbartok@novell.com>
7964
7965         * TextBox.cs:
7966           - set_Text: Tied into TextControl
7967           - set_TextAlignment: Tied into TextControl
7968         * TextControl.cs:
7969           - Added alignment properties and implemented alignment handling
7970             and drawing (still has a bug, not generating proper expose events)
7971           - Added new Line() constructor to allow passing the line alignment
7972           - Fixed selection setting, properly handling end<start now
7973           - Added aligment considerations to RecalculateDocument()
7974         * TextBoxBase.cs:
7975           - Now properly enforces control height for single line controls
7976           - Added support for CharacterCasing
7977           - Added IsInputKey override
7978           - Fixed Keys.Enter logic
7979           - Added SetBoundsCore override
7980           - Fixed mouse selection handling
7981
7982 2005-01-03  Jackson Harper  <jackson@ximian.com>
7983
7984         * TreeView.cs:
7985           - Collapse and uncheck all nodes when CheckBoxes is disabled.
7986           - Checkboxes are always aligned to the bottom of the node,
7987           regardless of item height.
7988           - Use the node bounds to draw the text so we can center it when
7989           the item height is greater then the font height.
7990           - Node::Bounds are only the text part of the node.
7991         * TreeNode.cs: New method to combine collapsing and unchecking all
7992           nodes recursively.
7993
7994 2005-01-02  Jackson Harper  <jackson@ximian.com>
7995
7996         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
7997         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
7998         tree when a check is changed. TODO: Only refresh the checked node.
7999
8000 2004-12-30  Jackson Harper  <jackson@ximian.com>
8001
8002         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8003         * TreeNode.cs: When collapsing make sure to never collapse the
8004         root node.
8005
8006 2004-12-29  Jackson Harper  <jackson@ximian.com>
8007
8008         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8009         
8010 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
8011
8012         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8013
8014 2004-12-28  Peter Bartok  <pbartok@novell.com>
8015
8016         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8017           not yet assigned
8018
8019 2004-12-28  Peter Bartok  <pbartok@novell.com>
8020
8021         * Control.cs (WndProc): Added WM_HELP handler, now generates
8022           HelpRequested event
8023         * Form.cs: Added HelpButton property and required support code
8024         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8025
8026 2004-12-28  Peter Bartok  <pbartok@novell.com>
8027
8028         * CommonDialog.cs:
8029           - Made DialogForm.owner variable internal
8030           - Added check to ensure owner form is set before setting
8031             owner properties in CreateParams
8032
8033 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
8034
8035         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
8036           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
8037           GetCursorPos.  Fix major visibility issues.  Rework the windowing
8038           system to support borderless/titleless windows (implements menus).
8039           Fix GetWindowPos.  Implement initial background color support for
8040           views.
8041
8042 2004-12-28  Peter Bartok  <pbartok@novell.com>
8043
8044         * Form.cs (get_CreateParams): Make sure we have an owner before using
8045           the owner variable. Implement proper default if no owner exists
8046
8047 2004-12-28  Peter Bartok  <pbartok@novell.com>
8048
8049         * In preparation for making Managed.Windows.Forms the default build target
8050           for System.Windows.Forms, the following stubbed files were added.
8051           Dialogs are currently being implemented by contributors and are only
8052           short-term place holders.
8053         * ColorDialog.cs: Initial check-in (minmal stub)
8054         * DataGrid.cs: Initial check-in (minimal stub)
8055         * DataGridLineStyle.cs: Initial check-in (minimal stub)
8056         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8057         * DataGridTableStyle.cs: Initial check-in (minimal stub)
8058         * FontDialog.cs: Initial check-in (minimal stub)
8059         * FileDialog.cs: Initial check-in (minimal stub)
8060         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8061         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8062         * OpenFileDialog: Initial check-in (minimal stub)
8063         * IComponentEditorPageSite.cs: Initial check-in
8064         * Splitter.cs: Initial check-in (for Jackson)
8065         * SplitterEventArgs.cs: Initial check-in (for Jackson)
8066         * SplitterEventHandler.cs: Initial check-in (for Jackson)
8067         * TextBox.cs: Initial check-in; still needs some wiring to
8068           TextControl backend
8069         * Form.cs: Implemented ControlBox property
8070         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8071         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8072         * TextControl.cs: Added selection functionality; added todo header
8073         * TextBoxBase.cs:
8074           - Implemented Lines property
8075           - Implemented TextHeight property
8076           - Implemented SelectedText property
8077           - Implemented SelectionLength property
8078           - Implemented SelectAll method
8079           - Implemented ToString method
8080           - Removed and cleaned up some debug code
8081           - Implemented (still buggy) mouse text selection
8082
8083 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
8084
8085         * ComboBox.cs: Complete DropDownList implementation, fixes.
8086
8087 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
8088
8089         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8090         * ComboBoxStyle.cs: ComboBoxStyle enum
8091         * ComboBox.cs: Initial work on ComboBox control
8092
8093 2004-12-21  Peter Bartok  <pbartok@novell.com>
8094
8095         * Control.cs (ctor, CreateParams): Moved setting of is_visible
8096           forward so that anything that creates a window gets the default,
8097           also no longer uses Visible property in CreateParams to avoid
8098           walking up the parent chain and possibly get the wrong visible
8099           status. Fixed IsVisible to no longer walk up to the parent.
8100
8101 2004-12-21  Peter Bartok  <pbartok@novell.com>
8102
8103         * Form.cs (ShowDialog): Unset modality for the proper window
8104  
8105 2004-12-20  Peter Bartok  <pbartok@novell.com>
8106
8107         * CommonDialog.cs: Initial check-in
8108
8109 2004-12-20  Peter Bartok  <pbartok@novell.com>
8110
8111         * Control.cs (Visible): Now uses the parent window instead of the
8112           client area window for the property
8113
8114         * Form.cs
8115           - ShowDialog(): Now uses the proper window for modality
8116           - The default visibility state for the form parent is now false. This
8117             will prevent the user from seeing all the changes to the form and
8118             its controls before the application hits Application.Run()
8119           - Removed some stale commented out code
8120
8121         * NativeWindow.cs:
8122           - Added FindWindow() method to have a method to check for existence
8123             of a window handle
8124           - Added ability to override default exception handling (for example
8125             when debugging with VS.Net; to do this the ExternalExceptionHandler
8126             define must be set
8127           - Removed some useless debug output
8128
8129         * XplatUIX11.cs:
8130           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
8131             not working as expected
8132           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
8133             property to allow switching back to the modal window if focus is
8134             given to another one of our windows (Application Modal)
8135           - Now only sets override_redirect if we create a window
8136             without WS_CAPTION
8137           - Moved EventMask selection before mapping of newly created window
8138             so we can catch the map event as well
8139           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
8140           - Added various Atom related DllImports
8141           - Implemented Exit() method
8142           - .ctor() : No longer shows window if WS_VISIBLE is not defined
8143             in the CreateParams
8144
8145         * MessageBox.cs: Now properly deals with the FormParent window by
8146           providing an override the FormParent CreateParams property to
8147           set as POPUP instead of OVERLAPPED window.
8148
8149 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
8150
8151         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
8152         Minor code cleanup.
8153
8154 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
8155         
8156         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
8157
8158 2004-12-18  Peter Bartok  <pbartok@novell.com>
8159
8160         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
8161           implementing SetModal() method
8162
8163 2004-12-18  Peter Bartok  <pbartok@novell.com>
8164
8165         * X11Structs.cs (XGCValues): Fixed type of function element
8166         * XplatUI.cs: Added ScrollWindow() method
8167         * XplatUIDriver.cs: Added ScrollWindow() abstract
8168         * XplatUIWin32.cs: Implemented ScrollWindow() method
8169         * XplatUIX11.cs: Implemented ScrollWindow() method
8170         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
8171
8172 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8173
8174         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
8175         Some more keyboard support (INCOMPLETE)
8176
8177 2004-12-17  Peter Bartok  <pbartok@novell.com>
8178
8179         * TextControl.cs:
8180         - Added color attribute to line tags.
8181         - Added color argument to all functions dealing with tags
8182         - Added color argument support to various functions
8183         - Fixed miss-calculation of baseline/shift in certain circumstances
8184
8185         * TextBoxBase.cs: Added new color option to test code
8186
8187 2004-12-17  Jackson Harper  <jackson@ximian.com>
8188
8189         * TreeNode.cs:
8190         * MonthCalendar.cs: Signature fixes
8191
8192 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8193
8194         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
8195         keyboard event moved it.  Create a new graphics context for each paint resolves this
8196
8197 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
8198
8199         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
8200         Make caret exist and go blink blink.  Initial keyboard support.
8201         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
8202         works.
8203
8204 2004-12-17  Jackson Harper  <jackson@ximian.com>
8205
8206         * XplatUIStructs.cs: Updated set of virtual keycodes.
8207         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
8208
8209 2004-12-17  Jackson Harper  <jackson@ximian.com>
8210
8211         * XplatUIX11.cs: Prune old keyboard code.
8212
8213 2004-12-17  Jackson Harper  <jackson@ximian.com>
8214
8215         * XplatUIX11.cs: When generating mouse wparams get the modifier
8216         keys from the ModifierKeys property.
8217
8218 2004-12-17  Jackson Harper  <jackson@ximian.com>
8219
8220         * X11Keyboard.cs: Send up/down input when generating
8221         messages. Remove some unused vars.
8222
8223 2004-12-17  Jackson Harper  <jackson@ximian.com>
8224
8225         * TabControl.cs:
8226         * TreeView.cs: get rid of warnings.
8227
8228 2004-12-17  Jackson Harper  <jackson@ximian.com>
8229
8230         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8231
8232 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
8233
8234         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8235           CheckedListBox.cs: Implementation
8236
8237 2004-12-17  Peter Bartok  <pbartok@novell.com>
8238
8239         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8240
8241 2004-12-16  Peter Bartok  <pbartok@novell.com>
8242
8243         * TextControl.cs:
8244           - InsertCharAtCaret(): Fixed start pos fixup
8245           - CaretLine_get: No longer derives the line from the tag, the tag
8246             could be stale if lines in the document have been added or deleted
8247           - RebalanceAfterDelete(): Fixed bug in balancing code
8248           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8249           - Line.Streamline(): Now can also elminate leading empty tags
8250           - DumpTree(): Added a few more tests and prevented exception on
8251             uninitialized data
8252           - Added Debug section for Combining lines
8253           - Delete(): Now copies all remaining properties of a line
8254           
8255         * TextBoxBase.cs:
8256           - Left mousebutton now sets the caret (and middle button still acts
8257             as formatting tester, which must go away soon)
8258           - Added Debug section for Deleting/Combining lines
8259           - Fixed calculations for UpdateView after Combining lines
8260
8261 2004-12-16  Peter Bartok  <pbartok@novell.com>
8262
8263         * TextControl.cs: Now properly aligns text on a baseline, using the
8264           new XplatUI.GetFontMetrics() method. Simplified several calculations
8265         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8266           defined
8267
8268 2004-12-16  Peter Bartok  <pbartok@novell.com>
8269
8270         * XplatUI.cs: Added GetFontMetrics() method
8271         * XplatUIDriver.cs: Added GetFontMetrics() abstract
8272         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8273           into libgdiplus, our private GetFontMetrics function
8274         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8275         * XplatUIWin32.cs: Implemented GetFontMetrics() method
8276
8277 2004-12-16  Jackson Harper  <jackson@ximain.com>
8278
8279         * XplatUIStruct.cs: Add enum for dead keys
8280         * X11Keyboard.cs: Map and unmap dead keys.
8281
8282 2004-12-16  Jackson Harper  <jackson@ximian.com>
8283
8284         * X11Keyboard.cs: Detect and use the num lock mask.
8285
8286 2004-12-16  Peter Bartok  <pbartok@novell.com>
8287
8288         * Control.cs (CreateGraphics): Added check to make sure the
8289           handle of the window exists before calling Graphics.FromHwnd()
8290
8291 2004-12-16  Peter Bartok  <pbartok@novell.com>
8292
8293         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8294           contains a lot of code that's not supposed to be there for the
8295           real thing, but required for developing/testing the textbox
8296           backend.
8297
8298 2004-12-16  Peter Bartok  <pbartok@novell.com>
8299
8300         * TextControl.cs:
8301         - Fixed Streamline method
8302         - Added FindTag method to Line
8303         - Added DumpTree method for debugging
8304         - Added DecrementLines() method for deleting lines
8305         - Fixed UpdateView to update the cursor to end-of-line on single-line
8306           updates
8307         - Added PositionCaret() method
8308         - Fixed MoveCaret(LineDown) to move into the last line, too
8309         - Added InsertChar overload
8310         - Fixed InsertChar tag offset calculations
8311         - Added DeleteChar() method
8312         - Added Combine() method for folding lines
8313         - Fixed Delete() method, no longer allocates wasted Line object and
8314           now copies all properties when swapping nodes
8315         - Delete() method now updates document line counter
8316
8317 2004-12-15  Jackson Harper  <jackson@ximian.com>
8318
8319         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8320         * X11Keyboard.cs: Expose the currently selected modifier keys
8321         through a property.
8322
8323 2004-12-15  Peter Bartok  <pbartok@novell.com>
8324
8325         * TextControl.cs: Initial check-in. Still incomplete
8326
8327 2004-12-15  Jackson Harper  <jackson@ximian.com>
8328
8329         * TreeNode.cs:
8330         * TreeView.cs: Fix build on csc (second time today ;-))
8331
8332 2004-12-15  Jackson Harper  <jackson@ximian.com>
8333
8334         * TreeView.cs: Store the treenodes plus/minus box bounds when it
8335         is calculated and use this for click testing.
8336         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8337
8338 2004-12-15  Jackson Harper  <jackson@ximian.com>
8339
8340         * TreeView.cs: Pass the nodes image index to the image list when
8341         drawing that image.
8342
8343 2004-12-15  Jackson Harper  <jackson@ximian.com>
8344
8345         * X11Keyboard.cs: Set messages hwnd.
8346         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8347         post_message calls.
8348
8349 2004-12-15  Jackson Harper  <jackson@ximian.com>
8350
8351         * X11Keyboard.cs: Fix to compile with csc.
8352         
8353 2004-12-15  Jackson Harper  <jackson@ximian.com>
8354
8355         * X11Structs.cs: Add key mask values
8356         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8357         * X11Keyboard.cs: New file - Extrapolates and interpolates key
8358         down/up foo into WM_CHAR foo
8359         * KeyboardLayouts.cs: Common keyboard layouts
8360         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
8361         post messages into the main queue.
8362
8363 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
8364
8365         * Button.cs: implement ProcessMnemonic
8366         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
8367           brushes everytime
8368         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
8369         * ButtonBase.cs: Show HotkeyPrefix (not the &)
8370
8371 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
8372         
8373         * MonthCalendar.cs: Implemented click-hold for next/previous month
8374           and date selection
8375           
8376 2004-12-11  Peter Bartok  <pbartok@novell.com>
8377
8378         * X11Structs.cs:
8379           - Added XKeyboardState (moved from XplatUIX11.cs)
8380           - Added XCreateGC related enums and structures
8381           - Added GXFunction for XSetFunction
8382
8383         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
8384
8385         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
8386           CaretVisible() calls
8387
8388         * ToolTip.cs: Added code to prevent stealing focus from app windows
8389
8390         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
8391           DestroyCaret, SetCaretPos and CaretVisible)
8392
8393         * XplatUIX11.cs:
8394           - Added implementation for caret functions
8395           - Moved hover variables into a struct, to make it a bit easier
8396             on the eyes and to debug
8397           - Removed XKeyboardState (moved to XplatUIX11.cs)
8398           - Moved Keyboard properties into the properties region
8399
8400         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
8401           call to get a graphics context for our control
8402
8403         * XplatUIOSX.cs: Added empty overrides for the new caret functions
8404
8405         * TreeView.cs: Fixed bug. No matter what color was set it would always
8406           return SystemColors.Window
8407
8408         * XplatUIWin32.cs: Implemented caret overrides
8409
8410 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
8411
8412         * ListBox.cs: fire events, implement missing methods and properties,
8413         sorting.
8414
8415 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
8416
8417         * MonthCalendar.cs: invalidation bug fixing
8418         * ThemeWin32Classic.cs: paint fixing
8419
8420 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
8421
8422         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
8423         prepare the CGContextRef there now.
8424
8425 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
8426
8427         * MonthCalendar.cs:
8428           - optimisationL only invalidate areas that have changed
8429         * ThemeWin32Classic.cs:
8430           - only paint parts that intersect with clip_area
8431
8432 2004-12-09  Peter Bartok  <pbartok@novell.com>
8433
8434         * Application.cs: Undid changes from r37004 which cause problems
8435         on X11
8436
8437 2004-12-09  Ravindra  <rkumar@novell.com>
8438
8439         * ToolBar.cs: Added support for displaying ContextMenu
8440         attached to a button on ToolBar.
8441         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
8442         property.
8443
8444 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
8445
8446         * Label.cs: autosize works in text change and removes unnecessary
8447         invalidate
8448
8449 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
8450
8451         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8452         remove warnings
8453
8454 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
8455
8456         * XplatUIOSX.cs: Added mouse move/click/grab support
8457         Remove some debugging WriteLines not needed anymore.
8458         Add window resizing/positioning.
8459         Fix visibility on reparenting.
8460
8461 2004-12-08  Peter Bartok  <pbartok@novell.com>
8462
8463         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
8464
8465 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
8466
8467         * XplatUIOSX.cs: Initial checkin
8468         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
8469
8470 2004-12-03  Ravindra <rkumar@novell.com>
8471
8472         * ListView.cs: Added some keybindings and fixed scrolling.
8473         ScrollBars listen to ValueChanged event instead of Scroll
8474         Event. This would let us take care of all changes being
8475         done in the scrollbars' values programmatically or manually.
8476         * ListView.cs (CanMultiselect): Added a check for shift key.
8477         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
8478         * ListViewItem.cs (Clone): Fixed. We need to make a copy
8479         of ListViewSubItemCollection as well.
8480
8481 2004-12-06  Peter Bartok <pbartok@novell.com>
8482
8483         * Control.cs (Parent): Added check and exception to prevent
8484         circular parenting
8485
8486 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
8487
8488         * ListBox.cs: implemented clipping, selection single and multiple,
8489         bug fixing
8490
8491 2004-12-03  Ravindra <rkumar@novell.com>
8492
8493         * ListView.cs (ListView_KeyDown):
8494         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
8495         when CTRL key is pressed.
8496         * ListViewItem.cs (Selected): Fixed setting the property.
8497
8498 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
8499
8500         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
8501
8502         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
8503         MinimizeBox, ShowInTaskbar, TopMost properties.
8504
8505         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
8506         will be implemented).
8507
8508 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
8509
8510         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
8511
8512         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
8513         tests.
8514         
8515         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
8516         
8517         * TreeView.cs: BackColor is Colors.Window.
8518
8519 2004-12-01  Jackson Harper  <jackson@ximian.com>
8520
8521         * TreeView.cs: When resizing the tree if the user is making it
8522         smaller we don't get expose events, so we need to handle adding
8523         the horizontal scrollbar in the size changed handler as well as
8524         the expose handler.
8525
8526 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
8527
8528         * DrawItemState.cs: fixes wrong enum values
8529
8530 2004-12-01  Jackson Harper  <jackson@ximian.com>
8531
8532         * TreeView.cs: Resize the hbar as well as the vbar on resize.
8533
8534 2004-12-01  Jackson Harper  <jackson@ximian.com>
8535
8536         * NodeLabelEditEventArgs.cs:
8537         * NodeLabelEditEventHandler.cs:
8538         * OpenTreeNodeEnumerator.cs:
8539         * TreeNode.cs:
8540         * TreeNodeCollection.cs:
8541         * TreeView.cs:
8542         * TreeViewAction.cs:
8543         * TreeViewCancelEventArgs.cs:
8544         * TreeViewCancelEventHandler.cs:
8545         * TreeViewEventArgs.cs:
8546         * TreeViewEventHandler.cs: Initial implementation.
8547
8548 2004-12-01  Ravindra <rkumar@novell.com>
8549
8550         * ListView.cs (CalculateListView): Fixed scrolling related
8551         calculations. Also, removed some debug statements from other
8552         places.
8553         * ListViewItem.cs: Changed access to 'selected' instance variable
8554         from private to internal.
8555         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
8556
8557 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
8558
8559         * ThemeWin32Classic.cs: remove cache of brush and pens for
8560         specific controls and use the global system, fixes scrollbutton
8561         bugs (for small sizes, disabled, etc)
8562         
8563         * ScrollBar.cs: does not show the thumb for very small controls
8564         (as MS) and allow smaller buttons that the regular size
8565
8566 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
8567
8568         * UpDownBase.cs: Add abstract methods for the interface.
8569         Add new virtual methods (need to be hooked up to TextEntry when it
8570         exists).
8571         Add override methods for most features.
8572         Computes the size, forces the height of the text entry.
8573
8574         * NumericUpDown.cs: Put here the current testing code.
8575
8576         * Set eol-style property on all files that do not have mixed line
8577         endings, to minimize the future problems.  There are still a few
8578         files with mixed endings, and someone should choose whether they
8579         want to move it or not.
8580
8581 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
8582
8583         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
8584         System.Colors
8585         
8586 2004-11-30  Ravindra <rkumar@novell.com>
8587
8588         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
8589         drawing and replaced use of SystemColors by theme colors.
8590         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
8591         * ListView.cs (ListViewItemCollection.Add): Throw exception when
8592         same ListViewItem is being added more than once.
8593
8594 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
8595
8596         * MonthCalendar.cs:
8597           - ControlStyles love to make the control not flicker
8598           
8599 2004-11-30  Peter Bartok  <pbartok@novell.com>
8600
8601         * CharacterCasing.cs: Added
8602
8603 2004-11-29  Peter Bartok  <pbartok@novell.com>
8604
8605         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8606           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
8607           I am removing these files as they conflict with already completed
8608           work. While it is fantastic to get contributions to MWF, I
8609           respectfully ask that everyone please coordinate their contributions
8610           through mono-winforms-list or #mono-winforms at this time. We're
8611           explicitly avoiding stubbing and don't want controls that don't have
8612           their basic functionality implemented in svn. Please also see
8613           http://www.mono-project.com/contributing/winforms.html
8614
8615
8616 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
8617
8618         * Application.cs (ModalRun): Don't hang after exit.
8619
8620         * Theme.cs: New TreeViewDefaultSize property.
8621
8622         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
8623         with less hardcoded SystemColors constant.
8624         Implemented TreeViewDefaultSize.
8625
8626         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8627         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
8628
8629
8630 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
8631
8632         * MonthCalendar.cs:
8633           - Fix NextMonthDate and PrevMonthDate click moving calendar
8634
8635 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
8636
8637         * MonthCalendar.cs:
8638           - Fix usage of ScrollChange Property when scrolling months
8639
8640 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
8641
8642         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
8643          - Fixes menu destroying
8644          - Support adding and removing items on already created menus
8645
8646 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
8647
8648         * MonthCalendar.cs:
8649           - Re-worked all bolded dates handling to match win32
8650         * ThemeWin32Classic.cs:
8651           - Fixed rendering with bolded dates
8652
8653 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
8654
8655         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
8656         - Horizontal scroolbar
8657         - Multicolumn
8658         - Fixes
8659
8660
8661 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
8662
8663         * MonthCalendar.cs:
8664           - Fix Usage of MaxSelectionCount from SelectionRange
8665           - Fixed Shift + Cursor Selection
8666           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
8667           - Fixed normal cursor selection to be compat with win32
8668           - Fixed Shift + Mouse Click selection
8669
8670 2004-11-24  Peter Bartok <pbartok@novell.com>
8671
8672         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
8673         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
8674         * XplatUIX11.cs:
8675           - CreatedKeyBoardMsg now updates keystate with Alt key
8676           - Added workaround for timer crash to CheckTimers, Jackson will
8677             develop a proper fix and check in later
8678           - Implemented DispatchMessage
8679           - Removed calling the native window proc from GetMessage (call
8680             now moved to DispatchMessage)
8681
8682         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
8683           the keydata (Fixes bug #69831)
8684
8685         * XplatUIWin32.cs:
8686           - (DispatchMessage): Switched to return IntPtr
8687           - Added DllImport for SetFocus
8688
8689 2004-11-24  Ravindra <rkumar@novell.com>
8690
8691         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
8692         background drawing.
8693         * ListViewItem.cs: Fixed various properties, calculations
8694         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
8695         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
8696         and some internal properties. Fixed MouseDown handler and Paint
8697         method.
8698
8699 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
8700
8701         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
8702
8703 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
8704
8705         * ContainerControl.cs: correct accidental check in of local changes
8706
8707 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
8708
8709         * ThemeWin32Classic.cs:
8710                 - Fixed Drawing Last month in grid (sometimes not showing)
8711         * MonthCalendar.cs:
8712                 - Fixed title width calculation bug (makeing title small)
8713
8714 2004-11-23  Peter Bartok <pbartok@novell.com>
8715
8716         * XplatUIX11.cs:
8717           - Added generation of WM_MOUSEHOVER event
8718           - Added missing assignment of async_method atom
8719           - Fixed WM_ERASEBKGND; now only redraws the exposed area
8720
8721 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
8722
8723         * ThemeWin32Classic.cs:
8724                 - Fixed Drawing of today circle when showtodaycircle not set
8725                 - fixed drawing of first and last month in the grid (gay dates)
8726         * MonthCalendar.cs:
8727                 - Fixed Drawing of today circle
8728                 - Fixed drawing of grady dates
8729                 - Fixed HitTest for today link when ShowToday set to false
8730                 - Fixed DefaultSize to obey ShowToday
8731
8732 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
8733
8734         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
8735         * System.Windows.Forms/Theme.cs
8736         * MonthCalendar.cs: added for MonthCalendar
8737         * SelectionRange.cs: added for MonthCalendar
8738         * Day.cs: added for MonthCalendar: added for MonthCalendar
8739         * DateRangeEventArgs.cs: added for MonthCalendar
8740         * DateRangeEventHandler.cs: added for MonthCalendar
8741
8742 2004-11-22  Ravindra <rkumar@novell.com>
8743
8744         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
8745         property.
8746
8747 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
8748
8749         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
8750         event handler.
8751         
8752         * NumericUpDown.cs: Added new implementation.
8753         * UpDownBase.cs: Added new implementation.
8754
8755         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
8756         implementations.
8757         
8758         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
8759         implementations.
8760
8761         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
8762         methods.
8763
8764 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
8765
8766         * Timer.cs  (Dispose): Should call the base dispose when
8767         overriding.
8768
8769 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
8770
8771         * ScrollBar.cs: updates thumb position when max, min or increment
8772         is changed
8773
8774 2004-11-21  Ravindra <rkumar@novell.com>
8775
8776         * ListView.cs: Implemented item selection, activation and
8777         column header style. Fixed properties to do a redraw, if
8778         required. Added support for MouseHover, DoubleClick, KeyDown
8779         and KeyUp event handling and some minor fixes.
8780         * ListViewItem.cs: Fixed constructor.
8781         * ThemeWin32Classic.cs: Improved drawing for ListView.
8782
8783 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
8784
8785         * ThemeWin32Classic.cs: initial listbox drawing code
8786         * DrawMode.cs: new enumerator
8787         * ListControl.cs: stubbed class
8788         * ListBox.cs: initial implementation
8789         * Theme.cs: new methods definitions
8790         * SelectionMode.cs: new enumerator
8791
8792 2004-11-17  Peter Bartok  <pbartok@novell.com>
8793
8794         * XplatUIWin32.cs: Added double-click events to the class style
8795         * Control.cs (WndProc):
8796           - Added handling of click-count to MouseDown/ MouseUp events.
8797           - Added handling of middle and right mouse buttons
8798           - Removed old debug code
8799
8800 2004-11-17  Jackson Harper  <jackson@ximian.com>
8801
8802         * XplatUIX11.cs: Use the new Mono.Unix namespace.
8803
8804 2004-11-17  Ravindra <rkumar@novell.com>
8805
8806         * ListView.cs: Added event handling for MouseMove/Up/Down.
8807         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
8808         * ThemeWin32Classic.cs: We need to clear the graphics context and
8809         draw column header in a proper state.
8810
8811
8812 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
8813
8814         *  Menu.cs: fixes signature
8815
8816 2004-11-16  Peter Bartok  <pbartok@novell.com>
8817
8818         * XplatUIX11.cs (GetMessage): Implemented generation of
8819           double click mouse messages
8820
8821 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
8822
8823         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
8824         not by menu
8825
8826 2004-11-11  Peter Bartok  <pbartok@novell.com>
8827
8828         * HandleData.cs: Added Visible property
8829         * XplatUIX11.cs (IsVisible): Now uses Visible property from
8830           HandleData
8831         * XplatUIX11.cs: Removed old debug leftovers
8832         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
8833         * Control.cs (WndProc): Removed old debug leftovers,
8834           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
8835           needed WM_SIZE handling
8836
8837 2004-11-11  Jackson Harper  <jackson@ximian.com>
8838
8839         * OwnerDrawPropertyBag.cs:
8840         * TreeViewImageIndexConverter.cs: Initial implementation
8841
8842 2004-11-10  Jackson Harper  <jackson@ximian.com>
8843
8844         * ThemeWin32Classic.cs:
8845         * TabControl.cs: instead of moving tabs by the slider pos just
8846         start drawing at the tab that is offset by the slider. This way
8847         scrolling always moves by exactly one tab.
8848
8849 2004-11-10  Jackson Harper  <jackson@ximian.com>
8850
8851         * TabControl.cs: You can only scroll left when the slider has
8852         already ben moved right.
8853         
8854 2004-11-10  Jackson Harper  <jackson@ximian.com>
8855
8856         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
8857         the clip area.
8858         
8859 2004-11-10  Jackson Harper  <jackson@ximian.com>
8860
8861         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
8862         clip area.
8863         
8864 2004-11-09  Jackson Harper  <jackson@ximian.com>
8865
8866         * TabControl.cs (CalcXPos): New helper method so we can determine
8867         the proper place to start drawing vertical tabs.
8868         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
8869         
8870 2004-11-09  Jackson Harper  <jackson@ximian.com>
8871
8872         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
8873         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
8874         and Bottom, left and right are illegal values for this and
8875         multiline is enabled when the alignment is set to left or right.
8876         (DrawTab): Each alignment block should draw the text itself now
8877         because Left requires special love. Also add rendering for Left
8878         aligned tabs.
8879         
8880 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
8881
8882         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
8883         does not destroy the windows, removes debugging messages
8884
8885 2004-11-09  jba  <jba-mono@optusnet.com.au>
8886
8887         * ThemeWin32Classic.cs
8888         (DrawButtonBase): Fix verticle text rect clipping in windows
8889         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8890         rendering and incorrect text rect clipping
8891         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8892         rendering and incorrect text rect clipping
8893         
8894 2004-11-08  Jackson Harper  <jackson@ximian.com>
8895
8896         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
8897         bottom when they are bottom aligned so the bottoms of the tabs get
8898         displayed.
8899         * TabControl.cs (DropRow): Move rows up instead of down when the
8900         tab control is bottom aligned.
8901
8902 2004-11-08 13:59  pbartok
8903
8904         * XplatUIX11.cs:
8905           - Added handling for various window styles
8906           - Added handling for popup windows
8907           - Added SetTopmost handling
8908
8909 2004-11-08 13:55  pbartok
8910
8911         * XplatUIWin32.cs:
8912           - Added argument to SetTopmost method
8913           - Fixed broken ClientToScreen function
8914
8915 2004-11-08 13:53  pbartok
8916
8917         * XplatUIStructs.cs:
8918           - Added missing WS_EX styles
8919
8920 2004-11-08 13:53  pbartok
8921
8922         * XplatUI.cs, XplatUIDriver.cs:
8923           - Added argument to SetTopmost
8924
8925 2004-11-08 13:52  pbartok
8926
8927         * X11Structs.cs:
8928           - Added XSetWindowAttributes structure
8929           - Improved XWindowAttributes structure
8930           - Added SetWindowValuemask enum
8931           - Added window creation arguments enum
8932           - Added gravity enum
8933           - Added Motif hints structure
8934           - Added various Motif flags and enums
8935           - Added PropertyMode enum for property functions
8936
8937 2004-11-08 13:50  pbartok
8938
8939         * Form.cs:
8940           - Fixed arguments for updated SetTopmost method
8941
8942 2004-11-08 13:49  pbartok
8943
8944         * ToolTip.cs:
8945           - Fixed arguments for updated SetTopmost function
8946           - Fixed usage of PointToClient
8947
8948 2004-11-08 13:44  pbartok
8949
8950         * MenuAPI.cs:
8951           - Added Clipping of children and siblings
8952
8953 2004-11-08 13:41  pbartok
8954
8955         * MainMenu.cs:
8956           - Removed SetMenuBarWindow call. We do this in Form.cs
8957
8958 2004-11-08 13:40  jackson
8959
8960         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
8961           scrolling jimmi in the correct location with bottom aligned tabs
8962
8963 2004-11-08 13:36  pbartok
8964
8965         * ContainerControl.cs:
8966           - Implemented BindingContext
8967           - Implemented ParentForm
8968
8969 2004-11-08 12:46  jackson
8970
8971         * TabControl.cs: Put bottom rendered tabs in the right location
8972
8973 2004-11-08 07:15  jordi
8974
8975         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
8976           removes dead code
8977
8978 2004-11-05 17:30  jackson
8979
8980         * TabControl.cs: When selected tabs are expanded make sure they
8981           don't go beyond the edges of the tab control
8982
8983 2004-11-05 14:57  jackson
8984
8985         * TabControl.cs: Reset show_slider so if the control is resized to
8986           a size where it is no longer needed it's not displayed anymore
8987
8988 2004-11-05 13:16  jackson
8989
8990         * TabControl.cs: Make tab pages non visible when added to the
8991           control
8992
8993 2004-11-05 12:42  jackson
8994
8995         * TabControl.cs: Implement SizeMode.FillToRight
8996
8997 2004-11-05 12:16  jackson
8998
8999         * Control.cs: Do not call CreateHandle if the handle is already
9000           created
9001
9002 2004-11-05 11:46  jackson
9003
9004         * TabControl.cs: Remove superflous call to CalcTabRows
9005
9006 2004-11-05 09:07  jackson
9007
9008         * XplatUIX11.cs: Update for Mono.Posix changes
9009
9010 2004-11-05 07:00  ravindra
9011
9012         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9013           scrolling.
9014
9015 2004-11-04 22:47  jba
9016
9017         * ThemeWin32Classic.cs:
9018           - Fix Button rendering for FlatStyle = Flat or Popup
9019           - Fix RadioButton and CheckBox rendering when Appearance = Button
9020             (normal and flatstyle).
9021           - Correct outer rectangle color when drawing focus rectangle
9022           - Adjust button bounds to be 1 px smaller when focused
9023           - Make button not draw sunken 3d border when pushed (windows compat)
9024           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9025           - Offset the text in RadioButton and Checkbox when being rendered as
9026           a button.
9027           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9028           radiobuttons
9029           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9030           - Fixed disabled text rendering for normally rendered radiobuttons
9031
9032 2004-11-04 10:26  jackson
9033
9034         * TabControl.cs: Recalculate tab rows when resizing
9035
9036 2004-11-04 07:47  jordi
9037
9038         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9039           collection completion, drawing issues, missing features
9040
9041 2004-11-04 05:03  ravindra
9042
9043         * ScrollBar.cs:
9044                 - We need to recalculate the Thumb area when
9045                 LargeChange/maximum/minimum values are changed.
9046           - We set the 'pos' in UpdatePos() method to minimum, if it's less
9047                 than minimum. This is required to handle the case if large_change is
9048                 more than max, and use LargeChange property instead of large_change
9049                 variable.
9050           - We return max+1 when large_change is more than max, like MS does.
9051
9052 2004-11-04 04:29  ravindra
9053
9054         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9055                 - Changed default value signatures (prefixed all with ListView).
9056                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9057                 ListView.
9058           - Fixed calculations for ListViewItem and implemented Clone()
9059           method.
9060
9061 2004-11-04 04:26  ravindra
9062
9063         * Theme.cs, ThemeWin32Classic.cs:
9064                 - Changed default ListView values signatures (prefixed all with
9065                 ListView).
9066           - Fixed default size values for VScrollBar and HScrollBar.
9067                 - Fixed DrawListViewItem method.
9068
9069 2004-11-04 04:05  ravindra
9070
9071         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9072
9073 2004-11-04 04:04  ravindra
9074
9075         * ImageList.cs: Implemented the missing overload for Draw method.
9076
9077 2004-11-03 19:29  jackson
9078
9079         * TabControl.cs: Handle dropping rows on selection properly
9080
9081 2004-11-03 11:59  jackson
9082
9083         * TabControl.cs: remove debug code
9084
9085 2004-11-03 11:52  jackson
9086
9087         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9088           the scrolly widgerywoo
9089
9090 2004-11-02 13:52  jackson
9091
9092         * TabControl.cs: Resize the tab pages and tabs when the tab control
9093           is resized
9094
9095 2004-11-02 13:40  jackson
9096
9097         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9098           selected tab to the bottom
9099
9100 2004-11-02 13:39  jackson
9101
9102         * TabPage.cs: Store the tab pages row
9103
9104 2004-11-02 12:33  jordi
9105
9106         * MenuItem.cs: fixes handle creation
9107
9108 2004-11-02 11:42  jackson
9109
9110         * TabControl.cs: signature fix
9111
9112 2004-11-02 08:56  jackson
9113
9114         * TabControl.cs: Calculate whether the tab is on an edge properly.
9115           Remove top secret debugging code
9116
9117 2004-11-01 19:57  jackson
9118
9119         * TabControl.cs: Add click handling, and proper sizing
9120
9121 2004-11-01 19:47  jackson
9122
9123         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
9124           tab controls
9125
9126 2004-11-01 19:39  jackson
9127
9128         * TabPage.cs: add internal property to store the bounds of a tab
9129           page
9130
9131 2004-10-30 04:23  ravindra
9132
9133         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
9134           values.
9135
9136 2004-10-30 04:21  ravindra
9137
9138         * ListView.cs, ListViewItem.cs: Added support for scrolling and
9139           fixed calculations.
9140
9141 2004-10-30 03:06  pbartok
9142
9143         * XplatUIX11.cs:
9144           - Removed extension of DllImported libs
9145
9146 2004-10-29 09:55  jordi
9147
9148         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
9149           navigation, itemcollection completion, menu fixes
9150
9151 2004-10-27 22:58  pbartok
9152
9153         * XplatUIX11.cs:
9154           - Now throws a nice error message when no X display could be opened
9155
9156 2004-10-26 13:51  jordi
9157
9158         * ListView.cs: removes warning
9159
9160 2004-10-26 03:55  ravindra
9161
9162         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
9163           ThemeWin32Classic.cs: Some formatting for my last checkins.
9164
9165 2004-10-26 03:36  ravindra
9166
9167         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
9168           control and default values.
9169
9170 2004-10-26 03:35  ravindra
9171
9172         * Theme.cs: Added some default values for ListView control.
9173
9174 2004-10-26 03:33  ravindra
9175
9176         * ToolBar.cs: ToolBar should use the user specified button size, if
9177           there is any. Added a size_specified flag for the same.
9178
9179 2004-10-26 03:33  ravindra
9180
9181         * ColumnHeader.cs: Added some internal members and calculations for
9182           ColumnHeader.
9183
9184 2004-10-26 03:32  ravindra
9185
9186         * ListViewItem.cs: Calculations for ListViewItem.
9187
9188 2004-10-26 03:31  ravindra
9189
9190         * ListView.cs: Added some internal members and calculations for
9191           ListView.
9192
9193 2004-10-22 13:31  jordi
9194
9195         * MenuAPI.cs: speedup menus drawing
9196
9197 2004-10-22 13:16  jackson
9198
9199         * XplatUIX11.cs: Make sure to update exposed regions when adding an
9200           expose event
9201
9202 2004-10-22 11:49  jackson
9203
9204         * Control.cs: oops
9205
9206 2004-10-22 11:41  jackson
9207
9208         * Control.cs: Check to see if the window should have its background
9209           repainted by X when drawing.
9210
9211 2004-10-22 11:31  jackson
9212
9213         * XplatUIX11.cs: When invalidating areas only use XClearArea if
9214           clear is true, this way we do not get flicker from X repainting the
9215           background
9216
9217 2004-10-22 11:28  jackson
9218
9219         * XEventQueue.cs: Queue properly
9220
9221 2004-10-21 09:38  jackson
9222
9223         * XEventQueue.cs: Fix access modifier
9224
9225 2004-10-21 09:36  jackson
9226
9227         * XEventQueue.cs: Don't loose messages
9228
9229 2004-10-21 09:22  jackson
9230
9231         * XEventQueue.cs: Don't loose messages
9232
9233 2004-10-20 04:15  jordi
9234
9235         * BootMode.cs: enum need it by SystemInfo
9236
9237 2004-10-19 21:58  pbartok
9238
9239         * XplatUIWin32.cs:
9240           - Small sanity check
9241
9242 2004-10-19 21:56  pbartok
9243
9244         * Form.cs:
9245           - Added private FormParentWindow class which acts as the container
9246             for our form and as the non-client area where menus are drawn
9247           - Added/Moved required tie-ins to Jordi's menus
9248           - Fixed/Implemented the FormStartPosition functionality
9249
9250 2004-10-19 21:52  pbartok
9251
9252         * Control.cs:
9253           - Removed unneeded locals
9254           - Added code to all size and location properties to understand and
9255             deal with the parent container of Form
9256
9257 2004-10-19 21:33  pbartok
9258
9259         * Application.cs:
9260           - Fixed to deal with new Form subclasses for menus
9261
9262 2004-10-19 17:48  jackson
9263
9264         * XEventQueue.cs: commit correct version of file
9265
9266 2004-10-19 16:50  jackson
9267
9268         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9269
9270 2004-10-19 16:15  jordi
9271
9272         * MenuAPI.cs: MenuBarCalcSize returns the height
9273
9274 2004-10-19 08:31  pbartok
9275
9276         * Control.cs:
9277           - Added missing call to PreProcessMessage before calling OnXXXKey
9278           methods
9279
9280 2004-10-19 00:04  ravindra
9281
9282         * ToolTip.cs: Fixed constructor.
9283
9284 2004-10-18 09:31  jordi
9285
9286         * MenuAPI.cs: menuitems in menubars do not have shortcuts
9287
9288 2004-10-18 09:26  jordi
9289
9290         * MenuItem.cs: fixes MenuItem class signature
9291
9292 2004-10-18 08:56  jordi
9293
9294         * MenuAPI.cs: prevents windows from showing in the taskbar
9295
9296 2004-10-18 00:28  ravindra
9297
9298         * ToolTip.cs: Suppressed a warning message.
9299
9300 2004-10-18 00:27  ravindra
9301
9302         * Control.cs: Default value of visible property must be true.
9303
9304 2004-10-17 23:19  pbartok
9305
9306         * ToolTip.cs:
9307           - Complete implementation
9308
9309 2004-10-17 23:19  pbartok
9310
9311         * XplatUIX11.cs:
9312           - Added EnableWindow method
9313           - Added SetModal stub
9314           - Added generation of WM_ACTIVATE message (still needs testing)
9315           - Added SetTopMost stub
9316           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9317
9318 2004-10-17 23:17  pbartok
9319
9320         * XplatUIWin32.cs:
9321           - Removed VirtualKeys to XplatUIStructs
9322           - Implemented SetTopMost method
9323           - Implemented EnableWindow method
9324           - Bugfix in ScreenToClient()
9325           - Bugfixes in ClientToScreen()
9326
9327 2004-10-17 22:51  pbartok
9328
9329         * XplatUIStructs.cs:
9330           - Added WS_EX styles to WindowStyles enumeration
9331
9332 2004-10-17 22:50  pbartok
9333
9334         * XplatUI.cs, XplatUIDriver.cs:
9335           - Added method for enabling/disabling windows
9336           - Added method for setting window modality
9337           - Added method for setting topmost window
9338
9339 2004-10-17 22:49  pbartok
9340
9341         * ThemeWin32Classic.cs:
9342           - Added ToolTip drawing code
9343
9344 2004-10-17 22:49  pbartok
9345
9346         * Theme.cs:
9347           - Added ToolTip abstracts
9348
9349 2004-10-17 22:47  pbartok
9350
9351         * Form.cs:
9352           - Fixed Form.ControlCollection to handle owner relations
9353           - Added Owner/OwnedForms handling
9354           - Implemented Z-Ordering for owned forms
9355           - Removed unneeded private overload of ShowDialog
9356           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
9357             so I hope)
9358           - Fixed Close(), had wrong default
9359           - Added firing of OnLoad event
9360           - Added some commented out debug code for Ownership handling
9361
9362 2004-10-17 22:16  pbartok
9363
9364         * Control.cs:
9365           - Fixed/implemented flat list of controls
9366
9367 2004-10-17 22:14  pbartok
9368
9369         * Application.cs:
9370           - Added code to simulate modal dialogs on Win32
9371
9372 2004-10-17 16:11  jordi
9373
9374         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
9375           mouse event
9376
9377 2004-10-17 13:39  jordi
9378
9379         * MenuAPI.cs: menu drawing fixes
9380
9381 2004-10-15 09:10  ravindra
9382
9383         * StructFormat.cs: General Enum.
9384
9385 2004-10-15 09:09  ravindra
9386
9387         * SizeGripStyle.cs: Enum for Form.
9388
9389 2004-10-15 09:08  ravindra
9390
9391         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
9392           in Theme for ListView.
9393
9394 2004-10-15 09:06  ravindra
9395
9396         * ColumnHeader.cs: Flushing some formatting changes.
9397
9398 2004-10-15 09:05  ravindra
9399
9400         * ListViewItem.cs: Implemented GetBounds method and fixed coding
9401           style.
9402
9403 2004-10-15 09:03  ravindra
9404
9405         * ListView.cs: Implemented Paint method and fixed coding style.
9406
9407 2004-10-15 07:34  jordi
9408
9409         * MenuAPI.cs: fix for X11
9410
9411 2004-10-15 07:32  ravindra
9412
9413         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
9414                 - Renamed Paint() method to Draw() for clarity. Also, moved
9415                 DrawImage() to OnPaint().
9416
9417 2004-10-15 07:25  ravindra
9418
9419         * CheckBox.cs, RadioButton.cs:
9420                 - Removed Redraw (), we get it from ButtonBase.
9421                 - Implemented Paint (), to do class specific painting.
9422
9423 2004-10-15 07:16  ravindra
9424
9425         * ButtonBase.cs:
9426                 - Redraw () is not virtual now.
9427                 - Added an internal virtual method Paint (), so that
9428                 derived classes can do their painting on their own.
9429                 - Modified OnPaint () to call Paint ().
9430
9431 2004-10-15 06:43  jordi
9432
9433         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
9434           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
9435
9436 2004-10-15 00:30  ravindra
9437
9438         * MessageBox.cs:
9439                 - MessageBox on windows does not have min/max buttons.
9440                 This change in CreateParams fixes this on Windows. We
9441                 still need to implement this windowstyle behavior in
9442                 our X11 driver.
9443
9444 2004-10-14 05:14  ravindra
9445
9446         * ToolBar.cs:
9447                 - Changed Redraw () to do a Refresh () always.
9448                 - Fixed the MouseMove event handling when mouse is pressed,
9449                 ie drag event handling.
9450                 - Replaced the usage of ToolBarButton.Pressed property to
9451                 ToolBarButton.pressed internal variable.
9452
9453 2004-10-14 05:10  ravindra
9454
9455         * ToolBarButton.cs:
9456                 - Added an internal member 'inside' to handle mouse move
9457                 with mouse pressed ie mouse drag event.
9458                 - Changed 'Pressed' property to return true only when
9459                 'inside' and 'pressed' are both true.
9460                 - Some coding style love.
9461
9462 2004-10-14 00:17  ravindra
9463
9464         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
9465           public method.
9466
9467 2004-10-14 00:15  ravindra
9468
9469         * ButtonBase.cs: Redraw () related improvements.
9470
9471 2004-10-14 00:14  ravindra
9472
9473         * MessageBox.cs: Moved InitFormSize () out of Paint method and
9474           removed unnecessary calls to Button.Show () method.
9475
9476 2004-10-13 17:50  pbartok
9477
9478         * XplatUIX11.cs:
9479           - Formatting fix
9480           - Removed destroying of window until we solve the problem of X
9481             destroying the window before us on shutdown
9482
9483 2004-10-13 16:32  pbartok
9484
9485         * ButtonBase.cs:
9486           - Now Redraws on MouseUp for FlatStyle Flat and Popup
9487
9488 2004-10-13 14:18  pbartok
9489
9490         * XplatUIX11.cs:
9491           - Added code to destroy the X window
9492
9493 2004-10-13 14:18  pbartok
9494
9495         * XplatUIWin32.cs:
9496           - Added code to destroy a window
9497
9498 2004-10-13 14:12  pbartok
9499
9500         * ButtonBase.cs:
9501           - Added the Redraw on Resize that got dropped in the last rev
9502
9503 2004-10-13 09:06  pbartok
9504
9505         * ThemeWin32Classic.cs:
9506           - Path from John BouAntoun:
9507             * Fix check rendering (centre correctly for normal style, offset
9508               correctly for FlatStyle).
9509             * Fix border color usage (use backcolor) for FlatStyle.Popup
9510             * Use checkbox.Capture instead of checkbox.is_pressed when
9511               rendering flatstyle states.
9512
9513 2004-10-12 21:48  pbartok
9514
9515         * ThemeWin32Classic.cs:
9516           - Removed all occurences of SystemColors and replaced them with the
9517             matching theme color
9518
9519 2004-10-12 21:41  pbartok
9520
9521         * ThemeWin32Classic.cs:
9522           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
9523             him using the function for flatstyle drawing
9524           - Changed functions to use the new version of CPDrawBorder3D
9525
9526 2004-10-12 21:15  pbartok
9527
9528         * ControlPaint.cs:
9529           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
9530             match MS documentation. They need to return defined colors if the
9531             passed color matches the configured control color. Thanks to John
9532             BouAntoun for pointing this out.
9533
9534 2004-10-12 20:57  pbartok
9535
9536         * Control.cs:
9537           - Fix from John BouAntoun: Raise ForeColorChanged event when text
9538             color is changed
9539
9540 2004-10-12 20:46  pbartok
9541
9542         * CheckBox.cs:
9543           - Fix from John BouAntoun: Now properly sets the Appearance property
9544
9545 2004-10-12 20:45  pbartok
9546
9547         * ThemeWin32Classic.cs:
9548           - Fixes from John BouAntoun: now handles forecolors and backcolors
9549             for flatstyle rendered controls much better; It also fixes normal
9550             checkbox rendering when pushed or disabled.
9551
9552 2004-10-08 02:50  jordi
9553
9554         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
9555           work
9556
9557 2004-10-07 08:56  jordi
9558
9559         * ThemeWin32Classic.cs: Removes deletion of cached brushes
9560
9561 2004-10-06 03:59  jordi
9562
9563         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
9564           XplatUIWin32.cs: removes warnings from compilation
9565
9566 2004-10-05 12:23  jackson
9567
9568         * RadioButton.cs: Fix ctor
9569
9570 2004-10-05 11:10  pbartok
9571
9572         * MessageBox.cs:
9573           - Partial implementation by Benjamin Dasnois
9574
9575 2004-10-05 10:15  jackson
9576
9577         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
9578           by John BouAntoun
9579
9580 2004-10-05 03:07  ravindra
9581
9582         * ToolBar.cs:
9583                 - Removed a private method, Draw ().
9584                 - Fixed the ButtonDropDown event handling.
9585                 - Fixed MouseMove event handling.
9586
9587 2004-10-05 03:04  ravindra
9588
9589         * ThemeWin32Classic.cs:
9590                 - Added DrawListView method and ListViewDefaultSize property.
9591                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
9592                 - Changed DOS style CRLF to Unix format (dos2unix).
9593
9594 2004-10-05 03:03  ravindra
9595
9596         * Theme.cs:
9597                 - Added DrawListView method and ListViewDefaultSize property.
9598
9599 2004-10-05 02:42  ravindra
9600
9601         * ToolBarButton.cs: Added an internal member dd_pressed to handle
9602           clicks on DropDown arrow.
9603
9604 2004-10-04 22:56  jackson
9605
9606         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
9607           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
9608           Control handle the buffers, derived classes should not have to
9609           CreateBuffers themselves.
9610
9611 2004-10-04 21:20  jackson
9612
9613         * StatusBar.cs: The control handles resizing the buffers now.
9614
9615 2004-10-04 21:18  jackson
9616
9617         * Control.cs: When resizing the buffers should be invalidated. This
9618           should be handled in Control not in derived classes.
9619
9620 2004-10-04 14:45  jackson
9621
9622         * TabPage.cs: oops
9623
9624 2004-10-04 02:14  pbartok
9625
9626         * LeftRightAlignment.cs:
9627           - Initial check-in
9628
9629 2004-10-04 01:09  jordi
9630
9631         * ThemeWin32Classic.cs: fixes right button position causing right
9632           button not showing on horizontal scrollbars
9633
9634 2004-10-02 13:12  pbartok
9635
9636         * XplatUIX11.cs:
9637           - Simplified the Invalidate method by using an X call instead of
9638             generating the expose ourselves
9639           - Added an expose when the window background is changed
9640           - Implemented ClientToScreen method
9641
9642 2004-10-02 13:08  pbartok
9643
9644         * XplatUIWin32.cs:
9645           - Added Win32EnableWindow method (test for implementing modal
9646           dialogs)
9647           - Added ClientToScreen method and imports
9648
9649 2004-10-02 13:07  pbartok
9650
9651         * XplatUI.cs, XplatUIDriver.cs:
9652           - Added ClientToScreen coordinate translation method
9653
9654 2004-10-02 13:06  pbartok
9655
9656         * KeyPressEventArgs.cs:
9657           - Fixed access level for constructor
9658
9659 2004-10-02 13:06  pbartok
9660
9661         * NativeWindow.cs:
9662           - Changed access level for the window_collection hash table
9663
9664 2004-10-02 13:05  pbartok
9665
9666         * Form.cs:
9667           - Added KeyPreview property
9668           - Added Menu property (still incomplete, pending Jordi's menu work)
9669           - Implemented ProcessCmdKey
9670           - Implemented ProcessDialogKey
9671           - Implemented ProcessKeyPreview
9672
9673 2004-10-02 13:02  pbartok
9674
9675         * Control.cs:
9676           - Added private method to get the Control object from the window
9677           handle
9678           - Implemented ContextMenu property
9679           - Implemented PointToScreen
9680           - Implemented PreProcessMessage
9681           - Implemented IsInputChar
9682           - Implemented IsInputKey
9683           - Implemented ProcessCmdKey
9684           - Completed ProcessKeyEventArgs
9685           - Fixed message loop to call the proper chain of functions on key
9686           events
9687           - Implemented ProcessDialogChar
9688           - Implemented ProcessDialogKey
9689           - Implemented ProcessKeyMessage
9690           - Implemented ProcessKeyPreview
9691           - Added RaiseDragEvent stub (MS internal method)
9692           - Added RaiseKeyEvent stub (MS internal method)
9693           - Added RaiseMouseEvent stub (MS Internal method)
9694           - Added RaisePaintEvent stub (MS Internal method)
9695           - Added ResetMouseEventArgs stub (MS Internal method)
9696           - Implemented RtlTranslateAlignment
9697           - Implemented RtlTranslateContent
9698           - Implemented RtlTranslateHorizontal
9699           - Implemented RtlTranslateLeftRight
9700           - Added generation of KeyPress event
9701
9702 2004-10-02 05:57  ravindra
9703
9704         * ListViewItem.cs: Added attributes.
9705
9706 2004-10-02 05:32  ravindra
9707
9708         * ListView.cs: Added attributes.
9709
9710 2004-10-01 11:53  jackson
9711
9712         * Form.cs: Implement the Close method so work on MessageBox can
9713           continue.
9714
9715 2004-09-30 14:06  pbartok
9716
9717         * XplatUIX11.cs:
9718           - Bug fixes
9719
9720 2004-09-30 11:34  jackson
9721
9722         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
9723
9724 2004-09-30 07:26  ravindra
9725
9726         * ListViewItemConverter.cs: Converter for ListViewItem.
9727
9728 2004-09-30 07:26  ravindra
9729
9730         * SortOrder.cs: Enum for ListView control.
9731
9732 2004-09-30 07:25  ravindra
9733
9734         * ColumnHeader.cs: Supporting class for ListView control.
9735
9736 2004-09-30 07:24  ravindra
9737
9738         * ListView.cs, ListViewItem.cs: Initial implementation.
9739
9740 2004-09-30 07:20  ravindra
9741
9742         * ItemActivation.cs: Enum for ListView Control.
9743
9744 2004-09-29 20:29  pbartok
9745
9746         * XplatUIX11.cs:
9747           - Added lookup of pixel value for background color; tries to get a
9748             color 'close' to the requested color, it avoids having to create a
9749             colormap.  Depending on the display this could mean the used color
9750             is slightly off the desired color. Might have to change it to a more
9751             resource intensive colormap approach, but it will work as a
9752           workaround to avoid red screens.
9753
9754 2004-09-29 14:27  jackson
9755
9756         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
9757
9758 2004-09-28 12:44  pbartok
9759
9760         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
9761           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
9762           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
9763           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
9764           TrackBar.cs, VScrollBar.cs:
9765           - Streamlined Theme interfaces:
9766             * Each DrawXXX method for a control now is passed the object for
9767               the control to be drawn in order to allow accessing any state the
9768               theme might require
9769
9770             * ControlPaint methods for the theme now have a CP prefix to avoid
9771               name clashes with the Draw methods for controls
9772
9773             * Every control now retrieves it's DefaultSize from the current
9774             theme
9775
9776 2004-09-28 12:17  jackson
9777
9778         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
9779           drawing
9780
9781 2004-09-24 14:57  jackson
9782
9783         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
9784           Gives us a nice little performance boost.
9785
9786 2004-09-24 12:02  jackson
9787
9788         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
9789           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
9790           Control and supporting classes. Initial checkin
9791
9792 2004-09-23 13:08  jackson
9793
9794         * Form.cs: Temp build fixage
9795
9796 2004-09-23 01:39  ravindra
9797
9798         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
9799           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
9800           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
9801           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
9802           EventHandlers needed by ListView Control.
9803
9804 2004-09-22 14:12  pbartok
9805
9806         * ScrollableControl.cs:
9807           - Implemented DockPadding property
9808           - Implemented AutoScroll property
9809           - Implemented AutoScrollMargin property
9810           - Implemented AutoScrollMinSize property
9811           - Implemented AutoScrollPosition property
9812           - Implemented DisplayRectangle property (still incomplete)
9813           - Implemented CreateParams property
9814           - Implemented HScroll property
9815           - Implemented VScroll property
9816           - Implemented OnVisibleChanged property
9817
9818 2004-09-22 14:09  pbartok
9819
9820         * Form.cs:
9821           - Added Form.ControllCollection class
9822           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
9823             RemoveOwnedForm (still incomplete, missing on-top and common
9824             minimize/maximize behaviour)
9825           - Added StartPosition property (still incomplete, does not use when
9826             creating the form)
9827           - Added ShowDialog() methods (still incomplete, missing forcing the
9828             dialog modal)
9829
9830 2004-09-22 14:05  pbartok
9831
9832         * Application.cs:
9833           - Added message loop for modal dialogs
9834
9835 2004-09-22 14:02  pbartok
9836
9837         * GroupBox.cs:
9838           - Fixed wrong types for events
9839
9840 2004-09-22 14:00  pbartok
9841
9842         * Shortcut.cs, FormWindowState.cs:
9843           - Fixed wrong values
9844
9845 2004-09-22 12:01  jackson
9846
9847         * Control.cs: Text is never null
9848
9849 2004-09-20 22:14  pbartok
9850
9851         * XplatUIWin32.cs:
9852           - Fixed accessibility level for Idle handler
9853
9854 2004-09-20 18:54  jackson
9855
9856         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9857           XplatUIX11.cs: New message loop that uses poll so we don't get a
9858           busy loop
9859
9860 2004-09-17 10:43  pbartok
9861
9862         * ScrollBar.cs:
9863           - Fixed behaviour of arrow buttons. Now properly behaves like
9864             Buttons (and like Microsoft's scrollbar arrow buttons)
9865
9866 2004-09-17 10:14  pbartok
9867
9868         * ScrollBar.cs:
9869           - Added missing release of keyboard/mouse capture
9870
9871 2004-09-17 06:18  jordi
9872
9873         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
9874           Theme.cs: Very early menu support
9875
9876 2004-09-16 17:45  pbartok
9877
9878         * XplatUIWin32.cs:
9879           - Fixed sending a window to the front
9880           - Added overload for SetWindowPos to avoid casting
9881
9882 2004-09-16 17:44  pbartok
9883
9884         * Control.cs:
9885           - Added SendToBack and BringToFront methods
9886
9887 2004-09-16 07:00  ravindra
9888
9889         * Copyright: Added Novell URL.
9890
9891 2004-09-16 07:00  ravindra
9892
9893         * ToolBar.cs: Invalidate should be done before redrawing.
9894
9895 2004-09-15 21:19  ravindra
9896
9897         * ColumnHeaderStyle.cs: Enum for ListView Control.
9898
9899 2004-09-15 21:18  ravindra
9900
9901         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
9902           ListView Control.
9903
9904 2004-09-13 18:26  jackson
9905
9906         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
9907           properly
9908
9909 2004-09-13 18:13  jackson
9910
9911         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
9912           a second thread and post messages into the main threads message
9913           queue. This makes timing much more consistent. Both win2K and XP
9914           have a minimum timer value of 15 milliseconds, so we now do this
9915           too.
9916
9917 2004-09-13 15:18  pbartok
9918
9919         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9920           XplatUIX11.cs:
9921           - Added Z-Ordering methods
9922
9923 2004-09-13 10:56  pbartok
9924
9925         * Form.cs:
9926           - Fixed #region names
9927           - Moved properties and methods into their proper #regions
9928
9929 2004-09-13 10:51  pbartok
9930
9931         * Form.cs:
9932           - Added Accept and CancelButton properties
9933           - Added ProcessDialogKey() method
9934
9935 2004-09-13 08:18  pbartok
9936
9937         * IWindowTarget.cs:
9938           - Initial check-in
9939
9940 2004-09-10 21:50  pbartok
9941
9942         * Control.cs:
9943           - Added DoDragDrop() [incomplete]
9944           - Properly implemented 'Visible' handling
9945           - Added SetVisibleCore()
9946           - Implemented FindChildAtPoint()
9947           - Implemented GetContainerControl()
9948           - Implemented Hide()
9949
9950 2004-09-10 19:28  pbartok
9951
9952         * Control.cs:
9953           - Moved methods into their appropriate #regions
9954           - Reordered methods within regions alphabetically
9955
9956 2004-09-10 18:57  pbartok
9957
9958         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
9959           - Added method to retrieve text from window
9960
9961 2004-09-10 18:56  pbartok
9962
9963         * Control.cs:
9964           - Moved some internal functions into the internal region
9965           - Implemented FontHeight
9966           - Implemented RenderRightToLeft
9967           - Implemented ResizeRedraw
9968           - Implemented ShowFocusCues
9969           - Implemented ShowKeyboardCues
9970           - Implemented FromChildHandle
9971           - Implemented FromHandle
9972           - Implemented IsMnemonic
9973           - Implemented ReflectMessage
9974           - All public and protected Static Methods are now complete
9975
9976 2004-09-10 16:54  pbartok
9977
9978         * Control.cs:
9979           - Implemented remaining missing public instance properties
9980           - Alphabetized some out of order properties
9981
9982 2004-09-10 05:51  ravindra
9983
9984         * PictureBox.cs: Added a check for null image.
9985
9986 2004-09-10 00:59  jordi
9987
9988         * GroupBox.cs: remove cvs tag
9989
9990 2004-09-09 05:25  ravindra
9991
9992         * ToolBar.cs: Make redraw accessible from ToolBarButton.
9993
9994 2004-09-09 05:23  ravindra
9995
9996         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
9997           parent redraw.
9998
9999 2004-09-09 02:28  pbartok
10000
10001         * ThemeWin32Classic.cs:
10002           - Improve disabled string look
10003
10004 2004-09-09 01:15  jordi
10005
10006         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10007           args and handler
10008
10009 2004-09-08 23:56  ravindra
10010
10011         * ItemBoundsPortion.cs: It's enum, not a class!
10012
10013 2004-09-08 23:47  ravindra
10014
10015         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10016           Enums for Form.
10017
10018 2004-09-08 21:13  ravindra
10019
10020         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10021           ListView control.
10022
10023 2004-09-08 21:03  ravindra
10024
10025         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10026           avoid crash.
10027
10028 2004-09-08 21:01  ravindra
10029
10030         * ScrollableControl.cs: Removed unreachable code.
10031
10032 2004-09-08 06:45  jordi
10033
10034         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10035
10036 2004-09-08 01:00  jackson
10037
10038         * XplatUIX11.cs: Only run the timers when updating the message
10039           queue. This effectively gives X messages a higher priority then
10040           timer messages. Timers still need love though
10041
10042 2004-09-07 14:01  jackson
10043
10044         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10045           this for us and the handle is no longer valid.
10046
10047 2004-09-07 13:59  jackson
10048
10049         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10050           loop that manages to not crash. TODO: Add poll and cleanup timers
10051
10052 2004-09-07 11:12  jordi
10053
10054         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10055
10056 2004-09-07 03:40  jordi
10057
10058         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10059           fixes, methods, multiple links
10060
10061 2004-09-06 06:55  jordi
10062
10063         * Control.cs: Caches ClientRectangle rectangle value
10064
10065 2004-09-05 02:03  jordi
10066
10067         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10068           certain situations
10069
10070 2004-09-04 11:10  jordi
10071
10072         * Label.cs: Refresh when font changed
10073
10074 2004-09-02 16:24  pbartok
10075
10076         * Control.cs:
10077           - Added sanity check to creation of double buffer bitmap
10078
10079 2004-09-02 16:24  pbartok
10080
10081         * ButtonBase.cs:
10082           - Fixed selection of text color
10083           - Fixed handling of resize event; now properly recreates double
10084             buffering bitmap
10085           - Added missing assignment of TextAlignment
10086           - Added proper default for TextAlignment
10087
10088 2004-09-02 14:26  pbartok
10089
10090         * RadioButton.cs:
10091           - Added missing RadioButton.RadioButtonAccessibleObject class
10092
10093 2004-09-02 14:26  pbartok
10094
10095         * Control.cs:
10096           - Added missing Control.ControlAccessibleObject class
10097           - Started to implement Select()ion mechanisms, still very incomplete
10098
10099 2004-09-02 14:25  pbartok
10100
10101         * AccessibleObject.cs:
10102           - Added missing methods
10103
10104 2004-09-02 14:23  pbartok
10105
10106         * AccessibleNavigation.cs, AccessibleSelection.cs:
10107           - Initial check-in
10108
10109 2004-09-02 10:32  jordi
10110
10111         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10112           pool for pens, brushes, and hatchbruses
10113
10114 2004-09-01 15:30  jackson
10115
10116         * StatusBar.cs: Fix typo
10117
10118 2004-09-01 14:44  pbartok
10119
10120         * RadioButton.cs:
10121           - Fixed state
10122
10123 2004-09-01 14:39  pbartok
10124
10125         * Button.cs, RadioButton.cs:
10126           - Functional initial check-in
10127
10128 2004-09-01 14:01  pbartok
10129
10130         * CheckBox.cs:
10131           - Added missing default
10132           - Added missing region mark
10133
10134 2004-09-01 09:10  jordi
10135
10136         * Label.cs: fixes method signatures, new methods, events, fixes
10137           autosize
10138
10139 2004-09-01 07:19  jordi
10140
10141         * Control.cs: Init string variables with an empty object
10142
10143 2004-09-01 04:20  jordi
10144
10145         * Control.cs: fires OnFontChanged event
10146
10147 2004-08-31 20:07  pbartok
10148
10149         * ButtonBase.cs:
10150           - Enabled display of strings
10151
10152 2004-08-31 20:05  pbartok
10153
10154         * Form.cs:
10155           - Added (partial) implementation of DialogResult; rest needs to be
10156             implemented when the modal loop code is done
10157
10158 2004-08-31 19:55  pbartok
10159
10160         * CheckBox.cs:
10161           - Fixed to match the removal of the needs_redraw concept
10162
10163 2004-08-31 19:55  pbartok
10164
10165         * ButtonBase.cs:
10166           - Removed the rather odd split between 'needs redraw' and redrawing
10167           - Now handles the events that require regeneration (ambient
10168             properties and size)
10169
10170 2004-08-31 19:41  pbartok
10171
10172         * Control.cs:
10173           - Added firing of BackColorChanged event
10174           - Added TopLevelControl property
10175           - Fixed handling of WM_ERASEBKGRND message
10176
10177 2004-08-31 12:49  pbartok
10178
10179         * ButtonBase.cs:
10180           - Removed debug
10181           - Minor fixes
10182
10183 2004-08-31 12:48  pbartok
10184
10185         * CheckBox.cs:
10186           - Finished (famous last words)
10187
10188 2004-08-31 04:35  jordi
10189
10190         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
10191           scrolling bugs, adds new methods
10192
10193 2004-08-30 14:42  pbartok
10194
10195         * CheckBox.cs:
10196           - Implemented CheckBox drawing code
10197
10198 2004-08-30 14:42  pbartok
10199
10200         * ButtonBase.cs:
10201           - Made Redraw() and CheckRedraw() virtual
10202           - Improved mouse up/down/move logic to properly track buttons
10203
10204 2004-08-30 09:44  pbartok
10205
10206         * CheckBox.cs:
10207           - Updated to fix broken build. Not complete yet.
10208
10209 2004-08-30 09:28  pbartok
10210
10211         * CheckState.cs:
10212           - Initial checkin
10213
10214 2004-08-30 09:17  pbartok
10215
10216         * Appearance.cs:
10217           - Initial check-in
10218
10219 2004-08-27 16:12  ravindra
10220
10221         * ToolBarButton.cs: Added TypeConverter attribute.
10222
10223 2004-08-27 16:07  ravindra
10224
10225         * ImageIndexConverter.cs: Implemented.
10226
10227 2004-08-27 14:17  pbartok
10228
10229         * Control.cs:
10230           - Removed unneeded stack vars
10231           - First attempt to fix sizing issues when layout is suspended
10232
10233 2004-08-25 15:35  jordi
10234
10235         * ScrollBar.cs: more fixes to scrollbar
10236
10237 2004-08-25 14:04  ravindra
10238
10239         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10240           Added the missing divider code and grip for ToolBar Control.
10241
10242 2004-08-25 13:20  pbartok
10243
10244         * Control.cs:
10245           - Control now properly passes the ambient background color to child
10246             controls
10247
10248 2004-08-25 13:20  jordi
10249
10250         * ScrollBar.cs: small bug fix regarding bar position
10251
10252 2004-08-25 12:33  pbartok
10253
10254         * Timer.cs:
10255           - Now only calls SetTimer or KillTimer if the enabled state has
10256           changed
10257
10258 2004-08-25 12:33  pbartok
10259
10260         * XplatUIWin32.cs:
10261           - Fixed timer handling, now seems to work
10262           - Improved error message for window creation
10263
10264 2004-08-25 12:32  pbartok
10265
10266         * Control.cs:
10267           - Fixed generation of MouseUp message
10268
10269 2004-08-25 12:29  jordi
10270
10271         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10272           and fixes for progressbar
10273
10274 2004-08-24 18:43  ravindra
10275
10276         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10277           in ToolBar control.
10278
10279 2004-08-24 17:15  pbartok
10280
10281         * Panel.cs:
10282           - Added #region
10283           - Added missing events
10284           - Alphabetized
10285
10286 2004-08-24 17:14  pbartok
10287
10288         * StatusBar.cs, PictureBox.cs:
10289           - Now uses Control's CreateParams
10290
10291 2004-08-24 16:36  pbartok
10292
10293         * XplatUIX11.cs:
10294           - Fixed background color handling
10295           - Fixed sending of enter/leave events on a grab
10296
10297 2004-08-24 16:35  pbartok
10298
10299         * X11Structs.cs:
10300           - Refined definitions for CrossingEvent
10301
10302 2004-08-24 12:37  jordi
10303
10304         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10305           formmating, methods signature, and adds missing events
10306
10307 2004-08-24 12:24  jordi
10308
10309         * Control.cs: fire OnEnabledChanged event
10310
10311 2004-08-24 11:17  pbartok
10312
10313         * XplatUIWin32.cs:
10314           - Implemented SetTimer() and KillTimer()
10315
10316 2004-08-24 11:16  pbartok
10317
10318         * XplatUIX11.cs:
10319           - Now uses Remove instead of Add to kill the timer
10320
10321 2004-08-24 10:16  jackson
10322
10323         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10324           picture boxes in the theme now. Draw picture box borders and obey
10325           sizing modes
10326
10327 2004-08-24 05:49  jackson
10328
10329         * Timer.cs: Remove top secret debugging code
10330
10331 2004-08-24 05:34  jackson
10332
10333         * PictureBox.cs: Temp hack to make picture boxes draw their full
10334           image
10335
10336 2004-08-24 05:29  jackson
10337
10338         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10339           XplatUIX11.cs: Move timers to the driver level. On X they are
10340           queued by the driver and checked on idle.
10341
10342 2004-08-24 01:07  jackson
10343
10344         * XplatUIX11.cs: Use a queue for async messages instead of passing
10345           them as ClientMessages since that was totally broken. Also simply
10346           check for events and return an idle message if none are found. This
10347           gives us an idle handler, and prevents deadlocking when no messages
10348           are in the queue.
10349
10350 2004-08-23 18:19  ravindra
10351
10352         * XplatUIWin32.cs: Removed the unwanted destructor.
10353
10354 2004-08-23 17:27  pbartok
10355
10356         * ButtonBase.cs:
10357           - Finishing touches. Works now, just needs some optimizations.
10358
10359 2004-08-23 16:53  jordi
10360
10361         * ScrollBar.cs: small fix
10362
10363 2004-08-23 16:45  pbartok
10364
10365         * Application.cs:
10366           - Removed debug output
10367           - Simplifications
10368
10369 2004-08-23 16:43  jordi
10370
10371         * ScrollBar.cs: [no log message]
10372
10373 2004-08-23 16:10  pbartok
10374
10375         * Form.cs:
10376           - Fixed handling of WM_CLOSE message
10377           - Removed debug output
10378
10379 2004-08-23 16:09  pbartok
10380
10381         * Application.cs:
10382           - Added handling of Idle event
10383           - Added handling of form closing
10384           - Fixed reporting of MessageLoop property
10385           - Removed some unneeded code, should provide a bit of a speedup
10386
10387 2004-08-23 15:22  pbartok
10388
10389         * Control.cs:
10390           - Added InitLayout() method
10391           - Added code to properly perform layout when Anchor or Dock property
10392             is changed
10393           - Changed 'interpretation' of ResumeLayout. MS seems to have a
10394             LAMESPEC, tried to do it in a way that makes sense
10395
10396 2004-08-23 14:10  jordi
10397
10398         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
10399           properties and methods
10400
10401 2004-08-23 13:55  pbartok
10402
10403         * Control.cs:
10404           - Properly fixed Jordi's last fix
10405           - Now uses Cursor's Position property instead of calling XplatUI
10406           directly
10407
10408 2004-08-23 13:44  jordi
10409
10410         * PaintEventHandler.cs: Adding missing attribute
10411
10412 2004-08-23 13:39  pbartok
10413
10414         * Cursor.cs:
10415           - Implemented Position property
10416
10417 2004-08-23 13:39  pbartok
10418
10419         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10420           - Added method to move mouse cursor
10421
10422 2004-08-23 13:39  pbartok
10423
10424         * XplatUIX11.cs:
10425           - Fixed setting of background color
10426           - Added method to move mouse cursor
10427
10428 2004-08-23 13:16  jordi
10429
10430         * Control.cs: avoids null exception
10431
10432 2004-08-22 17:46  jackson
10433
10434         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
10435           PictureBox
10436
10437 2004-08-22 17:40  jackson
10438
10439         * XplatUIX11.cs: Add some missing locks
10440
10441 2004-08-22 15:10  pbartok
10442
10443         * Control.cs, Form.cs:
10444           - Removed OverlappedWindow style from Control, instead it's default
10445             now is child
10446           - Made form windows OverlappedWindow by default
10447
10448 2004-08-22 13:34  jackson
10449
10450         * ScrollBar.cs: Update the position through the Value property so
10451           the OnValueChanged event is raised.
10452
10453 2004-08-22 12:04  pbartok
10454
10455         * SWF.csproj:
10456           - Added Cursor.cs and UserControl.cs
10457
10458 2004-08-22 12:03  pbartok
10459
10460         * Cursor.cs:
10461           - Started implementation, not usable yet
10462
10463 2004-08-22 12:00  pbartok
10464
10465         * UserControl.cs:
10466           - Implemented UserControl (complete)
10467
10468 2004-08-21 19:20  ravindra
10469
10470         * ToolBar.cs: Correcting the formatting mess of VS.NET.
10471
10472 2004-08-21 18:49  ravindra
10473
10474         * ToolBar.cs: Probably this completes the missing attributes in
10475           toolbar control.
10476
10477 2004-08-21 18:03  ravindra
10478
10479         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
10480           Fixed toolbar control signatures.
10481
10482 2004-08-21 16:32  pbartok
10483
10484         * LinkLabel.cs:
10485           - Signature Fixes
10486
10487 2004-08-21 16:30  pbartok
10488
10489         * Label.cs:
10490           - Signature fixes
10491
10492 2004-08-21 16:19  pbartok
10493
10494         * Control.cs, Label.cs:
10495           - Signature fixes
10496
10497 2004-08-21 15:57  pbartok
10498
10499         * ButtonBase.cs:
10500           - Added loads of debug output for development
10501           - Fixed typo in method name
10502
10503 2004-08-21 15:52  pbartok
10504
10505         * ToolBarButtonClickEventArgs.cs:
10506           - Added missing base class
10507
10508 2004-08-21 14:53  pbartok
10509
10510         * Control.cs:
10511           - Updated to match new GrabWindow signature
10512
10513 2004-08-21 14:51  pbartok
10514
10515         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10516           - Added method to get default display size
10517
10518 2004-08-21 14:23  pbartok
10519
10520         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10521           - Added method to query current grab state
10522           - Added argument to allow confining a grab to a window
10523
10524 2004-08-21 14:22  pbartok
10525
10526         * Keys.cs:
10527           - Added [Flags] attribute so that modifiers can be used in bitwise
10528           ops
10529
10530 2004-08-21 14:21  pbartok
10531
10532         * TrackBar.cs, ScrollBar.cs:
10533           - Replaced direct XplatUI calls with their Control counterpart
10534
10535 2004-08-21 13:32  pbartok
10536
10537         * Control.cs:
10538           - Implemented Created property
10539
10540 2004-08-21 13:28  pbartok
10541
10542         * Control.cs:
10543           - Implemented ContainsFocus
10544
10545 2004-08-21 13:26  pbartok
10546
10547         * Control.cs:
10548           - Implemented CausesValidation
10549
10550 2004-08-21 13:21  pbartok
10551
10552         * Control.cs:
10553           - Implemented CanFocus
10554           - Implemented CanSelect
10555           - Implemented Capture
10556
10557 2004-08-21 12:35  pbartok
10558
10559         * XplatUIWin32.cs:
10560           - Fixed bug with Async message handling
10561           - Implemented getting the ModifierKeys
10562
10563 2004-08-21 12:32  jackson
10564
10565         * AsyncMethodResult.cs: Make sure we have the mutex before we
10566           release it. Fixes BeginInvoke on windows
10567
10568 2004-08-21 11:31  pbartok
10569
10570         * XplatUIWin32.cs, XplatUIX11.cs:
10571           - Drivers now return proper mouse state
10572
10573 2004-08-21 10:54  jackson
10574
10575         * Control.cs: Implement EndInvoke
10576
10577 2004-08-21 10:48  jackson
10578
10579         * Timer.cs: Remove unneeded finalizer
10580
10581 2004-08-20 19:52  ravindra
10582
10583         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
10584           in mouse event handling in the ToolBar control.
10585
10586 2004-08-20 19:50  ravindra
10587
10588         * ImageList.cs: Changed draw method to use the arguments passed in
10589           to draw the image.
10590
10591 2004-08-20 18:58  pbartok
10592
10593         * XplatUIStructs.cs:
10594           - Added private message for async communication
10595
10596 2004-08-20 17:38  ravindra
10597
10598         * Control.cs: Made RightToLeft property virtual and removed a
10599           Console.WriteLine.
10600
10601 2004-08-20 14:39  jordi
10602
10603         * ThemeGtk.cs: use style_attach
10604
10605 2004-08-20 14:39  pbartok
10606
10607         * XplatUIWin32.cs:
10608           - Added jackson's Async code from X11 to Win32
10609
10610 2004-08-20 14:09  pbartok
10611
10612         * SWF.csproj:
10613           - Added all new files
10614
10615 2004-08-20 14:09  pbartok
10616
10617         * Control.cs:
10618           - Added call to set window background color
10619
10620 2004-08-20 14:03  pbartok
10621
10622         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
10623           - Added method for setting the window background
10624
10625 2004-08-20 14:02  pbartok
10626
10627         * XplatUIWin32.cs:
10628           - Added method for setting the background color
10629           - Added handling for erasing the window background
10630
10631 2004-08-20 13:45  jordi
10632
10633         * TrackBar.cs: fixes timer, new properties and methods
10634
10635 2004-08-20 13:34  jackson
10636
10637         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
10638           correct thread
10639
10640 2004-08-20 13:22  jackson
10641
10642         * Timer.cs: Timer Tick events are now handed through Controls Async
10643           mechanism so the callbacks are executed in the same thread as X
10644
10645 2004-08-20 13:19  jackson
10646
10647         * XplatUIDriver.cs: Expose functionality to send async messages
10648           through the driver
10649
10650 2004-08-20 13:18  jackson
10651
10652         * Control.cs: Implement Begininvoke
10653
10654 2004-08-20 13:14  jackson
10655
10656         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
10657           messages through the driver
10658
10659 2004-08-20 13:12  jackson
10660
10661         * XplatUIX11.cs: Lock before all X operations. Also added Async
10662           method functionality through XSendEvent
10663
10664 2004-08-20 13:11  jackson
10665
10666         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
10667           This will screw up on 64 bit systems)
10668
10669 2004-08-20 13:10  jackson
10670
10671         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
10672           Async messages through X/Win32
10673
10674 2004-08-19 19:39  pbartok
10675
10676         * XplatUIX11.cs:
10677           - Updated code to match new HandleData.DeviceContext type
10678
10679 2004-08-19 19:38  pbartok
10680
10681         * HandleData.cs:
10682           - Made DeviceContext a generic object to allow usage from various
10683           drivers
10684           - Added support for queueing Windows messages
10685
10686 2004-08-19 19:37  pbartok
10687
10688         * XplatUIWin32.cs:
10689           - Added generation of MouseEnter, MouseLeave and MouseHover events
10690           - Added cleanup on EndPaint
10691
10692 2004-08-19 19:17  pbartok
10693
10694         * Control.cs:
10695           - Added handling of WM_MOUSEHOVER
10696           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
10697           code
10698
10699 2004-08-19 18:55  jordi
10700
10701         * ThemeGtk.cs: fixes button order
10702
10703 2004-08-19 18:12  jordi
10704
10705         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
10706
10707 2004-08-19 17:09  pbartok
10708
10709         * Control.cs:
10710           - Added Right property
10711           - Added RightToLeft property
10712
10713 2004-08-19 16:27  jordi
10714
10715         * ThemeGtk.cs: experimental GTK theme support
10716
10717 2004-08-19 16:26  jordi
10718
10719         * ITheme.cs, Theme.cs: move themes from an interface to a class
10720
10721 2004-08-19 16:25  jordi
10722
10723         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
10724           theme enhancaments
10725
10726 2004-08-19 16:04  pbartok
10727
10728         * XplatUIX11.cs:
10729           - Added colormap basics
10730           - Added a way to re-initialize with a different display handle
10731           - Fixed setting of the window background color
10732           - Added various X11 imports related to colors and colormaps
10733
10734 2004-08-19 15:51  pbartok
10735
10736         * X11Structs.cs:
10737           - Removed packing hints (Paolo suggested this a while back)
10738           - fixed colormap type
10739           - Added default Atom types
10740           - Added Screen and color structs and enums
10741
10742 2004-08-19 15:39  pbartok
10743
10744         * ImageList.cs:
10745           - Added missing Draw() method
10746           - Added missing RecreateHandle event
10747
10748 2004-08-19 15:30  pbartok
10749
10750         * Form.cs:
10751           - Added handling of WM_CLOSE
10752
10753 2004-08-18 13:16  jordi
10754
10755         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
10756           a table
10757
10758 2004-08-18 09:56  jordi
10759
10760         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
10761
10762 2004-08-17 15:31  ravindra
10763
10764         * SWF.csproj: Updated project.
10765
10766 2004-08-17 15:25  pbartok
10767
10768         * Control.cs:
10769           - Drawing improvement; don't call UpdateBounds if we are not visible
10770             (or have been minimized)
10771
10772 2004-08-17 15:24  pbartok
10773
10774         * XplatUIWin32.cs:
10775           - Finished IsVisible
10776           - Added Win32GetWindowPlacement
10777
10778 2004-08-17 15:08  jackson
10779
10780         * Panel.cs: Initial checkin of the Panel
10781
10782 2004-08-17 14:25  pbartok
10783
10784         * Control.cs:
10785           - Fixed broken handling of default window sizes
10786
10787 2004-08-17 13:29  jackson
10788
10789         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
10790           has a large startup time.
10791
10792 2004-08-17 10:25  jackson
10793
10794         * HandleData.cs: union areas properly
10795
10796 2004-08-17 10:12  jackson
10797
10798         * HandleData.cs: union areas properly
10799
10800 2004-08-16 20:00  ravindra
10801
10802         * ToolBar.cs, ToolBarButton.cs: Added attributes.
10803
10804 2004-08-16 18:48  ravindra
10805
10806         * ToolBar.cs: Added attributes.
10807
10808 2004-08-16 17:17  ravindra
10809
10810         * SWF.csproj: Updated project.
10811
10812 2004-08-16 17:16  jackson
10813
10814         * XplatUIX11.cs: Check for more expose events before sending a
10815           WM_PAINT so they can all be grouped together. This makes dragging a
10816           window across another window redraw in a sane way.
10817
10818 2004-08-16 15:47  pbartok
10819
10820         * Control.cs:
10821           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
10822             support OnMouseEnter/Leave()
10823           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
10824             exposure handling
10825
10826 2004-08-16 15:46  pbartok
10827
10828         * XplatUIStructs.cs, XplatUIX11.cs:
10829           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
10830           OnMouseEnter/Leave()
10831
10832 2004-08-16 15:34  jackson
10833
10834         * XplatUIX11.cs: Group multiple expose events in HandleData, make
10835           sure messages get the message field set to WM_NULL if they are not
10836           handled.
10837
10838 2004-08-16 15:24  jackson
10839
10840         * HandleData.cs: HandleData is used for storing message information
10841           for window handles
10842
10843 2004-08-15 17:23  ravindra
10844
10845         * ColorDepth.cs: Added attribute.
10846
10847 2004-08-15 17:23  ravindra
10848
10849         * SWF.csproj: Updated project for ToolBar Control.
10850
10851 2004-08-15 17:20  ravindra
10852
10853         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
10854           control and also dos2unix format.
10855
10856 2004-08-15 17:13  ravindra
10857
10858         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
10859           ToolBarButtonClickEventArgs.cs,
10860           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
10861           ToolBarTextAlign.cs: First Implementation of ToolBar control.
10862
10863 2004-08-15 15:31  pbartok
10864
10865         * ButtonBase.cs:
10866           - First (mostly) working version
10867
10868 2004-08-13 16:15  pbartok
10869
10870         * Control.cs:
10871           - Fixed Anchor default
10872
10873 2004-08-13 15:43  pbartok
10874
10875         * Control.cs:
10876           - Changed GetCursorPos signature
10877
10878 2004-08-13 15:42  pbartok
10879
10880         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10881           - Changed signature for GetCursorPos
10882
10883 2004-08-13 15:25  pbartok
10884
10885         * XplatUIX11.cs:
10886           - Cleanup
10887           - Fixed resizing/exposure handling
10888
10889 2004-08-13 15:22  jordi
10890
10891         * ThemeWin32Classic.cs: removes redundant code and fixes issues
10892           with tickposition
10893
10894 2004-08-13 14:55  jordi
10895
10896         * TrackBar.cs: change from wndproc to events
10897
10898 2004-08-13 13:00  jordi
10899
10900         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10901           XplatUIX11.cs: implements PointToClient (ScreenToClient)
10902
10903 2004-08-13 12:53  pbartok
10904
10905         * XplatUIWin32.cs:
10906           - Changed GetWindowPos to also provide client area size
10907           - Fixed broken prototypes for several win32 functions
10908
10909 2004-08-13 12:53  pbartok
10910
10911         * XplatUI.cs, XplatUIDriver.cs:
10912           - Changed GetWindowPos to also provide client area size
10913
10914 2004-08-13 12:52  pbartok
10915
10916         * XplatUIX11.cs:
10917           - Added generation of WM_POSCHANGED
10918           - Changed GetWindowPos to also provide client area size
10919
10920 2004-08-13 12:52  pbartok
10921
10922         * Control.cs:
10923           - Added Dispose() and destructor
10924           - Fixed resizing and bounds calculation
10925           - Fixed Layout
10926           - Added memory savings for invisible windows
10927
10928 2004-08-13 12:46  jordi
10929
10930         * TrackBar.cs: adds timer and grap window
10931
10932 2004-08-13 10:25  jackson
10933
10934         * Timer.cs: SWF Timer
10935
10936 2004-08-12 16:59  pbartok
10937
10938         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10939           - Implemented method to get current mouse position
10940
10941 2004-08-12 14:29  jordi
10942
10943         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
10944           enhancement, fix mouse problems, highli thumb, etc
10945
10946 2004-08-12 13:31  pbartok
10947
10948         * Control.cs:
10949           - Fixed Anchoring bugs
10950
10951 2004-08-12 13:01  jackson
10952
10953         * StatusBar.cs: Don't forget things
10954
10955 2004-08-12 12:54  jackson
10956
10957         * ThemeWin32Classic.cs: Handle owner draw status bars
10958
10959 2004-08-12 12:54  jackson
10960
10961         * StatusBar.cs: Implement missing properties, events, and methods.
10962           Handle mouse clicking
10963
10964 2004-08-12 10:19  jackson
10965
10966         * StatusBarPanelClickEventArgs.cs,
10967           StatusBarPanelClickEventHandler.cs: Classes for handling status
10968           bar panel click events
10969
10970 2004-08-12 10:10  jackson
10971
10972         * Control.cs: Add missing properties
10973
10974 2004-08-12 09:46  pbartok
10975
10976         * BindingsManagerBase.cs:
10977           - Name changed to BindingManagerBase.cs
10978
10979 2004-08-12 09:25  jordi
10980
10981         * ScrollableControl.cs: calls ctrlbase instead of exeception
10982
10983 2004-08-11 16:28  pbartok
10984
10985         * InputLanguageChangingEventArgs.cs:
10986           - Never check in before compiling. Fixes the last check-in
10987
10988 2004-08-11 16:26  pbartok
10989
10990         * InputLanguageChangingEventArgs.cs:
10991           - More signature fixes
10992
10993 2004-08-11 16:20  pbartok
10994
10995         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
10996           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
10997           ImageListStreamer.cs, InputLanguage.cs,
10998           InputLanguageChangedEventArgs.cs,
10999           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11000           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11001           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11002           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11003           - Signature fixes
11004
11005 2004-08-11 16:16  pbartok
11006
11007         * Application.cs:
11008           - Fixed Signature
11009           - Added .Net 1.1 method
11010
11011 2004-08-11 15:25  pbartok
11012
11013         * SWF.csproj:
11014           - Fixed BindingManagerBase.cs filename
11015
11016 2004-08-11 15:22  pbartok
11017
11018         * BindingManagerBase.cs:
11019           - Was checked in with wrong filename
11020
11021 2004-08-11 14:50  pbartok
11022
11023         * SWF.csproj:
11024           - Updated
11025
11026 2004-08-11 13:41  jordi
11027
11028         * XplatUIWin32.cs: Fixes ClientRect
11029
11030 2004-08-11 13:19  pbartok
11031
11032         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11033           XplatUIX11.cs:
11034           - We had SetWindowPos and MoveWindow to set window positions and
11035             size, removed MoveWindow. We have GetWindowPos, so it made sense to
11036             keep SetWindowPos as matching counterpart
11037           - Added some X11 sanity checking
11038
11039 2004-08-11 12:59  pbartok
11040
11041         * Control.cs:
11042           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11043             (It seems that SetBounds is just a front for SetBoundsCore and
11044              SetBoundsCore updates the underlying window system and
11045              UpdateBounds is responsible for updating the variables associated
11046              with the Control and sending the events)
11047           - Major cleanup of Size handling; we now have two sizes, client_size
11048             and bounds. Bounds defines the window with decorations, client_size
11049             without them.
11050
11051 2004-08-11 12:55  pbartok
11052
11053         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11054           - Added method to calculate difference between decorated window and
11055             raw client area
11056
11057 2004-08-11 12:54  pbartok
11058
11059         * Label.cs:
11060           - Forcing redraw on resize
11061
11062 2004-08-11 11:43  pbartok
11063
11064         * ImageList.cs:
11065           - Removed disposing of the actual images when the list is disposed
11066
11067 2004-08-11 09:13  pbartok
11068
11069         * Control.cs:
11070           - Now properly reparents windows
11071
11072 2004-08-11 08:37  pbartok
11073
11074         * Control.cs:
11075           - Duh!
11076
11077 2004-08-11 07:47  pbartok
11078
11079         * Control.cs:
11080           - Rewrote the collection stuff. Might not be as fast now, not
11081             keeping the number of children around and accessible directly, but
11082             it's more straightforward
11083
11084 2004-08-11 07:44  pbartok
11085
11086         * AccessibleObject.cs:
11087           - Fixed to match ControlCollection rewrite
11088
11089 2004-08-11 07:43  pbartok
11090
11091         * ImageList.cs:
11092           - Added missing creation of the collection list
11093
11094 2004-08-10 20:08  jackson
11095
11096         * StatusBar.cs: Get the paint message from WndProc
11097
11098 2004-08-10 19:31  jackson
11099
11100         * ThemeWin32Classic.cs: Create Brushes as little as possible
11101
11102 2004-08-10 19:20  jackson
11103
11104         * UICues.cs: Add Flags attribute
11105
11106 2004-08-10 19:19  jackson
11107
11108         * StatusBarPanel.cs: Signature cleanup
11109
11110 2004-08-10 19:10  jackson
11111
11112         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11113           Initial implementation of status bar item drawing
11114
11115 2004-08-10 17:27  jordi
11116
11117         * TrackBar.cs: add missing methods, properties, and restructure to
11118           hide extra ones
11119
11120 2004-08-10 16:24  jackson
11121
11122         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
11123           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
11124           attribute
11125
11126 2004-08-10 13:21  jordi
11127
11128         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
11129           enhancements and standarize on win colors defaults
11130
11131 2004-08-10 12:52  jackson
11132
11133         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
11134           ThemeWin32Classic.cs: Implement DrawItem functionality
11135
11136 2004-08-10 12:47  jordi
11137
11138         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
11139
11140 2004-08-10 12:32  jordi
11141
11142         * Control.cs: throw ontextchange event
11143
11144 2004-08-10 11:43  pbartok
11145
11146         * Control.cs:
11147           - Added more to the still unfinished Dock/Anchor layout code
11148
11149 2004-08-10 11:39  pbartok
11150
11151         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11152           - Added GetWindowPos method
11153
11154 2004-08-10 11:36  pbartok
11155
11156         * XplatUIWin32.cs:
11157           - Implemented several methods
11158
11159 2004-08-10 09:47  jackson
11160
11161         * TrackBar.cs: Allow control to handle buffering
11162
11163 2004-08-10 09:41  jackson
11164
11165         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
11166
11167 2004-08-10 09:24  jackson
11168
11169         * Label.cs, LinkLabel.cs: Let Control handle buffering.
11170
11171 2004-08-10 09:09  jackson
11172
11173         * StatusBar.cs: Let Control handle all the buffering.
11174
11175 2004-08-10 09:08  jackson
11176
11177         * Control.cs: Control will now handle the buffering code, so each
11178           control does not have to implement this.
11179
11180 2004-08-10 08:34  jackson
11181
11182         * XplatUIDriver.cs: Use default colors from the theme
11183
11184 2004-08-09 17:12  pbartok
11185
11186         * ImageList.cs:
11187           - Fixed several bugs Ravindra pointed out
11188
11189 2004-08-09 16:11  pbartok
11190
11191         * Control.cs:
11192           - Added incomplete dock layout code
11193           - Added support for mouse wheel
11194
11195 2004-08-09 16:09  pbartok
11196
11197         * XplatUIX11.cs:
11198           - Added handling for middle and right mousebutton
11199           - Added handling for mouse wheel
11200           - Added handling for key state and mouse state and position
11201           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
11202           messages
11203
11204 2004-08-09 15:40  jackson
11205
11206         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
11207           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
11208           checkin
11209
11210 2004-08-09 15:37  jackson
11211
11212         * StatusBar.cs: Initial implementation of StatusBar
11213
11214 2004-08-09 15:36  jackson
11215
11216         * ITheme.cs: Add support for drawing status bar and getting status
11217           bar item sizes
11218
11219 2004-08-09 15:35  pbartok
11220
11221         * MouseButtons.cs:
11222           - Fixed values
11223
11224 2004-08-09 15:34  jackson
11225
11226         * ThemeWin32Classic.cs: Add support for drawing status bar and get
11227           status bar item sizes
11228
11229 2004-08-09 15:21  jackson
11230
11231         * ThemeWin32Classic.cs: Use known colors for default control
11232           colours
11233
11234 2004-08-09 15:12  jackson
11235
11236         * ThemeWin32Classic.cs: Make the default font static, it is static
11237           in control so this doesn't change functionality and creating fonts
11238           is sloooooow.
11239
11240 2004-08-09 14:56  pbartok
11241
11242         * X11Structs.cs:
11243           - Added GrabMode enum
11244
11245 2004-08-09 14:55  pbartok
11246
11247         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11248           - Removed Run method, was only required for initial development
11249
11250 2004-08-09 14:51  pbartok
11251
11252         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11253           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11254           capture
11255
11256 2004-08-09 13:48  pbartok
11257
11258         * XplatUIX11.cs:
11259           - Fixed default sizing for child windows
11260
11261 2004-08-09 12:56  pbartok
11262
11263         * XplatUIX11.cs:
11264           - Added generation of WM_DESTROY message
11265           - Added handling of window manager induced shutdown
11266
11267 2004-08-09 11:31  jackson
11268
11269         * ThemeWin32Classic.cs: New names for control properties
11270
11271 2004-08-09 11:25  jackson
11272
11273         * Control.cs: Use new color names
11274
11275 2004-08-09 11:02  jackson
11276
11277         * XplatUI.cs: Get default window properties from the theme
11278
11279 2004-08-09 11:01  jackson
11280
11281         * ITheme.cs: The theme engine now controls default window
11282           properties
11283
11284 2004-08-09 11:00  jackson
11285
11286         * ThemeWin32Classic.cs: Add default window color properties
11287
11288 2004-08-09 10:17  jackson
11289
11290         * ThemeWin32Classic.cs: Use correct default back color
11291
11292 2004-08-09 10:05  jackson
11293
11294         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11295           the theme now.
11296
11297 2004-08-09 09:56  jackson
11298
11299         * XplatUI.cs: Remove defaults, these are handled by the theme now.
11300
11301 2004-08-09 09:54  jackson
11302
11303         * Control.cs: Get default properties from the theme.
11304
11305 2004-08-09 09:53  jackson
11306
11307         * ITheme.cs: Themes now handle default control properties
11308
11309 2004-08-09 09:53  jackson
11310
11311         * ThemeWin32Classic.cs: Themes now handle default control
11312           properties so coloring will be consistent
11313
11314 2004-08-08 16:54  jordi
11315
11316         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11317
11318 2004-08-08 15:08  jordi
11319
11320         * XplatUIX11.cs: fixes keyboard crash
11321
11322 2004-08-08 13:47  jordi
11323
11324         * Label.cs: add cvs header info
11325
11326 2004-08-08 12:09  jackson
11327
11328         * ThemeWin32Classic.cs: Add pen_buttonface
11329
11330 2004-08-08 11:52  jordi
11331
11332         * Label.cs, LinkLabel.cs: [no log message]
11333
11334 2004-08-08 11:34  jordi
11335
11336         * ThemeWin32Classic.cs: Use Windows Standard Colours
11337
11338 2004-08-07 17:32  jordi
11339
11340         * TrackBar.cs: throw exceptions of invalid enums values
11341
11342 2004-08-07 17:31  jordi
11343
11344         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11345           draw method name
11346
11347 2004-08-07 16:56  jackson
11348
11349         * HorizontalAlignment.cs: Initial checkin
11350
11351 2004-08-07 13:16  jordi
11352
11353         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11354           methods
11355
11356 2004-08-07 13:05  jordi
11357
11358         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
11359           GetSysColor defines
11360
11361 2004-08-06 18:01  pbartok
11362
11363         * ThemeWin32Classic.cs:
11364           - Fixed some rounding issues with float/int
11365
11366 2004-08-06 18:00  jackson
11367
11368         * DockStyle.cs, AnchorStyles.cs:
11369
11370                   Add flags and serializable attributes.
11371
11372 2004-08-06 17:46  pbartok
11373
11374         * XplatUIX11.cs:
11375           - Implemented GetParent
11376
11377 2004-08-06 17:18  pbartok
11378
11379         * TrackBar.cs:
11380           - Fixed some rounding issues with float/int
11381
11382 2004-08-06 17:17  pbartok
11383
11384         * X11Structs.cs, XplatUIX11.cs:
11385           - Fixed Refresh and Invalidate
11386
11387 2004-08-06 15:30  pbartok
11388
11389         * Control.cs, X11Structs.cs, XplatUIX11.cs:
11390           - Fixed recursive loop when resizing
11391           - Improved/fixed redrawing on expose messages
11392
11393 2004-08-06 09:53  jordi
11394
11395         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
11396           keyboard navigation
11397
11398 2004-08-06 08:02  pbartok
11399
11400         * X11Structs.cs, XplatUIX11.cs:
11401           - Fixed reparenting
11402           - Fixed window border creation
11403
11404 2004-08-05 15:38  pbartok
11405
11406         * XplatUIX11.cs:
11407           - Attempted fix for reparenting problems
11408
11409 2004-08-04 15:14  pbartok
11410
11411         * Control.cs:
11412           - Fixed Invalidation bug (calculated wrong client area)
11413           - Added ClientSize setter
11414
11415 2004-08-04 15:13  pbartok
11416
11417         * Form.cs:
11418           - Added AutoScale properties
11419
11420 2004-08-04 15:13  pbartok
11421
11422         * SWF.csproj:
11423           - Added latest files
11424
11425 2004-08-04 14:11  pbartok
11426
11427         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11428           XplatUIX11.cs:
11429           - Added Invalidate handling
11430
11431 2004-08-03 17:09  jordi
11432
11433         * XplatUIDriver.cs: fixes spelling mistake
11434
11435 2004-07-27 09:53  jordi
11436
11437         * TrackBar.cs: fixes trackbar events, def classname, methods
11438           signature
11439
11440 2004-07-27 09:29  jordi
11441
11442         * ScrollBar.cs: fixes scrollbar events
11443
11444 2004-07-27 04:38  jordi
11445
11446         * Control.cs: changes to be able to run winforms samples
11447
11448 2004-07-26 11:42  jordi
11449
11450         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
11451           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
11452
11453 2004-07-26 05:41  jordi
11454
11455         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
11456           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
11457           implementation
11458
11459 2004-07-22 09:22  jordi
11460
11461         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
11462           check link overlapping, implement events, and fixes
11463
11464 2004-07-21 10:28  jordi
11465
11466         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
11467
11468 2004-07-21 10:19  jordi
11469
11470         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
11471           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
11472           LinkLabelLinkClickedEventArgs.cs,
11473           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
11474           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
11475           implementation
11476
11477 2004-07-19 13:09  jordi
11478
11479         * Control.cs, Label.cs: label control re-written: added missing
11480           functionlity, events, and properties
11481
11482 2004-07-19 10:49  jordi
11483
11484         * Control.cs: fixes SetBounds logic
11485
11486 2004-07-19 01:29  jordi
11487
11488         * Control.cs: Call RefreshWindow only if the window has created
11489
11490 2004-07-15 14:05  pbartok
11491
11492         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
11493           - Implemented ImageList and ImageList.ImageCollection classes
11494           - Added ColorDepth enumeration
11495           - Updated SWF VS.Net project
11496
11497 2004-07-15 11:06  jordi
11498
11499         * XplatUIStructs.cs: added MsgButons enum
11500
11501 2004-07-15 11:03  jordi
11502
11503         * Control.cs: added basic mouse handeling events
11504
11505 2004-07-15 03:38  jordi
11506
11507         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
11508           Vertical TrackBar control implementation
11509
11510 2004-07-13 09:33  jordi
11511
11512         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
11513
11514 2004-07-13 09:31  jordi
11515
11516         * Control.cs, Form.cs: commit: new properties and fixes form size
11517           problems
11518
11519 2004-07-09 14:13  miguel
11520
11521         * ProgressBar.cs: Spelling
11522
11523 2004-07-09 11:25  pbartok
11524
11525         * ProgressBar.cs:
11526           - Removed usage of Rectangle for drawing. Miguel pointed out it's
11527           faster
11528
11529 2004-07-09 11:17  miguel
11530
11531         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
11532
11533                 * ProgressBar.cs: Fixed spelling for `block'
11534
11535                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
11536                 style guidelines.
11537
11538                 Avoid using the += on rect.X, that exposed a bug in the compiler.
11539
11540 2004-07-08 23:21  pbartok
11541
11542         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
11543           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
11544           BaseCollection.cs, Binding.cs, BindingContext.cs,
11545           BindingMemberInfo.cs, BindingsCollection.cs,
11546           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
11547           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
11548           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
11549           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
11550           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
11551           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
11552           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
11553           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
11554           FrameStyle.cs, GiveFeedbackEventArgs.cs,
11555           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
11556           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
11557           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
11558           InputLanguageChangedEventArgs.cs,
11559           InputLanguageChangedEventHandler.cs,
11560           InputLanguageChangingEventArgs.cs,
11561           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
11562           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
11563           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
11564           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
11565           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
11566           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
11567           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
11568           QueryAccessibilityHelpEventArgs.cs,
11569           QueryAccessibilityHelpEventHandler.cs,
11570           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
11571           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
11572           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
11573           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
11574           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
11575           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
11576           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
11577           XplatUIX11.cs, lang.cs:
11578           - Initial check-in
11579