1 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
4 - We now only destroy our double-buffering buffers when the
5 control is resized or disposed, but not when visibility
6 changes. (The code even re-created them twice every time)
7 - Now requiring a redraw of the buffer on visibility changes
8 (fixes bug 77654 part 2)
9 - Not passing OnParentVisibleChanged up unless the control
11 - CanFocus: Fixed to match MS documentation
12 - Focus: Fixed to return actual focus state and to check if
13 setting focus is legal before setting it
14 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
15 when to draw focus rectangle by looking at parent focus and
16 selected state instead. This fixes TabPages on Linux sometimes
17 having none or multiple focus rectangles.
18 * XplatUIX11.cs (SetFocus):
19 - Don't set the focus if the same window already has focus
20 - Use SendMessage instead of PostMessage (like it's Win32
21 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
23 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
26 2006-03-07 Jackson Harper <jackson@ximian.com>
28 * PictureBox.cs: Revert line I accidently committed last week.
30 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
33 - Added new IsRecreating and ParentIsRecreating properties to
34 allow testing if RecreateHandle has been called on ourselves
36 - WndProc(WM_DESTROY): If our control handle is being recreated
37 we immediately need to create the handle when receiving the
38 destroy, that way our child windows find a valid parent handle
39 when they themselves are being recreated upon WM_DESTROY receipt
40 (fix for bug #77654 part 1)
42 - DestroyWindow: WM_DESTROY must be sent to our own window before
43 notifying any child windows. MS documents that child windows
44 are still valid when WM_DESTROY is received. (Control now relies on
46 - Added some fine-grain debug options
48 2006-03-06 Jackson Harper <jackson@ximian.com>
50 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
51 box and base calculations off this.
53 * MdiWindowManager.cs: Don't need to ensure scrollbars here
56 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
58 * Splitter.cs: In situations where the affected control is added
59 to the parent's control list after the splitter, we would not
60 populate affected. Now we try populating it on mousedown, if
61 it's not already set, and force it to be re-set whenever our
64 2006-03-03 Matt Hargett <matt@use.net>
66 * Control.cs: implement Control.Padding
67 * Padding.cs: -Padding.All returns -1 when constructing with the
69 -Padding.ToString() matches MS.NET
70 * ContainerControl.cs: implement
71 ContainerControl.AutoScaleDimensions
72 * ListControl.cs: implement ListControl.FormattingEnabled
73 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
75 * TabPage.cs: Implement UseVisualStyleBackColor.
76 * PictureBox.cs: Implement PictureBox.InitialImage.
78 2006-03-03 Mike Kestner <mkestner@novell.com>
80 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
81 event declarations to proxy to base event.
82 * ListViewItem.cs: update to use ItemControl.
83 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
84 * ThemeWin32Classic.cs: update to new ListView theme API and fix
85 column header label rendering for 0 width columns.
87 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
89 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
90 that causes the control to be created. Fixes #77476.
92 2006-03-02 Jackson Harper <jackson@ximian.com>
94 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
97 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
99 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
100 passed in for the EventArgs (fixes #77690)
102 2006-03-01 Jackson Harper <jackson@ximian.com>
104 * ScrollBar.cs: Refresh afterbeing resized.
106 2006-02-28 Mike Kestner <mkestner@novell.com>
108 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
109 Clean up a tracker compile warning.
110 * MenuItem.cs: add internal PerformPopup method.
113 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
115 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
116 implicit expose) when the text is set to null
118 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
120 * RichTextBox.cs (FlushText): When newline is true, we always
121 need to split the line, even if no text is on it and we may
122 never eat newlines. (Fixes #77669)
124 2006-02-28 Mike Kestner <mkestner@novell.com>
126 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
127 and set Selected instead.
128 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
131 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
133 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
135 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
138 - Got rid of the panel. All controls are now directly added to
140 - It is now possible to set a font with the Font property
141 - MinSize and MaxSize property do now what they should
142 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
143 - Searching and selecting a font with the font textbox works now,
144 the same applies to the style and size textbox
145 - Draw the correct 3D border in the example panel
146 - Fixed a little mem leak (unused fonts didn't get disposed)
147 - Many other internal updates/rewrites...
150 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
153 - InsertRTFFromStream: Added 'number of characters inserted' argument
154 - set_SelectedRTF: Now using the number of characters to calculate
155 the new location for the selection and cursor (x/y cannot be used
156 due to potentially already wrapped text)
158 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
160 * TextControl.cs: Added property and implemented means to allow
161 disabling recalculation of a document (can be used to speed up
162 multiple inserts and is needed to make RTF inserts predictable, see
164 * RichTextBox.cs: Using the new NoRecalc property of Document to
165 keep x/y insert locations predictable. Also makes it faster inserting
168 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
170 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
171 it's easier for a child control to handle the other messages without
172 having to duplicate the special functionality
174 - WndProc: Removed calling base handler for WM_KEYDOWN and added
175 code to handle processing the key ourselves, in order to get
176 access to the result of KeyEventArgs.Handled. We now only call
177 ProcessKey if they key hasn't been handled already. Fixes #77526.
178 - set_Text: If null or empty string is given, just clear the
179 document. Fixes part of #77526
181 2006-02-27 Jackson Harper <jackson@ximian.com>
183 * SizeGrip.cs: Paint the background color before painting the grip
184 so things look right.
185 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
187 2006-02-27 Mike Kestner <mkestner@novell.com>
190 - Restructure layout and invalidation model to remove a ton of
191 flicker from the control and speed up performance in general.
192 - Add manual column resize, flickers like crazy, but I already have
193 some ideas on how I'll fix that. (#76822)
194 - Merge the three Icon-based views into a single layout method.
195 - Move item selection interaction logic from the item since
196 interaction with the collections is more appropriate to the view.
197 - Deselection on non-item clicks.
199 - Encapsulate most of the layout. Add some internal props to trigger
200 layout. Move to a model where Items invalidate themselves instead
201 of just invalidating the whole control every time something changes.
202 - Invalidate on Text/Caption changes.
203 - switch to an offset based layout model to avoid having to absolute
204 position every element on item moves.
205 - correct checkbox layout to conform to MS layout.
206 * ThemeWin32Classic.cs:
207 - refactor some column header drawing code.
208 - fix string justification for column headers (#76821)
209 - make SmallIcon labels top justified for compat with MS impl.
210 * ThemeClearlooks.cs:
211 - adjust to new ListViewItem internal checkbox bounds api.
213 2006-02-27 Jackson Harper <jackson@ximian.com>
215 * Control.cs: Change where implicit controls fall in the zorder.
216 They are now on top of all children.
217 - Synced AddImplicit code with Add
218 - Removed unused enumerator.
219 * SizeGrip.cs: Remove the TODO as its been TODONE.
221 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
223 * TextControl.cs(Insert): Combine the last lines unless the insertion
224 string ends with \n\n, otherwise we leave one line too many (Fixes
225 something I noticed with the testapp for #77526; the bug itself was
226 already fixed in the previous checkin)
228 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
231 - SelectionColor and SelectionFont methods no longer set absolute
232 styles. Instead, the keep font or color respectively (This
233 resolves a long-standing FIXME in the code)
234 - When flushing RTF text, the insert code now considers text trailing
235 behind the insertion point (Fixes the bug where when replacing
236 the selected text via SelectedRTF the remainder of the line behind
237 the selection would stay on the first insertion line)
239 - AppendText now updates the selection points after inserting text
240 - AppendText now ensures that the last tag (sometimes 0-length) of
241 the document is used for the style information (Fixes part of
244 - Created new FontDefiniton class to allow describing partial style
246 - StreamLine() now takes a lines argument, to allow it to decide
247 whether an encountered zero-length tag is the last in the document
248 (which must be kept to not loose the font/color contained in it,
250 - Created Combine() and Split() methods for Marker structs, to
251 support marker updates due to reformatted documents (soft line
253 - Implemented Document.CaretTag setter
254 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
255 of the last line (Not the cause, but also exposed by bug #77220)
256 - Added LineTag argument to InsertString method, to allow callers
257 to force a certain tag to be used (required to force use of the
258 trailing zero-length tag of a document)
259 - Now updating markers in Combine(), to avoid stale tag markers
260 - Added some method descriptions to aid maintenance
261 - Implemented new FormatText concept, allowing additive/subtractive
262 formatting by only specifying the components that are to be
263 changed. This was needed for resolving the RTB.SelectedColor/
264 RTB.SelectedFont fixmes
265 - Added Break() support method to allow breaking up linetags (used
266 for partial formatting)
267 - Added GenerateTextFormat() method. It is used for partial
268 formatting and allows to generate a full font/color from given
269 attributes and an existing tag.
271 2006-02-26 Jackson Harper <jackson@ximian.com>
273 * XplatUIX11.cs: Use the correct caption height.
274 - Translate hittest coordinates to screen coords to match MS.
275 * XplatUIWin32.cs: When we create MDI windows we need to reset
276 some of the style flags, so we get a nice blank window, and can
277 draw all the decorations ourselves.
278 - Set a clipping rectangle on the non client paint event, the
279 window manager drawing code needs one.
280 * Form.cs: The window manager needs to know when the window state
282 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
283 don't need to factor in border and title sizes in these
284 methods. TODO: Remove the args and fix the call points.
285 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
287 - Let the driver set the cursors.
288 - Improve active window handling
289 - Correct sizes for title bars and buttons.
290 - Match MS drawing better
291 * MdiWindowManager.cs: We don't need to handle border style
292 updates specially anymore.
293 - Check for scrollbars when windows are done moving
294 - Handle Active properly.
295 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
296 correctly. I am spewing the exception though, so we don't hide the
299 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
301 * DataGridViewRowPostPaintEventArgs.cs,
302 DataGridViewCellPaintingEventArgs.cs,
303 DataGridViewRowCollection.cs,
304 DataGridViewRowPrePaintEventArgs.cs,
305 DataGridViewCell.cs: Clear a few warnings and implement a few
306 exceptions that should be thrown.
308 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
310 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
311 'inheriting' our parent's (non-default) cursor. (Part of
314 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
316 * XplatUIX11.cs: Fixed cast to make csc happy
318 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
320 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
321 it's for the client area (part of fix for #77479 and needed
322 for MDI window cursor handling)
324 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
325 the appropriate default cursors and also passing the message
327 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
330 2006-02-15 Jackson Harper <jackson@ximian.com>
332 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
335 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
337 * X11DesktopColors.cs: Instead of checking the desktop session
338 string for "KDE" check if it starts with "KDE"
340 2006-02-10 Jackson Harper <jackson@ximian.com>
342 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
345 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
347 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
350 - Got rid of the panel. All controls are now directly added to
352 - Changed to mono coding style
354 2006-02-10 Jackson Harper <jackson@ximian.com>
356 * InternalWindowManager.cs: We don't need the set visibility to
357 false hack anymore now that peter has written beautiful shutdown
360 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
362 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
363 where already explicitly destroyed
365 2006-02-10 Jackson Harper <jackson@ximian.com>
367 * MdiClient.cs: Handle the case where windows are too high or to
368 the left and we need scrollbars.
370 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
372 * MimeIcon.cs: Added some icons
375 - Got rid of the panel. All controls are now directly added to
377 - Changed to mono coding style
378 - On Linux "My Computer" and "My Network" will now show some
379 more usefull information. A new class, MasterMount, gathers
380 this information from /proc/mount. Updated MWFFileView to make
381 use of this information
382 - Fixed a bug that caused FileDialog to crash when
383 ".recently_used" file had a zero size
384 - FilterIndex does now what it should
386 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
389 2006-02-09 Jackson Harper <jackson@ximian.com>
391 * ComboBox.cs: Don't touch if null.
393 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
395 * Cursor.cs: 64bit safeness fix
396 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
398 2006-02-09 Jackson Harper <jackson@ximian.com>
400 * Form.cs: If a form is made into an MDI form update the styles so
401 all the props can get set correctly.
402 - Kill the mdi_container when we dont need it anymore.
403 * InternalWindowManager.cs: Add missing NOT
405 2006-02-08 Jackson Harper <jackson@ximian.com>
407 * InternalWindowManager.cs: Respek clipping when drawing MDi
410 2006-02-08 Jackson Harper <jackson@ximian.com>
412 * Hwnd.cs: Add bits to track non client expose events.
413 * XplatUIX11.cs: Track non client expose events on the hwnd. This
414 gives us a proper invalid rect and will allow for some nice
415 optimizations with NC client drawing
416 - MDI windows are children windows, so move their style handling
417 into the child window block.
418 * InternalWindowManager.cs: Remove a state reset that was
419 getting invoked at the wrong time. Fixes managed windows getting
420 into a 'stuck' captured state.
422 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
424 * TextControl.cs (Document.ctor): Now initializing
425 selection_anchor. Fixes #77493
427 2006-02-07 Jackson Harper <jackson@ximian.com>
429 * TrackBar.cs: The increment/decrements were backwards.
431 2006-02-07 Mike Kestner <mkestner@novell.com>
433 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
434 to the instance itself.
436 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
438 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
439 on ulongs and pointers, the size differs between 32bit and 64bit
442 2006-02-07 Mike Kestner <mkestner@novell.com>
444 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
445 for 64 bit platforms to work around a metacity bug.
447 2006-02-07 Jackson Harper <jackson@ximian.com>
449 * TrackBar.cs: Process the input keys we need, and hookup to
450 KeyDown instead of using WndProc, so we get key messages.
452 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
454 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
456 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
457 we need to translate the XdndVersion atoms array before sending it
459 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
462 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
463 number of bits for the property, not the number of bytes. The
464 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
465 but would not crash since it specified 8 bits instead of 4 bits)
466 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
467 defined as XID -> long in the C headers)
468 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
469 references since those are now IntPtr to begin with
470 - Switched all Atom.XXX 'int' casts to IntPtr casts
471 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
472 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
473 - Added XChangeActivePointerGrab DllImport (for X11DnD)
475 - Changed 'int' type for Atoms in XEvent structures to IntPtr
476 - Changed atom in HoverStruct to be IntPtr
478 - Removed local DllImports, switched code to use those from XplatUIX11
479 - Removed/fixed casts related to the switch of Atom to be a IntPtr
481 2006-02-06 Mike Kestner <mkestner@novell.com>
483 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
484 method signatures in the import region. There may still be some
485 lingering struct marshaling issues, as I didn't drill down into those.
488 2006-02-06 Jackson Harper <jackson@ximian.com>
490 * ComboBox.cs: Dont manually set the top_item, this is computed
491 when the scrollbar position is set.
493 2006-02-06 Mike Kestner <mkestner@novell.com>
495 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
496 startup crashes on amd64. There's other fixes needed. All pinvoke
497 usage of Atom needs to be mapped to IntPtr for example. And there are
498 likely other int/long issues to be addressed.
500 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
502 * FileDialog.cs: One more...
504 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
506 * FileDialog.cs: Next try
508 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
510 * FileDialog.cs: First part of fix for #77464
512 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
514 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
515 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
516 AcceptButton border drawing.
518 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
520 * Form.cs: Moved positioning of form after auto scaling is applied,
521 otherwise it would possibly use wrong form size.
523 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
525 * Control.cs (RecreateHandle): No need to re-create any child
526 controls, the child windows will get destroyed automatically by
527 the windowing system or driver, and re-created when the handle
528 is being accessed the first time. Fixes #77456
529 * Form.cs: No longer setting the form to closing if the handle is
530 being recreated. This seems like the right thing to do, don't
531 have a bug or testcase for this, though.
533 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
535 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
536 controls to avoid unwanted side effects
538 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
541 - ScaleCore needs to scale the bounds, not the ClientSize of the
542 control. Fixes #77416.
543 - DefaultSize is 0,0 for control
545 - DefaultSize is 100, 20
546 - SetBoundsCore: Now enforcing the height, no matter if the provided
547 height is more or less than the preferred one, as long as AutoSize
549 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
551 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
554 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
555 call unless both performLayout is true *and* we have a pending
557 - ResumeLayout: MS does not completely nest Suspend and Resume,
558 they bottom out at 0, fixed our code to match that.
559 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
560 SetBoundsCore, we were updating even when we shouldn't. This fixes
561 swf-anchors mis-anchoring when resizing the app fast and lots.
562 - UpdateDistances: Now only setting the left and top distance if
563 we have a parent and are not suspended, this is based on
564 a suggestion by Don Edvaldson in bug #77355.
565 - OnVisibleChanged: Fixed logic when to create the control. We may
566 not create the control if we have no parent or if it's not visible;
567 switched to using Visible property instead of is_visible field
568 since the property also considers parent states. This fixes a bug
569 when starting Paint.Net
571 2006-02-02 Jackson Harper <jackson@ximian.com>
573 * Form.cs: If the forms handle hasn't been created yet don't call
574 into xplatui to make it top most, just set the topmost flag on the
576 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
578 2006-02-01 Jackson Harper <jackson@ximian.com>
580 * ScrollableControl.cs: Refactored the Recalculate method a
581 little, this wasn't handling all the variants of bottom and right
582 bars needed to be added and added/removed based on their
583 counterparts being added/removed (which changes the drawable
584 size). Also we special case client widths and heights of 0 and
585 don't add the scrollbar for those.
587 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
590 - Added method to get AbsoluteGeometry(); currently unused, but might
591 be used in the future, if we try again to figure out toplevel
592 coordinates with some more crappy window managers
593 - Added FrameExtents() method to retrieve the WM set decoration size
594 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
595 to deal with at least KDE, FVWM and metacity (Fixes #77092)
597 - Added whacky_wm tracking var for metacity
598 - Added logic to have default menu height if the actual menu height
599 has not yet been calculated (part of fix for #77426)
600 * Form.cs: Keep track whether client size has been set and re-set
601 it if a menu is added/removed afterwards (Fixes #77426)
603 2006-01-31 Jackson Harper <jackson@ximian.com>
605 * Control.cs: When a new Site is set on the component attempt to
606 pull the AmbientProperties from it.
608 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
610 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
611 in the background of the owning form. Fixes #77332
613 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
615 * MimeIcon.cs: Fix for #77409
617 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
619 * XplatUIX11GTK.cs: Initial import
621 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
623 * FixedSizeTextBox: fixes class signature
625 2006-01-30 Jackson Harper <jackson@ximian.com>
627 * FixedSizeTextBox.cs: New internal class that represents a
628 textBox that will not be scaled.
631 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
634 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
636 * XplatUIX11.cs: Retrieve default screen number instead of
637 assuming 0. Attempted fix for #77318
639 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
642 - GetWindowPos: When a window is parented by FosterParent, use
643 the desktop instead of FosterParent as the base to get coordinates
644 - CreateWindow: Don't make FosterParent the parent window for Popups
645 if we don't want a taskbar entry, Popups automatically don't get one
646 * Hwnd.cs: Need to call remove to actually remove the key from the
649 2006-01-30 Mike Kestner <mkestner@novell.com>
651 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
653 2006-01-30 Jackson Harper <jackson@ximian.com>
656 * TreeNode.cs: Raise events no matter how the treenode is
657 checked. Patch by Don Edvalson.
659 2006-01-30 Jackson Harper <jackson@ximian.com>
661 * TreeNode.cs: Signature fix.
663 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
665 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
667 2006-01-20 Mike Kestner <mkestner@novell.com>
669 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
670 event forwarding when menus are active.
671 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
672 Most of the patch is pdb's with a little rework.
674 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
676 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
677 Removed GetMenuDC and ReleaseMenuDC methods; replaced
678 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
679 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
680 * InternalWindowManager.cs: Added use of PaintEventStart/End to
681 handling of WM_NCPAINT message, now passing the PaintEventArgs to
682 the PaintWindowDecorations method
683 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
684 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
685 * MenuAPI.cs: Made tracker window invisible
687 - Removed GetMenuDC and ReleaseMenuDC methods
688 - Implemented the client=false path for PaintEventStart and
691 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
693 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
694 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
697 - MaximizeBox, MinimizeBox: Recreate the handle when setting
699 - CreateParams: Reworked the styles to match MS look'n'feel,
700 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
701 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
703 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
705 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
706 window is not mapped, since otherwise every form that's being
707 created is considered minimized, which is wrong.
708 * Form.cs: Catching the exception and returning our internal value
711 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
713 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
714 SetWindowMinMax() to have means to tell the driver about the minimum,
715 maximum and maximized state window sizes. (Part of the fix for #76485)
717 - Implemented tracking of minimum and maximum window size, now calling
718 new SetWindowMinMax() driver method to tell the driver (Part of the
720 - Finished handling of WM_GETMINMAXINFO method, now setting all values
721 (Completes fix for #76485)
722 - Calling new SetWindowMinMax driver method when the handle for a
723 form is created, to make sure the driver knows about it even if
724 the values have been set before the window was created
725 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
726 to avoid messing up our anchoring calculations (partial fix
728 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
730 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
731 - Improved GetWindowState() to detect 'Minimized' state on Metacity
732 (and presumably other freedesktop.org compliant WMs). Left the
733 assumption unmapped=minimized, needed for SetVisible to work.
734 - Now setting the window state when creating windows
735 - Fixed SetVisible to consider/set the window state when mapping
736 a Form. We cannot set the state before it's mapped, and we cannot
737 use Form.WindowState once it's mapped (since it would ask the
738 driver and get 'normal'. Therefore, we grab the state before
739 mapping, map, and then set state.
740 - Implmemented SetWindowMinMax method; Metacity does not seem to
741 honor the ZoomHints, though.
743 - Removed MINMAXINFO (moved to XplatUIStructs)
744 - Added SetWindowMinMax stub (on Win32 the only way to set that
745 information is in response to the WM_GETMINMAXINFO message, which
746 is handled in Form.cs)
747 - Added logic to SetVisible to set the proper window state when a
748 form is made visible (fixes #75720)
750 2006-01-26 Jackson Harper <jackson@ximian.com>
752 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
753 same way we handle them with Invoke.
755 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
758 - Added tracking of window state so CreateParams can return
759 the appropriate style
760 - Moved setting of WS_CAPTION style in CreateParams to allow
761 styles without caption
762 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
763 control if the TextBox property is accessed. Fixes #77345
765 - get_Created: now uses is_disposed and is_created to determine
766 return value (suggested by Jackson)
767 - CreateHandle: No longer exits if the handle is being recreated
768 - RecreateHandle: If the handle is not yet created call the
769 appropriate method to create either control or handle. If the
770 control is already created CreateHandle will simply exit instead
771 of just creating the handle
772 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
773 now SendMessage WM_DESTROY directly to the control when DestroyWindow
776 - When DestroyWindow is called, instead of waiting for the
777 DestroyNotification from X11, we directly post it to the WndProc
778 and immediately dispose the hwnd object.
779 Same applies to DestroyChildWindows, and this obsoletes the
780 expose_pending tracking. Contrary to Win32 behaviour we destroy our
781 child windows before our own, to avoid X11 errors.
782 - Removed the direct sending of WM_PAINT on UpdateWindow
784 - Reworked DoEvents and GetMessage to allow access to internal queue
785 even when trying non-blocking access to the queue. Fixes #77335.
786 Based on a patch suggestion by Don Edvalson. The new private
787 GetMessage can now also be used as a backend for a PeekMessage
789 * XplatUI.cs: Improved debug output for CreateWindow
791 2006-01-25 Jackson Harper <jackson@ximian.com>
793 * Help.cs: Allow param to be null. Patch by Don Edvalson.
795 2006-01-24 Jackson Harper <jackson@ximian.com>
797 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
798 when we have a MaxDropItems lower then the selected index.
800 2006-01-24 Jackson Harper <jackson@ximian.com>
802 * Control.cs: Don't allow selection of non visible controls, allow
803 selection of controls without parents.
805 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
807 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
808 * DataGridDrawingLogic.cs: Add editing row only when is necessary
810 2006-01-23 Jackson Harper <jackson@ximian.com>
812 * UpDownBase.cs: Make the textbox handle all the selection and
813 tabbing. This fixes tabing to updown controls.
815 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
817 * TextBoxBase.cs: fixes exception thown the object was null
819 2006-01-23 Jackson Harper <jackson@ximian.com>
821 * ButtonBase.cs: Just use the base CreateParams. They set
822 visibility and enabled correctly.
825 * MonthCalendar.cs: Lets let the base set as much of the
826 createparams as possible so we don't have duplicate code all over
829 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
831 * ThemeGtk.cs: Added TrackBar and some experimental code to
832 get double buffering back
834 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
836 * DataGrid.cs: Allows row number set internally higher than the last
837 when creating a new row. Restores the editing functionality.
839 2006-01-20 Mike Kestner <mkestner@novell.com>
841 * MimeIcon.cs: delay Image creation until the icons are accessed
842 instead of creating 190 scaled images on GnomeHandler startup.
844 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
846 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
847 first call base before processing the event. Fixes #77279
849 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
851 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
852 that the stride for the GDI bitmap would match the stride of
855 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
857 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
859 2006-01-19 Jackson Harper <jackson@ximian.com>
861 * ComboBox.cs: Hookup the text controls keydown event so we get
862 those when the text control has the focus.
864 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
866 * Label.cs: Now using the base events instead of defining new ones;
867 this allows us to just call the base properties without having to
868 duplicate all base property logic
870 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
872 * Label.cs: A label by default is not a tabstop (Fixes one of our
875 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
877 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
878 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
880 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
882 * Cursor.cs: Reimplemented creating cursor bitmaps without using
883 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
886 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
887 constructor creates images that can't be saved. Part of the fix
889 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
890 - SetWindowState: Switched ShowWindow flags (part of an upcoming
891 bug fix for handling window state in forms properly)
893 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
895 * ThemeGtk.cs: Simplify ScrollBar drawing
897 2006-01-18 Jackson Harper <jackson@ximian.com>
899 * Splitter.cs: Set the default dock style for the splitter control
902 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
904 * ThemeGtk.cs: Corrected StateType and ShadowType for
907 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
909 * Control.cs: Make use of Theme.DoubleBufferingSupported
911 - Added drawing for flat style buttons
912 - Added ScrollBar drawing
914 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
916 * ThemeClearlooks.cs: Removed some unneeded code.
917 * ThemeGtk.cs: First part of ThemeGtk enhancements.
919 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
921 * LinkLabel.cs: We need to update the hover drawing when
922 leaving the control as well.
924 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
926 * DataGrid.cs: Clicking on non empty areas in the columns
927 area was giving an exception
929 2006-01-17 Jackson Harper <jackson@ximian.com>
931 * ThemeWin32Classic.cs:
932 * ListView.cs: Do not draw/clip the headers when the header style
935 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
937 * DataGrid.cs: Fixes 77260
939 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
941 * DataGrid.cs: Clicking on a column on a empty grid was giving
944 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
946 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
947 or any keypress will crash the grid.
949 2006-01-17 Mike Kestner <mkestner@novell.com>
951 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
952 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
953 invisible/previously-visible items.
956 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
958 * ThemeClearlooks.cs:
959 - Added CL_Draw_Button method; now other theme controls that are
960 not derived from button or do not have a button can draw buttons
962 - Updated ComboBox drawing
963 - Beautified RadioButton drawing
964 - Corrected drawing of bottom and left tabs
965 - Beautified DateTimePicker and MonthCalendar
966 - Added CPDrawButton and CPDrawRadioButton
968 2006-01-16 Jackson Harper <jackson@ximian.com>
970 * ComboBox.cs: Set the initial value of the scrollbar to the
971 current index. Reduce the numbers of refreshs and IndexOfs called.
973 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
975 * FileDialog.cs: When the file listview is focused hitting the
976 backspace key moves the fileview to the parent directory
978 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
981 - Added RecreateHandle call when changing taskbar visibility to
982 trigger reparenting in Win32 driver (Fixes #75719)
983 - If a window has minimize or maximize buttons, it cannot have
986 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
987 the toplevel form with FosterParent (A toolwindow not on the
988 taskbar) (Fixes #75719)
989 - Made FosterParent a toolwindow
991 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
993 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
995 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
997 * ToolTip.cs: If SetToolTip is called from a control and the mouse
998 is currently over that control, make sure that tooltip_window.Text
1001 2006-01-13 Mike Kestner <mkestner@novell.com>
1003 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1005 2006-01-13 Jackson Harper <jackson@ximian.com>
1007 * TreeView.cs: On MS GetNodeAt never actually factors in the X
1008 value passed. Also redraw the selected node when we recieve
1009 focus, so tabbing between trees works correctly.
1011 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1013 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1014 ~/.gconf/%gconf-tree.xml, so use
1015 .gconf/desktop/gnome/interface/%gconf.xml
1017 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1019 * TextControl.cs: Draw text in gray if control is disabled
1021 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1023 * TreeView.cs: Draw the focus rectangle outside the highlight, to
1024 make sure it's always visible. Fixes #76680.
1026 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1028 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1030 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
1032 * PageSetupDialog.cs: Added.
1033 * PrintDialog.cs: Attributes.
1034 * PrintPreviewControl.cs: Updates.
1035 * PrintPreviewDialog.cs: Updates.
1037 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1039 * Control.cs: Undid my selection check fix, since it's not needed
1041 - Now considering the presence of hscroll/vscroll when sizing
1042 vscroll/hscroll respectively. Fixed bug #77077
1043 - Added Left/Up/Down/Right to IsInputKey list to prevent
1044 ContainerControl from stealing them. This fixes what I broke
1045 with my last checkin.
1047 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1049 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1050 I finally understand how the property can be set without a setter :-)
1052 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1055 - Switched RunLoop to use static Message.Create to create a
1057 - Added PreProcessMessage call in runloop for keyboard events; this
1058 is part of the fix for #77219, I overlooked this originally in the
1059 MSDN doc for PreProcessMessage
1061 - Removed call to PreProcessMessage from handling of keyboard
1062 messages; it's supposed to be done in the message pump
1063 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1064 per MSDN documentation.
1065 - IsInputChar: All chars are input chars by default; removed the
1066 parent calling chain, MS does not document that
1067 - PreProcessMessage: If IsInputChar is true, we want to return false
1068 to allow dispatching of the message
1069 - When selecting the next control, now also check that we're not
1070 selecting ourselves again and therefore return a false positive.
1072 - Tried to match return values for IsInputKey and ProcessDialogKey
1073 to what MS returns; moved processing of our special keys outside
1074 ProcessDialogKey since MS does not seem to return true on those.
1075 - Moved code that previously was in ProcessDialogKey into new private
1076 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1077 - Reworked handling of WM_CHAR to not have to duplicate code from
1078 Control.cs anymore, instead we simply call down to base.
1080 2006-01-12 Jackson Harper <jackson@ximian.com>
1082 * ComboBox.cs: We always need to refresh the text area when
1083 EndUpdate is called. Fixes the combobox in the file dialog.
1084 * Control.cs: Don't create the creator_thread until the controls
1085 handle is created. Also in InvokeRequired we check if the
1086 creator_thread is null. This gives the effect of InvokeRequired
1087 returning true if the controls handle is not created yet, and
1090 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1093 - Added StartLoop() driver method. This is used to allow drivers to
1094 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1095 loop for a particular thread
1096 - Added EndLoop() driver method. This is called once the message
1097 pump for the thread is shut down
1098 - Added SupportsTransparency method to allow the driver to indicate
1099 opacity support for windows
1101 - Removed TODO attribute, completed AllowTransparency property
1102 - Added documented logic to Opacity
1103 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1104 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1105 versions of CompatibleTextRendering
1106 * X11Structs.cs: Added opacity atom to our atom enumeration
1107 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1108 of a form might be set before it's reparented by the WM, and we need
1109 the opacity value without calling up to Form)
1110 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
1111 SupportsTransparency() driver methods
1112 * Application.cs: Now calling StartLoop and EndLoop driver methods
1114 - Added opacity atom registration
1115 - Added StartLoop()/EndLoop() methods. They're empty right now but
1116 will need to get implemented when we switch to a per-thread queue
1117 - Implemented SupportsTransparency() method
1118 - Implemented SetWindowTransparency() method
1119 - Added support for setting the opacity value when a window is
1120 reparented (since the opacity needs to be set on the WM frame)
1121 * XplatUIOSX.cs, XplatUIWin32.cs:
1122 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1124 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1126 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1128 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1130 * FileDialog.cs: Added ToolTip for MWFFileView
1131 * MimeIcon.cs: Rewrote GnomeHandler.
1132 - Get currently used gnome icon theme from
1133 ($HOME)/.gconf/%gconf-tree.xml
1134 - Make use of inherited icon themes
1135 - Support SVG icon themes like Tango via librsvg
1137 2006-01-12 Miguel de Icaza <miguel@novell.com>
1139 Revert's Jackson's revert which broke 2.0 builds. Fix both
1142 * Application.cs: Move the use_compatible_text_rendering outside
1143 the NET_2_0 define. If we ever need to use the
1144 use_compatible_text_rendering on the individual controls they will
1145 access the variable from the common shared code paths.
1147 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1150 - Added more granular debug options
1151 - Added method to print both window text and id
1152 - Switched debug output to use new Window() debug method
1153 - Added IsEnabled() driver method
1154 - Added EnableWindow() driver method
1156 - Removed end_modal; no longer needed, new loop handles termination
1157 via 'closing' variable
1158 - If form is modal, setting DialogResult will now initiate loop
1159 termination via 'closing' variable
1160 - Added support for is_enabled/WS_DISABLED to CreateParams
1161 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
1163 - Removed code that's now in RunLoop from ShowDialog()
1164 - Added various documented sanity checks to ShowDialog()
1165 - Added handling of WM_DESTROY message; we set 'closing' on getting
1166 the message to indicate the message pump to terminate
1167 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
1168 send by the Application.ExitThread method. (We send the message
1169 to destroy the window after all other events have been
1170 processed through the queue, instead of destroying the handle
1172 - Moved code from Close() method to WM_CLOSE handler; added logic
1173 to only send close-related events if the form is not displayed
1175 * Splitter.cs (..ctor): Fixed typo in resource name
1177 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
1179 - set_Cursor: Now only setting calling into XplatUI if the handle for
1180 the control is already created; this avoids implict handle creation
1181 or crashes if it's not created
1182 - set_Enabled: Now setting the enabled state via the new driver method
1183 instead of just tracking it
1184 - CreateParams: Added logic to set WS_DISABLED based on enabled state
1185 - CreateControl: Reordered event firing and method calls to more
1186 closely fire events in the order MS does. Now setting the
1187 enabled state in the driver when creating the control.
1188 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
1190 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
1191 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
1192 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
1194 - Added tracking of window enabled state (get_Enabled/set_Enabled)
1195 - Added EnabledHwnd property to easily allow a driver to find the
1196 handle of the first enabled window in the parent chain (this is
1197 used by drivers to pass up input events of disabled windows)
1198 * XplatUIDriver.cs: Added IsEnabled() method
1200 - Removed crude and obsolete exiting tracking variable
1201 - Removed internal ModalRun(); replaced by RunLoop()
1202 - Implemented private CloseForms() method to allow closing all
1203 windows owned by a particular (or all) threads
1204 - Exit() now properly closes all windows without forcing the message
1206 - Removed obsolete InternalExit() method
1207 - Changed Run() methods to use new RunLoop() message pump
1208 - Implemented new RunLoop() method for both modal and non-modal forms
1210 - get_CreateParams: Added setting of WS_DISABLED
1211 - Simplified ShowDialog(); now all the work is done in RunLoop(),
1212 invoked via Form.ShowDialog()
1213 * NativeWindow.cs: We don't remove the window from the collection when
1214 the handle is destroyed; there might still be messages for it in the
1215 queue (mainly the resulting WM_DESTROY); instead it will be removed
1216 when Control calls InvalidateHandle in the WM_DESTROY handler
1218 - CreateWindow: Added logic to handle the WS_DISABLED window style
1219 - EnableWindow: Implemented based on Hwnd.Enabled
1220 - GetMessage: Reset PostQuitState so the method can be called again
1221 - Implemented support for disabled windows (passing messages to the
1222 first enabled parent) in handling all input messages
1223 - Added optimizations for handling Expose events
1224 - Implemeted new driver method IsEnabled()
1225 - Now always resetting paint pending tracking vars when we start paint
1226 - Re-implemented UpdateWindow via just sending a WM_PAINT message
1227 * XplatUIOSX.cs: Added IsEnabled method stub
1228 * XplatUIWin32.cs: Implemented new IsEnabled() method
1230 2006-01-11 Jackson Harper <jackson@ximian.com>
1232 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1233 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
1235 * ColorDialog.cs: Clear out the old form before adding the new
1238 2006-01-11 Jackson Harper <jackson@ximian.com>
1240 * X11Dnd.cs: Make sure to add all the text formats when adding
1241 strings to the data object.
1242 * TreeNodeCollection.cs: When adding to a sorted tree we need to
1243 do some redrawing too. Also change the UpdateNode to an
1244 UpdateBelow so the newly added node gets painted.
1246 2006-01-11 Miguel de Icaza <miguel@novell.com>
1248 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
1249 LinkLabel.cs, PropertyGrid.cs: Implement the
1250 UseCompatibleTextRendering property for 2.x
1252 * Application.cs (SetCompatibleTextRenderingDefault): Add.
1254 2006-01-11 Jackson Harper <jackson@ximian.com>
1256 * TreeView.cs: Use the property for setting the selected node so
1257 the correct events get raised.
1258 * TreeNode.cs: Update the tree when the fore/back colours of a
1261 2006-01-10 Jackson Harper <jackson@ximian.com>
1263 * TreeView.cs: Allow setting SelectedNode to null.
1265 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1267 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
1269 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1271 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
1273 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1275 * PrintDialog.cs: Added attributes and set default property values.
1277 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1279 * PrintControllerWithStatusDialog.cs:
1280 Added PrintControllerWithStatusDialog.
1282 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1284 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
1285 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
1287 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
1289 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
1291 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
1293 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
1294 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
1296 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1298 * MimeIcon.cs: Added internal class SVGUtil.
1300 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
1302 * FileDialog.cs: Don't crash if there are two files with the
1303 same name but different locations.
1305 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
1307 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
1308 dates across multiple month grids. Used to not highlight entire
1309 month, but does now.
1311 2006-01-06 Jackson Harper <jackson@ximian.com>
1313 * MonthCalendar.cs: Removed DoEvents call to prevent a running
1314 message loop. Change timer intervals to numbers that seem more
1317 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
1319 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
1320 object for location info since screen object is now implemented.
1322 2006-01-05 Jackson Harper <jackson@ximian.com>
1324 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
1325 * AsyncMethodResult.cs: We no longer use a WeakReference for the
1326 AsyncMethodResult, this is because we ALWAYS want the
1327 ManualResetEvent to get set.
1328 * Control.cs: When disposing use an async invoke to call shutdown
1329 code, so that thigns don't block on the finalizer thread. Also
1330 check if we even have a message loop before trying to send
1331 messages, if we don't then don't bother sending messages.
1332 - No more weak references for async methods
1333 * XplatUIDriver.cs: No more weak references for async methods.
1335 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1337 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
1338 returns two FontFamily with the same name
1340 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1342 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
1343 drawing disabled text. Instead using the ColorGrayText color
1345 2006-01-04 Jackson Harper <jackson@ximian.com>
1347 * TreeNode.cs: redraw the node when its image index is changed.
1349 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
1351 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
1352 time I checked there are no others like it.
1354 2006-01-04 Jackson Harper <jackson@ximian.com>
1356 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
1357 this gives the behavoir I was looking for.
1358 * Control.cs: Special case Invoking EventHandlers, this matches MS
1359 and fixes part of bug #76326.
1361 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1363 * ThemeClearlooks.cs, FileDialog.cs:
1364 - Reflect the latest Theme class changes
1365 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
1368 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
1370 * Theme.cs: Cache UI resource images and resize them if needed
1372 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1374 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
1375 is called. This fixes the crash in Nexxia when setting the font
1376 attributes in the chat. [However, RTF needs a look-over to make sure
1377 that all SelectionXXX methods handle the special case that selection
1378 is empty and therefore the change must be applied to all text starting
1379 at the cursor/selection start]
1381 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1383 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1384 XplatUIOSX.cs: Added SendMessage and PostMessage methods
1385 * X11Keyboard.cs: Switched to new way of calling PostMessage
1387 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
1389 * Theme.cs: Added theme interface for images to allow the theme to
1390 control what images are used for things like FileDialog, MessageBox
1392 * MessageBox.cs: Now uses the new Theme icon/image interfaces
1394 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
1397 - Removed some dead code
1398 - Opening a recently used file does work now
1399 - Small UI enhancements
1402 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1404 * FileDialog.cs: Forgot too add __MonoCS__
1406 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
1408 * FileDialog.cs: We are able to read recently used files now let's
1409 go on and write them.
1411 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
1413 * FileDialog.cs: Breathe some life into "last open"/"recently used"
1415 * MimeIcon.cs: Do a check for the top level media type also
1417 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1419 * ThemeClearlooks.cs:
1420 - Added CPDrawStringDisabled
1421 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
1422 some chars if the text doesn't fit into text_rect
1423 - DrawListViewItem: If View = View.LargeIcon center the image;
1424 rewrote the drawing of ListViewItem.Text if View =
1427 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
1429 * MimeIcon.cs: Use default KDE icon theme if there is no
1430 "48x48" directory for the current icon theme, fixes #77114
1431 * Mime.cs: Disable not working and actually not used code.
1432 * ThemeWin32Classic.cs:
1433 - Replace "new SolidBrush" in GetControlBackBrush and
1434 GetControlForeBrush with ResPool.GetSolidBrush
1435 - Changed DrawListViewItem from private to protected virtual
1437 - Added form.MaximizeBox = true
1438 - Don't throw an exception if there is a broken symbolic link
1440 2005-12-23 Jackson Harper <jackson@ximian.com>
1442 * TabControl.cs: Give the panels focus, keyboard navigation is
1443 fixed so this works correctly now.
1444 - We need these key events also.
1445 * ToolBar.cs: Remove some of the poor mans double buffering.
1447 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
1449 * ComboBox.cs: The internal TextBox now returns the focus.
1451 2005-12-23 Jackson Harper <jackson@ximian.com>
1453 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
1455 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1457 * Control.cs: Removed debug code
1458 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
1461 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1463 * Control.cs: When creating the control, update the Z-order after
1464 all it's children are created, too. (Fixes nexxia not showing
1467 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
1469 * Control.cs: Do not update the anchoring distances if layout is
1470 suspended, instead do it once layout is resumed
1472 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1475 - After many hours of debugging, for both Jackson and
1476 myself, it turns out that it helps to set the parent of a control
1477 if you want to actually see it onscreen. In the spirit of that
1478 discovery, we're now setting the parent of the control and
1479 it's children when the control's handle is created. This fix
1480 will make Lutz Roeder's Reflector run happily.
1481 - now just creating the handle instead of the whole control when
1482 getting a graphics context for the control.
1484 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1486 * ScrollableControl.cs: When calculating the canvas, don't consider
1487 the scrollbar widths. Instead, predict if horizontal scrollbar
1488 will affect canvas when deciding on vertical display and vice versa.
1490 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
1492 * RichTextBox.cs: Set default RTF font for documents that don't
1493 have a font table (Fixes #77076)
1495 2005-12-22 Jackson Harper <jackson@ximian.com>
1497 * TextBoxBase.cs: It's difficult to do, but you can have an empty
1498 clipboard. This prevents a NullRef in that case.
1499 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
1500 clipboard. PRIMARY is for the currently selected text only. (We
1501 should implement PRIMARY at some point.
1503 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1505 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
1506 a Unicode function with a structure that was defined in Ansi way.
1509 2005-12-21 Jackson Harper <jackson@ximian.com>
1511 * StatusBar.cs: Statusbar handles its fore/back colours on it's
1512 on. Because thats how it rolls. (and this avoids it using ambient
1514 * ThemeWin32Classic.cs: Use the proper back color for filling.
1515 * Menu.cs: Use the system menu bar color for drawing menu
1516 bars. Using the window back color will bring ambient colours into
1519 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
1521 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
1522 Bitmaps were created and not disposed.
1524 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1526 * Control.cs (CreateControl): Don't do anything if the control is
1527 already created, otherwise we'd fire the OnCreated event more than
1530 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1532 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
1533 will always match. Instead return -1. Fixes #76464.
1535 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1537 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
1538 neither the beginning nor the end of the line (Fixes bug #76479)
1540 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
1543 - ControlNativeWindow.ControlFromHandle(): Now handling situation
1544 where handle is invalid
1545 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
1546 instead of slower linear search
1547 * NativeWindow.cs: Don't remove the window from the hashtable until
1548 after the driver has destroyed it (since the driver might use
1549 Control.FromHandle to lookup the control object
1550 * Hwnd.cs: Added DestroyPending property to track if a window is
1551 already destroyed as far as the driver is concerned and only hasn't
1552 yet notified the control
1554 - Activate(): Check if the window is still valid before using the
1556 - Implemented DestroyChildWindow() method to mark child windows as
1557 destroyed when a window is destroyed. This prevents situations
1558 where we might call an X method based on queued events for a
1559 window that already has been destroyed but we haven't yet pulled
1560 the destroy method from the queue.
1561 - Added a call to the new DestroyChildWindow() method to the drivers
1562 DestroyWindow code. Also now marking the destroyed window itself
1565 2005-12-20 Jackson Harper <jackson@ximian.com>
1568 * StatusBarPanel.cs: Don't calculate panel sizes on draw
1569 anymore. Just do them when needed, also track the rects of panels
1570 so that we can optimize refreshing more in the future.
1572 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
1574 * ColorDialog.cs: Fixed focus drawing in small color controls
1576 2005-12-19 Jackson Harper <jackson@ximian.com>
1578 * InternalWindowManager.cs:
1579 * MdiWindowManager.cs: Cleanup some coordinate system changes so
1580 moving windows works properly.
1582 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
1585 - Removed call to InitLayout() from SetBoundsCore(); doc says
1586 it's only called when a control is added to a container
1587 - Split InitLayout logic, moved to separate UpdateDistances() method
1588 since we need to perform those calculations more often than just
1589 when adding the control to a container. (Needed to fix #77022)
1590 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
1591 - Reduced the OnBindingContextChanged events count, don't send them
1592 unless the control is created, we still aren't totally matching
1593 MS, but I can't quite figure out some of their rules
1595 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1597 * ThemeClearlooks.cs: Corrected distance between ProgressBar
1600 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1602 * ThemeClearlooks.cs:
1603 - Updated ProgressBar drawing
1604 - Corrected drawing of ScrollBars and scroll buttons
1605 - Some temporary fixes for minor pixel artefacts
1607 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
1610 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
1611 cause events to be sent in the same order as MS does.
1612 - Added ChangeParent() method to trigger various OnXXXChanged events
1613 that need to be fired when a parent changes (This is a reworking
1614 of the patch from r54254, with the X11 errors fixed)
1615 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
1616 since on MS we get OnLayoutChanged events when calling Clear()
1617 - Changed Enabled property to consider parent state as well, if a
1618 parent is not enabled, the control will not be either
1619 - Changed Parent property to simply call Controls.Add() since that
1620 now does all the work required, this way we avoid code duplication
1621 - Threw in a few OnBindingsContextChanged calls to try and match
1622 when MS sends them. We seem to send a few too many, though.
1623 - Added call to CreateControl when adding the control to a parent.
1624 We were never calling CreateControl. Still needs some work, in
1625 some places we treat HandleCreated and ControlCreated as equal,
1627 - Removed obsolete commented out code from UpdateZOrder()
1629 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
1631 * ThemeClearlooks.cs: Updated TrackBar drawing.
1633 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1635 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
1637 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
1639 * FileDialog.cs: Add the Help button and the open readonly
1640 checkbox only if needed
1642 2005-12-16 Jackson Harper <jackson@ximian.com>
1644 * Control.cs: Make sure we have an active menu before trying to
1645 process commands on it. Prevents menu-less forms from crashing
1646 when Alt is pressed.
1647 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
1649 * RichTextBox.cs: Expand statement to help out gmcs and fix the
1652 2005-12-16 Jackson Harper <jackson@ximian.com>
1654 * InternalWindowManager.cs: Don't translate tool windows screen
1655 coordinates. This fixes windows 'bouncing' around when being moved.
1657 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1660 - MaxLength now treats 2^31-1 equal to unlimited length (this is
1661 not quite MS compatible, MS uses that number only for single line
1662 and 2^32-1 for multi-line, but I figure it won't hurt keeping
1664 - Now enforcing the MaxLength limit when entering characters
1665 - Added argument to internal Paste() method to track if it's called
1666 from programatically or via keyboard, since keyboard driven pastes
1667 need to enforce max-length
1668 - Added logic to Paste to only paste as many chars as MaxLength
1670 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
1672 - Added Length property to return number of characters in document
1673 - Added private CharCount property which only tracks actual chars
1674 in the document (no linefeeds) and fires event when CharCount
1676 - Added tracking of character count to all methods that alter it
1677 - Added LengthChanged event to allow applications to subscribe
1678 to any changes to the document
1680 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
1683 - Removed local password_char field (moved to TextBoxBase)
1684 - Now setting the document's password var when password is
1687 - Added password_char field (needed here so MultiLine can
1689 - Added logic to MultiLine property setter to set the document's
1690 variable when password display is allowed
1691 - Removed debug code and made some debug code conditional
1693 - Added RecalculatePasswordLine() method to handle special password
1695 - Added PasswordChar property, also added related tracking vars
1696 - Draw() method now uses local text var for grabbing text to draw,
1697 this var is set to line.text unless we're doing password display,
1698 then it is set to the pre-generated all-password-chars line
1699 - Added calling RecalculatePasswordLine() method for password lines
1701 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
1704 - Added Reparented property to allow tracking of Window Manager
1705 reparenting actions (which affect X/Y calculations of toplevel
1707 - Made ToString() print window handles in hex
1709 - AddConfigureNotify(): Now uses reparented state off Hwnd to
1710 determine if X/Y needs offsetting
1711 - AddConfigureNotify(): Fixed offset calculations
1712 - Now adds ReparentNotify messages into the queue
1713 - Now processes ReparentNotify messages and causes a
1714 WM_WINDOWPOSCHANGED message to be sent upstream if a window
1715 is reparented (as most likely it's X/Y coordinates are changed
1718 2005-12-14 Jackson Harper <jackson@ximian.com>
1720 * XplatUIX11.cs: Tool windows still need to respek focus.
1722 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
1724 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
1725 have a working release
1727 2005-12-13 Jackson Harper <jackson@ximian.com>
1729 * Form.cs: Update styles after setting the border style regardless
1730 of whether or not the window is using a window manager.
1732 2005-12-13 Jackson Harper <jackson@ximian.com>
1734 * Form.cs: We now hook into an internal window manager instead of just an
1735 MDI subsystem, this is so we can have properly behaving tool windows.
1736 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
1737 * InternalWindowManager.cs: New internal class that acts as a
1738 window manager for tool windows and as a base for mdi windows.
1739 * MdiWindowManager.cs: New class that acts as a window manager for
1742 2005-12-12 Jackson Harper <jackson@ximian.com>
1744 * Control.cs: Updates so we match behavoir for for implicit
1745 controls. Fixes explosions in MDI.
1747 2005-12-12 Jackson Harper <jackson@ximian.com>
1749 * Control.cs: Implement Invalidate (Region).
1751 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
1754 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
1755 the same events as MS does. MS fires events for each property
1756 except, for unknown reasons, Cursor, when the control is reparented.
1757 I can't seem to totally match add/remove since MS also fires some
1758 VisibleChanged events, which makes no sense. Consolidated the
1759 parenting code into a separate method so it can be called from
1760 both Add and Remove. set_Parent no longer needs any special logic
1761 as it calls the parent's add method which implicitly fires
1763 - Removed some obsolete code and debug output
1764 - Enabled state is inherited from parents, if this is enabled
1766 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
1768 * Form.cs: Removed commented out code
1770 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
1773 - Added internal version of Invoke, with additional argument
1774 indicating if we're calling it from a Dispose() handler. That
1775 way we can avoid BeginInvoke throwing an exception if we're
1776 calling for an already destroyed window.
1777 - Added a dispose argument to BeginInvokeInternal, and made the
1778 check if a valid window handle chain exists conditional on
1779 it not being a dispose call
1780 - Removed code in DestroyHandle to destroy our children. Since we
1781 now handle the WM_DESTROY message we will catch all our children
1783 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
1785 - Added a field to track the application context of the form.
1786 - No need to set closing variable as response to WM_CLOSE, instead
1787 we destroy the window. We also call PostQuitMessage if the form
1788 has an application context (which makes it the main app form,
1789 which, when closed terminates the app)
1791 - Dropped Exit() method, it's naming was confusing
1792 - Added PostQuitMessage() which causes GetMessage to return false
1793 once the message queue is empty
1794 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
1796 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
1797 no longer a valid XplatUI method, but left it in since it's used
1798 internally. Added empty PostQuitMessage() method.
1799 * MenuAPI.cs: Replaced call to Exit() with call to
1800 PostQuitMessage, even though this is probably no longer needed.
1801 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
1802 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
1804 - Replaced call to XplatUI.Exit() with PostQuitMessage()
1805 - Removed old debug code that would call XplatUI for exception
1806 display, enabled standard exception handling (Still not enabled
1807 though, until NativeWindow's ExternalExceptionHandler define
1810 - Added internal method to allow control to update NativeWindow
1811 after a window has been destroyed
1812 - Added handling of already destroyed windows when calling i
1814 - Added removal of handle from list on ReleaseHandle
1816 - Dropped GetMessageResult var and related code
1817 - Added PostQuitState to field to track if PostQuitMessage has been
1819 - Dropped Exit() method
1820 - Added PostQuitMessage() method
1821 - GetMessage now will return false if PostQuitState is set and no
1822 more messages are in the queue.
1823 - Expose handler will no longer generate WM_PAINT messages if we are
1824 in PostQuitState since it's very likely any windows have already
1825 been destroyed, and since Hwnd won't get updated until we have
1826 processed the DestroyNotify we'd be causing X errors.
1828 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
1830 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
1831 Thanks to Mike for pointing out the err of my ways.
1833 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
1835 * Control.cs(PreProcessMessage): Moved menu handling back, but
1836 after all other key handling, to match MS (who handles Menu in
1838 * Menu.cs (WndProc): Removed my brainfart
1840 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
1842 * Control.cs(PreProcessMessage): Removed special menu handling
1843 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
1845 2005-12-07 Mike Kestner <mkestner@novell.com>
1847 * Control.cs : special case SYSKEYUP so that we can adjust keynav
1848 state according in tracker.
1849 * Menu.cs : promote tracker field to base class and provide a tracker
1850 lookup capability. Add/Remove shortcuts dynamically if the top menu
1851 has a tracker. Unparent items that are removed from the collection.
1852 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
1853 * Theme*.cs: add always_show_hotkeys field to support configurability
1854 of mnemonic display. win32 doesn't show mnemonics until Alt is
1857 2005-12-07 Jackson Harper <jackson@ximian.com>
1859 * MdiChildContext.cs: Use Control.ResetCursor.
1860 * Control.cs: ResetCursor needs to set the property so that the
1861 correct XplatUI call gets made.
1863 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
1865 * Control.cs: More fixes to make our key events match MS. We
1866 were not setting the modifier state on KeyData, and we were
1867 not generating any events when Alt was pressed with a key
1868 since handling of WM_SYSxxx was missing for the OnKey methods.
1870 2005-12-07 Jackson Harper <jackson@ximian.com>
1872 * MdiChildContext.cs: reenable the sizing code.
1873 - When the mouse leaves a window reset its cursor.
1875 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
1877 * ThemeClearlooks.cs: Reflect latest Hwnd changes
1879 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
1881 * Hwnd.cs: Now using the theme 3d bordersize to calculate
1882 widths of Fixed3D borders
1884 2005-12-07 Jackson Harper <jackson@ximian.com>
1886 * MdiClient.cs: Fix warnings. Earn Mike's love.
1888 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
1890 * ThemeClearlooks.cs:
1891 - Adjusted mouse over button color
1892 - Added first parts of CheckBox drawing
1893 - Added correct color for selected text background
1894 - Fixed ComboBox drawing
1895 - Added CPDrawBorder3D and CPDrawBorder
1897 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
1899 * XplatUIX11.cs: Added call to XBell for AudibleAlert
1901 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
1903 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1904 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
1905 alert users via sound. We could add an enum arg with different
1906 types of alerts in the future
1908 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
1910 * Control.cs: Fix behaviour problems pointed out by Mike
1912 2005-12-05 Mike Kestner <mkestner@novell.com>
1914 * StatusBarPanel.cs: add Invalidate method and hook it into all the
1915 prop setters. Calls parent.Refresh for now, but could be maybe be
1916 optimized with an internal method on StatusBar at some point.
1919 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
1921 * RichTextBox.cs: Implemented get_SelectionColor
1923 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
1925 * ThemeClearlooks.cs:
1927 - Draw black button border only if button is Form.AcceptButton
1928 - Draw correct button color for pressed RadioButton if the mouse
1929 has entered the button
1930 - Updated ProgressBar drawing!
1931 - Updated CPDrawSizeGrip drawing
1932 - Updated StatusBarPanel drawing
1934 2005-12-05 Mike Kestner <mkestner@novell.com>
1936 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
1937 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
1939 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
1941 * ThemeClearlooks.cs: Initial check-in, activate with
1942 export MONO_THEME=clearlooks
1943 * ThemeEngine.cs: Added ThemeClearlooks
1945 2005-12-03 Mike Kestner <mkestner@novell.com>
1947 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
1950 2005-12-02 Jackson Harper <jackson@ximian.com>
1952 * Form.cs: If the child form has no menu the default main menu is
1953 used as the active menu.
1955 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
1957 * ListBox.cs: Check if any items exist before trying to resolve
1958 coordinates into items
1960 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
1962 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
1963 as the second color for the background hatch
1965 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
1967 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
1968 * RichTextBox.cs: FormatText position arguments are 1-based, now making
1969 sure that what we pass to FormatText is always 1-based. Fixes #76885
1971 2005-11-29 Miguel de Icaza <miguel@novell.com>
1973 * NumericUpDown.cs (EndInit): When we are done initializing,
1974 reflect any updates on the UI.
1976 2005-12-02 Jackson Harper <jackson@ximian.com>
1978 * ImplicitHScrollBar.cs:
1979 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
1980 their container controls.
1981 * TreeView.cs: Use the new implicit scrollbars.
1983 2005-12-02 Jackson Harper <jackson@ximian.com>
1985 * TreeView.cs: Make top_node internal so the TreeNodeCollections
1987 * TreeNodeCollection.cs: If we remove the topnode we need to
1988 update topnode to the next node in line.
1989 - When clearing nodes go through the same process as removing
1990 them, so they get depareneted and checked if they are top node.
1992 2005-12-01 Jackson Harper <jackson@ximian.com>
1994 * TreeView.cs: When imagelists are used the image area is
1995 selectable as well as the text.
1996 - If there are no selected nodes select the first one.
1997 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
1998 so don't do it more then we need to.
2000 2005-12-01 Jackson Harper <jackson@ximian.com>
2002 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2003 that arrows can be scaled.
2005 2005-12-01 Jackson Harper <jackson@ximian.com>
2007 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2008 fail. Patch by Dieter Bremes
2010 2005-11-30 Jackson Harper <jackson@ximian.com>
2012 * Form.cs: Property is 2.0 only
2013 * PrintDialog.cs: Signature fix.
2015 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2018 - No longer artificially moves text 2 pixels down (now that we have
2019 borders this is no longer needed)
2020 - Added calcs for left, hanging and right indent
2022 2005-11-23 Mike Kestner <mkestner@novell.com>
2024 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2026 2005-11-30 Jackson Harper <jackson@ximian.com>
2028 * MdiChildContext.cs: Set the cloned menus forms, as these don't
2029 get cloned as part of CloneMenu ().
2030 * Menu.cs: Make sure the parent of the items get set correctly
2031 when they are added. And the owners are notified of the changes.
2032 * Form.cs: Create an ActiveMenu property, so that when MDI is used
2033 we can change the menu being displayed/handled by the form without
2034 changing the menu assosciated with the form.
2035 - Don't let Mdi children draw/handle menus.
2037 2005-11-30 Jackson Harper <jackson@ximian.com>
2039 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2040 a MenuChanged event. Just to make the API a little more
2043 * MenuItem.cs: Use the new OnMenuChanged
2044 * MdiChildContext.cs: Handle menu merging.
2045 * Form.cs: Implement MergedMenu.
2047 2005-11-30 Jackson Harper <jackson@ximian.com>
2049 * Menu.cs: We were misusing Add. Add goes behind the specified
2050 index according to the docs, and does not replace the specified
2051 index. So I added an Insert method.
2053 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2055 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2056 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2058 * RichTextBox.cs: Added calls to base for DnD events
2060 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
2063 - Fixed drag-selection related crash; style fixes
2064 - Implemented undo class
2065 o Implemented method to capture document state for specified
2066 range in document tree
2067 o Implemented method to restore captured document state
2068 o Implemented cursor tracking
2069 o Implemented basic undo stack
2070 - Added undo cursor tracking to methods altering cursor location
2071 - Added undo tracking to selection deletion (still missing
2072 other text-altering hookups)
2074 - Added SelectionLength property
2075 - Implemented CanPaste()
2076 - Implemented Paste()
2077 - Added missing protected methods
2078 - Fixed RTF->Document conversion; now uses font index 0 and color
2079 index 0 as the default font for the parsed text
2080 - Fixed RTF<->Document font size translation
2081 - Fixed RTF generation, now properly handles cross-tag boundaries
2082 for single line selection
2083 - No longer always appends blank line to generated RTF
2085 - Added missing attributes
2086 - Hooked up undo-related methods
2088 - Implemented Copy()
2089 - Implemented Paste()
2091 - Fixed caret mis-behaviour on backspace across line-boundaries
2093 2005-11-29 Jackson Harper <jackson@ximian.com>
2095 * MdiClient.cs: Add a method for activating mdi children. Very
2096 basic right now. I imagine someday it might need more girth.
2097 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2098 children windows names are added to the menu item.
2099 * ThemeWin32Classic.cs: Draw the arrow if the item is an
2100 mdilist. This happens regardless of whether or not there are any
2101 mdi windows to see in the list, and according to my tests happens
2102 before the items are even added. Also happens if there isn't even
2103 an mdi client to get windows from.
2105 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
2107 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2108 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2110 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
2112 * DataGridTableStyle.cs:
2113 - Create always the styles for the missing columns even if they are
2114 provided by the user (not default table style)
2117 - Fixes SetDataBinding (always re-attach source)
2118 - Fixes SetNewDataSource (only clear styles if they are not for
2120 - Expands OnTableStylesCollectionChanged to handle style refresh
2123 2005-11-29 Jackson Harper <jackson@ximian.com>
2125 * FileDialog.cs: Implement missing bits, remove some dead
2127 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2128 creation of the panel so that the options set on the dialog are
2129 seen when the panel is created.
2130 * TreeView.cs: raise a click when items are clicked.
2132 2005-11-29 Jackson Harper <jackson@ximian.com>
2134 * MdiClient.cs: Pass some signature methods through to base.
2136 2005-11-28 Jackson Harper <jackson@ximian.com>
2138 * ListView.cs: Raise the click event when items are clicked.
2140 2005-11-28 Jackson Harper <jackson@ximian.com>
2142 * MdiClient.cs: Make this algorithm even more beautiful. And fix
2145 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
2147 * ThemeNice.cs: - Removed 1 pixel bitmaps
2148 - Use SmoothingMode.AntiAlias where it makes sense
2149 (ScrollButton arrow for example)
2150 - Enhanced Button focus drawing
2151 - Fixed ComboBox drawing (no artefacts anymore, focus
2152 rectangle is back again, reduced size of ComboButton, etc.)
2153 - Fixed RadioButton focus drawing for Appearence.Button
2154 - Slight ScrollButton redesign
2155 - Some LinearGradientBrush size fixes
2156 - GroupBoxes have now rounded edges
2157 - Fixed StatusBar drawing
2159 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
2161 * ThemeNice.cs: - Remove dead code
2162 - use correct background colors for menus, etc.
2163 - Fake pixel drawing with 1 pixel bitmaps
2165 2005-11-24 Jackson Harper <jackson@ximian.com>
2167 * MdiClient.cs: Size the scrollbars when resizing the window.
2168 - Resize the maximized windows when the client is resized
2169 * Form.cs: Make the child context available
2171 2005-11-23 Jackson Harper <jackson@ximian.com>
2173 * MdiChildContext.cs: Don't size windows if they are maximized.
2175 2005-11-23 Mike Kestner <mkestner@novell.com>
2177 * ContextMenu.cs: use MenuTracker.
2178 * Control.cs: remove menu handle usage.
2179 * Form.cs: remove menu handle usage.
2180 * Hwnd.cs: remove menu handle usage.
2181 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
2182 motion and clicks to the new Tracker handlers.
2183 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
2185 * MenuAPI.cs: refactored to combine popup and menubar event handling.
2186 Killed the MENU and MENUITEM data types and associated collections
2187 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
2188 MenuTracker class that exposes the leftovers from the old MenuAPI
2189 static methods. Restructured Capture handling so that only one grab is
2190 done for the entire menu hierarchy instead of handing off grabs to
2191 submenus. Tracker now has an invisible control to Capture when active.
2192 * MenuItem.cs: add sizing accessors, kill Create
2194 * Theme.cs: remove menu handle and MENU(ITEM) usage.
2195 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
2196 MENU(ITEM). remove menu handle usage, use Menu directly.
2197 * XplatUIDriver.cs: remove menu handle usage.
2198 * XplatUIOSX.cs: remove menu handle usage.
2199 * XplatUIWin32.cs: remove menu handle usage.
2200 * XplatUIX11.cs: remove menu handle usage.
2202 2005-11-22 Jackson Harper <jackson@ximian.com>
2204 * Hwnd.cs: Don't compute the menu size for
2205 DefaultClientRectangle.
2206 - Reenable menu sizes being computed for GetClienRectangle.
2207 * Form.cs: Remove comment of trechery
2209 2005-11-22 Jackson Harper <jackson@ximian.com>
2211 * Hwnd.cs: The adjustments for the menu bar are made when it is
2212 attached to the form.
2214 2005-11-19 Jackson Harper <jackson@ximian.com>
2216 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
2217 (just like on windows).
2219 2005-11-19 Jackson Harper <jackson@ximian.com>
2221 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
2222 use real buttons anymore because they are in non client area. The
2223 one TODO here is that I need to somehow invalidate a section of
2224 the non client area.
2226 2005-11-18 Jackson Harper <jackson@ximian.com>
2228 * Control.cs: Put the enum check back in now that MDI doesnt have
2229 to use this to set border styles.
2230 * Form.cs: Only set mdi child windows borders if the handle has
2232 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
2233 this directly on to the driver.
2234 - Get the move start position before adjusting for the titlebar
2235 height, this fixes the windows "skipping" when they are first
2238 2005-11-18 Jackson Harper <jackson@ximian.com>
2240 * XplatUIX11.cs: Just compute the mdi borders separately as they
2241 don't totally match up with normal form borders.
2243 2005-11-18 Jackson Harper <jackson@ximian.com>
2245 * Control.cs: Set WS_ styles for borders, so that the driver does
2246 not have to retrieve the control instance to figure out what kind
2247 of borders it should have.
2248 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
2249 driver can know its an mdi child easily.
2250 * XplatUIX11.cs: Get the border styles and whether the window is
2251 MDI from the Styles and ExStyles params instead of having to get a
2252 control. This prevents a chicken and egg problem.
2254 2005-11-18 Jackson Harper <jackson@ximian.com>
2256 * MdiClient.cs: Fix typo so scrollbars show up correctly.
2258 2005-11-18 Jackson Harper <jackson@ximian.com>
2260 * MdiClient.cs: Calculate when to add and remove scrollbars
2262 * MdiChildContext.cs: Adjust the y position to take the titlebar
2264 - No height for FormBorderStyle.None
2266 2005-11-18 Jackson Harper <jackson@ximian.com>
2268 * Control.cs: Allow non enum values to be used for
2269 InternalBorderStyle. MDI does this to set a special border style.
2270 - New utility methods for converting points to/from client coords
2271 - Add the newly created control to the Controls collection before
2272 updating its style. This way UpdateStyle can walk the control
2273 heirarchy to find the control if needed.
2274 so I don't need to create a new Point object all the time.
2275 * Form.cs: Let MDI windows handle their border styles.
2276 - Set styles on MDI windows so the correct title style is derived.
2277 * MdiChildContext.cs: Move all the painting and window handling
2278 into the non client area.
2279 - Use correct sizing and put correct buttons on frames based on
2280 the FormBorderStyle.
2281 - Notify the mdi client about scrolling
2282 - Need to handle the buttons ourselves now, because they are all
2283 in non client areas and we can't add controls there.
2284 * MdiClient.cs: Halfway to scrolling, this implementation is
2285 somewhat broken though, we need to check to make sure other
2286 windows aren't causing scrolling before removing the bars. Also
2287 the bars need to be drawn on top, maybe I can switch implicit
2288 controls to be on top.
2289 * Hwnd.cs: caption_height and tool_caption_height are now
2290 properties of an hwnd, this way they can be set by the driver
2291 based on the type of window they are. In X11 the window manager
2292 handles the decorations so caption_height is zero unless its an
2294 - Add 3 pixel borders for MDI windows (0xFFFF).
2295 - Get rid of some code duplication, have DefaultClientRectanle
2296 just call GetClientRectangle.
2297 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
2299 - Set border styles differently for mdi windows.
2300 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
2303 2005-11-15 Mike Kestner <mkestner@novell.com>
2305 * Menu.cs: when adding an item to the collection, if item is already
2306 parented, remove it from the parent.
2308 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
2310 * X11DesktopColors.cs: Added KDE support
2312 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
2315 - Clipboard methods now can translate Rtf format
2316 - No longer removes clipboard contents whenever a new format is added
2317 to allow placing multiple formats on the clipboard
2318 * Clipboard.cs: Clipboard now supports getting a IDataObject and
2319 will place all formats contained in it onto the clipboard. Also
2320 now cleans the clipboard before placing a new object onto it
2322 - Implemented set_Rtf
2323 - Implemented set_SelectedRtf
2324 - Created InsertRTFFromStream() method to allow single code base
2325 for all properties and methods that insert RTF into document
2326 - Removed debug output
2328 - Fixed Delete(int) to fix up line numbers
2329 - Fixed ReplaceSelection to combine start and end line
2330 - Fixed serious DeleteChars bug that would leave the document tree
2332 - Improved DumpTree with several logic checks to detect broken
2334 - Removed debug lines
2335 - Fixed Caret.WordForward/WordBack moving code, now always also
2336 updates caret.tag (fixes crash when word-selecting across tag
2337 boundaries via keyboard)
2338 - Added Insert() method for inserting multiline text into documents
2339 - Fixed DeleteChars() calculation errors that would cause a broken
2340 tag chain with multiple tag lines
2341 - DeleteChars() no longer crashes on multi-tag lines if not all tags
2342 - Split() no longer moves caret if split is at caret location
2343 - ReplaceSelection() now updates the cursor and re-displays it
2344 - ReplaceSelection() now uses new Insert() method to avoid code
2346 - FormatText() can now handle formatting partial lines
2348 - Append now uses new TextControl.Insert() method (this avoids
2350 - Implemented Ctrl-X (Cut) (
2351 - Implemented Ctrl-C (Copy)
2352 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
2353 regeneration when pasting text; roundtripping Copy&Paste within
2354 edit control still fails due to some calculation bugs in GenerateRTF)
2355 - The Delete key will now remove the current selection if it is visible
2356 * TextBox.cs: Removed debug lines
2357 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
2358 driver to be initialized and can't therefore be done via a static ctor)
2360 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
2362 * TextControl.cs: Added backend code for finding char arrays and strings
2364 - Added mouse wheel scroll support
2365 - Added support for VScroll and HScroll events
2367 - Implemented all seven Find() variants
2368 - Implemented GetCharFromPosition()
2369 - Implemented GetCharIndexFromPosition()
2370 - Implemented GetLineFromIndex()
2371 - Implemented GetPositionFromCharIndex();
2372 - Implemented SaveFile for PlainText and UnicodeText
2373 - Fixed set_Font, now setting a new font applies that font to
2375 - Implemented generic Document to RTF converter
2376 - Implemented SaveFile for RichText format (still missing unicode
2377 conversion for non-ansi chars)
2378 - Implemented get_Rtf
2379 - Implemented get_SelectedRtf
2381 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
2383 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
2384 to allow any captures to be released before triggering OnClick. This
2385 way a click handler may capture the mouse without interference.
2386 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
2387 This way we send them even though X may not allow a grab (if the window
2388 isn't visible, for example)
2390 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
2392 * DataGridViewRowEventArgs.cs: DataGridView implementation
2393 * DataGridViewElement.cs: DataGridView implementation
2394 * DataGridViewComboBoxCell.cs: DataGridView implementation
2395 * DataGridViewDataErrorContexts.cs: DataGridView implementation
2396 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
2397 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
2398 * ImageLayout.cs: DataGridView implementation
2399 * DataGridViewComboBoxColumn.cs: DataGridView implementation
2400 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
2401 * DataGridViewSelectionMode.cs: DataGridView implementation
2402 * IDataGridViewEditingControl.cs: DataGridView implementation
2403 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
2404 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
2405 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
2406 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
2407 * DataGridViewColumnSortMode.cs: DataGridView implementation
2408 * DataGridView.cs: DataGridView implementation
2409 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
2410 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
2411 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
2412 * Padding.cs: DataGridView implementation
2413 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
2414 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
2415 * DataGridViewRowEventHandler.cs: DataGridView implementation
2416 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
2417 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
2418 * DataGridViewButtonCell.cs: DataGridView implementation
2419 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
2420 * DataGridViewEditMode.cs: DataGridView implementation
2421 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
2422 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
2423 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
2424 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
2425 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
2426 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
2427 * DataGridViewCellEventHandler.cs: DataGridView implementation
2428 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
2429 * DataGridViewCellStyleConverter.cs: DataGridView implementation
2430 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
2431 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
2432 * DataGridViewColumnEventArgs.cs: DataGridView implementation
2433 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
2434 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
2435 * QuestionEventArgs.cs: DataGridView implementation
2436 * IDataGridViewEditingCell.cs: DataGridView implementation
2437 * DataGridViewTriState.cs: DataGridView implementation
2438 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
2439 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
2440 * DataGridViewColumnCollection.cs: DataGridView implementation
2441 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
2442 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
2443 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
2444 * DataGridViewColumn.cs: DataGridView implementation
2445 * DataGridViewCellBorderStyle.cs: DataGridView implementation
2446 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
2447 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
2448 * DataGridViewRow.cs: DataGridView implementation
2449 * DataGridViewImageCellLayout.cs: DataGridView implementation
2450 * DataGridViewImageCell.cs: DataGridView implementation
2451 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
2452 * DataGridViewCheckBoxCell.cs: DataGridView implementation
2453 * DataGridViewHeaderCell.cs: DataGridView implementation
2454 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
2455 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
2456 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
2457 * DataGridViewTextBoxColumn.cs: DataGridView implementation
2458 * QuestionEventHandler.cs: DataGridView implementation
2459 * DataGridViewCellStyleScopes.cs: DataGridView implementation
2460 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
2461 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
2462 * DataGridViewCell.cs: DataGridView implementation
2463 * DataGridViewCellEventArgs.cs: DataGridView implementation
2464 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
2465 * DataGridViewCellStyle.cs: DataGridView implementation
2466 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
2467 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
2468 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
2469 * TextFormatFlags.cs: DataGridView implementation
2470 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
2471 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
2472 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
2473 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
2474 * DataGridViewButtonColumn.cs: DataGridView implementation
2475 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
2476 * HandledMouseEventArgs.cs: DataGridView implementation
2477 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
2478 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
2479 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
2480 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
2481 * DataGridViewRowCollection.cs: DataGridView implementation
2482 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
2483 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
2484 * DataGridViewHitTestType.cs: DataGridView implementation
2485 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
2486 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
2487 * DataGridViewColumnEventHandler.cs: DataGridView implementation
2488 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
2489 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
2490 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
2491 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
2492 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
2493 * DataGridViewContentAlignment.cs: DataGridView implementation
2494 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
2495 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
2496 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
2497 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
2498 * DataGridViewPaintParts.cs: DataGridView implementation
2499 * DataGridViewCellCollection.cs: DataGridView implementation
2500 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
2501 * DataGridViewImageColumn.cs: DataGridView implementation
2502 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
2503 * DataGridViewElementStates.cs: DataGridView implementation
2504 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
2505 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
2506 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
2507 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
2508 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
2509 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
2510 * DataGridViewRowHeaderCell.cs: DataGridView implementation
2511 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
2512 * DataGridViewTextBoxCell.cs: DataGridView implementation
2513 * DataGridViewBand.cs: DataGridView implementation
2514 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
2515 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
2516 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
2517 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
2518 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
2519 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
2520 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
2521 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
2522 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
2523 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
2524 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
2526 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
2528 * ThemeWin32Classic.cs:
2529 - Draw the outside focus rectangle around buttons
2530 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
2531 doesn't use end caps for every dash of a line anymore. This
2532 workaround ignores the forecolor.
2534 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
2536 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
2539 2005-11-07 Jackson Harper <jackson@ximian.com>
2541 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
2543 2005-11-07 Jackson Harper <jackson@ximian.com>
2545 * ScrollableControl.cs: Calculate the maximum and change vars
2546 (more) correctly so that scrollbars appear as a sensible size.
2548 2005-11-04 Jackson Harper <jackson@ximian.com>
2550 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
2552 * TreeView.cs: When the tree is sorted null out the top_node so
2553 that it is recalculated.
2554 - Use dotted lines instead of dashed lines to match MS better.
2556 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
2559 - Implements key search for items. Useful when browsing files with FileDialog
2560 - When changing view mode or when clear the items reset scrollbar positions
2562 2005-11-04 Jackson Harper <jackson@ximian.com>
2564 * CurrencyManager.cs: Implement the MetaDataChanged event, the
2565 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
2566 as to what the method may do as there is no real way of creating a
2567 derived CurrencyManager and calling the method.
2569 2005-11-03 Jackson Harper <jackson@ximian.com>
2571 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
2572 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
2573 method which seems to just be used internally to refresh the tabs.
2575 2005-11-03 Jackson Harper <jackson@ximian.com>
2577 * TabControl.cs: Implement the remove method. Fix some broken
2580 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2582 * DateTimePicker.cs:
2583 - Added missing DateTimePickerAccessibleObject class
2584 - Added missing events
2585 - Added OnFontChanged method
2586 * Form.cs: Added missing attributes
2587 * TreeView.cs: Added missing attributes
2589 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2591 * GridItemCollection.cs: Fix signatures
2593 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2595 * XplatUI.cs: Updated build rev/date
2596 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
2597 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
2598 * Application.cs: Trigger context-specific ExitThread events
2600 2005-11-03 Jackson Harper <jackson@ximian.com>
2604 * GridTableStylesCollection.cs:
2609 * MonthCalendar.cs: Signature fixes
2611 2005-11-03 Jackson Harper <jackson@ximian.com>
2613 * TreeNodeCollection.cs: Remove should not be virtual.
2614 * TreeView.cs: Implement the last of the missing methods.
2616 2005-11-03 Jackson Harper <jackson@ximian.com>
2618 * TreeNodeConverter.cs: Implement to get off my class-status back.
2620 2005-11-03 Jackson Harper <jackson@ximian.com>
2622 * TreeView.cs: Hookup the bits for drag and drop.
2623 * TreeNode.cs: Don't cache the tree_view or index anymore, now
2624 that nodes can be moved from tree to tree easily this just causes
2625 all sorts of problems.
2626 * TreeNodeCollection: Don't need to give treenodes an index and
2627 treeview anymore when they are added, these are computed on the
2628 fly. Also make sure to remove a node before its added.
2630 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
2633 - Added CaretSelection enum
2634 - Added comparison methods to Marker struct, makes selection code
2636 - Added SelectionStart and SelectionEnd as 'moveable' location for
2637 the CaretDirection enum and handler
2638 - Added selection_prev variable to track optimized invalidation for
2639 word and line selection
2640 - Added SelectionVisible property (returns true if there is a valid
2642 - Switched CaretHasFocus to only display the caret if there is no
2644 - Avoiding StringBuilder.ToString to retrieve a single char, instead
2645 using the direct character index; should be much faster
2646 - Added various conditional debug statements
2647 - Fixed invalidation calculation for selection ranges
2648 - Added ExpandSelection() method to support word and line selection
2649 - Switched SetSelectionToCaret to use new Marker compare overloads
2650 - Added central IsWordSeparator() method to determine word
2651 separators/whitespace and FindWordSeparator() to streamline common
2652 usage of IsWordSeparator()
2654 - Removed unneeded grabbed variable, it was just mirroring
2656 - No longer firing OnTextChanged event when Text setter is called,
2657 since the base will fire the event for us
2658 - Added handling of Ctrl-Up/Down selection
2659 - Added handling of Shift-Cursorkey selection
2660 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
2662 - Added handling of Shift and Ctrl-Shift-Home/End selection
2663 - Removed some debug output
2664 - Added handling for single/double/tripple-click to place caret/
2665 select word/select line respectively (Fixes bug #76031)
2666 - Added support for drag expansion of word/line selection
2667 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
2670 2005-11-02 Jackson Harper <jackson@ximian.com>
2672 * X11Dnd.cs: If the drag is going to and from a MWF window just
2673 copy the data instead of sending it out through the X Selection
2676 2005-11-02 Jackson Harper <jackson@ximian.com>
2679 * XplatUIX11.cs: When in a drag we don't want motion notify
2680 messages to get passed on to the other controls. This prevents
2681 mouse move messages from showing up in the drag source.
2683 2005-11-02 Jackson Harper <jackson@ximian.com>
2685 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
2686 the correct button is release to end a drag.
2687 * XplatUIX11.cs: Make the button state internal so the drag system
2688 can access it. Dragging needs to know about all button releases,
2689 not just left button.
2691 2005-11-02 Miguel de Icaza <miguel@novell.com>
2693 * Form.cs (Icon): If the icon is null, reset the icon to the
2696 * Cursor.cs: When writing the AND-mask bitmap do not include the
2697 number of colors, but hardcode those to two (black and white),
2698 fixes the loading of color cursors (Paint Dot Net).
2700 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
2701 turn off autoscaling.
2703 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
2705 2005-11-02 Jackson Harper <jackson@ximian.com>
2707 * X11Dnd.cs: Make sure to send a status message if the pointer
2708 enters a control that can not accept a drop, otherwise the cursor
2709 isn't updated correctly. Also tried to compress the lines of code
2712 2005-11-02 Jackson Harper <jackson@ximian.com>
2714 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
2715 set actions correctly. This isn't perfect as XDND and win32 have
2716 some differences on how you allow actions. I'll clear this up by
2717 adding a path for drag from MWF to MWF windows.
2718 * XplatUIX11.cs: Hook into the dnd system.
2720 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
2722 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
2723 previously shown but they are no longer need it. Very obvious when
2724 browsing files with FileDialog.
2726 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
2728 * Control.cs: We always need to call OnPaintBackground. We pretty much
2729 ignore AllPaintingInWmPaint and always do the painting there, whether
2730 it's set or not, since we always ignore the WM_ERASEBKGND message
2731 (which we don't generate on X11). This fixes #76616.
2732 * Panel.cs: Removed unneeded background painting. This happens properly
2733 in Control.cs already
2735 2005-10-31 Mike Kestner <mkestner@novell.com>
2737 * Menu.cs: Add items to collection before setting their index.
2738 * MenuItem.cs : add range checking with ArgumentException like MS.
2741 2005-10-31 Jackson Harper <jackson@ximian.com>
2743 * ListBox.cs: Invalidate if the area is visible at all not just
2744 contained in the visible rect. Fixes unselection of semi visible
2747 2005-10-31 Jackson Harper <jackson@ximian.com>
2749 * Control.cs: Consistently name the dnd methods. Make them
2750 internal so we can override them to match some MS behavoir
2752 * Win32DnD.cs: Use the new consistent names.
2754 2005-10-31 Jackson Harper <jackson@ximian.com>
2756 * TreeView.cs: Don't draw the selected node when we lose focus.
2758 2005-10-31 Jackson Harper <jackson@ximian.com>
2760 * X11Dnd.cs: We still need to reset the state even though a full
2761 reset isn't being done, otherwise status's still get sent all over
2764 2005-10-31 Jackson Harper <jackson@ximian.com>
2766 * Control.cs: Make the dnd_aware flag internal so the dnd
2767 subsystem can check it. Catch exceptions thrown in dnd handlers to
2769 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
2770 * X11Dnd.cs: Handle null data in the converters. Set the XDND
2771 version when sending a XdndEnter. Use the control/hwnd dnd_aware
2772 flags to reduce the number of dnd enters/status's sent.
2774 2005-10-31 Jackson Harper <jackson@ximian.com>
2776 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
2778 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
2780 * PictureBox.cs: Fixes 76512
2782 2005-10-28 Jackson Harper <jackson@ximian.com>
2784 * X11Dnd.cs: Early implementation to support winforms being a drag
2785 source for data on X11. Also restructured the converters so they
2786 can go both ways now.
2787 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
2789 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
2791 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
2794 2005-10-27 Jackson Harper <jackson@ximian.com>
2796 * TreeNode.cs: Implement serialization so my DnD examples will work.
2798 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
2800 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
2801 TreeView.cs: Don't dispose objects that are not owned.
2803 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
2805 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
2806 should retrieve the current cursor and report that, but XplatUI
2807 doesn't (yet) have an interface for that (and I'm not sure I even
2809 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
2810 until any message loop processing is done (and the WM_SETCURSOR
2811 replaces the cursor to the proper one)
2813 - Fixed override behaviour, we can't set the cursor globally on X11,
2814 just for our windows.
2815 - Invalidating the System.Drawing X11 display handle when we are
2817 * Control.cs: Fix to make csc happy
2819 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
2822 - get_Text: Add last line (without trailing newline) to returned
2824 - get_TextLength: Count last line in returned length
2825 - ToString: Call Text property instead of duplicating code
2827 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
2829 * ImageList.cs: Dispose ImageAttributes objects.
2831 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
2833 * ImageList.cs: Use attribute constructors with less arguments where
2836 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
2838 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
2839 Use typeof instead of strings when assembly is referenced. Added
2842 2005-10-21 Jackson Harper <jackson@ximian.com>
2844 * ListView.cs: Raise a double click event. Also tried to somewhat
2845 fix when the selectedindexchanged event is raised. Its still
2848 2005-10-21 Jackson Harper <jackson@ximian.com>
2850 * TreeView.cs: New method to invalidate the plus minus area of a
2851 node without invalidating the whole node (maybe this can be used
2852 in some more places).
2853 * TreeNodeCollection.cs: When adding to an empty node we need to
2854 invalidate its plus minus area so the little block shows up.
2856 2005-10-21 Jackson Harper <jackson@ximian.com>
2858 * TreeView.cs: Make sure that when we invalidate a node the bounds
2859 are big enough to cover the selected box and the focus
2860 rectangle. Use a different colour for the lines connecting nodes
2861 so they show up with all themes.
2863 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
2865 * NativeWindow.cs: Don't call anything that could call into the driver,
2866 we might be on a different thread.
2868 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
2870 * Control.cs(Dispose): Since Dispose might run on a different thread,
2871 make sure that we call methods that could call into the driver via
2872 invoke, to avoid thread issues
2874 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
2876 * XplatUI.cs: Removed finalizer
2877 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
2878 not allowing to be called on the finalizer thread.
2880 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
2883 - Reverted r51889 and r51891.
2884 - Added ImageListItem class that stores unmodified image items and image
2885 properties required to create list images until handle is created.
2886 - Added AddItem and moved image creation logic to AddItemInternal.
2887 - Added CreateHandle method that creates images based on unmodified items.
2888 - Added DestroyHandle that changes state to store unmodified items.
2889 - Add and AddStrip methods no more create handle.
2890 - ReduceColorDepth has no return value.
2891 - Dispose destroys handle.
2892 - Modified other methods to reflect the above changes.
2893 - Implemented key support.
2894 - Added profile 2.0 members and attributes.
2895 - Added private Reset and ShouldSerialize methods that provide the same
2896 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
2897 them as they are private.
2898 - Added some more comments about implementation details.
2900 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
2902 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
2904 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
2906 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
2908 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
2910 * DataGridDrawingLogic.cs: Fixes column hit calcultation
2911 * DataGridColumnStyle.cs: Remove debug message
2913 2005-10-20 Jackson Harper <jackson@ximian.com>
2915 * TreeView.cs: We can always get input keys regardless of whether
2916 or not editing is enabled. They are used for navigation.
2918 2005-10-20 Jackson Harper <jackson@ximian.com>
2920 * TreeNode.cs: Use the viewport rect for determining if a node
2921 needs to be moved for visibility. Don't use Begin/End edit. This
2922 calls a full refresh when its done.
2923 * TreeView.cs: New SetBottom works correctly. Make the viewport
2924 rect property internal so the treenodes can see it. When clicking
2925 on a node we need to ensure that its visible because it might just
2926 be partly visible when clicked.
2928 2005-10-20 Jackson Harper <jackson@ximian.com>
2930 * TreeNodeCollection.cs: Remove debug code.
2932 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
2934 * Datagrid.cs: Implements column sorting in Datagrid
2935 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
2937 2005-10-20 Jackson Harper <jackson@ximian.com>
2939 * TreeNodeCollection.cs: Remove items properly. Update the correct
2940 area after removing them.
2942 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
2944 * Datagrid.cs: Should not call base.OnPaintBackground
2946 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
2948 * XplatUIX11.cs (GetMessage):
2949 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
2950 window instead of client window
2951 - Now properly calculates NC_xBUTTONUP message coordinates
2952 - ScreenToMenu now properly calculates it's coordinates of whole
2953 window, since menus are in the whole window, not in the client
2955 - Added WholeToScreen coordinate translation method
2957 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
2959 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
2960 want to return a message, loop back to the beginning of the function
2961 and grab the next real message to process instead.
2963 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
2965 * Splitter.cs: Properly set limits if no filler control is used
2967 2005-10-19 Jackson Harper <jackson@ximian.com>
2969 * ColorDialog.cs: Don't show the help button if it is not enabled
2970 instead of disabling it (this is what MS does). Don't create the
2971 panel until the dialog is run, otherwise the vars (such as
2972 ShowHelp) are not set yet.
2974 2005-10-19 Jackson Harper <jackson@ximian.com>
2976 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
2977 are reduced when adding nodes.
2979 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
2982 2005-10-19 Jackson Harper <jackson@ximian.com>
2984 * FolderBrowserDialog.cs: End editing our treeview so the window
2985 actually gets refreshed.
2987 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
2989 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
2990 Obsoleted handling of WM_ERASEBKGND, now always draws our background
2993 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
2995 * MenuAPI.cs: Returns after Hidding window
2996 * XplatUIX11.cs: Added TODO found while debugging menu issues
2998 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3000 * XplatUIX11.cs: Do not re-map the whole window when it's size
3001 becomes non-zero unless it's supposed to be actually visible
3003 2005-10-18 Jackson Harper <jackson@ximian.com>
3005 * TreeView.cs: We don't need to keep a count anymore.
3006 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3007 use the Grow method.
3009 2005-10-18 Jackson Harper <jackson@ximian.com>
3011 * TreeNodeCollection.cs: Insert is not supported on arrays, so
3012 implement it manually here.
3014 2005-10-18 Jackson Harper <jackson@ximian.com>
3016 * ImageList.cs: Dont kill the list when the colour depth is
3017 changed, just change the colour depth of all the images.
3018 - Same goes for setting the image size. Just resize them all
3019 instead of killing the list softly.
3021 2005-10-18 Jackson Harper <jackson@ximian.com>
3023 * Control.cs: Don't invalidate empty rectangles.
3025 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3028 - Adds checked item to the Checked/Item lists (where empty before)
3029 - Do not add items to the Selected lists if they are already present
3031 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3032 - When deleting items make sure that we delete them for the Selected
3033 and Checked list also.
3035 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3037 * Label.cs: Dispose objects no longer used
3038 * ThemeWin32Classic.cs: Dispose objects no longer used
3040 2005-10-18 Jackson Harper <jackson@ximian.com>
3042 * TabControl.cs: Don't refresh the whole control when the tabs are
3043 scrolled, we just need to refresh the tab area.
3045 2005-10-17 Jackson Harper <jackson@ximian.com>
3047 * XplatUIX11.cs: Compress code a little bit. Only calculate the
3048 after handle when we need it.
3050 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3052 * Control.cs: When the parent size changes, recalculate anchor
3053 positions. Partial fix for #76462
3055 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3057 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
3060 2005-10-17 Jackson Harper <jackson@ximian.com>
3062 * MonthCalendar.cs: Don't create the numeric up down until our
3063 handle is created. Otherwise our handle is created in the
3064 constructor and we don't know if we are a WS_CHILD or WS_POPUP
3067 2005-10-17 Jackson Harper <jackson@ximian.com>
3069 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3072 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
3073 * TreeNode.cs : small logical fix (was using local var instead of field)
3075 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3077 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3079 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3081 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3083 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
3086 - Re-implemented anchoring code. My first version was really broken.
3087 This fixes bug #76033. Unlike the previous implementation we will
3088 no longer have round errors since all numbers are calculated from
3089 scratch every time. Removed various anchor-related obsolete vars.
3090 - InitLayout no longer causes layout event firing and layout to be
3093 2005-10-16 Jackson Harper <jackson@ximian.com>
3095 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3098 2005-10-16 Jackson Harper <jackson@ximian.com>
3100 * TabControl.cs: Remove debug code.
3102 2005-10-16 Jackson Harper <jackson@ximian.com>
3104 * XEventQueue.cs: Increase the default queue size (very simple
3105 apps needed to grow the queue).
3106 * Hwnd.cs: No finalizer so we don't need to suppress
3107 finalization. Compute the invalid area manually so a new rectangle
3108 does not newto be created.
3109 * ScrollableControl.cs: Don't set any params (otherwise visibility
3110 isn't set correctly).
3111 * MdiChildContext.cs: New constructor takes the mdi parent so it
3112 doesn't have to be computed and avoids a crash on windows. Draw
3113 the window icon properly, and allow the text to be seen.
3114 * Form.cs: Use new MdiChildContext constructor. Make sure the
3115 child context isn't null in wndproc.
3116 * TabControl.cs: Don't set focus, this is muddling keyboard
3117 behavoir. Expand the tab rows when a window size increase will
3118 allow extra tabs to be seen. Don't allow tabs smaller than the
3119 width of a window to be scrolled out of view.
3121 * TreeView.cs: Use measure string to calculate a nodes width, the
3122 width is cached and only updated when the text or the font is
3123 changed. Don't check for expand/collapse clicks on the first level
3124 nodes if root lines are disabled.
3126 2005-10-16 Ritvik Mayank <mritvik@novell.com>
3128 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3130 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3132 * DataGridBoolColumn.cs: fixes warning
3134 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3136 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3137 to match more to match more precisely the MS Net behavior
3139 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3141 * Hwnd.cs: Added field to track if window is mapped
3143 - Unmap windows if they become 0-size, re-map when
3144 they are >0 again; fixes #76035
3145 - Re-set our error handler after initializing X11Desktop
3146 to override any error handlers Gtk or whatever was called
3149 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3151 * CheckedListBox.cs: Removed unused vars
3152 * ListView.cs: Fixed signatures
3153 * RichTextBox.cs: Removed unused vars
3154 * TextBoxBase.cs: Removed unused vars
3155 * XplatUIWin32.cs: Removed unused vars
3156 * XplatUIX11.cs: Removed unused vars
3157 * XplatUI.cs: Updated version and date to latest published
3159 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3161 * Cursor.cs: Added private .ctor to work around a bug in
3162 resourceset (Thanks to Geoff Norton for the help on this)
3163 * SplitterEventArgs.cs: Made fields accessible so we don't
3164 waste boatloads of objects and can reuse the same one
3166 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
3167 any captions and borders when generating screen coordinates
3168 * Splitter.cs: Reimplemented control, now fully complete, uses
3169 rubberband drawing, supports and obeys all properties, has
3172 2005-10-13 Miguel de Icaza <miguel@novell.com>
3174 * Form.cs (Form): Setup default values for autoscale and
3175 autoscale_base_size; Make these instance variables, not static
3178 (OnLoad): on the first load, adjust the size of the form.
3180 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3182 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
3183 width argument to DrawReversibleRectangle()
3184 * XplatUIWin32.cs, XplatUIX11.cs:
3185 - Implemented width for DrawReversibleRectangle()
3186 - Added logic to DrawReversibleRectangle that recognizes a zero
3187 width or height and only draws a line in that situation
3189 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3191 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
3192 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
3193 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
3194 method (it uses our FosterParent window to get a graphics context)
3196 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
3198 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
3199 and SetWindowBackground methods
3201 - Setting proper ControlStyles
3202 - We no longer call XplatUI.SetWindowBackground and XplatUI.
3203 EraseWindowBackground, instead we draw the window background
3204 ourselves in PaintControlBackground. This behaviour is
3205 required to match MS, where, when OnPaintBackground is not
3206 called, the background is not drawn.
3207 - Removed unneeded Refresh() in set_Text
3208 * Hwnd.cs: Dropped the ErasePending support. No longer needed
3210 - Created DeriveStyles method to translate from CreateParams to
3211 FormBorderStyle and TitleStyle, also handles BorderStyle (which
3212 matches FormBorderStyle enum values)
3213 - Consolidated SetHwndStyles and CalculateWindowRect border/title
3214 style calculations into single DeriveStyles method
3215 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
3216 from redrawing the whole window on any resize or expose.
3217 - Fixed CreateWindow usage of SetWindowValuemask. Before not
3218 all styles were applied to our whole/client window appropriately
3219 - Removed EraseWindowBackground() and SetWindowBackground() methods
3220 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
3221 no longer clear/redraw the background through X
3222 - Removed handling of erase_pending bit, we have no use for it (or
3225 - Removed generation and handling of WM_ERASEBKGND message
3226 - Removed EraseWindowBackground() and SetWindowBackground() methods
3227 - Removed handling of hwnd.ErasePending flag
3229 - Removed EraseWindowBackground() and SetWindowBackground() methods
3230 - We no longer call EraseWindowBackground on PaintEventStart, we
3231 ignore the fErase flag, erasing is handled in Control in the
3233 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
3234 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
3235 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
3236 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
3237 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
3238 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
3239 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
3241 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
3243 * PropertyGrids.cs: Get sub properties
3244 * PropertyGridView.cs: Fix drawing code
3246 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3248 * ListBox.cs: Fixes 76383
3250 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3252 * DataGridTextBoxColumn.cs: Sets location and size before attachment
3253 * ThemeWin32Classic.cs: Fixes border drawing and calculations
3254 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
3257 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3259 * ComboBox.cs: Fixes border drawing
3261 2005-10-10 Miguel de Icaza <miguel@novell.com>
3263 * MimeIcon.cs: Ignore errors if the file can not be read.
3265 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
3267 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
3268 - Fixed border calculations
3269 - Fixed horizontal scrolling in single column listboxes
3270 - Fixed drawing issues
3272 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
3274 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
3275 FormBorderStyle enum
3276 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
3277 code to determine FormBorderStyles from CreateParams
3279 - Fixed bug where we'd set the wrong window styles if we were
3280 not creating an MDI window
3281 - Added call to XplatUI.SetBorderStyle when form borders are set
3282 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
3284 - Removed obsolete edge style
3285 - Switched from BorderStyle to FormBorderStyle
3287 2005-10-10 Jackson Harper <jackson@ximian.com>
3289 * Form.cs: Use the property to get the window handle instead of
3290 accessing it directly. Prevents a null reference exception.
3292 2005-10-10 Jackson Harper <jackson@ximian.com>
3294 * TreeView.cs: Don't adjust the rect given to DrawString now that
3295 our libgdiplus draws correctly.
3297 2005-10-08 Jackson Harper <jackson@ximian.com>
3299 * TreeView.cs: Don't try to find the clicked on node if there are
3300 no nodes in the tree.
3302 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3308 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
3310 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
3311 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
3313 Use ResPool for brushes and dispose System.Drawing objects that
3314 are not used anymore.
3316 2005-10-07 Jackson Harper <jackson@ximian.com>
3318 * MdiChildContext.cs: Use the new borders instead of drawing them
3321 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3323 * Calling UpdateBounds after changing the window's BorderStyle
3324 since the style can change the ClientSize
3326 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3328 * Control.cs: Made PaintControlBackground virtual
3329 * Panel.cs: Overriding PaintControlBackground instead of using paint
3330 event; paint event method was interfering with 'real' users of the
3333 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
3335 * ThemeWin32Classic.cs: remove border drawing since it is handled
3336 by the base control class now and was causing double border drawing.
3338 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3340 * Panel.cs: Redraw our background on paint. Not a pretty solution,
3341 but it does seem to match MS behaviour. This fixes bug #75324
3343 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3345 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
3346 somewhat hackish looking
3348 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3351 - We now accept Enter even if AcceptEnter is false, if the containing
3352 form does not have an AcceptButton configured (fixes bug #76355)
3353 - Calculations are now fixed to no longer use Width/Height, but
3354 ClientSize.Width/Height, since we now support borders (this was
3355 a result of fixing borders and therefore bug #76166)
3356 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
3357 true (fixes bug #76354)
3359 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3362 - Defaulting BorderStyle and setting it in XplatUI when our window
3364 - Added enum check to InternalBorderStyle setter
3366 - Added drawing of window borders
3367 - Now properly calculates WM decorations offset for toplevel
3368 windows (fixes bug #74763)
3370 - Implemented BorderStyles for windows (we're letting win32 draw
3372 - Fixed the signature for SetWindowLong
3373 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
3374 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
3376 * UpDownBase.cs: Remove drawing of borders, this is handled by
3377 the driver, outside the client area
3378 * ListView.cs: Removed bogus border calculations. The control should
3379 be oblivious to borders, since those are not part of the client
3381 * X11DesktopColors.cs: Commented out (currently) unneeded variables
3382 * ThemeWin32Classic.cs: Removed border calculations from ListView
3385 2005-10-06 Jackson Harper <jackson@ximian.com>
3387 * MdiChildContext.cs: Clear out the old virtual position remove
3388 all the unneeded calls to CreateGraphics.
3390 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3392 * TextControl.cs: Use proper color for highlighted text; fixes #76350
3394 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3397 - Added loading and setting of our new default icon
3398 - Only set icon if window is already created
3400 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
3403 - Do not explicitly set the foreground and background colors, to
3404 allow inheriting from parents (fixes #76302)
3405 - Use Control's InternalBorderStyle property to deal with borders
3407 2005-10-06 Jackson Harper <jackson@ximian.com>
3409 * MdiChildContext.cs: Use the new xplatui function to draw a
3412 2005-10-06 Jackson Harper <jackson@ximian.com>
3414 * Form.cs: Add the parent before creating the child context cause
3415 we need the parent when setting up the child.
3417 2005-10-06 Jackson Harper <jackson@ximian.com>
3419 * FolderBrowserDialog.cs: redo the tree population code so a
3420 second thread isn't used. Should be a lot faster and more stable
3423 2005-10-05 Jackson Harper <jackson@ximian.com>
3425 * TreeView.cs: There are no expand/collapse boxes if the node has
3428 2005-10-05 Jackson Harper <jackson@ximian.com>
3430 * X11DesktopColors.cs: Get menu colours for the gtk theme.
3432 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
3434 * FileDialog.cs: Fix InitialDirectory
3436 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3439 - Fixes changing between styles
3441 - Fixes last item crashing when navigating with keyboard
3443 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
3445 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
3447 2005-10-05 Jackson Harper <jackson@ximian.com>
3449 * TreeView.cs: If updating the root node do a full refresh.
3450 * TreeNode.cs: The root node should be expanded by default. Also
3451 added a utility prop to tell if we are the root node.
3452 * TreeNodeCollection.cs: Only refresh if the node we are being
3453 added to is expanded. Also added a comment on a potential
3456 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
3458 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
3459 in dispose method. Fixes #76330
3461 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
3463 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
3465 - Implements vertical and horizontal scrolling using XplatUI
3466 - Fixes keyboard navagation
3467 - Fixes EnsureVisible
3469 - Handles and draws focus properly
3472 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
3474 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
3475 Create handle. NET_2_0: Destroy handle when value is null.
3477 2005-10-03 Jackson Harper <jackson@ximian.com>
3479 * ScrollBar.cs: My last scrollbar patch was broken. This is a
3480 revert and a new patch to prevent the thumb from refreshing so
3483 2005-10-02 Jackson Harper <jackson@ximian.com>
3485 * ScrollBar.cs: Don't update position if it hasn't actually
3486 changed. This occurs when you hold down the increment/decrement
3487 buttons and the thumb gets to the max/min.
3489 2005-10-01 Jackson Harper <jackson@ximian.com>
3492 * MdiChildContext.cs:
3493 * MdiClient.cs: Implement ActiveMdiChild in Form.
3495 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
3497 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
3499 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
3501 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
3504 2005-09-30 Jackson Harper <jackson@ximian.com>
3506 * ListBox.cs: Don't do a full refresh unless some data has
3509 2005-09-30 Jackson Harper <jackson@ximian.com>
3511 * TreeView.cs: Make sure that the checkboxes size is factored in
3512 even when not visible.
3514 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3516 * FileDialog.cs: Fix Jordi's build break
3518 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3521 - Use standard the Windows colours for the combobox as espected
3522 - Dispose objects that use resouces when no longer need them
3524 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3526 * X11DesktopColors.cs: Initial incomplete implementation
3527 * XplatUIX11.cs: Added call to initialize X11DesktopColors
3529 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
3532 - Switched Theme color names to match the names defined in
3533 System.Drawing.KnownColors. Life's hard enough, no need to make
3535 - Added setters to all theme color properties so themes can set
3536 their color schemes. The setters also propagate the color changes
3537 to System.Drawing.KnownColors via reflection
3538 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
3539 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
3540 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
3541 use the new, more logical theme color names
3542 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
3544 * ThemeWin32Classic.cs:
3545 - Removed code to set the old classic Windows colors. Instead it
3546 now relies on the colors returned by System.Drawing.KnownColors
3547 which will be either modern static colors (Unix) or colors
3548 read from the user's configuration (Win32)
3549 - Updated to use the new, more logical theme color names
3550 - Switched DataGrid drawing code to use only Theme colors instead of
3551 a mix of System.Drawing.KnownColors and Theme colors
3552 - DrawFrameControl(): Removed code that fills the button area, the
3553 fill would overwrite any previous fill done by a control. This
3555 - Added DrawReversibleRectangle() stub
3556 * ScrollableControl.cs: Set visible state to false when scrollbars
3557 are removed (pdn fix)
3558 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
3559 DrawReversibleRectangle() method to allow drawing primitive
3561 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
3563 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3565 * ImageList.cs: Add(Icon): Create handle.
3567 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
3570 * ThemeWin32Classic.cs:
3573 - Issues with drawing
3575 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3577 * ImageList.cs: Moved RecreateHandle back to ImageList as event
3578 source has to be the ImageList.
3580 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3582 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
3584 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3586 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
3588 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3590 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
3592 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
3593 * GridItem.cs: Fixed TODOs
3594 * GridItemCollection.cs: Added ICollection interface
3596 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
3598 * ImageList.cs: Resize icons when needed.
3600 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
3603 - Fixes GetBounds and returns on screen rects
3605 - Fixes vertical and horzintal scrolling of items
3606 * ThemeWin32Classic.cs:
3609 2005-09-29 Raja R Harinath <harinath@gmail.com>
3611 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
3613 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
3615 * ImageList.cs: Added comments about handle creation. Moved Handle,
3616 HandleCreated and OnRecreateHandle implementations to ImageCollection.
3617 Handle is created in Add methods.
3619 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3621 * DataGridDrawingLogic.cs:
3622 - Takes rows into account on Colum calculations
3623 - Returns the column when clickig
3625 - Fixes default HitTestInfo values
3626 - Fixes HitTestInfo.ToString
3627 - Fixes ResetBackColor
3629 2005-09-28 Jackson Harper <jackson@ximian.com>
3631 * MdiChildContext.cs: Obey rules for fixed sized windows (no
3632 sizing or cursor changes). Also added some temp code to draw the
3633 titlebars text (Makes dev a little easier).
3635 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3637 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
3639 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
3641 * ListBox.cs: Fixes bug 76253
3643 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
3645 * ImageList.cs: Added comments about the current implementation. Added
3646 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
3647 Format32bppArgb to preserve transparency and can use Graphics.FromImage
3648 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
3649 with Bitmap.LockBits for better performance. Revised the whole file to
3650 match MS.NET behaviour and provide better performance. Non-public
3651 interface members are calling public members even when they throw
3652 NotSupportedException for better maintainability. Moved ColorDepth,
3653 ImageSize, ImageStream and TransparentColor implementations to
3654 ImageCollection for better performance as these properties are not used
3656 * ImageListStreamer.cs: Added a new internal constructor that takes an
3657 ImageList.ImageCollection and serializes Images based on
3658 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
3659 match ImageList property name.
3661 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
3663 * ListBox.cs: Fixes IndexFromPoint for last item
3665 2005-09-27 Jackson Harper <jackson@ximian.com>
3667 * Form.cs: Set the position of new mdi children correctly.
3669 2005-09-27 Jackson Harper <jackson@ximian.com>
3671 * MdiClient.cs: New mdi children need to be added to the back of
3672 the controls collection so the zorder is set correctly. Also add a
3673 count of all the child windows that have been created.
3675 2005-09-27 Jackson Harper <jackson@ximian.com>
3677 * Form.cs (CreateParams): Setup MDI forms correctly.
3679 2005-09-27 Jackson Harper <jackson@ximian.com>
3681 * MdiChildContext.cs:
3688 * ScrollableControl.cs:
3689 * ComboBox.cs: Add implicit controls using the new implict control
3690 functionality in ControlCollection. Also try to block multiple
3691 control add in a suspend/resume layout to save some cycles.
3693 2005-09-27 Jackson Harper <jackson@ximian.com>
3695 * Control.cs: Add functionality to the controls collection to add
3696 'implicit controls' these are controls that are created by the
3697 containing control but should not be exposed to the user. Such as
3698 scrollbars in the treeview.
3699 * Form.cs: The list var of the ControlsCollection is no longer
3700 available because of the potential of implicit controls getting
3701 ignored by someone accessing the list directly.
3703 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
3705 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
3706 loose it's parent. (Fixed bug introduced in r49103 when we added
3707 setting the child parent to null on Remove)
3709 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
3711 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
3712 * Splitter.cs: Added missing attributes for BorderStyle property.
3713 * TextBoxBase.cs: Marked Calculate* methods internal.
3714 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
3717 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
3719 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
3721 2005-09-25 Jackson Harper <jackson@ximian.com>
3723 * TreeView.cs: Update the node bounds correctly regardless of
3724 whether the node is visible.
3726 2005-09-25 Jackson Harper <jackson@ximian.com>
3728 * ImageList.cs: Don't dispose the image after it is added to the
3729 image list. Only reformat images that need to be resized.
3731 2005-09-25 Jackson Harper <jackson@ximian.com>
3733 * ImageList.cs: Don't set the format when changing the image.
3735 2005-09-25 Jackson Harper <jackson@ximian.com>
3737 * TreeView.cs: We can't just assume the node has a font. Use the
3738 treeviews font if no node font is available.
3740 2005-09-25 Jackson Harper <jackson@ximian.com>
3742 * TreeView.cs: Allow the scrollbars to be reset with negative
3744 - Don't add scrollbars to negative sized windows.
3746 2005-09-23 Jackson Harper <jackson@ximian.com>
3748 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
3749 old Mono.Posix. Also remove some stray code that shouldn't have
3752 2005-09-23 Jackson Harper <jackson@ximian.com>
3754 * TreeView.cs: Attempt at proper sizing of the horizontal
3755 scrollbar. Also don't resize the scrollbars unless they are
3758 2005-09-23 Jackson Harper <jackson@ximian.com>
3760 * TreeView.cs: We don't need to expand the invalid area when the
3761 selection changes, as this is all drawn in the node's bounding
3762 box. The area needs to be expanded (previous typo was contracting
3763 it) when the focus rect moves.
3765 2005-09-23 Jackson Harper <jackson@ximian.com>
3767 * TreeView.cs: Display the selection box under the correct
3768 circumstances. We were rendering white text with no selection box
3771 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
3773 * TextControl.cs(Split): Now updates selection start/end if it points
3774 into a line that's being split. Fixes a FIXME and bug #75258
3776 2005-09-23 Jackson Harper <jackson@ximian.com>
3779 * ListControl.cs: Don't use the path when retrieving binding
3780 managers from the binding context. My bat sense tells me that the
3781 path is only used on insertion.
3783 2005-09-22 Jackson Harper <jackson@ximian.com>
3785 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
3787 2005-09-22 Jackson Harper <jackson@ximian.com>
3789 * Splitter.cs: There are special cursors used for splitting.
3790 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
3792 2005-09-22 Jackson Harper <jackson@ximian.com>
3794 * Splitter.cs: Change the cursor appropriately when the splitter
3795 is moused over, so the user actually knows there is a splitter
3798 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
3800 * Label.cs : Fix ToString method to give same output as MS.NET
3802 2005-09-22 Jackson Harper <jackson@ximian.com>
3804 * TreeView.cs: Create the scrollbars when the handle is created
3805 and add them right away, just make them invisble. Also account for
3806 the window being shrunk vertically to the point that the vert
3807 scrollbar needs to be added.
3808 - Remove some 0.5 adjustments to get around anti aliasing issues.
3810 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
3812 * MainMenu.cs: Fixes default value
3813 * MenuItem.cs: Fixes default value
3815 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
3817 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
3819 2005-09-21 Jackson Harper <jackson@ximian.com>
3821 * Control.cs: Don't try to set the border style on the window if
3822 it hasn't been created. When the window is created the border
3825 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
3827 * Control.cs (Update): Don't call XplatUI if we don't have a
3830 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
3832 * ContainerControl.cs: Instead of throwing an exception, print
3833 a one-time warning about Validate not being implemented
3834 * XplatUIWin32.cs: Removed debug output
3836 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
3838 * Control.cs: Only set XplatUI background if we expect the windowing
3839 system to handle the background. This stops controls that draw their
3840 own background from flickering
3842 * XplatUIX11.cs: Support custom visuals and colormaps for window
3843 creation. This allows, amongst other things, using MWF X11 windows
3846 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
3848 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
3849 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
3850 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
3851 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
3852 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
3853 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
3854 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
3855 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
3856 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
3857 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
3858 GridColumnStylesCollection.cs,
3859 IDataGridColumnStyleEditingNotificationService.cs,
3860 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
3861 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
3862 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
3863 TreeNodeCollection.cs, AmbientProperties.cs,
3864 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
3865 DataObject.cs, ErrorProvider.cs, Splitter.cs,
3866 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
3867 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
3868 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
3869 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
3870 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
3871 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
3872 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
3873 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
3874 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
3875 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
3876 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
3877 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
3878 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
3879 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
3880 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
3881 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
3882 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
3883 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
3884 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
3885 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
3886 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
3887 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
3888 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
3889 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
3890 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
3891 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
3892 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
3893 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
3894 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
3895 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
3896 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
3897 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
3898 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
3899 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
3900 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
3902 2005-09-21 Jackson Harper <jackson@ximian.com>
3904 * TreeNode.cs: Call Before/After Expand not Collapse when
3907 2005-09-20 Jackson Harper <jackson@ximian.com>
3909 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
3911 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
3915 - Fixes proper storing of subitems
3916 - Fixes not updated items
3918 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
3920 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
3921 things if our window handle isn't created yet. Also disabled
3922 debug for TextBoxBase
3924 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
3926 * MenuAPI.cs: Remove filtering of events to allow menu usage
3928 2005-09-20 Miguel de Icaza <miguel@novell.com>
3930 * Cursor.cs: Allow null to be passed to Cursor.Current.
3932 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
3934 * ThemeWin32Classic.cs:
3935 - Change some private methods/fields to protected virtual so that
3936 they can be accessed and overriden in derived classes
3937 - First refactoring of some methods. Derived themes now don't
3938 need to duplicate the complete code from ThemeWin32Classic
3940 - Added nice StatusBar
3941 - Derive from ThemeWin32Classic and not Theme
3942 - Removed duplicate ThemeWin32Classic code
3944 2005-09-20 Miguel de Icaza <miguel@novell.com>
3946 * Control.cs (ControlCollection.Add): If the value null is passed
3947 the control is ignored.
3951 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
3953 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
3954 PostQuitMessage state.
3955 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
3957 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
3959 * Application.cs: Our constructor will never get called, move
3960 initialization to fields; fixes bug #75933
3962 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
3965 - Allow files to be selected properly using file name
3967 - Add ability to change diretory (absolute / relative)
3968 using file name combo box.
3970 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
3973 - Fixes Multicolumn listboxes item wrong calculations
3974 - Allows to click when only one item is in the listbox
3975 - Fixes crash when no items using keyboard navigation
3977 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
3979 * ComboBox.cs: Reverted almost everything from the latest patch which
3982 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
3985 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
3987 - When DropDownStyle is Simple, it does not show scrollbar
3988 to the last item of the list.
3989 - When DropDownStyle is Simple, it crashed when the list was
3990 scrolled down with the down cursor key.
3991 - Fixed a bug that when DropDownStyle is DropDownList, the
3992 selected item was not shown.
3993 - The position of the selected item was not preserved when
3994 the next dropdown happened.
3995 * ThemeWin32Classic.cs:
3996 - Items were wrapped at the right end.
3997 * CheckedListBox.cs:
4000 - Items should be fully shown.
4001 - When resizing and vertical scrollbar disappeared, the item
4002 of index 0 should be on the top of the list.
4003 - GetItemRectangle should consider the size of ver. scrollbar
4005 - SizingGrip area should not be allocated when it is not
4007 - Now it reflects MinWidth of the containing panel and
4008 fixed a crash that happens when its width becomes so small.
4010 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4012 * CheckedListBox.cs: Fixes bug 76028
4013 * ListBox.cs: Fixes bug 76028
4015 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4017 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4018 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4020 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
4022 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4024 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4026 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
4028 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4030 * IRootGridEntry.cs: Added
4031 * PropertyGridCommands.cs: Added
4032 * PropertiesTab.cs: Added missing methods and property
4033 * PropertyGridView.cs: Made class internal
4034 * PropertyGridTextBox.cs: Made class internal
4036 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4038 * MimeIcon.cs: Try to check some other environment variables
4039 if "DESKTOP_SESSION" returns "default"
4041 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4043 * ThemeNice.cs: Corrected background colors (e.g. menus)
4044 * ColorDialog.cs: Use correct background colors for controls
4046 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4048 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4050 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
4052 * RichTextBox.cs: Added initial implementation
4053 * lang.cs: Removed. Was accidentally checked in long time ago
4054 * TODO: Removed. Contents were obsolete
4056 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4058 * PropertiesTab.cs : Added
4060 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4062 * PropertyGrid.cs : Update
4063 * PropertyGridView.cs : Update
4064 * System.Windows.Forms.resx : Added images and strings
4066 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4068 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4070 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4072 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4073 a busy loop right after the Ungrab the X11 display is otherwise
4076 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
4078 * ThemeWin32Classic.cs: Optimise the use of clipping
4080 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
4082 * DataGrid.cs: fixes recursion bug
4084 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
4087 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4090 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
4092 * ThemeNice.cs: Draw nice ProgressBars
4094 2005-09-01 Miguel de Icaza <miguel@novell.com>
4096 * VScrollBar.cs: Another buglet found by Aaron's tool.
4098 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4101 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
4104 - Added nicer menu drawing
4108 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4110 * CreateParams.cs (ToString): Made output match MS
4111 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
4112 handle is already created (to avoid forcing window creation)
4113 * XplatUIX11.cs: Set window text to caption after creating window,
4114 in case Text was set before window was created
4115 * Form.cs: Use this.Text instead of a static string as caption
4117 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4119 * NotifyIcon.cs: Don't set the window to visible; this screws
4120 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4121 OnPaint without a bitmap)
4122 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
4123 happen very often anyway; we could add the check to the WM_PAINT
4124 event generation code
4126 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4128 * NotifyIcon.cs: Fill the icon area with a background color, to
4129 avoid 'residue' when transparent icons are drawn
4131 - Handle whole_window == client_window when destroying windows
4132 - SystrayAdd(): Set client_window to whole_window value to
4133 get mouse and other events passed to NotifyIcon
4135 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4137 * Form.cs: Set proper default for Opacity property
4139 - ShowSystray(): Don't bother creating telling the OS
4140 about the systray item if no icon is provided
4141 - Now handles WM_NCPAINT message to deal with whole/client window
4143 - Create window as visible to not get caught by Expose optimization
4144 * Hwnd.cs: Removed debug message
4145 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
4146 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
4147 PaintEventStart/End to use new client argument
4149 - Commented out debug messages
4150 - Switched PaintEventStart/End to use new client argument
4151 * XplatUI.cs: Added client window bool to PaintEventStart()/
4152 PaintEventEnd() calls, to support drawing in non-client areas
4154 - Added client window bool to PaintEventStart()/PaintEventEnd()
4155 calls, to support drawing in non-client areas
4156 - Added conditional compile to allow using MWF BeginInvoke
4159 - Added some conditional debug output
4160 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
4161 whole/client window split
4162 - Implemented handling of client argument to PaintEventStart()/End()
4164 - Throw exception if BeginInvoke() is called and the window handle
4165 or one of the window's parent handles is not created
4166 - Added conditional compile to allow using MWF BeginInvoke on
4168 - get_Parent(): Only sets parent if handle is created. This avoids
4169 forcing window handle creation when parent is set.
4170 - Now fires Layout and Parent changed events in proper order
4171 - Switched to use Handle instead of window.Handle for Z-Order setting,
4172 the get_Parent() patch above causes us to possibly get null for 'window'
4173 - Implemented handling of client argument to PaintEventStart()/End()
4174 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
4176 - Now sends a Refresh() to all child windows when Refresh() is called
4178 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
4180 * Form.cs: Added (non-functional) Opacity property
4181 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
4183 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
4184 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
4185 use export MONO_THEME=nice to activate it.
4186 Currently supported controls:
4190 - TabControl (TabAlignment.Top only, other will follow)
4191 * ThemeEngine.cs: Add theme nice
4192 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
4195 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
4197 * Splitter.cs: Resize docked control and its neighbor.
4199 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4200 -- Making Windows with Menus layout correctly --
4201 * Form.cs : The first leg of the fix
4202 Menu setter - adjust Client Size as needed to make space for the menu
4203 SetClientSizeCore - doesn't call base version to be able to pass the
4204 menu handle to XplatUI.CalculateWindowRect
4205 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
4206 * XplatUIX11.cs: The critical second leg of the fix
4207 GetWindowPos needs to use a recalculated client_rect
4208 so that resizing the window doesn't break layout of child controls.
4209 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
4212 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
4214 * Label.cs: Now properly recalculates width and height on Font and Text
4215 changes if AutoSize is set
4217 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4218 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
4220 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
4222 * ImageList.cs: Makes ToString method compatible with MS
4224 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
4226 * MenuAPI.cs: fixes bug 75716
4228 2005-08-11 Umadevi S <sumadevi@novell.com>
4229 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
4231 2005-08-11 Umadevi S <sumadevi@novell.com>
4232 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
4234 2005-08-10 Umadevi S <sumadevi@novell.com>
4235 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
4237 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
4239 * Menu.cs: fixes bug 75700
4240 * MenuAPI.cs: fixes navigation issues
4242 2005-08-09 Umadevi S <sumadevi@novell.com>
4243 * CheckedListBox.cs - simple fix for GetItemChecked.
4245 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
4247 * ComboBox.cs: Serveral fixes
4248 * ListBox.cs: Serveral fixes
4250 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4252 * ComboBox.cs: Fixes FindString methods and GetItemHeight
4253 * ListBox.cs: Fixes FindString methods
4255 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
4257 * DataGrid.cs: fixes bugs exposed by new tests
4259 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
4261 * Mime.cs: Compile Mono assembly references only if compiling
4262 with Mono (Allows to build with VS.Net again)
4264 2005-07-28 Marek Safar <marek.safar@seznam.cz>
4266 * Control.cs (PaintControlBackground): Draw background image
4268 (CheckForIllegalCrossThreadCalls): Stubbed.
4270 * Form.cs (OnCreateControl): Center when should be centered.
4272 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
4274 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
4276 * Binding.cs: Binding to properties should be case unsensitive
4278 2005-07-18 vlindos@nucleusys.com
4280 * DataGrid.cs: fixes setmember order
4282 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
4284 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
4285 * FileDialog.cs: FileDialog is now resizable and uses the new
4288 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
4290 * DataGridTextBoxColumn.cs: default value
4291 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
4292 * GridTableStylesCollection.cs: fixes checking MappingName
4293 * DataGridDrawingLogic.cs: fixes drawing logic issues
4294 * DataSourceHelper.cs: rewritten to make compatible with more data sources
4295 * DataGrid.cs: fixes
4297 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
4299 * MimeGenerated.cs: Use case sensitive comparer for
4300 NameValueCollections
4302 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
4304 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
4305 * ThemeWin32Classic.cs: bug fixes, code refactoring
4306 * DataGridDrawingLogic.cs: bug fixes, code refactoring
4307 * DataGrid.cs: bug fixes, code refactoring
4308 * DataGridTextBox.cs: bug fixes, code refactoring
4309 * DataGridColumnStyle.cs: bug fixes, code refactoring
4310 * Theme.cs: bug fixes, code refactoring
4312 2005-07-01 Peter Bartok <pbartok@novell.com>
4314 * TextControl.cs: Quick fix for the reported crash on ColorDialog
4315 and other text box usage
4317 2005-07-01 Jackson Harper <jackson@ximian.com>
4319 * TabControl.cs: Make sure the bottom of the tab covers the pages
4322 2005-06-30 Peter Bartok <pbartok@novell.com>
4324 * Form.cs (ShowDialog): Assign owner of the dialog
4325 * TextBoxBase.cs: Always refresh caret size when deleting, caret
4326 might have been moved to a tag with different height
4328 2005-06-30 Jackson Harper <jackson@ximian.com>
4330 * Form.cs: Don't create an infinite loop when setting focus
4331 * MenuItem.cs: Don't dirty the parents if we don't have any
4333 2005-06-29 Ben Maurer <bmaurer@ximian.com>
4335 * LibSupport.cs: Rename
4337 2005-06-29 Peter Bartok <pbartok@novell.com>
4339 * TextBoxBase.cs: Re-align caret after deleting a character
4341 - DeleteChars(): Ensure that tag covers the provided position
4342 - StreamLine(): Drop reference for dropped tag
4344 2005-06-29 Peter Bartok <pbartok@novell.com>
4347 - Selections now work properly, anchoring at the initial location
4348 and properly extending in either direction (SetSelectionToCaret(),
4349 SetSelectionStart() and SetSelectionEnd())
4350 - No longer redraws the whole control on selection change, now
4351 calculates delta between previous and new selection and only
4352 invalidates/redraws that area
4353 - Fixed FindPos() math off-by-one errors
4354 - Changed DeleteChars() to verify the provided tag covers the
4355 provided position, selections may have a tag that doesn't cover
4356 the position if the selection is at a tag border
4357 - Fixed off-by-one errors in DeleteChars()
4358 - Added missing streamlining check in DeleteChars() to remove
4360 - Implemented Invalidate() method, now properly calculates exposures
4361 between two given lines/positions
4362 - Implemented SetSelection()
4363 - Obsoleted and removed FixupSelection()
4364 - Improved RecalculateDocument() logic, removing code duplication
4366 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4368 * LibSupport.cs: changes to match different input/output arguments.
4370 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4372 * LibSupport.cs: added libsupport.so init routine.
4374 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
4376 * ControlBindingsCollection.cs
4377 - Throws an exception on null datasource when adding
4378 - Checks for duplicated bindings when adding
4380 2005-06-28 Jackson Harper <jackson@ximian.com>
4382 * TreeView.cs (OnKeyDown): Support left and right properly
4383 (navigates as well as expanding and collapsing.
4384 - Add support for Multiply, this expands all the selected nodes
4388 2005-06-28 Jackson Harper <jackson@ximian.com>
4390 * TreeView.cs: Implement keyboard navigation, currently supports,
4391 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
4392 support for toggling checkboxes with the space bar.
4394 2005-06-28 Jackson Harper <jackson@ximian.com>
4396 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
4399 2005-06-28 Jackson Harper <jackson@ximian.com>
4401 * TreeView.cs: Add missing event.
4403 2005-06-27 Peter Bartok <pbartok@novell.com>
4406 - Made line ending size configurable (now allows for counting
4407 lineendings as \n or \r\n)
4408 - Added margin to viewport to keep caret visible on right side
4409 - Fixed translation routines for line/pos to documentpos to consider
4410 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
4411 - Fixed some line-endings to be unix style
4412 - Fixed Document.FormatText to perform it's calculations 1-based
4413 - Added descriptions for a few methods that might otherwise get
4415 - Added NOTE section with some basic conventions to remember at
4417 - Major fixup for RichTextBox selection drawing:
4418 * Fixed crashes when multiple tags on a single line were selected
4419 * fixed selection box drawing not overlaying text
4420 * fixed bogus offset calculation for tags not starting at index 1
4421 * Switched behaviour from using multiple Substrings of a
4422 StringBuilder.ToString() to using multiple
4423 StringBuilder.ToString(start, length) statements, hoping this is
4424 faster (kept original version commented out in the code, in case
4425 original version was faster)
4426 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
4428 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
4431 2005-06-27 Jackson Harper <jackson@ximian.com>
4433 * TabControl.cs: Move to the left and right with the arrow
4434 keys. These keys don't cycle beyond first and last like
4435 tab. Refresh all the tabs when scrolling them to the left or
4438 2005-06-27 Jackson Harper <jackson@ximian.com>
4441 - ToString: Added method
4442 - CreateParams: Remove TODO and comment
4443 - OnKeyDown: Cycle through bounds properly.
4444 - SelectedIndex: Scroll to the right or left if we need to
4445 display the newly selected tab.
4447 2005-06-23 Jackson Harper <jackson@ximian.com>
4449 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
4452 2005-06-23 Jackson Harper <jackson@ximian.com>
4454 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
4455 CTRL-SHIFT-TAB, and HOME, END are there any others?
4457 2005-06-23 Jackson Harper <jackson@ximian.com>
4459 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
4461 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4463 * DataGridTextBoxColumn.cs: fixes and enhancements
4464 * ThemeWin32Classic.cs: fixes and enhancements
4465 * DataGridBoolColumn.cs: fixes and enhancements
4466 * DataGridDrawingLogic.cs: fixes and enhancements
4467 * CurrencyManager.cs: fixes and enhancements
4468 * DataGrid.cs: fixes and enhancements
4469 * DataGridColumnStyle.cs: fixes and enhancements
4471 2005-06-22 Jackson Harper <jackson@ximian.com>
4473 * TabControl.cs: Add some missing methods that just call into the
4474 base. Make the TabPageCollection's IList interface behave in the
4475 same manner as the MS implementation.
4477 2005-06-22 Peter Bartok <pbartok@novell.com>
4479 * TextControl.cs: Added sanity check
4481 - Fixed wrapping behaviour, don't set wrap on single line controls
4482 (this fixes the breakage of colordialog introduced in an earlier
4484 - Added rudimentary support for autoscrolling right-aligned controls
4485 (still needs fixing, also, center alignment scroll is missing)
4487 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
4489 * ScrollBar.cs: Fixes thumbpos on Maximum values
4491 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
4493 * PropertyGridView.cs: Pass context information to UITypeEditors
4495 2005-06-21 Peter Bartok <pbartok@novell.com>
4498 - Now calling PositionCaret with absolute space coordinates
4499 - Enabled vertical scrolling
4500 - Better tracking of scrollbar changes, tied into WidthChange
4502 - Improved cursor tracking
4503 - Removed debug output
4505 - PositionCaret coordinates are now works in absolute space, not
4507 - Improved tracking of document size
4508 - Added events for width and height changes
4510 2005-06-21 Peter Bartok <pbartok@novell.com>
4512 * Form.cs: Set focus to active control when form is activated
4514 - Added word-wrap functionality to RecalculateLine()
4515 - Added some short function descriptions for VS.Net to aid in
4516 writing dependent controls
4517 - Added Caret property, returning the current coords of the caret
4518 - Added ViewPortWidth and ViewPortHeight properties
4519 - Added Wrap property
4520 - Added CaretMoved event
4521 - Removed some old debug code
4522 - Split() can now create soft splits
4523 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
4524 - Added method to format existing text
4525 - Fixed size/alignment calculations to use viewport
4526 - RecalculateDocument now can handle changing line-numbers while
4530 - Added some wrap logic, we don't wrap if alignment is not left
4531 - Added casts for scrollbar var, base class switched types to
4532 also support RichTextBoxA
4533 - Implemented handling of scrollbar visibility flags
4536 - Switched scrollbars type to RichTextBoxScrollBars to support
4538 - Added tracking of canvas width/height
4539 - Switched scrollbars to be not selectable (to keep focus on text)
4540 - Added central CalculateDocument() method to handle all redraw
4542 - Added ReadOnly support
4543 - Added WordWrap support
4544 - Fixed handling of Enter key (we now treat it as a DialogKey)
4545 - Fixed caret positioning when h or v scroll is not zero
4546 - Fixed placing/generation of vertical scrollbar
4547 - Added CalculateScrollBars() method to allow updating scrollbar
4548 limits and visibility
4549 - Fixed handling of horizontal scroll
4550 - Added handling of vertical scroll
4551 - Implemented auto-'jump' when caret moves to close to a left or
4552 right border and there is text to be scrolled into view (currently
4553 there's the potential for a stack overflow, until a bug in
4556 2005-06-21 Geoff Norton <gnorton@customerdna.com>
4558 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
4560 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
4564 - return application/x-zerosize for files with size zero
4565 (if no extension pattern matches).
4566 - check matches collection for strings too.
4567 - return only the first mime type if the name value
4568 collection has more than one mime type.
4570 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
4572 * PropertyGrid.cs: Cleaned up some TODOs
4573 * PropertyGridView.cs: Added support for UITypeEditors
4575 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4577 * DataGrid.cs: clears cached value
4579 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
4581 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
4582 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
4583 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
4584 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
4586 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
4588 * ThemeWin32Classic.cs: fixes colour
4590 2005-06-15 Peter Bartok <pbartok@novell.com>
4592 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
4593 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
4594 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
4595 * Control.cs: Added some MWFCategory and MWFDescription attributes
4596 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
4598 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
4600 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
4603 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
4605 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
4606 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
4607 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
4608 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
4609 * DataGrid.cs: default datagrid settings for Default Styles, fixes
4610 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
4612 2005-06-13 Jackson Harper <jackson@ximian.com>
4614 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
4615 isn't printed when the user enables dropping. (X11 does accept
4618 2005-06-13 Jackson Harper <jackson@ximian.com>
4620 * TreeView.cs: Remove some TODOS.
4622 2005-06-13 Jackson Harper <jackson@ximian.com>
4624 * Form.cs: Hook into the mdi framework.
4625 * MdiClient.cs: Use the base control collections add method so
4626 parents get setup correctly. Set the default back colour and dock
4628 * MdiChildContext.cs: New class, this bad actor handles an
4629 instance of an MDI window. Right now there is only basic
4630 support. You can drag, close, and resize windows. Minimize and
4631 Maximize are partially implemented.
4633 2005-06-13 Jackson Harper <jackson@ximian.com>
4635 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
4636 freaky when both vals are negative. NOTE: There are probably other
4637 places in XplatUIX11 that this needs to be done.
4639 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
4641 * DataGrid.cs: implement missing methods, move KeyboardNavigation
4642 * DataGridColumnStyle.cs: fixes signature
4644 2005-06-12 Jackson Harper <jackson@ximian.com>
4646 * XplatUIX11.cs: Use sizing cursors similar to the ones on
4649 2005-06-11 Jackson Harper <jackson@ximian.com>
4651 * StatusBarPanel.cs: Signature cleanups. Implement
4654 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
4656 * DataGridTextBoxColumn.cs: Honors aligment
4657 * GridColumnStylesCollection.cs: Contains is case unsensitive
4658 * GridTableStylesCollection.cs: several fixes
4659 * DataGridTableStyle.cs: default column creation
4660 * DataGridDrawingLogic.cs: fixes
4661 * CurrencyManager.cs: ListName property
4662 * DataGrid.cs: multiple styles support
4663 * DataGridColumnStyle.cs: fixes
4666 2005-06-10 Peter Bartok <pbartok@novell.com>
4668 * Control.cs(Select): Moved SetFocus call to avoid potential
4669 loops if controls change the active control when getting focus
4670 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
4673 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
4675 * ImageListConverter.cs: Implemented
4677 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4679 * MonthCalendar.cs: Wired in NumericUpDown control for year
4681 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
4683 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
4684 DoubleClick events, since they are not meant to be fired.
4686 2005-06-09 Peter Bartok <pbartok@novell.com>
4688 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
4689 Jonathan's standalone controls into MWF, implemented missing
4690 events, attributes and methods; added xxxAccessible classes
4691 * AccessibleObject.cs: Made fields internal so other classes
4692 can change them if needed
4694 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
4696 * UpDownBase.cs: Complete implementation
4697 * NumericUpDown.cs: Complete implementation
4698 * DomainUpDown.cs: Complete implementation
4700 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
4702 * DataGridTextBoxColumn.cs: drawing fixes
4703 * DataGridCell.cs: fixes ToString method to match MSNet
4704 * DataGridTableStyle.cs: fixes
4705 * DataGridBoolColumn.cs: fixes, drawing
4706 * DataGridDrawingLogic.cs: fixes, new methods
4707 * DataGridTextBox.cs: Keyboard and fixes
4709 - Keyboard navigation
4711 - Row selection (single, multiple, deletion, etc)
4714 2005-06-07 Jackson Harper <jackson@ximian.com>
4716 * ThemeWin32Classic.cs: Clear the background area when drawing
4719 2005-06-06 Peter Bartok <pbartok@novell.com>
4721 * ImageListStreamer.cs: Fixed signature for GetData
4722 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
4724 - Added missing ChildAccessibleObject class
4725 - Added missing OnXXXFocus overrides, switched to using those
4726 instead of the event handler
4728 - Added Parent property for ControlAccessibleObject
4731 - Added ResetBindings()
4732 * ListBindingConverter.cs: Implemented some methods
4733 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
4734 * ImageList.cs: Implemented basic handle scheme, removed TODOs
4735 * ContainerControl.cs: Fixed signature, now subscribing to the
4736 ControlRemoved event instead of overriding the handler, LAMESPEC
4737 * CurrencyManager.cs: Added missing attribute
4738 * MonthCalendar.cs: Added missing properties
4740 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
4742 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
4744 2005-06-06 Gaurav Vaish and Ankit Jain
4746 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
4747 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
4749 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
4751 * Control.cs: fixes CreateParams Width / Height.
4753 2005-06-05 Peter Bartok <pbartok@novell.com>
4755 * Win32DnD.cs: Removed compilation warnings
4757 2005-06-05 Peter Bartok <pbartok@novell.com>
4759 * Control.cs (CreateParams): Since we don't know if one of the
4760 properties we use is overridden, lets make sure if we fail accessing
4761 we continue with a backup plan
4763 2005-06-05 Peter Bartok <pbartok@novell.com>
4766 - Removed debug output
4767 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
4769 - Plugged resource leak
4770 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
4773 2005-06-05 Peter Bartok <pbartok@novell.com>
4775 * XplatUIWin32.cs: Removed DnD code
4776 * Win32DnD.cs: Implemented drop source and drop target functionality
4778 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4780 * UpDownBase.cs: remove duplicate addition of event, enable some code
4781 that was commented out.
4782 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
4783 Validate input when a key is pressed. It works fine now for every
4784 combination of Hexadecimal. Only missing some drawing love when sharing
4785 space with other controls.
4787 2005-06-04 Peter Bartok <pbartok@novell.com>
4790 - We need to pass a window for DragDrop, so enable callback events
4791 - Added DnD callback events when being a DragSource
4792 * XplatUI.cs (StartDrag): Added window handle argument
4793 * XplatUIDriver.cs (StartDrag): Added window handle argument
4794 * QueryContinueDragEventArgs: Made fields internally accessible so
4795 drivers can set them
4796 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
4799 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
4801 * DataGridTextBoxColumn.cs: column text editing
4802 * DataGridTableStyle.cs: Respect columns styles created by the user
4803 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
4804 * DataGridBoolColumn.cs: bool column editing
4805 * DataGrid.cs: fixes to scrolling, properties, etc
4806 * DataGridTextBox.cs: handle keyboard
4807 * DataGridColumnStyle.cs: fixes
4809 2005-06-02 Jackson Harper <jackson@ximian.com>
4811 * ImageListStreamer.cs: Somewhat broken implementation of
4812 GetObjectData. The RLE needs some work to match MS properly.
4814 2005-06-02 Jackson Harper <jackson@ximian.com>
4816 * X11Dnd.cs: Attempting to keep at least one file in MWF
4819 2005-06-02 Peter Bartok <pbartok@novell.com>
4821 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
4824 2005-06-02 Peter Bartok <pbartok@novell.com>
4826 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
4827 * XplatUI.cs: Added DoDragDrop() method
4828 * XplatUIDriver.cs: Added DoDragDrop() method
4830 2005-06-02 Jackson Harper <jackson@ximian.com>
4832 * Splitter.cs: Implement BorderStyle.
4834 2005-06-02 Jackson Harper <jackson@ximian.com>
4836 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
4837 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
4840 2005-06-02 Peter Bartok <pbartok@novell.com>
4844 - Fixed broken insertion code for SetData, now also
4845 overwrites any existing entry of the same format name
4846 * Hwnd.cs: Added list of pointers that automatically gets
4847 freed when the window is disposed
4848 * XplatUI.cs: Call driver initialization method when loading
4851 - OnDragLeave takes EventArgs, not DragEventArgs
4852 - Added setting of WS_EX_ACCEPTFILES style when dropping is
4854 - Forces style update when drop state changes
4855 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
4856 not perfect since we cannot (yet) call the IDataObject.GetData()
4857 method, we keep getting 0x80004005 error, dunno why)
4859 2005-06-02 Peter Bartok <pbartok@novell.com>
4861 * DragEventArgs.cs: Make fields internal so we can cache the
4862 object and re-set the fields from XplatUI
4864 2005-06-02 Jackson Harper <jackson@ximian.com>
4866 * Control.cs: Add some internal methods so the DnD subsystem can
4867 raise DnD events. Also call into the driver when AllowDrop is set.
4869 * XplatUIDriver.cs: New method for setting whether or not a window
4870 is allowed to accept drag and drop messages.
4872 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
4874 * ScrollBar.cs: Make sure that values sent in Scroll events
4875 are always between Maximum and Minimum.
4877 2005-06-01 Marek Safar <marek.safar@seznam.cz>
4879 * Menu.cs: Call MenuChanged when menuitem visibility has been
4881 * MenuItem.cs: Rebuild menu when item is (not) visible.
4882 * MainMenu.cs: MainMenu has special MenuChanged.
4883 * Theme.cs: Caption and FrameBorderSize are not fixed.
4884 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
4885 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
4887 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
4888 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
4890 2005-05-30 Jackson Harper <jackson@ximian.com>
4892 * DataFormat.cs: We can't statically initialize this stuff because
4893 it calls into the xplatui and could create a loop. So we lazy init
4896 2005-05-28 Jackson Harper <jackson@ximian.com>
4898 * Control.cs: Proper implementation of Product(Name/Version).
4900 2005-05-27 Jackson Harper <jackson@ximian.com>
4902 * DataObject.cs: Dont crash if no data is found.
4904 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4905 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
4906 as per status page, guessing it should be set to true
4908 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
4910 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
4911 * DataGridTableStyle.cs: set proper formatting text, def header text
4912 * ThemeWin32Classic.cs: new themable paramaters
4913 * DataGridBoolColumn.cs: paint check box, get data, fixes
4914 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
4915 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
4916 * DataGridColumnStyle.cs: fixes
4917 * Theme.cs: new themable paramaters
4919 2005-05-26 Peter Bartok <pbartok@novell.com>
4921 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
4923 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
4924 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
4926 2005-05-24 Peter Bartok <pbartok@novell.com>
4928 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
4929 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
4930 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
4931 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
4932 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
4933 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
4934 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
4935 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
4936 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
4937 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
4938 missing attributes, etc
4939 * DataGridPreferredColumnWidthTypeConverter.cs: Added
4941 2005-05-24 Peter Bartok <pbartok@novell.com>
4943 * Help.cs: Added, implemented trivial functions, throws up MessageBox
4944 when user tries to get help
4945 * DataObject.cs, DataFormats.cs, LinkArea.cs,
4946 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
4947 to suppress warnings
4948 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
4949 avoid unreachable code warning
4951 2005-05-20 Peter Bartok <pbartok@novell.com>
4953 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
4955 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
4957 * DataGridTextBoxColumn.cs: Basic painting methods
4958 * DataGridTableStyle.cs: Set table style in the column
4959 * ThemeWin32Classic.cs: Use Theme for colors
4960 * DataGridDrawingLogic.cs: Implement more drawing
4961 * DataGrid.cs: drawing, theming, enhacements, fixes
4962 * DataGridColumnStyle.cs: fixes, drawing
4963 * Theme.cs: theming for Datagrid
4965 2005-05-20 Peter Bartok <pbartok@novell.com>
4967 * Cursor.cs: Implemented GetObjectData() method
4969 2005-05-20 Peter Bartok <pbartok@novell.com>
4971 * Cursors.cs: Added setting of cursor name
4973 - Implemented constructors
4974 - Implemented Draw and DrawStretched
4975 - Implemented Current property
4976 - Implemented == and != operators
4977 - Implemented Dispose()
4978 - Implemented ToString
4979 - Added missing attributes
4981 - Added missing reset for OverrideCursor when DoEvents is called
4982 - Fixed creation of cursor, logic was wrong
4984 - Added missing reset for OverrideCursor when DoEvents is called
4985 - Fixed creation of cursor, bit arrays were swapped
4986 * Clipboard.cs: Removed obsolete MonoTODO attribute
4988 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
4990 * ComboBox.cs: fixes OnSelectedItemChanged
4991 * ControlBindingsCollection.cs: fixes item range check
4993 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
4996 - Calc preferred height properly
4997 - Implement missing properties
4999 * NumericUpDown.cs: Implement missing events
5001 2005-05-19 Jackson Harper <jackson@ximian.com>
5003 * TabControl.cs: New method that resizes the tab pages before
5004 redrawing them. This as needed as the control is double buffered
5005 and sizing will not be recalculated unless ResizeTabPages is
5007 * TabPage.cs: Set base.Text instead of Text in the constructor so
5008 that UpdateOwner does not get called. Use the new Redraw method of
5009 TabControl instead of Refresh so the sizing is recalculated.
5010 * ThemeWin32Classic.cs: Draw the text for button tabs.
5012 2005-05-19 Jackson Harper <jackson@ximian.com>
5014 * Control.cs: Paint control background images. Fix typo where
5015 PaintControlBackground was not getting called correctly.
5017 2005-05-19 Peter Bartok <pbartok@novell.com>
5019 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5020 I can investigate, apparently I broke FileDialog
5022 2005-05-19 Marek Safar <marek.safar@seznam.cz>
5024 * AxHost.cs: Some simple properties.
5025 * Control.cs: window must be accessible after ctor.
5026 * Form.cs: Added TransparencyKey property.
5027 * TextBoxBase.cs: Implemented Clear. Text property can be null.
5028 * XplatUIWin32.cs: SetBorderStyle implemented.
5030 2005-05-18 Peter Bartok <pbartok@novell.com>
5032 * DataObject.cs: Entries are not global but particular to the
5033 DataObject, now it behaves that way
5034 * XplatUIWin32.cs: Implemented Clipboard methods
5035 * Clipboard.cs: Implemented
5036 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5037 * XplatUIOSX.cs: Updated to final clipboard prototypes
5038 * XplatUIX11.cs: Implemented Clipboard methods
5039 * XplatUIDriver.cs: Updated to final clipboard prototypes
5040 * XplatUIStructs.cs:
5041 - Added BITMAPINFOHEADER struct
5042 - Added ClipboardFormats enum
5044 - Added ClipboardStruct
5045 - Added Atom enum items for clipboard types
5046 - Fixed atom types for Selection event structures
5048 - Added internal properties and methods for drivers to enumerate
5050 - Switched initialization method to allow drivers to assign their
5051 own IDs even for the MS predefined clipboard IDs
5052 * XplatUI.cs: Updated to final clipboard interface
5054 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5055 * PropertyGridView.cs: Fixed compiler warnings.
5057 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5058 * PropertyGrid.cs: Added some event calls
5059 * PropertyGridView.cs: Change drawing code to use double buffering
5060 * PropertyGridTextBox.cs: Changed Text property name
5061 * GridItem.cs: Added Bounds property.
5062 * GridEntry.cs: Added Bounds property.
5064 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
5066 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5067 since GetType() may not return the correct type if the object is
5070 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
5072 * TreeNodeCollection.cs: fixes get/set item ranges
5074 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5076 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5078 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5080 * ComboBox.cs: Fix item range comparation
5081 * ListView.cs: Fix item range comparation
5083 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5086 - Clear example panel when OnPaint is called
5087 - Better solution for displaying the example panel text
5088 - Select default indexes in the ListBoxes
5090 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5092 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
5094 2005-05-11 Peter Bartok <pbartok@novell.com>
5096 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5097 * SelectionRangeConverter.cs: Implemented
5098 * PropertyGrid.cs: Fixed attribute value
5100 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5101 - Added Sebastien Pouliot's CAS Stack Propagation fixes
5102 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5103 that's common to all drivers. First methods to go there are
5104 Sebastien Pouliot's CAS Stack Propagation helper methods
5105 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5106 Sebastien Pouliot for CAS Stack Propagation
5108 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5111 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5113 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
5115 * DataGridTextBoxColumn.cs: fixed some members
5116 * GridColumnStylesCollection.cs: indexed column is case insensitive
5117 * DataGridTableStyle.cs: fixes
5118 * ThemeWin32Classic.cs: add new theme parameter
5119 * Theme.cs: add new theme parameter
5120 * DataGridDrawingLogic.cs: Datagrid's drawing logic
5121 * DataGrid.cs: fixes, new internal properties, etc.
5122 * DataGridColumnStyle.cs: allows to set grid value
5125 2005-05-10 Peter Bartok <pbartok@novell.com>
5127 * AccessibleObject.cs:
5128 - Removed MonoTODO attribute on help, method is correct
5129 - Fixed Bounds property
5130 * AxHost.cs: Moved MonoTODO
5131 * ButtonBase.cs: Now setting AccessibleObject properties
5132 * RadioButton.cs: Setting proper AccessibleObject role
5133 * CheckBox.cs: Setting proper AccessibleObject role
5134 * ControlBindingsCollection.cs: Added properties, methods and attributes
5135 * DataFormats.cs: Fixed awkward internal API, and changed to enable
5136 userdefined DataFormats.Format items as well
5137 * ListControl.cs: Removed data_member from the public eye
5138 * OpenFileDialog.cs:
5140 - Added missing attributes
5141 * SaveFileDialog.cs: Added missing attributes
5142 * ImageListStreamer.cs: Fixed code that caused warnings
5143 * LinkLabel.cs: Removed unreachable code
5144 * TreeView.cs: Fixed code that caused warnings
5145 * PropertyGridView.cs: Fixed code that caused warnings
5146 * GridColumnStylesCollection.cs: Added missing attributes
5147 * GridTableStylesCollection: Added missing attribute
5148 * PropertyManager: Added .ctor
5149 * SecurityIDType: Added
5150 * DataObject.cs: Implemented class
5151 * LinkArea.cs: Added missing attribute
5153 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
5155 * RadioButton.cs: call base method to allow to fire OnClick event
5156 * UpDownBase.cs: OnMouseUp call base method
5157 * CheckedListBox.cs: call base method before returning
5158 * TrackBar.cs: call base method before returning
5161 2005-05-10 Peter Bartok <pbartok@novell.com>
5163 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
5166 2005-05-10 Peter Bartok <pbartok@novell.com>
5168 * DataFormats.cs: Implemented
5169 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
5170 XplatUIX11.cs: Added Clipboard APIs
5171 * XplatUIWin32.cs: Implemented Clipboard APIs
5172 * FolderBrowserDialog.cs: Added missing event, attributes
5174 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
5176 * CheckBox.cs: call base method to allow to fire OnClick event
5178 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
5180 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
5182 2005-05-06 Peter Bartok <pbartok@novell.com>
5184 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
5185 * Screen.cs: Implemented
5186 * HelpNavigator.cs: Added
5187 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
5189 * HelpProvider.cs: Implemented all we can do until we have a CHM
5190 help library (which means that "What's This" does work now)
5192 2005-05-06 Jackson Harper <jackson@ximian.com>
5194 * XplatUIX11.cs: Fix waking up the main loop.
5196 2005-05-05 Peter Bartok <pbartok@novell.com>
5198 * XplatUI.cs: Updated revision
5199 * Form.cs: Removed enless loop
5200 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
5201 * Label.cs (OnPaint): Added call to base.OnPaint()
5202 * ToolTip.cs: Made ToolTipWindow reusable for other controls
5203 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
5204 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
5206 * ButtonBase.cs: Moved base.OnPaint() call to end of method
5207 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
5208 to ToolTip.ToolTipWindow for drawing and size methods; this allows
5209 reuse of ToolTipWindow by other controls
5210 * SizeGrip.cs: Moved base.OnPaint() call to end of method
5211 * XplatUIX11.cs: Now clipping drawing area (experimental)
5212 * PictureBox.cs: Moved base.OnPaint() call to end of method
5213 * Theme.cs: Fixed ToolTip abstracts to match new format
5214 * ErrorProvider.cs: Implemented
5216 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
5218 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
5222 - Implements LinkBehavior
5225 2005-05-03 Jackson Harper <jackson@ximian.com>
5227 * ListView.cs: Calculate the scrollbar positioning on resize and
5228 paint, so they get put in the correct place.
5230 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5232 * ColorDialogs.cs: The small color panels are now handled by
5233 SmallColorControl. This fixes drawing of the focus rectangle
5234 and adds a 3D border.
5236 2005-05-03 Peter Bartok <pbartok@novell.com>
5238 * Control.cs: Modified version of Jonathan Chamber's fix for
5241 2005-05-03 Jackson Harper <jackson@ximian.com>
5243 * ListView.cs: Remove redraw variable. Control now handles whether
5244 or not a redraw needs to be done, and will only raise the paint
5245 event if redrawing is needed.
5247 2005-05-03 Jackson Harper <jackson@ximian.com>
5249 * Splitter.cs: No decorations for the splitter form. Cache the
5252 2005-05-03 Jackson Harper <jackson@ximian.com>
5254 * TreeView.cs: Use dashed lines to connect nodes. Use the
5255 ControlPaint method for drawing the focus rect instead of doing
5258 2005-05-02 Peter Bartok <pbartok@novell.com>
5260 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
5262 2005-04-29 Jackson Harper <jackson@ximian.com>
5264 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
5265 entire image buffer. Just clear the clipping rectangle.
5267 2005-04-29 Jackson Harper <jackson@ximian.com>
5269 * ThemeWin32Classic.cs: Don't draw list view items that are
5270 outside the clipping rectangle.
5272 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
5274 * ListBox.cs: added horizontal item scroll
5276 2005-04-29 Jackson Harper <jackson@ximian.com>
5278 * ThemeWin32Classic.cs: Remove some old debug code that was
5279 causing flicker with the new double buffering code.
5281 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
5283 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
5284 behave like combobox and comboboxlist (still not sure if this is
5287 2005-04-28 Jackson Harper <jackson@ximian.com>
5289 * ThemeWin32Classic.cs: Don't fill the middle of progress
5290 bars. This fills areas outside of the clip bounds that don't need
5293 2005-04-28 Jackson Harper <jackson@ximian.com>
5295 * Control.cs: Don't expose functionality to touch the image buffers.
5297 * ListView.cs: We do not need to (and no longer can) manipulate
5298 the image buffers directly. All of this is handled by Control.
5300 2005-04-28 Peter Bartok <pbartok@novell.com>
5302 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5303 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
5304 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
5306 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5309 - Adjust control's height for non-simple comboboxes (bug fix)
5311 * MenuAPI.cs: remove unused var
5312 * ScrollBar.cs: remove unsed var
5314 * ListBox.cs: unselect items when clearing
5316 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
5318 * ListControl.cs: honors OnPositionChanged and default Selected Item
5319 * ListBox.cs: unselect items when clearing
5321 2005-04-27 Jackson Harper <jackson@ximian.com>
5323 * X11Keyboard.cs: Initialize a default keyboard and give a warning
5324 if a "correct" keyboard is not found. This will make us not crash,
5325 but might give some users bad keyboard layouts...seems to be the
5326 same thing rewind does.
5328 2005-04-27 Jackson Harper <jackson@ximian.com>
5330 * BindingManagerBase.cs: Attach the current/position changed
5331 handlers to their respective events.
5333 2005-04-27 Jackson Harper <jackson@ximian.com>
5335 * Control.cs: Make sure that the first WM_PAINT does a full draw,
5337 * ThemeWin32Classic.cs: Don't fill the background for picture
5338 boxes. This could overright user drawing.
5339 * ComboBox.cs: Just fill the clipping rect not the entire client
5340 rect when drawing the background. This prevents pieces of the
5341 image buffer from getting overwritten and is theoretically faster.
5343 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
5345 * ComboBox.cs: Databinding support fixes, fire missing events
5346 * ListControl.cs: implement missing methods and properties, fixes
5347 * ThemeWin32Classic.cs: Databiding support on Drawing
5348 * CheckedListBox.cs: Databinding support fixes, fire missing events
5349 * ListBox.cs: Databinding support fixes, fire missing events
5351 2005-04-25 Peter Bartok <pbartok@novell.com>
5353 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
5355 2005-04-25 Jackson Harper <jackson@ximian.com>
5357 * TreeView.cs: Use the horizontal scrollbars height not width when
5358 determining how much of the client area is available.
5360 2005-04-25 Jackson Harper <jackson@ximian.com>
5362 * Control.cs: Double buffering is handled differently now. As per
5363 the spec, the extra buffer is created in the WM_PAINT message and
5364 passed down to the control's drawing code.
5372 * PropertyGridView.cs:
5384 * DateTimePicker.cs:
5386 * TreeView.cs: Update to new double buffering system.
5387 * MonthCalendar.cs: Uncomment block, as Capture is now
5388 working. Update to new double buffering
5389 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
5390 * PaintEventArgs.cs: New internal method allows us to set the
5391 graphics object. This is used for double buffering.
5392 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
5393 rectangle. The internal paint_area var has been removed from
5394 StatusBar. The clipping rect should be used instead.
5395 * Theme.cs: Give the PictureBox drawing method a clipping rect.
5396 * TabPage.cs: The RefreshTabs method was removed, so just call the
5397 tab controls Refresh method now.
5398 * TabControl.cs: Update to new double buffering. Make sure the
5399 handle is created before sizing the tab pages, otherwise we will
5400 get stuck in a loop.
5402 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
5404 * LinkLabel.cs: Fix typo, bug #74719; patch
5405 from Borja Sanchez Zamorano
5407 2005-04-22 Jackson Harper <jackson@ximian.com>
5409 * TreeNode.cs: Implement Handle stuff.
5410 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
5412 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
5414 * DataGridTextBoxColumn.cs: call base constructors, fixes
5415 * GridColumnStylesCollection.cs: missing events, methods, and functionality
5416 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
5417 * DataGridTableStyle.cs: implements create default column styles
5418 * DataGridBoolColumn.cs: which types can handle
5419 * DataGrid.cs: missing methods, fixes, new functionality
5420 * DataGridColumnStyle.cs: fixes
5422 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
5423 * FolderBrowserDialog.cs:
5424 - Use a thread to fill the TreeView
5425 - Adjusted some sizes
5427 2005-04-19 Peter Bartok <pbartok@novell.com>
5429 * LinkLabel.cs: (Re-)create the pieces when setting the Text
5430 property. Fixes #74360.
5432 2005-04-19 Jackson Harper <jackson@ximian.com>
5434 * XEventQueue.cs: Lock when getting the lockqueue size.
5435 * PictureBox.cs: Call base OnPaint
5437 2005-04-19 Peter Bartok <pbartok@novell.com>
5439 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
5440 messages were no longer being processed (this broke BeginInvoke)
5443 2005-04-18 Jackson Harper <jackson@ximian.com>
5445 * TreeView.cs: buglet that caused node images to get drawn
5446 regardless of whether or not they were in the clipping rectangle.
5448 2005-04-18 Jackson Harper <jackson@ximian.com>
5450 * CurrencyManager.cs: There are four rules for GetItemProperties:
5451 - If the type is an array use the element type of the array
5452 - If the type is a typed list, use the type
5453 - If the list contains an Item property that is not an object, use
5455 - use the first element of the list if there are any elements in
5458 2005-04-17 Jackson Harper <jackson@ximian.oom>
5460 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
5461 click. This handles offsets for scrolling properly and reduces
5462 memory. Also fixed GetNode to not offset now that TopNode works
5464 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
5466 2005-04-17 Jackson Harper <jackson@ximian.com>
5468 * CursorConverter.cs: Initial implementation.
5470 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5472 * ListControl.cs: work towards complex data binding support on ListControl
5473 * CurrencyManager.cs: work towards complex data binding support on ListControl
5474 * ListBox.cs: work towards complex data binding support on ListControl
5477 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
5479 * GridTableStylesCollection.cs: fixes name and constructor
5480 * DataGridTableStyle.cs: fixes
5481 * DataGridBoolColumn.cs: fixes names and constructors
5482 * DataGrid.cs: define methods and properties. Some init implementations
5483 * DataGridCell.cs: define methods and properties. Some init implementations
5484 * GridTablesFactory.cs: Define methods and properties
5486 2005-04-15 Geoff Norton <gnorton@customerdna.com>
5488 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
5489 graphics port changes. We still want the coordinates in global screen
5492 2005-04-14 Jackson Harper <jackson@ximian.com>
5494 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
5495 check plus minus or checkbox clicks unless those features are enabled.
5497 2005-04-14 Jackson Harper <jackson@ximian.com>
5499 * TreeView.cs: Add methods for setting the top and bottom visible
5500 nodes. TreeNode::EnsureVisible uses these methods.
5501 * TreeNode.cs: Implement EnsureVisible
5503 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
5505 * Form.cs: Pospone menu assignation if the window has not been created yet
5506 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
5509 2005-04-12 Jackson Harper <jackson@ximian.com>
5511 * TreeView.cs: Set the TopNode properly when scrolling
5512 occurs. This has the added benifit of reducing the amount of
5513 walking that needs to be done when drawing. Also removed an old
5515 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
5517 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
5519 * Timer.cs: fixes interval setting when the timer is already enabled
5521 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
5523 * FolderBrowserDialog.cs: First approach
5525 2005-04-09 Peter Bartok <pbartok@novell.com>
5527 * FolderBrowserDialog: Added
5529 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
5531 * LinkLabel.cs: move drawing code into the theme
5532 * ThemeWin32Classic.cs: drawing code and painting background bugfix
5533 * Theme.cs: define DrawLinkLabel method
5535 2005-04-05 Jackson Harper <jackson@ximian.com>
5537 * BindingContext.cs: Use weak references so these bad actors don't
5538 stay alive longer then they need to.
5540 2005-04-05 Jackson Harper <jackson@ximian.com>
5542 * ListControl.cs: Basic implementation of complex databinding.
5544 * ListBox.cs: Add calls to ListControl databinding methods.
5546 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
5549 - Don't change PopupButtonState to Normal when the
5550 PopupButton gets pressed several times.
5551 - Renamed ButtonPanel to PopupButtonPanel
5553 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
5555 * ColorDialog.cs: Use cached objects instead of creating them
5556 * LinkLabel.cs: Use cached objects instead of creating them
5557 * Splitter.cs: Use cached objects instead of creating them
5558 * FontDialog.cs: Use cached objects instead of creating them
5559 * PropertyGridView.cs: Use cached objects instead of creating them
5560 * MessageBox.cs: Use cached objects instead of creating them
5561 * FileDialog.cs: Use cached objects instead of creating them
5562 * ThemeWin32Classic.cs: Use cached objects instead of creating them
5563 * TreeView.cs: Use cached objects instead of creating them
5565 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
5567 * Control.cs: use Equals to compare the font since no == op
5568 * ScrollBar.cs: use Equals to compare the font since no == op
5570 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
5572 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
5574 2005-04-01 Jackson Harper <jackson@ximian.com>
5576 * Binding.cs: Implement IsBinding.
5577 * BindingManagerBase.cs:
5578 * PropertyManager.cs:
5579 * CurrencyManager.cs: Add IsSuspended property.
5581 2005-04-01 Jackson Harper <jackson@ximian.com>
5583 * Binding.cs: Had some IsAssignableFrom calls backwards.
5585 2005-04-01 Jackson Harper <jackson@ximian.com>
5587 * Binding.cs: Handle null data members when pulling data.
5588 * PropertyManager.cs: Handle the data member being a property that
5591 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5593 * DataGridTextBoxColumn.cs: fixes signature
5594 * DataGrid.cs: calls right constructor
5596 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
5598 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
5599 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
5600 * GridTableStylesCollection.cs: implements GridTableStylesCollection
5601 * DataGridTableStyle.cs: implements DataGridTableStyle
5602 * DataGridBoolColumn.cs: implements DataGridBoolColumn
5603 * DataGridTextBox.cs: implements DataGridTextBox
5604 * DataGridColumnStyle.cs: implements DataGridColumnStyle
5606 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
5608 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
5610 2005-03-29 Peter Bartok <pbartok@novell.com>
5613 - Properly implemented CompanyName property
5614 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
5615 returns a path that includes CompanyName, ProductName and
5616 Version (fixes bug #70330)
5618 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
5620 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
5623 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5625 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
5627 - Added ReadOnly CheckBox
5628 - Further refactoring: moved some code from Open-/SaveFileDialog
5631 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
5633 * OpenFileDialog.cs: Fixed CheckFileExists
5635 Moved FileView and DirComboBox outside FileDialog class.
5636 They can now be used outside FileDialog
5638 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5640 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
5641 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
5643 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
5645 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
5646 - Added missing CreatePrompt property in SaveDialog
5647 - Overall SaveDialog handling should be better now
5648 - Added non standard ShowHiddenFiles property
5649 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
5650 - Added InitialDirectory and RestoreDirectory support
5652 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
5654 * FileDialog.cs: Made dirComboBox usable
5656 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
5658 * FileDialog.cs: Added Filter support (case sensitiv)
5660 2005-03-24 Jackson Harper <jackson@ximian.com>
5662 * TabControl.cs: Need a couple more pixels for the lines.
5664 2005-03-23 Jackson Harper <jackson@ximian.com>
5666 * TabControl.cs: Give the tab page focus when it is selected.
5668 2005-03-23 Jackson Harper <jackson@ximian.com>
5670 * TabControl.cs: Account for the drawing of tabs borders when
5671 invalidating. If the slider was clicked dont do click detection on
5674 2005-03-23 Jackson Harper <jackson@ximian.com>
5676 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
5678 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
5680 * CategoryGridEntry.cs: Added
5681 * GridItem.cs: Added helper properties
5682 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
5683 * GridEntry.cs: Updated code for collection
5684 * PropertyGrid.cs: Cleaned up some formatting
5685 * PropertyGridView.cs: Added drop down functionality for enums.
5686 * GridItemCollection.cs: Added enumerator logic
5687 * PropertyGridEntry.cs: Added
5689 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5692 - Removed unnecessary commented code
5693 - Fixed handling for entering the filename manually in the combobox
5695 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
5697 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
5699 2005-03-18 Peter Bartok <pbartok@novell.com>
5701 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
5702 them being touching the border
5704 2005-03-18 Peter Bartok <pbartok@novell.com>
5706 * TextControl.cs: Quick hack to center text better
5708 2005-03-18 Peter Bartok <pbartok@novell.com>
5711 - Don't throw NotImplemented exceptions, just print a notice once
5712 instead (requested by Miguel). This makes running existing SWF
5715 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
5716 - Added context menu trigger on right click
5717 * Panel.cs: Trigger invalidate on resize
5719 - Removed old double-buffer drawing
5720 - Added ResizeRedraw style to force proper update of statusbar
5722 - Removed debug output
5723 * ThemeWin32Classic.cs:
5724 - Fixed drawing of status bar, now draws Text property if there
5725 are no defined panels
5727 2005-03-18 Jackson Harper <jackson@ximian.com>
5729 * ImageList.cs: When the image stream is set pull all the images
5731 * ImageListStreamer.cs: Implement reading image list streams.
5733 2005-03-18 Peter Bartok <pbartok@novell.com>
5735 * ThemeWin32Classic.cs (DrawPictureBox):
5736 - Fixed calculations for centered drawing
5737 - Fixed drawing for normal mode, not scaling the image on normal
5739 2005-03-18 Peter Bartok <pbartok@novell.com>
5741 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
5744 - Made Open/Save button the accept button for FileDialog
5745 - Tied the cancel button to the IButtonControl cancel button
5746 - Save/Open now properly builds the pathname
5747 - Now handles user-entered text
5748 - Preventing crash on right-click if no item is selected
5749 - Fixed Text property, now uses contents of textbox
5750 - Fixed SelectedText property, now just returns the text part that
5751 is selected in the text box
5753 2005-03-18 Jackson Harper <jackson@ximian.com>
5755 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
5756 rect, make sure to de-adjust the interior rect after drawing the
5759 2005-03-18 Peter Bartok <pbartok@novell.com>
5761 * MenuAPI.cs: Remove menu *before* executing selected action to
5762 prevent the menu from 'hanging around'
5764 2005-03-17 Geoff Norton <gnorton@customerdna.com>
5766 * XplatUIOSX.cs: Implemented WorkingArea property
5768 2005-03-17 Peter Bartok <pbartok@novell.com>
5770 * XplatUIX11.cs: Fixed menu coord calculations
5771 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
5772 for calculating offsets
5774 2005-03-17 Peter Bartok <pbartok@novell.com>
5776 * Hwnd.cs: Do not consider menu presence for default client
5777 rectangle location/size
5778 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
5779 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
5780 translation functions
5781 * FileDialog.cs: Fixed (what I presume is a) typo
5783 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
5785 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
5786 X access (avoids X-Async errors)
5788 2005-03-16 Jackson Harper <jackson@ximian.com>
5790 * TabControl.cs: Raise the SelectedIndexChanged event.
5792 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
5794 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
5795 - Removed vertical ToolBar and replaced it with a custom panel
5796 (desktop and home button already work)
5797 - Added Help button (some controls get resized or relocated then)
5798 - Draw correct text depending on Open or Save.
5799 - Fixed some typos...
5801 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
5804 - Only change Maximum and Minimum when need it (bug fix)
5806 2005-03-15 Peter Bartok <pbartok@novell.com>
5808 * Form.cs: Use Handle for icon, to trigger creation if
5809 the window does not yet exist
5811 - CanSelect: Slight performance improvement
5812 - Focus(): Preventing possible recursion
5813 - Invalidate(): Removed ControlStyle based clear flag setting
5814 - WM_PAINT: fixed logic for calling OnPaintBackground
5815 - WM_ERASEBKGND: Fixed logic, added call to new driver method
5816 EraseWindowBackground if the control doesn't paint background
5818 - Moved EraseWindowBackground() method to internal methods
5819 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
5820 is sent via SendMessage on BeginPaint call on Win32
5822 - Added EraseWindowBackground() method
5823 - No longer sends WM_ERASEBKGND on .Expose, but on call to
5824 PaintEventStart, which more closely matches Win32 behaviour
5825 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
5826 - Fixed SetFocus() to properly deal with client and whole windows
5827 * Hwnd.cs: Added ErasePending property
5828 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
5829 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
5831 2005-03-12 Geoff Norton <gnorton@customerdna.com>
5834 - Fix hard loop when timers exist.
5835 - Fix bugs with middle and right click for 3 button mice.
5837 2005-03-11 Peter Bartok <pbartok@novell.com>
5840 - get_WorkingArea: Need to call X directly, GetWindowPos only
5841 returns cached data now
5842 - Added sanity check to GetWindowPos hwnd usage
5844 2005-03-11 Jackson Harper <jackson@ximian.com>
5846 * BindingManagerBase.cs: This method isn't used anymore as
5847 PullData now updates the data in the control.
5849 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
5851 * Form.cs: fixes menu drawing on X11
5852 * MenuAPI.cs: fixes menu drawing on X11
5854 2005-03-11 Peter Bartok <pbartok@novell.com>
5856 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
5857 from Jonathan Gilbert; should fix bug #73606
5858 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
5859 in Screen coordinates. Thanks, Jordi.
5860 * Form.cs: Added missing attribute
5862 2005-03-11 Peter Bartok <pbartok@novell.com>
5865 - Rudimentary Mdi support
5866 - Removed outdated FormParent code
5867 - Implemented lots of missing properties and methods, still missing
5868 transparency support
5869 - Added missing attributes
5870 - Implemented support for MaximumBounds
5871 - Added firing of various events
5872 * XplatUI.cs: Added SetIcon() method
5873 * XplatUIDriver.cs: Added SetIcon() abstract
5874 * XplatUIOSX.cs: Stubbed out SetIcon() method
5876 - Implemented SetIcon() support
5877 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
5878 - Switched to unix line endings
5880 - Made POINT internal so for can access it as part of MINMAX
5881 - Implemented SetIcon() support
5882 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
5883 native Mdi support again, might have to go managed)
5884 * Control.cs: Now fires the StyleChanged event
5885 * MdiClient.cs: Added; still mostly empty
5887 2005-03-10 Peter Bartok <pbartok@novell.com>
5889 * SaveFileDialog.cs: Added emtpy file
5891 2005-03-08 Peter Bartok <pbartok@novell.com>
5893 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
5894 in turn triggers OnCreateContro) when creating a handle for the
5896 * TextControl.cs: Fixed endless loop in certain cases when
5897 replacing the current selection
5899 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
5902 - Honors NewValue changes in Scroll events allowing apps to change it
5903 - Adds First and Last Scroll events
5904 - Fixes Thumb events
5906 2005-03-07 Peter Bartok <pbartok@novell.com>
5908 * Hwnd.cs: Added DefaultClientRectangle property
5909 * XplatUI.cs: Now using the X11 driver Where() method, which provides
5910 more detailed debug information
5912 - Fixed size-change feedback loop, where we would pull an old size
5913 off the queue and mistakenly change our window's size to an
5915 - Now compressing ConfigureNotify events, to reduce looping and
5917 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
5920 2005-03-07 Jackson Harper <jackson@ximian.com>
5922 * Binding.cs: Push data pushes from data -> property. Check if the
5923 property is readonly when attempting to set it.
5925 2005-03-07 Jackson Harper <jackson@ximian.com>
5927 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
5928 instead of IsSubclassOf. Pulling data now sets the value on the
5930 * PropertyManager.cs:
5931 * CurrencyManager.cs: Just need to pull data when updating now,
5932 because PullData will set the value on the control.
5934 2005-03-04 Jackson Harper <jackson@ximian.com>
5936 * Binding.cs: Implement data type parsing and converting on pulled
5937 data. TODO: Are there more ways the data can be converted?
5939 2005-03-04 Jackson Harper <jackson@ximian.com>
5941 * Binding.cs: Support <Property>IsNull checks. Also bind to the
5942 controls Validating method so we can repull the data when the
5943 control loses focus.
5945 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
5948 - Fixes null string format
5951 - Adds enum type checks
5952 - Fixes redrawing and recalc need after changing some properties
5953 - Fixes on focus_item set after the event
5954 - Fixes adding columns after the control has been created
5956 * ThemeWin32Classic.cs:
5957 - Fixes CheckBox focus rectangle
5958 - Fixes ColumnHeader drawing
5961 2005-03-03 Jackson Harper <jackson@ximian.com>
5963 * Binding.cs: Bind to <Property>Changed events so we can detect
5964 when properties are changed and update the data.
5966 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
5969 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
5970 - Fixes ImageList constructor with ImageList container
5971 - Fixes image scaling (wrong parameters at DrawImage)
5973 2005-02-02 Jackson Harper <jackson@ximian.com>
5975 * Binding.cs: Make property searches case-insensitive. Eliminate
5976 some duplicated code.
5978 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
5981 - Handle focus event
5982 - Fix scrollbar events
5983 - Discard highlighted item if remove it
5984 - Fixes SelectedItem with strings
5986 2005-03-01 Peter Bartok <pbartok@novell.com>
5989 - Fixed Visible property, now follows (once again) parent chain
5990 to return false if any control in the chain is visible=false
5991 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
5992 - Fixed several places where is_visible instead of Visible was used
5993 - Implemented FIXME related to focus selection when setting focused
5994 control to be invisible
5996 * XplatUIWin32.cs: Now using proper method to find out if window is
5997 visible. Thanks to Jordi for pointing it out
5999 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
6001 * ComboBox.cs: show/hide scrollbar instead of creating it
6003 2005-02-27 Jackson Harper <jackson@ximian.com>
6005 * CurrencyManager.cs: Add PositionChanged stuff.
6007 2005-02-27 Peter Bartok <pbartok@novell.com>
6009 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6010 * XplatUIOSX.cs: Added GetMenuOrigin() stub
6011 * XplatUIWin32.cs: Implemented GetMenuOrigin()
6013 - Implemented GetMenuDC()
6014 - Implemented GetMenuOrigin()
6015 - Implemented ReleaseMenuDC()
6016 - Implemented generation of WM_NCPAINT message
6017 - Implemented generation and handling of WM_NCCALCSIZE message
6018 * Form.cs: Added debug helper message for Jordi's menu work
6020 - Modified ClientRect property; added setter, fixed getter to handle
6021 setting of ClientRect
6022 - Added MenuOrigin property
6024 2005-02-26 Peter Bartok <pbartok@novell.com>
6027 - Destroys the caret if a window that's being destroyed contains it
6028 - Ignores expose events coming from the X11 queue for windows that
6029 already are destroyed
6030 - Now uses the proper variable for handling DestroyNotify, before we
6031 marked the wrong window as destroyed
6032 - Improved/added some debug output
6034 2005-02-26 Peter Bartok <pbartok@novell.com>
6036 * X11Keyboard.cs: Fixes to work on 64bit systems
6038 2005-02-26 Peter Bartok <pbartok@novell.com>
6041 - Now calling OnHandleDestroyed from DestroyHandle()
6042 instead of Dispose()
6043 - Removed bogus call to controls.Remove() from DestroyHandle()
6045 2005-02-26 Peter Bartok <pbartok@novell.com>
6047 * Control.cs: Properly destroy child windows when our handle is
6050 2005-02-25 Peter Bartok <pbartok@novell.com>
6053 - Added 'DriverDebug' define to allow tracing XplatUI API calls
6054 - Alphabetized Static Methods and Subclasses
6057 - Added XException class to allow custom handling of X11 exceptions
6058 - Created custom X11 error handler, tied into XException class
6059 - Added support for MONO_XEXCEPTIONS env var to allow the user
6060 to either throw an exception on X errors or continue running
6061 after displaying the error
6062 - Added handling of DestroyNotify message
6063 - Added handler for CreateNotify message (still disabled)
6064 - Improved (tried to at least) Where method to provide file and lineno
6066 - Added XErrorHandler delegate
6067 - Added XRequest enumeration (to suppor translation of errors)
6069 2005-02-25 Jackson Harper <jackson@ximian.com>
6071 * PropertyManager.cs: Implement editing features
6072 * CurrencyManager.cs:
6073 * Binding.cs: First attempt at UpdateIsBinding
6074 * BindingManagerBase.cs: Call UpdateIsBinding before
6075 pushing/pulling data.
6077 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
6079 * MenuAPI.cs: Respect disabled items
6080 * ThemeWin32Classic.cs
6081 - Caches ImageAttributes creation for DrawImageDisabled
6082 - Fixes vertical menu line drawing
6083 - Draws disabled arrows in disable menu items
6085 2005-02-24 Peter Bartok <pbartok@novell.com>
6088 - Added UserData property to allow associating arbitrary objects
6090 - Fixed leak; now removing Hwnd references from static windows array
6092 - Fixed Graphics leak in PaintEventEnd
6093 - Removed usage of HandleData, switched over to Hwnd class
6094 * HandleData.cs: Removed, obsoleted by Hwnd.cs
6096 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6098 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6099 * ScrollBar.cs: Fixes bug
6100 * TrackBar.cs: removes death code, clipping, mimize refreshes,
6101 keyboard navigation enhancements
6103 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6105 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6106 * GroupBox.cs: Add control styles
6107 * Label.cs: Add control styles
6108 * UpDownBase.cs: Add control styles
6109 * ListBox.cs: Add control styles
6110 * XplatUIWin32.cs: Fixes wrong parameter order
6113 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
6115 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6117 2005-02-23 Jackson Harper <jackson@ximian.com>
6119 * PropertyManager.cs: Implement property binding. This doesn't
6120 seem to work yet though as (I think) there are some bugs in
6121 System.ComponentModel.PropertyDescriptor.
6122 * BindingContext.cs: Use new PropertyManager constructor.
6124 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
6126 * ProgressBar.cs: use clip region in ProgressBar
6127 * ThemeWin32Classic.cs: use clip region in ProgressBar
6129 2004-02-22 Jackson Harper <jackson@ximian.com>
6131 * BindingsCollection.cs: Remove some debug code.
6133 2005-02-22 Jackson Harper <jackson@ximian.com>
6135 * BindingContext.cs:
6136 * ControlBindingsCollection.cs:
6137 * CurrencyManager.cs:
6139 * BindingManagerBase.cs: Initial implementation
6140 * BindingsCollection.cs: Add an internal contains method that the
6141 BindingManagerBase uses to ensure bindings aren't added twice to
6143 * PropertyManager.cs: Stubbed out.
6145 * ContainerControl.cs: Hook up databinding
6147 2005-02-22 Geoff Norton <gnorton@customerdna.com>
6150 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
6151 Fixed Invalidate/Update chain.
6152 Fixed tons of other minor bugs (this is almost a complete rewrite).
6154 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
6156 * ComboBox.cs: do subcontrol creation when the control is created
6158 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6160 * Label.cs: fixes image drawing (image and imagelist)
6161 * ThemeWin32Classic.cs: cache brushes
6163 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6165 * Form.cs: Move menu drawing code to Theme class
6166 * ComboBox.cs: Move ComboBox drawing code to Theme class
6167 * MenuItem.cs: Move menu drawing code to Theme class
6168 * MenuAPI.cs: Move menu drawing code to Theme class
6169 * ThemeWin32Classic.cs: New methods
6170 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
6171 * ListBox.cs: Move Listbox drawing code to Theme class
6172 * Theme.cs: New methods
6174 2005-02-20 Peter Bartok <pbartok@novell.com>
6177 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
6178 only process mnemonics on those)
6179 - Fixed event sequence for key handling; first calling
6180 ProcessKeyEventArgs now
6182 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
6183 for processing non-character keys
6184 - Fixed WM_CHAR to generate proper event sequence before processing
6185 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
6188 2005-02-19 Peter Bartok <pbartok@novell.com>
6190 * UserControl.cs: Added TextChanged event; added attributes
6191 * SizeGrip.cs: Implemented resizing and optional display of grip
6192 * Form.cs: Fixed attribute
6193 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
6194 Changed meaning of ScrollWindow bool argument; instead of the
6195 clear attribute (which will be true usually anyway), it gives the
6196 option of moving child controls as well.
6198 - Changed to match new ScrollWindow argument
6199 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
6200 now handles the implicit parent window a WM puts around us
6201 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
6203 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
6204 * TreeView.cs: Adjusted to new ScrollWindow arguments
6206 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
6208 * Form.cs: Menu integration with non-client area
6209 * MenuItem.cs: Menu integration with non-client area
6210 * MenuAPI.cs: Menu integration with non-client area
6212 2005-02-18 Peter Bartok <pbartok@novell.com>
6214 * MethodInvoker.cs: Added
6215 * MdiLayout.cs: Added
6216 * SendKeys.cs: Started implementation
6217 * ErrorIconAlignment.cs: Added
6219 2005-02-18 Peter Bartok <pbartok@novell.com>
6221 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
6222 * Form.cs: Added handling for Menu-related Non-client messages
6224 2005-02-17 Peter Bartok <pbartok@novell.com>
6226 * UpDownBase.cs: Fixed typo, compilation errors
6227 * DomainUpDown.cs: Fixed attribute value
6229 2005-02-16 Miguel de Icaza <miguel@novell.com>
6231 * UpDownBase.cs: Attach entry events.
6233 Add ForeColor property, Focused, InterceptArrowKeys (interception
6236 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
6239 - Redraw non client are on Setmenu
6240 - Calc proper menu starting point
6242 2005-02-17 Peter Bartok <pbartok@novell.com>
6244 * Application.cs: Fixed message_filter check
6246 2005-02-17 Peter Bartok <pbartok@novell.com>
6248 * Application.cs: Now calls registered message filters
6249 * DockStyle.cs: Fixed attribute
6250 * Form.cs: Fixed attribute
6251 * Menu.cs: Fixed attribute
6252 * ToolTip.cs: Fixed attribute
6253 * TreeNode.cs: Added missing attributes and arranged in regions
6254 * PropertyGrid.cs: Fixed signatures
6255 * TreeNodeCollection.cs: Added attributes
6256 * Splitter.cs: Added missing attributes; arranged into regions
6257 * TabPage.cs: Added missing attributes; arranged into regions
6258 * TextBoxBase.cs: Added missing attributes
6259 * TextBox.cs: Added missing attributes
6260 * ArrangeDirection.cs: Added missing attributes
6261 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
6262 * ToolBarButton.cs: Fixed attributes
6263 * AnchorStyles.cs: Fixed attribute
6264 * TrackBar.cs: Fixed attributes
6265 * TabControl.cs: Added missing attributes and arranged into regions
6266 * ToolBar.cs: Fixed attribute
6267 * StatusBar.cs: Fixed signature, organized into regions and added
6269 * StatusBarPanel.cs: Fixed attributes
6270 * ContentsResizedEventArgs.cs: Implemented
6271 * ContentsResizedEventHandler.cs: Implemented
6272 * DateBoldEventArgs.cs: Implemented
6273 * DateBoldEventHandler.cs: Implemented
6274 * UpDownEventArgs.cs: Implemented
6275 * UpDownEventHandler.cs: Implemented
6277 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
6279 * Form.cs: first Menu NC refactoring
6280 * MenuAPI.cs: first Menu NC refactoring
6282 2005-02-16 Peter Bartok <pbartok@novell.com>
6284 * ImeMode.cs: Added missing attributes
6285 * Menu.cs: Fixed attribute
6286 * GroupBox.cs: Fixed attribute
6287 * Label.cs: Fixed attribute
6288 * ColorDialog.cs (RunDialog): Removed TODO attribute
6289 * ComboBox.cs: Fixed attributes
6290 * ListControl.cs: Added missing attributes
6291 * PropertyGrid.cs: Fixed attributes
6292 * Control.cs: Fixed attributes
6293 * ListViewItem.cs: Added TypeConverter attribute
6294 * NotifyIcon.cs: Fixed attributes
6295 * ListView.cs: Fixed attributes
6296 * ButtonBase.cs: Fixed attribute
6297 * ImageList.cs: Added missing attributes
6298 * ContainerControl.cs: Fixed signature
6299 * CheckedListBox.cs: Fixed attribute; added missing attributes
6300 * Panel.cs: Fixed attributes
6301 * PropertyTabChangedEventArgs.cs: Added missing attribute
6302 * PropertyValueChangedEventArgs.cs: Added missing attribute
6303 * Binding.cs: Fixed attribute
6304 * ListViewItemConverter: Implemented ListViewSubItemConverter class
6305 * ListBox.cs: Fixed attribute; added missing attributes;
6306 * ScrollableControl.cs: Added missing attributes
6307 * PictureBox.cs: Added missing attributes; implemented missing property
6308 * DateTimePicker.cs: Added missing attributes
6309 * Theme.cs (ToolWindowCaptionHeight): Fixed type
6310 * MonthCalendar.cs: Fixed attributes
6311 * StatusBarPanel.cs: Added missing attributes
6312 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
6314 2005-02-16 Peter Bartok <pbartok@novell.com>
6316 * TextBoxBase.cs: The previous method to enforce height yet remember
6317 the requested high was less than ideal, this is an attempt to do
6319 * Control.cs: Added comment about possible problem
6320 * Copyright: Updated format
6321 * GridItemType.cs: Fixed swapped values
6323 2005-02-15 Jackson Harper <jackson@ximian.com>
6325 * BaseCollection.cs: Use property so we never access an
6326 uninitialized list. Also initialize the list in the property.
6328 2005-02-15 Peter Bartok <pbartok@novell.com>
6330 * GroupBox.cs (ProcessMnemonic): Implemented
6331 * Label.cs (ProcessMnemonic): Implemented
6332 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
6335 2005-02-15 Peter Bartok <pbartok@novell.com>
6337 * RadioButton.cs (ProcessMnemonic): Implemented
6338 * CheckBox.cs (ProcessMnemonic): Implemented
6340 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
6342 - Added internal method to allow calling ProcessMnemonic from other
6344 * ContainerControl.cs:
6345 - Started support for handling validation chain handling
6346 - Implemented ProcessMnemonic support
6347 - Added Select() call to Active, to make sure the active control
6349 * Form.cs: Setting toplevel flag for Forms (this was lost in the
6351 * ThemeWin32Classic.cs:
6352 - DrawCheckBox(): Fixed stringformat to show hotkeys
6353 - DrawRadioButton(): Fixed stringformat to show hotkeys
6354 * CommonDialog.cs: Removed WndProc override, not needed
6356 2005-02-14 Peter Bartok <pbartok@novell.com>
6358 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
6359 missed those in the rewrite
6361 2005-02-14 Miguel de Icaza <miguel@novell.com>
6363 * NumericUpDown.cs (Increment, ToString): Add.
6364 (DecimalPlaces): implement.
6368 * UpDownBase.cs: Add the designer attributes.
6370 2005-02-13 Peter Bartok <pbartok@novell.com>
6372 * Panel.cs: Removed border_style, now in Control
6373 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
6374 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
6376 2005-02-13 Peter Bartok <pbartok@novell.com>
6378 * MouseButtons.cs: Added missing attributes
6379 * XplatUIStructs.cs: Added enumeration for title styles
6380 * LeftRightAlignment.cs: Added missing attributes
6381 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
6382 it compatible with Graphics.FromHwnd()
6383 * SelectedGridItemChangedEventArgs.cs: Fixed property type
6384 * Keys.cs: Added missing attributes
6385 * SelectionRange.cs: Added missing attributes
6386 * SelectionRangeConverter.cs: Added
6388 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
6389 ReleaseMenuDC methods
6390 - Renamed ReleaseWindow to UngrabWindow
6391 - Added proper startup notice to allow version identification
6393 - Added missing attributes
6394 - Removed FormParent concept
6395 * Label.cs: Removed border_style field, now in Control
6396 * RadioButton.cs: Now properly selects RadioButton when focus is
6398 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
6400 - Added missing attributes
6401 - Added borderstyle handling
6402 - Removed FormParent concept support
6403 - Fixed calls to XplatUI to match changed APIs
6404 - Fixed bug that would case us to use disposed Graphics objects
6405 - Removed unneeded internal methods
6406 - PerformLayout(): Fixed to handle DockStyle.Fill properly
6407 - SelectNextControl(): Fixed to properly check common parents
6408 * TextBoxBase.cs: Removed border_style field (now in Control)
6410 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
6411 fixed calculations for form size
6412 - Added support for localized strings and icons
6413 - Improved form size calculations, added border
6414 * ListView.cs: Removed border_style field (now in Control)
6415 * X11Structs.cs: Moved several structs from X11 driver here
6416 * X11Keyboard.cs: Changed debug message
6417 * Application.cs: Removed FormParent concept support
6419 - Resetting end_modal flag
6420 - Removed FormParent concept support
6421 * NativeWindow.cs: Removed FormParent concept support
6422 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
6423 Client area and Non-Client whole window to allow support for WM_NC
6425 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
6426 prevent using it until it supports Hwnd as per Geoff Norton's request
6427 * ToolBar.cs: Fixed drawing, was not doing proper drawing
6428 * PictureBox.cs: Removed border_style field, now in Control
6429 * XplatUIWin32.cs: Added new driver methods
6431 2005-02-12 Peter Bartok <pbartok@novell.com>
6433 * OpacityConverter.cs: Implemented
6434 * Hwnd.cs: Internal class to support drivers that need to emulate
6435 client area/non-client area window behaviour
6437 2005-02-11 Peter Bartok <pbartok@novell.com>
6439 * KeysConverter.cs: Implemented
6441 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
6443 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
6444 * LinkLabel: Added missing attributes
6445 * MainMenu.cs: fixes ToString
6446 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
6447 * ListBox.cs: fixes event position
6448 * TrackBar.cs: adds missing attributes and events
6450 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
6452 * MenuItem.cs: Use SystemInformation and bug fixes
6453 * MenuAPI.cs: Use SystemInformation and bug fixes
6455 2005-02-09 Jackson Harper <jackson@ximian.com>
6457 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
6458 their keystate otherwise things like VK_MENU get stuck "on".
6460 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
6462 * ListBox.cs: Fixes AddRange bug
6464 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
6467 - Add missing attributes
6468 - Add missing method
6470 * CheckedListBox.cs: Added missing attributes
6471 - Add missing attributes
6472 - Remove extra method
6474 * ComboBox.cs: Added missing attributes
6475 * VScrollBar.cs: Added missing attributes
6476 * ScrollBar.cs: Added missing attributes
6477 * ListBox.cs: Fixes signature, add missing consts
6478 * LinkArea.cs: Added missing attributes
6481 2005-02-08 Peter Bartok <pbartok@novell.com>
6483 * Menu.cs: Added missing attributes
6484 * MainMenu.cs: Added missing attributes
6485 * GroupBox.cs: Added missing attributes
6486 * Label.cs: Added missing attributes
6487 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
6489 - Added Instance and Options properties
6490 - Added missing attributes
6491 * Cursor.cs: Made Serializable
6492 * NotifyIcon: Added missing attributes
6493 * MenuItem.cs: Added missing attributes
6494 * TextBoxBase.cs: Implemented AppendText() and Select() methods
6495 * Panel.cs: Added Missing attributes
6496 * MonthCalendar.cs: Fixed CreateParams
6498 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6502 - Fixes issues with links
6503 - Adds the class attributes
6505 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
6508 - Fixes button when no items available in dropdown
6509 - Fixes repainting problems
6510 - Adds the class attributes
6512 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6514 * XplatUIOSX.cs: Detect the menu bar and title bar height from
6515 the current theme. Cache these on startup.
6517 2005-02-07 Jackson Harper <jackson@ximian.com>
6519 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
6520 the scrollbar buttons when they are depressed.
6522 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6524 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
6525 Get the display size from the main displayid. We currently dont
6526 support multiple display configurations.
6528 2005-02-07 Geoff Norton <gnorton@customerdna.com>
6530 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
6532 2005-02-07 Miguel de Icaza <miguel@novell.com>
6534 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
6536 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
6538 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
6540 2005-02-04 Jackson Harper <jackson@ximian.com>
6542 * ThemeWin32Classic.cs: Respect the clipping rect when
6543 drawing. Only fill the intersection of clips and rects so there
6544 isn't a lot of large fills.
6545 * ScrollBar.cs: Pass the correct clipping rect to the theme
6546 engine. Remove some debug code.
6548 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
6550 * DateTimePicker.cs:
6551 - Fixed crash on DateTime.Parse, use Constructor instead
6553 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6557 - Owner draw support (MeasureItem and DrawItem)
6559 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
6562 - Implements FindMergePosition and MergeMenu functions (very poor documented)
6563 - Fixes MenuItems.Add range
6565 - MergeMenu and Clone and CloneMenu functions
6567 2005-02-03 Jackson Harper <jackson@ximian.com>
6569 * ScrollBar.cs: Make abstract
6570 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
6573 2005-02-03 Jackson Harper <jackson@ximian.com>
6575 * ScrollBar.cs: First part of my scrollbar fixups. This removes
6576 all the unneeded refreshes and uses invalidates with properly
6579 2005-02-03 Peter Bartok <pbartok@novell.com>
6581 * ComponentModel.cs: Added
6582 * IDataGridEditingService.cs: Added
6583 * Timer.cs: Added missing attributes
6584 * ToolTip.cs: Added missing attributes
6586 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
6588 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
6590 2005-02-03 Peter Bartok <pbartok@novell.com>
6592 * ListBox.cs: Added missing attributes
6594 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
6597 - Fixes font height after font change
6598 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
6600 2005-02-02 Peter Bartok <pbartok@novell.com>
6602 * HandleData.cs: Introduced static methods to allow class
6603 to be more self-contained and track it's own HandleData objects
6604 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
6605 HandleData to use new static methods
6607 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
6610 - Fixes default size and PreferredHeight
6612 - ObjectCollection.Insert implementation
6618 - ObjectCollection.Insert implementation
6619 - No selection after clean
6622 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6624 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
6626 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
6629 - Caches ItemHeight calculation for OwnerDrawVariable
6630 - Handles dropdown properly
6631 - Fixes several minor bugs
6633 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6636 - Fixes 71946 and 71950
6637 - Fixes changing Multicolumn on the fly
6638 - Fixes keyboard navigation on Multicolumn listboxes
6640 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6642 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
6645 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6647 * XplatUIOSX.cs: Allow applications to actually exit.
6649 2005-01-31 Geoff Norton <gnorton@customerdna.com>
6651 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
6652 their parent at creation time rather than lazily later. Fixes a major
6653 regression we were experiencing.
6655 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
6657 * ThemeWin32Classic.cs: more date time picker painting fixes
6658 * DateTimePicker.cs: more monthcalendar drop down fixes
6659 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
6661 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
6664 - When moving the thumb going outside the control should stop the moving
6665 - Adds the firing of missing events
6666 - Fixes no button show if Size is not specified
6667 - End / Home keys for keyboard navigation
6669 2005-01-30 Peter Bartok <pbartok@novell.com>
6671 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
6672 sanity check to prevent theoretical loop
6673 * XplatUIWin32.cs (SetVisible): Removed debug output
6674 * XplatUIX11.cs (SystrayChange): Added sanity check
6675 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
6676 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
6677 behaviour, valid until the X11 client window rewrite is done
6678 * TextBox.cs (ctor): Setting proper default foreground and background
6681 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
6683 * Theme: Added DrawDateTimePicker to interface
6684 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
6685 * DateTimePicker.cs: Created (still needs keys and painting code)
6686 * DateTimePickerFormat.cs: added
6687 * MonthCalendar.cs: fixed CreateParams for popup window mode
6689 2005-01-29 Peter Bartok <pbartok@novell.com>
6691 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
6692 this should also the calculations for ligher/darker
6693 * Theme.cs: Fixed defaults for ScrollBar widths/heights
6695 2005-01-29 Peter Bartok <pbartok@novell.com>
6697 * ArrangeDirection.cs: Added
6698 * ArrangeStartingPositon.cs: Added
6699 * SystemInformation.cs: Implemented
6700 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
6701 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
6702 used by SystemInformation class
6703 * X11Strucs.cs: Added XSizeHints structure
6705 - Fixed CreateParams to make sure the menu window is always visible
6706 - TrackPopupMenu: Added check to make sure we don't draw the
6709 2005-01-29 Peter Bartok <pbartok@novell.com>
6711 * HandleData.cs: Added method for altering invalid area
6712 * TextBoxBase.cs: Implemented TextLength
6714 2005-01-28 Peter Bartok <pbartok@novell.com>
6716 * XplatUIX11.cs: Improvement over last patch, not sending
6717 the WM_PAINT directly anymore, instead we scroll any pending
6718 exposed areas and let the system pick out the WM_PAINT later
6720 2005-01-28 Peter Bartok <pbartok@novell.com>
6722 * SWF.csproj: Deleted, no longer used. Instead,
6723 Managed.Windows.Forms/SWF.csproj should be used
6724 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
6725 directly, to avoid a potential race condition with the next
6728 2005-01-28 Peter Bartok <pbartok@novell.com>
6730 * XplatUI.cs: Made class internal
6732 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
6734 * CheckedListBox.cs:
6737 - Missing methods and events
6739 2005-01-27 Peter Bartok <pbartok@novell.com>
6741 * Application.cs (Run): Don't use form if we don't have one
6743 2005-01-27 Peter Bartok <pbartok@novell.com>
6745 * TextBoxBase.cs (get_Lines): Fixed index off by one error
6747 2005-01-27 Peter Bartok <pbartok@novell.com>
6749 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
6750 * GridItem.cs: Added; Patch by Jonathan S. Chambers
6751 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
6752 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
6753 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
6754 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
6755 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6756 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6757 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6758 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6759 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
6760 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
6762 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
6765 - Draw focus on Simple Combobox
6766 - Fixes drawing issues
6769 2005-01-27 Peter Bartok <pbartok@novell.com>
6772 - Place window in default location, instead of hardcoded 0/0
6773 - Send initial LocationChanged event
6775 - UpdateBounds after creation to find out where the WM placed us
6776 - Make sure that if the ParentForm changes location the Form
6778 * XplatUIX11.cs: XGetGeometry will not return the coords relative
6779 to the root, but to whatever the WM placed around us.
6780 Translate to root coordinates before returning toplevel
6782 * XplatUIWin32.cs: Removed debug output
6783 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
6784 flag to GetWindowPos, to allow translation of coordinates on X11
6786 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
6788 * ListBox.cs: connect LostFocus Event
6790 2005-01-27 Peter Bartok <pbartok@novell.com>
6792 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
6793 XplatUIX11.cs: Extended the Systray API
6794 * Form.cs: Removed debug output
6795 * Application.cs: Fixed focus assignment, always need to call
6796 XplatUI.Activate() since Form.Activate() has rules that may
6798 * NotifyIcon.cs: Should be complete now
6799 * ToolTip.cs: Worked around possible timer bug
6801 2005-01-27 Jackson Harper <jackson@ximian.com>
6804 - Only invalidate the effected tabs when the
6805 selected index changes. This reduces drawing and gets rid of some
6807 - Only refresh if the tabs need to be shifted, otherwise only
6808 invalidate the slider button.
6809 - On windows the tabs are not filled to right if the slider is
6812 2005-01-27 Jackson Harper <jackson@ximian.com>
6814 * TabControl.cs: Only refresh on mouseup if we are showing the
6815 slider. Also only invalidate the button whose state has changed.
6817 2005-01-26 Peter Bartok <pbartok@novell.com>
6819 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
6820 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
6821 and SystrayRemove() methods
6822 * XplatUIOSX.cs: Stubbed Systray methods
6824 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
6826 - Fixed broken XChangeProperty calls (marshalling messed up things)
6827 * X11Structs.cs: Added enums and structs required for Size hinting
6828 * NotifyIcon.cs: Added & implemented
6830 2005-01-26 Jackson Harper <jackson@ximian.com>
6832 * TabControl.cs: Space vertically layed out tabs properly.
6834 2005-01-26 Peter Bartok <pbartok@novell.com>
6836 * Form.cs (CreateClientParams): Always set the location to 0,0
6837 since we're a child window.
6839 * Control.cs (SetVisibleCore): Always explicitly setting the location
6840 of a toplevel window, apparently X11 doesn't like to move windows
6841 while they're not mapped.
6843 2005-01-26 Jackson Harper <jackson@ximian.com>
6845 * TabControl.cs: Implement FillToRight size mode with vertically
6848 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
6850 * ControlPaint.cs, ThemeWin32Classic.cs
6851 - Fixes DrawFocusRectangle
6853 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
6856 - MenuBar tracking only starts when item is first clicked
6857 - Fixes menu hidding for multiple subitems
6858 - Unselect item in MenuBar when item Executed
6861 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
6864 - IsInputKey for ListBox
6867 - Shift and Control item selection
6868 - Implement SelectionMode.MultiExtended
6871 - IsInputKey implemented
6872 - Do not generate OnTextChangedEdit on internal txt changes
6874 2005-01-23 Peter Bartok <pbartok@novell.com>
6876 * AccessibleObject.cs: Partially implemented Select()
6877 * MonthCalendar.cs: Added missing attributes and events
6878 * Form.cs: Fixed CreateParams behaviour, now controls derived from
6879 form can properly override CreateParams.
6880 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
6881 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
6882 Control performs Invalidate & Update
6883 * NativeWindow (CreateHandle): Added special handling for Form
6884 and Form.FormParent classes to allow overriding of From.CreateParams
6886 - ControlNativeWindow: Renamed 'control' variable to more intuitive
6888 - ControlNativeWindow: Added Owner property
6889 - Removed usage of Refresh() on property changes, changed into
6890 Invalidate(), we need to wait until the queue is processed for
6891 updates, direct calls might cause problems if not all vars for
6892 Paint are initialized
6893 - Added call to UpdateStyles() when creating the window, to set any
6894 styles that CreateWindow might have ignored.
6895 - Added support for Form CreateParent overrides to UpdateStyles()
6896 * MessageBox.cs: Removed no longer needed FormParent override stuff,
6897 CreateParams are now properly overridable
6898 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
6899 CreateParams are now properly overridable
6901 2005-01-23 Miguel de Icaza <miguel@ximian.com>
6903 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
6906 Capture LostFocus and OnTextBoxChanged. The later introduces a
6907 recursive invocation that I have not figured out yet.
6909 Reset the timer when not using (it was accumulating).
6912 (OnTextBoxChanged): Set UserEdit to true here to track whether the
6913 user has made changes that require validation.
6915 Reset changing to avoid loops.
6917 2005-01-22 Miguel de Icaza <miguel@ximian.com>
6919 * NumericUpDown.cs: Display value at startup.
6921 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
6924 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
6925 filled in. Added some basic parsing of text.
6927 Still missing the OnXXX method overrides, and figuring out the
6928 events that must be emitted.
6930 * UpDownBase.cs: Handle UserEdit on the Text property.
6932 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
6935 - Fixes IntegralHeight
6938 2005-01-21 Jackson Harper <jackson@ximian.com>
6940 * TabControl.cs: Set the SelectedIndex property when SelectedTab
6941 is set so that the page visibility is updated and the tabs are
6944 2005-01-21 Jackson Harper <jackson@ximian.com>
6946 * TabControl.cs: Use cliping rectangle for blitting. Give the
6947 theme the clipping rect so we can do clipping while
6948 drawing. Remove some debug code.
6950 2005-01-21 Jackson Harper <jackson@ximian.com>
6952 * TabPage.cs: Add a new method so tab pages can force the tab
6953 control to recalculate the tab page sizes.
6954 * TabControl.cs: UpdateOwner needs to make the tab control recalc
6957 2005-01-20 Jackson Harper <jackson@ximian.com>
6959 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
6961 2005-01-20 Jackson Harper <jackson@ximian.com>
6963 * TreeView.cs: Set the bounds for nodes properly. They were
6964 getting screwed up when checkboxes were not enabled, but images
6967 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
6970 - Owner draw support
6973 2005-01-20 Jackson Harper <jackson@ximian.com>
6975 * XplatUIStructs.cs: More misc keys
6976 * X11Keyboard.cs: Ignore some control keys.
6978 2005-01-20 Jackson Harper <jackson@ximian.com>
6980 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
6981 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
6983 2005-01-19 Peter Bartok <pbartok@novell.com>
6985 * Control.cs: Un-selecting the control when it is loosing focus
6987 2005-01-19 Jackson Harper <jackson@ximian.com>
6989 * TreeView.cs: Hook up to the text controls leave event so we can
6990 end editing when the users clicks outside the text box.
6992 2005-01-19 Jackson Harper <jackson@ximian.com>
6994 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
6995 get set in the conversion array.
6997 2005-01-19 Peter Bartok <pbartok@novell.com>
6999 * Application.cs (ModalRun): Added a call to CreateControl to ensure
7000 focus is properly set
7002 - Added missing attributes
7003 - removed styles, those are already set in the base class
7005 - Added missing attributes
7006 - Added clip window styles
7007 * CheckBox.cs: Added missing attributes
7009 - FormParentWindow.CreateParams: Added required clip styles
7010 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7011 also filters modifier keys
7013 - Added assignment of Accept and Cancel button to enable Enter
7014 and Esc keys in MessageBox dialogs
7015 - FormParentWindow.CreateParams: Added required clip styles
7016 * RadioButton.cs: Added missing attributes
7017 * TextControl.cs: No longer draws selection if control does not
7020 - Now draws simple rectangle around test area to make it obvious
7021 there's a control. This is a hack until we properly support borders
7022 - A few simple fixes to support selections better, now erases selected
7023 text when typing, and resets selection when using movement keys
7025 2005-01-19 Miguel de Icaza <miguel@ximian.com>
7027 * UpDownBase.cs: Added some new properties.
7029 * DomainUpDown.cs: Implement a lot to get my test working.
7031 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7033 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7035 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7037 * OSXStructs (WindowAttributes): Fixed csc complaints
7039 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7042 OSXStructs.cs: Initial refactor to move enums and consts into
7043 OSXStructs and use them in the driver for greater readability.
7045 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7047 * XplatUIOSX.cs: Initial support for Standard Cursors.
7048 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7050 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
7052 * ComboBox.cs: ability to change style when the ctrl is already
7053 created, missing methods and events, bug fixes, signature fixes
7055 2005-01-19 Peter Bartok <pbartok@novell.com>
7057 * Cursors.cs (ctor): Added ctor to fix signature
7059 2005-01-18 Peter Bartok <pbartok@novell.com>
7061 * Button.cs: Implemented DoubleClick event
7063 - Fixed keyboard handling to behave like MS, where the press of
7064 Spacebar is equivalent to a mousedown, and the key release is
7065 equivalent to mouseup. Now a spacebar push will give the same
7066 visual feedback like a mouse click.
7067 - Added missing attributes
7068 - Added ImeModeChanged event
7069 - Added support for generating DoubleClick event for derived classes
7071 - Implemented DoubleClick event
7072 - Added missing attributes
7073 * CommonDialog.cs: Added missing attribute
7074 * ContextMenu.cs: Added missing attributes
7076 - AutoChecked buttons do not allow to be unselected when clicked
7077 (otherwise we might end up with no selected buttons in a group)
7078 - Added missing attributes
7079 - Implemented DoubleClickEvent
7080 * ThreadExceptionDialog.cs: Enabled TextBox code
7082 2005-01-18 Peter Bartok <pbartok@novell.com>
7084 * Form.cs: Removed debug output
7085 * Button.cs: Added support for DoubleClick method
7087 2005-01-18 Peter Bartok <pbartok@novell.com>
7090 - Added method to parent window that allows triggering size
7091 calculations when a menu is added/removed
7092 - set_Menu: Cleaned up mess from early days of Form and Control,
7093 now properly triggers a recalc when a menu is added/removed
7094 - Added case to select form itself as focused form if no child
7096 - Added PerformLayout call when showing dialog, to ensure properly
7099 - Select(): Made internal so Form can access it
7100 - Focus(): Only call Xplat layer if required (avoids loop), and sets
7102 * Application.cs (Run): Removed hack and calls PerformLayout instead
7103 to trigger calculation when Form becomes visible
7105 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
7107 * ComboBox.cs: fixes for ownerdraw
7109 2005-01-18 Peter Bartok <pbartok@novell.com>
7112 - Sentinel is no longer static, each Document gets it's own, this
7113 avoids locking or alternatively overwrite problems when more
7114 than one text control is used simultaneously.
7115 - Switched to use Hilight and HilightText brushes for text selection
7117 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7119 2005-01-18 Peter Bartok <pbartok@novell.com>
7122 - Hooked up the following events:
7130 o SystemColorsChanged
7133 - Removed debug output
7134 - Added a call to the current theme's ResetDefaults when a color change
7136 * Form.cs: Now setting the proper ImeMode
7137 * Theme.cs: Defined a method to force recreation of cached resources
7138 and rereading of system defaults (ResetDefaults())
7139 * ThemeWin32Classic.cs: Added ResetDefaults() stub
7141 2005-01-17 Peter Bartok <pbartok@novell.com>
7143 * Control.cs: Added missing attributes
7145 2005-01-17 Jackson Harper <jackson@ximian.com>
7147 * TreeNode.cs: Implement editing. Add missing properties selected
7149 * TreeView.cs: Implement node editing. Also some fixes to use
7150 Invalidate (invalid area) instead of Refresh when selecting.
7152 2005-01-17 Peter Bartok <pbartok@novell.com>
7155 - Implemented InvokeGotFocus() method
7156 - Implemented InvokeLostFocus() method
7157 - Implemented InvokePaint() method
7158 - Implemented InvokePaintBackground() method
7159 - Implemented InvokeClick() method
7160 - Implemented FindForm() method
7161 - Implemented RectangleToClient() method
7162 - Implemented ClientToRectangle() method
7163 - Implemented ResetBackColor() method
7164 - Implemented ResetCursor() method
7165 - Implemented ResetFont() method
7166 - Implemented ResteForeColor() method
7167 - Implemented ResetImeMode() method
7168 - Implemented ResetLeftToRight() method
7169 - Implemented ResetText() method
7170 - Implemented Scale() methods
7171 - Implemented ScaleCore() method
7172 - Implemented Update() method
7173 - Removed unused variables
7174 - Stubbed AccessibilityNotifyClients and
7175 ControlAccessibleObject.NotifyClients() methods (dunno what to do
7177 - Now setting proper default for RightToLeft property
7178 - Fixed bug in SetClientSizeCore that would cause windows to get
7180 - Now sending Click/DoubleClick events
7181 - Now selecting controls when left mouse button is clicked on
7183 * AccessibleEvents.cs: Added
7184 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
7185 * XplatUIOSX.cs: Stubbed UpdateWindow() method
7186 * XplatUIWin32.cs: Implemented UpdateWindow() method
7187 * XplatUIX11.cs: Implemented UpdateWindow() method
7188 * Form.cs: Removed stray semicolon causing CS0162 warning
7189 * ThemeWin32Classic.cs: Fixed unused variable warnings
7190 * ScrollableControl.cs: Now calls base method for ScaleCore
7191 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
7192 style to avoid interference with internal click handler (which is
7193 different than standard Control click handling)
7195 - Now unchecks all sibling radio buttons when control is
7196 selected (Fixes #68756)
7197 - Removed internal tabstop variable, using the one inherited from
7200 2005-01-17 Jackson Harper <jackson@ximian.com>
7202 * NavigateEventArgs.cs: Fix base type.
7203 * LinkLabel.cs: Sig fix
7205 2005-01-17 Jackson Harper <jackson@ximian.com>
7207 * TreeView.cs: Only invalidate the effected nodes bounds when
7210 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7212 * XplatUIWin32.cs: fixes Win32 marshaling
7213 * XplatUIX11.cs: fixes method signature
7215 2005-01-17 Peter Bartok <pbartok@novell.com>
7217 * XplatUIX11.cs: Clean up resources when we no longer need them
7219 2005-01-17 Peter Bartok <pbartok@novell.com>
7221 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
7222 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
7223 and DestroyCursor() methods.
7224 * Cursor.cs: Partially implemented, now supports standard cursors;
7225 still contains some debug code
7226 * Cursors.cs: Implemented class
7228 - WndProc(): Added handling of WM_SETCURSOR message, setting the
7230 - Implemented Cursor property
7231 - Replaced break; with return; more straightforwar and possibly
7233 - Now properly setting the result for WM_HELP
7234 * X11Structs.cs: Added CursorFontShape enum
7235 * XplatUIStructs.cs:
7236 - Added StdCursor enum (to support DefineStdCursor() method)
7237 - Added HitTest enum (to support sending WM_SETCURSOR message)
7239 - Now sends the WM_SETCURSOR message
7240 - Implemented new cursor methods
7241 * XplatUIOSX.cs: Stubbed new cursor methods
7243 - Implemented new cursor methods
7244 - Added GetSystemMetrics function and associated enumeration
7246 2005-01-15 Peter Bartok <pbartok@novell.com>
7249 - WndProc(): Now handles EnableNotifyMessage
7250 - SelectNextControl(): Fixed bug where if no child or sibling
7251 controls exist we looped endlessly
7253 2005-01-14 Jackson Harper <jackson@ximian.com>
7255 * TreeView.cs: Recalculate the tab pages when a new one is added
7256 so that the proper bounding rects are created.
7258 2005-01-14 Jackson Harper <jackson@ximian.com>
7260 * TreeView.cs: Draw a gray box instead of a grip in the lower
7261 right hand corner when there are both horizontal and vertical
7264 2005-01-14 Jackson Harper <jackson@ximian.com>
7266 * Control.cs: When erasing backgrounds use FromHwnd instead of
7267 FromHdc when there is a NULL wparam. This occurs on the X driver.
7268 * XplatUIX11.cs: Set the wparam to NULL.
7270 2005-01-13 Jackson Harper <jackson@ximian.com>
7272 * PictureBox.cs: Implement missing methods (except ToString, need
7273 to test that on windows) and events. When visibility is changed we
7274 need to redraw the image because the buffers are killed. When size
7275 is changed refresh if the sizemode needs it.
7277 2005-01-13 Peter Bartok <pbartok@novell.com>
7279 * Control.cs (SelectNextControl): Was using wrong method to select
7282 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7284 * ComboBox.cs: fixes dropstyle
7286 2005-01-13 Peter Bartok <pbartok@novell.com>
7289 - Implemented Select() override
7290 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
7291 - Now sets keyboard focus on startup
7292 * Control.cs (SelectNextControl): Now properly handles directed=true
7294 - WndProc: Now passes tab key on to base if AcceptTabChar=false
7295 - Added (really bad) focus rectangle (mostly for testing)
7296 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
7297 to enforce redraw on focus changes
7298 * ContainerControl.cs:
7299 - Fixed detection of Shift-Tab key presses
7300 - Fixed traversal with arrow keys
7301 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
7302 gonna keep this or if it's complete yet
7304 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
7306 * ComboBox.cs: missing properties, fixes
7308 2005-01-13 Peter Bartok <pbartok@novell.com>
7310 * Panel.cs (ctor): Setting Selectable window style to off
7311 * Splitter.cs (ctor): Setting Selectable window style to off
7312 * GroupBox.cs (ctor): Setting Selectable window style to off
7313 * Label.cs (ctor): Setting Selectable window style to off
7315 2005-01-12 Miguel de Icaza <miguel@ximian.com>
7317 * UpDownBase.cs (InitTimer): If the timer has been already
7320 Use a TextBox instead of a Label.
7322 2005-01-12 Jackson Harper <jackson@ximian.com>
7324 * TreeView.cs: Refresh the tree after sorting the nodes. Always
7325 draw the connecting node lines (when ShowLines is true).
7326 * TreeNode.cs: The nodes index can now be updated. This is used
7327 when a node collection is sorted.
7328 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
7329 insert or an existing unsorted node collection can be sorted.
7331 2005-01-12 Peter Bartok <pbartok@novell.com>
7333 * ContainerControl.cs: Implemented ProcessDialogKeys()
7335 2005-01-12 Peter Bartok <pbartok@novell.com>
7338 - Implemented SelectNextControl() method
7339 - Several focus related bug fixes
7340 - Fixed Docking calculations to match MS documentation and
7343 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
7345 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
7348 2005-01-12 Peter Bartok <pbartok@novell.com>
7351 - Fixed broken Contains() method
7352 - Implemented GetNextControl() method. Finally. This is the pre-
7353 requisite for focus handling.
7355 2005-01-12 Peter Bartok <pbartok@novell.com>
7357 * OSXStrucs.cs: Added
7359 2005-01-12 Peter Bartok <pbartok@novell.com>
7362 - Removed PeekMessageFlags
7363 - Implemented SetWindowStyle() method
7364 * XplatUIStructs.cs: Added PeekMessageFlags
7365 * X11Structs: Added missing border_width field to XWindowChanges struct
7367 - PeekMessage: Now throws exception if flags which are not yet
7368 supported are passed
7369 - Implemented SetWindowStyle() method
7370 - Fixed SetZOrder to handle AfterHwnd properly
7371 * XplatUI.cs: Added SetWindowStyle() method
7372 * XplatUIDriver.cs: Added SetWindowStyle() abstract
7374 - Implemented UpdateStyles() method
7375 - Implemented UpdateZOrder() method
7376 * XplatUIOSX.cs: Added SetWindowStyle() stub
7378 2005-01-12 Geoff Norton <gnorton@customerdna.com>
7380 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
7384 2005-01-11 Jackson Harper <jackson@ximian.com>
7386 * TreeView.cs: Still need to draw lines to siblings even if out of
7387 the current node is out of the clip.
7389 2005-01-11 Jackson Harper <jackson@ximian.com>
7391 * TreeView.cs: When setting the hbar/vbar/grip position use
7392 SetBounds so that perform layout is only called once. Also suspend
7393 and resume layout so layout is only done once for all controls.
7394 - Removed some debug fluff
7395 * SizeGrip.cs: Call base implmentation in overriding methods.
7396 - When visibility is changed the drawing buffers are killed so we
7399 2005-01-11 Jackson Harper <jackson@ximian.com>
7401 * TreeView.cs: Calculate the open node count while drawing. This
7402 saves us an entire tree traversal for every paint operation. Use
7403 a member var for the open node count so less vars are passed around.
7405 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
7408 - fixed selection to use mousemove, not mouse polling on timer
7409 * ThemeWin32Classic.cs
7410 - removed redundant unused variable "no_more_content"
7412 2005-01-11 Peter Bartok <pbartok@novell.com>
7414 * XplatUIX11.cs (DoEvents): Needs to return when no more events
7415 are pending, so it now calls PeekMessage instead of GetMessage;
7416 implemented a incomplete version of PeekMessage
7418 2005-01-11 Peter Bartok <pbartok@novell.com>
7420 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
7422 * TextBoxBase.cs: Added sending of TextChanged event
7424 2005-01-10 Jackson Harper <jackson@ximian.com>
7426 * TreeView.cs: Try not to draw outside the clipping rectangle on
7429 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
7431 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
7433 2005-01-10 Jackson Harper <jackson@ximian.com>
7436 - Implement fast scrolling. Now only the newly
7437 exposed nodes are drawn and the old image is moved using the
7438 XplatUI::ScrollWindow method.
7439 - Factor in height of nodes when calculating whether or not the
7440 node is in the clipping rect.
7442 2005-01-10 Jackson Harper <jackson@ximian.com>
7444 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
7446 2005-01-10 Peter Bartok <pbartok@novell.com>
7448 * Application.cs: Added temporary hack to resolve all our resize
7449 required issues on startup. This will get fixed properly at
7450 some point in the future
7452 2005-01-10 Jackson Harper <jackson@ximian.com>
7454 * SizeGrip.cs: New internal class that is used as a sizing
7455 grip control...hence the name.
7457 2005-01-10 Peter Bartok <pbartok@novell.com>
7459 * Control.cs: Implemented proper TabIndex handling, now assigning
7460 a tabindex when a control is added to a container
7461 * GroupBox.cs (ctor): Now sets the Container style bit, required
7462 for Control.GetNextControl()
7464 2005-01-09 Jackson Harper <jackson@ximian.com>
7466 * TextBoxBase.cs: Clear window when scrolling (fixes build).
7468 2005-01-09 Peter Bartok <pbartok@novell.com>
7470 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7471 XplatUIX11.cs: Added ability to control ScrollWindow expose and
7472 an overload for ScrollWindow to allow only scrolling a rectangle
7474 2005-01-09 Peter Bartok <pbartok@novell.com>
7477 - Implemented SetDesktopBounds method
7478 - Implemented SetDesktopLocation method
7480 2005-01-08 Jackson Harper <jackson@ximian.com>
7482 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
7483 the node count has changed, this removes to VScroll::Refresh calls
7486 2005-01-08 Geoff Norton <gnorton@customerdna.com>
7488 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
7490 2005-01-07 Jackson Harper <jackson@ximian.com>
7492 * TreeNode.cs: Just update the single node when it is
7493 checked. Don't refresh after toggling, the Expand/Collapse already
7495 * TreeView.cs: Respect clipping a little more when drawing. Try
7496 not to redraw things that don't need to be redrawn. Just hide the
7497 scrollbars when they are no longer needed instead of removing
7498 them, so they don't have to be created again and again.
7500 2005-01-07 Geoff Norton <gnorton@customerdna.com>
7502 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
7503 coordinates to window space to place the caret properly, FIXED.
7504 Implement GetWindowState & SetWindowState
7506 2005-01-06 Peter Bartok <pbartok@novell.com>
7509 - Implemented ClientSize property
7510 - Implemented DesktopBounds property
7511 - Implemented DesktopLocation property
7512 - Implemented IsRestrictedWindow property
7513 - Implemented Size property
7514 - Implemented TopLevel property
7515 - Implemented FormWindowState property
7517 - Implemented GetTopLevel() method
7518 - Implemented SetTopLevel() method
7519 * X11Structs.cs (Atom):
7520 - Added AnyPropertyType definition
7521 - Added MapState definiton and updated XWindowAttribute struct
7522 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
7523 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
7524 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
7526 - Implemented GetWindowState() and SetWindowState() methods
7527 - Fixed Win32GetWindowLong return type
7529 - Introduced central function for sending NET_WM messages
7530 - Implemented GetWindowState() and SetWindowState() methods
7531 * TextBoxBase.cs (set_Lines):
7532 - Now uses Foreground color for text added via Text property (Duh!)
7533 - Added code to remember programmatically requested size (fixes
7534 behaviour when Multiline is set after Size)
7535 - Added AutoSize logic
7537 2005-01-06 Jackson Harper <jackson@ximian.com>
7539 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
7541 2005-01-06 Jackson Harper <jackson@ximian.com>
7543 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
7546 2005-01-06 Jackson Harper <jackson@ximian.com>
7548 * ScrollableControl.cs: Lazy init the scrollbars.
7550 2005-01-06 Jackson Harper <jackson@ximian.com>
7552 * Theme.cs: Speed up getting pens and solid brushes, by using
7553 their ARGB as a hash instead of tostring and not calling Contains.
7555 2005-01-06 Peter Bartok <pbartok@novell.com>
7558 - Implemented OnActivated and OnDeactivate event trigger
7559 - Implemented Activate() method
7560 - Fixed ShowDialog() to activate the form that was active before
7561 the dialog was shown
7563 - Added global active_window var that tracks the currently active
7565 - Now always grabs Property changes from the root window to always
7566 catch changes on the active window property
7567 - Added code to PropertyNotify handler to send Active/Inactive
7568 messages when state changes. This puts X11 and Win32 en par on
7569 WM_ACTIVATE notifications (except for double notifications when
7570 the user clicks away from our modal window to another one of our
7573 2005-01-05 Jackson Harper <jackson@ximian.com>
7575 * ImageList.cs: Implment ctor
7577 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7579 * XplatUIOSX.cs: Implement Activate/SetTopmost
7581 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7583 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
7585 2005-01-05 Geoff Norton <gnorton@customerdna.com>
7587 * XplatUIOSX.cs: Implement GetActive/SetFocus.
7589 2005-01-05 Peter Bartok <pbartok@novell.com>
7591 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
7592 XplatUIOSX.cs: Added GetActive method to return the currently
7593 active window for the application (or null, if none is active)
7595 - Implemented ActiveForm
7596 - Commented out owner assignment for modal dialogs (causes problems
7597 on Win32, since the owner will be disabled)
7598 - Reworked some Active/Focus handling (still incomplete)
7599 * CommonDialog.cs: Commented out owner assignment for modal dialogs
7600 (causes problems on Win32, since the owner will be disabled)
7601 * IWin32Window: Added ComVisible attribute
7603 2005-01-05 Peter Bartok <pbartok@novell.com>
7605 * ToolTip.cs (WndProc): Enable setting focus now that we have the
7606 required XplatUI functions.
7608 2005-01-05 Peter Bartok <pbartok@novell.com>
7610 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
7611 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
7612 to implement focus and activation handling; still incomplete and
7615 2005-01-04 Peter Bartok <pbartok@novell.com>
7617 * TextBoxBase.cs: Changed access level for Document property to
7618 match switch to internal for TextControl
7620 2005-01-04 Peter Bartok <pbartok@novell.com>
7622 * AccessibleObject: Added ComVisible attribute
7624 2005-01-04 Jackson Harper <jackson@ximian.com>
7626 * X11Keyboard.cs: Remove unneeded var.
7628 2005-01-04 Jackson Harper <jackson@ximian.com>
7630 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
7632 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
7633 ClientMessage. This makes apps exit cleanly (more often).
7635 2005-01-04 Jackson Harper <jackson@ximian.com>
7637 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
7638 handling focus, return correct colors and fonts,
7639 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
7640 handle selection, horizontal scrolling, and mouse interaction.
7642 2005-01-04 Peter Bartok <pbartok@novell.com>
7644 * ICommandExecutor.cs: Added
7645 * IDataGridColumnStyleEditingNotificationService.cs: Added
7646 * IFeatureSupport.cs: Added
7647 * IFileReaderService.cs: Added
7648 * IDataObject.cs: Added ComVisible attribute
7649 * AmbientProperties.cs: Added
7650 * BaseCollection.cs: Added missing attributes
7651 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
7652 * BaseCollection.cs: Added missing attributes
7653 * Binding.cs: Added TypeConverter attribute
7654 * BindingContext.cs: Added DefaultEvent attribute
7655 * BindingsCollection.cs: Added DefaultEvent attribute
7656 * Button.cs: Added DefaultValue attribute
7657 * DragEventArgs.cs: Added ComVisible attribute
7658 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
7659 * KeyEventArgs.cs: Added ComVisible attribute
7660 * KeyPressEventArgs.cs: Added ComVisible attribute
7661 * MouseEventArgs.cs: Added ComVisible attribute
7662 * NavigateEventArgs.cs: Added
7663 * NavigateEventHandler.cs: Added
7664 * FeatureSupport.cs: Added
7665 * OSFeature.cs: Added
7666 * Theme.cs: Added abstract Version property to support OSFeature
7667 * ThemeWin32Classic.cs: Added Version property to
7668 support OSFeature.Themes
7669 * ProgressBar.cs: Removed OnPaintBackground override, not required since
7670 the proper styles to avoid background drawing are set, also doesn't
7672 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
7673 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
7674 * ScrollEventArgs.cs: Added ComVisible attribute
7675 * SplitterEventArgs.cs: Added ComVisible attribute
7676 * AccessibleSelection.cs: Added Flags attribute
7677 * Appearance.cs: Added ComVisible attribute
7678 * Border3DSide.cs: Added ComVisible attribute
7679 * Border3DStyle.cs: Added ComVisible attribute
7680 * BorderStyle.cs: Added ComVisible attribute
7681 * DragAction.cs: Added ComVisible attribute
7682 * ErrorBlinkStyle.cs: Added
7683 * ScrollEventType.cs: Added ComVisible attribute
7684 * AnchorStyles.cs: Added Editor attribute
7685 * DockStyle.cs: Added Editor attribute
7686 * HorizontalAlignment.cs: Added ComVisible attribute
7687 * HelpEventArgs.cs: Added ComVisible attribute
7688 * PaintEventArgs.cs: Added IDisposable
7690 2005-01-04 Peter Bartok <pbartok@novell.com>
7692 * TextControl.cs: Switched Line, LineTag and Document classes to
7695 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
7697 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
7698 Simple mode, fixes, IntegralHeight, etc.
7700 2005-01-04 Peter Bartok <pbartok@novell.com>
7702 * TextBoxBase.cs: Using proper font variable now
7704 2005-01-04 Peter Bartok <pbartok@novell.com>
7706 * Form.cs (ShowDialog): Set parent to owner, if provided
7707 * GroupBox.cs: Removed unused vars
7709 - Added GetHashCode() for Document and LineTag classes
7710 - Removed unused variables
7711 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
7712 to allow translation between continuous char position and line/pos
7713 * CheckBox.cs: Removed vars that are provided by base class
7714 * RadioButton.cs: Removed vars that are provided by base class, added
7715 new keyword where required
7716 * LinkLabel.cs: Added new keyword where required
7717 * Control.cs (WndProc): Removed unused variable
7719 - Finished SelectionLength property
7720 - Implemented SelectionStart property
7721 - Implemented Text property
7722 - Removed unused vars
7723 * MessageBox.cs: Added new keyword where required
7724 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
7726 * MenuAPI.cs: Added new keyword where required
7727 * ButtonBase.cs: Removed vars that are provided by base class, added
7728 new keyword where required
7729 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
7730 argument to double, to allow compiling with csc 2.0 (Atsushi ran
7732 * Application.cs (Run): Now triggers the ThreadExit event
7733 * CommonDialog.cs: Added new keyword where required; now properly sets
7734 parent (owner) for dialog
7735 * XplatUIX11.cs: Commented out unused vars
7736 * StatusBar.cs: Fixed signature for Text property
7737 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
7739 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
7741 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
7742 TrackBar.cs, MonthCalendar.cs: remove unused vars
7744 2005-01-03 Jackson Harper <jackson@ximian.com>
7746 * ThemeWin32Classic.cs:
7747 * X11Keyboard.cs: Remove unused vars.
7749 2005-01-03 Peter Bartok <pbartok@novell.com>
7752 - set_Text: Tied into TextControl
7753 - set_TextAlignment: Tied into TextControl
7755 - Added alignment properties and implemented alignment handling
7756 and drawing (still has a bug, not generating proper expose events)
7757 - Added new Line() constructor to allow passing the line alignment
7758 - Fixed selection setting, properly handling end<start now
7759 - Added aligment considerations to RecalculateDocument()
7761 - Now properly enforces control height for single line controls
7762 - Added support for CharacterCasing
7763 - Added IsInputKey override
7764 - Fixed Keys.Enter logic
7765 - Added SetBoundsCore override
7766 - Fixed mouse selection handling
7768 2005-01-03 Jackson Harper <jackson@ximian.com>
7771 - Collapse and uncheck all nodes when CheckBoxes is disabled.
7772 - Checkboxes are always aligned to the bottom of the node,
7773 regardless of item height.
7774 - Use the node bounds to draw the text so we can center it when
7775 the item height is greater then the font height.
7776 - Node::Bounds are only the text part of the node.
7777 * TreeNode.cs: New method to combine collapsing and unchecking all
7780 2005-01-02 Jackson Harper <jackson@ximian.com>
7782 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
7783 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
7784 tree when a check is changed. TODO: Only refresh the checked node.
7786 2004-12-30 Jackson Harper <jackson@ximian.com>
7788 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
7789 * TreeNode.cs: When collapsing make sure to never collapse the
7792 2004-12-29 Jackson Harper <jackson@ximian.com>
7794 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
7796 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
7798 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
7800 2004-12-28 Peter Bartok <pbartok@novell.com>
7802 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
7805 2004-12-28 Peter Bartok <pbartok@novell.com>
7807 * Control.cs (WndProc): Added WM_HELP handler, now generates
7809 * Form.cs: Added HelpButton property and required support code
7810 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
7812 2004-12-28 Peter Bartok <pbartok@novell.com>
7815 - Made DialogForm.owner variable internal
7816 - Added check to ensure owner form is set before setting
7817 owner properties in CreateParams
7819 2004-12-28 Geoff Norton <gnorton@customerdna.com>
7821 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
7822 swizzling. Implement ClientToScreen and ScreenToClient. Implement
7823 GetCursorPos. Fix major visibility issues. Rework the windowing
7824 system to support borderless/titleless windows (implements menus).
7825 Fix GetWindowPos. Implement initial background color support for
7828 2004-12-28 Peter Bartok <pbartok@novell.com>
7830 * Form.cs (get_CreateParams): Make sure we have an owner before using
7831 the owner variable. Implement proper default if no owner exists
7833 2004-12-28 Peter Bartok <pbartok@novell.com>
7835 * In preparation for making Managed.Windows.Forms the default build target
7836 for System.Windows.Forms, the following stubbed files were added.
7837 Dialogs are currently being implemented by contributors and are only
7838 short-term place holders.
7839 * ColorDialog.cs: Initial check-in (minmal stub)
7840 * DataGrid.cs: Initial check-in (minimal stub)
7841 * DataGridLineStyle.cs: Initial check-in (minimal stub)
7842 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
7843 * DataGridTableStyle.cs: Initial check-in (minimal stub)
7844 * FontDialog.cs: Initial check-in (minimal stub)
7845 * FileDialog.cs: Initial check-in (minimal stub)
7846 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
7847 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
7848 * OpenFileDialog: Initial check-in (minimal stub)
7849 * IComponentEditorPageSite.cs: Initial check-in
7850 * Splitter.cs: Initial check-in (for Jackson)
7851 * SplitterEventArgs.cs: Initial check-in (for Jackson)
7852 * SplitterEventHandler.cs: Initial check-in (for Jackson)
7853 * TextBox.cs: Initial check-in; still needs some wiring to
7855 * Form.cs: Implemented ControlBox property
7856 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
7857 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
7858 * TextControl.cs: Added selection functionality; added todo header
7860 - Implemented Lines property
7861 - Implemented TextHeight property
7862 - Implemented SelectedText property
7863 - Implemented SelectionLength property
7864 - Implemented SelectAll method
7865 - Implemented ToString method
7866 - Removed and cleaned up some debug code
7867 - Implemented (still buggy) mouse text selection
7869 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
7871 * ComboBox.cs: Complete DropDownList implementation, fixes.
7873 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
7875 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
7876 * ComboBoxStyle.cs: ComboBoxStyle enum
7877 * ComboBox.cs: Initial work on ComboBox control
7879 2004-12-21 Peter Bartok <pbartok@novell.com>
7881 * Control.cs (ctor, CreateParams): Moved setting of is_visible
7882 forward so that anything that creates a window gets the default,
7883 also no longer uses Visible property in CreateParams to avoid
7884 walking up the parent chain and possibly get the wrong visible
7885 status. Fixed IsVisible to no longer walk up to the parent.
7887 2004-12-21 Peter Bartok <pbartok@novell.com>
7889 * Form.cs (ShowDialog): Unset modality for the proper window
7891 2004-12-20 Peter Bartok <pbartok@novell.com>
7893 * CommonDialog.cs: Initial check-in
7895 2004-12-20 Peter Bartok <pbartok@novell.com>
7897 * Control.cs (Visible): Now uses the parent window instead of the
7898 client area window for the property
7901 - ShowDialog(): Now uses the proper window for modality
7902 - The default visibility state for the form parent is now false. This
7903 will prevent the user from seeing all the changes to the form and
7904 its controls before the application hits Application.Run()
7905 - Removed some stale commented out code
7908 - Added FindWindow() method to have a method to check for existence
7910 - Added ability to override default exception handling (for example
7911 when debugging with VS.Net; to do this the ExternalExceptionHandler
7913 - Removed some useless debug output
7916 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
7917 not working as expected
7918 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
7919 property to allow switching back to the modal window if focus is
7920 given to another one of our windows (Application Modal)
7921 - Now only sets override_redirect if we create a window
7923 - Moved EventMask selection before mapping of newly created window
7924 so we can catch the map event as well
7925 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
7926 - Added various Atom related DllImports
7927 - Implemented Exit() method
7928 - .ctor() : No longer shows window if WS_VISIBLE is not defined
7931 * MessageBox.cs: Now properly deals with the FormParent window by
7932 providing an override the FormParent CreateParams property to
7933 set as POPUP instead of OVERLAPPED window.
7935 2004-12-19 Geoff Norton <gnorton@customerdna.com>
7937 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
7940 2004-12-19 Geoff Norton <gnorton@customerdna.com>
7942 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
7944 2004-12-18 Peter Bartok <pbartok@novell.com>
7946 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
7947 implementing SetModal() method
7949 2004-12-18 Peter Bartok <pbartok@novell.com>
7951 * X11Structs.cs (XGCValues): Fixed type of function element
7952 * XplatUI.cs: Added ScrollWindow() method
7953 * XplatUIDriver.cs: Added ScrollWindow() abstract
7954 * XplatUIWin32.cs: Implemented ScrollWindow() method
7955 * XplatUIX11.cs: Implemented ScrollWindow() method
7956 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
7958 2004-12-17 Geoff Norton <gnorton@customerdna.com>
7960 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
7961 Some more keyboard support (INCOMPLETE)
7963 2004-12-17 Peter Bartok <pbartok@novell.com>
7966 - Added color attribute to line tags.
7967 - Added color argument to all functions dealing with tags
7968 - Added color argument support to various functions
7969 - Fixed miss-calculation of baseline/shift in certain circumstances
7971 * TextBoxBase.cs: Added new color option to test code
7973 2004-12-17 Jackson Harper <jackson@ximian.com>
7976 * MonthCalendar.cs: Signature fixes
7978 2004-12-17 Geoff Norton <gnorton@customerdna.com>
7980 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
7981 keyboard event moved it. Create a new graphics context for each paint resolves this
7983 2004-12-17 Geoff Norton <gnorton@customerdna.com>
7985 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
7986 Make caret exist and go blink blink. Initial keyboard support.
7987 Fix exception handler, Add Invalidate support. Change way RefreshWindow
7990 2004-12-17 Jackson Harper <jackson@ximian.com>
7992 * XplatUIStructs.cs: Updated set of virtual keycodes.
7993 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
7995 2004-12-17 Jackson Harper <jackson@ximian.com>
7997 * XplatUIX11.cs: Prune old keyboard code.
7999 2004-12-17 Jackson Harper <jackson@ximian.com>
8001 * XplatUIX11.cs: When generating mouse wparams get the modifier
8002 keys from the ModifierKeys property.
8004 2004-12-17 Jackson Harper <jackson@ximian.com>
8006 * X11Keyboard.cs: Send up/down input when generating
8007 messages. Remove some unused vars.
8009 2004-12-17 Jackson Harper <jackson@ximian.com>
8012 * TreeView.cs: get rid of warnings.
8014 2004-12-17 Jackson Harper <jackson@ximian.com>
8016 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8018 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
8020 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8021 CheckedListBox.cs: Implementation
8023 2004-12-17 Peter Bartok <pbartok@novell.com>
8025 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8027 2004-12-16 Peter Bartok <pbartok@novell.com>
8030 - InsertCharAtCaret(): Fixed start pos fixup
8031 - CaretLine_get: No longer derives the line from the tag, the tag
8032 could be stale if lines in the document have been added or deleted
8033 - RebalanceAfterDelete(): Fixed bug in balancing code
8034 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8035 - Line.Streamline(): Now can also elminate leading empty tags
8036 - DumpTree(): Added a few more tests and prevented exception on
8038 - Added Debug section for Combining lines
8039 - Delete(): Now copies all remaining properties of a line
8042 - Left mousebutton now sets the caret (and middle button still acts
8043 as formatting tester, which must go away soon)
8044 - Added Debug section for Deleting/Combining lines
8045 - Fixed calculations for UpdateView after Combining lines
8047 2004-12-16 Peter Bartok <pbartok@novell.com>
8049 * TextControl.cs: Now properly aligns text on a baseline, using the
8050 new XplatUI.GetFontMetrics() method. Simplified several calculations
8051 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8054 2004-12-16 Peter Bartok <pbartok@novell.com>
8056 * XplatUI.cs: Added GetFontMetrics() method
8057 * XplatUIDriver.cs: Added GetFontMetrics() abstract
8058 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8059 into libgdiplus, our private GetFontMetrics function
8060 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8061 * XplatUIWin32.cs: Implemented GetFontMetrics() method
8063 2004-12-16 Jackson Harper <jackson@ximain.com>
8065 * XplatUIStruct.cs: Add enum for dead keys
8066 * X11Keyboard.cs: Map and unmap dead keys.
8068 2004-12-16 Jackson Harper <jackson@ximian.com>
8070 * X11Keyboard.cs: Detect and use the num lock mask.
8072 2004-12-16 Peter Bartok <pbartok@novell.com>
8074 * Control.cs (CreateGraphics): Added check to make sure the
8075 handle of the window exists before calling Graphics.FromHwnd()
8077 2004-12-16 Peter Bartok <pbartok@novell.com>
8079 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8080 contains a lot of code that's not supposed to be there for the
8081 real thing, but required for developing/testing the textbox
8084 2004-12-16 Peter Bartok <pbartok@novell.com>
8087 - Fixed Streamline method
8088 - Added FindTag method to Line
8089 - Added DumpTree method for debugging
8090 - Added DecrementLines() method for deleting lines
8091 - Fixed UpdateView to update the cursor to end-of-line on single-line
8093 - Added PositionCaret() method
8094 - Fixed MoveCaret(LineDown) to move into the last line, too
8095 - Added InsertChar overload
8096 - Fixed InsertChar tag offset calculations
8097 - Added DeleteChar() method
8098 - Added Combine() method for folding lines
8099 - Fixed Delete() method, no longer allocates wasted Line object and
8100 now copies all properties when swapping nodes
8101 - Delete() method now updates document line counter
8103 2004-12-15 Jackson Harper <jackson@ximian.com>
8105 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8106 * X11Keyboard.cs: Expose the currently selected modifier keys
8109 2004-12-15 Peter Bartok <pbartok@novell.com>
8111 * TextControl.cs: Initial check-in. Still incomplete
8113 2004-12-15 Jackson Harper <jackson@ximian.com>
8116 * TreeView.cs: Fix build on csc (second time today ;-))
8118 2004-12-15 Jackson Harper <jackson@ximian.com>
8120 * TreeView.cs: Store the treenodes plus/minus box bounds when it
8121 is calculated and use this for click testing.
8122 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8124 2004-12-15 Jackson Harper <jackson@ximian.com>
8126 * TreeView.cs: Pass the nodes image index to the image list when
8129 2004-12-15 Jackson Harper <jackson@ximian.com>
8131 * X11Keyboard.cs: Set messages hwnd.
8132 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8135 2004-12-15 Jackson Harper <jackson@ximian.com>
8137 * X11Keyboard.cs: Fix to compile with csc.
8139 2004-12-15 Jackson Harper <jackson@ximian.com>
8141 * X11Structs.cs: Add key mask values
8142 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8143 * X11Keyboard.cs: New file - Extrapolates and interpolates key
8144 down/up foo into WM_CHAR foo
8145 * KeyboardLayouts.cs: Common keyboard layouts
8146 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
8147 post messages into the main queue.
8149 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
8151 * Button.cs: implement ProcessMnemonic
8152 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
8154 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
8155 * ButtonBase.cs: Show HotkeyPrefix (not the &)
8157 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
8159 * MonthCalendar.cs: Implemented click-hold for next/previous month
8162 2004-12-11 Peter Bartok <pbartok@novell.com>
8165 - Added XKeyboardState (moved from XplatUIX11.cs)
8166 - Added XCreateGC related enums and structures
8167 - Added GXFunction for XSetFunction
8169 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
8171 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
8172 CaretVisible() calls
8174 * ToolTip.cs: Added code to prevent stealing focus from app windows
8176 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
8177 DestroyCaret, SetCaretPos and CaretVisible)
8180 - Added implementation for caret functions
8181 - Moved hover variables into a struct, to make it a bit easier
8182 on the eyes and to debug
8183 - Removed XKeyboardState (moved to XplatUIX11.cs)
8184 - Moved Keyboard properties into the properties region
8186 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
8187 call to get a graphics context for our control
8189 * XplatUIOSX.cs: Added empty overrides for the new caret functions
8191 * TreeView.cs: Fixed bug. No matter what color was set it would always
8192 return SystemColors.Window
8194 * XplatUIWin32.cs: Implemented caret overrides
8196 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
8198 * ListBox.cs: fire events, implement missing methods and properties,
8201 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
8203 * MonthCalendar.cs: invalidation bug fixing
8204 * ThemeWin32Classic.cs: paint fixing
8206 2004-12-09 Geoff Norton <gnorton@customerdna.com>
8208 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
8209 prepare the CGContextRef there now.
8211 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
8214 - optimisationL only invalidate areas that have changed
8215 * ThemeWin32Classic.cs:
8216 - only paint parts that intersect with clip_area
8218 2004-12-09 Peter Bartok <pbartok@novell.com>
8220 * Application.cs: Undid changes from r37004 which cause problems
8223 2004-12-09 Ravindra <rkumar@novell.com>
8225 * ToolBar.cs: Added support for displaying ContextMenu
8226 attached to a button on ToolBar.
8227 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
8230 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8232 * Label.cs: autosize works in text change and removes unnecessary
8235 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
8237 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8240 2004-12-08 Geoff Norton <gnorton@customerdna.com>
8242 * XplatUIOSX.cs: Added mouse move/click/grab support
8243 Remove some debugging WriteLines not needed anymore.
8244 Add window resizing/positioning.
8245 Fix visibility on reparenting.
8247 2004-12-08 Peter Bartok <pbartok@novell.com>
8249 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
8251 2004-12-07 Geoff Norton <gnorton@customerdna.com>
8253 * XplatUIOSX.cs: Initial checkin
8254 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
8256 2004-12-03 Ravindra <rkumar@novell.com>
8258 * ListView.cs: Added some keybindings and fixed scrolling.
8259 ScrollBars listen to ValueChanged event instead of Scroll
8260 Event. This would let us take care of all changes being
8261 done in the scrollbars' values programmatically or manually.
8262 * ListView.cs (CanMultiselect): Added a check for shift key.
8263 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
8264 * ListViewItem.cs (Clone): Fixed. We need to make a copy
8265 of ListViewSubItemCollection as well.
8267 2004-12-06 Peter Bartok <pbartok@novell.com>
8269 * Control.cs (Parent): Added check and exception to prevent
8272 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
8274 * ListBox.cs: implemented clipping, selection single and multiple,
8277 2004-12-03 Ravindra <rkumar@novell.com>
8279 * ListView.cs (ListView_KeyDown):
8280 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
8281 when CTRL key is pressed.
8282 * ListViewItem.cs (Selected): Fixed setting the property.
8284 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8286 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
8288 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
8289 MinimizeBox, ShowInTaskbar, TopMost properties.
8291 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
8292 will be implemented).
8294 2004-12-03 Marek Safar <marek.safar@seznam.cz>
8296 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
8298 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
8301 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
8303 * TreeView.cs: BackColor is Colors.Window.
8305 2004-12-01 Jackson Harper <jackson@ximian.com>
8307 * TreeView.cs: When resizing the tree if the user is making it
8308 smaller we don't get expose events, so we need to handle adding
8309 the horizontal scrollbar in the size changed handler as well as
8312 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
8314 * DrawItemState.cs: fixes wrong enum values
8316 2004-12-01 Jackson Harper <jackson@ximian.com>
8318 * TreeView.cs: Resize the hbar as well as the vbar on resize.
8320 2004-12-01 Jackson Harper <jackson@ximian.com>
8322 * NodeLabelEditEventArgs.cs:
8323 * NodeLabelEditEventHandler.cs:
8324 * OpenTreeNodeEnumerator.cs:
8326 * TreeNodeCollection.cs:
8328 * TreeViewAction.cs:
8329 * TreeViewCancelEventArgs.cs:
8330 * TreeViewCancelEventHandler.cs:
8331 * TreeViewEventArgs.cs:
8332 * TreeViewEventHandler.cs: Initial implementation.
8334 2004-12-01 Ravindra <rkumar@novell.com>
8336 * ListView.cs (CalculateListView): Fixed scrolling related
8337 calculations. Also, removed some debug statements from other
8339 * ListViewItem.cs: Changed access to 'selected' instance variable
8340 from private to internal.
8341 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
8343 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
8345 * ThemeWin32Classic.cs: remove cache of brush and pens for
8346 specific controls and use the global system, fixes scrollbutton
8347 bugs (for small sizes, disabled, etc)
8349 * ScrollBar.cs: does not show the thumb for very small controls
8350 (as MS) and allow smaller buttons that the regular size
8352 2004-12-01 Miguel de Icaza <miguel@ximian.com>
8354 * UpDownBase.cs: Add abstract methods for the interface.
8355 Add new virtual methods (need to be hooked up to TextEntry when it
8357 Add override methods for most features.
8358 Computes the size, forces the height of the text entry.
8360 * NumericUpDown.cs: Put here the current testing code.
8362 * Set eol-style property on all files that do not have mixed line
8363 endings, to minimize the future problems. There are still a few
8364 files with mixed endings, and someone should choose whether they
8365 want to move it or not.
8367 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
8369 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
8372 2004-11-30 Ravindra <rkumar@novell.com>
8374 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
8375 drawing and replaced use of SystemColors by theme colors.
8376 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
8377 * ListView.cs (ListViewItemCollection.Add): Throw exception when
8378 same ListViewItem is being added more than once.
8380 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
8383 - ControlStyles love to make the control not flicker
8385 2004-11-30 Peter Bartok <pbartok@novell.com>
8387 * CharacterCasing.cs: Added
8389 2004-11-29 Peter Bartok <pbartok@novell.com>
8391 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8392 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
8393 I am removing these files as they conflict with already completed
8394 work. While it is fantastic to get contributions to MWF, I
8395 respectfully ask that everyone please coordinate their contributions
8396 through mono-winforms-list or #mono-winforms at this time. We're
8397 explicitly avoiding stubbing and don't want controls that don't have
8398 their basic functionality implemented in svn. Please also see
8399 http://www.mono-project.com/contributing/winforms.html
8402 2004-11-29 Marek Safar <marek.safar@seznam.cz>
8404 * Application.cs (ModalRun): Don't hang after exit.
8406 * Theme.cs: New TreeViewDefaultSize property.
8408 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
8409 with less hardcoded SystemColors constant.
8410 Implemented TreeViewDefaultSize.
8412 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
8413 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
8416 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
8419 - Fix NextMonthDate and PrevMonthDate click moving calendar
8421 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8424 - Fix usage of ScrollChange Property when scrolling months
8426 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
8428 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
8429 - Fixes menu destroying
8430 - Support adding and removing items on already created menus
8432 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
8435 - Re-worked all bolded dates handling to match win32
8436 * ThemeWin32Classic.cs:
8437 - Fixed rendering with bolded dates
8439 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
8441 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
8442 - Horizontal scroolbar
8447 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
8450 - Fix Usage of MaxSelectionCount from SelectionRange
8451 - Fixed Shift + Cursor Selection
8452 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
8453 - Fixed normal cursor selection to be compat with win32
8454 - Fixed Shift + Mouse Click selection
8456 2004-11-24 Peter Bartok <pbartok@novell.com>
8458 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
8459 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
8461 - CreatedKeyBoardMsg now updates keystate with Alt key
8462 - Added workaround for timer crash to CheckTimers, Jackson will
8463 develop a proper fix and check in later
8464 - Implemented DispatchMessage
8465 - Removed calling the native window proc from GetMessage (call
8466 now moved to DispatchMessage)
8468 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
8469 the keydata (Fixes bug #69831)
8472 - (DispatchMessage): Switched to return IntPtr
8473 - Added DllImport for SetFocus
8475 2004-11-24 Ravindra <rkumar@novell.com>
8477 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
8479 * ListViewItem.cs: Fixed various properties, calculations
8480 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
8481 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
8482 and some internal properties. Fixed MouseDown handler and Paint
8485 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8487 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
8489 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8491 * ContainerControl.cs: correct accidental check in of local changes
8493 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
8495 * ThemeWin32Classic.cs:
8496 - Fixed Drawing Last month in grid (sometimes not showing)
8498 - Fixed title width calculation bug (makeing title small)
8500 2004-11-23 Peter Bartok <pbartok@novell.com>
8503 - Added generation of WM_MOUSEHOVER event
8504 - Added missing assignment of async_method atom
8505 - Fixed WM_ERASEBKGND; now only redraws the exposed area
8507 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8509 * ThemeWin32Classic.cs:
8510 - Fixed Drawing of today circle when showtodaycircle not set
8511 - fixed drawing of first and last month in the grid (gay dates)
8513 - Fixed Drawing of today circle
8514 - Fixed drawing of grady dates
8515 - Fixed HitTest for today link when ShowToday set to false
8516 - Fixed DefaultSize to obey ShowToday
8518 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
8520 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
8521 * System.Windows.Forms/Theme.cs
8522 * MonthCalendar.cs: added for MonthCalendar
8523 * SelectionRange.cs: added for MonthCalendar
8524 * Day.cs: added for MonthCalendar: added for MonthCalendar
8525 * DateRangeEventArgs.cs: added for MonthCalendar
8526 * DateRangeEventHandler.cs: added for MonthCalendar
8528 2004-11-22 Ravindra <rkumar@novell.com>
8530 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
8533 2004-11-22 Miguel de Icaza <miguel@ximian.com>
8535 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
8538 * NumericUpDown.cs: Added new implementation.
8539 * UpDownBase.cs: Added new implementation.
8541 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
8544 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
8547 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
8550 2004-11-21 Miguel de Icaza <miguel@ximian.com>
8552 * Timer.cs (Dispose): Should call the base dispose when
8555 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8557 * ScrollBar.cs: updates thumb position when max, min or increment
8560 2004-11-21 Ravindra <rkumar@novell.com>
8562 * ListView.cs: Implemented item selection, activation and
8563 column header style. Fixed properties to do a redraw, if
8564 required. Added support for MouseHover, DoubleClick, KeyDown
8565 and KeyUp event handling and some minor fixes.
8566 * ListViewItem.cs: Fixed constructor.
8567 * ThemeWin32Classic.cs: Improved drawing for ListView.
8569 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
8571 * ThemeWin32Classic.cs: initial listbox drawing code
8572 * DrawMode.cs: new enumerator
8573 * ListControl.cs: stubbed class
8574 * ListBox.cs: initial implementation
8575 * Theme.cs: new methods definitions
8576 * SelectionMode.cs: new enumerator
8578 2004-11-17 Peter Bartok <pbartok@novell.com>
8580 * XplatUIWin32.cs: Added double-click events to the class style
8581 * Control.cs (WndProc):
8582 - Added handling of click-count to MouseDown/ MouseUp events.
8583 - Added handling of middle and right mouse buttons
8584 - Removed old debug code
8586 2004-11-17 Jackson Harper <jackson@ximian.com>
8588 * XplatUIX11.cs: Use the new Mono.Unix namespace.
8590 2004-11-17 Ravindra <rkumar@novell.com>
8592 * ListView.cs: Added event handling for MouseMove/Up/Down.
8593 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
8594 * ThemeWin32Classic.cs: We need to clear the graphics context and
8595 draw column header in a proper state.
8598 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
8600 * Menu.cs: fixes signature
8602 2004-11-16 Peter Bartok <pbartok@novell.com>
8604 * XplatUIX11.cs (GetMessage): Implemented generation of
8605 double click mouse messages
8607 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
8609 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
8612 2004-11-11 Peter Bartok <pbartok@novell.com>
8614 * HandleData.cs: Added Visible property
8615 * XplatUIX11.cs (IsVisible): Now uses Visible property from
8617 * XplatUIX11.cs: Removed old debug leftovers
8618 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
8619 * Control.cs (WndProc): Removed old debug leftovers,
8620 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
8621 needed WM_SIZE handling
8623 2004-11-11 Jackson Harper <jackson@ximian.com>
8625 * OwnerDrawPropertyBag.cs:
8626 * TreeViewImageIndexConverter.cs: Initial implementation
8628 2004-11-10 Jackson Harper <jackson@ximian.com>
8630 * ThemeWin32Classic.cs:
8631 * TabControl.cs: instead of moving tabs by the slider pos just
8632 start drawing at the tab that is offset by the slider. This way
8633 scrolling always moves by exactly one tab.
8635 2004-11-10 Jackson Harper <jackson@ximian.com>
8637 * TabControl.cs: You can only scroll left when the slider has
8638 already ben moved right.
8640 2004-11-10 Jackson Harper <jackson@ximian.com>
8642 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
8645 2004-11-10 Jackson Harper <jackson@ximian.com>
8647 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
8650 2004-11-09 Jackson Harper <jackson@ximian.com>
8652 * TabControl.cs (CalcXPos): New helper method so we can determine
8653 the proper place to start drawing vertical tabs.
8654 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
8656 2004-11-09 Jackson Harper <jackson@ximian.com>
8658 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
8659 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
8660 and Bottom, left and right are illegal values for this and
8661 multiline is enabled when the alignment is set to left or right.
8662 (DrawTab): Each alignment block should draw the text itself now
8663 because Left requires special love. Also add rendering for Left
8666 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
8668 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
8669 does not destroy the windows, removes debugging messages
8671 2004-11-09 jba <jba-mono@optusnet.com.au>
8673 * ThemeWin32Classic.cs
8674 (DrawButtonBase): Fix verticle text rect clipping in windows
8675 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8676 rendering and incorrect text rect clipping
8677 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
8678 rendering and incorrect text rect clipping
8680 2004-11-08 Jackson Harper <jackson@ximian.com>
8682 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
8683 bottom when they are bottom aligned so the bottoms of the tabs get
8685 * TabControl.cs (DropRow): Move rows up instead of down when the
8686 tab control is bottom aligned.
8688 2004-11-08 13:59 pbartok
8691 - Added handling for various window styles
8692 - Added handling for popup windows
8693 - Added SetTopmost handling
8695 2004-11-08 13:55 pbartok
8698 - Added argument to SetTopmost method
8699 - Fixed broken ClientToScreen function
8701 2004-11-08 13:53 pbartok
8703 * XplatUIStructs.cs:
8704 - Added missing WS_EX styles
8706 2004-11-08 13:53 pbartok
8708 * XplatUI.cs, XplatUIDriver.cs:
8709 - Added argument to SetTopmost
8711 2004-11-08 13:52 pbartok
8714 - Added XSetWindowAttributes structure
8715 - Improved XWindowAttributes structure
8716 - Added SetWindowValuemask enum
8717 - Added window creation arguments enum
8718 - Added gravity enum
8719 - Added Motif hints structure
8720 - Added various Motif flags and enums
8721 - Added PropertyMode enum for property functions
8723 2004-11-08 13:50 pbartok
8726 - Fixed arguments for updated SetTopmost method
8728 2004-11-08 13:49 pbartok
8731 - Fixed arguments for updated SetTopmost function
8732 - Fixed usage of PointToClient
8734 2004-11-08 13:44 pbartok
8737 - Added Clipping of children and siblings
8739 2004-11-08 13:41 pbartok
8742 - Removed SetMenuBarWindow call. We do this in Form.cs
8744 2004-11-08 13:40 jackson
8746 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
8747 scrolling jimmi in the correct location with bottom aligned tabs
8749 2004-11-08 13:36 pbartok
8751 * ContainerControl.cs:
8752 - Implemented BindingContext
8753 - Implemented ParentForm
8755 2004-11-08 12:46 jackson
8757 * TabControl.cs: Put bottom rendered tabs in the right location
8759 2004-11-08 07:15 jordi
8761 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
8764 2004-11-05 17:30 jackson
8766 * TabControl.cs: When selected tabs are expanded make sure they
8767 don't go beyond the edges of the tab control
8769 2004-11-05 14:57 jackson
8771 * TabControl.cs: Reset show_slider so if the control is resized to
8772 a size where it is no longer needed it's not displayed anymore
8774 2004-11-05 13:16 jackson
8776 * TabControl.cs: Make tab pages non visible when added to the
8779 2004-11-05 12:42 jackson
8781 * TabControl.cs: Implement SizeMode.FillToRight
8783 2004-11-05 12:16 jackson
8785 * Control.cs: Do not call CreateHandle if the handle is already
8788 2004-11-05 11:46 jackson
8790 * TabControl.cs: Remove superflous call to CalcTabRows
8792 2004-11-05 09:07 jackson
8794 * XplatUIX11.cs: Update for Mono.Posix changes
8796 2004-11-05 07:00 ravindra
8798 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
8801 2004-11-04 22:47 jba
8803 * ThemeWin32Classic.cs:
8804 - Fix Button rendering for FlatStyle = Flat or Popup
8805 - Fix RadioButton and CheckBox rendering when Appearance = Button
8806 (normal and flatstyle).
8807 - Correct outer rectangle color when drawing focus rectangle
8808 - Adjust button bounds to be 1 px smaller when focused
8809 - Make button not draw sunken 3d border when pushed (windows compat)
8810 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
8811 - Offset the text in RadioButton and Checkbox when being rendered as
8813 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
8815 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
8816 - Fixed disabled text rendering for normally rendered radiobuttons
8818 2004-11-04 10:26 jackson
8820 * TabControl.cs: Recalculate tab rows when resizing
8822 2004-11-04 07:47 jordi
8824 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
8825 collection completion, drawing issues, missing features
8827 2004-11-04 05:03 ravindra
8830 - We need to recalculate the Thumb area when
8831 LargeChange/maximum/minimum values are changed.
8832 - We set the 'pos' in UpdatePos() method to minimum, if it's less
8833 than minimum. This is required to handle the case if large_change is
8834 more than max, and use LargeChange property instead of large_change
8836 - We return max+1 when large_change is more than max, like MS does.
8838 2004-11-04 04:29 ravindra
8840 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
8841 - Changed default value signatures (prefixed all with ListView).
8842 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
8844 - Fixed calculations for ListViewItem and implemented Clone()
8847 2004-11-04 04:26 ravindra
8849 * Theme.cs, ThemeWin32Classic.cs:
8850 - Changed default ListView values signatures (prefixed all with
8852 - Fixed default size values for VScrollBar and HScrollBar.
8853 - Fixed DrawListViewItem method.
8855 2004-11-04 04:05 ravindra
8857 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
8859 2004-11-04 04:04 ravindra
8861 * ImageList.cs: Implemented the missing overload for Draw method.
8863 2004-11-03 19:29 jackson
8865 * TabControl.cs: Handle dropping rows on selection properly
8867 2004-11-03 11:59 jackson
8869 * TabControl.cs: remove debug code
8871 2004-11-03 11:52 jackson
8873 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
8874 the scrolly widgerywoo
8876 2004-11-02 13:52 jackson
8878 * TabControl.cs: Resize the tab pages and tabs when the tab control
8881 2004-11-02 13:40 jackson
8883 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
8884 selected tab to the bottom
8886 2004-11-02 13:39 jackson
8888 * TabPage.cs: Store the tab pages row
8890 2004-11-02 12:33 jordi
8892 * MenuItem.cs: fixes handle creation
8894 2004-11-02 11:42 jackson
8896 * TabControl.cs: signature fix
8898 2004-11-02 08:56 jackson
8900 * TabControl.cs: Calculate whether the tab is on an edge properly.
8901 Remove top secret debugging code
8903 2004-11-01 19:57 jackson
8905 * TabControl.cs: Add click handling, and proper sizing
8907 2004-11-01 19:47 jackson
8909 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
8912 2004-11-01 19:39 jackson
8914 * TabPage.cs: add internal property to store the bounds of a tab
8917 2004-10-30 04:23 ravindra
8919 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
8922 2004-10-30 04:21 ravindra
8924 * ListView.cs, ListViewItem.cs: Added support for scrolling and
8927 2004-10-30 03:06 pbartok
8930 - Removed extension of DllImported libs
8932 2004-10-29 09:55 jordi
8934 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
8935 navigation, itemcollection completion, menu fixes
8937 2004-10-27 22:58 pbartok
8940 - Now throws a nice error message when no X display could be opened
8942 2004-10-26 13:51 jordi
8944 * ListView.cs: removes warning
8946 2004-10-26 03:55 ravindra
8948 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
8949 ThemeWin32Classic.cs: Some formatting for my last checkins.
8951 2004-10-26 03:36 ravindra
8953 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
8954 control and default values.
8956 2004-10-26 03:35 ravindra
8958 * Theme.cs: Added some default values for ListView control.
8960 2004-10-26 03:33 ravindra
8962 * ToolBar.cs: ToolBar should use the user specified button size, if
8963 there is any. Added a size_specified flag for the same.
8965 2004-10-26 03:33 ravindra
8967 * ColumnHeader.cs: Added some internal members and calculations for
8970 2004-10-26 03:32 ravindra
8972 * ListViewItem.cs: Calculations for ListViewItem.
8974 2004-10-26 03:31 ravindra
8976 * ListView.cs: Added some internal members and calculations for
8979 2004-10-22 13:31 jordi
8981 * MenuAPI.cs: speedup menus drawing
8983 2004-10-22 13:16 jackson
8985 * XplatUIX11.cs: Make sure to update exposed regions when adding an
8988 2004-10-22 11:49 jackson
8992 2004-10-22 11:41 jackson
8994 * Control.cs: Check to see if the window should have its background
8995 repainted by X when drawing.
8997 2004-10-22 11:31 jackson
8999 * XplatUIX11.cs: When invalidating areas only use XClearArea if
9000 clear is true, this way we do not get flicker from X repainting the
9003 2004-10-22 11:28 jackson
9005 * XEventQueue.cs: Queue properly
9007 2004-10-21 09:38 jackson
9009 * XEventQueue.cs: Fix access modifier
9011 2004-10-21 09:36 jackson
9013 * XEventQueue.cs: Don't loose messages
9015 2004-10-21 09:22 jackson
9017 * XEventQueue.cs: Don't loose messages
9019 2004-10-20 04:15 jordi
9021 * BootMode.cs: enum need it by SystemInfo
9023 2004-10-19 21:58 pbartok
9026 - Small sanity check
9028 2004-10-19 21:56 pbartok
9031 - Added private FormParentWindow class which acts as the container
9032 for our form and as the non-client area where menus are drawn
9033 - Added/Moved required tie-ins to Jordi's menus
9034 - Fixed/Implemented the FormStartPosition functionality
9036 2004-10-19 21:52 pbartok
9039 - Removed unneeded locals
9040 - Added code to all size and location properties to understand and
9041 deal with the parent container of Form
9043 2004-10-19 21:33 pbartok
9046 - Fixed to deal with new Form subclasses for menus
9048 2004-10-19 17:48 jackson
9050 * XEventQueue.cs: commit correct version of file
9052 2004-10-19 16:50 jackson
9054 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9056 2004-10-19 16:15 jordi
9058 * MenuAPI.cs: MenuBarCalcSize returns the height
9060 2004-10-19 08:31 pbartok
9063 - Added missing call to PreProcessMessage before calling OnXXXKey
9066 2004-10-19 00:04 ravindra
9068 * ToolTip.cs: Fixed constructor.
9070 2004-10-18 09:31 jordi
9072 * MenuAPI.cs: menuitems in menubars do not have shortcuts
9074 2004-10-18 09:26 jordi
9076 * MenuItem.cs: fixes MenuItem class signature
9078 2004-10-18 08:56 jordi
9080 * MenuAPI.cs: prevents windows from showing in the taskbar
9082 2004-10-18 00:28 ravindra
9084 * ToolTip.cs: Suppressed a warning message.
9086 2004-10-18 00:27 ravindra
9088 * Control.cs: Default value of visible property must be true.
9090 2004-10-17 23:19 pbartok
9093 - Complete implementation
9095 2004-10-17 23:19 pbartok
9098 - Added EnableWindow method
9099 - Added SetModal stub
9100 - Added generation of WM_ACTIVATE message (still needs testing)
9101 - Added SetTopMost stub
9102 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9104 2004-10-17 23:17 pbartok
9107 - Removed VirtualKeys to XplatUIStructs
9108 - Implemented SetTopMost method
9109 - Implemented EnableWindow method
9110 - Bugfix in ScreenToClient()
9111 - Bugfixes in ClientToScreen()
9113 2004-10-17 22:51 pbartok
9115 * XplatUIStructs.cs:
9116 - Added WS_EX styles to WindowStyles enumeration
9118 2004-10-17 22:50 pbartok
9120 * XplatUI.cs, XplatUIDriver.cs:
9121 - Added method for enabling/disabling windows
9122 - Added method for setting window modality
9123 - Added method for setting topmost window
9125 2004-10-17 22:49 pbartok
9127 * ThemeWin32Classic.cs:
9128 - Added ToolTip drawing code
9130 2004-10-17 22:49 pbartok
9133 - Added ToolTip abstracts
9135 2004-10-17 22:47 pbartok
9138 - Fixed Form.ControlCollection to handle owner relations
9139 - Added Owner/OwnedForms handling
9140 - Implemented Z-Ordering for owned forms
9141 - Removed unneeded private overload of ShowDialog
9142 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
9144 - Fixed Close(), had wrong default
9145 - Added firing of OnLoad event
9146 - Added some commented out debug code for Ownership handling
9148 2004-10-17 22:16 pbartok
9151 - Fixed/implemented flat list of controls
9153 2004-10-17 22:14 pbartok
9156 - Added code to simulate modal dialogs on Win32
9158 2004-10-17 16:11 jordi
9160 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
9163 2004-10-17 13:39 jordi
9165 * MenuAPI.cs: menu drawing fixes
9167 2004-10-15 09:10 ravindra
9169 * StructFormat.cs: General Enum.
9171 2004-10-15 09:09 ravindra
9173 * SizeGripStyle.cs: Enum for Form.
9175 2004-10-15 09:08 ravindra
9177 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
9178 in Theme for ListView.
9180 2004-10-15 09:06 ravindra
9182 * ColumnHeader.cs: Flushing some formatting changes.
9184 2004-10-15 09:05 ravindra
9186 * ListViewItem.cs: Implemented GetBounds method and fixed coding
9189 2004-10-15 09:03 ravindra
9191 * ListView.cs: Implemented Paint method and fixed coding style.
9193 2004-10-15 07:34 jordi
9195 * MenuAPI.cs: fix for X11
9197 2004-10-15 07:32 ravindra
9199 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
9200 - Renamed Paint() method to Draw() for clarity. Also, moved
9201 DrawImage() to OnPaint().
9203 2004-10-15 07:25 ravindra
9205 * CheckBox.cs, RadioButton.cs:
9206 - Removed Redraw (), we get it from ButtonBase.
9207 - Implemented Paint (), to do class specific painting.
9209 2004-10-15 07:16 ravindra
9212 - Redraw () is not virtual now.
9213 - Added an internal virtual method Paint (), so that
9214 derived classes can do their painting on their own.
9215 - Modified OnPaint () to call Paint ().
9217 2004-10-15 06:43 jordi
9219 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
9220 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
9222 2004-10-15 00:30 ravindra
9225 - MessageBox on windows does not have min/max buttons.
9226 This change in CreateParams fixes this on Windows. We
9227 still need to implement this windowstyle behavior in
9230 2004-10-14 05:14 ravindra
9233 - Changed Redraw () to do a Refresh () always.
9234 - Fixed the MouseMove event handling when mouse is pressed,
9235 ie drag event handling.
9236 - Replaced the usage of ToolBarButton.Pressed property to
9237 ToolBarButton.pressed internal variable.
9239 2004-10-14 05:10 ravindra
9242 - Added an internal member 'inside' to handle mouse move
9243 with mouse pressed ie mouse drag event.
9244 - Changed 'Pressed' property to return true only when
9245 'inside' and 'pressed' are both true.
9246 - Some coding style love.
9248 2004-10-14 00:17 ravindra
9250 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
9253 2004-10-14 00:15 ravindra
9255 * ButtonBase.cs: Redraw () related improvements.
9257 2004-10-14 00:14 ravindra
9259 * MessageBox.cs: Moved InitFormSize () out of Paint method and
9260 removed unnecessary calls to Button.Show () method.
9262 2004-10-13 17:50 pbartok
9266 - Removed destroying of window until we solve the problem of X
9267 destroying the window before us on shutdown
9269 2004-10-13 16:32 pbartok
9272 - Now Redraws on MouseUp for FlatStyle Flat and Popup
9274 2004-10-13 14:18 pbartok
9277 - Added code to destroy the X window
9279 2004-10-13 14:18 pbartok
9282 - Added code to destroy a window
9284 2004-10-13 14:12 pbartok
9287 - Added the Redraw on Resize that got dropped in the last rev
9289 2004-10-13 09:06 pbartok
9291 * ThemeWin32Classic.cs:
9292 - Path from John BouAntoun:
9293 * Fix check rendering (centre correctly for normal style, offset
9294 correctly for FlatStyle).
9295 * Fix border color usage (use backcolor) for FlatStyle.Popup
9296 * Use checkbox.Capture instead of checkbox.is_pressed when
9297 rendering flatstyle states.
9299 2004-10-12 21:48 pbartok
9301 * ThemeWin32Classic.cs:
9302 - Removed all occurences of SystemColors and replaced them with the
9303 matching theme color
9305 2004-10-12 21:41 pbartok
9307 * ThemeWin32Classic.cs:
9308 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
9309 him using the function for flatstyle drawing
9310 - Changed functions to use the new version of CPDrawBorder3D
9312 2004-10-12 21:15 pbartok
9315 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
9316 match MS documentation. They need to return defined colors if the
9317 passed color matches the configured control color. Thanks to John
9318 BouAntoun for pointing this out.
9320 2004-10-12 20:57 pbartok
9323 - Fix from John BouAntoun: Raise ForeColorChanged event when text
9326 2004-10-12 20:46 pbartok
9329 - Fix from John BouAntoun: Now properly sets the Appearance property
9331 2004-10-12 20:45 pbartok
9333 * ThemeWin32Classic.cs:
9334 - Fixes from John BouAntoun: now handles forecolors and backcolors
9335 for flatstyle rendered controls much better; It also fixes normal
9336 checkbox rendering when pushed or disabled.
9338 2004-10-08 02:50 jordi
9340 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
9343 2004-10-07 08:56 jordi
9345 * ThemeWin32Classic.cs: Removes deletion of cached brushes
9347 2004-10-06 03:59 jordi
9349 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
9350 XplatUIWin32.cs: removes warnings from compilation
9352 2004-10-05 12:23 jackson
9354 * RadioButton.cs: Fix ctor
9356 2004-10-05 11:10 pbartok
9359 - Partial implementation by Benjamin Dasnois
9361 2004-10-05 10:15 jackson
9363 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
9366 2004-10-05 03:07 ravindra
9369 - Removed a private method, Draw ().
9370 - Fixed the ButtonDropDown event handling.
9371 - Fixed MouseMove event handling.
9373 2004-10-05 03:04 ravindra
9375 * ThemeWin32Classic.cs:
9376 - Added DrawListView method and ListViewDefaultSize property.
9377 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
9378 - Changed DOS style CRLF to Unix format (dos2unix).
9380 2004-10-05 03:03 ravindra
9383 - Added DrawListView method and ListViewDefaultSize property.
9385 2004-10-05 02:42 ravindra
9387 * ToolBarButton.cs: Added an internal member dd_pressed to handle
9388 clicks on DropDown arrow.
9390 2004-10-04 22:56 jackson
9392 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
9393 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
9394 Control handle the buffers, derived classes should not have to
9395 CreateBuffers themselves.
9397 2004-10-04 21:20 jackson
9399 * StatusBar.cs: The control handles resizing the buffers now.
9401 2004-10-04 21:18 jackson
9403 * Control.cs: When resizing the buffers should be invalidated. This
9404 should be handled in Control not in derived classes.
9406 2004-10-04 14:45 jackson
9410 2004-10-04 02:14 pbartok
9412 * LeftRightAlignment.cs:
9415 2004-10-04 01:09 jordi
9417 * ThemeWin32Classic.cs: fixes right button position causing right
9418 button not showing on horizontal scrollbars
9420 2004-10-02 13:12 pbartok
9423 - Simplified the Invalidate method by using an X call instead of
9424 generating the expose ourselves
9425 - Added an expose when the window background is changed
9426 - Implemented ClientToScreen method
9428 2004-10-02 13:08 pbartok
9431 - Added Win32EnableWindow method (test for implementing modal
9433 - Added ClientToScreen method and imports
9435 2004-10-02 13:07 pbartok
9437 * XplatUI.cs, XplatUIDriver.cs:
9438 - Added ClientToScreen coordinate translation method
9440 2004-10-02 13:06 pbartok
9442 * KeyPressEventArgs.cs:
9443 - Fixed access level for constructor
9445 2004-10-02 13:06 pbartok
9448 - Changed access level for the window_collection hash table
9450 2004-10-02 13:05 pbartok
9453 - Added KeyPreview property
9454 - Added Menu property (still incomplete, pending Jordi's menu work)
9455 - Implemented ProcessCmdKey
9456 - Implemented ProcessDialogKey
9457 - Implemented ProcessKeyPreview
9459 2004-10-02 13:02 pbartok
9462 - Added private method to get the Control object from the window
9464 - Implemented ContextMenu property
9465 - Implemented PointToScreen
9466 - Implemented PreProcessMessage
9467 - Implemented IsInputChar
9468 - Implemented IsInputKey
9469 - Implemented ProcessCmdKey
9470 - Completed ProcessKeyEventArgs
9471 - Fixed message loop to call the proper chain of functions on key
9473 - Implemented ProcessDialogChar
9474 - Implemented ProcessDialogKey
9475 - Implemented ProcessKeyMessage
9476 - Implemented ProcessKeyPreview
9477 - Added RaiseDragEvent stub (MS internal method)
9478 - Added RaiseKeyEvent stub (MS internal method)
9479 - Added RaiseMouseEvent stub (MS Internal method)
9480 - Added RaisePaintEvent stub (MS Internal method)
9481 - Added ResetMouseEventArgs stub (MS Internal method)
9482 - Implemented RtlTranslateAlignment
9483 - Implemented RtlTranslateContent
9484 - Implemented RtlTranslateHorizontal
9485 - Implemented RtlTranslateLeftRight
9486 - Added generation of KeyPress event
9488 2004-10-02 05:57 ravindra
9490 * ListViewItem.cs: Added attributes.
9492 2004-10-02 05:32 ravindra
9494 * ListView.cs: Added attributes.
9496 2004-10-01 11:53 jackson
9498 * Form.cs: Implement the Close method so work on MessageBox can
9501 2004-09-30 14:06 pbartok
9506 2004-09-30 11:34 jackson
9508 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
9510 2004-09-30 07:26 ravindra
9512 * ListViewItemConverter.cs: Converter for ListViewItem.
9514 2004-09-30 07:26 ravindra
9516 * SortOrder.cs: Enum for ListView control.
9518 2004-09-30 07:25 ravindra
9520 * ColumnHeader.cs: Supporting class for ListView control.
9522 2004-09-30 07:24 ravindra
9524 * ListView.cs, ListViewItem.cs: Initial implementation.
9526 2004-09-30 07:20 ravindra
9528 * ItemActivation.cs: Enum for ListView Control.
9530 2004-09-29 20:29 pbartok
9533 - Added lookup of pixel value for background color; tries to get a
9534 color 'close' to the requested color, it avoids having to create a
9535 colormap. Depending on the display this could mean the used color
9536 is slightly off the desired color. Might have to change it to a more
9537 resource intensive colormap approach, but it will work as a
9538 workaround to avoid red screens.
9540 2004-09-29 14:27 jackson
9542 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
9544 2004-09-28 12:44 pbartok
9546 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
9547 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
9548 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
9549 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
9550 TrackBar.cs, VScrollBar.cs:
9551 - Streamlined Theme interfaces:
9552 * Each DrawXXX method for a control now is passed the object for
9553 the control to be drawn in order to allow accessing any state the
9556 * ControlPaint methods for the theme now have a CP prefix to avoid
9557 name clashes with the Draw methods for controls
9559 * Every control now retrieves it's DefaultSize from the current
9562 2004-09-28 12:17 jackson
9564 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
9567 2004-09-24 14:57 jackson
9569 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
9570 Gives us a nice little performance boost.
9572 2004-09-24 12:02 jackson
9574 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
9575 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
9576 Control and supporting classes. Initial checkin
9578 2004-09-23 13:08 jackson
9580 * Form.cs: Temp build fixage
9582 2004-09-23 01:39 ravindra
9584 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
9585 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
9586 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
9587 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
9588 EventHandlers needed by ListView Control.
9590 2004-09-22 14:12 pbartok
9592 * ScrollableControl.cs:
9593 - Implemented DockPadding property
9594 - Implemented AutoScroll property
9595 - Implemented AutoScrollMargin property
9596 - Implemented AutoScrollMinSize property
9597 - Implemented AutoScrollPosition property
9598 - Implemented DisplayRectangle property (still incomplete)
9599 - Implemented CreateParams property
9600 - Implemented HScroll property
9601 - Implemented VScroll property
9602 - Implemented OnVisibleChanged property
9604 2004-09-22 14:09 pbartok
9607 - Added Form.ControllCollection class
9608 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
9609 RemoveOwnedForm (still incomplete, missing on-top and common
9610 minimize/maximize behaviour)
9611 - Added StartPosition property (still incomplete, does not use when
9613 - Added ShowDialog() methods (still incomplete, missing forcing the
9616 2004-09-22 14:05 pbartok
9619 - Added message loop for modal dialogs
9621 2004-09-22 14:02 pbartok
9624 - Fixed wrong types for events
9626 2004-09-22 14:00 pbartok
9628 * Shortcut.cs, FormWindowState.cs:
9629 - Fixed wrong values
9631 2004-09-22 12:01 jackson
9633 * Control.cs: Text is never null
9635 2004-09-20 22:14 pbartok
9638 - Fixed accessibility level for Idle handler
9640 2004-09-20 18:54 jackson
9642 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9643 XplatUIX11.cs: New message loop that uses poll so we don't get a
9646 2004-09-17 10:43 pbartok
9649 - Fixed behaviour of arrow buttons. Now properly behaves like
9650 Buttons (and like Microsoft's scrollbar arrow buttons)
9652 2004-09-17 10:14 pbartok
9655 - Added missing release of keyboard/mouse capture
9657 2004-09-17 06:18 jordi
9659 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
9660 Theme.cs: Very early menu support
9662 2004-09-16 17:45 pbartok
9665 - Fixed sending a window to the front
9666 - Added overload for SetWindowPos to avoid casting
9668 2004-09-16 17:44 pbartok
9671 - Added SendToBack and BringToFront methods
9673 2004-09-16 07:00 ravindra
9675 * Copyright: Added Novell URL.
9677 2004-09-16 07:00 ravindra
9679 * ToolBar.cs: Invalidate should be done before redrawing.
9681 2004-09-15 21:19 ravindra
9683 * ColumnHeaderStyle.cs: Enum for ListView Control.
9685 2004-09-15 21:18 ravindra
9687 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
9690 2004-09-13 18:26 jackson
9692 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
9695 2004-09-13 18:13 jackson
9697 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
9698 a second thread and post messages into the main threads message
9699 queue. This makes timing much more consistent. Both win2K and XP
9700 have a minimum timer value of 15 milliseconds, so we now do this
9703 2004-09-13 15:18 pbartok
9705 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
9707 - Added Z-Ordering methods
9709 2004-09-13 10:56 pbartok
9712 - Fixed #region names
9713 - Moved properties and methods into their proper #regions
9715 2004-09-13 10:51 pbartok
9718 - Added Accept and CancelButton properties
9719 - Added ProcessDialogKey() method
9721 2004-09-13 08:18 pbartok
9726 2004-09-10 21:50 pbartok
9729 - Added DoDragDrop() [incomplete]
9730 - Properly implemented 'Visible' handling
9731 - Added SetVisibleCore()
9732 - Implemented FindChildAtPoint()
9733 - Implemented GetContainerControl()
9734 - Implemented Hide()
9736 2004-09-10 19:28 pbartok
9739 - Moved methods into their appropriate #regions
9740 - Reordered methods within regions alphabetically
9742 2004-09-10 18:57 pbartok
9744 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
9745 - Added method to retrieve text from window
9747 2004-09-10 18:56 pbartok
9750 - Moved some internal functions into the internal region
9751 - Implemented FontHeight
9752 - Implemented RenderRightToLeft
9753 - Implemented ResizeRedraw
9754 - Implemented ShowFocusCues
9755 - Implemented ShowKeyboardCues
9756 - Implemented FromChildHandle
9757 - Implemented FromHandle
9758 - Implemented IsMnemonic
9759 - Implemented ReflectMessage
9760 - All public and protected Static Methods are now complete
9762 2004-09-10 16:54 pbartok
9765 - Implemented remaining missing public instance properties
9766 - Alphabetized some out of order properties
9768 2004-09-10 05:51 ravindra
9770 * PictureBox.cs: Added a check for null image.
9772 2004-09-10 00:59 jordi
9774 * GroupBox.cs: remove cvs tag
9776 2004-09-09 05:25 ravindra
9778 * ToolBar.cs: Make redraw accessible from ToolBarButton.
9780 2004-09-09 05:23 ravindra
9782 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
9785 2004-09-09 02:28 pbartok
9787 * ThemeWin32Classic.cs:
9788 - Improve disabled string look
9790 2004-09-09 01:15 jordi
9792 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
9795 2004-09-08 23:56 ravindra
9797 * ItemBoundsPortion.cs: It's enum, not a class!
9799 2004-09-08 23:47 ravindra
9801 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
9804 2004-09-08 21:13 ravindra
9806 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
9809 2004-09-08 21:03 ravindra
9811 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
9814 2004-09-08 21:01 ravindra
9816 * ScrollableControl.cs: Removed unreachable code.
9818 2004-09-08 06:45 jordi
9820 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
9822 2004-09-08 01:00 jackson
9824 * XplatUIX11.cs: Only run the timers when updating the message
9825 queue. This effectively gives X messages a higher priority then
9826 timer messages. Timers still need love though
9828 2004-09-07 14:01 jackson
9830 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
9831 this for us and the handle is no longer valid.
9833 2004-09-07 13:59 jackson
9835 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
9836 loop that manages to not crash. TODO: Add poll and cleanup timers
9838 2004-09-07 11:12 jordi
9840 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
9842 2004-09-07 03:40 jordi
9844 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
9845 fixes, methods, multiple links
9847 2004-09-06 06:55 jordi
9849 * Control.cs: Caches ClientRectangle rectangle value
9851 2004-09-05 02:03 jordi
9853 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
9856 2004-09-04 11:10 jordi
9858 * Label.cs: Refresh when font changed
9860 2004-09-02 16:24 pbartok
9863 - Added sanity check to creation of double buffer bitmap
9865 2004-09-02 16:24 pbartok
9868 - Fixed selection of text color
9869 - Fixed handling of resize event; now properly recreates double
9871 - Added missing assignment of TextAlignment
9872 - Added proper default for TextAlignment
9874 2004-09-02 14:26 pbartok
9877 - Added missing RadioButton.RadioButtonAccessibleObject class
9879 2004-09-02 14:26 pbartok
9882 - Added missing Control.ControlAccessibleObject class
9883 - Started to implement Select()ion mechanisms, still very incomplete
9885 2004-09-02 14:25 pbartok
9887 * AccessibleObject.cs:
9888 - Added missing methods
9890 2004-09-02 14:23 pbartok
9892 * AccessibleNavigation.cs, AccessibleSelection.cs:
9895 2004-09-02 10:32 jordi
9897 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
9898 pool for pens, brushes, and hatchbruses
9900 2004-09-01 15:30 jackson
9902 * StatusBar.cs: Fix typo
9904 2004-09-01 14:44 pbartok
9909 2004-09-01 14:39 pbartok
9911 * Button.cs, RadioButton.cs:
9912 - Functional initial check-in
9914 2004-09-01 14:01 pbartok
9917 - Added missing default
9918 - Added missing region mark
9920 2004-09-01 09:10 jordi
9922 * Label.cs: fixes method signatures, new methods, events, fixes
9925 2004-09-01 07:19 jordi
9927 * Control.cs: Init string variables with an empty object
9929 2004-09-01 04:20 jordi
9931 * Control.cs: fires OnFontChanged event
9933 2004-08-31 20:07 pbartok
9936 - Enabled display of strings
9938 2004-08-31 20:05 pbartok
9941 - Added (partial) implementation of DialogResult; rest needs to be
9942 implemented when the modal loop code is done
9944 2004-08-31 19:55 pbartok
9947 - Fixed to match the removal of the needs_redraw concept
9949 2004-08-31 19:55 pbartok
9952 - Removed the rather odd split between 'needs redraw' and redrawing
9953 - Now handles the events that require regeneration (ambient
9954 properties and size)
9956 2004-08-31 19:41 pbartok
9959 - Added firing of BackColorChanged event
9960 - Added TopLevelControl property
9961 - Fixed handling of WM_ERASEBKGRND message
9963 2004-08-31 12:49 pbartok
9969 2004-08-31 12:48 pbartok
9972 - Finished (famous last words)
9974 2004-08-31 04:35 jordi
9976 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
9977 scrolling bugs, adds new methods
9979 2004-08-30 14:42 pbartok
9982 - Implemented CheckBox drawing code
9984 2004-08-30 14:42 pbartok
9987 - Made Redraw() and CheckRedraw() virtual
9988 - Improved mouse up/down/move logic to properly track buttons
9990 2004-08-30 09:44 pbartok
9993 - Updated to fix broken build. Not complete yet.
9995 2004-08-30 09:28 pbartok
10000 2004-08-30 09:17 pbartok
10005 2004-08-27 16:12 ravindra
10007 * ToolBarButton.cs: Added TypeConverter attribute.
10009 2004-08-27 16:07 ravindra
10011 * ImageIndexConverter.cs: Implemented.
10013 2004-08-27 14:17 pbartok
10016 - Removed unneeded stack vars
10017 - First attempt to fix sizing issues when layout is suspended
10019 2004-08-25 15:35 jordi
10021 * ScrollBar.cs: more fixes to scrollbar
10023 2004-08-25 14:04 ravindra
10025 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10026 Added the missing divider code and grip for ToolBar Control.
10028 2004-08-25 13:20 pbartok
10031 - Control now properly passes the ambient background color to child
10034 2004-08-25 13:20 jordi
10036 * ScrollBar.cs: small bug fix regarding bar position
10038 2004-08-25 12:33 pbartok
10041 - Now only calls SetTimer or KillTimer if the enabled state has
10044 2004-08-25 12:33 pbartok
10047 - Fixed timer handling, now seems to work
10048 - Improved error message for window creation
10050 2004-08-25 12:32 pbartok
10053 - Fixed generation of MouseUp message
10055 2004-08-25 12:29 jordi
10057 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10058 and fixes for progressbar
10060 2004-08-24 18:43 ravindra
10062 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10063 in ToolBar control.
10065 2004-08-24 17:15 pbartok
10069 - Added missing events
10072 2004-08-24 17:14 pbartok
10074 * StatusBar.cs, PictureBox.cs:
10075 - Now uses Control's CreateParams
10077 2004-08-24 16:36 pbartok
10080 - Fixed background color handling
10081 - Fixed sending of enter/leave events on a grab
10083 2004-08-24 16:35 pbartok
10086 - Refined definitions for CrossingEvent
10088 2004-08-24 12:37 jordi
10090 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10091 formmating, methods signature, and adds missing events
10093 2004-08-24 12:24 jordi
10095 * Control.cs: fire OnEnabledChanged event
10097 2004-08-24 11:17 pbartok
10100 - Implemented SetTimer() and KillTimer()
10102 2004-08-24 11:16 pbartok
10105 - Now uses Remove instead of Add to kill the timer
10107 2004-08-24 10:16 jackson
10109 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10110 picture boxes in the theme now. Draw picture box borders and obey
10113 2004-08-24 05:49 jackson
10115 * Timer.cs: Remove top secret debugging code
10117 2004-08-24 05:34 jackson
10119 * PictureBox.cs: Temp hack to make picture boxes draw their full
10122 2004-08-24 05:29 jackson
10124 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10125 XplatUIX11.cs: Move timers to the driver level. On X they are
10126 queued by the driver and checked on idle.
10128 2004-08-24 01:07 jackson
10130 * XplatUIX11.cs: Use a queue for async messages instead of passing
10131 them as ClientMessages since that was totally broken. Also simply
10132 check for events and return an idle message if none are found. This
10133 gives us an idle handler, and prevents deadlocking when no messages
10136 2004-08-23 18:19 ravindra
10138 * XplatUIWin32.cs: Removed the unwanted destructor.
10140 2004-08-23 17:27 pbartok
10143 - Finishing touches. Works now, just needs some optimizations.
10145 2004-08-23 16:53 jordi
10147 * ScrollBar.cs: small fix
10149 2004-08-23 16:45 pbartok
10152 - Removed debug output
10155 2004-08-23 16:43 jordi
10157 * ScrollBar.cs: [no log message]
10159 2004-08-23 16:10 pbartok
10162 - Fixed handling of WM_CLOSE message
10163 - Removed debug output
10165 2004-08-23 16:09 pbartok
10168 - Added handling of Idle event
10169 - Added handling of form closing
10170 - Fixed reporting of MessageLoop property
10171 - Removed some unneeded code, should provide a bit of a speedup
10173 2004-08-23 15:22 pbartok
10176 - Added InitLayout() method
10177 - Added code to properly perform layout when Anchor or Dock property
10179 - Changed 'interpretation' of ResumeLayout. MS seems to have a
10180 LAMESPEC, tried to do it in a way that makes sense
10182 2004-08-23 14:10 jordi
10184 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
10185 properties and methods
10187 2004-08-23 13:55 pbartok
10190 - Properly fixed Jordi's last fix
10191 - Now uses Cursor's Position property instead of calling XplatUI
10194 2004-08-23 13:44 jordi
10196 * PaintEventHandler.cs: Adding missing attribute
10198 2004-08-23 13:39 pbartok
10201 - Implemented Position property
10203 2004-08-23 13:39 pbartok
10205 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10206 - Added method to move mouse cursor
10208 2004-08-23 13:39 pbartok
10211 - Fixed setting of background color
10212 - Added method to move mouse cursor
10214 2004-08-23 13:16 jordi
10216 * Control.cs: avoids null exception
10218 2004-08-22 17:46 jackson
10220 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
10223 2004-08-22 17:40 jackson
10225 * XplatUIX11.cs: Add some missing locks
10227 2004-08-22 15:10 pbartok
10229 * Control.cs, Form.cs:
10230 - Removed OverlappedWindow style from Control, instead it's default
10232 - Made form windows OverlappedWindow by default
10234 2004-08-22 13:34 jackson
10236 * ScrollBar.cs: Update the position through the Value property so
10237 the OnValueChanged event is raised.
10239 2004-08-22 12:04 pbartok
10242 - Added Cursor.cs and UserControl.cs
10244 2004-08-22 12:03 pbartok
10247 - Started implementation, not usable yet
10249 2004-08-22 12:00 pbartok
10252 - Implemented UserControl (complete)
10254 2004-08-21 19:20 ravindra
10256 * ToolBar.cs: Correcting the formatting mess of VS.NET.
10258 2004-08-21 18:49 ravindra
10260 * ToolBar.cs: Probably this completes the missing attributes in
10263 2004-08-21 18:03 ravindra
10265 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
10266 Fixed toolbar control signatures.
10268 2004-08-21 16:32 pbartok
10273 2004-08-21 16:30 pbartok
10278 2004-08-21 16:19 pbartok
10280 * Control.cs, Label.cs:
10283 2004-08-21 15:57 pbartok
10286 - Added loads of debug output for development
10287 - Fixed typo in method name
10289 2004-08-21 15:52 pbartok
10291 * ToolBarButtonClickEventArgs.cs:
10292 - Added missing base class
10294 2004-08-21 14:53 pbartok
10297 - Updated to match new GrabWindow signature
10299 2004-08-21 14:51 pbartok
10301 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10302 - Added method to get default display size
10304 2004-08-21 14:23 pbartok
10306 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10307 - Added method to query current grab state
10308 - Added argument to allow confining a grab to a window
10310 2004-08-21 14:22 pbartok
10313 - Added [Flags] attribute so that modifiers can be used in bitwise
10316 2004-08-21 14:21 pbartok
10318 * TrackBar.cs, ScrollBar.cs:
10319 - Replaced direct XplatUI calls with their Control counterpart
10321 2004-08-21 13:32 pbartok
10324 - Implemented Created property
10326 2004-08-21 13:28 pbartok
10329 - Implemented ContainsFocus
10331 2004-08-21 13:26 pbartok
10334 - Implemented CausesValidation
10336 2004-08-21 13:21 pbartok
10339 - Implemented CanFocus
10340 - Implemented CanSelect
10341 - Implemented Capture
10343 2004-08-21 12:35 pbartok
10346 - Fixed bug with Async message handling
10347 - Implemented getting the ModifierKeys
10349 2004-08-21 12:32 jackson
10351 * AsyncMethodResult.cs: Make sure we have the mutex before we
10352 release it. Fixes BeginInvoke on windows
10354 2004-08-21 11:31 pbartok
10356 * XplatUIWin32.cs, XplatUIX11.cs:
10357 - Drivers now return proper mouse state
10359 2004-08-21 10:54 jackson
10361 * Control.cs: Implement EndInvoke
10363 2004-08-21 10:48 jackson
10365 * Timer.cs: Remove unneeded finalizer
10367 2004-08-20 19:52 ravindra
10369 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
10370 in mouse event handling in the ToolBar control.
10372 2004-08-20 19:50 ravindra
10374 * ImageList.cs: Changed draw method to use the arguments passed in
10377 2004-08-20 18:58 pbartok
10379 * XplatUIStructs.cs:
10380 - Added private message for async communication
10382 2004-08-20 17:38 ravindra
10384 * Control.cs: Made RightToLeft property virtual and removed a
10387 2004-08-20 14:39 jordi
10389 * ThemeGtk.cs: use style_attach
10391 2004-08-20 14:39 pbartok
10394 - Added jackson's Async code from X11 to Win32
10396 2004-08-20 14:09 pbartok
10399 - Added all new files
10401 2004-08-20 14:09 pbartok
10404 - Added call to set window background color
10406 2004-08-20 14:03 pbartok
10408 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
10409 - Added method for setting the window background
10411 2004-08-20 14:02 pbartok
10414 - Added method for setting the background color
10415 - Added handling for erasing the window background
10417 2004-08-20 13:45 jordi
10419 * TrackBar.cs: fixes timer, new properties and methods
10421 2004-08-20 13:34 jackson
10423 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
10426 2004-08-20 13:22 jackson
10428 * Timer.cs: Timer Tick events are now handed through Controls Async
10429 mechanism so the callbacks are executed in the same thread as X
10431 2004-08-20 13:19 jackson
10433 * XplatUIDriver.cs: Expose functionality to send async messages
10436 2004-08-20 13:18 jackson
10438 * Control.cs: Implement Begininvoke
10440 2004-08-20 13:14 jackson
10442 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
10443 messages through the driver
10445 2004-08-20 13:12 jackson
10447 * XplatUIX11.cs: Lock before all X operations. Also added Async
10448 method functionality through XSendEvent
10450 2004-08-20 13:11 jackson
10452 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
10453 This will screw up on 64 bit systems)
10455 2004-08-20 13:10 jackson
10457 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
10458 Async messages through X/Win32
10460 2004-08-19 19:39 pbartok
10463 - Updated code to match new HandleData.DeviceContext type
10465 2004-08-19 19:38 pbartok
10468 - Made DeviceContext a generic object to allow usage from various
10470 - Added support for queueing Windows messages
10472 2004-08-19 19:37 pbartok
10475 - Added generation of MouseEnter, MouseLeave and MouseHover events
10476 - Added cleanup on EndPaint
10478 2004-08-19 19:17 pbartok
10481 - Added handling of WM_MOUSEHOVER
10482 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
10485 2004-08-19 18:55 jordi
10487 * ThemeGtk.cs: fixes button order
10489 2004-08-19 18:12 jordi
10491 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
10493 2004-08-19 17:09 pbartok
10496 - Added Right property
10497 - Added RightToLeft property
10499 2004-08-19 16:27 jordi
10501 * ThemeGtk.cs: experimental GTK theme support
10503 2004-08-19 16:26 jordi
10505 * ITheme.cs, Theme.cs: move themes from an interface to a class
10507 2004-08-19 16:25 jordi
10509 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
10512 2004-08-19 16:04 pbartok
10515 - Added colormap basics
10516 - Added a way to re-initialize with a different display handle
10517 - Fixed setting of the window background color
10518 - Added various X11 imports related to colors and colormaps
10520 2004-08-19 15:51 pbartok
10523 - Removed packing hints (Paolo suggested this a while back)
10524 - fixed colormap type
10525 - Added default Atom types
10526 - Added Screen and color structs and enums
10528 2004-08-19 15:39 pbartok
10531 - Added missing Draw() method
10532 - Added missing RecreateHandle event
10534 2004-08-19 15:30 pbartok
10537 - Added handling of WM_CLOSE
10539 2004-08-18 13:16 jordi
10541 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
10544 2004-08-18 09:56 jordi
10546 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
10548 2004-08-17 15:31 ravindra
10550 * SWF.csproj: Updated project.
10552 2004-08-17 15:25 pbartok
10555 - Drawing improvement; don't call UpdateBounds if we are not visible
10556 (or have been minimized)
10558 2004-08-17 15:24 pbartok
10561 - Finished IsVisible
10562 - Added Win32GetWindowPlacement
10564 2004-08-17 15:08 jackson
10566 * Panel.cs: Initial checkin of the Panel
10568 2004-08-17 14:25 pbartok
10571 - Fixed broken handling of default window sizes
10573 2004-08-17 13:29 jackson
10575 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
10576 has a large startup time.
10578 2004-08-17 10:25 jackson
10580 * HandleData.cs: union areas properly
10582 2004-08-17 10:12 jackson
10584 * HandleData.cs: union areas properly
10586 2004-08-16 20:00 ravindra
10588 * ToolBar.cs, ToolBarButton.cs: Added attributes.
10590 2004-08-16 18:48 ravindra
10592 * ToolBar.cs: Added attributes.
10594 2004-08-16 17:17 ravindra
10596 * SWF.csproj: Updated project.
10598 2004-08-16 17:16 jackson
10600 * XplatUIX11.cs: Check for more expose events before sending a
10601 WM_PAINT so they can all be grouped together. This makes dragging a
10602 window across another window redraw in a sane way.
10604 2004-08-16 15:47 pbartok
10607 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
10608 support OnMouseEnter/Leave()
10609 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
10612 2004-08-16 15:46 pbartok
10614 * XplatUIStructs.cs, XplatUIX11.cs:
10615 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
10616 OnMouseEnter/Leave()
10618 2004-08-16 15:34 jackson
10620 * XplatUIX11.cs: Group multiple expose events in HandleData, make
10621 sure messages get the message field set to WM_NULL if they are not
10624 2004-08-16 15:24 jackson
10626 * HandleData.cs: HandleData is used for storing message information
10629 2004-08-15 17:23 ravindra
10631 * ColorDepth.cs: Added attribute.
10633 2004-08-15 17:23 ravindra
10635 * SWF.csproj: Updated project for ToolBar Control.
10637 2004-08-15 17:20 ravindra
10639 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
10640 control and also dos2unix format.
10642 2004-08-15 17:13 ravindra
10644 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
10645 ToolBarButtonClickEventArgs.cs,
10646 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
10647 ToolBarTextAlign.cs: First Implementation of ToolBar control.
10649 2004-08-15 15:31 pbartok
10652 - First (mostly) working version
10654 2004-08-13 16:15 pbartok
10657 - Fixed Anchor default
10659 2004-08-13 15:43 pbartok
10662 - Changed GetCursorPos signature
10664 2004-08-13 15:42 pbartok
10666 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10667 - Changed signature for GetCursorPos
10669 2004-08-13 15:25 pbartok
10673 - Fixed resizing/exposure handling
10675 2004-08-13 15:22 jordi
10677 * ThemeWin32Classic.cs: removes redundant code and fixes issues
10680 2004-08-13 14:55 jordi
10682 * TrackBar.cs: change from wndproc to events
10684 2004-08-13 13:00 jordi
10686 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10687 XplatUIX11.cs: implements PointToClient (ScreenToClient)
10689 2004-08-13 12:53 pbartok
10692 - Changed GetWindowPos to also provide client area size
10693 - Fixed broken prototypes for several win32 functions
10695 2004-08-13 12:53 pbartok
10697 * XplatUI.cs, XplatUIDriver.cs:
10698 - Changed GetWindowPos to also provide client area size
10700 2004-08-13 12:52 pbartok
10703 - Added generation of WM_POSCHANGED
10704 - Changed GetWindowPos to also provide client area size
10706 2004-08-13 12:52 pbartok
10709 - Added Dispose() and destructor
10710 - Fixed resizing and bounds calculation
10712 - Added memory savings for invisible windows
10714 2004-08-13 12:46 jordi
10716 * TrackBar.cs: adds timer and grap window
10718 2004-08-13 10:25 jackson
10720 * Timer.cs: SWF Timer
10722 2004-08-12 16:59 pbartok
10724 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10725 - Implemented method to get current mouse position
10727 2004-08-12 14:29 jordi
10729 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
10730 enhancement, fix mouse problems, highli thumb, etc
10732 2004-08-12 13:31 pbartok
10735 - Fixed Anchoring bugs
10737 2004-08-12 13:01 jackson
10739 * StatusBar.cs: Don't forget things
10741 2004-08-12 12:54 jackson
10743 * ThemeWin32Classic.cs: Handle owner draw status bars
10745 2004-08-12 12:54 jackson
10747 * StatusBar.cs: Implement missing properties, events, and methods.
10748 Handle mouse clicking
10750 2004-08-12 10:19 jackson
10752 * StatusBarPanelClickEventArgs.cs,
10753 StatusBarPanelClickEventHandler.cs: Classes for handling status
10754 bar panel click events
10756 2004-08-12 10:10 jackson
10758 * Control.cs: Add missing properties
10760 2004-08-12 09:46 pbartok
10762 * BindingsManagerBase.cs:
10763 - Name changed to BindingManagerBase.cs
10765 2004-08-12 09:25 jordi
10767 * ScrollableControl.cs: calls ctrlbase instead of exeception
10769 2004-08-11 16:28 pbartok
10771 * InputLanguageChangingEventArgs.cs:
10772 - Never check in before compiling. Fixes the last check-in
10774 2004-08-11 16:26 pbartok
10776 * InputLanguageChangingEventArgs.cs:
10777 - More signature fixes
10779 2004-08-11 16:20 pbartok
10781 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
10782 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
10783 ImageListStreamer.cs, InputLanguage.cs,
10784 InputLanguageChangedEventArgs.cs,
10785 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
10786 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
10787 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
10788 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10791 2004-08-11 16:16 pbartok
10795 - Added .Net 1.1 method
10797 2004-08-11 15:25 pbartok
10800 - Fixed BindingManagerBase.cs filename
10802 2004-08-11 15:22 pbartok
10804 * BindingManagerBase.cs:
10805 - Was checked in with wrong filename
10807 2004-08-11 14:50 pbartok
10812 2004-08-11 13:41 jordi
10814 * XplatUIWin32.cs: Fixes ClientRect
10816 2004-08-11 13:19 pbartok
10818 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10820 - We had SetWindowPos and MoveWindow to set window positions and
10821 size, removed MoveWindow. We have GetWindowPos, so it made sense to
10822 keep SetWindowPos as matching counterpart
10823 - Added some X11 sanity checking
10825 2004-08-11 12:59 pbartok
10828 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
10829 (It seems that SetBounds is just a front for SetBoundsCore and
10830 SetBoundsCore updates the underlying window system and
10831 UpdateBounds is responsible for updating the variables associated
10832 with the Control and sending the events)
10833 - Major cleanup of Size handling; we now have two sizes, client_size
10834 and bounds. Bounds defines the window with decorations, client_size
10837 2004-08-11 12:55 pbartok
10839 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
10840 - Added method to calculate difference between decorated window and
10843 2004-08-11 12:54 pbartok
10846 - Forcing redraw on resize
10848 2004-08-11 11:43 pbartok
10851 - Removed disposing of the actual images when the list is disposed
10853 2004-08-11 09:13 pbartok
10856 - Now properly reparents windows
10858 2004-08-11 08:37 pbartok
10863 2004-08-11 07:47 pbartok
10866 - Rewrote the collection stuff. Might not be as fast now, not
10867 keeping the number of children around and accessible directly, but
10868 it's more straightforward
10870 2004-08-11 07:44 pbartok
10872 * AccessibleObject.cs:
10873 - Fixed to match ControlCollection rewrite
10875 2004-08-11 07:43 pbartok
10878 - Added missing creation of the collection list
10880 2004-08-10 20:08 jackson
10882 * StatusBar.cs: Get the paint message from WndProc
10884 2004-08-10 19:31 jackson
10886 * ThemeWin32Classic.cs: Create Brushes as little as possible
10888 2004-08-10 19:20 jackson
10890 * UICues.cs: Add Flags attribute
10892 2004-08-10 19:19 jackson
10894 * StatusBarPanel.cs: Signature cleanup
10896 2004-08-10 19:10 jackson
10898 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
10899 Initial implementation of status bar item drawing
10901 2004-08-10 17:27 jordi
10903 * TrackBar.cs: add missing methods, properties, and restructure to
10906 2004-08-10 16:24 jackson
10908 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
10909 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
10912 2004-08-10 13:21 jordi
10914 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
10915 enhancements and standarize on win colors defaults
10917 2004-08-10 12:52 jackson
10919 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
10920 ThemeWin32Classic.cs: Implement DrawItem functionality
10922 2004-08-10 12:47 jordi
10924 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
10926 2004-08-10 12:32 jordi
10928 * Control.cs: throw ontextchange event
10930 2004-08-10 11:43 pbartok
10933 - Added more to the still unfinished Dock/Anchor layout code
10935 2004-08-10 11:39 pbartok
10937 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
10938 - Added GetWindowPos method
10940 2004-08-10 11:36 pbartok
10943 - Implemented several methods
10945 2004-08-10 09:47 jackson
10947 * TrackBar.cs: Allow control to handle buffering
10949 2004-08-10 09:41 jackson
10951 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
10953 2004-08-10 09:24 jackson
10955 * Label.cs, LinkLabel.cs: Let Control handle buffering.
10957 2004-08-10 09:09 jackson
10959 * StatusBar.cs: Let Control handle all the buffering.
10961 2004-08-10 09:08 jackson
10963 * Control.cs: Control will now handle the buffering code, so each
10964 control does not have to implement this.
10966 2004-08-10 08:34 jackson
10968 * XplatUIDriver.cs: Use default colors from the theme
10970 2004-08-09 17:12 pbartok
10973 - Fixed several bugs Ravindra pointed out
10975 2004-08-09 16:11 pbartok
10978 - Added incomplete dock layout code
10979 - Added support for mouse wheel
10981 2004-08-09 16:09 pbartok
10984 - Added handling for middle and right mousebutton
10985 - Added handling for mouse wheel
10986 - Added handling for key state and mouse state and position
10987 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
10990 2004-08-09 15:40 jackson
10992 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
10993 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
10996 2004-08-09 15:37 jackson
10998 * StatusBar.cs: Initial implementation of StatusBar
11000 2004-08-09 15:36 jackson
11002 * ITheme.cs: Add support for drawing status bar and getting status
11005 2004-08-09 15:35 pbartok
11010 2004-08-09 15:34 jackson
11012 * ThemeWin32Classic.cs: Add support for drawing status bar and get
11013 status bar item sizes
11015 2004-08-09 15:21 jackson
11017 * ThemeWin32Classic.cs: Use known colors for default control
11020 2004-08-09 15:12 jackson
11022 * ThemeWin32Classic.cs: Make the default font static, it is static
11023 in control so this doesn't change functionality and creating fonts
11026 2004-08-09 14:56 pbartok
11029 - Added GrabMode enum
11031 2004-08-09 14:55 pbartok
11033 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11034 - Removed Run method, was only required for initial development
11036 2004-08-09 14:51 pbartok
11038 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11039 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11042 2004-08-09 13:48 pbartok
11045 - Fixed default sizing for child windows
11047 2004-08-09 12:56 pbartok
11050 - Added generation of WM_DESTROY message
11051 - Added handling of window manager induced shutdown
11053 2004-08-09 11:31 jackson
11055 * ThemeWin32Classic.cs: New names for control properties
11057 2004-08-09 11:25 jackson
11059 * Control.cs: Use new color names
11061 2004-08-09 11:02 jackson
11063 * XplatUI.cs: Get default window properties from the theme
11065 2004-08-09 11:01 jackson
11067 * ITheme.cs: The theme engine now controls default window
11070 2004-08-09 11:00 jackson
11072 * ThemeWin32Classic.cs: Add default window color properties
11074 2004-08-09 10:17 jackson
11076 * ThemeWin32Classic.cs: Use correct default back color
11078 2004-08-09 10:05 jackson
11080 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11083 2004-08-09 09:56 jackson
11085 * XplatUI.cs: Remove defaults, these are handled by the theme now.
11087 2004-08-09 09:54 jackson
11089 * Control.cs: Get default properties from the theme.
11091 2004-08-09 09:53 jackson
11093 * ITheme.cs: Themes now handle default control properties
11095 2004-08-09 09:53 jackson
11097 * ThemeWin32Classic.cs: Themes now handle default control
11098 properties so coloring will be consistent
11100 2004-08-08 16:54 jordi
11102 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11104 2004-08-08 15:08 jordi
11106 * XplatUIX11.cs: fixes keyboard crash
11108 2004-08-08 13:47 jordi
11110 * Label.cs: add cvs header info
11112 2004-08-08 12:09 jackson
11114 * ThemeWin32Classic.cs: Add pen_buttonface
11116 2004-08-08 11:52 jordi
11118 * Label.cs, LinkLabel.cs: [no log message]
11120 2004-08-08 11:34 jordi
11122 * ThemeWin32Classic.cs: Use Windows Standard Colours
11124 2004-08-07 17:32 jordi
11126 * TrackBar.cs: throw exceptions of invalid enums values
11128 2004-08-07 17:31 jordi
11130 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11133 2004-08-07 16:56 jackson
11135 * HorizontalAlignment.cs: Initial checkin
11137 2004-08-07 13:16 jordi
11139 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11142 2004-08-07 13:05 jordi
11144 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
11145 GetSysColor defines
11147 2004-08-06 18:01 pbartok
11149 * ThemeWin32Classic.cs:
11150 - Fixed some rounding issues with float/int
11152 2004-08-06 18:00 jackson
11154 * DockStyle.cs, AnchorStyles.cs:
11156 Add flags and serializable attributes.
11158 2004-08-06 17:46 pbartok
11161 - Implemented GetParent
11163 2004-08-06 17:18 pbartok
11166 - Fixed some rounding issues with float/int
11168 2004-08-06 17:17 pbartok
11170 * X11Structs.cs, XplatUIX11.cs:
11171 - Fixed Refresh and Invalidate
11173 2004-08-06 15:30 pbartok
11175 * Control.cs, X11Structs.cs, XplatUIX11.cs:
11176 - Fixed recursive loop when resizing
11177 - Improved/fixed redrawing on expose messages
11179 2004-08-06 09:53 jordi
11181 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
11182 keyboard navigation
11184 2004-08-06 08:02 pbartok
11186 * X11Structs.cs, XplatUIX11.cs:
11187 - Fixed reparenting
11188 - Fixed window border creation
11190 2004-08-05 15:38 pbartok
11193 - Attempted fix for reparenting problems
11195 2004-08-04 15:14 pbartok
11198 - Fixed Invalidation bug (calculated wrong client area)
11199 - Added ClientSize setter
11201 2004-08-04 15:13 pbartok
11204 - Added AutoScale properties
11206 2004-08-04 15:13 pbartok
11209 - Added latest files
11211 2004-08-04 14:11 pbartok
11213 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11215 - Added Invalidate handling
11217 2004-08-03 17:09 jordi
11219 * XplatUIDriver.cs: fixes spelling mistake
11221 2004-07-27 09:53 jordi
11223 * TrackBar.cs: fixes trackbar events, def classname, methods
11226 2004-07-27 09:29 jordi
11228 * ScrollBar.cs: fixes scrollbar events
11230 2004-07-27 04:38 jordi
11232 * Control.cs: changes to be able to run winforms samples
11234 2004-07-26 11:42 jordi
11236 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
11237 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
11239 2004-07-26 05:41 jordi
11241 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
11242 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
11245 2004-07-22 09:22 jordi
11247 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
11248 check link overlapping, implement events, and fixes
11250 2004-07-21 10:28 jordi
11252 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
11254 2004-07-21 10:19 jordi
11256 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
11257 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
11258 LinkLabelLinkClickedEventArgs.cs,
11259 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
11260 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
11263 2004-07-19 13:09 jordi
11265 * Control.cs, Label.cs: label control re-written: added missing
11266 functionlity, events, and properties
11268 2004-07-19 10:49 jordi
11270 * Control.cs: fixes SetBounds logic
11272 2004-07-19 01:29 jordi
11274 * Control.cs: Call RefreshWindow only if the window has created
11276 2004-07-15 14:05 pbartok
11278 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
11279 - Implemented ImageList and ImageList.ImageCollection classes
11280 - Added ColorDepth enumeration
11281 - Updated SWF VS.Net project
11283 2004-07-15 11:06 jordi
11285 * XplatUIStructs.cs: added MsgButons enum
11287 2004-07-15 11:03 jordi
11289 * Control.cs: added basic mouse handeling events
11291 2004-07-15 03:38 jordi
11293 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
11294 Vertical TrackBar control implementation
11296 2004-07-13 09:33 jordi
11298 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
11300 2004-07-13 09:31 jordi
11302 * Control.cs, Form.cs: commit: new properties and fixes form size
11305 2004-07-09 14:13 miguel
11307 * ProgressBar.cs: Spelling
11309 2004-07-09 11:25 pbartok
11312 - Removed usage of Rectangle for drawing. Miguel pointed out it's
11315 2004-07-09 11:17 miguel
11317 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
11319 * ProgressBar.cs: Fixed spelling for `block'
11321 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
11324 Avoid using the += on rect.X, that exposed a bug in the compiler.
11326 2004-07-08 23:21 pbartok
11328 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
11329 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
11330 BaseCollection.cs, Binding.cs, BindingContext.cs,
11331 BindingMemberInfo.cs, BindingsCollection.cs,
11332 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
11333 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
11334 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
11335 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
11336 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
11337 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
11338 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
11339 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
11340 FrameStyle.cs, GiveFeedbackEventArgs.cs,
11341 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
11342 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
11343 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
11344 InputLanguageChangedEventArgs.cs,
11345 InputLanguageChangedEventHandler.cs,
11346 InputLanguageChangingEventArgs.cs,
11347 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
11348 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
11349 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
11350 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
11351 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
11352 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
11353 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
11354 QueryAccessibilityHelpEventArgs.cs,
11355 QueryAccessibilityHelpEventHandler.cs,
11356 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
11357 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
11358 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
11359 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
11360 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
11361 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
11362 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
11363 XplatUIX11.cs, lang.cs: