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