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