1 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3 * Control.cs (PerformLayout): It would seem that we considered
4 invisible windows for our layout. Not quite the right thing
5 to do. Now we don't any longer, thereby fixing bug #76889.
7 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
9 * Control.cs (CanFocus): I goofed. A control can have focus
10 even though it's not selectable. Made it match MS docs.
12 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
14 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
15 center by default (fixes #76895)
16 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
17 all uses of Border3DSides.All with the explicit ORd together
18 Left|Right|Top|Bottom because I assume that nobody was aware
19 that All also implies a center fill. Most places I checked had
21 * ProgressBarStyle.cs: Added
23 2006-03-13 Mike Kestner <mkestner@novell.com>
25 * ListView.cs: fix breakage in drag shadow header positioning
26 from Peter's csc compilation fix.
28 2006-03-13 Mike Kestner <mkestner@novell.com>
30 * ListView.cs: fix NRE produced by backspacing twice in a focused
33 2006-03-13 Mike Kestner <mkestner@novell.com>
35 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
37 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
39 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
41 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
42 the allowed size before making programmatic size changes
44 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
46 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
47 set, metacity is broken and will still use the emty sizes in
48 the struct. (Fix for #77089)
50 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
52 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
53 WindowExStyles and marked both enums as Flags
54 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
55 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
56 to match WindowStyles split
58 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
59 - Updated to match WindowStyles split
61 - Fixed FosterParent creation, was using ExStyle on the Style field
62 (This should help with Popup focus issues)
63 - Updated to match WindowStyles split
65 2006-03-13 Jackson Harper <jackson@ximian.com>
67 * MdiWindowManager.cs: Use the system menu height. Fixes some
68 strange sizing issues.
70 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
72 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
74 - Scroll to caret after inserting text (#77672)
75 - Make scroll range one pixel higher, fixes off-by-one error (and
76 makes underlines visible on the last line)
78 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
80 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
81 the keyboard state from being stuck with keys in 'pressed' state when
82 focus is switched away via keyboard
83 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
84 reset the keyboard if no X11 KeyUp events are expected to come
85 * X11Structs.cs: Switched type of Visible to bool to match driver
87 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
90 - Switched caret to be just 1 pixel wide, matches MS and looks less
92 - Moved caret display 1 pixel down from the top of the control
94 - InsertCharAtCharet: Update the selection start if moving the caret
95 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
96 - No longer always creating the caret when the caret methods are
97 called. Only the actual ShowCaret/HideCaret will do that now
98 - Only setting caret visible if the owner control has focus
99 - UpdateView: Added invalidation-shortcut logic for center and right
100 aligned text. Previously we'd update all according to the left
101 logic which caused drawing errors. Also fixed height of invalidated
102 areas, now properly invalidating the whole area (was off-by-one)
103 - owner_HandleCreated: Always generate the document when the
104 handle is created; this ensures that
106 - Fixed situation where caret would disappear under the right
107 window border, also improved scrolling behaviour on left-
109 - Fixed right-aligned textboxes to have a border to the
110 right instead of the caret being under the right border
112 - Switched from 'nested' to simple visible/not visible tracking
113 for caret (part of fix for #77671)
114 - No longer passing through translated FocusIn/FocusOut messages
115 since we were notifying too often and the wrong windows. Instead
116 we just notify our focussed window of receiving or loosing focus
117 * XplatUIWin32.cs: Switched from 'nested' show/hide
118 counting for caret to simple visible yes/no behaviour (part of
121 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
123 * Mime.cs: Remove debug code...
125 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
127 * MimeGenerated.cs: Removed
128 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
129 and subclasses) from /usr/(local/)share/mime and
130 $HOME/.local/share/mime.
132 2006-03-10 Jackson Harper <jackson@ximian.com>
134 * MdiWindowManager.cs: Recalc the NC area when a window is
135 maximized/restored so that the menu area is drawn on forms that
138 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
140 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
141 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
142 us to force a WM_NCCALCRESIZE message being sent. This is needed
145 2006-03-10 Jackson Harper <jackson@ximian.com>
147 * Form.cs: We need to use the ActiveMenu when calculating menu
149 - Fix nullref when the window manager hasn't been created yet.
150 * Control.cs: Fix nullref when we try to bring a control to the
151 front that has no parent.
152 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
154 - Add a dummy item to the maximized menu so it always has the
155 correct height. Otherwise when there are no menus we don't get our
159 2006-03-10 Jackson Harper <jackson@ximian.com>
161 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
163 * Form.cs: Make the window_state internal so the window managers
165 - When an MDI child is maximized let its window manager create the
166 main menu (so it can add its icon).
167 - Notify the window managers of state changes
168 - Let the window manager paint its buttons and handle button
169 clicks on the menu when it is maximized.
170 * InternalWindowManager.cs: Move the prev_bounds into the mdi
171 window manager, since tool windows don't use it, only mdi windows.
172 - Tell the main form that we don't want it to handle NCPAINT
173 itself to avoid extra painting.
174 - Handle clicks on a maximized windows menu.
175 - Handle window state changes
176 - Handle minimize/maximize clicks correctly by setting the window state.
177 * MdiWindowManager.cs: Add an icon menu that (the menu you get
178 when clicking on the forms icon).
179 - New method to create a forms maximized menu. This is its normal
181 - Handle window state changes.
182 - Handle sizing of maximized windows. Maximized windows are just
183 drawn bigger then the parent visible area. All controls are still
184 there, they are just outside the visible area (this matches windows).
185 * MdiClient.cs: No scrollbars when a child window is maximized.
186 - Let the children windows figure out how big they should be when
187 sizing maximized windows.
188 - Implement a version of ArrangeIconicWindows somewhat similar to
189 Windows version. There are some little differences, but I don't
190 think any app will rely on the layout of minimized mdi windows.
192 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
194 * Padding.cs: Several fixes to allow compiling with csc 2.0
196 2006-03-09 Jackson Harper <jackson@ximian.com>
199 * MenuItem.cs: Cheap hack so we can add items to the list without
200 the events being raised. This allows adding mdi items during
201 drawing. TODO: Should probably find a better time to add the items.
203 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
205 * ThemeWin32Classic.cs:
206 - CheckBox_DrawText: Added logic to not wrap if not enough space
207 is available (Fix for bug #77727)
208 - RadioButton_DrawText: Added logic not to wrap if not enough
209 space is available (Fix for bug #77727). Also removed some
210 duplicate code, DrawString always drawing the regular text
211 before hitting the if statement.
213 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
215 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
217 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
219 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
220 * ContainerControl.cs: Partial implementation of some 2.0 scaling
221 methods. Moved the new 2.0 properties into alphabetical order with
222 other properties and added MonoTODO tags
224 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
226 * AutoScaleMode.cs: Added. Fix build.
228 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
230 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
231 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
232 and was requiring premature handle creation for calls from above
233 * Form.cs, Control.cs: Removed handle arguments from calls to
234 CalculateClientRect()
236 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
238 * ListView.cs (HeaderMouseMove): Fix csc compilation.
239 drag_column.column_rect is MarshalByRef and can't be used that way
241 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
243 * AxHost.cs: Added deserialization constructor for
244 AxHost+State (fixes 77743)
246 2006-03-09 Mike Kestner <mkestner@novell.com>
249 - Added column drag reordering for details view.
250 - fixed behavior when mouse is dragged off column and
251 AllowColumnReorder is false.
252 * ColumnHeader.cs: clone the format too in Clone.
253 * Theme.cs: add DrawListViewHeaderDragDetails method.
254 * ThemeWin32Classic.cs:
255 - impl new method for drawing drag column shadows and targets.
256 - support column offset for details mode in DrawListViewItem.
258 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
260 * TextControl.cs: Reset the char_count when the document is cleared
261 (Fixes bug reported on mono-winforms mailing list)
263 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
265 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
266 of calling base we simply process the key ourselves, since both
267 DefWindowProc and the handled method would set m.Result.
270 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
272 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
273 method also moves the window; instead implemented a copy of
274 Control.ScaleCore (Part of fix for #77456)
276 - Created new CreateGraphicsInternal method to allow providing
277 a graphics context when no handle is created without triggering
278 handle creation. (Part of fix for #77456)
279 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
281 - Switched Constructor to require TextBoxBase instead of Control (to
282 allow uncast access to CreateGraphicsInternal)
283 - Safeguarded use of owner.Handle property. No longer accessing it
284 unless the handle is already created.
285 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
286 - Now triggering a recalc when owning control becomes visible
287 * TextBox.cs, RichTextBox.cs: Switched to use new internal
288 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
289 premature handle creation (Part of fix for #77456)
291 - We now only destroy our double-buffering buffers when the
292 control is resized or disposed, but not when visibility
293 changes. (The code even re-created them twice every time)
294 - Now requiring a redraw of the buffer on visibility changes
295 (fixes bug 77654 part 2)
296 - Not passing OnParentVisibleChanged up unless the control
298 - CanFocus: Fixed to match MS documentation
299 - Focus: Fixed to return actual focus state and to check if
300 setting focus is legal before setting it
302 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
304 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
305 when to draw focus rectangle by looking at parent focus and
306 selected state instead. This fixes TabPages on Linux sometimes
307 having none or multiple focus rectangles.
308 * XplatUIX11.cs (SetFocus):
309 - Don't set the focus if the same window already has focus
310 - Use SendMessage instead of PostMessage (like it's Win32
311 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
312 to match MS behaviour
313 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
316 2006-03-07 Jackson Harper <jackson@ximian.com>
318 * PictureBox.cs: Revert line I accidently committed last week.
320 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
323 - Added new IsRecreating and ParentIsRecreating properties to
324 allow testing if RecreateHandle has been called on ourselves
325 or one of our parents
326 - WndProc(WM_DESTROY): If our control handle is being recreated
327 we immediately need to create the handle when receiving the
328 destroy, that way our child windows find a valid parent handle
329 when they themselves are being recreated upon WM_DESTROY receipt
330 (fix for bug #77654 part 1)
332 - DestroyWindow: WM_DESTROY must be sent to our own window before
333 notifying any child windows. MS documents that child windows
334 are still valid when WM_DESTROY is received. (Control now relies on
336 - Added some fine-grain debug options
338 2006-03-06 Jackson Harper <jackson@ximian.com>
340 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
341 box and base calculations off this.
342 * MdiChildContext.cs:
343 * MdiWindowManager.cs: Don't need to ensure scrollbars here
346 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
348 * Splitter.cs: In situations where the affected control is added
349 to the parent's control list after the splitter, we would not
350 populate affected. Now we try populating it on mousedown, if
351 it's not already set, and force it to be re-set whenever our
354 2006-03-03 Matt Hargett <matt@use.net>
356 * Control.cs: implement Control.Padding
357 * Padding.cs: -Padding.All returns -1 when constructing with the
358 implicit default ctor
359 -Padding.ToString() matches MS.NET
360 * ContainerControl.cs: implement
361 ContainerControl.AutoScaleDimensions
362 * ListControl.cs: implement ListControl.FormattingEnabled
363 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
365 * TabPage.cs: Implement UseVisualStyleBackColor.
366 * PictureBox.cs: Implement PictureBox.InitialImage.
368 2006-03-03 Mike Kestner <mkestner@novell.com>
370 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
371 event declarations to proxy to base event.
372 * ListViewItem.cs: update to use ItemControl.
373 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
374 * ThemeWin32Classic.cs: update to new ListView theme API and fix
375 column header label rendering for 0 width columns.
377 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
379 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
380 that causes the control to be created. Fixes #77476.
382 2006-03-02 Jackson Harper <jackson@ximian.com>
384 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
387 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
389 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
390 passed in for the EventArgs (fixes #77690)
392 2006-03-01 Jackson Harper <jackson@ximian.com>
394 * ScrollBar.cs: Refresh afterbeing resized.
396 2006-02-28 Mike Kestner <mkestner@novell.com>
398 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
399 Clean up a tracker compile warning.
400 * MenuItem.cs: add internal PerformPopup method.
403 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
405 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
406 implicit expose) when the text is set to null
408 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
410 * RichTextBox.cs (FlushText): When newline is true, we always
411 need to split the line, even if no text is on it and we may
412 never eat newlines. (Fixes #77669)
414 2006-02-28 Mike Kestner <mkestner@novell.com>
416 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
417 and set Selected instead.
418 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
421 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
423 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
425 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
428 - Got rid of the panel. All controls are now directly added to
430 - It is now possible to set a font with the Font property
431 - MinSize and MaxSize property do now what they should
432 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
433 - Searching and selecting a font with the font textbox works now,
434 the same applies to the style and size textbox
435 - Draw the correct 3D border in the example panel
436 - Fixed a little mem leak (unused fonts didn't get disposed)
437 - Many other internal updates/rewrites...
440 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
443 - InsertRTFFromStream: Added 'number of characters inserted' argument
444 - set_SelectedRTF: Now using the number of characters to calculate
445 the new location for the selection and cursor (x/y cannot be used
446 due to potentially already wrapped text)
448 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
450 * TextControl.cs: Added property and implemented means to allow
451 disabling recalculation of a document (can be used to speed up
452 multiple inserts and is needed to make RTF inserts predictable, see
454 * RichTextBox.cs: Using the new NoRecalc property of Document to
455 keep x/y insert locations predictable. Also makes it faster inserting
458 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
460 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
461 it's easier for a child control to handle the other messages without
462 having to duplicate the special functionality
464 - WndProc: Removed calling base handler for WM_KEYDOWN and added
465 code to handle processing the key ourselves, in order to get
466 access to the result of KeyEventArgs.Handled. We now only call
467 ProcessKey if they key hasn't been handled already. Fixes #77526.
468 - set_Text: If null or empty string is given, just clear the
469 document. Fixes part of #77526
471 2006-02-27 Jackson Harper <jackson@ximian.com>
473 * SizeGrip.cs: Paint the background color before painting the grip
474 so things look right.
475 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
477 2006-02-27 Mike Kestner <mkestner@novell.com>
480 - Restructure layout and invalidation model to remove a ton of
481 flicker from the control and speed up performance in general.
482 - Add manual column resize, flickers like crazy, but I already have
483 some ideas on how I'll fix that. (#76822)
484 - Merge the three Icon-based views into a single layout method.
485 - Move item selection interaction logic from the item since
486 interaction with the collections is more appropriate to the view.
487 - Deselection on non-item clicks.
489 - Encapsulate most of the layout. Add some internal props to trigger
490 layout. Move to a model where Items invalidate themselves instead
491 of just invalidating the whole control every time something changes.
492 - Invalidate on Text/Caption changes.
493 - switch to an offset based layout model to avoid having to absolute
494 position every element on item moves.
495 - correct checkbox layout to conform to MS layout.
496 * ThemeWin32Classic.cs:
497 - refactor some column header drawing code.
498 - fix string justification for column headers (#76821)
499 - make SmallIcon labels top justified for compat with MS impl.
500 * ThemeClearlooks.cs:
501 - adjust to new ListViewItem internal checkbox bounds api.
503 2006-02-27 Jackson Harper <jackson@ximian.com>
505 * Control.cs: Change where implicit controls fall in the zorder.
506 They are now on top of all children.
507 - Synced AddImplicit code with Add
508 - Removed unused enumerator.
509 * SizeGrip.cs: Remove the TODO as its been TODONE.
511 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
513 * TextControl.cs(Insert): Combine the last lines unless the insertion
514 string ends with \n\n, otherwise we leave one line too many (Fixes
515 something I noticed with the testapp for #77526; the bug itself was
516 already fixed in the previous checkin)
518 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
521 - SelectionColor and SelectionFont methods no longer set absolute
522 styles. Instead, the keep font or color respectively (This
523 resolves a long-standing FIXME in the code)
524 - When flushing RTF text, the insert code now considers text trailing
525 behind the insertion point (Fixes the bug where when replacing
526 the selected text via SelectedRTF the remainder of the line behind
527 the selection would stay on the first insertion line)
529 - AppendText now updates the selection points after inserting text
530 - AppendText now ensures that the last tag (sometimes 0-length) of
531 the document is used for the style information (Fixes part of
534 - Created new FontDefiniton class to allow describing partial style
536 - StreamLine() now takes a lines argument, to allow it to decide
537 whether an encountered zero-length tag is the last in the document
538 (which must be kept to not loose the font/color contained in it,
540 - Created Combine() and Split() methods for Marker structs, to
541 support marker updates due to reformatted documents (soft line
543 - Implemented Document.CaretTag setter
544 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
545 of the last line (Not the cause, but also exposed by bug #77220)
546 - Added LineTag argument to InsertString method, to allow callers
547 to force a certain tag to be used (required to force use of the
548 trailing zero-length tag of a document)
549 - Now updating markers in Combine(), to avoid stale tag markers
550 - Added some method descriptions to aid maintenance
551 - Implemented new FormatText concept, allowing additive/subtractive
552 formatting by only specifying the components that are to be
553 changed. This was needed for resolving the RTB.SelectedColor/
554 RTB.SelectedFont fixmes
555 - Added Break() support method to allow breaking up linetags (used
556 for partial formatting)
557 - Added GenerateTextFormat() method. It is used for partial
558 formatting and allows to generate a full font/color from given
559 attributes and an existing tag.
561 2006-02-26 Jackson Harper <jackson@ximian.com>
563 * XplatUIX11.cs: Use the correct caption height.
564 - Translate hittest coordinates to screen coords to match MS.
565 * XplatUIWin32.cs: When we create MDI windows we need to reset
566 some of the style flags, so we get a nice blank window, and can
567 draw all the decorations ourselves.
568 - Set a clipping rectangle on the non client paint event, the
569 window manager drawing code needs one.
570 * Form.cs: The window manager needs to know when the window state
572 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
573 don't need to factor in border and title sizes in these
574 methods. TODO: Remove the args and fix the call points.
575 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
577 - Let the driver set the cursors.
578 - Improve active window handling
579 - Correct sizes for title bars and buttons.
580 - Match MS drawing better
581 * MdiWindowManager.cs: We don't need to handle border style
582 updates specially anymore.
583 - Check for scrollbars when windows are done moving
584 - Handle Active properly.
585 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
586 correctly. I am spewing the exception though, so we don't hide the
589 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
591 * DataGridViewRowPostPaintEventArgs.cs,
592 DataGridViewCellPaintingEventArgs.cs,
593 DataGridViewRowCollection.cs,
594 DataGridViewRowPrePaintEventArgs.cs,
595 DataGridViewCell.cs: Clear a few warnings and implement a few
596 exceptions that should be thrown.
598 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
600 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
601 'inheriting' our parent's (non-default) cursor. (Part of
604 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
606 * XplatUIX11.cs: Fixed cast to make csc happy
608 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
610 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
611 it's for the client area (part of fix for #77479 and needed
612 for MDI window cursor handling)
614 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
615 the appropriate default cursors and also passing the message
617 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
620 2006-02-15 Jackson Harper <jackson@ximian.com>
622 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
625 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
627 * X11DesktopColors.cs: Instead of checking the desktop session
628 string for "KDE" check if it starts with "KDE"
630 2006-02-10 Jackson Harper <jackson@ximian.com>
632 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
635 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
637 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
640 - Got rid of the panel. All controls are now directly added to
642 - Changed to mono coding style
644 2006-02-10 Jackson Harper <jackson@ximian.com>
646 * InternalWindowManager.cs: We don't need the set visibility to
647 false hack anymore now that peter has written beautiful shutdown
650 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
652 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
653 where already explicitly destroyed
655 2006-02-10 Jackson Harper <jackson@ximian.com>
657 * MdiClient.cs: Handle the case where windows are too high or to
658 the left and we need scrollbars.
660 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
662 * MimeIcon.cs: Added some icons
665 - Got rid of the panel. All controls are now directly added to
667 - Changed to mono coding style
668 - On Linux "My Computer" and "My Network" will now show some
669 more usefull information. A new class, MasterMount, gathers
670 this information from /proc/mount. Updated MWFFileView to make
671 use of this information
672 - Fixed a bug that caused FileDialog to crash when
673 ".recently_used" file had a zero size
674 - FilterIndex does now what it should
676 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
679 2006-02-09 Jackson Harper <jackson@ximian.com>
681 * ComboBox.cs: Don't touch if null.
683 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
685 * Cursor.cs: 64bit safeness fix
686 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
688 2006-02-09 Jackson Harper <jackson@ximian.com>
690 * Form.cs: If a form is made into an MDI form update the styles so
691 all the props can get set correctly.
692 - Kill the mdi_container when we dont need it anymore.
693 * InternalWindowManager.cs: Add missing NOT
695 2006-02-08 Jackson Harper <jackson@ximian.com>
697 * InternalWindowManager.cs: Respek clipping when drawing MDi
700 2006-02-08 Jackson Harper <jackson@ximian.com>
702 * Hwnd.cs: Add bits to track non client expose events.
703 * XplatUIX11.cs: Track non client expose events on the hwnd. This
704 gives us a proper invalid rect and will allow for some nice
705 optimizations with NC client drawing
706 - MDI windows are children windows, so move their style handling
707 into the child window block.
708 * InternalWindowManager.cs: Remove a state reset that was
709 getting invoked at the wrong time. Fixes managed windows getting
710 into a 'stuck' captured state.
712 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
714 * TextControl.cs (Document.ctor): Now initializing
715 selection_anchor. Fixes #77493
717 2006-02-07 Jackson Harper <jackson@ximian.com>
719 * TrackBar.cs: The increment/decrements were backwards.
721 2006-02-07 Mike Kestner <mkestner@novell.com>
723 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
724 to the instance itself.
726 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
728 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
729 on ulongs and pointers, the size differs between 32bit and 64bit
732 2006-02-07 Mike Kestner <mkestner@novell.com>
734 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
735 for 64 bit platforms to work around a metacity bug.
737 2006-02-07 Jackson Harper <jackson@ximian.com>
739 * TrackBar.cs: Process the input keys we need, and hookup to
740 KeyDown instead of using WndProc, so we get key messages.
742 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
744 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
746 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
747 we need to translate the XdndVersion atoms array before sending it
749 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
752 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
753 number of bits for the property, not the number of bytes. The
754 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
755 but would not crash since it specified 8 bits instead of 4 bits)
756 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
757 defined as XID -> long in the C headers)
758 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
759 references since those are now IntPtr to begin with
760 - Switched all Atom.XXX 'int' casts to IntPtr casts
761 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
762 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
763 - Added XChangeActivePointerGrab DllImport (for X11DnD)
765 - Changed 'int' type for Atoms in XEvent structures to IntPtr
766 - Changed atom in HoverStruct to be IntPtr
768 - Removed local DllImports, switched code to use those from XplatUIX11
769 - Removed/fixed casts related to the switch of Atom to be a IntPtr
771 2006-02-06 Mike Kestner <mkestner@novell.com>
773 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
774 method signatures in the import region. There may still be some
775 lingering struct marshaling issues, as I didn't drill down into those.
778 2006-02-06 Jackson Harper <jackson@ximian.com>
780 * ComboBox.cs: Dont manually set the top_item, this is computed
781 when the scrollbar position is set.
783 2006-02-06 Mike Kestner <mkestner@novell.com>
785 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
786 startup crashes on amd64. There's other fixes needed. All pinvoke
787 usage of Atom needs to be mapped to IntPtr for example. And there are
788 likely other int/long issues to be addressed.
790 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
792 * FileDialog.cs: One more...
794 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
796 * FileDialog.cs: Next try
798 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
800 * FileDialog.cs: First part of fix for #77464
802 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
804 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
805 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
806 AcceptButton border drawing.
808 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
810 * Form.cs: Moved positioning of form after auto scaling is applied,
811 otherwise it would possibly use wrong form size.
813 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
815 * Control.cs (RecreateHandle): No need to re-create any child
816 controls, the child windows will get destroyed automatically by
817 the windowing system or driver, and re-created when the handle
818 is being accessed the first time. Fixes #77456
819 * Form.cs: No longer setting the form to closing if the handle is
820 being recreated. This seems like the right thing to do, don't
821 have a bug or testcase for this, though.
823 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
825 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
826 controls to avoid unwanted side effects
828 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
831 - ScaleCore needs to scale the bounds, not the ClientSize of the
832 control. Fixes #77416.
833 - DefaultSize is 0,0 for control
835 - DefaultSize is 100, 20
836 - SetBoundsCore: Now enforcing the height, no matter if the provided
837 height is more or less than the preferred one, as long as AutoSize
839 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
841 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
844 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
845 call unless both performLayout is true *and* we have a pending
847 - ResumeLayout: MS does not completely nest Suspend and Resume,
848 they bottom out at 0, fixed our code to match that.
849 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
850 SetBoundsCore, we were updating even when we shouldn't. This fixes
851 swf-anchors mis-anchoring when resizing the app fast and lots.
852 - UpdateDistances: Now only setting the left and top distance if
853 we have a parent and are not suspended, this is based on
854 a suggestion by Don Edvaldson in bug #77355.
855 - OnVisibleChanged: Fixed logic when to create the control. We may
856 not create the control if we have no parent or if it's not visible;
857 switched to using Visible property instead of is_visible field
858 since the property also considers parent states. This fixes a bug
859 when starting Paint.Net
861 2006-02-02 Jackson Harper <jackson@ximian.com>
863 * Form.cs: If the forms handle hasn't been created yet don't call
864 into xplatui to make it top most, just set the topmost flag on the
866 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
868 2006-02-01 Jackson Harper <jackson@ximian.com>
870 * ScrollableControl.cs: Refactored the Recalculate method a
871 little, this wasn't handling all the variants of bottom and right
872 bars needed to be added and added/removed based on their
873 counterparts being added/removed (which changes the drawable
874 size). Also we special case client widths and heights of 0 and
875 don't add the scrollbar for those.
877 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
880 - Added method to get AbsoluteGeometry(); currently unused, but might
881 be used in the future, if we try again to figure out toplevel
882 coordinates with some more crappy window managers
883 - Added FrameExtents() method to retrieve the WM set decoration size
884 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
885 to deal with at least KDE, FVWM and metacity (Fixes #77092)
887 - Added whacky_wm tracking var for metacity
888 - Added logic to have default menu height if the actual menu height
889 has not yet been calculated (part of fix for #77426)
890 * Form.cs: Keep track whether client size has been set and re-set
891 it if a menu is added/removed afterwards (Fixes #77426)
893 2006-01-31 Jackson Harper <jackson@ximian.com>
895 * Control.cs: When a new Site is set on the component attempt to
896 pull the AmbientProperties from it.
898 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
900 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
901 in the background of the owning form. Fixes #77332
903 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
905 * MimeIcon.cs: Fix for #77409
907 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
909 * XplatUIX11GTK.cs: Initial import
911 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
913 * FixedSizeTextBox: fixes class signature
915 2006-01-30 Jackson Harper <jackson@ximian.com>
917 * FixedSizeTextBox.cs: New internal class that represents a
918 textBox that will not be scaled.
921 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
924 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
926 * XplatUIX11.cs: Retrieve default screen number instead of
927 assuming 0. Attempted fix for #77318
929 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
932 - GetWindowPos: When a window is parented by FosterParent, use
933 the desktop instead of FosterParent as the base to get coordinates
934 - CreateWindow: Don't make FosterParent the parent window for Popups
935 if we don't want a taskbar entry, Popups automatically don't get one
936 * Hwnd.cs: Need to call remove to actually remove the key from the
939 2006-01-30 Mike Kestner <mkestner@novell.com>
941 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
943 2006-01-30 Jackson Harper <jackson@ximian.com>
946 * TreeNode.cs: Raise events no matter how the treenode is
947 checked. Patch by Don Edvalson.
949 2006-01-30 Jackson Harper <jackson@ximian.com>
951 * TreeNode.cs: Signature fix.
953 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
955 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
957 2006-01-20 Mike Kestner <mkestner@novell.com>
959 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
960 event forwarding when menus are active.
961 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
962 Most of the patch is pdb's with a little rework.
964 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
966 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
967 Removed GetMenuDC and ReleaseMenuDC methods; replaced
968 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
969 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
970 * InternalWindowManager.cs: Added use of PaintEventStart/End to
971 handling of WM_NCPAINT message, now passing the PaintEventArgs to
972 the PaintWindowDecorations method
973 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
974 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
975 * MenuAPI.cs: Made tracker window invisible
977 - Removed GetMenuDC and ReleaseMenuDC methods
978 - Implemented the client=false path for PaintEventStart and
981 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
983 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
984 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
987 - MaximizeBox, MinimizeBox: Recreate the handle when setting
989 - CreateParams: Reworked the styles to match MS look'n'feel,
990 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
991 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
993 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
995 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
996 window is not mapped, since otherwise every form that's being
997 created is considered minimized, which is wrong.
998 * Form.cs: Catching the exception and returning our internal value
1001 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1003 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1004 SetWindowMinMax() to have means to tell the driver about the minimum,
1005 maximum and maximized state window sizes. (Part of the fix for #76485)
1007 - Implemented tracking of minimum and maximum window size, now calling
1008 new SetWindowMinMax() driver method to tell the driver (Part of the
1010 - Finished handling of WM_GETMINMAXINFO method, now setting all values
1011 (Completes fix for #76485)
1012 - Calling new SetWindowMinMax driver method when the handle for a
1013 form is created, to make sure the driver knows about it even if
1014 the values have been set before the window was created
1015 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1016 to avoid messing up our anchoring calculations (partial fix
1018 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1020 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1021 - Improved GetWindowState() to detect 'Minimized' state on Metacity
1022 (and presumably other freedesktop.org compliant WMs). Left the
1023 assumption unmapped=minimized, needed for SetVisible to work.
1024 - Now setting the window state when creating windows
1025 - Fixed SetVisible to consider/set the window state when mapping
1026 a Form. We cannot set the state before it's mapped, and we cannot
1027 use Form.WindowState once it's mapped (since it would ask the
1028 driver and get 'normal'. Therefore, we grab the state before
1029 mapping, map, and then set state.
1030 - Implmemented SetWindowMinMax method; Metacity does not seem to
1031 honor the ZoomHints, though.
1033 - Removed MINMAXINFO (moved to XplatUIStructs)
1034 - Added SetWindowMinMax stub (on Win32 the only way to set that
1035 information is in response to the WM_GETMINMAXINFO message, which
1036 is handled in Form.cs)
1037 - Added logic to SetVisible to set the proper window state when a
1038 form is made visible (fixes #75720)
1040 2006-01-26 Jackson Harper <jackson@ximian.com>
1042 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1043 same way we handle them with Invoke.
1045 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
1048 - Added tracking of window state so CreateParams can return
1049 the appropriate style
1050 - Moved setting of WS_CAPTION style in CreateParams to allow
1051 styles without caption
1052 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
1053 control if the TextBox property is accessed. Fixes #77345
1055 - get_Created: now uses is_disposed and is_created to determine
1056 return value (suggested by Jackson)
1057 - CreateHandle: No longer exits if the handle is being recreated
1058 - RecreateHandle: If the handle is not yet created call the
1059 appropriate method to create either control or handle. If the
1060 control is already created CreateHandle will simply exit instead
1061 of just creating the handle
1062 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1063 now SendMessage WM_DESTROY directly to the control when DestroyWindow
1066 - When DestroyWindow is called, instead of waiting for the
1067 DestroyNotification from X11, we directly post it to the WndProc
1068 and immediately dispose the hwnd object.
1069 Same applies to DestroyChildWindows, and this obsoletes the
1070 expose_pending tracking. Contrary to Win32 behaviour we destroy our
1071 child windows before our own, to avoid X11 errors.
1072 - Removed the direct sending of WM_PAINT on UpdateWindow
1074 - Reworked DoEvents and GetMessage to allow access to internal queue
1075 even when trying non-blocking access to the queue. Fixes #77335.
1076 Based on a patch suggestion by Don Edvalson. The new private
1077 GetMessage can now also be used as a backend for a PeekMessage
1079 * XplatUI.cs: Improved debug output for CreateWindow
1081 2006-01-25 Jackson Harper <jackson@ximian.com>
1083 * Help.cs: Allow param to be null. Patch by Don Edvalson.
1085 2006-01-24 Jackson Harper <jackson@ximian.com>
1087 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1088 when we have a MaxDropItems lower then the selected index.
1090 2006-01-24 Jackson Harper <jackson@ximian.com>
1092 * Control.cs: Don't allow selection of non visible controls, allow
1093 selection of controls without parents.
1095 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1097 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1098 * DataGridDrawingLogic.cs: Add editing row only when is necessary
1100 2006-01-23 Jackson Harper <jackson@ximian.com>
1102 * UpDownBase.cs: Make the textbox handle all the selection and
1103 tabbing. This fixes tabing to updown controls.
1105 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1107 * TextBoxBase.cs: fixes exception thown the object was null
1109 2006-01-23 Jackson Harper <jackson@ximian.com>
1111 * ButtonBase.cs: Just use the base CreateParams. They set
1112 visibility and enabled correctly.
1115 * MonthCalendar.cs: Lets let the base set as much of the
1116 createparams as possible so we don't have duplicate code all over
1119 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
1121 * ThemeGtk.cs: Added TrackBar and some experimental code to
1122 get double buffering back
1124 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
1126 * DataGrid.cs: Allows row number set internally higher than the last
1127 when creating a new row. Restores the editing functionality.
1129 2006-01-20 Mike Kestner <mkestner@novell.com>
1131 * MimeIcon.cs: delay Image creation until the icons are accessed
1132 instead of creating 190 scaled images on GnomeHandler startup.
1134 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1136 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1137 first call base before processing the event. Fixes #77279
1139 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1141 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1142 that the stride for the GDI bitmap would match the stride of
1145 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
1147 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1149 2006-01-19 Jackson Harper <jackson@ximian.com>
1151 * ComboBox.cs: Hookup the text controls keydown event so we get
1152 those when the text control has the focus.
1154 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1156 * Label.cs: Now using the base events instead of defining new ones;
1157 this allows us to just call the base properties without having to
1158 duplicate all base property logic
1160 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1162 * Label.cs: A label by default is not a tabstop (Fixes one of our
1163 failing nunit tests)
1165 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1167 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1168 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1170 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1172 * Cursor.cs: Reimplemented creating cursor bitmaps without using
1173 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1176 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
1177 constructor creates images that can't be saved. Part of the fix
1179 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1180 - SetWindowState: Switched ShowWindow flags (part of an upcoming
1181 bug fix for handling window state in forms properly)
1183 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1185 * ThemeGtk.cs: Simplify ScrollBar drawing
1187 2006-01-18 Jackson Harper <jackson@ximian.com>
1189 * Splitter.cs: Set the default dock style for the splitter control
1192 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1194 * ThemeGtk.cs: Corrected StateType and ShadowType for
1197 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1199 * Control.cs: Make use of Theme.DoubleBufferingSupported
1201 - Added drawing for flat style buttons
1202 - Added ScrollBar drawing
1204 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1206 * ThemeClearlooks.cs: Removed some unneeded code.
1207 * ThemeGtk.cs: First part of ThemeGtk enhancements.
1209 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1211 * LinkLabel.cs: We need to update the hover drawing when
1212 leaving the control as well.
1214 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
1216 * DataGrid.cs: Clicking on non empty areas in the columns
1217 area was giving an exception
1219 2006-01-17 Jackson Harper <jackson@ximian.com>
1221 * ThemeWin32Classic.cs:
1222 * ListView.cs: Do not draw/clip the headers when the header style
1225 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1227 * DataGrid.cs: Fixes 77260
1229 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1231 * DataGrid.cs: Clicking on a column on a empty grid was giving
1234 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1236 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
1237 or any keypress will crash the grid.
1239 2006-01-17 Mike Kestner <mkestner@novell.com>
1241 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
1242 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
1243 invisible/previously-visible items.
1246 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
1248 * ThemeClearlooks.cs:
1249 - Added CL_Draw_Button method; now other theme controls that are
1250 not derived from button or do not have a button can draw buttons
1252 - Updated ComboBox drawing
1253 - Beautified RadioButton drawing
1254 - Corrected drawing of bottom and left tabs
1255 - Beautified DateTimePicker and MonthCalendar
1256 - Added CPDrawButton and CPDrawRadioButton
1258 2006-01-16 Jackson Harper <jackson@ximian.com>
1260 * ComboBox.cs: Set the initial value of the scrollbar to the
1261 current index. Reduce the numbers of refreshs and IndexOfs called.
1263 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
1265 * FileDialog.cs: When the file listview is focused hitting the
1266 backspace key moves the fileview to the parent directory
1268 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1271 - Added RecreateHandle call when changing taskbar visibility to
1272 trigger reparenting in Win32 driver (Fixes #75719)
1273 - If a window has minimize or maximize buttons, it cannot have
1276 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
1277 the toplevel form with FosterParent (A toolwindow not on the
1278 taskbar) (Fixes #75719)
1279 - Made FosterParent a toolwindow
1281 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1283 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
1285 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1287 * ToolTip.cs: If SetToolTip is called from a control and the mouse
1288 is currently over that control, make sure that tooltip_window.Text
1291 2006-01-13 Mike Kestner <mkestner@novell.com>
1293 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1295 2006-01-13 Jackson Harper <jackson@ximian.com>
1297 * TreeView.cs: On MS GetNodeAt never actually factors in the X
1298 value passed. Also redraw the selected node when we recieve
1299 focus, so tabbing between trees works correctly.
1301 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1303 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1304 ~/.gconf/%gconf-tree.xml, so use
1305 .gconf/desktop/gnome/interface/%gconf.xml
1307 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1309 * TextControl.cs: Draw text in gray if control is disabled
1311 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1313 * TreeView.cs: Draw the focus rectangle outside the highlight, to
1314 make sure it's always visible. Fixes #76680.
1316 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1318 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1320 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
1322 * PageSetupDialog.cs: Added.
1323 * PrintDialog.cs: Attributes.
1324 * PrintPreviewControl.cs: Updates.
1325 * PrintPreviewDialog.cs: Updates.
1327 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1329 * Control.cs: Undid my selection check fix, since it's not needed
1331 - Now considering the presence of hscroll/vscroll when sizing
1332 vscroll/hscroll respectively. Fixed bug #77077
1333 - Added Left/Up/Down/Right to IsInputKey list to prevent
1334 ContainerControl from stealing them. This fixes what I broke
1335 with my last checkin.
1337 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1339 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1340 I finally understand how the property can be set without a setter :-)
1342 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1345 - Switched RunLoop to use static Message.Create to create a
1347 - Added PreProcessMessage call in runloop for keyboard events; this
1348 is part of the fix for #77219, I overlooked this originally in the
1349 MSDN doc for PreProcessMessage
1351 - Removed call to PreProcessMessage from handling of keyboard
1352 messages; it's supposed to be done in the message pump
1353 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1354 per MSDN documentation.
1355 - IsInputChar: All chars are input chars by default; removed the
1356 parent calling chain, MS does not document that
1357 - PreProcessMessage: If IsInputChar is true, we want to return false
1358 to allow dispatching of the message
1359 - When selecting the next control, now also check that we're not
1360 selecting ourselves again and therefore return a false positive.
1362 - Tried to match return values for IsInputKey and ProcessDialogKey
1363 to what MS returns; moved processing of our special keys outside
1364 ProcessDialogKey since MS does not seem to return true on those.
1365 - Moved code that previously was in ProcessDialogKey into new private
1366 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1367 - Reworked handling of WM_CHAR to not have to duplicate code from
1368 Control.cs anymore, instead we simply call down to base.
1370 2006-01-12 Jackson Harper <jackson@ximian.com>
1372 * ComboBox.cs: We always need to refresh the text area when
1373 EndUpdate is called. Fixes the combobox in the file dialog.
1374 * Control.cs: Don't create the creator_thread until the controls
1375 handle is created. Also in InvokeRequired we check if the
1376 creator_thread is null. This gives the effect of InvokeRequired
1377 returning true if the controls handle is not created yet, and
1380 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1383 - Added StartLoop() driver method. This is used to allow drivers to
1384 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1385 loop for a particular thread
1386 - Added EndLoop() driver method. This is called once the message
1387 pump for the thread is shut down
1388 - Added SupportsTransparency method to allow the driver to indicate
1389 opacity support for windows
1391 - Removed TODO attribute, completed AllowTransparency property
1392 - Added documented logic to Opacity
1393 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1394 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1395 versions of CompatibleTextRendering
1396 * X11Structs.cs: Added opacity atom to our atom enumeration
1397 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1398 of a form might be set before it's reparented by the WM, and we need
1399 the opacity value without calling up to Form)
1400 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
1401 SupportsTransparency() driver methods
1402 * Application.cs: Now calling StartLoop and EndLoop driver methods
1404 - Added opacity atom registration
1405 - Added StartLoop()/EndLoop() methods. They're empty right now but
1406 will need to get implemented when we switch to a per-thread queue
1407 - Implemented SupportsTransparency() method
1408 - Implemented SetWindowTransparency() method
1409 - Added support for setting the opacity value when a window is
1410 reparented (since the opacity needs to be set on the WM frame)
1411 * XplatUIOSX.cs, XplatUIWin32.cs:
1412 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1414 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1416 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1418 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1420 * FileDialog.cs: Added ToolTip for MWFFileView
1421 * MimeIcon.cs: Rewrote GnomeHandler.
1422 - Get currently used gnome icon theme from
1423 ($HOME)/.gconf/%gconf-tree.xml
1424 - Make use of inherited icon themes
1425 - Support SVG icon themes like Tango via librsvg
1427 2006-01-12 Miguel de Icaza <miguel@novell.com>
1429 Revert's Jackson's revert which broke 2.0 builds. Fix both
1432 * Application.cs: Move the use_compatible_text_rendering outside
1433 the NET_2_0 define. If we ever need to use the
1434 use_compatible_text_rendering on the individual controls they will
1435 access the variable from the common shared code paths.
1437 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1440 - Added more granular debug options
1441 - Added method to print both window text and id
1442 - Switched debug output to use new Window() debug method
1443 - Added IsEnabled() driver method
1444 - Added EnableWindow() driver method
1446 - Removed end_modal; no longer needed, new loop handles termination
1447 via 'closing' variable
1448 - If form is modal, setting DialogResult will now initiate loop
1449 termination via 'closing' variable
1450 - Added support for is_enabled/WS_DISABLED to CreateParams
1451 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
1453 - Removed code that's now in RunLoop from ShowDialog()
1454 - Added various documented sanity checks to ShowDialog()
1455 - Added handling of WM_DESTROY message; we set 'closing' on getting
1456 the message to indicate the message pump to terminate
1457 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
1458 send by the Application.ExitThread method. (We send the message
1459 to destroy the window after all other events have been
1460 processed through the queue, instead of destroying the handle
1462 - Moved code from Close() method to WM_CLOSE handler; added logic
1463 to only send close-related events if the form is not displayed
1465 * Splitter.cs (..ctor): Fixed typo in resource name
1467 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
1469 - set_Cursor: Now only setting calling into XplatUI if the handle for
1470 the control is already created; this avoids implict handle creation
1471 or crashes if it's not created
1472 - set_Enabled: Now setting the enabled state via the new driver method
1473 instead of just tracking it
1474 - CreateParams: Added logic to set WS_DISABLED based on enabled state
1475 - CreateControl: Reordered event firing and method calls to more
1476 closely fire events in the order MS does. Now setting the
1477 enabled state in the driver when creating the control.
1478 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
1480 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
1481 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
1482 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
1484 - Added tracking of window enabled state (get_Enabled/set_Enabled)
1485 - Added EnabledHwnd property to easily allow a driver to find the
1486 handle of the first enabled window in the parent chain (this is
1487 used by drivers to pass up input events of disabled windows)
1488 * XplatUIDriver.cs: Added IsEnabled() method
1490 - Removed crude and obsolete exiting tracking variable
1491 - Removed internal ModalRun(); replaced by RunLoop()
1492 - Implemented private CloseForms() method to allow closing all
1493 windows owned by a particular (or all) threads
1494 - Exit() now properly closes all windows without forcing the message
1496 - Removed obsolete InternalExit() method
1497 - Changed Run() methods to use new RunLoop() message pump
1498 - Implemented new RunLoop() method for both modal and non-modal forms
1500 - get_CreateParams: Added setting of WS_DISABLED
1501 - Simplified ShowDialog(); now all the work is done in RunLoop(),
1502 invoked via Form.ShowDialog()
1503 * NativeWindow.cs: We don't remove the window from the collection when
1504 the handle is destroyed; there might still be messages for it in the
1505 queue (mainly the resulting WM_DESTROY); instead it will be removed
1506 when Control calls InvalidateHandle in the WM_DESTROY handler
1508 - CreateWindow: Added logic to handle the WS_DISABLED window style
1509 - EnableWindow: Implemented based on Hwnd.Enabled
1510 - GetMessage: Reset PostQuitState so the method can be called again
1511 - Implemented support for disabled windows (passing messages to the
1512 first enabled parent) in handling all input messages
1513 - Added optimizations for handling Expose events
1514 - Implemeted new driver method IsEnabled()
1515 - Now always resetting paint pending tracking vars when we start paint
1516 - Re-implemented UpdateWindow via just sending a WM_PAINT message
1517 * XplatUIOSX.cs: Added IsEnabled method stub
1518 * XplatUIWin32.cs: Implemented new IsEnabled() method
1520 2006-01-11 Jackson Harper <jackson@ximian.com>
1522 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1523 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
1525 * ColorDialog.cs: Clear out the old form before adding the new
1528 2006-01-11 Jackson Harper <jackson@ximian.com>
1530 * X11Dnd.cs: Make sure to add all the text formats when adding
1531 strings to the data object.
1532 * TreeNodeCollection.cs: When adding to a sorted tree we need to
1533 do some redrawing too. Also change the UpdateNode to an
1534 UpdateBelow so the newly added node gets painted.
1536 2006-01-11 Miguel de Icaza <miguel@novell.com>
1538 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1539 LinkLabel.cs, PropertyGrid.cs: Implement the
1540 UseCompatibleTextRendering property for 2.x
1542 * Application.cs (SetCompatibleTextRenderingDefault): Add.
1544 2006-01-11 Jackson Harper <jackson@ximian.com>
1546 * TreeView.cs: Use the property for setting the selected node so
1547 the correct events get raised.
1548 * TreeNode.cs: Update the tree when the fore/back colours of a
1551 2006-01-10 Jackson Harper <jackson@ximian.com>
1553 * TreeView.cs: Allow setting SelectedNode to null.
1555 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1557 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
1559 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1561 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
1563 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1565 * PrintDialog.cs: Added attributes and set default property values.
1567 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1569 * PrintControllerWithStatusDialog.cs:
1570 Added PrintControllerWithStatusDialog.
1572 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1574 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
1575 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
1577 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1579 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
1581 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
1583 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
1584 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
1586 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1588 * MimeIcon.cs: Added internal class SVGUtil.
1590 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1592 * FileDialog.cs: Don't crash if there are two files with the
1593 same name but different locations.
1595 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
1597 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
1598 dates across multiple month grids. Used to not highlight entire
1599 month, but does now.
1601 2006-01-06 Jackson Harper <jackson@ximian.com>
1603 * MonthCalendar.cs: Removed DoEvents call to prevent a running
1604 message loop. Change timer intervals to numbers that seem more
1607 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
1609 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
1610 object for location info since screen object is now implemented.
1612 2006-01-05 Jackson Harper <jackson@ximian.com>
1614 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
1615 * AsyncMethodResult.cs: We no longer use a WeakReference for the
1616 AsyncMethodResult, this is because we ALWAYS want the
1617 ManualResetEvent to get set.
1618 * Control.cs: When disposing use an async invoke to call shutdown
1619 code, so that thigns don't block on the finalizer thread. Also
1620 check if we even have a message loop before trying to send
1621 messages, if we don't then don't bother sending messages.
1622 - No more weak references for async methods
1623 * XplatUIDriver.cs: No more weak references for async methods.
1625 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1627 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
1628 returns two FontFamily with the same name
1630 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1632 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
1633 drawing disabled text. Instead using the ColorGrayText color
1635 2006-01-04 Jackson Harper <jackson@ximian.com>
1637 * TreeNode.cs: redraw the node when its image index is changed.
1639 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1641 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
1642 time I checked there are no others like it.
1644 2006-01-04 Jackson Harper <jackson@ximian.com>
1646 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
1647 this gives the behavoir I was looking for.
1648 * Control.cs: Special case Invoking EventHandlers, this matches MS
1649 and fixes part of bug #76326.
1651 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1653 * ThemeClearlooks.cs, FileDialog.cs:
1654 - Reflect the latest Theme class changes
1655 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
1658 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1660 * Theme.cs: Cache UI resource images and resize them if needed
1662 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1664 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
1665 is called. This fixes the crash in Nexxia when setting the font
1666 attributes in the chat. [However, RTF needs a look-over to make sure
1667 that all SelectionXXX methods handle the special case that selection
1668 is empty and therefore the change must be applied to all text starting
1669 at the cursor/selection start]
1671 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1673 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1674 XplatUIOSX.cs: Added SendMessage and PostMessage methods
1675 * X11Keyboard.cs: Switched to new way of calling PostMessage
1677 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1679 * Theme.cs: Added theme interface for images to allow the theme to
1680 control what images are used for things like FileDialog, MessageBox
1682 * MessageBox.cs: Now uses the new Theme icon/image interfaces
1684 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
1687 - Removed some dead code
1688 - Opening a recently used file does work now
1689 - Small UI enhancements
1692 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1694 * FileDialog.cs: Forgot too add __MonoCS__
1696 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1698 * FileDialog.cs: We are able to read recently used files now let's
1699 go on and write them.
1701 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
1703 * FileDialog.cs: Breathe some life into "last open"/"recently used"
1705 * MimeIcon.cs: Do a check for the top level media type also
1707 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1709 * ThemeClearlooks.cs:
1710 - Added CPDrawStringDisabled
1711 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
1712 some chars if the text doesn't fit into text_rect
1713 - DrawListViewItem: If View = View.LargeIcon center the image;
1714 rewrote the drawing of ListViewItem.Text if View =
1717 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1719 * MimeIcon.cs: Use default KDE icon theme if there is no
1720 "48x48" directory for the current icon theme, fixes #77114
1721 * Mime.cs: Disable not working and actually not used code.
1722 * ThemeWin32Classic.cs:
1723 - Replace "new SolidBrush" in GetControlBackBrush and
1724 GetControlForeBrush with ResPool.GetSolidBrush
1725 - Changed DrawListViewItem from private to protected virtual
1727 - Added form.MaximizeBox = true
1728 - Don't throw an exception if there is a broken symbolic link
1730 2005-12-23 Jackson Harper <jackson@ximian.com>
1732 * TabControl.cs: Give the panels focus, keyboard navigation is
1733 fixed so this works correctly now.
1734 - We need these key events also.
1735 * ToolBar.cs: Remove some of the poor mans double buffering.
1737 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
1739 * ComboBox.cs: The internal TextBox now returns the focus.
1741 2005-12-23 Jackson Harper <jackson@ximian.com>
1743 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
1745 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1747 * Control.cs: Removed debug code
1748 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
1751 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1753 * Control.cs: When creating the control, update the Z-order after
1754 all it's children are created, too. (Fixes nexxia not showing
1757 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1759 * Control.cs: Do not update the anchoring distances if layout is
1760 suspended, instead do it once layout is resumed
1762 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1765 - After many hours of debugging, for both Jackson and
1766 myself, it turns out that it helps to set the parent of a control
1767 if you want to actually see it onscreen. In the spirit of that
1768 discovery, we're now setting the parent of the control and
1769 it's children when the control's handle is created. This fix
1770 will make Lutz Roeder's Reflector run happily.
1771 - now just creating the handle instead of the whole control when
1772 getting a graphics context for the control.
1774 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1776 * ScrollableControl.cs: When calculating the canvas, don't consider
1777 the scrollbar widths. Instead, predict if horizontal scrollbar
1778 will affect canvas when deciding on vertical display and vice versa.
1780 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1782 * RichTextBox.cs: Set default RTF font for documents that don't
1783 have a font table (Fixes #77076)
1785 2005-12-22 Jackson Harper <jackson@ximian.com>
1787 * TextBoxBase.cs: It's difficult to do, but you can have an empty
1788 clipboard. This prevents a NullRef in that case.
1789 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
1790 clipboard. PRIMARY is for the currently selected text only. (We
1791 should implement PRIMARY at some point.
1793 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1795 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
1796 a Unicode function with a structure that was defined in Ansi way.
1799 2005-12-21 Jackson Harper <jackson@ximian.com>
1801 * StatusBar.cs: Statusbar handles its fore/back colours on it's
1802 on. Because thats how it rolls. (and this avoids it using ambient
1804 * ThemeWin32Classic.cs: Use the proper back color for filling.
1805 * Menu.cs: Use the system menu bar color for drawing menu
1806 bars. Using the window back color will bring ambient colours into
1809 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
1811 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
1812 Bitmaps were created and not disposed.
1814 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1816 * Control.cs (CreateControl): Don't do anything if the control is
1817 already created, otherwise we'd fire the OnCreated event more than
1820 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1822 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
1823 will always match. Instead return -1. Fixes #76464.
1825 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1827 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
1828 neither the beginning nor the end of the line (Fixes bug #76479)
1830 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1833 - ControlNativeWindow.ControlFromHandle(): Now handling situation
1834 where handle is invalid
1835 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
1836 instead of slower linear search
1837 * NativeWindow.cs: Don't remove the window from the hashtable until
1838 after the driver has destroyed it (since the driver might use
1839 Control.FromHandle to lookup the control object
1840 * Hwnd.cs: Added DestroyPending property to track if a window is
1841 already destroyed as far as the driver is concerned and only hasn't
1842 yet notified the control
1844 - Activate(): Check if the window is still valid before using the
1846 - Implemented DestroyChildWindow() method to mark child windows as
1847 destroyed when a window is destroyed. This prevents situations
1848 where we might call an X method based on queued events for a
1849 window that already has been destroyed but we haven't yet pulled
1850 the destroy method from the queue.
1851 - Added a call to the new DestroyChildWindow() method to the drivers
1852 DestroyWindow code. Also now marking the destroyed window itself
1855 2005-12-20 Jackson Harper <jackson@ximian.com>
1858 * StatusBarPanel.cs: Don't calculate panel sizes on draw
1859 anymore. Just do them when needed, also track the rects of panels
1860 so that we can optimize refreshing more in the future.
1862 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
1864 * ColorDialog.cs: Fixed focus drawing in small color controls
1866 2005-12-19 Jackson Harper <jackson@ximian.com>
1868 * InternalWindowManager.cs:
1869 * MdiWindowManager.cs: Cleanup some coordinate system changes so
1870 moving windows works properly.
1872 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
1875 - Removed call to InitLayout() from SetBoundsCore(); doc says
1876 it's only called when a control is added to a container
1877 - Split InitLayout logic, moved to separate UpdateDistances() method
1878 since we need to perform those calculations more often than just
1879 when adding the control to a container. (Needed to fix #77022)
1880 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
1881 - Reduced the OnBindingContextChanged events count, don't send them
1882 unless the control is created, we still aren't totally matching
1883 MS, but I can't quite figure out some of their rules
1885 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1887 * ThemeClearlooks.cs: Corrected distance between ProgressBar
1890 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1892 * ThemeClearlooks.cs:
1893 - Updated ProgressBar drawing
1894 - Corrected drawing of ScrollBars and scroll buttons
1895 - Some temporary fixes for minor pixel artefacts
1897 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
1900 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
1901 cause events to be sent in the same order as MS does.
1902 - Added ChangeParent() method to trigger various OnXXXChanged events
1903 that need to be fired when a parent changes (This is a reworking
1904 of the patch from r54254, with the X11 errors fixed)
1905 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
1906 since on MS we get OnLayoutChanged events when calling Clear()
1907 - Changed Enabled property to consider parent state as well, if a
1908 parent is not enabled, the control will not be either
1909 - Changed Parent property to simply call Controls.Add() since that
1910 now does all the work required, this way we avoid code duplication
1911 - Threw in a few OnBindingsContextChanged calls to try and match
1912 when MS sends them. We seem to send a few too many, though.
1913 - Added call to CreateControl when adding the control to a parent.
1914 We were never calling CreateControl. Still needs some work, in
1915 some places we treat HandleCreated and ControlCreated as equal,
1917 - Removed obsolete commented out code from UpdateZOrder()
1919 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1921 * ThemeClearlooks.cs: Updated TrackBar drawing.
1923 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1925 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
1927 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1929 * FileDialog.cs: Add the Help button and the open readonly
1930 checkbox only if needed
1932 2005-12-16 Jackson Harper <jackson@ximian.com>
1934 * Control.cs: Make sure we have an active menu before trying to
1935 process commands on it. Prevents menu-less forms from crashing
1936 when Alt is pressed.
1937 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
1939 * RichTextBox.cs: Expand statement to help out gmcs and fix the
1942 2005-12-16 Jackson Harper <jackson@ximian.com>
1944 * InternalWindowManager.cs: Don't translate tool windows screen
1945 coordinates. This fixes windows 'bouncing' around when being moved.
1947 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1950 - MaxLength now treats 2^31-1 equal to unlimited length (this is
1951 not quite MS compatible, MS uses that number only for single line
1952 and 2^32-1 for multi-line, but I figure it won't hurt keeping
1954 - Now enforcing the MaxLength limit when entering characters
1955 - Added argument to internal Paste() method to track if it's called
1956 from programatically or via keyboard, since keyboard driven pastes
1957 need to enforce max-length
1958 - Added logic to Paste to only paste as many chars as MaxLength
1960 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
1962 - Added Length property to return number of characters in document
1963 - Added private CharCount property which only tracks actual chars
1964 in the document (no linefeeds) and fires event when CharCount
1966 - Added tracking of character count to all methods that alter it
1967 - Added LengthChanged event to allow applications to subscribe
1968 to any changes to the document
1970 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1973 - Removed local password_char field (moved to TextBoxBase)
1974 - Now setting the document's password var when password is
1977 - Added password_char field (needed here so MultiLine can
1979 - Added logic to MultiLine property setter to set the document's
1980 variable when password display is allowed
1981 - Removed debug code and made some debug code conditional
1983 - Added RecalculatePasswordLine() method to handle special password
1985 - Added PasswordChar property, also added related tracking vars
1986 - Draw() method now uses local text var for grabbing text to draw,
1987 this var is set to line.text unless we're doing password display,
1988 then it is set to the pre-generated all-password-chars line
1989 - Added calling RecalculatePasswordLine() method for password lines
1991 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
1994 - Added Reparented property to allow tracking of Window Manager
1995 reparenting actions (which affect X/Y calculations of toplevel
1997 - Made ToString() print window handles in hex
1999 - AddConfigureNotify(): Now uses reparented state off Hwnd to
2000 determine if X/Y needs offsetting
2001 - AddConfigureNotify(): Fixed offset calculations
2002 - Now adds ReparentNotify messages into the queue
2003 - Now processes ReparentNotify messages and causes a
2004 WM_WINDOWPOSCHANGED message to be sent upstream if a window
2005 is reparented (as most likely it's X/Y coordinates are changed
2008 2005-12-14 Jackson Harper <jackson@ximian.com>
2010 * XplatUIX11.cs: Tool windows still need to respek focus.
2012 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2014 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2015 have a working release
2017 2005-12-13 Jackson Harper <jackson@ximian.com>
2019 * Form.cs: Update styles after setting the border style regardless
2020 of whether or not the window is using a window manager.
2022 2005-12-13 Jackson Harper <jackson@ximian.com>
2024 * Form.cs: We now hook into an internal window manager instead of just an
2025 MDI subsystem, this is so we can have properly behaving tool windows.
2026 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2027 * InternalWindowManager.cs: New internal class that acts as a
2028 window manager for tool windows and as a base for mdi windows.
2029 * MdiWindowManager.cs: New class that acts as a window manager for
2032 2005-12-12 Jackson Harper <jackson@ximian.com>
2034 * Control.cs: Updates so we match behavoir for for implicit
2035 controls. Fixes explosions in MDI.
2037 2005-12-12 Jackson Harper <jackson@ximian.com>
2039 * Control.cs: Implement Invalidate (Region).
2041 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
2044 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
2045 the same events as MS does. MS fires events for each property
2046 except, for unknown reasons, Cursor, when the control is reparented.
2047 I can't seem to totally match add/remove since MS also fires some
2048 VisibleChanged events, which makes no sense. Consolidated the
2049 parenting code into a separate method so it can be called from
2050 both Add and Remove. set_Parent no longer needs any special logic
2051 as it calls the parent's add method which implicitly fires
2053 - Removed some obsolete code and debug output
2054 - Enabled state is inherited from parents, if this is enabled
2056 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2058 * Form.cs: Removed commented out code
2060 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2063 - Added internal version of Invoke, with additional argument
2064 indicating if we're calling it from a Dispose() handler. That
2065 way we can avoid BeginInvoke throwing an exception if we're
2066 calling for an already destroyed window.
2067 - Added a dispose argument to BeginInvokeInternal, and made the
2068 check if a valid window handle chain exists conditional on
2069 it not being a dispose call
2070 - Removed code in DestroyHandle to destroy our children. Since we
2071 now handle the WM_DESTROY message we will catch all our children
2073 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2075 - Added a field to track the application context of the form.
2076 - No need to set closing variable as response to WM_CLOSE, instead
2077 we destroy the window. We also call PostQuitMessage if the form
2078 has an application context (which makes it the main app form,
2079 which, when closed terminates the app)
2081 - Dropped Exit() method, it's naming was confusing
2082 - Added PostQuitMessage() which causes GetMessage to return false
2083 once the message queue is empty
2084 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
2086 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2087 no longer a valid XplatUI method, but left it in since it's used
2088 internally. Added empty PostQuitMessage() method.
2089 * MenuAPI.cs: Replaced call to Exit() with call to
2090 PostQuitMessage, even though this is probably no longer needed.
2091 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2092 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2094 - Replaced call to XplatUI.Exit() with PostQuitMessage()
2095 - Removed old debug code that would call XplatUI for exception
2096 display, enabled standard exception handling (Still not enabled
2097 though, until NativeWindow's ExternalExceptionHandler define
2100 - Added internal method to allow control to update NativeWindow
2101 after a window has been destroyed
2102 - Added handling of already destroyed windows when calling i
2104 - Added removal of handle from list on ReleaseHandle
2106 - Dropped GetMessageResult var and related code
2107 - Added PostQuitState to field to track if PostQuitMessage has been
2109 - Dropped Exit() method
2110 - Added PostQuitMessage() method
2111 - GetMessage now will return false if PostQuitState is set and no
2112 more messages are in the queue.
2113 - Expose handler will no longer generate WM_PAINT messages if we are
2114 in PostQuitState since it's very likely any windows have already
2115 been destroyed, and since Hwnd won't get updated until we have
2116 processed the DestroyNotify we'd be causing X errors.
2118 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2120 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2121 Thanks to Mike for pointing out the err of my ways.
2123 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2125 * Control.cs(PreProcessMessage): Moved menu handling back, but
2126 after all other key handling, to match MS (who handles Menu in
2128 * Menu.cs (WndProc): Removed my brainfart
2130 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2132 * Control.cs(PreProcessMessage): Removed special menu handling
2133 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2135 2005-12-07 Mike Kestner <mkestner@novell.com>
2137 * Control.cs : special case SYSKEYUP so that we can adjust keynav
2138 state according in tracker.
2139 * Menu.cs : promote tracker field to base class and provide a tracker
2140 lookup capability. Add/Remove shortcuts dynamically if the top menu
2141 has a tracker. Unparent items that are removed from the collection.
2142 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2143 * Theme*.cs: add always_show_hotkeys field to support configurability
2144 of mnemonic display. win32 doesn't show mnemonics until Alt is
2147 2005-12-07 Jackson Harper <jackson@ximian.com>
2149 * MdiChildContext.cs: Use Control.ResetCursor.
2150 * Control.cs: ResetCursor needs to set the property so that the
2151 correct XplatUI call gets made.
2153 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2155 * Control.cs: More fixes to make our key events match MS. We
2156 were not setting the modifier state on KeyData, and we were
2157 not generating any events when Alt was pressed with a key
2158 since handling of WM_SYSxxx was missing for the OnKey methods.
2160 2005-12-07 Jackson Harper <jackson@ximian.com>
2162 * MdiChildContext.cs: reenable the sizing code.
2163 - When the mouse leaves a window reset its cursor.
2165 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2167 * ThemeClearlooks.cs: Reflect latest Hwnd changes
2169 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2171 * Hwnd.cs: Now using the theme 3d bordersize to calculate
2172 widths of Fixed3D borders
2174 2005-12-07 Jackson Harper <jackson@ximian.com>
2176 * MdiClient.cs: Fix warnings. Earn Mike's love.
2178 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2180 * ThemeClearlooks.cs:
2181 - Adjusted mouse over button color
2182 - Added first parts of CheckBox drawing
2183 - Added correct color for selected text background
2184 - Fixed ComboBox drawing
2185 - Added CPDrawBorder3D and CPDrawBorder
2187 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2189 * XplatUIX11.cs: Added call to XBell for AudibleAlert
2191 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2193 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2194 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
2195 alert users via sound. We could add an enum arg with different
2196 types of alerts in the future
2198 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2200 * Control.cs: Fix behaviour problems pointed out by Mike
2202 2005-12-05 Mike Kestner <mkestner@novell.com>
2204 * StatusBarPanel.cs: add Invalidate method and hook it into all the
2205 prop setters. Calls parent.Refresh for now, but could be maybe be
2206 optimized with an internal method on StatusBar at some point.
2209 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
2211 * RichTextBox.cs: Implemented get_SelectionColor
2213 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
2215 * ThemeClearlooks.cs:
2217 - Draw black button border only if button is Form.AcceptButton
2218 - Draw correct button color for pressed RadioButton if the mouse
2219 has entered the button
2220 - Updated ProgressBar drawing!
2221 - Updated CPDrawSizeGrip drawing
2222 - Updated StatusBarPanel drawing
2224 2005-12-05 Mike Kestner <mkestner@novell.com>
2226 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
2227 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2229 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
2231 * ThemeClearlooks.cs: Initial check-in, activate with
2232 export MONO_THEME=clearlooks
2233 * ThemeEngine.cs: Added ThemeClearlooks
2235 2005-12-03 Mike Kestner <mkestner@novell.com>
2237 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
2240 2005-12-02 Jackson Harper <jackson@ximian.com>
2242 * Form.cs: If the child form has no menu the default main menu is
2243 used as the active menu.
2245 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2247 * ListBox.cs: Check if any items exist before trying to resolve
2248 coordinates into items
2250 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2252 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
2253 as the second color for the background hatch
2255 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2257 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
2258 * RichTextBox.cs: FormatText position arguments are 1-based, now making
2259 sure that what we pass to FormatText is always 1-based. Fixes #76885
2261 2005-11-29 Miguel de Icaza <miguel@novell.com>
2263 * NumericUpDown.cs (EndInit): When we are done initializing,
2264 reflect any updates on the UI.
2266 2005-12-02 Jackson Harper <jackson@ximian.com>
2268 * ImplicitHScrollBar.cs:
2269 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
2270 their container controls.
2271 * TreeView.cs: Use the new implicit scrollbars.
2273 2005-12-02 Jackson Harper <jackson@ximian.com>
2275 * TreeView.cs: Make top_node internal so the TreeNodeCollections
2277 * TreeNodeCollection.cs: If we remove the topnode we need to
2278 update topnode to the next node in line.
2279 - When clearing nodes go through the same process as removing
2280 them, so they get depareneted and checked if they are top node.
2282 2005-12-01 Jackson Harper <jackson@ximian.com>
2284 * TreeView.cs: When imagelists are used the image area is
2285 selectable as well as the text.
2286 - If there are no selected nodes select the first one.
2287 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
2288 so don't do it more then we need to.
2290 2005-12-01 Jackson Harper <jackson@ximian.com>
2292 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2293 that arrows can be scaled.
2295 2005-12-01 Jackson Harper <jackson@ximian.com>
2297 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2298 fail. Patch by Dieter Bremes
2300 2005-11-30 Jackson Harper <jackson@ximian.com>
2302 * Form.cs: Property is 2.0 only
2303 * PrintDialog.cs: Signature fix.
2305 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2308 - No longer artificially moves text 2 pixels down (now that we have
2309 borders this is no longer needed)
2310 - Added calcs for left, hanging and right indent
2312 2005-11-23 Mike Kestner <mkestner@novell.com>
2314 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2316 2005-11-30 Jackson Harper <jackson@ximian.com>
2318 * MdiChildContext.cs: Set the cloned menus forms, as these don't
2319 get cloned as part of CloneMenu ().
2320 * Menu.cs: Make sure the parent of the items get set correctly
2321 when they are added. And the owners are notified of the changes.
2322 * Form.cs: Create an ActiveMenu property, so that when MDI is used
2323 we can change the menu being displayed/handled by the form without
2324 changing the menu assosciated with the form.
2325 - Don't let Mdi children draw/handle menus.
2327 2005-11-30 Jackson Harper <jackson@ximian.com>
2329 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2330 a MenuChanged event. Just to make the API a little more
2333 * MenuItem.cs: Use the new OnMenuChanged
2334 * MdiChildContext.cs: Handle menu merging.
2335 * Form.cs: Implement MergedMenu.
2337 2005-11-30 Jackson Harper <jackson@ximian.com>
2339 * Menu.cs: We were misusing Add. Add goes behind the specified
2340 index according to the docs, and does not replace the specified
2341 index. So I added an Insert method.
2343 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2345 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2346 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2348 * RichTextBox.cs: Added calls to base for DnD events
2350 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
2353 - Fixed drag-selection related crash; style fixes
2354 - Implemented undo class
2355 o Implemented method to capture document state for specified
2356 range in document tree
2357 o Implemented method to restore captured document state
2358 o Implemented cursor tracking
2359 o Implemented basic undo stack
2360 - Added undo cursor tracking to methods altering cursor location
2361 - Added undo tracking to selection deletion (still missing
2362 other text-altering hookups)
2364 - Added SelectionLength property
2365 - Implemented CanPaste()
2366 - Implemented Paste()
2367 - Added missing protected methods
2368 - Fixed RTF->Document conversion; now uses font index 0 and color
2369 index 0 as the default font for the parsed text
2370 - Fixed RTF<->Document font size translation
2371 - Fixed RTF generation, now properly handles cross-tag boundaries
2372 for single line selection
2373 - No longer always appends blank line to generated RTF
2375 - Added missing attributes
2376 - Hooked up undo-related methods
2378 - Implemented Copy()
2379 - Implemented Paste()
2381 - Fixed caret mis-behaviour on backspace across line-boundaries
2383 2005-11-29 Jackson Harper <jackson@ximian.com>
2385 * MdiClient.cs: Add a method for activating mdi children. Very
2386 basic right now. I imagine someday it might need more girth.
2387 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2388 children windows names are added to the menu item.
2389 * ThemeWin32Classic.cs: Draw the arrow if the item is an
2390 mdilist. This happens regardless of whether or not there are any
2391 mdi windows to see in the list, and according to my tests happens
2392 before the items are even added. Also happens if there isn't even
2393 an mdi client to get windows from.
2395 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
2397 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2398 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2400 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
2402 * DataGridTableStyle.cs:
2403 - Create always the styles for the missing columns even if they are
2404 provided by the user (not default table style)
2407 - Fixes SetDataBinding (always re-attach source)
2408 - Fixes SetNewDataSource (only clear styles if they are not for
2410 - Expands OnTableStylesCollectionChanged to handle style refresh
2413 2005-11-29 Jackson Harper <jackson@ximian.com>
2415 * FileDialog.cs: Implement missing bits, remove some dead
2417 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2418 creation of the panel so that the options set on the dialog are
2419 seen when the panel is created.
2420 * TreeView.cs: raise a click when items are clicked.
2422 2005-11-29 Jackson Harper <jackson@ximian.com>
2424 * MdiClient.cs: Pass some signature methods through to base.
2426 2005-11-28 Jackson Harper <jackson@ximian.com>
2428 * ListView.cs: Raise the click event when items are clicked.
2430 2005-11-28 Jackson Harper <jackson@ximian.com>
2432 * MdiClient.cs: Make this algorithm even more beautiful. And fix
2435 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
2437 * ThemeNice.cs: - Removed 1 pixel bitmaps
2438 - Use SmoothingMode.AntiAlias where it makes sense
2439 (ScrollButton arrow for example)
2440 - Enhanced Button focus drawing
2441 - Fixed ComboBox drawing (no artefacts anymore, focus
2442 rectangle is back again, reduced size of ComboButton, etc.)
2443 - Fixed RadioButton focus drawing for Appearence.Button
2444 - Slight ScrollButton redesign
2445 - Some LinearGradientBrush size fixes
2446 - GroupBoxes have now rounded edges
2447 - Fixed StatusBar drawing
2449 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
2451 * ThemeNice.cs: - Remove dead code
2452 - use correct background colors for menus, etc.
2453 - Fake pixel drawing with 1 pixel bitmaps
2455 2005-11-24 Jackson Harper <jackson@ximian.com>
2457 * MdiClient.cs: Size the scrollbars when resizing the window.
2458 - Resize the maximized windows when the client is resized
2459 * Form.cs: Make the child context available
2461 2005-11-23 Jackson Harper <jackson@ximian.com>
2463 * MdiChildContext.cs: Don't size windows if they are maximized.
2465 2005-11-23 Mike Kestner <mkestner@novell.com>
2467 * ContextMenu.cs: use MenuTracker.
2468 * Control.cs: remove menu handle usage.
2469 * Form.cs: remove menu handle usage.
2470 * Hwnd.cs: remove menu handle usage.
2471 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
2472 motion and clicks to the new Tracker handlers.
2473 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
2475 * MenuAPI.cs: refactored to combine popup and menubar event handling.
2476 Killed the MENU and MENUITEM data types and associated collections
2477 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
2478 MenuTracker class that exposes the leftovers from the old MenuAPI
2479 static methods. Restructured Capture handling so that only one grab is
2480 done for the entire menu hierarchy instead of handing off grabs to
2481 submenus. Tracker now has an invisible control to Capture when active.
2482 * MenuItem.cs: add sizing accessors, kill Create
2484 * Theme.cs: remove menu handle and MENU(ITEM) usage.
2485 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
2486 MENU(ITEM). remove menu handle usage, use Menu directly.
2487 * XplatUIDriver.cs: remove menu handle usage.
2488 * XplatUIOSX.cs: remove menu handle usage.
2489 * XplatUIWin32.cs: remove menu handle usage.
2490 * XplatUIX11.cs: remove menu handle usage.
2492 2005-11-22 Jackson Harper <jackson@ximian.com>
2494 * Hwnd.cs: Don't compute the menu size for
2495 DefaultClientRectangle.
2496 - Reenable menu sizes being computed for GetClienRectangle.
2497 * Form.cs: Remove comment of trechery
2499 2005-11-22 Jackson Harper <jackson@ximian.com>
2501 * Hwnd.cs: The adjustments for the menu bar are made when it is
2502 attached to the form.
2504 2005-11-19 Jackson Harper <jackson@ximian.com>
2506 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
2507 (just like on windows).
2509 2005-11-19 Jackson Harper <jackson@ximian.com>
2511 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
2512 use real buttons anymore because they are in non client area. The
2513 one TODO here is that I need to somehow invalidate a section of
2514 the non client area.
2516 2005-11-18 Jackson Harper <jackson@ximian.com>
2518 * Control.cs: Put the enum check back in now that MDI doesnt have
2519 to use this to set border styles.
2520 * Form.cs: Only set mdi child windows borders if the handle has
2522 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
2523 this directly on to the driver.
2524 - Get the move start position before adjusting for the titlebar
2525 height, this fixes the windows "skipping" when they are first
2528 2005-11-18 Jackson Harper <jackson@ximian.com>
2530 * XplatUIX11.cs: Just compute the mdi borders separately as they
2531 don't totally match up with normal form borders.
2533 2005-11-18 Jackson Harper <jackson@ximian.com>
2535 * Control.cs: Set WS_ styles for borders, so that the driver does
2536 not have to retrieve the control instance to figure out what kind
2537 of borders it should have.
2538 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
2539 driver can know its an mdi child easily.
2540 * XplatUIX11.cs: Get the border styles and whether the window is
2541 MDI from the Styles and ExStyles params instead of having to get a
2542 control. This prevents a chicken and egg problem.
2544 2005-11-18 Jackson Harper <jackson@ximian.com>
2546 * MdiClient.cs: Fix typo so scrollbars show up correctly.
2548 2005-11-18 Jackson Harper <jackson@ximian.com>
2550 * MdiClient.cs: Calculate when to add and remove scrollbars
2552 * MdiChildContext.cs: Adjust the y position to take the titlebar
2554 - No height for FormBorderStyle.None
2556 2005-11-18 Jackson Harper <jackson@ximian.com>
2558 * Control.cs: Allow non enum values to be used for
2559 InternalBorderStyle. MDI does this to set a special border style.
2560 - New utility methods for converting points to/from client coords
2561 - Add the newly created control to the Controls collection before
2562 updating its style. This way UpdateStyle can walk the control
2563 heirarchy to find the control if needed.
2564 so I don't need to create a new Point object all the time.
2565 * Form.cs: Let MDI windows handle their border styles.
2566 - Set styles on MDI windows so the correct title style is derived.
2567 * MdiChildContext.cs: Move all the painting and window handling
2568 into the non client area.
2569 - Use correct sizing and put correct buttons on frames based on
2570 the FormBorderStyle.
2571 - Notify the mdi client about scrolling
2572 - Need to handle the buttons ourselves now, because they are all
2573 in non client areas and we can't add controls there.
2574 * MdiClient.cs: Halfway to scrolling, this implementation is
2575 somewhat broken though, we need to check to make sure other
2576 windows aren't causing scrolling before removing the bars. Also
2577 the bars need to be drawn on top, maybe I can switch implicit
2578 controls to be on top.
2579 * Hwnd.cs: caption_height and tool_caption_height are now
2580 properties of an hwnd, this way they can be set by the driver
2581 based on the type of window they are. In X11 the window manager
2582 handles the decorations so caption_height is zero unless its an
2584 - Add 3 pixel borders for MDI windows (0xFFFF).
2585 - Get rid of some code duplication, have DefaultClientRectanle
2586 just call GetClientRectangle.
2587 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
2589 - Set border styles differently for mdi windows.
2590 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
2593 2005-11-15 Mike Kestner <mkestner@novell.com>
2595 * Menu.cs: when adding an item to the collection, if item is already
2596 parented, remove it from the parent.
2598 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
2600 * X11DesktopColors.cs: Added KDE support
2602 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
2605 - Clipboard methods now can translate Rtf format
2606 - No longer removes clipboard contents whenever a new format is added
2607 to allow placing multiple formats on the clipboard
2608 * Clipboard.cs: Clipboard now supports getting a IDataObject and
2609 will place all formats contained in it onto the clipboard. Also
2610 now cleans the clipboard before placing a new object onto it
2612 - Implemented set_Rtf
2613 - Implemented set_SelectedRtf
2614 - Created InsertRTFFromStream() method to allow single code base
2615 for all properties and methods that insert RTF into document
2616 - Removed debug output
2618 - Fixed Delete(int) to fix up line numbers
2619 - Fixed ReplaceSelection to combine start and end line
2620 - Fixed serious DeleteChars bug that would leave the document tree
2622 - Improved DumpTree with several logic checks to detect broken
2624 - Removed debug lines
2625 - Fixed Caret.WordForward/WordBack moving code, now always also
2626 updates caret.tag (fixes crash when word-selecting across tag
2627 boundaries via keyboard)
2628 - Added Insert() method for inserting multiline text into documents
2629 - Fixed DeleteChars() calculation errors that would cause a broken
2630 tag chain with multiple tag lines
2631 - DeleteChars() no longer crashes on multi-tag lines if not all tags
2632 - Split() no longer moves caret if split is at caret location
2633 - ReplaceSelection() now updates the cursor and re-displays it
2634 - ReplaceSelection() now uses new Insert() method to avoid code
2636 - FormatText() can now handle formatting partial lines
2638 - Append now uses new TextControl.Insert() method (this avoids
2640 - Implemented Ctrl-X (Cut) (
2641 - Implemented Ctrl-C (Copy)
2642 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
2643 regeneration when pasting text; roundtripping Copy&Paste within
2644 edit control still fails due to some calculation bugs in GenerateRTF)
2645 - The Delete key will now remove the current selection if it is visible
2646 * TextBox.cs: Removed debug lines
2647 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
2648 driver to be initialized and can't therefore be done via a static ctor)
2650 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
2652 * TextControl.cs: Added backend code for finding char arrays and strings
2654 - Added mouse wheel scroll support
2655 - Added support for VScroll and HScroll events
2657 - Implemented all seven Find() variants
2658 - Implemented GetCharFromPosition()
2659 - Implemented GetCharIndexFromPosition()
2660 - Implemented GetLineFromIndex()
2661 - Implemented GetPositionFromCharIndex();
2662 - Implemented SaveFile for PlainText and UnicodeText
2663 - Fixed set_Font, now setting a new font applies that font to
2665 - Implemented generic Document to RTF converter
2666 - Implemented SaveFile for RichText format (still missing unicode
2667 conversion for non-ansi chars)
2668 - Implemented get_Rtf
2669 - Implemented get_SelectedRtf
2671 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
2673 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
2674 to allow any captures to be released before triggering OnClick. This
2675 way a click handler may capture the mouse without interference.
2676 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
2677 This way we send them even though X may not allow a grab (if the window
2678 isn't visible, for example)
2680 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
2682 * DataGridViewRowEventArgs.cs: DataGridView implementation
2683 * DataGridViewElement.cs: DataGridView implementation
2684 * DataGridViewComboBoxCell.cs: DataGridView implementation
2685 * DataGridViewDataErrorContexts.cs: DataGridView implementation
2686 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
2687 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
2688 * ImageLayout.cs: DataGridView implementation
2689 * DataGridViewComboBoxColumn.cs: DataGridView implementation
2690 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
2691 * DataGridViewSelectionMode.cs: DataGridView implementation
2692 * IDataGridViewEditingControl.cs: DataGridView implementation
2693 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
2694 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
2695 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
2696 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
2697 * DataGridViewColumnSortMode.cs: DataGridView implementation
2698 * DataGridView.cs: DataGridView implementation
2699 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
2700 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
2701 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
2702 * Padding.cs: DataGridView implementation
2703 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
2704 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
2705 * DataGridViewRowEventHandler.cs: DataGridView implementation
2706 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
2707 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
2708 * DataGridViewButtonCell.cs: DataGridView implementation
2709 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
2710 * DataGridViewEditMode.cs: DataGridView implementation
2711 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
2712 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
2713 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
2714 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
2715 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
2716 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
2717 * DataGridViewCellEventHandler.cs: DataGridView implementation
2718 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
2719 * DataGridViewCellStyleConverter.cs: DataGridView implementation
2720 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
2721 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
2722 * DataGridViewColumnEventArgs.cs: DataGridView implementation
2723 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
2724 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
2725 * QuestionEventArgs.cs: DataGridView implementation
2726 * IDataGridViewEditingCell.cs: DataGridView implementation
2727 * DataGridViewTriState.cs: DataGridView implementation
2728 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
2729 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
2730 * DataGridViewColumnCollection.cs: DataGridView implementation
2731 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
2732 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
2733 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
2734 * DataGridViewColumn.cs: DataGridView implementation
2735 * DataGridViewCellBorderStyle.cs: DataGridView implementation
2736 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
2737 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
2738 * DataGridViewRow.cs: DataGridView implementation
2739 * DataGridViewImageCellLayout.cs: DataGridView implementation
2740 * DataGridViewImageCell.cs: DataGridView implementation
2741 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
2742 * DataGridViewCheckBoxCell.cs: DataGridView implementation
2743 * DataGridViewHeaderCell.cs: DataGridView implementation
2744 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
2745 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
2746 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
2747 * DataGridViewTextBoxColumn.cs: DataGridView implementation
2748 * QuestionEventHandler.cs: DataGridView implementation
2749 * DataGridViewCellStyleScopes.cs: DataGridView implementation
2750 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
2751 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
2752 * DataGridViewCell.cs: DataGridView implementation
2753 * DataGridViewCellEventArgs.cs: DataGridView implementation
2754 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
2755 * DataGridViewCellStyle.cs: DataGridView implementation
2756 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
2757 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
2758 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
2759 * TextFormatFlags.cs: DataGridView implementation
2760 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
2761 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
2762 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
2763 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
2764 * DataGridViewButtonColumn.cs: DataGridView implementation
2765 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
2766 * HandledMouseEventArgs.cs: DataGridView implementation
2767 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
2768 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
2769 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
2770 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
2771 * DataGridViewRowCollection.cs: DataGridView implementation
2772 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
2773 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
2774 * DataGridViewHitTestType.cs: DataGridView implementation
2775 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
2776 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
2777 * DataGridViewColumnEventHandler.cs: DataGridView implementation
2778 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
2779 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
2780 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
2781 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
2782 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
2783 * DataGridViewContentAlignment.cs: DataGridView implementation
2784 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
2785 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
2786 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
2787 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
2788 * DataGridViewPaintParts.cs: DataGridView implementation
2789 * DataGridViewCellCollection.cs: DataGridView implementation
2790 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
2791 * DataGridViewImageColumn.cs: DataGridView implementation
2792 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
2793 * DataGridViewElementStates.cs: DataGridView implementation
2794 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
2795 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
2796 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
2797 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
2798 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
2799 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
2800 * DataGridViewRowHeaderCell.cs: DataGridView implementation
2801 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
2802 * DataGridViewTextBoxCell.cs: DataGridView implementation
2803 * DataGridViewBand.cs: DataGridView implementation
2804 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
2805 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
2806 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
2807 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
2808 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
2809 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
2810 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
2811 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
2812 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
2813 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
2814 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
2816 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
2818 * ThemeWin32Classic.cs:
2819 - Draw the outside focus rectangle around buttons
2820 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
2821 doesn't use end caps for every dash of a line anymore. This
2822 workaround ignores the forecolor.
2824 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
2826 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
2829 2005-11-07 Jackson Harper <jackson@ximian.com>
2831 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
2833 2005-11-07 Jackson Harper <jackson@ximian.com>
2835 * ScrollableControl.cs: Calculate the maximum and change vars
2836 (more) correctly so that scrollbars appear as a sensible size.
2838 2005-11-04 Jackson Harper <jackson@ximian.com>
2840 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
2842 * TreeView.cs: When the tree is sorted null out the top_node so
2843 that it is recalculated.
2844 - Use dotted lines instead of dashed lines to match MS better.
2846 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
2849 - Implements key search for items. Useful when browsing files with FileDialog
2850 - When changing view mode or when clear the items reset scrollbar positions
2852 2005-11-04 Jackson Harper <jackson@ximian.com>
2854 * CurrencyManager.cs: Implement the MetaDataChanged event, the
2855 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
2856 as to what the method may do as there is no real way of creating a
2857 derived CurrencyManager and calling the method.
2859 2005-11-03 Jackson Harper <jackson@ximian.com>
2861 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
2862 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
2863 method which seems to just be used internally to refresh the tabs.
2865 2005-11-03 Jackson Harper <jackson@ximian.com>
2867 * TabControl.cs: Implement the remove method. Fix some broken
2870 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2872 * DateTimePicker.cs:
2873 - Added missing DateTimePickerAccessibleObject class
2874 - Added missing events
2875 - Added OnFontChanged method
2876 * Form.cs: Added missing attributes
2877 * TreeView.cs: Added missing attributes
2879 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2881 * GridItemCollection.cs: Fix signatures
2883 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2885 * XplatUI.cs: Updated build rev/date
2886 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
2887 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
2888 * Application.cs: Trigger context-specific ExitThread events
2890 2005-11-03 Jackson Harper <jackson@ximian.com>
2894 * GridTableStylesCollection.cs:
2899 * MonthCalendar.cs: Signature fixes
2901 2005-11-03 Jackson Harper <jackson@ximian.com>
2903 * TreeNodeCollection.cs: Remove should not be virtual.
2904 * TreeView.cs: Implement the last of the missing methods.
2906 2005-11-03 Jackson Harper <jackson@ximian.com>
2908 * TreeNodeConverter.cs: Implement to get off my class-status back.
2910 2005-11-03 Jackson Harper <jackson@ximian.com>
2912 * TreeView.cs: Hookup the bits for drag and drop.
2913 * TreeNode.cs: Don't cache the tree_view or index anymore, now
2914 that nodes can be moved from tree to tree easily this just causes
2915 all sorts of problems.
2916 * TreeNodeCollection: Don't need to give treenodes an index and
2917 treeview anymore when they are added, these are computed on the
2918 fly. Also make sure to remove a node before its added.
2920 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2923 - Added CaretSelection enum
2924 - Added comparison methods to Marker struct, makes selection code
2926 - Added SelectionStart and SelectionEnd as 'moveable' location for
2927 the CaretDirection enum and handler
2928 - Added selection_prev variable to track optimized invalidation for
2929 word and line selection
2930 - Added SelectionVisible property (returns true if there is a valid
2932 - Switched CaretHasFocus to only display the caret if there is no
2934 - Avoiding StringBuilder.ToString to retrieve a single char, instead
2935 using the direct character index; should be much faster
2936 - Added various conditional debug statements
2937 - Fixed invalidation calculation for selection ranges
2938 - Added ExpandSelection() method to support word and line selection
2939 - Switched SetSelectionToCaret to use new Marker compare overloads
2940 - Added central IsWordSeparator() method to determine word
2941 separators/whitespace and FindWordSeparator() to streamline common
2942 usage of IsWordSeparator()
2944 - Removed unneeded grabbed variable, it was just mirroring
2946 - No longer firing OnTextChanged event when Text setter is called,
2947 since the base will fire the event for us
2948 - Added handling of Ctrl-Up/Down selection
2949 - Added handling of Shift-Cursorkey selection
2950 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
2952 - Added handling of Shift and Ctrl-Shift-Home/End selection
2953 - Removed some debug output
2954 - Added handling for single/double/tripple-click to place caret/
2955 select word/select line respectively (Fixes bug #76031)
2956 - Added support for drag expansion of word/line selection
2957 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
2960 2005-11-02 Jackson Harper <jackson@ximian.com>
2962 * X11Dnd.cs: If the drag is going to and from a MWF window just
2963 copy the data instead of sending it out through the X Selection
2966 2005-11-02 Jackson Harper <jackson@ximian.com>
2969 * XplatUIX11.cs: When in a drag we don't want motion notify
2970 messages to get passed on to the other controls. This prevents
2971 mouse move messages from showing up in the drag source.
2973 2005-11-02 Jackson Harper <jackson@ximian.com>
2975 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
2976 the correct button is release to end a drag.
2977 * XplatUIX11.cs: Make the button state internal so the drag system
2978 can access it. Dragging needs to know about all button releases,
2979 not just left button.
2981 2005-11-02 Miguel de Icaza <miguel@novell.com>
2983 * Form.cs (Icon): If the icon is null, reset the icon to the
2986 * Cursor.cs: When writing the AND-mask bitmap do not include the
2987 number of colors, but hardcode those to two (black and white),
2988 fixes the loading of color cursors (Paint Dot Net).
2990 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
2991 turn off autoscaling.
2993 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
2995 2005-11-02 Jackson Harper <jackson@ximian.com>
2997 * X11Dnd.cs: Make sure to send a status message if the pointer
2998 enters a control that can not accept a drop, otherwise the cursor
2999 isn't updated correctly. Also tried to compress the lines of code
3002 2005-11-02 Jackson Harper <jackson@ximian.com>
3004 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3005 set actions correctly. This isn't perfect as XDND and win32 have
3006 some differences on how you allow actions. I'll clear this up by
3007 adding a path for drag from MWF to MWF windows.
3008 * XplatUIX11.cs: Hook into the dnd system.
3010 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
3012 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3013 previously shown but they are no longer need it. Very obvious when
3014 browsing files with FileDialog.
3016 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
3018 * Control.cs: We always need to call OnPaintBackground. We pretty much
3019 ignore AllPaintingInWmPaint and always do the painting there, whether
3020 it's set or not, since we always ignore the WM_ERASEBKGND message
3021 (which we don't generate on X11). This fixes #76616.
3022 * Panel.cs: Removed unneeded background painting. This happens properly
3023 in Control.cs already
3025 2005-10-31 Mike Kestner <mkestner@novell.com>
3027 * Menu.cs: Add items to collection before setting their index.
3028 * MenuItem.cs : add range checking with ArgumentException like MS.
3031 2005-10-31 Jackson Harper <jackson@ximian.com>
3033 * ListBox.cs: Invalidate if the area is visible at all not just
3034 contained in the visible rect. Fixes unselection of semi visible
3037 2005-10-31 Jackson Harper <jackson@ximian.com>
3039 * Control.cs: Consistently name the dnd methods. Make them
3040 internal so we can override them to match some MS behavoir
3042 * Win32DnD.cs: Use the new consistent names.
3044 2005-10-31 Jackson Harper <jackson@ximian.com>
3046 * TreeView.cs: Don't draw the selected node when we lose focus.
3048 2005-10-31 Jackson Harper <jackson@ximian.com>
3050 * X11Dnd.cs: We still need to reset the state even though a full
3051 reset isn't being done, otherwise status's still get sent all over
3054 2005-10-31 Jackson Harper <jackson@ximian.com>
3056 * Control.cs: Make the dnd_aware flag internal so the dnd
3057 subsystem can check it. Catch exceptions thrown in dnd handlers to
3059 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3060 * X11Dnd.cs: Handle null data in the converters. Set the XDND
3061 version when sending a XdndEnter. Use the control/hwnd dnd_aware
3062 flags to reduce the number of dnd enters/status's sent.
3064 2005-10-31 Jackson Harper <jackson@ximian.com>
3066 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3068 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
3070 * PictureBox.cs: Fixes 76512
3072 2005-10-28 Jackson Harper <jackson@ximian.com>
3074 * X11Dnd.cs: Early implementation to support winforms being a drag
3075 source for data on X11. Also restructured the converters so they
3076 can go both ways now.
3077 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3079 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
3081 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3084 2005-10-27 Jackson Harper <jackson@ximian.com>
3086 * TreeNode.cs: Implement serialization so my DnD examples will work.
3088 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
3090 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3091 TreeView.cs: Don't dispose objects that are not owned.
3093 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
3095 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3096 should retrieve the current cursor and report that, but XplatUI
3097 doesn't (yet) have an interface for that (and I'm not sure I even
3099 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3100 until any message loop processing is done (and the WM_SETCURSOR
3101 replaces the cursor to the proper one)
3103 - Fixed override behaviour, we can't set the cursor globally on X11,
3104 just for our windows.
3105 - Invalidating the System.Drawing X11 display handle when we are
3107 * Control.cs: Fix to make csc happy
3109 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
3112 - get_Text: Add last line (without trailing newline) to returned
3114 - get_TextLength: Count last line in returned length
3115 - ToString: Call Text property instead of duplicating code
3117 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
3119 * ImageList.cs: Dispose ImageAttributes objects.
3121 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3123 * ImageList.cs: Use attribute constructors with less arguments where
3126 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3128 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3129 Use typeof instead of strings when assembly is referenced. Added
3132 2005-10-21 Jackson Harper <jackson@ximian.com>
3134 * ListView.cs: Raise a double click event. Also tried to somewhat
3135 fix when the selectedindexchanged event is raised. Its still
3138 2005-10-21 Jackson Harper <jackson@ximian.com>
3140 * TreeView.cs: New method to invalidate the plus minus area of a
3141 node without invalidating the whole node (maybe this can be used
3142 in some more places).
3143 * TreeNodeCollection.cs: When adding to an empty node we need to
3144 invalidate its plus minus area so the little block shows up.
3146 2005-10-21 Jackson Harper <jackson@ximian.com>
3148 * TreeView.cs: Make sure that when we invalidate a node the bounds
3149 are big enough to cover the selected box and the focus
3150 rectangle. Use a different colour for the lines connecting nodes
3151 so they show up with all themes.
3153 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3155 * NativeWindow.cs: Don't call anything that could call into the driver,
3156 we might be on a different thread.
3158 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3160 * Control.cs(Dispose): Since Dispose might run on a different thread,
3161 make sure that we call methods that could call into the driver via
3162 invoke, to avoid thread issues
3164 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3166 * XplatUI.cs: Removed finalizer
3167 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3168 not allowing to be called on the finalizer thread.
3170 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
3173 - Reverted r51889 and r51891.
3174 - Added ImageListItem class that stores unmodified image items and image
3175 properties required to create list images until handle is created.
3176 - Added AddItem and moved image creation logic to AddItemInternal.
3177 - Added CreateHandle method that creates images based on unmodified items.
3178 - Added DestroyHandle that changes state to store unmodified items.
3179 - Add and AddStrip methods no more create handle.
3180 - ReduceColorDepth has no return value.
3181 - Dispose destroys handle.
3182 - Modified other methods to reflect the above changes.
3183 - Implemented key support.
3184 - Added profile 2.0 members and attributes.
3185 - Added private Reset and ShouldSerialize methods that provide the same
3186 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3187 them as they are private.
3188 - Added some more comments about implementation details.
3190 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3192 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
3194 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3196 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
3198 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3200 * DataGridDrawingLogic.cs: Fixes column hit calcultation
3201 * DataGridColumnStyle.cs: Remove debug message
3203 2005-10-20 Jackson Harper <jackson@ximian.com>
3205 * TreeView.cs: We can always get input keys regardless of whether
3206 or not editing is enabled. They are used for navigation.
3208 2005-10-20 Jackson Harper <jackson@ximian.com>
3210 * TreeNode.cs: Use the viewport rect for determining if a node
3211 needs to be moved for visibility. Don't use Begin/End edit. This
3212 calls a full refresh when its done.
3213 * TreeView.cs: New SetBottom works correctly. Make the viewport
3214 rect property internal so the treenodes can see it. When clicking
3215 on a node we need to ensure that its visible because it might just
3216 be partly visible when clicked.
3218 2005-10-20 Jackson Harper <jackson@ximian.com>
3220 * TreeNodeCollection.cs: Remove debug code.
3222 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3224 * Datagrid.cs: Implements column sorting in Datagrid
3225 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
3227 2005-10-20 Jackson Harper <jackson@ximian.com>
3229 * TreeNodeCollection.cs: Remove items properly. Update the correct
3230 area after removing them.
3232 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3234 * Datagrid.cs: Should not call base.OnPaintBackground
3236 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3238 * XplatUIX11.cs (GetMessage):
3239 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
3240 window instead of client window
3241 - Now properly calculates NC_xBUTTONUP message coordinates
3242 - ScreenToMenu now properly calculates it's coordinates of whole
3243 window, since menus are in the whole window, not in the client
3245 - Added WholeToScreen coordinate translation method
3247 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3249 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
3250 want to return a message, loop back to the beginning of the function
3251 and grab the next real message to process instead.
3253 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3255 * Splitter.cs: Properly set limits if no filler control is used
3257 2005-10-19 Jackson Harper <jackson@ximian.com>
3259 * ColorDialog.cs: Don't show the help button if it is not enabled
3260 instead of disabling it (this is what MS does). Don't create the
3261 panel until the dialog is run, otherwise the vars (such as
3262 ShowHelp) are not set yet.
3264 2005-10-19 Jackson Harper <jackson@ximian.com>
3266 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
3267 are reduced when adding nodes.
3269 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
3272 2005-10-19 Jackson Harper <jackson@ximian.com>
3274 * FolderBrowserDialog.cs: End editing our treeview so the window
3275 actually gets refreshed.
3277 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3279 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
3280 Obsoleted handling of WM_ERASEBKGND, now always draws our background
3283 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3285 * MenuAPI.cs: Returns after Hidding window
3286 * XplatUIX11.cs: Added TODO found while debugging menu issues
3288 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3290 * XplatUIX11.cs: Do not re-map the whole window when it's size
3291 becomes non-zero unless it's supposed to be actually visible
3293 2005-10-18 Jackson Harper <jackson@ximian.com>
3295 * TreeView.cs: We don't need to keep a count anymore.
3296 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3297 use the Grow method.
3299 2005-10-18 Jackson Harper <jackson@ximian.com>
3301 * TreeNodeCollection.cs: Insert is not supported on arrays, so
3302 implement it manually here.
3304 2005-10-18 Jackson Harper <jackson@ximian.com>
3306 * ImageList.cs: Dont kill the list when the colour depth is
3307 changed, just change the colour depth of all the images.
3308 - Same goes for setting the image size. Just resize them all
3309 instead of killing the list softly.
3311 2005-10-18 Jackson Harper <jackson@ximian.com>
3313 * Control.cs: Don't invalidate empty rectangles.
3315 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3318 - Adds checked item to the Checked/Item lists (where empty before)
3319 - Do not add items to the Selected lists if they are already present
3321 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3322 - When deleting items make sure that we delete them for the Selected
3323 and Checked list also.
3325 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3327 * Label.cs: Dispose objects no longer used
3328 * ThemeWin32Classic.cs: Dispose objects no longer used
3330 2005-10-18 Jackson Harper <jackson@ximian.com>
3332 * TabControl.cs: Don't refresh the whole control when the tabs are
3333 scrolled, we just need to refresh the tab area.
3335 2005-10-17 Jackson Harper <jackson@ximian.com>
3337 * XplatUIX11.cs: Compress code a little bit. Only calculate the
3338 after handle when we need it.
3340 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3342 * Control.cs: When the parent size changes, recalculate anchor
3343 positions. Partial fix for #76462
3345 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3347 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
3350 2005-10-17 Jackson Harper <jackson@ximian.com>
3352 * MonthCalendar.cs: Don't create the numeric up down until our
3353 handle is created. Otherwise our handle is created in the
3354 constructor and we don't know if we are a WS_CHILD or WS_POPUP
3357 2005-10-17 Jackson Harper <jackson@ximian.com>
3359 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3362 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
3363 * TreeNode.cs : small logical fix (was using local var instead of field)
3365 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3367 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3369 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3371 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3373 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
3376 - Re-implemented anchoring code. My first version was really broken.
3377 This fixes bug #76033. Unlike the previous implementation we will
3378 no longer have round errors since all numbers are calculated from
3379 scratch every time. Removed various anchor-related obsolete vars.
3380 - InitLayout no longer causes layout event firing and layout to be
3383 2005-10-16 Jackson Harper <jackson@ximian.com>
3385 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3388 2005-10-16 Jackson Harper <jackson@ximian.com>
3390 * TabControl.cs: Remove debug code.
3392 2005-10-16 Jackson Harper <jackson@ximian.com>
3394 * XEventQueue.cs: Increase the default queue size (very simple
3395 apps needed to grow the queue).
3396 * Hwnd.cs: No finalizer so we don't need to suppress
3397 finalization. Compute the invalid area manually so a new rectangle
3398 does not newto be created.
3399 * ScrollableControl.cs: Don't set any params (otherwise visibility
3400 isn't set correctly).
3401 * MdiChildContext.cs: New constructor takes the mdi parent so it
3402 doesn't have to be computed and avoids a crash on windows. Draw
3403 the window icon properly, and allow the text to be seen.
3404 * Form.cs: Use new MdiChildContext constructor. Make sure the
3405 child context isn't null in wndproc.
3406 * TabControl.cs: Don't set focus, this is muddling keyboard
3407 behavoir. Expand the tab rows when a window size increase will
3408 allow extra tabs to be seen. Don't allow tabs smaller than the
3409 width of a window to be scrolled out of view.
3411 * TreeView.cs: Use measure string to calculate a nodes width, the
3412 width is cached and only updated when the text or the font is
3413 changed. Don't check for expand/collapse clicks on the first level
3414 nodes if root lines are disabled.
3416 2005-10-16 Ritvik Mayank <mritvik@novell.com>
3418 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3420 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3422 * DataGridBoolColumn.cs: fixes warning
3424 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3426 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3427 to match more to match more precisely the MS Net behavior
3429 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3431 * Hwnd.cs: Added field to track if window is mapped
3433 - Unmap windows if they become 0-size, re-map when
3434 they are >0 again; fixes #76035
3435 - Re-set our error handler after initializing X11Desktop
3436 to override any error handlers Gtk or whatever was called
3439 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3441 * CheckedListBox.cs: Removed unused vars
3442 * ListView.cs: Fixed signatures
3443 * RichTextBox.cs: Removed unused vars
3444 * TextBoxBase.cs: Removed unused vars
3445 * XplatUIWin32.cs: Removed unused vars
3446 * XplatUIX11.cs: Removed unused vars
3447 * XplatUI.cs: Updated version and date to latest published
3449 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3451 * Cursor.cs: Added private .ctor to work around a bug in
3452 resourceset (Thanks to Geoff Norton for the help on this)
3453 * SplitterEventArgs.cs: Made fields accessible so we don't
3454 waste boatloads of objects and can reuse the same one
3456 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
3457 any captions and borders when generating screen coordinates
3458 * Splitter.cs: Reimplemented control, now fully complete, uses
3459 rubberband drawing, supports and obeys all properties, has
3462 2005-10-13 Miguel de Icaza <miguel@novell.com>
3464 * Form.cs (Form): Setup default values for autoscale and
3465 autoscale_base_size; Make these instance variables, not static
3468 (OnLoad): on the first load, adjust the size of the form.
3470 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3472 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
3473 width argument to DrawReversibleRectangle()
3474 * XplatUIWin32.cs, XplatUIX11.cs:
3475 - Implemented width for DrawReversibleRectangle()
3476 - Added logic to DrawReversibleRectangle that recognizes a zero
3477 width or height and only draws a line in that situation
3479 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3481 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
3482 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
3483 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
3484 method (it uses our FosterParent window to get a graphics context)
3486 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3488 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
3489 and SetWindowBackground methods
3491 - Setting proper ControlStyles
3492 - We no longer call XplatUI.SetWindowBackground and XplatUI.
3493 EraseWindowBackground, instead we draw the window background
3494 ourselves in PaintControlBackground. This behaviour is
3495 required to match MS, where, when OnPaintBackground is not
3496 called, the background is not drawn.
3497 - Removed unneeded Refresh() in set_Text
3498 * Hwnd.cs: Dropped the ErasePending support. No longer needed
3500 - Created DeriveStyles method to translate from CreateParams to
3501 FormBorderStyle and TitleStyle, also handles BorderStyle (which
3502 matches FormBorderStyle enum values)
3503 - Consolidated SetHwndStyles and CalculateWindowRect border/title
3504 style calculations into single DeriveStyles method
3505 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
3506 from redrawing the whole window on any resize or expose.
3507 - Fixed CreateWindow usage of SetWindowValuemask. Before not
3508 all styles were applied to our whole/client window appropriately
3509 - Removed EraseWindowBackground() and SetWindowBackground() methods
3510 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
3511 no longer clear/redraw the background through X
3512 - Removed handling of erase_pending bit, we have no use for it (or
3515 - Removed generation and handling of WM_ERASEBKGND message
3516 - Removed EraseWindowBackground() and SetWindowBackground() methods
3517 - Removed handling of hwnd.ErasePending flag
3519 - Removed EraseWindowBackground() and SetWindowBackground() methods
3520 - We no longer call EraseWindowBackground on PaintEventStart, we
3521 ignore the fErase flag, erasing is handled in Control in the
3523 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
3524 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
3525 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
3526 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
3527 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
3528 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
3529 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
3531 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
3533 * PropertyGrids.cs: Get sub properties
3534 * PropertyGridView.cs: Fix drawing code
3536 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3538 * ListBox.cs: Fixes 76383
3540 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3542 * DataGridTextBoxColumn.cs: Sets location and size before attachment
3543 * ThemeWin32Classic.cs: Fixes border drawing and calculations
3544 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
3547 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3549 * ComboBox.cs: Fixes border drawing
3551 2005-10-10 Miguel de Icaza <miguel@novell.com>
3553 * MimeIcon.cs: Ignore errors if the file can not be read.
3555 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3557 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
3558 - Fixed border calculations
3559 - Fixed horizontal scrolling in single column listboxes
3560 - Fixed drawing issues
3562 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
3564 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
3565 FormBorderStyle enum
3566 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
3567 code to determine FormBorderStyles from CreateParams
3569 - Fixed bug where we'd set the wrong window styles if we were
3570 not creating an MDI window
3571 - Added call to XplatUI.SetBorderStyle when form borders are set
3572 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
3574 - Removed obsolete edge style
3575 - Switched from BorderStyle to FormBorderStyle
3577 2005-10-10 Jackson Harper <jackson@ximian.com>
3579 * Form.cs: Use the property to get the window handle instead of
3580 accessing it directly. Prevents a null reference exception.
3582 2005-10-10 Jackson Harper <jackson@ximian.com>
3584 * TreeView.cs: Don't adjust the rect given to DrawString now that
3585 our libgdiplus draws correctly.
3587 2005-10-08 Jackson Harper <jackson@ximian.com>
3589 * TreeView.cs: Don't try to find the clicked on node if there are
3590 no nodes in the tree.
3592 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3598 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3600 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
3601 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
3603 Use ResPool for brushes and dispose System.Drawing objects that
3604 are not used anymore.
3606 2005-10-07 Jackson Harper <jackson@ximian.com>
3608 * MdiChildContext.cs: Use the new borders instead of drawing them
3611 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3613 * Calling UpdateBounds after changing the window's BorderStyle
3614 since the style can change the ClientSize
3616 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3618 * Control.cs: Made PaintControlBackground virtual
3619 * Panel.cs: Overriding PaintControlBackground instead of using paint
3620 event; paint event method was interfering with 'real' users of the
3623 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3625 * ThemeWin32Classic.cs: remove border drawing since it is handled
3626 by the base control class now and was causing double border drawing.
3628 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3630 * Panel.cs: Redraw our background on paint. Not a pretty solution,
3631 but it does seem to match MS behaviour. This fixes bug #75324
3633 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3635 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
3636 somewhat hackish looking
3638 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3641 - We now accept Enter even if AcceptEnter is false, if the containing
3642 form does not have an AcceptButton configured (fixes bug #76355)
3643 - Calculations are now fixed to no longer use Width/Height, but
3644 ClientSize.Width/Height, since we now support borders (this was
3645 a result of fixing borders and therefore bug #76166)
3646 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
3647 true (fixes bug #76354)
3649 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3652 - Defaulting BorderStyle and setting it in XplatUI when our window
3654 - Added enum check to InternalBorderStyle setter
3656 - Added drawing of window borders
3657 - Now properly calculates WM decorations offset for toplevel
3658 windows (fixes bug #74763)
3660 - Implemented BorderStyles for windows (we're letting win32 draw
3662 - Fixed the signature for SetWindowLong
3663 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
3664 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
3666 * UpDownBase.cs: Remove drawing of borders, this is handled by
3667 the driver, outside the client area
3668 * ListView.cs: Removed bogus border calculations. The control should
3669 be oblivious to borders, since those are not part of the client
3671 * X11DesktopColors.cs: Commented out (currently) unneeded variables
3672 * ThemeWin32Classic.cs: Removed border calculations from ListView
3675 2005-10-06 Jackson Harper <jackson@ximian.com>
3677 * MdiChildContext.cs: Clear out the old virtual position remove
3678 all the unneeded calls to CreateGraphics.
3680 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3682 * TextControl.cs: Use proper color for highlighted text; fixes #76350
3684 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3687 - Added loading and setting of our new default icon
3688 - Only set icon if window is already created
3690 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3693 - Do not explicitly set the foreground and background colors, to
3694 allow inheriting from parents (fixes #76302)
3695 - Use Control's InternalBorderStyle property to deal with borders
3697 2005-10-06 Jackson Harper <jackson@ximian.com>
3699 * MdiChildContext.cs: Use the new xplatui function to draw a
3702 2005-10-06 Jackson Harper <jackson@ximian.com>
3704 * Form.cs: Add the parent before creating the child context cause
3705 we need the parent when setting up the child.
3707 2005-10-06 Jackson Harper <jackson@ximian.com>
3709 * FolderBrowserDialog.cs: redo the tree population code so a
3710 second thread isn't used. Should be a lot faster and more stable
3713 2005-10-05 Jackson Harper <jackson@ximian.com>
3715 * TreeView.cs: There are no expand/collapse boxes if the node has
3718 2005-10-05 Jackson Harper <jackson@ximian.com>
3720 * X11DesktopColors.cs: Get menu colours for the gtk theme.
3722 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
3724 * FileDialog.cs: Fix InitialDirectory
3726 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3729 - Fixes changing between styles
3731 - Fixes last item crashing when navigating with keyboard
3733 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3735 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
3737 2005-10-05 Jackson Harper <jackson@ximian.com>
3739 * TreeView.cs: If updating the root node do a full refresh.
3740 * TreeNode.cs: The root node should be expanded by default. Also
3741 added a utility prop to tell if we are the root node.
3742 * TreeNodeCollection.cs: Only refresh if the node we are being
3743 added to is expanded. Also added a comment on a potential
3746 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
3748 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
3749 in dispose method. Fixes #76330
3751 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
3753 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
3755 - Implements vertical and horizontal scrolling using XplatUI
3756 - Fixes keyboard navagation
3757 - Fixes EnsureVisible
3759 - Handles and draws focus properly
3762 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
3764 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
3765 Create handle. NET_2_0: Destroy handle when value is null.
3767 2005-10-03 Jackson Harper <jackson@ximian.com>
3769 * ScrollBar.cs: My last scrollbar patch was broken. This is a
3770 revert and a new patch to prevent the thumb from refreshing so
3773 2005-10-02 Jackson Harper <jackson@ximian.com>
3775 * ScrollBar.cs: Don't update position if it hasn't actually
3776 changed. This occurs when you hold down the increment/decrement
3777 buttons and the thumb gets to the max/min.
3779 2005-10-01 Jackson Harper <jackson@ximian.com>
3782 * MdiChildContext.cs:
3783 * MdiClient.cs: Implement ActiveMdiChild in Form.
3785 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
3787 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
3789 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
3791 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
3794 2005-09-30 Jackson Harper <jackson@ximian.com>
3796 * ListBox.cs: Don't do a full refresh unless some data has
3799 2005-09-30 Jackson Harper <jackson@ximian.com>
3801 * TreeView.cs: Make sure that the checkboxes size is factored in
3802 even when not visible.
3804 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3806 * FileDialog.cs: Fix Jordi's build break
3808 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3811 - Use standard the Windows colours for the combobox as espected
3812 - Dispose objects that use resouces when no longer need them
3814 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3816 * X11DesktopColors.cs: Initial incomplete implementation
3817 * XplatUIX11.cs: Added call to initialize X11DesktopColors
3819 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3822 - Switched Theme color names to match the names defined in
3823 System.Drawing.KnownColors. Life's hard enough, no need to make
3825 - Added setters to all theme color properties so themes can set
3826 their color schemes. The setters also propagate the color changes
3827 to System.Drawing.KnownColors via reflection
3828 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
3829 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
3830 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
3831 use the new, more logical theme color names
3832 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
3834 * ThemeWin32Classic.cs:
3835 - Removed code to set the old classic Windows colors. Instead it
3836 now relies on the colors returned by System.Drawing.KnownColors
3837 which will be either modern static colors (Unix) or colors
3838 read from the user's configuration (Win32)
3839 - Updated to use the new, more logical theme color names
3840 - Switched DataGrid drawing code to use only Theme colors instead of
3841 a mix of System.Drawing.KnownColors and Theme colors
3842 - DrawFrameControl(): Removed code that fills the button area, the
3843 fill would overwrite any previous fill done by a control. This
3845 - Added DrawReversibleRectangle() stub
3846 * ScrollableControl.cs: Set visible state to false when scrollbars
3847 are removed (pdn fix)
3848 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
3849 DrawReversibleRectangle() method to allow drawing primitive
3851 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
3853 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3855 * ImageList.cs: Add(Icon): Create handle.
3857 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3860 * ThemeWin32Classic.cs:
3863 - Issues with drawing
3865 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3867 * ImageList.cs: Moved RecreateHandle back to ImageList as event
3868 source has to be the ImageList.
3870 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3872 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
3874 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3876 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
3878 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3880 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
3882 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
3883 * GridItem.cs: Fixed TODOs
3884 * GridItemCollection.cs: Added ICollection interface
3886 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3888 * ImageList.cs: Resize icons when needed.
3890 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
3893 - Fixes GetBounds and returns on screen rects
3895 - Fixes vertical and horzintal scrolling of items
3896 * ThemeWin32Classic.cs:
3899 2005-09-29 Raja R Harinath <harinath@gmail.com>
3901 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
3903 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
3905 * ImageList.cs: Added comments about handle creation. Moved Handle,
3906 HandleCreated and OnRecreateHandle implementations to ImageCollection.
3907 Handle is created in Add methods.
3909 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3911 * DataGridDrawingLogic.cs:
3912 - Takes rows into account on Colum calculations
3913 - Returns the column when clickig
3915 - Fixes default HitTestInfo values
3916 - Fixes HitTestInfo.ToString
3917 - Fixes ResetBackColor
3919 2005-09-28 Jackson Harper <jackson@ximian.com>
3921 * MdiChildContext.cs: Obey rules for fixed sized windows (no
3922 sizing or cursor changes). Also added some temp code to draw the
3923 titlebars text (Makes dev a little easier).
3925 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3927 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
3929 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3931 * ListBox.cs: Fixes bug 76253
3933 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3935 * ImageList.cs: Added comments about the current implementation. Added
3936 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
3937 Format32bppArgb to preserve transparency and can use Graphics.FromImage
3938 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
3939 with Bitmap.LockBits for better performance. Revised the whole file to
3940 match MS.NET behaviour and provide better performance. Non-public
3941 interface members are calling public members even when they throw
3942 NotSupportedException for better maintainability. Moved ColorDepth,
3943 ImageSize, ImageStream and TransparentColor implementations to
3944 ImageCollection for better performance as these properties are not used
3946 * ImageListStreamer.cs: Added a new internal constructor that takes an
3947 ImageList.ImageCollection and serializes Images based on
3948 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
3949 match ImageList property name.
3951 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
3953 * ListBox.cs: Fixes IndexFromPoint for last item
3955 2005-09-27 Jackson Harper <jackson@ximian.com>
3957 * Form.cs: Set the position of new mdi children correctly.
3959 2005-09-27 Jackson Harper <jackson@ximian.com>
3961 * MdiClient.cs: New mdi children need to be added to the back of
3962 the controls collection so the zorder is set correctly. Also add a
3963 count of all the child windows that have been created.
3965 2005-09-27 Jackson Harper <jackson@ximian.com>
3967 * Form.cs (CreateParams): Setup MDI forms correctly.
3969 2005-09-27 Jackson Harper <jackson@ximian.com>
3971 * MdiChildContext.cs:
3978 * ScrollableControl.cs:
3979 * ComboBox.cs: Add implicit controls using the new implict control
3980 functionality in ControlCollection. Also try to block multiple
3981 control add in a suspend/resume layout to save some cycles.
3983 2005-09-27 Jackson Harper <jackson@ximian.com>
3985 * Control.cs: Add functionality to the controls collection to add
3986 'implicit controls' these are controls that are created by the
3987 containing control but should not be exposed to the user. Such as
3988 scrollbars in the treeview.
3989 * Form.cs: The list var of the ControlsCollection is no longer
3990 available because of the potential of implicit controls getting
3991 ignored by someone accessing the list directly.
3993 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
3995 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
3996 loose it's parent. (Fixed bug introduced in r49103 when we added
3997 setting the child parent to null on Remove)
3999 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
4001 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4002 * Splitter.cs: Added missing attributes for BorderStyle property.
4003 * TextBoxBase.cs: Marked Calculate* methods internal.
4004 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4007 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
4009 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4011 2005-09-25 Jackson Harper <jackson@ximian.com>
4013 * TreeView.cs: Update the node bounds correctly regardless of
4014 whether the node is visible.
4016 2005-09-25 Jackson Harper <jackson@ximian.com>
4018 * ImageList.cs: Don't dispose the image after it is added to the
4019 image list. Only reformat images that need to be resized.
4021 2005-09-25 Jackson Harper <jackson@ximian.com>
4023 * ImageList.cs: Don't set the format when changing the image.
4025 2005-09-25 Jackson Harper <jackson@ximian.com>
4027 * TreeView.cs: We can't just assume the node has a font. Use the
4028 treeviews font if no node font is available.
4030 2005-09-25 Jackson Harper <jackson@ximian.com>
4032 * TreeView.cs: Allow the scrollbars to be reset with negative
4034 - Don't add scrollbars to negative sized windows.
4036 2005-09-23 Jackson Harper <jackson@ximian.com>
4038 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4039 old Mono.Posix. Also remove some stray code that shouldn't have
4042 2005-09-23 Jackson Harper <jackson@ximian.com>
4044 * TreeView.cs: Attempt at proper sizing of the horizontal
4045 scrollbar. Also don't resize the scrollbars unless they are
4048 2005-09-23 Jackson Harper <jackson@ximian.com>
4050 * TreeView.cs: We don't need to expand the invalid area when the
4051 selection changes, as this is all drawn in the node's bounding
4052 box. The area needs to be expanded (previous typo was contracting
4053 it) when the focus rect moves.
4055 2005-09-23 Jackson Harper <jackson@ximian.com>
4057 * TreeView.cs: Display the selection box under the correct
4058 circumstances. We were rendering white text with no selection box
4061 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
4063 * TextControl.cs(Split): Now updates selection start/end if it points
4064 into a line that's being split. Fixes a FIXME and bug #75258
4066 2005-09-23 Jackson Harper <jackson@ximian.com>
4069 * ListControl.cs: Don't use the path when retrieving binding
4070 managers from the binding context. My bat sense tells me that the
4071 path is only used on insertion.
4073 2005-09-22 Jackson Harper <jackson@ximian.com>
4075 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4077 2005-09-22 Jackson Harper <jackson@ximian.com>
4079 * Splitter.cs: There are special cursors used for splitting.
4080 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4082 2005-09-22 Jackson Harper <jackson@ximian.com>
4084 * Splitter.cs: Change the cursor appropriately when the splitter
4085 is moused over, so the user actually knows there is a splitter
4088 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4090 * Label.cs : Fix ToString method to give same output as MS.NET
4092 2005-09-22 Jackson Harper <jackson@ximian.com>
4094 * TreeView.cs: Create the scrollbars when the handle is created
4095 and add them right away, just make them invisble. Also account for
4096 the window being shrunk vertically to the point that the vert
4097 scrollbar needs to be added.
4098 - Remove some 0.5 adjustments to get around anti aliasing issues.
4100 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
4102 * MainMenu.cs: Fixes default value
4103 * MenuItem.cs: Fixes default value
4105 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
4107 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4109 2005-09-21 Jackson Harper <jackson@ximian.com>
4111 * Control.cs: Don't try to set the border style on the window if
4112 it hasn't been created. When the window is created the border
4115 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4117 * Control.cs (Update): Don't call XplatUI if we don't have a
4120 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4122 * ContainerControl.cs: Instead of throwing an exception, print
4123 a one-time warning about Validate not being implemented
4124 * XplatUIWin32.cs: Removed debug output
4126 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4128 * Control.cs: Only set XplatUI background if we expect the windowing
4129 system to handle the background. This stops controls that draw their
4130 own background from flickering
4132 * XplatUIX11.cs: Support custom visuals and colormaps for window
4133 creation. This allows, amongst other things, using MWF X11 windows
4136 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4138 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4139 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4140 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4141 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4142 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4143 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4144 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4145 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4146 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4147 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4148 GridColumnStylesCollection.cs,
4149 IDataGridColumnStyleEditingNotificationService.cs,
4150 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4151 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4152 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
4153 TreeNodeCollection.cs, AmbientProperties.cs,
4154 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4155 DataObject.cs, ErrorProvider.cs, Splitter.cs,
4156 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4157 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4158 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4159 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4160 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4161 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4162 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4163 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4164 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4165 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4166 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4167 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4168 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4169 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4170 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4171 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4172 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4173 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4174 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4175 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4176 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4177 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4178 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4179 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4180 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4181 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4182 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4183 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4184 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4185 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4186 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4187 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4188 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4189 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
4190 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
4192 2005-09-21 Jackson Harper <jackson@ximian.com>
4194 * TreeNode.cs: Call Before/After Expand not Collapse when
4197 2005-09-20 Jackson Harper <jackson@ximian.com>
4199 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
4201 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4205 - Fixes proper storing of subitems
4206 - Fixes not updated items
4208 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4210 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
4211 things if our window handle isn't created yet. Also disabled
4212 debug for TextBoxBase
4214 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4216 * MenuAPI.cs: Remove filtering of events to allow menu usage
4218 2005-09-20 Miguel de Icaza <miguel@novell.com>
4220 * Cursor.cs: Allow null to be passed to Cursor.Current.
4222 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
4224 * ThemeWin32Classic.cs:
4225 - Change some private methods/fields to protected virtual so that
4226 they can be accessed and overriden in derived classes
4227 - First refactoring of some methods. Derived themes now don't
4228 need to duplicate the complete code from ThemeWin32Classic
4230 - Added nice StatusBar
4231 - Derive from ThemeWin32Classic and not Theme
4232 - Removed duplicate ThemeWin32Classic code
4234 2005-09-20 Miguel de Icaza <miguel@novell.com>
4236 * Control.cs (ControlCollection.Add): If the value null is passed
4237 the control is ignored.
4241 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4243 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
4244 PostQuitMessage state.
4245 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
4247 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4249 * Application.cs: Our constructor will never get called, move
4250 initialization to fields; fixes bug #75933
4252 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4255 - Allow files to be selected properly using file name
4257 - Add ability to change diretory (absolute / relative)
4258 using file name combo box.
4260 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4263 - Fixes Multicolumn listboxes item wrong calculations
4264 - Allows to click when only one item is in the listbox
4265 - Fixes crash when no items using keyboard navigation
4267 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
4269 * ComboBox.cs: Reverted almost everything from the latest patch which
4272 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
4275 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
4277 - When DropDownStyle is Simple, it does not show scrollbar
4278 to the last item of the list.
4279 - When DropDownStyle is Simple, it crashed when the list was
4280 scrolled down with the down cursor key.
4281 - Fixed a bug that when DropDownStyle is DropDownList, the
4282 selected item was not shown.
4283 - The position of the selected item was not preserved when
4284 the next dropdown happened.
4285 * ThemeWin32Classic.cs:
4286 - Items were wrapped at the right end.
4287 * CheckedListBox.cs:
4290 - Items should be fully shown.
4291 - When resizing and vertical scrollbar disappeared, the item
4292 of index 0 should be on the top of the list.
4293 - GetItemRectangle should consider the size of ver. scrollbar
4295 - SizingGrip area should not be allocated when it is not
4297 - Now it reflects MinWidth of the containing panel and
4298 fixed a crash that happens when its width becomes so small.
4300 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4302 * CheckedListBox.cs: Fixes bug 76028
4303 * ListBox.cs: Fixes bug 76028
4305 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4307 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4308 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4310 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
4312 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4314 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4316 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
4318 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4320 * IRootGridEntry.cs: Added
4321 * PropertyGridCommands.cs: Added
4322 * PropertiesTab.cs: Added missing methods and property
4323 * PropertyGridView.cs: Made class internal
4324 * PropertyGridTextBox.cs: Made class internal
4326 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4328 * MimeIcon.cs: Try to check some other environment variables
4329 if "DESKTOP_SESSION" returns "default"
4331 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4333 * ThemeNice.cs: Corrected background colors (e.g. menus)
4334 * ColorDialog.cs: Use correct background colors for controls
4336 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4338 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4340 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
4342 * RichTextBox.cs: Added initial implementation
4343 * lang.cs: Removed. Was accidentally checked in long time ago
4344 * TODO: Removed. Contents were obsolete
4346 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4348 * PropertiesTab.cs : Added
4350 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4352 * PropertyGrid.cs : Update
4353 * PropertyGridView.cs : Update
4354 * System.Windows.Forms.resx : Added images and strings
4356 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4358 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4360 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4362 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4363 a busy loop right after the Ungrab the X11 display is otherwise
4366 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
4368 * ThemeWin32Classic.cs: Optimise the use of clipping
4370 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
4372 * DataGrid.cs: fixes recursion bug
4374 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
4377 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4380 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
4382 * ThemeNice.cs: Draw nice ProgressBars
4384 2005-09-01 Miguel de Icaza <miguel@novell.com>
4386 * VScrollBar.cs: Another buglet found by Aaron's tool.
4388 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4391 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
4394 - Added nicer menu drawing
4398 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4400 * CreateParams.cs (ToString): Made output match MS
4401 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
4402 handle is already created (to avoid forcing window creation)
4403 * XplatUIX11.cs: Set window text to caption after creating window,
4404 in case Text was set before window was created
4405 * Form.cs: Use this.Text instead of a static string as caption
4407 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4409 * NotifyIcon.cs: Don't set the window to visible; this screws
4410 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4411 OnPaint without a bitmap)
4412 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
4413 happen very often anyway; we could add the check to the WM_PAINT
4414 event generation code
4416 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4418 * NotifyIcon.cs: Fill the icon area with a background color, to
4419 avoid 'residue' when transparent icons are drawn
4421 - Handle whole_window == client_window when destroying windows
4422 - SystrayAdd(): Set client_window to whole_window value to
4423 get mouse and other events passed to NotifyIcon
4425 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4427 * Form.cs: Set proper default for Opacity property
4429 - ShowSystray(): Don't bother creating telling the OS
4430 about the systray item if no icon is provided
4431 - Now handles WM_NCPAINT message to deal with whole/client window
4433 - Create window as visible to not get caught by Expose optimization
4434 * Hwnd.cs: Removed debug message
4435 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
4436 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
4437 PaintEventStart/End to use new client argument
4439 - Commented out debug messages
4440 - Switched PaintEventStart/End to use new client argument
4441 * XplatUI.cs: Added client window bool to PaintEventStart()/
4442 PaintEventEnd() calls, to support drawing in non-client areas
4444 - Added client window bool to PaintEventStart()/PaintEventEnd()
4445 calls, to support drawing in non-client areas
4446 - Added conditional compile to allow using MWF BeginInvoke
4449 - Added some conditional debug output
4450 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
4451 whole/client window split
4452 - Implemented handling of client argument to PaintEventStart()/End()
4454 - Throw exception if BeginInvoke() is called and the window handle
4455 or one of the window's parent handles is not created
4456 - Added conditional compile to allow using MWF BeginInvoke on
4458 - get_Parent(): Only sets parent if handle is created. This avoids
4459 forcing window handle creation when parent is set.
4460 - Now fires Layout and Parent changed events in proper order
4461 - Switched to use Handle instead of window.Handle for Z-Order setting,
4462 the get_Parent() patch above causes us to possibly get null for 'window'
4463 - Implemented handling of client argument to PaintEventStart()/End()
4464 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
4466 - Now sends a Refresh() to all child windows when Refresh() is called
4468 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
4470 * Form.cs: Added (non-functional) Opacity property
4471 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
4473 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
4474 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
4475 use export MONO_THEME=nice to activate it.
4476 Currently supported controls:
4480 - TabControl (TabAlignment.Top only, other will follow)
4481 * ThemeEngine.cs: Add theme nice
4482 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
4485 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
4487 * Splitter.cs: Resize docked control and its neighbor.
4489 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4490 -- Making Windows with Menus layout correctly --
4491 * Form.cs : The first leg of the fix
4492 Menu setter - adjust Client Size as needed to make space for the menu
4493 SetClientSizeCore - doesn't call base version to be able to pass the
4494 menu handle to XplatUI.CalculateWindowRect
4495 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
4496 * XplatUIX11.cs: The critical second leg of the fix
4497 GetWindowPos needs to use a recalculated client_rect
4498 so that resizing the window doesn't break layout of child controls.
4499 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
4502 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
4504 * Label.cs: Now properly recalculates width and height on Font and Text
4505 changes if AutoSize is set
4507 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4508 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
4510 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
4512 * ImageList.cs: Makes ToString method compatible with MS
4514 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
4516 * MenuAPI.cs: fixes bug 75716
4518 2005-08-11 Umadevi S <sumadevi@novell.com>
4519 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
4521 2005-08-11 Umadevi S <sumadevi@novell.com>
4522 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
4524 2005-08-10 Umadevi S <sumadevi@novell.com>
4525 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
4527 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
4529 * Menu.cs: fixes bug 75700
4530 * MenuAPI.cs: fixes navigation issues
4532 2005-08-09 Umadevi S <sumadevi@novell.com>
4533 * CheckedListBox.cs - simple fix for GetItemChecked.
4535 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
4537 * ComboBox.cs: Serveral fixes
4538 * ListBox.cs: Serveral fixes
4540 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4542 * ComboBox.cs: Fixes FindString methods and GetItemHeight
4543 * ListBox.cs: Fixes FindString methods
4545 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4547 * DataGrid.cs: fixes bugs exposed by new tests
4549 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
4551 * Mime.cs: Compile Mono assembly references only if compiling
4552 with Mono (Allows to build with VS.Net again)
4554 2005-07-28 Marek Safar <marek.safar@seznam.cz>
4556 * Control.cs (PaintControlBackground): Draw background image
4558 (CheckForIllegalCrossThreadCalls): Stubbed.
4560 * Form.cs (OnCreateControl): Center when should be centered.
4562 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
4564 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
4566 * Binding.cs: Binding to properties should be case unsensitive
4568 2005-07-18 vlindos@nucleusys.com
4570 * DataGrid.cs: fixes setmember order
4572 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
4574 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
4575 * FileDialog.cs: FileDialog is now resizable and uses the new
4578 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
4580 * DataGridTextBoxColumn.cs: default value
4581 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
4582 * GridTableStylesCollection.cs: fixes checking MappingName
4583 * DataGridDrawingLogic.cs: fixes drawing logic issues
4584 * DataSourceHelper.cs: rewritten to make compatible with more data sources
4585 * DataGrid.cs: fixes
4587 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
4589 * MimeGenerated.cs: Use case sensitive comparer for
4590 NameValueCollections
4592 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
4594 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
4595 * ThemeWin32Classic.cs: bug fixes, code refactoring
4596 * DataGridDrawingLogic.cs: bug fixes, code refactoring
4597 * DataGrid.cs: bug fixes, code refactoring
4598 * DataGridTextBox.cs: bug fixes, code refactoring
4599 * DataGridColumnStyle.cs: bug fixes, code refactoring
4600 * Theme.cs: bug fixes, code refactoring
4602 2005-07-01 Peter Bartok <pbartok@novell.com>
4604 * TextControl.cs: Quick fix for the reported crash on ColorDialog
4605 and other text box usage
4607 2005-07-01 Jackson Harper <jackson@ximian.com>
4609 * TabControl.cs: Make sure the bottom of the tab covers the pages
4612 2005-06-30 Peter Bartok <pbartok@novell.com>
4614 * Form.cs (ShowDialog): Assign owner of the dialog
4615 * TextBoxBase.cs: Always refresh caret size when deleting, caret
4616 might have been moved to a tag with different height
4618 2005-06-30 Jackson Harper <jackson@ximian.com>
4620 * Form.cs: Don't create an infinite loop when setting focus
4621 * MenuItem.cs: Don't dirty the parents if we don't have any
4623 2005-06-29 Ben Maurer <bmaurer@ximian.com>
4625 * LibSupport.cs: Rename
4627 2005-06-29 Peter Bartok <pbartok@novell.com>
4629 * TextBoxBase.cs: Re-align caret after deleting a character
4631 - DeleteChars(): Ensure that tag covers the provided position
4632 - StreamLine(): Drop reference for dropped tag
4634 2005-06-29 Peter Bartok <pbartok@novell.com>
4637 - Selections now work properly, anchoring at the initial location
4638 and properly extending in either direction (SetSelectionToCaret(),
4639 SetSelectionStart() and SetSelectionEnd())
4640 - No longer redraws the whole control on selection change, now
4641 calculates delta between previous and new selection and only
4642 invalidates/redraws that area
4643 - Fixed FindPos() math off-by-one errors
4644 - Changed DeleteChars() to verify the provided tag covers the
4645 provided position, selections may have a tag that doesn't cover
4646 the position if the selection is at a tag border
4647 - Fixed off-by-one errors in DeleteChars()
4648 - Added missing streamlining check in DeleteChars() to remove
4650 - Implemented Invalidate() method, now properly calculates exposures
4651 between two given lines/positions
4652 - Implemented SetSelection()
4653 - Obsoleted and removed FixupSelection()
4654 - Improved RecalculateDocument() logic, removing code duplication
4656 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4658 * LibSupport.cs: changes to match different input/output arguments.
4660 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4662 * LibSupport.cs: added libsupport.so init routine.
4664 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
4666 * ControlBindingsCollection.cs
4667 - Throws an exception on null datasource when adding
4668 - Checks for duplicated bindings when adding
4670 2005-06-28 Jackson Harper <jackson@ximian.com>
4672 * TreeView.cs (OnKeyDown): Support left and right properly
4673 (navigates as well as expanding and collapsing.
4674 - Add support for Multiply, this expands all the selected nodes
4678 2005-06-28 Jackson Harper <jackson@ximian.com>
4680 * TreeView.cs: Implement keyboard navigation, currently supports,
4681 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
4682 support for toggling checkboxes with the space bar.
4684 2005-06-28 Jackson Harper <jackson@ximian.com>
4686 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
4689 2005-06-28 Jackson Harper <jackson@ximian.com>
4691 * TreeView.cs: Add missing event.
4693 2005-06-27 Peter Bartok <pbartok@novell.com>
4696 - Made line ending size configurable (now allows for counting
4697 lineendings as \n or \r\n)
4698 - Added margin to viewport to keep caret visible on right side
4699 - Fixed translation routines for line/pos to documentpos to consider
4700 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
4701 - Fixed some line-endings to be unix style
4702 - Fixed Document.FormatText to perform it's calculations 1-based
4703 - Added descriptions for a few methods that might otherwise get
4705 - Added NOTE section with some basic conventions to remember at
4707 - Major fixup for RichTextBox selection drawing:
4708 * Fixed crashes when multiple tags on a single line were selected
4709 * fixed selection box drawing not overlaying text
4710 * fixed bogus offset calculation for tags not starting at index 1
4711 * Switched behaviour from using multiple Substrings of a
4712 StringBuilder.ToString() to using multiple
4713 StringBuilder.ToString(start, length) statements, hoping this is
4714 faster (kept original version commented out in the code, in case
4715 original version was faster)
4716 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
4718 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
4721 2005-06-27 Jackson Harper <jackson@ximian.com>
4723 * TabControl.cs: Move to the left and right with the arrow
4724 keys. These keys don't cycle beyond first and last like
4725 tab. Refresh all the tabs when scrolling them to the left or
4728 2005-06-27 Jackson Harper <jackson@ximian.com>
4731 - ToString: Added method
4732 - CreateParams: Remove TODO and comment
4733 - OnKeyDown: Cycle through bounds properly.
4734 - SelectedIndex: Scroll to the right or left if we need to
4735 display the newly selected tab.
4737 2005-06-23 Jackson Harper <jackson@ximian.com>
4739 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
4742 2005-06-23 Jackson Harper <jackson@ximian.com>
4744 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
4745 CTRL-SHIFT-TAB, and HOME, END are there any others?
4747 2005-06-23 Jackson Harper <jackson@ximian.com>
4749 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
4751 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4753 * DataGridTextBoxColumn.cs: fixes and enhancements
4754 * ThemeWin32Classic.cs: fixes and enhancements
4755 * DataGridBoolColumn.cs: fixes and enhancements
4756 * DataGridDrawingLogic.cs: fixes and enhancements
4757 * CurrencyManager.cs: fixes and enhancements
4758 * DataGrid.cs: fixes and enhancements
4759 * DataGridColumnStyle.cs: fixes and enhancements
4761 2005-06-22 Jackson Harper <jackson@ximian.com>
4763 * TabControl.cs: Add some missing methods that just call into the
4764 base. Make the TabPageCollection's IList interface behave in the
4765 same manner as the MS implementation.
4767 2005-06-22 Peter Bartok <pbartok@novell.com>
4769 * TextControl.cs: Added sanity check
4771 - Fixed wrapping behaviour, don't set wrap on single line controls
4772 (this fixes the breakage of colordialog introduced in an earlier
4774 - Added rudimentary support for autoscrolling right-aligned controls
4775 (still needs fixing, also, center alignment scroll is missing)
4777 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4779 * ScrollBar.cs: Fixes thumbpos on Maximum values
4781 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
4783 * PropertyGridView.cs: Pass context information to UITypeEditors
4785 2005-06-21 Peter Bartok <pbartok@novell.com>
4788 - Now calling PositionCaret with absolute space coordinates
4789 - Enabled vertical scrolling
4790 - Better tracking of scrollbar changes, tied into WidthChange
4792 - Improved cursor tracking
4793 - Removed debug output
4795 - PositionCaret coordinates are now works in absolute space, not
4797 - Improved tracking of document size
4798 - Added events for width and height changes
4800 2005-06-21 Peter Bartok <pbartok@novell.com>
4802 * Form.cs: Set focus to active control when form is activated
4804 - Added word-wrap functionality to RecalculateLine()
4805 - Added some short function descriptions for VS.Net to aid in
4806 writing dependent controls
4807 - Added Caret property, returning the current coords of the caret
4808 - Added ViewPortWidth and ViewPortHeight properties
4809 - Added Wrap property
4810 - Added CaretMoved event
4811 - Removed some old debug code
4812 - Split() can now create soft splits
4813 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
4814 - Added method to format existing text
4815 - Fixed size/alignment calculations to use viewport
4816 - RecalculateDocument now can handle changing line-numbers while
4820 - Added some wrap logic, we don't wrap if alignment is not left
4821 - Added casts for scrollbar var, base class switched types to
4822 also support RichTextBoxA
4823 - Implemented handling of scrollbar visibility flags
4826 - Switched scrollbars type to RichTextBoxScrollBars to support
4828 - Added tracking of canvas width/height
4829 - Switched scrollbars to be not selectable (to keep focus on text)
4830 - Added central CalculateDocument() method to handle all redraw
4832 - Added ReadOnly support
4833 - Added WordWrap support
4834 - Fixed handling of Enter key (we now treat it as a DialogKey)
4835 - Fixed caret positioning when h or v scroll is not zero
4836 - Fixed placing/generation of vertical scrollbar
4837 - Added CalculateScrollBars() method to allow updating scrollbar
4838 limits and visibility
4839 - Fixed handling of horizontal scroll
4840 - Added handling of vertical scroll
4841 - Implemented auto-'jump' when caret moves to close to a left or
4842 right border and there is text to be scrolled into view (currently
4843 there's the potential for a stack overflow, until a bug in
4846 2005-06-21 Geoff Norton <gnorton@customerdna.com>
4848 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
4850 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
4854 - return application/x-zerosize for files with size zero
4855 (if no extension pattern matches).
4856 - check matches collection for strings too.
4857 - return only the first mime type if the name value
4858 collection has more than one mime type.
4860 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
4862 * PropertyGrid.cs: Cleaned up some TODOs
4863 * PropertyGridView.cs: Added support for UITypeEditors
4865 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4867 * DataGrid.cs: clears cached value
4869 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4871 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
4872 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
4873 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
4874 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
4876 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
4878 * ThemeWin32Classic.cs: fixes colour
4880 2005-06-15 Peter Bartok <pbartok@novell.com>
4882 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
4883 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
4884 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
4885 * Control.cs: Added some MWFCategory and MWFDescription attributes
4886 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
4888 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
4890 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
4893 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
4895 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
4896 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
4897 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
4898 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
4899 * DataGrid.cs: default datagrid settings for Default Styles, fixes
4900 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
4902 2005-06-13 Jackson Harper <jackson@ximian.com>
4904 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
4905 isn't printed when the user enables dropping. (X11 does accept
4908 2005-06-13 Jackson Harper <jackson@ximian.com>
4910 * TreeView.cs: Remove some TODOS.
4912 2005-06-13 Jackson Harper <jackson@ximian.com>
4914 * Form.cs: Hook into the mdi framework.
4915 * MdiClient.cs: Use the base control collections add method so
4916 parents get setup correctly. Set the default back colour and dock
4918 * MdiChildContext.cs: New class, this bad actor handles an
4919 instance of an MDI window. Right now there is only basic
4920 support. You can drag, close, and resize windows. Minimize and
4921 Maximize are partially implemented.
4923 2005-06-13 Jackson Harper <jackson@ximian.com>
4925 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
4926 freaky when both vals are negative. NOTE: There are probably other
4927 places in XplatUIX11 that this needs to be done.
4929 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
4931 * DataGrid.cs: implement missing methods, move KeyboardNavigation
4932 * DataGridColumnStyle.cs: fixes signature
4934 2005-06-12 Jackson Harper <jackson@ximian.com>
4936 * XplatUIX11.cs: Use sizing cursors similar to the ones on
4939 2005-06-11 Jackson Harper <jackson@ximian.com>
4941 * StatusBarPanel.cs: Signature cleanups. Implement
4944 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
4946 * DataGridTextBoxColumn.cs: Honors aligment
4947 * GridColumnStylesCollection.cs: Contains is case unsensitive
4948 * GridTableStylesCollection.cs: several fixes
4949 * DataGridTableStyle.cs: default column creation
4950 * DataGridDrawingLogic.cs: fixes
4951 * CurrencyManager.cs: ListName property
4952 * DataGrid.cs: multiple styles support
4953 * DataGridColumnStyle.cs: fixes
4956 2005-06-10 Peter Bartok <pbartok@novell.com>
4958 * Control.cs(Select): Moved SetFocus call to avoid potential
4959 loops if controls change the active control when getting focus
4960 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
4963 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
4965 * ImageListConverter.cs: Implemented
4967 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4969 * MonthCalendar.cs: Wired in NumericUpDown control for year
4971 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4973 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
4974 DoubleClick events, since they are not meant to be fired.
4976 2005-06-09 Peter Bartok <pbartok@novell.com>
4978 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
4979 Jonathan's standalone controls into MWF, implemented missing
4980 events, attributes and methods; added xxxAccessible classes
4981 * AccessibleObject.cs: Made fields internal so other classes
4982 can change them if needed
4984 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
4986 * UpDownBase.cs: Complete implementation
4987 * NumericUpDown.cs: Complete implementation
4988 * DomainUpDown.cs: Complete implementation
4990 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
4992 * DataGridTextBoxColumn.cs: drawing fixes
4993 * DataGridCell.cs: fixes ToString method to match MSNet
4994 * DataGridTableStyle.cs: fixes
4995 * DataGridBoolColumn.cs: fixes, drawing
4996 * DataGridDrawingLogic.cs: fixes, new methods
4997 * DataGridTextBox.cs: Keyboard and fixes
4999 - Keyboard navigation
5001 - Row selection (single, multiple, deletion, etc)
5004 2005-06-07 Jackson Harper <jackson@ximian.com>
5006 * ThemeWin32Classic.cs: Clear the background area when drawing
5009 2005-06-06 Peter Bartok <pbartok@novell.com>
5011 * ImageListStreamer.cs: Fixed signature for GetData
5012 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5014 - Added missing ChildAccessibleObject class
5015 - Added missing OnXXXFocus overrides, switched to using those
5016 instead of the event handler
5018 - Added Parent property for ControlAccessibleObject
5021 - Added ResetBindings()
5022 * ListBindingConverter.cs: Implemented some methods
5023 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5024 * ImageList.cs: Implemented basic handle scheme, removed TODOs
5025 * ContainerControl.cs: Fixed signature, now subscribing to the
5026 ControlRemoved event instead of overriding the handler, LAMESPEC
5027 * CurrencyManager.cs: Added missing attribute
5028 * MonthCalendar.cs: Added missing properties
5030 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5032 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5034 2005-06-06 Gaurav Vaish and Ankit Jain
5036 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5037 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5039 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5041 * Control.cs: fixes CreateParams Width / Height.
5043 2005-06-05 Peter Bartok <pbartok@novell.com>
5045 * Win32DnD.cs: Removed compilation warnings
5047 2005-06-05 Peter Bartok <pbartok@novell.com>
5049 * Control.cs (CreateParams): Since we don't know if one of the
5050 properties we use is overridden, lets make sure if we fail accessing
5051 we continue with a backup plan
5053 2005-06-05 Peter Bartok <pbartok@novell.com>
5056 - Removed debug output
5057 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5059 - Plugged resource leak
5060 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5063 2005-06-05 Peter Bartok <pbartok@novell.com>
5065 * XplatUIWin32.cs: Removed DnD code
5066 * Win32DnD.cs: Implemented drop source and drop target functionality
5068 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5070 * UpDownBase.cs: remove duplicate addition of event, enable some code
5071 that was commented out.
5072 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5073 Validate input when a key is pressed. It works fine now for every
5074 combination of Hexadecimal. Only missing some drawing love when sharing
5075 space with other controls.
5077 2005-06-04 Peter Bartok <pbartok@novell.com>
5080 - We need to pass a window for DragDrop, so enable callback events
5081 - Added DnD callback events when being a DragSource
5082 * XplatUI.cs (StartDrag): Added window handle argument
5083 * XplatUIDriver.cs (StartDrag): Added window handle argument
5084 * QueryContinueDragEventArgs: Made fields internally accessible so
5085 drivers can set them
5086 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5089 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
5091 * DataGridTextBoxColumn.cs: column text editing
5092 * DataGridTableStyle.cs: Respect columns styles created by the user
5093 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5094 * DataGridBoolColumn.cs: bool column editing
5095 * DataGrid.cs: fixes to scrolling, properties, etc
5096 * DataGridTextBox.cs: handle keyboard
5097 * DataGridColumnStyle.cs: fixes
5099 2005-06-02 Jackson Harper <jackson@ximian.com>
5101 * ImageListStreamer.cs: Somewhat broken implementation of
5102 GetObjectData. The RLE needs some work to match MS properly.
5104 2005-06-02 Jackson Harper <jackson@ximian.com>
5106 * X11Dnd.cs: Attempting to keep at least one file in MWF
5109 2005-06-02 Peter Bartok <pbartok@novell.com>
5111 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5114 2005-06-02 Peter Bartok <pbartok@novell.com>
5116 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5117 * XplatUI.cs: Added DoDragDrop() method
5118 * XplatUIDriver.cs: Added DoDragDrop() method
5120 2005-06-02 Jackson Harper <jackson@ximian.com>
5122 * Splitter.cs: Implement BorderStyle.
5124 2005-06-02 Jackson Harper <jackson@ximian.com>
5126 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5127 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5130 2005-06-02 Peter Bartok <pbartok@novell.com>
5134 - Fixed broken insertion code for SetData, now also
5135 overwrites any existing entry of the same format name
5136 * Hwnd.cs: Added list of pointers that automatically gets
5137 freed when the window is disposed
5138 * XplatUI.cs: Call driver initialization method when loading
5141 - OnDragLeave takes EventArgs, not DragEventArgs
5142 - Added setting of WS_EX_ACCEPTFILES style when dropping is
5144 - Forces style update when drop state changes
5145 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5146 not perfect since we cannot (yet) call the IDataObject.GetData()
5147 method, we keep getting 0x80004005 error, dunno why)
5149 2005-06-02 Peter Bartok <pbartok@novell.com>
5151 * DragEventArgs.cs: Make fields internal so we can cache the
5152 object and re-set the fields from XplatUI
5154 2005-06-02 Jackson Harper <jackson@ximian.com>
5156 * Control.cs: Add some internal methods so the DnD subsystem can
5157 raise DnD events. Also call into the driver when AllowDrop is set.
5159 * XplatUIDriver.cs: New method for setting whether or not a window
5160 is allowed to accept drag and drop messages.
5162 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
5164 * ScrollBar.cs: Make sure that values sent in Scroll events
5165 are always between Maximum and Minimum.
5167 2005-06-01 Marek Safar <marek.safar@seznam.cz>
5169 * Menu.cs: Call MenuChanged when menuitem visibility has been
5171 * MenuItem.cs: Rebuild menu when item is (not) visible.
5172 * MainMenu.cs: MainMenu has special MenuChanged.
5173 * Theme.cs: Caption and FrameBorderSize are not fixed.
5174 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5175 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5177 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5178 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5180 2005-05-30 Jackson Harper <jackson@ximian.com>
5182 * DataFormat.cs: We can't statically initialize this stuff because
5183 it calls into the xplatui and could create a loop. So we lazy init
5186 2005-05-28 Jackson Harper <jackson@ximian.com>
5188 * Control.cs: Proper implementation of Product(Name/Version).
5190 2005-05-27 Jackson Harper <jackson@ximian.com>
5192 * DataObject.cs: Dont crash if no data is found.
5194 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5195 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
5196 as per status page, guessing it should be set to true
5198 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
5200 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
5201 * DataGridTableStyle.cs: set proper formatting text, def header text
5202 * ThemeWin32Classic.cs: new themable paramaters
5203 * DataGridBoolColumn.cs: paint check box, get data, fixes
5204 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
5205 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
5206 * DataGridColumnStyle.cs: fixes
5207 * Theme.cs: new themable paramaters
5209 2005-05-26 Peter Bartok <pbartok@novell.com>
5211 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
5213 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5214 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
5216 2005-05-24 Peter Bartok <pbartok@novell.com>
5218 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
5219 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
5220 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
5221 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
5222 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
5223 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
5224 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
5225 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
5226 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
5227 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
5228 missing attributes, etc
5229 * DataGridPreferredColumnWidthTypeConverter.cs: Added
5231 2005-05-24 Peter Bartok <pbartok@novell.com>
5233 * Help.cs: Added, implemented trivial functions, throws up MessageBox
5234 when user tries to get help
5235 * DataObject.cs, DataFormats.cs, LinkArea.cs,
5236 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
5237 to suppress warnings
5238 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
5239 avoid unreachable code warning
5241 2005-05-20 Peter Bartok <pbartok@novell.com>
5243 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
5245 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5247 * DataGridTextBoxColumn.cs: Basic painting methods
5248 * DataGridTableStyle.cs: Set table style in the column
5249 * ThemeWin32Classic.cs: Use Theme for colors
5250 * DataGridDrawingLogic.cs: Implement more drawing
5251 * DataGrid.cs: drawing, theming, enhacements, fixes
5252 * DataGridColumnStyle.cs: fixes, drawing
5253 * Theme.cs: theming for Datagrid
5255 2005-05-20 Peter Bartok <pbartok@novell.com>
5257 * Cursor.cs: Implemented GetObjectData() method
5259 2005-05-20 Peter Bartok <pbartok@novell.com>
5261 * Cursors.cs: Added setting of cursor name
5263 - Implemented constructors
5264 - Implemented Draw and DrawStretched
5265 - Implemented Current property
5266 - Implemented == and != operators
5267 - Implemented Dispose()
5268 - Implemented ToString
5269 - Added missing attributes
5271 - Added missing reset for OverrideCursor when DoEvents is called
5272 - Fixed creation of cursor, logic was wrong
5274 - Added missing reset for OverrideCursor when DoEvents is called
5275 - Fixed creation of cursor, bit arrays were swapped
5276 * Clipboard.cs: Removed obsolete MonoTODO attribute
5278 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5280 * ComboBox.cs: fixes OnSelectedItemChanged
5281 * ControlBindingsCollection.cs: fixes item range check
5283 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5286 - Calc preferred height properly
5287 - Implement missing properties
5289 * NumericUpDown.cs: Implement missing events
5291 2005-05-19 Jackson Harper <jackson@ximian.com>
5293 * TabControl.cs: New method that resizes the tab pages before
5294 redrawing them. This as needed as the control is double buffered
5295 and sizing will not be recalculated unless ResizeTabPages is
5297 * TabPage.cs: Set base.Text instead of Text in the constructor so
5298 that UpdateOwner does not get called. Use the new Redraw method of
5299 TabControl instead of Refresh so the sizing is recalculated.
5300 * ThemeWin32Classic.cs: Draw the text for button tabs.
5302 2005-05-19 Jackson Harper <jackson@ximian.com>
5304 * Control.cs: Paint control background images. Fix typo where
5305 PaintControlBackground was not getting called correctly.
5307 2005-05-19 Peter Bartok <pbartok@novell.com>
5309 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5310 I can investigate, apparently I broke FileDialog
5312 2005-05-19 Marek Safar <marek.safar@seznam.cz>
5314 * AxHost.cs: Some simple properties.
5315 * Control.cs: window must be accessible after ctor.
5316 * Form.cs: Added TransparencyKey property.
5317 * TextBoxBase.cs: Implemented Clear. Text property can be null.
5318 * XplatUIWin32.cs: SetBorderStyle implemented.
5320 2005-05-18 Peter Bartok <pbartok@novell.com>
5322 * DataObject.cs: Entries are not global but particular to the
5323 DataObject, now it behaves that way
5324 * XplatUIWin32.cs: Implemented Clipboard methods
5325 * Clipboard.cs: Implemented
5326 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5327 * XplatUIOSX.cs: Updated to final clipboard prototypes
5328 * XplatUIX11.cs: Implemented Clipboard methods
5329 * XplatUIDriver.cs: Updated to final clipboard prototypes
5330 * XplatUIStructs.cs:
5331 - Added BITMAPINFOHEADER struct
5332 - Added ClipboardFormats enum
5334 - Added ClipboardStruct
5335 - Added Atom enum items for clipboard types
5336 - Fixed atom types for Selection event structures
5338 - Added internal properties and methods for drivers to enumerate
5340 - Switched initialization method to allow drivers to assign their
5341 own IDs even for the MS predefined clipboard IDs
5342 * XplatUI.cs: Updated to final clipboard interface
5344 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5345 * PropertyGridView.cs: Fixed compiler warnings.
5347 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5348 * PropertyGrid.cs: Added some event calls
5349 * PropertyGridView.cs: Change drawing code to use double buffering
5350 * PropertyGridTextBox.cs: Changed Text property name
5351 * GridItem.cs: Added Bounds property.
5352 * GridEntry.cs: Added Bounds property.
5354 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
5356 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5357 since GetType() may not return the correct type if the object is
5360 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
5362 * TreeNodeCollection.cs: fixes get/set item ranges
5364 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5366 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5368 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5370 * ComboBox.cs: Fix item range comparation
5371 * ListView.cs: Fix item range comparation
5373 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5376 - Clear example panel when OnPaint is called
5377 - Better solution for displaying the example panel text
5378 - Select default indexes in the ListBoxes
5380 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5382 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
5384 2005-05-11 Peter Bartok <pbartok@novell.com>
5386 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5387 * SelectionRangeConverter.cs: Implemented
5388 * PropertyGrid.cs: Fixed attribute value
5390 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5391 - Added Sebastien Pouliot's CAS Stack Propagation fixes
5392 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5393 that's common to all drivers. First methods to go there are
5394 Sebastien Pouliot's CAS Stack Propagation helper methods
5395 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5396 Sebastien Pouliot for CAS Stack Propagation
5398 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5401 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5403 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
5405 * DataGridTextBoxColumn.cs: fixed some members
5406 * GridColumnStylesCollection.cs: indexed column is case insensitive
5407 * DataGridTableStyle.cs: fixes
5408 * ThemeWin32Classic.cs: add new theme parameter
5409 * Theme.cs: add new theme parameter
5410 * DataGridDrawingLogic.cs: Datagrid's drawing logic
5411 * DataGrid.cs: fixes, new internal properties, etc.
5412 * DataGridColumnStyle.cs: allows to set grid value
5415 2005-05-10 Peter Bartok <pbartok@novell.com>
5417 * AccessibleObject.cs:
5418 - Removed MonoTODO attribute on help, method is correct
5419 - Fixed Bounds property
5420 * AxHost.cs: Moved MonoTODO
5421 * ButtonBase.cs: Now setting AccessibleObject properties
5422 * RadioButton.cs: Setting proper AccessibleObject role
5423 * CheckBox.cs: Setting proper AccessibleObject role
5424 * ControlBindingsCollection.cs: Added properties, methods and attributes
5425 * DataFormats.cs: Fixed awkward internal API, and changed to enable
5426 userdefined DataFormats.Format items as well
5427 * ListControl.cs: Removed data_member from the public eye
5428 * OpenFileDialog.cs:
5430 - Added missing attributes
5431 * SaveFileDialog.cs: Added missing attributes
5432 * ImageListStreamer.cs: Fixed code that caused warnings
5433 * LinkLabel.cs: Removed unreachable code
5434 * TreeView.cs: Fixed code that caused warnings
5435 * PropertyGridView.cs: Fixed code that caused warnings
5436 * GridColumnStylesCollection.cs: Added missing attributes
5437 * GridTableStylesCollection: Added missing attribute
5438 * PropertyManager: Added .ctor
5439 * SecurityIDType: Added
5440 * DataObject.cs: Implemented class
5441 * LinkArea.cs: Added missing attribute
5443 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
5445 * RadioButton.cs: call base method to allow to fire OnClick event
5446 * UpDownBase.cs: OnMouseUp call base method
5447 * CheckedListBox.cs: call base method before returning
5448 * TrackBar.cs: call base method before returning
5451 2005-05-10 Peter Bartok <pbartok@novell.com>
5453 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
5456 2005-05-10 Peter Bartok <pbartok@novell.com>
5458 * DataFormats.cs: Implemented
5459 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
5460 XplatUIX11.cs: Added Clipboard APIs
5461 * XplatUIWin32.cs: Implemented Clipboard APIs
5462 * FolderBrowserDialog.cs: Added missing event, attributes
5464 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
5466 * CheckBox.cs: call base method to allow to fire OnClick event
5468 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
5470 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
5472 2005-05-06 Peter Bartok <pbartok@novell.com>
5474 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
5475 * Screen.cs: Implemented
5476 * HelpNavigator.cs: Added
5477 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
5479 * HelpProvider.cs: Implemented all we can do until we have a CHM
5480 help library (which means that "What's This" does work now)
5482 2005-05-06 Jackson Harper <jackson@ximian.com>
5484 * XplatUIX11.cs: Fix waking up the main loop.
5486 2005-05-05 Peter Bartok <pbartok@novell.com>
5488 * XplatUI.cs: Updated revision
5489 * Form.cs: Removed enless loop
5490 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
5491 * Label.cs (OnPaint): Added call to base.OnPaint()
5492 * ToolTip.cs: Made ToolTipWindow reusable for other controls
5493 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
5494 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
5496 * ButtonBase.cs: Moved base.OnPaint() call to end of method
5497 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
5498 to ToolTip.ToolTipWindow for drawing and size methods; this allows
5499 reuse of ToolTipWindow by other controls
5500 * SizeGrip.cs: Moved base.OnPaint() call to end of method
5501 * XplatUIX11.cs: Now clipping drawing area (experimental)
5502 * PictureBox.cs: Moved base.OnPaint() call to end of method
5503 * Theme.cs: Fixed ToolTip abstracts to match new format
5504 * ErrorProvider.cs: Implemented
5506 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
5508 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
5512 - Implements LinkBehavior
5515 2005-05-03 Jackson Harper <jackson@ximian.com>
5517 * ListView.cs: Calculate the scrollbar positioning on resize and
5518 paint, so they get put in the correct place.
5520 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5522 * ColorDialogs.cs: The small color panels are now handled by
5523 SmallColorControl. This fixes drawing of the focus rectangle
5524 and adds a 3D border.
5526 2005-05-03 Peter Bartok <pbartok@novell.com>
5528 * Control.cs: Modified version of Jonathan Chamber's fix for
5531 2005-05-03 Jackson Harper <jackson@ximian.com>
5533 * ListView.cs: Remove redraw variable. Control now handles whether
5534 or not a redraw needs to be done, and will only raise the paint
5535 event if redrawing is needed.
5537 2005-05-03 Jackson Harper <jackson@ximian.com>
5539 * Splitter.cs: No decorations for the splitter form. Cache the
5542 2005-05-03 Jackson Harper <jackson@ximian.com>
5544 * TreeView.cs: Use dashed lines to connect nodes. Use the
5545 ControlPaint method for drawing the focus rect instead of doing
5548 2005-05-02 Peter Bartok <pbartok@novell.com>
5550 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
5552 2005-04-29 Jackson Harper <jackson@ximian.com>
5554 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
5555 entire image buffer. Just clear the clipping rectangle.
5557 2005-04-29 Jackson Harper <jackson@ximian.com>
5559 * ThemeWin32Classic.cs: Don't draw list view items that are
5560 outside the clipping rectangle.
5562 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
5564 * ListBox.cs: added horizontal item scroll
5566 2005-04-29 Jackson Harper <jackson@ximian.com>
5568 * ThemeWin32Classic.cs: Remove some old debug code that was
5569 causing flicker with the new double buffering code.
5571 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
5573 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
5574 behave like combobox and comboboxlist (still not sure if this is
5577 2005-04-28 Jackson Harper <jackson@ximian.com>
5579 * ThemeWin32Classic.cs: Don't fill the middle of progress
5580 bars. This fills areas outside of the clip bounds that don't need
5583 2005-04-28 Jackson Harper <jackson@ximian.com>
5585 * Control.cs: Don't expose functionality to touch the image buffers.
5587 * ListView.cs: We do not need to (and no longer can) manipulate
5588 the image buffers directly. All of this is handled by Control.
5590 2005-04-28 Peter Bartok <pbartok@novell.com>
5592 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5593 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
5594 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
5596 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5599 - Adjust control's height for non-simple comboboxes (bug fix)
5601 * MenuAPI.cs: remove unused var
5602 * ScrollBar.cs: remove unsed var
5604 * ListBox.cs: unselect items when clearing
5606 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5608 * ListControl.cs: honors OnPositionChanged and default Selected Item
5609 * ListBox.cs: unselect items when clearing
5611 2005-04-27 Jackson Harper <jackson@ximian.com>
5613 * X11Keyboard.cs: Initialize a default keyboard and give a warning
5614 if a "correct" keyboard is not found. This will make us not crash,
5615 but might give some users bad keyboard layouts...seems to be the
5616 same thing rewind does.
5618 2005-04-27 Jackson Harper <jackson@ximian.com>
5620 * BindingManagerBase.cs: Attach the current/position changed
5621 handlers to their respective events.
5623 2005-04-27 Jackson Harper <jackson@ximian.com>
5625 * Control.cs: Make sure that the first WM_PAINT does a full draw,
5627 * ThemeWin32Classic.cs: Don't fill the background for picture
5628 boxes. This could overright user drawing.
5629 * ComboBox.cs: Just fill the clipping rect not the entire client
5630 rect when drawing the background. This prevents pieces of the
5631 image buffer from getting overwritten and is theoretically faster.
5633 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
5635 * ComboBox.cs: Databinding support fixes, fire missing events
5636 * ListControl.cs: implement missing methods and properties, fixes
5637 * ThemeWin32Classic.cs: Databiding support on Drawing
5638 * CheckedListBox.cs: Databinding support fixes, fire missing events
5639 * ListBox.cs: Databinding support fixes, fire missing events
5641 2005-04-25 Peter Bartok <pbartok@novell.com>
5643 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
5645 2005-04-25 Jackson Harper <jackson@ximian.com>
5647 * TreeView.cs: Use the horizontal scrollbars height not width when
5648 determining how much of the client area is available.
5650 2005-04-25 Jackson Harper <jackson@ximian.com>
5652 * Control.cs: Double buffering is handled differently now. As per
5653 the spec, the extra buffer is created in the WM_PAINT message and
5654 passed down to the control's drawing code.
5662 * PropertyGridView.cs:
5674 * DateTimePicker.cs:
5676 * TreeView.cs: Update to new double buffering system.
5677 * MonthCalendar.cs: Uncomment block, as Capture is now
5678 working. Update to new double buffering
5679 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
5680 * PaintEventArgs.cs: New internal method allows us to set the
5681 graphics object. This is used for double buffering.
5682 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
5683 rectangle. The internal paint_area var has been removed from
5684 StatusBar. The clipping rect should be used instead.
5685 * Theme.cs: Give the PictureBox drawing method a clipping rect.
5686 * TabPage.cs: The RefreshTabs method was removed, so just call the
5687 tab controls Refresh method now.
5688 * TabControl.cs: Update to new double buffering. Make sure the
5689 handle is created before sizing the tab pages, otherwise we will
5690 get stuck in a loop.
5692 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
5694 * LinkLabel.cs: Fix typo, bug #74719; patch
5695 from Borja Sanchez Zamorano
5697 2005-04-22 Jackson Harper <jackson@ximian.com>
5699 * TreeNode.cs: Implement Handle stuff.
5700 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
5702 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
5704 * DataGridTextBoxColumn.cs: call base constructors, fixes
5705 * GridColumnStylesCollection.cs: missing events, methods, and functionality
5706 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
5707 * DataGridTableStyle.cs: implements create default column styles
5708 * DataGridBoolColumn.cs: which types can handle
5709 * DataGrid.cs: missing methods, fixes, new functionality
5710 * DataGridColumnStyle.cs: fixes
5712 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
5713 * FolderBrowserDialog.cs:
5714 - Use a thread to fill the TreeView
5715 - Adjusted some sizes
5717 2005-04-19 Peter Bartok <pbartok@novell.com>
5719 * LinkLabel.cs: (Re-)create the pieces when setting the Text
5720 property. Fixes #74360.
5722 2005-04-19 Jackson Harper <jackson@ximian.com>
5724 * XEventQueue.cs: Lock when getting the lockqueue size.
5725 * PictureBox.cs: Call base OnPaint
5727 2005-04-19 Peter Bartok <pbartok@novell.com>
5729 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
5730 messages were no longer being processed (this broke BeginInvoke)
5733 2005-04-18 Jackson Harper <jackson@ximian.com>
5735 * TreeView.cs: buglet that caused node images to get drawn
5736 regardless of whether or not they were in the clipping rectangle.
5738 2005-04-18 Jackson Harper <jackson@ximian.com>
5740 * CurrencyManager.cs: There are four rules for GetItemProperties:
5741 - If the type is an array use the element type of the array
5742 - If the type is a typed list, use the type
5743 - If the list contains an Item property that is not an object, use
5745 - use the first element of the list if there are any elements in
5748 2005-04-17 Jackson Harper <jackson@ximian.oom>
5750 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
5751 click. This handles offsets for scrolling properly and reduces
5752 memory. Also fixed GetNode to not offset now that TopNode works
5754 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
5756 2005-04-17 Jackson Harper <jackson@ximian.com>
5758 * CursorConverter.cs: Initial implementation.
5760 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5762 * ListControl.cs: work towards complex data binding support on ListControl
5763 * CurrencyManager.cs: work towards complex data binding support on ListControl
5764 * ListBox.cs: work towards complex data binding support on ListControl
5767 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5769 * GridTableStylesCollection.cs: fixes name and constructor
5770 * DataGridTableStyle.cs: fixes
5771 * DataGridBoolColumn.cs: fixes names and constructors
5772 * DataGrid.cs: define methods and properties. Some init implementations
5773 * DataGridCell.cs: define methods and properties. Some init implementations
5774 * GridTablesFactory.cs: Define methods and properties
5776 2005-04-15 Geoff Norton <gnorton@customerdna.com>
5778 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
5779 graphics port changes. We still want the coordinates in global screen
5782 2005-04-14 Jackson Harper <jackson@ximian.com>
5784 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
5785 check plus minus or checkbox clicks unless those features are enabled.
5787 2005-04-14 Jackson Harper <jackson@ximian.com>
5789 * TreeView.cs: Add methods for setting the top and bottom visible
5790 nodes. TreeNode::EnsureVisible uses these methods.
5791 * TreeNode.cs: Implement EnsureVisible
5793 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
5795 * Form.cs: Pospone menu assignation if the window has not been created yet
5796 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
5799 2005-04-12 Jackson Harper <jackson@ximian.com>
5801 * TreeView.cs: Set the TopNode properly when scrolling
5802 occurs. This has the added benifit of reducing the amount of
5803 walking that needs to be done when drawing. Also removed an old
5805 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
5807 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
5809 * Timer.cs: fixes interval setting when the timer is already enabled
5811 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
5813 * FolderBrowserDialog.cs: First approach
5815 2005-04-09 Peter Bartok <pbartok@novell.com>
5817 * FolderBrowserDialog: Added
5819 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
5821 * LinkLabel.cs: move drawing code into the theme
5822 * ThemeWin32Classic.cs: drawing code and painting background bugfix
5823 * Theme.cs: define DrawLinkLabel method
5825 2005-04-05 Jackson Harper <jackson@ximian.com>
5827 * BindingContext.cs: Use weak references so these bad actors don't
5828 stay alive longer then they need to.
5830 2005-04-05 Jackson Harper <jackson@ximian.com>
5832 * ListControl.cs: Basic implementation of complex databinding.
5834 * ListBox.cs: Add calls to ListControl databinding methods.
5836 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
5839 - Don't change PopupButtonState to Normal when the
5840 PopupButton gets pressed several times.
5841 - Renamed ButtonPanel to PopupButtonPanel
5843 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
5845 * ColorDialog.cs: Use cached objects instead of creating them
5846 * LinkLabel.cs: Use cached objects instead of creating them
5847 * Splitter.cs: Use cached objects instead of creating them
5848 * FontDialog.cs: Use cached objects instead of creating them
5849 * PropertyGridView.cs: Use cached objects instead of creating them
5850 * MessageBox.cs: Use cached objects instead of creating them
5851 * FileDialog.cs: Use cached objects instead of creating them
5852 * ThemeWin32Classic.cs: Use cached objects instead of creating them
5853 * TreeView.cs: Use cached objects instead of creating them
5855 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
5857 * Control.cs: use Equals to compare the font since no == op
5858 * ScrollBar.cs: use Equals to compare the font since no == op
5860 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
5862 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
5864 2005-04-01 Jackson Harper <jackson@ximian.com>
5866 * Binding.cs: Implement IsBinding.
5867 * BindingManagerBase.cs:
5868 * PropertyManager.cs:
5869 * CurrencyManager.cs: Add IsSuspended property.
5871 2005-04-01 Jackson Harper <jackson@ximian.com>
5873 * Binding.cs: Had some IsAssignableFrom calls backwards.
5875 2005-04-01 Jackson Harper <jackson@ximian.com>
5877 * Binding.cs: Handle null data members when pulling data.
5878 * PropertyManager.cs: Handle the data member being a property that
5881 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5883 * DataGridTextBoxColumn.cs: fixes signature
5884 * DataGrid.cs: calls right constructor
5886 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5888 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
5889 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
5890 * GridTableStylesCollection.cs: implements GridTableStylesCollection
5891 * DataGridTableStyle.cs: implements DataGridTableStyle
5892 * DataGridBoolColumn.cs: implements DataGridBoolColumn
5893 * DataGridTextBox.cs: implements DataGridTextBox
5894 * DataGridColumnStyle.cs: implements DataGridColumnStyle
5896 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
5898 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
5900 2005-03-29 Peter Bartok <pbartok@novell.com>
5903 - Properly implemented CompanyName property
5904 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
5905 returns a path that includes CompanyName, ProductName and
5906 Version (fixes bug #70330)
5908 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
5910 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
5913 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5915 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
5917 - Added ReadOnly CheckBox
5918 - Further refactoring: moved some code from Open-/SaveFileDialog
5921 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5923 * OpenFileDialog.cs: Fixed CheckFileExists
5925 Moved FileView and DirComboBox outside FileDialog class.
5926 They can now be used outside FileDialog
5928 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5930 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
5931 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
5933 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5935 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
5936 - Added missing CreatePrompt property in SaveDialog
5937 - Overall SaveDialog handling should be better now
5938 - Added non standard ShowHiddenFiles property
5939 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
5940 - Added InitialDirectory and RestoreDirectory support
5942 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
5944 * FileDialog.cs: Made dirComboBox usable
5946 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
5948 * FileDialog.cs: Added Filter support (case sensitiv)
5950 2005-03-24 Jackson Harper <jackson@ximian.com>
5952 * TabControl.cs: Need a couple more pixels for the lines.
5954 2005-03-23 Jackson Harper <jackson@ximian.com>
5956 * TabControl.cs: Give the tab page focus when it is selected.
5958 2005-03-23 Jackson Harper <jackson@ximian.com>
5960 * TabControl.cs: Account for the drawing of tabs borders when
5961 invalidating. If the slider was clicked dont do click detection on
5964 2005-03-23 Jackson Harper <jackson@ximian.com>
5966 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
5968 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
5970 * CategoryGridEntry.cs: Added
5971 * GridItem.cs: Added helper properties
5972 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
5973 * GridEntry.cs: Updated code for collection
5974 * PropertyGrid.cs: Cleaned up some formatting
5975 * PropertyGridView.cs: Added drop down functionality for enums.
5976 * GridItemCollection.cs: Added enumerator logic
5977 * PropertyGridEntry.cs: Added
5979 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5982 - Removed unnecessary commented code
5983 - Fixed handling for entering the filename manually in the combobox
5985 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5987 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
5989 2005-03-18 Peter Bartok <pbartok@novell.com>
5991 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
5992 them being touching the border
5994 2005-03-18 Peter Bartok <pbartok@novell.com>
5996 * TextControl.cs: Quick hack to center text better
5998 2005-03-18 Peter Bartok <pbartok@novell.com>
6001 - Don't throw NotImplemented exceptions, just print a notice once
6002 instead (requested by Miguel). This makes running existing SWF
6005 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6006 - Added context menu trigger on right click
6007 * Panel.cs: Trigger invalidate on resize
6009 - Removed old double-buffer drawing
6010 - Added ResizeRedraw style to force proper update of statusbar
6012 - Removed debug output
6013 * ThemeWin32Classic.cs:
6014 - Fixed drawing of status bar, now draws Text property if there
6015 are no defined panels
6017 2005-03-18 Jackson Harper <jackson@ximian.com>
6019 * ImageList.cs: When the image stream is set pull all the images
6021 * ImageListStreamer.cs: Implement reading image list streams.
6023 2005-03-18 Peter Bartok <pbartok@novell.com>
6025 * ThemeWin32Classic.cs (DrawPictureBox):
6026 - Fixed calculations for centered drawing
6027 - Fixed drawing for normal mode, not scaling the image on normal
6029 2005-03-18 Peter Bartok <pbartok@novell.com>
6031 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6034 - Made Open/Save button the accept button for FileDialog
6035 - Tied the cancel button to the IButtonControl cancel button
6036 - Save/Open now properly builds the pathname
6037 - Now handles user-entered text
6038 - Preventing crash on right-click if no item is selected
6039 - Fixed Text property, now uses contents of textbox
6040 - Fixed SelectedText property, now just returns the text part that
6041 is selected in the text box
6043 2005-03-18 Jackson Harper <jackson@ximian.com>
6045 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6046 rect, make sure to de-adjust the interior rect after drawing the
6049 2005-03-18 Peter Bartok <pbartok@novell.com>
6051 * MenuAPI.cs: Remove menu *before* executing selected action to
6052 prevent the menu from 'hanging around'
6054 2005-03-17 Geoff Norton <gnorton@customerdna.com>
6056 * XplatUIOSX.cs: Implemented WorkingArea property
6058 2005-03-17 Peter Bartok <pbartok@novell.com>
6060 * XplatUIX11.cs: Fixed menu coord calculations
6061 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6062 for calculating offsets
6064 2005-03-17 Peter Bartok <pbartok@novell.com>
6066 * Hwnd.cs: Do not consider menu presence for default client
6067 rectangle location/size
6068 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6069 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6070 translation functions
6071 * FileDialog.cs: Fixed (what I presume is a) typo
6073 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
6075 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6076 X access (avoids X-Async errors)
6078 2005-03-16 Jackson Harper <jackson@ximian.com>
6080 * TabControl.cs: Raise the SelectedIndexChanged event.
6082 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
6084 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6085 - Removed vertical ToolBar and replaced it with a custom panel
6086 (desktop and home button already work)
6087 - Added Help button (some controls get resized or relocated then)
6088 - Draw correct text depending on Open or Save.
6089 - Fixed some typos...
6091 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
6094 - Only change Maximum and Minimum when need it (bug fix)
6096 2005-03-15 Peter Bartok <pbartok@novell.com>
6098 * Form.cs: Use Handle for icon, to trigger creation if
6099 the window does not yet exist
6101 - CanSelect: Slight performance improvement
6102 - Focus(): Preventing possible recursion
6103 - Invalidate(): Removed ControlStyle based clear flag setting
6104 - WM_PAINT: fixed logic for calling OnPaintBackground
6105 - WM_ERASEBKGND: Fixed logic, added call to new driver method
6106 EraseWindowBackground if the control doesn't paint background
6108 - Moved EraseWindowBackground() method to internal methods
6109 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6110 is sent via SendMessage on BeginPaint call on Win32
6112 - Added EraseWindowBackground() method
6113 - No longer sends WM_ERASEBKGND on .Expose, but on call to
6114 PaintEventStart, which more closely matches Win32 behaviour
6115 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6116 - Fixed SetFocus() to properly deal with client and whole windows
6117 * Hwnd.cs: Added ErasePending property
6118 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6119 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6121 2005-03-12 Geoff Norton <gnorton@customerdna.com>
6124 - Fix hard loop when timers exist.
6125 - Fix bugs with middle and right click for 3 button mice.
6127 2005-03-11 Peter Bartok <pbartok@novell.com>
6130 - get_WorkingArea: Need to call X directly, GetWindowPos only
6131 returns cached data now
6132 - Added sanity check to GetWindowPos hwnd usage
6134 2005-03-11 Jackson Harper <jackson@ximian.com>
6136 * BindingManagerBase.cs: This method isn't used anymore as
6137 PullData now updates the data in the control.
6139 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
6141 * Form.cs: fixes menu drawing on X11
6142 * MenuAPI.cs: fixes menu drawing on X11
6144 2005-03-11 Peter Bartok <pbartok@novell.com>
6146 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6147 from Jonathan Gilbert; should fix bug #73606
6148 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6149 in Screen coordinates. Thanks, Jordi.
6150 * Form.cs: Added missing attribute
6152 2005-03-11 Peter Bartok <pbartok@novell.com>
6155 - Rudimentary Mdi support
6156 - Removed outdated FormParent code
6157 - Implemented lots of missing properties and methods, still missing
6158 transparency support
6159 - Added missing attributes
6160 - Implemented support for MaximumBounds
6161 - Added firing of various events
6162 * XplatUI.cs: Added SetIcon() method
6163 * XplatUIDriver.cs: Added SetIcon() abstract
6164 * XplatUIOSX.cs: Stubbed out SetIcon() method
6166 - Implemented SetIcon() support
6167 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6168 - Switched to unix line endings
6170 - Made POINT internal so for can access it as part of MINMAX
6171 - Implemented SetIcon() support
6172 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6173 native Mdi support again, might have to go managed)
6174 * Control.cs: Now fires the StyleChanged event
6175 * MdiClient.cs: Added; still mostly empty
6177 2005-03-10 Peter Bartok <pbartok@novell.com>
6179 * SaveFileDialog.cs: Added emtpy file
6181 2005-03-08 Peter Bartok <pbartok@novell.com>
6183 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6184 in turn triggers OnCreateContro) when creating a handle for the
6186 * TextControl.cs: Fixed endless loop in certain cases when
6187 replacing the current selection
6189 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
6192 - Honors NewValue changes in Scroll events allowing apps to change it
6193 - Adds First and Last Scroll events
6194 - Fixes Thumb events
6196 2005-03-07 Peter Bartok <pbartok@novell.com>
6198 * Hwnd.cs: Added DefaultClientRectangle property
6199 * XplatUI.cs: Now using the X11 driver Where() method, which provides
6200 more detailed debug information
6202 - Fixed size-change feedback loop, where we would pull an old size
6203 off the queue and mistakenly change our window's size to an
6205 - Now compressing ConfigureNotify events, to reduce looping and
6207 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
6210 2005-03-07 Jackson Harper <jackson@ximian.com>
6212 * Binding.cs: Push data pushes from data -> property. Check if the
6213 property is readonly when attempting to set it.
6215 2005-03-07 Jackson Harper <jackson@ximian.com>
6217 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
6218 instead of IsSubclassOf. Pulling data now sets the value on the
6220 * PropertyManager.cs:
6221 * CurrencyManager.cs: Just need to pull data when updating now,
6222 because PullData will set the value on the control.
6224 2005-03-04 Jackson Harper <jackson@ximian.com>
6226 * Binding.cs: Implement data type parsing and converting on pulled
6227 data. TODO: Are there more ways the data can be converted?
6229 2005-03-04 Jackson Harper <jackson@ximian.com>
6231 * Binding.cs: Support <Property>IsNull checks. Also bind to the
6232 controls Validating method so we can repull the data when the
6233 control loses focus.
6235 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
6238 - Fixes null string format
6241 - Adds enum type checks
6242 - Fixes redrawing and recalc need after changing some properties
6243 - Fixes on focus_item set after the event
6244 - Fixes adding columns after the control has been created
6246 * ThemeWin32Classic.cs:
6247 - Fixes CheckBox focus rectangle
6248 - Fixes ColumnHeader drawing
6251 2005-03-03 Jackson Harper <jackson@ximian.com>
6253 * Binding.cs: Bind to <Property>Changed events so we can detect
6254 when properties are changed and update the data.
6256 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
6259 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
6260 - Fixes ImageList constructor with ImageList container
6261 - Fixes image scaling (wrong parameters at DrawImage)
6263 2005-02-02 Jackson Harper <jackson@ximian.com>
6265 * Binding.cs: Make property searches case-insensitive. Eliminate
6266 some duplicated code.
6268 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
6271 - Handle focus event
6272 - Fix scrollbar events
6273 - Discard highlighted item if remove it
6274 - Fixes SelectedItem with strings
6276 2005-03-01 Peter Bartok <pbartok@novell.com>
6279 - Fixed Visible property, now follows (once again) parent chain
6280 to return false if any control in the chain is visible=false
6281 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
6282 - Fixed several places where is_visible instead of Visible was used
6283 - Implemented FIXME related to focus selection when setting focused
6284 control to be invisible
6286 * XplatUIWin32.cs: Now using proper method to find out if window is
6287 visible. Thanks to Jordi for pointing it out
6289 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
6291 * ComboBox.cs: show/hide scrollbar instead of creating it
6293 2005-02-27 Jackson Harper <jackson@ximian.com>
6295 * CurrencyManager.cs: Add PositionChanged stuff.
6297 2005-02-27 Peter Bartok <pbartok@novell.com>
6299 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6300 * XplatUIOSX.cs: Added GetMenuOrigin() stub
6301 * XplatUIWin32.cs: Implemented GetMenuOrigin()
6303 - Implemented GetMenuDC()
6304 - Implemented GetMenuOrigin()
6305 - Implemented ReleaseMenuDC()
6306 - Implemented generation of WM_NCPAINT message
6307 - Implemented generation and handling of WM_NCCALCSIZE message
6308 * Form.cs: Added debug helper message for Jordi's menu work
6310 - Modified ClientRect property; added setter, fixed getter to handle
6311 setting of ClientRect
6312 - Added MenuOrigin property
6314 2005-02-26 Peter Bartok <pbartok@novell.com>
6317 - Destroys the caret if a window that's being destroyed contains it
6318 - Ignores expose events coming from the X11 queue for windows that
6319 already are destroyed
6320 - Now uses the proper variable for handling DestroyNotify, before we
6321 marked the wrong window as destroyed
6322 - Improved/added some debug output
6324 2005-02-26 Peter Bartok <pbartok@novell.com>
6326 * X11Keyboard.cs: Fixes to work on 64bit systems
6328 2005-02-26 Peter Bartok <pbartok@novell.com>
6331 - Now calling OnHandleDestroyed from DestroyHandle()
6332 instead of Dispose()
6333 - Removed bogus call to controls.Remove() from DestroyHandle()
6335 2005-02-26 Peter Bartok <pbartok@novell.com>
6337 * Control.cs: Properly destroy child windows when our handle is
6340 2005-02-25 Peter Bartok <pbartok@novell.com>
6343 - Added 'DriverDebug' define to allow tracing XplatUI API calls
6344 - Alphabetized Static Methods and Subclasses
6347 - Added XException class to allow custom handling of X11 exceptions
6348 - Created custom X11 error handler, tied into XException class
6349 - Added support for MONO_XEXCEPTIONS env var to allow the user
6350 to either throw an exception on X errors or continue running
6351 after displaying the error
6352 - Added handling of DestroyNotify message
6353 - Added handler for CreateNotify message (still disabled)
6354 - Improved (tried to at least) Where method to provide file and lineno
6356 - Added XErrorHandler delegate
6357 - Added XRequest enumeration (to suppor translation of errors)
6359 2005-02-25 Jackson Harper <jackson@ximian.com>
6361 * PropertyManager.cs: Implement editing features
6362 * CurrencyManager.cs:
6363 * Binding.cs: First attempt at UpdateIsBinding
6364 * BindingManagerBase.cs: Call UpdateIsBinding before
6365 pushing/pulling data.
6367 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
6369 * MenuAPI.cs: Respect disabled items
6370 * ThemeWin32Classic.cs
6371 - Caches ImageAttributes creation for DrawImageDisabled
6372 - Fixes vertical menu line drawing
6373 - Draws disabled arrows in disable menu items
6375 2005-02-24 Peter Bartok <pbartok@novell.com>
6378 - Added UserData property to allow associating arbitrary objects
6380 - Fixed leak; now removing Hwnd references from static windows array
6382 - Fixed Graphics leak in PaintEventEnd
6383 - Removed usage of HandleData, switched over to Hwnd class
6384 * HandleData.cs: Removed, obsoleted by Hwnd.cs
6386 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6388 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6389 * ScrollBar.cs: Fixes bug
6390 * TrackBar.cs: removes death code, clipping, mimize refreshes,
6391 keyboard navigation enhancements
6393 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6395 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6396 * GroupBox.cs: Add control styles
6397 * Label.cs: Add control styles
6398 * UpDownBase.cs: Add control styles
6399 * ListBox.cs: Add control styles
6400 * XplatUIWin32.cs: Fixes wrong parameter order
6403 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
6405 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6407 2005-02-23 Jackson Harper <jackson@ximian.com>
6409 * PropertyManager.cs: Implement property binding. This doesn't
6410 seem to work yet though as (I think) there are some bugs in
6411 System.ComponentModel.PropertyDescriptor.
6412 * BindingContext.cs: Use new PropertyManager constructor.
6414 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
6416 * ProgressBar.cs: use clip region in ProgressBar
6417 * ThemeWin32Classic.cs: use clip region in ProgressBar
6419 2004-02-22 Jackson Harper <jackson@ximian.com>
6421 * BindingsCollection.cs: Remove some debug code.
6423 2005-02-22 Jackson Harper <jackson@ximian.com>
6425 * BindingContext.cs:
6426 * ControlBindingsCollection.cs:
6427 * CurrencyManager.cs:
6429 * BindingManagerBase.cs: Initial implementation
6430 * BindingsCollection.cs: Add an internal contains method that the
6431 BindingManagerBase uses to ensure bindings aren't added twice to
6433 * PropertyManager.cs: Stubbed out.
6435 * ContainerControl.cs: Hook up databinding
6437 2005-02-22 Geoff Norton <gnorton@customerdna.com>
6440 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
6441 Fixed Invalidate/Update chain.
6442 Fixed tons of other minor bugs (this is almost a complete rewrite).
6444 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
6446 * ComboBox.cs: do subcontrol creation when the control is created
6448 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6450 * Label.cs: fixes image drawing (image and imagelist)
6451 * ThemeWin32Classic.cs: cache brushes
6453 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6455 * Form.cs: Move menu drawing code to Theme class
6456 * ComboBox.cs: Move ComboBox drawing code to Theme class
6457 * MenuItem.cs: Move menu drawing code to Theme class
6458 * MenuAPI.cs: Move menu drawing code to Theme class
6459 * ThemeWin32Classic.cs: New methods
6460 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
6461 * ListBox.cs: Move Listbox drawing code to Theme class
6462 * Theme.cs: New methods
6464 2005-02-20 Peter Bartok <pbartok@novell.com>
6467 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
6468 only process mnemonics on those)
6469 - Fixed event sequence for key handling; first calling
6470 ProcessKeyEventArgs now
6472 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
6473 for processing non-character keys
6474 - Fixed WM_CHAR to generate proper event sequence before processing
6475 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
6478 2005-02-19 Peter Bartok <pbartok@novell.com>
6480 * UserControl.cs: Added TextChanged event; added attributes
6481 * SizeGrip.cs: Implemented resizing and optional display of grip
6482 * Form.cs: Fixed attribute
6483 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
6484 Changed meaning of ScrollWindow bool argument; instead of the
6485 clear attribute (which will be true usually anyway), it gives the
6486 option of moving child controls as well.
6488 - Changed to match new ScrollWindow argument
6489 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
6490 now handles the implicit parent window a WM puts around us
6491 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
6493 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
6494 * TreeView.cs: Adjusted to new ScrollWindow arguments
6496 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6498 * Form.cs: Menu integration with non-client area
6499 * MenuItem.cs: Menu integration with non-client area
6500 * MenuAPI.cs: Menu integration with non-client area
6502 2005-02-18 Peter Bartok <pbartok@novell.com>
6504 * MethodInvoker.cs: Added
6505 * MdiLayout.cs: Added
6506 * SendKeys.cs: Started implementation
6507 * ErrorIconAlignment.cs: Added
6509 2005-02-18 Peter Bartok <pbartok@novell.com>
6511 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
6512 * Form.cs: Added handling for Menu-related Non-client messages
6514 2005-02-17 Peter Bartok <pbartok@novell.com>
6516 * UpDownBase.cs: Fixed typo, compilation errors
6517 * DomainUpDown.cs: Fixed attribute value
6519 2005-02-16 Miguel de Icaza <miguel@novell.com>
6521 * UpDownBase.cs: Attach entry events.
6523 Add ForeColor property, Focused, InterceptArrowKeys (interception
6526 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
6529 - Redraw non client are on Setmenu
6530 - Calc proper menu starting point
6532 2005-02-17 Peter Bartok <pbartok@novell.com>
6534 * Application.cs: Fixed message_filter check
6536 2005-02-17 Peter Bartok <pbartok@novell.com>
6538 * Application.cs: Now calls registered message filters
6539 * DockStyle.cs: Fixed attribute
6540 * Form.cs: Fixed attribute
6541 * Menu.cs: Fixed attribute
6542 * ToolTip.cs: Fixed attribute
6543 * TreeNode.cs: Added missing attributes and arranged in regions
6544 * PropertyGrid.cs: Fixed signatures
6545 * TreeNodeCollection.cs: Added attributes
6546 * Splitter.cs: Added missing attributes; arranged into regions
6547 * TabPage.cs: Added missing attributes; arranged into regions
6548 * TextBoxBase.cs: Added missing attributes
6549 * TextBox.cs: Added missing attributes
6550 * ArrangeDirection.cs: Added missing attributes
6551 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
6552 * ToolBarButton.cs: Fixed attributes
6553 * AnchorStyles.cs: Fixed attribute
6554 * TrackBar.cs: Fixed attributes
6555 * TabControl.cs: Added missing attributes and arranged into regions
6556 * ToolBar.cs: Fixed attribute
6557 * StatusBar.cs: Fixed signature, organized into regions and added
6559 * StatusBarPanel.cs: Fixed attributes
6560 * ContentsResizedEventArgs.cs: Implemented
6561 * ContentsResizedEventHandler.cs: Implemented
6562 * DateBoldEventArgs.cs: Implemented
6563 * DateBoldEventHandler.cs: Implemented
6564 * UpDownEventArgs.cs: Implemented
6565 * UpDownEventHandler.cs: Implemented
6567 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
6569 * Form.cs: first Menu NC refactoring
6570 * MenuAPI.cs: first Menu NC refactoring
6572 2005-02-16 Peter Bartok <pbartok@novell.com>
6574 * ImeMode.cs: Added missing attributes
6575 * Menu.cs: Fixed attribute
6576 * GroupBox.cs: Fixed attribute
6577 * Label.cs: Fixed attribute
6578 * ColorDialog.cs (RunDialog): Removed TODO attribute
6579 * ComboBox.cs: Fixed attributes
6580 * ListControl.cs: Added missing attributes
6581 * PropertyGrid.cs: Fixed attributes
6582 * Control.cs: Fixed attributes
6583 * ListViewItem.cs: Added TypeConverter attribute
6584 * NotifyIcon.cs: Fixed attributes
6585 * ListView.cs: Fixed attributes
6586 * ButtonBase.cs: Fixed attribute
6587 * ImageList.cs: Added missing attributes
6588 * ContainerControl.cs: Fixed signature
6589 * CheckedListBox.cs: Fixed attribute; added missing attributes
6590 * Panel.cs: Fixed attributes
6591 * PropertyTabChangedEventArgs.cs: Added missing attribute
6592 * PropertyValueChangedEventArgs.cs: Added missing attribute
6593 * Binding.cs: Fixed attribute
6594 * ListViewItemConverter: Implemented ListViewSubItemConverter class
6595 * ListBox.cs: Fixed attribute; added missing attributes;
6596 * ScrollableControl.cs: Added missing attributes
6597 * PictureBox.cs: Added missing attributes; implemented missing property
6598 * DateTimePicker.cs: Added missing attributes
6599 * Theme.cs (ToolWindowCaptionHeight): Fixed type
6600 * MonthCalendar.cs: Fixed attributes
6601 * StatusBarPanel.cs: Added missing attributes
6602 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
6604 2005-02-16 Peter Bartok <pbartok@novell.com>
6606 * TextBoxBase.cs: The previous method to enforce height yet remember
6607 the requested high was less than ideal, this is an attempt to do
6609 * Control.cs: Added comment about possible problem
6610 * Copyright: Updated format
6611 * GridItemType.cs: Fixed swapped values
6613 2005-02-15 Jackson Harper <jackson@ximian.com>
6615 * BaseCollection.cs: Use property so we never access an
6616 uninitialized list. Also initialize the list in the property.
6618 2005-02-15 Peter Bartok <pbartok@novell.com>
6620 * GroupBox.cs (ProcessMnemonic): Implemented
6621 * Label.cs (ProcessMnemonic): Implemented
6622 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
6625 2005-02-15 Peter Bartok <pbartok@novell.com>
6627 * RadioButton.cs (ProcessMnemonic): Implemented
6628 * CheckBox.cs (ProcessMnemonic): Implemented
6630 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
6632 - Added internal method to allow calling ProcessMnemonic from other
6634 * ContainerControl.cs:
6635 - Started support for handling validation chain handling
6636 - Implemented ProcessMnemonic support
6637 - Added Select() call to Active, to make sure the active control
6639 * Form.cs: Setting toplevel flag for Forms (this was lost in the
6641 * ThemeWin32Classic.cs:
6642 - DrawCheckBox(): Fixed stringformat to show hotkeys
6643 - DrawRadioButton(): Fixed stringformat to show hotkeys
6644 * CommonDialog.cs: Removed WndProc override, not needed
6646 2005-02-14 Peter Bartok <pbartok@novell.com>
6648 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
6649 missed those in the rewrite
6651 2005-02-14 Miguel de Icaza <miguel@novell.com>
6653 * NumericUpDown.cs (Increment, ToString): Add.
6654 (DecimalPlaces): implement.
6658 * UpDownBase.cs: Add the designer attributes.
6660 2005-02-13 Peter Bartok <pbartok@novell.com>
6662 * Panel.cs: Removed border_style, now in Control
6663 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
6664 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
6666 2005-02-13 Peter Bartok <pbartok@novell.com>
6668 * MouseButtons.cs: Added missing attributes
6669 * XplatUIStructs.cs: Added enumeration for title styles
6670 * LeftRightAlignment.cs: Added missing attributes
6671 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
6672 it compatible with Graphics.FromHwnd()
6673 * SelectedGridItemChangedEventArgs.cs: Fixed property type
6674 * Keys.cs: Added missing attributes
6675 * SelectionRange.cs: Added missing attributes
6676 * SelectionRangeConverter.cs: Added
6678 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
6679 ReleaseMenuDC methods
6680 - Renamed ReleaseWindow to UngrabWindow
6681 - Added proper startup notice to allow version identification
6683 - Added missing attributes
6684 - Removed FormParent concept
6685 * Label.cs: Removed border_style field, now in Control
6686 * RadioButton.cs: Now properly selects RadioButton when focus is
6688 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
6690 - Added missing attributes
6691 - Added borderstyle handling
6692 - Removed FormParent concept support
6693 - Fixed calls to XplatUI to match changed APIs
6694 - Fixed bug that would case us to use disposed Graphics objects
6695 - Removed unneeded internal methods
6696 - PerformLayout(): Fixed to handle DockStyle.Fill properly
6697 - SelectNextControl(): Fixed to properly check common parents
6698 * TextBoxBase.cs: Removed border_style field (now in Control)
6700 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
6701 fixed calculations for form size
6702 - Added support for localized strings and icons
6703 - Improved form size calculations, added border
6704 * ListView.cs: Removed border_style field (now in Control)
6705 * X11Structs.cs: Moved several structs from X11 driver here
6706 * X11Keyboard.cs: Changed debug message
6707 * Application.cs: Removed FormParent concept support
6709 - Resetting end_modal flag
6710 - Removed FormParent concept support
6711 * NativeWindow.cs: Removed FormParent concept support
6712 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
6713 Client area and Non-Client whole window to allow support for WM_NC
6715 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
6716 prevent using it until it supports Hwnd as per Geoff Norton's request
6717 * ToolBar.cs: Fixed drawing, was not doing proper drawing
6718 * PictureBox.cs: Removed border_style field, now in Control
6719 * XplatUIWin32.cs: Added new driver methods
6721 2005-02-12 Peter Bartok <pbartok@novell.com>
6723 * OpacityConverter.cs: Implemented
6724 * Hwnd.cs: Internal class to support drivers that need to emulate
6725 client area/non-client area window behaviour
6727 2005-02-11 Peter Bartok <pbartok@novell.com>
6729 * KeysConverter.cs: Implemented
6731 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
6733 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
6734 * LinkLabel: Added missing attributes
6735 * MainMenu.cs: fixes ToString
6736 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
6737 * ListBox.cs: fixes event position
6738 * TrackBar.cs: adds missing attributes and events
6740 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
6742 * MenuItem.cs: Use SystemInformation and bug fixes
6743 * MenuAPI.cs: Use SystemInformation and bug fixes
6745 2005-02-09 Jackson Harper <jackson@ximian.com>
6747 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
6748 their keystate otherwise things like VK_MENU get stuck "on".
6750 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
6752 * ListBox.cs: Fixes AddRange bug
6754 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
6757 - Add missing attributes
6758 - Add missing method
6760 * CheckedListBox.cs: Added missing attributes
6761 - Add missing attributes
6762 - Remove extra method
6764 * ComboBox.cs: Added missing attributes
6765 * VScrollBar.cs: Added missing attributes
6766 * ScrollBar.cs: Added missing attributes
6767 * ListBox.cs: Fixes signature, add missing consts
6768 * LinkArea.cs: Added missing attributes
6771 2005-02-08 Peter Bartok <pbartok@novell.com>
6773 * Menu.cs: Added missing attributes
6774 * MainMenu.cs: Added missing attributes
6775 * GroupBox.cs: Added missing attributes
6776 * Label.cs: Added missing attributes
6777 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
6779 - Added Instance and Options properties
6780 - Added missing attributes
6781 * Cursor.cs: Made Serializable
6782 * NotifyIcon: Added missing attributes
6783 * MenuItem.cs: Added missing attributes
6784 * TextBoxBase.cs: Implemented AppendText() and Select() methods
6785 * Panel.cs: Added Missing attributes
6786 * MonthCalendar.cs: Fixed CreateParams
6788 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6792 - Fixes issues with links
6793 - Adds the class attributes
6795 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6798 - Fixes button when no items available in dropdown
6799 - Fixes repainting problems
6800 - Adds the class attributes
6802 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6804 * XplatUIOSX.cs: Detect the menu bar and title bar height from
6805 the current theme. Cache these on startup.
6807 2005-02-07 Jackson Harper <jackson@ximian.com>
6809 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
6810 the scrollbar buttons when they are depressed.
6812 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6814 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
6815 Get the display size from the main displayid. We currently dont
6816 support multiple display configurations.
6818 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6820 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
6822 2005-02-07 Miguel de Icaza <miguel@novell.com>
6824 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
6826 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
6828 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
6830 2005-02-04 Jackson Harper <jackson@ximian.com>
6832 * ThemeWin32Classic.cs: Respect the clipping rect when
6833 drawing. Only fill the intersection of clips and rects so there
6834 isn't a lot of large fills.
6835 * ScrollBar.cs: Pass the correct clipping rect to the theme
6836 engine. Remove some debug code.
6838 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
6840 * DateTimePicker.cs:
6841 - Fixed crash on DateTime.Parse, use Constructor instead
6843 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6847 - Owner draw support (MeasureItem and DrawItem)
6849 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6852 - Implements FindMergePosition and MergeMenu functions (very poor documented)
6853 - Fixes MenuItems.Add range
6855 - MergeMenu and Clone and CloneMenu functions
6857 2005-02-03 Jackson Harper <jackson@ximian.com>
6859 * ScrollBar.cs: Make abstract
6860 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
6863 2005-02-03 Jackson Harper <jackson@ximian.com>
6865 * ScrollBar.cs: First part of my scrollbar fixups. This removes
6866 all the unneeded refreshes and uses invalidates with properly
6869 2005-02-03 Peter Bartok <pbartok@novell.com>
6871 * ComponentModel.cs: Added
6872 * IDataGridEditingService.cs: Added
6873 * Timer.cs: Added missing attributes
6874 * ToolTip.cs: Added missing attributes
6876 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
6878 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
6880 2005-02-03 Peter Bartok <pbartok@novell.com>
6882 * ListBox.cs: Added missing attributes
6884 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
6887 - Fixes font height after font change
6888 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
6890 2005-02-02 Peter Bartok <pbartok@novell.com>
6892 * HandleData.cs: Introduced static methods to allow class
6893 to be more self-contained and track it's own HandleData objects
6894 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
6895 HandleData to use new static methods
6897 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
6900 - Fixes default size and PreferredHeight
6902 - ObjectCollection.Insert implementation
6908 - ObjectCollection.Insert implementation
6909 - No selection after clean
6912 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6914 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
6916 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
6919 - Caches ItemHeight calculation for OwnerDrawVariable
6920 - Handles dropdown properly
6921 - Fixes several minor bugs
6923 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6926 - Fixes 71946 and 71950
6927 - Fixes changing Multicolumn on the fly
6928 - Fixes keyboard navigation on Multicolumn listboxes
6930 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6932 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
6935 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6937 * XplatUIOSX.cs: Allow applications to actually exit.
6939 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6941 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
6942 their parent at creation time rather than lazily later. Fixes a major
6943 regression we were experiencing.
6945 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6947 * ThemeWin32Classic.cs: more date time picker painting fixes
6948 * DateTimePicker.cs: more monthcalendar drop down fixes
6949 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
6951 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6954 - When moving the thumb going outside the control should stop the moving
6955 - Adds the firing of missing events
6956 - Fixes no button show if Size is not specified
6957 - End / Home keys for keyboard navigation
6959 2005-01-30 Peter Bartok <pbartok@novell.com>
6961 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
6962 sanity check to prevent theoretical loop
6963 * XplatUIWin32.cs (SetVisible): Removed debug output
6964 * XplatUIX11.cs (SystrayChange): Added sanity check
6965 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
6966 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
6967 behaviour, valid until the X11 client window rewrite is done
6968 * TextBox.cs (ctor): Setting proper default foreground and background
6971 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
6973 * Theme: Added DrawDateTimePicker to interface
6974 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
6975 * DateTimePicker.cs: Created (still needs keys and painting code)
6976 * DateTimePickerFormat.cs: added
6977 * MonthCalendar.cs: fixed CreateParams for popup window mode
6979 2005-01-29 Peter Bartok <pbartok@novell.com>
6981 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
6982 this should also the calculations for ligher/darker
6983 * Theme.cs: Fixed defaults for ScrollBar widths/heights
6985 2005-01-29 Peter Bartok <pbartok@novell.com>
6987 * ArrangeDirection.cs: Added
6988 * ArrangeStartingPositon.cs: Added
6989 * SystemInformation.cs: Implemented
6990 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
6991 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
6992 used by SystemInformation class
6993 * X11Strucs.cs: Added XSizeHints structure
6995 - Fixed CreateParams to make sure the menu window is always visible
6996 - TrackPopupMenu: Added check to make sure we don't draw the
6999 2005-01-29 Peter Bartok <pbartok@novell.com>
7001 * HandleData.cs: Added method for altering invalid area
7002 * TextBoxBase.cs: Implemented TextLength
7004 2005-01-28 Peter Bartok <pbartok@novell.com>
7006 * XplatUIX11.cs: Improvement over last patch, not sending
7007 the WM_PAINT directly anymore, instead we scroll any pending
7008 exposed areas and let the system pick out the WM_PAINT later
7010 2005-01-28 Peter Bartok <pbartok@novell.com>
7012 * SWF.csproj: Deleted, no longer used. Instead,
7013 Managed.Windows.Forms/SWF.csproj should be used
7014 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7015 directly, to avoid a potential race condition with the next
7018 2005-01-28 Peter Bartok <pbartok@novell.com>
7020 * XplatUI.cs: Made class internal
7022 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
7024 * CheckedListBox.cs:
7027 - Missing methods and events
7029 2005-01-27 Peter Bartok <pbartok@novell.com>
7031 * Application.cs (Run): Don't use form if we don't have one
7033 2005-01-27 Peter Bartok <pbartok@novell.com>
7035 * TextBoxBase.cs (get_Lines): Fixed index off by one error
7037 2005-01-27 Peter Bartok <pbartok@novell.com>
7039 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7040 * GridItem.cs: Added; Patch by Jonathan S. Chambers
7041 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7042 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7043 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7044 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7045 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7046 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7047 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7048 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7049 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7050 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7052 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7055 - Draw focus on Simple Combobox
7056 - Fixes drawing issues
7059 2005-01-27 Peter Bartok <pbartok@novell.com>
7062 - Place window in default location, instead of hardcoded 0/0
7063 - Send initial LocationChanged event
7065 - UpdateBounds after creation to find out where the WM placed us
7066 - Make sure that if the ParentForm changes location the Form
7068 * XplatUIX11.cs: XGetGeometry will not return the coords relative
7069 to the root, but to whatever the WM placed around us.
7070 Translate to root coordinates before returning toplevel
7072 * XplatUIWin32.cs: Removed debug output
7073 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7074 flag to GetWindowPos, to allow translation of coordinates on X11
7076 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7078 * ListBox.cs: connect LostFocus Event
7080 2005-01-27 Peter Bartok <pbartok@novell.com>
7082 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7083 XplatUIX11.cs: Extended the Systray API
7084 * Form.cs: Removed debug output
7085 * Application.cs: Fixed focus assignment, always need to call
7086 XplatUI.Activate() since Form.Activate() has rules that may
7088 * NotifyIcon.cs: Should be complete now
7089 * ToolTip.cs: Worked around possible timer bug
7091 2005-01-27 Jackson Harper <jackson@ximian.com>
7094 - Only invalidate the effected tabs when the
7095 selected index changes. This reduces drawing and gets rid of some
7097 - Only refresh if the tabs need to be shifted, otherwise only
7098 invalidate the slider button.
7099 - On windows the tabs are not filled to right if the slider is
7102 2005-01-27 Jackson Harper <jackson@ximian.com>
7104 * TabControl.cs: Only refresh on mouseup if we are showing the
7105 slider. Also only invalidate the button whose state has changed.
7107 2005-01-26 Peter Bartok <pbartok@novell.com>
7109 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7110 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7111 and SystrayRemove() methods
7112 * XplatUIOSX.cs: Stubbed Systray methods
7114 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7116 - Fixed broken XChangeProperty calls (marshalling messed up things)
7117 * X11Structs.cs: Added enums and structs required for Size hinting
7118 * NotifyIcon.cs: Added & implemented
7120 2005-01-26 Jackson Harper <jackson@ximian.com>
7122 * TabControl.cs: Space vertically layed out tabs properly.
7124 2005-01-26 Peter Bartok <pbartok@novell.com>
7126 * Form.cs (CreateClientParams): Always set the location to 0,0
7127 since we're a child window.
7129 * Control.cs (SetVisibleCore): Always explicitly setting the location
7130 of a toplevel window, apparently X11 doesn't like to move windows
7131 while they're not mapped.
7133 2005-01-26 Jackson Harper <jackson@ximian.com>
7135 * TabControl.cs: Implement FillToRight size mode with vertically
7138 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7140 * ControlPaint.cs, ThemeWin32Classic.cs
7141 - Fixes DrawFocusRectangle
7143 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7146 - MenuBar tracking only starts when item is first clicked
7147 - Fixes menu hidding for multiple subitems
7148 - Unselect item in MenuBar when item Executed
7151 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
7154 - IsInputKey for ListBox
7157 - Shift and Control item selection
7158 - Implement SelectionMode.MultiExtended
7161 - IsInputKey implemented
7162 - Do not generate OnTextChangedEdit on internal txt changes
7164 2005-01-23 Peter Bartok <pbartok@novell.com>
7166 * AccessibleObject.cs: Partially implemented Select()
7167 * MonthCalendar.cs: Added missing attributes and events
7168 * Form.cs: Fixed CreateParams behaviour, now controls derived from
7169 form can properly override CreateParams.
7170 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7171 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7172 Control performs Invalidate & Update
7173 * NativeWindow (CreateHandle): Added special handling for Form
7174 and Form.FormParent classes to allow overriding of From.CreateParams
7176 - ControlNativeWindow: Renamed 'control' variable to more intuitive
7178 - ControlNativeWindow: Added Owner property
7179 - Removed usage of Refresh() on property changes, changed into
7180 Invalidate(), we need to wait until the queue is processed for
7181 updates, direct calls might cause problems if not all vars for
7182 Paint are initialized
7183 - Added call to UpdateStyles() when creating the window, to set any
7184 styles that CreateWindow might have ignored.
7185 - Added support for Form CreateParent overrides to UpdateStyles()
7186 * MessageBox.cs: Removed no longer needed FormParent override stuff,
7187 CreateParams are now properly overridable
7188 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7189 CreateParams are now properly overridable
7191 2005-01-23 Miguel de Icaza <miguel@ximian.com>
7193 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
7196 Capture LostFocus and OnTextBoxChanged. The later introduces a
7197 recursive invocation that I have not figured out yet.
7199 Reset the timer when not using (it was accumulating).
7202 (OnTextBoxChanged): Set UserEdit to true here to track whether the
7203 user has made changes that require validation.
7205 Reset changing to avoid loops.
7207 2005-01-22 Miguel de Icaza <miguel@ximian.com>
7209 * NumericUpDown.cs: Display value at startup.
7211 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
7214 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
7215 filled in. Added some basic parsing of text.
7217 Still missing the OnXXX method overrides, and figuring out the
7218 events that must be emitted.
7220 * UpDownBase.cs: Handle UserEdit on the Text property.
7222 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
7225 - Fixes IntegralHeight
7228 2005-01-21 Jackson Harper <jackson@ximian.com>
7230 * TabControl.cs: Set the SelectedIndex property when SelectedTab
7231 is set so that the page visibility is updated and the tabs are
7234 2005-01-21 Jackson Harper <jackson@ximian.com>
7236 * TabControl.cs: Use cliping rectangle for blitting. Give the
7237 theme the clipping rect so we can do clipping while
7238 drawing. Remove some debug code.
7240 2005-01-21 Jackson Harper <jackson@ximian.com>
7242 * TabPage.cs: Add a new method so tab pages can force the tab
7243 control to recalculate the tab page sizes.
7244 * TabControl.cs: UpdateOwner needs to make the tab control recalc
7247 2005-01-20 Jackson Harper <jackson@ximian.com>
7249 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
7251 2005-01-20 Jackson Harper <jackson@ximian.com>
7253 * TreeView.cs: Set the bounds for nodes properly. They were
7254 getting screwed up when checkboxes were not enabled, but images
7257 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
7260 - Owner draw support
7263 2005-01-20 Jackson Harper <jackson@ximian.com>
7265 * XplatUIStructs.cs: More misc keys
7266 * X11Keyboard.cs: Ignore some control keys.
7268 2005-01-20 Jackson Harper <jackson@ximian.com>
7270 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
7271 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
7273 2005-01-19 Peter Bartok <pbartok@novell.com>
7275 * Control.cs: Un-selecting the control when it is loosing focus
7277 2005-01-19 Jackson Harper <jackson@ximian.com>
7279 * TreeView.cs: Hook up to the text controls leave event so we can
7280 end editing when the users clicks outside the text box.
7282 2005-01-19 Jackson Harper <jackson@ximian.com>
7284 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
7285 get set in the conversion array.
7287 2005-01-19 Peter Bartok <pbartok@novell.com>
7289 * Application.cs (ModalRun): Added a call to CreateControl to ensure
7290 focus is properly set
7292 - Added missing attributes
7293 - removed styles, those are already set in the base class
7295 - Added missing attributes
7296 - Added clip window styles
7297 * CheckBox.cs: Added missing attributes
7299 - FormParentWindow.CreateParams: Added required clip styles
7300 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7301 also filters modifier keys
7303 - Added assignment of Accept and Cancel button to enable Enter
7304 and Esc keys in MessageBox dialogs
7305 - FormParentWindow.CreateParams: Added required clip styles
7306 * RadioButton.cs: Added missing attributes
7307 * TextControl.cs: No longer draws selection if control does not
7310 - Now draws simple rectangle around test area to make it obvious
7311 there's a control. This is a hack until we properly support borders
7312 - A few simple fixes to support selections better, now erases selected
7313 text when typing, and resets selection when using movement keys
7315 2005-01-19 Miguel de Icaza <miguel@ximian.com>
7317 * UpDownBase.cs: Added some new properties.
7319 * DomainUpDown.cs: Implement a lot to get my test working.
7321 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7323 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7325 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7327 * OSXStructs (WindowAttributes): Fixed csc complaints
7329 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7332 OSXStructs.cs: Initial refactor to move enums and consts into
7333 OSXStructs and use them in the driver for greater readability.
7335 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7337 * XplatUIOSX.cs: Initial support for Standard Cursors.
7338 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7340 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
7342 * ComboBox.cs: ability to change style when the ctrl is already
7343 created, missing methods and events, bug fixes, signature fixes
7345 2005-01-19 Peter Bartok <pbartok@novell.com>
7347 * Cursors.cs (ctor): Added ctor to fix signature
7349 2005-01-18 Peter Bartok <pbartok@novell.com>
7351 * Button.cs: Implemented DoubleClick event
7353 - Fixed keyboard handling to behave like MS, where the press of
7354 Spacebar is equivalent to a mousedown, and the key release is
7355 equivalent to mouseup. Now a spacebar push will give the same
7356 visual feedback like a mouse click.
7357 - Added missing attributes
7358 - Added ImeModeChanged event
7359 - Added support for generating DoubleClick event for derived classes
7361 - Implemented DoubleClick event
7362 - Added missing attributes
7363 * CommonDialog.cs: Added missing attribute
7364 * ContextMenu.cs: Added missing attributes
7366 - AutoChecked buttons do not allow to be unselected when clicked
7367 (otherwise we might end up with no selected buttons in a group)
7368 - Added missing attributes
7369 - Implemented DoubleClickEvent
7370 * ThreadExceptionDialog.cs: Enabled TextBox code
7372 2005-01-18 Peter Bartok <pbartok@novell.com>
7374 * Form.cs: Removed debug output
7375 * Button.cs: Added support for DoubleClick method
7377 2005-01-18 Peter Bartok <pbartok@novell.com>
7380 - Added method to parent window that allows triggering size
7381 calculations when a menu is added/removed
7382 - set_Menu: Cleaned up mess from early days of Form and Control,
7383 now properly triggers a recalc when a menu is added/removed
7384 - Added case to select form itself as focused form if no child
7386 - Added PerformLayout call when showing dialog, to ensure properly
7389 - Select(): Made internal so Form can access it
7390 - Focus(): Only call Xplat layer if required (avoids loop), and sets
7392 * Application.cs (Run): Removed hack and calls PerformLayout instead
7393 to trigger calculation when Form becomes visible
7395 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
7397 * ComboBox.cs: fixes for ownerdraw
7399 2005-01-18 Peter Bartok <pbartok@novell.com>
7402 - Sentinel is no longer static, each Document gets it's own, this
7403 avoids locking or alternatively overwrite problems when more
7404 than one text control is used simultaneously.
7405 - Switched to use Hilight and HilightText brushes for text selection
7407 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7409 2005-01-18 Peter Bartok <pbartok@novell.com>
7412 - Hooked up the following events:
7420 o SystemColorsChanged
7423 - Removed debug output
7424 - Added a call to the current theme's ResetDefaults when a color change
7426 * Form.cs: Now setting the proper ImeMode
7427 * Theme.cs: Defined a method to force recreation of cached resources
7428 and rereading of system defaults (ResetDefaults())
7429 * ThemeWin32Classic.cs: Added ResetDefaults() stub
7431 2005-01-17 Peter Bartok <pbartok@novell.com>
7433 * Control.cs: Added missing attributes
7435 2005-01-17 Jackson Harper <jackson@ximian.com>
7437 * TreeNode.cs: Implement editing. Add missing properties selected
7439 * TreeView.cs: Implement node editing. Also some fixes to use
7440 Invalidate (invalid area) instead of Refresh when selecting.
7442 2005-01-17 Peter Bartok <pbartok@novell.com>
7445 - Implemented InvokeGotFocus() method
7446 - Implemented InvokeLostFocus() method
7447 - Implemented InvokePaint() method
7448 - Implemented InvokePaintBackground() method
7449 - Implemented InvokeClick() method
7450 - Implemented FindForm() method
7451 - Implemented RectangleToClient() method
7452 - Implemented ClientToRectangle() method
7453 - Implemented ResetBackColor() method
7454 - Implemented ResetCursor() method
7455 - Implemented ResetFont() method
7456 - Implemented ResteForeColor() method
7457 - Implemented ResetImeMode() method
7458 - Implemented ResetLeftToRight() method
7459 - Implemented ResetText() method
7460 - Implemented Scale() methods
7461 - Implemented ScaleCore() method
7462 - Implemented Update() method
7463 - Removed unused variables
7464 - Stubbed AccessibilityNotifyClients and
7465 ControlAccessibleObject.NotifyClients() methods (dunno what to do
7467 - Now setting proper default for RightToLeft property
7468 - Fixed bug in SetClientSizeCore that would cause windows to get
7470 - Now sending Click/DoubleClick events
7471 - Now selecting controls when left mouse button is clicked on
7473 * AccessibleEvents.cs: Added
7474 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
7475 * XplatUIOSX.cs: Stubbed UpdateWindow() method
7476 * XplatUIWin32.cs: Implemented UpdateWindow() method
7477 * XplatUIX11.cs: Implemented UpdateWindow() method
7478 * Form.cs: Removed stray semicolon causing CS0162 warning
7479 * ThemeWin32Classic.cs: Fixed unused variable warnings
7480 * ScrollableControl.cs: Now calls base method for ScaleCore
7481 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
7482 style to avoid interference with internal click handler (which is
7483 different than standard Control click handling)
7485 - Now unchecks all sibling radio buttons when control is
7486 selected (Fixes #68756)
7487 - Removed internal tabstop variable, using the one inherited from
7490 2005-01-17 Jackson Harper <jackson@ximian.com>
7492 * NavigateEventArgs.cs: Fix base type.
7493 * LinkLabel.cs: Sig fix
7495 2005-01-17 Jackson Harper <jackson@ximian.com>
7497 * TreeView.cs: Only invalidate the effected nodes bounds when
7500 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7502 * XplatUIWin32.cs: fixes Win32 marshaling
7503 * XplatUIX11.cs: fixes method signature
7505 2005-01-17 Peter Bartok <pbartok@novell.com>
7507 * XplatUIX11.cs: Clean up resources when we no longer need them
7509 2005-01-17 Peter Bartok <pbartok@novell.com>
7511 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
7512 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
7513 and DestroyCursor() methods.
7514 * Cursor.cs: Partially implemented, now supports standard cursors;
7515 still contains some debug code
7516 * Cursors.cs: Implemented class
7518 - WndProc(): Added handling of WM_SETCURSOR message, setting the
7520 - Implemented Cursor property
7521 - Replaced break; with return; more straightforwar and possibly
7523 - Now properly setting the result for WM_HELP
7524 * X11Structs.cs: Added CursorFontShape enum
7525 * XplatUIStructs.cs:
7526 - Added StdCursor enum (to support DefineStdCursor() method)
7527 - Added HitTest enum (to support sending WM_SETCURSOR message)
7529 - Now sends the WM_SETCURSOR message
7530 - Implemented new cursor methods
7531 * XplatUIOSX.cs: Stubbed new cursor methods
7533 - Implemented new cursor methods
7534 - Added GetSystemMetrics function and associated enumeration
7536 2005-01-15 Peter Bartok <pbartok@novell.com>
7539 - WndProc(): Now handles EnableNotifyMessage
7540 - SelectNextControl(): Fixed bug where if no child or sibling
7541 controls exist we looped endlessly
7543 2005-01-14 Jackson Harper <jackson@ximian.com>
7545 * TreeView.cs: Recalculate the tab pages when a new one is added
7546 so that the proper bounding rects are created.
7548 2005-01-14 Jackson Harper <jackson@ximian.com>
7550 * TreeView.cs: Draw a gray box instead of a grip in the lower
7551 right hand corner when there are both horizontal and vertical
7554 2005-01-14 Jackson Harper <jackson@ximian.com>
7556 * Control.cs: When erasing backgrounds use FromHwnd instead of
7557 FromHdc when there is a NULL wparam. This occurs on the X driver.
7558 * XplatUIX11.cs: Set the wparam to NULL.
7560 2005-01-13 Jackson Harper <jackson@ximian.com>
7562 * PictureBox.cs: Implement missing methods (except ToString, need
7563 to test that on windows) and events. When visibility is changed we
7564 need to redraw the image because the buffers are killed. When size
7565 is changed refresh if the sizemode needs it.
7567 2005-01-13 Peter Bartok <pbartok@novell.com>
7569 * Control.cs (SelectNextControl): Was using wrong method to select
7572 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7574 * ComboBox.cs: fixes dropstyle
7576 2005-01-13 Peter Bartok <pbartok@novell.com>
7579 - Implemented Select() override
7580 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
7581 - Now sets keyboard focus on startup
7582 * Control.cs (SelectNextControl): Now properly handles directed=true
7584 - WndProc: Now passes tab key on to base if AcceptTabChar=false
7585 - Added (really bad) focus rectangle (mostly for testing)
7586 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
7587 to enforce redraw on focus changes
7588 * ContainerControl.cs:
7589 - Fixed detection of Shift-Tab key presses
7590 - Fixed traversal with arrow keys
7591 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
7592 gonna keep this or if it's complete yet
7594 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7596 * ComboBox.cs: missing properties, fixes
7598 2005-01-13 Peter Bartok <pbartok@novell.com>
7600 * Panel.cs (ctor): Setting Selectable window style to off
7601 * Splitter.cs (ctor): Setting Selectable window style to off
7602 * GroupBox.cs (ctor): Setting Selectable window style to off
7603 * Label.cs (ctor): Setting Selectable window style to off
7605 2005-01-12 Miguel de Icaza <miguel@ximian.com>
7607 * UpDownBase.cs (InitTimer): If the timer has been already
7610 Use a TextBox instead of a Label.
7612 2005-01-12 Jackson Harper <jackson@ximian.com>
7614 * TreeView.cs: Refresh the tree after sorting the nodes. Always
7615 draw the connecting node lines (when ShowLines is true).
7616 * TreeNode.cs: The nodes index can now be updated. This is used
7617 when a node collection is sorted.
7618 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
7619 insert or an existing unsorted node collection can be sorted.
7621 2005-01-12 Peter Bartok <pbartok@novell.com>
7623 * ContainerControl.cs: Implemented ProcessDialogKeys()
7625 2005-01-12 Peter Bartok <pbartok@novell.com>
7628 - Implemented SelectNextControl() method
7629 - Several focus related bug fixes
7630 - Fixed Docking calculations to match MS documentation and
7633 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
7635 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
7638 2005-01-12 Peter Bartok <pbartok@novell.com>
7641 - Fixed broken Contains() method
7642 - Implemented GetNextControl() method. Finally. This is the pre-
7643 requisite for focus handling.
7645 2005-01-12 Peter Bartok <pbartok@novell.com>
7647 * OSXStrucs.cs: Added
7649 2005-01-12 Peter Bartok <pbartok@novell.com>
7652 - Removed PeekMessageFlags
7653 - Implemented SetWindowStyle() method
7654 * XplatUIStructs.cs: Added PeekMessageFlags
7655 * X11Structs: Added missing border_width field to XWindowChanges struct
7657 - PeekMessage: Now throws exception if flags which are not yet
7658 supported are passed
7659 - Implemented SetWindowStyle() method
7660 - Fixed SetZOrder to handle AfterHwnd properly
7661 * XplatUI.cs: Added SetWindowStyle() method
7662 * XplatUIDriver.cs: Added SetWindowStyle() abstract
7664 - Implemented UpdateStyles() method
7665 - Implemented UpdateZOrder() method
7666 * XplatUIOSX.cs: Added SetWindowStyle() stub
7668 2005-01-12 Geoff Norton <gnorton@customerdna.com>
7670 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
7674 2005-01-11 Jackson Harper <jackson@ximian.com>
7676 * TreeView.cs: Still need to draw lines to siblings even if out of
7677 the current node is out of the clip.
7679 2005-01-11 Jackson Harper <jackson@ximian.com>
7681 * TreeView.cs: When setting the hbar/vbar/grip position use
7682 SetBounds so that perform layout is only called once. Also suspend
7683 and resume layout so layout is only done once for all controls.
7684 - Removed some debug fluff
7685 * SizeGrip.cs: Call base implmentation in overriding methods.
7686 - When visibility is changed the drawing buffers are killed so we
7689 2005-01-11 Jackson Harper <jackson@ximian.com>
7691 * TreeView.cs: Calculate the open node count while drawing. This
7692 saves us an entire tree traversal for every paint operation. Use
7693 a member var for the open node count so less vars are passed around.
7695 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
7698 - fixed selection to use mousemove, not mouse polling on timer
7699 * ThemeWin32Classic.cs
7700 - removed redundant unused variable "no_more_content"
7702 2005-01-11 Peter Bartok <pbartok@novell.com>
7704 * XplatUIX11.cs (DoEvents): Needs to return when no more events
7705 are pending, so it now calls PeekMessage instead of GetMessage;
7706 implemented a incomplete version of PeekMessage
7708 2005-01-11 Peter Bartok <pbartok@novell.com>
7710 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
7712 * TextBoxBase.cs: Added sending of TextChanged event
7714 2005-01-10 Jackson Harper <jackson@ximian.com>
7716 * TreeView.cs: Try not to draw outside the clipping rectangle on
7719 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
7721 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
7723 2005-01-10 Jackson Harper <jackson@ximian.com>
7726 - Implement fast scrolling. Now only the newly
7727 exposed nodes are drawn and the old image is moved using the
7728 XplatUI::ScrollWindow method.
7729 - Factor in height of nodes when calculating whether or not the
7730 node is in the clipping rect.
7732 2005-01-10 Jackson Harper <jackson@ximian.com>
7734 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
7736 2005-01-10 Peter Bartok <pbartok@novell.com>
7738 * Application.cs: Added temporary hack to resolve all our resize
7739 required issues on startup. This will get fixed properly at
7740 some point in the future
7742 2005-01-10 Jackson Harper <jackson@ximian.com>
7744 * SizeGrip.cs: New internal class that is used as a sizing
7745 grip control...hence the name.
7747 2005-01-10 Peter Bartok <pbartok@novell.com>
7749 * Control.cs: Implemented proper TabIndex handling, now assigning
7750 a tabindex when a control is added to a container
7751 * GroupBox.cs (ctor): Now sets the Container style bit, required
7752 for Control.GetNextControl()
7754 2005-01-09 Jackson Harper <jackson@ximian.com>
7756 * TextBoxBase.cs: Clear window when scrolling (fixes build).
7758 2005-01-09 Peter Bartok <pbartok@novell.com>
7760 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7761 XplatUIX11.cs: Added ability to control ScrollWindow expose and
7762 an overload for ScrollWindow to allow only scrolling a rectangle
7764 2005-01-09 Peter Bartok <pbartok@novell.com>
7767 - Implemented SetDesktopBounds method
7768 - Implemented SetDesktopLocation method
7770 2005-01-08 Jackson Harper <jackson@ximian.com>
7772 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
7773 the node count has changed, this removes to VScroll::Refresh calls
7776 2005-01-08 Geoff Norton <gnorton@customerdna.com>
7778 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
7780 2005-01-07 Jackson Harper <jackson@ximian.com>
7782 * TreeNode.cs: Just update the single node when it is
7783 checked. Don't refresh after toggling, the Expand/Collapse already
7785 * TreeView.cs: Respect clipping a little more when drawing. Try
7786 not to redraw things that don't need to be redrawn. Just hide the
7787 scrollbars when they are no longer needed instead of removing
7788 them, so they don't have to be created again and again.
7790 2005-01-07 Geoff Norton <gnorton@customerdna.com>
7792 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
7793 coordinates to window space to place the caret properly, FIXED.
7794 Implement GetWindowState & SetWindowState
7796 2005-01-06 Peter Bartok <pbartok@novell.com>
7799 - Implemented ClientSize property
7800 - Implemented DesktopBounds property
7801 - Implemented DesktopLocation property
7802 - Implemented IsRestrictedWindow property
7803 - Implemented Size property
7804 - Implemented TopLevel property
7805 - Implemented FormWindowState property
7807 - Implemented GetTopLevel() method
7808 - Implemented SetTopLevel() method
7809 * X11Structs.cs (Atom):
7810 - Added AnyPropertyType definition
7811 - Added MapState definiton and updated XWindowAttribute struct
7812 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
7813 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
7814 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
7816 - Implemented GetWindowState() and SetWindowState() methods
7817 - Fixed Win32GetWindowLong return type
7819 - Introduced central function for sending NET_WM messages
7820 - Implemented GetWindowState() and SetWindowState() methods
7821 * TextBoxBase.cs (set_Lines):
7822 - Now uses Foreground color for text added via Text property (Duh!)
7823 - Added code to remember programmatically requested size (fixes
7824 behaviour when Multiline is set after Size)
7825 - Added AutoSize logic
7827 2005-01-06 Jackson Harper <jackson@ximian.com>
7829 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
7831 2005-01-06 Jackson Harper <jackson@ximian.com>
7833 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
7836 2005-01-06 Jackson Harper <jackson@ximian.com>
7838 * ScrollableControl.cs: Lazy init the scrollbars.
7840 2005-01-06 Jackson Harper <jackson@ximian.com>
7842 * Theme.cs: Speed up getting pens and solid brushes, by using
7843 their ARGB as a hash instead of tostring and not calling Contains.
7845 2005-01-06 Peter Bartok <pbartok@novell.com>
7848 - Implemented OnActivated and OnDeactivate event trigger
7849 - Implemented Activate() method
7850 - Fixed ShowDialog() to activate the form that was active before
7851 the dialog was shown
7853 - Added global active_window var that tracks the currently active
7855 - Now always grabs Property changes from the root window to always
7856 catch changes on the active window property
7857 - Added code to PropertyNotify handler to send Active/Inactive
7858 messages when state changes. This puts X11 and Win32 en par on
7859 WM_ACTIVATE notifications (except for double notifications when
7860 the user clicks away from our modal window to another one of our
7863 2005-01-05 Jackson Harper <jackson@ximian.com>
7865 * ImageList.cs: Implment ctor
7867 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7869 * XplatUIOSX.cs: Implement Activate/SetTopmost
7871 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7873 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
7875 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7877 * XplatUIOSX.cs: Implement GetActive/SetFocus.
7879 2005-01-05 Peter Bartok <pbartok@novell.com>
7881 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
7882 XplatUIOSX.cs: Added GetActive method to return the currently
7883 active window for the application (or null, if none is active)
7885 - Implemented ActiveForm
7886 - Commented out owner assignment for modal dialogs (causes problems
7887 on Win32, since the owner will be disabled)
7888 - Reworked some Active/Focus handling (still incomplete)
7889 * CommonDialog.cs: Commented out owner assignment for modal dialogs
7890 (causes problems on Win32, since the owner will be disabled)
7891 * IWin32Window: Added ComVisible attribute
7893 2005-01-05 Peter Bartok <pbartok@novell.com>
7895 * ToolTip.cs (WndProc): Enable setting focus now that we have the
7896 required XplatUI functions.
7898 2005-01-05 Peter Bartok <pbartok@novell.com>
7900 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
7901 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
7902 to implement focus and activation handling; still incomplete and
7905 2005-01-04 Peter Bartok <pbartok@novell.com>
7907 * TextBoxBase.cs: Changed access level for Document property to
7908 match switch to internal for TextControl
7910 2005-01-04 Peter Bartok <pbartok@novell.com>
7912 * AccessibleObject: Added ComVisible attribute
7914 2005-01-04 Jackson Harper <jackson@ximian.com>
7916 * X11Keyboard.cs: Remove unneeded var.
7918 2005-01-04 Jackson Harper <jackson@ximian.com>
7920 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
7922 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
7923 ClientMessage. This makes apps exit cleanly (more often).
7925 2005-01-04 Jackson Harper <jackson@ximian.com>
7927 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
7928 handling focus, return correct colors and fonts,
7929 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
7930 handle selection, horizontal scrolling, and mouse interaction.
7932 2005-01-04 Peter Bartok <pbartok@novell.com>
7934 * ICommandExecutor.cs: Added
7935 * IDataGridColumnStyleEditingNotificationService.cs: Added
7936 * IFeatureSupport.cs: Added
7937 * IFileReaderService.cs: Added
7938 * IDataObject.cs: Added ComVisible attribute
7939 * AmbientProperties.cs: Added
7940 * BaseCollection.cs: Added missing attributes
7941 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
7942 * BaseCollection.cs: Added missing attributes
7943 * Binding.cs: Added TypeConverter attribute
7944 * BindingContext.cs: Added DefaultEvent attribute
7945 * BindingsCollection.cs: Added DefaultEvent attribute
7946 * Button.cs: Added DefaultValue attribute
7947 * DragEventArgs.cs: Added ComVisible attribute
7948 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
7949 * KeyEventArgs.cs: Added ComVisible attribute
7950 * KeyPressEventArgs.cs: Added ComVisible attribute
7951 * MouseEventArgs.cs: Added ComVisible attribute
7952 * NavigateEventArgs.cs: Added
7953 * NavigateEventHandler.cs: Added
7954 * FeatureSupport.cs: Added
7955 * OSFeature.cs: Added
7956 * Theme.cs: Added abstract Version property to support OSFeature
7957 * ThemeWin32Classic.cs: Added Version property to
7958 support OSFeature.Themes
7959 * ProgressBar.cs: Removed OnPaintBackground override, not required since
7960 the proper styles to avoid background drawing are set, also doesn't
7962 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
7963 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
7964 * ScrollEventArgs.cs: Added ComVisible attribute
7965 * SplitterEventArgs.cs: Added ComVisible attribute
7966 * AccessibleSelection.cs: Added Flags attribute
7967 * Appearance.cs: Added ComVisible attribute
7968 * Border3DSide.cs: Added ComVisible attribute
7969 * Border3DStyle.cs: Added ComVisible attribute
7970 * BorderStyle.cs: Added ComVisible attribute
7971 * DragAction.cs: Added ComVisible attribute
7972 * ErrorBlinkStyle.cs: Added
7973 * ScrollEventType.cs: Added ComVisible attribute
7974 * AnchorStyles.cs: Added Editor attribute
7975 * DockStyle.cs: Added Editor attribute
7976 * HorizontalAlignment.cs: Added ComVisible attribute
7977 * HelpEventArgs.cs: Added ComVisible attribute
7978 * PaintEventArgs.cs: Added IDisposable
7980 2005-01-04 Peter Bartok <pbartok@novell.com>
7982 * TextControl.cs: Switched Line, LineTag and Document classes to
7985 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
7987 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
7988 Simple mode, fixes, IntegralHeight, etc.
7990 2005-01-04 Peter Bartok <pbartok@novell.com>
7992 * TextBoxBase.cs: Using proper font variable now
7994 2005-01-04 Peter Bartok <pbartok@novell.com>
7996 * Form.cs (ShowDialog): Set parent to owner, if provided
7997 * GroupBox.cs: Removed unused vars
7999 - Added GetHashCode() for Document and LineTag classes
8000 - Removed unused variables
8001 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8002 to allow translation between continuous char position and line/pos
8003 * CheckBox.cs: Removed vars that are provided by base class
8004 * RadioButton.cs: Removed vars that are provided by base class, added
8005 new keyword where required
8006 * LinkLabel.cs: Added new keyword where required
8007 * Control.cs (WndProc): Removed unused variable
8009 - Finished SelectionLength property
8010 - Implemented SelectionStart property
8011 - Implemented Text property
8012 - Removed unused vars
8013 * MessageBox.cs: Added new keyword where required
8014 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8016 * MenuAPI.cs: Added new keyword where required
8017 * ButtonBase.cs: Removed vars that are provided by base class, added
8018 new keyword where required
8019 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8020 argument to double, to allow compiling with csc 2.0 (Atsushi ran
8022 * Application.cs (Run): Now triggers the ThreadExit event
8023 * CommonDialog.cs: Added new keyword where required; now properly sets
8024 parent (owner) for dialog
8025 * XplatUIX11.cs: Commented out unused vars
8026 * StatusBar.cs: Fixed signature for Text property
8027 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8029 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8031 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8032 TrackBar.cs, MonthCalendar.cs: remove unused vars
8034 2005-01-03 Jackson Harper <jackson@ximian.com>
8036 * ThemeWin32Classic.cs:
8037 * X11Keyboard.cs: Remove unused vars.
8039 2005-01-03 Peter Bartok <pbartok@novell.com>
8042 - set_Text: Tied into TextControl
8043 - set_TextAlignment: Tied into TextControl
8045 - Added alignment properties and implemented alignment handling
8046 and drawing (still has a bug, not generating proper expose events)
8047 - Added new Line() constructor to allow passing the line alignment
8048 - Fixed selection setting, properly handling end<start now
8049 - Added aligment considerations to RecalculateDocument()
8051 - Now properly enforces control height for single line controls
8052 - Added support for CharacterCasing
8053 - Added IsInputKey override
8054 - Fixed Keys.Enter logic
8055 - Added SetBoundsCore override
8056 - Fixed mouse selection handling
8058 2005-01-03 Jackson Harper <jackson@ximian.com>
8061 - Collapse and uncheck all nodes when CheckBoxes is disabled.
8062 - Checkboxes are always aligned to the bottom of the node,
8063 regardless of item height.
8064 - Use the node bounds to draw the text so we can center it when
8065 the item height is greater then the font height.
8066 - Node::Bounds are only the text part of the node.
8067 * TreeNode.cs: New method to combine collapsing and unchecking all
8070 2005-01-02 Jackson Harper <jackson@ximian.com>
8072 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8073 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8074 tree when a check is changed. TODO: Only refresh the checked node.
8076 2004-12-30 Jackson Harper <jackson@ximian.com>
8078 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8079 * TreeNode.cs: When collapsing make sure to never collapse the
8082 2004-12-29 Jackson Harper <jackson@ximian.com>
8084 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8086 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
8088 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8090 2004-12-28 Peter Bartok <pbartok@novell.com>
8092 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8095 2004-12-28 Peter Bartok <pbartok@novell.com>
8097 * Control.cs (WndProc): Added WM_HELP handler, now generates
8099 * Form.cs: Added HelpButton property and required support code
8100 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8102 2004-12-28 Peter Bartok <pbartok@novell.com>
8105 - Made DialogForm.owner variable internal
8106 - Added check to ensure owner form is set before setting
8107 owner properties in CreateParams
8109 2004-12-28 Geoff Norton <gnorton@customerdna.com>
8111 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
8112 swizzling. Implement ClientToScreen and ScreenToClient. Implement
8113 GetCursorPos. Fix major visibility issues. Rework the windowing
8114 system to support borderless/titleless windows (implements menus).
8115 Fix GetWindowPos. Implement initial background color support for
8118 2004-12-28 Peter Bartok <pbartok@novell.com>
8120 * Form.cs (get_CreateParams): Make sure we have an owner before using
8121 the owner variable. Implement proper default if no owner exists
8123 2004-12-28 Peter Bartok <pbartok@novell.com>
8125 * In preparation for making Managed.Windows.Forms the default build target
8126 for System.Windows.Forms, the following stubbed files were added.
8127 Dialogs are currently being implemented by contributors and are only
8128 short-term place holders.
8129 * ColorDialog.cs: Initial check-in (minmal stub)
8130 * DataGrid.cs: Initial check-in (minimal stub)
8131 * DataGridLineStyle.cs: Initial check-in (minimal stub)
8132 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8133 * DataGridTableStyle.cs: Initial check-in (minimal stub)
8134 * FontDialog.cs: Initial check-in (minimal stub)
8135 * FileDialog.cs: Initial check-in (minimal stub)
8136 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8137 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8138 * OpenFileDialog: Initial check-in (minimal stub)
8139 * IComponentEditorPageSite.cs: Initial check-in
8140 * Splitter.cs: Initial check-in (for Jackson)
8141 * SplitterEventArgs.cs: Initial check-in (for Jackson)
8142 * SplitterEventHandler.cs: Initial check-in (for Jackson)
8143 * TextBox.cs: Initial check-in; still needs some wiring to
8145 * Form.cs: Implemented ControlBox property
8146 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8147 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8148 * TextControl.cs: Added selection functionality; added todo header
8150 - Implemented Lines property
8151 - Implemented TextHeight property
8152 - Implemented SelectedText property
8153 - Implemented SelectionLength property
8154 - Implemented SelectAll method
8155 - Implemented ToString method
8156 - Removed and cleaned up some debug code
8157 - Implemented (still buggy) mouse text selection
8159 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
8161 * ComboBox.cs: Complete DropDownList implementation, fixes.
8163 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
8165 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8166 * ComboBoxStyle.cs: ComboBoxStyle enum
8167 * ComboBox.cs: Initial work on ComboBox control
8169 2004-12-21 Peter Bartok <pbartok@novell.com>
8171 * Control.cs (ctor, CreateParams): Moved setting of is_visible
8172 forward so that anything that creates a window gets the default,
8173 also no longer uses Visible property in CreateParams to avoid
8174 walking up the parent chain and possibly get the wrong visible
8175 status. Fixed IsVisible to no longer walk up to the parent.
8177 2004-12-21 Peter Bartok <pbartok@novell.com>
8179 * Form.cs (ShowDialog): Unset modality for the proper window
8181 2004-12-20 Peter Bartok <pbartok@novell.com>
8183 * CommonDialog.cs: Initial check-in
8185 2004-12-20 Peter Bartok <pbartok@novell.com>
8187 * Control.cs (Visible): Now uses the parent window instead of the
8188 client area window for the property
8191 - ShowDialog(): Now uses the proper window for modality
8192 - The default visibility state for the form parent is now false. This
8193 will prevent the user from seeing all the changes to the form and
8194 its controls before the application hits Application.Run()
8195 - Removed some stale commented out code
8198 - Added FindWindow() method to have a method to check for existence
8200 - Added ability to override default exception handling (for example
8201 when debugging with VS.Net; to do this the ExternalExceptionHandler
8203 - Removed some useless debug output
8206 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
8207 not working as expected
8208 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
8209 property to allow switching back to the modal window if focus is
8210 given to another one of our windows (Application Modal)
8211 - Now only sets override_redirect if we create a window
8213 - Moved EventMask selection before mapping of newly created window
8214 so we can catch the map event as well
8215 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
8216 - Added various Atom related DllImports
8217 - Implemented Exit() method
8218 - .ctor() : No longer shows window if WS_VISIBLE is not defined
8221 * MessageBox.cs: Now properly deals with the FormParent window by
8222 providing an override the FormParent CreateParams property to
8223 set as POPUP instead of OVERLAPPED window.
8225 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8227 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
8230 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8232 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
8234 2004-12-18 Peter Bartok <pbartok@novell.com>
8236 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
8237 implementing SetModal() method
8239 2004-12-18 Peter Bartok <pbartok@novell.com>
8241 * X11Structs.cs (XGCValues): Fixed type of function element
8242 * XplatUI.cs: Added ScrollWindow() method
8243 * XplatUIDriver.cs: Added ScrollWindow() abstract
8244 * XplatUIWin32.cs: Implemented ScrollWindow() method
8245 * XplatUIX11.cs: Implemented ScrollWindow() method
8246 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
8248 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8250 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
8251 Some more keyboard support (INCOMPLETE)
8253 2004-12-17 Peter Bartok <pbartok@novell.com>
8256 - Added color attribute to line tags.
8257 - Added color argument to all functions dealing with tags
8258 - Added color argument support to various functions
8259 - Fixed miss-calculation of baseline/shift in certain circumstances
8261 * TextBoxBase.cs: Added new color option to test code
8263 2004-12-17 Jackson Harper <jackson@ximian.com>
8266 * MonthCalendar.cs: Signature fixes
8268 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8270 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
8271 keyboard event moved it. Create a new graphics context for each paint resolves this
8273 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8275 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
8276 Make caret exist and go blink blink. Initial keyboard support.
8277 Fix exception handler, Add Invalidate support. Change way RefreshWindow
8280 2004-12-17 Jackson Harper <jackson@ximian.com>
8282 * XplatUIStructs.cs: Updated set of virtual keycodes.
8283 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
8285 2004-12-17 Jackson Harper <jackson@ximian.com>
8287 * XplatUIX11.cs: Prune old keyboard code.
8289 2004-12-17 Jackson Harper <jackson@ximian.com>
8291 * XplatUIX11.cs: When generating mouse wparams get the modifier
8292 keys from the ModifierKeys property.
8294 2004-12-17 Jackson Harper <jackson@ximian.com>
8296 * X11Keyboard.cs: Send up/down input when generating
8297 messages. Remove some unused vars.
8299 2004-12-17 Jackson Harper <jackson@ximian.com>
8302 * TreeView.cs: get rid of warnings.
8304 2004-12-17 Jackson Harper <jackson@ximian.com>
8306 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8308 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
8310 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8311 CheckedListBox.cs: Implementation
8313 2004-12-17 Peter Bartok <pbartok@novell.com>
8315 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8317 2004-12-16 Peter Bartok <pbartok@novell.com>
8320 - InsertCharAtCaret(): Fixed start pos fixup
8321 - CaretLine_get: No longer derives the line from the tag, the tag
8322 could be stale if lines in the document have been added or deleted
8323 - RebalanceAfterDelete(): Fixed bug in balancing code
8324 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8325 - Line.Streamline(): Now can also elminate leading empty tags
8326 - DumpTree(): Added a few more tests and prevented exception on
8328 - Added Debug section for Combining lines
8329 - Delete(): Now copies all remaining properties of a line
8332 - Left mousebutton now sets the caret (and middle button still acts
8333 as formatting tester, which must go away soon)
8334 - Added Debug section for Deleting/Combining lines
8335 - Fixed calculations for UpdateView after Combining lines
8337 2004-12-16 Peter Bartok <pbartok@novell.com>
8339 * TextControl.cs: Now properly aligns text on a baseline, using the
8340 new XplatUI.GetFontMetrics() method. Simplified several calculations
8341 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8344 2004-12-16 Peter Bartok <pbartok@novell.com>
8346 * XplatUI.cs: Added GetFontMetrics() method
8347 * XplatUIDriver.cs: Added GetFontMetrics() abstract
8348 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8349 into libgdiplus, our private GetFontMetrics function
8350 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8351 * XplatUIWin32.cs: Implemented GetFontMetrics() method
8353 2004-12-16 Jackson Harper <jackson@ximain.com>
8355 * XplatUIStruct.cs: Add enum for dead keys
8356 * X11Keyboard.cs: Map and unmap dead keys.
8358 2004-12-16 Jackson Harper <jackson@ximian.com>
8360 * X11Keyboard.cs: Detect and use the num lock mask.
8362 2004-12-16 Peter Bartok <pbartok@novell.com>
8364 * Control.cs (CreateGraphics): Added check to make sure the
8365 handle of the window exists before calling Graphics.FromHwnd()
8367 2004-12-16 Peter Bartok <pbartok@novell.com>
8369 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8370 contains a lot of code that's not supposed to be there for the
8371 real thing, but required for developing/testing the textbox
8374 2004-12-16 Peter Bartok <pbartok@novell.com>
8377 - Fixed Streamline method
8378 - Added FindTag method to Line
8379 - Added DumpTree method for debugging
8380 - Added DecrementLines() method for deleting lines
8381 - Fixed UpdateView to update the cursor to end-of-line on single-line
8383 - Added PositionCaret() method
8384 - Fixed MoveCaret(LineDown) to move into the last line, too
8385 - Added InsertChar overload
8386 - Fixed InsertChar tag offset calculations
8387 - Added DeleteChar() method
8388 - Added Combine() method for folding lines
8389 - Fixed Delete() method, no longer allocates wasted Line object and
8390 now copies all properties when swapping nodes
8391 - Delete() method now updates document line counter
8393 2004-12-15 Jackson Harper <jackson@ximian.com>
8395 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8396 * X11Keyboard.cs: Expose the currently selected modifier keys
8399 2004-12-15 Peter Bartok <pbartok@novell.com>
8401 * TextControl.cs: Initial check-in. Still incomplete
8403 2004-12-15 Jackson Harper <jackson@ximian.com>
8406 * TreeView.cs: Fix build on csc (second time today ;-))
8408 2004-12-15 Jackson Harper <jackson@ximian.com>
8410 * TreeView.cs: Store the treenodes plus/minus box bounds when it
8411 is calculated and use this for click testing.
8412 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8414 2004-12-15 Jackson Harper <jackson@ximian.com>
8416 * TreeView.cs: Pass the nodes image index to the image list when
8419 2004-12-15 Jackson Harper <jackson@ximian.com>
8421 * X11Keyboard.cs: Set messages hwnd.
8422 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8425 2004-12-15 Jackson Harper <jackson@ximian.com>
8427 * X11Keyboard.cs: Fix to compile with csc.
8429 2004-12-15 Jackson Harper <jackson@ximian.com>
8431 * X11Structs.cs: Add key mask values
8432 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8433 * X11Keyboard.cs: New file - Extrapolates and interpolates key
8434 down/up foo into WM_CHAR foo
8435 * KeyboardLayouts.cs: Common keyboard layouts
8436 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
8437 post messages into the main queue.
8439 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
8441 * Button.cs: implement ProcessMnemonic
8442 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
8444 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
8445 * ButtonBase.cs: Show HotkeyPrefix (not the &)
8447 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
8449 * MonthCalendar.cs: Implemented click-hold for next/previous month
8452 2004-12-11 Peter Bartok <pbartok@novell.com>
8455 - Added XKeyboardState (moved from XplatUIX11.cs)
8456 - Added XCreateGC related enums and structures
8457 - Added GXFunction for XSetFunction
8459 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
8461 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
8462 CaretVisible() calls
8464 * ToolTip.cs: Added code to prevent stealing focus from app windows
8466 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
8467 DestroyCaret, SetCaretPos and CaretVisible)
8470 - Added implementation for caret functions
8471 - Moved hover variables into a struct, to make it a bit easier
8472 on the eyes and to debug
8473 - Removed XKeyboardState (moved to XplatUIX11.cs)
8474 - Moved Keyboard properties into the properties region
8476 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
8477 call to get a graphics context for our control
8479 * XplatUIOSX.cs: Added empty overrides for the new caret functions
8481 * TreeView.cs: Fixed bug. No matter what color was set it would always
8482 return SystemColors.Window
8484 * XplatUIWin32.cs: Implemented caret overrides
8486 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
8488 * ListBox.cs: fire events, implement missing methods and properties,
8491 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
8493 * MonthCalendar.cs: invalidation bug fixing
8494 * ThemeWin32Classic.cs: paint fixing
8496 2004-12-09 Geoff Norton <gnorton@customerdna.com>
8498 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
8499 prepare the CGContextRef there now.
8501 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
8504 - optimisationL only invalidate areas that have changed
8505 * ThemeWin32Classic.cs:
8506 - only paint parts that intersect with clip_area
8508 2004-12-09 Peter Bartok <pbartok@novell.com>
8510 * Application.cs: Undid changes from r37004 which cause problems
8513 2004-12-09 Ravindra <rkumar@novell.com>
8515 * ToolBar.cs: Added support for displaying ContextMenu
8516 attached to a button on ToolBar.
8517 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
8520 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8522 * Label.cs: autosize works in text change and removes unnecessary
8525 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8527 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8530 2004-12-08 Geoff Norton <gnorton@customerdna.com>
8532 * XplatUIOSX.cs: Added mouse move/click/grab support
8533 Remove some debugging WriteLines not needed anymore.
8534 Add window resizing/positioning.
8535 Fix visibility on reparenting.
8537 2004-12-08 Peter Bartok <pbartok@novell.com>
8539 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
8541 2004-12-07 Geoff Norton <gnorton@customerdna.com>
8543 * XplatUIOSX.cs: Initial checkin
8544 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
8546 2004-12-03 Ravindra <rkumar@novell.com>
8548 * ListView.cs: Added some keybindings and fixed scrolling.
8549 ScrollBars listen to ValueChanged event instead of Scroll
8550 Event. This would let us take care of all changes being
8551 done in the scrollbars' values programmatically or manually.
8552 * ListView.cs (CanMultiselect): Added a check for shift key.
8553 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
8554 * ListViewItem.cs (Clone): Fixed. We need to make a copy
8555 of ListViewSubItemCollection as well.
8557 2004-12-06 Peter Bartok <pbartok@novell.com>
8559 * Control.cs (Parent): Added check and exception to prevent
8562 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
8564 * ListBox.cs: implemented clipping, selection single and multiple,
8567 2004-12-03 Ravindra <rkumar@novell.com>
8569 * ListView.cs (ListView_KeyDown):
8570 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
8571 when CTRL key is pressed.
8572 * ListViewItem.cs (Selected): Fixed setting the property.
8574 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8576 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
8578 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
8579 MinimizeBox, ShowInTaskbar, TopMost properties.
8581 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
8582 will be implemented).
8584 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8586 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
8588 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
8591 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
8593 * TreeView.cs: BackColor is Colors.Window.
8595 2004-12-01 Jackson Harper <jackson@ximian.com>
8597 * TreeView.cs: When resizing the tree if the user is making it
8598 smaller we don't get expose events, so we need to handle adding
8599 the horizontal scrollbar in the size changed handler as well as
8602 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
8604 * DrawItemState.cs: fixes wrong enum values
8606 2004-12-01 Jackson Harper <jackson@ximian.com>
8608 * TreeView.cs: Resize the hbar as well as the vbar on resize.
8610 2004-12-01 Jackson Harper <jackson@ximian.com>
8612 * NodeLabelEditEventArgs.cs:
8613 * NodeLabelEditEventHandler.cs:
8614 * OpenTreeNodeEnumerator.cs:
8616 * TreeNodeCollection.cs:
8618 * TreeViewAction.cs:
8619 * TreeViewCancelEventArgs.cs:
8620 * TreeViewCancelEventHandler.cs:
8621 * TreeViewEventArgs.cs:
8622 * TreeViewEventHandler.cs: Initial implementation.
8624 2004-12-01 Ravindra <rkumar@novell.com>
8626 * ListView.cs (CalculateListView): Fixed scrolling related
8627 calculations. Also, removed some debug statements from other
8629 * ListViewItem.cs: Changed access to 'selected' instance variable
8630 from private to internal.
8631 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
8633 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
8635 * ThemeWin32Classic.cs: remove cache of brush and pens for
8636 specific controls and use the global system, fixes scrollbutton
8637 bugs (for small sizes, disabled, etc)
8639 * ScrollBar.cs: does not show the thumb for very small controls
8640 (as MS) and allow smaller buttons that the regular size
8642 2004-12-01 Miguel de Icaza <miguel@ximian.com>
8644 * UpDownBase.cs: Add abstract methods for the interface.
8645 Add new virtual methods (need to be hooked up to TextEntry when it
8647 Add override methods for most features.
8648 Computes the size, forces the height of the text entry.
8650 * NumericUpDown.cs: Put here the current testing code.
8652 * Set eol-style property on all files that do not have mixed line
8653 endings, to minimize the future problems. There are still a few
8654 files with mixed endings, and someone should choose whether they
8655 want to move it or not.
8657 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
8659 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
8662 2004-11-30 Ravindra <rkumar@novell.com>
8664 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
8665 drawing and replaced use of SystemColors by theme colors.
8666 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
8667 * ListView.cs (ListViewItemCollection.Add): Throw exception when
8668 same ListViewItem is being added more than once.
8670 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
8673 - ControlStyles love to make the control not flicker
8675 2004-11-30 Peter Bartok <pbartok@novell.com>
8677 * CharacterCasing.cs: Added
8679 2004-11-29 Peter Bartok <pbartok@novell.com>
8681 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8682 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
8683 I am removing these files as they conflict with already completed
8684 work. While it is fantastic to get contributions to MWF, I
8685 respectfully ask that everyone please coordinate their contributions
8686 through mono-winforms-list or #mono-winforms at this time. We're
8687 explicitly avoiding stubbing and don't want controls that don't have
8688 their basic functionality implemented in svn. Please also see
8689 http://www.mono-project.com/contributing/winforms.html
8692 2004-11-29 Marek Safar <marek.safar@seznam.cz>
8694 * Application.cs (ModalRun): Don't hang after exit.
8696 * Theme.cs: New TreeViewDefaultSize property.
8698 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
8699 with less hardcoded SystemColors constant.
8700 Implemented TreeViewDefaultSize.
8702 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8703 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
8706 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
8709 - Fix NextMonthDate and PrevMonthDate click moving calendar
8711 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8714 - Fix usage of ScrollChange Property when scrolling months
8716 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
8718 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
8719 - Fixes menu destroying
8720 - Support adding and removing items on already created menus
8722 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8725 - Re-worked all bolded dates handling to match win32
8726 * ThemeWin32Classic.cs:
8727 - Fixed rendering with bolded dates
8729 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
8731 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
8732 - Horizontal scroolbar
8737 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
8740 - Fix Usage of MaxSelectionCount from SelectionRange
8741 - Fixed Shift + Cursor Selection
8742 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
8743 - Fixed normal cursor selection to be compat with win32
8744 - Fixed Shift + Mouse Click selection
8746 2004-11-24 Peter Bartok <pbartok@novell.com>
8748 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
8749 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
8751 - CreatedKeyBoardMsg now updates keystate with Alt key
8752 - Added workaround for timer crash to CheckTimers, Jackson will
8753 develop a proper fix and check in later
8754 - Implemented DispatchMessage
8755 - Removed calling the native window proc from GetMessage (call
8756 now moved to DispatchMessage)
8758 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
8759 the keydata (Fixes bug #69831)
8762 - (DispatchMessage): Switched to return IntPtr
8763 - Added DllImport for SetFocus
8765 2004-11-24 Ravindra <rkumar@novell.com>
8767 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
8769 * ListViewItem.cs: Fixed various properties, calculations
8770 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
8771 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
8772 and some internal properties. Fixed MouseDown handler and Paint
8775 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8777 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
8779 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8781 * ContainerControl.cs: correct accidental check in of local changes
8783 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8785 * ThemeWin32Classic.cs:
8786 - Fixed Drawing Last month in grid (sometimes not showing)
8788 - Fixed title width calculation bug (makeing title small)
8790 2004-11-23 Peter Bartok <pbartok@novell.com>
8793 - Added generation of WM_MOUSEHOVER event
8794 - Added missing assignment of async_method atom
8795 - Fixed WM_ERASEBKGND; now only redraws the exposed area
8797 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8799 * ThemeWin32Classic.cs:
8800 - Fixed Drawing of today circle when showtodaycircle not set
8801 - fixed drawing of first and last month in the grid (gay dates)
8803 - Fixed Drawing of today circle
8804 - Fixed drawing of grady dates
8805 - Fixed HitTest for today link when ShowToday set to false
8806 - Fixed DefaultSize to obey ShowToday
8808 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8810 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
8811 * System.Windows.Forms/Theme.cs
8812 * MonthCalendar.cs: added for MonthCalendar
8813 * SelectionRange.cs: added for MonthCalendar
8814 * Day.cs: added for MonthCalendar: added for MonthCalendar
8815 * DateRangeEventArgs.cs: added for MonthCalendar
8816 * DateRangeEventHandler.cs: added for MonthCalendar
8818 2004-11-22 Ravindra <rkumar@novell.com>
8820 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
8823 2004-11-22 Miguel de Icaza <miguel@ximian.com>
8825 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
8828 * NumericUpDown.cs: Added new implementation.
8829 * UpDownBase.cs: Added new implementation.
8831 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
8834 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
8837 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
8840 2004-11-21 Miguel de Icaza <miguel@ximian.com>
8842 * Timer.cs (Dispose): Should call the base dispose when
8845 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8847 * ScrollBar.cs: updates thumb position when max, min or increment
8850 2004-11-21 Ravindra <rkumar@novell.com>
8852 * ListView.cs: Implemented item selection, activation and
8853 column header style. Fixed properties to do a redraw, if
8854 required. Added support for MouseHover, DoubleClick, KeyDown
8855 and KeyUp event handling and some minor fixes.
8856 * ListViewItem.cs: Fixed constructor.
8857 * ThemeWin32Classic.cs: Improved drawing for ListView.
8859 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8861 * ThemeWin32Classic.cs: initial listbox drawing code
8862 * DrawMode.cs: new enumerator
8863 * ListControl.cs: stubbed class
8864 * ListBox.cs: initial implementation
8865 * Theme.cs: new methods definitions
8866 * SelectionMode.cs: new enumerator
8868 2004-11-17 Peter Bartok <pbartok@novell.com>
8870 * XplatUIWin32.cs: Added double-click events to the class style
8871 * Control.cs (WndProc):
8872 - Added handling of click-count to MouseDown/ MouseUp events.
8873 - Added handling of middle and right mouse buttons
8874 - Removed old debug code
8876 2004-11-17 Jackson Harper <jackson@ximian.com>
8878 * XplatUIX11.cs: Use the new Mono.Unix namespace.
8880 2004-11-17 Ravindra <rkumar@novell.com>
8882 * ListView.cs: Added event handling for MouseMove/Up/Down.
8883 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
8884 * ThemeWin32Classic.cs: We need to clear the graphics context and
8885 draw column header in a proper state.
8888 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
8890 * Menu.cs: fixes signature
8892 2004-11-16 Peter Bartok <pbartok@novell.com>
8894 * XplatUIX11.cs (GetMessage): Implemented generation of
8895 double click mouse messages
8897 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
8899 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
8902 2004-11-11 Peter Bartok <pbartok@novell.com>
8904 * HandleData.cs: Added Visible property
8905 * XplatUIX11.cs (IsVisible): Now uses Visible property from
8907 * XplatUIX11.cs: Removed old debug leftovers
8908 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
8909 * Control.cs (WndProc): Removed old debug leftovers,
8910 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
8911 needed WM_SIZE handling
8913 2004-11-11 Jackson Harper <jackson@ximian.com>
8915 * OwnerDrawPropertyBag.cs:
8916 * TreeViewImageIndexConverter.cs: Initial implementation
8918 2004-11-10 Jackson Harper <jackson@ximian.com>
8920 * ThemeWin32Classic.cs:
8921 * TabControl.cs: instead of moving tabs by the slider pos just
8922 start drawing at the tab that is offset by the slider. This way
8923 scrolling always moves by exactly one tab.
8925 2004-11-10 Jackson Harper <jackson@ximian.com>
8927 * TabControl.cs: You can only scroll left when the slider has
8928 already ben moved right.
8930 2004-11-10 Jackson Harper <jackson@ximian.com>
8932 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
8935 2004-11-10 Jackson Harper <jackson@ximian.com>
8937 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
8940 2004-11-09 Jackson Harper <jackson@ximian.com>
8942 * TabControl.cs (CalcXPos): New helper method so we can determine
8943 the proper place to start drawing vertical tabs.
8944 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
8946 2004-11-09 Jackson Harper <jackson@ximian.com>
8948 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
8949 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
8950 and Bottom, left and right are illegal values for this and
8951 multiline is enabled when the alignment is set to left or right.
8952 (DrawTab): Each alignment block should draw the text itself now
8953 because Left requires special love. Also add rendering for Left
8956 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
8958 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
8959 does not destroy the windows, removes debugging messages
8961 2004-11-09 jba <jba-mono@optusnet.com.au>
8963 * ThemeWin32Classic.cs
8964 (DrawButtonBase): Fix verticle text rect clipping in windows
8965 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8966 rendering and incorrect text rect clipping
8967 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8968 rendering and incorrect text rect clipping
8970 2004-11-08 Jackson Harper <jackson@ximian.com>
8972 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
8973 bottom when they are bottom aligned so the bottoms of the tabs get
8975 * TabControl.cs (DropRow): Move rows up instead of down when the
8976 tab control is bottom aligned.
8978 2004-11-08 13:59 pbartok
8981 - Added handling for various window styles
8982 - Added handling for popup windows
8983 - Added SetTopmost handling
8985 2004-11-08 13:55 pbartok
8988 - Added argument to SetTopmost method
8989 - Fixed broken ClientToScreen function
8991 2004-11-08 13:53 pbartok
8993 * XplatUIStructs.cs:
8994 - Added missing WS_EX styles
8996 2004-11-08 13:53 pbartok
8998 * XplatUI.cs, XplatUIDriver.cs:
8999 - Added argument to SetTopmost
9001 2004-11-08 13:52 pbartok
9004 - Added XSetWindowAttributes structure
9005 - Improved XWindowAttributes structure
9006 - Added SetWindowValuemask enum
9007 - Added window creation arguments enum
9008 - Added gravity enum
9009 - Added Motif hints structure
9010 - Added various Motif flags and enums
9011 - Added PropertyMode enum for property functions
9013 2004-11-08 13:50 pbartok
9016 - Fixed arguments for updated SetTopmost method
9018 2004-11-08 13:49 pbartok
9021 - Fixed arguments for updated SetTopmost function
9022 - Fixed usage of PointToClient
9024 2004-11-08 13:44 pbartok
9027 - Added Clipping of children and siblings
9029 2004-11-08 13:41 pbartok
9032 - Removed SetMenuBarWindow call. We do this in Form.cs
9034 2004-11-08 13:40 jackson
9036 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9037 scrolling jimmi in the correct location with bottom aligned tabs
9039 2004-11-08 13:36 pbartok
9041 * ContainerControl.cs:
9042 - Implemented BindingContext
9043 - Implemented ParentForm
9045 2004-11-08 12:46 jackson
9047 * TabControl.cs: Put bottom rendered tabs in the right location
9049 2004-11-08 07:15 jordi
9051 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9054 2004-11-05 17:30 jackson
9056 * TabControl.cs: When selected tabs are expanded make sure they
9057 don't go beyond the edges of the tab control
9059 2004-11-05 14:57 jackson
9061 * TabControl.cs: Reset show_slider so if the control is resized to
9062 a size where it is no longer needed it's not displayed anymore
9064 2004-11-05 13:16 jackson
9066 * TabControl.cs: Make tab pages non visible when added to the
9069 2004-11-05 12:42 jackson
9071 * TabControl.cs: Implement SizeMode.FillToRight
9073 2004-11-05 12:16 jackson
9075 * Control.cs: Do not call CreateHandle if the handle is already
9078 2004-11-05 11:46 jackson
9080 * TabControl.cs: Remove superflous call to CalcTabRows
9082 2004-11-05 09:07 jackson
9084 * XplatUIX11.cs: Update for Mono.Posix changes
9086 2004-11-05 07:00 ravindra
9088 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9091 2004-11-04 22:47 jba
9093 * ThemeWin32Classic.cs:
9094 - Fix Button rendering for FlatStyle = Flat or Popup
9095 - Fix RadioButton and CheckBox rendering when Appearance = Button
9096 (normal and flatstyle).
9097 - Correct outer rectangle color when drawing focus rectangle
9098 - Adjust button bounds to be 1 px smaller when focused
9099 - Make button not draw sunken 3d border when pushed (windows compat)
9100 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9101 - Offset the text in RadioButton and Checkbox when being rendered as
9103 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9105 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9106 - Fixed disabled text rendering for normally rendered radiobuttons
9108 2004-11-04 10:26 jackson
9110 * TabControl.cs: Recalculate tab rows when resizing
9112 2004-11-04 07:47 jordi
9114 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9115 collection completion, drawing issues, missing features
9117 2004-11-04 05:03 ravindra
9120 - We need to recalculate the Thumb area when
9121 LargeChange/maximum/minimum values are changed.
9122 - We set the 'pos' in UpdatePos() method to minimum, if it's less
9123 than minimum. This is required to handle the case if large_change is
9124 more than max, and use LargeChange property instead of large_change
9126 - We return max+1 when large_change is more than max, like MS does.
9128 2004-11-04 04:29 ravindra
9130 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9131 - Changed default value signatures (prefixed all with ListView).
9132 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9134 - Fixed calculations for ListViewItem and implemented Clone()
9137 2004-11-04 04:26 ravindra
9139 * Theme.cs, ThemeWin32Classic.cs:
9140 - Changed default ListView values signatures (prefixed all with
9142 - Fixed default size values for VScrollBar and HScrollBar.
9143 - Fixed DrawListViewItem method.
9145 2004-11-04 04:05 ravindra
9147 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9149 2004-11-04 04:04 ravindra
9151 * ImageList.cs: Implemented the missing overload for Draw method.
9153 2004-11-03 19:29 jackson
9155 * TabControl.cs: Handle dropping rows on selection properly
9157 2004-11-03 11:59 jackson
9159 * TabControl.cs: remove debug code
9161 2004-11-03 11:52 jackson
9163 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9164 the scrolly widgerywoo
9166 2004-11-02 13:52 jackson
9168 * TabControl.cs: Resize the tab pages and tabs when the tab control
9171 2004-11-02 13:40 jackson
9173 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9174 selected tab to the bottom
9176 2004-11-02 13:39 jackson
9178 * TabPage.cs: Store the tab pages row
9180 2004-11-02 12:33 jordi
9182 * MenuItem.cs: fixes handle creation
9184 2004-11-02 11:42 jackson
9186 * TabControl.cs: signature fix
9188 2004-11-02 08:56 jackson
9190 * TabControl.cs: Calculate whether the tab is on an edge properly.
9191 Remove top secret debugging code
9193 2004-11-01 19:57 jackson
9195 * TabControl.cs: Add click handling, and proper sizing
9197 2004-11-01 19:47 jackson
9199 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
9202 2004-11-01 19:39 jackson
9204 * TabPage.cs: add internal property to store the bounds of a tab
9207 2004-10-30 04:23 ravindra
9209 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
9212 2004-10-30 04:21 ravindra
9214 * ListView.cs, ListViewItem.cs: Added support for scrolling and
9217 2004-10-30 03:06 pbartok
9220 - Removed extension of DllImported libs
9222 2004-10-29 09:55 jordi
9224 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
9225 navigation, itemcollection completion, menu fixes
9227 2004-10-27 22:58 pbartok
9230 - Now throws a nice error message when no X display could be opened
9232 2004-10-26 13:51 jordi
9234 * ListView.cs: removes warning
9236 2004-10-26 03:55 ravindra
9238 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
9239 ThemeWin32Classic.cs: Some formatting for my last checkins.
9241 2004-10-26 03:36 ravindra
9243 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
9244 control and default values.
9246 2004-10-26 03:35 ravindra
9248 * Theme.cs: Added some default values for ListView control.
9250 2004-10-26 03:33 ravindra
9252 * ToolBar.cs: ToolBar should use the user specified button size, if
9253 there is any. Added a size_specified flag for the same.
9255 2004-10-26 03:33 ravindra
9257 * ColumnHeader.cs: Added some internal members and calculations for
9260 2004-10-26 03:32 ravindra
9262 * ListViewItem.cs: Calculations for ListViewItem.
9264 2004-10-26 03:31 ravindra
9266 * ListView.cs: Added some internal members and calculations for
9269 2004-10-22 13:31 jordi
9271 * MenuAPI.cs: speedup menus drawing
9273 2004-10-22 13:16 jackson
9275 * XplatUIX11.cs: Make sure to update exposed regions when adding an
9278 2004-10-22 11:49 jackson
9282 2004-10-22 11:41 jackson
9284 * Control.cs: Check to see if the window should have its background
9285 repainted by X when drawing.
9287 2004-10-22 11:31 jackson
9289 * XplatUIX11.cs: When invalidating areas only use XClearArea if
9290 clear is true, this way we do not get flicker from X repainting the
9293 2004-10-22 11:28 jackson
9295 * XEventQueue.cs: Queue properly
9297 2004-10-21 09:38 jackson
9299 * XEventQueue.cs: Fix access modifier
9301 2004-10-21 09:36 jackson
9303 * XEventQueue.cs: Don't loose messages
9305 2004-10-21 09:22 jackson
9307 * XEventQueue.cs: Don't loose messages
9309 2004-10-20 04:15 jordi
9311 * BootMode.cs: enum need it by SystemInfo
9313 2004-10-19 21:58 pbartok
9316 - Small sanity check
9318 2004-10-19 21:56 pbartok
9321 - Added private FormParentWindow class which acts as the container
9322 for our form and as the non-client area where menus are drawn
9323 - Added/Moved required tie-ins to Jordi's menus
9324 - Fixed/Implemented the FormStartPosition functionality
9326 2004-10-19 21:52 pbartok
9329 - Removed unneeded locals
9330 - Added code to all size and location properties to understand and
9331 deal with the parent container of Form
9333 2004-10-19 21:33 pbartok
9336 - Fixed to deal with new Form subclasses for menus
9338 2004-10-19 17:48 jackson
9340 * XEventQueue.cs: commit correct version of file
9342 2004-10-19 16:50 jackson
9344 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9346 2004-10-19 16:15 jordi
9348 * MenuAPI.cs: MenuBarCalcSize returns the height
9350 2004-10-19 08:31 pbartok
9353 - Added missing call to PreProcessMessage before calling OnXXXKey
9356 2004-10-19 00:04 ravindra
9358 * ToolTip.cs: Fixed constructor.
9360 2004-10-18 09:31 jordi
9362 * MenuAPI.cs: menuitems in menubars do not have shortcuts
9364 2004-10-18 09:26 jordi
9366 * MenuItem.cs: fixes MenuItem class signature
9368 2004-10-18 08:56 jordi
9370 * MenuAPI.cs: prevents windows from showing in the taskbar
9372 2004-10-18 00:28 ravindra
9374 * ToolTip.cs: Suppressed a warning message.
9376 2004-10-18 00:27 ravindra
9378 * Control.cs: Default value of visible property must be true.
9380 2004-10-17 23:19 pbartok
9383 - Complete implementation
9385 2004-10-17 23:19 pbartok
9388 - Added EnableWindow method
9389 - Added SetModal stub
9390 - Added generation of WM_ACTIVATE message (still needs testing)
9391 - Added SetTopMost stub
9392 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9394 2004-10-17 23:17 pbartok
9397 - Removed VirtualKeys to XplatUIStructs
9398 - Implemented SetTopMost method
9399 - Implemented EnableWindow method
9400 - Bugfix in ScreenToClient()
9401 - Bugfixes in ClientToScreen()
9403 2004-10-17 22:51 pbartok
9405 * XplatUIStructs.cs:
9406 - Added WS_EX styles to WindowStyles enumeration
9408 2004-10-17 22:50 pbartok
9410 * XplatUI.cs, XplatUIDriver.cs:
9411 - Added method for enabling/disabling windows
9412 - Added method for setting window modality
9413 - Added method for setting topmost window
9415 2004-10-17 22:49 pbartok
9417 * ThemeWin32Classic.cs:
9418 - Added ToolTip drawing code
9420 2004-10-17 22:49 pbartok
9423 - Added ToolTip abstracts
9425 2004-10-17 22:47 pbartok
9428 - Fixed Form.ControlCollection to handle owner relations
9429 - Added Owner/OwnedForms handling
9430 - Implemented Z-Ordering for owned forms
9431 - Removed unneeded private overload of ShowDialog
9432 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
9434 - Fixed Close(), had wrong default
9435 - Added firing of OnLoad event
9436 - Added some commented out debug code for Ownership handling
9438 2004-10-17 22:16 pbartok
9441 - Fixed/implemented flat list of controls
9443 2004-10-17 22:14 pbartok
9446 - Added code to simulate modal dialogs on Win32
9448 2004-10-17 16:11 jordi
9450 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
9453 2004-10-17 13:39 jordi
9455 * MenuAPI.cs: menu drawing fixes
9457 2004-10-15 09:10 ravindra
9459 * StructFormat.cs: General Enum.
9461 2004-10-15 09:09 ravindra
9463 * SizeGripStyle.cs: Enum for Form.
9465 2004-10-15 09:08 ravindra
9467 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
9468 in Theme for ListView.
9470 2004-10-15 09:06 ravindra
9472 * ColumnHeader.cs: Flushing some formatting changes.
9474 2004-10-15 09:05 ravindra
9476 * ListViewItem.cs: Implemented GetBounds method and fixed coding
9479 2004-10-15 09:03 ravindra
9481 * ListView.cs: Implemented Paint method and fixed coding style.
9483 2004-10-15 07:34 jordi
9485 * MenuAPI.cs: fix for X11
9487 2004-10-15 07:32 ravindra
9489 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
9490 - Renamed Paint() method to Draw() for clarity. Also, moved
9491 DrawImage() to OnPaint().
9493 2004-10-15 07:25 ravindra
9495 * CheckBox.cs, RadioButton.cs:
9496 - Removed Redraw (), we get it from ButtonBase.
9497 - Implemented Paint (), to do class specific painting.
9499 2004-10-15 07:16 ravindra
9502 - Redraw () is not virtual now.
9503 - Added an internal virtual method Paint (), so that
9504 derived classes can do their painting on their own.
9505 - Modified OnPaint () to call Paint ().
9507 2004-10-15 06:43 jordi
9509 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
9510 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
9512 2004-10-15 00:30 ravindra
9515 - MessageBox on windows does not have min/max buttons.
9516 This change in CreateParams fixes this on Windows. We
9517 still need to implement this windowstyle behavior in
9520 2004-10-14 05:14 ravindra
9523 - Changed Redraw () to do a Refresh () always.
9524 - Fixed the MouseMove event handling when mouse is pressed,
9525 ie drag event handling.
9526 - Replaced the usage of ToolBarButton.Pressed property to
9527 ToolBarButton.pressed internal variable.
9529 2004-10-14 05:10 ravindra
9532 - Added an internal member 'inside' to handle mouse move
9533 with mouse pressed ie mouse drag event.
9534 - Changed 'Pressed' property to return true only when
9535 'inside' and 'pressed' are both true.
9536 - Some coding style love.
9538 2004-10-14 00:17 ravindra
9540 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
9543 2004-10-14 00:15 ravindra
9545 * ButtonBase.cs: Redraw () related improvements.
9547 2004-10-14 00:14 ravindra
9549 * MessageBox.cs: Moved InitFormSize () out of Paint method and
9550 removed unnecessary calls to Button.Show () method.
9552 2004-10-13 17:50 pbartok
9556 - Removed destroying of window until we solve the problem of X
9557 destroying the window before us on shutdown
9559 2004-10-13 16:32 pbartok
9562 - Now Redraws on MouseUp for FlatStyle Flat and Popup
9564 2004-10-13 14:18 pbartok
9567 - Added code to destroy the X window
9569 2004-10-13 14:18 pbartok
9572 - Added code to destroy a window
9574 2004-10-13 14:12 pbartok
9577 - Added the Redraw on Resize that got dropped in the last rev
9579 2004-10-13 09:06 pbartok
9581 * ThemeWin32Classic.cs:
9582 - Path from John BouAntoun:
9583 * Fix check rendering (centre correctly for normal style, offset
9584 correctly for FlatStyle).
9585 * Fix border color usage (use backcolor) for FlatStyle.Popup
9586 * Use checkbox.Capture instead of checkbox.is_pressed when
9587 rendering flatstyle states.
9589 2004-10-12 21:48 pbartok
9591 * ThemeWin32Classic.cs:
9592 - Removed all occurences of SystemColors and replaced them with the
9593 matching theme color
9595 2004-10-12 21:41 pbartok
9597 * ThemeWin32Classic.cs:
9598 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
9599 him using the function for flatstyle drawing
9600 - Changed functions to use the new version of CPDrawBorder3D
9602 2004-10-12 21:15 pbartok
9605 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
9606 match MS documentation. They need to return defined colors if the
9607 passed color matches the configured control color. Thanks to John
9608 BouAntoun for pointing this out.
9610 2004-10-12 20:57 pbartok
9613 - Fix from John BouAntoun: Raise ForeColorChanged event when text
9616 2004-10-12 20:46 pbartok
9619 - Fix from John BouAntoun: Now properly sets the Appearance property
9621 2004-10-12 20:45 pbartok
9623 * ThemeWin32Classic.cs:
9624 - Fixes from John BouAntoun: now handles forecolors and backcolors
9625 for flatstyle rendered controls much better; It also fixes normal
9626 checkbox rendering when pushed or disabled.
9628 2004-10-08 02:50 jordi
9630 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
9633 2004-10-07 08:56 jordi
9635 * ThemeWin32Classic.cs: Removes deletion of cached brushes
9637 2004-10-06 03:59 jordi
9639 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
9640 XplatUIWin32.cs: removes warnings from compilation
9642 2004-10-05 12:23 jackson
9644 * RadioButton.cs: Fix ctor
9646 2004-10-05 11:10 pbartok
9649 - Partial implementation by Benjamin Dasnois
9651 2004-10-05 10:15 jackson
9653 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
9656 2004-10-05 03:07 ravindra
9659 - Removed a private method, Draw ().
9660 - Fixed the ButtonDropDown event handling.
9661 - Fixed MouseMove event handling.
9663 2004-10-05 03:04 ravindra
9665 * ThemeWin32Classic.cs:
9666 - Added DrawListView method and ListViewDefaultSize property.
9667 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
9668 - Changed DOS style CRLF to Unix format (dos2unix).
9670 2004-10-05 03:03 ravindra
9673 - Added DrawListView method and ListViewDefaultSize property.
9675 2004-10-05 02:42 ravindra
9677 * ToolBarButton.cs: Added an internal member dd_pressed to handle
9678 clicks on DropDown arrow.
9680 2004-10-04 22:56 jackson
9682 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
9683 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
9684 Control handle the buffers, derived classes should not have to
9685 CreateBuffers themselves.
9687 2004-10-04 21:20 jackson
9689 * StatusBar.cs: The control handles resizing the buffers now.
9691 2004-10-04 21:18 jackson
9693 * Control.cs: When resizing the buffers should be invalidated. This
9694 should be handled in Control not in derived classes.
9696 2004-10-04 14:45 jackson
9700 2004-10-04 02:14 pbartok
9702 * LeftRightAlignment.cs:
9705 2004-10-04 01:09 jordi
9707 * ThemeWin32Classic.cs: fixes right button position causing right
9708 button not showing on horizontal scrollbars
9710 2004-10-02 13:12 pbartok
9713 - Simplified the Invalidate method by using an X call instead of
9714 generating the expose ourselves
9715 - Added an expose when the window background is changed
9716 - Implemented ClientToScreen method
9718 2004-10-02 13:08 pbartok
9721 - Added Win32EnableWindow method (test for implementing modal
9723 - Added ClientToScreen method and imports
9725 2004-10-02 13:07 pbartok
9727 * XplatUI.cs, XplatUIDriver.cs:
9728 - Added ClientToScreen coordinate translation method
9730 2004-10-02 13:06 pbartok
9732 * KeyPressEventArgs.cs:
9733 - Fixed access level for constructor
9735 2004-10-02 13:06 pbartok
9738 - Changed access level for the window_collection hash table
9740 2004-10-02 13:05 pbartok
9743 - Added KeyPreview property
9744 - Added Menu property (still incomplete, pending Jordi's menu work)
9745 - Implemented ProcessCmdKey
9746 - Implemented ProcessDialogKey
9747 - Implemented ProcessKeyPreview
9749 2004-10-02 13:02 pbartok
9752 - Added private method to get the Control object from the window
9754 - Implemented ContextMenu property
9755 - Implemented PointToScreen
9756 - Implemented PreProcessMessage
9757 - Implemented IsInputChar
9758 - Implemented IsInputKey
9759 - Implemented ProcessCmdKey
9760 - Completed ProcessKeyEventArgs
9761 - Fixed message loop to call the proper chain of functions on key
9763 - Implemented ProcessDialogChar
9764 - Implemented ProcessDialogKey
9765 - Implemented ProcessKeyMessage
9766 - Implemented ProcessKeyPreview
9767 - Added RaiseDragEvent stub (MS internal method)
9768 - Added RaiseKeyEvent stub (MS internal method)
9769 - Added RaiseMouseEvent stub (MS Internal method)
9770 - Added RaisePaintEvent stub (MS Internal method)
9771 - Added ResetMouseEventArgs stub (MS Internal method)
9772 - Implemented RtlTranslateAlignment
9773 - Implemented RtlTranslateContent
9774 - Implemented RtlTranslateHorizontal
9775 - Implemented RtlTranslateLeftRight
9776 - Added generation of KeyPress event
9778 2004-10-02 05:57 ravindra
9780 * ListViewItem.cs: Added attributes.
9782 2004-10-02 05:32 ravindra
9784 * ListView.cs: Added attributes.
9786 2004-10-01 11:53 jackson
9788 * Form.cs: Implement the Close method so work on MessageBox can
9791 2004-09-30 14:06 pbartok
9796 2004-09-30 11:34 jackson
9798 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
9800 2004-09-30 07:26 ravindra
9802 * ListViewItemConverter.cs: Converter for ListViewItem.
9804 2004-09-30 07:26 ravindra
9806 * SortOrder.cs: Enum for ListView control.
9808 2004-09-30 07:25 ravindra
9810 * ColumnHeader.cs: Supporting class for ListView control.
9812 2004-09-30 07:24 ravindra
9814 * ListView.cs, ListViewItem.cs: Initial implementation.
9816 2004-09-30 07:20 ravindra
9818 * ItemActivation.cs: Enum for ListView Control.
9820 2004-09-29 20:29 pbartok
9823 - Added lookup of pixel value for background color; tries to get a
9824 color 'close' to the requested color, it avoids having to create a
9825 colormap. Depending on the display this could mean the used color
9826 is slightly off the desired color. Might have to change it to a more
9827 resource intensive colormap approach, but it will work as a
9828 workaround to avoid red screens.
9830 2004-09-29 14:27 jackson
9832 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
9834 2004-09-28 12:44 pbartok
9836 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
9837 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
9838 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
9839 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
9840 TrackBar.cs, VScrollBar.cs:
9841 - Streamlined Theme interfaces:
9842 * Each DrawXXX method for a control now is passed the object for
9843 the control to be drawn in order to allow accessing any state the
9846 * ControlPaint methods for the theme now have a CP prefix to avoid
9847 name clashes with the Draw methods for controls
9849 * Every control now retrieves it's DefaultSize from the current
9852 2004-09-28 12:17 jackson
9854 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
9857 2004-09-24 14:57 jackson
9859 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
9860 Gives us a nice little performance boost.
9862 2004-09-24 12:02 jackson
9864 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
9865 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
9866 Control and supporting classes. Initial checkin
9868 2004-09-23 13:08 jackson
9870 * Form.cs: Temp build fixage
9872 2004-09-23 01:39 ravindra
9874 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
9875 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
9876 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
9877 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
9878 EventHandlers needed by ListView Control.
9880 2004-09-22 14:12 pbartok
9882 * ScrollableControl.cs:
9883 - Implemented DockPadding property
9884 - Implemented AutoScroll property
9885 - Implemented AutoScrollMargin property
9886 - Implemented AutoScrollMinSize property
9887 - Implemented AutoScrollPosition property
9888 - Implemented DisplayRectangle property (still incomplete)
9889 - Implemented CreateParams property
9890 - Implemented HScroll property
9891 - Implemented VScroll property
9892 - Implemented OnVisibleChanged property
9894 2004-09-22 14:09 pbartok
9897 - Added Form.ControllCollection class
9898 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
9899 RemoveOwnedForm (still incomplete, missing on-top and common
9900 minimize/maximize behaviour)
9901 - Added StartPosition property (still incomplete, does not use when
9903 - Added ShowDialog() methods (still incomplete, missing forcing the
9906 2004-09-22 14:05 pbartok
9909 - Added message loop for modal dialogs
9911 2004-09-22 14:02 pbartok
9914 - Fixed wrong types for events
9916 2004-09-22 14:00 pbartok
9918 * Shortcut.cs, FormWindowState.cs:
9919 - Fixed wrong values
9921 2004-09-22 12:01 jackson
9923 * Control.cs: Text is never null
9925 2004-09-20 22:14 pbartok
9928 - Fixed accessibility level for Idle handler
9930 2004-09-20 18:54 jackson
9932 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9933 XplatUIX11.cs: New message loop that uses poll so we don't get a
9936 2004-09-17 10:43 pbartok
9939 - Fixed behaviour of arrow buttons. Now properly behaves like
9940 Buttons (and like Microsoft's scrollbar arrow buttons)
9942 2004-09-17 10:14 pbartok
9945 - Added missing release of keyboard/mouse capture
9947 2004-09-17 06:18 jordi
9949 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
9950 Theme.cs: Very early menu support
9952 2004-09-16 17:45 pbartok
9955 - Fixed sending a window to the front
9956 - Added overload for SetWindowPos to avoid casting
9958 2004-09-16 17:44 pbartok
9961 - Added SendToBack and BringToFront methods
9963 2004-09-16 07:00 ravindra
9965 * Copyright: Added Novell URL.
9967 2004-09-16 07:00 ravindra
9969 * ToolBar.cs: Invalidate should be done before redrawing.
9971 2004-09-15 21:19 ravindra
9973 * ColumnHeaderStyle.cs: Enum for ListView Control.
9975 2004-09-15 21:18 ravindra
9977 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
9980 2004-09-13 18:26 jackson
9982 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
9985 2004-09-13 18:13 jackson
9987 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
9988 a second thread and post messages into the main threads message
9989 queue. This makes timing much more consistent. Both win2K and XP
9990 have a minimum timer value of 15 milliseconds, so we now do this
9993 2004-09-13 15:18 pbartok
9995 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9997 - Added Z-Ordering methods
9999 2004-09-13 10:56 pbartok
10002 - Fixed #region names
10003 - Moved properties and methods into their proper #regions
10005 2004-09-13 10:51 pbartok
10008 - Added Accept and CancelButton properties
10009 - Added ProcessDialogKey() method
10011 2004-09-13 08:18 pbartok
10013 * IWindowTarget.cs:
10016 2004-09-10 21:50 pbartok
10019 - Added DoDragDrop() [incomplete]
10020 - Properly implemented 'Visible' handling
10021 - Added SetVisibleCore()
10022 - Implemented FindChildAtPoint()
10023 - Implemented GetContainerControl()
10024 - Implemented Hide()
10026 2004-09-10 19:28 pbartok
10029 - Moved methods into their appropriate #regions
10030 - Reordered methods within regions alphabetically
10032 2004-09-10 18:57 pbartok
10034 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10035 - Added method to retrieve text from window
10037 2004-09-10 18:56 pbartok
10040 - Moved some internal functions into the internal region
10041 - Implemented FontHeight
10042 - Implemented RenderRightToLeft
10043 - Implemented ResizeRedraw
10044 - Implemented ShowFocusCues
10045 - Implemented ShowKeyboardCues
10046 - Implemented FromChildHandle
10047 - Implemented FromHandle
10048 - Implemented IsMnemonic
10049 - Implemented ReflectMessage
10050 - All public and protected Static Methods are now complete
10052 2004-09-10 16:54 pbartok
10055 - Implemented remaining missing public instance properties
10056 - Alphabetized some out of order properties
10058 2004-09-10 05:51 ravindra
10060 * PictureBox.cs: Added a check for null image.
10062 2004-09-10 00:59 jordi
10064 * GroupBox.cs: remove cvs tag
10066 2004-09-09 05:25 ravindra
10068 * ToolBar.cs: Make redraw accessible from ToolBarButton.
10070 2004-09-09 05:23 ravindra
10072 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10075 2004-09-09 02:28 pbartok
10077 * ThemeWin32Classic.cs:
10078 - Improve disabled string look
10080 2004-09-09 01:15 jordi
10082 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10085 2004-09-08 23:56 ravindra
10087 * ItemBoundsPortion.cs: It's enum, not a class!
10089 2004-09-08 23:47 ravindra
10091 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10094 2004-09-08 21:13 ravindra
10096 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10099 2004-09-08 21:03 ravindra
10101 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10104 2004-09-08 21:01 ravindra
10106 * ScrollableControl.cs: Removed unreachable code.
10108 2004-09-08 06:45 jordi
10110 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10112 2004-09-08 01:00 jackson
10114 * XplatUIX11.cs: Only run the timers when updating the message
10115 queue. This effectively gives X messages a higher priority then
10116 timer messages. Timers still need love though
10118 2004-09-07 14:01 jackson
10120 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10121 this for us and the handle is no longer valid.
10123 2004-09-07 13:59 jackson
10125 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10126 loop that manages to not crash. TODO: Add poll and cleanup timers
10128 2004-09-07 11:12 jordi
10130 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10132 2004-09-07 03:40 jordi
10134 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10135 fixes, methods, multiple links
10137 2004-09-06 06:55 jordi
10139 * Control.cs: Caches ClientRectangle rectangle value
10141 2004-09-05 02:03 jordi
10143 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10146 2004-09-04 11:10 jordi
10148 * Label.cs: Refresh when font changed
10150 2004-09-02 16:24 pbartok
10153 - Added sanity check to creation of double buffer bitmap
10155 2004-09-02 16:24 pbartok
10158 - Fixed selection of text color
10159 - Fixed handling of resize event; now properly recreates double
10161 - Added missing assignment of TextAlignment
10162 - Added proper default for TextAlignment
10164 2004-09-02 14:26 pbartok
10167 - Added missing RadioButton.RadioButtonAccessibleObject class
10169 2004-09-02 14:26 pbartok
10172 - Added missing Control.ControlAccessibleObject class
10173 - Started to implement Select()ion mechanisms, still very incomplete
10175 2004-09-02 14:25 pbartok
10177 * AccessibleObject.cs:
10178 - Added missing methods
10180 2004-09-02 14:23 pbartok
10182 * AccessibleNavigation.cs, AccessibleSelection.cs:
10185 2004-09-02 10:32 jordi
10187 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10188 pool for pens, brushes, and hatchbruses
10190 2004-09-01 15:30 jackson
10192 * StatusBar.cs: Fix typo
10194 2004-09-01 14:44 pbartok
10199 2004-09-01 14:39 pbartok
10201 * Button.cs, RadioButton.cs:
10202 - Functional initial check-in
10204 2004-09-01 14:01 pbartok
10207 - Added missing default
10208 - Added missing region mark
10210 2004-09-01 09:10 jordi
10212 * Label.cs: fixes method signatures, new methods, events, fixes
10215 2004-09-01 07:19 jordi
10217 * Control.cs: Init string variables with an empty object
10219 2004-09-01 04:20 jordi
10221 * Control.cs: fires OnFontChanged event
10223 2004-08-31 20:07 pbartok
10226 - Enabled display of strings
10228 2004-08-31 20:05 pbartok
10231 - Added (partial) implementation of DialogResult; rest needs to be
10232 implemented when the modal loop code is done
10234 2004-08-31 19:55 pbartok
10237 - Fixed to match the removal of the needs_redraw concept
10239 2004-08-31 19:55 pbartok
10242 - Removed the rather odd split between 'needs redraw' and redrawing
10243 - Now handles the events that require regeneration (ambient
10244 properties and size)
10246 2004-08-31 19:41 pbartok
10249 - Added firing of BackColorChanged event
10250 - Added TopLevelControl property
10251 - Fixed handling of WM_ERASEBKGRND message
10253 2004-08-31 12:49 pbartok
10259 2004-08-31 12:48 pbartok
10262 - Finished (famous last words)
10264 2004-08-31 04:35 jordi
10266 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
10267 scrolling bugs, adds new methods
10269 2004-08-30 14:42 pbartok
10272 - Implemented CheckBox drawing code
10274 2004-08-30 14:42 pbartok
10277 - Made Redraw() and CheckRedraw() virtual
10278 - Improved mouse up/down/move logic to properly track buttons
10280 2004-08-30 09:44 pbartok
10283 - Updated to fix broken build. Not complete yet.
10285 2004-08-30 09:28 pbartok
10290 2004-08-30 09:17 pbartok
10295 2004-08-27 16:12 ravindra
10297 * ToolBarButton.cs: Added TypeConverter attribute.
10299 2004-08-27 16:07 ravindra
10301 * ImageIndexConverter.cs: Implemented.
10303 2004-08-27 14:17 pbartok
10306 - Removed unneeded stack vars
10307 - First attempt to fix sizing issues when layout is suspended
10309 2004-08-25 15:35 jordi
10311 * ScrollBar.cs: more fixes to scrollbar
10313 2004-08-25 14:04 ravindra
10315 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10316 Added the missing divider code and grip for ToolBar Control.
10318 2004-08-25 13:20 pbartok
10321 - Control now properly passes the ambient background color to child
10324 2004-08-25 13:20 jordi
10326 * ScrollBar.cs: small bug fix regarding bar position
10328 2004-08-25 12:33 pbartok
10331 - Now only calls SetTimer or KillTimer if the enabled state has
10334 2004-08-25 12:33 pbartok
10337 - Fixed timer handling, now seems to work
10338 - Improved error message for window creation
10340 2004-08-25 12:32 pbartok
10343 - Fixed generation of MouseUp message
10345 2004-08-25 12:29 jordi
10347 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10348 and fixes for progressbar
10350 2004-08-24 18:43 ravindra
10352 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10353 in ToolBar control.
10355 2004-08-24 17:15 pbartok
10359 - Added missing events
10362 2004-08-24 17:14 pbartok
10364 * StatusBar.cs, PictureBox.cs:
10365 - Now uses Control's CreateParams
10367 2004-08-24 16:36 pbartok
10370 - Fixed background color handling
10371 - Fixed sending of enter/leave events on a grab
10373 2004-08-24 16:35 pbartok
10376 - Refined definitions for CrossingEvent
10378 2004-08-24 12:37 jordi
10380 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10381 formmating, methods signature, and adds missing events
10383 2004-08-24 12:24 jordi
10385 * Control.cs: fire OnEnabledChanged event
10387 2004-08-24 11:17 pbartok
10390 - Implemented SetTimer() and KillTimer()
10392 2004-08-24 11:16 pbartok
10395 - Now uses Remove instead of Add to kill the timer
10397 2004-08-24 10:16 jackson
10399 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10400 picture boxes in the theme now. Draw picture box borders and obey
10403 2004-08-24 05:49 jackson
10405 * Timer.cs: Remove top secret debugging code
10407 2004-08-24 05:34 jackson
10409 * PictureBox.cs: Temp hack to make picture boxes draw their full
10412 2004-08-24 05:29 jackson
10414 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10415 XplatUIX11.cs: Move timers to the driver level. On X they are
10416 queued by the driver and checked on idle.
10418 2004-08-24 01:07 jackson
10420 * XplatUIX11.cs: Use a queue for async messages instead of passing
10421 them as ClientMessages since that was totally broken. Also simply
10422 check for events and return an idle message if none are found. This
10423 gives us an idle handler, and prevents deadlocking when no messages
10426 2004-08-23 18:19 ravindra
10428 * XplatUIWin32.cs: Removed the unwanted destructor.
10430 2004-08-23 17:27 pbartok
10433 - Finishing touches. Works now, just needs some optimizations.
10435 2004-08-23 16:53 jordi
10437 * ScrollBar.cs: small fix
10439 2004-08-23 16:45 pbartok
10442 - Removed debug output
10445 2004-08-23 16:43 jordi
10447 * ScrollBar.cs: [no log message]
10449 2004-08-23 16:10 pbartok
10452 - Fixed handling of WM_CLOSE message
10453 - Removed debug output
10455 2004-08-23 16:09 pbartok
10458 - Added handling of Idle event
10459 - Added handling of form closing
10460 - Fixed reporting of MessageLoop property
10461 - Removed some unneeded code, should provide a bit of a speedup
10463 2004-08-23 15:22 pbartok
10466 - Added InitLayout() method
10467 - Added code to properly perform layout when Anchor or Dock property
10469 - Changed 'interpretation' of ResumeLayout. MS seems to have a
10470 LAMESPEC, tried to do it in a way that makes sense
10472 2004-08-23 14:10 jordi
10474 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
10475 properties and methods
10477 2004-08-23 13:55 pbartok
10480 - Properly fixed Jordi's last fix
10481 - Now uses Cursor's Position property instead of calling XplatUI
10484 2004-08-23 13:44 jordi
10486 * PaintEventHandler.cs: Adding missing attribute
10488 2004-08-23 13:39 pbartok
10491 - Implemented Position property
10493 2004-08-23 13:39 pbartok
10495 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10496 - Added method to move mouse cursor
10498 2004-08-23 13:39 pbartok
10501 - Fixed setting of background color
10502 - Added method to move mouse cursor
10504 2004-08-23 13:16 jordi
10506 * Control.cs: avoids null exception
10508 2004-08-22 17:46 jackson
10510 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
10513 2004-08-22 17:40 jackson
10515 * XplatUIX11.cs: Add some missing locks
10517 2004-08-22 15:10 pbartok
10519 * Control.cs, Form.cs:
10520 - Removed OverlappedWindow style from Control, instead it's default
10522 - Made form windows OverlappedWindow by default
10524 2004-08-22 13:34 jackson
10526 * ScrollBar.cs: Update the position through the Value property so
10527 the OnValueChanged event is raised.
10529 2004-08-22 12:04 pbartok
10532 - Added Cursor.cs and UserControl.cs
10534 2004-08-22 12:03 pbartok
10537 - Started implementation, not usable yet
10539 2004-08-22 12:00 pbartok
10542 - Implemented UserControl (complete)
10544 2004-08-21 19:20 ravindra
10546 * ToolBar.cs: Correcting the formatting mess of VS.NET.
10548 2004-08-21 18:49 ravindra
10550 * ToolBar.cs: Probably this completes the missing attributes in
10553 2004-08-21 18:03 ravindra
10555 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
10556 Fixed toolbar control signatures.
10558 2004-08-21 16:32 pbartok
10563 2004-08-21 16:30 pbartok
10568 2004-08-21 16:19 pbartok
10570 * Control.cs, Label.cs:
10573 2004-08-21 15:57 pbartok
10576 - Added loads of debug output for development
10577 - Fixed typo in method name
10579 2004-08-21 15:52 pbartok
10581 * ToolBarButtonClickEventArgs.cs:
10582 - Added missing base class
10584 2004-08-21 14:53 pbartok
10587 - Updated to match new GrabWindow signature
10589 2004-08-21 14:51 pbartok
10591 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10592 - Added method to get default display size
10594 2004-08-21 14:23 pbartok
10596 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10597 - Added method to query current grab state
10598 - Added argument to allow confining a grab to a window
10600 2004-08-21 14:22 pbartok
10603 - Added [Flags] attribute so that modifiers can be used in bitwise
10606 2004-08-21 14:21 pbartok
10608 * TrackBar.cs, ScrollBar.cs:
10609 - Replaced direct XplatUI calls with their Control counterpart
10611 2004-08-21 13:32 pbartok
10614 - Implemented Created property
10616 2004-08-21 13:28 pbartok
10619 - Implemented ContainsFocus
10621 2004-08-21 13:26 pbartok
10624 - Implemented CausesValidation
10626 2004-08-21 13:21 pbartok
10629 - Implemented CanFocus
10630 - Implemented CanSelect
10631 - Implemented Capture
10633 2004-08-21 12:35 pbartok
10636 - Fixed bug with Async message handling
10637 - Implemented getting the ModifierKeys
10639 2004-08-21 12:32 jackson
10641 * AsyncMethodResult.cs: Make sure we have the mutex before we
10642 release it. Fixes BeginInvoke on windows
10644 2004-08-21 11:31 pbartok
10646 * XplatUIWin32.cs, XplatUIX11.cs:
10647 - Drivers now return proper mouse state
10649 2004-08-21 10:54 jackson
10651 * Control.cs: Implement EndInvoke
10653 2004-08-21 10:48 jackson
10655 * Timer.cs: Remove unneeded finalizer
10657 2004-08-20 19:52 ravindra
10659 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
10660 in mouse event handling in the ToolBar control.
10662 2004-08-20 19:50 ravindra
10664 * ImageList.cs: Changed draw method to use the arguments passed in
10667 2004-08-20 18:58 pbartok
10669 * XplatUIStructs.cs:
10670 - Added private message for async communication
10672 2004-08-20 17:38 ravindra
10674 * Control.cs: Made RightToLeft property virtual and removed a
10677 2004-08-20 14:39 jordi
10679 * ThemeGtk.cs: use style_attach
10681 2004-08-20 14:39 pbartok
10684 - Added jackson's Async code from X11 to Win32
10686 2004-08-20 14:09 pbartok
10689 - Added all new files
10691 2004-08-20 14:09 pbartok
10694 - Added call to set window background color
10696 2004-08-20 14:03 pbartok
10698 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
10699 - Added method for setting the window background
10701 2004-08-20 14:02 pbartok
10704 - Added method for setting the background color
10705 - Added handling for erasing the window background
10707 2004-08-20 13:45 jordi
10709 * TrackBar.cs: fixes timer, new properties and methods
10711 2004-08-20 13:34 jackson
10713 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
10716 2004-08-20 13:22 jackson
10718 * Timer.cs: Timer Tick events are now handed through Controls Async
10719 mechanism so the callbacks are executed in the same thread as X
10721 2004-08-20 13:19 jackson
10723 * XplatUIDriver.cs: Expose functionality to send async messages
10726 2004-08-20 13:18 jackson
10728 * Control.cs: Implement Begininvoke
10730 2004-08-20 13:14 jackson
10732 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
10733 messages through the driver
10735 2004-08-20 13:12 jackson
10737 * XplatUIX11.cs: Lock before all X operations. Also added Async
10738 method functionality through XSendEvent
10740 2004-08-20 13:11 jackson
10742 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
10743 This will screw up on 64 bit systems)
10745 2004-08-20 13:10 jackson
10747 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
10748 Async messages through X/Win32
10750 2004-08-19 19:39 pbartok
10753 - Updated code to match new HandleData.DeviceContext type
10755 2004-08-19 19:38 pbartok
10758 - Made DeviceContext a generic object to allow usage from various
10760 - Added support for queueing Windows messages
10762 2004-08-19 19:37 pbartok
10765 - Added generation of MouseEnter, MouseLeave and MouseHover events
10766 - Added cleanup on EndPaint
10768 2004-08-19 19:17 pbartok
10771 - Added handling of WM_MOUSEHOVER
10772 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
10775 2004-08-19 18:55 jordi
10777 * ThemeGtk.cs: fixes button order
10779 2004-08-19 18:12 jordi
10781 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
10783 2004-08-19 17:09 pbartok
10786 - Added Right property
10787 - Added RightToLeft property
10789 2004-08-19 16:27 jordi
10791 * ThemeGtk.cs: experimental GTK theme support
10793 2004-08-19 16:26 jordi
10795 * ITheme.cs, Theme.cs: move themes from an interface to a class
10797 2004-08-19 16:25 jordi
10799 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
10802 2004-08-19 16:04 pbartok
10805 - Added colormap basics
10806 - Added a way to re-initialize with a different display handle
10807 - Fixed setting of the window background color
10808 - Added various X11 imports related to colors and colormaps
10810 2004-08-19 15:51 pbartok
10813 - Removed packing hints (Paolo suggested this a while back)
10814 - fixed colormap type
10815 - Added default Atom types
10816 - Added Screen and color structs and enums
10818 2004-08-19 15:39 pbartok
10821 - Added missing Draw() method
10822 - Added missing RecreateHandle event
10824 2004-08-19 15:30 pbartok
10827 - Added handling of WM_CLOSE
10829 2004-08-18 13:16 jordi
10831 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
10834 2004-08-18 09:56 jordi
10836 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
10838 2004-08-17 15:31 ravindra
10840 * SWF.csproj: Updated project.
10842 2004-08-17 15:25 pbartok
10845 - Drawing improvement; don't call UpdateBounds if we are not visible
10846 (or have been minimized)
10848 2004-08-17 15:24 pbartok
10851 - Finished IsVisible
10852 - Added Win32GetWindowPlacement
10854 2004-08-17 15:08 jackson
10856 * Panel.cs: Initial checkin of the Panel
10858 2004-08-17 14:25 pbartok
10861 - Fixed broken handling of default window sizes
10863 2004-08-17 13:29 jackson
10865 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
10866 has a large startup time.
10868 2004-08-17 10:25 jackson
10870 * HandleData.cs: union areas properly
10872 2004-08-17 10:12 jackson
10874 * HandleData.cs: union areas properly
10876 2004-08-16 20:00 ravindra
10878 * ToolBar.cs, ToolBarButton.cs: Added attributes.
10880 2004-08-16 18:48 ravindra
10882 * ToolBar.cs: Added attributes.
10884 2004-08-16 17:17 ravindra
10886 * SWF.csproj: Updated project.
10888 2004-08-16 17:16 jackson
10890 * XplatUIX11.cs: Check for more expose events before sending a
10891 WM_PAINT so they can all be grouped together. This makes dragging a
10892 window across another window redraw in a sane way.
10894 2004-08-16 15:47 pbartok
10897 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
10898 support OnMouseEnter/Leave()
10899 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
10902 2004-08-16 15:46 pbartok
10904 * XplatUIStructs.cs, XplatUIX11.cs:
10905 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
10906 OnMouseEnter/Leave()
10908 2004-08-16 15:34 jackson
10910 * XplatUIX11.cs: Group multiple expose events in HandleData, make
10911 sure messages get the message field set to WM_NULL if they are not
10914 2004-08-16 15:24 jackson
10916 * HandleData.cs: HandleData is used for storing message information
10919 2004-08-15 17:23 ravindra
10921 * ColorDepth.cs: Added attribute.
10923 2004-08-15 17:23 ravindra
10925 * SWF.csproj: Updated project for ToolBar Control.
10927 2004-08-15 17:20 ravindra
10929 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
10930 control and also dos2unix format.
10932 2004-08-15 17:13 ravindra
10934 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
10935 ToolBarButtonClickEventArgs.cs,
10936 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
10937 ToolBarTextAlign.cs: First Implementation of ToolBar control.
10939 2004-08-15 15:31 pbartok
10942 - First (mostly) working version
10944 2004-08-13 16:15 pbartok
10947 - Fixed Anchor default
10949 2004-08-13 15:43 pbartok
10952 - Changed GetCursorPos signature
10954 2004-08-13 15:42 pbartok
10956 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10957 - Changed signature for GetCursorPos
10959 2004-08-13 15:25 pbartok
10963 - Fixed resizing/exposure handling
10965 2004-08-13 15:22 jordi
10967 * ThemeWin32Classic.cs: removes redundant code and fixes issues
10970 2004-08-13 14:55 jordi
10972 * TrackBar.cs: change from wndproc to events
10974 2004-08-13 13:00 jordi
10976 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10977 XplatUIX11.cs: implements PointToClient (ScreenToClient)
10979 2004-08-13 12:53 pbartok
10982 - Changed GetWindowPos to also provide client area size
10983 - Fixed broken prototypes for several win32 functions
10985 2004-08-13 12:53 pbartok
10987 * XplatUI.cs, XplatUIDriver.cs:
10988 - Changed GetWindowPos to also provide client area size
10990 2004-08-13 12:52 pbartok
10993 - Added generation of WM_POSCHANGED
10994 - Changed GetWindowPos to also provide client area size
10996 2004-08-13 12:52 pbartok
10999 - Added Dispose() and destructor
11000 - Fixed resizing and bounds calculation
11002 - Added memory savings for invisible windows
11004 2004-08-13 12:46 jordi
11006 * TrackBar.cs: adds timer and grap window
11008 2004-08-13 10:25 jackson
11010 * Timer.cs: SWF Timer
11012 2004-08-12 16:59 pbartok
11014 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11015 - Implemented method to get current mouse position
11017 2004-08-12 14:29 jordi
11019 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11020 enhancement, fix mouse problems, highli thumb, etc
11022 2004-08-12 13:31 pbartok
11025 - Fixed Anchoring bugs
11027 2004-08-12 13:01 jackson
11029 * StatusBar.cs: Don't forget things
11031 2004-08-12 12:54 jackson
11033 * ThemeWin32Classic.cs: Handle owner draw status bars
11035 2004-08-12 12:54 jackson
11037 * StatusBar.cs: Implement missing properties, events, and methods.
11038 Handle mouse clicking
11040 2004-08-12 10:19 jackson
11042 * StatusBarPanelClickEventArgs.cs,
11043 StatusBarPanelClickEventHandler.cs: Classes for handling status
11044 bar panel click events
11046 2004-08-12 10:10 jackson
11048 * Control.cs: Add missing properties
11050 2004-08-12 09:46 pbartok
11052 * BindingsManagerBase.cs:
11053 - Name changed to BindingManagerBase.cs
11055 2004-08-12 09:25 jordi
11057 * ScrollableControl.cs: calls ctrlbase instead of exeception
11059 2004-08-11 16:28 pbartok
11061 * InputLanguageChangingEventArgs.cs:
11062 - Never check in before compiling. Fixes the last check-in
11064 2004-08-11 16:26 pbartok
11066 * InputLanguageChangingEventArgs.cs:
11067 - More signature fixes
11069 2004-08-11 16:20 pbartok
11071 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11072 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11073 ImageListStreamer.cs, InputLanguage.cs,
11074 InputLanguageChangedEventArgs.cs,
11075 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11076 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11077 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11078 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11081 2004-08-11 16:16 pbartok
11085 - Added .Net 1.1 method
11087 2004-08-11 15:25 pbartok
11090 - Fixed BindingManagerBase.cs filename
11092 2004-08-11 15:22 pbartok
11094 * BindingManagerBase.cs:
11095 - Was checked in with wrong filename
11097 2004-08-11 14:50 pbartok
11102 2004-08-11 13:41 jordi
11104 * XplatUIWin32.cs: Fixes ClientRect
11106 2004-08-11 13:19 pbartok
11108 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11110 - We had SetWindowPos and MoveWindow to set window positions and
11111 size, removed MoveWindow. We have GetWindowPos, so it made sense to
11112 keep SetWindowPos as matching counterpart
11113 - Added some X11 sanity checking
11115 2004-08-11 12:59 pbartok
11118 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11119 (It seems that SetBounds is just a front for SetBoundsCore and
11120 SetBoundsCore updates the underlying window system and
11121 UpdateBounds is responsible for updating the variables associated
11122 with the Control and sending the events)
11123 - Major cleanup of Size handling; we now have two sizes, client_size
11124 and bounds. Bounds defines the window with decorations, client_size
11127 2004-08-11 12:55 pbartok
11129 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11130 - Added method to calculate difference between decorated window and
11133 2004-08-11 12:54 pbartok
11136 - Forcing redraw on resize
11138 2004-08-11 11:43 pbartok
11141 - Removed disposing of the actual images when the list is disposed
11143 2004-08-11 09:13 pbartok
11146 - Now properly reparents windows
11148 2004-08-11 08:37 pbartok
11153 2004-08-11 07:47 pbartok
11156 - Rewrote the collection stuff. Might not be as fast now, not
11157 keeping the number of children around and accessible directly, but
11158 it's more straightforward
11160 2004-08-11 07:44 pbartok
11162 * AccessibleObject.cs:
11163 - Fixed to match ControlCollection rewrite
11165 2004-08-11 07:43 pbartok
11168 - Added missing creation of the collection list
11170 2004-08-10 20:08 jackson
11172 * StatusBar.cs: Get the paint message from WndProc
11174 2004-08-10 19:31 jackson
11176 * ThemeWin32Classic.cs: Create Brushes as little as possible
11178 2004-08-10 19:20 jackson
11180 * UICues.cs: Add Flags attribute
11182 2004-08-10 19:19 jackson
11184 * StatusBarPanel.cs: Signature cleanup
11186 2004-08-10 19:10 jackson
11188 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11189 Initial implementation of status bar item drawing
11191 2004-08-10 17:27 jordi
11193 * TrackBar.cs: add missing methods, properties, and restructure to
11196 2004-08-10 16:24 jackson
11198 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
11199 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
11202 2004-08-10 13:21 jordi
11204 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
11205 enhancements and standarize on win colors defaults
11207 2004-08-10 12:52 jackson
11209 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
11210 ThemeWin32Classic.cs: Implement DrawItem functionality
11212 2004-08-10 12:47 jordi
11214 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
11216 2004-08-10 12:32 jordi
11218 * Control.cs: throw ontextchange event
11220 2004-08-10 11:43 pbartok
11223 - Added more to the still unfinished Dock/Anchor layout code
11225 2004-08-10 11:39 pbartok
11227 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11228 - Added GetWindowPos method
11230 2004-08-10 11:36 pbartok
11233 - Implemented several methods
11235 2004-08-10 09:47 jackson
11237 * TrackBar.cs: Allow control to handle buffering
11239 2004-08-10 09:41 jackson
11241 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
11243 2004-08-10 09:24 jackson
11245 * Label.cs, LinkLabel.cs: Let Control handle buffering.
11247 2004-08-10 09:09 jackson
11249 * StatusBar.cs: Let Control handle all the buffering.
11251 2004-08-10 09:08 jackson
11253 * Control.cs: Control will now handle the buffering code, so each
11254 control does not have to implement this.
11256 2004-08-10 08:34 jackson
11258 * XplatUIDriver.cs: Use default colors from the theme
11260 2004-08-09 17:12 pbartok
11263 - Fixed several bugs Ravindra pointed out
11265 2004-08-09 16:11 pbartok
11268 - Added incomplete dock layout code
11269 - Added support for mouse wheel
11271 2004-08-09 16:09 pbartok
11274 - Added handling for middle and right mousebutton
11275 - Added handling for mouse wheel
11276 - Added handling for key state and mouse state and position
11277 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
11280 2004-08-09 15:40 jackson
11282 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
11283 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
11286 2004-08-09 15:37 jackson
11288 * StatusBar.cs: Initial implementation of StatusBar
11290 2004-08-09 15:36 jackson
11292 * ITheme.cs: Add support for drawing status bar and getting status
11295 2004-08-09 15:35 pbartok
11300 2004-08-09 15:34 jackson
11302 * ThemeWin32Classic.cs: Add support for drawing status bar and get
11303 status bar item sizes
11305 2004-08-09 15:21 jackson
11307 * ThemeWin32Classic.cs: Use known colors for default control
11310 2004-08-09 15:12 jackson
11312 * ThemeWin32Classic.cs: Make the default font static, it is static
11313 in control so this doesn't change functionality and creating fonts
11316 2004-08-09 14:56 pbartok
11319 - Added GrabMode enum
11321 2004-08-09 14:55 pbartok
11323 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11324 - Removed Run method, was only required for initial development
11326 2004-08-09 14:51 pbartok
11328 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11329 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11332 2004-08-09 13:48 pbartok
11335 - Fixed default sizing for child windows
11337 2004-08-09 12:56 pbartok
11340 - Added generation of WM_DESTROY message
11341 - Added handling of window manager induced shutdown
11343 2004-08-09 11:31 jackson
11345 * ThemeWin32Classic.cs: New names for control properties
11347 2004-08-09 11:25 jackson
11349 * Control.cs: Use new color names
11351 2004-08-09 11:02 jackson
11353 * XplatUI.cs: Get default window properties from the theme
11355 2004-08-09 11:01 jackson
11357 * ITheme.cs: The theme engine now controls default window
11360 2004-08-09 11:00 jackson
11362 * ThemeWin32Classic.cs: Add default window color properties
11364 2004-08-09 10:17 jackson
11366 * ThemeWin32Classic.cs: Use correct default back color
11368 2004-08-09 10:05 jackson
11370 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11373 2004-08-09 09:56 jackson
11375 * XplatUI.cs: Remove defaults, these are handled by the theme now.
11377 2004-08-09 09:54 jackson
11379 * Control.cs: Get default properties from the theme.
11381 2004-08-09 09:53 jackson
11383 * ITheme.cs: Themes now handle default control properties
11385 2004-08-09 09:53 jackson
11387 * ThemeWin32Classic.cs: Themes now handle default control
11388 properties so coloring will be consistent
11390 2004-08-08 16:54 jordi
11392 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11394 2004-08-08 15:08 jordi
11396 * XplatUIX11.cs: fixes keyboard crash
11398 2004-08-08 13:47 jordi
11400 * Label.cs: add cvs header info
11402 2004-08-08 12:09 jackson
11404 * ThemeWin32Classic.cs: Add pen_buttonface
11406 2004-08-08 11:52 jordi
11408 * Label.cs, LinkLabel.cs: [no log message]
11410 2004-08-08 11:34 jordi
11412 * ThemeWin32Classic.cs: Use Windows Standard Colours
11414 2004-08-07 17:32 jordi
11416 * TrackBar.cs: throw exceptions of invalid enums values
11418 2004-08-07 17:31 jordi
11420 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11423 2004-08-07 16:56 jackson
11425 * HorizontalAlignment.cs: Initial checkin
11427 2004-08-07 13:16 jordi
11429 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11432 2004-08-07 13:05 jordi
11434 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
11435 GetSysColor defines
11437 2004-08-06 18:01 pbartok
11439 * ThemeWin32Classic.cs:
11440 - Fixed some rounding issues with float/int
11442 2004-08-06 18:00 jackson
11444 * DockStyle.cs, AnchorStyles.cs:
11446 Add flags and serializable attributes.
11448 2004-08-06 17:46 pbartok
11451 - Implemented GetParent
11453 2004-08-06 17:18 pbartok
11456 - Fixed some rounding issues with float/int
11458 2004-08-06 17:17 pbartok
11460 * X11Structs.cs, XplatUIX11.cs:
11461 - Fixed Refresh and Invalidate
11463 2004-08-06 15:30 pbartok
11465 * Control.cs, X11Structs.cs, XplatUIX11.cs:
11466 - Fixed recursive loop when resizing
11467 - Improved/fixed redrawing on expose messages
11469 2004-08-06 09:53 jordi
11471 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
11472 keyboard navigation
11474 2004-08-06 08:02 pbartok
11476 * X11Structs.cs, XplatUIX11.cs:
11477 - Fixed reparenting
11478 - Fixed window border creation
11480 2004-08-05 15:38 pbartok
11483 - Attempted fix for reparenting problems
11485 2004-08-04 15:14 pbartok
11488 - Fixed Invalidation bug (calculated wrong client area)
11489 - Added ClientSize setter
11491 2004-08-04 15:13 pbartok
11494 - Added AutoScale properties
11496 2004-08-04 15:13 pbartok
11499 - Added latest files
11501 2004-08-04 14:11 pbartok
11503 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11505 - Added Invalidate handling
11507 2004-08-03 17:09 jordi
11509 * XplatUIDriver.cs: fixes spelling mistake
11511 2004-07-27 09:53 jordi
11513 * TrackBar.cs: fixes trackbar events, def classname, methods
11516 2004-07-27 09:29 jordi
11518 * ScrollBar.cs: fixes scrollbar events
11520 2004-07-27 04:38 jordi
11522 * Control.cs: changes to be able to run winforms samples
11524 2004-07-26 11:42 jordi
11526 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
11527 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
11529 2004-07-26 05:41 jordi
11531 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
11532 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
11535 2004-07-22 09:22 jordi
11537 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
11538 check link overlapping, implement events, and fixes
11540 2004-07-21 10:28 jordi
11542 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
11544 2004-07-21 10:19 jordi
11546 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
11547 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
11548 LinkLabelLinkClickedEventArgs.cs,
11549 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
11550 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
11553 2004-07-19 13:09 jordi
11555 * Control.cs, Label.cs: label control re-written: added missing
11556 functionlity, events, and properties
11558 2004-07-19 10:49 jordi
11560 * Control.cs: fixes SetBounds logic
11562 2004-07-19 01:29 jordi
11564 * Control.cs: Call RefreshWindow only if the window has created
11566 2004-07-15 14:05 pbartok
11568 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
11569 - Implemented ImageList and ImageList.ImageCollection classes
11570 - Added ColorDepth enumeration
11571 - Updated SWF VS.Net project
11573 2004-07-15 11:06 jordi
11575 * XplatUIStructs.cs: added MsgButons enum
11577 2004-07-15 11:03 jordi
11579 * Control.cs: added basic mouse handeling events
11581 2004-07-15 03:38 jordi
11583 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
11584 Vertical TrackBar control implementation
11586 2004-07-13 09:33 jordi
11588 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
11590 2004-07-13 09:31 jordi
11592 * Control.cs, Form.cs: commit: new properties and fixes form size
11595 2004-07-09 14:13 miguel
11597 * ProgressBar.cs: Spelling
11599 2004-07-09 11:25 pbartok
11602 - Removed usage of Rectangle for drawing. Miguel pointed out it's
11605 2004-07-09 11:17 miguel
11607 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
11609 * ProgressBar.cs: Fixed spelling for `block'
11611 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
11614 Avoid using the += on rect.X, that exposed a bug in the compiler.
11616 2004-07-08 23:21 pbartok
11618 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
11619 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
11620 BaseCollection.cs, Binding.cs, BindingContext.cs,
11621 BindingMemberInfo.cs, BindingsCollection.cs,
11622 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
11623 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
11624 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
11625 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
11626 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
11627 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
11628 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
11629 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
11630 FrameStyle.cs, GiveFeedbackEventArgs.cs,
11631 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
11632 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
11633 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
11634 InputLanguageChangedEventArgs.cs,
11635 InputLanguageChangedEventHandler.cs,
11636 InputLanguageChangingEventArgs.cs,
11637 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
11638 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
11639 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
11640 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
11641 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
11642 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
11643 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
11644 QueryAccessibilityHelpEventArgs.cs,
11645 QueryAccessibilityHelpEventHandler.cs,
11646 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
11647 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
11648 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
11649 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
11650 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
11651 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
11652 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
11653 XplatUIX11.cs, lang.cs: