2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
1 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com> 
2
3         * Control.cs (PaintControlBackground): Set the graphics object
4           on our PaintEvent to null to prevent it from being disposed
5           when the PaintEvent gets disposed
6
7 2006-04-12  Alexander Olk  <alex.olk@googlemail.com>
8
9         * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
10
11 2006-04-12  Peter Dennis Bartok  <pbartok@novell.com>
12
13         * Control.cs: 
14           - Added transparency check to BackColor property. Transparent
15             backgrounds are only allowed if the control styles permit it
16           - Added recursive painting of parent control background and
17             foreground if a control with a transparent backcolor is drawn
18             (Thanks to Tim Ringenback for providing his 'hack' as a base
19              for this patch) Fixes #77985 and #78026.
20           - Added Opaque style check before calling OnPaintBackground, no
21             need to draw the background if the control is opaque
22           - Removed ControlAccessibleObject owner variable (inherited from
23             base, no need to define again)
24           - Added some documentation links explaining the drawing events
25             and styles
26
27 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
28
29         * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
30           that the affected control is the located at the left border of our
31           parent (Fixes #77936)
32
33 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
34
35         * TextBoxBase.cs: When rendering disabled or readonly controls,
36           draw the background with 'Control' instead of 'Window' color as
37           long as the user hasn't specifically set a color
38
39 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com> 
40
41         * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
42           since that won't be updated if the user types text (only if it's
43           programatically set)
44
45 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
46
47         * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
48           layout changes do to app-triggered resizes will have the proper
49           display rectangle for layout
50
51 2006-04-11  Alexander Olk  <alex.olk@googlemail.com>
52
53         * ThemeWin32Classic.cs:
54           - Make use of the SystemBrushes and SystemPens wherever possible
55           - Corrected some highlight colors
56           - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
57             drawing
58         * Theme.cs: Added Empty field to CPColor struct
59
60 2006-04-11  Peter Dennis Bartok  <pbartok@novell.com>
61
62         * ScrollabeControl.cs: We need to consider whether or not a scrollbar
63           is displayed when calculating the display rectangle. Thanks to Mike
64           for teaching me the err of my ways.
65
66 2006-04-10  Peter Dennis Bartok  <pbartok@novell.com>
67
68         * ScrollableControl.cs:
69           - Rewrote DisplayRectangle code, now returning the proper x/y coords 
70             (instead of 0,0) and we now return the real width/height instead of
71             just the clientrectangle, adjusted for padding. The rectangle is
72             now cached and created by the new CalculateDisplayRectangle method.
73           - Created new CalculateDisplayRectange method, which basically does
74             what get_DisplayRectangle() did originally, but now using the 
75             right edge instead of DisplayRectangle to determine the size of
76             our scrollbars
77           - get_Canvas(): Fixed it to properly calculate canvas for 
78             right/bottom controls which seem to be placed to the right/bottom
79             of any controls that have a fixed location
80           - Removed TODO that's taken care of
81           - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
82             and SetDisplayRectLocation according to new MSDN2 docs
83           - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
84             event when that is called, this is added for compatibility
85           - ScrollControlIntoView(): Implemented.
86           - Switched scrollbars to be implicit, they shouldn't be selectable
87         * ContainerControl: Now that ScrollControlIntoView is implemented, we 
88           call it when the active control is set/changed
89         * ScrollBar.cs: Added support for generating Win32 scrollbar messages
90         * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
91           implicit_control variable (used for native Win32 message generation)
92         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
93           HorizontalScrollBarHeight and VerticalScrollBarWidth properties
94         * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
95         * XplatUIStructs.cs: Added ScrollBarCommands enum
96
97 2006-04-10  Jackson Harper  <jackson@ximian.com>
98
99         * ButtonBase.cs:
100         * CheckedListBox.cs:
101         * ComboBox.cs:
102         * DataGrid.cs:
103         * DataGridView.cs:
104         * Form.cs:
105         * GroupBox.cs:
106         * ListBox.cs:
107         * PrintPreviewControl.cs:
108         * ProgressBar.cs:
109         * PropertyGrid.cs:
110         * Splitter.cs:
111         * StatusBar.cs:
112         * TrackBar.cs:
113         * UpDownBase.cs: Fixup base event overrides.
114         
115 2006-04-06  Mike Kestner  <mkestner@novell.com>
116
117         * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
118         all user-initiated value changes to min <= value <= max-thumbsz+1.
119         (set_Value): check for vert/horiz when calculating new thumb position.
120         (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
121         like MS does.
122         (OnMouseMoveSB): refactor the thumb dragging code and refine
123         invalidation logic to reduce flicker.
124         (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
125         (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
126         (UpdateThumbPosition): small code readability cleanup
127
128 2006-04-10  Alexander Olk  <alex.olk@googlemail.com>
129
130         * ThemeNice.cs: Small UI polishing. Draw borders a little bit
131           different
132
133 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
134
135         * ThemeNice.cs: Use a better graphics effect when a button is pressed
136
137 2006-04-08  Alexander Olk  <alex.olk@googlemail.com>
138
139         * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
140         * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
141           This dramatically reduces the number of Pen.Dispose calls. 
142           Where possible call ResPool methods only once instead of calling it
143           over and over again (for example for the same color).
144
145 2006-04-06  Mike Kestner  <mkestner@novell.com>
146
147         * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
148         Also remove an unused private field on the collection. Fixes #77972.
149
150 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
151
152         * ThemeNice.cs: Added ToolBar drawing code
153
154 2006-04-06  Mike Kestner  <mkestner@novell.com>
155
156         * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
157         I'm assuming that means we need to look up the toplevel for the
158         provided control. Fixes the crash trace in #77911 but exposes another
159         crash in some strange reflection usage in NDocGui.
160
161 2006-04-06  Alexander Olk  <alex.olk@googlemail.com>
162
163         * ThemeNice.cs: Gave it a little silver touch and added Images
164           method
165         * FontDialog.cs: FontDialog is not resizable
166         * FileDialg.cs: Added SizeGripStyle.Show
167
168 2006-04-05  Jackson Harper  <jackson@ximian.com>
169
170         * KeyboardLayouts.cs: Remove warning.
171
172 2006-04-05  Jackson Harper  <jackson@ximian.com>
173
174         * Control.cs: Enable OnPaintInternal so we can use it for drawing
175         all of our controls instead of Paint +=.
176         * ListBox.cs:
177         * ListView.cs:
178         * MenuAPI.cs:
179         * MessageBox.cs:
180         * NotifyIcon.cs:
181         * ProgressBar.cs:
182         * ScrollBar.cs:
183         * Splitter.cs:
184         * StatusBar.cs:
185         * TabControl.cs:
186         * TextBoxBase.cs:
187         * ToolBar.cs:
188         * TrackBar.cs:
189         * UpDownBase.cs:
190         * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
191         use OnPaintInternal. Remove Width/Height and Visible checks in
192         paint handler, this is done at a higher level now.
193         * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
194         * PaintEventArgs.cs: Add a handled flag so controls that don't
195         want anymore painting after OnPaintInternal can make sure OnPaint
196         isn't called.
197
198 2006-04-05  Mike Kestner  <mkestner@novell.com>
199
200         * Form.cs: fix the menu WndProc hacks to respect the native enabled
201         state of the form, so that we don't process events when Modal dialogs
202         are up. Fixes #77922.
203
204 2006-04-05  Alexander Olk  <alex.olk@googlemail.com>
205
206         * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
207           checking is done.
208
209 2006-04-05  Mike Kestner  <mkestner@novell.com>
210
211         * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
212
213 2006-04-05  Mike Kestner  <mkestner@novell.com>
214
215         * ListView.cs (HeaderMouseMove): null guarding for the over column
216         when setting up the drag_to_index.  Fixes #78015.
217
218 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>
219
220         * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
221           in the taskbar. Transient windows seem to accomplish that.
222
223 2006-04-04  Peter Dennis Bartok  <pbartok@novell.com> 
224
225         * Form.cs:
226           - Re-enabled CreateParams.X/Y code for FormStartPosition
227           - Added code for manual placement when creating the Control
228           - Incomplete patch to treat MDI forms differently when
229             setting the ClientSizeCore. (Still need to figure out handling
230             x/y coords there)
231         * XplatUIX11.cs:
232           - When we're explicitly setting the X/Y position of a non-Child
233             window, let the WM know. Metacity really wants this.
234
235 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
236
237         * ThemeNice.cs: Added CPDrawButton
238
239 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
240
241         * ThemeNice.cs: Changed the color for focused buttons and activated
242           the arrows for small scroll buttons.
243
244 2006-04-04  Alexander Olk  <alex.olk@googlemail.com>
245
246         * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
247           anymore. Changed some method modifiers to protected (virtual)
248         * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
249           changes
250         * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
251           Updated drawing of menus, buttons and progressbars; added
252           CPDrawBorder3D 
253
254 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255
256         * ImageListStreamer.cs: implemented serialization/deserialization
257         of the images.
258
259 2006-04-03  Alexander Olk  <alex.olk@googlemail.com>
260
261         * ThemeWin32Classic.cs:
262           - Removed all the DrawFrameControl stuff; CPDrawButton,
263             CPDrawCheckBox and CPDrawRadioButton are now handled directly
264             inside the methods
265           - Updated and corrected the drawing code of CPDrawButton,
266             CPDrawCheckBox and CPDrawRadioButton to better match ms
267           - Updated theme checkbox and radiobutton code to use the CP*
268             methods
269
270 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
271
272         * XplatUIX11.cs: Enable clipping again now that the libgdiplus
273           bug is fixed
274
275 2006-03-31  Jackson Harper  <jackson@ximian.com>
276
277         * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
278         sometimes.
279         * UpDownBase.cs: Don't CreateGraphics manually, use a
280         Refresh. Ideally we would invalidate the correct areas here.
281
282 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com> 
283
284         * XplatUIX11.cs: 
285           - We now track the mapping state of windows. If a window (or 
286             one of it's parents) is not mapped we no longer permit
287             WM_PAINT messages to be generated since we'd otherwise get 
288             lots of BadMatch X errors. Jackson did all the work figuring
289             out the problem.
290           - Destroying the caret if the window it's contained in is 
291             destroyed. Can't use regular DestroyCaret method since it
292             might fall into a drawing function (trying to remove the
293             caret) and with that generate new BadMatch errors. Again,
294             Jackson tracked this down.
295           - Changed DestroyChildWindows to SendWMDestroyMessages, we now
296             make sure we send the messages to all windows. (The old code
297             would send the WM_DESTROY to the window, and then all child
298             windows would be 'gone' because the WM_DESTROY handle lookup
299             would no longer find the destroyed window)
300         * Hwnd.cs: Added Mapping property to track mapping state of hwnd
301         * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
302
303 2006-03-31  Jackson Harper  <jackson@ximian.com>
304
305         * ScrollableControl.cs: Dont recalc if we are not visible.
306
307 2006-03-31  Mike Kestner  <mkestner@novell.com>
308
309         * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
310         the visibility branch.
311
312 2006-03-31  Jackson Harper  <jackson@ximian.com>
313
314         * ScrollBar.cs: Cap values when incrementing/decrementing.
315
316 2006-03-31  Mike Kestner  <mkestner@novell.com>
317
318         * MenuAPI.cs: setup menu.tracker for popup/context menus.
319         * ToolTip.cs: guard against timer expirations with no active control.
320         Not sure why it happened.
321
322 2006-03-31  Mike Kestner  <mkestner@novell.com>
323
324         * ThemeWin32Classic.cs: add some horizontal padding space for the tip
325         text.
326         * ToolTip.cs: Position the tooltip based on where the cursor is at
327         popup time, not at MouseEnter time.  Add a Down state so that we don't
328         redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
329         positioning offset. Lookup DisplaySize at positioning time, since it
330         can theoretically change during invocation.
331         * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
332         * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
333
334 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
335
336         * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
337           Fixes behaviour when the Text property of the box is String.Empty
338
339 2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>
340
341         * XplatUIX11.cs: Only send mouseleave for our client windows, not
342           for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
343           a window)
344
345 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
346
347         * FileDialog.cs: Visual enhancement for the popup buttons in 
348           PopupButtonPanel
349
350 2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
351
352         * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
353           code
354
355 2006-03-30  Alexander Olk  <alex.olk@googlemail.com>
356
357         * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
358           highlighted menu items to match ms
359
360 2006-03-30  Peter Dennis Bartok  <pbartok@novell.com> 
361
362         * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
363
364 2006-03-30  Mike Kestner  <mkestner@novell.com>
365
366         * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
367         * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
368         go active to account for HotLight to Selected transition.
369         * MenuItem.cs: add internal Selected prop. Fill out the Status
370         property by calculating it from item info. Add HotLight,
371         NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
372
373 2006-03-30  Mike Kestner  <mkestner@novell.com>
374
375         * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
376
377 2006-03-29  Jackson Harper  <jackson@ximian.com>
378
379         * Form.cs: Implement TODO.
380
381 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com> 
382
383         * PrintPreviewDialog.cs: Implemented missing methods and events; still
384           missing proper dialog setup in the constructor
385
386 2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>
387
388         * ProgressBar.cs: Added 2.0 Style property that apps seem to use
389         * Control.cs:
390           - Implemented CheckForIllegalCrossThreadCalls, removed TODO
391           - Fixed ResetBindings and removed TODO
392           - Added check for cross-thread calls to get_Handle()
393           - Added Marshaller attribute for set_Font to satisfy class status
394         * FontDialog.cs: Removed TODOs that seemed implemented
395         * UpDownBase.cs: Removed unneeded TODO and Fixme
396         * MessageBox.cs: Implemented support for Default button and removed TODO
397         * FileDialog.cs: Removed obsolete TODO
398         * DomainUpDown.cs: Removed obsolete TODO
399         * ButtonBase.cs: Removed obsolete TODO
400         * XplatUIWin32.cs: Removed obsolete TODO
401         * Form.cs:
402           - Removed obsolete TODO
403           - Calling CheckAcceptButton when the acceptbutton is changed to allow
404             internal status updates
405           - Making sure the active control is selected when the control is created
406         * CurrencyManager.cs: Removed obsolete TODO
407
408 2006-03-29  Mike Kestner  <mkestner@novell.com>
409
410         * *.cs: fix remaining corcompare issues for 1.1 API with the exception
411         of PrintPreviewDialog and RichTextBox.
412
413 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
414
415         * Theme.cs: Added a little helper to SystemResPool to get the Dark,
416           DarkDark, Light and LightLight colors for a specific color
417         * ThemeWin32Classic.cs:
418           - Use Button drawing code to draw RadioButtons and CheckBoxes with
419             Appearance = Button 
420           - Make use of the new ResPool helper CPColor
421           - Draw ProgressBar and StatusBar with correct 3D borders
422
423 2006-03-29  Alexander Olk  <alex.olk@googlemail.com>
424
425         * ColorDialog.cs: Return selected color. Fixes bug #77940.
426
427 2006-03-28  Mike Kestner  <mkestner@novell.com>
428
429         * ListView.cs: fix Icon layout to plan for scrollbar widths when
430         calculating col/row counts.
431
432 2006-03-28  Mike Kestner  <mkestner@novell.com>
433
434         * ColumnHeader.cs:
435         * ListView.cs:
436         * ListViewItem.cs:
437         * Menu.cs: 
438         switch to explicit interface method implementation for some methods
439         corcompare identifies as inconsistent with MS.
440
441 2006-03-28  Mike Kestner  <mkestner@novell.com>
442
443         * MainMenu.cs: 
444         * Menu.cs:
445         add a few missing methods from the class status output.
446
447 2006-03-28  Alexander Olk  <alex.olk@googlemail.com>
448
449         * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
450           correct.
451
452 2006-03-28  Mike Kestner  <mkestner@novell.com>
453
454         * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
455
456 2006-03-27  Mike Kestner  <mkestner@novell.com>
457
458         * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
459         the Hilight state to adapt to Alex's CPDrawBorder3D changes.
460
461 2006-03-27  Alexander Olk  <alex.olk@googlemail.com>
462
463         * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
464
465 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
466
467         * ThemeWin32Classic.cs:
468           - GroupBox: Inserted a little gap between the text and the lines
469             on the right side
470           - Made the code in CPDrawBorder3D more readable
471           - Corrected the drawing location of the up and down arrows in 
472             CPDrawScrollButton
473
474 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
475
476         * ControlPaint.cs: Corrected line widths in DrawBorder for
477           ButtonBorderStyle Inset and Outset
478
479 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
480
481         * ThemeWin32Classic.cs:
482           - Rewrote the totally broken CPDrawBorder3D method. That was
483             one of the main problems for the terrific ThemeWin32Classic
484             look
485           - Updated and corrected Button drawing
486           - Correct the dimensions of the SizeGrip to match ms ones
487           - Removed a small drawing glitch in DrawComboBoxEditDecorations
488         * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
489           Border3DStyle.Sunken to match ms.
490
491 2006-03-25  Alexander Olk  <alex.olk@googlemail.com>
492
493         * ThemeWin32Classic.cs: First small part of the "de-uglify
494           ThemeWin32Classic" effort, SizeGrip
495
496 2006-03-24  Jackson Harper  <jackson@ximian.com>
497
498         * XplatUIX11.cs: Give a max idle time of one second, this matches
499         MS and forces an Idle event every second when there are no other
500         events in the queue.
501
502 2006-03-24  Mike Kestner  <mkestner@novell.com>
503
504         * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
505         * ListView.Item.cs: fix layout issues with null image lists and images
506         smaller than checkbox size.
507         * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
508         mode like MS does.  It's weird, but consistent.  ;-)
509         Fixes #77890.
510
511 2006-03-24  Mike Kestner  <mkestner@novell.com>
512
513         * ListView.cs: Scroll wheel support for the item control.  Fixes
514         #77839.
515
516 2006-03-23  Jackson Harper  <jackson@ximian.com>
517
518         * ScrollableControl.cs: Special case negative sized areas, not
519         zero.
520         * MonthCalendar.cs: Save the rect of the clicked date so we can
521         use it for invalidation.
522         - Try to cut down on the number of invalidates
523         - Invalidate the rect the mouse is over and was over when moving
524         the mouse, so we get the focus box following the cursor.
525
526 2006-03-23  Mike Kestner  <mkestner@novell.com>
527
528         * ThemeWin32Classic.cs: fix FullRowSelect selection background and
529         focus rectangle drawing. Fixes #77835.
530
531 2006-03-23  Mike Kestner  <mkestner@novell.com>
532
533         * XplatUIX11.cs: rework the fix for #77828 by changing the order of
534         the if and else if and reverting back to the original == check on the
535         None conditional.
536
537 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
538
539         * FontDialog.cs: Update the example panel if the selected index of
540           the fontListBox changes.
541
542 2006-03-23  Alexander Olk  <alex.olk@googlemail.com>
543
544         * FileDialog.cs: Make FileDialog remember which directory it was in
545           last in the same execution.
546
547 2006-03-22  Mike Kestner  <mkestner@novell.com>
548
549         * FileDialog.cs: make the DropDownMenu on the toolbar display
550         RadioChecks since they are mutually exclusive and that's what MS does.
551
552 2006-03-22  Mike Kestner  <mkestner@novell.com>
553
554         * Theme.cs: add Color param to CPDrawMenuGlyph.
555         * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
556         checks and radio marks and arrows are visible on highlighted items.
557         * ControlPaint.cs: update to use new Theme signature.
558
559 2006-03-22  Mike Kestner  <mkestner@novell.com>
560
561         * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
562         is active. Fixes #77870.
563
564 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
565
566         * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
567           to be focused/selected after startup
568
569 2006-03-22  Alexander Olk  <alex.olk@googlemail.com>
570
571         * ColorDialog.cs: 
572           - Corrected behaviour of Color, AllowFullOpen, FullOpen,
573             CustomColors and ShowHelp properties
574           - Some internal rewrites to get better results when using the
575             ColorMatrix
576
577 2006-03-22  Mike Kestner  <mkestner@novell.com>
578
579         * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
580         HoverSelection.  Fixes #77836.
581
582 2006-03-22  Mike Kestner  <mkestner@novell.com>
583
584         * FileDialog.cs: bugfixes for the toolbar.  Use PushButtons instead of
585         ToggleButtons.  (De)Sensitize the Back button around a stack count of
586         1, not 0.  Update ButtonSize based on a pixel count of the win32
587         control.  Adjust the toolbar size/location for new button size.
588
589 2006-03-22  Jackson Harper  <jackson@ximian.com>
590
591         * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
592         true.
593         * ScrollBar.cs: When doing increments and decrements we need to
594         set the Value property so that ValueChanged gets raised. A
595         possible optimization here would be to make an internal SetValue
596         that doesn't invalidate immediately.
597         * ToolTip.cs: Tooltips get added to their container (when
598         supplied) so they get disposed when the container is disposed.
599         - Don't create tooltips for String.Empty. This prevents all these
600         little 2-3 pixel windows from showing up when running nunit-gui
601         and driving me mad.
602         * Form.cs: Don't set topmost when setting the owner if the handles
603         haven't been created yet.  The topmost set will happen when the
604         handles are created.
605
606 2006-03-22  Peter Dennis Bartok  <pbartok@novell.com> 
607
608         * XplatUIX11.cs:
609           - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
610           - SetVisible: Sending WINDOWPOSCHANGED for all controls when made 
611             visible (to allow them to recalculate their sizes)
612
613 2006-03-21  Mike Kestner  <mkestner@novell.com>
614
615         * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
616         methods. Removed a ton of redundant code.  Still not really happy with
617         the border rendering, but I think that's mainly because of the
618         ControlDarkDark being black instead of a dark grey. Depending on how 
619         close we want to be, we might want to revisit those color choices.
620         Among the new features added during the refactor were DropDownArrow
621         pressed rendering, Disabled image rendering.  Proper flat appearance
622         boundary rendering.  Removed the Divider and Wrapping dividers since I
623         can't figure out any combination of themes and conditions to make the
624         MS control draw a horizontal line on a toolbar despite what the
625         Divider property docs indicate.
626         * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
627         conditions and incorrect layout.  Updated to coding standard.
628         * ToolBarButton.cs: refactored layout and positioning code from
629         ToolBar to here.  Invalidate wherever possible instead of forcing
630         redraws of the whole toolbar. 
631         (Known remaining issues: explicit ButtonSize smaller than provided
632         images.)
633
634 2006-03-21  Mike Kestner  <mkestner@novell.com>
635
636         * ContextMenu.cs (Show): use the position parameter instead of just
637         showing at the MousePosition.
638
639 2006-03-21  Jackson Harper  <jackson@ximian.com>
640
641         * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
642         control handle this.
643         * TreeNodeCollection.cs: If we are clearing the root node we need
644         to reset top_node so calcs can still happen.
645         * ThemeWin32Classic.cs: This is a Flags so we need to check
646         properly.
647         
648 2006-03-21  Jackson Harper  <jackson@ximian.com>
649
650         * DataGrid.cs: Create columns when the binding context has been
651         changed.
652         * X11Structs.cs: Keysyms are uints.
653         - Add size to fix build.
654
655 2006-03-21  Peter Dennis Bartok  <pbartok@novell.com> 
656
657         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
658           XplatUIOSX.cs: 
659           - Added ResetMouseHover method to allow controls to retrigger
660             hovering if they need it more than once
661           - Implemented MouseHoverTime and MouseHoverSize properties
662         * Timer.cs: Start() must reset the interval
663         * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
664           properties
665
666 2006-03-21  Jackson Harper  <jackson@ximian.com>
667
668         * X11Keyboard.cs: improved layout detection. Move the nonchar
669         tables into this file.
670         * KeyboardLayouts.cs: Move the tables into resource files.
671
672 2006-03-21  Mike Kestner  <mkestner@novell.com>
673
674         * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
675
676 2006-03-21  Alexander Olk  <alex.olk@googlemail.com>
677
678         * Mime.cs: Various speed optimizations. Looking up mime types
679           is now 2 times faster than before
680
681 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com> 
682
683         * CreateParams.cs: Added internal menu field
684         * Control.cs: 
685           - Switched call order for UpdateBounds; now we always call
686             the one that also takes ClientSize, and we're calculating the 
687             client size via driver method in the others. The previous
688             method of tracking client size by difference wasn't working
689             for forms where even the starting client size wouldn't match
690             the overall form size (due to borders) (Part of fix for #77729)
691           - CreateParams(): Do not use parent.Handle unless the handle is
692             already created. Causes havoc with Nexxia and throws off our
693             creation of controls
694         * XplatUIX11.cs:
695           - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
696           - Switched handling of ConfigureNotify over to new PerformNCCalc 
697             method (consolidates code)
698           - Changed RequestNCRecalc to use new PerformNCCalc method
699           - Added calls to RequestNCRecalc when menus and borders are changed
700             to allow app to set NC size. (Part of fix for #77729) This matches
701             when MS send a WM_NCRECALC on Win32 windows.
702           - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
703             (Part of fix for #77729). This matches what MS does, they also
704             send that message when the form is made visible.
705           - XException.GetMessage: Improved usability of X errors by including
706             a translation of the window into Hwnd and Control class
707           - Improved debug info for window creation, reparenting and destruction
708           - Created helper method WindowIsMapped() [Currently not used]
709         * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
710         * Form.cs:
711           - CreateParams: Now setting our menu on the new internal menu field
712           - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
713             avoid calculating the same property twice
714         * Hwnd.cs:
715           - Improved usability of ToString() for debugging purposes
716           - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
717             determine the height of the menu, instead of just the font. This
718             required to also create a graphics context and to keep a bmp 
719             around (for performance reasons)
720
721 2006-03-17  Peter Dennis Bartok  <pbartok@novell.com>
722
723         * MenuAPI.cs: Added OnMouseUp method
724         * Form.cs:
725           - Now remembering the requested client size, avoids size errors
726           - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
727             instead of base if the menu is active. This is required due to
728             control now capturing and releasing on down/up and it would
729             prematurely release our menu capture
730
731 2006-03-17  Jackson Harper  <jackson@ximian.com>
732
733         * KeyboardLayouts.cs: Add the czech layouts.
734
735 2006-03-16  Jackson Harper  <jackson@ximian.com>
736
737         * Control.cs: Use the viewport space when sizing not the controls
738         client size, so things like ScrollableControl that effect the
739         viewport size (when scrollbars are added) are computed correctly.
740         * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
741         of ManagerEntrys.
742         - Handle creating BindingManagers for null data sources.
743         * DataGrid.cs: Bind the cached_currencymgr_events to the real data
744         source, otherwise when rows are added they are added to the 'fake'
745         datasource and we will crash when trying to set the position in
746         those rows.
747         - Use Implicit scrollbars on the datagrid so they arent
748         selectable.
749         
750 2006-03-16  Jackson Harper  <jackson@ximian.com>
751
752         * Binding.cs:
753         * InternalWindowManager.cs:
754         * MdiWindowManager.cs:
755         * X11Keyboard.cs: I really want Mike to love me again (fix
756         compiler warnings).
757
758 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com>
759
760         * DataGrid.cs:
761           - OnMouseDown: Switch to editing mode when clicking on the cell
762                          even if we're clicking on the cell that's currently 
763                          selected
764           - ProcessGridKey: Left/Right now wrap like MS.Net does
765           - ProcessGridKey: Tab now knows to add a new row when tab is
766                             pressed in the cell of the last column of the 
767                             last row
768           - ProcessGridKey: Enter now adds another row  if pressed in the last
769                             row and selectes the new row, same column cell
770           - ProcessGridKey: Home/End navigate columns, not rows, like 
771                             originally implemented
772           - Broke ProcessKeyPreview code out into an extra Internal method
773             so it can be called from the edit code
774         * DataGridTextBox.cs (ProcessKeyMessage):
775           - Switched to accept Tab keypresses
776           - Added F2 handling to allow jumping to the end of the edited cell
777           - Added logic to allow moving caret left/right inside edited cell
778             and making the edited cell jump when the caret hits cell borders
779           - Tab and Enter are now passed to the datagrid after being handled
780         * TextBoxBase.cs:
781           - Removed capture code now that Control handles it
782           - set_SelectionStart now ensures caret is visible
783
784 2006-03-16  Jackson Harper  <jackson@ximian.com>
785
786         * TrackBar.cs: Debackwards the increment/decrement for handling
787         mouse clicks on the bar with vertical trackbars.
788         * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
789         bottom to match MS.
790
791 2006-03-16  Mike Kestner  <mkestner@novell.com>
792
793         * ListView.cs: make shift/ctrl keyboard and mouse selection 
794         consistent with the MS control. Fix a bug in
795         SelectedListViewItemCollection.Clear that was pissing me off for the
796         better part of a day because the collection was being altered
797         underneath us as we walked the list.
798
799 2006-03-16  Peter Dennis Bartok  <pbartok@novell.com> 
800
801         * Control.cs: Not sure how we could miss this so long, but it seems
802           that MS.Net has Capture set all the way from before calling 
803           OnMouseDown through sending the mouse events until after
804           OnMouseUp. This will fix DataGrid's selection being set to end
805           at the location of the MouseUp.
806
807 2006-03-15  Jackson Harper  <jackson@ximian.com>
808
809         * BindingContext.cs: Check the binding after its added so that it
810           can initialize the binding managers and hookup to events.
811         * Binding.cs: Data members seem to sometimes include rows/cols in
812           the format Row.Column we now take this into account.
813           - Hookup to the position changed event so we can update the
814           control when the position has changed in the data set.
815         * CurrencyManager.cs: Take into account the row/col naming
816           convention when creating dataset tables.
817         * BindingContext.cs: Using a newer better way of storing
818           datasource/datamember pairs.  Hopefully this better matches MS for
819           looking up binding managers.
820
821
822 2006-03-15  Jackson Harper  <jackson@ximian.com>
823
824         * BindingContext.cs: The currency manager needs the data member
825         name, if the member is a data set we use the name to find the
826         correct table.
827         * CurrencyManager.cs: When creating the list prefer an IList over
828         an IListSource.
829         - Attempt to create a DataTable from a DataSet (TODO: might need
830         some better error checking here, although MS doesn't seem to have much)
831         - If we have a DataTable create a view and use it as our list.
832
833 2006-03-15  Mike Kestner  <mkestner@novell.com>
834
835         * ListView.cs: keep a matrix of the icon mode layout to facilitate
836         keyboard navigation. Support Up/Down/Left/Right selection correctly
837         for all 4 View modes.
838         * ListViewItem.cs: add internal row/col fields for icon layouts.
839
840 2006-03-15  Jackson Harper  <jackson@ximian.com>
841
842         * TabControl.cs: Redraw the tabs when we resize so their newly
843         calculated sizes are drawn on screen.
844         * X11Keyboard.cs: Begginnings of XIM support.  We also now support
845         composite characters.
846         * XplatUIX11.cs: Keyboard driver needs to know about focus changes
847         - filter events so that composite characters can be created
848         patches by peter
849         * X11Structs.cs: Add XIMProperties enum.
850
851 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
852
853         * Control.cs (BringToFront, SendToBack): Don't use window or handle
854           unless it's created
855
856 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
857
858         * Control.cs (PerformLayout): We don't need to consider visiblity
859           for anchoring, only for docking. This fixes 'whacky' alignment
860           in listbox and other controls that use implicit scrollbars after
861           the previous PerformLayout patch
862         * ListBox.cs: Switched to use implicit scrollbars
863           
864 2006-03-14  Mike Kestner  <mkestner@novell.com>
865
866         * ToolBar.cs: 
867         * VScrollBar.cs:
868         - chain up the "new event" overrides to base and use
869         OnEvent to raise them.  Part of fix for bug #76509.
870
871 2006-03-14  Alexander Olk  <alex.olk@googlemail.com>
872
873         * FileDialog.cs: Do not select an item in the parent directory
874           on backspace
875
876 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com> 
877
878         * Control.cs (PerformLayout): It would seem that we considered
879           invisible windows for our layout. Not quite the right thing
880           to do. Now we don't any longer, thereby fixing bug #76889.
881
882 2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>
883
884         * Control.cs (CanFocus): I goofed. A control can have focus 
885           even though it's not selectable. Made it match MS docs.
886
887 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
888
889         * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
890           center by default (fixes #76895)
891         * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced 
892           all uses of Border3DSides.All with the explicit ORd together
893           Left|Right|Top|Bottom because I assume that nobody was aware 
894           that All also implies a center fill. Most places I checked had
895           a fill right above.
896         * ProgressBarStyle.cs: Added
897
898 2006-03-13  Mike Kestner  <mkestner@novell.com>
899
900         * ListView.cs: fix breakage in drag shadow header positioning 
901         from Peter's csc compilation fix.
902
903 2006-03-13  Mike Kestner  <mkestner@novell.com>
904
905         * ListView.cs: fix NRE produced by backspacing twice in a focused
906         FileDialog.
907
908 2006-03-13  Mike Kestner  <mkestner@novell.com>
909
910         * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
911
912 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
913
914         * Hwnd.cs: Added fixed_size field to track windows whose size cannot
915           be changed
916         * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
917           the allowed size before making programmatic size changes
918
919 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com> 
920
921         * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are 
922           set, metacity is broken and will still use the emty sizes in 
923           the struct. (Fix for #77089)
924
925 2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>
926
927         * XplatUIStructs.cs: Split WindowStyles into WindowStyles and 
928           WindowExStyles and marked both enums as Flags
929         * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
930           NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
931           to match WindowStyles split
932         * XplatUIX11.cs:
933           - SetWMStyles: Added cehck to not apply WM attributes to Child windows
934           - Updated to match WindowStyles split
935         * XplatUIWin32.cs:
936           - Fixed FosterParent creation, was using ExStyle on the Style field
937             (This should help with Popup focus issues)
938           - Updated to match WindowStyles split
939
940 2006-03-13  Jackson Harper  <jackson@ximian.com>
941
942         * MdiWindowManager.cs: Use the system menu height. Fixes some
943         strange sizing issues.
944
945 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
946
947         * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
948         * TextBoxBase.cs:
949           - Scroll to caret after inserting text (#77672)
950           - Make scroll range one pixel higher, fixes off-by-one error (and
951             makes underlines visible on the last line)
952
953 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com> 
954
955         * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
956           the keyboard state from being stuck with keys in 'pressed' state when
957           focus is switched away via keyboard
958         * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
959           reset the keyboard if no X11 KeyUp events are expected to come
960         * X11Structs.cs: Switched type of Visible to bool to match driver
961
962 2006-03-12  Peter Dennis Bartok  <pbartok@novell.com>
963
964         * TextControl.cs:
965           - Switched caret to be just 1 pixel wide, matches MS and looks less
966             clunky
967           - Moved caret display 1 pixel down from the top of the control
968             to improve view
969           - InsertCharAtCharet: Update the selection start if moving the caret
970             (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
971           - No longer always creating the caret when the caret methods are
972             called. Only the actual ShowCaret/HideCaret will do that now
973           - Only setting caret visible if the owner control has focus
974           - UpdateView: Added invalidation-shortcut logic for center and right 
975             aligned text. Previously we'd update all according to the left
976             logic which caused drawing errors. Also fixed height of invalidated
977             areas, now properly invalidating the whole area (was off-by-one)
978           - owner_HandleCreated: Always generate the document when the
979             handle is created; this ensures that 
980         * TextBoxBase.cs:
981           - Fixed situation where caret would disappear under the right
982             window border, also improved scrolling behaviour on left-
983             aligned textboxes
984           - Fixed right-aligned textboxes to have a border to the
985             right instead of the caret being under the right border
986         * XplatUIX11.cs:
987           - Switched from 'nested' to simple visible/not visible tracking 
988             for caret (part of fix for #77671)
989           - No longer passing through translated FocusIn/FocusOut messages
990             since we were notifying too often and the wrong windows. Instead
991             we just notify our focussed window of receiving or loosing focus
992         * XplatUIWin32.cs: Switched from 'nested' show/hide 
993           counting for caret to simple visible yes/no behaviour (part of 
994           fix for #77671)
995
996 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
997
998         * Mime.cs: Remove debug code...
999
1000 2006-03-11  Alexander Olk  <alex.olk@googlemail.com>
1001
1002         * MimeGenerated.cs: Removed
1003         * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1004           and subclasses) from /usr/(local/)share/mime and
1005           $HOME/.local/share/mime.
1006
1007 2006-03-10  Jackson Harper  <jackson@ximian.com>
1008
1009         * MdiWindowManager.cs: Recalc the NC area when a window is
1010         maximized/restored so that the menu area is drawn on forms that
1011         don't have a menu.
1012
1013 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1014
1015         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1016           XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1017           us to force a WM_NCCALCRESIZE message being sent. This is needed
1018           for MDI maximizing.
1019
1020 2006-03-10  Jackson Harper  <jackson@ximian.com>
1021
1022         * Form.cs: We need to use the ActiveMenu when calculating menu
1023         height.
1024         - Fix nullref when the window manager hasn't been created yet.
1025         * Control.cs: Fix nullref when we try to bring a control to the
1026         front that has no parent.
1027         * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1028         height.
1029         - Add a dummy item to the maximized menu so it always has the
1030         correct height. Otherwise when there are no menus we don't get our
1031         icon and buttons.
1032         
1033
1034 2006-03-10  Jackson Harper  <jackson@ximian.com>
1035
1036         * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1037         stuff.
1038         * Form.cs: Make the window_state internal so the window managers
1039         can track it.
1040         - When an MDI child is maximized let its window manager create the
1041         main menu (so it can add its icon).
1042         - Notify the window managers of state changes
1043         - Let the window manager paint its buttons and handle button
1044         clicks on the menu when it is maximized.
1045         * InternalWindowManager.cs: Move the prev_bounds into the mdi
1046         window manager, since tool windows don't use it, only mdi windows.
1047         - Tell the main form that we don't want it to handle NCPAINT
1048         itself to avoid extra painting.
1049         - Handle clicks on a maximized windows menu.
1050         - Handle window state changes
1051         - Handle minimize/maximize clicks correctly by setting the window state.
1052         * MdiWindowManager.cs: Add an icon menu that (the menu you get
1053         when clicking on the forms icon).
1054         - New method to create a forms maximized menu. This is its normal
1055         menu + an icon.
1056         - Handle window state changes.
1057         - Handle sizing of maximized windows.  Maximized windows are just
1058         drawn bigger then the parent visible area. All controls are still
1059         there, they are just outside the visible area (this matches windows).
1060         * MdiClient.cs: No scrollbars when a child window is maximized.
1061         - Let the children windows figure out how big they should be when
1062         sizing maximized windows.
1063         - Implement a version of ArrangeIconicWindows somewhat similar to
1064         Windows version.  There are some little differences, but I don't
1065         think any app will rely on the layout of minimized mdi windows.
1066
1067 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1068
1069         * Padding.cs: Several fixes to allow compiling with csc 2.0
1070
1071 2006-03-09  Jackson Harper  <jackson@ximian.com>
1072
1073         * Menu.cs:
1074         * MenuItem.cs: Cheap hack so we can add items to the list without
1075         the events being raised.  This allows adding mdi items during
1076         drawing. TODO: Should probably find a better time to add the items.
1077
1078 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1079
1080         * ThemeWin32Classic.cs:
1081           - CheckBox_DrawText: Added logic to not wrap if not enough space
1082             is available (Fix for bug #77727)
1083           - RadioButton_DrawText: Added logic not to wrap if not enough
1084             space is available (Fix for bug #77727). Also removed some
1085             duplicate code, DrawString always drawing the regular text
1086             before hitting the if statement.
1087
1088 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com> 
1089
1090         * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1091
1092 2006-03-10  Peter Dennis Bartok  <pbartok@novell.com>
1093
1094         * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1095         * ContainerControl.cs: Partial implementation of some 2.0 scaling
1096           methods. Moved the new 2.0 properties into alphabetical order with
1097           other properties and added MonoTODO tags
1098
1099 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1100
1101         * AutoScaleMode.cs: Added. Fix build.
1102
1103 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1104
1105         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs, 
1106           XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1107           and was requiring premature handle creation for calls from above
1108         * Form.cs, Control.cs: Removed handle arguments from calls to
1109           CalculateClientRect()
1110
1111 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1112
1113         * ListView.cs (HeaderMouseMove): Fix csc compilation. 
1114           drag_column.column_rect is MarshalByRef and can't be used that way
1115
1116 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1117
1118         * AxHost.cs: Added deserialization constructor for 
1119           AxHost+State (fixes 77743)
1120
1121 2006-03-09  Mike Kestner  <mkestner@novell.com>
1122
1123         * ListView.cs: 
1124         - Added column drag reordering for details view.
1125         - fixed behavior when mouse is dragged off column and
1126         AllowColumnReorder is false.
1127         * ColumnHeader.cs: clone the format too in Clone.
1128         * Theme.cs: add DrawListViewHeaderDragDetails method.
1129         * ThemeWin32Classic.cs:
1130         - impl new method for drawing drag column shadows and targets.
1131         - support column offset for details mode in DrawListViewItem.
1132
1133 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1134
1135         * TextControl.cs: Reset the char_count when the document is cleared
1136           (Fixes bug reported on mono-winforms mailing list)
1137
1138 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com> 
1139
1140         * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1141           of calling base we simply process the key ourselves, since both
1142           DefWindowProc and the handled method would set m.Result. 
1143           (Fixes #77732)
1144
1145 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
1146
1147         * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1148           method also moves the window; instead implemented a copy of
1149           Control.ScaleCore (Part of fix for #77456)
1150         * TextBoxBase.cs: 
1151           - Created new CreateGraphicsInternal method to allow providing
1152             a graphics context when no handle is created without triggering
1153             handle creation. (Part of fix for #77456)
1154           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1155         * TextControl.cs: 
1156           - Switched Constructor to require TextBoxBase instead of Control (to
1157             allow uncast access to CreateGraphicsInternal)
1158           - Safeguarded use of owner.Handle property. No longer accessing it
1159             unless the handle is already created.
1160           - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1161           - Now triggering a recalc when owning control becomes visible
1162         * TextBox.cs, RichTextBox.cs: Switched to use new internal 
1163           TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1164           premature handle creation (Part of fix for #77456)
1165         * Control.cs:
1166           - We now only destroy our double-buffering buffers when the
1167             control is resized or disposed, but not when visibility
1168             changes. (The code even re-created them twice every time)
1169           - Now requiring a redraw of the buffer on visibility changes
1170             (fixes bug 77654 part 2)
1171           - Not passing OnParentVisibleChanged up unless the control
1172             is visible
1173           - CanFocus: Fixed to match MS documentation
1174           - Focus: Fixed to return actual focus state and to check if
1175             setting focus is legal before setting it
1176
1177 2006-03-08  Peter Dennis Bartok  <pbartok@novell.com>
1178
1179         * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1180           when to draw focus rectangle by looking at parent focus and
1181           selected state instead. This fixes TabPages on Linux sometimes
1182           having none or multiple focus rectangles.
1183         * XplatUIX11.cs (SetFocus): 
1184           - Don't set the focus if the same window already has focus
1185           - Use SendMessage instead of PostMessage (like it's Win32
1186             equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1187             to match MS behaviour
1188         * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1189           are not selectable.
1190
1191 2006-03-07  Jackson Harper  <jackson@ximian.com>
1192
1193         * PictureBox.cs: Revert line I accidently committed last week.
1194
1195 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
1196
1197         * Control.cs: 
1198           - Added new IsRecreating and ParentIsRecreating properties to
1199             allow testing if RecreateHandle has been called on ourselves
1200             or one of our parents
1201           - WndProc(WM_DESTROY): If our control handle is being recreated
1202             we immediately need to create the handle when receiving the
1203             destroy, that way our child windows find a valid parent handle
1204             when they themselves are being recreated upon WM_DESTROY receipt
1205             (fix for bug #77654 part 1)
1206         * XplatUIX11.cs:
1207           - DestroyWindow: WM_DESTROY must be sent to our own window before
1208             notifying any child windows. MS documents that child windows
1209             are still valid when WM_DESTROY is received. (Control now relies on
1210             this behaviour)
1211           - Added some fine-grain debug options
1212
1213 2006-03-06  Jackson Harper  <jackson@ximian.com>
1214
1215         * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1216         box and base calculations off this.
1217         * MdiChildContext.cs:
1218         * MdiWindowManager.cs: Don't need to ensure scrollbars here
1219         anymore.
1220         
1221 2006-03-06  Peter Dennis Bartok  <pbartok@novell.com>
1222
1223         * Splitter.cs: In situations where the affected control is added
1224           to the parent's control list after the splitter, we would not
1225           populate affected. Now we try populating it on mousedown, if
1226           it's not already set, and force it to be re-set whenever our
1227           parent changes.
1228
1229 2006-03-03  Matt Hargett  <matt@use.net>
1230
1231         * Control.cs: implement Control.Padding
1232         * Padding.cs: -Padding.All returns -1 when constructing with the
1233         implicit default ctor
1234         -Padding.ToString() matches MS.NET
1235         * ContainerControl.cs: implement
1236         ContainerControl.AutoScaleDimensions
1237         * ListControl.cs: implement ListControl.FormattingEnabled
1238         * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1239         * ButtonBase.cs:
1240         * TabPage.cs: Implement UseVisualStyleBackColor.
1241         * PictureBox.cs: Implement PictureBox.InitialImage.
1242
1243 2006-03-03  Mike Kestner  <mkestner@novell.com>
1244
1245         * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1246         event declarations to proxy to base event.
1247         * ListViewItem.cs: update to use ItemControl.
1248         * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1249         * ThemeWin32Classic.cs: update to new ListView theme API and fix
1250         column header label rendering for 0 width columns.
1251
1252 2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>
1253
1254         * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1255           that causes the control to be created. Fixes #77476.
1256
1257 2006-03-02  Jackson Harper  <jackson@ximian.com>
1258
1259         * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1260         expose_pending.
1261
1262 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
1263
1264         * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1265           passed in for the EventArgs (fixes #77690)
1266
1267 2006-03-01  Jackson Harper  <jackson@ximian.com>
1268
1269         * ScrollBar.cs: Refresh afterbeing resized.
1270
1271 2006-02-28  Mike Kestner  <mkestner@novell.com>
1272
1273         * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1274         Clean up a tracker compile warning.
1275         * MenuItem.cs: add internal PerformPopup method.
1276         [Fixes #77457]
1277
1278 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1279
1280         * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1281           implicit expose) when the text is set to null
1282
1283 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>
1284
1285         * RichTextBox.cs (FlushText): When newline is true, we always
1286           need to split the line, even if no text is on it and we may
1287           never eat newlines. (Fixes #77669)
1288
1289 2006-02-28  Mike Kestner  <mkestner@novell.com>
1290
1291         * ListView.cs: Add UpdateSelection internal method. Remove SelectItem 
1292         and set Selected instead.
1293         * ListViewItem.cs: Call owner.UpdateSelection to manipulate the 
1294         collections.
1295
1296 2006-02-28  Peter Dennis Bartok  <pbartok@novell.com> 
1297
1298         * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1299
1300 2006-02-28  Alexander Olk  <alex.olk@googlemail.com>
1301
1302         * FontDialog.cs:
1303           - Got rid of the panel. All controls are now directly added to
1304             the dialog form
1305           - It is now possible to set a font with the Font property
1306           - MinSize and MaxSize property do now what they should
1307           - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1308           - Searching and selecting a font with the font textbox works now,
1309             the same applies to the style and size textbox
1310           - Draw the correct 3D border in the example panel
1311           - Fixed a little mem leak (unused fonts didn't get disposed)
1312           - Many other internal updates/rewrites...
1313           - Fix typo
1314
1315 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1316
1317         * TextControl.cs: 
1318           - InsertRTFFromStream: Added 'number of characters inserted' argument
1319           - set_SelectedRTF: Now using the number of characters to calculate
1320             the new location for the selection and cursor (x/y cannot be used
1321             due to potentially already wrapped text)
1322
1323 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>
1324
1325         * TextControl.cs: Added property and implemented means to allow 
1326           disabling recalculation of a document (can be used to speed up
1327           multiple inserts and is needed to make RTF inserts predictable, see
1328           bug #77659)
1329         * RichTextBox.cs: Using the new NoRecalc property of Document to
1330           keep x/y insert locations predictable. Also makes it faster inserting
1331           large chunks of RTF
1332
1333 2006-02-27  Peter Dennis Bartok  <pbartok@novell.com> 
1334
1335         * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1336           it's easier for a child control to handle the other messages without
1337           having to duplicate the special functionality
1338         * TextBoxBase.cs
1339           - WndProc: Removed calling base handler for WM_KEYDOWN and added 
1340             code to handle processing the key ourselves, in order to get 
1341             access to the result of KeyEventArgs.Handled. We now only call 
1342             ProcessKey if they key hasn't been handled already. Fixes #77526.
1343           - set_Text: If null or empty string is given, just clear the 
1344             document. Fixes part of #77526
1345
1346 2006-02-27  Jackson Harper  <jackson@ximian.com>
1347
1348         * SizeGrip.cs: Paint the background color before painting the grip
1349         so things look right.
1350         * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1351
1352 2006-02-27  Mike Kestner  <mkestner@novell.com>
1353
1354         * ListView.cs:
1355           - Restructure layout and invalidation model to remove a ton of
1356           flicker from the control and speed up performance in general.
1357           - Add manual column resize, flickers like crazy, but I already have
1358           some ideas on how I'll fix that. (#76822)
1359           - Merge the three Icon-based views into a single layout method.
1360           - Move item selection interaction logic from the item since 
1361           interaction with the collections is more appropriate to the view.
1362           - Deselection on non-item clicks.
1363         * ListViewItem.cs:
1364           - Encapsulate most of the layout. Add some internal props to trigger
1365           layout.  Move to a model where Items invalidate themselves instead
1366           of just invalidating the whole control every time something changes.
1367           - Invalidate on Text/Caption changes.
1368           - switch to an offset based layout model to avoid having to absolute
1369           position every element on item moves.
1370           - correct checkbox layout to conform to MS layout.
1371         * ThemeWin32Classic.cs:
1372           - refactor some column header drawing code.
1373           - fix string justification for column headers (#76821)
1374           - make SmallIcon labels top justified for compat with MS impl.
1375         * ThemeClearlooks.cs:
1376           - adjust to new ListViewItem internal checkbox bounds api.
1377
1378 2006-02-27  Jackson Harper  <jackson@ximian.com>
1379
1380         * Control.cs:  Change where implicit controls fall in the zorder.
1381         They are now on top of all children.
1382         - Synced AddImplicit code with Add
1383         - Removed unused enumerator.
1384         * SizeGrip.cs: Remove the TODO as its been TODONE.
1385
1386 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com> 
1387
1388         * TextControl.cs(Insert): Combine the last lines unless the insertion
1389           string ends with \n\n, otherwise we leave one line too many (Fixes
1390           something I noticed with the testapp for #77526; the bug itself was
1391           already fixed in the previous checkin)
1392
1393 2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>
1394
1395         * RichTextBox.cs:
1396           - SelectionColor and SelectionFont methods no longer set absolute
1397             styles. Instead, the keep font or color respectively (This 
1398             resolves a long-standing FIXME in the code)
1399           - When flushing RTF text, the insert code now considers text trailing
1400             behind the insertion point (Fixes the bug where when replacing
1401             the selected text via SelectedRTF the remainder of the line behind 
1402             the selection would stay on the first insertion line)
1403         * TextBoxBase.cs:
1404           - AppendText now updates the selection points after inserting text
1405           - AppendText now ensures that the last tag (sometimes 0-length) of
1406             the document is used for the style information (Fixes part of 
1407             bug #77220)
1408         * TextControl.cs:
1409           - Created new FontDefiniton class to allow describing partial style
1410             changes
1411           - StreamLine() now takes a lines argument, to allow it to decide
1412             whether an encountered zero-length tag is the last in the document
1413             (which must be kept to not loose the font/color contained in it,
1414             for later appends)
1415           - Created Combine() and Split() methods for Marker structs, to 
1416             support marker updates due to reformatted documents (soft line
1417             wraps)
1418           - Implemented Document.CaretTag setter
1419           - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1420             of the last line (Not the cause, but also exposed by bug #77220)
1421           - Added LineTag argument to InsertString method, to allow callers
1422             to force a certain tag to be used (required to force use of the
1423             trailing zero-length tag of a document)
1424           - Now updating markers in Combine(), to avoid stale tag markers
1425           - Added some method descriptions to aid maintenance
1426           - Implemented new FormatText concept, allowing additive/subtractive
1427             formatting by only specifying the components that are to be 
1428             changed. This was needed for resolving the RTB.SelectedColor/
1429             RTB.SelectedFont fixmes
1430           - Added Break() support method to allow breaking up linetags (used
1431             for partial formatting)
1432           - Added GenerateTextFormat() method. It is used for partial 
1433             formatting and allows to generate a full font/color from given
1434             attributes and an existing tag.
1435
1436 2006-02-26  Jackson Harper  <jackson@ximian.com>
1437
1438         * XplatUIX11.cs:  Use the correct caption height.
1439         - Translate hittest coordinates to screen coords to match MS.
1440         * XplatUIWin32.cs: When we create MDI windows we need to reset
1441         some of the style flags, so we get a nice blank window, and can
1442         draw all the decorations ourselves.
1443         - Set a clipping rectangle on the non client paint event, the
1444         window manager drawing code needs one.
1445         * Form.cs: The window manager needs to know when the window state
1446         has been updated.
1447         * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1448         don't need to factor in border and title sizes in these
1449         methods. TODO: Remove the args and fix the call points.
1450         * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1451         properly.
1452         - Let the driver set the cursors.
1453         - Improve active window handling
1454         - Correct sizes for title bars and buttons.
1455         - Match MS drawing better
1456         * MdiWindowManager.cs: We don't need to handle border style
1457         updates specially anymore.
1458         - Check for scrollbars when windows are done moving
1459         - Handle Active properly.
1460         * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1461         correctly. I am spewing the exception though, so we don't hide the
1462         bugs.
1463         
1464 2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>
1465
1466         * DataGridViewRowPostPaintEventArgs.cs,
1467           DataGridViewCellPaintingEventArgs.cs,
1468           DataGridViewRowCollection.cs,
1469           DataGridViewRowPrePaintEventArgs.cs,
1470           DataGridViewCell.cs: Clear a few warnings and implement a few
1471           exceptions that should be thrown.
1472
1473 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1474
1475         * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1476           'inheriting' our parent's (non-default) cursor. (Part of
1477            the fix for #77479)
1478
1479 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com> 
1480
1481         * XplatUIX11.cs: Fixed cast to make csc happy
1482
1483 2006-02-22  Peter Dennis Bartok  <pbartok@novell.com>
1484
1485         * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1486           it's for the client area (part of fix for #77479 and needed
1487           for MDI window cursor handling)
1488         * XplatUIX11.cs
1489           - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1490             the appropriate default cursors and also passing the message
1491             up the parent chain 
1492           - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1493             for non-client areas
1494
1495 2006-02-15  Jackson Harper  <jackson@ximian.com>
1496
1497         * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1498         is a real MDI window
1499
1500 2006-02-14  Alexander Olk  <alex.olk@googlemail.com>
1501
1502         * X11DesktopColors.cs: Instead of checking the desktop session
1503           string for "KDE" check if it starts with "KDE"
1504
1505 2006-02-10  Jackson Harper  <jackson@ximian.com>
1506
1507         * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1508         systems).
1509
1510 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1511
1512         * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1513           errors
1514         * ColorDialog.cs:
1515           - Got rid of the panel. All controls are now directly added to
1516             the dialog form
1517           - Changed to mono coding style
1518
1519 2006-02-10  Jackson Harper  <jackson@ximian.com>
1520
1521         * InternalWindowManager.cs: We don't need the set visibility to
1522         false hack anymore now that peter has written beautiful shutdown
1523         code.
1524
1525 2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>
1526
1527         * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1528           where already explicitly destroyed
1529
1530 2006-02-10  Jackson Harper  <jackson@ximian.com>
1531
1532         * MdiClient.cs: Handle the case where windows are too high or to
1533         the left and we need scrollbars.
1534
1535 2006-02-10  Alexander Olk  <alex.olk@googlemail.com>
1536
1537         * MimeIcon.cs: Added some icons
1538         * FileDialog.cs:
1539           - Fixed bug #77477
1540           - Got rid of the panel. All controls are now directly added to
1541             the dialog form
1542           - Changed to mono coding style
1543           - On Linux "My Computer" and "My Network" will now show some
1544             more usefull information. A new class, MasterMount, gathers
1545             this information from /proc/mount. Updated MWFFileView to make
1546             use of this information
1547           - Fixed a bug that caused FileDialog to crash when
1548             ".recently_used" file had a zero size
1549           - FilterIndex does now what it should
1550           - Some Refactoring
1551         * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1552             FileDialog changes
1553
1554 2006-02-09  Jackson Harper  <jackson@ximian.com>
1555
1556         * ComboBox.cs: Don't touch if null.
1557
1558 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
1559
1560         * Cursor.cs: 64bit safeness fix
1561         * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1562
1563 2006-02-09  Jackson Harper  <jackson@ximian.com>
1564
1565         * Form.cs: If a form is made into an MDI form update the styles so
1566         all the props can get set correctly.
1567         - Kill the mdi_container when we dont need it anymore.
1568         * InternalWindowManager.cs: Add missing NOT
1569
1570 2006-02-08  Jackson Harper  <jackson@ximian.com>
1571
1572         * InternalWindowManager.cs: Respek clipping when drawing MDi
1573         decorations.
1574
1575 2006-02-08  Jackson Harper  <jackson@ximian.com>
1576
1577         * Hwnd.cs: Add bits to track non client expose events.
1578         * XplatUIX11.cs: Track non client expose events on the hwnd. This
1579         gives us a proper invalid rect and will allow for some nice
1580         optimizations with NC client drawing
1581         - MDI windows are children windows, so move their style handling
1582         into the child window block.
1583         * InternalWindowManager.cs: Remove a state reset that was
1584         getting invoked at the wrong time. Fixes managed windows getting
1585         into a 'stuck' captured state.
1586
1587 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1588
1589         * TextControl.cs (Document.ctor): Now initializing 
1590           selection_anchor. Fixes #77493
1591
1592 2006-02-07  Jackson Harper  <jackson@ximian.com>
1593
1594         * TrackBar.cs: The increment/decrements were backwards.
1595
1596 2006-02-07  Mike Kestner  <mkestner@novell.com>
1597
1598         * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1599         to the instance itself.
1600
1601 2006-02-07  Peter Dennis Bartok  <pbartok@novell.com>
1602
1603         * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1604           on ulongs and pointers, the size differs between 32bit and 64bit
1605           systems. 
1606
1607 2006-02-07  Mike Kestner  <mkestner@novell.com>
1608
1609         * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1610         for 64 bit platforms to work around a metacity bug. 
1611
1612 2006-02-07  Jackson Harper  <jackson@ximian.com>
1613
1614         * TrackBar.cs: Process the input keys we need, and hookup to
1615         KeyDown instead of using WndProc, so we get key messages.
1616
1617 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com>
1618
1619         * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1620           machine we're on. 
1621         * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1622           we need to translate the XdndVersion atoms array before sending it
1623
1624 2006-02-06  Peter Dennis Bartok  <pbartok@novell.com> 
1625
1626         * XplatUIX11.cs: 
1627           - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1628             number of bits for the property, not the number of bytes. The
1629             change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1630             but would not crash since it specified 8 bits instead of 4 bits)
1631           - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1632             defined as XID -> long in the C headers)
1633           - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms 
1634             references since those are now IntPtr to begin with
1635           - Switched all Atom.XXX 'int' casts to IntPtr casts
1636           - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1637           - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1638           - Added XChangeActivePointerGrab DllImport (for X11DnD)
1639         * X11Structs.cs:
1640           - Changed 'int' type for Atoms in XEvent structures to IntPtr
1641           - Changed atom in HoverStruct to be IntPtr
1642         * X11DnD.cs:
1643           - Removed local DllImports, switched code to use those from XplatUIX11
1644           - Removed/fixed casts related to the switch of Atom to be a IntPtr
1645
1646 2006-02-06  Mike Kestner  <mkestner@novell.com>
1647
1648         * XplatUIX11.cs : many more 64 bit pinvoke changes.  I've audited all the 
1649         method signatures in the import region.  There may still be some
1650         lingering struct marshaling issues, as I didn't drill down into those.
1651         Yet.
1652
1653 2006-02-06  Jackson Harper  <jackson@ximian.com>
1654
1655         * ComboBox.cs: Dont manually set the top_item, this is computed
1656         when the scrollbar position is set.
1657
1658 2006-02-06  Mike Kestner  <mkestner@novell.com>
1659
1660         * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1661         startup crashes on amd64.  There's other fixes needed.  All pinvoke
1662         usage of Atom needs to be mapped to IntPtr for example.  And there are
1663         likely other int/long issues to be addressed.
1664
1665 2006-02-04  Alexander Olk  <alex.olk@googlemail.com>
1666
1667         * FileDialog.cs: One more...
1668
1669 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1670
1671         * FileDialog.cs: Next try
1672
1673 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1674
1675         * FileDialog.cs: First part of fix for #77464
1676
1677 2006-02-03  Alexander Olk  <alex.olk@googlemail.com>
1678
1679         * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1680           ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1681           AcceptButton border drawing.
1682
1683 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com> 
1684
1685         * Form.cs: Moved positioning of form after auto scaling is applied,
1686           otherwise it would possibly use wrong form size.
1687
1688 2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>
1689
1690         * Control.cs (RecreateHandle): No need to re-create any child
1691           controls, the child windows will get destroyed automatically by
1692           the windowing system or driver, and re-created when the handle
1693           is being accessed the first time. Fixes #77456
1694         * Form.cs: No longer setting the form to closing if the handle is 
1695           being recreated. This seems like the right thing to do, don't
1696           have a bug or testcase for this, though.
1697
1698 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1699
1700         * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1701           controls to avoid unwanted side effects
1702
1703 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com> 
1704
1705         * Control.cs: 
1706           - ScaleCore needs to scale the bounds, not the ClientSize of the 
1707             control. Fixes #77416.
1708           - DefaultSize is 0,0 for control
1709         * TextBoxBase.cs: 
1710           - DefaultSize is 100, 20
1711           - SetBoundsCore: Now enforcing the height, no matter if the provided
1712             height is more or less than the preferred one, as long as AutoSize
1713             is on
1714         * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1715
1716 2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>
1717
1718         * Control.cs:
1719           - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1720             call unless both performLayout is true *and* we have a pending
1721             layout change
1722           - ResumeLayout: MS does not completely nest Suspend and Resume,
1723             they bottom out at 0, fixed our code to match that.
1724           - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1725             SetBoundsCore, we were updating even when we shouldn't. This fixes
1726             swf-anchors mis-anchoring when resizing the app fast and lots.
1727           - UpdateDistances: Now only setting the left and top distance if 
1728             we have a parent and are not suspended, this is based on
1729             a suggestion by Don Edvaldson in bug #77355.
1730           - OnVisibleChanged: Fixed logic when to create the control. We may
1731             not create the control if we have no parent or if it's not visible;
1732             switched to using Visible property instead of is_visible field 
1733             since the property also considers parent states. This fixes a bug
1734             when starting Paint.Net
1735
1736 2006-02-02  Jackson Harper  <jackson@ximian.com>
1737
1738         * Form.cs: If the forms handle hasn't been created yet don't call
1739         into xplatui to make it top most, just set the topmost flag on the
1740         form in CreateParams
1741         * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1742
1743 2006-02-01  Jackson Harper  <jackson@ximian.com>
1744
1745         * ScrollableControl.cs: Refactored the Recalculate method a
1746         little, this wasn't handling all the variants of bottom and right
1747         bars needed to be added and added/removed based on their
1748         counterparts being added/removed (which changes the drawable
1749         size). Also we special case client widths and heights of 0 and
1750         don't add the scrollbar for those.
1751
1752 2006-02-01  Peter Dennis Bartok  <pbartok@novell.com>
1753
1754         * XplatUIX11.cs: 
1755           - Added method to get AbsoluteGeometry(); currently unused, but might
1756             be used in the future, if we try again to figure out toplevel
1757             coordinates with some more crappy window managers
1758           - Added FrameExtents() method to retrieve the WM set decoration size
1759           - Tried to fix up AddConfigureNotify and handling of ReparentNotify 
1760             to deal with at least KDE, FVWM and metacity (Fixes #77092)
1761         * Hwnd.cs: 
1762           - Added whacky_wm tracking var for metacity
1763           - Added logic to have default menu height if the actual menu height
1764             has not yet been calculated (part of fix for #77426)
1765         * Form.cs: Keep track whether client size has been set and re-set 
1766           it if a menu is added/removed afterwards (Fixes #77426)
1767
1768 2006-01-31  Jackson Harper  <jackson@ximian.com>
1769
1770         * Control.cs: When a new Site is set on the component attempt to
1771         pull the AmbientProperties from it.
1772
1773 2006-01-31  Peter Dennis Bartok  <pbartok@novell.com>
1774
1775         * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1776           in the background of the owning form. Fixes #77332
1777
1778 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1779
1780         * MimeIcon.cs: Fix for #77409
1781
1782 2006-01-31  Alexander Olk  <alex.olk@googlemail.com>
1783
1784         * XplatUIX11GTK.cs: Initial import
1785
1786 2006-01-31  Jordi Mas i Hernandez <jordimash@gmail.com>
1787
1788         * FixedSizeTextBox: fixes class signature
1789
1790 2006-01-30  Jackson Harper  <jackson@ximian.com>
1791
1792         * FixedSizeTextBox.cs: New internal class that represents a
1793         textBox that will not be scaled.
1794         * TreeView.cs:
1795         * ComboBox.cs:
1796         * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1797         standard TextBox.
1798                 
1799 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com> 
1800
1801         * XplatUIX11.cs: Retrieve default screen number instead of
1802           assuming 0. Attempted fix for #77318
1803
1804 2006-01-30  Peter Dennis Bartok  <pbartok@novell.com>
1805
1806         * XplatUIWin32.cs: 
1807           - GetWindowPos: When a window is parented by FosterParent, use 
1808             the desktop instead of FosterParent as the base to get coordinates
1809           - CreateWindow: Don't make FosterParent the parent window for Popups
1810             if we don't want a taskbar entry, Popups automatically don't get one
1811         * Hwnd.cs: Need to call remove to actually remove the key from the
1812           hash table
1813
1814 2006-01-30  Mike Kestner  <mkestner@novell.com>
1815
1816         * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1817
1818 2006-01-30  Jackson Harper  <jackson@ximian.com>
1819
1820         * TreeView.cs:
1821         * TreeNode.cs: Raise events no matter how the treenode is
1822         checked. Patch by Don Edvalson.
1823
1824 2006-01-30  Jackson Harper  <jackson@ximian.com>
1825
1826         * TreeNode.cs: Signature fix.
1827
1828 2006-01-29  Alexander Olk  <alex.olk@googlemail.com>
1829
1830         * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1831
1832 2006-01-20  Mike Kestner  <mkestner@novell.com>
1833
1834         * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1835         event forwarding when menus are active.
1836         * MenuAPI.cs: kill the GrabControl hack.  Use Form.ActiveTracker.
1837         Most of the patch is pdb's with a little rework.
1838
1839 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1840
1841         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs: 
1842           Removed GetMenuDC and ReleaseMenuDC methods; replaced
1843           by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1844         * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1845         * InternalWindowManager.cs: Added use of PaintEventStart/End to
1846           handling of WM_NCPAINT message, now passing the PaintEventArgs to
1847           the PaintWindowDecorations method
1848         * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1849         * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1850         * MenuAPI.cs: Made tracker window invisible
1851         * XplatUIWin32.cs:
1852           - Removed GetMenuDC and ReleaseMenuDC methods
1853           - Implemented the client=false path for PaintEventStart and
1854             PaintEventEnd
1855
1856 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1857
1858         * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1859         * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1860           styles
1861         * Form.cs: 
1862           - MaximizeBox, MinimizeBox: Recreate the handle when setting
1863             the style
1864           - CreateParams: Reworked the styles to match MS look'n'feel,
1865             removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1866             the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1867
1868 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com> 
1869
1870         * XplatUIX11.cs(GetWindowState): Now throwing an exception when the 
1871           window is not mapped, since otherwise every form that's being 
1872           created is considered minimized, which is wrong.
1873         * Form.cs: Catching the exception and returning our internal value
1874           instead
1875
1876 2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>
1877
1878         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1879           SetWindowMinMax() to have means to tell the driver about the minimum,
1880           maximum and maximized state window sizes. (Part of the fix for #76485)
1881         * Form.cs:
1882           - Implemented tracking of minimum and maximum window size, now calling
1883             new SetWindowMinMax() driver method to tell the driver (Part of the
1884             fix for #76485)
1885           - Finished handling of WM_GETMINMAXINFO method, now setting all values
1886             (Completes fix for #76485)
1887           - Calling new SetWindowMinMax driver method when the handle for a 
1888             form is created, to make sure the driver knows about it even if
1889             the values have been set before the window was created
1890           - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1891             to avoid messing up our anchoring calculations (partial fix
1892             for #77355)
1893         * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1894         * XplatUIX11.cs:
1895           - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1896           - Improved GetWindowState() to detect 'Minimized' state on Metacity 
1897             (and presumably other freedesktop.org compliant WMs). Left the
1898             assumption unmapped=minimized, needed for SetVisible to work.
1899           - Now setting the window state when creating windows
1900           - Fixed SetVisible to consider/set the window state when mapping
1901             a Form. We cannot set the state before it's mapped, and we cannot
1902             use Form.WindowState once it's mapped (since it would ask the
1903             driver and get 'normal'. Therefore, we grab the state before
1904             mapping, map, and then set state.
1905           - Implmemented SetWindowMinMax method; Metacity does not seem to
1906             honor the ZoomHints, though.
1907         * XplatUIWin32.cs:
1908           - Removed MINMAXINFO (moved to XplatUIStructs)
1909           - Added SetWindowMinMax stub (on Win32 the only way to set that
1910             information is in response to the WM_GETMINMAXINFO message, which
1911             is handled in Form.cs)
1912           - Added logic to SetVisible to set the proper window state when a 
1913             form is made visible (fixes #75720)
1914
1915 2006-01-26  Jackson Harper  <jackson@ximian.com>
1916
1917         * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1918         same way we handle them with Invoke.
1919
1920 2006-01-25  Peter Dennis Bartok  <pbartok@novell.com> 
1921
1922         * Form.cs:
1923           - Added tracking of window state so CreateParams can return
1924             the appropriate style
1925           - Moved setting of WS_CAPTION style in CreateParams to allow
1926             styles without caption
1927         * DataGridTextBoxColumn.cs: We are now also creating the TextBox 
1928           control if the TextBox property is accessed. Fixes #77345
1929         * Control.cs:
1930           - get_Created: now uses is_disposed and is_created to determine
1931             return value (suggested by Jackson)
1932           - CreateHandle: No longer exits if the handle is being recreated
1933           - RecreateHandle: If the handle is not yet created call the 
1934             appropriate method to create either control or handle. If the
1935             control is already created CreateHandle will simply exit instead
1936             of just creating the handle
1937         * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1938           now SendMessage WM_DESTROY directly to the control when DestroyWindow
1939           is called.
1940         * XplatUIX11.cs: 
1941           - When DestroyWindow is called, instead of waiting for the 
1942             DestroyNotification from X11, we directly post it to the WndProc
1943             and immediately dispose the hwnd object.
1944             Same applies to DestroyChildWindows, and this obsoletes the
1945             expose_pending tracking. Contrary to Win32 behaviour we destroy our
1946             child windows before our own, to avoid X11 errors.
1947           - Removed the direct sending of WM_PAINT on UpdateWindow
1948         * XplatUIWin32.cs:
1949           - Reworked DoEvents and GetMessage to allow access to internal queue
1950             even when trying non-blocking access to the queue.  Fixes #77335. 
1951             Based on a patch suggestion by Don Edvalson. The new private
1952             GetMessage can now also be used as a backend for a PeekMessage
1953             frontend version.
1954         * XplatUI.cs: Improved debug output for CreateWindow
1955
1956 2006-01-25  Jackson Harper  <jackson@ximian.com>
1957
1958         * Help.cs: Allow param to be null. Patch by Don Edvalson.
1959
1960 2006-01-24  Jackson Harper  <jackson@ximian.com>
1961
1962         * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1963         when we have a MaxDropItems lower then the selected index.
1964
1965 2006-01-24  Jackson Harper  <jackson@ximian.com>
1966
1967         * Control.cs: Don't allow selection of non visible controls, allow
1968         selection of controls without parents.
1969
1970 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1971
1972         * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1973         * DataGridDrawingLogic.cs: Add editing row only when is necessary
1974
1975 2006-01-23  Jackson Harper  <jackson@ximian.com>
1976
1977         * UpDownBase.cs: Make the textbox handle all the selection and
1978         tabbing. This fixes tabing to updown controls.
1979
1980 2006-01-24  Jordi Mas i Hernandez <jordimash@gmail.com>
1981
1982         * TextBoxBase.cs: fixes exception thown the object was null
1983
1984 2006-01-23  Jackson Harper  <jackson@ximian.com>
1985
1986         * ButtonBase.cs: Just use the base CreateParams. They set
1987         visibility and enabled correctly.
1988         * ComboBox.cs:
1989         * TrackBar.cs:
1990         * MonthCalendar.cs: Lets let the base set as much of the
1991         createparams as possible so we don't have duplicate code all over
1992         the place.
1993
1994 2006-01-22  Alexander Olk  <alex.olk@googlemail.com>
1995
1996         * ThemeGtk.cs: Added TrackBar and some experimental code to
1997           get double buffering back
1998
1999 2006-01-21  Jordi Mas i Hernandez <jordimash@gmail.com>
2000
2001         * DataGrid.cs: Allows row number set internally higher than the last
2002         when creating a new row. Restores the editing functionality.
2003
2004 2006-01-20  Mike Kestner  <mkestner@novell.com>
2005
2006         * MimeIcon.cs: delay Image creation until the icons are accessed
2007         instead of creating 190 scaled images on GnomeHandler startup.
2008
2009 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com> 
2010
2011         * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2012           first call base before processing the event. Fixes #77279
2013
2014 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
2015
2016         * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2017           that the stride for the GDI bitmap would match the stride of
2018           a DIB or a Cursor.
2019
2020 2006-01-19  Alexander Olk  <alex.olk@googlemail.com>
2021
2022         * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2023
2024 2006-01-19  Jackson Harper  <jackson@ximian.com>
2025
2026         * ComboBox.cs: Hookup the text controls keydown event so we get
2027         those when the text control has the focus.
2028
2029 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2030
2031         * Label.cs: Now using the base events instead of defining new ones;
2032           this allows us to just call the base properties without having to
2033           duplicate all base property logic 
2034
2035 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2036
2037         * Label.cs: A label by default is not a tabstop (Fixes one of our
2038           failing nunit tests)
2039
2040 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com> 
2041
2042         * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2043         * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2044
2045 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
2046
2047         * Cursor.cs: Reimplemented creating cursor bitmaps without using
2048           the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2049           This fixes #77218
2050         * XplatUIWin32.cs: 
2051           - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream) 
2052             constructor creates images that can't be saved. Part of the fix
2053             for #76103
2054           - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2055           - SetWindowState: Switched ShowWindow flags (part of an upcoming 
2056             bug fix for handling window state in forms properly)
2057
2058 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2059
2060         * ThemeGtk.cs: Simplify ScrollBar drawing
2061
2062 2006-01-18  Jackson Harper  <jackson@ximian.com>
2063
2064         * Splitter.cs: Set the default dock style for the splitter control
2065         in the constructor.
2066
2067 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2068
2069         * ThemeGtk.cs: Corrected StateType and ShadowType for
2070           gtk_paint_box
2071
2072 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2073
2074         * Control.cs: Make use of Theme.DoubleBufferingSupported
2075         * ThemeGtk.cs:
2076           - Added drawing for flat style buttons
2077           - Added ScrollBar drawing
2078
2079 2006-01-18  Alexander Olk  <alex.olk@googlemail.com>
2080
2081         * ThemeClearlooks.cs: Removed some unneeded code.
2082         * ThemeGtk.cs: First part of ThemeGtk enhancements.
2083
2084 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2085
2086         * LinkLabel.cs: We need to update the hover drawing when
2087           leaving the control as well.
2088
2089 2006-01-18  Jordi Mas i Hernandez <jordimash@gmail.com>
2090
2091         * DataGrid.cs: Clicking on non empty areas in the columns
2092            area was giving an exception
2093
2094 2006-01-17  Jackson Harper  <jackson@ximian.com>
2095
2096         * ThemeWin32Classic.cs:
2097         * ListView.cs: Do not draw/clip the headers when the header style
2098         is None.
2099
2100 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2101
2102         * DataGrid.cs: Fixes 77260
2103         
2104 2006-01-17  Jordi Mas i Hernandez <jordimash@gmail.com>
2105
2106         * DataGrid.cs: Clicking on a column on a empty grid was giving
2107           an exception
2108
2109 2006-01-17  Peter Dennis Bartok  <pbartok@novell.com>
2110
2111         * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2112           or any keypress will crash the grid.
2113
2114 2006-01-17  Mike Kestner  <mkestner@novell.com>
2115
2116         * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2117         * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for 
2118         invisible/previously-visible items.
2119         [Fixes #76909]
2120
2121 2006-01-17  Alexander Olk  <alex.olk@googlemail.com>
2122
2123         * ThemeClearlooks.cs:
2124         - Added CL_Draw_Button method; now other theme controls that are 
2125           not derived from button or do not have a button can draw buttons
2126           too
2127         - Updated ComboBox drawing
2128         - Beautified RadioButton drawing
2129         - Corrected drawing of bottom and left tabs
2130         - Beautified DateTimePicker and MonthCalendar
2131         - Added CPDrawButton and CPDrawRadioButton
2132
2133 2006-01-16  Jackson Harper  <jackson@ximian.com>
2134
2135         * ComboBox.cs: Set the initial value of the scrollbar to the
2136         current index. Reduce the numbers of refreshs and IndexOfs called.
2137
2138 2006-01-14  Alexander Olk  <alex.olk@googlemail.com>
2139
2140         * FileDialog.cs: When the file listview is focused hitting the
2141           backspace key moves the fileview to the parent directory
2142
2143 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2144
2145         * Form.cs: 
2146           - Added RecreateHandle call when changing taskbar visibility to 
2147             trigger reparenting in Win32 driver (Fixes #75719)
2148           - If a window has minimize or maximize buttons, it cannot have
2149             a help button
2150         * XplatUIWin32.cs:
2151           - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2152             the toplevel form with FosterParent (A toolwindow not on the
2153             taskbar) (Fixes #75719)
2154           - Made FosterParent a toolwindow
2155
2156 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2157
2158         * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2159
2160 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2161
2162         * ToolTip.cs: If SetToolTip is called from a control and the mouse
2163           is currently over that control, make sure that tooltip_window.Text
2164           gets updated
2165
2166 2006-01-13  Mike Kestner  <mkestner@novell.com>
2167
2168         * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2169
2170 2006-01-13  Jackson Harper  <jackson@ximian.com>
2171
2172         * TreeView.cs: On MS GetNodeAt never actually factors in the X
2173         value passed.  Also redraw the selected node when we recieve
2174         focus, so tabbing between trees works correctly.
2175
2176 2006-01-13  Alexander Olk  <alex.olk@googlemail.com>
2177
2178         * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2179           ~/.gconf/%gconf-tree.xml, so use
2180           .gconf/desktop/gnome/interface/%gconf.xml
2181
2182 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2183
2184         * TextControl.cs: Draw text in gray if control is disabled
2185
2186 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com> 
2187
2188         * TreeView.cs: Draw the focus rectangle outside the highlight, to
2189           make sure it's always visible. Fixes #76680.
2190
2191 2006-01-13  Peter Dennis Bartok  <pbartok@novell.com>
2192
2193         * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2194
2195 2006-01-13  Jonathan Chambers  <jonathan.chambers@ansys.com>
2196
2197         * PageSetupDialog.cs: Added.
2198         * PrintDialog.cs: Attributes.
2199         * PrintPreviewControl.cs: Updates.
2200         * PrintPreviewDialog.cs: Updates.
2201         
2202 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2203
2204         * Control.cs: Undid my selection check fix, since it's not needed
2205         * TextBoxBase.cs:
2206           - Now considering the presence of hscroll/vscroll when sizing
2207             vscroll/hscroll respectively. Fixed bug #77077
2208           - Added Left/Up/Down/Right to IsInputKey list to prevent
2209             ContainerControl from stealing them. This fixes what I broke
2210             with my last checkin.
2211
2212 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com> 
2213
2214         * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2215           I finally understand how the property can be set without a setter :-)
2216
2217 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2218
2219         * Application.cs:
2220           - Switched RunLoop to use static Message.Create to create a 
2221             Message object
2222           - Added PreProcessMessage call in runloop for keyboard events; this
2223             is part of the fix for #77219, I overlooked this originally in the
2224             MSDN doc for PreProcessMessage
2225         * Control.cs:
2226           - Removed call to PreProcessMessage from handling of keyboard 
2227             messages; it's supposed to be done in the message pump
2228           - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2229             per MSDN documentation.
2230           - IsInputChar: All chars are input chars by default; removed the 
2231             parent calling chain, MS does not document that
2232           - PreProcessMessage: If IsInputChar is true, we want to return false
2233             to allow dispatching of the message
2234           - When selecting the next control, now also check that we're not
2235             selecting ourselves again and therefore return a false positive.
2236         * TextBoxBase.cs:
2237           - Tried to match return values for IsInputKey and ProcessDialogKey
2238             to what MS returns; moved processing of our special keys outside
2239             ProcessDialogKey since MS does not seem to return true on those.
2240           - Moved code that previously was in ProcessDialogKey into new private
2241             ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2242           - Reworked handling of WM_CHAR to not have to duplicate code from
2243             Control.cs anymore, instead we simply call down to base.
2244            
2245 2006-01-12  Jackson Harper  <jackson@ximian.com>
2246
2247         * ComboBox.cs: We always need to refresh the text area when
2248         EndUpdate is called. Fixes the combobox in the file dialog.
2249         * Control.cs: Don't create the creator_thread until the controls
2250         handle is created.  Also in InvokeRequired we check if the
2251         creator_thread is null. This gives the effect of InvokeRequired
2252         returning true if the controls handle is not created yet, and
2253         matches MS.
2254
2255 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2256
2257         * XplatUI.cs:
2258           - Added StartLoop() driver method. This is used to allow drivers to
2259             prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2260             loop for a particular thread
2261           - Added EndLoop() driver method. This is called once the message
2262             pump for the thread is shut down
2263           - Added SupportsTransparency method to allow the driver to indicate
2264             opacity support for windows
2265         * Form.cs:
2266           - Removed TODO attribute, completed AllowTransparency property
2267           - Added documented logic to Opacity
2268         * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2269           ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2270           versions of CompatibleTextRendering
2271         * X11Structs.cs: Added opacity atom to our atom enumeration
2272         * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2273           of a form might be set before it's reparented by the WM, and we need
2274           the opacity value without calling up to Form)
2275         * XplatUIDriver.cs: Added StartLoop(), EndLoop() and 
2276           SupportsTransparency() driver methods
2277         * Application.cs: Now calling StartLoop and EndLoop driver methods
2278         * XplatUIX11.cs:
2279           - Added opacity atom registration
2280           - Added StartLoop()/EndLoop() methods. They're empty right now but
2281             will need to get implemented when we switch to a per-thread queue
2282           - Implemented SupportsTransparency() method
2283           - Implemented SetWindowTransparency() method
2284           - Added support for setting the opacity value when a window is
2285             reparented (since the opacity needs to be set on the WM frame)
2286         * XplatUIOSX.cs, XplatUIWin32.cs:
2287           - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2288
2289 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2290
2291         * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2292
2293 2006-01-12  Alexander Olk  <alex.olk@googlemail.com>
2294
2295         * FileDialog.cs: Added ToolTip for MWFFileView
2296         * MimeIcon.cs: Rewrote GnomeHandler.
2297           - Get currently used gnome icon theme from
2298             ($HOME)/.gconf/%gconf-tree.xml
2299           - Make use of inherited icon themes
2300           - Support SVG icon themes like Tango via librsvg
2301
2302 2006-01-12  Miguel de Icaza  <miguel@novell.com>
2303
2304         Revert's Jackson's revert which broke 2.0 builds.   Fix both
2305         builds. 
2306         
2307         * Application.cs: Move the use_compatible_text_rendering outside
2308         the NET_2_0 define.  If we ever need to use the
2309         use_compatible_text_rendering on the individual controls they will
2310         access the variable from the common shared code paths.
2311
2312 2006-01-12  Peter Dennis Bartok  <pbartok@novell.com>
2313
2314         * XplatUI.cs:
2315           - Added more granular debug options
2316           - Added method to print both window text and id
2317           - Switched debug output to use new Window() debug method
2318           - Added IsEnabled() driver method
2319           - Added EnableWindow() driver method
2320         * Form.cs:
2321           - Removed end_modal; no longer needed, new loop handles termination
2322             via 'closing' variable
2323           - If form is modal, setting DialogResult will now initiate loop
2324             termination via 'closing' variable
2325           - Added support for is_enabled/WS_DISABLED to CreateParams
2326           - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2327             does all the work
2328           - Removed code that's now in RunLoop from ShowDialog()
2329           - Added various documented sanity checks to ShowDialog()
2330           - Added handling of WM_DESTROY message; we set 'closing' on getting
2331             the message to indicate the message pump to terminate
2332           - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2333             send by the Application.ExitThread method. (We send the message
2334             to destroy the window after all other events have been
2335             processed through the queue, instead of destroying the handle 
2336             directly)
2337           - Moved code from Close() method to WM_CLOSE handler; added logic
2338             to only send close-related events if the form is not displayed
2339             modal
2340         * Splitter.cs (..ctor): Fixed typo in resource name
2341         * Control.cs:
2342           - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2343             brush now
2344           - set_Cursor: Now only setting calling into XplatUI if the handle for
2345             the control is already created; this avoids implict handle creation
2346             or crashes if it's not created
2347           - set_Enabled: Now setting the enabled state via the new driver method
2348             instead of just tracking it
2349           - CreateParams: Added logic to set WS_DISABLED based on enabled state
2350           - CreateControl: Reordered event firing and method calls to more
2351             closely fire events in the order MS does. Now setting the
2352             enabled state in the driver when creating the control.
2353           - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2354             match MS order
2355         * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2356           MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED 
2357         * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2358         * Hwnd.cs:
2359           - Added tracking of window enabled state (get_Enabled/set_Enabled)
2360           - Added EnabledHwnd property to easily allow a driver to find the
2361             handle of the first enabled window in the parent chain (this is
2362             used by drivers to pass up input events of disabled windows)
2363         * XplatUIDriver.cs: Added IsEnabled() method
2364         * Application.cs:
2365           - Removed crude and obsolete exiting tracking variable
2366           - Removed internal ModalRun(); replaced by RunLoop()
2367           - Implemented private CloseForms() method to allow closing all 
2368             windows owned by a particular (or all) threads
2369           - Exit() now properly closes all windows without forcing the message
2370             pump to quit
2371           - Removed obsolete InternalExit() method
2372           - Changed Run() methods to use new RunLoop() message pump
2373           - Implemented new RunLoop() method for both modal and non-modal forms
2374         * CommonDialog.cs:
2375           - get_CreateParams: Added setting of WS_DISABLED
2376           - Simplified ShowDialog(); now all the work is done in RunLoop(),
2377             invoked via Form.ShowDialog()
2378         * NativeWindow.cs: We don't remove the window from the collection when
2379           the handle is destroyed; there might still be messages for it in the
2380           queue (mainly the resulting WM_DESTROY); instead it will be removed
2381           when Control calls InvalidateHandle in the WM_DESTROY handler
2382         * XplatUIX11.cs:
2383           - CreateWindow: Added logic to handle the WS_DISABLED window style
2384           - EnableWindow: Implemented based on Hwnd.Enabled
2385           - GetMessage: Reset PostQuitState so the method can be called again
2386           - Implemented support for disabled windows (passing messages to the
2387             first enabled parent) in handling all input messages
2388           - Added optimizations for handling Expose events
2389           - Implemeted new driver method IsEnabled()
2390           - Now always resetting paint pending tracking vars when we start paint
2391           - Re-implemented UpdateWindow via just sending a WM_PAINT message
2392         * XplatUIOSX.cs: Added IsEnabled method stub
2393         * XplatUIWin32.cs: Implemented new IsEnabled() method
2394
2395 2006-01-11  Jackson Harper  <jackson@ximian.com>
2396
2397         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2398         LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2399         variables a little.
2400         * ColorDialog.cs: Clear out the old form before adding the new
2401         panel.  
2402
2403 2006-01-11  Jackson Harper  <jackson@ximian.com>
2404
2405         * X11Dnd.cs: Make sure to add all the text formats when adding
2406         strings to the data object.
2407         * TreeNodeCollection.cs: When adding to a sorted tree we need to
2408         do some redrawing too.  Also change the UpdateNode to an
2409         UpdateBelow so the newly added node gets painted.
2410         
2411 2006-01-11  Miguel de Icaza  <miguel@novell.com>
2412
2413         * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2414         LinkLabel.cs, PropertyGrid.cs: Implement the
2415         UseCompatibleTextRendering property for 2.x
2416
2417         * Application.cs (SetCompatibleTextRenderingDefault): Add. 
2418
2419 2006-01-11  Jackson Harper  <jackson@ximian.com>
2420
2421         * TreeView.cs: Use the property for setting the selected node so
2422         the correct events get raised.
2423         * TreeNode.cs: Update the tree when the fore/back colours of a
2424         node are set.
2425
2426 2006-01-10  Jackson Harper  <jackson@ximian.com>
2427
2428         * TreeView.cs: Allow setting SelectedNode to null.
2429
2430 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2431
2432         * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2433
2434 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2435
2436         * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2437
2438 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2439
2440         * PrintDialog.cs: Added attributes and set default property values.
2441
2442 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2443
2444         * PrintControllerWithStatusDialog.cs: 
2445         Added PrintControllerWithStatusDialog.
2446
2447 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2448
2449         * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs, 
2450         XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2451
2452 2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>
2453
2454         * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2455
2456 2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
2457
2458         * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2459         and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2460
2461 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2462
2463         * MimeIcon.cs: Added internal class SVGUtil.
2464
2465 2006-01-08  Alexander Olk  <alex.olk@googlemail.com>
2466
2467         * FileDialog.cs: Don't crash if there are two files with the
2468           same name but different locations.
2469
2470 2006-01-08  John BouAntoun  <jba-mono@optusnet.com.au>
2471
2472         * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2473         dates across multiple month grids. Used to not highlight entire 
2474         month, but does now.
2475         
2476 2006-01-06  Jackson Harper  <jackson@ximian.com>
2477
2478         * MonthCalendar.cs: Removed DoEvents call to prevent a running
2479         message loop. Change timer intervals to numbers that seem more
2480         natural.
2481
2482 2006-01-06  John BouAntoun  <jba-mono@optusnet.com.au>
2483
2484         * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2485           object for location info since screen object is now implemented.
2486
2487 2006-01-05  Jackson Harper  <jackson@ximian.com>
2488
2489         * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2490         * AsyncMethodResult.cs: We no longer use a WeakReference for the
2491         AsyncMethodResult, this is because we ALWAYS want the
2492         ManualResetEvent to get set.
2493         * Control.cs: When disposing use an async invoke to call shutdown
2494         code, so that thigns don't block on the finalizer thread.  Also
2495         check if we even have a message loop before trying to send
2496         messages, if we don't then don't bother sending messages.
2497         - No more weak references for async methods
2498         * XplatUIDriver.cs: No more weak references for async methods.
2499
2500 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2501
2502         * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2503           returns two FontFamily with the same name
2504
2505 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2506
2507         * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of 
2508           drawing disabled text. Instead using the ColorGrayText color
2509
2510 2006-01-04  Jackson Harper  <jackson@ximian.com>
2511
2512         * TreeNode.cs: redraw the node when its image index is changed.
2513
2514 2006-01-04  Peter Dennis Bartok  <pbartok@novell.com>
2515
2516         * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2517           time I checked there are no others like it.
2518
2519 2006-01-04  Jackson Harper  <jackson@ximian.com>
2520
2521         * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2522         this gives the behavoir I was looking for.
2523         * Control.cs: Special case Invoking EventHandlers, this matches MS
2524         and fixes part of bug #76326.
2525
2526 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2527
2528         * ThemeClearlooks.cs, FileDialog.cs:
2529           - Reflect the latest Theme class changes
2530           - Remove Mono.Unix.Syscall.time in FileDialg and replace it 
2531             with DateTime
2532             
2533 2006-01-04  Alexander Olk  <alex.olk@googlemail.com>
2534
2535         * Theme.cs: Cache UI resource images and resize them if needed
2536
2537 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2538
2539         * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2540           is called. This fixes the crash in Nexxia when setting the font
2541           attributes in the chat. [However, RTF needs a look-over to make sure
2542           that all SelectionXXX methods handle the special case that selection
2543           is empty and therefore the change must be applied to all text starting
2544           at the cursor/selection start]
2545
2546 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com> 
2547
2548         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2549           XplatUIOSX.cs: Added SendMessage and PostMessage methods
2550         * X11Keyboard.cs: Switched to new way of calling PostMessage
2551
2552 2006-01-03  Peter Dennis Bartok  <pbartok@novell.com>
2553
2554         * Theme.cs: Added theme interface for images to allow the theme to
2555           control what images are used for things like FileDialog, MessageBox
2556           icons, etc.
2557         * MessageBox.cs: Now uses the new Theme icon/image interfaces
2558
2559 2006-01-03  Alexander Olk  <alex.olk@googlemail.com>
2560
2561         * FileDialog.cs:
2562           - Removed some dead code
2563           - Opening a recently used file does work now
2564           - Small UI enhancements
2565           - Refactoring
2566
2567 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2568
2569         * FileDialog.cs: Forgot too add __MonoCS__
2570
2571 2006-01-02  Alexander Olk  <alex.olk@googlemail.com>
2572
2573         * FileDialog.cs: We are able to read recently used files now let's
2574           go on and write them.
2575
2576 2006-01-01  Alexander Olk  <alex.olk@googlemail.com>
2577
2578         * FileDialog.cs: Breathe some life into "last open"/"recently used"
2579           button
2580         * MimeIcon.cs: Do a check for the top level media type also
2581
2582 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2583
2584         * ThemeClearlooks.cs:
2585           - Added CPDrawStringDisabled
2586           - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2587             some chars if the text doesn't fit into text_rect
2588           - DrawListViewItem: If View = View.LargeIcon center the image;
2589             rewrote the drawing of ListViewItem.Text if View = 
2590             View.LargeIcon
2591
2592 2005-12-31  Alexander Olk  <alex.olk@googlemail.com>
2593
2594         * MimeIcon.cs: Use default KDE icon theme if there is no
2595           "48x48" directory for the current icon theme, fixes #77114
2596         * Mime.cs: Disable not working and actually not used code. 
2597         * ThemeWin32Classic.cs:
2598           - Replace "new SolidBrush" in GetControlBackBrush and
2599             GetControlForeBrush with ResPool.GetSolidBrush
2600           - Changed DrawListViewItem from private to protected virtual
2601         * FileDialog.cs:
2602           - Added form.MaximizeBox = true
2603           - Don't throw an exception if there is a broken symbolic link
2604
2605 2005-12-23  Jackson Harper  <jackson@ximian.com>
2606
2607         * TabControl.cs: Give the panels focus, keyboard navigation is
2608         fixed so this works correctly now.
2609         - We need these key events also.
2610         * ToolBar.cs: Remove some of the poor mans double buffering.
2611         
2612 2005-12-24  Alexander Olk  <alex.olk@googlemail.com>
2613
2614         * ComboBox.cs: The internal TextBox now returns the focus.
2615
2616 2005-12-23  Jackson Harper  <jackson@ximian.com>
2617
2618         * ThemeWin32Classic.cs:  Draw the text for all tab appearances.
2619
2620 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2621
2622         * Control.cs: Removed debug code
2623         * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2624           implicit children
2625
2626 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com> 
2627
2628         * Control.cs: When creating the control, update the Z-order after
2629           all it's children are created, too. (Fixes nexxia not showing
2630           picturebox bug)
2631
2632 2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>
2633
2634         * Control.cs: Do not update the anchoring distances if layout is
2635           suspended, instead do it once layout is resumed
2636
2637 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com> 
2638
2639         * Control.cs: 
2640           - After many hours of debugging, for both Jackson and
2641             myself, it turns out that it helps to set the parent of a control
2642             if you want to actually see it onscreen. In the spirit of that
2643             discovery, we're now setting the parent of the control and
2644             it's children when the control's handle is created. This fix
2645             will make Lutz Roeder's Reflector run happily. 
2646           - now just creating the handle instead of the whole control when
2647             getting a graphics context for the control.
2648
2649 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2650
2651         * ScrollableControl.cs: When calculating the canvas, don't consider
2652           the scrollbar widths. Instead, predict if horizontal scrollbar
2653           will affect canvas when deciding on vertical display and vice versa.
2654
2655 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
2656
2657         * RichTextBox.cs: Set default RTF font for documents that don't
2658           have a font table (Fixes #77076)
2659
2660 2005-12-22  Jackson Harper  <jackson@ximian.com>
2661
2662         * TextBoxBase.cs: It's difficult to do, but you can have an empty
2663         clipboard. This prevents a NullRef in that case.
2664         * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2665         clipboard. PRIMARY is for the currently selected text only. (We
2666         should implement PRIMARY at some point.
2667
2668 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2669
2670         * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2671           a Unicode function with a structure that was defined in Ansi way.
2672           This fixes #76942.
2673
2674 2005-12-21  Jackson Harper  <jackson@ximian.com>
2675
2676         * StatusBar.cs: Statusbar handles its fore/back colours on it's
2677         on. Because thats how it rolls. (and this avoids it using ambient
2678         colours).
2679         * ThemeWin32Classic.cs: Use the proper back color for filling.
2680         * Menu.cs: Use the system menu bar color for drawing menu
2681         bars. Using the window back color will bring ambient colours into
2682         the picture.
2683
2684 2005-12-21  Alexander Olk  <alex.olk@googlemail.com>
2685
2686         * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2687           Bitmaps were created and not disposed.
2688
2689 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2690
2691         * Control.cs (CreateControl): Don't do anything if the control is
2692           already created, otherwise we'd fire the OnCreated event more than
2693           once
2694
2695 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2696
2697         * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2698           will always match. Instead return -1. Fixes #76464.
2699
2700 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>
2701
2702         * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2703           neither the beginning nor the end of the line (Fixes bug #76479)
2704
2705 2005-12-21  Peter Dennis Bartok  <pbartok@novell.com> 
2706
2707         * Control.cs:
2708           - ControlNativeWindow.ControlFromHandle(): Now handling situation
2709             where handle is invalid
2710           - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2711             instead of slower linear search
2712         * NativeWindow.cs: Don't remove the window from the hashtable until
2713           after the driver has destroyed it (since the driver might use
2714           Control.FromHandle to lookup the control object
2715         * Hwnd.cs: Added DestroyPending property to track if a window is 
2716           already destroyed as far as the driver is concerned and only hasn't
2717           yet notified the control
2718         * XplatUIX11.cs:
2719           - Activate(): Check if the window is still valid before using the 
2720             handle
2721           - Implemented DestroyChildWindow() method to mark child windows as
2722             destroyed when a window is destroyed. This prevents situations 
2723             where we might call an X method based on queued events for a
2724             window that already has been destroyed but we haven't yet pulled
2725             the destroy method from the queue.
2726           - Added a call to the new DestroyChildWindow() method to the drivers
2727             DestroyWindow code. Also now marking the destroyed window itself
2728             as pending
2729
2730 2005-12-20  Jackson Harper  <jackson@ximian.com>
2731
2732         * StatusBar.cs:
2733         * StatusBarPanel.cs: Don't calculate panel sizes on draw
2734         anymore. Just do them when needed, also track the rects of panels
2735         so that we can optimize refreshing more in the future.
2736
2737 2005-12-20  Alexander Olk  <alex.olk@googlemail.com>
2738
2739         * ColorDialog.cs: Fixed focus drawing in small color controls
2740
2741 2005-12-19  Jackson Harper  <jackson@ximian.com>
2742
2743         * InternalWindowManager.cs:
2744         * MdiWindowManager.cs: Cleanup some coordinate system changes so
2745         moving windows works properly.
2746
2747 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com> 
2748
2749         * Control.cs: 
2750           - Removed call to InitLayout() from SetBoundsCore(); doc says
2751             it's only called when a control is added to a container
2752           - Split InitLayout logic, moved to separate UpdateDistances() method
2753             since we need to perform those calculations more often than just
2754             when adding the control to a container. (Needed to fix #77022)
2755           - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2756           - Reduced the OnBindingContextChanged events count, don't send them
2757             unless the control is created, we still aren't totally matching
2758             MS, but I can't quite figure out some of their rules
2759
2760 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2761
2762         * ThemeClearlooks.cs: Corrected distance between ProgressBar
2763           stripes
2764
2765 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2766
2767         * ThemeClearlooks.cs:
2768           - Updated ProgressBar drawing
2769           - Corrected drawing of ScrollBars and scroll buttons
2770           - Some temporary fixes for minor pixel artefacts
2771
2772 2005-12-18  Peter Dennis Bartok  <pbartok@novell.com> 
2773
2774         * Control.cs:
2775           - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2776             cause events to be sent in the same order as MS does.
2777           - Added ChangeParent() method to trigger various OnXXXChanged events
2778             that need to be fired when a parent changes (This is a reworking
2779             of the patch from r54254, with the X11 errors fixed)
2780           - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2781             since on MS we get OnLayoutChanged events when calling Clear()
2782           - Changed Enabled property to consider parent state as well, if a
2783             parent is not enabled, the control will not be either
2784           - Changed Parent property to simply call Controls.Add() since that
2785             now does all the work required, this way we avoid code duplication
2786           - Threw in a few OnBindingsContextChanged calls to try and match
2787             when MS sends them. We seem to send a few too many, though.
2788           - Added call to CreateControl when adding the control to a parent.
2789             We were never calling CreateControl. Still needs some work, in
2790             some places we treat HandleCreated and ControlCreated as equal, 
2791             which is wrong
2792           - Removed obsolete commented out code from UpdateZOrder()
2793
2794 2005-12-18  Alexander Olk  <alex.olk@googlemail.com>
2795
2796         * ThemeClearlooks.cs: Updated TrackBar drawing.
2797
2798 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2799
2800         * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2801
2802 2005-12-17  Alexander Olk  <alex.olk@googlemail.com>
2803
2804         * FileDialog.cs: Add the Help button and the open readonly
2805           checkbox only if needed
2806
2807 2005-12-16  Jackson Harper  <jackson@ximian.com>
2808
2809         * Control.cs: Make sure we have an active menu before trying to
2810         process commands on it. Prevents menu-less forms from crashing
2811         when Alt is pressed.
2812         * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2813         Dieter Bremes.
2814         * RichTextBox.cs: Expand statement to help out gmcs and fix the
2815         2.0 build.
2816
2817 2005-12-16  Jackson Harper  <jackson@ximian.com>
2818
2819         * InternalWindowManager.cs: Don't translate tool windows screen
2820         coordinates. This fixes windows 'bouncing' around when being moved.
2821
2822 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2823
2824         * TextBoxBase.cs:
2825           - MaxLength now treats 2^31-1 equal to unlimited length (this is
2826             not quite MS compatible, MS uses that number only for single line
2827             and 2^32-1 for multi-line, but I figure it won't hurt keeping
2828             the limit at 2GB)
2829           - Now enforcing the MaxLength limit when entering characters
2830           - Added argument to internal Paste() method to track if it's called
2831             from programatically or via keyboard, since keyboard driven pastes
2832             need to enforce max-length
2833           - Added logic to Paste to only paste as many chars as MaxLength 
2834             allows
2835         * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2836         * TextControl.cs:
2837           - Added Length property to return number of characters in document
2838           - Added private CharCount property which only tracks actual chars
2839             in the document (no linefeeds) and fires event when CharCount
2840             changes
2841           - Added tracking of character count to all methods that alter it
2842           - Added LengthChanged event to allow applications to subscribe
2843             to any changes to the document
2844
2845 2005-12-15  Peter Dennis Bartok  <pbartok@novell.com> 
2846
2847         * TextBox.cs: 
2848           - Removed local password_char field (moved to TextBoxBase)
2849           - Now setting the document's password var when password is
2850             set
2851         * TextBoxBase.cs:
2852           - Added password_char field (needed here so MultiLine can
2853             access it)
2854           - Added logic to MultiLine property setter to set the document's
2855             variable when password display is allowed
2856           - Removed debug code and made some debug code conditional
2857         * TextControl.cs:
2858           - Added RecalculatePasswordLine() method to handle special password
2859             char only lines
2860           - Added PasswordChar property, also added related tracking vars
2861           - Draw() method now uses local text var for grabbing text to draw,
2862             this var is set to line.text unless we're doing password display,
2863             then it is set to the pre-generated all-password-chars line
2864           - Added calling RecalculatePasswordLine() method for password lines
2865
2866 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2867
2868         * Hwnd.cs: 
2869           - Added Reparented property to allow tracking of Window Manager
2870             reparenting actions (which affect X/Y calculations of toplevel 
2871             windows)
2872           - Made ToString() print window handles in hex
2873         * XplatUIX11.cs:
2874           - AddConfigureNotify(): Now uses reparented state off Hwnd to
2875             determine if X/Y needs offsetting
2876           - AddConfigureNotify(): Fixed offset calculations
2877           - Now adds ReparentNotify messages into the queue
2878           - Now processes ReparentNotify messages and causes a 
2879             WM_WINDOWPOSCHANGED message to be sent upstream if a window
2880             is reparented (as most likely it's X/Y coordinates are changed
2881             due to that)
2882
2883 2005-12-14  Jackson Harper  <jackson@ximian.com>
2884
2885         * XplatUIX11.cs: Tool windows still need to respek focus.
2886
2887 2005-12-14  Peter Dennis Bartok  <pbartok@novell.com> 
2888
2889         * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2890           have a working release
2891
2892 2005-12-13  Jackson Harper  <jackson@ximian.com>
2893
2894         * Form.cs: Update styles after setting the border style regardless
2895         of whether or not the window is using a window manager.
2896
2897 2005-12-13  Jackson Harper  <jackson@ximian.com>
2898
2899         * Form.cs: We now hook into an internal window manager instead of just an
2900         MDI subsystem, this is so we can have properly behaving tool windows.
2901         * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2902         * InternalWindowManager.cs: New internal class that acts as a
2903         window manager for tool windows and as a base for mdi windows.
2904         * MdiWindowManager.cs: New class that acts as a window manager for
2905         mdi windows.
2906
2907 2005-12-12  Jackson Harper  <jackson@ximian.com>
2908
2909         * Control.cs: Updates so we match behavoir for for implicit
2910         controls. Fixes explosions in MDI.
2911
2912 2005-12-12  Jackson Harper  <jackson@ximian.com>
2913
2914         * Control.cs: Implement Invalidate (Region).
2915
2916 2005-12-12  Peter Dennis Bartok  <pbartok@novell.com> 
2917
2918         * Control.cs: 
2919           - Changed handling of Controls.Add/Controls.Remove to fire (almost) 
2920             the same events as MS does. MS fires events for each property 
2921             except, for unknown reasons, Cursor, when the control is reparented. 
2922             I can't seem to totally match add/remove since MS also fires some 
2923             VisibleChanged events, which makes no sense. Consolidated the
2924             parenting code into a separate method so it can be called from
2925             both Add and Remove. set_Parent no longer needs any special logic
2926             as it calls the parent's add method which implicitly fires
2927             all events
2928           - Removed some obsolete code and debug output
2929           - Enabled state is inherited from parents, if this is enabled
2930
2931 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com> 
2932
2933         * Form.cs: Removed commented out code
2934
2935 2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>
2936
2937         * Control.cs:
2938           - Added internal version of Invoke, with additional argument 
2939             indicating if we're calling it from a Dispose() handler. That
2940             way we can avoid BeginInvoke throwing an exception if we're
2941             calling for an already destroyed window.
2942           - Added a dispose argument to BeginInvokeInternal, and made the
2943             check if a valid window handle chain exists conditional on
2944             it not being a dispose call
2945           - Removed code in DestroyHandle to destroy our children. Since we
2946             now handle the WM_DESTROY message we will catch all our children
2947             being destroyed.
2948           - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2949         * Form.cs:
2950           - Added a field to track the application context of the form.
2951           - No need to set closing variable as response to WM_CLOSE, instead
2952             we destroy the window. We also call PostQuitMessage if the form
2953             has an application context (which makes it the main app form,
2954             which, when closed terminates the app)
2955         * XplatUI.cs:
2956           - Dropped Exit() method, it's naming was confusing
2957           - Added PostQuitMessage() which causes GetMessage to return false
2958             once the message queue is empty
2959         * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added 
2960           PostQuitMessage()
2961         * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2962           no longer a valid XplatUI method, but left it in since it's used
2963           internally. Added empty PostQuitMessage() method.
2964         * MenuAPI.cs: Replaced call to Exit() with call to
2965           PostQuitMessage, even though this is probably no longer needed.
2966         * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2967         * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2968         * Application.cs:
2969           - Replaced call to XplatUI.Exit() with PostQuitMessage()
2970           - Removed old debug code that would call XplatUI for exception
2971             display, enabled standard exception handling (Still not enabled
2972             though, until NativeWindow's ExternalExceptionHandler define
2973             is removed
2974         * NativeWindow.cs:
2975           - Added internal method to allow control to update NativeWindow
2976             after a window has been destroyed
2977           - Added handling of already destroyed windows when calling i
2978             DestroyWindow
2979           - Added removal of handle from list on ReleaseHandle
2980         * XplatUIX11.cs:
2981           - Dropped GetMessageResult var and related code
2982           - Added PostQuitState to field to track if PostQuitMessage has been
2983             called
2984           - Dropped Exit() method
2985           - Added PostQuitMessage() method
2986           - GetMessage now will return false if PostQuitState is set and no
2987             more messages are in the queue.
2988           - Expose handler will no longer generate WM_PAINT messages if we are
2989             in PostQuitState since it's very likely any windows have already
2990             been destroyed, and since Hwnd won't get updated until we have
2991             processed the DestroyNotify we'd be causing X errors.
2992         
2993 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2994
2995         * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2996           Thanks to Mike for pointing out the err of my ways.
2997
2998 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
2999
3000         * Control.cs(PreProcessMessage): Moved menu handling back, but
3001           after all other key handling, to match MS (who handles Menu in
3002           DefWndProc)
3003         * Menu.cs (WndProc): Removed my brainfart
3004
3005 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3006
3007         * Control.cs(PreProcessMessage): Removed special menu handling 
3008         * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3009
3010 2005-12-07  Mike Kestner  <mkestner@novell.com>
3011
3012         * Control.cs : special case SYSKEYUP so that we can adjust keynav
3013         state according in tracker.
3014         * Menu.cs : promote tracker field to base class and provide a tracker
3015         lookup capability.  Add/Remove shortcuts dynamically if the top menu
3016         has a tracker. Unparent items that are removed from the collection.
3017         * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3018         * Theme*.cs: add always_show_hotkeys field to support configurability
3019         of mnemonic display.  win32 doesn't show mnemonics until Alt is
3020         pressed.
3021
3022 2005-12-07  Jackson Harper  <jackson@ximian.com>
3023
3024         * MdiChildContext.cs: Use Control.ResetCursor.
3025         * Control.cs: ResetCursor needs to set the property so that the
3026         correct XplatUI call gets made.
3027
3028 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3029
3030         * Control.cs: More fixes to make our key events match MS. We
3031           were not setting the modifier state on KeyData, and we were
3032           not generating any events when Alt was pressed with a key
3033           since handling of WM_SYSxxx was missing for the OnKey methods.
3034
3035 2005-12-07  Jackson Harper  <jackson@ximian.com>
3036
3037         * MdiChildContext.cs: reenable the sizing code.
3038         - When the mouse leaves a window reset its cursor.
3039
3040 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3041
3042         * ThemeClearlooks.cs: Reflect latest Hwnd changes
3043
3044 2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>
3045
3046         * Hwnd.cs: Now using the theme 3d bordersize to calculate
3047           widths of Fixed3D borders
3048
3049 2005-12-07  Jackson Harper  <jackson@ximian.com>
3050
3051         * MdiClient.cs: Fix warnings. Earn Mike's love.
3052
3053 2005-12-07  Alexander Olk  <alex.olk@googlemail.com>
3054
3055         * ThemeClearlooks.cs:
3056           - Adjusted mouse over button color
3057           - Added first parts of CheckBox drawing
3058           - Added correct color for selected text background
3059           - Fixed ComboBox drawing
3060           - Added CPDrawBorder3D and CPDrawBorder
3061
3062 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3063
3064         * XplatUIX11.cs: Added call to XBell for AudibleAlert
3065
3066 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com> 
3067
3068         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3069           XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3070           alert users via sound. We could add an enum arg with different
3071           types of alerts in the future
3072
3073 2005-12-06  Peter Dennis Bartok  <pbartok@novell.com>
3074
3075         * Control.cs: Fix behaviour problems pointed out by Mike
3076
3077 2005-12-05  Mike Kestner  <mkestner@novell.com>
3078
3079         * StatusBarPanel.cs: add Invalidate method and hook it into all the
3080         prop setters.  Calls parent.Refresh for now, but could be maybe be
3081         optimized with an internal method on StatusBar at some point.
3082         [Fixes #76513]
3083
3084 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com> 
3085
3086         * RichTextBox.cs: Implemented get_SelectionColor
3087
3088 2005-12-05  Alexander Olk  <alex.olk@googlemail.com>
3089
3090         * ThemeClearlooks.cs:
3091           - Removed dead code
3092           - Draw black button border only if button is Form.AcceptButton
3093           - Draw correct button color for pressed RadioButton if the mouse 
3094             has entered the button
3095           - Updated ProgressBar drawing!
3096           - Updated CPDrawSizeGrip drawing
3097           - Updated StatusBarPanel drawing
3098
3099 2005-12-05  Mike Kestner  <mkestner@novell.com>
3100
3101         * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3102         * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3103
3104 2005-12-04  Alexander Olk  <alex.olk@googlemail.com>
3105
3106         * ThemeClearlooks.cs: Initial check-in, activate with
3107           export MONO_THEME=clearlooks
3108         * ThemeEngine.cs: Added ThemeClearlooks
3109
3110 2005-12-03  Mike Kestner  <mkestner@novell.com>
3111
3112         * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3113         [Fixes #76897]
3114
3115 2005-12-02  Jackson Harper  <jackson@ximian.com>
3116
3117         * Form.cs: If the child form has no menu the default main menu is
3118         used as the active menu.
3119
3120 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com> 
3121
3122         * ListBox.cs: Check if any items exist before trying to resolve 
3123           coordinates into items
3124
3125 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3126
3127         * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3128           as the second color for the background hatch
3129
3130 2005-12-02  Peter Dennis Bartok  <pbartok@novell.com>
3131
3132         * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3133         * RichTextBox.cs: FormatText position arguments are 1-based, now making
3134           sure that what we pass to FormatText is always 1-based. Fixes #76885
3135
3136 2005-11-29  Miguel de Icaza  <miguel@novell.com>
3137
3138         * NumericUpDown.cs (EndInit): When we are done initializing,
3139         reflect any updates on the UI.
3140
3141 2005-12-02  Jackson Harper  <jackson@ximian.com>
3142
3143         * ImplicitHScrollBar.cs:
3144         * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3145         their container controls.
3146         * TreeView.cs: Use the new implicit scrollbars.
3147
3148 2005-12-02  Jackson Harper  <jackson@ximian.com>
3149
3150         * TreeView.cs: Make top_node internal so the TreeNodeCollections
3151         can play with it.
3152         * TreeNodeCollection.cs: If we remove the topnode we need to
3153         update topnode to the next node in line.
3154         - When clearing nodes go through the same process as removing
3155         them, so they get depareneted and checked if they are top node.
3156
3157 2005-12-01  Jackson Harper  <jackson@ximian.com>
3158
3159         * TreeView.cs: When imagelists are used the image area is
3160         selectable as well as the text.
3161         - If there are no selected nodes select the first one.
3162         * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3163         so don't do it more then we need to.
3164
3165 2005-12-01  Jackson Harper  <jackson@ximian.com>
3166
3167         * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3168         that arrows can be scaled.
3169
3170 2005-12-01  Jackson Harper  <jackson@ximian.com>
3171
3172         * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3173         fail. Patch by Dieter Bremes
3174
3175 2005-11-30  Jackson Harper  <jackson@ximian.com>
3176
3177         * Form.cs: Property is 2.0 only
3178         * PrintDialog.cs: Signature fix.
3179
3180 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3181
3182         * TextControl.cs: 
3183           - No longer artificially moves text 2 pixels down (now that we have
3184             borders this is no longer needed)
3185           - Added calcs for left, hanging and right indent
3186
3187 2005-11-23  Mike Kestner  <mkestner@novell.com>
3188
3189         * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3190
3191 2005-11-30  Jackson Harper  <jackson@ximian.com>
3192
3193         * MdiChildContext.cs: Set the cloned menus forms, as these don't
3194         get cloned as part of CloneMenu ().
3195         * Menu.cs: Make sure the parent of the items get set correctly
3196         when they are added.  And the owners are notified of the changes.
3197         * Form.cs: Create an ActiveMenu property, so that when MDI is used
3198         we can change the menu being displayed/handled by the form without
3199         changing the menu assosciated with the form.
3200         - Don't let Mdi children draw/handle menus.
3201         
3202 2005-11-30  Jackson Harper  <jackson@ximian.com>
3203
3204         * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3205         a MenuChanged event. Just to make the API a little more
3206         consistent.
3207         * MainMenu.cs:
3208         * MenuItem.cs: Use the new OnMenuChanged
3209         * MdiChildContext.cs: Handle menu merging.
3210         * Form.cs: Implement MergedMenu.
3211         
3212 2005-11-30  Jackson Harper  <jackson@ximian.com>
3213
3214         * Menu.cs: We were misusing Add. Add goes behind the specified
3215         index according to the docs, and does not replace the specified
3216         index. So I added an Insert method.
3217
3218 2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>
3219
3220         * TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3221           Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3222           is for Jackson
3223         * RichTextBox.cs: Added calls to base for DnD events
3224
3225 2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>
3226
3227         * TextControl.cs:
3228           - Fixed drag-selection related crash; style fixes
3229           - Implemented undo class
3230             o Implemented method to capture document state for specified
3231               range in document tree
3232             o Implemented method to restore captured document state
3233             o Implemented cursor tracking
3234             o Implemented basic undo stack
3235           - Added undo cursor tracking to methods altering cursor location
3236           - Added undo tracking to selection deletion (still missing
3237             other text-altering hookups)
3238         * RichTextBox.cs:
3239           - Added SelectionLength property
3240           - Implemented CanPaste()
3241           - Implemented Paste()
3242           - Added missing protected methods
3243           - Fixed RTF->Document conversion; now uses font index 0 and color 
3244             index 0 as the default font for the parsed text
3245           - Fixed RTF<->Document font size translation
3246           - Fixed RTF generation, now properly handles cross-tag boundaries
3247             for single line selection
3248           - No longer always appends blank line to generated RTF
3249           - Removed TODOs
3250           - Added missing attributes
3251           - Hooked up undo-related methods
3252         * TextBoxBase.cs:
3253           - Implemented Copy()
3254           - Implemented Paste()
3255           - Implemented Cut()
3256           - Fixed caret mis-behaviour on backspace across line-boundaries
3257
3258 2005-11-29  Jackson Harper  <jackson@ximian.com>
3259
3260         * MdiClient.cs: Add a method for activating mdi children. Very
3261         basic right now. I imagine someday it might need more girth.
3262         * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3263         children windows names are added to the menu item.
3264         * ThemeWin32Classic.cs: Draw the arrow if the item is an
3265         mdilist. This happens regardless of whether or not there are any
3266         mdi windows to see in the list, and according to my tests happens
3267         before the items are even added. Also happens if there isn't even
3268         an mdi client to get windows from.
3269
3270 2005-11-29  Alexander Olk  <alex.olk@googlemail.com>
3271
3272         * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3273         * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3274
3275 2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>
3276
3277         * DataGridTableStyle.cs:
3278           - Create always the styles for the missing columns even if they are
3279             provided by the user (not default table style)
3280         * DataGrid.cs:
3281           - Fixes bug 76770
3282           - Fixes SetDataBinding (always re-attach source)
3283           - Fixes SetNewDataSource (only clear styles if they are not for 
3284             this source)
3285          -  Expands OnTableStylesCollectionChanged to handle style refresh 
3286             and remove properly
3287
3288 2005-11-29  Jackson Harper  <jackson@ximian.com>
3289
3290         * FileDialog.cs: Implement missing bits, remove some dead
3291         code.
3292         * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3293         creation of the panel so that the options set on the dialog are
3294         seen when the panel is created.
3295         * TreeView.cs: raise a click when items are clicked.
3296         
3297 2005-11-29  Jackson Harper  <jackson@ximian.com>
3298
3299         * MdiClient.cs: Pass some signature methods through to base.
3300
3301 2005-11-28  Jackson Harper  <jackson@ximian.com>
3302
3303         * ListView.cs: Raise the click event when items are clicked.
3304
3305 2005-11-28  Jackson Harper  <jackson@ximian.com>
3306
3307         * MdiClient.cs: Make this algorithm even more beautiful.  And fix
3308         a nullref.
3309
3310 2005-11-27  Alexander Olk  <alex.olk@googlemail.com>
3311
3312         * ThemeNice.cs: - Removed 1 pixel bitmaps
3313           - Use SmoothingMode.AntiAlias where it makes sense
3314             (ScrollButton arrow for example)
3315           - Enhanced Button focus drawing
3316           - Fixed ComboBox drawing (no artefacts anymore, focus
3317             rectangle is back again, reduced size of ComboButton, etc.)
3318           - Fixed RadioButton focus drawing for Appearence.Button
3319           - Slight ScrollButton redesign
3320           - Some LinearGradientBrush size fixes
3321           - GroupBoxes have now rounded edges
3322           - Fixed StatusBar drawing
3323
3324 2005-11-25  Alexander Olk  <alex.olk@googlemail.com>
3325
3326         * ThemeNice.cs: - Remove dead code
3327           - use correct background colors for menus, etc.
3328           - Fake pixel drawing with 1 pixel bitmaps
3329
3330 2005-11-24  Jackson Harper  <jackson@ximian.com>
3331
3332         * MdiClient.cs: Size the scrollbars when resizing the window.
3333         - Resize the maximized windows when the client is resized
3334         * Form.cs: Make the child context available
3335         
3336 2005-11-23  Jackson Harper  <jackson@ximian.com>
3337
3338         * MdiChildContext.cs: Don't size windows if they are maximized.
3339
3340 2005-11-23  Mike Kestner  <mkestner@novell.com>
3341
3342         * ContextMenu.cs: use MenuTracker.
3343         * Control.cs: remove menu handle usage.
3344         * Form.cs: remove menu handle usage.
3345         * Hwnd.cs: remove menu handle usage.
3346         * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3347         motion and clicks to the new Tracker handlers.
3348         * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3349         and handle usage.
3350         * MenuAPI.cs: refactored to combine popup and menubar event handling.
3351         Killed the MENU and MENUITEM data types and associated collections
3352         since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3353         MenuTracker class that exposes the leftovers from the old MenuAPI
3354         static methods. Restructured Capture handling so that only one grab is
3355         done for the entire menu hierarchy instead of handing off grabs to
3356         submenus. Tracker now has an invisible control to Capture when active.
3357         * MenuItem.cs: add sizing accessors, kill Create
3358         and handle usage.
3359         * Theme.cs: remove menu handle and MENU(ITEM) usage.
3360         * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3361         MENU(ITEM). remove menu handle usage, use Menu directly.
3362         * XplatUIDriver.cs: remove menu handle usage.
3363         * XplatUIOSX.cs: remove menu handle usage.
3364         * XplatUIWin32.cs: remove menu handle usage.
3365         * XplatUIX11.cs: remove menu handle usage.
3366
3367 2005-11-22  Jackson Harper  <jackson@ximian.com>
3368
3369         * Hwnd.cs: Don't compute the menu size for
3370         DefaultClientRectangle.
3371         - Reenable menu sizes being computed for GetClienRectangle.
3372         * Form.cs: Remove comment of trechery
3373         
3374 2005-11-22  Jackson Harper  <jackson@ximian.com>
3375
3376         * Hwnd.cs: The adjustments for the menu bar are made when it is
3377         attached to the form.
3378
3379 2005-11-19  Jackson Harper  <jackson@ximian.com>
3380
3381         * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3382         (just like on windows).
3383
3384 2005-11-19  Jackson Harper  <jackson@ximian.com>
3385
3386         * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3387         use real buttons anymore because they are in non client area. The
3388         one TODO here is that I need to somehow invalidate a section of
3389         the non client area.
3390
3391 2005-11-18  Jackson Harper  <jackson@ximian.com>
3392
3393         * Control.cs: Put the enum check back in now that MDI doesnt have
3394         to use this to set border styles.
3395         * Form.cs: Only set mdi child windows borders if the handle has
3396         been created.
3397         * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3398         this directly on to the driver.
3399         - Get the move start position before adjusting for the titlebar
3400         height, this fixes the windows "skipping" when they are first
3401         moved.
3402
3403 2005-11-18  Jackson Harper  <jackson@ximian.com>
3404
3405         * XplatUIX11.cs: Just compute the mdi borders separately as they
3406         don't totally match up with normal form borders.
3407
3408 2005-11-18  Jackson Harper  <jackson@ximian.com>
3409
3410         * Control.cs: Set WS_ styles for borders, so that the driver does
3411         not have to retrieve the control instance to figure out what kind
3412         of borders it should have.
3413         * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3414         driver can know its an mdi child easily.
3415         * XplatUIX11.cs: Get the border styles and whether the window is
3416         MDI from the Styles and ExStyles params instead of having to get a
3417         control. This prevents a chicken and egg problem.       
3418
3419 2005-11-18  Jackson Harper  <jackson@ximian.com>
3420
3421         * MdiClient.cs: Fix typo so scrollbars show up correctly.
3422
3423 2005-11-18  Jackson Harper  <jackson@ximian.com>
3424
3425         * MdiClient.cs: Calculate when to add and remove scrollbars
3426         correctly.
3427         * MdiChildContext.cs: Adjust the y position to take the titlebar
3428         into account.
3429         - No height for FormBorderStyle.None
3430
3431 2005-11-18  Jackson Harper  <jackson@ximian.com>
3432
3433         * Control.cs: Allow non enum values to be used for
3434         InternalBorderStyle.  MDI does this to set a special border style.
3435         - New utility methods for converting points to/from client coords
3436         - Add the newly created control to the Controls collection before
3437         updating its style. This way UpdateStyle can walk the control
3438         heirarchy to find the control if needed.
3439         so I don't need to create a new Point object all the time.
3440         * Form.cs: Let MDI windows handle their border styles.
3441         - Set styles on MDI windows so the correct title style is derived.
3442         * MdiChildContext.cs: Move all the painting and window handling
3443         into the non client area.
3444         - Use correct sizing and put correct buttons on frames based on
3445         the FormBorderStyle.
3446         - Notify the mdi client about scrolling
3447         - Need to handle the buttons ourselves now, because they are all
3448         in non client areas and we can't add controls there.
3449         * MdiClient.cs: Halfway to scrolling, this implementation is
3450         somewhat broken though, we need to check to make sure other
3451         windows aren't causing scrolling before removing the bars. Also
3452         the bars need to be drawn on top, maybe I can switch implicit
3453         controls to be on top.
3454         * Hwnd.cs: caption_height and tool_caption_height are now
3455         properties of an hwnd, this way they can be set by the driver
3456         based on the type of window they are.  In X11 the window manager
3457         handles the decorations so caption_height is zero unless its an
3458         MDI window.
3459         - Add 3 pixel borders for MDI windows (0xFFFF).
3460         - Get rid of some code duplication, have DefaultClientRectanle
3461         just call GetClientRectangle.
3462         * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3463         Hwnd now.
3464         - Set border styles differently for mdi windows.
3465         * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3466         Hwnd now.
3467         
3468 2005-11-15  Mike Kestner  <mkestner@novell.com>
3469
3470         * Menu.cs: when adding an item to the collection, if item is already 
3471         parented, remove it from the parent.
3472
3473 2005-11-13  Alexander Olk  <alex.olk@googlemail.com>
3474
3475         * X11DesktopColors.cs: Added KDE support
3476
3477 2005-11-11  Peter Dennis Bartok  <pbartok@novell.com>
3478
3479         * XplatUIWin32.cs: 
3480           - Clipboard methods now can translate Rtf format
3481           - No longer removes clipboard contents whenever a new format is added
3482             to allow placing multiple formats on the clipboard
3483         * Clipboard.cs: Clipboard now supports getting a IDataObject and
3484           will place all formats contained in it onto the clipboard. Also
3485           now cleans the clipboard before placing a new object onto it
3486         * RichTextBox.cs:
3487           - Implemented set_Rtf
3488           - Implemented set_SelectedRtf
3489           - Created InsertRTFFromStream() method to allow single code base
3490             for all properties and methods that insert RTF into document
3491           - Removed debug output
3492         * TextControl.cs:
3493           - Fixed Delete(int) to fix up line numbers
3494           - Fixed ReplaceSelection to combine start and end line
3495           - Fixed serious DeleteChars bug that would leave the document tree
3496             broken
3497           - Improved DumpTree with several logic checks to detect broken
3498             document trees
3499           - Removed debug lines
3500           - Fixed Caret.WordForward/WordBack moving code, now always also 
3501             updates caret.tag (fixes crash when word-selecting across tag
3502             boundaries via keyboard)
3503           - Added Insert() method for inserting multiline text into documents
3504           - Fixed DeleteChars() calculation errors that would cause a broken
3505             tag chain with multiple tag lines
3506           - DeleteChars() no longer crashes on multi-tag lines if not all tags
3507           - Split() no longer moves caret if split is at caret location
3508           - ReplaceSelection() now updates the cursor and re-displays it
3509           - ReplaceSelection() now uses new Insert() method to avoid code
3510             duplication
3511           - FormatText() can now handle formatting partial lines
3512         * TextBoxBase.cs:
3513           - Append now uses new TextControl.Insert() method (this avoids 
3514             duplicate code)
3515           - Implemented Ctrl-X (Cut) (
3516           - Implemented Ctrl-C (Copy)
3517           - Implemented Ctrl-V (Paste) (Still some bugs related to screen 
3518             regeneration when pasting text; roundtripping Copy&Paste within
3519             edit control still fails due to some calculation bugs in GenerateRTF)
3520           - The Delete key will now remove the current selection if it is visible
3521         * TextBox.cs: Removed debug lines
3522         * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3523           driver to be initialized and can't therefore be done via a static ctor)
3524
3525 2005-11-10  Peter Dennis Bartok  <pbartok@novell.com>
3526
3527         * TextControl.cs: Added backend code for finding char arrays and strings
3528         * TextBoxBase.cs:
3529           - Added mouse wheel scroll support
3530           - Added support for VScroll and HScroll events
3531         * RichTextBox.cs:
3532           - Implemented all seven Find() variants
3533           - Implemented GetCharFromPosition()
3534           - Implemented GetCharIndexFromPosition()
3535           - Implemented GetLineFromIndex()
3536           - Implemented GetPositionFromCharIndex();
3537           - Implemented SaveFile for PlainText and UnicodeText
3538           - Fixed set_Font, now setting a new font applies that font to
3539             the whole document
3540           - Implemented generic Document to RTF converter
3541           - Implemented SaveFile for RichText format (still missing unicode
3542             conversion for non-ansi chars)
3543           - Implemented get_Rtf
3544           - Implemented get_SelectedRtf
3545
3546 2005-11-09  Peter Dennis Bartok  <pbartok@novell.com>
3547
3548         * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3549           to allow any captures to be released before triggering OnClick. This
3550           way a click handler may capture the mouse without interference.
3551         * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3552           This way we send them even though X may not allow a grab (if the window
3553           isn't visible, for example)
3554
3555 2005-11-08  Pedro Martinez Julia <pedromj@gmail.com>
3556
3557         * DataGridViewRowEventArgs.cs: DataGridView implementation
3558         * DataGridViewElement.cs: DataGridView implementation
3559         * DataGridViewComboBoxCell.cs: DataGridView implementation
3560         * DataGridViewDataErrorContexts.cs: DataGridView implementation
3561         * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3562         * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3563         * ImageLayout.cs: DataGridView implementation
3564         * DataGridViewComboBoxColumn.cs: DataGridView implementation
3565         * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3566         * DataGridViewSelectionMode.cs: DataGridView implementation
3567         * IDataGridViewEditingControl.cs: DataGridView implementation
3568         * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3569         * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3570         * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3571         * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3572         * DataGridViewColumnSortMode.cs: DataGridView implementation
3573         * DataGridView.cs: DataGridView implementation
3574         * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3575         * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3576         * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3577         * Padding.cs: DataGridView implementation
3578         * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3579         * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3580         * DataGridViewRowEventHandler.cs: DataGridView implementation
3581         * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3582         * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3583         * DataGridViewButtonCell.cs: DataGridView implementation
3584         * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3585         * DataGridViewEditMode.cs: DataGridView implementation
3586         * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3587         * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3588         * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3589         * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3590         * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3591         * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3592         * DataGridViewCellEventHandler.cs: DataGridView implementation
3593         * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3594         * DataGridViewCellStyleConverter.cs: DataGridView implementation
3595         * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3596         * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3597         * DataGridViewColumnEventArgs.cs: DataGridView implementation
3598         * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3599         * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3600         * QuestionEventArgs.cs: DataGridView implementation
3601         * IDataGridViewEditingCell.cs: DataGridView implementation
3602         * DataGridViewTriState.cs: DataGridView implementation
3603         * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3604         * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3605         * DataGridViewColumnCollection.cs: DataGridView implementation
3606         * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3607         * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3608         * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3609         * DataGridViewColumn.cs: DataGridView implementation
3610         * DataGridViewCellBorderStyle.cs: DataGridView implementation
3611         * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3612         * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3613         * DataGridViewRow.cs: DataGridView implementation
3614         * DataGridViewImageCellLayout.cs: DataGridView implementation
3615         * DataGridViewImageCell.cs: DataGridView implementation
3616         * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3617         * DataGridViewCheckBoxCell.cs: DataGridView implementation
3618         * DataGridViewHeaderCell.cs: DataGridView implementation
3619         * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3620         * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3621         * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3622         * DataGridViewTextBoxColumn.cs: DataGridView implementation
3623         * QuestionEventHandler.cs: DataGridView implementation
3624         * DataGridViewCellStyleScopes.cs: DataGridView implementation
3625         * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3626         * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3627         * DataGridViewCell.cs: DataGridView implementation
3628         * DataGridViewCellEventArgs.cs: DataGridView implementation
3629         * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3630         * DataGridViewCellStyle.cs: DataGridView implementation
3631         * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3632         * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3633         * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3634         * TextFormatFlags.cs: DataGridView implementation
3635         * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3636         * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3637         * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3638         * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3639         * DataGridViewButtonColumn.cs: DataGridView implementation
3640         * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3641         * HandledMouseEventArgs.cs: DataGridView implementation
3642         * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3643         * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3644         * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3645         * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3646         * DataGridViewRowCollection.cs: DataGridView implementation
3647         * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3648         * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3649         * DataGridViewHitTestType.cs: DataGridView implementation
3650         * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3651         * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3652         * DataGridViewColumnEventHandler.cs: DataGridView implementation
3653         * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3654         * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3655         * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3656         * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3657         * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3658         * DataGridViewContentAlignment.cs: DataGridView implementation
3659         * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3660         * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3661         * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3662         * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3663         * DataGridViewPaintParts.cs: DataGridView implementation
3664         * DataGridViewCellCollection.cs: DataGridView implementation
3665         * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3666         * DataGridViewImageColumn.cs: DataGridView implementation
3667         * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3668         * DataGridViewElementStates.cs: DataGridView implementation
3669         * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3670         * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3671         * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3672         * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3673         * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3674         * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3675         * DataGridViewRowHeaderCell.cs: DataGridView implementation
3676         * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3677         * DataGridViewTextBoxCell.cs: DataGridView implementation
3678         * DataGridViewBand.cs: DataGridView implementation
3679         * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3680         * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3681         * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3682         * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3683         * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3684         * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3685         * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3686         * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3687         * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3688         * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3689         * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3690
3691 2005-11-08  Peter Dennis Bartok  <pbartok@novell.com>
3692
3693         * ThemeWin32Classic.cs: 
3694           - Draw the outside focus rectangle around buttons
3695           - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3696             doesn't use end caps for every dash of a line anymore. This
3697             workaround ignores the forecolor.
3698
3699 2005-11-08  Kornél Pál  <kornelpal@hotmail.com>
3700
3701         * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3702           endian safe.
3703
3704 2005-11-07  Jackson Harper  <jackson@ximian.com>
3705
3706         * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3707
3708 2005-11-07  Jackson Harper  <jackson@ximian.com>
3709
3710         * ScrollableControl.cs: Calculate the maximum and change vars
3711         (more) correctly so that scrollbars appear as a sensible size.
3712
3713 2005-11-04  Jackson Harper  <jackson@ximian.com>
3714
3715         * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3716         collection.
3717         * TreeView.cs: When the tree is sorted null out the top_node so
3718         that it is recalculated.
3719         - Use dotted lines instead of dashed lines to match MS better.
3720
3721 2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>
3722
3723         * ListView.cs: 
3724           - Implements key search for items. Useful when browsing files with FileDialog
3725           - When changing view mode or when clear the items reset scrollbar positions
3726
3727 2005-11-04  Jackson Harper  <jackson@ximian.com>
3728
3729         * CurrencyManager.cs: Implement the MetaDataChanged event, the
3730         Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3731         as to what the method may do as there is no real way of creating a
3732         derived CurrencyManager and calling the method. 
3733
3734 2005-11-03  Jackson Harper  <jackson@ximian.com>
3735
3736         * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3737         * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3738         method which seems to just be used internally to refresh the tabs.
3739
3740 2005-11-03  Jackson Harper  <jackson@ximian.com>
3741
3742         * TabControl.cs: Implement the remove method. Fix some broken
3743         comments.
3744
3745 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3746
3747         * DateTimePicker.cs:
3748           - Added missing DateTimePickerAccessibleObject class
3749           - Added missing events
3750           - Added OnFontChanged method
3751         * Form.cs: Added missing attributes
3752         * TreeView.cs: Added missing attributes
3753
3754 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com> 
3755
3756         * GridItemCollection.cs: Fix signatures
3757
3758 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3759
3760         * XplatUI.cs: Updated build rev/date
3761         * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
3762           DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3763         * Application.cs: Trigger context-specific ExitThread events
3764
3765 2005-11-03  Jackson Harper  <jackson@ximian.com>
3766
3767         * Menu.cs:
3768         * MainMenu.cs:
3769         * GridTableStylesCollection.cs:
3770         * Timer.cs:
3771         * TabPage.cs:
3772         * HelpProvider.cs:
3773         * StatusBar.cs:
3774         * MonthCalendar.cs: Signature fixes
3775
3776 2005-11-03  Jackson Harper  <jackson@ximian.com>
3777
3778         * TreeNodeCollection.cs: Remove should not be virtual.
3779         * TreeView.cs: Implement the last of the missing methods.
3780
3781 2005-11-03  Jackson Harper  <jackson@ximian.com>
3782
3783         * TreeNodeConverter.cs: Implement to get off my class-status back.
3784
3785 2005-11-03  Jackson Harper  <jackson@ximian.com>
3786
3787         * TreeView.cs: Hookup the bits for drag and drop.
3788         * TreeNode.cs: Don't cache the tree_view or index anymore, now
3789         that nodes can be moved from tree to tree easily this just causes
3790         all sorts of problems.
3791         * TreeNodeCollection: Don't need to give treenodes an index and
3792         treeview anymore when they are added, these are computed on the
3793         fly. Also make sure to remove a node before its added.
3794
3795 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
3796
3797         * TextControl.cs:
3798           - Added CaretSelection enum
3799           - Added comparison methods to Marker struct, makes selection code
3800             more readable
3801           - Added SelectionStart and SelectionEnd as 'moveable' location for
3802             the CaretDirection enum and handler
3803           - Added selection_prev variable to track optimized invalidation for
3804             word and line selection
3805           - Added SelectionVisible property (returns true if there is a valid 
3806             selection)
3807           - Switched CaretHasFocus to only display the caret if there is no
3808             visible selection
3809           - Avoiding StringBuilder.ToString to retrieve a single char, instead
3810             using the direct character index; should be much faster
3811           - Added various conditional debug statements
3812           - Fixed invalidation calculation for selection ranges
3813           - Added ExpandSelection() method to support word and line selection
3814           - Switched SetSelectionToCaret to use new Marker compare overloads
3815           - Added central IsWordSeparator() method to determine word 
3816             separators/whitespace and FindWordSeparator() to streamline common
3817             usage of IsWordSeparator()
3818         * TextBoxBase.cs:
3819           - Removed unneeded grabbed variable, it was just mirroring
3820             Control.Capture
3821           - No longer firing OnTextChanged event when Text setter is called,
3822             since the base will fire the event for us
3823           - Added handling of Ctrl-Up/Down selection
3824           - Added handling of Shift-Cursorkey selection
3825           - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3826             words
3827           - Added handling of Shift and Ctrl-Shift-Home/End selection
3828           - Removed some debug output
3829           - Added handling for single/double/tripple-click to place caret/
3830             select word/select line respectively (Fixes bug #76031)
3831           - Added support for drag expansion of word/line selection
3832         * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3833           current selection
3834
3835 2005-11-02  Jackson Harper  <jackson@ximian.com>
3836
3837         * X11Dnd.cs: If the drag is going to and from a MWF window just
3838         copy the data instead of sending it out through the X Selection
3839         mechanism.
3840
3841 2005-11-02  Jackson Harper  <jackson@ximian.com>
3842
3843         * X11Dnd.cs:
3844         * XplatUIX11.cs: When in a drag we don't want motion notify
3845         messages to get passed on to the other controls. This prevents
3846         mouse move messages from showing up in the drag source.
3847
3848 2005-11-02  Jackson Harper  <jackson@ximian.com>
3849
3850         * X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
3851         the correct button is release to end a drag.
3852         * XplatUIX11.cs: Make the button state internal so the drag system
3853         can access it.  Dragging needs to know about all button releases,
3854         not just left button.
3855
3856 2005-11-02  Miguel de Icaza  <miguel@novell.com>
3857
3858         * Form.cs (Icon): If the icon is null, reset the icon to the
3859         default value. 
3860
3861         * Cursor.cs: When writing the AND-mask bitmap do not include the
3862         number of colors, but hardcode those to two (black and white),
3863         fixes the loading of color cursors (Paint Dot Net).
3864
3865         * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3866         turn off autoscaling.
3867
3868         * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3869
3870 2005-11-02  Jackson Harper  <jackson@ximian.com>
3871
3872         * X11Dnd.cs: Make sure to send a status message if the pointer
3873         enters a control that can not accept a drop, otherwise the cursor
3874         isn't updated correctly. Also tried to compress the lines of code
3875         a bit.
3876
3877 2005-11-02  Jackson Harper  <jackson@ximian.com>
3878
3879         * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3880         set actions correctly.  This isn't perfect as XDND and win32 have
3881         some differences on how you allow actions. I'll clear this up by
3882         adding a path for drag from MWF to MWF windows.
3883         * XplatUIX11.cs: Hook into the dnd system.
3884
3885 2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>
3886
3887         * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3888         previously shown but they are no longer need it. Very obvious when 
3889         browsing files with FileDialog.
3890
3891 2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>
3892
3893         * Control.cs: We always need to call OnPaintBackground. We pretty much
3894           ignore AllPaintingInWmPaint and always do the painting there, whether 
3895           it's set or not, since we always ignore the WM_ERASEBKGND message 
3896           (which we don't generate on X11). This fixes #76616.
3897         * Panel.cs: Removed unneeded background painting. This happens properly
3898           in Control.cs already
3899
3900 2005-10-31  Mike Kestner  <mkestner@novell.com>
3901
3902         * Menu.cs: Add items to collection before setting their index.
3903         * MenuItem.cs : add range checking with ArgumentException like MS.
3904         [Fixes #76510]
3905
3906 2005-10-31  Jackson Harper  <jackson@ximian.com>
3907
3908         * ListBox.cs: Invalidate if the area is visible at all not just
3909         contained in the visible rect. Fixes unselection of semi visible
3910         items.
3911
3912 2005-10-31  Jackson Harper  <jackson@ximian.com>
3913
3914         * Control.cs: Consistently name the dnd methods. Make them
3915         internal so we can override them to match some MS behavoir
3916         internally.
3917         * Win32DnD.cs: Use the new consistent names.
3918
3919 2005-10-31  Jackson Harper  <jackson@ximian.com>
3920
3921         * TreeView.cs: Don't draw the selected node when we lose focus.
3922
3923 2005-10-31  Jackson Harper  <jackson@ximian.com>
3924
3925         * X11Dnd.cs: We still need to reset the state even though a full
3926         reset isn't being done, otherwise status's still get sent all over
3927         the place.
3928
3929 2005-10-31  Jackson Harper  <jackson@ximian.com>
3930
3931         * Control.cs: Make the dnd_aware flag internal so the dnd
3932         subsystem can check it. Catch exceptions thrown in dnd handlers to
3933         match MS behavoir.
3934         * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3935         * X11Dnd.cs: Handle null data in the converters. Set the XDND
3936         version when sending a XdndEnter. Use the control/hwnd dnd_aware
3937         flags to reduce the number of dnd enters/status's sent.
3938
3939 2005-10-31  Jackson Harper  <jackson@ximian.com>
3940
3941         * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3942
3943 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
3944
3945         * PictureBox.cs: Fixes 76512
3946
3947 2005-10-28  Jackson Harper  <jackson@ximian.com>
3948
3949         * X11Dnd.cs: Early implementation to support winforms being a drag
3950         source for data on X11. Also restructured the converters so they
3951         can go both ways now.
3952         * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3953         
3954 2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>
3955
3956         * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3957           clipboard requests
3958
3959 2005-10-27  Jackson Harper  <jackson@ximian.com>
3960
3961         * TreeNode.cs: Implement serialization so my DnD examples will work.
3962
3963 2005-10-24  Kornél Pál  <kornelpal@hotmail.com>
3964
3965         * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3966           TreeView.cs: Don't dispose objects that are not owned.
3967           
3968 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
3969
3970         * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3971           should retrieve the current cursor and report that, but XplatUI
3972           doesn't (yet) have an interface for that (and I'm not sure I even
3973           can, on X11)
3974         * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3975           until any message loop processing is done (and the WM_SETCURSOR
3976           replaces the cursor to the proper one)
3977         * XplatUIX11.cs: 
3978           - Fixed override behaviour, we can't set the cursor globally on X11, 
3979             just for our windows.
3980           - Invalidating the System.Drawing X11 display handle when we are
3981             shutting down
3982         * Control.cs: Fix to make csc happy
3983
3984 2005-10-23  Peter Dennis Bartok  <pbartok@novell.com>
3985
3986         * TextBoxBase.cs: 
3987           - get_Text: Add last line (without trailing newline) to returned
3988             value (Fixes 76212)
3989           - get_TextLength: Count last line in returned length
3990           - ToString: Call Text property instead of duplicating code
3991
3992 2005-10-23  Kornél Pál  <kornelpal@hotmail.com>
3993
3994         * ImageList.cs: Dispose ImageAttributes objects.
3995
3996 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
3997
3998         * ImageList.cs: Use attribute constructors with less arguments where
3999           possible.
4000
4001 2005-10-22  Kornél Pál  <kornelpal@hotmail.com>
4002
4003         * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4004           Use typeof instead of strings when assembly is referenced. Added
4005           some more comments.
4006
4007 2005-10-21  Jackson Harper  <jackson@ximian.com>
4008
4009         * ListView.cs: Raise a double click event. Also tried to somewhat
4010         fix when the selectedindexchanged event is raised. Its still
4011         broken though.
4012
4013 2005-10-21  Jackson Harper  <jackson@ximian.com>
4014
4015         * TreeView.cs: New method to invalidate the plus minus area of a
4016         node without invalidating the whole node (maybe this can be used
4017         in some more places).
4018         * TreeNodeCollection.cs: When adding to an empty node we need to
4019         invalidate its plus minus area so the little block shows up.
4020         
4021 2005-10-21  Jackson Harper  <jackson@ximian.com>
4022
4023         * TreeView.cs: Make sure that when we invalidate a node the bounds
4024         are big enough to cover the selected box and the focus
4025         rectangle. Use a different colour for the lines connecting nodes
4026         so they show up with all themes.
4027
4028 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4029
4030         * NativeWindow.cs: Don't call anything that could call into the driver,
4031           we might be on a different thread.
4032
4033 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com> 
4034
4035         * Control.cs(Dispose): Since Dispose might run on a different thread,
4036           make sure that we call methods that could call into the driver via
4037           invoke, to avoid thread issues
4038
4039 2005-10-21  Peter Dennis Bartok  <pbartok@novell.com>
4040
4041         * XplatUI.cs: Removed finalizer
4042         * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4043           not allowing to be called on the finalizer thread.
4044
4045 2005-10-21  Kornél Pál  <kornelpal@hotmail.com>
4046
4047         * ImageList.cs:
4048           - Reverted r51889 and r51891.
4049           - Added ImageListItem class that stores unmodified image items and image
4050             properties required to create list images until handle is created.
4051           - Added AddItem and moved image creation logic to AddItemInternal.
4052           - Added CreateHandle method that creates images based on unmodified items.
4053           - Added DestroyHandle that changes state to store unmodified items.
4054           - Add and AddStrip methods no more create handle.
4055           - ReduceColorDepth has no return value.
4056           - Dispose destroys handle.
4057           - Modified other methods to reflect the above changes.
4058           - Implemented key support.
4059           - Added profile 2.0 members and attributes.
4060           - Added private Reset and ShouldSerialize methods that provide the same
4061             behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4062             them as they are private.
4063           - Added some more comments about implementation details.
4064
4065 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4066
4067         * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4068
4069 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4070
4071         * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4072
4073 2005-10-21  Jordi Mas i Hernandez <jordi@ximian.com>
4074
4075         * DataGridDrawingLogic.cs: Fixes column hit calcultation
4076         * DataGridColumnStyle.cs: Remove debug message
4077
4078 2005-10-20  Jackson Harper  <jackson@ximian.com>
4079
4080         * TreeView.cs: We can always get input keys regardless of whether
4081         or not editing is enabled. They are used for navigation.
4082
4083 2005-10-20  Jackson Harper  <jackson@ximian.com>
4084
4085         * TreeNode.cs: Use the viewport rect for determining if a node
4086         needs to be moved for visibility. Don't use Begin/End edit. This
4087         calls a full refresh when its done.
4088         * TreeView.cs: New SetBottom works correctly.  Make the viewport
4089         rect property internal so the treenodes can see it. When clicking
4090         on a node we need to ensure that its visible because it might just
4091         be partly visible when clicked.
4092
4093 2005-10-20  Jackson Harper  <jackson@ximian.com>
4094
4095         * TreeNodeCollection.cs: Remove debug code.
4096
4097 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4098
4099         * Datagrid.cs: Implements column sorting in Datagrid
4100         * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4101
4102 2005-10-20  Jackson Harper  <jackson@ximian.com>
4103
4104         * TreeNodeCollection.cs: Remove items properly. Update the correct
4105         area after removing them.
4106
4107 2005-10-20  Jordi Mas i Hernandez <jordi@ximian.com>
4108
4109         * Datagrid.cs: Should not call base.OnPaintBackground
4110
4111 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4112
4113         * XplatUIX11.cs (GetMessage):
4114           - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4115             window instead of client window
4116           - Now properly calculates NC_xBUTTONUP message coordinates
4117           - ScreenToMenu now properly calculates it's coordinates of whole 
4118             window, since menus are in the whole window, not in the client
4119             window
4120           - Added WholeToScreen coordinate translation method
4121
4122 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com> 
4123
4124         * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4125           want to return a message, loop back to the beginning of the function
4126           and grab the next real message to process instead.
4127
4128 2005-10-20  Peter Dennis Bartok  <pbartok@novell.com>
4129
4130         * Splitter.cs: Properly set limits if no filler control is used
4131
4132 2005-10-19  Jackson Harper  <jackson@ximian.com>
4133
4134         * ColorDialog.cs: Don't show the help button if it is not enabled
4135         instead of disabling it (this is what MS does). Don't create the
4136         panel until the dialog is run, otherwise the vars (such as
4137         ShowHelp) are not set yet.
4138
4139 2005-10-19  Jackson Harper  <jackson@ximian.com>
4140
4141         * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4142         are reduced when adding nodes.
4143         * TreeNode.cs:
4144         * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4145         tree.
4146         
4147 2005-10-19  Jackson Harper  <jackson@ximian.com>
4148
4149         * FolderBrowserDialog.cs: End editing our treeview so the window
4150         actually gets refreshed.
4151
4152 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4153
4154         * Control.cs: Fixed logic flip on when to call OnPaintBackground. 
4155           Obsoleted handling of WM_ERASEBKGND, now always draws our background
4156           inside of WM_PAINT
4157
4158 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4159
4160         * MenuAPI.cs: Returns after Hidding window
4161         * XplatUIX11.cs: Added TODO found while debugging menu issues
4162
4163 2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>
4164
4165         * XplatUIX11.cs: Do not re-map the whole window when it's size
4166           becomes non-zero unless it's supposed to be actually visible
4167
4168 2005-10-18  Jackson Harper  <jackson@ximian.com>
4169
4170         * TreeView.cs: We don't need to keep a count anymore.
4171         * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4172         use the Grow method.
4173
4174 2005-10-18  Jackson Harper  <jackson@ximian.com>
4175
4176         * TreeNodeCollection.cs: Insert is not supported on arrays, so
4177         implement it manually here.
4178
4179 2005-10-18  Jackson Harper  <jackson@ximian.com>
4180
4181         * ImageList.cs: Dont kill the list when the colour depth is
4182         changed, just change the colour depth of all the images.
4183         - Same goes for setting the image size. Just resize them all
4184         instead of killing the list softly.
4185
4186 2005-10-18  Jackson Harper  <jackson@ximian.com>
4187
4188         * Control.cs: Don't invalidate empty rectangles.
4189
4190 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4191
4192         * ListViewItem.cs:
4193           - Adds checked item to the Checked/Item lists (where empty before)
4194           - Do not add items to the Selected lists if they are already present
4195         * ListView.cs:
4196           - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4197           - When deleting items make sure that we delete them for the Selected
4198           and Checked list also.
4199
4200 2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>
4201
4202         * Label.cs: Dispose objects no longer used
4203         * ThemeWin32Classic.cs: Dispose objects no longer used
4204
4205 2005-10-18  Jackson Harper  <jackson@ximian.com>
4206
4207         * TabControl.cs: Don't refresh the whole control when the tabs are
4208         scrolled, we just need to refresh the tab area.
4209
4210 2005-10-17  Jackson Harper  <jackson@ximian.com>
4211
4212         * XplatUIX11.cs: Compress code a little bit. Only calculate the
4213         after handle when we need it.
4214
4215 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4216
4217         * Control.cs: When the parent size changes, recalculate anchor 
4218           positions. Partial fix for #76462
4219
4220 2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>
4221
4222         * ThemeWin32Classic.cs: Make sure the picturebox has it's background 
4223           drawn. Fixes #76462
4224
4225 2005-10-17  Jackson Harper  <jackson@ximian.com>
4226
4227         * MonthCalendar.cs: Don't create the numeric up down until our
4228         handle is created. Otherwise our handle is created in the
4229         constructor and we don't know if we are a WS_CHILD or WS_POPUP
4230         yet.
4231
4232 2005-10-17  Jackson Harper  <jackson@ximian.com>
4233
4234         * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4235         correctly.
4236
4237 2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
4238         * TreeNode.cs : small logical fix (was using local var instead of field)
4239         
4240 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4241
4242         * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4243
4244 2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>
4245
4246         * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4247
4248 2005-10-16  Peter Dennis Bartok  <pbartok@novell.com> 
4249
4250         * Control.cs: 
4251           - Re-implemented anchoring code. My first version was really broken.
4252             This fixes bug #76033. Unlike the previous implementation we will
4253             no longer have round errors since all numbers are calculated from
4254             scratch every time. Removed various anchor-related obsolete vars.
4255           - InitLayout no longer causes layout event firing and layout to be 
4256             performed
4257
4258 2005-10-16  Jackson Harper  <jackson@ximian.com>
4259
4260         * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4261         which was broken).
4262
4263 2005-10-16  Jackson Harper  <jackson@ximian.com>
4264
4265         * TabControl.cs: Remove debug code.
4266
4267 2005-10-16  Jackson Harper  <jackson@ximian.com>
4268
4269         * XEventQueue.cs: Increase the default queue size (very simple
4270         apps needed to grow the queue).
4271         * Hwnd.cs: No finalizer so we don't need to suppress
4272         finalization. Compute the invalid area manually so a new rectangle
4273         does not newto be created.
4274         * ScrollableControl.cs: Don't set any params (otherwise visibility
4275         isn't set correctly).
4276         * MdiChildContext.cs: New constructor takes the mdi parent so it
4277         doesn't have to be computed and avoids a crash on windows. Draw
4278         the window icon properly, and allow the text to be seen.
4279         * Form.cs: Use new MdiChildContext constructor. Make sure the
4280         child context isn't null in wndproc.
4281         * TabControl.cs: Don't set focus, this is muddling keyboard
4282         behavoir. Expand the tab rows when a window size increase will
4283         allow extra tabs to be seen. Don't allow tabs smaller than the
4284         width of a window to be scrolled out of view.
4285         * TreeNode.cs:
4286         * TreeView.cs: Use measure string to calculate a nodes width, the
4287         width is cached and only updated when the text or the font is
4288         changed. Don't check for expand/collapse clicks on the first level
4289         nodes if root lines are disabled.
4290         
4291 2005-10-16  Ritvik Mayank  <mritvik@novell.com>
4292
4293         * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4294
4295 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4296
4297         * DataGridBoolColumn.cs: fixes warning
4298
4299 2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
4300
4301         * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4302         to match more to match more precisely the MS Net behavior
4303
4304 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4305
4306         * Hwnd.cs: Added field to track if window is mapped
4307         * XplatUIX11.cs: 
4308           - Unmap windows if they become 0-size, re-map when 
4309             they are >0 again; fixes #76035
4310           - Re-set our error handler after initializing X11Desktop
4311             to override any error handlers Gtk or whatever was called
4312             may have set.
4313
4314 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com> 
4315
4316         * CheckedListBox.cs: Removed unused vars
4317         * ListView.cs: Fixed signatures
4318         * RichTextBox.cs: Removed unused vars
4319         * TextBoxBase.cs: Removed unused vars
4320         * XplatUIWin32.cs: Removed unused vars
4321         * XplatUIX11.cs: Removed unused vars
4322         * XplatUI.cs: Updated version and date to latest published
4323
4324 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4325
4326         * Cursor.cs: Added private .ctor to work around a bug in
4327           resourceset (Thanks to Geoff Norton for the help on this)
4328         * SplitterEventArgs.cs: Made fields accessible so we don't
4329           waste boatloads of objects and can reuse the same one
4330           in Splitter
4331         * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4332           any captions and borders when generating screen coordinates
4333         * Splitter.cs: Reimplemented control, now fully complete, uses
4334           rubberband drawing, supports and obeys all properties, has
4335           proper cursors
4336
4337 2005-10-13  Miguel de Icaza  <miguel@novell.com>
4338
4339         * Form.cs (Form): Setup default values for autoscale and
4340         autoscale_base_size;  Make these instance variables, not static
4341         variables. 
4342
4343         (OnLoad): on the first load, adjust the size of the form.
4344
4345 2005-10-13  Peter Dennis Bartok  <pbartok@novell.com>
4346
4347         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added 
4348           width argument to DrawReversibleRectangle()
4349         * XplatUIWin32.cs, XplatUIX11.cs: 
4350           - Implemented width for DrawReversibleRectangle()
4351           - Added logic to DrawReversibleRectangle that recognizes a zero
4352             width or height and only draws a line in that situation
4353         
4354 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com> 
4355
4356         * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4357         * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4358         * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4359           method (it uses our FosterParent window to get a graphics context)
4360
4361 2005-10-12  Peter Dennis Bartok  <pbartok@novell.com>
4362
4363         * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground 
4364           and SetWindowBackground methods
4365         * Control.cs:
4366           - Setting proper ControlStyles
4367           - We no longer call XplatUI.SetWindowBackground and XplatUI.
4368             EraseWindowBackground, instead we draw the window background
4369             ourselves in PaintControlBackground. This behaviour is
4370             required to match MS, where, when OnPaintBackground is not
4371             called, the background is not drawn.
4372           - Removed unneeded Refresh() in set_Text
4373         * Hwnd.cs: Dropped the ErasePending support. No longer needed
4374         * XplatUIX11.cs:
4375           - Created DeriveStyles method to translate from CreateParams to
4376             FormBorderStyle and TitleStyle, also handles BorderStyle (which
4377             matches FormBorderStyle enum values)
4378           - Consolidated SetHwndStyles and CalculateWindowRect border/title
4379             style calculations into single DeriveStyles method
4380           - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4381             from redrawing the whole window on any resize or expose.
4382           - Fixed CreateWindow usage of SetWindowValuemask. Before not
4383             all styles were applied to our whole/client window appropriately
4384           - Removed EraseWindowBackground() and SetWindowBackground() methods
4385           - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4386             no longer clear/redraw the background through X
4387           - Removed handling of erase_pending bit, we have no use for it (or
4388             so it seems)
4389         * XplatUIOSX.cs:
4390           - Removed generation and handling of WM_ERASEBKGND message
4391           - Removed EraseWindowBackground() and SetWindowBackground() methods
4392           - Removed handling of hwnd.ErasePending flag
4393         * XplatUIWin32.cs:
4394           - Removed EraseWindowBackground() and SetWindowBackground() methods
4395           - We no longer call EraseWindowBackground on PaintEventStart, we 
4396             ignore the fErase flag, erasing is handled in Control in the
4397             background handler
4398         * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4399           LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4400           TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs, 
4401           CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs, 
4402           DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, 
4403           TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4404           DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4405
4406 2005-10-12  Jonathan Chambers <jonathan.chambers@ansys.com>
4407
4408         * PropertyGrids.cs: Get sub properties
4409         * PropertyGridView.cs: Fix drawing code
4410
4411 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4412
4413         * ListBox.cs: Fixes 76383
4414
4415 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4416
4417         * DataGridTextBoxColumn.cs: Sets location and size before attachment
4418         * ThemeWin32Classic.cs: Fixes border drawing and calculations
4419         * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4420
4421
4422 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4423
4424         * ComboBox.cs: Fixes border drawing
4425
4426 2005-10-10  Miguel de Icaza  <miguel@novell.com>
4427
4428         * MimeIcon.cs: Ignore errors if the file can not be read.
4429
4430 2005-10-11  Jordi Mas i Hernandez <jordi@ximian.com>
4431
4432         * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4433          - Fixed border calculations
4434          - Fixed horizontal scrolling in single column listboxes
4435          - Fixed drawing issues
4436
4437 2005-10-10  Peter Dennis Bartok  <pbartok@novell.com>
4438
4439         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to 
4440           FormBorderStyle enum
4441         * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added 
4442           code to determine FormBorderStyles from CreateParams
4443         * Form.cs:
4444           - Fixed bug where we'd set the wrong window styles if we were
4445             not creating an MDI window
4446           - Added call to XplatUI.SetBorderStyle when form borders are set
4447         * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4448         * Hwnd.cs:
4449           - Removed obsolete edge style
4450           - Switched from BorderStyle to FormBorderStyle
4451         
4452 2005-10-10  Jackson Harper  <jackson@ximian.com>
4453
4454         * Form.cs: Use the property to get the window handle instead of
4455         accessing it directly. Prevents a null reference exception.
4456
4457 2005-10-10  Jackson Harper  <jackson@ximian.com>
4458
4459         * TreeView.cs: Don't adjust the rect given to DrawString now that
4460         our libgdiplus draws correctly.
4461
4462 2005-10-08  Jackson Harper  <jackson@ximian.com>
4463
4464         * TreeView.cs: Don't try to find the clicked on node if there are
4465         no nodes in the tree.
4466
4467 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4468
4469         * RichTextBox.cs:
4470
4471           restore
4472
4473 2005-10-08  Alexander Olk  <alex.olk@googlemail.com>
4474
4475         * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4476           ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4477           ErrorProvider.cs:
4478           Use ResPool for brushes and dispose System.Drawing objects that
4479           are not used anymore.
4480
4481 2005-10-07  Jackson Harper  <jackson@ximian.com>
4482
4483         * MdiChildContext.cs: Use the new borders instead of drawing them
4484         ourselves.
4485
4486 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4487
4488         * Calling UpdateBounds after changing the window's BorderStyle 
4489         since the style can change the ClientSize
4490
4491 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4492
4493         * Control.cs: Made PaintControlBackground virtual
4494         * Panel.cs: Overriding PaintControlBackground instead of using paint
4495           event; paint event method was interfering with 'real' users of the
4496           event.
4497
4498 2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>
4499
4500         * ThemeWin32Classic.cs: remove border drawing since it is handled
4501         by the base control class now and was causing double border drawing.
4502
4503 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4504
4505         * Panel.cs: Redraw our background on paint. Not a pretty solution,
4506           but it does seem to match MS behaviour. This fixes bug #75324
4507
4508 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4509
4510         * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4511           somewhat hackish looking
4512
4513 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4514
4515         * TextBoxBase.cs:
4516           - We now accept Enter even if AcceptEnter is false, if the containing
4517             form does not have an AcceptButton configured (fixes bug #76355)
4518           - Calculations are now fixed to no longer use Width/Height, but
4519             ClientSize.Width/Height, since we now support borders (this was
4520             a result of fixing borders and therefore bug #76166)
4521           - We no longer show the horizontal scrollbar if TextBox.WordWrap is 
4522             true (fixes bug #76354)
4523         
4524 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4525
4526         * Control.cs: 
4527           - Defaulting BorderStyle and setting it in XplatUI when our window 
4528             is created
4529           - Added enum check to InternalBorderStyle setter
4530         * XplatUIX11.cs: 
4531           - Added drawing of window borders
4532           - Now properly calculates WM decorations offset for toplevel 
4533             windows (fixes bug #74763)
4534         * XplatUIWin32.cs: 
4535           - Implemented BorderStyles for windows (we're letting win32 draw 
4536             the border for us)
4537           - Fixed the signature for SetWindowLong
4538         * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4539           ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for 
4540           setting borders
4541         * UpDownBase.cs: Remove drawing of borders, this is handled by
4542           the driver, outside the client area
4543         * ListView.cs: Removed bogus border calculations. The control should
4544           be oblivious to borders, since those are not part of the client
4545           area. 
4546         * X11DesktopColors.cs: Commented out (currently) unneeded variables
4547         * ThemeWin32Classic.cs: Removed border calculations from ListView 
4548           drawing code
4549
4550 2005-10-06  Jackson Harper  <jackson@ximian.com>
4551
4552         * MdiChildContext.cs: Clear out the old virtual position remove
4553         all the unneeded calls to CreateGraphics.
4554
4555 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4556
4557         * TextControl.cs: Use proper color for highlighted text; fixes #76350
4558
4559 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com> 
4560
4561         * Form.cs: 
4562           - Added loading and setting of our new default icon
4563           - Only set icon if window is already created
4564
4565 2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
4566
4567         * Label.cs:
4568           - Do not explicitly set the foreground and background colors, to
4569             allow inheriting from parents (fixes #76302)
4570           - Use Control's InternalBorderStyle property to deal with borders
4571
4572 2005-10-06  Jackson Harper  <jackson@ximian.com>
4573
4574         * MdiChildContext.cs: Use the new xplatui function to draw a
4575         reversible rect.
4576
4577 2005-10-06  Jackson Harper  <jackson@ximian.com>
4578
4579         * Form.cs: Add the parent before creating the child context cause
4580         we need the parent when setting up the child.
4581
4582 2005-10-06  Jackson Harper  <jackson@ximian.com>
4583
4584         * FolderBrowserDialog.cs: redo the tree population code so a
4585         second thread isn't used. Should be a lot faster and more stable
4586         now.
4587
4588 2005-10-05  Jackson Harper  <jackson@ximian.com>
4589
4590         * TreeView.cs: There are no expand/collapse boxes if the node has
4591         no children.
4592
4593 2005-10-05  Jackson Harper  <jackson@ximian.com>
4594
4595         * X11DesktopColors.cs: Get menu colours for the gtk theme.
4596
4597 2005-10-05  Alexander Olk  <alex.olk@googlemail.com>
4598
4599         * FileDialog.cs: Fix InitialDirectory
4600
4601 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4602
4603         * ComboBox.cs:
4604                 - Fixes changing between styles
4605                 - Fixes simple mode
4606                 - Fixes last item crashing when navigating with keyboard
4607
4608 2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>
4609
4610         * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4611
4612 2005-10-05  Jackson Harper  <jackson@ximian.com>
4613
4614         * TreeView.cs: If updating the root node do a full refresh.
4615         * TreeNode.cs: The root node should be expanded by default. Also
4616         added a utility prop to tell if we are the root node.
4617         * TreeNodeCollection.cs: Only refresh if the node we are being
4618         added to is expanded. Also added a comment on a potential
4619         optimization.
4620         
4621 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>
4622
4623         * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize() 
4624           in dispose method. Fixes #76330
4625
4626 2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>
4627
4628         * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4629
4630                 - Implements vertical and horizontal scrolling using XplatUI
4631                 - Fixes keyboard navagation
4632                 - Fixes EnsureVisible
4633                 - Drawing fixes
4634                 - Handles and draws focus properly
4635
4636
4637 2005-10-04  Kornél Pál  <kornelpal@hotmail.com>
4638
4639         * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4640           Create handle. NET_2_0: Destroy handle when value is null.
4641
4642 2005-10-03  Jackson Harper  <jackson@ximian.com>
4643
4644         * ScrollBar.cs: My last scrollbar patch was broken. This is a
4645         revert and a new patch to prevent the thumb from refreshing so
4646         much.
4647
4648 2005-10-02  Jackson Harper  <jackson@ximian.com>
4649
4650         * ScrollBar.cs: Don't update position if it hasn't actually
4651         changed. This occurs when you hold down the increment/decrement
4652         buttons and the thumb gets to the max/min.
4653
4654 2005-10-01  Jackson Harper  <jackson@ximian.com>
4655
4656         * Form.cs:
4657         * MdiChildContext.cs:
4658         * MdiClient.cs: Implement ActiveMdiChild in Form.
4659
4660 2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>
4661
4662         * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4663
4664 2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>
4665
4666         * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4667           be found
4668
4669 2005-09-30  Jackson Harper  <jackson@ximian.com>
4670
4671         * ListBox.cs: Don't do a full refresh unless some data has
4672         actually changed.
4673
4674 2005-09-30  Jackson Harper  <jackson@ximian.com>
4675
4676         * TreeView.cs: Make sure that the checkboxes size is factored in
4677         even when not visible.
4678
4679 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4680
4681         * FileDialog.cs: Fix Jordi's build break
4682
4683 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4684
4685         * FileDialog.cs: 
4686                 - Use standard the Windows colours for the combobox as espected
4687                 - Dispose objects that use resouces when no longer need them
4688
4689 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com> 
4690
4691         * X11DesktopColors.cs: Initial incomplete implementation
4692         * XplatUIX11.cs: Added call to initialize X11DesktopColors
4693
4694 2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>
4695
4696         * Theme.cs: 
4697           - Switched Theme color names to match the names defined in 
4698             System.Drawing.KnownColors. Life's hard enough, no need to make 
4699             it harder.
4700           - Added setters to all theme color properties so themes can set
4701             their color schemes. The setters also propagate the color changes
4702             to System.Drawing.KnownColors via reflection
4703         * ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4704           ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4705           DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4706           use the new, more logical theme color names
4707         * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4708           post-NT colors
4709         * ThemeWin32Classic.cs:
4710           - Removed code to set the old classic Windows colors. Instead it
4711             now relies on the colors returned by System.Drawing.KnownColors
4712             which will be either modern static colors (Unix) or colors
4713             read from the user's configuration (Win32)
4714           - Updated to use the new, more logical theme color names
4715           - Switched DataGrid drawing code to use only Theme colors instead of
4716             a mix of System.Drawing.KnownColors and Theme colors
4717           - DrawFrameControl(): Removed code that fills the button area, the
4718             fill would overwrite any previous fill done by a control. This
4719             fixes bug #75338 
4720           - Added DrawReversibleRectangle() stub
4721         * ScrollableControl.cs: Set visible state to false when scrollbars
4722           are removed (pdn fix)
4723         * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added 
4724           DrawReversibleRectangle() method to allow drawing primitive 
4725           'rubber bands'
4726         * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4727
4728 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4729
4730         * ImageList.cs: Add(Icon): Create handle.
4731
4732 2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>
4733
4734         * ListView.cs:
4735         * ThemeWin32Classic.cs:
4736                 - Fixes detail mode
4737                 - Sets clippings
4738                 - Issues with drawing
4739
4740 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4741
4742         * ImageList.cs: Moved RecreateHandle back to ImageList as event
4743           source has to be the ImageList.
4744
4745 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4746
4747         * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4748
4749 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4750
4751         * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4752
4753 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4754
4755         * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4756
4757 2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
4758         * GridItem.cs: Fixed TODOs
4759         * GridItemCollection.cs: Added ICollection interface
4760
4761 2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
4762
4763         * ImageList.cs: Resize icons when needed.
4764
4765 2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
4766
4767         * ListViewItem.cs
4768                 - Fixes GetBounds and returns on screen rects
4769         * ListView.cs:
4770                 - Fixes vertical and horzintal scrolling of items
4771         * ThemeWin32Classic.cs:
4772                 - Fixes drawing
4773                 
4774 2005-09-29  Raja R Harinath  <harinath@gmail.com>
4775
4776         * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4777
4778 2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
4779
4780         * ImageList.cs: Added comments about handle creation. Moved Handle,
4781           HandleCreated and OnRecreateHandle implementations to ImageCollection.
4782           Handle is created in Add methods.
4783
4784 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4785          
4786         * DataGridDrawingLogic.cs: 
4787                 - Takes rows into account on Colum calculations
4788                 - Returns the column when clickig
4789         * DataGrid.cs:
4790                 - Fixes default HitTestInfo values
4791                 - Fixes HitTestInfo.ToString
4792                 - Fixes ResetBackColor          
4793         
4794 2005-09-28  Jackson Harper  <jackson@ximian.com>
4795
4796         * MdiChildContext.cs: Obey rules for fixed sized windows (no
4797         sizing or cursor changes). Also added some temp code to draw the
4798         titlebars text (Makes dev a little easier).
4799
4800 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4801
4802         * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4803
4804 2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
4805          
4806         * ListBox.cs: Fixes bug 76253
4807
4808 2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
4809
4810         * ImageList.cs: Added comments about the current implementation. Added
4811           ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4812           Format32bppArgb to preserve transparency and can use Graphics.FromImage
4813           while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4814           with Bitmap.LockBits for better performance. Revised the whole file to
4815           match MS.NET behaviour and provide better performance. Non-public
4816           interface members are calling public members even when they throw
4817           NotSupportedException for better maintainability. Moved ColorDepth,
4818           ImageSize, ImageStream and TransparentColor implementations to
4819           ImageCollection for better performance as these properties are not used
4820           by ImageList.
4821         * ImageListStreamer.cs: Added a new internal constructor that takes an
4822           ImageList.ImageCollection and serializes Images based on
4823           ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4824           match ImageList property name.
4825
4826 2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
4827
4828         * ListBox.cs: Fixes IndexFromPoint for last item
4829
4830 2005-09-27  Jackson Harper  <jackson@ximian.com>
4831
4832         * Form.cs: Set the position of new mdi children correctly.
4833
4834 2005-09-27  Jackson Harper  <jackson@ximian.com>
4835
4836         * MdiClient.cs: New mdi children need to be added to the back of
4837         the controls collection so the zorder is set correctly. Also add a
4838         count of all the child windows that have been created.
4839
4840 2005-09-27  Jackson Harper  <jackson@ximian.com>
4841
4842         * Form.cs (CreateParams): Setup MDI forms correctly.
4843
4844 2005-09-27  Jackson Harper  <jackson@ximian.com>
4845
4846         * MdiChildContext.cs:
4847         * MonthCalendar.cs:
4848         * UpDownBase.cs:
4849         * ListBox.cs:
4850         * ListView.cs:
4851         * TextBoxBase.cs:
4852         * TreeView.cs:
4853         * ScrollableControl.cs:
4854         * ComboBox.cs: Add implicit controls using the new implict control
4855         functionality in ControlCollection. Also try to block multiple
4856         control add in a suspend/resume layout to save some cycles.
4857         
4858 2005-09-27  Jackson Harper  <jackson@ximian.com>
4859
4860         * Control.cs: Add functionality to the controls collection to add
4861         'implicit controls' these are controls that are created by the
4862         containing control but should not be exposed to the user. Such as
4863         scrollbars in the treeview.
4864         * Form.cs: The list var of the ControlsCollection is no longer
4865         available because of the potential of implicit controls getting
4866         ignored by someone accessing the list directly.
4867
4868 2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
4869
4870         * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4871           loose it's parent. (Fixed bug introduced in r49103 when we added
4872           setting the child parent to null on Remove)
4873
4874 2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
4875
4876         * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4877         * Splitter.cs: Added missing attributes for BorderStyle property.
4878         * TextBoxBase.cs: Marked Calculate* methods internal.
4879         * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4880         MS.NET.
4881
4882 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
4883          
4884         * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4885
4886 2005-09-25  Jackson Harper  <jackson@ximian.com>
4887
4888         * TreeView.cs: Update the node bounds correctly regardless of
4889         whether the node is visible.
4890
4891 2005-09-25  Jackson Harper  <jackson@ximian.com>
4892
4893         * ImageList.cs: Don't dispose the image after it is added to the
4894         image list. Only reformat images that need to be resized.
4895
4896 2005-09-25  Jackson Harper  <jackson@ximian.com>
4897
4898         * ImageList.cs: Don't set the format when changing the image.
4899
4900 2005-09-25  Jackson Harper  <jackson@ximian.com>
4901
4902         * TreeView.cs: We can't just assume the node has a font. Use the
4903         treeviews font if no node font is available.
4904
4905 2005-09-25  Jackson Harper  <jackson@ximian.com>
4906
4907         * TreeView.cs: Allow the scrollbars to be reset with negative
4908         values.
4909         - Don't add scrollbars to negative sized windows.
4910
4911 2005-09-23  Jackson Harper  <jackson@ximian.com>
4912
4913         * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4914         old Mono.Posix. Also remove some stray code that shouldn't have
4915         been committed.
4916
4917 2005-09-23  Jackson Harper  <jackson@ximian.com>
4918
4919         * TreeView.cs: Attempt at proper sizing of the horizontal
4920         scrollbar. Also don't resize the scrollbars unless they are
4921         visible.
4922
4923 2005-09-23  Jackson Harper  <jackson@ximian.com>
4924
4925         * TreeView.cs: We don't need to expand the invalid area when the
4926         selection changes, as this is all drawn in the node's bounding
4927         box. The area needs to be expanded (previous typo was contracting
4928         it) when the focus rect moves.
4929
4930 2005-09-23  Jackson Harper  <jackson@ximian.com>
4931
4932         * TreeView.cs: Display the selection box under the correct
4933         circumstances. We were rendering white text with no selection box
4934         before.
4935
4936 2005-09-23  Peter Dennis Bartok  <pbartok@novell.com>
4937
4938         * TextControl.cs(Split): Now updates selection start/end if it points 
4939           into a line that's being split. Fixes a FIXME and bug #75258
4940
4941 2005-09-23  Jackson Harper  <jackson@ximian.com>
4942
4943         * Binding.cs:
4944         * ListControl.cs: Don't use the path when retrieving binding
4945         managers from the binding context. My bat sense tells me that the
4946         path is only used on insertion.
4947
4948 2005-09-22  Jackson Harper  <jackson@ximian.com>
4949
4950         * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4951
4952 2005-09-22  Jackson Harper  <jackson@ximian.com>
4953
4954         * Splitter.cs: There are special cursors used for splitting.
4955         * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4956
4957 2005-09-22  Jackson Harper  <jackson@ximian.com>
4958
4959         * Splitter.cs: Change the cursor appropriately when the splitter
4960         is moused over, so the user actually knows there is a splitter
4961         there.
4962
4963 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4964
4965        * Label.cs : Fix ToString method to give same output as MS.NET
4966
4967 2005-09-22  Jackson Harper  <jackson@ximian.com>
4968
4969         * TreeView.cs: Create the scrollbars when the handle is created
4970         and add them right away, just make them invisble. Also account for
4971         the window being shrunk vertically to the point that the vert
4972         scrollbar needs to be added.
4973         - Remove some 0.5 adjustments to get around anti aliasing issues.
4974         
4975 2005-09-22  Jordi Mas i Hernandez <jordi@ximian.com>
4976          
4977         * MainMenu.cs: Fixes default value
4978         * MenuItem.cs: Fixes default value
4979
4980 2005-09-22  Kazuki Oikawa  <kazuki@panicode.com>
4981
4982         * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4983
4984 2005-09-21  Jackson Harper  <jackson@ximian.com>
4985
4986         * Control.cs: Don't try to set the border style on the window if
4987         it hasn't been created. When the window is created the border
4988         style will be used.
4989
4990 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
4991
4992         * Control.cs (Update): Don't call XplatUI if we don't have a
4993           window handle yet
4994
4995 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
4996
4997         * ContainerControl.cs: Instead of throwing an exception, print
4998           a one-time warning about Validate not being implemented
4999         * XplatUIWin32.cs: Removed debug output
5000
5001 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com> 
5002
5003         * Control.cs: Only set XplatUI background if we expect the windowing
5004           system to handle the background. This stops controls that draw their
5005           own background from flickering
5006
5007         * XplatUIX11.cs: Support custom visuals and colormaps for window 
5008           creation. This allows, amongst other things, using MWF X11 windows 
5009           with OpenGL.
5010
5011 2005-09-21  Peter Dennis Bartok  <pbartok@novell.com>
5012
5013         * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5014           CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5015           GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5016           SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5017           TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5018           IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5019           KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5020           RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5021           ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5022           ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5023           GridColumnStylesCollection.cs, 
5024           IDataGridColumnStyleEditingNotificationService.cs,
5025           PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5026           MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5027           GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs, 
5028           TreeNodeCollection.cs, AmbientProperties.cs, 
5029           RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5030           DataObject.cs, ErrorProvider.cs, Splitter.cs,
5031           DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5032           FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5033           BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5034           IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5035           FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5036           IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5037           NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5038           PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5039           SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5040           FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5041           DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5042           ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5043           RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5044           MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5045           ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5046           CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5047           MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5048           NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5049           ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5050           SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5051           Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5052           RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5053           DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5054           ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5055           PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5056           DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5057           ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5058           AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5059           RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5060           CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5061           SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5062           Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5063           SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5064           ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5065           TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5066
5067 2005-09-21  Jackson Harper  <jackson@ximian.com>
5068
5069         * TreeNode.cs: Call Before/After Expand not Collapse when
5070         expanding.
5071
5072 2005-09-20  Jackson Harper  <jackson@ximian.com>
5073         
5074         * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5075
5076 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5077          
5078         * ListViewItem.cs:
5079                 - Fixes bug 76120
5080                 - Fixes proper storing of subitems
5081                 - Fixes not updated items
5082
5083 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com>
5084
5085         * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5086           things if our window handle isn't created yet. Also disabled 
5087           debug for TextBoxBase
5088
5089 2005-09-20  Peter Dennis Bartok  <pbartok@novell.com> 
5090
5091         * MenuAPI.cs: Remove filtering of events to allow menu usage
5092
5093 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5094
5095         * Cursor.cs: Allow null to be passed to Cursor.Current.
5096
5097 2005-09-20  Alexander Olk  <alex.olk@googlemail.com>
5098
5099         * ThemeWin32Classic.cs:
5100           - Change some private methods/fields to protected virtual so that 
5101             they can be accessed and overriden in derived classes
5102           - First refactoring of some methods. Derived themes now don't 
5103             need to duplicate the complete code from ThemeWin32Classic
5104         * ThemeNice.cs:
5105           - Added nice StatusBar
5106           - Derive from ThemeWin32Classic and not Theme
5107           - Removed duplicate ThemeWin32Classic code
5108
5109 2005-09-20  Miguel de Icaza  <miguel@novell.com>
5110
5111         * Control.cs (ControlCollection.Add): If the value null is passed
5112         the control is ignored. 
5113
5114         Optimize this loop.
5115
5116 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com> 
5117
5118         * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5119           PostQuitMessage state.
5120         * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5121
5122 2005-09-19  Peter Dennis Bartok  <pbartok@novell.com>
5123
5124         * Application.cs: Our constructor will never get called, move 
5125           initialization to fields; fixes bug #75933
5126
5127 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5128
5129         * FileDialog.cs :
5130                 - Allow files to be selected properly using file name
5131                 combo box.
5132                 - Add ability to change diretory (absolute / relative)
5133                 using file name combo box.
5134
5135 2005-09-16  Jordi Mas i Hernandez <jordi@ximian.com>
5136          
5137         * ListBox.cs: 
5138                 - Fixes Multicolumn listboxes item wrong calculations
5139                 - Allows to click when only one item is in the listbox
5140                 - Fixes crash when no items using keyboard navigation
5141
5142 2005-09-16  Alexander Olk  <alex.olk@googlemail.com>
5143
5144         * ComboBox.cs: Reverted almost everything from the latest patch which
5145           broke ComboBox
5146
5147 2005-09-16  Kazuki Oikawa <kazuki@panicode.com>
5148         
5149         * ToolTip.cs:
5150                 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5151         * ComboBox.cs:
5152                 - When DropDownStyle is Simple, it does not show scrollbar 
5153                 to the last item of the list.
5154                 - When DropDownStyle is Simple, it crashed when the list was 
5155                 scrolled down with the down cursor key.
5156                 - Fixed a bug that when DropDownStyle is DropDownList, the 
5157                 selected item was not shown.
5158                 - The position of the selected item was not preserved when 
5159                 the next dropdown happened.
5160         * ThemeWin32Classic.cs:
5161                 - Items were wrapped at the right end.
5162         * CheckedListBox.cs:
5163                 - Fixed Add method
5164         * ListBox.cs:
5165                 - Items should be fully shown.
5166                 - When resizing and vertical scrollbar disappeared, the item 
5167                 of index 0 should be on the top of the list.
5168                 - GetItemRectangle should consider the size of ver. scrollbar
5169         * StatusBar.cs:
5170                 - SizingGrip area should not be allocated when it is not 
5171                 displayed.
5172                 - Now it reflects MinWidth of the containing panel and 
5173                 fixed a crash that happens when its width becomes so small.
5174
5175 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5176
5177         * CheckedListBox.cs: Fixes bug 76028
5178         * ListBox.cs: Fixes bug 76028
5179
5180 2005-09-13  Jordi Mas i Hernandez <jordi@ximian.com>
5181
5182         * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5183         * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5184
5185 2005-09-12  Jordi Mas i Hernandez <jordi@ximian.com>
5186
5187         * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5188
5189 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5190
5191         * IRootGridEntry.cs: Changed namespace to PropertyGridInternal 
5192
5193 2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
5194
5195         * IRootGridEntry.cs: Added
5196         * PropertyGridCommands.cs: Added
5197         * PropertiesTab.cs: Added missing methods and property
5198         * PropertyGridView.cs: Made class internal
5199         * PropertyGridTextBox.cs: Made class internal
5200
5201 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5202
5203         * MimeIcon.cs: Try to check some other environment variables
5204           if "DESKTOP_SESSION" returns "default"
5205
5206 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5207
5208         * ThemeNice.cs: Corrected background colors (e.g. menus)
5209         * ColorDialog.cs: Use correct background colors for controls
5210
5211 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
5212
5213         * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5214
5215 2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>
5216
5217         * RichTextBox.cs: Added initial implementation
5218         * lang.cs: Removed. Was accidentally checked in long time ago
5219         * TODO: Removed. Contents were obsolete
5220
5221 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5222                                                                                 
5223         * PropertiesTab.cs : Added
5224
5225 2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>
5226                                                                                 
5227         * PropertyGrid.cs : Update
5228         * PropertyGridView.cs : Update
5229         * System.Windows.Forms.resx : Added images and strings
5230
5231 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com> 
5232
5233         * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5234  
5235 2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>
5236
5237         * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5238           a busy loop right after the Ungrab the X11 display is otherwise 
5239           blocked
5240
5241 2005-09-06  Jordi Mas i Hernandez <jordi@ximian.com>
5242
5243         * ThemeWin32Classic.cs: Optimise the use of clipping
5244
5245 2005-09-05  Jordi Mas i Hernandez <jordi@ximian.com>
5246
5247         * DataGrid.cs: fixes recursion bug
5248
5249 2005-09-03  Alexander Olk  <alex.olk@googlemail.com>
5250
5251         * ThemeNice.cs: 
5252           - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5253           - Cleanup
5254
5255 2005-09-02  Alexander Olk  <alex.olk@googlemail.com>
5256
5257         * ThemeNice.cs: Draw nice ProgressBars
5258
5259 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5260
5261         * VScrollBar.cs: Another buglet found by Aaron's tool. 
5262
5263         * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5264         bug finder.
5265
5266 2005-08-30  Alexander Olk  <alex.olk@googlemail.com>
5267
5268         * ThemeNice.cs:
5269           - Added nicer menu drawing
5270           - Updated DrawTab
5271           - some refactoring
5272
5273 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5274
5275         * CreateParams.cs (ToString): Made output match MS
5276         * Control.cs (Text): Don't set Text or Focus via XplatUI unless 
5277             handle is already created (to avoid forcing window creation)
5278         * XplatUIX11.cs: Set window text to caption after creating window,
5279           in case Text was set before window was created
5280         * Form.cs: Use this.Text instead of a static string as caption
5281
5282 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5283
5284         * NotifyIcon.cs: Don't set the window to visible; this screws
5285           up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5286           OnPaint without a bitmap)
5287         * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't 
5288           happen very often anyway; we could add the check to the WM_PAINT 
5289           event generation code
5290
5291 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>
5292
5293         * NotifyIcon.cs: Fill the icon area with a background color, to 
5294           avoid 'residue' when transparent icons are drawn
5295         * XplatUIX11.cs:
5296           - Handle whole_window == client_window when destroying windows
5297           - SystrayAdd(): Set client_window to whole_window value to
5298             get mouse and other events passed to NotifyIcon
5299
5300 2005-08-30  Peter Dennis Bartok  <pbartok@novell.com> 
5301
5302         * Form.cs: Set proper default for Opacity property
5303         * NotifyIcon.cs:
5304           - ShowSystray(): Don't bother creating telling the OS
5305             about the systray item if no icon is provided
5306           - Now handles WM_NCPAINT message to deal with whole/client window
5307             split
5308           - Create window as visible to not get caught by Expose optimization
5309         * Hwnd.cs: Removed debug message
5310         * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5311           StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched 
5312             PaintEventStart/End to use new client argument
5313         * TextBoxBase.cs:
5314           - Commented out debug messages
5315           - Switched PaintEventStart/End to use new client argument
5316         * XplatUI.cs: Added client window bool to PaintEventStart()/
5317           PaintEventEnd() calls, to support drawing in non-client areas
5318         * XplatUIDriver.cs: 
5319           - Added client window bool to PaintEventStart()/PaintEventEnd() 
5320             calls, to support drawing in non-client areas
5321           - Added conditional compile to allow using MWF BeginInvoke 
5322             on MS runtime
5323         * XplatUIX11.cs:
5324           - Added some conditional debug output
5325           - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5326             whole/client window split
5327           - Implemented handling of client argument to PaintEventStart()/End()
5328         * Control.cs:
5329           - Throw exception if BeginInvoke() is called and the window handle
5330             or one of the window's parent handles is not created
5331           - Added conditional compile to allow using MWF BeginInvoke on
5332             MS runtime
5333           - get_Parent(): Only sets parent if handle is created. This avoids
5334             forcing window handle creation when parent is set.
5335           - Now fires Layout and Parent changed events in proper order
5336           - Switched to use Handle instead of window.Handle for Z-Order setting,
5337             the get_Parent() patch above causes us to possibly get null for 'window'
5338           - Implemented handling of client argument to PaintEventStart()/End()
5339           - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5340             default handling)
5341           - Now sends a Refresh() to all child windows when Refresh() is called
5342
5343 2005-08-29  Peter Dennis Bartok  <pbartok@novell.com> 
5344
5345         * Form.cs: Added (non-functional) Opacity property
5346         * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5347
5348 2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
5349         * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5350           use export MONO_THEME=nice to activate it.
5351           Currently supported controls:
5352           - Button
5353           - ComboBox
5354           - ScrollBar
5355           - TabControl (TabAlignment.Top only, other will follow)
5356         * ThemeEngine.cs: Add theme nice
5357         * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5358           if enabled
5359
5360 2005-08-25  Jonathan Chambers  <jonathan.chambers@ansys.com> 
5361
5362         * Splitter.cs: Resize docked control and its neighbor.
5363
5364 2005-08-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5365         -- Making Windows with Menus layout correctly --
5366         * Form.cs : The first leg of the fix
5367                 Menu setter - adjust Client Size as needed to make space for the menu
5368                 SetClientSizeCore - doesn't call base version to be able to pass the 
5369                         menu handle to XplatUI.CalculateWindowRect
5370         * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5371         * XplatUIX11.cs: The critical second leg of the fix
5372                 GetWindowPos needs to use a recalculated client_rect
5373                 so that resizing the window doesn't break layout of child controls. 
5374                 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5375                 Lots of \t\n killed
5376
5377 2005-08-23  Peter Dennis Bartok  <pbartok@novell.com> 
5378
5379         * Label.cs: Now properly recalculates width and height on Font and Text
5380           changes if AutoSize is set
5381
5382 2005-08-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
5383         * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5384
5385 2005-08-19  Jordi Mas i Hernandez <jordi@ximian.com>
5386
5387         * ImageList.cs: Makes ToString method compatible with MS
5388
5389 2005-08-18  Jordi Mas i Hernandez <jordi@ximian.com>
5390
5391         * MenuAPI.cs: fixes bug 75716
5392
5393 2005-08-11 Umadevi S <sumadevi@novell.com>
5394         * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5395
5396 2005-08-11 Umadevi S <sumadevi@novell.com>
5397         * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5398
5399 2005-08-10  Umadevi S <sumadevi@novell.com>
5400         * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5401
5402 2005-08-07  Jordi Mas i Hernandez <jordi@ximian.com>
5403
5404         * Menu.cs: fixes bug 75700
5405         * MenuAPI.cs: fixes navigation issues
5406
5407 2005-08-09  Umadevi S <sumadevi@novell.com>
5408         * CheckedListBox.cs - simple fix for GetItemChecked.
5409
5410 2005-08-08  Jordi Mas i Hernandez <jordi@ximian.com>
5411
5412         * ComboBox.cs: Serveral fixes
5413         * ListBox.cs: Serveral fixes
5414
5415 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5416
5417         * ComboBox.cs: Fixes FindString methods and GetItemHeight
5418         * ListBox.cs: Fixes FindString methods
5419
5420 2005-08-05  Jordi Mas i Hernandez <jordi@ximian.com>
5421
5422         * DataGrid.cs: fixes bugs exposed by new tests
5423
5424 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5425
5426         * Mime.cs: Compile Mono assembly references only if compiling
5427           with Mono (Allows to build with VS.Net again)
5428
5429 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
5430
5431         * Control.cs (PaintControlBackground): Draw background image
5432         corrrectly.
5433         (CheckForIllegalCrossThreadCalls): Stubbed.
5434         
5435         * Form.cs (OnCreateControl): Center when should be centered.
5436         
5437         * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5438
5439 2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>
5440
5441         * Binding.cs: Binding to properties should be case unsensitive
5442
5443 2005-07-18 vlindos@nucleusys.com
5444
5445         * DataGrid.cs: fixes setmember order
5446
5447 2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>
5448
5449         * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5450         * FileDialog.cs: FileDialog is now resizable and uses the new
5451           MimeIconEngine
5452
5453 2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
5454
5455         * DataGridTextBoxColumn.cs: default value
5456         * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5457         * GridTableStylesCollection.cs: fixes checking MappingName
5458         * DataGridDrawingLogic.cs: fixes drawing logic issues
5459         * DataSourceHelper.cs: rewritten to make compatible with more data sources
5460         * DataGrid.cs: fixes    
5461
5462 2005-07-06  Alexander Olk  <xenomorph2@onlinehome.de>
5463
5464         * MimeGenerated.cs: Use case sensitive comparer for
5465           NameValueCollections
5466
5467 2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>
5468
5469         * DataGridTextBoxColumn.cs: bug fixes, code refactoring 
5470         * ThemeWin32Classic.cs: bug fixes, code refactoring
5471         * DataGridDrawingLogic.cs:  bug fixes, code refactoring
5472         * DataGrid.cs: bug fixes, code refactoring
5473         * DataGridTextBox.cs: bug fixes, code refactoring
5474         * DataGridColumnStyle.cs:  bug fixes, code refactoring
5475         * Theme.cs:  bug fixes, code refactoring
5476
5477 2005-07-01  Peter Bartok  <pbartok@novell.com> 
5478
5479         * TextControl.cs: Quick fix for the reported crash on ColorDialog
5480           and other text box usage
5481
5482 2005-07-01  Jackson Harper  <jackson@ximian.com>
5483
5484         * TabControl.cs: Make sure the bottom of the tab covers the pages
5485         border.
5486
5487 2005-06-30  Peter Bartok  <pbartok@novell.com> 
5488
5489         * Form.cs (ShowDialog): Assign owner of the dialog
5490         * TextBoxBase.cs: Always refresh caret size when deleting, caret
5491           might have been moved to a tag with different height
5492
5493 2005-06-30  Jackson Harper  <jackson@ximian.com>
5494
5495         * Form.cs: Don't create an infinite loop when setting focus
5496         * MenuItem.cs: Don't dirty the parents if we don't have any
5497
5498 2005-06-29  Ben Maurer  <bmaurer@ximian.com>
5499
5500         * LibSupport.cs: Rename
5501
5502 2005-06-29  Peter Bartok  <pbartok@novell.com>
5503
5504         * TextBoxBase.cs: Re-align caret after deleting a character
5505         * TextControl.cs:
5506           - DeleteChars(): Ensure that tag covers the provided position
5507           - StreamLine(): Drop reference for dropped tag
5508
5509 2005-06-29  Peter Bartok  <pbartok@novell.com> 
5510
5511         * TextControl.cs: 
5512           - Selections now work properly, anchoring at the initial location
5513             and properly extending in either direction (SetSelectionToCaret(),
5514             SetSelectionStart() and SetSelectionEnd())
5515           - No longer redraws the whole control on selection change, now
5516             calculates delta between previous and new selection and only
5517             invalidates/redraws that area
5518           - Fixed FindPos() math off-by-one errors
5519           - Changed DeleteChars() to verify the provided tag covers the
5520             provided position, selections may have a tag that doesn't cover
5521             the position if the selection is at a tag border
5522           - Fixed off-by-one errors in DeleteChars()
5523           - Added missing streamlining check in DeleteChars() to remove
5524             zero-length tags
5525           - Implemented Invalidate() method, now properly calculates exposures
5526             between two given lines/positions
5527           - Implemented SetSelection()
5528           - Obsoleted and removed FixupSelection()
5529           - Improved RecalculateDocument() logic, removing code duplication
5530
5531 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5532
5533         * LibSupport.cs: changes to match different input/output arguments.
5534
5535 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5536
5537         * LibSupport.cs: added libsupport.so init routine.
5538
5539 2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>
5540         
5541         * ControlBindingsCollection.cs
5542                 - Throws an exception on null datasource when adding
5543                 - Checks for duplicated bindings when adding
5544
5545 2005-06-28  Jackson Harper  <jackson@ximian.com>
5546
5547         * TreeView.cs (OnKeyDown): Support left and right properly
5548         (navigates as well as expanding and collapsing.
5549         - Add support for Multiply, this expands all the selected nodes
5550         children.
5551         - Fix some tabbing.
5552
5553 2005-06-28  Jackson Harper  <jackson@ximian.com>
5554
5555         * TreeView.cs: Implement keyboard navigation, currently supports,
5556         LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5557         support for toggling checkboxes with the space bar.
5558
5559 2005-06-28  Jackson Harper  <jackson@ximian.com>
5560
5561         * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5562         tree.
5563
5564 2005-06-28  Jackson Harper  <jackson@ximian.com>
5565
5566         * TreeView.cs: Add missing event.
5567
5568 2005-06-27  Peter Bartok  <pbartok@novell.com> 
5569
5570         * TextControl.cs:
5571           - Made line ending size configurable (now allows for counting 
5572             lineendings as \n or \r\n)
5573           - Added margin to viewport to keep caret visible on right side
5574           - Fixed translation routines for line/pos to documentpos to consider
5575             cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5576           - Fixed some line-endings to be unix style
5577           - Fixed Document.FormatText to perform it's calculations 1-based
5578           - Added descriptions for a few methods that might otherwise get 
5579             used wrong
5580           - Added NOTE section with some basic conventions to remember at 
5581             the top of the file
5582           - Major fixup for RichTextBox selection drawing:
5583             * Fixed crashes when multiple tags on a single line were selected
5584             * fixed selection box drawing not overlaying text
5585             * fixed bogus offset calculation for tags not starting at index 1
5586             * Switched behaviour from using multiple Substrings of a 
5587               StringBuilder.ToString() to using multiple 
5588               StringBuilder.ToString(start, length) statements, hoping this is
5589               faster (kept original version commented out in the code, in case
5590               original version was faster)
5591         * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if 
5592           alignment != Left
5593         * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5594           call it as well
5595
5596 2005-06-27  Jackson Harper  <jackson@ximian.com>
5597
5598         * TabControl.cs: Move to the left and right with the arrow
5599         keys. These keys don't cycle beyond first and last like
5600         tab. Refresh all the tabs when scrolling them to the left or
5601         right.
5602
5603 2005-06-27  Jackson Harper  <jackson@ximian.com>
5604
5605         * TabControl.cs:
5606           - ToString: Added method
5607           - CreateParams: Remove TODO and comment
5608           - OnKeyDown: Cycle through bounds properly.
5609           - SelectedIndex: Scroll to the right or left if we need to
5610           display the newly selected tab.
5611
5612 2005-06-23  Jackson Harper  <jackson@ximian.com>
5613
5614         * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5615         set.
5616
5617 2005-06-23  Jackson Harper  <jackson@ximian.com>
5618
5619         * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5620         CTRL-SHIFT-TAB, and HOME, END are there any others?
5621
5622 2005-06-23  Jackson Harper  <jackson@ximian.com>
5623
5624         * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5625
5626 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5627         
5628         * DataGridTextBoxColumn.cs: fixes and enhancements
5629         * ThemeWin32Classic.cs: fixes and enhancements
5630         * DataGridBoolColumn.cs:  fixes and enhancements
5631         * DataGridDrawingLogic.cs:  fixes and enhancements
5632         * CurrencyManager.cs: fixes and enhancements
5633         * DataGrid.cs: fixes and enhancements
5634         * DataGridColumnStyle.cs:  fixes and enhancements
5635
5636 2005-06-22  Jackson Harper  <jackson@ximian.com>
5637
5638         * TabControl.cs: Add some missing methods that just call into the
5639         base. Make the TabPageCollection's IList interface behave in the
5640         same manner as the MS implementation.
5641
5642 2005-06-22  Peter Bartok  <pbartok@novell.com> 
5643
5644         * TextControl.cs: Added sanity check
5645         * TextBoxBase.cs: 
5646           - Fixed wrapping behaviour, don't set wrap on single line controls
5647             (this fixes the breakage of colordialog introduced in an earlier
5648              checkin)
5649           - Added rudimentary support for autoscrolling right-aligned controls
5650             (still needs fixing, also, center alignment scroll is missing)
5651
5652 2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>
5653         
5654         * ScrollBar.cs: Fixes thumbpos on Maximum values
5655
5656 2005-06-21  Jonathan Chambers <jonathan.chambers@ansys.com>
5657         
5658         * PropertyGridView.cs: Pass context information to UITypeEditors 
5659
5660 2005-06-21  Peter Bartok  <pbartok@novell.com> 
5661
5662         * TextBoxBase.cs:
5663           - Now calling PositionCaret with absolute space coordinates
5664           - Enabled vertical scrolling
5665           - Better tracking of scrollbar changes, tied into WidthChange
5666             event
5667           - Improved cursor tracking
5668           - Removed debug output
5669         * TextControl.cs:
5670           - PositionCaret coordinates are now works in absolute space, not 
5671             the canvas
5672           - Improved tracking of document size
5673           - Added events for width and height changes
5674
5675 2005-06-21  Peter Bartok  <pbartok@novell.com>
5676
5677         * Form.cs: Set focus to active control when form is activated
5678         * TextControl.cs: 
5679           - Added word-wrap functionality to RecalculateLine() 
5680           - Added some short function descriptions for VS.Net to aid in
5681             writing dependent controls
5682           - Added Caret property, returning the current coords of the caret
5683           - Added ViewPortWidth and ViewPortHeight properties
5684           - Added Wrap property
5685           - Added CaretMoved event
5686           - Removed some old debug code
5687           - Split() can now create soft splits
5688           - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5689           - Added method to format existing text
5690           - Fixed size/alignment calculations to use viewport
5691           - RecalculateDocument now can handle changing line-numbers while
5692             calculating lines
5693
5694         * TextBox.cs:
5695           - Added some wrap logic, we don't wrap if alignment is not left
5696           - Added casts for scrollbar var, base class switched types to
5697             also support RichTextBoxA
5698           - Implemented handling of scrollbar visibility flags
5699
5700         * TextBoxBase.cs:
5701           - Switched scrollbars type to RichTextBoxScrollBars to support
5702             RichTextBox
5703           - Added tracking of canvas width/height
5704           - Switched scrollbars to be not selectable (to keep focus on text)
5705           - Added central CalculateDocument() method to handle all redraw
5706             requirements
5707           - Added ReadOnly support
5708           - Added WordWrap support
5709           - Fixed handling of Enter key (we now treat it as a DialogKey)
5710           - Fixed caret positioning when h or v scroll is not zero
5711           - Fixed placing/generation of vertical scrollbar
5712           - Added CalculateScrollBars() method to allow updating scrollbar
5713             limits and visibility
5714           - Fixed handling of horizontal scroll
5715           - Added handling of vertical scroll
5716           - Implemented auto-'jump' when caret moves to close to a left or
5717             right border and there is text to be scrolled into view (currently
5718             there's the potential for a stack overflow, until a bug in
5719             scrollbar is fixed)
5720
5721 2005-06-21  Geoff Norton  <gnorton@customerdna.com>
5722         
5723         * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5724
5725 2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>
5726
5727         * Mime.cs:
5728         - added inodes.
5729         - return application/x-zerosize for files with size zero
5730           (if no extension pattern matches).
5731         - check matches collection for strings too.
5732         - return only the first mime type if the name value
5733           collection has more than one mime type.
5734
5735 2005-06-18  Jonathan Chambers <jonathan.chambers@ansys.com>
5736         
5737         * PropertyGrid.cs: Cleaned up some TODOs
5738         * PropertyGridView.cs: Added support for UITypeEditors
5739
5740 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5741         
5742         * DataGrid.cs: clears cached value
5743
5744 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
5745
5746         * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5747         * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5748         * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5749         * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5750         
5751 2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>
5752
5753         * ThemeWin32Classic.cs: fixes colour
5754
5755 2005-06-15  Peter Bartok  <pbartok@novell.com>
5756
5757         * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5758         * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5759         * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5760         * Control.cs: Added some MWFCategory and MWFDescription attributes
5761         * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5762
5763 2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>
5764
5765         * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5766         usage
5767
5768 2005-06-14  Jordi Mas i Hernandez <jordi@ximian.com>
5769
5770         * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5771         * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5772         * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5773         * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5774         * DataGrid.cs: default datagrid settings for Default Styles, fixes
5775         * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5776
5777 2005-06-13  Jackson Harper  <jackson@ximian.com>
5778
5779         * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5780         isn't printed when the user enables dropping. (X11 does accept
5781         drops).
5782         
5783 2005-06-13  Jackson Harper  <jackson@ximian.com>
5784
5785         * TreeView.cs: Remove some TODOS.
5786
5787 2005-06-13  Jackson Harper  <jackson@ximian.com>
5788
5789         * Form.cs: Hook into the mdi framework.
5790         * MdiClient.cs: Use the base control collections add method so
5791         parents get setup correctly. Set the default back colour and dock
5792         style.
5793         * MdiChildContext.cs: New class, this bad actor handles an
5794         instance of an MDI window. Right now there is only basic
5795         support. You can drag, close, and resize windows. Minimize and
5796         Maximize are partially implemented.
5797
5798 2005-06-13  Jackson Harper  <jackson@ximian.com>
5799
5800         * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5801         freaky when both vals are negative. NOTE: There are probably other
5802         places in XplatUIX11 that this needs to be done.
5803
5804 2005-06-13  Jordi Mas i Hernandez <jordi@ximian.com>
5805
5806         * DataGrid.cs: implement missing methods, move KeyboardNavigation
5807         * DataGridColumnStyle.cs: fixes signature
5808
5809 2005-06-12  Jackson Harper  <jackson@ximian.com>
5810
5811         * XplatUIX11.cs: Use sizing cursors similar to the ones on
5812         windows.
5813
5814 2005-06-11  Jackson Harper  <jackson@ximian.com>
5815
5816         * StatusBarPanel.cs: Signature cleanups. Implement
5817         BeginInit/EndInit.
5818
5819 2005-06-10  Jordi Mas i Hernandez <jordi@ximian.com>
5820
5821         * DataGridTextBoxColumn.cs: Honors aligment
5822         * GridColumnStylesCollection.cs: Contains is case unsensitive
5823         * GridTableStylesCollection.cs: several fixes
5824         * DataGridTableStyle.cs: default column creation
5825         * DataGridDrawingLogic.cs: fixes
5826         * CurrencyManager.cs: ListName property
5827         * DataGrid.cs: multiple styles support
5828         * DataGridColumnStyle.cs: fixes
5829         
5830
5831 2005-06-10  Peter Bartok  <pbartok@novell.com>
5832
5833         * Control.cs(Select): Moved SetFocus call to avoid potential
5834           loops if controls change the active control when getting focus
5835         * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5836           the up/down buttons
5837
5838 2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>
5839
5840         * ImageListConverter.cs: Implemented
5841
5842 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5843
5844         * MonthCalendar.cs: Wired in NumericUpDown control for year
5845
5846 2005-06-10  John BouAntoun <jba-mono@optusnet.com.au>
5847
5848         * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5849           DoubleClick events, since they are not meant to be fired.
5850
5851 2005-06-09  Peter Bartok  <pbartok@novell.com>
5852
5853         * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5854           Jonathan's standalone controls into MWF, implemented missing
5855           events, attributes and methods; added xxxAccessible classes
5856         * AccessibleObject.cs: Made fields internal so other classes
5857           can change them if needed
5858
5859 2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>
5860
5861         * UpDownBase.cs: Complete implementation
5862         * NumericUpDown.cs: Complete implementation
5863         * DomainUpDown.cs: Complete implementation
5864
5865 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
5866
5867         * DataGridTextBoxColumn.cs: drawing fixes
5868         * DataGridCell.cs: fixes ToString method to match MSNet
5869         * DataGridTableStyle.cs: fixes
5870         * DataGridBoolColumn.cs: fixes, drawing
5871         * DataGridDrawingLogic.cs: fixes, new methods
5872         * DataGridTextBox.cs: Keyboard and fixes
5873         * DataGrid.cs:
5874                 - Keyboard navigation
5875                 - Scrolling fixes
5876                 - Row selection (single, multiple, deletion, etc)
5877                 - Lots of fixes
5878         
5879 2005-06-07  Jackson Harper  <jackson@ximian.com>
5880
5881         * ThemeWin32Classic.cs: Clear the background area when drawing
5882         buttons.
5883
5884 2005-06-06  Peter Bartok  <pbartok@novell.com>
5885
5886         * ImageListStreamer.cs: Fixed signature for GetData
5887         * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5888         * ComboBox.cs:
5889           - Added missing ChildAccessibleObject class
5890           - Added missing OnXXXFocus overrides, switched to using those
5891             instead of the event handler
5892         * Control.cs:
5893           - Added Parent property for ControlAccessibleObject
5894           - Fixed signatures
5895           - Fixed attributes
5896           - Added ResetBindings()
5897         * ListBindingConverter.cs: Implemented some methods
5898         * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5899         * ImageList.cs: Implemented basic handle scheme, removed TODOs
5900         * ContainerControl.cs: Fixed signature, now subscribing to the
5901           ControlRemoved event instead of overriding the handler, LAMESPEC
5902         * CurrencyManager.cs: Added missing attribute
5903         * MonthCalendar.cs: Added missing properties
5904
5905 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5906
5907         * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5908         
5909 2005-06-06  Gaurav Vaish and Ankit Jain
5910
5911         * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5912         * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5913         
5914 2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>
5915
5916         * Control.cs: fixes CreateParams Width / Height.
5917
5918 2005-06-05  Peter Bartok  <pbartok@novell.com>
5919
5920         * Win32DnD.cs: Removed compilation warnings
5921
5922 2005-06-05  Peter Bartok  <pbartok@novell.com>
5923
5924         * Control.cs (CreateParams): Since we don't know if one of the
5925           properties we use is overridden, lets make sure if we fail accessing
5926           we continue with a backup plan
5927
5928 2005-06-05  Peter Bartok  <pbartok@novell.com>
5929
5930         * Win32DnD.cs:
5931           - Removed debug output
5932           - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5933             struct
5934           - Plugged resource leak
5935         * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5936           MS size
5937
5938 2005-06-05  Peter Bartok  <pbartok@novell.com>
5939
5940         * XplatUIWin32.cs: Removed DnD code
5941         * Win32DnD.cs: Implemented drop source and drop target functionality
5942
5943 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5944
5945         * UpDownBase.cs: remove duplicate addition of event, enable some code
5946         that was commented out.
5947         * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5948         Validate input when a key is pressed. It works fine now for every
5949         combination of Hexadecimal. Only missing some drawing love when sharing
5950         space with other controls.
5951
5952 2005-06-04  Peter Bartok  <pbartok@novell.com>
5953
5954         * Control.cs:
5955           - We need to pass a window for DragDrop, so enable callback events
5956           - Added DnD callback events when being a DragSource
5957         * XplatUI.cs (StartDrag): Added window handle argument
5958         * XplatUIDriver.cs (StartDrag): Added window handle argument
5959         * QueryContinueDragEventArgs: Made fields internally accessible so
5960           drivers can set them
5961         * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5962           can set them
5963
5964 2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>
5965
5966         * DataGridTextBoxColumn.cs: column text editing
5967         * DataGridTableStyle.cs: Respect columns styles created by the user
5968         * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5969         * DataGridBoolColumn.cs: bool column editing
5970         * DataGrid.cs: fixes to scrolling, properties, etc
5971         * DataGridTextBox.cs: handle keyboard
5972         * DataGridColumnStyle.cs: fixes
5973
5974 2005-06-02  Jackson Harper  <jackson@ximian.com>
5975
5976         * ImageListStreamer.cs: Somewhat broken implementation of
5977         GetObjectData. The RLE needs some work to match MS properly.
5978
5979 2005-06-02  Jackson Harper  <jackson@ximian.com>
5980
5981         * X11Dnd.cs: Attempting to keep at least one file in MWF
5982         monostyled.
5983
5984 2005-06-02  Peter Bartok  <pbartok@novell.com>
5985
5986         * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5987           that way
5988
5989 2005-06-02  Peter Bartok  <pbartok@novell.com>
5990
5991         * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5992         * XplatUI.cs: Added DoDragDrop() method
5993         * XplatUIDriver.cs: Added DoDragDrop() method
5994
5995 2005-06-02  Jackson Harper  <jackson@ximian.com>
5996
5997         * Splitter.cs: Implement BorderStyle.
5998
5999 2005-06-02  Jackson Harper  <jackson@ximian.com>
6000
6001         * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6002         * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6003         X11 using XDND.
6004
6005 2005-06-02  Peter Bartok  <pbartok@novell.com>
6006
6007         * DataObject.cs:
6008           - Added Data setter
6009           - Fixed broken insertion code for SetData, now also
6010             overwrites any existing entry of the same format name
6011         * Hwnd.cs: Added list of pointers that automatically gets
6012           freed when the window is disposed
6013         * XplatUI.cs: Call driver initialization method when loading
6014           a driver
6015         * Control.cs:
6016           - OnDragLeave takes EventArgs, not DragEventArgs
6017           - Added setting of WS_EX_ACCEPTFILES style when dropping is
6018             supported
6019           - Forces style update when drop state changes
6020         * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6021           not perfect since we cannot (yet) call the IDataObject.GetData()
6022           method, we keep getting 0x80004005 error, dunno why)
6023
6024 2005-06-02  Peter Bartok  <pbartok@novell.com>
6025
6026         * DragEventArgs.cs: Make fields internal so we can cache the
6027           object and re-set the fields from XplatUI
6028
6029 2005-06-02  Jackson Harper  <jackson@ximian.com>
6030
6031         * Control.cs: Add some internal methods so the DnD subsystem can
6032         raise DnD events. Also call into the driver when AllowDrop is set.
6033         * XplatUI.cs:
6034         * XplatUIDriver.cs: New method for setting whether or not a window
6035         is allowed to accept drag and drop messages.
6036                 
6037 2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>
6038         
6039         * ScrollBar.cs: Make sure that values sent in Scroll events
6040         are always between Maximum and Minimum.
6041
6042 2005-06-01  Marek Safar  <marek.safar@seznam.cz>
6043
6044         * Menu.cs: Call MenuChanged when menuitem visibility has been
6045         changed.
6046         * MenuItem.cs: Rebuild menu when item is (not) visible.
6047         * MainMenu.cs: MainMenu has special MenuChanged.
6048         * Theme.cs: Caption and FrameBorderSize are not fixed.
6049         * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6050         * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6051         * XplatUIX11.cs,
6052         * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6053         * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6054
6055 2005-05-30  Jackson Harper  <jackson@ximian.com>
6056
6057         * DataFormat.cs: We can't statically initialize this stuff because
6058         it calls into the xplatui and could create a loop. So we lazy init
6059         it.
6060
6061 2005-05-28  Jackson Harper  <jackson@ximian.com>
6062
6063         * Control.cs: Proper implementation of Product(Name/Version).
6064
6065 2005-05-27  Jackson Harper  <jackson@ximian.com>
6066
6067         * DataObject.cs: Dont crash if no data is found.
6068
6069 2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
6070         * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6071                 as per status page, guessing it should be set to true
6072
6073 2005-05-26  Jordi Mas i Hernandez <jordi@ximian.com>
6074
6075         * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6076         * DataGridTableStyle.cs: set proper formatting text, def header text
6077         * ThemeWin32Classic.cs: new themable paramaters
6078         * DataGridBoolColumn.cs: paint check box, get data, fixes
6079         * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6080         * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6081         * DataGridColumnStyle.cs: fixes
6082         * Theme.cs: new themable paramaters
6083                 
6084 2005-05-26  Peter Bartok  <pbartok@novell.com>
6085
6086         * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6087
6088 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6089         * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6090
6091 2005-05-24  Peter Bartok  <pbartok@novell.com>
6092
6093         * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6094           Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6095           Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6096           FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6097           NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6098           ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6099           DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6100           AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6101           DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6102           StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6103           missing attributes, etc
6104         * DataGridPreferredColumnWidthTypeConverter.cs: Added
6105
6106 2005-05-24  Peter Bartok  <pbartok@novell.com>
6107
6108         * Help.cs: Added, implemented trivial functions, throws up MessageBox
6109           when user tries to get help
6110         * DataObject.cs, DataFormats.cs, LinkArea.cs,
6111           SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6112           to suppress warnings
6113         * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6114           avoid unreachable code warning
6115
6116 2005-05-20  Peter Bartok  <pbartok@novell.com>
6117
6118         * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6119
6120 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6121
6122         * DataGridTextBoxColumn.cs: Basic painting methods
6123         * DataGridTableStyle.cs: Set table style in the column
6124         * ThemeWin32Classic.cs: Use Theme for colors
6125         * DataGridDrawingLogic.cs: Implement more drawing
6126         * DataGrid.cs: drawing, theming, enhacements, fixes
6127         * DataGridColumnStyle.cs: fixes, drawing
6128         * Theme.cs: theming for Datagrid
6129
6130 2005-05-20  Peter Bartok  <pbartok@novell.com>
6131
6132         * Cursor.cs: Implemented GetObjectData() method
6133
6134 2005-05-20  Peter Bartok  <pbartok@novell.com>
6135
6136         * Cursors.cs: Added setting of cursor name
6137         * Cursor.cs:
6138           - Implemented constructors
6139           - Implemented Draw and DrawStretched
6140           - Implemented Current property
6141           - Implemented == and != operators
6142           - Implemented Dispose()
6143           - Implemented ToString
6144           - Added missing attributes
6145         * XplatUIX11.cs:
6146           - Added missing reset for OverrideCursor when DoEvents is called
6147           - Fixed creation of cursor, logic was wrong
6148         * XplatUIWin32.cs:
6149           - Added missing reset for OverrideCursor when DoEvents is called
6150           - Fixed creation of cursor, bit arrays were swapped
6151         * Clipboard.cs: Removed obsolete MonoTODO attribute
6152
6153 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6154
6155         * ComboBox.cs: fixes OnSelectedItemChanged
6156         * ControlBindingsCollection.cs: fixes item range check
6157
6158 2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
6159
6160         * UpDownBase.cs:
6161                 - Calc preferred height properly
6162                 - Implement missing properties
6163                 
6164         * NumericUpDown.cs: Implement missing events
6165
6166 2005-05-19  Jackson Harper  <jackson@ximian.com>
6167
6168         * TabControl.cs: New method that resizes the tab pages before
6169         redrawing them. This as needed as the control is double buffered
6170         and sizing will not be recalculated unless ResizeTabPages is
6171         called.
6172         * TabPage.cs: Set base.Text instead of Text in the constructor so
6173         that UpdateOwner does not get called. Use the new Redraw method of
6174         TabControl instead of Refresh so the sizing is recalculated.
6175         * ThemeWin32Classic.cs: Draw the text for button tabs.
6176
6177 2005-05-19  Jackson Harper  <jackson@ximian.com>
6178
6179         * Control.cs: Paint control background images. Fix typo where
6180         PaintControlBackground was not getting called correctly.
6181
6182 2005-05-19  Peter Bartok  <pbartok@novell.com>
6183
6184         * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6185           I can investigate, apparently I broke FileDialog
6186
6187 2005-05-19  Marek Safar  <marek.safar@seznam.cz>
6188
6189         * AxHost.cs: Some simple properties.
6190         * Control.cs: window must be accessible after ctor.
6191         * Form.cs: Added TransparencyKey property.
6192         * TextBoxBase.cs: Implemented Clear. Text property can be null.
6193         * XplatUIWin32.cs: SetBorderStyle implemented.
6194
6195 2005-05-18  Peter Bartok  <pbartok@novell.com>
6196
6197         * DataObject.cs: Entries are not global but particular to the
6198           DataObject, now it behaves that way
6199         * XplatUIWin32.cs: Implemented Clipboard methods
6200         * Clipboard.cs: Implemented
6201         * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6202         * XplatUIOSX.cs: Updated to final clipboard prototypes
6203         * XplatUIX11.cs: Implemented Clipboard methods
6204         * XplatUIDriver.cs: Updated to final clipboard prototypes
6205         * XplatUIStructs.cs:
6206           - Added BITMAPINFOHEADER struct
6207           - Added ClipboardFormats enum
6208         * X11Structs.cs:
6209           - Added ClipboardStruct
6210           - Added Atom enum items for clipboard types
6211           - Fixed atom types for Selection event structures
6212         * DataFormats.cs:
6213           - Added internal properties and methods for drivers to enumerate
6214             all known formats
6215           - Switched initialization method to allow drivers to assign their
6216             own IDs even for the MS predefined clipboard IDs
6217         * XplatUI.cs: Updated to final clipboard interface
6218
6219 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6220         * PropertyGridView.cs: Fixed compiler warnings.
6221
6222 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6223         * PropertyGrid.cs: Added some event calls
6224         * PropertyGridView.cs: Change drawing code to use double buffering
6225         * PropertyGridTextBox.cs: Changed Text property name
6226         * GridItem.cs: Added Bounds property.
6227         * GridEntry.cs: Added Bounds property.
6228
6229 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
6230
6231         * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6232         since GetType() may not return the correct type if the object is
6233         a remoting proxy.
6234
6235 2005-05-17  Jordi Mas i Hernandez <jordi@ximian.com>
6236
6237         * TreeNodeCollection.cs: fixes get/set item ranges
6238         
6239 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6240
6241         * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6242                 
6243 2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>
6244
6245         * ComboBox.cs: Fix item range comparation
6246         * ListView.cs: Fix item range comparation
6247
6248 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6249
6250         * FontDialog.cs:
6251           - Clear example panel when OnPaint is called
6252           - Better solution for displaying the example panel text
6253           - Select default indexes in the ListBoxes
6254
6255 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6256
6257         * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926
6258
6259 2005-05-11  Peter Bartok  <pbartok@novell.com>
6260
6261         * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6262         * SelectionRangeConverter.cs: Implemented
6263         * PropertyGrid.cs: Fixed attribute value
6264         * Control.cs:
6265           - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6266           - Added Sebastien Pouliot's CAS Stack Propagation fixes
6267         * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6268           that's common to all drivers. First methods to go there are
6269           Sebastien Pouliot's CAS Stack Propagation helper methods
6270         * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6271           Sebastien Pouliot for CAS Stack Propagation
6272
6273 2005-05-11  Geoff Norton  <gnorton@customerdna.com>
6274
6275         * OSXStructs.cs:
6276           XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6277
6278 2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
6279
6280         * DataGridTextBoxColumn.cs: fixed some members
6281         * GridColumnStylesCollection.cs: indexed column is case insensitive
6282         * DataGridTableStyle.cs: fixes
6283         * ThemeWin32Classic.cs: add new theme parameter
6284         * Theme.cs: add new theme parameter
6285         * DataGridDrawingLogic.cs: Datagrid's drawing logic
6286         * DataGrid.cs: fixes, new internal properties, etc.
6287         * DataGridColumnStyle.cs: allows to set grid value
6288         *
6289
6290 2005-05-10  Peter Bartok  <pbartok@novell.com>
6291
6292         * AccessibleObject.cs:
6293           - Removed MonoTODO attribute on help, method is correct
6294           - Fixed Bounds property
6295         * AxHost.cs: Moved MonoTODO
6296         * ButtonBase.cs: Now setting AccessibleObject properties
6297         * RadioButton.cs: Setting proper AccessibleObject role
6298         * CheckBox.cs: Setting proper AccessibleObject role
6299         * ControlBindingsCollection.cs: Added properties, methods and attributes
6300         * DataFormats.cs: Fixed awkward internal API, and changed to enable
6301           userdefined DataFormats.Format items as well
6302         * ListControl.cs: Removed data_member from the public eye
6303         * OpenFileDialog.cs:
6304           - Made class sealed
6305           - Added missing attributes
6306         * SaveFileDialog.cs: Added missing attributes
6307         * ImageListStreamer.cs: Fixed code that caused warnings
6308         * LinkLabel.cs: Removed unreachable code
6309         * TreeView.cs: Fixed code that caused warnings
6310         * PropertyGridView.cs: Fixed code that caused warnings
6311         * GridColumnStylesCollection.cs: Added missing attributes
6312         * GridTableStylesCollection: Added missing attribute
6313         * PropertyManager: Added .ctor
6314         * SecurityIDType: Added
6315         * DataObject.cs: Implemented class
6316         * LinkArea.cs: Added missing attribute
6317
6318 2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>
6319
6320         * RadioButton.cs: call base method to allow to fire OnClick event
6321         * UpDownBase.cs: OnMouseUp call base method
6322         * CheckedListBox.cs: call base method before returning
6323         * TrackBar.cs: call base method before returning
6324         
6325
6326 2005-05-10  Peter Bartok  <pbartok@novell.com>
6327
6328         * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6329           for messages
6330
6331 2005-05-10  Peter Bartok  <pbartok@novell.com>
6332
6333         * DataFormats.cs: Implemented
6334         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6335           XplatUIX11.cs: Added Clipboard APIs
6336         * XplatUIWin32.cs: Implemented Clipboard APIs
6337         * FolderBrowserDialog.cs: Added missing event, attributes
6338
6339 2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>
6340
6341         * CheckBox.cs: call base method to allow to fire OnClick event
6342
6343 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
6344
6345         * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6346
6347 2005-05-06  Peter Bartok  <pbartok@novell.com>
6348
6349         * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6350         * Screen.cs: Implemented
6351         * HelpNavigator.cs: Added
6352         * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6353           property
6354         * HelpProvider.cs: Implemented all we can do until we have a CHM
6355           help library (which means that "What's This" does work now)
6356
6357 2005-05-06  Jackson Harper  <jackson@ximian.com>
6358
6359         * XplatUIX11.cs: Fix waking up the main loop.
6360                 
6361 2005-05-05  Peter Bartok  <pbartok@novell.com>
6362
6363         * XplatUI.cs: Updated revision
6364         * Form.cs: Removed enless loop
6365         * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6366         * Label.cs (OnPaint): Added call to base.OnPaint()
6367         * ToolTip.cs: Made ToolTipWindow reusable for other controls
6368         * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6369         * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6370         * AxHost.cs: Added
6371         * ButtonBase.cs: Moved base.OnPaint() call to end of method
6372         * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6373           to ToolTip.ToolTipWindow for drawing and size methods; this allows
6374           reuse of ToolTipWindow by other controls
6375         * SizeGrip.cs: Moved base.OnPaint() call to end of method
6376         * XplatUIX11.cs: Now clipping drawing area (experimental)
6377         * PictureBox.cs: Moved base.OnPaint() call to end of method
6378         * Theme.cs: Fixed ToolTip abstracts to match new format
6379         * ErrorProvider.cs: Implemented
6380
6381 2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
6382
6383         * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6384         * LinkLabel.cs:
6385                 - Adds cursors
6386                 - Handles focus
6387                 - Implements LinkBehavior
6388                 - Fixes many issues
6389
6390 2005-05-03  Jackson Harper  <jackson@ximian.com>
6391
6392         * ListView.cs: Calculate the scrollbar positioning on resize and
6393         paint, so they get put in the correct place.
6394
6395 2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>
6396
6397         * ColorDialogs.cs: The small color panels are now handled by
6398           SmallColorControl. This fixes drawing of the focus rectangle
6399           and adds a 3D border.
6400
6401 2005-05-03  Peter Bartok  <pbartok@novell.com>
6402
6403         * Control.cs: Modified version of Jonathan Chamber's fix for
6404           double-buffering
6405
6406 2005-05-03  Jackson Harper  <jackson@ximian.com>
6407
6408         * ListView.cs: Remove redraw variable. Control now handles whether
6409         or not a redraw needs to be done, and will only raise the paint
6410         event if redrawing is needed.
6411
6412 2005-05-03  Jackson Harper  <jackson@ximian.com>
6413
6414         * Splitter.cs: No decorations for the splitter form. Cache the
6415         hatch brush.
6416
6417 2005-05-03  Jackson Harper  <jackson@ximian.com>
6418
6419         * TreeView.cs: Use dashed lines to connect nodes. Use the
6420         ControlPaint method for drawing the focus rect instead of doing
6421         that in treeview.
6422
6423 2005-05-02  Peter Bartok  <pbartok@novell.com>
6424
6425         * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6426
6427 2005-04-29  Jackson Harper  <jackson@ximian.com>
6428
6429         * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6430         entire image buffer. Just clear the clipping rectangle.
6431
6432 2005-04-29  Jackson Harper  <jackson@ximian.com>
6433
6434         * ThemeWin32Classic.cs: Don't draw list view items that are
6435         outside the clipping rectangle.
6436
6437 2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
6438
6439         * ListBox.cs: added horizontal item scroll
6440
6441 2005-04-29  Jackson Harper  <jackson@ximian.com>
6442
6443         * ThemeWin32Classic.cs: Remove some old debug code that was
6444         causing flicker with the new double buffering code.
6445
6446 2005-04-29  John BouAntoun  <jba-mono@optusnet.com.au>
6447
6448         * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6449         behave like combobox and comboboxlist (still not sure if this is
6450         correct though).
6451
6452 2005-04-28  Jackson Harper  <jackson@ximian.com>
6453
6454         * ThemeWin32Classic.cs: Don't fill the middle of progress
6455         bars. This fills areas outside of the clip bounds that don't need
6456         to be filled.
6457
6458 2005-04-28  Jackson Harper  <jackson@ximian.com>
6459
6460         * Control.cs: Don't expose functionality to touch the image buffers.
6461         * ProgressBar.cs:
6462         * ListView.cs: We do not need to (and no longer can) manipulate
6463         the image buffers directly. All of this is handled by Control.
6464
6465 2005-04-28  Peter Bartok  <pbartok@novell.com>
6466
6467         * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6468           RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6469           RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6470
6471 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6472
6473         * Combobox:
6474                 - Adjust control's height for non-simple comboboxes (bug fix)
6475                 - Remove dead code
6476         * MenuAPI.cs: remove unused var
6477         * ScrollBar.cs: remove unsed var
6478                  
6479         * ListBox.cs: unselect items when clearing
6480
6481 2005-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
6482
6483         * ListControl.cs: honors OnPositionChanged and default Selected Item
6484         * ListBox.cs: unselect items when clearing
6485
6486 2005-04-27  Jackson Harper  <jackson@ximian.com>
6487
6488         * X11Keyboard.cs: Initialize a default keyboard and give a warning
6489         if a "correct" keyboard is not found. This will make us not crash,
6490         but might give some users bad keyboard layouts...seems to be the
6491         same thing rewind does.
6492
6493 2005-04-27  Jackson Harper  <jackson@ximian.com>
6494
6495         * BindingManagerBase.cs: Attach the current/position changed
6496         handlers to their respective events.
6497
6498 2005-04-27  Jackson Harper  <jackson@ximian.com>
6499
6500         * Control.cs: Make sure that the first WM_PAINT does a full draw,
6501         not just a blit.
6502         * ThemeWin32Classic.cs: Don't fill the background for picture
6503         boxes. This could overright user drawing.
6504         * ComboBox.cs: Just fill the clipping rect not the entire client
6505         rect when drawing the background. This prevents pieces of the
6506         image buffer from getting overwritten and is theoretically faster.
6507
6508 2005-04-26  Jordi Mas i Hernandez <jordi@ximian.com>
6509
6510         * ComboBox.cs: Databinding support fixes, fire missing events
6511         * ListControl.cs: implement missing methods and properties, fixes
6512         * ThemeWin32Classic.cs: Databiding support on Drawing
6513         * CheckedListBox.cs: Databinding support fixes, fire missing events
6514         * ListBox.cs: Databinding support fixes, fire missing events
6515         
6516 2005-04-25  Peter Bartok  <pbartok@novell.com>
6517
6518         * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6519
6520 2005-04-25  Jackson Harper  <jackson@ximian.com>
6521
6522         * TreeView.cs: Use the horizontal scrollbars height not width when
6523         determining how much of the client area is available.
6524
6525 2005-04-25  Jackson Harper  <jackson@ximian.com>
6526
6527         * Control.cs: Double buffering is handled differently now. As per
6528         the spec, the extra buffer is created in the WM_PAINT message and
6529         passed down to the control's drawing code.
6530         * GroupBox.cs:
6531         * Label.cs:
6532         * CheckBox.cs:
6533         * ProgressBar.cs:
6534         * RadioButton.cs:
6535         * ColorDialog.cs:
6536         * ComboBox.cs:
6537         * PropertyGridView.cs:
6538         * UpDownBase.cs:
6539         * MessageBox.cs:
6540         * MenuAPI.cs:
6541         * ListView.cs:
6542         * ButtonBase.cs:
6543         * SizeGrip.cs:
6544         * ScrollBar.cs:
6545         * ListBox.cs:
6546         * TrackBar.cs:
6547         * ToolBar.cs:
6548         * PictureBox.cs:
6549         * DateTimePicker.cs:
6550         * StatusBar.cs:
6551         * TreeView.cs: Update to new double buffering system.
6552         * MonthCalendar.cs: Uncomment block, as Capture is now
6553         working. Update to new double buffering
6554         * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6555         * PaintEventArgs.cs: New internal method allows us to set the
6556         graphics object. This is used for double buffering.
6557         * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6558         rectangle. The internal paint_area var has been removed from
6559         StatusBar. The clipping rect should be used instead.
6560         * Theme.cs: Give the PictureBox drawing method a clipping rect.
6561         * TabPage.cs: The RefreshTabs method was removed, so just call the
6562         tab controls Refresh method now.
6563         * TabControl.cs: Update to new double buffering. Make sure the
6564         handle is created before sizing the tab pages, otherwise we will
6565         get stuck in a loop.
6566
6567 2005-04-24  Borja Sanchez Zamorano <borsanza@gmail.com>
6568
6569         * LinkLabel.cs: Fix typo, bug #74719; patch
6570           from Borja Sanchez Zamorano
6571
6572 2005-04-22  Jackson Harper  <jackson@ximian.com>
6573
6574         * TreeNode.cs: Implement Handle stuff.
6575         * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6576
6577 2005-04-22  Jordi Mas i Hernandez <jordi@ximian.com>
6578
6579         * DataGridTextBoxColumn.cs: call base constructors, fixes
6580         * GridColumnStylesCollection.cs: missing events, methods, and functionality
6581         * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6582         * DataGridTableStyle.cs: implements create default column styles
6583         * DataGridBoolColumn.cs: which types can handle
6584         * DataGrid.cs: missing methods, fixes, new functionality
6585         * DataGridColumnStyle.cs: fixes
6586
6587 2005-04-20  Alexander Olk  <xenomorph2@onlinehome.de>
6588         * FolderBrowserDialog.cs:
6589         - Use a thread to fill the TreeView
6590         - Adjusted some sizes
6591
6592 2005-04-19  Peter Bartok  <pbartok@novell.com>
6593
6594         * LinkLabel.cs: (Re-)create the pieces when setting the Text
6595           property. Fixes #74360.
6596
6597 2005-04-19  Jackson Harper  <jackson@ximian.com>
6598
6599         * XEventQueue.cs: Lock when getting the lockqueue size.
6600         * PictureBox.cs: Call base OnPaint
6601         
6602 2005-04-19  Peter Bartok  <pbartok@novell.com>
6603
6604         * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6605           messages were no longer being processed (this broke BeginInvoke)
6606
6607           
6608 2005-04-18  Jackson Harper  <jackson@ximian.com>
6609
6610         * TreeView.cs: buglet that caused node images to get drawn
6611         regardless of whether or not they were in the clipping rectangle.
6612
6613 2005-04-18  Jackson Harper  <jackson@ximian.com>
6614
6615         * CurrencyManager.cs: There are four rules for GetItemProperties:
6616         - If the type is an array use the element type of the array
6617         - If the type is a typed list, use the type
6618         - If the list contains an Item property that is not an object, use
6619         that property
6620         - use the first element of the list if there are any elements in
6621         the list.
6622         
6623 2005-04-17  Jackson Harper  <jackson@ximian.oom>
6624
6625         * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6626         click. This handles offsets for scrolling properly and reduces
6627         memory. Also fixed GetNode to not offset now that TopNode works
6628         properly.
6629         * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6630         
6631 2005-04-17  Jackson Harper  <jackson@ximian.com>
6632
6633         * CursorConverter.cs: Initial implementation.
6634
6635 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6636
6637         * ListControl.cs: work towards complex data binding support on ListControl
6638         * CurrencyManager.cs: work towards complex data binding support on ListControl
6639         * ListBox.cs: work towards complex data binding support on ListControl
6640
6641
6642 2005-04-15  Jordi Mas i Hernandez <jordi@ximian.com>
6643
6644         * GridTableStylesCollection.cs: fixes name and constructor
6645         * DataGridTableStyle.cs: fixes
6646         * DataGridBoolColumn.cs: fixes names and constructors
6647         * DataGrid.cs: define methods and properties. Some init implementations
6648         * DataGridCell.cs: define methods and properties. Some init implementations
6649         * GridTablesFactory.cs: Define methods and properties
6650
6651 2005-04-15  Geoff Norton  <gnorton@customerdna.com>
6652
6653         * XplatUIOSX.cs:  Handle proper mouse tracking even if the current
6654         graphics port changes.  We still want the coordinates in global screen
6655         coordinates.
6656
6657 2005-04-14  Jackson Harper  <jackson@ximian.com>
6658
6659         * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6660         check plus minus or checkbox clicks unless those features are enabled.
6661
6662 2005-04-14  Jackson Harper  <jackson@ximian.com>
6663
6664         * TreeView.cs: Add methods for setting the top and bottom visible
6665         nodes. TreeNode::EnsureVisible uses these methods.
6666         * TreeNode.cs: Implement EnsureVisible
6667
6668 2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>
6669
6670         * Form.cs: Pospone menu assignation if the window has not been created yet
6671         * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6672         size and position
6673
6674 2005-04-12  Jackson Harper  <jackson@ximian.com>
6675
6676         * TreeView.cs: Set the TopNode properly when scrolling
6677         occurs. This has the added benifit of reducing the amount of
6678         walking that needs to be done when drawing. Also removed an old
6679         misleading TODO.
6680         * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6681         
6682 2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>
6683
6684         * Timer.cs: fixes interval setting when the timer is already enabled
6685         
6686 2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>
6687
6688         * FolderBrowserDialog.cs: First approach
6689
6690 2005-04-09  Peter Bartok  <pbartok@novell.com>
6691
6692         * FolderBrowserDialog: Added
6693
6694 2005-04-07  Jordi Mas i Hernandez <jordi@ximian.com>
6695
6696         * LinkLabel.cs: move drawing code into the theme
6697         * ThemeWin32Classic.cs: drawing code and painting background bugfix
6698         * Theme.cs: define DrawLinkLabel method
6699
6700 2005-04-05  Jackson Harper  <jackson@ximian.com>
6701
6702         * BindingContext.cs: Use weak references so these bad actors don't
6703         stay alive longer then they need to.
6704
6705 2005-04-05  Jackson Harper  <jackson@ximian.com>
6706
6707         * ListControl.cs: Basic implementation of complex databinding.
6708         * ComboBox.cs:
6709         * ListBox.cs: Add calls to ListControl databinding methods.
6710
6711 2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>
6712
6713         * FileDialog.cs:
6714           - Don't change PopupButtonState to Normal when the
6715             PopupButton gets pressed several times.
6716           - Renamed ButtonPanel to PopupButtonPanel
6717
6718 2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
6719
6720         * ColorDialog.cs: Use cached objects instead of creating them
6721         * LinkLabel.cs: Use cached objects instead of creating them
6722         * Splitter.cs: Use cached objects instead of creating them
6723         * FontDialog.cs: Use cached objects instead of creating them
6724         * PropertyGridView.cs: Use cached objects instead of creating them
6725         * MessageBox.cs: Use cached objects instead of creating them
6726         * FileDialog.cs: Use cached objects instead of creating them
6727         * ThemeWin32Classic.cs: Use cached objects instead of creating them
6728         * TreeView.cs: Use cached objects instead of creating them
6729         
6730 2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>
6731
6732         * Control.cs: use Equals to compare the font since no == op
6733         * ScrollBar.cs: use Equals to compare the font since no == op
6734
6735 2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>
6736
6737         * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6738
6739 2005-04-01  Jackson Harper  <jackson@ximian.com>
6740
6741         * Binding.cs: Implement IsBinding.
6742         * BindingManagerBase.cs:
6743         * PropertyManager.cs:
6744         * CurrencyManager.cs: Add IsSuspended property.
6745
6746 2005-04-01  Jackson Harper  <jackson@ximian.com>
6747
6748         * Binding.cs: Had some IsAssignableFrom calls backwards.
6749
6750 2005-04-01  Jackson Harper  <jackson@ximian.com>
6751
6752         * Binding.cs: Handle null data members when pulling data.
6753         * PropertyManager.cs: Handle the data member being a property that
6754         does not exist.
6755
6756 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6757
6758         * DataGridTextBoxColumn.cs: fixes signature
6759         * DataGrid.cs: calls right constructor
6760
6761 2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>
6762
6763         * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6764         * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6765         * GridTableStylesCollection.cs: implements GridTableStylesCollection
6766         * DataGridTableStyle.cs: implements DataGridTableStyle
6767         * DataGridBoolColumn.cs: implements DataGridBoolColumn
6768         * DataGridTextBox.cs: implements DataGridTextBox
6769         * DataGridColumnStyle.cs: implements DataGridColumnStyle
6770
6771 2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>
6772
6773         * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6774
6775 2005-03-29  Peter Bartok  <pbartok@novell.com>
6776
6777         * Application.cs:
6778           - Properly implemented CompanyName property
6779           - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6780             returns a path that includes CompanyName, ProductName and
6781             Version (fixes bug #70330)
6782
6783 2005-03-29  Stefan Buehler  <sbuehler@gmx.ch>
6784
6785         * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6786           fixes bug #72588.
6787
6788 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6789
6790         * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6791         
6792           - Added ReadOnly CheckBox
6793           - Further refactoring: moved some code from Open-/SaveFileDialog
6794             to FileDialog
6795
6796 2005-03-28  Alexander Olk  <xenomorph2@onlinehome.de>
6797
6798         * OpenFileDialog.cs: Fixed CheckFileExists
6799         * FileDialog.cs:
6800           Moved FileView and DirComboBox outside FileDialog class.
6801           They can now be used outside FileDialog
6802
6803 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6804
6805         * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6806         * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6807
6808 2005-03-27  Alexander Olk  <xenomorph2@onlinehome.de>
6809
6810         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6811           - Added missing CreatePrompt property in SaveDialog
6812           - Overall SaveDialog handling should be better now
6813           - Added non standard ShowHiddenFiles property
6814           - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6815           - Added InitialDirectory and RestoreDirectory support
6816
6817 2005-03-26  Alexander Olk  <xenomorph2@onlinehome.de>
6818
6819         * FileDialog.cs: Made dirComboBox usable
6820
6821 2005-03-24  Alexander Olk  <xenomorph2@onlinehome.de>
6822
6823         * FileDialog.cs: Added Filter support (case sensitiv)
6824
6825 2005-03-24  Jackson Harper  <jackson@ximian.com>
6826
6827         * TabControl.cs: Need a couple more pixels for the lines.
6828
6829 2005-03-23  Jackson Harper  <jackson@ximian.com>
6830
6831         * TabControl.cs: Give the tab page focus when it is selected.
6832
6833 2005-03-23  Jackson Harper  <jackson@ximian.com>
6834
6835         * TabControl.cs: Account for the drawing of tabs borders when
6836         invalidating. If the slider was clicked dont do click detection on
6837         the tabs.
6838
6839 2005-03-23  Jackson Harper  <jackson@ximian.com>
6840
6841         * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6842
6843 2005-03-22  Jonathan Chambers  <jonathan.chambers@ansys.com>
6844
6845         * CategoryGridEntry.cs: Added
6846         * GridItem.cs: Added helper properties
6847         * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6848         * GridEntry.cs: Updated code for collection
6849         * PropertyGrid.cs: Cleaned up some formatting
6850         * PropertyGridView.cs: Added drop down functionality for enums.
6851         * GridItemCollection.cs: Added enumerator logic
6852         * PropertyGridEntry.cs: Added
6853
6854 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6855
6856         * FileDialog.cs:
6857           - Removed unnecessary commented code
6858           - Fixed handling for entering the filename manually in the combobox
6859
6860 2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>
6861
6862         * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6863
6864 2005-03-18  Peter Bartok  <pbartok@novell.com>
6865
6866         * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6867           them being touching the border
6868
6869 2005-03-18  Peter Bartok  <pbartok@novell.com>
6870
6871         * TextControl.cs: Quick hack to center text better
6872
6873 2005-03-18  Peter Bartok  <pbartok@novell.com>
6874
6875         * ControlPaint.cs:
6876           - Don't throw NotImplemented exceptions, just print a notice once
6877             instead (requested by Miguel). This makes running existing SWF
6878             apps a bit easier
6879         * Control.cs:
6880           - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6881           - Added context menu trigger on right click
6882         * Panel.cs: Trigger invalidate on resize
6883         * StatusBar.cs:
6884           - Removed old double-buffer drawing
6885           - Added ResizeRedraw style to force proper update of statusbar
6886         * ListView.cs:
6887           - Removed debug output
6888         * ThemeWin32Classic.cs:
6889           - Fixed drawing of status bar, now draws Text property if there
6890             are no defined panels
6891
6892 2005-03-18  Jackson Harper  <jackson@ximian.com>
6893
6894         * ImageList.cs: When the image stream is set pull all the images
6895         from it.
6896         * ImageListStreamer.cs: Implement reading image list streams.
6897
6898 2005-03-18  Peter Bartok  <pbartok@novell.com>
6899
6900         * ThemeWin32Classic.cs (DrawPictureBox):
6901           - Fixed calculations for centered drawing
6902           - Fixed drawing for normal mode, not scaling the image on normal
6903
6904 2005-03-18  Peter Bartok  <pbartok@novell.com>
6905
6906         * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6907           textbox
6908         * FileDialog.cs:
6909           - Made Open/Save button the accept button for FileDialog
6910           - Tied the cancel button to the IButtonControl cancel button
6911           - Save/Open now properly builds the pathname
6912           - Now handles user-entered text
6913           - Preventing crash on right-click if no item is selected
6914           - Fixed Text property, now uses contents of textbox
6915           - Fixed SelectedText property, now just returns the text part that
6916             is selected in the text box
6917
6918 2005-03-18  Jackson Harper  <jackson@ximian.com>
6919
6920         * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6921         rect, make sure to de-adjust the interior rect after drawing the
6922         tab text.
6923
6924 2005-03-18  Peter Bartok  <pbartok@novell.com>
6925
6926         * MenuAPI.cs: Remove menu *before* executing selected action to
6927           prevent the menu from 'hanging around'
6928           
6929 2005-03-17  Geoff Norton  <gnorton@customerdna.com>
6930
6931         * XplatUIOSX.cs: Implemented WorkingArea property
6932
6933 2005-03-17  Peter Bartok  <pbartok@novell.com>
6934
6935         * XplatUIX11.cs: Fixed menu coord calculations
6936         * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6937           for calculating offsets
6938
6939 2005-03-17  Peter Bartok  <pbartok@novell.com>
6940
6941         * Hwnd.cs: Do not consider menu presence for default client
6942           rectangle location/size
6943         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6944           XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6945           translation functions
6946         * FileDialog.cs: Fixed (what I presume is a) typo
6947
6948 2005-03-17  Jonathan Gilbert  <logic@deltaq.org>
6949
6950         * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6951           X access (avoids X-Async errors)
6952
6953 2005-03-16  Jackson Harper  <jackson@ximian.com>
6954
6955         * TabControl.cs: Raise the SelectedIndexChanged event.
6956
6957 2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>
6958
6959         * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6960           - Removed vertical ToolBar and replaced it with a custom panel
6961             (desktop and home button already work)
6962           - Added Help button (some controls get resized or relocated then)
6963           - Draw correct text depending on Open or Save.
6964           - Fixed some typos...
6965
6966 2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>
6967
6968         * ScrollBar.cs:
6969           - Only change Maximum and Minimum when need it (bug fix)
6970
6971 2005-03-15  Peter Bartok  <pbartok@novell.com>
6972
6973         * Form.cs: Use Handle for icon, to trigger creation if
6974           the window does not yet exist
6975         * Control.cs:
6976           - CanSelect: Slight performance improvement
6977           - Focus(): Preventing possible recursion
6978           - Invalidate(): Removed ControlStyle based clear flag setting
6979           - WM_PAINT: fixed logic for calling OnPaintBackground
6980           - WM_ERASEBKGND: Fixed logic, added call to new driver method
6981             EraseWindowBackground if the control doesn't paint background
6982         * XplatUIWin32.cs:
6983           - Moved EraseWindowBackground() method to internal methods
6984           - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6985             is sent via SendMessage on BeginPaint call on Win32
6986         * XplatUIX11.cs:
6987           - Added EraseWindowBackground() method
6988           - No longer sends WM_ERASEBKGND on .Expose, but on call to
6989             PaintEventStart, which more closely matches Win32 behaviour
6990           - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6991           - Fixed SetFocus() to properly deal with client and whole windows
6992         * Hwnd.cs: Added ErasePending property
6993         * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6994         * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6995
6996 2005-03-12  Geoff Norton  <gnorton@customerdna.com>
6997
6998         * XplatUIOSX.cs:
6999           - Fix hard loop when timers exist.
7000           - Fix bugs with middle and right click for 3 button mice.
7001
7002 2005-03-11  Peter Bartok  <pbartok@novell.com>
7003
7004         * XplatUIX11.cs:
7005           - get_WorkingArea: Need to call X directly, GetWindowPos only
7006             returns cached data now
7007           - Added sanity check to GetWindowPos hwnd usage
7008
7009 2005-03-11  Jackson Harper  <jackson@ximian.com>
7010
7011         * BindingManagerBase.cs: This method isn't used anymore as
7012         PullData now updates the data in the control.
7013
7014 2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>
7015
7016         * Form.cs: fixes menu drawing on X11
7017         * MenuAPI.cs:  fixes menu drawing on X11
7018
7019 2005-03-11  Peter Bartok  <pbartok@novell.com>
7020
7021         * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7022           from Jonathan Gilbert; should fix bug #73606
7023         * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7024           in Screen coordinates. Thanks, Jordi.
7025         * Form.cs: Added missing attribute
7026
7027 2005-03-11  Peter Bartok  <pbartok@novell.com>
7028
7029         * Form.cs:
7030           - Rudimentary Mdi support
7031           - Removed outdated FormParent code
7032           - Implemented lots of missing properties and methods, still missing
7033             transparency support
7034           - Added missing attributes
7035           - Implemented support for MaximumBounds
7036           - Added firing of various events
7037         * XplatUI.cs: Added SetIcon() method
7038         * XplatUIDriver.cs: Added SetIcon() abstract
7039         * XplatUIOSX.cs: Stubbed out SetIcon() method
7040         * XplatUIX11.cs:
7041           - Implemented SetIcon() support
7042           - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7043           - Switched to unix line endings
7044         * XplatUIWin32.cs:
7045           - Made POINT internal so for can access it as part of MINMAX
7046           - Implemented SetIcon() support
7047           - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7048             native Mdi support again, might have to go managed)
7049         * Control.cs: Now fires the StyleChanged event
7050         * MdiClient.cs: Added; still mostly empty
7051
7052 2005-03-10  Peter Bartok  <pbartok@novell.com>
7053
7054         * SaveFileDialog.cs: Added emtpy file
7055
7056 2005-03-08  Peter Bartok  <pbartok@novell.com>
7057
7058         * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7059           in turn triggers OnCreateContro) when creating a handle for the
7060           first time.
7061         * TextControl.cs: Fixed endless loop in certain cases when
7062           replacing the current selection
7063
7064 2005-03-08  Jordi Mas i Hernandez <jordi@ximian.com>
7065
7066         * ScrollBar.cs:
7067           - Honors NewValue changes in Scroll events allowing apps to change it
7068           - Adds First and Last Scroll events
7069           - Fixes Thumb events
7070
7071 2005-03-07  Peter Bartok  <pbartok@novell.com>
7072
7073         * Hwnd.cs: Added DefaultClientRectangle property
7074         * XplatUI.cs: Now using the X11 driver Where() method, which provides
7075           more detailed debug information
7076         * XplatUIX11.cs:
7077           - Fixed size-change feedback loop, where we would pull an old size
7078             off the queue and mistakenly change our window's size to an
7079             earlier value
7080           - Now compressing ConfigureNotify events, to reduce looping and
7081             redraw issues
7082         * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7083           is called
7084
7085 2005-03-07  Jackson Harper  <jackson@ximian.com>
7086
7087         * Binding.cs: Push data pushes from data -> property. Check if the
7088         property is readonly when attempting to set it.
7089
7090 2005-03-07  Jackson Harper  <jackson@ximian.com>
7091
7092         * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7093         instead of IsSubclassOf. Pulling data now sets the value on the
7094         control.
7095         * PropertyManager.cs:
7096         * CurrencyManager.cs: Just need to pull data when updating now,
7097         because PullData will set the value on the control.
7098
7099 2005-03-04  Jackson Harper  <jackson@ximian.com>
7100
7101         * Binding.cs: Implement data type parsing and converting on pulled
7102         data. TODO: Are there more ways the data can be converted?
7103
7104 2005-03-04  Jackson Harper  <jackson@ximian.com>
7105
7106         * Binding.cs: Support <Property>IsNull checks. Also bind to the
7107         controls Validating method so we can repull the data when the
7108         control loses focus.
7109
7110 2005-03-03  Jordi Mas i Hernandez <jordi@ximian.com>
7111
7112         * ColumnHeader.cs:
7113           - Fixes null string format
7114           
7115         * ListView.cs:
7116           - Adds enum type checks
7117           - Fixes redrawing and recalc need after changing some properties
7118           - Fixes on focus_item set after the event
7119           - Fixes adding columns after the control has been created
7120           
7121         * ThemeWin32Classic.cs:
7122           - Fixes CheckBox focus rectangle
7123           - Fixes ColumnHeader drawing
7124
7125
7126 2005-03-03  Jackson Harper  <jackson@ximian.com>
7127
7128         * Binding.cs: Bind to <Property>Changed events so we can detect
7129         when properties are changed and update the data.
7130
7131 2005-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
7132
7133         * ImageList.cs:
7134           - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7135           - Fixes ImageList constructor with ImageList container
7136           - Fixes image scaling (wrong parameters at DrawImage)
7137
7138 2005-02-02  Jackson Harper  <jackson@ximian.com>
7139
7140         * Binding.cs: Make property searches case-insensitive. Eliminate
7141         some duplicated code.
7142
7143 2005-03-01  Jordi Mas i Hernandez <jordi@ximian.com>
7144
7145         * ComboBox.cs:
7146                 - Handle focus event
7147                 - Fix scrollbar events
7148                 - Discard highlighted item if remove it
7149                 - Fixes SelectedItem with strings
7150
7151 2005-03-01  Peter Bartok  <pbartok@novell.com>
7152
7153         * Control.cs:
7154           - Fixed Visible property, now follows (once again) parent chain
7155             to return false if any control in the chain is visible=false
7156           - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7157           - Fixed several places where is_visible instead of Visible was used
7158           - Implemented FIXME related to focus selection when setting focused
7159             control to be invisible
7160
7161         * XplatUIWin32.cs: Now using proper method to find out if window is
7162           visible. Thanks to Jordi for pointing it out
7163
7164 2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>
7165
7166         * ComboBox.cs: show/hide scrollbar instead of creating it
7167
7168 2005-02-27  Jackson Harper  <jackson@ximian.com>
7169
7170         * CurrencyManager.cs: Add PositionChanged stuff.
7171
7172 2005-02-27  Peter Bartok  <pbartok@novell.com>
7173
7174         * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7175         * XplatUIOSX.cs: Added GetMenuOrigin() stub
7176         * XplatUIWin32.cs: Implemented GetMenuOrigin()
7177         * XplatUIX11.cs:
7178           - Implemented GetMenuDC()
7179           - Implemented GetMenuOrigin()
7180           - Implemented ReleaseMenuDC()
7181           - Implemented generation of WM_NCPAINT message
7182           - Implemented generation and handling of WM_NCCALCSIZE message
7183         * Form.cs: Added debug helper message for Jordi's menu work
7184         * Hwnd.cs:
7185           - Modified ClientRect property; added setter, fixed getter to handle
7186             setting of ClientRect
7187           - Added MenuOrigin property
7188
7189 2005-02-26  Peter Bartok  <pbartok@novell.com>
7190
7191         * XplatUIX11.cs:
7192           - Destroys the caret if a window that's being destroyed contains it
7193           - Ignores expose events coming from the X11 queue for windows that
7194             already are destroyed
7195           - Now uses the proper variable for handling DestroyNotify, before we
7196             marked the wrong window as destroyed
7197           - Improved/added some debug output
7198
7199 2005-02-26  Peter Bartok  <pbartok@novell.com>
7200
7201         * X11Keyboard.cs: Fixes to work on 64bit systems
7202
7203 2005-02-26  Peter Bartok  <pbartok@novell.com>
7204
7205         * Control.cs:
7206           - Now calling OnHandleDestroyed from DestroyHandle()
7207             instead of Dispose()
7208           - Removed bogus call to controls.Remove() from DestroyHandle()
7209
7210 2005-02-26  Peter Bartok  <pbartok@novell.com>
7211
7212         * Control.cs: Properly destroy child windows when our handle is
7213           destroyed
7214
7215 2005-02-25  Peter Bartok  <pbartok@novell.com>
7216
7217         * XplatUI.cs:
7218           - Added 'DriverDebug' define to allow tracing XplatUI API calls
7219           - Alphabetized Static Methods and Subclasses
7220
7221         * XplatUIX11.cs:
7222           - Added XException class to allow custom handling of X11 exceptions
7223           - Created custom X11 error handler, tied into XException class
7224           - Added support for MONO_XEXCEPTIONS env var to allow the user
7225             to either throw an exception on X errors or continue running
7226             after displaying the error
7227           - Added handling of DestroyNotify message
7228           - Added handler for CreateNotify message (still disabled)
7229           - Improved (tried to at least) Where method to provide file and lineno
7230         * X11Structs.cs:
7231           - Added XErrorHandler delegate
7232           - Added XRequest enumeration (to suppor translation of errors)
7233
7234 2005-02-25  Jackson Harper  <jackson@ximian.com>
7235
7236         * PropertyManager.cs: Implement editing features
7237         * CurrencyManager.cs:
7238         * Binding.cs: First attempt at UpdateIsBinding
7239         * BindingManagerBase.cs: Call UpdateIsBinding before
7240         pushing/pulling data.
7241
7242 2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
7243
7244         * MenuAPI.cs: Respect disabled items
7245         * ThemeWin32Classic.cs
7246                 - Caches ImageAttributes creation for DrawImageDisabled
7247                 - Fixes vertical menu line drawing
7248                 - Draws disabled arrows in disable menu items
7249
7250 2005-02-24  Peter Bartok  <pbartok@novell.com>
7251
7252         * Hwnd.cs:
7253           - Added UserData property to allow associating arbitrary objects
7254             with the handle
7255           - Fixed leak; now removing Hwnd references from static windows array
7256         * XplatUIWin32.cs:
7257           - Fixed Graphics leak in PaintEventEnd
7258           - Removed usage of HandleData, switched over to Hwnd class
7259         * HandleData.cs: Removed, obsoleted by Hwnd.cs
7260
7261 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7262
7263         * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7264         * ScrollBar.cs: Fixes bug
7265         * TrackBar.cs: removes death code, clipping, mimize refreshes,
7266          keyboard navigation enhancements
7267
7268 2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
7269
7270         * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7271         * GroupBox.cs: Add control styles
7272         * Label.cs: Add control styles
7273         * UpDownBase.cs: Add control styles
7274         * ListBox.cs: Add control styles
7275         * XplatUIWin32.cs: Fixes wrong parameter order
7276
7277
7278 2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>
7279
7280         * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7281
7282 2005-02-23  Jackson Harper  <jackson@ximian.com>
7283
7284         * PropertyManager.cs: Implement property binding. This doesn't
7285         seem to work yet though as (I think) there are some bugs in
7286         System.ComponentModel.PropertyDescriptor.
7287         * BindingContext.cs: Use new PropertyManager constructor.
7288
7289 2005-02-23  Jordi Mas i Hernandez <jordi@ximian.com>
7290
7291         * ProgressBar.cs: use clip region in ProgressBar
7292         * ThemeWin32Classic.cs: use clip region in ProgressBar
7293
7294 2004-02-22  Jackson Harper  <jackson@ximian.com>
7295
7296         * BindingsCollection.cs: Remove some debug code.
7297
7298 2005-02-22  Jackson Harper  <jackson@ximian.com>
7299
7300         * BindingContext.cs:
7301         * ControlBindingsCollection.cs:
7302         * CurrencyManager.cs:
7303         * Binding.cs:
7304         * BindingManagerBase.cs: Initial implementation
7305         * BindingsCollection.cs: Add an internal contains method that the
7306         BindingManagerBase uses to ensure bindings aren't added twice to
7307         the collection.
7308         * PropertyManager.cs: Stubbed out.
7309         * Control.cs:
7310         * ContainerControl.cs: Hook up databinding
7311         
7312 2005-02-22  Geoff Norton  <gnorton@customerdna.com>
7313
7314         * XplatUIOSX.cs:
7315           OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7316           Fixed Invalidate/Update chain.
7317           Fixed tons of other minor bugs (this is almost a complete rewrite).
7318
7319 2005-02-22  Jordi Mas i Hernandez <jordi@ximian.com>
7320
7321         * ComboBox.cs: do subcontrol creation when the control is created
7322
7323 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7324
7325         * Label.cs: fixes image drawing (image and imagelist)
7326         * ThemeWin32Classic.cs: cache brushes
7327         
7328 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7329
7330         * Form.cs: Move menu drawing code to Theme class
7331         * ComboBox.cs: Move ComboBox drawing code to Theme class
7332         * MenuItem.cs: Move menu drawing code to Theme class
7333         * MenuAPI.cs: Move menu drawing code to Theme class
7334         * ThemeWin32Classic.cs: New methods
7335         * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7336         * ListBox.cs: Move Listbox drawing code to Theme class
7337         * Theme.cs: New methods
7338
7339 2005-02-20  Peter Bartok  <pbartok@novell.com>
7340
7341         * Control.cs:
7342           - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7343             only process mnemonics on those)
7344           - Fixed event sequence for key handling; first calling
7345             ProcessKeyEventArgs now
7346         * TextBoxBase.cs:
7347           - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7348             for processing non-character keys
7349           - Fixed WM_CHAR to generate proper event sequence before processing
7350         * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7351           generation
7352
7353 2005-02-19  Peter Bartok  <pbartok@novell.com>
7354
7355         * UserControl.cs: Added TextChanged event; added attributes
7356         * SizeGrip.cs: Implemented resizing and optional display of grip
7357         * Form.cs: Fixed attribute
7358         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7359           Changed meaning of ScrollWindow bool argument; instead of the
7360           clear attribute (which will be true usually anyway), it gives the
7361           option of moving child controls as well.
7362         * XplatUIX11.cs:
7363           - Changed to match new ScrollWindow argument
7364           - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7365             now handles the implicit parent window a WM puts around us
7366         * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7367           to work)
7368         * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7369         * TreeView.cs: Adjusted to new ScrollWindow arguments
7370
7371 2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>
7372
7373         * Form.cs: Menu integration with non-client area
7374         * MenuItem.cs: Menu integration with non-client area
7375         * MenuAPI.cs: Menu integration with non-client area
7376
7377 2005-02-18  Peter Bartok  <pbartok@novell.com>
7378
7379         * MethodInvoker.cs: Added
7380         * MdiLayout.cs: Added
7381         * SendKeys.cs: Started implementation
7382         * ErrorIconAlignment.cs: Added
7383
7384 2005-02-18  Peter Bartok  <pbartok@novell.com>
7385
7386         * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7387         * Form.cs: Added handling for Menu-related Non-client messages
7388
7389 2005-02-17  Peter Bartok  <pbartok@novell.com>
7390
7391         * UpDownBase.cs: Fixed typo, compilation errors
7392         * DomainUpDown.cs: Fixed attribute value
7393
7394 2005-02-16  Miguel de Icaza  <miguel@novell.com>
7395
7396         * UpDownBase.cs: Attach entry events.
7397         Propagate events.
7398         Add ForeColor property, Focused, InterceptArrowKeys (interception
7399         does not work yet).
7400
7401 2005-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
7402
7403         * Form.cs:
7404                 - Redraw non client are on Setmenu
7405                 - Calc proper menu starting point
7406
7407 2005-02-17  Peter Bartok  <pbartok@novell.com>
7408
7409         * Application.cs: Fixed message_filter check
7410
7411 2005-02-17  Peter Bartok  <pbartok@novell.com>
7412
7413         * Application.cs: Now calls registered message filters
7414         * DockStyle.cs: Fixed attribute
7415         * Form.cs: Fixed attribute
7416         * Menu.cs: Fixed attribute
7417         * ToolTip.cs: Fixed attribute
7418         * TreeNode.cs: Added missing attributes and arranged in regions
7419         * PropertyGrid.cs: Fixed signatures
7420         * TreeNodeCollection.cs: Added attributes
7421         * Splitter.cs: Added missing attributes; arranged into regions
7422         * TabPage.cs: Added missing attributes; arranged into regions
7423         * TextBoxBase.cs: Added missing attributes
7424         * TextBox.cs: Added missing attributes
7425         * ArrangeDirection.cs: Added missing attributes
7426         * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7427         * ToolBarButton.cs: Fixed attributes
7428         * AnchorStyles.cs: Fixed attribute
7429         * TrackBar.cs: Fixed attributes
7430         * TabControl.cs: Added missing attributes and arranged into regions
7431         * ToolBar.cs: Fixed attribute
7432         * StatusBar.cs: Fixed signature, organized into regions and added
7433           attributes
7434         * StatusBarPanel.cs: Fixed attributes
7435         * ContentsResizedEventArgs.cs: Implemented
7436         * ContentsResizedEventHandler.cs: Implemented
7437         * DateBoldEventArgs.cs: Implemented
7438         * DateBoldEventHandler.cs: Implemented
7439         * UpDownEventArgs.cs: Implemented
7440         * UpDownEventHandler.cs: Implemented
7441         
7442 2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>
7443
7444         * Form.cs: first Menu NC refactoring
7445         * MenuAPI.cs: first Menu NC refactoring
7446         
7447 2005-02-16  Peter Bartok  <pbartok@novell.com>
7448
7449         * ImeMode.cs: Added missing attributes
7450         * Menu.cs: Fixed attribute
7451         * GroupBox.cs: Fixed attribute
7452         * Label.cs: Fixed attribute
7453         * ColorDialog.cs (RunDialog): Removed TODO attribute
7454         * ComboBox.cs: Fixed attributes
7455         * ListControl.cs: Added missing attributes
7456         * PropertyGrid.cs: Fixed attributes
7457         * Control.cs: Fixed attributes
7458         * ListViewItem.cs: Added TypeConverter attribute
7459         * NotifyIcon.cs: Fixed attributes
7460         * ListView.cs: Fixed attributes
7461         * ButtonBase.cs: Fixed attribute
7462         * ImageList.cs: Added missing attributes
7463         * ContainerControl.cs: Fixed signature
7464         * CheckedListBox.cs: Fixed attribute; added missing attributes
7465         * Panel.cs: Fixed attributes
7466         * PropertyTabChangedEventArgs.cs: Added missing attribute
7467         * PropertyValueChangedEventArgs.cs: Added missing attribute
7468         * Binding.cs: Fixed attribute
7469         * ListViewItemConverter: Implemented ListViewSubItemConverter class
7470         * ListBox.cs: Fixed attribute; added missing attributes;
7471         * ScrollableControl.cs: Added missing attributes
7472         * PictureBox.cs: Added missing attributes; implemented missing property
7473         * DateTimePicker.cs: Added missing attributes
7474         * Theme.cs (ToolWindowCaptionHeight): Fixed type
7475         * MonthCalendar.cs: Fixed attributes
7476         * StatusBarPanel.cs: Added missing attributes
7477         * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7478
7479 2005-02-16  Peter Bartok  <pbartok@novell.com>
7480
7481         * TextBoxBase.cs: The previous method to enforce height yet remember
7482           the requested high was less than ideal, this is an attempt to do
7483           it better.
7484         * Control.cs: Added comment about possible problem
7485         * Copyright: Updated format
7486         * GridItemType.cs: Fixed swapped values
7487
7488 2005-02-15  Jackson Harper  <jackson@ximian.com>
7489
7490         * BaseCollection.cs: Use property so we never access an
7491         uninitialized list. Also initialize the list in the property.
7492
7493 2005-02-15  Peter Bartok  <pbartok@novell.com>
7494
7495         * GroupBox.cs (ProcessMnemonic): Implemented
7496         * Label.cs (ProcessMnemonic): Implemented
7497         * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7498           hotkeys
7499
7500 2005-02-15  Peter Bartok  <pbartok@novell.com>
7501
7502         * RadioButton.cs (ProcessMnemonic): Implemented
7503         * CheckBox.cs (ProcessMnemonic): Implemented
7504         * Control.cs:
7505           - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7506             handling
7507           - Added internal method to allow calling ProcessMnemonic from other
7508             controls
7509         * ContainerControl.cs:
7510           - Started support for handling validation chain handling
7511           - Implemented ProcessMnemonic support
7512           - Added Select() call to Active, to make sure the active control
7513             receives focus
7514         * Form.cs: Setting toplevel flag for Forms (this was lost in the
7515           FormParent rewrite)
7516         * ThemeWin32Classic.cs:
7517           - DrawCheckBox(): Fixed stringformat to show hotkeys
7518           - DrawRadioButton(): Fixed stringformat to show hotkeys
7519         * CommonDialog.cs: Removed WndProc override, not needed
7520
7521 2005-02-14  Peter Bartok  <pbartok@novell.com>
7522
7523         * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7524           missed those in the rewrite
7525
7526 2005-02-14  Miguel de Icaza  <miguel@novell.com>
7527
7528         * NumericUpDown.cs (Increment, ToString): Add.
7529         (DecimalPlaces): implement.
7530         
7531         Add attributes.
7532         
7533         * UpDownBase.cs: Add the designer attributes.
7534
7535 2005-02-13  Peter Bartok  <pbartok@novell.com>
7536
7537         * Panel.cs: Removed border_style, now in Control
7538         * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7539           ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7540
7541 2005-02-13  Peter Bartok  <pbartok@novell.com>
7542
7543         * MouseButtons.cs: Added missing attributes
7544         * XplatUIStructs.cs: Added enumeration for title styles
7545         * LeftRightAlignment.cs: Added missing attributes
7546         * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7547           it compatible with Graphics.FromHwnd()
7548         * SelectedGridItemChangedEventArgs.cs: Fixed property type
7549         * Keys.cs: Added missing attributes
7550         * SelectionRange.cs: Added missing attributes
7551         * SelectionRangeConverter.cs: Added
7552         * XplatUI.cs:
7553           - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7554             ReleaseMenuDC methods
7555           - Renamed ReleaseWindow to UngrabWindow
7556           - Added proper startup notice to allow version identification
7557         * Form.cs:
7558           - Added missing attributes
7559           - Removed FormParent concept
7560         * Label.cs: Removed border_style field, now in Control
7561         * RadioButton.cs: Now properly selects RadioButton when focus is
7562           received
7563         * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7564         * Control.cs:
7565           - Added missing attributes
7566           - Added borderstyle handling
7567           - Removed FormParent concept support
7568           - Fixed calls to XplatUI to match changed APIs
7569           - Fixed bug that would case us to use disposed Graphics objects
7570           - Removed unneeded internal methods
7571           - PerformLayout(): Fixed to handle DockStyle.Fill properly
7572           - SelectNextControl(): Fixed to properly check common parents
7573         * TextBoxBase.cs: Removed border_style field (now in Control)
7574         * MessageBox.cs:
7575           - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7576             fixed calculations for form size
7577           - Added support for localized strings and icons
7578           - Improved form size calculations, added border
7579         * ListView.cs: Removed border_style field (now in Control)
7580         * X11Structs.cs: Moved several structs from X11 driver here
7581         * X11Keyboard.cs: Changed debug message
7582         * Application.cs: Removed FormParent concept support
7583         * CommonDialog.cs:
7584           - Resetting end_modal flag
7585           - Removed FormParent concept support
7586         * NativeWindow.cs: Removed FormParent concept support
7587         * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7588           Client area and Non-Client whole window to allow support for WM_NC
7589           messages
7590         * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7591           prevent using it until it supports Hwnd as per Geoff Norton's request
7592         * ToolBar.cs: Fixed drawing, was not doing proper drawing
7593         * PictureBox.cs: Removed border_style field, now in Control
7594         * XplatUIWin32.cs: Added new driver methods
7595
7596 2005-02-12  Peter Bartok  <pbartok@novell.com>
7597
7598         * OpacityConverter.cs: Implemented
7599         * Hwnd.cs: Internal class to support drivers that need to emulate
7600           client area/non-client area window behaviour
7601
7602 2005-02-11  Peter Bartok  <pbartok@novell.com>
7603
7604         * KeysConverter.cs: Implemented
7605
7606 2005-02-11  Jordi Mas i Hernandez <jordi@ximian.com>
7607
7608         * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7609         * LinkLabel: Added missing attributes
7610         * MainMenu.cs: fixes ToString
7611         * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7612         * ListBox.cs: fixes event position
7613         * TrackBar.cs: adds missing attributes and events
7614         
7615 2005-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
7616
7617         * MenuItem.cs: Use SystemInformation and bug fixes
7618         * MenuAPI.cs: Use SystemInformation and bug fixes
7619
7620 2005-02-09  Jackson Harper  <jackson@ximian.com>
7621
7622         * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7623         their keystate otherwise things like VK_MENU get stuck "on".
7624
7625 2005-02-09  Kazuki Oikawa <kazuki@panicode.com>
7626
7627         * ListBox.cs: Fixes AddRange bug
7628         
7629 2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>
7630
7631         * ProgressBar.cs
7632                 - Add missing attributes
7633                 - Add missing method
7634                 
7635         * CheckedListBox.cs: Added missing attributes
7636                 - Add missing attributes
7637                 - Remove extra method
7638         
7639         * ComboBox.cs: Added missing attributes
7640         * VScrollBar.cs: Added missing attributes
7641         * ScrollBar.cs:  Added missing attributes
7642         * ListBox.cs: Fixes signature, add missing consts
7643         * LinkArea.cs:   Added missing attributes
7644         
7645
7646 2005-02-08  Peter Bartok  <pbartok@novell.com>
7647
7648         * Menu.cs: Added missing attributes
7649         * MainMenu.cs: Added missing attributes
7650         * GroupBox.cs: Added missing attributes
7651         * Label.cs: Added missing attributes
7652         * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7653         * ColorDialog.cs:
7654           - Added Instance and Options properties
7655           - Added missing attributes
7656         * Cursor.cs: Made Serializable
7657         * NotifyIcon: Added missing attributes
7658         * MenuItem.cs: Added missing attributes
7659         * TextBoxBase.cs: Implemented AppendText() and Select() methods
7660         * Panel.cs: Added Missing attributes
7661         * MonthCalendar.cs: Fixed CreateParams
7662
7663 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7664         
7665         * LinkLabel.cs:
7666                 - Fixes signature
7667                 - Fixes issues with links
7668                 - Adds the class attributes
7669
7670 2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>
7671         
7672         * ComboBox.cs:
7673                 - Fixes button when no items available in dropdown
7674                 - Fixes repainting problems
7675                 - Adds the class attributes
7676                 
7677 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7678
7679         * XplatUIOSX.cs: Detect the menu bar and title bar height from
7680         the current theme.  Cache these on startup.
7681
7682 2005-02-07  Jackson Harper  <jackson@ximian.com>
7683
7684         * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7685         the scrollbar buttons when they are depressed.
7686
7687 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7688
7689         * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7690         Get the display size from the main displayid.  We currently dont
7691         support multiple display configurations.
7692
7693 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
7694
7695         * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7696
7697 2005-02-07  Miguel de Icaza  <miguel@novell.com>
7698
7699         * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7700
7701 2005-02-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
7702
7703         * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7704
7705 2005-02-04  Jackson Harper  <jackson@ximian.com>
7706
7707         * ThemeWin32Classic.cs: Respect the clipping rect when
7708         drawing. Only fill the intersection of clips and rects so there
7709         isn't a lot of large fills.
7710         * ScrollBar.cs: Pass the correct clipping rect to the theme
7711         engine. Remove some debug code.
7712
7713 2005-02-05  John BouAntoun  <jba-mono@optusnet.com.au>
7714         
7715         * DateTimePicker.cs:
7716                 - Fixed crash on DateTime.Parse, use Constructor instead
7717
7718 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7719         
7720         * MenuItem.cs:
7721         * MenuAPI.cs:
7722                 - Owner draw support (MeasureItem and DrawItem)
7723
7724 2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>
7725         
7726         *  Menu.cs:
7727                 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7728                 - Fixes MenuItems.Add range
7729         * MenuItem.cs:
7730                 - MergeMenu and Clone and CloneMenu functions
7731
7732 2005-02-03  Jackson Harper  <jackson@ximian.com>
7733
7734         * ScrollBar.cs: Make abstract
7735         * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7736         is abstract.
7737
7738 2005-02-03  Jackson Harper  <jackson@ximian.com>
7739
7740         * ScrollBar.cs: First part of my scrollbar fixups. This removes
7741         all the unneeded refreshes and uses invalidates with properly
7742         computed rects.
7743
7744 2005-02-03  Peter Bartok  <pbartok@novell.com>
7745
7746         * ComponentModel.cs: Added
7747         * IDataGridEditingService.cs: Added
7748         * Timer.cs: Added missing attributes
7749         * ToolTip.cs: Added missing attributes
7750
7751 2005-02-03  Jonathan Chambers  <jonathan.chambers@ansys.com>
7752
7753         * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7754
7755 2005-02-03  Peter Bartok  <pbartok@novell.com>
7756
7757         * ListBox.cs: Added missing attributes
7758
7759 2005-02-03  Jordi Mas i Hernandez <jordi@ximian.com>
7760         
7761         * ListBox.cs:
7762                 - Fixes font height after font change
7763                 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7764                 
7765 2005-02-02  Peter Bartok  <pbartok@novell.com>
7766
7767         * HandleData.cs: Introduced static methods to allow class
7768           to be more self-contained and track it's own HandleData objects
7769         * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7770           HandleData to use new static methods
7771
7772 2005-02-02  Jordi Mas i Hernandez <jordi@ximian.com>
7773
7774         * Combobox.cs:
7775                 - Fixes default size and PreferredHeight
7776                 - Missing events
7777                 - ObjectCollection.Insert implementation
7778                 
7779         * ListControl.cs
7780                 - Fixes signature
7781         * ListBox.cs:
7782                 - Several fixes
7783                 - ObjectCollection.Insert implementation
7784                 - No selection after clean
7785                 - Small fixes
7786
7787 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7788
7789         * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7790
7791 2005-02-01  Jordi Mas i Hernandez <jordi@ximian.com>
7792
7793         * Combobox.cs:
7794                 - Caches ItemHeight calculation for OwnerDrawVariable
7795                 - Handles dropdown properly
7796                 - Fixes several minor bugs
7797
7798 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7799
7800         * ListBox.cs:
7801                 - Fixes 71946 and 71950
7802                 - Fixes changing Multicolumn on the fly
7803                 - Fixes keyboard navigation on Multicolumn listboxes
7804
7805 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7806         
7807         * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7808         crash reporter log.
7809
7810 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7811
7812         * XplatUIOSX.cs: Allow applications to actually exit.
7813
7814 2005-01-31  Geoff Norton  <gnorton@customerdna.com>
7815
7816         * XplatUIOSX.cs: SetWindowStyle implemented.  Reposition views in
7817         their parent at creation time rather than lazily later.  Fixes a major
7818         regression we were experiencing.
7819
7820 2005-01-31      John BouAntoun  <jba-mono@optusnet.com.au>
7821
7822         * ThemeWin32Classic.cs: more date time picker painting fixes
7823         * DateTimePicker.cs: more monthcalendar drop down fixes
7824         * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7825
7826 2005-01-31  Jordi Mas i Hernandez <jordi@ximian.com>
7827
7828         * ScrollBar.cs:
7829                 - When moving the thumb going outside the control should stop the moving
7830                 - Adds the firing of missing events
7831                 - Fixes no button show if Size is not specified
7832                 - End / Home keys for keyboard navigation
7833
7834 2005-01-30  Peter Bartok  <pbartok@novell.com>
7835
7836         * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7837           sanity check to prevent theoretical loop
7838         * XplatUIWin32.cs (SetVisible): Removed debug output
7839         * XplatUIX11.cs (SystrayChange): Added sanity check
7840         * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7841         * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7842           behaviour, valid until the X11 client window rewrite is done
7843         * TextBox.cs (ctor): Setting proper default foreground and background
7844           colors
7845
7846 2005-01-30      John BouAntoun  <jba-mono@optusnet.com.au>
7847
7848         * Theme: Added DrawDateTimePicker to interface
7849         * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7850         * DateTimePicker.cs: Created (still needs keys and painting code)
7851         * DateTimePickerFormat.cs: added
7852         * MonthCalendar.cs: fixed CreateParams for popup window mode
7853           
7854 2005-01-29  Peter Bartok  <pbartok@novell.com>
7855
7856         * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7857           this should also the calculations for ligher/darker
7858         * Theme.cs: Fixed defaults for ScrollBar widths/heights
7859
7860 2005-01-29  Peter Bartok  <pbartok@novell.com>
7861
7862         * ArrangeDirection.cs: Added
7863         * ArrangeStartingPositon.cs: Added
7864         * SystemInformation.cs: Implemented
7865         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7866           XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7867           used by SystemInformation class
7868         * X11Strucs.cs: Added XSizeHints structure
7869         * MenuAPI.cs:
7870           - Fixed CreateParams to make sure the menu window is always visible
7871           - TrackPopupMenu: Added check to make sure we don't draw the
7872             menu offscreen
7873
7874 2005-01-29  Peter Bartok  <pbartok@novell.com>
7875
7876         * HandleData.cs: Added method for altering invalid area
7877         * TextBoxBase.cs: Implemented TextLength
7878
7879 2005-01-28  Peter Bartok  <pbartok@novell.com>
7880
7881         * XplatUIX11.cs: Improvement over last patch, not sending
7882           the WM_PAINT directly anymore, instead we scroll any pending
7883           exposed areas and let the system pick out the WM_PAINT later
7884
7885 2005-01-28  Peter Bartok  <pbartok@novell.com>
7886
7887         * SWF.csproj: Deleted, no longer used. Instead,
7888           Managed.Windows.Forms/SWF.csproj should be used
7889         * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7890           directly, to avoid a potential race condition with the next
7891           scroll
7892
7893 2005-01-28  Peter Bartok  <pbartok@novell.com>
7894
7895         * XplatUI.cs: Made class internal
7896
7897 2005-01-28  Jordi Mas i Hernandez <jordi@ximian.com>
7898
7899         * CheckedListBox.cs:
7900                 - Draw focus
7901                 - Fixed Drawing
7902                 - Missing methods and events
7903
7904 2005-01-27  Peter Bartok  <pbartok@novell.com>
7905
7906         * Application.cs (Run): Don't use form if we don't have one
7907
7908 2005-01-27  Peter Bartok  <pbartok@novell.com>
7909
7910         * TextBoxBase.cs (get_Lines): Fixed index off by one error
7911
7912 2005-01-27  Peter Bartok  <pbartok@novell.com>
7913
7914         * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7915         * GridItem.cs: Added; Patch by Jonathan S. Chambers
7916         * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7917         * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7918         * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7919         * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7920         * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7921         * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7922         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7923         * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7924         * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7925         * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7926
7927 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7928
7929         * Combobox.cs:
7930                 - Draw focus on Simple Combobox
7931                 - Fixes drawing issues
7932                 - fixes 71834
7933
7934 2005-01-27  Peter Bartok  <pbartok@novell.com>
7935
7936         * Form.cs:
7937           - Place window in default location, instead of hardcoded 0/0
7938           - Send initial LocationChanged event
7939         * Control.cs:
7940           - UpdateBounds after creation to find out where the WM placed us
7941           - Make sure that if the ParentForm changes location the Form
7942             is notified
7943         * XplatUIX11.cs: XGetGeometry will not return the coords relative
7944             to the root, but to whatever the WM placed around us.
7945             Translate to root coordinates before returning toplevel
7946             coordinates
7947         * XplatUIWin32.cs: Removed debug output
7948         * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7949           flag to GetWindowPos, to allow translation of coordinates on X11
7950
7951 2005-01-27  Jordi Mas i Hernandez <jordi@ximian.com>
7952
7953         * ListBox.cs: connect LostFocus Event
7954
7955 2005-01-27  Peter Bartok  <pbartok@novell.com>
7956
7957         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7958           XplatUIX11.cs: Extended the Systray API
7959         * Form.cs: Removed debug output
7960         * Application.cs: Fixed focus assignment, always need to call
7961           XplatUI.Activate() since Form.Activate() has rules that may
7962           prevent activation
7963         * NotifyIcon.cs: Should be complete now
7964         * ToolTip.cs: Worked around possible timer bug
7965
7966 2005-01-27  Jackson Harper  <jackson@ximian.com>
7967
7968         * TabControl.cs:
7969         - Only invalidate the effected tabs when the
7970         selected index changes. This reduces drawing and gets rid of some
7971         flicker.
7972         - Only refresh if the tabs need to be shifted, otherwise only
7973         invalidate the slider button.
7974         - On windows the tabs are not filled to right if the slider is
7975         visible.
7976         
7977 2005-01-27  Jackson Harper  <jackson@ximian.com>
7978
7979         * TabControl.cs: Only refresh on mouseup if we are showing the
7980         slider. Also only invalidate the button whose state has changed.
7981
7982 2005-01-26  Peter Bartok  <pbartok@novell.com>
7983
7984         * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7985         * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7986           and SystrayRemove() methods
7987         * XplatUIOSX.cs: Stubbed Systray methods
7988         * XplatUIX11.cs:
7989           - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7990             methods
7991           - Fixed broken XChangeProperty calls (marshalling messed up things)
7992         * X11Structs.cs: Added enums and structs required for Size hinting
7993         * NotifyIcon.cs: Added & implemented
7994
7995 2005-01-26  Jackson Harper  <jackson@ximian.com>
7996
7997         * TabControl.cs: Space vertically layed out tabs properly.
7998
7999 2005-01-26  Peter Bartok  <pbartok@novell.com>
8000
8001         * Form.cs (CreateClientParams): Always set the location to 0,0
8002           since we're a child window.
8003
8004         * Control.cs (SetVisibleCore): Always explicitly setting the location
8005           of a toplevel window, apparently X11 doesn't like to move windows
8006           while they're not mapped.
8007
8008 2005-01-26  Jackson Harper  <jackson@ximian.com>
8009
8010         * TabControl.cs: Implement FillToRight size mode with vertically
8011         rendered tabs.
8012
8013 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8014
8015         * ControlPaint.cs, ThemeWin32Classic.cs
8016                 - Fixes DrawFocusRectangle
8017
8018 2005-01-26  Jordi Mas i Hernandez <jordi@ximian.com>
8019
8020         * MenuAPI.cs:
8021                 - MenuBar tracking only starts when item is first clicked
8022                 - Fixes menu hidding for multiple subitems
8023                 - Unselect item in MenuBar when item Executed
8024                 - Fixes bug 71495
8025
8026 2005-01-25  Jordi Mas i Hernandez <jordi@ximian.com>
8027
8028         * ListControl.cs:
8029                 - IsInputKey for ListBox
8030         * ListBox.cs:
8031                 - Focus item
8032                 - Shift and Control item selection
8033                 - Implement SelectionMode.MultiExtended
8034                 - Fixes RightToLeft
8035         * ComboBox.cs:
8036                 - IsInputKey implemented
8037                 - Do not generate OnTextChangedEdit on internal txt changes
8038                 
8039 2005-01-23  Peter Bartok  <pbartok@novell.com>
8040
8041         * AccessibleObject.cs: Partially implemented Select()
8042         * MonthCalendar.cs: Added missing attributes and events
8043         * Form.cs: Fixed CreateParams behaviour, now controls derived from
8044           form can properly override CreateParams.
8045         * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8046           XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8047           Control performs Invalidate & Update
8048         * NativeWindow (CreateHandle): Added special handling for Form
8049           and Form.FormParent classes to allow overriding of From.CreateParams
8050         * Control.cs:
8051           - ControlNativeWindow: Renamed 'control' variable to more intuitive
8052             name 'owner'
8053           - ControlNativeWindow: Added Owner property
8054           - Removed usage of Refresh() on property changes, changed into
8055             Invalidate(), we need to wait until the queue is processed for
8056             updates, direct calls might cause problems if not all vars for
8057             Paint are initialized
8058           - Added call to UpdateStyles() when creating the window, to set any
8059             styles that CreateWindow might have ignored.
8060           - Added support for Form CreateParent overrides to UpdateStyles()
8061         * MessageBox.cs: Removed no longer needed FormParent override stuff,
8062           CreateParams are now properly overridable
8063         * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8064           CreateParams are now properly overridable
8065
8066 2005-01-23  Miguel de Icaza  <miguel@ximian.com>
8067
8068         * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8069         OnTextBoxChanged.
8070
8071         Capture LostFocus and OnTextBoxChanged.  The later introduces a
8072         recursive invocation that I have not figured out yet.
8073
8074         Reset the timer when not using (it was accumulating).
8075
8076
8077         (OnTextBoxChanged): Set UserEdit to true here to track whether the
8078         user has made changes that require validation.
8079
8080         Reset changing to avoid loops.
8081
8082 2005-01-22  Miguel de Icaza  <miguel@ximian.com>
8083
8084         * NumericUpDown.cs: Display value at startup.
8085
8086         * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8087         ValidateEditText.
8088
8089         * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8090         filled in.  Added some basic parsing of text.
8091
8092         Still missing the OnXXX method overrides, and figuring out the
8093         events that must be emitted.
8094
8095         * UpDownBase.cs: Handle UserEdit on the Text property.
8096         
8097 2005-01-22  Jordi Mas i Hernandez <jordi@ximian.com>
8098
8099         * ComboBox.cs:
8100           - Fixes IntegralHeight
8101           - ToString method
8102
8103 2005-01-21  Jackson Harper  <jackson@ximian.com>
8104
8105         * TabControl.cs: Set the SelectedIndex property when SelectedTab
8106         is set so that the page visibility is updated and the tabs are
8107         sized correctly.
8108
8109 2005-01-21  Jackson Harper  <jackson@ximian.com>
8110
8111         * TabControl.cs: Use cliping rectangle for blitting. Give the
8112         theme the clipping rect so we can do clipping while
8113         drawing. Remove some debug code.
8114
8115 2005-01-21  Jackson Harper  <jackson@ximian.com>
8116
8117         * TabPage.cs: Add a new method so tab pages can force the tab
8118         control to recalculate the tab page sizes.
8119         * TabControl.cs: UpdateOwner needs to make the tab control recalc
8120         sizes.
8121
8122 2005-01-20  Jackson Harper  <jackson@ximian.com>
8123
8124         * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8125
8126 2005-01-20  Jackson Harper  <jackson@ximian.com>
8127
8128         * TreeView.cs: Set the bounds for nodes properly. They were
8129         getting screwed up when checkboxes were not enabled, but images
8130         were.
8131
8132 2005-01-20  Jordi Mas i Hernandez <jordi@ximian.com>
8133
8134         * ListBox.cs:
8135                 - Owner draw support
8136                 - Fixes
8137                 
8138 2005-01-20  Jackson Harper  <jackson@ximian.com>
8139
8140         * XplatUIStructs.cs: More misc keys
8141         * X11Keyboard.cs: Ignore some control keys.
8142
8143 2005-01-20  Jackson Harper  <jackson@ximian.com>
8144
8145         * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8146         * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8147
8148 2005-01-19  Peter Bartok  <pbartok@novell.com>
8149
8150         * Control.cs: Un-selecting the control when it is loosing focus
8151
8152 2005-01-19  Jackson Harper  <jackson@ximian.com>
8153
8154         * TreeView.cs: Hook up to the text controls leave event so we can
8155         end editing when the users clicks outside the text box.
8156         
8157 2005-01-19  Jackson Harper  <jackson@ximian.com>
8158
8159         * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8160         get set in the conversion array.
8161
8162 2005-01-19  Peter Bartok  <pbartok@novell.com>
8163
8164         * Application.cs (ModalRun): Added a call to CreateControl to ensure
8165           focus is properly set
8166         * Button.cs:
8167           - Added missing attributes
8168           - removed styles, those are already set in the base class
8169         * ButtonBase.cs:
8170           - Added missing attributes
8171           - Added clip window styles
8172         * CheckBox.cs: Added missing attributes
8173         * CommonDialog.cs:
8174           - FormParentWindow.CreateParams: Added required clip styles
8175         * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8176           also filters modifier keys
8177         * MessageBox.cs:
8178           - Added assignment of Accept and Cancel button to enable Enter
8179             and Esc keys in MessageBox dialogs
8180           - FormParentWindow.CreateParams: Added required clip styles
8181         * RadioButton.cs: Added missing attributes
8182         * TextControl.cs: No longer draws selection if control does not
8183           have focus
8184         * TextBoxBase.cs:
8185           - Now draws simple rectangle around test area to make it obvious
8186             there's a control. This is a hack until we properly support borders
8187           - A few simple fixes to support selections better, now erases selected
8188             text when typing, and resets selection when using movement keys
8189
8190 2005-01-19  Miguel de Icaza  <miguel@ximian.com>
8191
8192         * UpDownBase.cs: Added some new properties.
8193
8194         * DomainUpDown.cs: Implement a lot to get my test working.
8195
8196 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8197
8198         * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8199
8200 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8201
8202         * OSXStructs (WindowAttributes): Fixed csc complaints
8203
8204 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8205
8206         * XplayUIOSX.cs:
8207           OSXStructs.cs: Initial refactor to move enums and consts into
8208           OSXStructs and use them in the driver for greater readability.
8209
8210 2005-01-19  Geoff Norton  <gnorton@customerdna.com>
8211
8212         * XplatUIOSX.cs: Initial support for Standard Cursors.
8213         * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8214
8215 2005-01-19  Jordi Mas i Hernandez <jordi@ximian.com>
8216
8217         * ComboBox.cs: ability to change style when the ctrl is already
8218         created, missing methods and events, bug fixes, signature fixes
8219
8220 2005-01-19  Peter Bartok  <pbartok@novell.com>
8221
8222         * Cursors.cs (ctor): Added ctor to fix signature
8223
8224 2005-01-18  Peter Bartok  <pbartok@novell.com>
8225
8226         * Button.cs: Implemented DoubleClick event
8227         * ButtonBase.cs:
8228           - Fixed keyboard handling to behave like MS, where the press of
8229             Spacebar is equivalent to a mousedown, and the key release is
8230             equivalent to mouseup. Now a spacebar push will give the same
8231             visual feedback like a mouse click.
8232           - Added missing attributes
8233           - Added ImeModeChanged event
8234           - Added support for generating DoubleClick event for derived classes
8235         * CheckBox.cs:
8236           - Implemented DoubleClick event
8237           - Added missing attributes
8238         * CommonDialog.cs: Added missing attribute
8239         * ContextMenu.cs: Added missing attributes
8240         * RadioButton.cs:
8241           - AutoChecked buttons do not allow to be unselected when clicked
8242             (otherwise we might end up with no selected buttons in a group)
8243           - Added missing attributes
8244           - Implemented DoubleClickEvent
8245         * ThreadExceptionDialog.cs: Enabled TextBox code
8246
8247 2005-01-18  Peter Bartok  <pbartok@novell.com>
8248
8249         * Form.cs: Removed debug output
8250         * Button.cs: Added support for DoubleClick method
8251
8252 2005-01-18  Peter Bartok  <pbartok@novell.com>
8253
8254         * Form.cs:
8255           - Added method to parent window that allows triggering size
8256             calculations when a menu is added/removed
8257           - set_Menu: Cleaned up mess from early days of Form and Control,
8258             now properly triggers a recalc when a menu is added/removed
8259           - Added case to select form itself as focused form if no child
8260             controls exist
8261           - Added PerformLayout call when showing dialog, to ensure properly
8262             placed controls
8263         * Control.cs:
8264           - Select(): Made internal so Form can access it
8265           - Focus(): Only call Xplat layer if required (avoids loop), and sets
8266             status
8267         * Application.cs (Run): Removed hack and calls PerformLayout instead
8268           to trigger calculation when Form becomes visible
8269
8270 2005-01-18  Jordi Mas i Hernandez <jordi@ximian.com>
8271
8272         * ComboBox.cs: fixes for ownerdraw
8273
8274 2005-01-18  Peter Bartok  <pbartok@novell.com>
8275
8276         * TextControl.cs:
8277           - Sentinel is no longer static, each Document gets it's own, this
8278             avoids locking or alternatively overwrite problems when more
8279             than one text control is used simultaneously.
8280           - Switched to use Hilight and HilightText brushes for text selection
8281
8282         * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8283
8284 2005-01-18  Peter Bartok  <pbartok@novell.com>
8285
8286         * Control.cs:
8287           - Hooked up the following events:
8288                 o ControlAdded
8289                 o ControlRemoved
8290                 o HandleDestroyed
8291                 o ImeModeChanged
8292                 o ParentChanged
8293                 o TabStopChanged
8294                 o Invalidated
8295                 o SystemColorsChanged
8296                 o ParentFontChanged
8297                 o Move
8298           - Removed debug output
8299           - Added a call to the current theme's ResetDefaults when a color change
8300             is detected
8301         * Form.cs: Now setting the proper ImeMode
8302         * Theme.cs: Defined a method to force recreation of cached resources
8303           and rereading of system defaults (ResetDefaults())
8304         * ThemeWin32Classic.cs: Added ResetDefaults() stub
8305
8306 2005-01-17  Peter Bartok  <pbartok@novell.com>
8307
8308         * Control.cs: Added missing attributes
8309
8310 2005-01-17  Jackson Harper  <jackson@ximian.com>
8311
8312         * TreeNode.cs: Implement editing. Add missing properties selected
8313         and visible.
8314         * TreeView.cs: Implement node editing. Also some fixes to use
8315         Invalidate (invalid area) instead of Refresh when selecting.
8316
8317 2005-01-17  Peter Bartok  <pbartok@novell.com>
8318
8319         * Control.cs:
8320           - Implemented InvokeGotFocus() method
8321           - Implemented InvokeLostFocus() method
8322           - Implemented InvokePaint() method
8323           - Implemented InvokePaintBackground() method
8324           - Implemented InvokeClick() method
8325           - Implemented FindForm() method
8326           - Implemented RectangleToClient() method
8327           - Implemented ClientToRectangle() method
8328           - Implemented ResetBackColor() method
8329           - Implemented ResetCursor() method
8330           - Implemented ResetFont() method
8331           - Implemented ResteForeColor() method
8332           - Implemented ResetImeMode() method
8333           - Implemented ResetLeftToRight() method
8334           - Implemented ResetText() method
8335           - Implemented Scale() methods
8336           - Implemented ScaleCore() method
8337           - Implemented Update() method
8338           - Removed unused variables
8339           - Stubbed AccessibilityNotifyClients and
8340             ControlAccessibleObject.NotifyClients() methods (dunno what to do
8341             with those yet)
8342           - Now setting proper default for RightToLeft property
8343           - Fixed bug in SetClientSizeCore that would cause windows to get
8344             really big
8345           - Now sending Click/DoubleClick events
8346           - Now selecting controls when left mouse button is clicked on
8347             selectable control
8348         * AccessibleEvents.cs: Added
8349         * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8350         * XplatUIOSX.cs: Stubbed UpdateWindow() method
8351         * XplatUIWin32.cs: Implemented UpdateWindow() method
8352         * XplatUIX11.cs: Implemented UpdateWindow() method
8353         * Form.cs: Removed stray semicolon causing CS0162 warning
8354         * ThemeWin32Classic.cs: Fixed unused variable warnings
8355         * ScrollableControl.cs: Now calls base method for ScaleCore
8356         * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8357           style to avoid interference with internal click handler (which is
8358           different than standard Control click handling)
8359         * RadioButton.cs:
8360           - Now unchecks all sibling radio buttons when control is
8361             selected (Fixes #68756)
8362           - Removed internal tabstop variable, using the one inherited from
8363             Control
8364
8365 2005-01-17  Jackson Harper  <jackson@ximian.com>
8366
8367         * NavigateEventArgs.cs: Fix base type.
8368         * LinkLabel.cs: Sig fix
8369         
8370 2005-01-17  Jackson Harper  <jackson@ximian.com>
8371
8372         * TreeView.cs: Only invalidate the effected nodes bounds when
8373         selecting nodes.
8374
8375 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8376
8377         * XplatUIWin32.cs: fixes Win32 marshaling
8378         * XplatUIX11.cs: fixes method signature
8379
8380 2005-01-17  Peter Bartok  <pbartok@novell.com>
8381
8382         * XplatUIX11.cs: Clean up resources when we no longer need them
8383
8384 2005-01-17  Peter Bartok  <pbartok@novell.com>
8385
8386         * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8387           OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8388           and DestroyCursor() methods.
8389         * Cursor.cs: Partially implemented, now supports standard cursors;
8390           still contains some debug code
8391         * Cursors.cs: Implemented class
8392         * Control.cs:
8393           - WndProc(): Added handling of WM_SETCURSOR message, setting the
8394             appropriate cursor
8395           - Implemented Cursor property
8396           - Replaced break; with return; more straightforwar and possibly
8397             faster
8398           - Now properly setting the result for WM_HELP
8399         * X11Structs.cs: Added CursorFontShape enum
8400         * XplatUIStructs.cs:
8401           - Added StdCursor enum (to support DefineStdCursor() method)
8402           - Added HitTest enum (to support sending WM_SETCURSOR message)
8403         * XplatUIX11.cs:
8404           - Now sends the WM_SETCURSOR message
8405           - Implemented new cursor methods
8406         * XplatUIOSX.cs: Stubbed new cursor methods
8407         * XplatUIWin32.cs:
8408           - Implemented new cursor methods
8409           - Added GetSystemMetrics function and associated enumeration
8410
8411 2005-01-15  Peter Bartok  <pbartok@novell.com>
8412
8413         * Control.cs:
8414           - WndProc(): Now handles EnableNotifyMessage
8415           - SelectNextControl(): Fixed bug where if no child or sibling
8416             controls exist we looped endlessly
8417
8418 2005-01-14  Jackson Harper  <jackson@ximian.com>
8419
8420         * TreeView.cs: Recalculate the tab pages when a new one is added
8421         so that the proper bounding rects are created.
8422
8423 2005-01-14  Jackson Harper  <jackson@ximian.com>
8424
8425         * TreeView.cs: Draw a gray box instead of a grip in the lower
8426         right hand corner when there are both horizontal and vertical
8427         scroll bars.
8428
8429 2005-01-14  Jackson Harper  <jackson@ximian.com>
8430
8431         * Control.cs: When erasing backgrounds use FromHwnd instead of
8432         FromHdc when there is a NULL wparam. This occurs on the X driver.
8433         * XplatUIX11.cs: Set the wparam to NULL.
8434
8435 2005-01-13  Jackson Harper  <jackson@ximian.com>
8436
8437         * PictureBox.cs: Implement missing methods (except ToString, need
8438         to test that on windows) and events. When visibility is changed we
8439         need to redraw the image because the buffers are killed. When size
8440         is changed refresh if the sizemode needs it.
8441
8442 2005-01-13  Peter Bartok  <pbartok@novell.com>
8443
8444         * Control.cs (SelectNextControl): Was using wrong method to select
8445           a control
8446
8447 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8448
8449         * ComboBox.cs: fixes dropstyle
8450
8451 2005-01-13  Peter Bartok  <pbartok@novell.com>
8452
8453         * Form.cs:
8454           - Implemented Select() override
8455           - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8456           - Now sets keyboard focus on startup
8457         * Control.cs (SelectNextControl): Now properly handles directed=true
8458         * TextBoxBase.cs:
8459           - WndProc: Now passes tab key on to base if AcceptTabChar=false
8460           - Added (really bad) focus rectangle (mostly for testing)
8461         * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8462           to enforce redraw on focus changes
8463         * ContainerControl.cs:
8464           - Fixed detection of Shift-Tab key presses
8465           - Fixed traversal with arrow keys
8466         * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8467           gonna keep this or if it's complete yet
8468         
8469 2005-01-13  Jordi Mas i Hernandez <jordi@ximian.com>
8470
8471         * ComboBox.cs: missing properties, fixes
8472
8473 2005-01-13  Peter Bartok  <pbartok@novell.com>
8474
8475         * Panel.cs (ctor): Setting Selectable window style to off
8476         * Splitter.cs (ctor): Setting Selectable window style to off
8477         * GroupBox.cs (ctor): Setting Selectable window style to off
8478         * Label.cs (ctor): Setting Selectable window style to off
8479
8480 2005-01-12  Miguel de Icaza  <miguel@ximian.com>
8481
8482         * UpDownBase.cs (InitTimer): If the timer has been already
8483         created, enable it.
8484
8485         Use a TextBox instead of a Label.
8486
8487 2005-01-12  Jackson Harper  <jackson@ximian.com>
8488
8489         * TreeView.cs: Refresh the tree after sorting the nodes. Always
8490         draw the connecting node lines (when ShowLines is true).
8491         * TreeNode.cs: The nodes index can now be updated. This is used
8492         when a node collection is sorted.
8493         * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8494         insert or an existing unsorted node collection can be sorted.
8495         
8496 2005-01-12  Peter Bartok  <pbartok@novell.com>
8497
8498         * ContainerControl.cs: Implemented ProcessDialogKeys()
8499
8500 2005-01-12  Peter Bartok  <pbartok@novell.com>
8501
8502         * Control.cs:
8503           - Implemented SelectNextControl() method
8504           - Several focus related bug fixes
8505           - Fixed Docking calculations to match MS documentation and
8506             behaviour
8507
8508 2005-01-12  Jordi Mas i Hernandez <jordi@ximian.com>
8509
8510         * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8511         bug fixes
8512
8513 2005-01-12  Peter Bartok  <pbartok@novell.com>
8514
8515         * Control.cs:
8516           - Fixed broken Contains() method
8517           - Implemented GetNextControl() method. Finally. This is the pre-
8518             requisite for focus handling.
8519
8520 2005-01-12  Peter Bartok  <pbartok@novell.com>
8521
8522         * OSXStrucs.cs: Added
8523
8524 2005-01-12  Peter Bartok  <pbartok@novell.com>
8525
8526         * XplatUIWin32.cs:
8527           - Removed PeekMessageFlags
8528           - Implemented SetWindowStyle() method
8529         * XplatUIStructs.cs: Added PeekMessageFlags
8530         * X11Structs: Added missing border_width field to XWindowChanges struct
8531         * XplatUIX11.cs:
8532           - PeekMessage: Now throws exception if flags which are not yet
8533             supported are passed
8534           - Implemented SetWindowStyle() method
8535           - Fixed SetZOrder to handle AfterHwnd properly
8536         * XplatUI.cs: Added SetWindowStyle() method
8537         * XplatUIDriver.cs: Added SetWindowStyle() abstract
8538         * Control.cs:
8539           - Implemented UpdateStyles() method
8540           - Implemented UpdateZOrder() method
8541         * XplatUIOSX.cs: Added SetWindowStyle() stub
8542
8543 2005-01-12  Geoff Norton  <gnorton@customerdna.com>
8544
8545         * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8546         button mouse).
8547
8548
8549 2005-01-11  Jackson Harper  <jackson@ximian.com>
8550
8551         * TreeView.cs: Still need to draw lines to siblings even if out of
8552         the current node is out of the clip.
8553
8554 2005-01-11  Jackson Harper  <jackson@ximian.com>
8555
8556         * TreeView.cs: When setting the hbar/vbar/grip position use
8557         SetBounds so that perform layout is only called once. Also suspend
8558         and resume layout so layout is only done once for all controls.
8559         - Removed some debug fluff
8560         * SizeGrip.cs: Call base implmentation in overriding methods.
8561         - When visibility is changed the drawing buffers are killed so we
8562         need to redraw.
8563
8564 2005-01-11  Jackson Harper  <jackson@ximian.com>
8565
8566         * TreeView.cs: Calculate the open node count while drawing. This
8567         saves us an entire tree traversal for every paint operation. Use
8568         a member var for the open node count so less vars are passed around.
8569
8570 2005-01-11  John BouAntoun  <jba-mono@optusnet.com.au>
8571
8572         * MonthCalendar.cs:
8573         - fixed selection to use mousemove, not mouse polling on timer
8574         * ThemeWin32Classic.cs
8575         - removed redundant unused variable "no_more_content"
8576         
8577 2005-01-11  Peter Bartok  <pbartok@novell.com>
8578
8579         * XplatUIX11.cs (DoEvents): Needs to return when no more events
8580           are pending, so it now calls PeekMessage instead of GetMessage;
8581           implemented a incomplete version of PeekMessage
8582         
8583 2005-01-11  Peter Bartok  <pbartok@novell.com>
8584
8585         * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8586           I18n issues
8587         * TextBoxBase.cs: Added sending of TextChanged event
8588
8589 2005-01-10  Jackson Harper  <jackson@ximian.com>
8590
8591         * TreeView.cs: Try not to draw outside the clipping rectangle on
8592         each node element.
8593
8594 2005-01-10  Jordi Mas i Hernandez <jordi@ximian.com>
8595
8596         * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8597
8598 2005-01-10  Jackson Harper  <jackson@ximian.com>
8599
8600         * TreeView.cs:
8601         - Implement fast scrolling. Now only the newly
8602         exposed nodes are drawn and the old image is moved using the
8603         XplatUI::ScrollWindow method.
8604         - Factor in height of nodes when calculating whether or not the
8605         node is in the clipping rect.
8606
8607 2005-01-10  Jackson Harper  <jackson@ximian.com>
8608
8609         * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8610
8611 2005-01-10  Peter Bartok  <pbartok@novell.com>
8612
8613         * Application.cs: Added temporary hack to resolve all our resize
8614           required issues on startup. This will get fixed properly at
8615           some point in the future
8616
8617 2005-01-10  Jackson Harper  <jackson@ximian.com>
8618
8619         * SizeGrip.cs: New internal class that is used as a sizing
8620         grip control...hence the name.
8621
8622 2005-01-10  Peter Bartok  <pbartok@novell.com>
8623
8624         * Control.cs: Implemented proper TabIndex handling, now assigning
8625           a tabindex when a control is added to a container
8626         * GroupBox.cs (ctor): Now sets the Container style bit, required
8627           for Control.GetNextControl()
8628
8629 2005-01-09  Jackson Harper  <jackson@ximian.com>
8630
8631         * TextBoxBase.cs: Clear window when scrolling (fixes build).
8632
8633 2005-01-09  Peter Bartok <pbartok@novell.com>
8634
8635         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8636           XplatUIX11.cs: Added ability to control ScrollWindow expose and
8637           an overload for ScrollWindow to allow only scrolling a rectangle
8638
8639 2005-01-09  Peter Bartok <pbartok@novell.com>
8640
8641         * Form.cs:
8642           - Implemented SetDesktopBounds method
8643           - Implemented SetDesktopLocation method
8644
8645 2005-01-08  Jackson Harper  <jackson@ximian.com>
8646
8647         * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8648         the node count has changed, this removes to VScroll::Refresh calls
8649         when drawing.
8650
8651 2005-01-08  Geoff Norton  <gnorton@customerdna.com>
8652
8653         * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8654
8655 2005-01-07  Jackson Harper  <jackson@ximian.com>
8656
8657         * TreeNode.cs: Just update the single node when it is
8658         checked. Don't refresh after toggling, the Expand/Collapse already
8659         handles this.
8660         * TreeView.cs: Respect clipping a little more when drawing. Try
8661         not to redraw things that don't need to be redrawn. Just hide the
8662         scrollbars when they are no longer needed instead of removing
8663         them, so they don't have to be created again and again.
8664         
8665 2005-01-07  Geoff Norton  <gnorton@customerdna.com>
8666
8667         * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
8668         coordinates to window space to place the caret properly, FIXED.
8669         Implement GetWindowState & SetWindowState
8670
8671 2005-01-06  Peter Bartok <pbartok@novell.com>
8672
8673         * Form.cs:
8674           - Implemented ClientSize property
8675           - Implemented DesktopBounds property
8676           - Implemented DesktopLocation property
8677           - Implemented IsRestrictedWindow property
8678           - Implemented Size property
8679           - Implemented TopLevel property
8680           - Implemented FormWindowState property
8681         * Control.cs:
8682           - Implemented GetTopLevel() method
8683           - Implemented SetTopLevel() method
8684         * X11Structs.cs (Atom):
8685           - Added AnyPropertyType definition
8686           - Added MapState definiton and updated XWindowAttribute struct
8687         * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8688         * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8689         * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8690         * XplatUIWin32.cs:
8691           - Implemented GetWindowState() and SetWindowState() methods
8692           - Fixed Win32GetWindowLong return type
8693         * XplatUIX11.cs:
8694           - Introduced central function for sending NET_WM messages
8695           - Implemented GetWindowState() and SetWindowState() methods
8696         * TextBoxBase.cs (set_Lines):
8697           - Now uses Foreground color for text added via Text property (Duh!)
8698           - Added code to remember programmatically requested size (fixes
8699             behaviour when Multiline is set after Size)
8700           - Added AutoSize logic
8701
8702 2005-01-06  Jackson Harper  <jackson@ximian.com>
8703
8704         * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8705
8706 2005-01-06  Jackson Harper  <jackson@ximian.com>
8707
8708         * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8709         set to less then 0.
8710
8711 2005-01-06  Jackson Harper  <jackson@ximian.com>
8712
8713         * ScrollableControl.cs: Lazy init the scrollbars.
8714         
8715 2005-01-06  Jackson Harper  <jackson@ximian.com>
8716
8717         * Theme.cs: Speed up getting pens and solid brushes, by using
8718         their ARGB as a hash instead of tostring and not calling Contains.
8719
8720 2005-01-06  Peter Bartok <pbartok@novell.com>
8721
8722         * Form.cs:
8723           - Implemented OnActivated and OnDeactivate event trigger
8724           - Implemented Activate() method
8725           - Fixed ShowDialog() to activate the form that was active before
8726             the dialog was shown
8727         * XplatUIX11.cs:
8728           - Added global active_window var that tracks the currently active
8729             X11 window
8730           - Now always grabs Property changes from the root window to always
8731             catch changes on the active window property
8732           - Added code to PropertyNotify handler to send Active/Inactive
8733             messages when state changes. This puts X11 and Win32 en par on
8734             WM_ACTIVATE notifications (except for double notifications when
8735             the user clicks away from our modal window to another one of our
8736             windows)
8737
8738 2005-01-05  Jackson Harper  <jackson@ximian.com>
8739
8740         * ImageList.cs: Implment ctor
8741
8742 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8743
8744         * XplatUIOSX.cs: Implement Activate/SetTopmost
8745
8746 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8747
8748         * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8749
8750 2005-01-05  Geoff Norton  <gnorton@customerdna.com>
8751
8752         * XplatUIOSX.cs: Implement GetActive/SetFocus.
8753
8754 2005-01-05  Peter Bartok <pbartok@novell.com>
8755
8756         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8757           XplatUIOSX.cs: Added GetActive method to return the currently
8758           active window for the application (or null, if none is active)
8759         * Form.cs:
8760           - Implemented ActiveForm
8761           - Commented out owner assignment for modal dialogs (causes problems
8762             on Win32, since the owner will be disabled)
8763           - Reworked some Active/Focus handling (still incomplete)
8764         * CommonDialog.cs: Commented out owner assignment for modal dialogs
8765           (causes problems on Win32, since the owner will be disabled)
8766         * IWin32Window: Added ComVisible attribute
8767
8768 2005-01-05  Peter Bartok <pbartok@novell.com>
8769
8770         * ToolTip.cs (WndProc): Enable setting focus now that we have the
8771           required XplatUI functions.
8772
8773 2005-01-05  Peter Bartok <pbartok@novell.com>
8774
8775         * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8776           XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8777           to implement focus and activation handling; still incomplete and
8778           with debug output
8779
8780 2005-01-04  Peter Bartok <pbartok@novell.com>
8781
8782         * TextBoxBase.cs: Changed access level for Document property to
8783           match switch to internal for TextControl
8784
8785 2005-01-04  Peter Bartok <pbartok@novell.com>
8786
8787         * AccessibleObject: Added ComVisible attribute
8788
8789 2005-01-04  Jackson Harper  <jackson@ximian.com>
8790
8791         * X11Keyboard.cs: Remove unneeded var.
8792
8793 2005-01-04  Jackson Harper  <jackson@ximian.com>
8794
8795         * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8796         but PAINT.
8797         * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8798         ClientMessage. This makes apps exit cleanly (more often).
8799         
8800 2005-01-04  Jackson Harper  <jackson@ximian.com>
8801
8802         * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8803         handling focus, return correct colors and fonts,
8804         * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8805         handle selection, horizontal scrolling, and mouse interaction.
8806
8807 2005-01-04  Peter Bartok <pbartok@novell.com>
8808
8809         * ICommandExecutor.cs: Added
8810         * IDataGridColumnStyleEditingNotificationService.cs: Added
8811         * IFeatureSupport.cs: Added
8812         * IFileReaderService.cs: Added
8813         * IDataObject.cs: Added ComVisible attribute
8814         * AmbientProperties.cs: Added
8815         * BaseCollection.cs: Added missing attributes
8816         * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8817         * BaseCollection.cs: Added missing attributes
8818         * Binding.cs: Added TypeConverter attribute
8819         * BindingContext.cs: Added DefaultEvent attribute
8820         * BindingsCollection.cs: Added DefaultEvent attribute
8821         * Button.cs: Added DefaultValue attribute
8822         * DragEventArgs.cs: Added ComVisible attribute
8823         * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8824         * KeyEventArgs.cs: Added ComVisible attribute
8825         * KeyPressEventArgs.cs: Added ComVisible attribute
8826         * MouseEventArgs.cs: Added ComVisible attribute
8827         * NavigateEventArgs.cs: Added
8828         * NavigateEventHandler.cs: Added
8829         * FeatureSupport.cs: Added
8830         * OSFeature.cs: Added
8831         * Theme.cs: Added abstract Version property to support OSFeature
8832         * ThemeWin32Classic.cs: Added Version property to
8833           support OSFeature.Themes
8834         * ProgressBar.cs: Removed OnPaintBackground override, not required since
8835           the proper styles to avoid background drawing are set, also doesn't
8836           match MS signature
8837         * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8838         * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8839         * ScrollEventArgs.cs: Added ComVisible attribute
8840         * SplitterEventArgs.cs: Added ComVisible attribute
8841         * AccessibleSelection.cs: Added Flags attribute
8842         * Appearance.cs: Added ComVisible attribute
8843         * Border3DSide.cs: Added ComVisible attribute
8844         * Border3DStyle.cs: Added ComVisible attribute
8845         * BorderStyle.cs: Added ComVisible attribute
8846         * DragAction.cs: Added ComVisible attribute
8847         * ErrorBlinkStyle.cs: Added
8848         * ScrollEventType.cs: Added ComVisible attribute
8849         * AnchorStyles.cs: Added Editor attribute
8850         * DockStyle.cs: Added Editor attribute
8851         * HorizontalAlignment.cs: Added ComVisible attribute
8852         * HelpEventArgs.cs: Added ComVisible attribute
8853         * PaintEventArgs.cs: Added IDisposable
8854
8855 2005-01-04  Peter Bartok <pbartok@novell.com>
8856
8857         * TextControl.cs: Switched Line, LineTag and Document classes to
8858           internal
8859
8860 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8861
8862         * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8863         Simple mode, fixes, IntegralHeight, etc.
8864
8865 2005-01-04  Peter Bartok <pbartok@novell.com>
8866
8867         * TextBoxBase.cs: Using proper font variable now
8868
8869 2005-01-04  Peter Bartok <pbartok@novell.com>
8870
8871         * Form.cs (ShowDialog): Set parent to owner, if provided
8872         * GroupBox.cs: Removed unused vars
8873         * TextControl.cs:
8874           - Added GetHashCode() for Document and LineTag classes
8875           - Removed unused variables
8876           - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8877             to allow translation between continuous char position and line/pos
8878         * CheckBox.cs: Removed vars that are provided by base class
8879         * RadioButton.cs: Removed vars that are provided by base class, added
8880           new keyword where required
8881         * LinkLabel.cs: Added new keyword where required
8882         * Control.cs (WndProc): Removed unused variable
8883         * TextBoxBase.cs:
8884           - Finished SelectionLength property
8885           - Implemented SelectionStart property
8886           - Implemented Text property
8887           - Removed unused vars
8888         * MessageBox.cs: Added new keyword where required
8889         * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8890           WndProc signature
8891         * MenuAPI.cs: Added new keyword where required
8892         * ButtonBase.cs: Removed vars that are provided by base class, added
8893           new keyword where required
8894         * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8895           argument to double, to allow compiling with csc 2.0 (Atsushi ran
8896           into this)
8897         * Application.cs (Run): Now triggers the ThreadExit event
8898         * CommonDialog.cs: Added new keyword where required; now properly sets
8899           parent (owner) for dialog
8900         * XplatUIX11.cs: Commented out unused vars
8901         * StatusBar.cs: Fixed signature for Text property
8902         * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8903
8904 2005-01-04  Jordi Mas i Hernandez <jordi@ximian.com>
8905
8906         * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8907         TrackBar.cs, MonthCalendar.cs: remove unused vars
8908
8909 2005-01-03  Jackson Harper  <jackson@ximian.com>
8910
8911         * ThemeWin32Classic.cs:
8912         * X11Keyboard.cs: Remove unused vars.
8913
8914 2005-01-03  Peter Bartok  <pbartok@novell.com>
8915
8916         * TextBox.cs:
8917           - set_Text: Tied into TextControl
8918           - set_TextAlignment: Tied into TextControl
8919         * TextControl.cs:
8920           - Added alignment properties and implemented alignment handling
8921             and drawing (still has a bug, not generating proper expose events)
8922           - Added new Line() constructor to allow passing the line alignment
8923           - Fixed selection setting, properly handling end<start now
8924           - Added aligment considerations to RecalculateDocument()
8925         * TextBoxBase.cs:
8926           - Now properly enforces control height for single line controls
8927           - Added support for CharacterCasing
8928           - Added IsInputKey override
8929           - Fixed Keys.Enter logic
8930           - Added SetBoundsCore override
8931           - Fixed mouse selection handling
8932
8933 2005-01-03  Jackson Harper  <jackson@ximian.com>
8934
8935         * TreeView.cs:
8936           - Collapse and uncheck all nodes when CheckBoxes is disabled.
8937           - Checkboxes are always aligned to the bottom of the node,
8938           regardless of item height.
8939           - Use the node bounds to draw the text so we can center it when
8940           the item height is greater then the font height.
8941           - Node::Bounds are only the text part of the node.
8942         * TreeNode.cs: New method to combine collapsing and unchecking all
8943           nodes recursively.
8944
8945 2005-01-02  Jackson Harper  <jackson@ximian.com>
8946
8947         * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8948         * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8949         tree when a check is changed. TODO: Only refresh the checked node.
8950
8951 2004-12-30  Jackson Harper  <jackson@ximian.com>
8952
8953         * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8954         * TreeNode.cs: When collapsing make sure to never collapse the
8955         root node.
8956
8957 2004-12-29  Jackson Harper  <jackson@ximian.com>
8958
8959         * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8960         
8961 2004-12-28  Zoltan Varga  <vargaz@freemail.hu>
8962
8963         * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8964
8965 2004-12-28  Peter Bartok  <pbartok@novell.com>
8966
8967         * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8968           not yet assigned
8969
8970 2004-12-28  Peter Bartok  <pbartok@novell.com>
8971
8972         * Control.cs (WndProc): Added WM_HELP handler, now generates
8973           HelpRequested event
8974         * Form.cs: Added HelpButton property and required support code
8975         * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8976
8977 2004-12-28  Peter Bartok  <pbartok@novell.com>
8978
8979         * CommonDialog.cs:
8980           - Made DialogForm.owner variable internal
8981           - Added check to ensure owner form is set before setting
8982             owner properties in CreateParams
8983
8984 2004-12-28  Geoff Norton  <gnorton@customerdna.com>
8985
8986         * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
8987           swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
8988           GetCursorPos.  Fix major visibility issues.  Rework the windowing
8989           system to support borderless/titleless windows (implements menus).
8990           Fix GetWindowPos.  Implement initial background color support for
8991           views.
8992
8993 2004-12-28  Peter Bartok  <pbartok@novell.com>
8994
8995         * Form.cs (get_CreateParams): Make sure we have an owner before using
8996           the owner variable. Implement proper default if no owner exists
8997
8998 2004-12-28  Peter Bartok  <pbartok@novell.com>
8999
9000         * In preparation for making Managed.Windows.Forms the default build target
9001           for System.Windows.Forms, the following stubbed files were added.
9002           Dialogs are currently being implemented by contributors and are only
9003           short-term place holders.
9004         * ColorDialog.cs: Initial check-in (minmal stub)
9005         * DataGrid.cs: Initial check-in (minimal stub)
9006         * DataGridLineStyle.cs: Initial check-in (minimal stub)
9007         * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9008         * DataGridTableStyle.cs: Initial check-in (minimal stub)
9009         * FontDialog.cs: Initial check-in (minimal stub)
9010         * FileDialog.cs: Initial check-in (minimal stub)
9011         * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9012         * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9013         * OpenFileDialog: Initial check-in (minimal stub)
9014         * IComponentEditorPageSite.cs: Initial check-in
9015         * Splitter.cs: Initial check-in (for Jackson)
9016         * SplitterEventArgs.cs: Initial check-in (for Jackson)
9017         * SplitterEventHandler.cs: Initial check-in (for Jackson)
9018         * TextBox.cs: Initial check-in; still needs some wiring to
9019           TextControl backend
9020         * Form.cs: Implemented ControlBox property
9021         * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9022         * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9023         * TextControl.cs: Added selection functionality; added todo header
9024         * TextBoxBase.cs:
9025           - Implemented Lines property
9026           - Implemented TextHeight property
9027           - Implemented SelectedText property
9028           - Implemented SelectionLength property
9029           - Implemented SelectAll method
9030           - Implemented ToString method
9031           - Removed and cleaned up some debug code
9032           - Implemented (still buggy) mouse text selection
9033
9034 2004-12-27  Jordi Mas i Hernandez <jordi@ximian.com>
9035
9036         * ComboBox.cs: Complete DropDownList implementation, fixes.
9037
9038 2004-12-26  Jordi Mas i Hernandez <jordi@ximian.com>
9039
9040         * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9041         * ComboBoxStyle.cs: ComboBoxStyle enum
9042         * ComboBox.cs: Initial work on ComboBox control
9043
9044 2004-12-21  Peter Bartok  <pbartok@novell.com>
9045
9046         * Control.cs (ctor, CreateParams): Moved setting of is_visible
9047           forward so that anything that creates a window gets the default,
9048           also no longer uses Visible property in CreateParams to avoid
9049           walking up the parent chain and possibly get the wrong visible
9050           status. Fixed IsVisible to no longer walk up to the parent.
9051
9052 2004-12-21  Peter Bartok  <pbartok@novell.com>
9053
9054         * Form.cs (ShowDialog): Unset modality for the proper window
9055  
9056 2004-12-20  Peter Bartok  <pbartok@novell.com>
9057
9058         * CommonDialog.cs: Initial check-in
9059
9060 2004-12-20  Peter Bartok  <pbartok@novell.com>
9061
9062         * Control.cs (Visible): Now uses the parent window instead of the
9063           client area window for the property
9064
9065         * Form.cs
9066           - ShowDialog(): Now uses the proper window for modality
9067           - The default visibility state for the form parent is now false. This
9068             will prevent the user from seeing all the changes to the form and
9069             its controls before the application hits Application.Run()
9070           - Removed some stale commented out code
9071
9072         * NativeWindow.cs:
9073           - Added FindWindow() method to have a method to check for existence
9074             of a window handle
9075           - Added ability to override default exception handling (for example
9076             when debugging with VS.Net; to do this the ExternalExceptionHandler
9077             define must be set
9078           - Removed some useless debug output
9079
9080         * XplatUIX11.cs:
9081           - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9082             not working as expected
9083           - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9084             property to allow switching back to the modal window if focus is
9085             given to another one of our windows (Application Modal)
9086           - Now only sets override_redirect if we create a window
9087             without WS_CAPTION
9088           - Moved EventMask selection before mapping of newly created window
9089             so we can catch the map event as well
9090           - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9091           - Added various Atom related DllImports
9092           - Implemented Exit() method
9093           - .ctor() : No longer shows window if WS_VISIBLE is not defined
9094             in the CreateParams
9095
9096         * MessageBox.cs: Now properly deals with the FormParent window by
9097           providing an override the FormParent CreateParams property to
9098           set as POPUP instead of OVERLAPPED window.
9099
9100 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9101
9102         * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
9103         Minor code cleanup.
9104
9105 2004-12-19  Geoff Norton  <gnorton@customerdna.com>
9106         
9107         * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9108
9109 2004-12-18  Peter Bartok  <pbartok@novell.com>
9110
9111         * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9112           implementing SetModal() method
9113
9114 2004-12-18  Peter Bartok  <pbartok@novell.com>
9115
9116         * X11Structs.cs (XGCValues): Fixed type of function element
9117         * XplatUI.cs: Added ScrollWindow() method
9118         * XplatUIDriver.cs: Added ScrollWindow() abstract
9119         * XplatUIWin32.cs: Implemented ScrollWindow() method
9120         * XplatUIX11.cs: Implemented ScrollWindow() method
9121         * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9122
9123 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9124
9125         * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
9126         Some more keyboard support (INCOMPLETE)
9127
9128 2004-12-17  Peter Bartok  <pbartok@novell.com>
9129
9130         * TextControl.cs:
9131         - Added color attribute to line tags.
9132         - Added color argument to all functions dealing with tags
9133         - Added color argument support to various functions
9134         - Fixed miss-calculation of baseline/shift in certain circumstances
9135
9136         * TextBoxBase.cs: Added new color option to test code
9137
9138 2004-12-17  Jackson Harper  <jackson@ximian.com>
9139
9140         * TreeNode.cs:
9141         * MonthCalendar.cs: Signature fixes
9142
9143 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9144
9145         * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9146         keyboard event moved it.  Create a new graphics context for each paint resolves this
9147
9148 2004-12-17  Geoff Norton  <gnorton@customerdna.com>
9149
9150         * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9151         Make caret exist and go blink blink.  Initial keyboard support.
9152         Fix exception handler, Add Invalidate support.  Change way RefreshWindow
9153         works.
9154
9155 2004-12-17  Jackson Harper  <jackson@ximian.com>
9156
9157         * XplatUIStructs.cs: Updated set of virtual keycodes.
9158         * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9159
9160 2004-12-17  Jackson Harper  <jackson@ximian.com>
9161
9162         * XplatUIX11.cs: Prune old keyboard code.
9163
9164 2004-12-17  Jackson Harper  <jackson@ximian.com>
9165
9166         * XplatUIX11.cs: When generating mouse wparams get the modifier
9167         keys from the ModifierKeys property.
9168
9169 2004-12-17  Jackson Harper  <jackson@ximian.com>
9170
9171         * X11Keyboard.cs: Send up/down input when generating
9172         messages. Remove some unused vars.
9173
9174 2004-12-17  Jackson Harper  <jackson@ximian.com>
9175
9176         * TabControl.cs:
9177         * TreeView.cs: get rid of warnings.
9178
9179 2004-12-17  Jackson Harper  <jackson@ximian.com>
9180
9181         * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9182
9183 2004-12-17  Jordi Mas i Hernandez <jordi@ximian.com>
9184
9185         * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9186           CheckedListBox.cs: Implementation
9187
9188 2004-12-17  Peter Bartok  <pbartok@novell.com>
9189
9190         * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9191
9192 2004-12-16  Peter Bartok  <pbartok@novell.com>
9193
9194         * TextControl.cs:
9195           - InsertCharAtCaret(): Fixed start pos fixup
9196           - CaretLine_get: No longer derives the line from the tag, the tag
9197             could be stale if lines in the document have been added or deleted
9198           - RebalanceAfterDelete(): Fixed bug in balancing code
9199           - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9200           - Line.Streamline(): Now can also elminate leading empty tags
9201           - DumpTree(): Added a few more tests and prevented exception on
9202             uninitialized data
9203           - Added Debug section for Combining lines
9204           - Delete(): Now copies all remaining properties of a line
9205           
9206         * TextBoxBase.cs:
9207           - Left mousebutton now sets the caret (and middle button still acts
9208             as formatting tester, which must go away soon)
9209           - Added Debug section for Deleting/Combining lines
9210           - Fixed calculations for UpdateView after Combining lines
9211
9212 2004-12-16  Peter Bartok  <pbartok@novell.com>
9213
9214         * TextControl.cs: Now properly aligns text on a baseline, using the
9215           new XplatUI.GetFontMetrics() method. Simplified several calculations
9216         * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9217           defined
9218
9219 2004-12-16  Peter Bartok  <pbartok@novell.com>
9220
9221         * XplatUI.cs: Added GetFontMetrics() method
9222         * XplatUIDriver.cs: Added GetFontMetrics() abstract
9223         * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9224           into libgdiplus, our private GetFontMetrics function
9225         * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9226         * XplatUIWin32.cs: Implemented GetFontMetrics() method
9227
9228 2004-12-16  Jackson Harper  <jackson@ximain.com>
9229
9230         * XplatUIStruct.cs: Add enum for dead keys
9231         * X11Keyboard.cs: Map and unmap dead keys.
9232
9233 2004-12-16  Jackson Harper  <jackson@ximian.com>
9234
9235         * X11Keyboard.cs: Detect and use the num lock mask.
9236
9237 2004-12-16  Peter Bartok  <pbartok@novell.com>
9238
9239         * Control.cs (CreateGraphics): Added check to make sure the
9240           handle of the window exists before calling Graphics.FromHwnd()
9241
9242 2004-12-16  Peter Bartok  <pbartok@novell.com>
9243
9244         * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9245           contains a lot of code that's not supposed to be there for the
9246           real thing, but required for developing/testing the textbox
9247           backend.
9248
9249 2004-12-16  Peter Bartok  <pbartok@novell.com>
9250
9251         * TextControl.cs:
9252         - Fixed Streamline method
9253         - Added FindTag method to Line
9254         - Added DumpTree method for debugging
9255         - Added DecrementLines() method for deleting lines
9256         - Fixed UpdateView to update the cursor to end-of-line on single-line
9257           updates
9258         - Added PositionCaret() method
9259         - Fixed MoveCaret(LineDown) to move into the last line, too
9260         - Added InsertChar overload
9261         - Fixed InsertChar tag offset calculations
9262         - Added DeleteChar() method
9263         - Added Combine() method for folding lines
9264         - Fixed Delete() method, no longer allocates wasted Line object and
9265           now copies all properties when swapping nodes
9266         - Delete() method now updates document line counter
9267
9268 2004-12-15  Jackson Harper  <jackson@ximian.com>
9269
9270         * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9271         * X11Keyboard.cs: Expose the currently selected modifier keys
9272         through a property.
9273
9274 2004-12-15  Peter Bartok  <pbartok@novell.com>
9275
9276         * TextControl.cs: Initial check-in. Still incomplete
9277
9278 2004-12-15  Jackson Harper  <jackson@ximian.com>
9279
9280         * TreeNode.cs:
9281         * TreeView.cs: Fix build on csc (second time today ;-))
9282
9283 2004-12-15  Jackson Harper  <jackson@ximian.com>
9284
9285         * TreeView.cs: Store the treenodes plus/minus box bounds when it
9286         is calculated and use this for click testing.
9287         * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9288
9289 2004-12-15  Jackson Harper  <jackson@ximian.com>
9290
9291         * TreeView.cs: Pass the nodes image index to the image list when
9292         drawing that image.
9293
9294 2004-12-15  Jackson Harper  <jackson@ximian.com>
9295
9296         * X11Keyboard.cs: Set messages hwnd.
9297         * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9298         post_message calls.
9299
9300 2004-12-15  Jackson Harper  <jackson@ximian.com>
9301
9302         * X11Keyboard.cs: Fix to compile with csc.
9303         
9304 2004-12-15  Jackson Harper  <jackson@ximian.com>
9305
9306         * X11Structs.cs: Add key mask values
9307         * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9308         * X11Keyboard.cs: New file - Extrapolates and interpolates key
9309         down/up foo into WM_CHAR foo
9310         * KeyboardLayouts.cs: Common keyboard layouts
9311         * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9312         post messages into the main queue.
9313
9314 2004-12-13  Jordi Mas i Hernandez <jordi@ximian.com>
9315
9316         * Button.cs: implement ProcessMnemonic
9317         * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9318           brushes everytime
9319         * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9320         * ButtonBase.cs: Show HotkeyPrefix (not the &)
9321
9322 2004-12-12  John BouAntoun  <jba-mon@optusnet.com.au>
9323         
9324         * MonthCalendar.cs: Implemented click-hold for next/previous month
9325           and date selection
9326           
9327 2004-12-11  Peter Bartok  <pbartok@novell.com>
9328
9329         * X11Structs.cs:
9330           - Added XKeyboardState (moved from XplatUIX11.cs)
9331           - Added XCreateGC related enums and structures
9332           - Added GXFunction for XSetFunction
9333
9334         * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9335
9336         * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9337           CaretVisible() calls
9338
9339         * ToolTip.cs: Added code to prevent stealing focus from app windows
9340
9341         * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9342           DestroyCaret, SetCaretPos and CaretVisible)
9343
9344         * XplatUIX11.cs:
9345           - Added implementation for caret functions
9346           - Moved hover variables into a struct, to make it a bit easier
9347             on the eyes and to debug
9348           - Removed XKeyboardState (moved to XplatUIX11.cs)
9349           - Moved Keyboard properties into the properties region
9350
9351         * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9352           call to get a graphics context for our control
9353
9354         * XplatUIOSX.cs: Added empty overrides for the new caret functions
9355
9356         * TreeView.cs: Fixed bug. No matter what color was set it would always
9357           return SystemColors.Window
9358
9359         * XplatUIWin32.cs: Implemented caret overrides
9360
9361 2004-12-10  Jordi Mas i Hernandez <jordi@ximian.com>
9362
9363         * ListBox.cs: fire events, implement missing methods and properties,
9364         sorting.
9365
9366 2004-12-10  John BouAntoun <jba-mono@optusnet.com.au>
9367
9368         * MonthCalendar.cs: invalidation bug fixing
9369         * ThemeWin32Classic.cs: paint fixing
9370
9371 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
9372
9373         * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9374         prepare the CGContextRef there now.
9375
9376 2004-12-09  John BouAntoun <jba-mono@optusnet.com.au>
9377
9378         * MonthCalendar.cs:
9379           - optimisationL only invalidate areas that have changed
9380         * ThemeWin32Classic.cs:
9381           - only paint parts that intersect with clip_area
9382
9383 2004-12-09  Peter Bartok  <pbartok@novell.com>
9384
9385         * Application.cs: Undid changes from r37004 which cause problems
9386         on X11
9387
9388 2004-12-09  Ravindra  <rkumar@novell.com>
9389
9390         * ToolBar.cs: Added support for displaying ContextMenu
9391         attached to a button on ToolBar.
9392         * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9393         property.
9394
9395 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9396
9397         * Label.cs: autosize works in text change and removes unnecessary
9398         invalidate
9399
9400 2004-12-09  Jordi Mas i Hernandez <jordi@ximian.com>
9401
9402         * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9403         remove warnings
9404
9405 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
9406
9407         * XplatUIOSX.cs: Added mouse move/click/grab support
9408         Remove some debugging WriteLines not needed anymore.
9409         Add window resizing/positioning.
9410         Fix visibility on reparenting.
9411
9412 2004-12-08  Peter Bartok  <pbartok@novell.com>
9413
9414         * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9415
9416 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
9417
9418         * XplatUIOSX.cs: Initial checkin
9419         * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9420
9421 2004-12-03  Ravindra <rkumar@novell.com>
9422
9423         * ListView.cs: Added some keybindings and fixed scrolling.
9424         ScrollBars listen to ValueChanged event instead of Scroll
9425         Event. This would let us take care of all changes being
9426         done in the scrollbars' values programmatically or manually.
9427         * ListView.cs (CanMultiselect): Added a check for shift key.
9428         * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9429         * ListViewItem.cs (Clone): Fixed. We need to make a copy
9430         of ListViewSubItemCollection as well.
9431
9432 2004-12-06  Peter Bartok <pbartok@novell.com>
9433
9434         * Control.cs (Parent): Added check and exception to prevent
9435         circular parenting
9436
9437 2004-12-03  Jordi Mas i Hernandez <jordi@ximian.com>
9438
9439         * ListBox.cs: implemented clipping, selection single and multiple,
9440         bug fixing
9441
9442 2004-12-03  Ravindra <rkumar@novell.com>
9443
9444         * ListView.cs (ListView_KeyDown):
9445         * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9446         when CTRL key is pressed.
9447         * ListViewItem.cs (Selected): Fixed setting the property.
9448
9449 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9450
9451         * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9452
9453         * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9454         MinimizeBox, ShowInTaskbar, TopMost properties.
9455
9456         * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9457         will be implemented).
9458
9459 2004-12-03  Marek Safar  <marek.safar@seznam.cz>
9460
9461         * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9462
9463         * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9464         tests.
9465         
9466         * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9467         
9468         * TreeView.cs: BackColor is Colors.Window.
9469
9470 2004-12-01  Jackson Harper  <jackson@ximian.com>
9471
9472         * TreeView.cs: When resizing the tree if the user is making it
9473         smaller we don't get expose events, so we need to handle adding
9474         the horizontal scrollbar in the size changed handler as well as
9475         the expose handler.
9476
9477 2004-12-02  Jordi Mas i Hernandez <jordi@ximian.com>
9478
9479         * DrawItemState.cs: fixes wrong enum values
9480
9481 2004-12-01  Jackson Harper  <jackson@ximian.com>
9482
9483         * TreeView.cs: Resize the hbar as well as the vbar on resize.
9484
9485 2004-12-01  Jackson Harper  <jackson@ximian.com>
9486
9487         * NodeLabelEditEventArgs.cs:
9488         * NodeLabelEditEventHandler.cs:
9489         * OpenTreeNodeEnumerator.cs:
9490         * TreeNode.cs:
9491         * TreeNodeCollection.cs:
9492         * TreeView.cs:
9493         * TreeViewAction.cs:
9494         * TreeViewCancelEventArgs.cs:
9495         * TreeViewCancelEventHandler.cs:
9496         * TreeViewEventArgs.cs:
9497         * TreeViewEventHandler.cs: Initial implementation.
9498
9499 2004-12-01  Ravindra <rkumar@novell.com>
9500
9501         * ListView.cs (CalculateListView): Fixed scrolling related
9502         calculations. Also, removed some debug statements from other
9503         places.
9504         * ListViewItem.cs: Changed access to 'selected' instance variable
9505         from private to internal.
9506         * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9507
9508 2004-12-01  Jordi Mas i Hernandez <jordi@ximian.com>
9509
9510         * ThemeWin32Classic.cs: remove cache of brush and pens for
9511         specific controls and use the global system, fixes scrollbutton
9512         bugs (for small sizes, disabled, etc)
9513         
9514         * ScrollBar.cs: does not show the thumb for very small controls
9515         (as MS) and allow smaller buttons that the regular size
9516
9517 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
9518
9519         * UpDownBase.cs: Add abstract methods for the interface.
9520         Add new virtual methods (need to be hooked up to TextEntry when it
9521         exists).
9522         Add override methods for most features.
9523         Computes the size, forces the height of the text entry.
9524
9525         * NumericUpDown.cs: Put here the current testing code.
9526
9527         * Set eol-style property on all files that do not have mixed line
9528         endings, to minimize the future problems.  There are still a few
9529         files with mixed endings, and someone should choose whether they
9530         want to move it or not.
9531
9532 2004-11-30  Jordi Mas i Hernandez <jordi@ximian.com>
9533
9534         * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9535         System.Colors
9536         
9537 2004-11-30  Ravindra <rkumar@novell.com>
9538
9539         * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9540         drawing and replaced use of SystemColors by theme colors.
9541         * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9542         * ListView.cs (ListViewItemCollection.Add): Throw exception when
9543         same ListViewItem is being added more than once.
9544
9545 2004-11-30  John BouAntoun <jba-mono@optusnet.com.au>
9546
9547         * MonthCalendar.cs:
9548           - ControlStyles love to make the control not flicker
9549           
9550 2004-11-30  Peter Bartok  <pbartok@novell.com>
9551
9552         * CharacterCasing.cs: Added
9553
9554 2004-11-29  Peter Bartok  <pbartok@novell.com>
9555
9556         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9557           TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9558           I am removing these files as they conflict with already completed
9559           work. While it is fantastic to get contributions to MWF, I
9560           respectfully ask that everyone please coordinate their contributions
9561           through mono-winforms-list or #mono-winforms at this time. We're
9562           explicitly avoiding stubbing and don't want controls that don't have
9563           their basic functionality implemented in svn. Please also see
9564           http://www.mono-project.com/contributing/winforms.html
9565
9566
9567 2004-11-29  Marek Safar  <marek.safar@seznam.cz>
9568
9569         * Application.cs (ModalRun): Don't hang after exit.
9570
9571         * Theme.cs: New TreeViewDefaultSize property.
9572
9573         * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9574         with less hardcoded SystemColors constant.
9575         Implemented TreeViewDefaultSize.
9576
9577         * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9578         TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9579
9580
9581 2004-11-29  John BouAntoun <jba-mono@optusnet.com.au>
9582
9583         * MonthCalendar.cs:
9584           - Fix NextMonthDate and PrevMonthDate click moving calendar
9585
9586 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9587
9588         * MonthCalendar.cs:
9589           - Fix usage of ScrollChange Property when scrolling months
9590
9591 2004-11-26  Jordi Mas i Hernandez <jordi@ximian.com>
9592
9593         * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9594          - Fixes menu destroying
9595          - Support adding and removing items on already created menus
9596
9597 2004-11-26  John BouAntoun <jba-mono@optusnet.com.au>
9598
9599         * MonthCalendar.cs:
9600           - Re-worked all bolded dates handling to match win32
9601         * ThemeWin32Classic.cs:
9602           - Fixed rendering with bolded dates
9603
9604 2004-11-25  Jordi Mas i Hernandez <jordi@ximian.com>
9605
9606         * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9607         - Horizontal scroolbar
9608         - Multicolumn
9609         - Fixes
9610
9611
9612 2004-11-25  John BouAntoun <jba-mono@optusnet.com.au>
9613
9614         * MonthCalendar.cs:
9615           - Fix Usage of MaxSelectionCount from SelectionRange
9616           - Fixed Shift + Cursor Selection
9617           - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9618           - Fixed normal cursor selection to be compat with win32
9619           - Fixed Shift + Mouse Click selection
9620
9621 2004-11-24  Peter Bartok <pbartok@novell.com>
9622
9623         * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9624         * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9625         * XplatUIX11.cs:
9626           - CreatedKeyBoardMsg now updates keystate with Alt key
9627           - Added workaround for timer crash to CheckTimers, Jackson will
9628             develop a proper fix and check in later
9629           - Implemented DispatchMessage
9630           - Removed calling the native window proc from GetMessage (call
9631             now moved to DispatchMessage)
9632
9633         * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9634           the keydata (Fixes bug #69831)
9635
9636         * XplatUIWin32.cs:
9637           - (DispatchMessage): Switched to return IntPtr
9638           - Added DllImport for SetFocus
9639
9640 2004-11-24  Ravindra <rkumar@novell.com>
9641
9642         * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9643         background drawing.
9644         * ListViewItem.cs: Fixed various properties, calculations
9645         and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9646         * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9647         and some internal properties. Fixed MouseDown handler and Paint
9648         method.
9649
9650 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9651
9652         * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9653
9654 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9655
9656         * ContainerControl.cs: correct accidental check in of local changes
9657
9658 2004-11-24  John BouAntoun <jba-mono@optusnet.com.au>
9659
9660         * ThemeWin32Classic.cs:
9661                 - Fixed Drawing Last month in grid (sometimes not showing)
9662         * MonthCalendar.cs:
9663                 - Fixed title width calculation bug (makeing title small)
9664
9665 2004-11-23  Peter Bartok <pbartok@novell.com>
9666
9667         * XplatUIX11.cs:
9668           - Added generation of WM_MOUSEHOVER event
9669           - Added missing assignment of async_method atom
9670           - Fixed WM_ERASEBKGND; now only redraws the exposed area
9671
9672 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9673
9674         * ThemeWin32Classic.cs:
9675                 - Fixed Drawing of today circle when showtodaycircle not set
9676                 - fixed drawing of first and last month in the grid (gay dates)
9677         * MonthCalendar.cs:
9678                 - Fixed Drawing of today circle
9679                 - Fixed drawing of grady dates
9680                 - Fixed HitTest for today link when ShowToday set to false
9681                 - Fixed DefaultSize to obey ShowToday
9682
9683 2004-11-23  John BouAntoun <jba-mono@optusnet.com.au>
9684
9685         * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9686         * System.Windows.Forms/Theme.cs
9687         * MonthCalendar.cs: added for MonthCalendar
9688         * SelectionRange.cs: added for MonthCalendar
9689         * Day.cs: added for MonthCalendar: added for MonthCalendar
9690         * DateRangeEventArgs.cs: added for MonthCalendar
9691         * DateRangeEventHandler.cs: added for MonthCalendar
9692
9693 2004-11-22  Ravindra <rkumar@novell.com>
9694
9695         * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9696         property.
9697
9698 2004-11-22  Miguel de Icaza  <miguel@ximian.com>
9699
9700         * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9701         event handler.
9702         
9703         * NumericUpDown.cs: Added new implementation.
9704         * UpDownBase.cs: Added new implementation.
9705
9706         * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9707         implementations.
9708         
9709         * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9710         implementations.
9711
9712         * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9713         methods.
9714
9715 2004-11-21  Miguel de Icaza  <miguel@ximian.com>
9716
9717         * Timer.cs  (Dispose): Should call the base dispose when
9718         overriding.
9719
9720 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9721
9722         * ScrollBar.cs: updates thumb position when max, min or increment
9723         is changed
9724
9725 2004-11-21  Ravindra <rkumar@novell.com>
9726
9727         * ListView.cs: Implemented item selection, activation and
9728         column header style. Fixed properties to do a redraw, if
9729         required. Added support for MouseHover, DoubleClick, KeyDown
9730         and KeyUp event handling and some minor fixes.
9731         * ListViewItem.cs: Fixed constructor.
9732         * ThemeWin32Classic.cs: Improved drawing for ListView.
9733
9734 2004-11-19  Jordi Mas i Hernandez <jordi@ximian.com>
9735
9736         * ThemeWin32Classic.cs: initial listbox drawing code
9737         * DrawMode.cs: new enumerator
9738         * ListControl.cs: stubbed class
9739         * ListBox.cs: initial implementation
9740         * Theme.cs: new methods definitions
9741         * SelectionMode.cs: new enumerator
9742
9743 2004-11-17  Peter Bartok  <pbartok@novell.com>
9744
9745         * XplatUIWin32.cs: Added double-click events to the class style
9746         * Control.cs (WndProc):
9747           - Added handling of click-count to MouseDown/ MouseUp events.
9748           - Added handling of middle and right mouse buttons
9749           - Removed old debug code
9750
9751 2004-11-17  Jackson Harper  <jackson@ximian.com>
9752
9753         * XplatUIX11.cs: Use the new Mono.Unix namespace.
9754
9755 2004-11-17  Ravindra <rkumar@novell.com>
9756
9757         * ListView.cs: Added event handling for MouseMove/Up/Down.
9758         * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9759         * ThemeWin32Classic.cs: We need to clear the graphics context and
9760         draw column header in a proper state.
9761
9762
9763 2004-11-17  Jordi Mas i Hernandez <jordi@ximian.com>
9764
9765         *  Menu.cs: fixes signature
9766
9767 2004-11-16  Peter Bartok  <pbartok@novell.com>
9768
9769         * XplatUIX11.cs (GetMessage): Implemented generation of
9770           double click mouse messages
9771
9772 2004-11-12  Jordi Mas i Hernandez <jordi@ximian.com>
9773
9774         *  Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9775         not by menu
9776
9777 2004-11-11  Peter Bartok  <pbartok@novell.com>
9778
9779         * HandleData.cs: Added Visible property
9780         * XplatUIX11.cs (IsVisible): Now uses Visible property from
9781           HandleData
9782         * XplatUIX11.cs: Removed old debug leftovers
9783         * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9784         * Control.cs (WndProc): Removed old debug leftovers,
9785           streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9786           needed WM_SIZE handling
9787
9788 2004-11-11  Jackson Harper  <jackson@ximian.com>
9789
9790         * OwnerDrawPropertyBag.cs:
9791         * TreeViewImageIndexConverter.cs: Initial implementation
9792
9793 2004-11-10  Jackson Harper  <jackson@ximian.com>
9794
9795         * ThemeWin32Classic.cs:
9796         * TabControl.cs: instead of moving tabs by the slider pos just
9797         start drawing at the tab that is offset by the slider. This way
9798         scrolling always moves by exactly one tab.
9799
9800 2004-11-10  Jackson Harper  <jackson@ximian.com>
9801
9802         * TabControl.cs: You can only scroll left when the slider has
9803         already ben moved right.
9804         
9805 2004-11-10  Jackson Harper  <jackson@ximian.com>
9806
9807         * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9808         the clip area.
9809         
9810 2004-11-10  Jackson Harper  <jackson@ximian.com>
9811
9812         * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9813         clip area.
9814         
9815 2004-11-09  Jackson Harper  <jackson@ximian.com>
9816
9817         * TabControl.cs (CalcXPos): New helper method so we can determine
9818         the proper place to start drawing vertical tabs.
9819         * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9820         
9821 2004-11-09  Jackson Harper  <jackson@ximian.com>
9822
9823         * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9824         * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9825         and Bottom, left and right are illegal values for this and
9826         multiline is enabled when the alignment is set to left or right.
9827         (DrawTab): Each alignment block should draw the text itself now
9828         because Left requires special love. Also add rendering for Left
9829         aligned tabs.
9830         
9831 2004-11-09  Jordi Mas i Hernandez <jordi@ximian.com>
9832
9833         *  Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9834         does not destroy the windows, removes debugging messages
9835
9836 2004-11-09  jba  <jba-mono@optusnet.com.au>
9837
9838         * ThemeWin32Classic.cs
9839         (DrawButtonBase): Fix verticle text rect clipping in windows
9840         (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9841         rendering and incorrect text rect clipping
9842         (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9843         rendering and incorrect text rect clipping
9844         
9845 2004-11-08  Jackson Harper  <jackson@ximian.com>
9846
9847         * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9848         bottom when they are bottom aligned so the bottoms of the tabs get
9849         displayed.
9850         * TabControl.cs (DropRow): Move rows up instead of down when the
9851         tab control is bottom aligned.
9852
9853 2004-11-08 13:59  pbartok
9854
9855         * XplatUIX11.cs:
9856           - Added handling for various window styles
9857           - Added handling for popup windows
9858           - Added SetTopmost handling
9859
9860 2004-11-08 13:55  pbartok
9861
9862         * XplatUIWin32.cs:
9863           - Added argument to SetTopmost method
9864           - Fixed broken ClientToScreen function
9865
9866 2004-11-08 13:53  pbartok
9867
9868         * XplatUIStructs.cs:
9869           - Added missing WS_EX styles
9870
9871 2004-11-08 13:53  pbartok
9872
9873         * XplatUI.cs, XplatUIDriver.cs:
9874           - Added argument to SetTopmost
9875
9876 2004-11-08 13:52  pbartok
9877
9878         * X11Structs.cs:
9879           - Added XSetWindowAttributes structure
9880           - Improved XWindowAttributes structure
9881           - Added SetWindowValuemask enum
9882           - Added window creation arguments enum
9883           - Added gravity enum
9884           - Added Motif hints structure
9885           - Added various Motif flags and enums
9886           - Added PropertyMode enum for property functions
9887
9888 2004-11-08 13:50  pbartok
9889
9890         * Form.cs:
9891           - Fixed arguments for updated SetTopmost method
9892
9893 2004-11-08 13:49  pbartok
9894
9895         * ToolTip.cs:
9896           - Fixed arguments for updated SetTopmost function
9897           - Fixed usage of PointToClient
9898
9899 2004-11-08 13:44  pbartok
9900
9901         * MenuAPI.cs:
9902           - Added Clipping of children and siblings
9903
9904 2004-11-08 13:41  pbartok
9905
9906         * MainMenu.cs:
9907           - Removed SetMenuBarWindow call. We do this in Form.cs
9908
9909 2004-11-08 13:40  jackson
9910
9911         * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9912           scrolling jimmi in the correct location with bottom aligned tabs
9913
9914 2004-11-08 13:36  pbartok
9915
9916         * ContainerControl.cs:
9917           - Implemented BindingContext
9918           - Implemented ParentForm
9919
9920 2004-11-08 12:46  jackson
9921
9922         * TabControl.cs: Put bottom rendered tabs in the right location
9923
9924 2004-11-08 07:15  jordi
9925
9926         * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9927           removes dead code
9928
9929 2004-11-05 17:30  jackson
9930
9931         * TabControl.cs: When selected tabs are expanded make sure they
9932           don't go beyond the edges of the tab control
9933
9934 2004-11-05 14:57  jackson
9935
9936         * TabControl.cs: Reset show_slider so if the control is resized to
9937           a size where it is no longer needed it's not displayed anymore
9938
9939 2004-11-05 13:16  jackson
9940
9941         * TabControl.cs: Make tab pages non visible when added to the
9942           control
9943
9944 2004-11-05 12:42  jackson
9945
9946         * TabControl.cs: Implement SizeMode.FillToRight
9947
9948 2004-11-05 12:16  jackson
9949
9950         * Control.cs: Do not call CreateHandle if the handle is already
9951           created
9952
9953 2004-11-05 11:46  jackson
9954
9955         * TabControl.cs: Remove superflous call to CalcTabRows
9956
9957 2004-11-05 09:07  jackson
9958
9959         * XplatUIX11.cs: Update for Mono.Posix changes
9960
9961 2004-11-05 07:00  ravindra
9962
9963         * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9964           scrolling.
9965
9966 2004-11-04 22:47  jba
9967
9968         * ThemeWin32Classic.cs:
9969           - Fix Button rendering for FlatStyle = Flat or Popup
9970           - Fix RadioButton and CheckBox rendering when Appearance = Button
9971             (normal and flatstyle).
9972           - Correct outer rectangle color when drawing focus rectangle
9973           - Adjust button bounds to be 1 px smaller when focused
9974           - Make button not draw sunken 3d border when pushed (windows compat)
9975           - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9976           - Offset the text in RadioButton and Checkbox when being rendered as
9977           a button.
9978           - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9979           radiobuttons
9980           - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9981           - Fixed disabled text rendering for normally rendered radiobuttons
9982
9983 2004-11-04 10:26  jackson
9984
9985         * TabControl.cs: Recalculate tab rows when resizing
9986
9987 2004-11-04 07:47  jordi
9988
9989         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9990           collection completion, drawing issues, missing features
9991
9992 2004-11-04 05:03  ravindra
9993
9994         * ScrollBar.cs:
9995                 - We need to recalculate the Thumb area when
9996                 LargeChange/maximum/minimum values are changed.
9997           - We set the 'pos' in UpdatePos() method to minimum, if it's less
9998                 than minimum. This is required to handle the case if large_change is
9999                 more than max, and use LargeChange property instead of large_change
10000                 variable.
10001           - We return max+1 when large_change is more than max, like MS does.
10002
10003 2004-11-04 04:29  ravindra
10004
10005         * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10006                 - Changed default value signatures (prefixed all with ListView).
10007                 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10008                 ListView.
10009           - Fixed calculations for ListViewItem and implemented Clone()
10010           method.
10011
10012 2004-11-04 04:26  ravindra
10013
10014         * Theme.cs, ThemeWin32Classic.cs:
10015                 - Changed default ListView values signatures (prefixed all with
10016                 ListView).
10017           - Fixed default size values for VScrollBar and HScrollBar.
10018                 - Fixed DrawListViewItem method.
10019
10020 2004-11-04 04:05  ravindra
10021
10022         * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10023
10024 2004-11-04 04:04  ravindra
10025
10026         * ImageList.cs: Implemented the missing overload for Draw method.
10027
10028 2004-11-03 19:29  jackson
10029
10030         * TabControl.cs: Handle dropping rows on selection properly
10031
10032 2004-11-03 11:59  jackson
10033
10034         * TabControl.cs: remove debug code
10035
10036 2004-11-03 11:52  jackson
10037
10038         * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10039           the scrolly widgerywoo
10040
10041 2004-11-02 13:52  jackson
10042
10043         * TabControl.cs: Resize the tab pages and tabs when the tab control
10044           is resized
10045
10046 2004-11-02 13:40  jackson
10047
10048         * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10049           selected tab to the bottom
10050
10051 2004-11-02 13:39  jackson
10052
10053         * TabPage.cs: Store the tab pages row
10054
10055 2004-11-02 12:33  jordi
10056
10057         * MenuItem.cs: fixes handle creation
10058
10059 2004-11-02 11:42  jackson
10060
10061         * TabControl.cs: signature fix
10062
10063 2004-11-02 08:56  jackson
10064
10065         * TabControl.cs: Calculate whether the tab is on an edge properly.
10066           Remove top secret debugging code
10067
10068 2004-11-01 19:57  jackson
10069
10070         * TabControl.cs: Add click handling, and proper sizing
10071
10072 2004-11-01 19:47  jackson
10073
10074         * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10075           tab controls
10076
10077 2004-11-01 19:39  jackson
10078
10079         * TabPage.cs: add internal property to store the bounds of a tab
10080           page
10081
10082 2004-10-30 04:23  ravindra
10083
10084         * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10085           values.
10086
10087 2004-10-30 04:21  ravindra
10088
10089         * ListView.cs, ListViewItem.cs: Added support for scrolling and
10090           fixed calculations.
10091
10092 2004-10-30 03:06  pbartok
10093
10094         * XplatUIX11.cs:
10095           - Removed extension of DllImported libs
10096
10097 2004-10-29 09:55  jordi
10098
10099         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10100           navigation, itemcollection completion, menu fixes
10101
10102 2004-10-27 22:58  pbartok
10103
10104         * XplatUIX11.cs:
10105           - Now throws a nice error message when no X display could be opened
10106
10107 2004-10-26 13:51  jordi
10108
10109         * ListView.cs: removes warning
10110
10111 2004-10-26 03:55  ravindra
10112
10113         * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10114           ThemeWin32Classic.cs: Some formatting for my last checkins.
10115
10116 2004-10-26 03:36  ravindra
10117
10118         * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10119           control and default values.
10120
10121 2004-10-26 03:35  ravindra
10122
10123         * Theme.cs: Added some default values for ListView control.
10124
10125 2004-10-26 03:33  ravindra
10126
10127         * ToolBar.cs: ToolBar should use the user specified button size, if
10128           there is any. Added a size_specified flag for the same.
10129
10130 2004-10-26 03:33  ravindra
10131
10132         * ColumnHeader.cs: Added some internal members and calculations for
10133           ColumnHeader.
10134
10135 2004-10-26 03:32  ravindra
10136
10137         * ListViewItem.cs: Calculations for ListViewItem.
10138
10139 2004-10-26 03:31  ravindra
10140
10141         * ListView.cs: Added some internal members and calculations for
10142           ListView.
10143
10144 2004-10-22 13:31  jordi
10145
10146         * MenuAPI.cs: speedup menus drawing
10147
10148 2004-10-22 13:16  jackson
10149
10150         * XplatUIX11.cs: Make sure to update exposed regions when adding an
10151           expose event
10152
10153 2004-10-22 11:49  jackson
10154
10155         * Control.cs: oops
10156
10157 2004-10-22 11:41  jackson
10158
10159         * Control.cs: Check to see if the window should have its background
10160           repainted by X when drawing.
10161
10162 2004-10-22 11:31  jackson
10163
10164         * XplatUIX11.cs: When invalidating areas only use XClearArea if
10165           clear is true, this way we do not get flicker from X repainting the
10166           background
10167
10168 2004-10-22 11:28  jackson
10169
10170         * XEventQueue.cs: Queue properly
10171
10172 2004-10-21 09:38  jackson
10173
10174         * XEventQueue.cs: Fix access modifier
10175
10176 2004-10-21 09:36  jackson
10177
10178         * XEventQueue.cs: Don't loose messages
10179
10180 2004-10-21 09:22  jackson
10181
10182         * XEventQueue.cs: Don't loose messages
10183
10184 2004-10-20 04:15  jordi
10185
10186         * BootMode.cs: enum need it by SystemInfo
10187
10188 2004-10-19 21:58  pbartok
10189
10190         * XplatUIWin32.cs:
10191           - Small sanity check
10192
10193 2004-10-19 21:56  pbartok
10194
10195         * Form.cs:
10196           - Added private FormParentWindow class which acts as the container
10197             for our form and as the non-client area where menus are drawn
10198           - Added/Moved required tie-ins to Jordi's menus
10199           - Fixed/Implemented the FormStartPosition functionality
10200
10201 2004-10-19 21:52  pbartok
10202
10203         * Control.cs:
10204           - Removed unneeded locals
10205           - Added code to all size and location properties to understand and
10206             deal with the parent container of Form
10207
10208 2004-10-19 21:33  pbartok
10209
10210         * Application.cs:
10211           - Fixed to deal with new Form subclasses for menus
10212
10213 2004-10-19 17:48  jackson
10214
10215         * XEventQueue.cs: commit correct version of file
10216
10217 2004-10-19 16:50  jackson
10218
10219         * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10220
10221 2004-10-19 16:15  jordi
10222
10223         * MenuAPI.cs: MenuBarCalcSize returns the height
10224
10225 2004-10-19 08:31  pbartok
10226
10227         * Control.cs:
10228           - Added missing call to PreProcessMessage before calling OnXXXKey
10229           methods
10230
10231 2004-10-19 00:04  ravindra
10232
10233         * ToolTip.cs: Fixed constructor.
10234
10235 2004-10-18 09:31  jordi
10236
10237         * MenuAPI.cs: menuitems in menubars do not have shortcuts
10238
10239 2004-10-18 09:26  jordi
10240
10241         * MenuItem.cs: fixes MenuItem class signature
10242
10243 2004-10-18 08:56  jordi
10244
10245         * MenuAPI.cs: prevents windows from showing in the taskbar
10246
10247 2004-10-18 00:28  ravindra
10248
10249         * ToolTip.cs: Suppressed a warning message.
10250
10251 2004-10-18 00:27  ravindra
10252
10253         * Control.cs: Default value of visible property must be true.
10254
10255 2004-10-17 23:19  pbartok
10256
10257         * ToolTip.cs:
10258           - Complete implementation
10259
10260 2004-10-17 23:19  pbartok
10261
10262         * XplatUIX11.cs:
10263           - Added EnableWindow method
10264           - Added SetModal stub
10265           - Added generation of WM_ACTIVATE message (still needs testing)
10266           - Added SetTopMost stub
10267           - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10268
10269 2004-10-17 23:17  pbartok
10270
10271         * XplatUIWin32.cs:
10272           - Removed VirtualKeys to XplatUIStructs
10273           - Implemented SetTopMost method
10274           - Implemented EnableWindow method
10275           - Bugfix in ScreenToClient()
10276           - Bugfixes in ClientToScreen()
10277
10278 2004-10-17 22:51  pbartok
10279
10280         * XplatUIStructs.cs:
10281           - Added WS_EX styles to WindowStyles enumeration
10282
10283 2004-10-17 22:50  pbartok
10284
10285         * XplatUI.cs, XplatUIDriver.cs:
10286           - Added method for enabling/disabling windows
10287           - Added method for setting window modality
10288           - Added method for setting topmost window
10289
10290 2004-10-17 22:49  pbartok
10291
10292         * ThemeWin32Classic.cs:
10293           - Added ToolTip drawing code
10294
10295 2004-10-17 22:49  pbartok
10296
10297         * Theme.cs:
10298           - Added ToolTip abstracts
10299
10300 2004-10-17 22:47  pbartok
10301
10302         * Form.cs:
10303           - Fixed Form.ControlCollection to handle owner relations
10304           - Added Owner/OwnedForms handling
10305           - Implemented Z-Ordering for owned forms
10306           - Removed unneeded private overload of ShowDialog
10307           - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10308             so I hope)
10309           - Fixed Close(), had wrong default
10310           - Added firing of OnLoad event
10311           - Added some commented out debug code for Ownership handling
10312
10313 2004-10-17 22:16  pbartok
10314
10315         * Control.cs:
10316           - Fixed/implemented flat list of controls
10317
10318 2004-10-17 22:14  pbartok
10319
10320         * Application.cs:
10321           - Added code to simulate modal dialogs on Win32
10322
10323 2004-10-17 16:11  jordi
10324
10325         * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10326           mouse event
10327
10328 2004-10-17 13:39  jordi
10329
10330         * MenuAPI.cs: menu drawing fixes
10331
10332 2004-10-15 09:10  ravindra
10333
10334         * StructFormat.cs: General Enum.
10335
10336 2004-10-15 09:09  ravindra
10337
10338         * SizeGripStyle.cs: Enum for Form.
10339
10340 2004-10-15 09:08  ravindra
10341
10342         * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10343           in Theme for ListView.
10344
10345 2004-10-15 09:06  ravindra
10346
10347         * ColumnHeader.cs: Flushing some formatting changes.
10348
10349 2004-10-15 09:05  ravindra
10350
10351         * ListViewItem.cs: Implemented GetBounds method and fixed coding
10352           style.
10353
10354 2004-10-15 09:03  ravindra
10355
10356         * ListView.cs: Implemented Paint method and fixed coding style.
10357
10358 2004-10-15 07:34  jordi
10359
10360         * MenuAPI.cs: fix for X11
10361
10362 2004-10-15 07:32  ravindra
10363
10364         * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10365                 - Renamed Paint() method to Draw() for clarity. Also, moved
10366                 DrawImage() to OnPaint().
10367
10368 2004-10-15 07:25  ravindra
10369
10370         * CheckBox.cs, RadioButton.cs:
10371                 - Removed Redraw (), we get it from ButtonBase.
10372                 - Implemented Paint (), to do class specific painting.
10373
10374 2004-10-15 07:16  ravindra
10375
10376         * ButtonBase.cs:
10377                 - Redraw () is not virtual now.
10378                 - Added an internal virtual method Paint (), so that
10379                 derived classes can do their painting on their own.
10380                 - Modified OnPaint () to call Paint ().
10381
10382 2004-10-15 06:43  jordi
10383
10384         * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10385           MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10386
10387 2004-10-15 00:30  ravindra
10388
10389         * MessageBox.cs:
10390                 - MessageBox on windows does not have min/max buttons.
10391                 This change in CreateParams fixes this on Windows. We
10392                 still need to implement this windowstyle behavior in
10393                 our X11 driver.
10394
10395 2004-10-14 05:14  ravindra
10396
10397         * ToolBar.cs:
10398                 - Changed Redraw () to do a Refresh () always.
10399                 - Fixed the MouseMove event handling when mouse is pressed,
10400                 ie drag event handling.
10401                 - Replaced the usage of ToolBarButton.Pressed property to
10402                 ToolBarButton.pressed internal variable.
10403
10404 2004-10-14 05:10  ravindra
10405
10406         * ToolBarButton.cs:
10407                 - Added an internal member 'inside' to handle mouse move
10408                 with mouse pressed ie mouse drag event.
10409                 - Changed 'Pressed' property to return true only when
10410                 'inside' and 'pressed' are both true.
10411                 - Some coding style love.
10412
10413 2004-10-14 00:17  ravindra
10414
10415         * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10416           public method.
10417
10418 2004-10-14 00:15  ravindra
10419
10420         * ButtonBase.cs: Redraw () related improvements.
10421
10422 2004-10-14 00:14  ravindra
10423
10424         * MessageBox.cs: Moved InitFormSize () out of Paint method and
10425           removed unnecessary calls to Button.Show () method.
10426
10427 2004-10-13 17:50  pbartok
10428
10429         * XplatUIX11.cs:
10430           - Formatting fix
10431           - Removed destroying of window until we solve the problem of X
10432             destroying the window before us on shutdown
10433
10434 2004-10-13 16:32  pbartok
10435
10436         * ButtonBase.cs:
10437           - Now Redraws on MouseUp for FlatStyle Flat and Popup
10438
10439 2004-10-13 14:18  pbartok
10440
10441         * XplatUIX11.cs:
10442           - Added code to destroy the X window
10443
10444 2004-10-13 14:18  pbartok
10445
10446         * XplatUIWin32.cs:
10447           - Added code to destroy a window
10448
10449 2004-10-13 14:12  pbartok
10450
10451         * ButtonBase.cs:
10452           - Added the Redraw on Resize that got dropped in the last rev
10453
10454 2004-10-13 09:06  pbartok
10455
10456         * ThemeWin32Classic.cs:
10457           - Path from John BouAntoun:
10458             * Fix check rendering (centre correctly for normal style, offset
10459               correctly for FlatStyle).
10460             * Fix border color usage (use backcolor) for FlatStyle.Popup
10461             * Use checkbox.Capture instead of checkbox.is_pressed when
10462               rendering flatstyle states.
10463
10464 2004-10-12 21:48  pbartok
10465
10466         * ThemeWin32Classic.cs:
10467           - Removed all occurences of SystemColors and replaced them with the
10468             matching theme color
10469
10470 2004-10-12 21:41  pbartok
10471
10472         * ThemeWin32Classic.cs:
10473           - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10474             him using the function for flatstyle drawing
10475           - Changed functions to use the new version of CPDrawBorder3D
10476
10477 2004-10-12 21:15  pbartok
10478
10479         * ControlPaint.cs:
10480           - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10481             match MS documentation. They need to return defined colors if the
10482             passed color matches the configured control color. Thanks to John
10483             BouAntoun for pointing this out.
10484
10485 2004-10-12 20:57  pbartok
10486
10487         * Control.cs:
10488           - Fix from John BouAntoun: Raise ForeColorChanged event when text
10489             color is changed
10490
10491 2004-10-12 20:46  pbartok
10492
10493         * CheckBox.cs:
10494           - Fix from John BouAntoun: Now properly sets the Appearance property
10495
10496 2004-10-12 20:45  pbartok
10497
10498         * ThemeWin32Classic.cs:
10499           - Fixes from John BouAntoun: now handles forecolors and backcolors
10500             for flatstyle rendered controls much better; It also fixes normal
10501             checkbox rendering when pushed or disabled.
10502
10503 2004-10-08 02:50  jordi
10504
10505         * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10506           work
10507
10508 2004-10-07 08:56  jordi
10509
10510         * ThemeWin32Classic.cs: Removes deletion of cached brushes
10511
10512 2004-10-06 03:59  jordi
10513
10514         * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10515           XplatUIWin32.cs: removes warnings from compilation
10516
10517 2004-10-05 12:23  jackson
10518
10519         * RadioButton.cs: Fix ctor
10520
10521 2004-10-05 11:10  pbartok
10522
10523         * MessageBox.cs:
10524           - Partial implementation by Benjamin Dasnois
10525
10526 2004-10-05 10:15  jackson
10527
10528         * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10529           by John BouAntoun
10530
10531 2004-10-05 03:07  ravindra
10532
10533         * ToolBar.cs:
10534                 - Removed a private method, Draw ().
10535                 - Fixed the ButtonDropDown event handling.
10536                 - Fixed MouseMove event handling.
10537
10538 2004-10-05 03:04  ravindra
10539
10540         * ThemeWin32Classic.cs:
10541                 - Added DrawListView method and ListViewDefaultSize property.
10542                 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10543                 - Changed DOS style CRLF to Unix format (dos2unix).
10544
10545 2004-10-05 03:03  ravindra
10546
10547         * Theme.cs:
10548                 - Added DrawListView method and ListViewDefaultSize property.
10549
10550 2004-10-05 02:42  ravindra
10551
10552         * ToolBarButton.cs: Added an internal member dd_pressed to handle
10553           clicks on DropDown arrow.
10554
10555 2004-10-04 22:56  jackson
10556
10557         * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10558           ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10559           Control handle the buffers, derived classes should not have to
10560           CreateBuffers themselves.
10561
10562 2004-10-04 21:20  jackson
10563
10564         * StatusBar.cs: The control handles resizing the buffers now.
10565
10566 2004-10-04 21:18  jackson
10567
10568         * Control.cs: When resizing the buffers should be invalidated. This
10569           should be handled in Control not in derived classes.
10570
10571 2004-10-04 14:45  jackson
10572
10573         * TabPage.cs: oops
10574
10575 2004-10-04 02:14  pbartok
10576
10577         * LeftRightAlignment.cs:
10578           - Initial check-in
10579
10580 2004-10-04 01:09  jordi
10581
10582         * ThemeWin32Classic.cs: fixes right button position causing right
10583           button not showing on horizontal scrollbars
10584
10585 2004-10-02 13:12  pbartok
10586
10587         * XplatUIX11.cs:
10588           - Simplified the Invalidate method by using an X call instead of
10589             generating the expose ourselves
10590           - Added an expose when the window background is changed
10591           - Implemented ClientToScreen method
10592
10593 2004-10-02 13:08  pbartok
10594
10595         * XplatUIWin32.cs:
10596           - Added Win32EnableWindow method (test for implementing modal
10597           dialogs)
10598           - Added ClientToScreen method and imports
10599
10600 2004-10-02 13:07  pbartok
10601
10602         * XplatUI.cs, XplatUIDriver.cs:
10603           - Added ClientToScreen coordinate translation method
10604
10605 2004-10-02 13:06  pbartok
10606
10607         * KeyPressEventArgs.cs:
10608           - Fixed access level for constructor
10609
10610 2004-10-02 13:06  pbartok
10611
10612         * NativeWindow.cs:
10613           - Changed access level for the window_collection hash table
10614
10615 2004-10-02 13:05  pbartok
10616
10617         * Form.cs:
10618           - Added KeyPreview property
10619           - Added Menu property (still incomplete, pending Jordi's menu work)
10620           - Implemented ProcessCmdKey
10621           - Implemented ProcessDialogKey
10622           - Implemented ProcessKeyPreview
10623
10624 2004-10-02 13:02  pbartok
10625
10626         * Control.cs:
10627           - Added private method to get the Control object from the window
10628           handle
10629           - Implemented ContextMenu property
10630           - Implemented PointToScreen
10631           - Implemented PreProcessMessage
10632           - Implemented IsInputChar
10633           - Implemented IsInputKey
10634           - Implemented ProcessCmdKey
10635           - Completed ProcessKeyEventArgs
10636           - Fixed message loop to call the proper chain of functions on key
10637           events
10638           - Implemented ProcessDialogChar
10639           - Implemented ProcessDialogKey
10640           - Implemented ProcessKeyMessage
10641           - Implemented ProcessKeyPreview
10642           - Added RaiseDragEvent stub (MS internal method)
10643           - Added RaiseKeyEvent stub (MS internal method)
10644           - Added RaiseMouseEvent stub (MS Internal method)
10645           - Added RaisePaintEvent stub (MS Internal method)
10646           - Added ResetMouseEventArgs stub (MS Internal method)
10647           - Implemented RtlTranslateAlignment
10648           - Implemented RtlTranslateContent
10649           - Implemented RtlTranslateHorizontal
10650           - Implemented RtlTranslateLeftRight
10651           - Added generation of KeyPress event
10652
10653 2004-10-02 05:57  ravindra
10654
10655         * ListViewItem.cs: Added attributes.
10656
10657 2004-10-02 05:32  ravindra
10658
10659         * ListView.cs: Added attributes.
10660
10661 2004-10-01 11:53  jackson
10662
10663         * Form.cs: Implement the Close method so work on MessageBox can
10664           continue.
10665
10666 2004-09-30 14:06  pbartok
10667
10668         * XplatUIX11.cs:
10669           - Bug fixes
10670
10671 2004-09-30 11:34  jackson
10672
10673         * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10674
10675 2004-09-30 07:26  ravindra
10676
10677         * ListViewItemConverter.cs: Converter for ListViewItem.
10678
10679 2004-09-30 07:26  ravindra
10680
10681         * SortOrder.cs: Enum for ListView control.
10682
10683 2004-09-30 07:25  ravindra
10684
10685         * ColumnHeader.cs: Supporting class for ListView control.
10686
10687 2004-09-30 07:24  ravindra
10688
10689         * ListView.cs, ListViewItem.cs: Initial implementation.
10690
10691 2004-09-30 07:20  ravindra
10692
10693         * ItemActivation.cs: Enum for ListView Control.
10694
10695 2004-09-29 20:29  pbartok
10696
10697         * XplatUIX11.cs:
10698           - Added lookup of pixel value for background color; tries to get a
10699             color 'close' to the requested color, it avoids having to create a
10700             colormap.  Depending on the display this could mean the used color
10701             is slightly off the desired color. Might have to change it to a more
10702             resource intensive colormap approach, but it will work as a
10703           workaround to avoid red screens.
10704
10705 2004-09-29 14:27  jackson
10706
10707         * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10708
10709 2004-09-28 12:44  pbartok
10710
10711         * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10712           HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10713           ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10714           Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10715           TrackBar.cs, VScrollBar.cs:
10716           - Streamlined Theme interfaces:
10717             * Each DrawXXX method for a control now is passed the object for
10718               the control to be drawn in order to allow accessing any state the
10719               theme might require
10720
10721             * ControlPaint methods for the theme now have a CP prefix to avoid
10722               name clashes with the Draw methods for controls
10723
10724             * Every control now retrieves it's DefaultSize from the current
10725             theme
10726
10727 2004-09-28 12:17  jackson
10728
10729         * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10730           drawing
10731
10732 2004-09-24 14:57  jackson
10733
10734         * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10735           Gives us a nice little performance boost.
10736
10737 2004-09-24 12:02  jackson
10738
10739         * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10740           TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10741           Control and supporting classes. Initial checkin
10742
10743 2004-09-23 13:08  jackson
10744
10745         * Form.cs: Temp build fixage
10746
10747 2004-09-23 01:39  ravindra
10748
10749         * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10750           ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10751           ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10752           LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10753           EventHandlers needed by ListView Control.
10754
10755 2004-09-22 14:12  pbartok
10756
10757         * ScrollableControl.cs:
10758           - Implemented DockPadding property
10759           - Implemented AutoScroll property
10760           - Implemented AutoScrollMargin property
10761           - Implemented AutoScrollMinSize property
10762           - Implemented AutoScrollPosition property
10763           - Implemented DisplayRectangle property (still incomplete)
10764           - Implemented CreateParams property
10765           - Implemented HScroll property
10766           - Implemented VScroll property
10767           - Implemented OnVisibleChanged property
10768
10769 2004-09-22 14:09  pbartok
10770
10771         * Form.cs:
10772           - Added Form.ControllCollection class
10773           - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10774             RemoveOwnedForm (still incomplete, missing on-top and common
10775             minimize/maximize behaviour)
10776           - Added StartPosition property (still incomplete, does not use when
10777             creating the form)
10778           - Added ShowDialog() methods (still incomplete, missing forcing the
10779             dialog modal)
10780
10781 2004-09-22 14:05  pbartok
10782
10783         * Application.cs:
10784           - Added message loop for modal dialogs
10785
10786 2004-09-22 14:02  pbartok
10787
10788         * GroupBox.cs:
10789           - Fixed wrong types for events
10790
10791 2004-09-22 14:00  pbartok
10792
10793         * Shortcut.cs, FormWindowState.cs:
10794           - Fixed wrong values
10795
10796 2004-09-22 12:01  jackson
10797
10798         * Control.cs: Text is never null
10799
10800 2004-09-20 22:14  pbartok
10801
10802         * XplatUIWin32.cs:
10803           - Fixed accessibility level for Idle handler
10804
10805 2004-09-20 18:54  jackson
10806
10807         * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10808           XplatUIX11.cs: New message loop that uses poll so we don't get a
10809           busy loop
10810
10811 2004-09-17 10:43  pbartok
10812
10813         * ScrollBar.cs:
10814           - Fixed behaviour of arrow buttons. Now properly behaves like
10815             Buttons (and like Microsoft's scrollbar arrow buttons)
10816
10817 2004-09-17 10:14  pbartok
10818
10819         * ScrollBar.cs:
10820           - Added missing release of keyboard/mouse capture
10821
10822 2004-09-17 06:18  jordi
10823
10824         * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10825           Theme.cs: Very early menu support
10826
10827 2004-09-16 17:45  pbartok
10828
10829         * XplatUIWin32.cs:
10830           - Fixed sending a window to the front
10831           - Added overload for SetWindowPos to avoid casting
10832
10833 2004-09-16 17:44  pbartok
10834
10835         * Control.cs:
10836           - Added SendToBack and BringToFront methods
10837
10838 2004-09-16 07:00  ravindra
10839
10840         * Copyright: Added Novell URL.
10841
10842 2004-09-16 07:00  ravindra
10843
10844         * ToolBar.cs: Invalidate should be done before redrawing.
10845
10846 2004-09-15 21:19  ravindra
10847
10848         * ColumnHeaderStyle.cs: Enum for ListView Control.
10849
10850 2004-09-15 21:18  ravindra
10851
10852         * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10853           ListView Control.
10854
10855 2004-09-13 18:26  jackson
10856
10857         * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10858           properly
10859
10860 2004-09-13 18:13  jackson
10861
10862         * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10863           a second thread and post messages into the main threads message
10864           queue. This makes timing much more consistent. Both win2K and XP
10865           have a minimum timer value of 15 milliseconds, so we now do this
10866           too.
10867
10868 2004-09-13 15:18  pbartok
10869
10870         * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10871           XplatUIX11.cs:
10872           - Added Z-Ordering methods
10873
10874 2004-09-13 10:56  pbartok
10875
10876         * Form.cs:
10877           - Fixed #region names
10878           - Moved properties and methods into their proper #regions
10879
10880 2004-09-13 10:51  pbartok
10881
10882         * Form.cs:
10883           - Added Accept and CancelButton properties
10884           - Added ProcessDialogKey() method
10885
10886 2004-09-13 08:18  pbartok
10887
10888         * IWindowTarget.cs:
10889           - Initial check-in
10890
10891 2004-09-10 21:50  pbartok
10892
10893         * Control.cs:
10894           - Added DoDragDrop() [incomplete]
10895           - Properly implemented 'Visible' handling
10896           - Added SetVisibleCore()
10897           - Implemented FindChildAtPoint()
10898           - Implemented GetContainerControl()
10899           - Implemented Hide()
10900
10901 2004-09-10 19:28  pbartok
10902
10903         * Control.cs:
10904           - Moved methods into their appropriate #regions
10905           - Reordered methods within regions alphabetically
10906
10907 2004-09-10 18:57  pbartok
10908
10909         * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10910           - Added method to retrieve text from window
10911
10912 2004-09-10 18:56  pbartok
10913
10914         * Control.cs:
10915           - Moved some internal functions into the internal region
10916           - Implemented FontHeight
10917           - Implemented RenderRightToLeft
10918           - Implemented ResizeRedraw
10919           - Implemented ShowFocusCues
10920           - Implemented ShowKeyboardCues
10921           - Implemented FromChildHandle
10922           - Implemented FromHandle
10923           - Implemented IsMnemonic
10924           - Implemented ReflectMessage
10925           - All public and protected Static Methods are now complete
10926
10927 2004-09-10 16:54  pbartok
10928
10929         * Control.cs:
10930           - Implemented remaining missing public instance properties
10931           - Alphabetized some out of order properties
10932
10933 2004-09-10 05:51  ravindra
10934
10935         * PictureBox.cs: Added a check for null image.
10936
10937 2004-09-10 00:59  jordi
10938
10939         * GroupBox.cs: remove cvs tag
10940
10941 2004-09-09 05:25  ravindra
10942
10943         * ToolBar.cs: Make redraw accessible from ToolBarButton.
10944
10945 2004-09-09 05:23  ravindra
10946
10947         * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10948           parent redraw.
10949
10950 2004-09-09 02:28  pbartok
10951
10952         * ThemeWin32Classic.cs:
10953           - Improve disabled string look
10954
10955 2004-09-09 01:15  jordi
10956
10957         * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10958           args and handler
10959
10960 2004-09-08 23:56  ravindra
10961
10962         * ItemBoundsPortion.cs: It's enum, not a class!
10963
10964 2004-09-08 23:47  ravindra
10965
10966         * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10967           Enums for Form.
10968
10969 2004-09-08 21:13  ravindra
10970
10971         * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10972           ListView control.
10973
10974 2004-09-08 21:03  ravindra
10975
10976         * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10977           avoid crash.
10978
10979 2004-09-08 21:01  ravindra
10980
10981         * ScrollableControl.cs: Removed unreachable code.
10982
10983 2004-09-08 06:45  jordi
10984
10985         * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10986
10987 2004-09-08 01:00  jackson
10988
10989         * XplatUIX11.cs: Only run the timers when updating the message
10990           queue. This effectively gives X messages a higher priority then
10991           timer messages. Timers still need love though
10992
10993 2004-09-07 14:01  jackson
10994
10995         * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10996           this for us and the handle is no longer valid.
10997
10998 2004-09-07 13:59  jackson
10999
11000         * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11001           loop that manages to not crash. TODO: Add poll and cleanup timers
11002
11003 2004-09-07 11:12  jordi
11004
11005         * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11006
11007 2004-09-07 03:40  jordi
11008
11009         * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11010           fixes, methods, multiple links
11011
11012 2004-09-06 06:55  jordi
11013
11014         * Control.cs: Caches ClientRectangle rectangle value
11015
11016 2004-09-05 02:03  jordi
11017
11018         * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11019           certain situations
11020
11021 2004-09-04 11:10  jordi
11022
11023         * Label.cs: Refresh when font changed
11024
11025 2004-09-02 16:24  pbartok
11026
11027         * Control.cs:
11028           - Added sanity check to creation of double buffer bitmap
11029
11030 2004-09-02 16:24  pbartok
11031
11032         * ButtonBase.cs:
11033           - Fixed selection of text color
11034           - Fixed handling of resize event; now properly recreates double
11035             buffering bitmap
11036           - Added missing assignment of TextAlignment
11037           - Added proper default for TextAlignment
11038
11039 2004-09-02 14:26  pbartok
11040
11041         * RadioButton.cs:
11042           - Added missing RadioButton.RadioButtonAccessibleObject class
11043
11044 2004-09-02 14:26  pbartok
11045
11046         * Control.cs:
11047           - Added missing Control.ControlAccessibleObject class
11048           - Started to implement Select()ion mechanisms, still very incomplete
11049
11050 2004-09-02 14:25  pbartok
11051
11052         * AccessibleObject.cs:
11053           - Added missing methods
11054
11055 2004-09-02 14:23  pbartok
11056
11057         * AccessibleNavigation.cs, AccessibleSelection.cs:
11058           - Initial check-in
11059
11060 2004-09-02 10:32  jordi
11061
11062         * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11063           pool for pens, brushes, and hatchbruses
11064
11065 2004-09-01 15:30  jackson
11066
11067         * StatusBar.cs: Fix typo
11068
11069 2004-09-01 14:44  pbartok
11070
11071         * RadioButton.cs:
11072           - Fixed state
11073
11074 2004-09-01 14:39  pbartok
11075
11076         * Button.cs, RadioButton.cs:
11077           - Functional initial check-in
11078
11079 2004-09-01 14:01  pbartok
11080
11081         * CheckBox.cs:
11082           - Added missing default
11083           - Added missing region mark
11084
11085 2004-09-01 09:10  jordi
11086
11087         * Label.cs: fixes method signatures, new methods, events, fixes
11088           autosize
11089
11090 2004-09-01 07:19  jordi
11091
11092         * Control.cs: Init string variables with an empty object
11093
11094 2004-09-01 04:20  jordi
11095
11096         * Control.cs: fires OnFontChanged event
11097
11098 2004-08-31 20:07  pbartok
11099
11100         * ButtonBase.cs:
11101           - Enabled display of strings
11102
11103 2004-08-31 20:05  pbartok
11104
11105         * Form.cs:
11106           - Added (partial) implementation of DialogResult; rest needs to be
11107             implemented when the modal loop code is done
11108
11109 2004-08-31 19:55  pbartok
11110
11111         * CheckBox.cs:
11112           - Fixed to match the removal of the needs_redraw concept
11113
11114 2004-08-31 19:55  pbartok
11115
11116         * ButtonBase.cs:
11117           - Removed the rather odd split between 'needs redraw' and redrawing
11118           - Now handles the events that require regeneration (ambient
11119             properties and size)
11120
11121 2004-08-31 19:41  pbartok
11122
11123         * Control.cs:
11124           - Added firing of BackColorChanged event
11125           - Added TopLevelControl property
11126           - Fixed handling of WM_ERASEBKGRND message
11127
11128 2004-08-31 12:49  pbartok
11129
11130         * ButtonBase.cs:
11131           - Removed debug
11132           - Minor fixes
11133
11134 2004-08-31 12:48  pbartok
11135
11136         * CheckBox.cs:
11137           - Finished (famous last words)
11138
11139 2004-08-31 04:35  jordi
11140
11141         * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11142           scrolling bugs, adds new methods
11143
11144 2004-08-30 14:42  pbartok
11145
11146         * CheckBox.cs:
11147           - Implemented CheckBox drawing code
11148
11149 2004-08-30 14:42  pbartok
11150
11151         * ButtonBase.cs:
11152           - Made Redraw() and CheckRedraw() virtual
11153           - Improved mouse up/down/move logic to properly track buttons
11154
11155 2004-08-30 09:44  pbartok
11156
11157         * CheckBox.cs:
11158           - Updated to fix broken build. Not complete yet.
11159
11160 2004-08-30 09:28  pbartok
11161
11162         * CheckState.cs:
11163           - Initial checkin
11164
11165 2004-08-30 09:17  pbartok
11166
11167         * Appearance.cs:
11168           - Initial check-in
11169
11170 2004-08-27 16:12  ravindra
11171
11172         * ToolBarButton.cs: Added TypeConverter attribute.
11173
11174 2004-08-27 16:07  ravindra
11175
11176         * ImageIndexConverter.cs: Implemented.
11177
11178 2004-08-27 14:17  pbartok
11179
11180         * Control.cs:
11181           - Removed unneeded stack vars
11182           - First attempt to fix sizing issues when layout is suspended
11183
11184 2004-08-25 15:35  jordi
11185
11186         * ScrollBar.cs: more fixes to scrollbar
11187
11188 2004-08-25 14:04  ravindra
11189
11190         * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11191           Added the missing divider code and grip for ToolBar Control.
11192
11193 2004-08-25 13:20  pbartok
11194
11195         * Control.cs:
11196           - Control now properly passes the ambient background color to child
11197             controls
11198
11199 2004-08-25 13:20  jordi
11200
11201         * ScrollBar.cs: small bug fix regarding bar position
11202
11203 2004-08-25 12:33  pbartok
11204
11205         * Timer.cs:
11206           - Now only calls SetTimer or KillTimer if the enabled state has
11207           changed
11208
11209 2004-08-25 12:33  pbartok
11210
11211         * XplatUIWin32.cs:
11212           - Fixed timer handling, now seems to work
11213           - Improved error message for window creation
11214
11215 2004-08-25 12:32  pbartok
11216
11217         * Control.cs:
11218           - Fixed generation of MouseUp message
11219
11220 2004-08-25 12:29  jordi
11221
11222         * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11223           and fixes for progressbar
11224
11225 2004-08-24 18:43  ravindra
11226
11227         * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11228           in ToolBar control.
11229
11230 2004-08-24 17:15  pbartok
11231
11232         * Panel.cs:
11233           - Added #region
11234           - Added missing events
11235           - Alphabetized
11236
11237 2004-08-24 17:14  pbartok
11238
11239         * StatusBar.cs, PictureBox.cs:
11240           - Now uses Control's CreateParams
11241
11242 2004-08-24 16:36  pbartok
11243
11244         * XplatUIX11.cs:
11245           - Fixed background color handling
11246           - Fixed sending of enter/leave events on a grab
11247
11248 2004-08-24 16:35  pbartok
11249
11250         * X11Structs.cs:
11251           - Refined definitions for CrossingEvent
11252
11253 2004-08-24 12:37  jordi
11254
11255         * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11256           formmating, methods signature, and adds missing events
11257
11258 2004-08-24 12:24  jordi
11259
11260         * Control.cs: fire OnEnabledChanged event
11261
11262 2004-08-24 11:17  pbartok
11263
11264         * XplatUIWin32.cs:
11265           - Implemented SetTimer() and KillTimer()
11266
11267 2004-08-24 11:16  pbartok
11268
11269         * XplatUIX11.cs:
11270           - Now uses Remove instead of Add to kill the timer
11271
11272 2004-08-24 10:16  jackson
11273
11274         * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11275           picture boxes in the theme now. Draw picture box borders and obey
11276           sizing modes
11277
11278 2004-08-24 05:49  jackson
11279
11280         * Timer.cs: Remove top secret debugging code
11281
11282 2004-08-24 05:34  jackson
11283
11284         * PictureBox.cs: Temp hack to make picture boxes draw their full
11285           image
11286
11287 2004-08-24 05:29  jackson
11288
11289         * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11290           XplatUIX11.cs: Move timers to the driver level. On X they are
11291           queued by the driver and checked on idle.
11292
11293 2004-08-24 01:07  jackson
11294
11295         * XplatUIX11.cs: Use a queue for async messages instead of passing
11296           them as ClientMessages since that was totally broken. Also simply
11297           check for events and return an idle message if none are found. This
11298           gives us an idle handler, and prevents deadlocking when no messages
11299           are in the queue.
11300
11301 2004-08-23 18:19  ravindra
11302
11303         * XplatUIWin32.cs: Removed the unwanted destructor.
11304
11305 2004-08-23 17:27  pbartok
11306
11307         * ButtonBase.cs:
11308           - Finishing touches. Works now, just needs some optimizations.
11309
11310 2004-08-23 16:53  jordi
11311
11312         * ScrollBar.cs: small fix
11313
11314 2004-08-23 16:45  pbartok
11315
11316         * Application.cs:
11317           - Removed debug output
11318           - Simplifications
11319
11320 2004-08-23 16:43  jordi
11321
11322         * ScrollBar.cs: [no log message]
11323
11324 2004-08-23 16:10  pbartok
11325
11326         * Form.cs:
11327           - Fixed handling of WM_CLOSE message
11328           - Removed debug output
11329
11330 2004-08-23 16:09  pbartok
11331
11332         * Application.cs:
11333           - Added handling of Idle event
11334           - Added handling of form closing
11335           - Fixed reporting of MessageLoop property
11336           - Removed some unneeded code, should provide a bit of a speedup
11337
11338 2004-08-23 15:22  pbartok
11339
11340         * Control.cs:
11341           - Added InitLayout() method
11342           - Added code to properly perform layout when Anchor or Dock property
11343             is changed
11344           - Changed 'interpretation' of ResumeLayout. MS seems to have a
11345             LAMESPEC, tried to do it in a way that makes sense
11346
11347 2004-08-23 14:10  jordi
11348
11349         * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11350           properties and methods
11351
11352 2004-08-23 13:55  pbartok
11353
11354         * Control.cs:
11355           - Properly fixed Jordi's last fix
11356           - Now uses Cursor's Position property instead of calling XplatUI
11357           directly
11358
11359 2004-08-23 13:44  jordi
11360
11361         * PaintEventHandler.cs: Adding missing attribute
11362
11363 2004-08-23 13:39  pbartok
11364
11365         * Cursor.cs:
11366           - Implemented Position property
11367
11368 2004-08-23 13:39  pbartok
11369
11370         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11371           - Added method to move mouse cursor
11372
11373 2004-08-23 13:39  pbartok
11374
11375         * XplatUIX11.cs:
11376           - Fixed setting of background color
11377           - Added method to move mouse cursor
11378
11379 2004-08-23 13:16  jordi
11380
11381         * Control.cs: avoids null exception
11382
11383 2004-08-22 17:46  jackson
11384
11385         * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11386           PictureBox
11387
11388 2004-08-22 17:40  jackson
11389
11390         * XplatUIX11.cs: Add some missing locks
11391
11392 2004-08-22 15:10  pbartok
11393
11394         * Control.cs, Form.cs:
11395           - Removed OverlappedWindow style from Control, instead it's default
11396             now is child
11397           - Made form windows OverlappedWindow by default
11398
11399 2004-08-22 13:34  jackson
11400
11401         * ScrollBar.cs: Update the position through the Value property so
11402           the OnValueChanged event is raised.
11403
11404 2004-08-22 12:04  pbartok
11405
11406         * SWF.csproj:
11407           - Added Cursor.cs and UserControl.cs
11408
11409 2004-08-22 12:03  pbartok
11410
11411         * Cursor.cs:
11412           - Started implementation, not usable yet
11413
11414 2004-08-22 12:00  pbartok
11415
11416         * UserControl.cs:
11417           - Implemented UserControl (complete)
11418
11419 2004-08-21 19:20  ravindra
11420
11421         * ToolBar.cs: Correcting the formatting mess of VS.NET.
11422
11423 2004-08-21 18:49  ravindra
11424
11425         * ToolBar.cs: Probably this completes the missing attributes in
11426           toolbar control.
11427
11428 2004-08-21 18:03  ravindra
11429
11430         * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11431           Fixed toolbar control signatures.
11432
11433 2004-08-21 16:32  pbartok
11434
11435         * LinkLabel.cs:
11436           - Signature Fixes
11437
11438 2004-08-21 16:30  pbartok
11439
11440         * Label.cs:
11441           - Signature fixes
11442
11443 2004-08-21 16:19  pbartok
11444
11445         * Control.cs, Label.cs:
11446           - Signature fixes
11447
11448 2004-08-21 15:57  pbartok
11449
11450         * ButtonBase.cs:
11451           - Added loads of debug output for development
11452           - Fixed typo in method name
11453
11454 2004-08-21 15:52  pbartok
11455
11456         * ToolBarButtonClickEventArgs.cs:
11457           - Added missing base class
11458
11459 2004-08-21 14:53  pbartok
11460
11461         * Control.cs:
11462           - Updated to match new GrabWindow signature
11463
11464 2004-08-21 14:51  pbartok
11465
11466         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11467           - Added method to get default display size
11468
11469 2004-08-21 14:23  pbartok
11470
11471         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11472           - Added method to query current grab state
11473           - Added argument to allow confining a grab to a window
11474
11475 2004-08-21 14:22  pbartok
11476
11477         * Keys.cs:
11478           - Added [Flags] attribute so that modifiers can be used in bitwise
11479           ops
11480
11481 2004-08-21 14:21  pbartok
11482
11483         * TrackBar.cs, ScrollBar.cs:
11484           - Replaced direct XplatUI calls with their Control counterpart
11485
11486 2004-08-21 13:32  pbartok
11487
11488         * Control.cs:
11489           - Implemented Created property
11490
11491 2004-08-21 13:28  pbartok
11492
11493         * Control.cs:
11494           - Implemented ContainsFocus
11495
11496 2004-08-21 13:26  pbartok
11497
11498         * Control.cs:
11499           - Implemented CausesValidation
11500
11501 2004-08-21 13:21  pbartok
11502
11503         * Control.cs:
11504           - Implemented CanFocus
11505           - Implemented CanSelect
11506           - Implemented Capture
11507
11508 2004-08-21 12:35  pbartok
11509
11510         * XplatUIWin32.cs:
11511           - Fixed bug with Async message handling
11512           - Implemented getting the ModifierKeys
11513
11514 2004-08-21 12:32  jackson
11515
11516         * AsyncMethodResult.cs: Make sure we have the mutex before we
11517           release it. Fixes BeginInvoke on windows
11518
11519 2004-08-21 11:31  pbartok
11520
11521         * XplatUIWin32.cs, XplatUIX11.cs:
11522           - Drivers now return proper mouse state
11523
11524 2004-08-21 10:54  jackson
11525
11526         * Control.cs: Implement EndInvoke
11527
11528 2004-08-21 10:48  jackson
11529
11530         * Timer.cs: Remove unneeded finalizer
11531
11532 2004-08-20 19:52  ravindra
11533
11534         * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11535           in mouse event handling in the ToolBar control.
11536
11537 2004-08-20 19:50  ravindra
11538
11539         * ImageList.cs: Changed draw method to use the arguments passed in
11540           to draw the image.
11541
11542 2004-08-20 18:58  pbartok
11543
11544         * XplatUIStructs.cs:
11545           - Added private message for async communication
11546
11547 2004-08-20 17:38  ravindra
11548
11549         * Control.cs: Made RightToLeft property virtual and removed a
11550           Console.WriteLine.
11551
11552 2004-08-20 14:39  jordi
11553
11554         * ThemeGtk.cs: use style_attach
11555
11556 2004-08-20 14:39  pbartok
11557
11558         * XplatUIWin32.cs:
11559           - Added jackson's Async code from X11 to Win32
11560
11561 2004-08-20 14:09  pbartok
11562
11563         * SWF.csproj:
11564           - Added all new files
11565
11566 2004-08-20 14:09  pbartok
11567
11568         * Control.cs:
11569           - Added call to set window background color
11570
11571 2004-08-20 14:03  pbartok
11572
11573         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11574           - Added method for setting the window background
11575
11576 2004-08-20 14:02  pbartok
11577
11578         * XplatUIWin32.cs:
11579           - Added method for setting the background color
11580           - Added handling for erasing the window background
11581
11582 2004-08-20 13:45  jordi
11583
11584         * TrackBar.cs: fixes timer, new properties and methods
11585
11586 2004-08-20 13:34  jackson
11587
11588         * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11589           correct thread
11590
11591 2004-08-20 13:22  jackson
11592
11593         * Timer.cs: Timer Tick events are now handed through Controls Async
11594           mechanism so the callbacks are executed in the same thread as X
11595
11596 2004-08-20 13:19  jackson
11597
11598         * XplatUIDriver.cs: Expose functionality to send async messages
11599           through the driver
11600
11601 2004-08-20 13:18  jackson
11602
11603         * Control.cs: Implement Begininvoke
11604
11605 2004-08-20 13:14  jackson
11606
11607         * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11608           messages through the driver
11609
11610 2004-08-20 13:12  jackson
11611
11612         * XplatUIX11.cs: Lock before all X operations. Also added Async
11613           method functionality through XSendEvent
11614
11615 2004-08-20 13:11  jackson
11616
11617         * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11618           This will screw up on 64 bit systems)
11619
11620 2004-08-20 13:10  jackson
11621
11622         * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11623           Async messages through X/Win32
11624
11625 2004-08-19 19:39  pbartok
11626
11627         * XplatUIX11.cs:
11628           - Updated code to match new HandleData.DeviceContext type
11629
11630 2004-08-19 19:38  pbartok
11631
11632         * HandleData.cs:
11633           - Made DeviceContext a generic object to allow usage from various
11634           drivers
11635           - Added support for queueing Windows messages
11636
11637 2004-08-19 19:37  pbartok
11638
11639         * XplatUIWin32.cs:
11640           - Added generation of MouseEnter, MouseLeave and MouseHover events
11641           - Added cleanup on EndPaint
11642
11643 2004-08-19 19:17  pbartok
11644
11645         * Control.cs:
11646           - Added handling of WM_MOUSEHOVER
11647           - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11648           code
11649
11650 2004-08-19 18:55  jordi
11651
11652         * ThemeGtk.cs: fixes button order
11653
11654 2004-08-19 18:12  jordi
11655
11656         * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11657
11658 2004-08-19 17:09  pbartok
11659
11660         * Control.cs:
11661           - Added Right property
11662           - Added RightToLeft property
11663
11664 2004-08-19 16:27  jordi
11665
11666         * ThemeGtk.cs: experimental GTK theme support
11667
11668 2004-08-19 16:26  jordi
11669
11670         * ITheme.cs, Theme.cs: move themes from an interface to a class
11671
11672 2004-08-19 16:25  jordi
11673
11674         * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11675           theme enhancaments
11676
11677 2004-08-19 16:04  pbartok
11678
11679         * XplatUIX11.cs:
11680           - Added colormap basics
11681           - Added a way to re-initialize with a different display handle
11682           - Fixed setting of the window background color
11683           - Added various X11 imports related to colors and colormaps
11684
11685 2004-08-19 15:51  pbartok
11686
11687         * X11Structs.cs:
11688           - Removed packing hints (Paolo suggested this a while back)
11689           - fixed colormap type
11690           - Added default Atom types
11691           - Added Screen and color structs and enums
11692
11693 2004-08-19 15:39  pbartok
11694
11695         * ImageList.cs:
11696           - Added missing Draw() method
11697           - Added missing RecreateHandle event
11698
11699 2004-08-19 15:30  pbartok
11700
11701         * Form.cs:
11702           - Added handling of WM_CLOSE
11703
11704 2004-08-18 13:16  jordi
11705
11706         * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11707           a table
11708
11709 2004-08-18 09:56  jordi
11710
11711         * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11712
11713 2004-08-17 15:31  ravindra
11714
11715         * SWF.csproj: Updated project.
11716
11717 2004-08-17 15:25  pbartok
11718
11719         * Control.cs:
11720           - Drawing improvement; don't call UpdateBounds if we are not visible
11721             (or have been minimized)
11722
11723 2004-08-17 15:24  pbartok
11724
11725         * XplatUIWin32.cs:
11726           - Finished IsVisible
11727           - Added Win32GetWindowPlacement
11728
11729 2004-08-17 15:08  jackson
11730
11731         * Panel.cs: Initial checkin of the Panel
11732
11733 2004-08-17 14:25  pbartok
11734
11735         * Control.cs:
11736           - Fixed broken handling of default window sizes
11737
11738 2004-08-17 13:29  jackson
11739
11740         * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11741           has a large startup time.
11742
11743 2004-08-17 10:25  jackson
11744
11745         * HandleData.cs: union areas properly
11746
11747 2004-08-17 10:12  jackson
11748
11749         * HandleData.cs: union areas properly
11750
11751 2004-08-16 20:00  ravindra
11752
11753         * ToolBar.cs, ToolBarButton.cs: Added attributes.
11754
11755 2004-08-16 18:48  ravindra
11756
11757         * ToolBar.cs: Added attributes.
11758
11759 2004-08-16 17:17  ravindra
11760
11761         * SWF.csproj: Updated project.
11762
11763 2004-08-16 17:16  jackson
11764
11765         * XplatUIX11.cs: Check for more expose events before sending a
11766           WM_PAINT so they can all be grouped together. This makes dragging a
11767           window across another window redraw in a sane way.
11768
11769 2004-08-16 15:47  pbartok
11770
11771         * Control.cs:
11772           - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11773             support OnMouseEnter/Leave()
11774           - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11775             exposure handling
11776
11777 2004-08-16 15:46  pbartok
11778
11779         * XplatUIStructs.cs, XplatUIX11.cs:
11780           - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11781           OnMouseEnter/Leave()
11782
11783 2004-08-16 15:34  jackson
11784
11785         * XplatUIX11.cs: Group multiple expose events in HandleData, make
11786           sure messages get the message field set to WM_NULL if they are not
11787           handled.
11788
11789 2004-08-16 15:24  jackson
11790
11791         * HandleData.cs: HandleData is used for storing message information
11792           for window handles
11793
11794 2004-08-15 17:23  ravindra
11795
11796         * ColorDepth.cs: Added attribute.
11797
11798 2004-08-15 17:23  ravindra
11799
11800         * SWF.csproj: Updated project for ToolBar Control.
11801
11802 2004-08-15 17:20  ravindra
11803
11804         * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11805           control and also dos2unix format.
11806
11807 2004-08-15 17:13  ravindra
11808
11809         * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11810           ToolBarButtonClickEventArgs.cs,
11811           ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11812           ToolBarTextAlign.cs: First Implementation of ToolBar control.
11813
11814 2004-08-15 15:31  pbartok
11815
11816         * ButtonBase.cs:
11817           - First (mostly) working version
11818
11819 2004-08-13 16:15  pbartok
11820
11821         * Control.cs:
11822           - Fixed Anchor default
11823
11824 2004-08-13 15:43  pbartok
11825
11826         * Control.cs:
11827           - Changed GetCursorPos signature
11828
11829 2004-08-13 15:42  pbartok
11830
11831         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11832           - Changed signature for GetCursorPos
11833
11834 2004-08-13 15:25  pbartok
11835
11836         * XplatUIX11.cs:
11837           - Cleanup
11838           - Fixed resizing/exposure handling
11839
11840 2004-08-13 15:22  jordi
11841
11842         * ThemeWin32Classic.cs: removes redundant code and fixes issues
11843           with tickposition
11844
11845 2004-08-13 14:55  jordi
11846
11847         * TrackBar.cs: change from wndproc to events
11848
11849 2004-08-13 13:00  jordi
11850
11851         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11852           XplatUIX11.cs: implements PointToClient (ScreenToClient)
11853
11854 2004-08-13 12:53  pbartok
11855
11856         * XplatUIWin32.cs:
11857           - Changed GetWindowPos to also provide client area size
11858           - Fixed broken prototypes for several win32 functions
11859
11860 2004-08-13 12:53  pbartok
11861
11862         * XplatUI.cs, XplatUIDriver.cs:
11863           - Changed GetWindowPos to also provide client area size
11864
11865 2004-08-13 12:52  pbartok
11866
11867         * XplatUIX11.cs:
11868           - Added generation of WM_POSCHANGED
11869           - Changed GetWindowPos to also provide client area size
11870
11871 2004-08-13 12:52  pbartok
11872
11873         * Control.cs:
11874           - Added Dispose() and destructor
11875           - Fixed resizing and bounds calculation
11876           - Fixed Layout
11877           - Added memory savings for invisible windows
11878
11879 2004-08-13 12:46  jordi
11880
11881         * TrackBar.cs: adds timer and grap window
11882
11883 2004-08-13 10:25  jackson
11884
11885         * Timer.cs: SWF Timer
11886
11887 2004-08-12 16:59  pbartok
11888
11889         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11890           - Implemented method to get current mouse position
11891
11892 2004-08-12 14:29  jordi
11893
11894         * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11895           enhancement, fix mouse problems, highli thumb, etc
11896
11897 2004-08-12 13:31  pbartok
11898
11899         * Control.cs:
11900           - Fixed Anchoring bugs
11901
11902 2004-08-12 13:01  jackson
11903
11904         * StatusBar.cs: Don't forget things
11905
11906 2004-08-12 12:54  jackson
11907
11908         * ThemeWin32Classic.cs: Handle owner draw status bars
11909
11910 2004-08-12 12:54  jackson
11911
11912         * StatusBar.cs: Implement missing properties, events, and methods.
11913           Handle mouse clicking
11914
11915 2004-08-12 10:19  jackson
11916
11917         * StatusBarPanelClickEventArgs.cs,
11918           StatusBarPanelClickEventHandler.cs: Classes for handling status
11919           bar panel click events
11920
11921 2004-08-12 10:10  jackson
11922
11923         * Control.cs: Add missing properties
11924
11925 2004-08-12 09:46  pbartok
11926
11927         * BindingsManagerBase.cs:
11928           - Name changed to BindingManagerBase.cs
11929
11930 2004-08-12 09:25  jordi
11931
11932         * ScrollableControl.cs: calls ctrlbase instead of exeception
11933
11934 2004-08-11 16:28  pbartok
11935
11936         * InputLanguageChangingEventArgs.cs:
11937           - Never check in before compiling. Fixes the last check-in
11938
11939 2004-08-11 16:26  pbartok
11940
11941         * InputLanguageChangingEventArgs.cs:
11942           - More signature fixes
11943
11944 2004-08-11 16:20  pbartok
11945
11946         * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11947           Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11948           ImageListStreamer.cs, InputLanguage.cs,
11949           InputLanguageChangedEventArgs.cs,
11950           InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11951           LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11952           ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11953           XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11954           - Signature fixes
11955
11956 2004-08-11 16:16  pbartok
11957
11958         * Application.cs:
11959           - Fixed Signature
11960           - Added .Net 1.1 method
11961
11962 2004-08-11 15:25  pbartok
11963
11964         * SWF.csproj:
11965           - Fixed BindingManagerBase.cs filename
11966
11967 2004-08-11 15:22  pbartok
11968
11969         * BindingManagerBase.cs:
11970           - Was checked in with wrong filename
11971
11972 2004-08-11 14:50  pbartok
11973
11974         * SWF.csproj:
11975           - Updated
11976
11977 2004-08-11 13:41  jordi
11978
11979         * XplatUIWin32.cs: Fixes ClientRect
11980
11981 2004-08-11 13:19  pbartok
11982
11983         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11984           XplatUIX11.cs:
11985           - We had SetWindowPos and MoveWindow to set window positions and
11986             size, removed MoveWindow. We have GetWindowPos, so it made sense to
11987             keep SetWindowPos as matching counterpart
11988           - Added some X11 sanity checking
11989
11990 2004-08-11 12:59  pbartok
11991
11992         * Control.cs:
11993           - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11994             (It seems that SetBounds is just a front for SetBoundsCore and
11995              SetBoundsCore updates the underlying window system and
11996              UpdateBounds is responsible for updating the variables associated
11997              with the Control and sending the events)
11998           - Major cleanup of Size handling; we now have two sizes, client_size
11999             and bounds. Bounds defines the window with decorations, client_size
12000             without them.
12001
12002 2004-08-11 12:55  pbartok
12003
12004         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12005           - Added method to calculate difference between decorated window and
12006             raw client area
12007
12008 2004-08-11 12:54  pbartok
12009
12010         * Label.cs:
12011           - Forcing redraw on resize
12012
12013 2004-08-11 11:43  pbartok
12014
12015         * ImageList.cs:
12016           - Removed disposing of the actual images when the list is disposed
12017
12018 2004-08-11 09:13  pbartok
12019
12020         * Control.cs:
12021           - Now properly reparents windows
12022
12023 2004-08-11 08:37  pbartok
12024
12025         * Control.cs:
12026           - Duh!
12027
12028 2004-08-11 07:47  pbartok
12029
12030         * Control.cs:
12031           - Rewrote the collection stuff. Might not be as fast now, not
12032             keeping the number of children around and accessible directly, but
12033             it's more straightforward
12034
12035 2004-08-11 07:44  pbartok
12036
12037         * AccessibleObject.cs:
12038           - Fixed to match ControlCollection rewrite
12039
12040 2004-08-11 07:43  pbartok
12041
12042         * ImageList.cs:
12043           - Added missing creation of the collection list
12044
12045 2004-08-10 20:08  jackson
12046
12047         * StatusBar.cs: Get the paint message from WndProc
12048
12049 2004-08-10 19:31  jackson
12050
12051         * ThemeWin32Classic.cs: Create Brushes as little as possible
12052
12053 2004-08-10 19:20  jackson
12054
12055         * UICues.cs: Add Flags attribute
12056
12057 2004-08-10 19:19  jackson
12058
12059         * StatusBarPanel.cs: Signature cleanup
12060
12061 2004-08-10 19:10  jackson
12062
12063         * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12064           Initial implementation of status bar item drawing
12065
12066 2004-08-10 17:27  jordi
12067
12068         * TrackBar.cs: add missing methods, properties, and restructure to
12069           hide extra ones
12070
12071 2004-08-10 16:24  jackson
12072
12073         * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12074           ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12075           attribute
12076
12077 2004-08-10 13:21  jordi
12078
12079         * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12080           enhancements and standarize on win colors defaults
12081
12082 2004-08-10 12:52  jackson
12083
12084         * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12085           ThemeWin32Classic.cs: Implement DrawItem functionality
12086
12087 2004-08-10 12:47  jordi
12088
12089         * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12090
12091 2004-08-10 12:32  jordi
12092
12093         * Control.cs: throw ontextchange event
12094
12095 2004-08-10 11:43  pbartok
12096
12097         * Control.cs:
12098           - Added more to the still unfinished Dock/Anchor layout code
12099
12100 2004-08-10 11:39  pbartok
12101
12102         * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12103           - Added GetWindowPos method
12104
12105 2004-08-10 11:36  pbartok
12106
12107         * XplatUIWin32.cs:
12108           - Implemented several methods
12109
12110 2004-08-10 09:47  jackson
12111
12112         * TrackBar.cs: Allow control to handle buffering
12113
12114 2004-08-10 09:41  jackson
12115
12116         * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12117
12118 2004-08-10 09:24  jackson
12119
12120         * Label.cs, LinkLabel.cs: Let Control handle buffering.
12121
12122 2004-08-10 09:09  jackson
12123
12124         * StatusBar.cs: Let Control handle all the buffering.
12125
12126 2004-08-10 09:08  jackson
12127
12128         * Control.cs: Control will now handle the buffering code, so each
12129           control does not have to implement this.
12130
12131 2004-08-10 08:34  jackson
12132
12133         * XplatUIDriver.cs: Use default colors from the theme
12134
12135 2004-08-09 17:12  pbartok
12136
12137         * ImageList.cs:
12138           - Fixed several bugs Ravindra pointed out
12139
12140 2004-08-09 16:11  pbartok
12141
12142         * Control.cs:
12143           - Added incomplete dock layout code
12144           - Added support for mouse wheel
12145
12146 2004-08-09 16:09  pbartok
12147
12148         * XplatUIX11.cs:
12149           - Added handling for middle and right mousebutton
12150           - Added handling for mouse wheel
12151           - Added handling for key state and mouse state and position
12152           - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12153           messages
12154
12155 2004-08-09 15:40  jackson
12156
12157         * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12158           StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12159           checkin
12160
12161 2004-08-09 15:37  jackson
12162
12163         * StatusBar.cs: Initial implementation of StatusBar
12164
12165 2004-08-09 15:36  jackson
12166
12167         * ITheme.cs: Add support for drawing status bar and getting status
12168           bar item sizes
12169
12170 2004-08-09 15:35  pbartok
12171
12172         * MouseButtons.cs:
12173           - Fixed values
12174
12175 2004-08-09 15:34  jackson
12176
12177         * ThemeWin32Classic.cs: Add support for drawing status bar and get
12178           status bar item sizes
12179
12180 2004-08-09 15:21  jackson
12181
12182         * ThemeWin32Classic.cs: Use known colors for default control
12183           colours
12184
12185 2004-08-09 15:12  jackson
12186
12187         * ThemeWin32Classic.cs: Make the default font static, it is static
12188           in control so this doesn't change functionality and creating fonts
12189           is sloooooow.
12190
12191 2004-08-09 14:56  pbartok
12192
12193         * X11Structs.cs:
12194           - Added GrabMode enum
12195
12196 2004-08-09 14:55  pbartok
12197
12198         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12199           - Removed Run method, was only required for initial development
12200
12201 2004-08-09 14:51  pbartok
12202
12203         * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12204           - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12205           capture
12206
12207 2004-08-09 13:48  pbartok
12208
12209         * XplatUIX11.cs:
12210           - Fixed default sizing for child windows
12211
12212 2004-08-09 12:56  pbartok
12213
12214         * XplatUIX11.cs:
12215           - Added generation of WM_DESTROY message
12216           - Added handling of window manager induced shutdown
12217
12218 2004-08-09 11:31  jackson
12219
12220         * ThemeWin32Classic.cs: New names for control properties
12221
12222 2004-08-09 11:25  jackson
12223
12224         * Control.cs: Use new color names
12225
12226 2004-08-09 11:02  jackson
12227
12228         * XplatUI.cs: Get default window properties from the theme
12229
12230 2004-08-09 11:01  jackson
12231
12232         * ITheme.cs: The theme engine now controls default window
12233           properties
12234
12235 2004-08-09 11:00  jackson
12236
12237         * ThemeWin32Classic.cs: Add default window color properties
12238
12239 2004-08-09 10:17  jackson
12240
12241         * ThemeWin32Classic.cs: Use correct default back color
12242
12243 2004-08-09 10:05  jackson
12244
12245         * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12246           the theme now.
12247
12248 2004-08-09 09:56  jackson
12249
12250         * XplatUI.cs: Remove defaults, these are handled by the theme now.
12251
12252 2004-08-09 09:54  jackson
12253
12254         * Control.cs: Get default properties from the theme.
12255
12256 2004-08-09 09:53  jackson
12257
12258         * ITheme.cs: Themes now handle default control properties
12259
12260 2004-08-09 09:53  jackson
12261
12262         * ThemeWin32Classic.cs: Themes now handle default control
12263           properties so coloring will be consistent
12264
12265 2004-08-08 16:54  jordi
12266
12267         * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12268
12269 2004-08-08 15:08  jordi
12270
12271         * XplatUIX11.cs: fixes keyboard crash
12272
12273 2004-08-08 13:47  jordi
12274
12275         * Label.cs: add cvs header info
12276
12277 2004-08-08 12:09  jackson
12278
12279         * ThemeWin32Classic.cs: Add pen_buttonface
12280
12281 2004-08-08 11:52  jordi
12282
12283         * Label.cs, LinkLabel.cs: [no log message]
12284
12285 2004-08-08 11:34  jordi
12286
12287         * ThemeWin32Classic.cs: Use Windows Standard Colours
12288
12289 2004-08-07 17:32  jordi
12290
12291         * TrackBar.cs: throw exceptions of invalid enums values
12292
12293 2004-08-07 17:31  jordi
12294
12295         * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12296           draw method name
12297
12298 2004-08-07 16:56  jackson
12299
12300         * HorizontalAlignment.cs: Initial checkin
12301
12302 2004-08-07 13:16  jordi
12303
12304         * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12305           methods
12306
12307 2004-08-07 13:05  jordi
12308
12309         * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12310           GetSysColor defines
12311
12312 2004-08-06 18:01  pbartok
12313
12314         * ThemeWin32Classic.cs:
12315           - Fixed some rounding issues with float/int
12316
12317 2004-08-06 18:00  jackson
12318
12319         * DockStyle.cs, AnchorStyles.cs:
12320
12321                   Add flags and serializable attributes.
12322
12323 2004-08-06 17:46  pbartok
12324
12325         * XplatUIX11.cs:
12326           - Implemented GetParent
12327
12328 2004-08-06 17:18  pbartok
12329
12330         * TrackBar.cs:
12331           - Fixed some rounding issues with float/int
12332
12333 2004-08-06 17:17  pbartok
12334
12335         * X11Structs.cs, XplatUIX11.cs:
12336           - Fixed Refresh and Invalidate
12337
12338 2004-08-06 15:30  pbartok
12339
12340         * Control.cs, X11Structs.cs, XplatUIX11.cs:
12341           - Fixed recursive loop when resizing
12342           - Improved/fixed redrawing on expose messages
12343
12344 2004-08-06 09:53  jordi
12345
12346         * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12347           keyboard navigation
12348
12349 2004-08-06 08:02  pbartok
12350
12351         * X11Structs.cs, XplatUIX11.cs:
12352           - Fixed reparenting
12353           - Fixed window border creation
12354
12355 2004-08-05 15:38  pbartok
12356
12357         * XplatUIX11.cs:
12358           - Attempted fix for reparenting problems
12359
12360 2004-08-04 15:14  pbartok
12361
12362         * Control.cs:
12363           - Fixed Invalidation bug (calculated wrong client area)
12364           - Added ClientSize setter
12365
12366 2004-08-04 15:13  pbartok
12367
12368         * Form.cs:
12369           - Added AutoScale properties
12370
12371 2004-08-04 15:13  pbartok
12372
12373         * SWF.csproj:
12374           - Added latest files
12375
12376 2004-08-04 14:11  pbartok
12377
12378         * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12379           XplatUIX11.cs:
12380           - Added Invalidate handling
12381
12382 2004-08-03 17:09  jordi
12383
12384         * XplatUIDriver.cs: fixes spelling mistake
12385
12386 2004-07-27 09:53  jordi
12387
12388         * TrackBar.cs: fixes trackbar events, def classname, methods
12389           signature
12390
12391 2004-07-27 09:29  jordi
12392
12393         * ScrollBar.cs: fixes scrollbar events
12394
12395 2004-07-27 04:38  jordi
12396
12397         * Control.cs: changes to be able to run winforms samples
12398
12399 2004-07-26 11:42  jordi
12400
12401         * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12402           ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12403
12404 2004-07-26 05:41  jordi
12405
12406         * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12407           MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12408           implementation
12409
12410 2004-07-22 09:22  jordi
12411
12412         * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12413           check link overlapping, implement events, and fixes
12414
12415 2004-07-21 10:28  jordi
12416
12417         * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12418
12419 2004-07-21 10:19  jordi
12420
12421         * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12422           LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12423           LinkLabelLinkClickedEventArgs.cs,
12424           LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12425           XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12426           implementation
12427
12428 2004-07-19 13:09  jordi
12429
12430         * Control.cs, Label.cs: label control re-written: added missing
12431           functionlity, events, and properties
12432
12433 2004-07-19 10:49  jordi
12434
12435         * Control.cs: fixes SetBounds logic
12436
12437 2004-07-19 01:29  jordi
12438
12439         * Control.cs: Call RefreshWindow only if the window has created
12440
12441 2004-07-15 14:05  pbartok
12442
12443         * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12444           - Implemented ImageList and ImageList.ImageCollection classes
12445           - Added ColorDepth enumeration
12446           - Updated SWF VS.Net project
12447
12448 2004-07-15 11:06  jordi
12449
12450         * XplatUIStructs.cs: added MsgButons enum
12451
12452 2004-07-15 11:03  jordi
12453
12454         * Control.cs: added basic mouse handeling events
12455
12456 2004-07-15 03:38  jordi
12457
12458         * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12459           Vertical TrackBar control implementation
12460
12461 2004-07-13 09:33  jordi
12462
12463         * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12464
12465 2004-07-13 09:31  jordi
12466
12467         * Control.cs, Form.cs: commit: new properties and fixes form size
12468           problems
12469
12470 2004-07-09 14:13  miguel
12471
12472         * ProgressBar.cs: Spelling
12473
12474 2004-07-09 11:25  pbartok
12475
12476         * ProgressBar.cs:
12477           - Removed usage of Rectangle for drawing. Miguel pointed out it's
12478           faster
12479
12480 2004-07-09 11:17  miguel
12481
12482         * ProgressBar.cs: 2004-07-09  Miguel de Icaza  <miguel@ximian.com>
12483
12484                 * ProgressBar.cs: Fixed spelling for `block'
12485
12486                 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12487                 style guidelines.
12488
12489                 Avoid using the += on rect.X, that exposed a bug in the compiler.
12490
12491 2004-07-08 23:21  pbartok
12492
12493         * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12494           AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12495           BaseCollection.cs, Binding.cs, BindingContext.cs,
12496           BindingMemberInfo.cs, BindingsCollection.cs,
12497           BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12498           BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12499           ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12500           ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12501           ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12502           ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12503           CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12504           DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12505           FrameStyle.cs, GiveFeedbackEventArgs.cs,
12506           GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12507           HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12508           IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12509           InputLanguageChangedEventArgs.cs,
12510           InputLanguageChangedEventHandler.cs,
12511           InputLanguageChangingEventArgs.cs,
12512           InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12513           InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12514           KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12515           KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12516           LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12517           MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12518           PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12519           QueryAccessibilityHelpEventArgs.cs,
12520           QueryAccessibilityHelpEventHandler.cs,
12521           QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12522           RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12523           ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12524           ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12525           TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12526           UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12527           XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12528           XplatUIX11.cs, lang.cs:
12529           - Initial check-in
12530