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