1 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
4 the keyboard state from being stuck with keys in 'pressed' state when
5 focus is switched away via keyboard
6 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
7 reset the keyboard if no X11 KeyUp events are expected to come
8 * X11Structs.cs: Switched type of Visible to bool to match driver
10 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
13 - Switched caret to be just 1 pixel wide, matches MS and looks less
15 - Moved caret display 1 pixel down from the top of the control
17 - InsertCharAtCharet: Update the selection start if moving the caret
18 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
19 - No longer always creating the caret when the caret methods are
20 called. Only the actual ShowCaret/HideCaret will do that now
21 - Only setting caret visible if the owner control has focus
22 - UpdateView: Added invalidation-shortcut logic for center and right
23 aligned text. Previously we'd update all according to the left
24 logic which caused drawing errors. Also fixed height of invalidated
25 areas, now properly invalidating the whole area (was off-by-one)
26 - owner_HandleCreated: Always generate the document when the
27 handle is created; this ensures that
29 - Fixed situation where caret would disappear under the right
30 window border, also improved scrolling behaviour on left-
32 - Fixed right-aligned textboxes to have a border to the
33 right instead of the caret being under the right border
35 - Switched from 'nested' to simple visible/not visible tracking
36 for caret (part of fix for #77671)
37 - No longer passing through translated FocusIn/FocusOut messages
38 since we were notifying too often and the wrong windows. Instead
39 we just notify our focussed window of receiving or loosing focus
40 * XplatUIWin32.cs: Switched from 'nested' show/hide
41 counting for caret to simple visible yes/no behaviour (part of
44 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
46 * Mime.cs: Remove debug code...
48 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
50 * MimeGenerated.cs: Removed
51 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
52 and subclasses) from /usr/(local/)share/mime and
53 $HOME/.local/share/mime.
55 2006-03-10 Jackson Harper <jackson@ximian.com>
57 * MdiWindowManager.cs: Recalc the NC area when a window is
58 maximized/restored so that the menu area is drawn on forms that
61 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
63 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
64 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
65 us to force a WM_NCCALCRESIZE message being sent. This is needed
68 2006-03-10 Jackson Harper <jackson@ximian.com>
70 * Form.cs: We need to use the ActiveMenu when calculating menu
72 - Fix nullref when the window manager hasn't been created yet.
73 * Control.cs: Fix nullref when we try to bring a control to the
74 front that has no parent.
75 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
77 - Add a dummy item to the maximized menu so it always has the
78 correct height. Otherwise when there are no menus we don't get our
82 2006-03-10 Jackson Harper <jackson@ximian.com>
84 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
86 * Form.cs: Make the window_state internal so the window managers
88 - When an MDI child is maximized let its window manager create the
89 main menu (so it can add its icon).
90 - Notify the window managers of state changes
91 - Let the window manager paint its buttons and handle button
92 clicks on the menu when it is maximized.
93 * InternalWindowManager.cs: Move the prev_bounds into the mdi
94 window manager, since tool windows don't use it, only mdi windows.
95 - Tell the main form that we don't want it to handle NCPAINT
96 itself to avoid extra painting.
97 - Handle clicks on a maximized windows menu.
98 - Handle window state changes
99 - Handle minimize/maximize clicks correctly by setting the window state.
100 * MdiWindowManager.cs: Add an icon menu that (the menu you get
101 when clicking on the forms icon).
102 - New method to create a forms maximized menu. This is its normal
104 - Handle window state changes.
105 - Handle sizing of maximized windows. Maximized windows are just
106 drawn bigger then the parent visible area. All controls are still
107 there, they are just outside the visible area (this matches windows).
108 * MdiClient.cs: No scrollbars when a child window is maximized.
109 - Let the children windows figure out how big they should be when
110 sizing maximized windows.
111 - Implement a version of ArrangeIconicWindows somewhat similar to
112 Windows version. There are some little differences, but I don't
113 think any app will rely on the layout of minimized mdi windows.
115 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
117 * Padding.cs: Several fixes to allow compiling with csc 2.0
119 2006-03-09 Jackson Harper <jackson@ximian.com>
122 * MenuItem.cs: Cheap hack so we can add items to the list without
123 the events being raised. This allows adding mdi items during
124 drawing. TODO: Should probably find a better time to add the items.
126 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
128 * ThemeWin32Classic.cs:
129 - CheckBox_DrawText: Added logic to not wrap if not enough space
130 is available (Fix for bug #77727)
131 - RadioButton_DrawText: Added logic not to wrap if not enough
132 space is available (Fix for bug #77727). Also removed some
133 duplicate code, DrawString always drawing the regular text
134 before hitting the if statement.
136 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
138 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
140 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
142 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
143 * ContainerControl.cs: Partial implementation of some 2.0 scaling
144 methods. Moved the new 2.0 properties into alphabetical order with
145 other properties and added MonoTODO tags
147 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
149 * AutoScaleMode.cs: Added. Fix build.
151 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
153 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
154 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
155 and was requiring premature handle creation for calls from above
156 * Form.cs, Control.cs: Removed handle arguments from calls to
157 CalculateClientRect()
159 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
161 * ListView.cs (HeaderMouseMove): Fix csc compilation.
162 drag_column.column_rect is MarshalByRef and can't be used that way
164 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
166 * AxHost.cs: Added deserialization constructor for
167 AxHost+State (fixes 77743)
170 2006-03-09 Mike Kestner <mkestner@novell.com>
173 - Added column drag reordering for details view.
174 - fixed behavior when mouse is dragged off column and
175 AllowColumnReorder is false.
176 * ColumnHeader.cs: clone the format too in Clone.
177 * Theme.cs: add DrawListViewHeaderDragDetails method.
178 * ThemeWin32Classic.cs:
179 - impl new method for drawing drag column shadows and targets.
180 - support column offset for details mode in DrawListViewItem.
182 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
184 * TextControl.cs: Reset the char_count when the document is cleared
185 (Fixes bug reported on mono-winforms mailing list)
187 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
189 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
190 of calling base we simply process the key ourselves, since both
191 DefWindowProc and the handled method would set m.Result.
194 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
196 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
197 method also moves the window; instead implemented a copy of
198 Control.ScaleCore (Part of fix for #77456)
200 - Created new CreateGraphicsInternal method to allow providing
201 a graphics context when no handle is created without triggering
202 handle creation. (Part of fix for #77456)
203 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
205 - Switched Constructor to require TextBoxBase instead of Control (to
206 allow uncast access to CreateGraphicsInternal)
207 - Safeguarded use of owner.Handle property. No longer accessing it
208 unless the handle is already created.
209 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
210 - Now triggering a recalc when owning control becomes visible
211 * TextBox.cs, RichTextBox.cs: Switched to use new internal
212 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
213 premature handle creation (Part of fix for #77456)
215 - We now only destroy our double-buffering buffers when the
216 control is resized or disposed, but not when visibility
217 changes. (The code even re-created them twice every time)
218 - Now requiring a redraw of the buffer on visibility changes
219 (fixes bug 77654 part 2)
220 - Not passing OnParentVisibleChanged up unless the control
222 - CanFocus: Fixed to match MS documentation
223 - Focus: Fixed to return actual focus state and to check if
224 setting focus is legal before setting it
226 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
228 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
229 when to draw focus rectangle by looking at parent focus and
230 selected state instead. This fixes TabPages on Linux sometimes
231 having none or multiple focus rectangles.
232 * XplatUIX11.cs (SetFocus):
233 - Don't set the focus if the same window already has focus
234 - Use SendMessage instead of PostMessage (like it's Win32
235 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
236 to match MS behaviour
237 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
240 2006-03-07 Jackson Harper <jackson@ximian.com>
242 * PictureBox.cs: Revert line I accidently committed last week.
244 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
247 - Added new IsRecreating and ParentIsRecreating properties to
248 allow testing if RecreateHandle has been called on ourselves
249 or one of our parents
250 - WndProc(WM_DESTROY): If our control handle is being recreated
251 we immediately need to create the handle when receiving the
252 destroy, that way our child windows find a valid parent handle
253 when they themselves are being recreated upon WM_DESTROY receipt
254 (fix for bug #77654 part 1)
256 - DestroyWindow: WM_DESTROY must be sent to our own window before
257 notifying any child windows. MS documents that child windows
258 are still valid when WM_DESTROY is received. (Control now relies on
260 - Added some fine-grain debug options
262 2006-03-06 Jackson Harper <jackson@ximian.com>
264 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
265 box and base calculations off this.
266 * MdiChildContext.cs:
267 * MdiWindowManager.cs: Don't need to ensure scrollbars here
270 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
272 * Splitter.cs: In situations where the affected control is added
273 to the parent's control list after the splitter, we would not
274 populate affected. Now we try populating it on mousedown, if
275 it's not already set, and force it to be re-set whenever our
278 2006-03-03 Matt Hargett <matt@use.net>
280 * Control.cs: implement Control.Padding
281 * Padding.cs: -Padding.All returns -1 when constructing with the
282 implicit default ctor
283 -Padding.ToString() matches MS.NET
284 * ContainerControl.cs: implement
285 ContainerControl.AutoScaleDimensions
286 * ListControl.cs: implement ListControl.FormattingEnabled
287 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
289 * TabPage.cs: Implement UseVisualStyleBackColor.
290 * PictureBox.cs: Implement PictureBox.InitialImage.
292 2006-03-03 Mike Kestner <mkestner@novell.com>
294 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
295 event declarations to proxy to base event.
296 * ListViewItem.cs: update to use ItemControl.
297 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
298 * ThemeWin32Classic.cs: update to new ListView theme API and fix
299 column header label rendering for 0 width columns.
301 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
303 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
304 that causes the control to be created. Fixes #77476.
306 2006-03-02 Jackson Harper <jackson@ximian.com>
308 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
311 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
313 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
314 passed in for the EventArgs (fixes #77690)
316 2006-03-01 Jackson Harper <jackson@ximian.com>
318 * ScrollBar.cs: Refresh afterbeing resized.
320 2006-02-28 Mike Kestner <mkestner@novell.com>
322 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
323 Clean up a tracker compile warning.
324 * MenuItem.cs: add internal PerformPopup method.
327 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
329 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
330 implicit expose) when the text is set to null
332 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
334 * RichTextBox.cs (FlushText): When newline is true, we always
335 need to split the line, even if no text is on it and we may
336 never eat newlines. (Fixes #77669)
338 2006-02-28 Mike Kestner <mkestner@novell.com>
340 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
341 and set Selected instead.
342 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
345 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
347 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
349 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
352 - Got rid of the panel. All controls are now directly added to
354 - It is now possible to set a font with the Font property
355 - MinSize and MaxSize property do now what they should
356 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
357 - Searching and selecting a font with the font textbox works now,
358 the same applies to the style and size textbox
359 - Draw the correct 3D border in the example panel
360 - Fixed a little mem leak (unused fonts didn't get disposed)
361 - Many other internal updates/rewrites...
364 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
367 - InsertRTFFromStream: Added 'number of characters inserted' argument
368 - set_SelectedRTF: Now using the number of characters to calculate
369 the new location for the selection and cursor (x/y cannot be used
370 due to potentially already wrapped text)
372 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
374 * TextControl.cs: Added property and implemented means to allow
375 disabling recalculation of a document (can be used to speed up
376 multiple inserts and is needed to make RTF inserts predictable, see
378 * RichTextBox.cs: Using the new NoRecalc property of Document to
379 keep x/y insert locations predictable. Also makes it faster inserting
382 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
384 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
385 it's easier for a child control to handle the other messages without
386 having to duplicate the special functionality
388 - WndProc: Removed calling base handler for WM_KEYDOWN and added
389 code to handle processing the key ourselves, in order to get
390 access to the result of KeyEventArgs.Handled. We now only call
391 ProcessKey if they key hasn't been handled already. Fixes #77526.
392 - set_Text: If null or empty string is given, just clear the
393 document. Fixes part of #77526
395 2006-02-27 Jackson Harper <jackson@ximian.com>
397 * SizeGrip.cs: Paint the background color before painting the grip
398 so things look right.
399 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
401 2006-02-27 Mike Kestner <mkestner@novell.com>
404 - Restructure layout and invalidation model to remove a ton of
405 flicker from the control and speed up performance in general.
406 - Add manual column resize, flickers like crazy, but I already have
407 some ideas on how I'll fix that. (#76822)
408 - Merge the three Icon-based views into a single layout method.
409 - Move item selection interaction logic from the item since
410 interaction with the collections is more appropriate to the view.
411 - Deselection on non-item clicks.
413 - Encapsulate most of the layout. Add some internal props to trigger
414 layout. Move to a model where Items invalidate themselves instead
415 of just invalidating the whole control every time something changes.
416 - Invalidate on Text/Caption changes.
417 - switch to an offset based layout model to avoid having to absolute
418 position every element on item moves.
419 - correct checkbox layout to conform to MS layout.
420 * ThemeWin32Classic.cs:
421 - refactor some column header drawing code.
422 - fix string justification for column headers (#76821)
423 - make SmallIcon labels top justified for compat with MS impl.
424 * ThemeClearlooks.cs:
425 - adjust to new ListViewItem internal checkbox bounds api.
427 2006-02-27 Jackson Harper <jackson@ximian.com>
429 * Control.cs: Change where implicit controls fall in the zorder.
430 They are now on top of all children.
431 - Synced AddImplicit code with Add
432 - Removed unused enumerator.
433 * SizeGrip.cs: Remove the TODO as its been TODONE.
435 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
437 * TextControl.cs(Insert): Combine the last lines unless the insertion
438 string ends with \n\n, otherwise we leave one line too many (Fixes
439 something I noticed with the testapp for #77526; the bug itself was
440 already fixed in the previous checkin)
442 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
445 - SelectionColor and SelectionFont methods no longer set absolute
446 styles. Instead, the keep font or color respectively (This
447 resolves a long-standing FIXME in the code)
448 - When flushing RTF text, the insert code now considers text trailing
449 behind the insertion point (Fixes the bug where when replacing
450 the selected text via SelectedRTF the remainder of the line behind
451 the selection would stay on the first insertion line)
453 - AppendText now updates the selection points after inserting text
454 - AppendText now ensures that the last tag (sometimes 0-length) of
455 the document is used for the style information (Fixes part of
458 - Created new FontDefiniton class to allow describing partial style
460 - StreamLine() now takes a lines argument, to allow it to decide
461 whether an encountered zero-length tag is the last in the document
462 (which must be kept to not loose the font/color contained in it,
464 - Created Combine() and Split() methods for Marker structs, to
465 support marker updates due to reformatted documents (soft line
467 - Implemented Document.CaretTag setter
468 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
469 of the last line (Not the cause, but also exposed by bug #77220)
470 - Added LineTag argument to InsertString method, to allow callers
471 to force a certain tag to be used (required to force use of the
472 trailing zero-length tag of a document)
473 - Now updating markers in Combine(), to avoid stale tag markers
474 - Added some method descriptions to aid maintenance
475 - Implemented new FormatText concept, allowing additive/subtractive
476 formatting by only specifying the components that are to be
477 changed. This was needed for resolving the RTB.SelectedColor/
478 RTB.SelectedFont fixmes
479 - Added Break() support method to allow breaking up linetags (used
480 for partial formatting)
481 - Added GenerateTextFormat() method. It is used for partial
482 formatting and allows to generate a full font/color from given
483 attributes and an existing tag.
485 2006-02-26 Jackson Harper <jackson@ximian.com>
487 * XplatUIX11.cs: Use the correct caption height.
488 - Translate hittest coordinates to screen coords to match MS.
489 * XplatUIWin32.cs: When we create MDI windows we need to reset
490 some of the style flags, so we get a nice blank window, and can
491 draw all the decorations ourselves.
492 - Set a clipping rectangle on the non client paint event, the
493 window manager drawing code needs one.
494 * Form.cs: The window manager needs to know when the window state
496 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
497 don't need to factor in border and title sizes in these
498 methods. TODO: Remove the args and fix the call points.
499 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
501 - Let the driver set the cursors.
502 - Improve active window handling
503 - Correct sizes for title bars and buttons.
504 - Match MS drawing better
505 * MdiWindowManager.cs: We don't need to handle border style
506 updates specially anymore.
507 - Check for scrollbars when windows are done moving
508 - Handle Active properly.
509 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
510 correctly. I am spewing the exception though, so we don't hide the
513 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
515 * DataGridViewRowPostPaintEventArgs.cs,
516 DataGridViewCellPaintingEventArgs.cs,
517 DataGridViewRowCollection.cs,
518 DataGridViewRowPrePaintEventArgs.cs,
519 DataGridViewCell.cs: Clear a few warnings and implement a few
520 exceptions that should be thrown.
522 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
524 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
525 'inheriting' our parent's (non-default) cursor. (Part of
528 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
530 * XplatUIX11.cs: Fixed cast to make csc happy
532 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
534 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
535 it's for the client area (part of fix for #77479 and needed
536 for MDI window cursor handling)
538 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
539 the appropriate default cursors and also passing the message
541 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
544 2006-02-15 Jackson Harper <jackson@ximian.com>
546 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
549 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
551 * X11DesktopColors.cs: Instead of checking the desktop session
552 string for "KDE" check if it starts with "KDE"
554 2006-02-10 Jackson Harper <jackson@ximian.com>
556 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
559 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
561 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
564 - Got rid of the panel. All controls are now directly added to
566 - Changed to mono coding style
568 2006-02-10 Jackson Harper <jackson@ximian.com>
570 * InternalWindowManager.cs: We don't need the set visibility to
571 false hack anymore now that peter has written beautiful shutdown
574 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
576 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
577 where already explicitly destroyed
579 2006-02-10 Jackson Harper <jackson@ximian.com>
581 * MdiClient.cs: Handle the case where windows are too high or to
582 the left and we need scrollbars.
584 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
586 * MimeIcon.cs: Added some icons
589 - Got rid of the panel. All controls are now directly added to
591 - Changed to mono coding style
592 - On Linux "My Computer" and "My Network" will now show some
593 more usefull information. A new class, MasterMount, gathers
594 this information from /proc/mount. Updated MWFFileView to make
595 use of this information
596 - Fixed a bug that caused FileDialog to crash when
597 ".recently_used" file had a zero size
598 - FilterIndex does now what it should
600 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
603 2006-02-09 Jackson Harper <jackson@ximian.com>
605 * ComboBox.cs: Don't touch if null.
607 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
609 * Cursor.cs: 64bit safeness fix
610 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
612 2006-02-09 Jackson Harper <jackson@ximian.com>
614 * Form.cs: If a form is made into an MDI form update the styles so
615 all the props can get set correctly.
616 - Kill the mdi_container when we dont need it anymore.
617 * InternalWindowManager.cs: Add missing NOT
619 2006-02-08 Jackson Harper <jackson@ximian.com>
621 * InternalWindowManager.cs: Respek clipping when drawing MDi
624 2006-02-08 Jackson Harper <jackson@ximian.com>
626 * Hwnd.cs: Add bits to track non client expose events.
627 * XplatUIX11.cs: Track non client expose events on the hwnd. This
628 gives us a proper invalid rect and will allow for some nice
629 optimizations with NC client drawing
630 - MDI windows are children windows, so move their style handling
631 into the child window block.
632 * InternalWindowManager.cs: Remove a state reset that was
633 getting invoked at the wrong time. Fixes managed windows getting
634 into a 'stuck' captured state.
636 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
638 * TextControl.cs (Document.ctor): Now initializing
639 selection_anchor. Fixes #77493
641 2006-02-07 Jackson Harper <jackson@ximian.com>
643 * TrackBar.cs: The increment/decrements were backwards.
645 2006-02-07 Mike Kestner <mkestner@novell.com>
647 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
648 to the instance itself.
650 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
652 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
653 on ulongs and pointers, the size differs between 32bit and 64bit
656 2006-02-07 Mike Kestner <mkestner@novell.com>
658 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
659 for 64 bit platforms to work around a metacity bug.
661 2006-02-07 Jackson Harper <jackson@ximian.com>
663 * TrackBar.cs: Process the input keys we need, and hookup to
664 KeyDown instead of using WndProc, so we get key messages.
666 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
668 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
670 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
671 we need to translate the XdndVersion atoms array before sending it
673 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
676 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
677 number of bits for the property, not the number of bytes. The
678 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
679 but would not crash since it specified 8 bits instead of 4 bits)
680 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
681 defined as XID -> long in the C headers)
682 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
683 references since those are now IntPtr to begin with
684 - Switched all Atom.XXX 'int' casts to IntPtr casts
685 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
686 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
687 - Added XChangeActivePointerGrab DllImport (for X11DnD)
689 - Changed 'int' type for Atoms in XEvent structures to IntPtr
690 - Changed atom in HoverStruct to be IntPtr
692 - Removed local DllImports, switched code to use those from XplatUIX11
693 - Removed/fixed casts related to the switch of Atom to be a IntPtr
695 2006-02-06 Mike Kestner <mkestner@novell.com>
697 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
698 method signatures in the import region. There may still be some
699 lingering struct marshaling issues, as I didn't drill down into those.
702 2006-02-06 Jackson Harper <jackson@ximian.com>
704 * ComboBox.cs: Dont manually set the top_item, this is computed
705 when the scrollbar position is set.
707 2006-02-06 Mike Kestner <mkestner@novell.com>
709 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
710 startup crashes on amd64. There's other fixes needed. All pinvoke
711 usage of Atom needs to be mapped to IntPtr for example. And there are
712 likely other int/long issues to be addressed.
714 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
716 * FileDialog.cs: One more...
718 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
720 * FileDialog.cs: Next try
722 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
724 * FileDialog.cs: First part of fix for #77464
726 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
728 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
729 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
730 AcceptButton border drawing.
732 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
734 * Form.cs: Moved positioning of form after auto scaling is applied,
735 otherwise it would possibly use wrong form size.
737 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
739 * Control.cs (RecreateHandle): No need to re-create any child
740 controls, the child windows will get destroyed automatically by
741 the windowing system or driver, and re-created when the handle
742 is being accessed the first time. Fixes #77456
743 * Form.cs: No longer setting the form to closing if the handle is
744 being recreated. This seems like the right thing to do, don't
745 have a bug or testcase for this, though.
747 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
749 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
750 controls to avoid unwanted side effects
752 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
755 - ScaleCore needs to scale the bounds, not the ClientSize of the
756 control. Fixes #77416.
757 - DefaultSize is 0,0 for control
759 - DefaultSize is 100, 20
760 - SetBoundsCore: Now enforcing the height, no matter if the provided
761 height is more or less than the preferred one, as long as AutoSize
763 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
765 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
768 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
769 call unless both performLayout is true *and* we have a pending
771 - ResumeLayout: MS does not completely nest Suspend and Resume,
772 they bottom out at 0, fixed our code to match that.
773 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
774 SetBoundsCore, we were updating even when we shouldn't. This fixes
775 swf-anchors mis-anchoring when resizing the app fast and lots.
776 - UpdateDistances: Now only setting the left and top distance if
777 we have a parent and are not suspended, this is based on
778 a suggestion by Don Edvaldson in bug #77355.
779 - OnVisibleChanged: Fixed logic when to create the control. We may
780 not create the control if we have no parent or if it's not visible;
781 switched to using Visible property instead of is_visible field
782 since the property also considers parent states. This fixes a bug
783 when starting Paint.Net
785 2006-02-02 Jackson Harper <jackson@ximian.com>
787 * Form.cs: If the forms handle hasn't been created yet don't call
788 into xplatui to make it top most, just set the topmost flag on the
790 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
792 2006-02-01 Jackson Harper <jackson@ximian.com>
794 * ScrollableControl.cs: Refactored the Recalculate method a
795 little, this wasn't handling all the variants of bottom and right
796 bars needed to be added and added/removed based on their
797 counterparts being added/removed (which changes the drawable
798 size). Also we special case client widths and heights of 0 and
799 don't add the scrollbar for those.
801 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
804 - Added method to get AbsoluteGeometry(); currently unused, but might
805 be used in the future, if we try again to figure out toplevel
806 coordinates with some more crappy window managers
807 - Added FrameExtents() method to retrieve the WM set decoration size
808 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
809 to deal with at least KDE, FVWM and metacity (Fixes #77092)
811 - Added whacky_wm tracking var for metacity
812 - Added logic to have default menu height if the actual menu height
813 has not yet been calculated (part of fix for #77426)
814 * Form.cs: Keep track whether client size has been set and re-set
815 it if a menu is added/removed afterwards (Fixes #77426)
817 2006-01-31 Jackson Harper <jackson@ximian.com>
819 * Control.cs: When a new Site is set on the component attempt to
820 pull the AmbientProperties from it.
822 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
824 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
825 in the background of the owning form. Fixes #77332
827 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
829 * MimeIcon.cs: Fix for #77409
831 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
833 * XplatUIX11GTK.cs: Initial import
835 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
837 * FixedSizeTextBox: fixes class signature
839 2006-01-30 Jackson Harper <jackson@ximian.com>
841 * FixedSizeTextBox.cs: New internal class that represents a
842 textBox that will not be scaled.
845 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
848 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
850 * XplatUIX11.cs: Retrieve default screen number instead of
851 assuming 0. Attempted fix for #77318
853 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
856 - GetWindowPos: When a window is parented by FosterParent, use
857 the desktop instead of FosterParent as the base to get coordinates
858 - CreateWindow: Don't make FosterParent the parent window for Popups
859 if we don't want a taskbar entry, Popups automatically don't get one
860 * Hwnd.cs: Need to call remove to actually remove the key from the
863 2006-01-30 Mike Kestner <mkestner@novell.com>
865 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
867 2006-01-30 Jackson Harper <jackson@ximian.com>
870 * TreeNode.cs: Raise events no matter how the treenode is
871 checked. Patch by Don Edvalson.
873 2006-01-30 Jackson Harper <jackson@ximian.com>
875 * TreeNode.cs: Signature fix.
877 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
879 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
881 2006-01-20 Mike Kestner <mkestner@novell.com>
883 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
884 event forwarding when menus are active.
885 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
886 Most of the patch is pdb's with a little rework.
888 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
890 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
891 Removed GetMenuDC and ReleaseMenuDC methods; replaced
892 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
893 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
894 * InternalWindowManager.cs: Added use of PaintEventStart/End to
895 handling of WM_NCPAINT message, now passing the PaintEventArgs to
896 the PaintWindowDecorations method
897 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
898 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
899 * MenuAPI.cs: Made tracker window invisible
901 - Removed GetMenuDC and ReleaseMenuDC methods
902 - Implemented the client=false path for PaintEventStart and
905 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
907 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
908 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
911 - MaximizeBox, MinimizeBox: Recreate the handle when setting
913 - CreateParams: Reworked the styles to match MS look'n'feel,
914 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
915 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
917 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
919 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
920 window is not mapped, since otherwise every form that's being
921 created is considered minimized, which is wrong.
922 * Form.cs: Catching the exception and returning our internal value
925 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
927 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
928 SetWindowMinMax() to have means to tell the driver about the minimum,
929 maximum and maximized state window sizes. (Part of the fix for #76485)
931 - Implemented tracking of minimum and maximum window size, now calling
932 new SetWindowMinMax() driver method to tell the driver (Part of the
934 - Finished handling of WM_GETMINMAXINFO method, now setting all values
935 (Completes fix for #76485)
936 - Calling new SetWindowMinMax driver method when the handle for a
937 form is created, to make sure the driver knows about it even if
938 the values have been set before the window was created
939 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
940 to avoid messing up our anchoring calculations (partial fix
942 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
944 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
945 - Improved GetWindowState() to detect 'Minimized' state on Metacity
946 (and presumably other freedesktop.org compliant WMs). Left the
947 assumption unmapped=minimized, needed for SetVisible to work.
948 - Now setting the window state when creating windows
949 - Fixed SetVisible to consider/set the window state when mapping
950 a Form. We cannot set the state before it's mapped, and we cannot
951 use Form.WindowState once it's mapped (since it would ask the
952 driver and get 'normal'. Therefore, we grab the state before
953 mapping, map, and then set state.
954 - Implmemented SetWindowMinMax method; Metacity does not seem to
955 honor the ZoomHints, though.
957 - Removed MINMAXINFO (moved to XplatUIStructs)
958 - Added SetWindowMinMax stub (on Win32 the only way to set that
959 information is in response to the WM_GETMINMAXINFO message, which
960 is handled in Form.cs)
961 - Added logic to SetVisible to set the proper window state when a
962 form is made visible (fixes #75720)
964 2006-01-26 Jackson Harper <jackson@ximian.com>
966 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
967 same way we handle them with Invoke.
969 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
972 - Added tracking of window state so CreateParams can return
973 the appropriate style
974 - Moved setting of WS_CAPTION style in CreateParams to allow
975 styles without caption
976 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
977 control if the TextBox property is accessed. Fixes #77345
979 - get_Created: now uses is_disposed and is_created to determine
980 return value (suggested by Jackson)
981 - CreateHandle: No longer exits if the handle is being recreated
982 - RecreateHandle: If the handle is not yet created call the
983 appropriate method to create either control or handle. If the
984 control is already created CreateHandle will simply exit instead
985 of just creating the handle
986 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
987 now SendMessage WM_DESTROY directly to the control when DestroyWindow
990 - When DestroyWindow is called, instead of waiting for the
991 DestroyNotification from X11, we directly post it to the WndProc
992 and immediately dispose the hwnd object.
993 Same applies to DestroyChildWindows, and this obsoletes the
994 expose_pending tracking. Contrary to Win32 behaviour we destroy our
995 child windows before our own, to avoid X11 errors.
996 - Removed the direct sending of WM_PAINT on UpdateWindow
998 - Reworked DoEvents and GetMessage to allow access to internal queue
999 even when trying non-blocking access to the queue. Fixes #77335.
1000 Based on a patch suggestion by Don Edvalson. The new private
1001 GetMessage can now also be used as a backend for a PeekMessage
1003 * XplatUI.cs: Improved debug output for CreateWindow
1005 2006-01-25 Jackson Harper <jackson@ximian.com>
1007 * Help.cs: Allow param to be null. Patch by Don Edvalson.
1009 2006-01-24 Jackson Harper <jackson@ximian.com>
1011 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1012 when we have a MaxDropItems lower then the selected index.
1014 2006-01-24 Jackson Harper <jackson@ximian.com>
1016 * Control.cs: Don't allow selection of non visible controls, allow
1017 selection of controls without parents.
1019 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1021 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1022 * DataGridDrawingLogic.cs: Add editing row only when is necessary
1024 2006-01-23 Jackson Harper <jackson@ximian.com>
1026 * UpDownBase.cs: Make the textbox handle all the selection and
1027 tabbing. This fixes tabing to updown controls.
1029 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1031 * TextBoxBase.cs: fixes exception thown the object was null
1033 2006-01-23 Jackson Harper <jackson@ximian.com>
1035 * ButtonBase.cs: Just use the base CreateParams. They set
1036 visibility and enabled correctly.
1039 * MonthCalendar.cs: Lets let the base set as much of the
1040 createparams as possible so we don't have duplicate code all over
1043 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
1045 * ThemeGtk.cs: Added TrackBar and some experimental code to
1046 get double buffering back
1048 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
1050 * DataGrid.cs: Allows row number set internally higher than the last
1051 when creating a new row. Restores the editing functionality.
1053 2006-01-20 Mike Kestner <mkestner@novell.com>
1055 * MimeIcon.cs: delay Image creation until the icons are accessed
1056 instead of creating 190 scaled images on GnomeHandler startup.
1058 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1060 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1061 first call base before processing the event. Fixes #77279
1063 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1065 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1066 that the stride for the GDI bitmap would match the stride of
1069 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
1071 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1073 2006-01-19 Jackson Harper <jackson@ximian.com>
1075 * ComboBox.cs: Hookup the text controls keydown event so we get
1076 those when the text control has the focus.
1078 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1080 * Label.cs: Now using the base events instead of defining new ones;
1081 this allows us to just call the base properties without having to
1082 duplicate all base property logic
1084 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1086 * Label.cs: A label by default is not a tabstop (Fixes one of our
1087 failing nunit tests)
1089 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1091 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1092 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1094 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1096 * Cursor.cs: Reimplemented creating cursor bitmaps without using
1097 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1100 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
1101 constructor creates images that can't be saved. Part of the fix
1103 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1104 - SetWindowState: Switched ShowWindow flags (part of an upcoming
1105 bug fix for handling window state in forms properly)
1107 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1109 * ThemeGtk.cs: Simplify ScrollBar drawing
1111 2006-01-18 Jackson Harper <jackson@ximian.com>
1113 * Splitter.cs: Set the default dock style for the splitter control
1116 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1118 * ThemeGtk.cs: Corrected StateType and ShadowType for
1121 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1123 * Control.cs: Make use of Theme.DoubleBufferingSupported
1125 - Added drawing for flat style buttons
1126 - Added ScrollBar drawing
1128 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1130 * ThemeClearlooks.cs: Removed some unneeded code.
1131 * ThemeGtk.cs: First part of ThemeGtk enhancements.
1133 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1135 * LinkLabel.cs: We need to update the hover drawing when
1136 leaving the control as well.
1138 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
1140 * DataGrid.cs: Clicking on non empty areas in the columns
1141 area was giving an exception
1143 2006-01-17 Jackson Harper <jackson@ximian.com>
1145 * ThemeWin32Classic.cs:
1146 * ListView.cs: Do not draw/clip the headers when the header style
1149 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1151 * DataGrid.cs: Fixes 77260
1153 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1155 * DataGrid.cs: Clicking on a column on a empty grid was giving
1158 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1160 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
1161 or any keypress will crash the grid.
1163 2006-01-17 Mike Kestner <mkestner@novell.com>
1165 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
1166 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
1167 invisible/previously-visible items.
1170 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
1172 * ThemeClearlooks.cs:
1173 - Added CL_Draw_Button method; now other theme controls that are
1174 not derived from button or do not have a button can draw buttons
1176 - Updated ComboBox drawing
1177 - Beautified RadioButton drawing
1178 - Corrected drawing of bottom and left tabs
1179 - Beautified DateTimePicker and MonthCalendar
1180 - Added CPDrawButton and CPDrawRadioButton
1182 2006-01-16 Jackson Harper <jackson@ximian.com>
1184 * ComboBox.cs: Set the initial value of the scrollbar to the
1185 current index. Reduce the numbers of refreshs and IndexOfs called.
1187 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
1189 * FileDialog.cs: When the file listview is focused hitting the
1190 backspace key moves the fileview to the parent directory
1192 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1195 - Added RecreateHandle call when changing taskbar visibility to
1196 trigger reparenting in Win32 driver (Fixes #75719)
1197 - If a window has minimize or maximize buttons, it cannot have
1200 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
1201 the toplevel form with FosterParent (A toolwindow not on the
1202 taskbar) (Fixes #75719)
1203 - Made FosterParent a toolwindow
1205 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1207 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
1209 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1211 * ToolTip.cs: If SetToolTip is called from a control and the mouse
1212 is currently over that control, make sure that tooltip_window.Text
1215 2006-01-13 Mike Kestner <mkestner@novell.com>
1217 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1219 2006-01-13 Jackson Harper <jackson@ximian.com>
1221 * TreeView.cs: On MS GetNodeAt never actually factors in the X
1222 value passed. Also redraw the selected node when we recieve
1223 focus, so tabbing between trees works correctly.
1225 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1227 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1228 ~/.gconf/%gconf-tree.xml, so use
1229 .gconf/desktop/gnome/interface/%gconf.xml
1231 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1233 * TextControl.cs: Draw text in gray if control is disabled
1235 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1237 * TreeView.cs: Draw the focus rectangle outside the highlight, to
1238 make sure it's always visible. Fixes #76680.
1240 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1242 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1244 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
1246 * PageSetupDialog.cs: Added.
1247 * PrintDialog.cs: Attributes.
1248 * PrintPreviewControl.cs: Updates.
1249 * PrintPreviewDialog.cs: Updates.
1251 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1253 * Control.cs: Undid my selection check fix, since it's not needed
1255 - Now considering the presence of hscroll/vscroll when sizing
1256 vscroll/hscroll respectively. Fixed bug #77077
1257 - Added Left/Up/Down/Right to IsInputKey list to prevent
1258 ContainerControl from stealing them. This fixes what I broke
1259 with my last checkin.
1261 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1263 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1264 I finally understand how the property can be set without a setter :-)
1266 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1269 - Switched RunLoop to use static Message.Create to create a
1271 - Added PreProcessMessage call in runloop for keyboard events; this
1272 is part of the fix for #77219, I overlooked this originally in the
1273 MSDN doc for PreProcessMessage
1275 - Removed call to PreProcessMessage from handling of keyboard
1276 messages; it's supposed to be done in the message pump
1277 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1278 per MSDN documentation.
1279 - IsInputChar: All chars are input chars by default; removed the
1280 parent calling chain, MS does not document that
1281 - PreProcessMessage: If IsInputChar is true, we want to return false
1282 to allow dispatching of the message
1283 - When selecting the next control, now also check that we're not
1284 selecting ourselves again and therefore return a false positive.
1286 - Tried to match return values for IsInputKey and ProcessDialogKey
1287 to what MS returns; moved processing of our special keys outside
1288 ProcessDialogKey since MS does not seem to return true on those.
1289 - Moved code that previously was in ProcessDialogKey into new private
1290 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1291 - Reworked handling of WM_CHAR to not have to duplicate code from
1292 Control.cs anymore, instead we simply call down to base.
1294 2006-01-12 Jackson Harper <jackson@ximian.com>
1296 * ComboBox.cs: We always need to refresh the text area when
1297 EndUpdate is called. Fixes the combobox in the file dialog.
1298 * Control.cs: Don't create the creator_thread until the controls
1299 handle is created. Also in InvokeRequired we check if the
1300 creator_thread is null. This gives the effect of InvokeRequired
1301 returning true if the controls handle is not created yet, and
1304 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1307 - Added StartLoop() driver method. This is used to allow drivers to
1308 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1309 loop for a particular thread
1310 - Added EndLoop() driver method. This is called once the message
1311 pump for the thread is shut down
1312 - Added SupportsTransparency method to allow the driver to indicate
1313 opacity support for windows
1315 - Removed TODO attribute, completed AllowTransparency property
1316 - Added documented logic to Opacity
1317 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1318 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1319 versions of CompatibleTextRendering
1320 * X11Structs.cs: Added opacity atom to our atom enumeration
1321 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1322 of a form might be set before it's reparented by the WM, and we need
1323 the opacity value without calling up to Form)
1324 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
1325 SupportsTransparency() driver methods
1326 * Application.cs: Now calling StartLoop and EndLoop driver methods
1328 - Added opacity atom registration
1329 - Added StartLoop()/EndLoop() methods. They're empty right now but
1330 will need to get implemented when we switch to a per-thread queue
1331 - Implemented SupportsTransparency() method
1332 - Implemented SetWindowTransparency() method
1333 - Added support for setting the opacity value when a window is
1334 reparented (since the opacity needs to be set on the WM frame)
1335 * XplatUIOSX.cs, XplatUIWin32.cs:
1336 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1338 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1340 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1342 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1344 * FileDialog.cs: Added ToolTip for MWFFileView
1345 * MimeIcon.cs: Rewrote GnomeHandler.
1346 - Get currently used gnome icon theme from
1347 ($HOME)/.gconf/%gconf-tree.xml
1348 - Make use of inherited icon themes
1349 - Support SVG icon themes like Tango via librsvg
1351 2006-01-12 Miguel de Icaza <miguel@novell.com>
1353 Revert's Jackson's revert which broke 2.0 builds. Fix both
1356 * Application.cs: Move the use_compatible_text_rendering outside
1357 the NET_2_0 define. If we ever need to use the
1358 use_compatible_text_rendering on the individual controls they will
1359 access the variable from the common shared code paths.
1361 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1364 - Added more granular debug options
1365 - Added method to print both window text and id
1366 - Switched debug output to use new Window() debug method
1367 - Added IsEnabled() driver method
1368 - Added EnableWindow() driver method
1370 - Removed end_modal; no longer needed, new loop handles termination
1371 via 'closing' variable
1372 - If form is modal, setting DialogResult will now initiate loop
1373 termination via 'closing' variable
1374 - Added support for is_enabled/WS_DISABLED to CreateParams
1375 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
1377 - Removed code that's now in RunLoop from ShowDialog()
1378 - Added various documented sanity checks to ShowDialog()
1379 - Added handling of WM_DESTROY message; we set 'closing' on getting
1380 the message to indicate the message pump to terminate
1381 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
1382 send by the Application.ExitThread method. (We send the message
1383 to destroy the window after all other events have been
1384 processed through the queue, instead of destroying the handle
1386 - Moved code from Close() method to WM_CLOSE handler; added logic
1387 to only send close-related events if the form is not displayed
1389 * Splitter.cs (..ctor): Fixed typo in resource name
1391 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
1393 - set_Cursor: Now only setting calling into XplatUI if the handle for
1394 the control is already created; this avoids implict handle creation
1395 or crashes if it's not created
1396 - set_Enabled: Now setting the enabled state via the new driver method
1397 instead of just tracking it
1398 - CreateParams: Added logic to set WS_DISABLED based on enabled state
1399 - CreateControl: Reordered event firing and method calls to more
1400 closely fire events in the order MS does. Now setting the
1401 enabled state in the driver when creating the control.
1402 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
1404 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
1405 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
1406 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
1408 - Added tracking of window enabled state (get_Enabled/set_Enabled)
1409 - Added EnabledHwnd property to easily allow a driver to find the
1410 handle of the first enabled window in the parent chain (this is
1411 used by drivers to pass up input events of disabled windows)
1412 * XplatUIDriver.cs: Added IsEnabled() method
1414 - Removed crude and obsolete exiting tracking variable
1415 - Removed internal ModalRun(); replaced by RunLoop()
1416 - Implemented private CloseForms() method to allow closing all
1417 windows owned by a particular (or all) threads
1418 - Exit() now properly closes all windows without forcing the message
1420 - Removed obsolete InternalExit() method
1421 - Changed Run() methods to use new RunLoop() message pump
1422 - Implemented new RunLoop() method for both modal and non-modal forms
1424 - get_CreateParams: Added setting of WS_DISABLED
1425 - Simplified ShowDialog(); now all the work is done in RunLoop(),
1426 invoked via Form.ShowDialog()
1427 * NativeWindow.cs: We don't remove the window from the collection when
1428 the handle is destroyed; there might still be messages for it in the
1429 queue (mainly the resulting WM_DESTROY); instead it will be removed
1430 when Control calls InvalidateHandle in the WM_DESTROY handler
1432 - CreateWindow: Added logic to handle the WS_DISABLED window style
1433 - EnableWindow: Implemented based on Hwnd.Enabled
1434 - GetMessage: Reset PostQuitState so the method can be called again
1435 - Implemented support for disabled windows (passing messages to the
1436 first enabled parent) in handling all input messages
1437 - Added optimizations for handling Expose events
1438 - Implemeted new driver method IsEnabled()
1439 - Now always resetting paint pending tracking vars when we start paint
1440 - Re-implemented UpdateWindow via just sending a WM_PAINT message
1441 * XplatUIOSX.cs: Added IsEnabled method stub
1442 * XplatUIWin32.cs: Implemented new IsEnabled() method
1444 2006-01-11 Jackson Harper <jackson@ximian.com>
1446 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1447 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
1449 * ColorDialog.cs: Clear out the old form before adding the new
1452 2006-01-11 Jackson Harper <jackson@ximian.com>
1454 * X11Dnd.cs: Make sure to add all the text formats when adding
1455 strings to the data object.
1456 * TreeNodeCollection.cs: When adding to a sorted tree we need to
1457 do some redrawing too. Also change the UpdateNode to an
1458 UpdateBelow so the newly added node gets painted.
1460 2006-01-11 Miguel de Icaza <miguel@novell.com>
1462 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1463 LinkLabel.cs, PropertyGrid.cs: Implement the
1464 UseCompatibleTextRendering property for 2.x
1466 * Application.cs (SetCompatibleTextRenderingDefault): Add.
1468 2006-01-11 Jackson Harper <jackson@ximian.com>
1470 * TreeView.cs: Use the property for setting the selected node so
1471 the correct events get raised.
1472 * TreeNode.cs: Update the tree when the fore/back colours of a
1475 2006-01-10 Jackson Harper <jackson@ximian.com>
1477 * TreeView.cs: Allow setting SelectedNode to null.
1479 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1481 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
1483 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1485 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
1487 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1489 * PrintDialog.cs: Added attributes and set default property values.
1491 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1493 * PrintControllerWithStatusDialog.cs:
1494 Added PrintControllerWithStatusDialog.
1496 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1498 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
1499 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
1501 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1503 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
1505 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
1507 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
1508 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
1510 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1512 * MimeIcon.cs: Added internal class SVGUtil.
1514 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1516 * FileDialog.cs: Don't crash if there are two files with the
1517 same name but different locations.
1519 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
1521 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
1522 dates across multiple month grids. Used to not highlight entire
1523 month, but does now.
1525 2006-01-06 Jackson Harper <jackson@ximian.com>
1527 * MonthCalendar.cs: Removed DoEvents call to prevent a running
1528 message loop. Change timer intervals to numbers that seem more
1531 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
1533 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
1534 object for location info since screen object is now implemented.
1536 2006-01-05 Jackson Harper <jackson@ximian.com>
1538 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
1539 * AsyncMethodResult.cs: We no longer use a WeakReference for the
1540 AsyncMethodResult, this is because we ALWAYS want the
1541 ManualResetEvent to get set.
1542 * Control.cs: When disposing use an async invoke to call shutdown
1543 code, so that thigns don't block on the finalizer thread. Also
1544 check if we even have a message loop before trying to send
1545 messages, if we don't then don't bother sending messages.
1546 - No more weak references for async methods
1547 * XplatUIDriver.cs: No more weak references for async methods.
1549 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1551 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
1552 returns two FontFamily with the same name
1554 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1556 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
1557 drawing disabled text. Instead using the ColorGrayText color
1559 2006-01-04 Jackson Harper <jackson@ximian.com>
1561 * TreeNode.cs: redraw the node when its image index is changed.
1563 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1565 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
1566 time I checked there are no others like it.
1568 2006-01-04 Jackson Harper <jackson@ximian.com>
1570 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
1571 this gives the behavoir I was looking for.
1572 * Control.cs: Special case Invoking EventHandlers, this matches MS
1573 and fixes part of bug #76326.
1575 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1577 * ThemeClearlooks.cs, FileDialog.cs:
1578 - Reflect the latest Theme class changes
1579 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
1582 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1584 * Theme.cs: Cache UI resource images and resize them if needed
1586 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1588 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
1589 is called. This fixes the crash in Nexxia when setting the font
1590 attributes in the chat. [However, RTF needs a look-over to make sure
1591 that all SelectionXXX methods handle the special case that selection
1592 is empty and therefore the change must be applied to all text starting
1593 at the cursor/selection start]
1595 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1597 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1598 XplatUIOSX.cs: Added SendMessage and PostMessage methods
1599 * X11Keyboard.cs: Switched to new way of calling PostMessage
1601 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1603 * Theme.cs: Added theme interface for images to allow the theme to
1604 control what images are used for things like FileDialog, MessageBox
1606 * MessageBox.cs: Now uses the new Theme icon/image interfaces
1608 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
1611 - Removed some dead code
1612 - Opening a recently used file does work now
1613 - Small UI enhancements
1616 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1618 * FileDialog.cs: Forgot too add __MonoCS__
1620 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1622 * FileDialog.cs: We are able to read recently used files now let's
1623 go on and write them.
1625 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
1627 * FileDialog.cs: Breathe some life into "last open"/"recently used"
1629 * MimeIcon.cs: Do a check for the top level media type also
1631 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1633 * ThemeClearlooks.cs:
1634 - Added CPDrawStringDisabled
1635 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
1636 some chars if the text doesn't fit into text_rect
1637 - DrawListViewItem: If View = View.LargeIcon center the image;
1638 rewrote the drawing of ListViewItem.Text if View =
1641 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1643 * MimeIcon.cs: Use default KDE icon theme if there is no
1644 "48x48" directory for the current icon theme, fixes #77114
1645 * Mime.cs: Disable not working and actually not used code.
1646 * ThemeWin32Classic.cs:
1647 - Replace "new SolidBrush" in GetControlBackBrush and
1648 GetControlForeBrush with ResPool.GetSolidBrush
1649 - Changed DrawListViewItem from private to protected virtual
1651 - Added form.MaximizeBox = true
1652 - Don't throw an exception if there is a broken symbolic link
1654 2005-12-23 Jackson Harper <jackson@ximian.com>
1656 * TabControl.cs: Give the panels focus, keyboard navigation is
1657 fixed so this works correctly now.
1658 - We need these key events also.
1659 * ToolBar.cs: Remove some of the poor mans double buffering.
1661 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
1663 * ComboBox.cs: The internal TextBox now returns the focus.
1665 2005-12-23 Jackson Harper <jackson@ximian.com>
1667 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
1669 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1671 * Control.cs: Removed debug code
1672 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
1675 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1677 * Control.cs: When creating the control, update the Z-order after
1678 all it's children are created, too. (Fixes nexxia not showing
1681 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1683 * Control.cs: Do not update the anchoring distances if layout is
1684 suspended, instead do it once layout is resumed
1686 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1689 - After many hours of debugging, for both Jackson and
1690 myself, it turns out that it helps to set the parent of a control
1691 if you want to actually see it onscreen. In the spirit of that
1692 discovery, we're now setting the parent of the control and
1693 it's children when the control's handle is created. This fix
1694 will make Lutz Roeder's Reflector run happily.
1695 - now just creating the handle instead of the whole control when
1696 getting a graphics context for the control.
1698 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1700 * ScrollableControl.cs: When calculating the canvas, don't consider
1701 the scrollbar widths. Instead, predict if horizontal scrollbar
1702 will affect canvas when deciding on vertical display and vice versa.
1704 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1706 * RichTextBox.cs: Set default RTF font for documents that don't
1707 have a font table (Fixes #77076)
1709 2005-12-22 Jackson Harper <jackson@ximian.com>
1711 * TextBoxBase.cs: It's difficult to do, but you can have an empty
1712 clipboard. This prevents a NullRef in that case.
1713 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
1714 clipboard. PRIMARY is for the currently selected text only. (We
1715 should implement PRIMARY at some point.
1717 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1719 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
1720 a Unicode function with a structure that was defined in Ansi way.
1723 2005-12-21 Jackson Harper <jackson@ximian.com>
1725 * StatusBar.cs: Statusbar handles its fore/back colours on it's
1726 on. Because thats how it rolls. (and this avoids it using ambient
1728 * ThemeWin32Classic.cs: Use the proper back color for filling.
1729 * Menu.cs: Use the system menu bar color for drawing menu
1730 bars. Using the window back color will bring ambient colours into
1733 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
1735 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
1736 Bitmaps were created and not disposed.
1738 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1740 * Control.cs (CreateControl): Don't do anything if the control is
1741 already created, otherwise we'd fire the OnCreated event more than
1744 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1746 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
1747 will always match. Instead return -1. Fixes #76464.
1749 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1751 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
1752 neither the beginning nor the end of the line (Fixes bug #76479)
1754 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1757 - ControlNativeWindow.ControlFromHandle(): Now handling situation
1758 where handle is invalid
1759 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
1760 instead of slower linear search
1761 * NativeWindow.cs: Don't remove the window from the hashtable until
1762 after the driver has destroyed it (since the driver might use
1763 Control.FromHandle to lookup the control object
1764 * Hwnd.cs: Added DestroyPending property to track if a window is
1765 already destroyed as far as the driver is concerned and only hasn't
1766 yet notified the control
1768 - Activate(): Check if the window is still valid before using the
1770 - Implemented DestroyChildWindow() method to mark child windows as
1771 destroyed when a window is destroyed. This prevents situations
1772 where we might call an X method based on queued events for a
1773 window that already has been destroyed but we haven't yet pulled
1774 the destroy method from the queue.
1775 - Added a call to the new DestroyChildWindow() method to the drivers
1776 DestroyWindow code. Also now marking the destroyed window itself
1779 2005-12-20 Jackson Harper <jackson@ximian.com>
1782 * StatusBarPanel.cs: Don't calculate panel sizes on draw
1783 anymore. Just do them when needed, also track the rects of panels
1784 so that we can optimize refreshing more in the future.
1786 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
1788 * ColorDialog.cs: Fixed focus drawing in small color controls
1790 2005-12-19 Jackson Harper <jackson@ximian.com>
1792 * InternalWindowManager.cs:
1793 * MdiWindowManager.cs: Cleanup some coordinate system changes so
1794 moving windows works properly.
1796 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
1799 - Removed call to InitLayout() from SetBoundsCore(); doc says
1800 it's only called when a control is added to a container
1801 - Split InitLayout logic, moved to separate UpdateDistances() method
1802 since we need to perform those calculations more often than just
1803 when adding the control to a container. (Needed to fix #77022)
1804 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
1805 - Reduced the OnBindingContextChanged events count, don't send them
1806 unless the control is created, we still aren't totally matching
1807 MS, but I can't quite figure out some of their rules
1809 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1811 * ThemeClearlooks.cs: Corrected distance between ProgressBar
1814 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1816 * ThemeClearlooks.cs:
1817 - Updated ProgressBar drawing
1818 - Corrected drawing of ScrollBars and scroll buttons
1819 - Some temporary fixes for minor pixel artefacts
1821 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
1824 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
1825 cause events to be sent in the same order as MS does.
1826 - Added ChangeParent() method to trigger various OnXXXChanged events
1827 that need to be fired when a parent changes (This is a reworking
1828 of the patch from r54254, with the X11 errors fixed)
1829 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
1830 since on MS we get OnLayoutChanged events when calling Clear()
1831 - Changed Enabled property to consider parent state as well, if a
1832 parent is not enabled, the control will not be either
1833 - Changed Parent property to simply call Controls.Add() since that
1834 now does all the work required, this way we avoid code duplication
1835 - Threw in a few OnBindingsContextChanged calls to try and match
1836 when MS sends them. We seem to send a few too many, though.
1837 - Added call to CreateControl when adding the control to a parent.
1838 We were never calling CreateControl. Still needs some work, in
1839 some places we treat HandleCreated and ControlCreated as equal,
1841 - Removed obsolete commented out code from UpdateZOrder()
1843 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1845 * ThemeClearlooks.cs: Updated TrackBar drawing.
1847 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1849 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
1851 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1853 * FileDialog.cs: Add the Help button and the open readonly
1854 checkbox only if needed
1856 2005-12-16 Jackson Harper <jackson@ximian.com>
1858 * Control.cs: Make sure we have an active menu before trying to
1859 process commands on it. Prevents menu-less forms from crashing
1860 when Alt is pressed.
1861 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
1863 * RichTextBox.cs: Expand statement to help out gmcs and fix the
1866 2005-12-16 Jackson Harper <jackson@ximian.com>
1868 * InternalWindowManager.cs: Don't translate tool windows screen
1869 coordinates. This fixes windows 'bouncing' around when being moved.
1871 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1874 - MaxLength now treats 2^31-1 equal to unlimited length (this is
1875 not quite MS compatible, MS uses that number only for single line
1876 and 2^32-1 for multi-line, but I figure it won't hurt keeping
1878 - Now enforcing the MaxLength limit when entering characters
1879 - Added argument to internal Paste() method to track if it's called
1880 from programatically or via keyboard, since keyboard driven pastes
1881 need to enforce max-length
1882 - Added logic to Paste to only paste as many chars as MaxLength
1884 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
1886 - Added Length property to return number of characters in document
1887 - Added private CharCount property which only tracks actual chars
1888 in the document (no linefeeds) and fires event when CharCount
1890 - Added tracking of character count to all methods that alter it
1891 - Added LengthChanged event to allow applications to subscribe
1892 to any changes to the document
1894 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1897 - Removed local password_char field (moved to TextBoxBase)
1898 - Now setting the document's password var when password is
1901 - Added password_char field (needed here so MultiLine can
1903 - Added logic to MultiLine property setter to set the document's
1904 variable when password display is allowed
1905 - Removed debug code and made some debug code conditional
1907 - Added RecalculatePasswordLine() method to handle special password
1909 - Added PasswordChar property, also added related tracking vars
1910 - Draw() method now uses local text var for grabbing text to draw,
1911 this var is set to line.text unless we're doing password display,
1912 then it is set to the pre-generated all-password-chars line
1913 - Added calling RecalculatePasswordLine() method for password lines
1915 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
1918 - Added Reparented property to allow tracking of Window Manager
1919 reparenting actions (which affect X/Y calculations of toplevel
1921 - Made ToString() print window handles in hex
1923 - AddConfigureNotify(): Now uses reparented state off Hwnd to
1924 determine if X/Y needs offsetting
1925 - AddConfigureNotify(): Fixed offset calculations
1926 - Now adds ReparentNotify messages into the queue
1927 - Now processes ReparentNotify messages and causes a
1928 WM_WINDOWPOSCHANGED message to be sent upstream if a window
1929 is reparented (as most likely it's X/Y coordinates are changed
1932 2005-12-14 Jackson Harper <jackson@ximian.com>
1934 * XplatUIX11.cs: Tool windows still need to respek focus.
1936 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
1938 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
1939 have a working release
1941 2005-12-13 Jackson Harper <jackson@ximian.com>
1943 * Form.cs: Update styles after setting the border style regardless
1944 of whether or not the window is using a window manager.
1946 2005-12-13 Jackson Harper <jackson@ximian.com>
1948 * Form.cs: We now hook into an internal window manager instead of just an
1949 MDI subsystem, this is so we can have properly behaving tool windows.
1950 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
1951 * InternalWindowManager.cs: New internal class that acts as a
1952 window manager for tool windows and as a base for mdi windows.
1953 * MdiWindowManager.cs: New class that acts as a window manager for
1956 2005-12-12 Jackson Harper <jackson@ximian.com>
1958 * Control.cs: Updates so we match behavoir for for implicit
1959 controls. Fixes explosions in MDI.
1961 2005-12-12 Jackson Harper <jackson@ximian.com>
1963 * Control.cs: Implement Invalidate (Region).
1965 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
1968 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
1969 the same events as MS does. MS fires events for each property
1970 except, for unknown reasons, Cursor, when the control is reparented.
1971 I can't seem to totally match add/remove since MS also fires some
1972 VisibleChanged events, which makes no sense. Consolidated the
1973 parenting code into a separate method so it can be called from
1974 both Add and Remove. set_Parent no longer needs any special logic
1975 as it calls the parent's add method which implicitly fires
1977 - Removed some obsolete code and debug output
1978 - Enabled state is inherited from parents, if this is enabled
1980 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
1982 * Form.cs: Removed commented out code
1984 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
1987 - Added internal version of Invoke, with additional argument
1988 indicating if we're calling it from a Dispose() handler. That
1989 way we can avoid BeginInvoke throwing an exception if we're
1990 calling for an already destroyed window.
1991 - Added a dispose argument to BeginInvokeInternal, and made the
1992 check if a valid window handle chain exists conditional on
1993 it not being a dispose call
1994 - Removed code in DestroyHandle to destroy our children. Since we
1995 now handle the WM_DESTROY message we will catch all our children
1997 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
1999 - Added a field to track the application context of the form.
2000 - No need to set closing variable as response to WM_CLOSE, instead
2001 we destroy the window. We also call PostQuitMessage if the form
2002 has an application context (which makes it the main app form,
2003 which, when closed terminates the app)
2005 - Dropped Exit() method, it's naming was confusing
2006 - Added PostQuitMessage() which causes GetMessage to return false
2007 once the message queue is empty
2008 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
2010 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2011 no longer a valid XplatUI method, but left it in since it's used
2012 internally. Added empty PostQuitMessage() method.
2013 * MenuAPI.cs: Replaced call to Exit() with call to
2014 PostQuitMessage, even though this is probably no longer needed.
2015 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2016 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2018 - Replaced call to XplatUI.Exit() with PostQuitMessage()
2019 - Removed old debug code that would call XplatUI for exception
2020 display, enabled standard exception handling (Still not enabled
2021 though, until NativeWindow's ExternalExceptionHandler define
2024 - Added internal method to allow control to update NativeWindow
2025 after a window has been destroyed
2026 - Added handling of already destroyed windows when calling i
2028 - Added removal of handle from list on ReleaseHandle
2030 - Dropped GetMessageResult var and related code
2031 - Added PostQuitState to field to track if PostQuitMessage has been
2033 - Dropped Exit() method
2034 - Added PostQuitMessage() method
2035 - GetMessage now will return false if PostQuitState is set and no
2036 more messages are in the queue.
2037 - Expose handler will no longer generate WM_PAINT messages if we are
2038 in PostQuitState since it's very likely any windows have already
2039 been destroyed, and since Hwnd won't get updated until we have
2040 processed the DestroyNotify we'd be causing X errors.
2042 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2044 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2045 Thanks to Mike for pointing out the err of my ways.
2047 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2049 * Control.cs(PreProcessMessage): Moved menu handling back, but
2050 after all other key handling, to match MS (who handles Menu in
2052 * Menu.cs (WndProc): Removed my brainfart
2054 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2056 * Control.cs(PreProcessMessage): Removed special menu handling
2057 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2059 2005-12-07 Mike Kestner <mkestner@novell.com>
2061 * Control.cs : special case SYSKEYUP so that we can adjust keynav
2062 state according in tracker.
2063 * Menu.cs : promote tracker field to base class and provide a tracker
2064 lookup capability. Add/Remove shortcuts dynamically if the top menu
2065 has a tracker. Unparent items that are removed from the collection.
2066 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2067 * Theme*.cs: add always_show_hotkeys field to support configurability
2068 of mnemonic display. win32 doesn't show mnemonics until Alt is
2071 2005-12-07 Jackson Harper <jackson@ximian.com>
2073 * MdiChildContext.cs: Use Control.ResetCursor.
2074 * Control.cs: ResetCursor needs to set the property so that the
2075 correct XplatUI call gets made.
2077 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2079 * Control.cs: More fixes to make our key events match MS. We
2080 were not setting the modifier state on KeyData, and we were
2081 not generating any events when Alt was pressed with a key
2082 since handling of WM_SYSxxx was missing for the OnKey methods.
2084 2005-12-07 Jackson Harper <jackson@ximian.com>
2086 * MdiChildContext.cs: reenable the sizing code.
2087 - When the mouse leaves a window reset its cursor.
2089 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2091 * ThemeClearlooks.cs: Reflect latest Hwnd changes
2093 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2095 * Hwnd.cs: Now using the theme 3d bordersize to calculate
2096 widths of Fixed3D borders
2098 2005-12-07 Jackson Harper <jackson@ximian.com>
2100 * MdiClient.cs: Fix warnings. Earn Mike's love.
2102 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2104 * ThemeClearlooks.cs:
2105 - Adjusted mouse over button color
2106 - Added first parts of CheckBox drawing
2107 - Added correct color for selected text background
2108 - Fixed ComboBox drawing
2109 - Added CPDrawBorder3D and CPDrawBorder
2111 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2113 * XplatUIX11.cs: Added call to XBell for AudibleAlert
2115 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2117 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2118 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
2119 alert users via sound. We could add an enum arg with different
2120 types of alerts in the future
2122 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2124 * Control.cs: Fix behaviour problems pointed out by Mike
2126 2005-12-05 Mike Kestner <mkestner@novell.com>
2128 * StatusBarPanel.cs: add Invalidate method and hook it into all the
2129 prop setters. Calls parent.Refresh for now, but could be maybe be
2130 optimized with an internal method on StatusBar at some point.
2133 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
2135 * RichTextBox.cs: Implemented get_SelectionColor
2137 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
2139 * ThemeClearlooks.cs:
2141 - Draw black button border only if button is Form.AcceptButton
2142 - Draw correct button color for pressed RadioButton if the mouse
2143 has entered the button
2144 - Updated ProgressBar drawing!
2145 - Updated CPDrawSizeGrip drawing
2146 - Updated StatusBarPanel drawing
2148 2005-12-05 Mike Kestner <mkestner@novell.com>
2150 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
2151 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2153 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
2155 * ThemeClearlooks.cs: Initial check-in, activate with
2156 export MONO_THEME=clearlooks
2157 * ThemeEngine.cs: Added ThemeClearlooks
2159 2005-12-03 Mike Kestner <mkestner@novell.com>
2161 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
2164 2005-12-02 Jackson Harper <jackson@ximian.com>
2166 * Form.cs: If the child form has no menu the default main menu is
2167 used as the active menu.
2169 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2171 * ListBox.cs: Check if any items exist before trying to resolve
2172 coordinates into items
2174 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2176 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
2177 as the second color for the background hatch
2179 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2181 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
2182 * RichTextBox.cs: FormatText position arguments are 1-based, now making
2183 sure that what we pass to FormatText is always 1-based. Fixes #76885
2185 2005-11-29 Miguel de Icaza <miguel@novell.com>
2187 * NumericUpDown.cs (EndInit): When we are done initializing,
2188 reflect any updates on the UI.
2190 2005-12-02 Jackson Harper <jackson@ximian.com>
2192 * ImplicitHScrollBar.cs:
2193 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
2194 their container controls.
2195 * TreeView.cs: Use the new implicit scrollbars.
2197 2005-12-02 Jackson Harper <jackson@ximian.com>
2199 * TreeView.cs: Make top_node internal so the TreeNodeCollections
2201 * TreeNodeCollection.cs: If we remove the topnode we need to
2202 update topnode to the next node in line.
2203 - When clearing nodes go through the same process as removing
2204 them, so they get depareneted and checked if they are top node.
2206 2005-12-01 Jackson Harper <jackson@ximian.com>
2208 * TreeView.cs: When imagelists are used the image area is
2209 selectable as well as the text.
2210 - If there are no selected nodes select the first one.
2211 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
2212 so don't do it more then we need to.
2214 2005-12-01 Jackson Harper <jackson@ximian.com>
2216 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2217 that arrows can be scaled.
2219 2005-12-01 Jackson Harper <jackson@ximian.com>
2221 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2222 fail. Patch by Dieter Bremes
2224 2005-11-30 Jackson Harper <jackson@ximian.com>
2226 * Form.cs: Property is 2.0 only
2227 * PrintDialog.cs: Signature fix.
2229 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2232 - No longer artificially moves text 2 pixels down (now that we have
2233 borders this is no longer needed)
2234 - Added calcs for left, hanging and right indent
2236 2005-11-23 Mike Kestner <mkestner@novell.com>
2238 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2240 2005-11-30 Jackson Harper <jackson@ximian.com>
2242 * MdiChildContext.cs: Set the cloned menus forms, as these don't
2243 get cloned as part of CloneMenu ().
2244 * Menu.cs: Make sure the parent of the items get set correctly
2245 when they are added. And the owners are notified of the changes.
2246 * Form.cs: Create an ActiveMenu property, so that when MDI is used
2247 we can change the menu being displayed/handled by the form without
2248 changing the menu assosciated with the form.
2249 - Don't let Mdi children draw/handle menus.
2251 2005-11-30 Jackson Harper <jackson@ximian.com>
2253 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2254 a MenuChanged event. Just to make the API a little more
2257 * MenuItem.cs: Use the new OnMenuChanged
2258 * MdiChildContext.cs: Handle menu merging.
2259 * Form.cs: Implement MergedMenu.
2261 2005-11-30 Jackson Harper <jackson@ximian.com>
2263 * Menu.cs: We were misusing Add. Add goes behind the specified
2264 index according to the docs, and does not replace the specified
2265 index. So I added an Insert method.
2267 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2269 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2270 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2272 * RichTextBox.cs: Added calls to base for DnD events
2274 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
2277 - Fixed drag-selection related crash; style fixes
2278 - Implemented undo class
2279 o Implemented method to capture document state for specified
2280 range in document tree
2281 o Implemented method to restore captured document state
2282 o Implemented cursor tracking
2283 o Implemented basic undo stack
2284 - Added undo cursor tracking to methods altering cursor location
2285 - Added undo tracking to selection deletion (still missing
2286 other text-altering hookups)
2288 - Added SelectionLength property
2289 - Implemented CanPaste()
2290 - Implemented Paste()
2291 - Added missing protected methods
2292 - Fixed RTF->Document conversion; now uses font index 0 and color
2293 index 0 as the default font for the parsed text
2294 - Fixed RTF<->Document font size translation
2295 - Fixed RTF generation, now properly handles cross-tag boundaries
2296 for single line selection
2297 - No longer always appends blank line to generated RTF
2299 - Added missing attributes
2300 - Hooked up undo-related methods
2302 - Implemented Copy()
2303 - Implemented Paste()
2305 - Fixed caret mis-behaviour on backspace across line-boundaries
2307 2005-11-29 Jackson Harper <jackson@ximian.com>
2309 * MdiClient.cs: Add a method for activating mdi children. Very
2310 basic right now. I imagine someday it might need more girth.
2311 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2312 children windows names are added to the menu item.
2313 * ThemeWin32Classic.cs: Draw the arrow if the item is an
2314 mdilist. This happens regardless of whether or not there are any
2315 mdi windows to see in the list, and according to my tests happens
2316 before the items are even added. Also happens if there isn't even
2317 an mdi client to get windows from.
2319 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
2321 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2322 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2324 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
2326 * DataGridTableStyle.cs:
2327 - Create always the styles for the missing columns even if they are
2328 provided by the user (not default table style)
2331 - Fixes SetDataBinding (always re-attach source)
2332 - Fixes SetNewDataSource (only clear styles if they are not for
2334 - Expands OnTableStylesCollectionChanged to handle style refresh
2337 2005-11-29 Jackson Harper <jackson@ximian.com>
2339 * FileDialog.cs: Implement missing bits, remove some dead
2341 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2342 creation of the panel so that the options set on the dialog are
2343 seen when the panel is created.
2344 * TreeView.cs: raise a click when items are clicked.
2346 2005-11-29 Jackson Harper <jackson@ximian.com>
2348 * MdiClient.cs: Pass some signature methods through to base.
2350 2005-11-28 Jackson Harper <jackson@ximian.com>
2352 * ListView.cs: Raise the click event when items are clicked.
2354 2005-11-28 Jackson Harper <jackson@ximian.com>
2356 * MdiClient.cs: Make this algorithm even more beautiful. And fix
2359 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
2361 * ThemeNice.cs: - Removed 1 pixel bitmaps
2362 - Use SmoothingMode.AntiAlias where it makes sense
2363 (ScrollButton arrow for example)
2364 - Enhanced Button focus drawing
2365 - Fixed ComboBox drawing (no artefacts anymore, focus
2366 rectangle is back again, reduced size of ComboButton, etc.)
2367 - Fixed RadioButton focus drawing for Appearence.Button
2368 - Slight ScrollButton redesign
2369 - Some LinearGradientBrush size fixes
2370 - GroupBoxes have now rounded edges
2371 - Fixed StatusBar drawing
2373 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
2375 * ThemeNice.cs: - Remove dead code
2376 - use correct background colors for menus, etc.
2377 - Fake pixel drawing with 1 pixel bitmaps
2379 2005-11-24 Jackson Harper <jackson@ximian.com>
2381 * MdiClient.cs: Size the scrollbars when resizing the window.
2382 - Resize the maximized windows when the client is resized
2383 * Form.cs: Make the child context available
2385 2005-11-23 Jackson Harper <jackson@ximian.com>
2387 * MdiChildContext.cs: Don't size windows if they are maximized.
2389 2005-11-23 Mike Kestner <mkestner@novell.com>
2391 * ContextMenu.cs: use MenuTracker.
2392 * Control.cs: remove menu handle usage.
2393 * Form.cs: remove menu handle usage.
2394 * Hwnd.cs: remove menu handle usage.
2395 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
2396 motion and clicks to the new Tracker handlers.
2397 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
2399 * MenuAPI.cs: refactored to combine popup and menubar event handling.
2400 Killed the MENU and MENUITEM data types and associated collections
2401 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
2402 MenuTracker class that exposes the leftovers from the old MenuAPI
2403 static methods. Restructured Capture handling so that only one grab is
2404 done for the entire menu hierarchy instead of handing off grabs to
2405 submenus. Tracker now has an invisible control to Capture when active.
2406 * MenuItem.cs: add sizing accessors, kill Create
2408 * Theme.cs: remove menu handle and MENU(ITEM) usage.
2409 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
2410 MENU(ITEM). remove menu handle usage, use Menu directly.
2411 * XplatUIDriver.cs: remove menu handle usage.
2412 * XplatUIOSX.cs: remove menu handle usage.
2413 * XplatUIWin32.cs: remove menu handle usage.
2414 * XplatUIX11.cs: remove menu handle usage.
2416 2005-11-22 Jackson Harper <jackson@ximian.com>
2418 * Hwnd.cs: Don't compute the menu size for
2419 DefaultClientRectangle.
2420 - Reenable menu sizes being computed for GetClienRectangle.
2421 * Form.cs: Remove comment of trechery
2423 2005-11-22 Jackson Harper <jackson@ximian.com>
2425 * Hwnd.cs: The adjustments for the menu bar are made when it is
2426 attached to the form.
2428 2005-11-19 Jackson Harper <jackson@ximian.com>
2430 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
2431 (just like on windows).
2433 2005-11-19 Jackson Harper <jackson@ximian.com>
2435 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
2436 use real buttons anymore because they are in non client area. The
2437 one TODO here is that I need to somehow invalidate a section of
2438 the non client area.
2440 2005-11-18 Jackson Harper <jackson@ximian.com>
2442 * Control.cs: Put the enum check back in now that MDI doesnt have
2443 to use this to set border styles.
2444 * Form.cs: Only set mdi child windows borders if the handle has
2446 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
2447 this directly on to the driver.
2448 - Get the move start position before adjusting for the titlebar
2449 height, this fixes the windows "skipping" when they are first
2452 2005-11-18 Jackson Harper <jackson@ximian.com>
2454 * XplatUIX11.cs: Just compute the mdi borders separately as they
2455 don't totally match up with normal form borders.
2457 2005-11-18 Jackson Harper <jackson@ximian.com>
2459 * Control.cs: Set WS_ styles for borders, so that the driver does
2460 not have to retrieve the control instance to figure out what kind
2461 of borders it should have.
2462 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
2463 driver can know its an mdi child easily.
2464 * XplatUIX11.cs: Get the border styles and whether the window is
2465 MDI from the Styles and ExStyles params instead of having to get a
2466 control. This prevents a chicken and egg problem.
2468 2005-11-18 Jackson Harper <jackson@ximian.com>
2470 * MdiClient.cs: Fix typo so scrollbars show up correctly.
2472 2005-11-18 Jackson Harper <jackson@ximian.com>
2474 * MdiClient.cs: Calculate when to add and remove scrollbars
2476 * MdiChildContext.cs: Adjust the y position to take the titlebar
2478 - No height for FormBorderStyle.None
2480 2005-11-18 Jackson Harper <jackson@ximian.com>
2482 * Control.cs: Allow non enum values to be used for
2483 InternalBorderStyle. MDI does this to set a special border style.
2484 - New utility methods for converting points to/from client coords
2485 - Add the newly created control to the Controls collection before
2486 updating its style. This way UpdateStyle can walk the control
2487 heirarchy to find the control if needed.
2488 so I don't need to create a new Point object all the time.
2489 * Form.cs: Let MDI windows handle their border styles.
2490 - Set styles on MDI windows so the correct title style is derived.
2491 * MdiChildContext.cs: Move all the painting and window handling
2492 into the non client area.
2493 - Use correct sizing and put correct buttons on frames based on
2494 the FormBorderStyle.
2495 - Notify the mdi client about scrolling
2496 - Need to handle the buttons ourselves now, because they are all
2497 in non client areas and we can't add controls there.
2498 * MdiClient.cs: Halfway to scrolling, this implementation is
2499 somewhat broken though, we need to check to make sure other
2500 windows aren't causing scrolling before removing the bars. Also
2501 the bars need to be drawn on top, maybe I can switch implicit
2502 controls to be on top.
2503 * Hwnd.cs: caption_height and tool_caption_height are now
2504 properties of an hwnd, this way they can be set by the driver
2505 based on the type of window they are. In X11 the window manager
2506 handles the decorations so caption_height is zero unless its an
2508 - Add 3 pixel borders for MDI windows (0xFFFF).
2509 - Get rid of some code duplication, have DefaultClientRectanle
2510 just call GetClientRectangle.
2511 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
2513 - Set border styles differently for mdi windows.
2514 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
2517 2005-11-15 Mike Kestner <mkestner@novell.com>
2519 * Menu.cs: when adding an item to the collection, if item is already
2520 parented, remove it from the parent.
2522 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
2524 * X11DesktopColors.cs: Added KDE support
2526 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
2529 - Clipboard methods now can translate Rtf format
2530 - No longer removes clipboard contents whenever a new format is added
2531 to allow placing multiple formats on the clipboard
2532 * Clipboard.cs: Clipboard now supports getting a IDataObject and
2533 will place all formats contained in it onto the clipboard. Also
2534 now cleans the clipboard before placing a new object onto it
2536 - Implemented set_Rtf
2537 - Implemented set_SelectedRtf
2538 - Created InsertRTFFromStream() method to allow single code base
2539 for all properties and methods that insert RTF into document
2540 - Removed debug output
2542 - Fixed Delete(int) to fix up line numbers
2543 - Fixed ReplaceSelection to combine start and end line
2544 - Fixed serious DeleteChars bug that would leave the document tree
2546 - Improved DumpTree with several logic checks to detect broken
2548 - Removed debug lines
2549 - Fixed Caret.WordForward/WordBack moving code, now always also
2550 updates caret.tag (fixes crash when word-selecting across tag
2551 boundaries via keyboard)
2552 - Added Insert() method for inserting multiline text into documents
2553 - Fixed DeleteChars() calculation errors that would cause a broken
2554 tag chain with multiple tag lines
2555 - DeleteChars() no longer crashes on multi-tag lines if not all tags
2556 - Split() no longer moves caret if split is at caret location
2557 - ReplaceSelection() now updates the cursor and re-displays it
2558 - ReplaceSelection() now uses new Insert() method to avoid code
2560 - FormatText() can now handle formatting partial lines
2562 - Append now uses new TextControl.Insert() method (this avoids
2564 - Implemented Ctrl-X (Cut) (
2565 - Implemented Ctrl-C (Copy)
2566 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
2567 regeneration when pasting text; roundtripping Copy&Paste within
2568 edit control still fails due to some calculation bugs in GenerateRTF)
2569 - The Delete key will now remove the current selection if it is visible
2570 * TextBox.cs: Removed debug lines
2571 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
2572 driver to be initialized and can't therefore be done via a static ctor)
2574 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
2576 * TextControl.cs: Added backend code for finding char arrays and strings
2578 - Added mouse wheel scroll support
2579 - Added support for VScroll and HScroll events
2581 - Implemented all seven Find() variants
2582 - Implemented GetCharFromPosition()
2583 - Implemented GetCharIndexFromPosition()
2584 - Implemented GetLineFromIndex()
2585 - Implemented GetPositionFromCharIndex();
2586 - Implemented SaveFile for PlainText and UnicodeText
2587 - Fixed set_Font, now setting a new font applies that font to
2589 - Implemented generic Document to RTF converter
2590 - Implemented SaveFile for RichText format (still missing unicode
2591 conversion for non-ansi chars)
2592 - Implemented get_Rtf
2593 - Implemented get_SelectedRtf
2595 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
2597 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
2598 to allow any captures to be released before triggering OnClick. This
2599 way a click handler may capture the mouse without interference.
2600 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
2601 This way we send them even though X may not allow a grab (if the window
2602 isn't visible, for example)
2604 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
2606 * DataGridViewRowEventArgs.cs: DataGridView implementation
2607 * DataGridViewElement.cs: DataGridView implementation
2608 * DataGridViewComboBoxCell.cs: DataGridView implementation
2609 * DataGridViewDataErrorContexts.cs: DataGridView implementation
2610 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
2611 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
2612 * ImageLayout.cs: DataGridView implementation
2613 * DataGridViewComboBoxColumn.cs: DataGridView implementation
2614 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
2615 * DataGridViewSelectionMode.cs: DataGridView implementation
2616 * IDataGridViewEditingControl.cs: DataGridView implementation
2617 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
2618 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
2619 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
2620 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
2621 * DataGridViewColumnSortMode.cs: DataGridView implementation
2622 * DataGridView.cs: DataGridView implementation
2623 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
2624 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
2625 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
2626 * Padding.cs: DataGridView implementation
2627 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
2628 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
2629 * DataGridViewRowEventHandler.cs: DataGridView implementation
2630 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
2631 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
2632 * DataGridViewButtonCell.cs: DataGridView implementation
2633 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
2634 * DataGridViewEditMode.cs: DataGridView implementation
2635 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
2636 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
2637 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
2638 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
2639 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
2640 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
2641 * DataGridViewCellEventHandler.cs: DataGridView implementation
2642 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
2643 * DataGridViewCellStyleConverter.cs: DataGridView implementation
2644 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
2645 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
2646 * DataGridViewColumnEventArgs.cs: DataGridView implementation
2647 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
2648 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
2649 * QuestionEventArgs.cs: DataGridView implementation
2650 * IDataGridViewEditingCell.cs: DataGridView implementation
2651 * DataGridViewTriState.cs: DataGridView implementation
2652 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
2653 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
2654 * DataGridViewColumnCollection.cs: DataGridView implementation
2655 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
2656 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
2657 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
2658 * DataGridViewColumn.cs: DataGridView implementation
2659 * DataGridViewCellBorderStyle.cs: DataGridView implementation
2660 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
2661 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
2662 * DataGridViewRow.cs: DataGridView implementation
2663 * DataGridViewImageCellLayout.cs: DataGridView implementation
2664 * DataGridViewImageCell.cs: DataGridView implementation
2665 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
2666 * DataGridViewCheckBoxCell.cs: DataGridView implementation
2667 * DataGridViewHeaderCell.cs: DataGridView implementation
2668 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
2669 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
2670 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
2671 * DataGridViewTextBoxColumn.cs: DataGridView implementation
2672 * QuestionEventHandler.cs: DataGridView implementation
2673 * DataGridViewCellStyleScopes.cs: DataGridView implementation
2674 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
2675 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
2676 * DataGridViewCell.cs: DataGridView implementation
2677 * DataGridViewCellEventArgs.cs: DataGridView implementation
2678 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
2679 * DataGridViewCellStyle.cs: DataGridView implementation
2680 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
2681 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
2682 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
2683 * TextFormatFlags.cs: DataGridView implementation
2684 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
2685 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
2686 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
2687 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
2688 * DataGridViewButtonColumn.cs: DataGridView implementation
2689 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
2690 * HandledMouseEventArgs.cs: DataGridView implementation
2691 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
2692 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
2693 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
2694 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
2695 * DataGridViewRowCollection.cs: DataGridView implementation
2696 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
2697 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
2698 * DataGridViewHitTestType.cs: DataGridView implementation
2699 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
2700 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
2701 * DataGridViewColumnEventHandler.cs: DataGridView implementation
2702 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
2703 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
2704 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
2705 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
2706 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
2707 * DataGridViewContentAlignment.cs: DataGridView implementation
2708 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
2709 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
2710 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
2711 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
2712 * DataGridViewPaintParts.cs: DataGridView implementation
2713 * DataGridViewCellCollection.cs: DataGridView implementation
2714 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
2715 * DataGridViewImageColumn.cs: DataGridView implementation
2716 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
2717 * DataGridViewElementStates.cs: DataGridView implementation
2718 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
2719 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
2720 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
2721 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
2722 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
2723 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
2724 * DataGridViewRowHeaderCell.cs: DataGridView implementation
2725 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
2726 * DataGridViewTextBoxCell.cs: DataGridView implementation
2727 * DataGridViewBand.cs: DataGridView implementation
2728 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
2729 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
2730 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
2731 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
2732 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
2733 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
2734 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
2735 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
2736 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
2737 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
2738 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
2740 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
2742 * ThemeWin32Classic.cs:
2743 - Draw the outside focus rectangle around buttons
2744 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
2745 doesn't use end caps for every dash of a line anymore. This
2746 workaround ignores the forecolor.
2748 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
2750 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
2753 2005-11-07 Jackson Harper <jackson@ximian.com>
2755 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
2757 2005-11-07 Jackson Harper <jackson@ximian.com>
2759 * ScrollableControl.cs: Calculate the maximum and change vars
2760 (more) correctly so that scrollbars appear as a sensible size.
2762 2005-11-04 Jackson Harper <jackson@ximian.com>
2764 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
2766 * TreeView.cs: When the tree is sorted null out the top_node so
2767 that it is recalculated.
2768 - Use dotted lines instead of dashed lines to match MS better.
2770 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
2773 - Implements key search for items. Useful when browsing files with FileDialog
2774 - When changing view mode or when clear the items reset scrollbar positions
2776 2005-11-04 Jackson Harper <jackson@ximian.com>
2778 * CurrencyManager.cs: Implement the MetaDataChanged event, the
2779 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
2780 as to what the method may do as there is no real way of creating a
2781 derived CurrencyManager and calling the method.
2783 2005-11-03 Jackson Harper <jackson@ximian.com>
2785 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
2786 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
2787 method which seems to just be used internally to refresh the tabs.
2789 2005-11-03 Jackson Harper <jackson@ximian.com>
2791 * TabControl.cs: Implement the remove method. Fix some broken
2794 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2796 * DateTimePicker.cs:
2797 - Added missing DateTimePickerAccessibleObject class
2798 - Added missing events
2799 - Added OnFontChanged method
2800 * Form.cs: Added missing attributes
2801 * TreeView.cs: Added missing attributes
2803 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2805 * GridItemCollection.cs: Fix signatures
2807 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2809 * XplatUI.cs: Updated build rev/date
2810 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
2811 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
2812 * Application.cs: Trigger context-specific ExitThread events
2814 2005-11-03 Jackson Harper <jackson@ximian.com>
2818 * GridTableStylesCollection.cs:
2823 * MonthCalendar.cs: Signature fixes
2825 2005-11-03 Jackson Harper <jackson@ximian.com>
2827 * TreeNodeCollection.cs: Remove should not be virtual.
2828 * TreeView.cs: Implement the last of the missing methods.
2830 2005-11-03 Jackson Harper <jackson@ximian.com>
2832 * TreeNodeConverter.cs: Implement to get off my class-status back.
2834 2005-11-03 Jackson Harper <jackson@ximian.com>
2836 * TreeView.cs: Hookup the bits for drag and drop.
2837 * TreeNode.cs: Don't cache the tree_view or index anymore, now
2838 that nodes can be moved from tree to tree easily this just causes
2839 all sorts of problems.
2840 * TreeNodeCollection: Don't need to give treenodes an index and
2841 treeview anymore when they are added, these are computed on the
2842 fly. Also make sure to remove a node before its added.
2844 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2847 - Added CaretSelection enum
2848 - Added comparison methods to Marker struct, makes selection code
2850 - Added SelectionStart and SelectionEnd as 'moveable' location for
2851 the CaretDirection enum and handler
2852 - Added selection_prev variable to track optimized invalidation for
2853 word and line selection
2854 - Added SelectionVisible property (returns true if there is a valid
2856 - Switched CaretHasFocus to only display the caret if there is no
2858 - Avoiding StringBuilder.ToString to retrieve a single char, instead
2859 using the direct character index; should be much faster
2860 - Added various conditional debug statements
2861 - Fixed invalidation calculation for selection ranges
2862 - Added ExpandSelection() method to support word and line selection
2863 - Switched SetSelectionToCaret to use new Marker compare overloads
2864 - Added central IsWordSeparator() method to determine word
2865 separators/whitespace and FindWordSeparator() to streamline common
2866 usage of IsWordSeparator()
2868 - Removed unneeded grabbed variable, it was just mirroring
2870 - No longer firing OnTextChanged event when Text setter is called,
2871 since the base will fire the event for us
2872 - Added handling of Ctrl-Up/Down selection
2873 - Added handling of Shift-Cursorkey selection
2874 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
2876 - Added handling of Shift and Ctrl-Shift-Home/End selection
2877 - Removed some debug output
2878 - Added handling for single/double/tripple-click to place caret/
2879 select word/select line respectively (Fixes bug #76031)
2880 - Added support for drag expansion of word/line selection
2881 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
2884 2005-11-02 Jackson Harper <jackson@ximian.com>
2886 * X11Dnd.cs: If the drag is going to and from a MWF window just
2887 copy the data instead of sending it out through the X Selection
2890 2005-11-02 Jackson Harper <jackson@ximian.com>
2893 * XplatUIX11.cs: When in a drag we don't want motion notify
2894 messages to get passed on to the other controls. This prevents
2895 mouse move messages from showing up in the drag source.
2897 2005-11-02 Jackson Harper <jackson@ximian.com>
2899 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
2900 the correct button is release to end a drag.
2901 * XplatUIX11.cs: Make the button state internal so the drag system
2902 can access it. Dragging needs to know about all button releases,
2903 not just left button.
2905 2005-11-02 Miguel de Icaza <miguel@novell.com>
2907 * Form.cs (Icon): If the icon is null, reset the icon to the
2910 * Cursor.cs: When writing the AND-mask bitmap do not include the
2911 number of colors, but hardcode those to two (black and white),
2912 fixes the loading of color cursors (Paint Dot Net).
2914 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
2915 turn off autoscaling.
2917 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
2919 2005-11-02 Jackson Harper <jackson@ximian.com>
2921 * X11Dnd.cs: Make sure to send a status message if the pointer
2922 enters a control that can not accept a drop, otherwise the cursor
2923 isn't updated correctly. Also tried to compress the lines of code
2926 2005-11-02 Jackson Harper <jackson@ximian.com>
2928 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
2929 set actions correctly. This isn't perfect as XDND and win32 have
2930 some differences on how you allow actions. I'll clear this up by
2931 adding a path for drag from MWF to MWF windows.
2932 * XplatUIX11.cs: Hook into the dnd system.
2934 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
2936 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
2937 previously shown but they are no longer need it. Very obvious when
2938 browsing files with FileDialog.
2940 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
2942 * Control.cs: We always need to call OnPaintBackground. We pretty much
2943 ignore AllPaintingInWmPaint and always do the painting there, whether
2944 it's set or not, since we always ignore the WM_ERASEBKGND message
2945 (which we don't generate on X11). This fixes #76616.
2946 * Panel.cs: Removed unneeded background painting. This happens properly
2947 in Control.cs already
2949 2005-10-31 Mike Kestner <mkestner@novell.com>
2951 * Menu.cs: Add items to collection before setting their index.
2952 * MenuItem.cs : add range checking with ArgumentException like MS.
2955 2005-10-31 Jackson Harper <jackson@ximian.com>
2957 * ListBox.cs: Invalidate if the area is visible at all not just
2958 contained in the visible rect. Fixes unselection of semi visible
2961 2005-10-31 Jackson Harper <jackson@ximian.com>
2963 * Control.cs: Consistently name the dnd methods. Make them
2964 internal so we can override them to match some MS behavoir
2966 * Win32DnD.cs: Use the new consistent names.
2968 2005-10-31 Jackson Harper <jackson@ximian.com>
2970 * TreeView.cs: Don't draw the selected node when we lose focus.
2972 2005-10-31 Jackson Harper <jackson@ximian.com>
2974 * X11Dnd.cs: We still need to reset the state even though a full
2975 reset isn't being done, otherwise status's still get sent all over
2978 2005-10-31 Jackson Harper <jackson@ximian.com>
2980 * Control.cs: Make the dnd_aware flag internal so the dnd
2981 subsystem can check it. Catch exceptions thrown in dnd handlers to
2983 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
2984 * X11Dnd.cs: Handle null data in the converters. Set the XDND
2985 version when sending a XdndEnter. Use the control/hwnd dnd_aware
2986 flags to reduce the number of dnd enters/status's sent.
2988 2005-10-31 Jackson Harper <jackson@ximian.com>
2990 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
2992 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
2994 * PictureBox.cs: Fixes 76512
2996 2005-10-28 Jackson Harper <jackson@ximian.com>
2998 * X11Dnd.cs: Early implementation to support winforms being a drag
2999 source for data on X11. Also restructured the converters so they
3000 can go both ways now.
3001 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3003 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
3005 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3008 2005-10-27 Jackson Harper <jackson@ximian.com>
3010 * TreeNode.cs: Implement serialization so my DnD examples will work.
3012 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
3014 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3015 TreeView.cs: Don't dispose objects that are not owned.
3017 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
3019 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3020 should retrieve the current cursor and report that, but XplatUI
3021 doesn't (yet) have an interface for that (and I'm not sure I even
3023 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3024 until any message loop processing is done (and the WM_SETCURSOR
3025 replaces the cursor to the proper one)
3027 - Fixed override behaviour, we can't set the cursor globally on X11,
3028 just for our windows.
3029 - Invalidating the System.Drawing X11 display handle when we are
3031 * Control.cs: Fix to make csc happy
3033 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
3036 - get_Text: Add last line (without trailing newline) to returned
3038 - get_TextLength: Count last line in returned length
3039 - ToString: Call Text property instead of duplicating code
3041 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
3043 * ImageList.cs: Dispose ImageAttributes objects.
3045 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3047 * ImageList.cs: Use attribute constructors with less arguments where
3050 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3052 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3053 Use typeof instead of strings when assembly is referenced. Added
3056 2005-10-21 Jackson Harper <jackson@ximian.com>
3058 * ListView.cs: Raise a double click event. Also tried to somewhat
3059 fix when the selectedindexchanged event is raised. Its still
3062 2005-10-21 Jackson Harper <jackson@ximian.com>
3064 * TreeView.cs: New method to invalidate the plus minus area of a
3065 node without invalidating the whole node (maybe this can be used
3066 in some more places).
3067 * TreeNodeCollection.cs: When adding to an empty node we need to
3068 invalidate its plus minus area so the little block shows up.
3070 2005-10-21 Jackson Harper <jackson@ximian.com>
3072 * TreeView.cs: Make sure that when we invalidate a node the bounds
3073 are big enough to cover the selected box and the focus
3074 rectangle. Use a different colour for the lines connecting nodes
3075 so they show up with all themes.
3077 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3079 * NativeWindow.cs: Don't call anything that could call into the driver,
3080 we might be on a different thread.
3082 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3084 * Control.cs(Dispose): Since Dispose might run on a different thread,
3085 make sure that we call methods that could call into the driver via
3086 invoke, to avoid thread issues
3088 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3090 * XplatUI.cs: Removed finalizer
3091 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3092 not allowing to be called on the finalizer thread.
3094 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
3097 - Reverted r51889 and r51891.
3098 - Added ImageListItem class that stores unmodified image items and image
3099 properties required to create list images until handle is created.
3100 - Added AddItem and moved image creation logic to AddItemInternal.
3101 - Added CreateHandle method that creates images based on unmodified items.
3102 - Added DestroyHandle that changes state to store unmodified items.
3103 - Add and AddStrip methods no more create handle.
3104 - ReduceColorDepth has no return value.
3105 - Dispose destroys handle.
3106 - Modified other methods to reflect the above changes.
3107 - Implemented key support.
3108 - Added profile 2.0 members and attributes.
3109 - Added private Reset and ShouldSerialize methods that provide the same
3110 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3111 them as they are private.
3112 - Added some more comments about implementation details.
3114 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3116 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
3118 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3120 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
3122 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3124 * DataGridDrawingLogic.cs: Fixes column hit calcultation
3125 * DataGridColumnStyle.cs: Remove debug message
3127 2005-10-20 Jackson Harper <jackson@ximian.com>
3129 * TreeView.cs: We can always get input keys regardless of whether
3130 or not editing is enabled. They are used for navigation.
3132 2005-10-20 Jackson Harper <jackson@ximian.com>
3134 * TreeNode.cs: Use the viewport rect for determining if a node
3135 needs to be moved for visibility. Don't use Begin/End edit. This
3136 calls a full refresh when its done.
3137 * TreeView.cs: New SetBottom works correctly. Make the viewport
3138 rect property internal so the treenodes can see it. When clicking
3139 on a node we need to ensure that its visible because it might just
3140 be partly visible when clicked.
3142 2005-10-20 Jackson Harper <jackson@ximian.com>
3144 * TreeNodeCollection.cs: Remove debug code.
3146 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3148 * Datagrid.cs: Implements column sorting in Datagrid
3149 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
3151 2005-10-20 Jackson Harper <jackson@ximian.com>
3153 * TreeNodeCollection.cs: Remove items properly. Update the correct
3154 area after removing them.
3156 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3158 * Datagrid.cs: Should not call base.OnPaintBackground
3160 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3162 * XplatUIX11.cs (GetMessage):
3163 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
3164 window instead of client window
3165 - Now properly calculates NC_xBUTTONUP message coordinates
3166 - ScreenToMenu now properly calculates it's coordinates of whole
3167 window, since menus are in the whole window, not in the client
3169 - Added WholeToScreen coordinate translation method
3171 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3173 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
3174 want to return a message, loop back to the beginning of the function
3175 and grab the next real message to process instead.
3177 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3179 * Splitter.cs: Properly set limits if no filler control is used
3181 2005-10-19 Jackson Harper <jackson@ximian.com>
3183 * ColorDialog.cs: Don't show the help button if it is not enabled
3184 instead of disabling it (this is what MS does). Don't create the
3185 panel until the dialog is run, otherwise the vars (such as
3186 ShowHelp) are not set yet.
3188 2005-10-19 Jackson Harper <jackson@ximian.com>
3190 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
3191 are reduced when adding nodes.
3193 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
3196 2005-10-19 Jackson Harper <jackson@ximian.com>
3198 * FolderBrowserDialog.cs: End editing our treeview so the window
3199 actually gets refreshed.
3201 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3203 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
3204 Obsoleted handling of WM_ERASEBKGND, now always draws our background
3207 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3209 * MenuAPI.cs: Returns after Hidding window
3210 * XplatUIX11.cs: Added TODO found while debugging menu issues
3212 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3214 * XplatUIX11.cs: Do not re-map the whole window when it's size
3215 becomes non-zero unless it's supposed to be actually visible
3217 2005-10-18 Jackson Harper <jackson@ximian.com>
3219 * TreeView.cs: We don't need to keep a count anymore.
3220 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3221 use the Grow method.
3223 2005-10-18 Jackson Harper <jackson@ximian.com>
3225 * TreeNodeCollection.cs: Insert is not supported on arrays, so
3226 implement it manually here.
3228 2005-10-18 Jackson Harper <jackson@ximian.com>
3230 * ImageList.cs: Dont kill the list when the colour depth is
3231 changed, just change the colour depth of all the images.
3232 - Same goes for setting the image size. Just resize them all
3233 instead of killing the list softly.
3235 2005-10-18 Jackson Harper <jackson@ximian.com>
3237 * Control.cs: Don't invalidate empty rectangles.
3239 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3242 - Adds checked item to the Checked/Item lists (where empty before)
3243 - Do not add items to the Selected lists if they are already present
3245 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3246 - When deleting items make sure that we delete them for the Selected
3247 and Checked list also.
3249 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3251 * Label.cs: Dispose objects no longer used
3252 * ThemeWin32Classic.cs: Dispose objects no longer used
3254 2005-10-18 Jackson Harper <jackson@ximian.com>
3256 * TabControl.cs: Don't refresh the whole control when the tabs are
3257 scrolled, we just need to refresh the tab area.
3259 2005-10-17 Jackson Harper <jackson@ximian.com>
3261 * XplatUIX11.cs: Compress code a little bit. Only calculate the
3262 after handle when we need it.
3264 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3266 * Control.cs: When the parent size changes, recalculate anchor
3267 positions. Partial fix for #76462
3269 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3271 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
3274 2005-10-17 Jackson Harper <jackson@ximian.com>
3276 * MonthCalendar.cs: Don't create the numeric up down until our
3277 handle is created. Otherwise our handle is created in the
3278 constructor and we don't know if we are a WS_CHILD or WS_POPUP
3281 2005-10-17 Jackson Harper <jackson@ximian.com>
3283 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3286 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
3287 * TreeNode.cs : small logical fix (was using local var instead of field)
3289 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3291 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3293 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3295 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3297 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
3300 - Re-implemented anchoring code. My first version was really broken.
3301 This fixes bug #76033. Unlike the previous implementation we will
3302 no longer have round errors since all numbers are calculated from
3303 scratch every time. Removed various anchor-related obsolete vars.
3304 - InitLayout no longer causes layout event firing and layout to be
3307 2005-10-16 Jackson Harper <jackson@ximian.com>
3309 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3312 2005-10-16 Jackson Harper <jackson@ximian.com>
3314 * TabControl.cs: Remove debug code.
3316 2005-10-16 Jackson Harper <jackson@ximian.com>
3318 * XEventQueue.cs: Increase the default queue size (very simple
3319 apps needed to grow the queue).
3320 * Hwnd.cs: No finalizer so we don't need to suppress
3321 finalization. Compute the invalid area manually so a new rectangle
3322 does not newto be created.
3323 * ScrollableControl.cs: Don't set any params (otherwise visibility
3324 isn't set correctly).
3325 * MdiChildContext.cs: New constructor takes the mdi parent so it
3326 doesn't have to be computed and avoids a crash on windows. Draw
3327 the window icon properly, and allow the text to be seen.
3328 * Form.cs: Use new MdiChildContext constructor. Make sure the
3329 child context isn't null in wndproc.
3330 * TabControl.cs: Don't set focus, this is muddling keyboard
3331 behavoir. Expand the tab rows when a window size increase will
3332 allow extra tabs to be seen. Don't allow tabs smaller than the
3333 width of a window to be scrolled out of view.
3335 * TreeView.cs: Use measure string to calculate a nodes width, the
3336 width is cached and only updated when the text or the font is
3337 changed. Don't check for expand/collapse clicks on the first level
3338 nodes if root lines are disabled.
3340 2005-10-16 Ritvik Mayank <mritvik@novell.com>
3342 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3344 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3346 * DataGridBoolColumn.cs: fixes warning
3348 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3350 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3351 to match more to match more precisely the MS Net behavior
3353 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3355 * Hwnd.cs: Added field to track if window is mapped
3357 - Unmap windows if they become 0-size, re-map when
3358 they are >0 again; fixes #76035
3359 - Re-set our error handler after initializing X11Desktop
3360 to override any error handlers Gtk or whatever was called
3363 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3365 * CheckedListBox.cs: Removed unused vars
3366 * ListView.cs: Fixed signatures
3367 * RichTextBox.cs: Removed unused vars
3368 * TextBoxBase.cs: Removed unused vars
3369 * XplatUIWin32.cs: Removed unused vars
3370 * XplatUIX11.cs: Removed unused vars
3371 * XplatUI.cs: Updated version and date to latest published
3373 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3375 * Cursor.cs: Added private .ctor to work around a bug in
3376 resourceset (Thanks to Geoff Norton for the help on this)
3377 * SplitterEventArgs.cs: Made fields accessible so we don't
3378 waste boatloads of objects and can reuse the same one
3380 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
3381 any captions and borders when generating screen coordinates
3382 * Splitter.cs: Reimplemented control, now fully complete, uses
3383 rubberband drawing, supports and obeys all properties, has
3386 2005-10-13 Miguel de Icaza <miguel@novell.com>
3388 * Form.cs (Form): Setup default values for autoscale and
3389 autoscale_base_size; Make these instance variables, not static
3392 (OnLoad): on the first load, adjust the size of the form.
3394 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3396 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
3397 width argument to DrawReversibleRectangle()
3398 * XplatUIWin32.cs, XplatUIX11.cs:
3399 - Implemented width for DrawReversibleRectangle()
3400 - Added logic to DrawReversibleRectangle that recognizes a zero
3401 width or height and only draws a line in that situation
3403 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3405 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
3406 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
3407 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
3408 method (it uses our FosterParent window to get a graphics context)
3410 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3412 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
3413 and SetWindowBackground methods
3415 - Setting proper ControlStyles
3416 - We no longer call XplatUI.SetWindowBackground and XplatUI.
3417 EraseWindowBackground, instead we draw the window background
3418 ourselves in PaintControlBackground. This behaviour is
3419 required to match MS, where, when OnPaintBackground is not
3420 called, the background is not drawn.
3421 - Removed unneeded Refresh() in set_Text
3422 * Hwnd.cs: Dropped the ErasePending support. No longer needed
3424 - Created DeriveStyles method to translate from CreateParams to
3425 FormBorderStyle and TitleStyle, also handles BorderStyle (which
3426 matches FormBorderStyle enum values)
3427 - Consolidated SetHwndStyles and CalculateWindowRect border/title
3428 style calculations into single DeriveStyles method
3429 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
3430 from redrawing the whole window on any resize or expose.
3431 - Fixed CreateWindow usage of SetWindowValuemask. Before not
3432 all styles were applied to our whole/client window appropriately
3433 - Removed EraseWindowBackground() and SetWindowBackground() methods
3434 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
3435 no longer clear/redraw the background through X
3436 - Removed handling of erase_pending bit, we have no use for it (or
3439 - Removed generation and handling of WM_ERASEBKGND message
3440 - Removed EraseWindowBackground() and SetWindowBackground() methods
3441 - Removed handling of hwnd.ErasePending flag
3443 - Removed EraseWindowBackground() and SetWindowBackground() methods
3444 - We no longer call EraseWindowBackground on PaintEventStart, we
3445 ignore the fErase flag, erasing is handled in Control in the
3447 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
3448 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
3449 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
3450 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
3451 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
3452 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
3453 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
3455 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
3457 * PropertyGrids.cs: Get sub properties
3458 * PropertyGridView.cs: Fix drawing code
3460 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3462 * ListBox.cs: Fixes 76383
3464 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3466 * DataGridTextBoxColumn.cs: Sets location and size before attachment
3467 * ThemeWin32Classic.cs: Fixes border drawing and calculations
3468 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
3471 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3473 * ComboBox.cs: Fixes border drawing
3475 2005-10-10 Miguel de Icaza <miguel@novell.com>
3477 * MimeIcon.cs: Ignore errors if the file can not be read.
3479 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3481 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
3482 - Fixed border calculations
3483 - Fixed horizontal scrolling in single column listboxes
3484 - Fixed drawing issues
3486 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
3488 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
3489 FormBorderStyle enum
3490 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
3491 code to determine FormBorderStyles from CreateParams
3493 - Fixed bug where we'd set the wrong window styles if we were
3494 not creating an MDI window
3495 - Added call to XplatUI.SetBorderStyle when form borders are set
3496 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
3498 - Removed obsolete edge style
3499 - Switched from BorderStyle to FormBorderStyle
3501 2005-10-10 Jackson Harper <jackson@ximian.com>
3503 * Form.cs: Use the property to get the window handle instead of
3504 accessing it directly. Prevents a null reference exception.
3506 2005-10-10 Jackson Harper <jackson@ximian.com>
3508 * TreeView.cs: Don't adjust the rect given to DrawString now that
3509 our libgdiplus draws correctly.
3511 2005-10-08 Jackson Harper <jackson@ximian.com>
3513 * TreeView.cs: Don't try to find the clicked on node if there are
3514 no nodes in the tree.
3516 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3522 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3524 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
3525 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
3527 Use ResPool for brushes and dispose System.Drawing objects that
3528 are not used anymore.
3530 2005-10-07 Jackson Harper <jackson@ximian.com>
3532 * MdiChildContext.cs: Use the new borders instead of drawing them
3535 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3537 * Calling UpdateBounds after changing the window's BorderStyle
3538 since the style can change the ClientSize
3540 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3542 * Control.cs: Made PaintControlBackground virtual
3543 * Panel.cs: Overriding PaintControlBackground instead of using paint
3544 event; paint event method was interfering with 'real' users of the
3547 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3549 * ThemeWin32Classic.cs: remove border drawing since it is handled
3550 by the base control class now and was causing double border drawing.
3552 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3554 * Panel.cs: Redraw our background on paint. Not a pretty solution,
3555 but it does seem to match MS behaviour. This fixes bug #75324
3557 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3559 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
3560 somewhat hackish looking
3562 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3565 - We now accept Enter even if AcceptEnter is false, if the containing
3566 form does not have an AcceptButton configured (fixes bug #76355)
3567 - Calculations are now fixed to no longer use Width/Height, but
3568 ClientSize.Width/Height, since we now support borders (this was
3569 a result of fixing borders and therefore bug #76166)
3570 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
3571 true (fixes bug #76354)
3573 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3576 - Defaulting BorderStyle and setting it in XplatUI when our window
3578 - Added enum check to InternalBorderStyle setter
3580 - Added drawing of window borders
3581 - Now properly calculates WM decorations offset for toplevel
3582 windows (fixes bug #74763)
3584 - Implemented BorderStyles for windows (we're letting win32 draw
3586 - Fixed the signature for SetWindowLong
3587 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
3588 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
3590 * UpDownBase.cs: Remove drawing of borders, this is handled by
3591 the driver, outside the client area
3592 * ListView.cs: Removed bogus border calculations. The control should
3593 be oblivious to borders, since those are not part of the client
3595 * X11DesktopColors.cs: Commented out (currently) unneeded variables
3596 * ThemeWin32Classic.cs: Removed border calculations from ListView
3599 2005-10-06 Jackson Harper <jackson@ximian.com>
3601 * MdiChildContext.cs: Clear out the old virtual position remove
3602 all the unneeded calls to CreateGraphics.
3604 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3606 * TextControl.cs: Use proper color for highlighted text; fixes #76350
3608 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3611 - Added loading and setting of our new default icon
3612 - Only set icon if window is already created
3614 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3617 - Do not explicitly set the foreground and background colors, to
3618 allow inheriting from parents (fixes #76302)
3619 - Use Control's InternalBorderStyle property to deal with borders
3621 2005-10-06 Jackson Harper <jackson@ximian.com>
3623 * MdiChildContext.cs: Use the new xplatui function to draw a
3626 2005-10-06 Jackson Harper <jackson@ximian.com>
3628 * Form.cs: Add the parent before creating the child context cause
3629 we need the parent when setting up the child.
3631 2005-10-06 Jackson Harper <jackson@ximian.com>
3633 * FolderBrowserDialog.cs: redo the tree population code so a
3634 second thread isn't used. Should be a lot faster and more stable
3637 2005-10-05 Jackson Harper <jackson@ximian.com>
3639 * TreeView.cs: There are no expand/collapse boxes if the node has
3642 2005-10-05 Jackson Harper <jackson@ximian.com>
3644 * X11DesktopColors.cs: Get menu colours for the gtk theme.
3646 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
3648 * FileDialog.cs: Fix InitialDirectory
3650 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3653 - Fixes changing between styles
3655 - Fixes last item crashing when navigating with keyboard
3657 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3659 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
3661 2005-10-05 Jackson Harper <jackson@ximian.com>
3663 * TreeView.cs: If updating the root node do a full refresh.
3664 * TreeNode.cs: The root node should be expanded by default. Also
3665 added a utility prop to tell if we are the root node.
3666 * TreeNodeCollection.cs: Only refresh if the node we are being
3667 added to is expanded. Also added a comment on a potential
3670 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
3672 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
3673 in dispose method. Fixes #76330
3675 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
3677 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
3679 - Implements vertical and horizontal scrolling using XplatUI
3680 - Fixes keyboard navagation
3681 - Fixes EnsureVisible
3683 - Handles and draws focus properly
3686 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
3688 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
3689 Create handle. NET_2_0: Destroy handle when value is null.
3691 2005-10-03 Jackson Harper <jackson@ximian.com>
3693 * ScrollBar.cs: My last scrollbar patch was broken. This is a
3694 revert and a new patch to prevent the thumb from refreshing so
3697 2005-10-02 Jackson Harper <jackson@ximian.com>
3699 * ScrollBar.cs: Don't update position if it hasn't actually
3700 changed. This occurs when you hold down the increment/decrement
3701 buttons and the thumb gets to the max/min.
3703 2005-10-01 Jackson Harper <jackson@ximian.com>
3706 * MdiChildContext.cs:
3707 * MdiClient.cs: Implement ActiveMdiChild in Form.
3709 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
3711 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
3713 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
3715 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
3718 2005-09-30 Jackson Harper <jackson@ximian.com>
3720 * ListBox.cs: Don't do a full refresh unless some data has
3723 2005-09-30 Jackson Harper <jackson@ximian.com>
3725 * TreeView.cs: Make sure that the checkboxes size is factored in
3726 even when not visible.
3728 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3730 * FileDialog.cs: Fix Jordi's build break
3732 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3735 - Use standard the Windows colours for the combobox as espected
3736 - Dispose objects that use resouces when no longer need them
3738 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3740 * X11DesktopColors.cs: Initial incomplete implementation
3741 * XplatUIX11.cs: Added call to initialize X11DesktopColors
3743 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3746 - Switched Theme color names to match the names defined in
3747 System.Drawing.KnownColors. Life's hard enough, no need to make
3749 - Added setters to all theme color properties so themes can set
3750 their color schemes. The setters also propagate the color changes
3751 to System.Drawing.KnownColors via reflection
3752 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
3753 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
3754 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
3755 use the new, more logical theme color names
3756 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
3758 * ThemeWin32Classic.cs:
3759 - Removed code to set the old classic Windows colors. Instead it
3760 now relies on the colors returned by System.Drawing.KnownColors
3761 which will be either modern static colors (Unix) or colors
3762 read from the user's configuration (Win32)
3763 - Updated to use the new, more logical theme color names
3764 - Switched DataGrid drawing code to use only Theme colors instead of
3765 a mix of System.Drawing.KnownColors and Theme colors
3766 - DrawFrameControl(): Removed code that fills the button area, the
3767 fill would overwrite any previous fill done by a control. This
3769 - Added DrawReversibleRectangle() stub
3770 * ScrollableControl.cs: Set visible state to false when scrollbars
3771 are removed (pdn fix)
3772 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
3773 DrawReversibleRectangle() method to allow drawing primitive
3775 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
3777 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3779 * ImageList.cs: Add(Icon): Create handle.
3781 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3784 * ThemeWin32Classic.cs:
3787 - Issues with drawing
3789 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3791 * ImageList.cs: Moved RecreateHandle back to ImageList as event
3792 source has to be the ImageList.
3794 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3796 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
3798 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3800 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
3802 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3804 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
3806 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
3807 * GridItem.cs: Fixed TODOs
3808 * GridItemCollection.cs: Added ICollection interface
3810 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3812 * ImageList.cs: Resize icons when needed.
3814 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
3817 - Fixes GetBounds and returns on screen rects
3819 - Fixes vertical and horzintal scrolling of items
3820 * ThemeWin32Classic.cs:
3823 2005-09-29 Raja R Harinath <harinath@gmail.com>
3825 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
3827 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
3829 * ImageList.cs: Added comments about handle creation. Moved Handle,
3830 HandleCreated and OnRecreateHandle implementations to ImageCollection.
3831 Handle is created in Add methods.
3833 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3835 * DataGridDrawingLogic.cs:
3836 - Takes rows into account on Colum calculations
3837 - Returns the column when clickig
3839 - Fixes default HitTestInfo values
3840 - Fixes HitTestInfo.ToString
3841 - Fixes ResetBackColor
3843 2005-09-28 Jackson Harper <jackson@ximian.com>
3845 * MdiChildContext.cs: Obey rules for fixed sized windows (no
3846 sizing or cursor changes). Also added some temp code to draw the
3847 titlebars text (Makes dev a little easier).
3849 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3851 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
3853 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3855 * ListBox.cs: Fixes bug 76253
3857 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3859 * ImageList.cs: Added comments about the current implementation. Added
3860 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
3861 Format32bppArgb to preserve transparency and can use Graphics.FromImage
3862 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
3863 with Bitmap.LockBits for better performance. Revised the whole file to
3864 match MS.NET behaviour and provide better performance. Non-public
3865 interface members are calling public members even when they throw
3866 NotSupportedException for better maintainability. Moved ColorDepth,
3867 ImageSize, ImageStream and TransparentColor implementations to
3868 ImageCollection for better performance as these properties are not used
3870 * ImageListStreamer.cs: Added a new internal constructor that takes an
3871 ImageList.ImageCollection and serializes Images based on
3872 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
3873 match ImageList property name.
3875 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
3877 * ListBox.cs: Fixes IndexFromPoint for last item
3879 2005-09-27 Jackson Harper <jackson@ximian.com>
3881 * Form.cs: Set the position of new mdi children correctly.
3883 2005-09-27 Jackson Harper <jackson@ximian.com>
3885 * MdiClient.cs: New mdi children need to be added to the back of
3886 the controls collection so the zorder is set correctly. Also add a
3887 count of all the child windows that have been created.
3889 2005-09-27 Jackson Harper <jackson@ximian.com>
3891 * Form.cs (CreateParams): Setup MDI forms correctly.
3893 2005-09-27 Jackson Harper <jackson@ximian.com>
3895 * MdiChildContext.cs:
3902 * ScrollableControl.cs:
3903 * ComboBox.cs: Add implicit controls using the new implict control
3904 functionality in ControlCollection. Also try to block multiple
3905 control add in a suspend/resume layout to save some cycles.
3907 2005-09-27 Jackson Harper <jackson@ximian.com>
3909 * Control.cs: Add functionality to the controls collection to add
3910 'implicit controls' these are controls that are created by the
3911 containing control but should not be exposed to the user. Such as
3912 scrollbars in the treeview.
3913 * Form.cs: The list var of the ControlsCollection is no longer
3914 available because of the potential of implicit controls getting
3915 ignored by someone accessing the list directly.
3917 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
3919 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
3920 loose it's parent. (Fixed bug introduced in r49103 when we added
3921 setting the child parent to null on Remove)
3923 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
3925 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
3926 * Splitter.cs: Added missing attributes for BorderStyle property.
3927 * TextBoxBase.cs: Marked Calculate* methods internal.
3928 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
3931 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
3933 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
3935 2005-09-25 Jackson Harper <jackson@ximian.com>
3937 * TreeView.cs: Update the node bounds correctly regardless of
3938 whether the node is visible.
3940 2005-09-25 Jackson Harper <jackson@ximian.com>
3942 * ImageList.cs: Don't dispose the image after it is added to the
3943 image list. Only reformat images that need to be resized.
3945 2005-09-25 Jackson Harper <jackson@ximian.com>
3947 * ImageList.cs: Don't set the format when changing the image.
3949 2005-09-25 Jackson Harper <jackson@ximian.com>
3951 * TreeView.cs: We can't just assume the node has a font. Use the
3952 treeviews font if no node font is available.
3954 2005-09-25 Jackson Harper <jackson@ximian.com>
3956 * TreeView.cs: Allow the scrollbars to be reset with negative
3958 - Don't add scrollbars to negative sized windows.
3960 2005-09-23 Jackson Harper <jackson@ximian.com>
3962 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
3963 old Mono.Posix. Also remove some stray code that shouldn't have
3966 2005-09-23 Jackson Harper <jackson@ximian.com>
3968 * TreeView.cs: Attempt at proper sizing of the horizontal
3969 scrollbar. Also don't resize the scrollbars unless they are
3972 2005-09-23 Jackson Harper <jackson@ximian.com>
3974 * TreeView.cs: We don't need to expand the invalid area when the
3975 selection changes, as this is all drawn in the node's bounding
3976 box. The area needs to be expanded (previous typo was contracting
3977 it) when the focus rect moves.
3979 2005-09-23 Jackson Harper <jackson@ximian.com>
3981 * TreeView.cs: Display the selection box under the correct
3982 circumstances. We were rendering white text with no selection box
3985 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
3987 * TextControl.cs(Split): Now updates selection start/end if it points
3988 into a line that's being split. Fixes a FIXME and bug #75258
3990 2005-09-23 Jackson Harper <jackson@ximian.com>
3993 * ListControl.cs: Don't use the path when retrieving binding
3994 managers from the binding context. My bat sense tells me that the
3995 path is only used on insertion.
3997 2005-09-22 Jackson Harper <jackson@ximian.com>
3999 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4001 2005-09-22 Jackson Harper <jackson@ximian.com>
4003 * Splitter.cs: There are special cursors used for splitting.
4004 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4006 2005-09-22 Jackson Harper <jackson@ximian.com>
4008 * Splitter.cs: Change the cursor appropriately when the splitter
4009 is moused over, so the user actually knows there is a splitter
4012 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4014 * Label.cs : Fix ToString method to give same output as MS.NET
4016 2005-09-22 Jackson Harper <jackson@ximian.com>
4018 * TreeView.cs: Create the scrollbars when the handle is created
4019 and add them right away, just make them invisble. Also account for
4020 the window being shrunk vertically to the point that the vert
4021 scrollbar needs to be added.
4022 - Remove some 0.5 adjustments to get around anti aliasing issues.
4024 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
4026 * MainMenu.cs: Fixes default value
4027 * MenuItem.cs: Fixes default value
4029 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
4031 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4033 2005-09-21 Jackson Harper <jackson@ximian.com>
4035 * Control.cs: Don't try to set the border style on the window if
4036 it hasn't been created. When the window is created the border
4039 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4041 * Control.cs (Update): Don't call XplatUI if we don't have a
4044 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4046 * ContainerControl.cs: Instead of throwing an exception, print
4047 a one-time warning about Validate not being implemented
4048 * XplatUIWin32.cs: Removed debug output
4050 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4052 * Control.cs: Only set XplatUI background if we expect the windowing
4053 system to handle the background. This stops controls that draw their
4054 own background from flickering
4056 * XplatUIX11.cs: Support custom visuals and colormaps for window
4057 creation. This allows, amongst other things, using MWF X11 windows
4060 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4062 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4063 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4064 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4065 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4066 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4067 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4068 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4069 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4070 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4071 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4072 GridColumnStylesCollection.cs,
4073 IDataGridColumnStyleEditingNotificationService.cs,
4074 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4075 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4076 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
4077 TreeNodeCollection.cs, AmbientProperties.cs,
4078 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4079 DataObject.cs, ErrorProvider.cs, Splitter.cs,
4080 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4081 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4082 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4083 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4084 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4085 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4086 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4087 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4088 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4089 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4090 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4091 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4092 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4093 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4094 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4095 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4096 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4097 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4098 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4099 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4100 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4101 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4102 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4103 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4104 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4105 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4106 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4107 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4108 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4109 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4110 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4111 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4112 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4113 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
4114 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
4116 2005-09-21 Jackson Harper <jackson@ximian.com>
4118 * TreeNode.cs: Call Before/After Expand not Collapse when
4121 2005-09-20 Jackson Harper <jackson@ximian.com>
4123 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
4125 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4129 - Fixes proper storing of subitems
4130 - Fixes not updated items
4132 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4134 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
4135 things if our window handle isn't created yet. Also disabled
4136 debug for TextBoxBase
4138 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4140 * MenuAPI.cs: Remove filtering of events to allow menu usage
4142 2005-09-20 Miguel de Icaza <miguel@novell.com>
4144 * Cursor.cs: Allow null to be passed to Cursor.Current.
4146 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
4148 * ThemeWin32Classic.cs:
4149 - Change some private methods/fields to protected virtual so that
4150 they can be accessed and overriden in derived classes
4151 - First refactoring of some methods. Derived themes now don't
4152 need to duplicate the complete code from ThemeWin32Classic
4154 - Added nice StatusBar
4155 - Derive from ThemeWin32Classic and not Theme
4156 - Removed duplicate ThemeWin32Classic code
4158 2005-09-20 Miguel de Icaza <miguel@novell.com>
4160 * Control.cs (ControlCollection.Add): If the value null is passed
4161 the control is ignored.
4165 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4167 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
4168 PostQuitMessage state.
4169 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
4171 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4173 * Application.cs: Our constructor will never get called, move
4174 initialization to fields; fixes bug #75933
4176 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4179 - Allow files to be selected properly using file name
4181 - Add ability to change diretory (absolute / relative)
4182 using file name combo box.
4184 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4187 - Fixes Multicolumn listboxes item wrong calculations
4188 - Allows to click when only one item is in the listbox
4189 - Fixes crash when no items using keyboard navigation
4191 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
4193 * ComboBox.cs: Reverted almost everything from the latest patch which
4196 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
4199 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
4201 - When DropDownStyle is Simple, it does not show scrollbar
4202 to the last item of the list.
4203 - When DropDownStyle is Simple, it crashed when the list was
4204 scrolled down with the down cursor key.
4205 - Fixed a bug that when DropDownStyle is DropDownList, the
4206 selected item was not shown.
4207 - The position of the selected item was not preserved when
4208 the next dropdown happened.
4209 * ThemeWin32Classic.cs:
4210 - Items were wrapped at the right end.
4211 * CheckedListBox.cs:
4214 - Items should be fully shown.
4215 - When resizing and vertical scrollbar disappeared, the item
4216 of index 0 should be on the top of the list.
4217 - GetItemRectangle should consider the size of ver. scrollbar
4219 - SizingGrip area should not be allocated when it is not
4221 - Now it reflects MinWidth of the containing panel and
4222 fixed a crash that happens when its width becomes so small.
4224 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4226 * CheckedListBox.cs: Fixes bug 76028
4227 * ListBox.cs: Fixes bug 76028
4229 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4231 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4232 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4234 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
4236 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4238 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4240 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
4242 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4244 * IRootGridEntry.cs: Added
4245 * PropertyGridCommands.cs: Added
4246 * PropertiesTab.cs: Added missing methods and property
4247 * PropertyGridView.cs: Made class internal
4248 * PropertyGridTextBox.cs: Made class internal
4250 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4252 * MimeIcon.cs: Try to check some other environment variables
4253 if "DESKTOP_SESSION" returns "default"
4255 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4257 * ThemeNice.cs: Corrected background colors (e.g. menus)
4258 * ColorDialog.cs: Use correct background colors for controls
4260 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4262 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4264 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
4266 * RichTextBox.cs: Added initial implementation
4267 * lang.cs: Removed. Was accidentally checked in long time ago
4268 * TODO: Removed. Contents were obsolete
4270 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4272 * PropertiesTab.cs : Added
4274 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4276 * PropertyGrid.cs : Update
4277 * PropertyGridView.cs : Update
4278 * System.Windows.Forms.resx : Added images and strings
4280 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4282 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4284 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4286 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4287 a busy loop right after the Ungrab the X11 display is otherwise
4290 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
4292 * ThemeWin32Classic.cs: Optimise the use of clipping
4294 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
4296 * DataGrid.cs: fixes recursion bug
4298 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
4301 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4304 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
4306 * ThemeNice.cs: Draw nice ProgressBars
4308 2005-09-01 Miguel de Icaza <miguel@novell.com>
4310 * VScrollBar.cs: Another buglet found by Aaron's tool.
4312 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4315 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
4318 - Added nicer menu drawing
4322 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4324 * CreateParams.cs (ToString): Made output match MS
4325 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
4326 handle is already created (to avoid forcing window creation)
4327 * XplatUIX11.cs: Set window text to caption after creating window,
4328 in case Text was set before window was created
4329 * Form.cs: Use this.Text instead of a static string as caption
4331 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4333 * NotifyIcon.cs: Don't set the window to visible; this screws
4334 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4335 OnPaint without a bitmap)
4336 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
4337 happen very often anyway; we could add the check to the WM_PAINT
4338 event generation code
4340 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4342 * NotifyIcon.cs: Fill the icon area with a background color, to
4343 avoid 'residue' when transparent icons are drawn
4345 - Handle whole_window == client_window when destroying windows
4346 - SystrayAdd(): Set client_window to whole_window value to
4347 get mouse and other events passed to NotifyIcon
4349 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4351 * Form.cs: Set proper default for Opacity property
4353 - ShowSystray(): Don't bother creating telling the OS
4354 about the systray item if no icon is provided
4355 - Now handles WM_NCPAINT message to deal with whole/client window
4357 - Create window as visible to not get caught by Expose optimization
4358 * Hwnd.cs: Removed debug message
4359 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
4360 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
4361 PaintEventStart/End to use new client argument
4363 - Commented out debug messages
4364 - Switched PaintEventStart/End to use new client argument
4365 * XplatUI.cs: Added client window bool to PaintEventStart()/
4366 PaintEventEnd() calls, to support drawing in non-client areas
4368 - Added client window bool to PaintEventStart()/PaintEventEnd()
4369 calls, to support drawing in non-client areas
4370 - Added conditional compile to allow using MWF BeginInvoke
4373 - Added some conditional debug output
4374 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
4375 whole/client window split
4376 - Implemented handling of client argument to PaintEventStart()/End()
4378 - Throw exception if BeginInvoke() is called and the window handle
4379 or one of the window's parent handles is not created
4380 - Added conditional compile to allow using MWF BeginInvoke on
4382 - get_Parent(): Only sets parent if handle is created. This avoids
4383 forcing window handle creation when parent is set.
4384 - Now fires Layout and Parent changed events in proper order
4385 - Switched to use Handle instead of window.Handle for Z-Order setting,
4386 the get_Parent() patch above causes us to possibly get null for 'window'
4387 - Implemented handling of client argument to PaintEventStart()/End()
4388 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
4390 - Now sends a Refresh() to all child windows when Refresh() is called
4392 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
4394 * Form.cs: Added (non-functional) Opacity property
4395 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
4397 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
4398 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
4399 use export MONO_THEME=nice to activate it.
4400 Currently supported controls:
4404 - TabControl (TabAlignment.Top only, other will follow)
4405 * ThemeEngine.cs: Add theme nice
4406 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
4409 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
4411 * Splitter.cs: Resize docked control and its neighbor.
4413 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4414 -- Making Windows with Menus layout correctly --
4415 * Form.cs : The first leg of the fix
4416 Menu setter - adjust Client Size as needed to make space for the menu
4417 SetClientSizeCore - doesn't call base version to be able to pass the
4418 menu handle to XplatUI.CalculateWindowRect
4419 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
4420 * XplatUIX11.cs: The critical second leg of the fix
4421 GetWindowPos needs to use a recalculated client_rect
4422 so that resizing the window doesn't break layout of child controls.
4423 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
4426 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
4428 * Label.cs: Now properly recalculates width and height on Font and Text
4429 changes if AutoSize is set
4431 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4432 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
4434 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
4436 * ImageList.cs: Makes ToString method compatible with MS
4438 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
4440 * MenuAPI.cs: fixes bug 75716
4442 2005-08-11 Umadevi S <sumadevi@novell.com>
4443 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
4445 2005-08-11 Umadevi S <sumadevi@novell.com>
4446 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
4448 2005-08-10 Umadevi S <sumadevi@novell.com>
4449 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
4451 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
4453 * Menu.cs: fixes bug 75700
4454 * MenuAPI.cs: fixes navigation issues
4456 2005-08-09 Umadevi S <sumadevi@novell.com>
4457 * CheckedListBox.cs - simple fix for GetItemChecked.
4459 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
4461 * ComboBox.cs: Serveral fixes
4462 * ListBox.cs: Serveral fixes
4464 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4466 * ComboBox.cs: Fixes FindString methods and GetItemHeight
4467 * ListBox.cs: Fixes FindString methods
4469 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4471 * DataGrid.cs: fixes bugs exposed by new tests
4473 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
4475 * Mime.cs: Compile Mono assembly references only if compiling
4476 with Mono (Allows to build with VS.Net again)
4478 2005-07-28 Marek Safar <marek.safar@seznam.cz>
4480 * Control.cs (PaintControlBackground): Draw background image
4482 (CheckForIllegalCrossThreadCalls): Stubbed.
4484 * Form.cs (OnCreateControl): Center when should be centered.
4486 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
4488 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
4490 * Binding.cs: Binding to properties should be case unsensitive
4492 2005-07-18 vlindos@nucleusys.com
4494 * DataGrid.cs: fixes setmember order
4496 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
4498 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
4499 * FileDialog.cs: FileDialog is now resizable and uses the new
4502 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
4504 * DataGridTextBoxColumn.cs: default value
4505 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
4506 * GridTableStylesCollection.cs: fixes checking MappingName
4507 * DataGridDrawingLogic.cs: fixes drawing logic issues
4508 * DataSourceHelper.cs: rewritten to make compatible with more data sources
4509 * DataGrid.cs: fixes
4511 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
4513 * MimeGenerated.cs: Use case sensitive comparer for
4514 NameValueCollections
4516 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
4518 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
4519 * ThemeWin32Classic.cs: bug fixes, code refactoring
4520 * DataGridDrawingLogic.cs: bug fixes, code refactoring
4521 * DataGrid.cs: bug fixes, code refactoring
4522 * DataGridTextBox.cs: bug fixes, code refactoring
4523 * DataGridColumnStyle.cs: bug fixes, code refactoring
4524 * Theme.cs: bug fixes, code refactoring
4526 2005-07-01 Peter Bartok <pbartok@novell.com>
4528 * TextControl.cs: Quick fix for the reported crash on ColorDialog
4529 and other text box usage
4531 2005-07-01 Jackson Harper <jackson@ximian.com>
4533 * TabControl.cs: Make sure the bottom of the tab covers the pages
4536 2005-06-30 Peter Bartok <pbartok@novell.com>
4538 * Form.cs (ShowDialog): Assign owner of the dialog
4539 * TextBoxBase.cs: Always refresh caret size when deleting, caret
4540 might have been moved to a tag with different height
4542 2005-06-30 Jackson Harper <jackson@ximian.com>
4544 * Form.cs: Don't create an infinite loop when setting focus
4545 * MenuItem.cs: Don't dirty the parents if we don't have any
4547 2005-06-29 Ben Maurer <bmaurer@ximian.com>
4549 * LibSupport.cs: Rename
4551 2005-06-29 Peter Bartok <pbartok@novell.com>
4553 * TextBoxBase.cs: Re-align caret after deleting a character
4555 - DeleteChars(): Ensure that tag covers the provided position
4556 - StreamLine(): Drop reference for dropped tag
4558 2005-06-29 Peter Bartok <pbartok@novell.com>
4561 - Selections now work properly, anchoring at the initial location
4562 and properly extending in either direction (SetSelectionToCaret(),
4563 SetSelectionStart() and SetSelectionEnd())
4564 - No longer redraws the whole control on selection change, now
4565 calculates delta between previous and new selection and only
4566 invalidates/redraws that area
4567 - Fixed FindPos() math off-by-one errors
4568 - Changed DeleteChars() to verify the provided tag covers the
4569 provided position, selections may have a tag that doesn't cover
4570 the position if the selection is at a tag border
4571 - Fixed off-by-one errors in DeleteChars()
4572 - Added missing streamlining check in DeleteChars() to remove
4574 - Implemented Invalidate() method, now properly calculates exposures
4575 between two given lines/positions
4576 - Implemented SetSelection()
4577 - Obsoleted and removed FixupSelection()
4578 - Improved RecalculateDocument() logic, removing code duplication
4580 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4582 * LibSupport.cs: changes to match different input/output arguments.
4584 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4586 * LibSupport.cs: added libsupport.so init routine.
4588 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
4590 * ControlBindingsCollection.cs
4591 - Throws an exception on null datasource when adding
4592 - Checks for duplicated bindings when adding
4594 2005-06-28 Jackson Harper <jackson@ximian.com>
4596 * TreeView.cs (OnKeyDown): Support left and right properly
4597 (navigates as well as expanding and collapsing.
4598 - Add support for Multiply, this expands all the selected nodes
4602 2005-06-28 Jackson Harper <jackson@ximian.com>
4604 * TreeView.cs: Implement keyboard navigation, currently supports,
4605 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
4606 support for toggling checkboxes with the space bar.
4608 2005-06-28 Jackson Harper <jackson@ximian.com>
4610 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
4613 2005-06-28 Jackson Harper <jackson@ximian.com>
4615 * TreeView.cs: Add missing event.
4617 2005-06-27 Peter Bartok <pbartok@novell.com>
4620 - Made line ending size configurable (now allows for counting
4621 lineendings as \n or \r\n)
4622 - Added margin to viewport to keep caret visible on right side
4623 - Fixed translation routines for line/pos to documentpos to consider
4624 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
4625 - Fixed some line-endings to be unix style
4626 - Fixed Document.FormatText to perform it's calculations 1-based
4627 - Added descriptions for a few methods that might otherwise get
4629 - Added NOTE section with some basic conventions to remember at
4631 - Major fixup for RichTextBox selection drawing:
4632 * Fixed crashes when multiple tags on a single line were selected
4633 * fixed selection box drawing not overlaying text
4634 * fixed bogus offset calculation for tags not starting at index 1
4635 * Switched behaviour from using multiple Substrings of a
4636 StringBuilder.ToString() to using multiple
4637 StringBuilder.ToString(start, length) statements, hoping this is
4638 faster (kept original version commented out in the code, in case
4639 original version was faster)
4640 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
4642 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
4645 2005-06-27 Jackson Harper <jackson@ximian.com>
4647 * TabControl.cs: Move to the left and right with the arrow
4648 keys. These keys don't cycle beyond first and last like
4649 tab. Refresh all the tabs when scrolling them to the left or
4652 2005-06-27 Jackson Harper <jackson@ximian.com>
4655 - ToString: Added method
4656 - CreateParams: Remove TODO and comment
4657 - OnKeyDown: Cycle through bounds properly.
4658 - SelectedIndex: Scroll to the right or left if we need to
4659 display the newly selected tab.
4661 2005-06-23 Jackson Harper <jackson@ximian.com>
4663 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
4666 2005-06-23 Jackson Harper <jackson@ximian.com>
4668 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
4669 CTRL-SHIFT-TAB, and HOME, END are there any others?
4671 2005-06-23 Jackson Harper <jackson@ximian.com>
4673 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
4675 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4677 * DataGridTextBoxColumn.cs: fixes and enhancements
4678 * ThemeWin32Classic.cs: fixes and enhancements
4679 * DataGridBoolColumn.cs: fixes and enhancements
4680 * DataGridDrawingLogic.cs: fixes and enhancements
4681 * CurrencyManager.cs: fixes and enhancements
4682 * DataGrid.cs: fixes and enhancements
4683 * DataGridColumnStyle.cs: fixes and enhancements
4685 2005-06-22 Jackson Harper <jackson@ximian.com>
4687 * TabControl.cs: Add some missing methods that just call into the
4688 base. Make the TabPageCollection's IList interface behave in the
4689 same manner as the MS implementation.
4691 2005-06-22 Peter Bartok <pbartok@novell.com>
4693 * TextControl.cs: Added sanity check
4695 - Fixed wrapping behaviour, don't set wrap on single line controls
4696 (this fixes the breakage of colordialog introduced in an earlier
4698 - Added rudimentary support for autoscrolling right-aligned controls
4699 (still needs fixing, also, center alignment scroll is missing)
4701 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4703 * ScrollBar.cs: Fixes thumbpos on Maximum values
4705 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
4707 * PropertyGridView.cs: Pass context information to UITypeEditors
4709 2005-06-21 Peter Bartok <pbartok@novell.com>
4712 - Now calling PositionCaret with absolute space coordinates
4713 - Enabled vertical scrolling
4714 - Better tracking of scrollbar changes, tied into WidthChange
4716 - Improved cursor tracking
4717 - Removed debug output
4719 - PositionCaret coordinates are now works in absolute space, not
4721 - Improved tracking of document size
4722 - Added events for width and height changes
4724 2005-06-21 Peter Bartok <pbartok@novell.com>
4726 * Form.cs: Set focus to active control when form is activated
4728 - Added word-wrap functionality to RecalculateLine()
4729 - Added some short function descriptions for VS.Net to aid in
4730 writing dependent controls
4731 - Added Caret property, returning the current coords of the caret
4732 - Added ViewPortWidth and ViewPortHeight properties
4733 - Added Wrap property
4734 - Added CaretMoved event
4735 - Removed some old debug code
4736 - Split() can now create soft splits
4737 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
4738 - Added method to format existing text
4739 - Fixed size/alignment calculations to use viewport
4740 - RecalculateDocument now can handle changing line-numbers while
4744 - Added some wrap logic, we don't wrap if alignment is not left
4745 - Added casts for scrollbar var, base class switched types to
4746 also support RichTextBoxA
4747 - Implemented handling of scrollbar visibility flags
4750 - Switched scrollbars type to RichTextBoxScrollBars to support
4752 - Added tracking of canvas width/height
4753 - Switched scrollbars to be not selectable (to keep focus on text)
4754 - Added central CalculateDocument() method to handle all redraw
4756 - Added ReadOnly support
4757 - Added WordWrap support
4758 - Fixed handling of Enter key (we now treat it as a DialogKey)
4759 - Fixed caret positioning when h or v scroll is not zero
4760 - Fixed placing/generation of vertical scrollbar
4761 - Added CalculateScrollBars() method to allow updating scrollbar
4762 limits and visibility
4763 - Fixed handling of horizontal scroll
4764 - Added handling of vertical scroll
4765 - Implemented auto-'jump' when caret moves to close to a left or
4766 right border and there is text to be scrolled into view (currently
4767 there's the potential for a stack overflow, until a bug in
4770 2005-06-21 Geoff Norton <gnorton@customerdna.com>
4772 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
4774 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
4778 - return application/x-zerosize for files with size zero
4779 (if no extension pattern matches).
4780 - check matches collection for strings too.
4781 - return only the first mime type if the name value
4782 collection has more than one mime type.
4784 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
4786 * PropertyGrid.cs: Cleaned up some TODOs
4787 * PropertyGridView.cs: Added support for UITypeEditors
4789 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4791 * DataGrid.cs: clears cached value
4793 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4795 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
4796 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
4797 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
4798 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
4800 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
4802 * ThemeWin32Classic.cs: fixes colour
4804 2005-06-15 Peter Bartok <pbartok@novell.com>
4806 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
4807 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
4808 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
4809 * Control.cs: Added some MWFCategory and MWFDescription attributes
4810 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
4812 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
4814 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
4817 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
4819 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
4820 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
4821 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
4822 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
4823 * DataGrid.cs: default datagrid settings for Default Styles, fixes
4824 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
4826 2005-06-13 Jackson Harper <jackson@ximian.com>
4828 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
4829 isn't printed when the user enables dropping. (X11 does accept
4832 2005-06-13 Jackson Harper <jackson@ximian.com>
4834 * TreeView.cs: Remove some TODOS.
4836 2005-06-13 Jackson Harper <jackson@ximian.com>
4838 * Form.cs: Hook into the mdi framework.
4839 * MdiClient.cs: Use the base control collections add method so
4840 parents get setup correctly. Set the default back colour and dock
4842 * MdiChildContext.cs: New class, this bad actor handles an
4843 instance of an MDI window. Right now there is only basic
4844 support. You can drag, close, and resize windows. Minimize and
4845 Maximize are partially implemented.
4847 2005-06-13 Jackson Harper <jackson@ximian.com>
4849 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
4850 freaky when both vals are negative. NOTE: There are probably other
4851 places in XplatUIX11 that this needs to be done.
4853 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
4855 * DataGrid.cs: implement missing methods, move KeyboardNavigation
4856 * DataGridColumnStyle.cs: fixes signature
4858 2005-06-12 Jackson Harper <jackson@ximian.com>
4860 * XplatUIX11.cs: Use sizing cursors similar to the ones on
4863 2005-06-11 Jackson Harper <jackson@ximian.com>
4865 * StatusBarPanel.cs: Signature cleanups. Implement
4868 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
4870 * DataGridTextBoxColumn.cs: Honors aligment
4871 * GridColumnStylesCollection.cs: Contains is case unsensitive
4872 * GridTableStylesCollection.cs: several fixes
4873 * DataGridTableStyle.cs: default column creation
4874 * DataGridDrawingLogic.cs: fixes
4875 * CurrencyManager.cs: ListName property
4876 * DataGrid.cs: multiple styles support
4877 * DataGridColumnStyle.cs: fixes
4880 2005-06-10 Peter Bartok <pbartok@novell.com>
4882 * Control.cs(Select): Moved SetFocus call to avoid potential
4883 loops if controls change the active control when getting focus
4884 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
4887 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
4889 * ImageListConverter.cs: Implemented
4891 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4893 * MonthCalendar.cs: Wired in NumericUpDown control for year
4895 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4897 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
4898 DoubleClick events, since they are not meant to be fired.
4900 2005-06-09 Peter Bartok <pbartok@novell.com>
4902 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
4903 Jonathan's standalone controls into MWF, implemented missing
4904 events, attributes and methods; added xxxAccessible classes
4905 * AccessibleObject.cs: Made fields internal so other classes
4906 can change them if needed
4908 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
4910 * UpDownBase.cs: Complete implementation
4911 * NumericUpDown.cs: Complete implementation
4912 * DomainUpDown.cs: Complete implementation
4914 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
4916 * DataGridTextBoxColumn.cs: drawing fixes
4917 * DataGridCell.cs: fixes ToString method to match MSNet
4918 * DataGridTableStyle.cs: fixes
4919 * DataGridBoolColumn.cs: fixes, drawing
4920 * DataGridDrawingLogic.cs: fixes, new methods
4921 * DataGridTextBox.cs: Keyboard and fixes
4923 - Keyboard navigation
4925 - Row selection (single, multiple, deletion, etc)
4928 2005-06-07 Jackson Harper <jackson@ximian.com>
4930 * ThemeWin32Classic.cs: Clear the background area when drawing
4933 2005-06-06 Peter Bartok <pbartok@novell.com>
4935 * ImageListStreamer.cs: Fixed signature for GetData
4936 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
4938 - Added missing ChildAccessibleObject class
4939 - Added missing OnXXXFocus overrides, switched to using those
4940 instead of the event handler
4942 - Added Parent property for ControlAccessibleObject
4945 - Added ResetBindings()
4946 * ListBindingConverter.cs: Implemented some methods
4947 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
4948 * ImageList.cs: Implemented basic handle scheme, removed TODOs
4949 * ContainerControl.cs: Fixed signature, now subscribing to the
4950 ControlRemoved event instead of overriding the handler, LAMESPEC
4951 * CurrencyManager.cs: Added missing attribute
4952 * MonthCalendar.cs: Added missing properties
4954 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
4956 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
4958 2005-06-06 Gaurav Vaish and Ankit Jain
4960 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
4961 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
4963 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
4965 * Control.cs: fixes CreateParams Width / Height.
4967 2005-06-05 Peter Bartok <pbartok@novell.com>
4969 * Win32DnD.cs: Removed compilation warnings
4971 2005-06-05 Peter Bartok <pbartok@novell.com>
4973 * Control.cs (CreateParams): Since we don't know if one of the
4974 properties we use is overridden, lets make sure if we fail accessing
4975 we continue with a backup plan
4977 2005-06-05 Peter Bartok <pbartok@novell.com>
4980 - Removed debug output
4981 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
4983 - Plugged resource leak
4984 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
4987 2005-06-05 Peter Bartok <pbartok@novell.com>
4989 * XplatUIWin32.cs: Removed DnD code
4990 * Win32DnD.cs: Implemented drop source and drop target functionality
4992 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4994 * UpDownBase.cs: remove duplicate addition of event, enable some code
4995 that was commented out.
4996 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
4997 Validate input when a key is pressed. It works fine now for every
4998 combination of Hexadecimal. Only missing some drawing love when sharing
4999 space with other controls.
5001 2005-06-04 Peter Bartok <pbartok@novell.com>
5004 - We need to pass a window for DragDrop, so enable callback events
5005 - Added DnD callback events when being a DragSource
5006 * XplatUI.cs (StartDrag): Added window handle argument
5007 * XplatUIDriver.cs (StartDrag): Added window handle argument
5008 * QueryContinueDragEventArgs: Made fields internally accessible so
5009 drivers can set them
5010 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5013 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
5015 * DataGridTextBoxColumn.cs: column text editing
5016 * DataGridTableStyle.cs: Respect columns styles created by the user
5017 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5018 * DataGridBoolColumn.cs: bool column editing
5019 * DataGrid.cs: fixes to scrolling, properties, etc
5020 * DataGridTextBox.cs: handle keyboard
5021 * DataGridColumnStyle.cs: fixes
5023 2005-06-02 Jackson Harper <jackson@ximian.com>
5025 * ImageListStreamer.cs: Somewhat broken implementation of
5026 GetObjectData. The RLE needs some work to match MS properly.
5028 2005-06-02 Jackson Harper <jackson@ximian.com>
5030 * X11Dnd.cs: Attempting to keep at least one file in MWF
5033 2005-06-02 Peter Bartok <pbartok@novell.com>
5035 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5038 2005-06-02 Peter Bartok <pbartok@novell.com>
5040 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5041 * XplatUI.cs: Added DoDragDrop() method
5042 * XplatUIDriver.cs: Added DoDragDrop() method
5044 2005-06-02 Jackson Harper <jackson@ximian.com>
5046 * Splitter.cs: Implement BorderStyle.
5048 2005-06-02 Jackson Harper <jackson@ximian.com>
5050 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5051 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5054 2005-06-02 Peter Bartok <pbartok@novell.com>
5058 - Fixed broken insertion code for SetData, now also
5059 overwrites any existing entry of the same format name
5060 * Hwnd.cs: Added list of pointers that automatically gets
5061 freed when the window is disposed
5062 * XplatUI.cs: Call driver initialization method when loading
5065 - OnDragLeave takes EventArgs, not DragEventArgs
5066 - Added setting of WS_EX_ACCEPTFILES style when dropping is
5068 - Forces style update when drop state changes
5069 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5070 not perfect since we cannot (yet) call the IDataObject.GetData()
5071 method, we keep getting 0x80004005 error, dunno why)
5073 2005-06-02 Peter Bartok <pbartok@novell.com>
5075 * DragEventArgs.cs: Make fields internal so we can cache the
5076 object and re-set the fields from XplatUI
5078 2005-06-02 Jackson Harper <jackson@ximian.com>
5080 * Control.cs: Add some internal methods so the DnD subsystem can
5081 raise DnD events. Also call into the driver when AllowDrop is set.
5083 * XplatUIDriver.cs: New method for setting whether or not a window
5084 is allowed to accept drag and drop messages.
5086 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
5088 * ScrollBar.cs: Make sure that values sent in Scroll events
5089 are always between Maximum and Minimum.
5091 2005-06-01 Marek Safar <marek.safar@seznam.cz>
5093 * Menu.cs: Call MenuChanged when menuitem visibility has been
5095 * MenuItem.cs: Rebuild menu when item is (not) visible.
5096 * MainMenu.cs: MainMenu has special MenuChanged.
5097 * Theme.cs: Caption and FrameBorderSize are not fixed.
5098 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5099 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5101 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5102 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5104 2005-05-30 Jackson Harper <jackson@ximian.com>
5106 * DataFormat.cs: We can't statically initialize this stuff because
5107 it calls into the xplatui and could create a loop. So we lazy init
5110 2005-05-28 Jackson Harper <jackson@ximian.com>
5112 * Control.cs: Proper implementation of Product(Name/Version).
5114 2005-05-27 Jackson Harper <jackson@ximian.com>
5116 * DataObject.cs: Dont crash if no data is found.
5118 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5119 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
5120 as per status page, guessing it should be set to true
5122 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
5124 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
5125 * DataGridTableStyle.cs: set proper formatting text, def header text
5126 * ThemeWin32Classic.cs: new themable paramaters
5127 * DataGridBoolColumn.cs: paint check box, get data, fixes
5128 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
5129 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
5130 * DataGridColumnStyle.cs: fixes
5131 * Theme.cs: new themable paramaters
5133 2005-05-26 Peter Bartok <pbartok@novell.com>
5135 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
5137 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5138 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
5140 2005-05-24 Peter Bartok <pbartok@novell.com>
5142 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
5143 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
5144 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
5145 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
5146 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
5147 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
5148 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
5149 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
5150 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
5151 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
5152 missing attributes, etc
5153 * DataGridPreferredColumnWidthTypeConverter.cs: Added
5155 2005-05-24 Peter Bartok <pbartok@novell.com>
5157 * Help.cs: Added, implemented trivial functions, throws up MessageBox
5158 when user tries to get help
5159 * DataObject.cs, DataFormats.cs, LinkArea.cs,
5160 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
5161 to suppress warnings
5162 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
5163 avoid unreachable code warning
5165 2005-05-20 Peter Bartok <pbartok@novell.com>
5167 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
5169 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5171 * DataGridTextBoxColumn.cs: Basic painting methods
5172 * DataGridTableStyle.cs: Set table style in the column
5173 * ThemeWin32Classic.cs: Use Theme for colors
5174 * DataGridDrawingLogic.cs: Implement more drawing
5175 * DataGrid.cs: drawing, theming, enhacements, fixes
5176 * DataGridColumnStyle.cs: fixes, drawing
5177 * Theme.cs: theming for Datagrid
5179 2005-05-20 Peter Bartok <pbartok@novell.com>
5181 * Cursor.cs: Implemented GetObjectData() method
5183 2005-05-20 Peter Bartok <pbartok@novell.com>
5185 * Cursors.cs: Added setting of cursor name
5187 - Implemented constructors
5188 - Implemented Draw and DrawStretched
5189 - Implemented Current property
5190 - Implemented == and != operators
5191 - Implemented Dispose()
5192 - Implemented ToString
5193 - Added missing attributes
5195 - Added missing reset for OverrideCursor when DoEvents is called
5196 - Fixed creation of cursor, logic was wrong
5198 - Added missing reset for OverrideCursor when DoEvents is called
5199 - Fixed creation of cursor, bit arrays were swapped
5200 * Clipboard.cs: Removed obsolete MonoTODO attribute
5202 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5204 * ComboBox.cs: fixes OnSelectedItemChanged
5205 * ControlBindingsCollection.cs: fixes item range check
5207 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5210 - Calc preferred height properly
5211 - Implement missing properties
5213 * NumericUpDown.cs: Implement missing events
5215 2005-05-19 Jackson Harper <jackson@ximian.com>
5217 * TabControl.cs: New method that resizes the tab pages before
5218 redrawing them. This as needed as the control is double buffered
5219 and sizing will not be recalculated unless ResizeTabPages is
5221 * TabPage.cs: Set base.Text instead of Text in the constructor so
5222 that UpdateOwner does not get called. Use the new Redraw method of
5223 TabControl instead of Refresh so the sizing is recalculated.
5224 * ThemeWin32Classic.cs: Draw the text for button tabs.
5226 2005-05-19 Jackson Harper <jackson@ximian.com>
5228 * Control.cs: Paint control background images. Fix typo where
5229 PaintControlBackground was not getting called correctly.
5231 2005-05-19 Peter Bartok <pbartok@novell.com>
5233 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5234 I can investigate, apparently I broke FileDialog
5236 2005-05-19 Marek Safar <marek.safar@seznam.cz>
5238 * AxHost.cs: Some simple properties.
5239 * Control.cs: window must be accessible after ctor.
5240 * Form.cs: Added TransparencyKey property.
5241 * TextBoxBase.cs: Implemented Clear. Text property can be null.
5242 * XplatUIWin32.cs: SetBorderStyle implemented.
5244 2005-05-18 Peter Bartok <pbartok@novell.com>
5246 * DataObject.cs: Entries are not global but particular to the
5247 DataObject, now it behaves that way
5248 * XplatUIWin32.cs: Implemented Clipboard methods
5249 * Clipboard.cs: Implemented
5250 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5251 * XplatUIOSX.cs: Updated to final clipboard prototypes
5252 * XplatUIX11.cs: Implemented Clipboard methods
5253 * XplatUIDriver.cs: Updated to final clipboard prototypes
5254 * XplatUIStructs.cs:
5255 - Added BITMAPINFOHEADER struct
5256 - Added ClipboardFormats enum
5258 - Added ClipboardStruct
5259 - Added Atom enum items for clipboard types
5260 - Fixed atom types for Selection event structures
5262 - Added internal properties and methods for drivers to enumerate
5264 - Switched initialization method to allow drivers to assign their
5265 own IDs even for the MS predefined clipboard IDs
5266 * XplatUI.cs: Updated to final clipboard interface
5268 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5269 * PropertyGridView.cs: Fixed compiler warnings.
5271 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5272 * PropertyGrid.cs: Added some event calls
5273 * PropertyGridView.cs: Change drawing code to use double buffering
5274 * PropertyGridTextBox.cs: Changed Text property name
5275 * GridItem.cs: Added Bounds property.
5276 * GridEntry.cs: Added Bounds property.
5278 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
5280 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5281 since GetType() may not return the correct type if the object is
5284 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
5286 * TreeNodeCollection.cs: fixes get/set item ranges
5288 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5290 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5292 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5294 * ComboBox.cs: Fix item range comparation
5295 * ListView.cs: Fix item range comparation
5297 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5300 - Clear example panel when OnPaint is called
5301 - Better solution for displaying the example panel text
5302 - Select default indexes in the ListBoxes
5304 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5306 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
5308 2005-05-11 Peter Bartok <pbartok@novell.com>
5310 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5311 * SelectionRangeConverter.cs: Implemented
5312 * PropertyGrid.cs: Fixed attribute value
5314 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5315 - Added Sebastien Pouliot's CAS Stack Propagation fixes
5316 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5317 that's common to all drivers. First methods to go there are
5318 Sebastien Pouliot's CAS Stack Propagation helper methods
5319 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5320 Sebastien Pouliot for CAS Stack Propagation
5322 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5325 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5327 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
5329 * DataGridTextBoxColumn.cs: fixed some members
5330 * GridColumnStylesCollection.cs: indexed column is case insensitive
5331 * DataGridTableStyle.cs: fixes
5332 * ThemeWin32Classic.cs: add new theme parameter
5333 * Theme.cs: add new theme parameter
5334 * DataGridDrawingLogic.cs: Datagrid's drawing logic
5335 * DataGrid.cs: fixes, new internal properties, etc.
5336 * DataGridColumnStyle.cs: allows to set grid value
5339 2005-05-10 Peter Bartok <pbartok@novell.com>
5341 * AccessibleObject.cs:
5342 - Removed MonoTODO attribute on help, method is correct
5343 - Fixed Bounds property
5344 * AxHost.cs: Moved MonoTODO
5345 * ButtonBase.cs: Now setting AccessibleObject properties
5346 * RadioButton.cs: Setting proper AccessibleObject role
5347 * CheckBox.cs: Setting proper AccessibleObject role
5348 * ControlBindingsCollection.cs: Added properties, methods and attributes
5349 * DataFormats.cs: Fixed awkward internal API, and changed to enable
5350 userdefined DataFormats.Format items as well
5351 * ListControl.cs: Removed data_member from the public eye
5352 * OpenFileDialog.cs:
5354 - Added missing attributes
5355 * SaveFileDialog.cs: Added missing attributes
5356 * ImageListStreamer.cs: Fixed code that caused warnings
5357 * LinkLabel.cs: Removed unreachable code
5358 * TreeView.cs: Fixed code that caused warnings
5359 * PropertyGridView.cs: Fixed code that caused warnings
5360 * GridColumnStylesCollection.cs: Added missing attributes
5361 * GridTableStylesCollection: Added missing attribute
5362 * PropertyManager: Added .ctor
5363 * SecurityIDType: Added
5364 * DataObject.cs: Implemented class
5365 * LinkArea.cs: Added missing attribute
5367 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
5369 * RadioButton.cs: call base method to allow to fire OnClick event
5370 * UpDownBase.cs: OnMouseUp call base method
5371 * CheckedListBox.cs: call base method before returning
5372 * TrackBar.cs: call base method before returning
5375 2005-05-10 Peter Bartok <pbartok@novell.com>
5377 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
5380 2005-05-10 Peter Bartok <pbartok@novell.com>
5382 * DataFormats.cs: Implemented
5383 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
5384 XplatUIX11.cs: Added Clipboard APIs
5385 * XplatUIWin32.cs: Implemented Clipboard APIs
5386 * FolderBrowserDialog.cs: Added missing event, attributes
5388 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
5390 * CheckBox.cs: call base method to allow to fire OnClick event
5392 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
5394 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
5396 2005-05-06 Peter Bartok <pbartok@novell.com>
5398 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
5399 * Screen.cs: Implemented
5400 * HelpNavigator.cs: Added
5401 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
5403 * HelpProvider.cs: Implemented all we can do until we have a CHM
5404 help library (which means that "What's This" does work now)
5406 2005-05-06 Jackson Harper <jackson@ximian.com>
5408 * XplatUIX11.cs: Fix waking up the main loop.
5410 2005-05-05 Peter Bartok <pbartok@novell.com>
5412 * XplatUI.cs: Updated revision
5413 * Form.cs: Removed enless loop
5414 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
5415 * Label.cs (OnPaint): Added call to base.OnPaint()
5416 * ToolTip.cs: Made ToolTipWindow reusable for other controls
5417 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
5418 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
5420 * ButtonBase.cs: Moved base.OnPaint() call to end of method
5421 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
5422 to ToolTip.ToolTipWindow for drawing and size methods; this allows
5423 reuse of ToolTipWindow by other controls
5424 * SizeGrip.cs: Moved base.OnPaint() call to end of method
5425 * XplatUIX11.cs: Now clipping drawing area (experimental)
5426 * PictureBox.cs: Moved base.OnPaint() call to end of method
5427 * Theme.cs: Fixed ToolTip abstracts to match new format
5428 * ErrorProvider.cs: Implemented
5430 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
5432 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
5436 - Implements LinkBehavior
5439 2005-05-03 Jackson Harper <jackson@ximian.com>
5441 * ListView.cs: Calculate the scrollbar positioning on resize and
5442 paint, so they get put in the correct place.
5444 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5446 * ColorDialogs.cs: The small color panels are now handled by
5447 SmallColorControl. This fixes drawing of the focus rectangle
5448 and adds a 3D border.
5450 2005-05-03 Peter Bartok <pbartok@novell.com>
5452 * Control.cs: Modified version of Jonathan Chamber's fix for
5455 2005-05-03 Jackson Harper <jackson@ximian.com>
5457 * ListView.cs: Remove redraw variable. Control now handles whether
5458 or not a redraw needs to be done, and will only raise the paint
5459 event if redrawing is needed.
5461 2005-05-03 Jackson Harper <jackson@ximian.com>
5463 * Splitter.cs: No decorations for the splitter form. Cache the
5466 2005-05-03 Jackson Harper <jackson@ximian.com>
5468 * TreeView.cs: Use dashed lines to connect nodes. Use the
5469 ControlPaint method for drawing the focus rect instead of doing
5472 2005-05-02 Peter Bartok <pbartok@novell.com>
5474 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
5476 2005-04-29 Jackson Harper <jackson@ximian.com>
5478 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
5479 entire image buffer. Just clear the clipping rectangle.
5481 2005-04-29 Jackson Harper <jackson@ximian.com>
5483 * ThemeWin32Classic.cs: Don't draw list view items that are
5484 outside the clipping rectangle.
5486 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
5488 * ListBox.cs: added horizontal item scroll
5490 2005-04-29 Jackson Harper <jackson@ximian.com>
5492 * ThemeWin32Classic.cs: Remove some old debug code that was
5493 causing flicker with the new double buffering code.
5495 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
5497 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
5498 behave like combobox and comboboxlist (still not sure if this is
5501 2005-04-28 Jackson Harper <jackson@ximian.com>
5503 * ThemeWin32Classic.cs: Don't fill the middle of progress
5504 bars. This fills areas outside of the clip bounds that don't need
5507 2005-04-28 Jackson Harper <jackson@ximian.com>
5509 * Control.cs: Don't expose functionality to touch the image buffers.
5511 * ListView.cs: We do not need to (and no longer can) manipulate
5512 the image buffers directly. All of this is handled by Control.
5514 2005-04-28 Peter Bartok <pbartok@novell.com>
5516 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5517 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
5518 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
5520 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5523 - Adjust control's height for non-simple comboboxes (bug fix)
5525 * MenuAPI.cs: remove unused var
5526 * ScrollBar.cs: remove unsed var
5528 * ListBox.cs: unselect items when clearing
5530 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5532 * ListControl.cs: honors OnPositionChanged and default Selected Item
5533 * ListBox.cs: unselect items when clearing
5535 2005-04-27 Jackson Harper <jackson@ximian.com>
5537 * X11Keyboard.cs: Initialize a default keyboard and give a warning
5538 if a "correct" keyboard is not found. This will make us not crash,
5539 but might give some users bad keyboard layouts...seems to be the
5540 same thing rewind does.
5542 2005-04-27 Jackson Harper <jackson@ximian.com>
5544 * BindingManagerBase.cs: Attach the current/position changed
5545 handlers to their respective events.
5547 2005-04-27 Jackson Harper <jackson@ximian.com>
5549 * Control.cs: Make sure that the first WM_PAINT does a full draw,
5551 * ThemeWin32Classic.cs: Don't fill the background for picture
5552 boxes. This could overright user drawing.
5553 * ComboBox.cs: Just fill the clipping rect not the entire client
5554 rect when drawing the background. This prevents pieces of the
5555 image buffer from getting overwritten and is theoretically faster.
5557 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
5559 * ComboBox.cs: Databinding support fixes, fire missing events
5560 * ListControl.cs: implement missing methods and properties, fixes
5561 * ThemeWin32Classic.cs: Databiding support on Drawing
5562 * CheckedListBox.cs: Databinding support fixes, fire missing events
5563 * ListBox.cs: Databinding support fixes, fire missing events
5565 2005-04-25 Peter Bartok <pbartok@novell.com>
5567 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
5569 2005-04-25 Jackson Harper <jackson@ximian.com>
5571 * TreeView.cs: Use the horizontal scrollbars height not width when
5572 determining how much of the client area is available.
5574 2005-04-25 Jackson Harper <jackson@ximian.com>
5576 * Control.cs: Double buffering is handled differently now. As per
5577 the spec, the extra buffer is created in the WM_PAINT message and
5578 passed down to the control's drawing code.
5586 * PropertyGridView.cs:
5598 * DateTimePicker.cs:
5600 * TreeView.cs: Update to new double buffering system.
5601 * MonthCalendar.cs: Uncomment block, as Capture is now
5602 working. Update to new double buffering
5603 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
5604 * PaintEventArgs.cs: New internal method allows us to set the
5605 graphics object. This is used for double buffering.
5606 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
5607 rectangle. The internal paint_area var has been removed from
5608 StatusBar. The clipping rect should be used instead.
5609 * Theme.cs: Give the PictureBox drawing method a clipping rect.
5610 * TabPage.cs: The RefreshTabs method was removed, so just call the
5611 tab controls Refresh method now.
5612 * TabControl.cs: Update to new double buffering. Make sure the
5613 handle is created before sizing the tab pages, otherwise we will
5614 get stuck in a loop.
5616 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
5618 * LinkLabel.cs: Fix typo, bug #74719; patch
5619 from Borja Sanchez Zamorano
5621 2005-04-22 Jackson Harper <jackson@ximian.com>
5623 * TreeNode.cs: Implement Handle stuff.
5624 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
5626 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
5628 * DataGridTextBoxColumn.cs: call base constructors, fixes
5629 * GridColumnStylesCollection.cs: missing events, methods, and functionality
5630 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
5631 * DataGridTableStyle.cs: implements create default column styles
5632 * DataGridBoolColumn.cs: which types can handle
5633 * DataGrid.cs: missing methods, fixes, new functionality
5634 * DataGridColumnStyle.cs: fixes
5636 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
5637 * FolderBrowserDialog.cs:
5638 - Use a thread to fill the TreeView
5639 - Adjusted some sizes
5641 2005-04-19 Peter Bartok <pbartok@novell.com>
5643 * LinkLabel.cs: (Re-)create the pieces when setting the Text
5644 property. Fixes #74360.
5646 2005-04-19 Jackson Harper <jackson@ximian.com>
5648 * XEventQueue.cs: Lock when getting the lockqueue size.
5649 * PictureBox.cs: Call base OnPaint
5651 2005-04-19 Peter Bartok <pbartok@novell.com>
5653 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
5654 messages were no longer being processed (this broke BeginInvoke)
5657 2005-04-18 Jackson Harper <jackson@ximian.com>
5659 * TreeView.cs: buglet that caused node images to get drawn
5660 regardless of whether or not they were in the clipping rectangle.
5662 2005-04-18 Jackson Harper <jackson@ximian.com>
5664 * CurrencyManager.cs: There are four rules for GetItemProperties:
5665 - If the type is an array use the element type of the array
5666 - If the type is a typed list, use the type
5667 - If the list contains an Item property that is not an object, use
5669 - use the first element of the list if there are any elements in
5672 2005-04-17 Jackson Harper <jackson@ximian.oom>
5674 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
5675 click. This handles offsets for scrolling properly and reduces
5676 memory. Also fixed GetNode to not offset now that TopNode works
5678 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
5680 2005-04-17 Jackson Harper <jackson@ximian.com>
5682 * CursorConverter.cs: Initial implementation.
5684 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5686 * ListControl.cs: work towards complex data binding support on ListControl
5687 * CurrencyManager.cs: work towards complex data binding support on ListControl
5688 * ListBox.cs: work towards complex data binding support on ListControl
5691 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5693 * GridTableStylesCollection.cs: fixes name and constructor
5694 * DataGridTableStyle.cs: fixes
5695 * DataGridBoolColumn.cs: fixes names and constructors
5696 * DataGrid.cs: define methods and properties. Some init implementations
5697 * DataGridCell.cs: define methods and properties. Some init implementations
5698 * GridTablesFactory.cs: Define methods and properties
5700 2005-04-15 Geoff Norton <gnorton@customerdna.com>
5702 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
5703 graphics port changes. We still want the coordinates in global screen
5706 2005-04-14 Jackson Harper <jackson@ximian.com>
5708 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
5709 check plus minus or checkbox clicks unless those features are enabled.
5711 2005-04-14 Jackson Harper <jackson@ximian.com>
5713 * TreeView.cs: Add methods for setting the top and bottom visible
5714 nodes. TreeNode::EnsureVisible uses these methods.
5715 * TreeNode.cs: Implement EnsureVisible
5717 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
5719 * Form.cs: Pospone menu assignation if the window has not been created yet
5720 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
5723 2005-04-12 Jackson Harper <jackson@ximian.com>
5725 * TreeView.cs: Set the TopNode properly when scrolling
5726 occurs. This has the added benifit of reducing the amount of
5727 walking that needs to be done when drawing. Also removed an old
5729 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
5731 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
5733 * Timer.cs: fixes interval setting when the timer is already enabled
5735 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
5737 * FolderBrowserDialog.cs: First approach
5739 2005-04-09 Peter Bartok <pbartok@novell.com>
5741 * FolderBrowserDialog: Added
5743 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
5745 * LinkLabel.cs: move drawing code into the theme
5746 * ThemeWin32Classic.cs: drawing code and painting background bugfix
5747 * Theme.cs: define DrawLinkLabel method
5749 2005-04-05 Jackson Harper <jackson@ximian.com>
5751 * BindingContext.cs: Use weak references so these bad actors don't
5752 stay alive longer then they need to.
5754 2005-04-05 Jackson Harper <jackson@ximian.com>
5756 * ListControl.cs: Basic implementation of complex databinding.
5758 * ListBox.cs: Add calls to ListControl databinding methods.
5760 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
5763 - Don't change PopupButtonState to Normal when the
5764 PopupButton gets pressed several times.
5765 - Renamed ButtonPanel to PopupButtonPanel
5767 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
5769 * ColorDialog.cs: Use cached objects instead of creating them
5770 * LinkLabel.cs: Use cached objects instead of creating them
5771 * Splitter.cs: Use cached objects instead of creating them
5772 * FontDialog.cs: Use cached objects instead of creating them
5773 * PropertyGridView.cs: Use cached objects instead of creating them
5774 * MessageBox.cs: Use cached objects instead of creating them
5775 * FileDialog.cs: Use cached objects instead of creating them
5776 * ThemeWin32Classic.cs: Use cached objects instead of creating them
5777 * TreeView.cs: Use cached objects instead of creating them
5779 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
5781 * Control.cs: use Equals to compare the font since no == op
5782 * ScrollBar.cs: use Equals to compare the font since no == op
5784 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
5786 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
5788 2005-04-01 Jackson Harper <jackson@ximian.com>
5790 * Binding.cs: Implement IsBinding.
5791 * BindingManagerBase.cs:
5792 * PropertyManager.cs:
5793 * CurrencyManager.cs: Add IsSuspended property.
5795 2005-04-01 Jackson Harper <jackson@ximian.com>
5797 * Binding.cs: Had some IsAssignableFrom calls backwards.
5799 2005-04-01 Jackson Harper <jackson@ximian.com>
5801 * Binding.cs: Handle null data members when pulling data.
5802 * PropertyManager.cs: Handle the data member being a property that
5805 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5807 * DataGridTextBoxColumn.cs: fixes signature
5808 * DataGrid.cs: calls right constructor
5810 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5812 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
5813 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
5814 * GridTableStylesCollection.cs: implements GridTableStylesCollection
5815 * DataGridTableStyle.cs: implements DataGridTableStyle
5816 * DataGridBoolColumn.cs: implements DataGridBoolColumn
5817 * DataGridTextBox.cs: implements DataGridTextBox
5818 * DataGridColumnStyle.cs: implements DataGridColumnStyle
5820 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
5822 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
5824 2005-03-29 Peter Bartok <pbartok@novell.com>
5827 - Properly implemented CompanyName property
5828 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
5829 returns a path that includes CompanyName, ProductName and
5830 Version (fixes bug #70330)
5832 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
5834 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
5837 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5839 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
5841 - Added ReadOnly CheckBox
5842 - Further refactoring: moved some code from Open-/SaveFileDialog
5845 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5847 * OpenFileDialog.cs: Fixed CheckFileExists
5849 Moved FileView and DirComboBox outside FileDialog class.
5850 They can now be used outside FileDialog
5852 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5854 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
5855 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
5857 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5859 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
5860 - Added missing CreatePrompt property in SaveDialog
5861 - Overall SaveDialog handling should be better now
5862 - Added non standard ShowHiddenFiles property
5863 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
5864 - Added InitialDirectory and RestoreDirectory support
5866 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
5868 * FileDialog.cs: Made dirComboBox usable
5870 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
5872 * FileDialog.cs: Added Filter support (case sensitiv)
5874 2005-03-24 Jackson Harper <jackson@ximian.com>
5876 * TabControl.cs: Need a couple more pixels for the lines.
5878 2005-03-23 Jackson Harper <jackson@ximian.com>
5880 * TabControl.cs: Give the tab page focus when it is selected.
5882 2005-03-23 Jackson Harper <jackson@ximian.com>
5884 * TabControl.cs: Account for the drawing of tabs borders when
5885 invalidating. If the slider was clicked dont do click detection on
5888 2005-03-23 Jackson Harper <jackson@ximian.com>
5890 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
5892 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
5894 * CategoryGridEntry.cs: Added
5895 * GridItem.cs: Added helper properties
5896 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
5897 * GridEntry.cs: Updated code for collection
5898 * PropertyGrid.cs: Cleaned up some formatting
5899 * PropertyGridView.cs: Added drop down functionality for enums.
5900 * GridItemCollection.cs: Added enumerator logic
5901 * PropertyGridEntry.cs: Added
5903 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5906 - Removed unnecessary commented code
5907 - Fixed handling for entering the filename manually in the combobox
5909 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5911 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
5913 2005-03-18 Peter Bartok <pbartok@novell.com>
5915 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
5916 them being touching the border
5918 2005-03-18 Peter Bartok <pbartok@novell.com>
5920 * TextControl.cs: Quick hack to center text better
5922 2005-03-18 Peter Bartok <pbartok@novell.com>
5925 - Don't throw NotImplemented exceptions, just print a notice once
5926 instead (requested by Miguel). This makes running existing SWF
5929 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
5930 - Added context menu trigger on right click
5931 * Panel.cs: Trigger invalidate on resize
5933 - Removed old double-buffer drawing
5934 - Added ResizeRedraw style to force proper update of statusbar
5936 - Removed debug output
5937 * ThemeWin32Classic.cs:
5938 - Fixed drawing of status bar, now draws Text property if there
5939 are no defined panels
5941 2005-03-18 Jackson Harper <jackson@ximian.com>
5943 * ImageList.cs: When the image stream is set pull all the images
5945 * ImageListStreamer.cs: Implement reading image list streams.
5947 2005-03-18 Peter Bartok <pbartok@novell.com>
5949 * ThemeWin32Classic.cs (DrawPictureBox):
5950 - Fixed calculations for centered drawing
5951 - Fixed drawing for normal mode, not scaling the image on normal
5953 2005-03-18 Peter Bartok <pbartok@novell.com>
5955 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
5958 - Made Open/Save button the accept button for FileDialog
5959 - Tied the cancel button to the IButtonControl cancel button
5960 - Save/Open now properly builds the pathname
5961 - Now handles user-entered text
5962 - Preventing crash on right-click if no item is selected
5963 - Fixed Text property, now uses contents of textbox
5964 - Fixed SelectedText property, now just returns the text part that
5965 is selected in the text box
5967 2005-03-18 Jackson Harper <jackson@ximian.com>
5969 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
5970 rect, make sure to de-adjust the interior rect after drawing the
5973 2005-03-18 Peter Bartok <pbartok@novell.com>
5975 * MenuAPI.cs: Remove menu *before* executing selected action to
5976 prevent the menu from 'hanging around'
5978 2005-03-17 Geoff Norton <gnorton@customerdna.com>
5980 * XplatUIOSX.cs: Implemented WorkingArea property
5982 2005-03-17 Peter Bartok <pbartok@novell.com>
5984 * XplatUIX11.cs: Fixed menu coord calculations
5985 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
5986 for calculating offsets
5988 2005-03-17 Peter Bartok <pbartok@novell.com>
5990 * Hwnd.cs: Do not consider menu presence for default client
5991 rectangle location/size
5992 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
5993 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
5994 translation functions
5995 * FileDialog.cs: Fixed (what I presume is a) typo
5997 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
5999 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6000 X access (avoids X-Async errors)
6002 2005-03-16 Jackson Harper <jackson@ximian.com>
6004 * TabControl.cs: Raise the SelectedIndexChanged event.
6006 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
6008 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6009 - Removed vertical ToolBar and replaced it with a custom panel
6010 (desktop and home button already work)
6011 - Added Help button (some controls get resized or relocated then)
6012 - Draw correct text depending on Open or Save.
6013 - Fixed some typos...
6015 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
6018 - Only change Maximum and Minimum when need it (bug fix)
6020 2005-03-15 Peter Bartok <pbartok@novell.com>
6022 * Form.cs: Use Handle for icon, to trigger creation if
6023 the window does not yet exist
6025 - CanSelect: Slight performance improvement
6026 - Focus(): Preventing possible recursion
6027 - Invalidate(): Removed ControlStyle based clear flag setting
6028 - WM_PAINT: fixed logic for calling OnPaintBackground
6029 - WM_ERASEBKGND: Fixed logic, added call to new driver method
6030 EraseWindowBackground if the control doesn't paint background
6032 - Moved EraseWindowBackground() method to internal methods
6033 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6034 is sent via SendMessage on BeginPaint call on Win32
6036 - Added EraseWindowBackground() method
6037 - No longer sends WM_ERASEBKGND on .Expose, but on call to
6038 PaintEventStart, which more closely matches Win32 behaviour
6039 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6040 - Fixed SetFocus() to properly deal with client and whole windows
6041 * Hwnd.cs: Added ErasePending property
6042 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6043 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6045 2005-03-12 Geoff Norton <gnorton@customerdna.com>
6048 - Fix hard loop when timers exist.
6049 - Fix bugs with middle and right click for 3 button mice.
6051 2005-03-11 Peter Bartok <pbartok@novell.com>
6054 - get_WorkingArea: Need to call X directly, GetWindowPos only
6055 returns cached data now
6056 - Added sanity check to GetWindowPos hwnd usage
6058 2005-03-11 Jackson Harper <jackson@ximian.com>
6060 * BindingManagerBase.cs: This method isn't used anymore as
6061 PullData now updates the data in the control.
6063 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
6065 * Form.cs: fixes menu drawing on X11
6066 * MenuAPI.cs: fixes menu drawing on X11
6068 2005-03-11 Peter Bartok <pbartok@novell.com>
6070 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6071 from Jonathan Gilbert; should fix bug #73606
6072 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6073 in Screen coordinates. Thanks, Jordi.
6074 * Form.cs: Added missing attribute
6076 2005-03-11 Peter Bartok <pbartok@novell.com>
6079 - Rudimentary Mdi support
6080 - Removed outdated FormParent code
6081 - Implemented lots of missing properties and methods, still missing
6082 transparency support
6083 - Added missing attributes
6084 - Implemented support for MaximumBounds
6085 - Added firing of various events
6086 * XplatUI.cs: Added SetIcon() method
6087 * XplatUIDriver.cs: Added SetIcon() abstract
6088 * XplatUIOSX.cs: Stubbed out SetIcon() method
6090 - Implemented SetIcon() support
6091 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6092 - Switched to unix line endings
6094 - Made POINT internal so for can access it as part of MINMAX
6095 - Implemented SetIcon() support
6096 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6097 native Mdi support again, might have to go managed)
6098 * Control.cs: Now fires the StyleChanged event
6099 * MdiClient.cs: Added; still mostly empty
6101 2005-03-10 Peter Bartok <pbartok@novell.com>
6103 * SaveFileDialog.cs: Added emtpy file
6105 2005-03-08 Peter Bartok <pbartok@novell.com>
6107 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6108 in turn triggers OnCreateContro) when creating a handle for the
6110 * TextControl.cs: Fixed endless loop in certain cases when
6111 replacing the current selection
6113 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
6116 - Honors NewValue changes in Scroll events allowing apps to change it
6117 - Adds First and Last Scroll events
6118 - Fixes Thumb events
6120 2005-03-07 Peter Bartok <pbartok@novell.com>
6122 * Hwnd.cs: Added DefaultClientRectangle property
6123 * XplatUI.cs: Now using the X11 driver Where() method, which provides
6124 more detailed debug information
6126 - Fixed size-change feedback loop, where we would pull an old size
6127 off the queue and mistakenly change our window's size to an
6129 - Now compressing ConfigureNotify events, to reduce looping and
6131 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
6134 2005-03-07 Jackson Harper <jackson@ximian.com>
6136 * Binding.cs: Push data pushes from data -> property. Check if the
6137 property is readonly when attempting to set it.
6139 2005-03-07 Jackson Harper <jackson@ximian.com>
6141 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
6142 instead of IsSubclassOf. Pulling data now sets the value on the
6144 * PropertyManager.cs:
6145 * CurrencyManager.cs: Just need to pull data when updating now,
6146 because PullData will set the value on the control.
6148 2005-03-04 Jackson Harper <jackson@ximian.com>
6150 * Binding.cs: Implement data type parsing and converting on pulled
6151 data. TODO: Are there more ways the data can be converted?
6153 2005-03-04 Jackson Harper <jackson@ximian.com>
6155 * Binding.cs: Support <Property>IsNull checks. Also bind to the
6156 controls Validating method so we can repull the data when the
6157 control loses focus.
6159 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
6162 - Fixes null string format
6165 - Adds enum type checks
6166 - Fixes redrawing and recalc need after changing some properties
6167 - Fixes on focus_item set after the event
6168 - Fixes adding columns after the control has been created
6170 * ThemeWin32Classic.cs:
6171 - Fixes CheckBox focus rectangle
6172 - Fixes ColumnHeader drawing
6175 2005-03-03 Jackson Harper <jackson@ximian.com>
6177 * Binding.cs: Bind to <Property>Changed events so we can detect
6178 when properties are changed and update the data.
6180 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
6183 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
6184 - Fixes ImageList constructor with ImageList container
6185 - Fixes image scaling (wrong parameters at DrawImage)
6187 2005-02-02 Jackson Harper <jackson@ximian.com>
6189 * Binding.cs: Make property searches case-insensitive. Eliminate
6190 some duplicated code.
6192 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
6195 - Handle focus event
6196 - Fix scrollbar events
6197 - Discard highlighted item if remove it
6198 - Fixes SelectedItem with strings
6200 2005-03-01 Peter Bartok <pbartok@novell.com>
6203 - Fixed Visible property, now follows (once again) parent chain
6204 to return false if any control in the chain is visible=false
6205 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
6206 - Fixed several places where is_visible instead of Visible was used
6207 - Implemented FIXME related to focus selection when setting focused
6208 control to be invisible
6210 * XplatUIWin32.cs: Now using proper method to find out if window is
6211 visible. Thanks to Jordi for pointing it out
6213 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
6215 * ComboBox.cs: show/hide scrollbar instead of creating it
6217 2005-02-27 Jackson Harper <jackson@ximian.com>
6219 * CurrencyManager.cs: Add PositionChanged stuff.
6221 2005-02-27 Peter Bartok <pbartok@novell.com>
6223 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6224 * XplatUIOSX.cs: Added GetMenuOrigin() stub
6225 * XplatUIWin32.cs: Implemented GetMenuOrigin()
6227 - Implemented GetMenuDC()
6228 - Implemented GetMenuOrigin()
6229 - Implemented ReleaseMenuDC()
6230 - Implemented generation of WM_NCPAINT message
6231 - Implemented generation and handling of WM_NCCALCSIZE message
6232 * Form.cs: Added debug helper message for Jordi's menu work
6234 - Modified ClientRect property; added setter, fixed getter to handle
6235 setting of ClientRect
6236 - Added MenuOrigin property
6238 2005-02-26 Peter Bartok <pbartok@novell.com>
6241 - Destroys the caret if a window that's being destroyed contains it
6242 - Ignores expose events coming from the X11 queue for windows that
6243 already are destroyed
6244 - Now uses the proper variable for handling DestroyNotify, before we
6245 marked the wrong window as destroyed
6246 - Improved/added some debug output
6248 2005-02-26 Peter Bartok <pbartok@novell.com>
6250 * X11Keyboard.cs: Fixes to work on 64bit systems
6252 2005-02-26 Peter Bartok <pbartok@novell.com>
6255 - Now calling OnHandleDestroyed from DestroyHandle()
6256 instead of Dispose()
6257 - Removed bogus call to controls.Remove() from DestroyHandle()
6259 2005-02-26 Peter Bartok <pbartok@novell.com>
6261 * Control.cs: Properly destroy child windows when our handle is
6264 2005-02-25 Peter Bartok <pbartok@novell.com>
6267 - Added 'DriverDebug' define to allow tracing XplatUI API calls
6268 - Alphabetized Static Methods and Subclasses
6271 - Added XException class to allow custom handling of X11 exceptions
6272 - Created custom X11 error handler, tied into XException class
6273 - Added support for MONO_XEXCEPTIONS env var to allow the user
6274 to either throw an exception on X errors or continue running
6275 after displaying the error
6276 - Added handling of DestroyNotify message
6277 - Added handler for CreateNotify message (still disabled)
6278 - Improved (tried to at least) Where method to provide file and lineno
6280 - Added XErrorHandler delegate
6281 - Added XRequest enumeration (to suppor translation of errors)
6283 2005-02-25 Jackson Harper <jackson@ximian.com>
6285 * PropertyManager.cs: Implement editing features
6286 * CurrencyManager.cs:
6287 * Binding.cs: First attempt at UpdateIsBinding
6288 * BindingManagerBase.cs: Call UpdateIsBinding before
6289 pushing/pulling data.
6291 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
6293 * MenuAPI.cs: Respect disabled items
6294 * ThemeWin32Classic.cs
6295 - Caches ImageAttributes creation for DrawImageDisabled
6296 - Fixes vertical menu line drawing
6297 - Draws disabled arrows in disable menu items
6299 2005-02-24 Peter Bartok <pbartok@novell.com>
6302 - Added UserData property to allow associating arbitrary objects
6304 - Fixed leak; now removing Hwnd references from static windows array
6306 - Fixed Graphics leak in PaintEventEnd
6307 - Removed usage of HandleData, switched over to Hwnd class
6308 * HandleData.cs: Removed, obsoleted by Hwnd.cs
6310 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6312 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6313 * ScrollBar.cs: Fixes bug
6314 * TrackBar.cs: removes death code, clipping, mimize refreshes,
6315 keyboard navigation enhancements
6317 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6319 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6320 * GroupBox.cs: Add control styles
6321 * Label.cs: Add control styles
6322 * UpDownBase.cs: Add control styles
6323 * ListBox.cs: Add control styles
6324 * XplatUIWin32.cs: Fixes wrong parameter order
6327 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
6329 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6331 2005-02-23 Jackson Harper <jackson@ximian.com>
6333 * PropertyManager.cs: Implement property binding. This doesn't
6334 seem to work yet though as (I think) there are some bugs in
6335 System.ComponentModel.PropertyDescriptor.
6336 * BindingContext.cs: Use new PropertyManager constructor.
6338 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
6340 * ProgressBar.cs: use clip region in ProgressBar
6341 * ThemeWin32Classic.cs: use clip region in ProgressBar
6343 2004-02-22 Jackson Harper <jackson@ximian.com>
6345 * BindingsCollection.cs: Remove some debug code.
6347 2005-02-22 Jackson Harper <jackson@ximian.com>
6349 * BindingContext.cs:
6350 * ControlBindingsCollection.cs:
6351 * CurrencyManager.cs:
6353 * BindingManagerBase.cs: Initial implementation
6354 * BindingsCollection.cs: Add an internal contains method that the
6355 BindingManagerBase uses to ensure bindings aren't added twice to
6357 * PropertyManager.cs: Stubbed out.
6359 * ContainerControl.cs: Hook up databinding
6361 2005-02-22 Geoff Norton <gnorton@customerdna.com>
6364 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
6365 Fixed Invalidate/Update chain.
6366 Fixed tons of other minor bugs (this is almost a complete rewrite).
6368 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
6370 * ComboBox.cs: do subcontrol creation when the control is created
6372 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6374 * Label.cs: fixes image drawing (image and imagelist)
6375 * ThemeWin32Classic.cs: cache brushes
6377 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6379 * Form.cs: Move menu drawing code to Theme class
6380 * ComboBox.cs: Move ComboBox drawing code to Theme class
6381 * MenuItem.cs: Move menu drawing code to Theme class
6382 * MenuAPI.cs: Move menu drawing code to Theme class
6383 * ThemeWin32Classic.cs: New methods
6384 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
6385 * ListBox.cs: Move Listbox drawing code to Theme class
6386 * Theme.cs: New methods
6388 2005-02-20 Peter Bartok <pbartok@novell.com>
6391 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
6392 only process mnemonics on those)
6393 - Fixed event sequence for key handling; first calling
6394 ProcessKeyEventArgs now
6396 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
6397 for processing non-character keys
6398 - Fixed WM_CHAR to generate proper event sequence before processing
6399 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
6402 2005-02-19 Peter Bartok <pbartok@novell.com>
6404 * UserControl.cs: Added TextChanged event; added attributes
6405 * SizeGrip.cs: Implemented resizing and optional display of grip
6406 * Form.cs: Fixed attribute
6407 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
6408 Changed meaning of ScrollWindow bool argument; instead of the
6409 clear attribute (which will be true usually anyway), it gives the
6410 option of moving child controls as well.
6412 - Changed to match new ScrollWindow argument
6413 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
6414 now handles the implicit parent window a WM puts around us
6415 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
6417 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
6418 * TreeView.cs: Adjusted to new ScrollWindow arguments
6420 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6422 * Form.cs: Menu integration with non-client area
6423 * MenuItem.cs: Menu integration with non-client area
6424 * MenuAPI.cs: Menu integration with non-client area
6426 2005-02-18 Peter Bartok <pbartok@novell.com>
6428 * MethodInvoker.cs: Added
6429 * MdiLayout.cs: Added
6430 * SendKeys.cs: Started implementation
6431 * ErrorIconAlignment.cs: Added
6433 2005-02-18 Peter Bartok <pbartok@novell.com>
6435 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
6436 * Form.cs: Added handling for Menu-related Non-client messages
6438 2005-02-17 Peter Bartok <pbartok@novell.com>
6440 * UpDownBase.cs: Fixed typo, compilation errors
6441 * DomainUpDown.cs: Fixed attribute value
6443 2005-02-16 Miguel de Icaza <miguel@novell.com>
6445 * UpDownBase.cs: Attach entry events.
6447 Add ForeColor property, Focused, InterceptArrowKeys (interception
6450 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
6453 - Redraw non client are on Setmenu
6454 - Calc proper menu starting point
6456 2005-02-17 Peter Bartok <pbartok@novell.com>
6458 * Application.cs: Fixed message_filter check
6460 2005-02-17 Peter Bartok <pbartok@novell.com>
6462 * Application.cs: Now calls registered message filters
6463 * DockStyle.cs: Fixed attribute
6464 * Form.cs: Fixed attribute
6465 * Menu.cs: Fixed attribute
6466 * ToolTip.cs: Fixed attribute
6467 * TreeNode.cs: Added missing attributes and arranged in regions
6468 * PropertyGrid.cs: Fixed signatures
6469 * TreeNodeCollection.cs: Added attributes
6470 * Splitter.cs: Added missing attributes; arranged into regions
6471 * TabPage.cs: Added missing attributes; arranged into regions
6472 * TextBoxBase.cs: Added missing attributes
6473 * TextBox.cs: Added missing attributes
6474 * ArrangeDirection.cs: Added missing attributes
6475 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
6476 * ToolBarButton.cs: Fixed attributes
6477 * AnchorStyles.cs: Fixed attribute
6478 * TrackBar.cs: Fixed attributes
6479 * TabControl.cs: Added missing attributes and arranged into regions
6480 * ToolBar.cs: Fixed attribute
6481 * StatusBar.cs: Fixed signature, organized into regions and added
6483 * StatusBarPanel.cs: Fixed attributes
6484 * ContentsResizedEventArgs.cs: Implemented
6485 * ContentsResizedEventHandler.cs: Implemented
6486 * DateBoldEventArgs.cs: Implemented
6487 * DateBoldEventHandler.cs: Implemented
6488 * UpDownEventArgs.cs: Implemented
6489 * UpDownEventHandler.cs: Implemented
6491 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
6493 * Form.cs: first Menu NC refactoring
6494 * MenuAPI.cs: first Menu NC refactoring
6496 2005-02-16 Peter Bartok <pbartok@novell.com>
6498 * ImeMode.cs: Added missing attributes
6499 * Menu.cs: Fixed attribute
6500 * GroupBox.cs: Fixed attribute
6501 * Label.cs: Fixed attribute
6502 * ColorDialog.cs (RunDialog): Removed TODO attribute
6503 * ComboBox.cs: Fixed attributes
6504 * ListControl.cs: Added missing attributes
6505 * PropertyGrid.cs: Fixed attributes
6506 * Control.cs: Fixed attributes
6507 * ListViewItem.cs: Added TypeConverter attribute
6508 * NotifyIcon.cs: Fixed attributes
6509 * ListView.cs: Fixed attributes
6510 * ButtonBase.cs: Fixed attribute
6511 * ImageList.cs: Added missing attributes
6512 * ContainerControl.cs: Fixed signature
6513 * CheckedListBox.cs: Fixed attribute; added missing attributes
6514 * Panel.cs: Fixed attributes
6515 * PropertyTabChangedEventArgs.cs: Added missing attribute
6516 * PropertyValueChangedEventArgs.cs: Added missing attribute
6517 * Binding.cs: Fixed attribute
6518 * ListViewItemConverter: Implemented ListViewSubItemConverter class
6519 * ListBox.cs: Fixed attribute; added missing attributes;
6520 * ScrollableControl.cs: Added missing attributes
6521 * PictureBox.cs: Added missing attributes; implemented missing property
6522 * DateTimePicker.cs: Added missing attributes
6523 * Theme.cs (ToolWindowCaptionHeight): Fixed type
6524 * MonthCalendar.cs: Fixed attributes
6525 * StatusBarPanel.cs: Added missing attributes
6526 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
6528 2005-02-16 Peter Bartok <pbartok@novell.com>
6530 * TextBoxBase.cs: The previous method to enforce height yet remember
6531 the requested high was less than ideal, this is an attempt to do
6533 * Control.cs: Added comment about possible problem
6534 * Copyright: Updated format
6535 * GridItemType.cs: Fixed swapped values
6537 2005-02-15 Jackson Harper <jackson@ximian.com>
6539 * BaseCollection.cs: Use property so we never access an
6540 uninitialized list. Also initialize the list in the property.
6542 2005-02-15 Peter Bartok <pbartok@novell.com>
6544 * GroupBox.cs (ProcessMnemonic): Implemented
6545 * Label.cs (ProcessMnemonic): Implemented
6546 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
6549 2005-02-15 Peter Bartok <pbartok@novell.com>
6551 * RadioButton.cs (ProcessMnemonic): Implemented
6552 * CheckBox.cs (ProcessMnemonic): Implemented
6554 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
6556 - Added internal method to allow calling ProcessMnemonic from other
6558 * ContainerControl.cs:
6559 - Started support for handling validation chain handling
6560 - Implemented ProcessMnemonic support
6561 - Added Select() call to Active, to make sure the active control
6563 * Form.cs: Setting toplevel flag for Forms (this was lost in the
6565 * ThemeWin32Classic.cs:
6566 - DrawCheckBox(): Fixed stringformat to show hotkeys
6567 - DrawRadioButton(): Fixed stringformat to show hotkeys
6568 * CommonDialog.cs: Removed WndProc override, not needed
6570 2005-02-14 Peter Bartok <pbartok@novell.com>
6572 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
6573 missed those in the rewrite
6575 2005-02-14 Miguel de Icaza <miguel@novell.com>
6577 * NumericUpDown.cs (Increment, ToString): Add.
6578 (DecimalPlaces): implement.
6582 * UpDownBase.cs: Add the designer attributes.
6584 2005-02-13 Peter Bartok <pbartok@novell.com>
6586 * Panel.cs: Removed border_style, now in Control
6587 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
6588 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
6590 2005-02-13 Peter Bartok <pbartok@novell.com>
6592 * MouseButtons.cs: Added missing attributes
6593 * XplatUIStructs.cs: Added enumeration for title styles
6594 * LeftRightAlignment.cs: Added missing attributes
6595 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
6596 it compatible with Graphics.FromHwnd()
6597 * SelectedGridItemChangedEventArgs.cs: Fixed property type
6598 * Keys.cs: Added missing attributes
6599 * SelectionRange.cs: Added missing attributes
6600 * SelectionRangeConverter.cs: Added
6602 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
6603 ReleaseMenuDC methods
6604 - Renamed ReleaseWindow to UngrabWindow
6605 - Added proper startup notice to allow version identification
6607 - Added missing attributes
6608 - Removed FormParent concept
6609 * Label.cs: Removed border_style field, now in Control
6610 * RadioButton.cs: Now properly selects RadioButton when focus is
6612 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
6614 - Added missing attributes
6615 - Added borderstyle handling
6616 - Removed FormParent concept support
6617 - Fixed calls to XplatUI to match changed APIs
6618 - Fixed bug that would case us to use disposed Graphics objects
6619 - Removed unneeded internal methods
6620 - PerformLayout(): Fixed to handle DockStyle.Fill properly
6621 - SelectNextControl(): Fixed to properly check common parents
6622 * TextBoxBase.cs: Removed border_style field (now in Control)
6624 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
6625 fixed calculations for form size
6626 - Added support for localized strings and icons
6627 - Improved form size calculations, added border
6628 * ListView.cs: Removed border_style field (now in Control)
6629 * X11Structs.cs: Moved several structs from X11 driver here
6630 * X11Keyboard.cs: Changed debug message
6631 * Application.cs: Removed FormParent concept support
6633 - Resetting end_modal flag
6634 - Removed FormParent concept support
6635 * NativeWindow.cs: Removed FormParent concept support
6636 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
6637 Client area and Non-Client whole window to allow support for WM_NC
6639 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
6640 prevent using it until it supports Hwnd as per Geoff Norton's request
6641 * ToolBar.cs: Fixed drawing, was not doing proper drawing
6642 * PictureBox.cs: Removed border_style field, now in Control
6643 * XplatUIWin32.cs: Added new driver methods
6645 2005-02-12 Peter Bartok <pbartok@novell.com>
6647 * OpacityConverter.cs: Implemented
6648 * Hwnd.cs: Internal class to support drivers that need to emulate
6649 client area/non-client area window behaviour
6651 2005-02-11 Peter Bartok <pbartok@novell.com>
6653 * KeysConverter.cs: Implemented
6655 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
6657 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
6658 * LinkLabel: Added missing attributes
6659 * MainMenu.cs: fixes ToString
6660 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
6661 * ListBox.cs: fixes event position
6662 * TrackBar.cs: adds missing attributes and events
6664 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
6666 * MenuItem.cs: Use SystemInformation and bug fixes
6667 * MenuAPI.cs: Use SystemInformation and bug fixes
6669 2005-02-09 Jackson Harper <jackson@ximian.com>
6671 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
6672 their keystate otherwise things like VK_MENU get stuck "on".
6674 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
6676 * ListBox.cs: Fixes AddRange bug
6678 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
6681 - Add missing attributes
6682 - Add missing method
6684 * CheckedListBox.cs: Added missing attributes
6685 - Add missing attributes
6686 - Remove extra method
6688 * ComboBox.cs: Added missing attributes
6689 * VScrollBar.cs: Added missing attributes
6690 * ScrollBar.cs: Added missing attributes
6691 * ListBox.cs: Fixes signature, add missing consts
6692 * LinkArea.cs: Added missing attributes
6695 2005-02-08 Peter Bartok <pbartok@novell.com>
6697 * Menu.cs: Added missing attributes
6698 * MainMenu.cs: Added missing attributes
6699 * GroupBox.cs: Added missing attributes
6700 * Label.cs: Added missing attributes
6701 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
6703 - Added Instance and Options properties
6704 - Added missing attributes
6705 * Cursor.cs: Made Serializable
6706 * NotifyIcon: Added missing attributes
6707 * MenuItem.cs: Added missing attributes
6708 * TextBoxBase.cs: Implemented AppendText() and Select() methods
6709 * Panel.cs: Added Missing attributes
6710 * MonthCalendar.cs: Fixed CreateParams
6712 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6716 - Fixes issues with links
6717 - Adds the class attributes
6719 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6722 - Fixes button when no items available in dropdown
6723 - Fixes repainting problems
6724 - Adds the class attributes
6726 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6728 * XplatUIOSX.cs: Detect the menu bar and title bar height from
6729 the current theme. Cache these on startup.
6731 2005-02-07 Jackson Harper <jackson@ximian.com>
6733 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
6734 the scrollbar buttons when they are depressed.
6736 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6738 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
6739 Get the display size from the main displayid. We currently dont
6740 support multiple display configurations.
6742 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6744 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
6746 2005-02-07 Miguel de Icaza <miguel@novell.com>
6748 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
6750 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
6752 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
6754 2005-02-04 Jackson Harper <jackson@ximian.com>
6756 * ThemeWin32Classic.cs: Respect the clipping rect when
6757 drawing. Only fill the intersection of clips and rects so there
6758 isn't a lot of large fills.
6759 * ScrollBar.cs: Pass the correct clipping rect to the theme
6760 engine. Remove some debug code.
6762 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
6764 * DateTimePicker.cs:
6765 - Fixed crash on DateTime.Parse, use Constructor instead
6767 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6771 - Owner draw support (MeasureItem and DrawItem)
6773 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6776 - Implements FindMergePosition and MergeMenu functions (very poor documented)
6777 - Fixes MenuItems.Add range
6779 - MergeMenu and Clone and CloneMenu functions
6781 2005-02-03 Jackson Harper <jackson@ximian.com>
6783 * ScrollBar.cs: Make abstract
6784 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
6787 2005-02-03 Jackson Harper <jackson@ximian.com>
6789 * ScrollBar.cs: First part of my scrollbar fixups. This removes
6790 all the unneeded refreshes and uses invalidates with properly
6793 2005-02-03 Peter Bartok <pbartok@novell.com>
6795 * ComponentModel.cs: Added
6796 * IDataGridEditingService.cs: Added
6797 * Timer.cs: Added missing attributes
6798 * ToolTip.cs: Added missing attributes
6800 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
6802 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
6804 2005-02-03 Peter Bartok <pbartok@novell.com>
6806 * ListBox.cs: Added missing attributes
6808 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
6811 - Fixes font height after font change
6812 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
6814 2005-02-02 Peter Bartok <pbartok@novell.com>
6816 * HandleData.cs: Introduced static methods to allow class
6817 to be more self-contained and track it's own HandleData objects
6818 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
6819 HandleData to use new static methods
6821 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
6824 - Fixes default size and PreferredHeight
6826 - ObjectCollection.Insert implementation
6832 - ObjectCollection.Insert implementation
6833 - No selection after clean
6836 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6838 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
6840 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
6843 - Caches ItemHeight calculation for OwnerDrawVariable
6844 - Handles dropdown properly
6845 - Fixes several minor bugs
6847 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6850 - Fixes 71946 and 71950
6851 - Fixes changing Multicolumn on the fly
6852 - Fixes keyboard navigation on Multicolumn listboxes
6854 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6856 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
6859 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6861 * XplatUIOSX.cs: Allow applications to actually exit.
6863 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6865 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
6866 their parent at creation time rather than lazily later. Fixes a major
6867 regression we were experiencing.
6869 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6871 * ThemeWin32Classic.cs: more date time picker painting fixes
6872 * DateTimePicker.cs: more monthcalendar drop down fixes
6873 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
6875 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6878 - When moving the thumb going outside the control should stop the moving
6879 - Adds the firing of missing events
6880 - Fixes no button show if Size is not specified
6881 - End / Home keys for keyboard navigation
6883 2005-01-30 Peter Bartok <pbartok@novell.com>
6885 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
6886 sanity check to prevent theoretical loop
6887 * XplatUIWin32.cs (SetVisible): Removed debug output
6888 * XplatUIX11.cs (SystrayChange): Added sanity check
6889 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
6890 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
6891 behaviour, valid until the X11 client window rewrite is done
6892 * TextBox.cs (ctor): Setting proper default foreground and background
6895 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
6897 * Theme: Added DrawDateTimePicker to interface
6898 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
6899 * DateTimePicker.cs: Created (still needs keys and painting code)
6900 * DateTimePickerFormat.cs: added
6901 * MonthCalendar.cs: fixed CreateParams for popup window mode
6903 2005-01-29 Peter Bartok <pbartok@novell.com>
6905 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
6906 this should also the calculations for ligher/darker
6907 * Theme.cs: Fixed defaults for ScrollBar widths/heights
6909 2005-01-29 Peter Bartok <pbartok@novell.com>
6911 * ArrangeDirection.cs: Added
6912 * ArrangeStartingPositon.cs: Added
6913 * SystemInformation.cs: Implemented
6914 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
6915 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
6916 used by SystemInformation class
6917 * X11Strucs.cs: Added XSizeHints structure
6919 - Fixed CreateParams to make sure the menu window is always visible
6920 - TrackPopupMenu: Added check to make sure we don't draw the
6923 2005-01-29 Peter Bartok <pbartok@novell.com>
6925 * HandleData.cs: Added method for altering invalid area
6926 * TextBoxBase.cs: Implemented TextLength
6928 2005-01-28 Peter Bartok <pbartok@novell.com>
6930 * XplatUIX11.cs: Improvement over last patch, not sending
6931 the WM_PAINT directly anymore, instead we scroll any pending
6932 exposed areas and let the system pick out the WM_PAINT later
6934 2005-01-28 Peter Bartok <pbartok@novell.com>
6936 * SWF.csproj: Deleted, no longer used. Instead,
6937 Managed.Windows.Forms/SWF.csproj should be used
6938 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
6939 directly, to avoid a potential race condition with the next
6942 2005-01-28 Peter Bartok <pbartok@novell.com>
6944 * XplatUI.cs: Made class internal
6946 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
6948 * CheckedListBox.cs:
6951 - Missing methods and events
6953 2005-01-27 Peter Bartok <pbartok@novell.com>
6955 * Application.cs (Run): Don't use form if we don't have one
6957 2005-01-27 Peter Bartok <pbartok@novell.com>
6959 * TextBoxBase.cs (get_Lines): Fixed index off by one error
6961 2005-01-27 Peter Bartok <pbartok@novell.com>
6963 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
6964 * GridItem.cs: Added; Patch by Jonathan S. Chambers
6965 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
6966 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
6967 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
6968 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
6969 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6970 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6971 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6972 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6973 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6974 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6976 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
6979 - Draw focus on Simple Combobox
6980 - Fixes drawing issues
6983 2005-01-27 Peter Bartok <pbartok@novell.com>
6986 - Place window in default location, instead of hardcoded 0/0
6987 - Send initial LocationChanged event
6989 - UpdateBounds after creation to find out where the WM placed us
6990 - Make sure that if the ParentForm changes location the Form
6992 * XplatUIX11.cs: XGetGeometry will not return the coords relative
6993 to the root, but to whatever the WM placed around us.
6994 Translate to root coordinates before returning toplevel
6996 * XplatUIWin32.cs: Removed debug output
6997 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
6998 flag to GetWindowPos, to allow translation of coordinates on X11
7000 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7002 * ListBox.cs: connect LostFocus Event
7004 2005-01-27 Peter Bartok <pbartok@novell.com>
7006 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7007 XplatUIX11.cs: Extended the Systray API
7008 * Form.cs: Removed debug output
7009 * Application.cs: Fixed focus assignment, always need to call
7010 XplatUI.Activate() since Form.Activate() has rules that may
7012 * NotifyIcon.cs: Should be complete now
7013 * ToolTip.cs: Worked around possible timer bug
7015 2005-01-27 Jackson Harper <jackson@ximian.com>
7018 - Only invalidate the effected tabs when the
7019 selected index changes. This reduces drawing and gets rid of some
7021 - Only refresh if the tabs need to be shifted, otherwise only
7022 invalidate the slider button.
7023 - On windows the tabs are not filled to right if the slider is
7026 2005-01-27 Jackson Harper <jackson@ximian.com>
7028 * TabControl.cs: Only refresh on mouseup if we are showing the
7029 slider. Also only invalidate the button whose state has changed.
7031 2005-01-26 Peter Bartok <pbartok@novell.com>
7033 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7034 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7035 and SystrayRemove() methods
7036 * XplatUIOSX.cs: Stubbed Systray methods
7038 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7040 - Fixed broken XChangeProperty calls (marshalling messed up things)
7041 * X11Structs.cs: Added enums and structs required for Size hinting
7042 * NotifyIcon.cs: Added & implemented
7044 2005-01-26 Jackson Harper <jackson@ximian.com>
7046 * TabControl.cs: Space vertically layed out tabs properly.
7048 2005-01-26 Peter Bartok <pbartok@novell.com>
7050 * Form.cs (CreateClientParams): Always set the location to 0,0
7051 since we're a child window.
7053 * Control.cs (SetVisibleCore): Always explicitly setting the location
7054 of a toplevel window, apparently X11 doesn't like to move windows
7055 while they're not mapped.
7057 2005-01-26 Jackson Harper <jackson@ximian.com>
7059 * TabControl.cs: Implement FillToRight size mode with vertically
7062 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7064 * ControlPaint.cs, ThemeWin32Classic.cs
7065 - Fixes DrawFocusRectangle
7067 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7070 - MenuBar tracking only starts when item is first clicked
7071 - Fixes menu hidding for multiple subitems
7072 - Unselect item in MenuBar when item Executed
7075 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
7078 - IsInputKey for ListBox
7081 - Shift and Control item selection
7082 - Implement SelectionMode.MultiExtended
7085 - IsInputKey implemented
7086 - Do not generate OnTextChangedEdit on internal txt changes
7088 2005-01-23 Peter Bartok <pbartok@novell.com>
7090 * AccessibleObject.cs: Partially implemented Select()
7091 * MonthCalendar.cs: Added missing attributes and events
7092 * Form.cs: Fixed CreateParams behaviour, now controls derived from
7093 form can properly override CreateParams.
7094 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7095 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7096 Control performs Invalidate & Update
7097 * NativeWindow (CreateHandle): Added special handling for Form
7098 and Form.FormParent classes to allow overriding of From.CreateParams
7100 - ControlNativeWindow: Renamed 'control' variable to more intuitive
7102 - ControlNativeWindow: Added Owner property
7103 - Removed usage of Refresh() on property changes, changed into
7104 Invalidate(), we need to wait until the queue is processed for
7105 updates, direct calls might cause problems if not all vars for
7106 Paint are initialized
7107 - Added call to UpdateStyles() when creating the window, to set any
7108 styles that CreateWindow might have ignored.
7109 - Added support for Form CreateParent overrides to UpdateStyles()
7110 * MessageBox.cs: Removed no longer needed FormParent override stuff,
7111 CreateParams are now properly overridable
7112 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7113 CreateParams are now properly overridable
7115 2005-01-23 Miguel de Icaza <miguel@ximian.com>
7117 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
7120 Capture LostFocus and OnTextBoxChanged. The later introduces a
7121 recursive invocation that I have not figured out yet.
7123 Reset the timer when not using (it was accumulating).
7126 (OnTextBoxChanged): Set UserEdit to true here to track whether the
7127 user has made changes that require validation.
7129 Reset changing to avoid loops.
7131 2005-01-22 Miguel de Icaza <miguel@ximian.com>
7133 * NumericUpDown.cs: Display value at startup.
7135 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
7138 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
7139 filled in. Added some basic parsing of text.
7141 Still missing the OnXXX method overrides, and figuring out the
7142 events that must be emitted.
7144 * UpDownBase.cs: Handle UserEdit on the Text property.
7146 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
7149 - Fixes IntegralHeight
7152 2005-01-21 Jackson Harper <jackson@ximian.com>
7154 * TabControl.cs: Set the SelectedIndex property when SelectedTab
7155 is set so that the page visibility is updated and the tabs are
7158 2005-01-21 Jackson Harper <jackson@ximian.com>
7160 * TabControl.cs: Use cliping rectangle for blitting. Give the
7161 theme the clipping rect so we can do clipping while
7162 drawing. Remove some debug code.
7164 2005-01-21 Jackson Harper <jackson@ximian.com>
7166 * TabPage.cs: Add a new method so tab pages can force the tab
7167 control to recalculate the tab page sizes.
7168 * TabControl.cs: UpdateOwner needs to make the tab control recalc
7171 2005-01-20 Jackson Harper <jackson@ximian.com>
7173 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
7175 2005-01-20 Jackson Harper <jackson@ximian.com>
7177 * TreeView.cs: Set the bounds for nodes properly. They were
7178 getting screwed up when checkboxes were not enabled, but images
7181 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
7184 - Owner draw support
7187 2005-01-20 Jackson Harper <jackson@ximian.com>
7189 * XplatUIStructs.cs: More misc keys
7190 * X11Keyboard.cs: Ignore some control keys.
7192 2005-01-20 Jackson Harper <jackson@ximian.com>
7194 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
7195 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
7197 2005-01-19 Peter Bartok <pbartok@novell.com>
7199 * Control.cs: Un-selecting the control when it is loosing focus
7201 2005-01-19 Jackson Harper <jackson@ximian.com>
7203 * TreeView.cs: Hook up to the text controls leave event so we can
7204 end editing when the users clicks outside the text box.
7206 2005-01-19 Jackson Harper <jackson@ximian.com>
7208 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
7209 get set in the conversion array.
7211 2005-01-19 Peter Bartok <pbartok@novell.com>
7213 * Application.cs (ModalRun): Added a call to CreateControl to ensure
7214 focus is properly set
7216 - Added missing attributes
7217 - removed styles, those are already set in the base class
7219 - Added missing attributes
7220 - Added clip window styles
7221 * CheckBox.cs: Added missing attributes
7223 - FormParentWindow.CreateParams: Added required clip styles
7224 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7225 also filters modifier keys
7227 - Added assignment of Accept and Cancel button to enable Enter
7228 and Esc keys in MessageBox dialogs
7229 - FormParentWindow.CreateParams: Added required clip styles
7230 * RadioButton.cs: Added missing attributes
7231 * TextControl.cs: No longer draws selection if control does not
7234 - Now draws simple rectangle around test area to make it obvious
7235 there's a control. This is a hack until we properly support borders
7236 - A few simple fixes to support selections better, now erases selected
7237 text when typing, and resets selection when using movement keys
7239 2005-01-19 Miguel de Icaza <miguel@ximian.com>
7241 * UpDownBase.cs: Added some new properties.
7243 * DomainUpDown.cs: Implement a lot to get my test working.
7245 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7247 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7249 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7251 * OSXStructs (WindowAttributes): Fixed csc complaints
7253 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7256 OSXStructs.cs: Initial refactor to move enums and consts into
7257 OSXStructs and use them in the driver for greater readability.
7259 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7261 * XplatUIOSX.cs: Initial support for Standard Cursors.
7262 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7264 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
7266 * ComboBox.cs: ability to change style when the ctrl is already
7267 created, missing methods and events, bug fixes, signature fixes
7269 2005-01-19 Peter Bartok <pbartok@novell.com>
7271 * Cursors.cs (ctor): Added ctor to fix signature
7273 2005-01-18 Peter Bartok <pbartok@novell.com>
7275 * Button.cs: Implemented DoubleClick event
7277 - Fixed keyboard handling to behave like MS, where the press of
7278 Spacebar is equivalent to a mousedown, and the key release is
7279 equivalent to mouseup. Now a spacebar push will give the same
7280 visual feedback like a mouse click.
7281 - Added missing attributes
7282 - Added ImeModeChanged event
7283 - Added support for generating DoubleClick event for derived classes
7285 - Implemented DoubleClick event
7286 - Added missing attributes
7287 * CommonDialog.cs: Added missing attribute
7288 * ContextMenu.cs: Added missing attributes
7290 - AutoChecked buttons do not allow to be unselected when clicked
7291 (otherwise we might end up with no selected buttons in a group)
7292 - Added missing attributes
7293 - Implemented DoubleClickEvent
7294 * ThreadExceptionDialog.cs: Enabled TextBox code
7296 2005-01-18 Peter Bartok <pbartok@novell.com>
7298 * Form.cs: Removed debug output
7299 * Button.cs: Added support for DoubleClick method
7301 2005-01-18 Peter Bartok <pbartok@novell.com>
7304 - Added method to parent window that allows triggering size
7305 calculations when a menu is added/removed
7306 - set_Menu: Cleaned up mess from early days of Form and Control,
7307 now properly triggers a recalc when a menu is added/removed
7308 - Added case to select form itself as focused form if no child
7310 - Added PerformLayout call when showing dialog, to ensure properly
7313 - Select(): Made internal so Form can access it
7314 - Focus(): Only call Xplat layer if required (avoids loop), and sets
7316 * Application.cs (Run): Removed hack and calls PerformLayout instead
7317 to trigger calculation when Form becomes visible
7319 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
7321 * ComboBox.cs: fixes for ownerdraw
7323 2005-01-18 Peter Bartok <pbartok@novell.com>
7326 - Sentinel is no longer static, each Document gets it's own, this
7327 avoids locking or alternatively overwrite problems when more
7328 than one text control is used simultaneously.
7329 - Switched to use Hilight and HilightText brushes for text selection
7331 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7333 2005-01-18 Peter Bartok <pbartok@novell.com>
7336 - Hooked up the following events:
7344 o SystemColorsChanged
7347 - Removed debug output
7348 - Added a call to the current theme's ResetDefaults when a color change
7350 * Form.cs: Now setting the proper ImeMode
7351 * Theme.cs: Defined a method to force recreation of cached resources
7352 and rereading of system defaults (ResetDefaults())
7353 * ThemeWin32Classic.cs: Added ResetDefaults() stub
7355 2005-01-17 Peter Bartok <pbartok@novell.com>
7357 * Control.cs: Added missing attributes
7359 2005-01-17 Jackson Harper <jackson@ximian.com>
7361 * TreeNode.cs: Implement editing. Add missing properties selected
7363 * TreeView.cs: Implement node editing. Also some fixes to use
7364 Invalidate (invalid area) instead of Refresh when selecting.
7366 2005-01-17 Peter Bartok <pbartok@novell.com>
7369 - Implemented InvokeGotFocus() method
7370 - Implemented InvokeLostFocus() method
7371 - Implemented InvokePaint() method
7372 - Implemented InvokePaintBackground() method
7373 - Implemented InvokeClick() method
7374 - Implemented FindForm() method
7375 - Implemented RectangleToClient() method
7376 - Implemented ClientToRectangle() method
7377 - Implemented ResetBackColor() method
7378 - Implemented ResetCursor() method
7379 - Implemented ResetFont() method
7380 - Implemented ResteForeColor() method
7381 - Implemented ResetImeMode() method
7382 - Implemented ResetLeftToRight() method
7383 - Implemented ResetText() method
7384 - Implemented Scale() methods
7385 - Implemented ScaleCore() method
7386 - Implemented Update() method
7387 - Removed unused variables
7388 - Stubbed AccessibilityNotifyClients and
7389 ControlAccessibleObject.NotifyClients() methods (dunno what to do
7391 - Now setting proper default for RightToLeft property
7392 - Fixed bug in SetClientSizeCore that would cause windows to get
7394 - Now sending Click/DoubleClick events
7395 - Now selecting controls when left mouse button is clicked on
7397 * AccessibleEvents.cs: Added
7398 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
7399 * XplatUIOSX.cs: Stubbed UpdateWindow() method
7400 * XplatUIWin32.cs: Implemented UpdateWindow() method
7401 * XplatUIX11.cs: Implemented UpdateWindow() method
7402 * Form.cs: Removed stray semicolon causing CS0162 warning
7403 * ThemeWin32Classic.cs: Fixed unused variable warnings
7404 * ScrollableControl.cs: Now calls base method for ScaleCore
7405 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
7406 style to avoid interference with internal click handler (which is
7407 different than standard Control click handling)
7409 - Now unchecks all sibling radio buttons when control is
7410 selected (Fixes #68756)
7411 - Removed internal tabstop variable, using the one inherited from
7414 2005-01-17 Jackson Harper <jackson@ximian.com>
7416 * NavigateEventArgs.cs: Fix base type.
7417 * LinkLabel.cs: Sig fix
7419 2005-01-17 Jackson Harper <jackson@ximian.com>
7421 * TreeView.cs: Only invalidate the effected nodes bounds when
7424 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7426 * XplatUIWin32.cs: fixes Win32 marshaling
7427 * XplatUIX11.cs: fixes method signature
7429 2005-01-17 Peter Bartok <pbartok@novell.com>
7431 * XplatUIX11.cs: Clean up resources when we no longer need them
7433 2005-01-17 Peter Bartok <pbartok@novell.com>
7435 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
7436 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
7437 and DestroyCursor() methods.
7438 * Cursor.cs: Partially implemented, now supports standard cursors;
7439 still contains some debug code
7440 * Cursors.cs: Implemented class
7442 - WndProc(): Added handling of WM_SETCURSOR message, setting the
7444 - Implemented Cursor property
7445 - Replaced break; with return; more straightforwar and possibly
7447 - Now properly setting the result for WM_HELP
7448 * X11Structs.cs: Added CursorFontShape enum
7449 * XplatUIStructs.cs:
7450 - Added StdCursor enum (to support DefineStdCursor() method)
7451 - Added HitTest enum (to support sending WM_SETCURSOR message)
7453 - Now sends the WM_SETCURSOR message
7454 - Implemented new cursor methods
7455 * XplatUIOSX.cs: Stubbed new cursor methods
7457 - Implemented new cursor methods
7458 - Added GetSystemMetrics function and associated enumeration
7460 2005-01-15 Peter Bartok <pbartok@novell.com>
7463 - WndProc(): Now handles EnableNotifyMessage
7464 - SelectNextControl(): Fixed bug where if no child or sibling
7465 controls exist we looped endlessly
7467 2005-01-14 Jackson Harper <jackson@ximian.com>
7469 * TreeView.cs: Recalculate the tab pages when a new one is added
7470 so that the proper bounding rects are created.
7472 2005-01-14 Jackson Harper <jackson@ximian.com>
7474 * TreeView.cs: Draw a gray box instead of a grip in the lower
7475 right hand corner when there are both horizontal and vertical
7478 2005-01-14 Jackson Harper <jackson@ximian.com>
7480 * Control.cs: When erasing backgrounds use FromHwnd instead of
7481 FromHdc when there is a NULL wparam. This occurs on the X driver.
7482 * XplatUIX11.cs: Set the wparam to NULL.
7484 2005-01-13 Jackson Harper <jackson@ximian.com>
7486 * PictureBox.cs: Implement missing methods (except ToString, need
7487 to test that on windows) and events. When visibility is changed we
7488 need to redraw the image because the buffers are killed. When size
7489 is changed refresh if the sizemode needs it.
7491 2005-01-13 Peter Bartok <pbartok@novell.com>
7493 * Control.cs (SelectNextControl): Was using wrong method to select
7496 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7498 * ComboBox.cs: fixes dropstyle
7500 2005-01-13 Peter Bartok <pbartok@novell.com>
7503 - Implemented Select() override
7504 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
7505 - Now sets keyboard focus on startup
7506 * Control.cs (SelectNextControl): Now properly handles directed=true
7508 - WndProc: Now passes tab key on to base if AcceptTabChar=false
7509 - Added (really bad) focus rectangle (mostly for testing)
7510 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
7511 to enforce redraw on focus changes
7512 * ContainerControl.cs:
7513 - Fixed detection of Shift-Tab key presses
7514 - Fixed traversal with arrow keys
7515 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
7516 gonna keep this or if it's complete yet
7518 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7520 * ComboBox.cs: missing properties, fixes
7522 2005-01-13 Peter Bartok <pbartok@novell.com>
7524 * Panel.cs (ctor): Setting Selectable window style to off
7525 * Splitter.cs (ctor): Setting Selectable window style to off
7526 * GroupBox.cs (ctor): Setting Selectable window style to off
7527 * Label.cs (ctor): Setting Selectable window style to off
7529 2005-01-12 Miguel de Icaza <miguel@ximian.com>
7531 * UpDownBase.cs (InitTimer): If the timer has been already
7534 Use a TextBox instead of a Label.
7536 2005-01-12 Jackson Harper <jackson@ximian.com>
7538 * TreeView.cs: Refresh the tree after sorting the nodes. Always
7539 draw the connecting node lines (when ShowLines is true).
7540 * TreeNode.cs: The nodes index can now be updated. This is used
7541 when a node collection is sorted.
7542 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
7543 insert or an existing unsorted node collection can be sorted.
7545 2005-01-12 Peter Bartok <pbartok@novell.com>
7547 * ContainerControl.cs: Implemented ProcessDialogKeys()
7549 2005-01-12 Peter Bartok <pbartok@novell.com>
7552 - Implemented SelectNextControl() method
7553 - Several focus related bug fixes
7554 - Fixed Docking calculations to match MS documentation and
7557 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
7559 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
7562 2005-01-12 Peter Bartok <pbartok@novell.com>
7565 - Fixed broken Contains() method
7566 - Implemented GetNextControl() method. Finally. This is the pre-
7567 requisite for focus handling.
7569 2005-01-12 Peter Bartok <pbartok@novell.com>
7571 * OSXStrucs.cs: Added
7573 2005-01-12 Peter Bartok <pbartok@novell.com>
7576 - Removed PeekMessageFlags
7577 - Implemented SetWindowStyle() method
7578 * XplatUIStructs.cs: Added PeekMessageFlags
7579 * X11Structs: Added missing border_width field to XWindowChanges struct
7581 - PeekMessage: Now throws exception if flags which are not yet
7582 supported are passed
7583 - Implemented SetWindowStyle() method
7584 - Fixed SetZOrder to handle AfterHwnd properly
7585 * XplatUI.cs: Added SetWindowStyle() method
7586 * XplatUIDriver.cs: Added SetWindowStyle() abstract
7588 - Implemented UpdateStyles() method
7589 - Implemented UpdateZOrder() method
7590 * XplatUIOSX.cs: Added SetWindowStyle() stub
7592 2005-01-12 Geoff Norton <gnorton@customerdna.com>
7594 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
7598 2005-01-11 Jackson Harper <jackson@ximian.com>
7600 * TreeView.cs: Still need to draw lines to siblings even if out of
7601 the current node is out of the clip.
7603 2005-01-11 Jackson Harper <jackson@ximian.com>
7605 * TreeView.cs: When setting the hbar/vbar/grip position use
7606 SetBounds so that perform layout is only called once. Also suspend
7607 and resume layout so layout is only done once for all controls.
7608 - Removed some debug fluff
7609 * SizeGrip.cs: Call base implmentation in overriding methods.
7610 - When visibility is changed the drawing buffers are killed so we
7613 2005-01-11 Jackson Harper <jackson@ximian.com>
7615 * TreeView.cs: Calculate the open node count while drawing. This
7616 saves us an entire tree traversal for every paint operation. Use
7617 a member var for the open node count so less vars are passed around.
7619 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
7622 - fixed selection to use mousemove, not mouse polling on timer
7623 * ThemeWin32Classic.cs
7624 - removed redundant unused variable "no_more_content"
7626 2005-01-11 Peter Bartok <pbartok@novell.com>
7628 * XplatUIX11.cs (DoEvents): Needs to return when no more events
7629 are pending, so it now calls PeekMessage instead of GetMessage;
7630 implemented a incomplete version of PeekMessage
7632 2005-01-11 Peter Bartok <pbartok@novell.com>
7634 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
7636 * TextBoxBase.cs: Added sending of TextChanged event
7638 2005-01-10 Jackson Harper <jackson@ximian.com>
7640 * TreeView.cs: Try not to draw outside the clipping rectangle on
7643 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
7645 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
7647 2005-01-10 Jackson Harper <jackson@ximian.com>
7650 - Implement fast scrolling. Now only the newly
7651 exposed nodes are drawn and the old image is moved using the
7652 XplatUI::ScrollWindow method.
7653 - Factor in height of nodes when calculating whether or not the
7654 node is in the clipping rect.
7656 2005-01-10 Jackson Harper <jackson@ximian.com>
7658 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
7660 2005-01-10 Peter Bartok <pbartok@novell.com>
7662 * Application.cs: Added temporary hack to resolve all our resize
7663 required issues on startup. This will get fixed properly at
7664 some point in the future
7666 2005-01-10 Jackson Harper <jackson@ximian.com>
7668 * SizeGrip.cs: New internal class that is used as a sizing
7669 grip control...hence the name.
7671 2005-01-10 Peter Bartok <pbartok@novell.com>
7673 * Control.cs: Implemented proper TabIndex handling, now assigning
7674 a tabindex when a control is added to a container
7675 * GroupBox.cs (ctor): Now sets the Container style bit, required
7676 for Control.GetNextControl()
7678 2005-01-09 Jackson Harper <jackson@ximian.com>
7680 * TextBoxBase.cs: Clear window when scrolling (fixes build).
7682 2005-01-09 Peter Bartok <pbartok@novell.com>
7684 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7685 XplatUIX11.cs: Added ability to control ScrollWindow expose and
7686 an overload for ScrollWindow to allow only scrolling a rectangle
7688 2005-01-09 Peter Bartok <pbartok@novell.com>
7691 - Implemented SetDesktopBounds method
7692 - Implemented SetDesktopLocation method
7694 2005-01-08 Jackson Harper <jackson@ximian.com>
7696 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
7697 the node count has changed, this removes to VScroll::Refresh calls
7700 2005-01-08 Geoff Norton <gnorton@customerdna.com>
7702 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
7704 2005-01-07 Jackson Harper <jackson@ximian.com>
7706 * TreeNode.cs: Just update the single node when it is
7707 checked. Don't refresh after toggling, the Expand/Collapse already
7709 * TreeView.cs: Respect clipping a little more when drawing. Try
7710 not to redraw things that don't need to be redrawn. Just hide the
7711 scrollbars when they are no longer needed instead of removing
7712 them, so they don't have to be created again and again.
7714 2005-01-07 Geoff Norton <gnorton@customerdna.com>
7716 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
7717 coordinates to window space to place the caret properly, FIXED.
7718 Implement GetWindowState & SetWindowState
7720 2005-01-06 Peter Bartok <pbartok@novell.com>
7723 - Implemented ClientSize property
7724 - Implemented DesktopBounds property
7725 - Implemented DesktopLocation property
7726 - Implemented IsRestrictedWindow property
7727 - Implemented Size property
7728 - Implemented TopLevel property
7729 - Implemented FormWindowState property
7731 - Implemented GetTopLevel() method
7732 - Implemented SetTopLevel() method
7733 * X11Structs.cs (Atom):
7734 - Added AnyPropertyType definition
7735 - Added MapState definiton and updated XWindowAttribute struct
7736 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
7737 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
7738 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
7740 - Implemented GetWindowState() and SetWindowState() methods
7741 - Fixed Win32GetWindowLong return type
7743 - Introduced central function for sending NET_WM messages
7744 - Implemented GetWindowState() and SetWindowState() methods
7745 * TextBoxBase.cs (set_Lines):
7746 - Now uses Foreground color for text added via Text property (Duh!)
7747 - Added code to remember programmatically requested size (fixes
7748 behaviour when Multiline is set after Size)
7749 - Added AutoSize logic
7751 2005-01-06 Jackson Harper <jackson@ximian.com>
7753 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
7755 2005-01-06 Jackson Harper <jackson@ximian.com>
7757 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
7760 2005-01-06 Jackson Harper <jackson@ximian.com>
7762 * ScrollableControl.cs: Lazy init the scrollbars.
7764 2005-01-06 Jackson Harper <jackson@ximian.com>
7766 * Theme.cs: Speed up getting pens and solid brushes, by using
7767 their ARGB as a hash instead of tostring and not calling Contains.
7769 2005-01-06 Peter Bartok <pbartok@novell.com>
7772 - Implemented OnActivated and OnDeactivate event trigger
7773 - Implemented Activate() method
7774 - Fixed ShowDialog() to activate the form that was active before
7775 the dialog was shown
7777 - Added global active_window var that tracks the currently active
7779 - Now always grabs Property changes from the root window to always
7780 catch changes on the active window property
7781 - Added code to PropertyNotify handler to send Active/Inactive
7782 messages when state changes. This puts X11 and Win32 en par on
7783 WM_ACTIVATE notifications (except for double notifications when
7784 the user clicks away from our modal window to another one of our
7787 2005-01-05 Jackson Harper <jackson@ximian.com>
7789 * ImageList.cs: Implment ctor
7791 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7793 * XplatUIOSX.cs: Implement Activate/SetTopmost
7795 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7797 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
7799 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7801 * XplatUIOSX.cs: Implement GetActive/SetFocus.
7803 2005-01-05 Peter Bartok <pbartok@novell.com>
7805 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
7806 XplatUIOSX.cs: Added GetActive method to return the currently
7807 active window for the application (or null, if none is active)
7809 - Implemented ActiveForm
7810 - Commented out owner assignment for modal dialogs (causes problems
7811 on Win32, since the owner will be disabled)
7812 - Reworked some Active/Focus handling (still incomplete)
7813 * CommonDialog.cs: Commented out owner assignment for modal dialogs
7814 (causes problems on Win32, since the owner will be disabled)
7815 * IWin32Window: Added ComVisible attribute
7817 2005-01-05 Peter Bartok <pbartok@novell.com>
7819 * ToolTip.cs (WndProc): Enable setting focus now that we have the
7820 required XplatUI functions.
7822 2005-01-05 Peter Bartok <pbartok@novell.com>
7824 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
7825 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
7826 to implement focus and activation handling; still incomplete and
7829 2005-01-04 Peter Bartok <pbartok@novell.com>
7831 * TextBoxBase.cs: Changed access level for Document property to
7832 match switch to internal for TextControl
7834 2005-01-04 Peter Bartok <pbartok@novell.com>
7836 * AccessibleObject: Added ComVisible attribute
7838 2005-01-04 Jackson Harper <jackson@ximian.com>
7840 * X11Keyboard.cs: Remove unneeded var.
7842 2005-01-04 Jackson Harper <jackson@ximian.com>
7844 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
7846 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
7847 ClientMessage. This makes apps exit cleanly (more often).
7849 2005-01-04 Jackson Harper <jackson@ximian.com>
7851 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
7852 handling focus, return correct colors and fonts,
7853 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
7854 handle selection, horizontal scrolling, and mouse interaction.
7856 2005-01-04 Peter Bartok <pbartok@novell.com>
7858 * ICommandExecutor.cs: Added
7859 * IDataGridColumnStyleEditingNotificationService.cs: Added
7860 * IFeatureSupport.cs: Added
7861 * IFileReaderService.cs: Added
7862 * IDataObject.cs: Added ComVisible attribute
7863 * AmbientProperties.cs: Added
7864 * BaseCollection.cs: Added missing attributes
7865 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
7866 * BaseCollection.cs: Added missing attributes
7867 * Binding.cs: Added TypeConverter attribute
7868 * BindingContext.cs: Added DefaultEvent attribute
7869 * BindingsCollection.cs: Added DefaultEvent attribute
7870 * Button.cs: Added DefaultValue attribute
7871 * DragEventArgs.cs: Added ComVisible attribute
7872 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
7873 * KeyEventArgs.cs: Added ComVisible attribute
7874 * KeyPressEventArgs.cs: Added ComVisible attribute
7875 * MouseEventArgs.cs: Added ComVisible attribute
7876 * NavigateEventArgs.cs: Added
7877 * NavigateEventHandler.cs: Added
7878 * FeatureSupport.cs: Added
7879 * OSFeature.cs: Added
7880 * Theme.cs: Added abstract Version property to support OSFeature
7881 * ThemeWin32Classic.cs: Added Version property to
7882 support OSFeature.Themes
7883 * ProgressBar.cs: Removed OnPaintBackground override, not required since
7884 the proper styles to avoid background drawing are set, also doesn't
7886 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
7887 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
7888 * ScrollEventArgs.cs: Added ComVisible attribute
7889 * SplitterEventArgs.cs: Added ComVisible attribute
7890 * AccessibleSelection.cs: Added Flags attribute
7891 * Appearance.cs: Added ComVisible attribute
7892 * Border3DSide.cs: Added ComVisible attribute
7893 * Border3DStyle.cs: Added ComVisible attribute
7894 * BorderStyle.cs: Added ComVisible attribute
7895 * DragAction.cs: Added ComVisible attribute
7896 * ErrorBlinkStyle.cs: Added
7897 * ScrollEventType.cs: Added ComVisible attribute
7898 * AnchorStyles.cs: Added Editor attribute
7899 * DockStyle.cs: Added Editor attribute
7900 * HorizontalAlignment.cs: Added ComVisible attribute
7901 * HelpEventArgs.cs: Added ComVisible attribute
7902 * PaintEventArgs.cs: Added IDisposable
7904 2005-01-04 Peter Bartok <pbartok@novell.com>
7906 * TextControl.cs: Switched Line, LineTag and Document classes to
7909 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
7911 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
7912 Simple mode, fixes, IntegralHeight, etc.
7914 2005-01-04 Peter Bartok <pbartok@novell.com>
7916 * TextBoxBase.cs: Using proper font variable now
7918 2005-01-04 Peter Bartok <pbartok@novell.com>
7920 * Form.cs (ShowDialog): Set parent to owner, if provided
7921 * GroupBox.cs: Removed unused vars
7923 - Added GetHashCode() for Document and LineTag classes
7924 - Removed unused variables
7925 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
7926 to allow translation between continuous char position and line/pos
7927 * CheckBox.cs: Removed vars that are provided by base class
7928 * RadioButton.cs: Removed vars that are provided by base class, added
7929 new keyword where required
7930 * LinkLabel.cs: Added new keyword where required
7931 * Control.cs (WndProc): Removed unused variable
7933 - Finished SelectionLength property
7934 - Implemented SelectionStart property
7935 - Implemented Text property
7936 - Removed unused vars
7937 * MessageBox.cs: Added new keyword where required
7938 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
7940 * MenuAPI.cs: Added new keyword where required
7941 * ButtonBase.cs: Removed vars that are provided by base class, added
7942 new keyword where required
7943 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
7944 argument to double, to allow compiling with csc 2.0 (Atsushi ran
7946 * Application.cs (Run): Now triggers the ThreadExit event
7947 * CommonDialog.cs: Added new keyword where required; now properly sets
7948 parent (owner) for dialog
7949 * XplatUIX11.cs: Commented out unused vars
7950 * StatusBar.cs: Fixed signature for Text property
7951 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
7953 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
7955 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
7956 TrackBar.cs, MonthCalendar.cs: remove unused vars
7958 2005-01-03 Jackson Harper <jackson@ximian.com>
7960 * ThemeWin32Classic.cs:
7961 * X11Keyboard.cs: Remove unused vars.
7963 2005-01-03 Peter Bartok <pbartok@novell.com>
7966 - set_Text: Tied into TextControl
7967 - set_TextAlignment: Tied into TextControl
7969 - Added alignment properties and implemented alignment handling
7970 and drawing (still has a bug, not generating proper expose events)
7971 - Added new Line() constructor to allow passing the line alignment
7972 - Fixed selection setting, properly handling end<start now
7973 - Added aligment considerations to RecalculateDocument()
7975 - Now properly enforces control height for single line controls
7976 - Added support for CharacterCasing
7977 - Added IsInputKey override
7978 - Fixed Keys.Enter logic
7979 - Added SetBoundsCore override
7980 - Fixed mouse selection handling
7982 2005-01-03 Jackson Harper <jackson@ximian.com>
7985 - Collapse and uncheck all nodes when CheckBoxes is disabled.
7986 - Checkboxes are always aligned to the bottom of the node,
7987 regardless of item height.
7988 - Use the node bounds to draw the text so we can center it when
7989 the item height is greater then the font height.
7990 - Node::Bounds are only the text part of the node.
7991 * TreeNode.cs: New method to combine collapsing and unchecking all
7994 2005-01-02 Jackson Harper <jackson@ximian.com>
7996 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
7997 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
7998 tree when a check is changed. TODO: Only refresh the checked node.
8000 2004-12-30 Jackson Harper <jackson@ximian.com>
8002 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8003 * TreeNode.cs: When collapsing make sure to never collapse the
8006 2004-12-29 Jackson Harper <jackson@ximian.com>
8008 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8010 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
8012 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8014 2004-12-28 Peter Bartok <pbartok@novell.com>
8016 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8019 2004-12-28 Peter Bartok <pbartok@novell.com>
8021 * Control.cs (WndProc): Added WM_HELP handler, now generates
8023 * Form.cs: Added HelpButton property and required support code
8024 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8026 2004-12-28 Peter Bartok <pbartok@novell.com>
8029 - Made DialogForm.owner variable internal
8030 - Added check to ensure owner form is set before setting
8031 owner properties in CreateParams
8033 2004-12-28 Geoff Norton <gnorton@customerdna.com>
8035 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
8036 swizzling. Implement ClientToScreen and ScreenToClient. Implement
8037 GetCursorPos. Fix major visibility issues. Rework the windowing
8038 system to support borderless/titleless windows (implements menus).
8039 Fix GetWindowPos. Implement initial background color support for
8042 2004-12-28 Peter Bartok <pbartok@novell.com>
8044 * Form.cs (get_CreateParams): Make sure we have an owner before using
8045 the owner variable. Implement proper default if no owner exists
8047 2004-12-28 Peter Bartok <pbartok@novell.com>
8049 * In preparation for making Managed.Windows.Forms the default build target
8050 for System.Windows.Forms, the following stubbed files were added.
8051 Dialogs are currently being implemented by contributors and are only
8052 short-term place holders.
8053 * ColorDialog.cs: Initial check-in (minmal stub)
8054 * DataGrid.cs: Initial check-in (minimal stub)
8055 * DataGridLineStyle.cs: Initial check-in (minimal stub)
8056 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8057 * DataGridTableStyle.cs: Initial check-in (minimal stub)
8058 * FontDialog.cs: Initial check-in (minimal stub)
8059 * FileDialog.cs: Initial check-in (minimal stub)
8060 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8061 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8062 * OpenFileDialog: Initial check-in (minimal stub)
8063 * IComponentEditorPageSite.cs: Initial check-in
8064 * Splitter.cs: Initial check-in (for Jackson)
8065 * SplitterEventArgs.cs: Initial check-in (for Jackson)
8066 * SplitterEventHandler.cs: Initial check-in (for Jackson)
8067 * TextBox.cs: Initial check-in; still needs some wiring to
8069 * Form.cs: Implemented ControlBox property
8070 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8071 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8072 * TextControl.cs: Added selection functionality; added todo header
8074 - Implemented Lines property
8075 - Implemented TextHeight property
8076 - Implemented SelectedText property
8077 - Implemented SelectionLength property
8078 - Implemented SelectAll method
8079 - Implemented ToString method
8080 - Removed and cleaned up some debug code
8081 - Implemented (still buggy) mouse text selection
8083 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
8085 * ComboBox.cs: Complete DropDownList implementation, fixes.
8087 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
8089 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8090 * ComboBoxStyle.cs: ComboBoxStyle enum
8091 * ComboBox.cs: Initial work on ComboBox control
8093 2004-12-21 Peter Bartok <pbartok@novell.com>
8095 * Control.cs (ctor, CreateParams): Moved setting of is_visible
8096 forward so that anything that creates a window gets the default,
8097 also no longer uses Visible property in CreateParams to avoid
8098 walking up the parent chain and possibly get the wrong visible
8099 status. Fixed IsVisible to no longer walk up to the parent.
8101 2004-12-21 Peter Bartok <pbartok@novell.com>
8103 * Form.cs (ShowDialog): Unset modality for the proper window
8105 2004-12-20 Peter Bartok <pbartok@novell.com>
8107 * CommonDialog.cs: Initial check-in
8109 2004-12-20 Peter Bartok <pbartok@novell.com>
8111 * Control.cs (Visible): Now uses the parent window instead of the
8112 client area window for the property
8115 - ShowDialog(): Now uses the proper window for modality
8116 - The default visibility state for the form parent is now false. This
8117 will prevent the user from seeing all the changes to the form and
8118 its controls before the application hits Application.Run()
8119 - Removed some stale commented out code
8122 - Added FindWindow() method to have a method to check for existence
8124 - Added ability to override default exception handling (for example
8125 when debugging with VS.Net; to do this the ExternalExceptionHandler
8127 - Removed some useless debug output
8130 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
8131 not working as expected
8132 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
8133 property to allow switching back to the modal window if focus is
8134 given to another one of our windows (Application Modal)
8135 - Now only sets override_redirect if we create a window
8137 - Moved EventMask selection before mapping of newly created window
8138 so we can catch the map event as well
8139 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
8140 - Added various Atom related DllImports
8141 - Implemented Exit() method
8142 - .ctor() : No longer shows window if WS_VISIBLE is not defined
8145 * MessageBox.cs: Now properly deals with the FormParent window by
8146 providing an override the FormParent CreateParams property to
8147 set as POPUP instead of OVERLAPPED window.
8149 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8151 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
8154 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8156 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
8158 2004-12-18 Peter Bartok <pbartok@novell.com>
8160 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
8161 implementing SetModal() method
8163 2004-12-18 Peter Bartok <pbartok@novell.com>
8165 * X11Structs.cs (XGCValues): Fixed type of function element
8166 * XplatUI.cs: Added ScrollWindow() method
8167 * XplatUIDriver.cs: Added ScrollWindow() abstract
8168 * XplatUIWin32.cs: Implemented ScrollWindow() method
8169 * XplatUIX11.cs: Implemented ScrollWindow() method
8170 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
8172 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8174 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
8175 Some more keyboard support (INCOMPLETE)
8177 2004-12-17 Peter Bartok <pbartok@novell.com>
8180 - Added color attribute to line tags.
8181 - Added color argument to all functions dealing with tags
8182 - Added color argument support to various functions
8183 - Fixed miss-calculation of baseline/shift in certain circumstances
8185 * TextBoxBase.cs: Added new color option to test code
8187 2004-12-17 Jackson Harper <jackson@ximian.com>
8190 * MonthCalendar.cs: Signature fixes
8192 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8194 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
8195 keyboard event moved it. Create a new graphics context for each paint resolves this
8197 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8199 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
8200 Make caret exist and go blink blink. Initial keyboard support.
8201 Fix exception handler, Add Invalidate support. Change way RefreshWindow
8204 2004-12-17 Jackson Harper <jackson@ximian.com>
8206 * XplatUIStructs.cs: Updated set of virtual keycodes.
8207 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
8209 2004-12-17 Jackson Harper <jackson@ximian.com>
8211 * XplatUIX11.cs: Prune old keyboard code.
8213 2004-12-17 Jackson Harper <jackson@ximian.com>
8215 * XplatUIX11.cs: When generating mouse wparams get the modifier
8216 keys from the ModifierKeys property.
8218 2004-12-17 Jackson Harper <jackson@ximian.com>
8220 * X11Keyboard.cs: Send up/down input when generating
8221 messages. Remove some unused vars.
8223 2004-12-17 Jackson Harper <jackson@ximian.com>
8226 * TreeView.cs: get rid of warnings.
8228 2004-12-17 Jackson Harper <jackson@ximian.com>
8230 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8232 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
8234 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8235 CheckedListBox.cs: Implementation
8237 2004-12-17 Peter Bartok <pbartok@novell.com>
8239 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8241 2004-12-16 Peter Bartok <pbartok@novell.com>
8244 - InsertCharAtCaret(): Fixed start pos fixup
8245 - CaretLine_get: No longer derives the line from the tag, the tag
8246 could be stale if lines in the document have been added or deleted
8247 - RebalanceAfterDelete(): Fixed bug in balancing code
8248 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8249 - Line.Streamline(): Now can also elminate leading empty tags
8250 - DumpTree(): Added a few more tests and prevented exception on
8252 - Added Debug section for Combining lines
8253 - Delete(): Now copies all remaining properties of a line
8256 - Left mousebutton now sets the caret (and middle button still acts
8257 as formatting tester, which must go away soon)
8258 - Added Debug section for Deleting/Combining lines
8259 - Fixed calculations for UpdateView after Combining lines
8261 2004-12-16 Peter Bartok <pbartok@novell.com>
8263 * TextControl.cs: Now properly aligns text on a baseline, using the
8264 new XplatUI.GetFontMetrics() method. Simplified several calculations
8265 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8268 2004-12-16 Peter Bartok <pbartok@novell.com>
8270 * XplatUI.cs: Added GetFontMetrics() method
8271 * XplatUIDriver.cs: Added GetFontMetrics() abstract
8272 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8273 into libgdiplus, our private GetFontMetrics function
8274 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8275 * XplatUIWin32.cs: Implemented GetFontMetrics() method
8277 2004-12-16 Jackson Harper <jackson@ximain.com>
8279 * XplatUIStruct.cs: Add enum for dead keys
8280 * X11Keyboard.cs: Map and unmap dead keys.
8282 2004-12-16 Jackson Harper <jackson@ximian.com>
8284 * X11Keyboard.cs: Detect and use the num lock mask.
8286 2004-12-16 Peter Bartok <pbartok@novell.com>
8288 * Control.cs (CreateGraphics): Added check to make sure the
8289 handle of the window exists before calling Graphics.FromHwnd()
8291 2004-12-16 Peter Bartok <pbartok@novell.com>
8293 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8294 contains a lot of code that's not supposed to be there for the
8295 real thing, but required for developing/testing the textbox
8298 2004-12-16 Peter Bartok <pbartok@novell.com>
8301 - Fixed Streamline method
8302 - Added FindTag method to Line
8303 - Added DumpTree method for debugging
8304 - Added DecrementLines() method for deleting lines
8305 - Fixed UpdateView to update the cursor to end-of-line on single-line
8307 - Added PositionCaret() method
8308 - Fixed MoveCaret(LineDown) to move into the last line, too
8309 - Added InsertChar overload
8310 - Fixed InsertChar tag offset calculations
8311 - Added DeleteChar() method
8312 - Added Combine() method for folding lines
8313 - Fixed Delete() method, no longer allocates wasted Line object and
8314 now copies all properties when swapping nodes
8315 - Delete() method now updates document line counter
8317 2004-12-15 Jackson Harper <jackson@ximian.com>
8319 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8320 * X11Keyboard.cs: Expose the currently selected modifier keys
8323 2004-12-15 Peter Bartok <pbartok@novell.com>
8325 * TextControl.cs: Initial check-in. Still incomplete
8327 2004-12-15 Jackson Harper <jackson@ximian.com>
8330 * TreeView.cs: Fix build on csc (second time today ;-))
8332 2004-12-15 Jackson Harper <jackson@ximian.com>
8334 * TreeView.cs: Store the treenodes plus/minus box bounds when it
8335 is calculated and use this for click testing.
8336 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8338 2004-12-15 Jackson Harper <jackson@ximian.com>
8340 * TreeView.cs: Pass the nodes image index to the image list when
8343 2004-12-15 Jackson Harper <jackson@ximian.com>
8345 * X11Keyboard.cs: Set messages hwnd.
8346 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8349 2004-12-15 Jackson Harper <jackson@ximian.com>
8351 * X11Keyboard.cs: Fix to compile with csc.
8353 2004-12-15 Jackson Harper <jackson@ximian.com>
8355 * X11Structs.cs: Add key mask values
8356 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8357 * X11Keyboard.cs: New file - Extrapolates and interpolates key
8358 down/up foo into WM_CHAR foo
8359 * KeyboardLayouts.cs: Common keyboard layouts
8360 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
8361 post messages into the main queue.
8363 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
8365 * Button.cs: implement ProcessMnemonic
8366 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
8368 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
8369 * ButtonBase.cs: Show HotkeyPrefix (not the &)
8371 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
8373 * MonthCalendar.cs: Implemented click-hold for next/previous month
8376 2004-12-11 Peter Bartok <pbartok@novell.com>
8379 - Added XKeyboardState (moved from XplatUIX11.cs)
8380 - Added XCreateGC related enums and structures
8381 - Added GXFunction for XSetFunction
8383 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
8385 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
8386 CaretVisible() calls
8388 * ToolTip.cs: Added code to prevent stealing focus from app windows
8390 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
8391 DestroyCaret, SetCaretPos and CaretVisible)
8394 - Added implementation for caret functions
8395 - Moved hover variables into a struct, to make it a bit easier
8396 on the eyes and to debug
8397 - Removed XKeyboardState (moved to XplatUIX11.cs)
8398 - Moved Keyboard properties into the properties region
8400 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
8401 call to get a graphics context for our control
8403 * XplatUIOSX.cs: Added empty overrides for the new caret functions
8405 * TreeView.cs: Fixed bug. No matter what color was set it would always
8406 return SystemColors.Window
8408 * XplatUIWin32.cs: Implemented caret overrides
8410 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
8412 * ListBox.cs: fire events, implement missing methods and properties,
8415 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
8417 * MonthCalendar.cs: invalidation bug fixing
8418 * ThemeWin32Classic.cs: paint fixing
8420 2004-12-09 Geoff Norton <gnorton@customerdna.com>
8422 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
8423 prepare the CGContextRef there now.
8425 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
8428 - optimisationL only invalidate areas that have changed
8429 * ThemeWin32Classic.cs:
8430 - only paint parts that intersect with clip_area
8432 2004-12-09 Peter Bartok <pbartok@novell.com>
8434 * Application.cs: Undid changes from r37004 which cause problems
8437 2004-12-09 Ravindra <rkumar@novell.com>
8439 * ToolBar.cs: Added support for displaying ContextMenu
8440 attached to a button on ToolBar.
8441 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
8444 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8446 * Label.cs: autosize works in text change and removes unnecessary
8449 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8451 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8454 2004-12-08 Geoff Norton <gnorton@customerdna.com>
8456 * XplatUIOSX.cs: Added mouse move/click/grab support
8457 Remove some debugging WriteLines not needed anymore.
8458 Add window resizing/positioning.
8459 Fix visibility on reparenting.
8461 2004-12-08 Peter Bartok <pbartok@novell.com>
8463 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
8465 2004-12-07 Geoff Norton <gnorton@customerdna.com>
8467 * XplatUIOSX.cs: Initial checkin
8468 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
8470 2004-12-03 Ravindra <rkumar@novell.com>
8472 * ListView.cs: Added some keybindings and fixed scrolling.
8473 ScrollBars listen to ValueChanged event instead of Scroll
8474 Event. This would let us take care of all changes being
8475 done in the scrollbars' values programmatically or manually.
8476 * ListView.cs (CanMultiselect): Added a check for shift key.
8477 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
8478 * ListViewItem.cs (Clone): Fixed. We need to make a copy
8479 of ListViewSubItemCollection as well.
8481 2004-12-06 Peter Bartok <pbartok@novell.com>
8483 * Control.cs (Parent): Added check and exception to prevent
8486 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
8488 * ListBox.cs: implemented clipping, selection single and multiple,
8491 2004-12-03 Ravindra <rkumar@novell.com>
8493 * ListView.cs (ListView_KeyDown):
8494 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
8495 when CTRL key is pressed.
8496 * ListViewItem.cs (Selected): Fixed setting the property.
8498 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8500 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
8502 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
8503 MinimizeBox, ShowInTaskbar, TopMost properties.
8505 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
8506 will be implemented).
8508 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8510 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
8512 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
8515 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
8517 * TreeView.cs: BackColor is Colors.Window.
8519 2004-12-01 Jackson Harper <jackson@ximian.com>
8521 * TreeView.cs: When resizing the tree if the user is making it
8522 smaller we don't get expose events, so we need to handle adding
8523 the horizontal scrollbar in the size changed handler as well as
8526 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
8528 * DrawItemState.cs: fixes wrong enum values
8530 2004-12-01 Jackson Harper <jackson@ximian.com>
8532 * TreeView.cs: Resize the hbar as well as the vbar on resize.
8534 2004-12-01 Jackson Harper <jackson@ximian.com>
8536 * NodeLabelEditEventArgs.cs:
8537 * NodeLabelEditEventHandler.cs:
8538 * OpenTreeNodeEnumerator.cs:
8540 * TreeNodeCollection.cs:
8542 * TreeViewAction.cs:
8543 * TreeViewCancelEventArgs.cs:
8544 * TreeViewCancelEventHandler.cs:
8545 * TreeViewEventArgs.cs:
8546 * TreeViewEventHandler.cs: Initial implementation.
8548 2004-12-01 Ravindra <rkumar@novell.com>
8550 * ListView.cs (CalculateListView): Fixed scrolling related
8551 calculations. Also, removed some debug statements from other
8553 * ListViewItem.cs: Changed access to 'selected' instance variable
8554 from private to internal.
8555 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
8557 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
8559 * ThemeWin32Classic.cs: remove cache of brush and pens for
8560 specific controls and use the global system, fixes scrollbutton
8561 bugs (for small sizes, disabled, etc)
8563 * ScrollBar.cs: does not show the thumb for very small controls
8564 (as MS) and allow smaller buttons that the regular size
8566 2004-12-01 Miguel de Icaza <miguel@ximian.com>
8568 * UpDownBase.cs: Add abstract methods for the interface.
8569 Add new virtual methods (need to be hooked up to TextEntry when it
8571 Add override methods for most features.
8572 Computes the size, forces the height of the text entry.
8574 * NumericUpDown.cs: Put here the current testing code.
8576 * Set eol-style property on all files that do not have mixed line
8577 endings, to minimize the future problems. There are still a few
8578 files with mixed endings, and someone should choose whether they
8579 want to move it or not.
8581 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
8583 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
8586 2004-11-30 Ravindra <rkumar@novell.com>
8588 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
8589 drawing and replaced use of SystemColors by theme colors.
8590 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
8591 * ListView.cs (ListViewItemCollection.Add): Throw exception when
8592 same ListViewItem is being added more than once.
8594 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
8597 - ControlStyles love to make the control not flicker
8599 2004-11-30 Peter Bartok <pbartok@novell.com>
8601 * CharacterCasing.cs: Added
8603 2004-11-29 Peter Bartok <pbartok@novell.com>
8605 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8606 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
8607 I am removing these files as they conflict with already completed
8608 work. While it is fantastic to get contributions to MWF, I
8609 respectfully ask that everyone please coordinate their contributions
8610 through mono-winforms-list or #mono-winforms at this time. We're
8611 explicitly avoiding stubbing and don't want controls that don't have
8612 their basic functionality implemented in svn. Please also see
8613 http://www.mono-project.com/contributing/winforms.html
8616 2004-11-29 Marek Safar <marek.safar@seznam.cz>
8618 * Application.cs (ModalRun): Don't hang after exit.
8620 * Theme.cs: New TreeViewDefaultSize property.
8622 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
8623 with less hardcoded SystemColors constant.
8624 Implemented TreeViewDefaultSize.
8626 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8627 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
8630 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
8633 - Fix NextMonthDate and PrevMonthDate click moving calendar
8635 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8638 - Fix usage of ScrollChange Property when scrolling months
8640 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
8642 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
8643 - Fixes menu destroying
8644 - Support adding and removing items on already created menus
8646 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8649 - Re-worked all bolded dates handling to match win32
8650 * ThemeWin32Classic.cs:
8651 - Fixed rendering with bolded dates
8653 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
8655 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
8656 - Horizontal scroolbar
8661 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
8664 - Fix Usage of MaxSelectionCount from SelectionRange
8665 - Fixed Shift + Cursor Selection
8666 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
8667 - Fixed normal cursor selection to be compat with win32
8668 - Fixed Shift + Mouse Click selection
8670 2004-11-24 Peter Bartok <pbartok@novell.com>
8672 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
8673 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
8675 - CreatedKeyBoardMsg now updates keystate with Alt key
8676 - Added workaround for timer crash to CheckTimers, Jackson will
8677 develop a proper fix and check in later
8678 - Implemented DispatchMessage
8679 - Removed calling the native window proc from GetMessage (call
8680 now moved to DispatchMessage)
8682 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
8683 the keydata (Fixes bug #69831)
8686 - (DispatchMessage): Switched to return IntPtr
8687 - Added DllImport for SetFocus
8689 2004-11-24 Ravindra <rkumar@novell.com>
8691 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
8693 * ListViewItem.cs: Fixed various properties, calculations
8694 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
8695 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
8696 and some internal properties. Fixed MouseDown handler and Paint
8699 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8701 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
8703 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8705 * ContainerControl.cs: correct accidental check in of local changes
8707 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8709 * ThemeWin32Classic.cs:
8710 - Fixed Drawing Last month in grid (sometimes not showing)
8712 - Fixed title width calculation bug (makeing title small)
8714 2004-11-23 Peter Bartok <pbartok@novell.com>
8717 - Added generation of WM_MOUSEHOVER event
8718 - Added missing assignment of async_method atom
8719 - Fixed WM_ERASEBKGND; now only redraws the exposed area
8721 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8723 * ThemeWin32Classic.cs:
8724 - Fixed Drawing of today circle when showtodaycircle not set
8725 - fixed drawing of first and last month in the grid (gay dates)
8727 - Fixed Drawing of today circle
8728 - Fixed drawing of grady dates
8729 - Fixed HitTest for today link when ShowToday set to false
8730 - Fixed DefaultSize to obey ShowToday
8732 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8734 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
8735 * System.Windows.Forms/Theme.cs
8736 * MonthCalendar.cs: added for MonthCalendar
8737 * SelectionRange.cs: added for MonthCalendar
8738 * Day.cs: added for MonthCalendar: added for MonthCalendar
8739 * DateRangeEventArgs.cs: added for MonthCalendar
8740 * DateRangeEventHandler.cs: added for MonthCalendar
8742 2004-11-22 Ravindra <rkumar@novell.com>
8744 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
8747 2004-11-22 Miguel de Icaza <miguel@ximian.com>
8749 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
8752 * NumericUpDown.cs: Added new implementation.
8753 * UpDownBase.cs: Added new implementation.
8755 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
8758 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
8761 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
8764 2004-11-21 Miguel de Icaza <miguel@ximian.com>
8766 * Timer.cs (Dispose): Should call the base dispose when
8769 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8771 * ScrollBar.cs: updates thumb position when max, min or increment
8774 2004-11-21 Ravindra <rkumar@novell.com>
8776 * ListView.cs: Implemented item selection, activation and
8777 column header style. Fixed properties to do a redraw, if
8778 required. Added support for MouseHover, DoubleClick, KeyDown
8779 and KeyUp event handling and some minor fixes.
8780 * ListViewItem.cs: Fixed constructor.
8781 * ThemeWin32Classic.cs: Improved drawing for ListView.
8783 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8785 * ThemeWin32Classic.cs: initial listbox drawing code
8786 * DrawMode.cs: new enumerator
8787 * ListControl.cs: stubbed class
8788 * ListBox.cs: initial implementation
8789 * Theme.cs: new methods definitions
8790 * SelectionMode.cs: new enumerator
8792 2004-11-17 Peter Bartok <pbartok@novell.com>
8794 * XplatUIWin32.cs: Added double-click events to the class style
8795 * Control.cs (WndProc):
8796 - Added handling of click-count to MouseDown/ MouseUp events.
8797 - Added handling of middle and right mouse buttons
8798 - Removed old debug code
8800 2004-11-17 Jackson Harper <jackson@ximian.com>
8802 * XplatUIX11.cs: Use the new Mono.Unix namespace.
8804 2004-11-17 Ravindra <rkumar@novell.com>
8806 * ListView.cs: Added event handling for MouseMove/Up/Down.
8807 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
8808 * ThemeWin32Classic.cs: We need to clear the graphics context and
8809 draw column header in a proper state.
8812 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
8814 * Menu.cs: fixes signature
8816 2004-11-16 Peter Bartok <pbartok@novell.com>
8818 * XplatUIX11.cs (GetMessage): Implemented generation of
8819 double click mouse messages
8821 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
8823 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
8826 2004-11-11 Peter Bartok <pbartok@novell.com>
8828 * HandleData.cs: Added Visible property
8829 * XplatUIX11.cs (IsVisible): Now uses Visible property from
8831 * XplatUIX11.cs: Removed old debug leftovers
8832 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
8833 * Control.cs (WndProc): Removed old debug leftovers,
8834 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
8835 needed WM_SIZE handling
8837 2004-11-11 Jackson Harper <jackson@ximian.com>
8839 * OwnerDrawPropertyBag.cs:
8840 * TreeViewImageIndexConverter.cs: Initial implementation
8842 2004-11-10 Jackson Harper <jackson@ximian.com>
8844 * ThemeWin32Classic.cs:
8845 * TabControl.cs: instead of moving tabs by the slider pos just
8846 start drawing at the tab that is offset by the slider. This way
8847 scrolling always moves by exactly one tab.
8849 2004-11-10 Jackson Harper <jackson@ximian.com>
8851 * TabControl.cs: You can only scroll left when the slider has
8852 already ben moved right.
8854 2004-11-10 Jackson Harper <jackson@ximian.com>
8856 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
8859 2004-11-10 Jackson Harper <jackson@ximian.com>
8861 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
8864 2004-11-09 Jackson Harper <jackson@ximian.com>
8866 * TabControl.cs (CalcXPos): New helper method so we can determine
8867 the proper place to start drawing vertical tabs.
8868 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
8870 2004-11-09 Jackson Harper <jackson@ximian.com>
8872 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
8873 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
8874 and Bottom, left and right are illegal values for this and
8875 multiline is enabled when the alignment is set to left or right.
8876 (DrawTab): Each alignment block should draw the text itself now
8877 because Left requires special love. Also add rendering for Left
8880 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
8882 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
8883 does not destroy the windows, removes debugging messages
8885 2004-11-09 jba <jba-mono@optusnet.com.au>
8887 * ThemeWin32Classic.cs
8888 (DrawButtonBase): Fix verticle text rect clipping in windows
8889 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8890 rendering and incorrect text rect clipping
8891 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8892 rendering and incorrect text rect clipping
8894 2004-11-08 Jackson Harper <jackson@ximian.com>
8896 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
8897 bottom when they are bottom aligned so the bottoms of the tabs get
8899 * TabControl.cs (DropRow): Move rows up instead of down when the
8900 tab control is bottom aligned.
8902 2004-11-08 13:59 pbartok
8905 - Added handling for various window styles
8906 - Added handling for popup windows
8907 - Added SetTopmost handling
8909 2004-11-08 13:55 pbartok
8912 - Added argument to SetTopmost method
8913 - Fixed broken ClientToScreen function
8915 2004-11-08 13:53 pbartok
8917 * XplatUIStructs.cs:
8918 - Added missing WS_EX styles
8920 2004-11-08 13:53 pbartok
8922 * XplatUI.cs, XplatUIDriver.cs:
8923 - Added argument to SetTopmost
8925 2004-11-08 13:52 pbartok
8928 - Added XSetWindowAttributes structure
8929 - Improved XWindowAttributes structure
8930 - Added SetWindowValuemask enum
8931 - Added window creation arguments enum
8932 - Added gravity enum
8933 - Added Motif hints structure
8934 - Added various Motif flags and enums
8935 - Added PropertyMode enum for property functions
8937 2004-11-08 13:50 pbartok
8940 - Fixed arguments for updated SetTopmost method
8942 2004-11-08 13:49 pbartok
8945 - Fixed arguments for updated SetTopmost function
8946 - Fixed usage of PointToClient
8948 2004-11-08 13:44 pbartok
8951 - Added Clipping of children and siblings
8953 2004-11-08 13:41 pbartok
8956 - Removed SetMenuBarWindow call. We do this in Form.cs
8958 2004-11-08 13:40 jackson
8960 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
8961 scrolling jimmi in the correct location with bottom aligned tabs
8963 2004-11-08 13:36 pbartok
8965 * ContainerControl.cs:
8966 - Implemented BindingContext
8967 - Implemented ParentForm
8969 2004-11-08 12:46 jackson
8971 * TabControl.cs: Put bottom rendered tabs in the right location
8973 2004-11-08 07:15 jordi
8975 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
8978 2004-11-05 17:30 jackson
8980 * TabControl.cs: When selected tabs are expanded make sure they
8981 don't go beyond the edges of the tab control
8983 2004-11-05 14:57 jackson
8985 * TabControl.cs: Reset show_slider so if the control is resized to
8986 a size where it is no longer needed it's not displayed anymore
8988 2004-11-05 13:16 jackson
8990 * TabControl.cs: Make tab pages non visible when added to the
8993 2004-11-05 12:42 jackson
8995 * TabControl.cs: Implement SizeMode.FillToRight
8997 2004-11-05 12:16 jackson
8999 * Control.cs: Do not call CreateHandle if the handle is already
9002 2004-11-05 11:46 jackson
9004 * TabControl.cs: Remove superflous call to CalcTabRows
9006 2004-11-05 09:07 jackson
9008 * XplatUIX11.cs: Update for Mono.Posix changes
9010 2004-11-05 07:00 ravindra
9012 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9015 2004-11-04 22:47 jba
9017 * ThemeWin32Classic.cs:
9018 - Fix Button rendering for FlatStyle = Flat or Popup
9019 - Fix RadioButton and CheckBox rendering when Appearance = Button
9020 (normal and flatstyle).
9021 - Correct outer rectangle color when drawing focus rectangle
9022 - Adjust button bounds to be 1 px smaller when focused
9023 - Make button not draw sunken 3d border when pushed (windows compat)
9024 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9025 - Offset the text in RadioButton and Checkbox when being rendered as
9027 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9029 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9030 - Fixed disabled text rendering for normally rendered radiobuttons
9032 2004-11-04 10:26 jackson
9034 * TabControl.cs: Recalculate tab rows when resizing
9036 2004-11-04 07:47 jordi
9038 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9039 collection completion, drawing issues, missing features
9041 2004-11-04 05:03 ravindra
9044 - We need to recalculate the Thumb area when
9045 LargeChange/maximum/minimum values are changed.
9046 - We set the 'pos' in UpdatePos() method to minimum, if it's less
9047 than minimum. This is required to handle the case if large_change is
9048 more than max, and use LargeChange property instead of large_change
9050 - We return max+1 when large_change is more than max, like MS does.
9052 2004-11-04 04:29 ravindra
9054 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9055 - Changed default value signatures (prefixed all with ListView).
9056 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9058 - Fixed calculations for ListViewItem and implemented Clone()
9061 2004-11-04 04:26 ravindra
9063 * Theme.cs, ThemeWin32Classic.cs:
9064 - Changed default ListView values signatures (prefixed all with
9066 - Fixed default size values for VScrollBar and HScrollBar.
9067 - Fixed DrawListViewItem method.
9069 2004-11-04 04:05 ravindra
9071 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9073 2004-11-04 04:04 ravindra
9075 * ImageList.cs: Implemented the missing overload for Draw method.
9077 2004-11-03 19:29 jackson
9079 * TabControl.cs: Handle dropping rows on selection properly
9081 2004-11-03 11:59 jackson
9083 * TabControl.cs: remove debug code
9085 2004-11-03 11:52 jackson
9087 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9088 the scrolly widgerywoo
9090 2004-11-02 13:52 jackson
9092 * TabControl.cs: Resize the tab pages and tabs when the tab control
9095 2004-11-02 13:40 jackson
9097 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9098 selected tab to the bottom
9100 2004-11-02 13:39 jackson
9102 * TabPage.cs: Store the tab pages row
9104 2004-11-02 12:33 jordi
9106 * MenuItem.cs: fixes handle creation
9108 2004-11-02 11:42 jackson
9110 * TabControl.cs: signature fix
9112 2004-11-02 08:56 jackson
9114 * TabControl.cs: Calculate whether the tab is on an edge properly.
9115 Remove top secret debugging code
9117 2004-11-01 19:57 jackson
9119 * TabControl.cs: Add click handling, and proper sizing
9121 2004-11-01 19:47 jackson
9123 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
9126 2004-11-01 19:39 jackson
9128 * TabPage.cs: add internal property to store the bounds of a tab
9131 2004-10-30 04:23 ravindra
9133 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
9136 2004-10-30 04:21 ravindra
9138 * ListView.cs, ListViewItem.cs: Added support for scrolling and
9141 2004-10-30 03:06 pbartok
9144 - Removed extension of DllImported libs
9146 2004-10-29 09:55 jordi
9148 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
9149 navigation, itemcollection completion, menu fixes
9151 2004-10-27 22:58 pbartok
9154 - Now throws a nice error message when no X display could be opened
9156 2004-10-26 13:51 jordi
9158 * ListView.cs: removes warning
9160 2004-10-26 03:55 ravindra
9162 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
9163 ThemeWin32Classic.cs: Some formatting for my last checkins.
9165 2004-10-26 03:36 ravindra
9167 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
9168 control and default values.
9170 2004-10-26 03:35 ravindra
9172 * Theme.cs: Added some default values for ListView control.
9174 2004-10-26 03:33 ravindra
9176 * ToolBar.cs: ToolBar should use the user specified button size, if
9177 there is any. Added a size_specified flag for the same.
9179 2004-10-26 03:33 ravindra
9181 * ColumnHeader.cs: Added some internal members and calculations for
9184 2004-10-26 03:32 ravindra
9186 * ListViewItem.cs: Calculations for ListViewItem.
9188 2004-10-26 03:31 ravindra
9190 * ListView.cs: Added some internal members and calculations for
9193 2004-10-22 13:31 jordi
9195 * MenuAPI.cs: speedup menus drawing
9197 2004-10-22 13:16 jackson
9199 * XplatUIX11.cs: Make sure to update exposed regions when adding an
9202 2004-10-22 11:49 jackson
9206 2004-10-22 11:41 jackson
9208 * Control.cs: Check to see if the window should have its background
9209 repainted by X when drawing.
9211 2004-10-22 11:31 jackson
9213 * XplatUIX11.cs: When invalidating areas only use XClearArea if
9214 clear is true, this way we do not get flicker from X repainting the
9217 2004-10-22 11:28 jackson
9219 * XEventQueue.cs: Queue properly
9221 2004-10-21 09:38 jackson
9223 * XEventQueue.cs: Fix access modifier
9225 2004-10-21 09:36 jackson
9227 * XEventQueue.cs: Don't loose messages
9229 2004-10-21 09:22 jackson
9231 * XEventQueue.cs: Don't loose messages
9233 2004-10-20 04:15 jordi
9235 * BootMode.cs: enum need it by SystemInfo
9237 2004-10-19 21:58 pbartok
9240 - Small sanity check
9242 2004-10-19 21:56 pbartok
9245 - Added private FormParentWindow class which acts as the container
9246 for our form and as the non-client area where menus are drawn
9247 - Added/Moved required tie-ins to Jordi's menus
9248 - Fixed/Implemented the FormStartPosition functionality
9250 2004-10-19 21:52 pbartok
9253 - Removed unneeded locals
9254 - Added code to all size and location properties to understand and
9255 deal with the parent container of Form
9257 2004-10-19 21:33 pbartok
9260 - Fixed to deal with new Form subclasses for menus
9262 2004-10-19 17:48 jackson
9264 * XEventQueue.cs: commit correct version of file
9266 2004-10-19 16:50 jackson
9268 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9270 2004-10-19 16:15 jordi
9272 * MenuAPI.cs: MenuBarCalcSize returns the height
9274 2004-10-19 08:31 pbartok
9277 - Added missing call to PreProcessMessage before calling OnXXXKey
9280 2004-10-19 00:04 ravindra
9282 * ToolTip.cs: Fixed constructor.
9284 2004-10-18 09:31 jordi
9286 * MenuAPI.cs: menuitems in menubars do not have shortcuts
9288 2004-10-18 09:26 jordi
9290 * MenuItem.cs: fixes MenuItem class signature
9292 2004-10-18 08:56 jordi
9294 * MenuAPI.cs: prevents windows from showing in the taskbar
9296 2004-10-18 00:28 ravindra
9298 * ToolTip.cs: Suppressed a warning message.
9300 2004-10-18 00:27 ravindra
9302 * Control.cs: Default value of visible property must be true.
9304 2004-10-17 23:19 pbartok
9307 - Complete implementation
9309 2004-10-17 23:19 pbartok
9312 - Added EnableWindow method
9313 - Added SetModal stub
9314 - Added generation of WM_ACTIVATE message (still needs testing)
9315 - Added SetTopMost stub
9316 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9318 2004-10-17 23:17 pbartok
9321 - Removed VirtualKeys to XplatUIStructs
9322 - Implemented SetTopMost method
9323 - Implemented EnableWindow method
9324 - Bugfix in ScreenToClient()
9325 - Bugfixes in ClientToScreen()
9327 2004-10-17 22:51 pbartok
9329 * XplatUIStructs.cs:
9330 - Added WS_EX styles to WindowStyles enumeration
9332 2004-10-17 22:50 pbartok
9334 * XplatUI.cs, XplatUIDriver.cs:
9335 - Added method for enabling/disabling windows
9336 - Added method for setting window modality
9337 - Added method for setting topmost window
9339 2004-10-17 22:49 pbartok
9341 * ThemeWin32Classic.cs:
9342 - Added ToolTip drawing code
9344 2004-10-17 22:49 pbartok
9347 - Added ToolTip abstracts
9349 2004-10-17 22:47 pbartok
9352 - Fixed Form.ControlCollection to handle owner relations
9353 - Added Owner/OwnedForms handling
9354 - Implemented Z-Ordering for owned forms
9355 - Removed unneeded private overload of ShowDialog
9356 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
9358 - Fixed Close(), had wrong default
9359 - Added firing of OnLoad event
9360 - Added some commented out debug code for Ownership handling
9362 2004-10-17 22:16 pbartok
9365 - Fixed/implemented flat list of controls
9367 2004-10-17 22:14 pbartok
9370 - Added code to simulate modal dialogs on Win32
9372 2004-10-17 16:11 jordi
9374 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
9377 2004-10-17 13:39 jordi
9379 * MenuAPI.cs: menu drawing fixes
9381 2004-10-15 09:10 ravindra
9383 * StructFormat.cs: General Enum.
9385 2004-10-15 09:09 ravindra
9387 * SizeGripStyle.cs: Enum for Form.
9389 2004-10-15 09:08 ravindra
9391 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
9392 in Theme for ListView.
9394 2004-10-15 09:06 ravindra
9396 * ColumnHeader.cs: Flushing some formatting changes.
9398 2004-10-15 09:05 ravindra
9400 * ListViewItem.cs: Implemented GetBounds method and fixed coding
9403 2004-10-15 09:03 ravindra
9405 * ListView.cs: Implemented Paint method and fixed coding style.
9407 2004-10-15 07:34 jordi
9409 * MenuAPI.cs: fix for X11
9411 2004-10-15 07:32 ravindra
9413 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
9414 - Renamed Paint() method to Draw() for clarity. Also, moved
9415 DrawImage() to OnPaint().
9417 2004-10-15 07:25 ravindra
9419 * CheckBox.cs, RadioButton.cs:
9420 - Removed Redraw (), we get it from ButtonBase.
9421 - Implemented Paint (), to do class specific painting.
9423 2004-10-15 07:16 ravindra
9426 - Redraw () is not virtual now.
9427 - Added an internal virtual method Paint (), so that
9428 derived classes can do their painting on their own.
9429 - Modified OnPaint () to call Paint ().
9431 2004-10-15 06:43 jordi
9433 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
9434 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
9436 2004-10-15 00:30 ravindra
9439 - MessageBox on windows does not have min/max buttons.
9440 This change in CreateParams fixes this on Windows. We
9441 still need to implement this windowstyle behavior in
9444 2004-10-14 05:14 ravindra
9447 - Changed Redraw () to do a Refresh () always.
9448 - Fixed the MouseMove event handling when mouse is pressed,
9449 ie drag event handling.
9450 - Replaced the usage of ToolBarButton.Pressed property to
9451 ToolBarButton.pressed internal variable.
9453 2004-10-14 05:10 ravindra
9456 - Added an internal member 'inside' to handle mouse move
9457 with mouse pressed ie mouse drag event.
9458 - Changed 'Pressed' property to return true only when
9459 'inside' and 'pressed' are both true.
9460 - Some coding style love.
9462 2004-10-14 00:17 ravindra
9464 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
9467 2004-10-14 00:15 ravindra
9469 * ButtonBase.cs: Redraw () related improvements.
9471 2004-10-14 00:14 ravindra
9473 * MessageBox.cs: Moved InitFormSize () out of Paint method and
9474 removed unnecessary calls to Button.Show () method.
9476 2004-10-13 17:50 pbartok
9480 - Removed destroying of window until we solve the problem of X
9481 destroying the window before us on shutdown
9483 2004-10-13 16:32 pbartok
9486 - Now Redraws on MouseUp for FlatStyle Flat and Popup
9488 2004-10-13 14:18 pbartok
9491 - Added code to destroy the X window
9493 2004-10-13 14:18 pbartok
9496 - Added code to destroy a window
9498 2004-10-13 14:12 pbartok
9501 - Added the Redraw on Resize that got dropped in the last rev
9503 2004-10-13 09:06 pbartok
9505 * ThemeWin32Classic.cs:
9506 - Path from John BouAntoun:
9507 * Fix check rendering (centre correctly for normal style, offset
9508 correctly for FlatStyle).
9509 * Fix border color usage (use backcolor) for FlatStyle.Popup
9510 * Use checkbox.Capture instead of checkbox.is_pressed when
9511 rendering flatstyle states.
9513 2004-10-12 21:48 pbartok
9515 * ThemeWin32Classic.cs:
9516 - Removed all occurences of SystemColors and replaced them with the
9517 matching theme color
9519 2004-10-12 21:41 pbartok
9521 * ThemeWin32Classic.cs:
9522 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
9523 him using the function for flatstyle drawing
9524 - Changed functions to use the new version of CPDrawBorder3D
9526 2004-10-12 21:15 pbartok
9529 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
9530 match MS documentation. They need to return defined colors if the
9531 passed color matches the configured control color. Thanks to John
9532 BouAntoun for pointing this out.
9534 2004-10-12 20:57 pbartok
9537 - Fix from John BouAntoun: Raise ForeColorChanged event when text
9540 2004-10-12 20:46 pbartok
9543 - Fix from John BouAntoun: Now properly sets the Appearance property
9545 2004-10-12 20:45 pbartok
9547 * ThemeWin32Classic.cs:
9548 - Fixes from John BouAntoun: now handles forecolors and backcolors
9549 for flatstyle rendered controls much better; It also fixes normal
9550 checkbox rendering when pushed or disabled.
9552 2004-10-08 02:50 jordi
9554 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
9557 2004-10-07 08:56 jordi
9559 * ThemeWin32Classic.cs: Removes deletion of cached brushes
9561 2004-10-06 03:59 jordi
9563 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
9564 XplatUIWin32.cs: removes warnings from compilation
9566 2004-10-05 12:23 jackson
9568 * RadioButton.cs: Fix ctor
9570 2004-10-05 11:10 pbartok
9573 - Partial implementation by Benjamin Dasnois
9575 2004-10-05 10:15 jackson
9577 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
9580 2004-10-05 03:07 ravindra
9583 - Removed a private method, Draw ().
9584 - Fixed the ButtonDropDown event handling.
9585 - Fixed MouseMove event handling.
9587 2004-10-05 03:04 ravindra
9589 * ThemeWin32Classic.cs:
9590 - Added DrawListView method and ListViewDefaultSize property.
9591 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
9592 - Changed DOS style CRLF to Unix format (dos2unix).
9594 2004-10-05 03:03 ravindra
9597 - Added DrawListView method and ListViewDefaultSize property.
9599 2004-10-05 02:42 ravindra
9601 * ToolBarButton.cs: Added an internal member dd_pressed to handle
9602 clicks on DropDown arrow.
9604 2004-10-04 22:56 jackson
9606 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
9607 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
9608 Control handle the buffers, derived classes should not have to
9609 CreateBuffers themselves.
9611 2004-10-04 21:20 jackson
9613 * StatusBar.cs: The control handles resizing the buffers now.
9615 2004-10-04 21:18 jackson
9617 * Control.cs: When resizing the buffers should be invalidated. This
9618 should be handled in Control not in derived classes.
9620 2004-10-04 14:45 jackson
9624 2004-10-04 02:14 pbartok
9626 * LeftRightAlignment.cs:
9629 2004-10-04 01:09 jordi
9631 * ThemeWin32Classic.cs: fixes right button position causing right
9632 button not showing on horizontal scrollbars
9634 2004-10-02 13:12 pbartok
9637 - Simplified the Invalidate method by using an X call instead of
9638 generating the expose ourselves
9639 - Added an expose when the window background is changed
9640 - Implemented ClientToScreen method
9642 2004-10-02 13:08 pbartok
9645 - Added Win32EnableWindow method (test for implementing modal
9647 - Added ClientToScreen method and imports
9649 2004-10-02 13:07 pbartok
9651 * XplatUI.cs, XplatUIDriver.cs:
9652 - Added ClientToScreen coordinate translation method
9654 2004-10-02 13:06 pbartok
9656 * KeyPressEventArgs.cs:
9657 - Fixed access level for constructor
9659 2004-10-02 13:06 pbartok
9662 - Changed access level for the window_collection hash table
9664 2004-10-02 13:05 pbartok
9667 - Added KeyPreview property
9668 - Added Menu property (still incomplete, pending Jordi's menu work)
9669 - Implemented ProcessCmdKey
9670 - Implemented ProcessDialogKey
9671 - Implemented ProcessKeyPreview
9673 2004-10-02 13:02 pbartok
9676 - Added private method to get the Control object from the window
9678 - Implemented ContextMenu property
9679 - Implemented PointToScreen
9680 - Implemented PreProcessMessage
9681 - Implemented IsInputChar
9682 - Implemented IsInputKey
9683 - Implemented ProcessCmdKey
9684 - Completed ProcessKeyEventArgs
9685 - Fixed message loop to call the proper chain of functions on key
9687 - Implemented ProcessDialogChar
9688 - Implemented ProcessDialogKey
9689 - Implemented ProcessKeyMessage
9690 - Implemented ProcessKeyPreview
9691 - Added RaiseDragEvent stub (MS internal method)
9692 - Added RaiseKeyEvent stub (MS internal method)
9693 - Added RaiseMouseEvent stub (MS Internal method)
9694 - Added RaisePaintEvent stub (MS Internal method)
9695 - Added ResetMouseEventArgs stub (MS Internal method)
9696 - Implemented RtlTranslateAlignment
9697 - Implemented RtlTranslateContent
9698 - Implemented RtlTranslateHorizontal
9699 - Implemented RtlTranslateLeftRight
9700 - Added generation of KeyPress event
9702 2004-10-02 05:57 ravindra
9704 * ListViewItem.cs: Added attributes.
9706 2004-10-02 05:32 ravindra
9708 * ListView.cs: Added attributes.
9710 2004-10-01 11:53 jackson
9712 * Form.cs: Implement the Close method so work on MessageBox can
9715 2004-09-30 14:06 pbartok
9720 2004-09-30 11:34 jackson
9722 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
9724 2004-09-30 07:26 ravindra
9726 * ListViewItemConverter.cs: Converter for ListViewItem.
9728 2004-09-30 07:26 ravindra
9730 * SortOrder.cs: Enum for ListView control.
9732 2004-09-30 07:25 ravindra
9734 * ColumnHeader.cs: Supporting class for ListView control.
9736 2004-09-30 07:24 ravindra
9738 * ListView.cs, ListViewItem.cs: Initial implementation.
9740 2004-09-30 07:20 ravindra
9742 * ItemActivation.cs: Enum for ListView Control.
9744 2004-09-29 20:29 pbartok
9747 - Added lookup of pixel value for background color; tries to get a
9748 color 'close' to the requested color, it avoids having to create a
9749 colormap. Depending on the display this could mean the used color
9750 is slightly off the desired color. Might have to change it to a more
9751 resource intensive colormap approach, but it will work as a
9752 workaround to avoid red screens.
9754 2004-09-29 14:27 jackson
9756 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
9758 2004-09-28 12:44 pbartok
9760 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
9761 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
9762 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
9763 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
9764 TrackBar.cs, VScrollBar.cs:
9765 - Streamlined Theme interfaces:
9766 * Each DrawXXX method for a control now is passed the object for
9767 the control to be drawn in order to allow accessing any state the
9770 * ControlPaint methods for the theme now have a CP prefix to avoid
9771 name clashes with the Draw methods for controls
9773 * Every control now retrieves it's DefaultSize from the current
9776 2004-09-28 12:17 jackson
9778 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
9781 2004-09-24 14:57 jackson
9783 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
9784 Gives us a nice little performance boost.
9786 2004-09-24 12:02 jackson
9788 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
9789 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
9790 Control and supporting classes. Initial checkin
9792 2004-09-23 13:08 jackson
9794 * Form.cs: Temp build fixage
9796 2004-09-23 01:39 ravindra
9798 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
9799 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
9800 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
9801 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
9802 EventHandlers needed by ListView Control.
9804 2004-09-22 14:12 pbartok
9806 * ScrollableControl.cs:
9807 - Implemented DockPadding property
9808 - Implemented AutoScroll property
9809 - Implemented AutoScrollMargin property
9810 - Implemented AutoScrollMinSize property
9811 - Implemented AutoScrollPosition property
9812 - Implemented DisplayRectangle property (still incomplete)
9813 - Implemented CreateParams property
9814 - Implemented HScroll property
9815 - Implemented VScroll property
9816 - Implemented OnVisibleChanged property
9818 2004-09-22 14:09 pbartok
9821 - Added Form.ControllCollection class
9822 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
9823 RemoveOwnedForm (still incomplete, missing on-top and common
9824 minimize/maximize behaviour)
9825 - Added StartPosition property (still incomplete, does not use when
9827 - Added ShowDialog() methods (still incomplete, missing forcing the
9830 2004-09-22 14:05 pbartok
9833 - Added message loop for modal dialogs
9835 2004-09-22 14:02 pbartok
9838 - Fixed wrong types for events
9840 2004-09-22 14:00 pbartok
9842 * Shortcut.cs, FormWindowState.cs:
9843 - Fixed wrong values
9845 2004-09-22 12:01 jackson
9847 * Control.cs: Text is never null
9849 2004-09-20 22:14 pbartok
9852 - Fixed accessibility level for Idle handler
9854 2004-09-20 18:54 jackson
9856 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9857 XplatUIX11.cs: New message loop that uses poll so we don't get a
9860 2004-09-17 10:43 pbartok
9863 - Fixed behaviour of arrow buttons. Now properly behaves like
9864 Buttons (and like Microsoft's scrollbar arrow buttons)
9866 2004-09-17 10:14 pbartok
9869 - Added missing release of keyboard/mouse capture
9871 2004-09-17 06:18 jordi
9873 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
9874 Theme.cs: Very early menu support
9876 2004-09-16 17:45 pbartok
9879 - Fixed sending a window to the front
9880 - Added overload for SetWindowPos to avoid casting
9882 2004-09-16 17:44 pbartok
9885 - Added SendToBack and BringToFront methods
9887 2004-09-16 07:00 ravindra
9889 * Copyright: Added Novell URL.
9891 2004-09-16 07:00 ravindra
9893 * ToolBar.cs: Invalidate should be done before redrawing.
9895 2004-09-15 21:19 ravindra
9897 * ColumnHeaderStyle.cs: Enum for ListView Control.
9899 2004-09-15 21:18 ravindra
9901 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
9904 2004-09-13 18:26 jackson
9906 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
9909 2004-09-13 18:13 jackson
9911 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
9912 a second thread and post messages into the main threads message
9913 queue. This makes timing much more consistent. Both win2K and XP
9914 have a minimum timer value of 15 milliseconds, so we now do this
9917 2004-09-13 15:18 pbartok
9919 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9921 - Added Z-Ordering methods
9923 2004-09-13 10:56 pbartok
9926 - Fixed #region names
9927 - Moved properties and methods into their proper #regions
9929 2004-09-13 10:51 pbartok
9932 - Added Accept and CancelButton properties
9933 - Added ProcessDialogKey() method
9935 2004-09-13 08:18 pbartok
9940 2004-09-10 21:50 pbartok
9943 - Added DoDragDrop() [incomplete]
9944 - Properly implemented 'Visible' handling
9945 - Added SetVisibleCore()
9946 - Implemented FindChildAtPoint()
9947 - Implemented GetContainerControl()
9948 - Implemented Hide()
9950 2004-09-10 19:28 pbartok
9953 - Moved methods into their appropriate #regions
9954 - Reordered methods within regions alphabetically
9956 2004-09-10 18:57 pbartok
9958 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
9959 - Added method to retrieve text from window
9961 2004-09-10 18:56 pbartok
9964 - Moved some internal functions into the internal region
9965 - Implemented FontHeight
9966 - Implemented RenderRightToLeft
9967 - Implemented ResizeRedraw
9968 - Implemented ShowFocusCues
9969 - Implemented ShowKeyboardCues
9970 - Implemented FromChildHandle
9971 - Implemented FromHandle
9972 - Implemented IsMnemonic
9973 - Implemented ReflectMessage
9974 - All public and protected Static Methods are now complete
9976 2004-09-10 16:54 pbartok
9979 - Implemented remaining missing public instance properties
9980 - Alphabetized some out of order properties
9982 2004-09-10 05:51 ravindra
9984 * PictureBox.cs: Added a check for null image.
9986 2004-09-10 00:59 jordi
9988 * GroupBox.cs: remove cvs tag
9990 2004-09-09 05:25 ravindra
9992 * ToolBar.cs: Make redraw accessible from ToolBarButton.
9994 2004-09-09 05:23 ravindra
9996 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
9999 2004-09-09 02:28 pbartok
10001 * ThemeWin32Classic.cs:
10002 - Improve disabled string look
10004 2004-09-09 01:15 jordi
10006 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10009 2004-09-08 23:56 ravindra
10011 * ItemBoundsPortion.cs: It's enum, not a class!
10013 2004-09-08 23:47 ravindra
10015 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10018 2004-09-08 21:13 ravindra
10020 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10023 2004-09-08 21:03 ravindra
10025 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10028 2004-09-08 21:01 ravindra
10030 * ScrollableControl.cs: Removed unreachable code.
10032 2004-09-08 06:45 jordi
10034 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10036 2004-09-08 01:00 jackson
10038 * XplatUIX11.cs: Only run the timers when updating the message
10039 queue. This effectively gives X messages a higher priority then
10040 timer messages. Timers still need love though
10042 2004-09-07 14:01 jackson
10044 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10045 this for us and the handle is no longer valid.
10047 2004-09-07 13:59 jackson
10049 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10050 loop that manages to not crash. TODO: Add poll and cleanup timers
10052 2004-09-07 11:12 jordi
10054 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10056 2004-09-07 03:40 jordi
10058 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10059 fixes, methods, multiple links
10061 2004-09-06 06:55 jordi
10063 * Control.cs: Caches ClientRectangle rectangle value
10065 2004-09-05 02:03 jordi
10067 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10070 2004-09-04 11:10 jordi
10072 * Label.cs: Refresh when font changed
10074 2004-09-02 16:24 pbartok
10077 - Added sanity check to creation of double buffer bitmap
10079 2004-09-02 16:24 pbartok
10082 - Fixed selection of text color
10083 - Fixed handling of resize event; now properly recreates double
10085 - Added missing assignment of TextAlignment
10086 - Added proper default for TextAlignment
10088 2004-09-02 14:26 pbartok
10091 - Added missing RadioButton.RadioButtonAccessibleObject class
10093 2004-09-02 14:26 pbartok
10096 - Added missing Control.ControlAccessibleObject class
10097 - Started to implement Select()ion mechanisms, still very incomplete
10099 2004-09-02 14:25 pbartok
10101 * AccessibleObject.cs:
10102 - Added missing methods
10104 2004-09-02 14:23 pbartok
10106 * AccessibleNavigation.cs, AccessibleSelection.cs:
10109 2004-09-02 10:32 jordi
10111 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10112 pool for pens, brushes, and hatchbruses
10114 2004-09-01 15:30 jackson
10116 * StatusBar.cs: Fix typo
10118 2004-09-01 14:44 pbartok
10123 2004-09-01 14:39 pbartok
10125 * Button.cs, RadioButton.cs:
10126 - Functional initial check-in
10128 2004-09-01 14:01 pbartok
10131 - Added missing default
10132 - Added missing region mark
10134 2004-09-01 09:10 jordi
10136 * Label.cs: fixes method signatures, new methods, events, fixes
10139 2004-09-01 07:19 jordi
10141 * Control.cs: Init string variables with an empty object
10143 2004-09-01 04:20 jordi
10145 * Control.cs: fires OnFontChanged event
10147 2004-08-31 20:07 pbartok
10150 - Enabled display of strings
10152 2004-08-31 20:05 pbartok
10155 - Added (partial) implementation of DialogResult; rest needs to be
10156 implemented when the modal loop code is done
10158 2004-08-31 19:55 pbartok
10161 - Fixed to match the removal of the needs_redraw concept
10163 2004-08-31 19:55 pbartok
10166 - Removed the rather odd split between 'needs redraw' and redrawing
10167 - Now handles the events that require regeneration (ambient
10168 properties and size)
10170 2004-08-31 19:41 pbartok
10173 - Added firing of BackColorChanged event
10174 - Added TopLevelControl property
10175 - Fixed handling of WM_ERASEBKGRND message
10177 2004-08-31 12:49 pbartok
10183 2004-08-31 12:48 pbartok
10186 - Finished (famous last words)
10188 2004-08-31 04:35 jordi
10190 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
10191 scrolling bugs, adds new methods
10193 2004-08-30 14:42 pbartok
10196 - Implemented CheckBox drawing code
10198 2004-08-30 14:42 pbartok
10201 - Made Redraw() and CheckRedraw() virtual
10202 - Improved mouse up/down/move logic to properly track buttons
10204 2004-08-30 09:44 pbartok
10207 - Updated to fix broken build. Not complete yet.
10209 2004-08-30 09:28 pbartok
10214 2004-08-30 09:17 pbartok
10219 2004-08-27 16:12 ravindra
10221 * ToolBarButton.cs: Added TypeConverter attribute.
10223 2004-08-27 16:07 ravindra
10225 * ImageIndexConverter.cs: Implemented.
10227 2004-08-27 14:17 pbartok
10230 - Removed unneeded stack vars
10231 - First attempt to fix sizing issues when layout is suspended
10233 2004-08-25 15:35 jordi
10235 * ScrollBar.cs: more fixes to scrollbar
10237 2004-08-25 14:04 ravindra
10239 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10240 Added the missing divider code and grip for ToolBar Control.
10242 2004-08-25 13:20 pbartok
10245 - Control now properly passes the ambient background color to child
10248 2004-08-25 13:20 jordi
10250 * ScrollBar.cs: small bug fix regarding bar position
10252 2004-08-25 12:33 pbartok
10255 - Now only calls SetTimer or KillTimer if the enabled state has
10258 2004-08-25 12:33 pbartok
10261 - Fixed timer handling, now seems to work
10262 - Improved error message for window creation
10264 2004-08-25 12:32 pbartok
10267 - Fixed generation of MouseUp message
10269 2004-08-25 12:29 jordi
10271 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10272 and fixes for progressbar
10274 2004-08-24 18:43 ravindra
10276 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10277 in ToolBar control.
10279 2004-08-24 17:15 pbartok
10283 - Added missing events
10286 2004-08-24 17:14 pbartok
10288 * StatusBar.cs, PictureBox.cs:
10289 - Now uses Control's CreateParams
10291 2004-08-24 16:36 pbartok
10294 - Fixed background color handling
10295 - Fixed sending of enter/leave events on a grab
10297 2004-08-24 16:35 pbartok
10300 - Refined definitions for CrossingEvent
10302 2004-08-24 12:37 jordi
10304 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10305 formmating, methods signature, and adds missing events
10307 2004-08-24 12:24 jordi
10309 * Control.cs: fire OnEnabledChanged event
10311 2004-08-24 11:17 pbartok
10314 - Implemented SetTimer() and KillTimer()
10316 2004-08-24 11:16 pbartok
10319 - Now uses Remove instead of Add to kill the timer
10321 2004-08-24 10:16 jackson
10323 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10324 picture boxes in the theme now. Draw picture box borders and obey
10327 2004-08-24 05:49 jackson
10329 * Timer.cs: Remove top secret debugging code
10331 2004-08-24 05:34 jackson
10333 * PictureBox.cs: Temp hack to make picture boxes draw their full
10336 2004-08-24 05:29 jackson
10338 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10339 XplatUIX11.cs: Move timers to the driver level. On X they are
10340 queued by the driver and checked on idle.
10342 2004-08-24 01:07 jackson
10344 * XplatUIX11.cs: Use a queue for async messages instead of passing
10345 them as ClientMessages since that was totally broken. Also simply
10346 check for events and return an idle message if none are found. This
10347 gives us an idle handler, and prevents deadlocking when no messages
10350 2004-08-23 18:19 ravindra
10352 * XplatUIWin32.cs: Removed the unwanted destructor.
10354 2004-08-23 17:27 pbartok
10357 - Finishing touches. Works now, just needs some optimizations.
10359 2004-08-23 16:53 jordi
10361 * ScrollBar.cs: small fix
10363 2004-08-23 16:45 pbartok
10366 - Removed debug output
10369 2004-08-23 16:43 jordi
10371 * ScrollBar.cs: [no log message]
10373 2004-08-23 16:10 pbartok
10376 - Fixed handling of WM_CLOSE message
10377 - Removed debug output
10379 2004-08-23 16:09 pbartok
10382 - Added handling of Idle event
10383 - Added handling of form closing
10384 - Fixed reporting of MessageLoop property
10385 - Removed some unneeded code, should provide a bit of a speedup
10387 2004-08-23 15:22 pbartok
10390 - Added InitLayout() method
10391 - Added code to properly perform layout when Anchor or Dock property
10393 - Changed 'interpretation' of ResumeLayout. MS seems to have a
10394 LAMESPEC, tried to do it in a way that makes sense
10396 2004-08-23 14:10 jordi
10398 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
10399 properties and methods
10401 2004-08-23 13:55 pbartok
10404 - Properly fixed Jordi's last fix
10405 - Now uses Cursor's Position property instead of calling XplatUI
10408 2004-08-23 13:44 jordi
10410 * PaintEventHandler.cs: Adding missing attribute
10412 2004-08-23 13:39 pbartok
10415 - Implemented Position property
10417 2004-08-23 13:39 pbartok
10419 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10420 - Added method to move mouse cursor
10422 2004-08-23 13:39 pbartok
10425 - Fixed setting of background color
10426 - Added method to move mouse cursor
10428 2004-08-23 13:16 jordi
10430 * Control.cs: avoids null exception
10432 2004-08-22 17:46 jackson
10434 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
10437 2004-08-22 17:40 jackson
10439 * XplatUIX11.cs: Add some missing locks
10441 2004-08-22 15:10 pbartok
10443 * Control.cs, Form.cs:
10444 - Removed OverlappedWindow style from Control, instead it's default
10446 - Made form windows OverlappedWindow by default
10448 2004-08-22 13:34 jackson
10450 * ScrollBar.cs: Update the position through the Value property so
10451 the OnValueChanged event is raised.
10453 2004-08-22 12:04 pbartok
10456 - Added Cursor.cs and UserControl.cs
10458 2004-08-22 12:03 pbartok
10461 - Started implementation, not usable yet
10463 2004-08-22 12:00 pbartok
10466 - Implemented UserControl (complete)
10468 2004-08-21 19:20 ravindra
10470 * ToolBar.cs: Correcting the formatting mess of VS.NET.
10472 2004-08-21 18:49 ravindra
10474 * ToolBar.cs: Probably this completes the missing attributes in
10477 2004-08-21 18:03 ravindra
10479 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
10480 Fixed toolbar control signatures.
10482 2004-08-21 16:32 pbartok
10487 2004-08-21 16:30 pbartok
10492 2004-08-21 16:19 pbartok
10494 * Control.cs, Label.cs:
10497 2004-08-21 15:57 pbartok
10500 - Added loads of debug output for development
10501 - Fixed typo in method name
10503 2004-08-21 15:52 pbartok
10505 * ToolBarButtonClickEventArgs.cs:
10506 - Added missing base class
10508 2004-08-21 14:53 pbartok
10511 - Updated to match new GrabWindow signature
10513 2004-08-21 14:51 pbartok
10515 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10516 - Added method to get default display size
10518 2004-08-21 14:23 pbartok
10520 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10521 - Added method to query current grab state
10522 - Added argument to allow confining a grab to a window
10524 2004-08-21 14:22 pbartok
10527 - Added [Flags] attribute so that modifiers can be used in bitwise
10530 2004-08-21 14:21 pbartok
10532 * TrackBar.cs, ScrollBar.cs:
10533 - Replaced direct XplatUI calls with their Control counterpart
10535 2004-08-21 13:32 pbartok
10538 - Implemented Created property
10540 2004-08-21 13:28 pbartok
10543 - Implemented ContainsFocus
10545 2004-08-21 13:26 pbartok
10548 - Implemented CausesValidation
10550 2004-08-21 13:21 pbartok
10553 - Implemented CanFocus
10554 - Implemented CanSelect
10555 - Implemented Capture
10557 2004-08-21 12:35 pbartok
10560 - Fixed bug with Async message handling
10561 - Implemented getting the ModifierKeys
10563 2004-08-21 12:32 jackson
10565 * AsyncMethodResult.cs: Make sure we have the mutex before we
10566 release it. Fixes BeginInvoke on windows
10568 2004-08-21 11:31 pbartok
10570 * XplatUIWin32.cs, XplatUIX11.cs:
10571 - Drivers now return proper mouse state
10573 2004-08-21 10:54 jackson
10575 * Control.cs: Implement EndInvoke
10577 2004-08-21 10:48 jackson
10579 * Timer.cs: Remove unneeded finalizer
10581 2004-08-20 19:52 ravindra
10583 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
10584 in mouse event handling in the ToolBar control.
10586 2004-08-20 19:50 ravindra
10588 * ImageList.cs: Changed draw method to use the arguments passed in
10591 2004-08-20 18:58 pbartok
10593 * XplatUIStructs.cs:
10594 - Added private message for async communication
10596 2004-08-20 17:38 ravindra
10598 * Control.cs: Made RightToLeft property virtual and removed a
10601 2004-08-20 14:39 jordi
10603 * ThemeGtk.cs: use style_attach
10605 2004-08-20 14:39 pbartok
10608 - Added jackson's Async code from X11 to Win32
10610 2004-08-20 14:09 pbartok
10613 - Added all new files
10615 2004-08-20 14:09 pbartok
10618 - Added call to set window background color
10620 2004-08-20 14:03 pbartok
10622 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
10623 - Added method for setting the window background
10625 2004-08-20 14:02 pbartok
10628 - Added method for setting the background color
10629 - Added handling for erasing the window background
10631 2004-08-20 13:45 jordi
10633 * TrackBar.cs: fixes timer, new properties and methods
10635 2004-08-20 13:34 jackson
10637 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
10640 2004-08-20 13:22 jackson
10642 * Timer.cs: Timer Tick events are now handed through Controls Async
10643 mechanism so the callbacks are executed in the same thread as X
10645 2004-08-20 13:19 jackson
10647 * XplatUIDriver.cs: Expose functionality to send async messages
10650 2004-08-20 13:18 jackson
10652 * Control.cs: Implement Begininvoke
10654 2004-08-20 13:14 jackson
10656 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
10657 messages through the driver
10659 2004-08-20 13:12 jackson
10661 * XplatUIX11.cs: Lock before all X operations. Also added Async
10662 method functionality through XSendEvent
10664 2004-08-20 13:11 jackson
10666 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
10667 This will screw up on 64 bit systems)
10669 2004-08-20 13:10 jackson
10671 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
10672 Async messages through X/Win32
10674 2004-08-19 19:39 pbartok
10677 - Updated code to match new HandleData.DeviceContext type
10679 2004-08-19 19:38 pbartok
10682 - Made DeviceContext a generic object to allow usage from various
10684 - Added support for queueing Windows messages
10686 2004-08-19 19:37 pbartok
10689 - Added generation of MouseEnter, MouseLeave and MouseHover events
10690 - Added cleanup on EndPaint
10692 2004-08-19 19:17 pbartok
10695 - Added handling of WM_MOUSEHOVER
10696 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
10699 2004-08-19 18:55 jordi
10701 * ThemeGtk.cs: fixes button order
10703 2004-08-19 18:12 jordi
10705 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
10707 2004-08-19 17:09 pbartok
10710 - Added Right property
10711 - Added RightToLeft property
10713 2004-08-19 16:27 jordi
10715 * ThemeGtk.cs: experimental GTK theme support
10717 2004-08-19 16:26 jordi
10719 * ITheme.cs, Theme.cs: move themes from an interface to a class
10721 2004-08-19 16:25 jordi
10723 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
10726 2004-08-19 16:04 pbartok
10729 - Added colormap basics
10730 - Added a way to re-initialize with a different display handle
10731 - Fixed setting of the window background color
10732 - Added various X11 imports related to colors and colormaps
10734 2004-08-19 15:51 pbartok
10737 - Removed packing hints (Paolo suggested this a while back)
10738 - fixed colormap type
10739 - Added default Atom types
10740 - Added Screen and color structs and enums
10742 2004-08-19 15:39 pbartok
10745 - Added missing Draw() method
10746 - Added missing RecreateHandle event
10748 2004-08-19 15:30 pbartok
10751 - Added handling of WM_CLOSE
10753 2004-08-18 13:16 jordi
10755 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
10758 2004-08-18 09:56 jordi
10760 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
10762 2004-08-17 15:31 ravindra
10764 * SWF.csproj: Updated project.
10766 2004-08-17 15:25 pbartok
10769 - Drawing improvement; don't call UpdateBounds if we are not visible
10770 (or have been minimized)
10772 2004-08-17 15:24 pbartok
10775 - Finished IsVisible
10776 - Added Win32GetWindowPlacement
10778 2004-08-17 15:08 jackson
10780 * Panel.cs: Initial checkin of the Panel
10782 2004-08-17 14:25 pbartok
10785 - Fixed broken handling of default window sizes
10787 2004-08-17 13:29 jackson
10789 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
10790 has a large startup time.
10792 2004-08-17 10:25 jackson
10794 * HandleData.cs: union areas properly
10796 2004-08-17 10:12 jackson
10798 * HandleData.cs: union areas properly
10800 2004-08-16 20:00 ravindra
10802 * ToolBar.cs, ToolBarButton.cs: Added attributes.
10804 2004-08-16 18:48 ravindra
10806 * ToolBar.cs: Added attributes.
10808 2004-08-16 17:17 ravindra
10810 * SWF.csproj: Updated project.
10812 2004-08-16 17:16 jackson
10814 * XplatUIX11.cs: Check for more expose events before sending a
10815 WM_PAINT so they can all be grouped together. This makes dragging a
10816 window across another window redraw in a sane way.
10818 2004-08-16 15:47 pbartok
10821 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
10822 support OnMouseEnter/Leave()
10823 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
10826 2004-08-16 15:46 pbartok
10828 * XplatUIStructs.cs, XplatUIX11.cs:
10829 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
10830 OnMouseEnter/Leave()
10832 2004-08-16 15:34 jackson
10834 * XplatUIX11.cs: Group multiple expose events in HandleData, make
10835 sure messages get the message field set to WM_NULL if they are not
10838 2004-08-16 15:24 jackson
10840 * HandleData.cs: HandleData is used for storing message information
10843 2004-08-15 17:23 ravindra
10845 * ColorDepth.cs: Added attribute.
10847 2004-08-15 17:23 ravindra
10849 * SWF.csproj: Updated project for ToolBar Control.
10851 2004-08-15 17:20 ravindra
10853 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
10854 control and also dos2unix format.
10856 2004-08-15 17:13 ravindra
10858 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
10859 ToolBarButtonClickEventArgs.cs,
10860 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
10861 ToolBarTextAlign.cs: First Implementation of ToolBar control.
10863 2004-08-15 15:31 pbartok
10866 - First (mostly) working version
10868 2004-08-13 16:15 pbartok
10871 - Fixed Anchor default
10873 2004-08-13 15:43 pbartok
10876 - Changed GetCursorPos signature
10878 2004-08-13 15:42 pbartok
10880 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10881 - Changed signature for GetCursorPos
10883 2004-08-13 15:25 pbartok
10887 - Fixed resizing/exposure handling
10889 2004-08-13 15:22 jordi
10891 * ThemeWin32Classic.cs: removes redundant code and fixes issues
10894 2004-08-13 14:55 jordi
10896 * TrackBar.cs: change from wndproc to events
10898 2004-08-13 13:00 jordi
10900 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10901 XplatUIX11.cs: implements PointToClient (ScreenToClient)
10903 2004-08-13 12:53 pbartok
10906 - Changed GetWindowPos to also provide client area size
10907 - Fixed broken prototypes for several win32 functions
10909 2004-08-13 12:53 pbartok
10911 * XplatUI.cs, XplatUIDriver.cs:
10912 - Changed GetWindowPos to also provide client area size
10914 2004-08-13 12:52 pbartok
10917 - Added generation of WM_POSCHANGED
10918 - Changed GetWindowPos to also provide client area size
10920 2004-08-13 12:52 pbartok
10923 - Added Dispose() and destructor
10924 - Fixed resizing and bounds calculation
10926 - Added memory savings for invisible windows
10928 2004-08-13 12:46 jordi
10930 * TrackBar.cs: adds timer and grap window
10932 2004-08-13 10:25 jackson
10934 * Timer.cs: SWF Timer
10936 2004-08-12 16:59 pbartok
10938 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10939 - Implemented method to get current mouse position
10941 2004-08-12 14:29 jordi
10943 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
10944 enhancement, fix mouse problems, highli thumb, etc
10946 2004-08-12 13:31 pbartok
10949 - Fixed Anchoring bugs
10951 2004-08-12 13:01 jackson
10953 * StatusBar.cs: Don't forget things
10955 2004-08-12 12:54 jackson
10957 * ThemeWin32Classic.cs: Handle owner draw status bars
10959 2004-08-12 12:54 jackson
10961 * StatusBar.cs: Implement missing properties, events, and methods.
10962 Handle mouse clicking
10964 2004-08-12 10:19 jackson
10966 * StatusBarPanelClickEventArgs.cs,
10967 StatusBarPanelClickEventHandler.cs: Classes for handling status
10968 bar panel click events
10970 2004-08-12 10:10 jackson
10972 * Control.cs: Add missing properties
10974 2004-08-12 09:46 pbartok
10976 * BindingsManagerBase.cs:
10977 - Name changed to BindingManagerBase.cs
10979 2004-08-12 09:25 jordi
10981 * ScrollableControl.cs: calls ctrlbase instead of exeception
10983 2004-08-11 16:28 pbartok
10985 * InputLanguageChangingEventArgs.cs:
10986 - Never check in before compiling. Fixes the last check-in
10988 2004-08-11 16:26 pbartok
10990 * InputLanguageChangingEventArgs.cs:
10991 - More signature fixes
10993 2004-08-11 16:20 pbartok
10995 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
10996 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
10997 ImageListStreamer.cs, InputLanguage.cs,
10998 InputLanguageChangedEventArgs.cs,
10999 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11000 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11001 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11002 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11005 2004-08-11 16:16 pbartok
11009 - Added .Net 1.1 method
11011 2004-08-11 15:25 pbartok
11014 - Fixed BindingManagerBase.cs filename
11016 2004-08-11 15:22 pbartok
11018 * BindingManagerBase.cs:
11019 - Was checked in with wrong filename
11021 2004-08-11 14:50 pbartok
11026 2004-08-11 13:41 jordi
11028 * XplatUIWin32.cs: Fixes ClientRect
11030 2004-08-11 13:19 pbartok
11032 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11034 - We had SetWindowPos and MoveWindow to set window positions and
11035 size, removed MoveWindow. We have GetWindowPos, so it made sense to
11036 keep SetWindowPos as matching counterpart
11037 - Added some X11 sanity checking
11039 2004-08-11 12:59 pbartok
11042 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11043 (It seems that SetBounds is just a front for SetBoundsCore and
11044 SetBoundsCore updates the underlying window system and
11045 UpdateBounds is responsible for updating the variables associated
11046 with the Control and sending the events)
11047 - Major cleanup of Size handling; we now have two sizes, client_size
11048 and bounds. Bounds defines the window with decorations, client_size
11051 2004-08-11 12:55 pbartok
11053 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11054 - Added method to calculate difference between decorated window and
11057 2004-08-11 12:54 pbartok
11060 - Forcing redraw on resize
11062 2004-08-11 11:43 pbartok
11065 - Removed disposing of the actual images when the list is disposed
11067 2004-08-11 09:13 pbartok
11070 - Now properly reparents windows
11072 2004-08-11 08:37 pbartok
11077 2004-08-11 07:47 pbartok
11080 - Rewrote the collection stuff. Might not be as fast now, not
11081 keeping the number of children around and accessible directly, but
11082 it's more straightforward
11084 2004-08-11 07:44 pbartok
11086 * AccessibleObject.cs:
11087 - Fixed to match ControlCollection rewrite
11089 2004-08-11 07:43 pbartok
11092 - Added missing creation of the collection list
11094 2004-08-10 20:08 jackson
11096 * StatusBar.cs: Get the paint message from WndProc
11098 2004-08-10 19:31 jackson
11100 * ThemeWin32Classic.cs: Create Brushes as little as possible
11102 2004-08-10 19:20 jackson
11104 * UICues.cs: Add Flags attribute
11106 2004-08-10 19:19 jackson
11108 * StatusBarPanel.cs: Signature cleanup
11110 2004-08-10 19:10 jackson
11112 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11113 Initial implementation of status bar item drawing
11115 2004-08-10 17:27 jordi
11117 * TrackBar.cs: add missing methods, properties, and restructure to
11120 2004-08-10 16:24 jackson
11122 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
11123 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
11126 2004-08-10 13:21 jordi
11128 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
11129 enhancements and standarize on win colors defaults
11131 2004-08-10 12:52 jackson
11133 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
11134 ThemeWin32Classic.cs: Implement DrawItem functionality
11136 2004-08-10 12:47 jordi
11138 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
11140 2004-08-10 12:32 jordi
11142 * Control.cs: throw ontextchange event
11144 2004-08-10 11:43 pbartok
11147 - Added more to the still unfinished Dock/Anchor layout code
11149 2004-08-10 11:39 pbartok
11151 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11152 - Added GetWindowPos method
11154 2004-08-10 11:36 pbartok
11157 - Implemented several methods
11159 2004-08-10 09:47 jackson
11161 * TrackBar.cs: Allow control to handle buffering
11163 2004-08-10 09:41 jackson
11165 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
11167 2004-08-10 09:24 jackson
11169 * Label.cs, LinkLabel.cs: Let Control handle buffering.
11171 2004-08-10 09:09 jackson
11173 * StatusBar.cs: Let Control handle all the buffering.
11175 2004-08-10 09:08 jackson
11177 * Control.cs: Control will now handle the buffering code, so each
11178 control does not have to implement this.
11180 2004-08-10 08:34 jackson
11182 * XplatUIDriver.cs: Use default colors from the theme
11184 2004-08-09 17:12 pbartok
11187 - Fixed several bugs Ravindra pointed out
11189 2004-08-09 16:11 pbartok
11192 - Added incomplete dock layout code
11193 - Added support for mouse wheel
11195 2004-08-09 16:09 pbartok
11198 - Added handling for middle and right mousebutton
11199 - Added handling for mouse wheel
11200 - Added handling for key state and mouse state and position
11201 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
11204 2004-08-09 15:40 jackson
11206 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
11207 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
11210 2004-08-09 15:37 jackson
11212 * StatusBar.cs: Initial implementation of StatusBar
11214 2004-08-09 15:36 jackson
11216 * ITheme.cs: Add support for drawing status bar and getting status
11219 2004-08-09 15:35 pbartok
11224 2004-08-09 15:34 jackson
11226 * ThemeWin32Classic.cs: Add support for drawing status bar and get
11227 status bar item sizes
11229 2004-08-09 15:21 jackson
11231 * ThemeWin32Classic.cs: Use known colors for default control
11234 2004-08-09 15:12 jackson
11236 * ThemeWin32Classic.cs: Make the default font static, it is static
11237 in control so this doesn't change functionality and creating fonts
11240 2004-08-09 14:56 pbartok
11243 - Added GrabMode enum
11245 2004-08-09 14:55 pbartok
11247 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11248 - Removed Run method, was only required for initial development
11250 2004-08-09 14:51 pbartok
11252 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11253 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11256 2004-08-09 13:48 pbartok
11259 - Fixed default sizing for child windows
11261 2004-08-09 12:56 pbartok
11264 - Added generation of WM_DESTROY message
11265 - Added handling of window manager induced shutdown
11267 2004-08-09 11:31 jackson
11269 * ThemeWin32Classic.cs: New names for control properties
11271 2004-08-09 11:25 jackson
11273 * Control.cs: Use new color names
11275 2004-08-09 11:02 jackson
11277 * XplatUI.cs: Get default window properties from the theme
11279 2004-08-09 11:01 jackson
11281 * ITheme.cs: The theme engine now controls default window
11284 2004-08-09 11:00 jackson
11286 * ThemeWin32Classic.cs: Add default window color properties
11288 2004-08-09 10:17 jackson
11290 * ThemeWin32Classic.cs: Use correct default back color
11292 2004-08-09 10:05 jackson
11294 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11297 2004-08-09 09:56 jackson
11299 * XplatUI.cs: Remove defaults, these are handled by the theme now.
11301 2004-08-09 09:54 jackson
11303 * Control.cs: Get default properties from the theme.
11305 2004-08-09 09:53 jackson
11307 * ITheme.cs: Themes now handle default control properties
11309 2004-08-09 09:53 jackson
11311 * ThemeWin32Classic.cs: Themes now handle default control
11312 properties so coloring will be consistent
11314 2004-08-08 16:54 jordi
11316 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11318 2004-08-08 15:08 jordi
11320 * XplatUIX11.cs: fixes keyboard crash
11322 2004-08-08 13:47 jordi
11324 * Label.cs: add cvs header info
11326 2004-08-08 12:09 jackson
11328 * ThemeWin32Classic.cs: Add pen_buttonface
11330 2004-08-08 11:52 jordi
11332 * Label.cs, LinkLabel.cs: [no log message]
11334 2004-08-08 11:34 jordi
11336 * ThemeWin32Classic.cs: Use Windows Standard Colours
11338 2004-08-07 17:32 jordi
11340 * TrackBar.cs: throw exceptions of invalid enums values
11342 2004-08-07 17:31 jordi
11344 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11347 2004-08-07 16:56 jackson
11349 * HorizontalAlignment.cs: Initial checkin
11351 2004-08-07 13:16 jordi
11353 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11356 2004-08-07 13:05 jordi
11358 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
11359 GetSysColor defines
11361 2004-08-06 18:01 pbartok
11363 * ThemeWin32Classic.cs:
11364 - Fixed some rounding issues with float/int
11366 2004-08-06 18:00 jackson
11368 * DockStyle.cs, AnchorStyles.cs:
11370 Add flags and serializable attributes.
11372 2004-08-06 17:46 pbartok
11375 - Implemented GetParent
11377 2004-08-06 17:18 pbartok
11380 - Fixed some rounding issues with float/int
11382 2004-08-06 17:17 pbartok
11384 * X11Structs.cs, XplatUIX11.cs:
11385 - Fixed Refresh and Invalidate
11387 2004-08-06 15:30 pbartok
11389 * Control.cs, X11Structs.cs, XplatUIX11.cs:
11390 - Fixed recursive loop when resizing
11391 - Improved/fixed redrawing on expose messages
11393 2004-08-06 09:53 jordi
11395 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
11396 keyboard navigation
11398 2004-08-06 08:02 pbartok
11400 * X11Structs.cs, XplatUIX11.cs:
11401 - Fixed reparenting
11402 - Fixed window border creation
11404 2004-08-05 15:38 pbartok
11407 - Attempted fix for reparenting problems
11409 2004-08-04 15:14 pbartok
11412 - Fixed Invalidation bug (calculated wrong client area)
11413 - Added ClientSize setter
11415 2004-08-04 15:13 pbartok
11418 - Added AutoScale properties
11420 2004-08-04 15:13 pbartok
11423 - Added latest files
11425 2004-08-04 14:11 pbartok
11427 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11429 - Added Invalidate handling
11431 2004-08-03 17:09 jordi
11433 * XplatUIDriver.cs: fixes spelling mistake
11435 2004-07-27 09:53 jordi
11437 * TrackBar.cs: fixes trackbar events, def classname, methods
11440 2004-07-27 09:29 jordi
11442 * ScrollBar.cs: fixes scrollbar events
11444 2004-07-27 04:38 jordi
11446 * Control.cs: changes to be able to run winforms samples
11448 2004-07-26 11:42 jordi
11450 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
11451 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
11453 2004-07-26 05:41 jordi
11455 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
11456 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
11459 2004-07-22 09:22 jordi
11461 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
11462 check link overlapping, implement events, and fixes
11464 2004-07-21 10:28 jordi
11466 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
11468 2004-07-21 10:19 jordi
11470 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
11471 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
11472 LinkLabelLinkClickedEventArgs.cs,
11473 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
11474 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
11477 2004-07-19 13:09 jordi
11479 * Control.cs, Label.cs: label control re-written: added missing
11480 functionlity, events, and properties
11482 2004-07-19 10:49 jordi
11484 * Control.cs: fixes SetBounds logic
11486 2004-07-19 01:29 jordi
11488 * Control.cs: Call RefreshWindow only if the window has created
11490 2004-07-15 14:05 pbartok
11492 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
11493 - Implemented ImageList and ImageList.ImageCollection classes
11494 - Added ColorDepth enumeration
11495 - Updated SWF VS.Net project
11497 2004-07-15 11:06 jordi
11499 * XplatUIStructs.cs: added MsgButons enum
11501 2004-07-15 11:03 jordi
11503 * Control.cs: added basic mouse handeling events
11505 2004-07-15 03:38 jordi
11507 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
11508 Vertical TrackBar control implementation
11510 2004-07-13 09:33 jordi
11512 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
11514 2004-07-13 09:31 jordi
11516 * Control.cs, Form.cs: commit: new properties and fixes form size
11519 2004-07-09 14:13 miguel
11521 * ProgressBar.cs: Spelling
11523 2004-07-09 11:25 pbartok
11526 - Removed usage of Rectangle for drawing. Miguel pointed out it's
11529 2004-07-09 11:17 miguel
11531 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
11533 * ProgressBar.cs: Fixed spelling for `block'
11535 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
11538 Avoid using the += on rect.X, that exposed a bug in the compiler.
11540 2004-07-08 23:21 pbartok
11542 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
11543 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
11544 BaseCollection.cs, Binding.cs, BindingContext.cs,
11545 BindingMemberInfo.cs, BindingsCollection.cs,
11546 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
11547 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
11548 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
11549 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
11550 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
11551 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
11552 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
11553 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
11554 FrameStyle.cs, GiveFeedbackEventArgs.cs,
11555 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
11556 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
11557 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
11558 InputLanguageChangedEventArgs.cs,
11559 InputLanguageChangedEventHandler.cs,
11560 InputLanguageChangingEventArgs.cs,
11561 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
11562 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
11563 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
11564 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
11565 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
11566 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
11567 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
11568 QueryAccessibilityHelpEventArgs.cs,
11569 QueryAccessibilityHelpEventHandler.cs,
11570 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
11571 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
11572 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
11573 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
11574 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
11575 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
11576 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
11577 XplatUIX11.cs, lang.cs: