1 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
3 * FileDialog.cs: Show something in the DirComboBox on *nix if the
4 path doesn't fit into some of our Current.Places
6 2006-04-13 Jackson Harper <jackson@ximian.com>
8 * ComboBox.cs: Use borders instead of drawing our own decorations,
9 try to obey correct rules for heights.
13 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
14 this is now handled by borders.
15 - Remove unused DrawListBoxDecorationSize method.
17 2006-04-13 Mike Kestner <mkestner@novell.com>
19 * MenuAPI.cs: null guarding for the disbled click check fixes crash
22 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
24 * ThemeWin32Classic.cs:
25 - Fixed CPDrawStringDisabled
26 - Corrected drawing of disabled menu items
27 - Fixed drawing of disabled radio buttons (bug #78095)
28 - Draw check in a disabled CheckBox with color ControlDark
30 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
32 * Form.cs: Use the provided width when calculating the menu size;
33 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
34 and ClientSize.Width won't be updated yet
35 * Application.cs: Use Visible instead of Show() to make form visible,
36 this way we create the handle later and menusize is considered
38 2006-04-12 Mike Kestner <mkestner@novell.com>
40 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
43 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
45 * TextBox.cs: Implemented context menu
47 2006-04-12 Mike Kestner <mkestner@novell.com>
49 * ListView.cs: implement box selection. fixes #77838.
50 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
52 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
54 * XplatUIX11.cs: Added setting of window type when transient window
55 is created (metacity would move it otherwise)
56 * X11Structs.cs: Added WINDOW_TYPE atoms
57 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
58 background (the control is Opaque but still wants transparent
61 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
63 * Control.cs: Added OnPaintBackgroundInternal to allow controls
64 that set Opaque but don't mean it (like all ButtonBase-derived
65 controls) to still draw their background
66 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
69 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
71 * Control.cs (PaintControlBackground): Set the graphics object
72 on our PaintEvent to null to prevent it from being disposed
73 when the PaintEvent gets disposed
75 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
77 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
78 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
80 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
83 - Added transparency check to BackColor property. Transparent
84 backgrounds are only allowed if the control styles permit it
85 - Added recursive painting of parent control background and
86 foreground if a control with a transparent backcolor is drawn
87 (Thanks to Tim Ringenback for providing his 'hack' as a base
88 for this patch) Fixes #77985 and #78026.
89 - Added Opaque style check before calling OnPaintBackground, no
90 need to draw the background if the control is opaque
91 - Removed ControlAccessibleObject owner variable (inherited from
92 base, no need to define again)
93 - Added some documentation links explaining the drawing events
96 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
98 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
99 that the affected control is the located at the left border of our
100 parent (Fixes #77936)
102 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
104 * TextBoxBase.cs: When rendering disabled or readonly controls,
105 draw the background with 'Control' instead of 'Window' color as
106 long as the user hasn't specifically set a color
108 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
110 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
111 since that won't be updated if the user types text (only if it's
114 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
116 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
117 layout changes do to app-triggered resizes will have the proper
118 display rectangle for layout
120 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
122 * ThemeWin32Classic.cs:
123 - Make use of the SystemBrushes and SystemPens wherever possible
124 - Corrected some highlight colors
125 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
127 * Theme.cs: Added Empty field to CPColor struct
129 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
131 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
132 is displayed when calculating the display rectangle. Thanks to Mike
133 for teaching me the err of my ways.
135 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
137 * ScrollableControl.cs:
138 - Rewrote DisplayRectangle code, now returning the proper x/y coords
139 (instead of 0,0) and we now return the real width/height instead of
140 just the clientrectangle, adjusted for padding. The rectangle is
141 now cached and created by the new CalculateDisplayRectangle method.
142 - Created new CalculateDisplayRectange method, which basically does
143 what get_DisplayRectangle() did originally, but now using the
144 right edge instead of DisplayRectangle to determine the size of
146 - get_Canvas(): Fixed it to properly calculate canvas for
147 right/bottom controls which seem to be placed to the right/bottom
148 of any controls that have a fixed location
149 - Removed TODO that's taken care of
150 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
151 and SetDisplayRectLocation according to new MSDN2 docs
152 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
153 event when that is called, this is added for compatibility
154 - ScrollControlIntoView(): Implemented.
155 - Switched scrollbars to be implicit, they shouldn't be selectable
156 * ContainerControl: Now that ScrollControlIntoView is implemented, we
157 call it when the active control is set/changed
158 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
159 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
160 implicit_control variable (used for native Win32 message generation)
161 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
162 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
163 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
164 * XplatUIStructs.cs: Added ScrollBarCommands enum
166 2006-04-10 Jackson Harper <jackson@ximian.com>
176 * PrintPreviewControl.cs:
182 * UpDownBase.cs: Fixup base event overrides.
184 2006-04-06 Mike Kestner <mkestner@novell.com>
186 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
187 all user-initiated value changes to min <= value <= max-thumbsz+1.
188 (set_Value): check for vert/horiz when calculating new thumb position.
189 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
191 (OnMouseMoveSB): refactor the thumb dragging code and refine
192 invalidation logic to reduce flicker.
193 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
194 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
195 (UpdateThumbPosition): small code readability cleanup
197 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
199 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
202 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
204 * ThemeNice.cs: Use a better graphics effect when a button is pressed
206 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
208 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
209 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
210 This dramatically reduces the number of Pen.Dispose calls.
211 Where possible call ResPool methods only once instead of calling it
212 over and over again (for example for the same color).
214 2006-04-06 Mike Kestner <mkestner@novell.com>
216 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
217 Also remove an unused private field on the collection. Fixes #77972.
219 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
221 * ThemeNice.cs: Added ToolBar drawing code
223 2006-04-06 Mike Kestner <mkestner@novell.com>
225 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
226 I'm assuming that means we need to look up the toplevel for the
227 provided control. Fixes the crash trace in #77911 but exposes another
228 crash in some strange reflection usage in NDocGui.
230 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
232 * ThemeNice.cs: Gave it a little silver touch and added Images
234 * FontDialog.cs: FontDialog is not resizable
235 * FileDialg.cs: Added SizeGripStyle.Show
237 2006-04-05 Jackson Harper <jackson@ximian.com>
239 * KeyboardLayouts.cs: Remove warning.
241 2006-04-05 Jackson Harper <jackson@ximian.com>
243 * Control.cs: Enable OnPaintInternal so we can use it for drawing
244 all of our controls instead of Paint +=.
259 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
260 use OnPaintInternal. Remove Width/Height and Visible checks in
261 paint handler, this is done at a higher level now.
262 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
263 * PaintEventArgs.cs: Add a handled flag so controls that don't
264 want anymore painting after OnPaintInternal can make sure OnPaint
267 2006-04-05 Mike Kestner <mkestner@novell.com>
269 * Form.cs: fix the menu WndProc hacks to respect the native enabled
270 state of the form, so that we don't process events when Modal dialogs
271 are up. Fixes #77922.
273 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
275 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
278 2006-04-05 Mike Kestner <mkestner@novell.com>
280 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
282 2006-04-05 Mike Kestner <mkestner@novell.com>
284 * ListView.cs (HeaderMouseMove): null guarding for the over column
285 when setting up the drag_to_index. Fixes #78015.
287 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
289 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
290 in the taskbar. Transient windows seem to accomplish that.
292 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
295 - Re-enabled CreateParams.X/Y code for FormStartPosition
296 - Added code for manual placement when creating the Control
297 - Incomplete patch to treat MDI forms differently when
298 setting the ClientSizeCore. (Still need to figure out handling
301 - When we're explicitly setting the X/Y position of a non-Child
302 window, let the WM know. Metacity really wants this.
304 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
306 * ThemeNice.cs: Added CPDrawButton
308 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
310 * ThemeNice.cs: Changed the color for focused buttons and activated
311 the arrows for small scroll buttons.
313 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
315 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
316 anymore. Changed some method modifiers to protected (virtual)
317 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
319 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
320 Updated drawing of menus, buttons and progressbars; added
323 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * ImageListStreamer.cs: implemented serialization/deserialization
328 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
330 * ThemeWin32Classic.cs:
331 - Removed all the DrawFrameControl stuff; CPDrawButton,
332 CPDrawCheckBox and CPDrawRadioButton are now handled directly
334 - Updated and corrected the drawing code of CPDrawButton,
335 CPDrawCheckBox and CPDrawRadioButton to better match ms
336 - Updated theme checkbox and radiobutton code to use the CP*
339 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
341 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
344 2006-03-31 Jackson Harper <jackson@ximian.com>
346 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
348 * UpDownBase.cs: Don't CreateGraphics manually, use a
349 Refresh. Ideally we would invalidate the correct areas here.
351 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
354 - We now track the mapping state of windows. If a window (or
355 one of it's parents) is not mapped we no longer permit
356 WM_PAINT messages to be generated since we'd otherwise get
357 lots of BadMatch X errors. Jackson did all the work figuring
359 - Destroying the caret if the window it's contained in is
360 destroyed. Can't use regular DestroyCaret method since it
361 might fall into a drawing function (trying to remove the
362 caret) and with that generate new BadMatch errors. Again,
363 Jackson tracked this down.
364 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
365 make sure we send the messages to all windows. (The old code
366 would send the WM_DESTROY to the window, and then all child
367 windows would be 'gone' because the WM_DESTROY handle lookup
368 would no longer find the destroyed window)
369 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
370 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
372 2006-03-31 Jackson Harper <jackson@ximian.com>
374 * ScrollableControl.cs: Dont recalc if we are not visible.
376 2006-03-31 Mike Kestner <mkestner@novell.com>
378 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
379 the visibility branch.
381 2006-03-31 Jackson Harper <jackson@ximian.com>
383 * ScrollBar.cs: Cap values when incrementing/decrementing.
385 2006-03-31 Mike Kestner <mkestner@novell.com>
387 * MenuAPI.cs: setup menu.tracker for popup/context menus.
388 * ToolTip.cs: guard against timer expirations with no active control.
389 Not sure why it happened.
391 2006-03-31 Mike Kestner <mkestner@novell.com>
393 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
395 * ToolTip.cs: Position the tooltip based on where the cursor is at
396 popup time, not at MouseEnter time. Add a Down state so that we don't
397 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
398 positioning offset. Lookup DisplaySize at positioning time, since it
399 can theoretically change during invocation.
400 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
401 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
403 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
405 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
406 Fixes behaviour when the Text property of the box is String.Empty
408 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
410 * XplatUIX11.cs: Only send mouseleave for our client windows, not
411 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
414 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
416 * FileDialog.cs: Visual enhancement for the popup buttons in
419 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
421 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
424 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
426 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
427 highlighted menu items to match ms
429 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
431 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
433 2006-03-30 Mike Kestner <mkestner@novell.com>
435 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
436 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
437 go active to account for HotLight to Selected transition.
438 * MenuItem.cs: add internal Selected prop. Fill out the Status
439 property by calculating it from item info. Add HotLight,
440 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
442 2006-03-30 Mike Kestner <mkestner@novell.com>
444 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
446 2006-03-29 Jackson Harper <jackson@ximian.com>
448 * Form.cs: Implement TODO.
450 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
452 * PrintPreviewDialog.cs: Implemented missing methods and events; still
453 missing proper dialog setup in the constructor
455 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
457 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
459 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
460 - Fixed ResetBindings and removed TODO
461 - Added check for cross-thread calls to get_Handle()
462 - Added Marshaller attribute for set_Font to satisfy class status
463 * FontDialog.cs: Removed TODOs that seemed implemented
464 * UpDownBase.cs: Removed unneeded TODO and Fixme
465 * MessageBox.cs: Implemented support for Default button and removed TODO
466 * FileDialog.cs: Removed obsolete TODO
467 * DomainUpDown.cs: Removed obsolete TODO
468 * ButtonBase.cs: Removed obsolete TODO
469 * XplatUIWin32.cs: Removed obsolete TODO
471 - Removed obsolete TODO
472 - Calling CheckAcceptButton when the acceptbutton is changed to allow
473 internal status updates
474 - Making sure the active control is selected when the control is created
475 * CurrencyManager.cs: Removed obsolete TODO
477 2006-03-29 Mike Kestner <mkestner@novell.com>
479 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
480 of PrintPreviewDialog and RichTextBox.
482 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
484 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
485 DarkDark, Light and LightLight colors for a specific color
486 * ThemeWin32Classic.cs:
487 - Use Button drawing code to draw RadioButtons and CheckBoxes with
489 - Make use of the new ResPool helper CPColor
490 - Draw ProgressBar and StatusBar with correct 3D borders
492 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
494 * ColorDialog.cs: Return selected color. Fixes bug #77940.
496 2006-03-28 Mike Kestner <mkestner@novell.com>
498 * ListView.cs: fix Icon layout to plan for scrollbar widths when
499 calculating col/row counts.
501 2006-03-28 Mike Kestner <mkestner@novell.com>
507 switch to explicit interface method implementation for some methods
508 corcompare identifies as inconsistent with MS.
510 2006-03-28 Mike Kestner <mkestner@novell.com>
514 add a few missing methods from the class status output.
516 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
518 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
521 2006-03-28 Mike Kestner <mkestner@novell.com>
523 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
525 2006-03-27 Mike Kestner <mkestner@novell.com>
527 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
528 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
530 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
532 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
534 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
536 * ThemeWin32Classic.cs:
537 - GroupBox: Inserted a little gap between the text and the lines
539 - Made the code in CPDrawBorder3D more readable
540 - Corrected the drawing location of the up and down arrows in
543 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
545 * ControlPaint.cs: Corrected line widths in DrawBorder for
546 ButtonBorderStyle Inset and Outset
548 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
550 * ThemeWin32Classic.cs:
551 - Rewrote the totally broken CPDrawBorder3D method. That was
552 one of the main problems for the terrific ThemeWin32Classic
554 - Updated and corrected Button drawing
555 - Correct the dimensions of the SizeGrip to match ms ones
556 - Removed a small drawing glitch in DrawComboBoxEditDecorations
557 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
558 Border3DStyle.Sunken to match ms.
560 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
562 * ThemeWin32Classic.cs: First small part of the "de-uglify
563 ThemeWin32Classic" effort, SizeGrip
565 2006-03-24 Jackson Harper <jackson@ximian.com>
567 * XplatUIX11.cs: Give a max idle time of one second, this matches
568 MS and forces an Idle event every second when there are no other
571 2006-03-24 Mike Kestner <mkestner@novell.com>
573 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
574 * ListView.Item.cs: fix layout issues with null image lists and images
575 smaller than checkbox size.
576 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
577 mode like MS does. It's weird, but consistent. ;-)
580 2006-03-24 Mike Kestner <mkestner@novell.com>
582 * ListView.cs: Scroll wheel support for the item control. Fixes
585 2006-03-23 Jackson Harper <jackson@ximian.com>
587 * ScrollableControl.cs: Special case negative sized areas, not
589 * MonthCalendar.cs: Save the rect of the clicked date so we can
590 use it for invalidation.
591 - Try to cut down on the number of invalidates
592 - Invalidate the rect the mouse is over and was over when moving
593 the mouse, so we get the focus box following the cursor.
595 2006-03-23 Mike Kestner <mkestner@novell.com>
597 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
598 focus rectangle drawing. Fixes #77835.
600 2006-03-23 Mike Kestner <mkestner@novell.com>
602 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
603 the if and else if and reverting back to the original == check on the
606 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
608 * FontDialog.cs: Update the example panel if the selected index of
609 the fontListBox changes.
611 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
613 * FileDialog.cs: Make FileDialog remember which directory it was in
614 last in the same execution.
616 2006-03-22 Mike Kestner <mkestner@novell.com>
618 * FileDialog.cs: make the DropDownMenu on the toolbar display
619 RadioChecks since they are mutually exclusive and that's what MS does.
621 2006-03-22 Mike Kestner <mkestner@novell.com>
623 * Theme.cs: add Color param to CPDrawMenuGlyph.
624 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
625 checks and radio marks and arrows are visible on highlighted items.
626 * ControlPaint.cs: update to use new Theme signature.
628 2006-03-22 Mike Kestner <mkestner@novell.com>
630 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
631 is active. Fixes #77870.
633 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
635 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
636 to be focused/selected after startup
638 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
641 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
642 CustomColors and ShowHelp properties
643 - Some internal rewrites to get better results when using the
646 2006-03-22 Mike Kestner <mkestner@novell.com>
648 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
649 HoverSelection. Fixes #77836.
651 2006-03-22 Mike Kestner <mkestner@novell.com>
653 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
654 ToggleButtons. (De)Sensitize the Back button around a stack count of
655 1, not 0. Update ButtonSize based on a pixel count of the win32
656 control. Adjust the toolbar size/location for new button size.
658 2006-03-22 Jackson Harper <jackson@ximian.com>
660 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
662 * ScrollBar.cs: When doing increments and decrements we need to
663 set the Value property so that ValueChanged gets raised. A
664 possible optimization here would be to make an internal SetValue
665 that doesn't invalidate immediately.
666 * ToolTip.cs: Tooltips get added to their container (when
667 supplied) so they get disposed when the container is disposed.
668 - Don't create tooltips for String.Empty. This prevents all these
669 little 2-3 pixel windows from showing up when running nunit-gui
671 * Form.cs: Don't set topmost when setting the owner if the handles
672 haven't been created yet. The topmost set will happen when the
675 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
678 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
679 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
680 visible (to allow them to recalculate their sizes)
682 2006-03-21 Mike Kestner <mkestner@novell.com>
684 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
685 methods. Removed a ton of redundant code. Still not really happy with
686 the border rendering, but I think that's mainly because of the
687 ControlDarkDark being black instead of a dark grey. Depending on how
688 close we want to be, we might want to revisit those color choices.
689 Among the new features added during the refactor were DropDownArrow
690 pressed rendering, Disabled image rendering. Proper flat appearance
691 boundary rendering. Removed the Divider and Wrapping dividers since I
692 can't figure out any combination of themes and conditions to make the
693 MS control draw a horizontal line on a toolbar despite what the
694 Divider property docs indicate.
695 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
696 conditions and incorrect layout. Updated to coding standard.
697 * ToolBarButton.cs: refactored layout and positioning code from
698 ToolBar to here. Invalidate wherever possible instead of forcing
699 redraws of the whole toolbar.
700 (Known remaining issues: explicit ButtonSize smaller than provided
703 2006-03-21 Mike Kestner <mkestner@novell.com>
705 * ContextMenu.cs (Show): use the position parameter instead of just
706 showing at the MousePosition.
708 2006-03-21 Jackson Harper <jackson@ximian.com>
710 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
712 * TreeNodeCollection.cs: If we are clearing the root node we need
713 to reset top_node so calcs can still happen.
714 * ThemeWin32Classic.cs: This is a Flags so we need to check
717 2006-03-21 Jackson Harper <jackson@ximian.com>
719 * DataGrid.cs: Create columns when the binding context has been
721 * X11Structs.cs: Keysyms are uints.
722 - Add size to fix build.
724 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
726 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
728 - Added ResetMouseHover method to allow controls to retrigger
729 hovering if they need it more than once
730 - Implemented MouseHoverTime and MouseHoverSize properties
731 * Timer.cs: Start() must reset the interval
732 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
735 2006-03-21 Jackson Harper <jackson@ximian.com>
737 * X11Keyboard.cs: improved layout detection. Move the nonchar
738 tables into this file.
739 * KeyboardLayouts.cs: Move the tables into resource files.
741 2006-03-21 Mike Kestner <mkestner@novell.com>
743 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
745 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
747 * Mime.cs: Various speed optimizations. Looking up mime types
748 is now 2 times faster than before
750 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
752 * CreateParams.cs: Added internal menu field
754 - Switched call order for UpdateBounds; now we always call
755 the one that also takes ClientSize, and we're calculating the
756 client size via driver method in the others. The previous
757 method of tracking client size by difference wasn't working
758 for forms where even the starting client size wouldn't match
759 the overall form size (due to borders) (Part of fix for #77729)
760 - CreateParams(): Do not use parent.Handle unless the handle is
761 already created. Causes havoc with Nexxia and throws off our
764 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
765 - Switched handling of ConfigureNotify over to new PerformNCCalc
766 method (consolidates code)
767 - Changed RequestNCRecalc to use new PerformNCCalc method
768 - Added calls to RequestNCRecalc when menus and borders are changed
769 to allow app to set NC size. (Part of fix for #77729) This matches
770 when MS send a WM_NCRECALC on Win32 windows.
771 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
772 (Part of fix for #77729). This matches what MS does, they also
773 send that message when the form is made visible.
774 - XException.GetMessage: Improved usability of X errors by including
775 a translation of the window into Hwnd and Control class
776 - Improved debug info for window creation, reparenting and destruction
777 - Created helper method WindowIsMapped() [Currently not used]
778 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
780 - CreateParams: Now setting our menu on the new internal menu field
781 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
782 avoid calculating the same property twice
784 - Improved usability of ToString() for debugging purposes
785 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
786 determine the height of the menu, instead of just the font. This
787 required to also create a graphics context and to keep a bmp
788 around (for performance reasons)
790 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
792 * MenuAPI.cs: Added OnMouseUp method
794 - Now remembering the requested client size, avoids size errors
795 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
796 instead of base if the menu is active. This is required due to
797 control now capturing and releasing on down/up and it would
798 prematurely release our menu capture
800 2006-03-17 Jackson Harper <jackson@ximian.com>
802 * KeyboardLayouts.cs: Add the czech layouts.
804 2006-03-16 Jackson Harper <jackson@ximian.com>
806 * Control.cs: Use the viewport space when sizing not the controls
807 client size, so things like ScrollableControl that effect the
808 viewport size (when scrollbars are added) are computed correctly.
809 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
811 - Handle creating BindingManagers for null data sources.
812 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
813 source, otherwise when rows are added they are added to the 'fake'
814 datasource and we will crash when trying to set the position in
816 - Use Implicit scrollbars on the datagrid so they arent
819 2006-03-16 Jackson Harper <jackson@ximian.com>
822 * InternalWindowManager.cs:
823 * MdiWindowManager.cs:
824 * X11Keyboard.cs: I really want Mike to love me again (fix
827 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
830 - OnMouseDown: Switch to editing mode when clicking on the cell
831 even if we're clicking on the cell that's currently
833 - ProcessGridKey: Left/Right now wrap like MS.Net does
834 - ProcessGridKey: Tab now knows to add a new row when tab is
835 pressed in the cell of the last column of the
837 - ProcessGridKey: Enter now adds another row if pressed in the last
838 row and selectes the new row, same column cell
839 - ProcessGridKey: Home/End navigate columns, not rows, like
840 originally implemented
841 - Broke ProcessKeyPreview code out into an extra Internal method
842 so it can be called from the edit code
843 * DataGridTextBox.cs (ProcessKeyMessage):
844 - Switched to accept Tab keypresses
845 - Added F2 handling to allow jumping to the end of the edited cell
846 - Added logic to allow moving caret left/right inside edited cell
847 and making the edited cell jump when the caret hits cell borders
848 - Tab and Enter are now passed to the datagrid after being handled
850 - Removed capture code now that Control handles it
851 - set_SelectionStart now ensures caret is visible
853 2006-03-16 Jackson Harper <jackson@ximian.com>
855 * TrackBar.cs: Debackwards the increment/decrement for handling
856 mouse clicks on the bar with vertical trackbars.
857 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
860 2006-03-16 Mike Kestner <mkestner@novell.com>
862 * ListView.cs: make shift/ctrl keyboard and mouse selection
863 consistent with the MS control. Fix a bug in
864 SelectedListViewItemCollection.Clear that was pissing me off for the
865 better part of a day because the collection was being altered
866 underneath us as we walked the list.
868 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
870 * Control.cs: Not sure how we could miss this so long, but it seems
871 that MS.Net has Capture set all the way from before calling
872 OnMouseDown through sending the mouse events until after
873 OnMouseUp. This will fix DataGrid's selection being set to end
874 at the location of the MouseUp.
876 2006-03-15 Jackson Harper <jackson@ximian.com>
878 * BindingContext.cs: Check the binding after its added so that it
879 can initialize the binding managers and hookup to events.
880 * Binding.cs: Data members seem to sometimes include rows/cols in
881 the format Row.Column we now take this into account.
882 - Hookup to the position changed event so we can update the
883 control when the position has changed in the data set.
884 * CurrencyManager.cs: Take into account the row/col naming
885 convention when creating dataset tables.
886 * BindingContext.cs: Using a newer better way of storing
887 datasource/datamember pairs. Hopefully this better matches MS for
888 looking up binding managers.
891 2006-03-15 Jackson Harper <jackson@ximian.com>
893 * BindingContext.cs: The currency manager needs the data member
894 name, if the member is a data set we use the name to find the
896 * CurrencyManager.cs: When creating the list prefer an IList over
898 - Attempt to create a DataTable from a DataSet (TODO: might need
899 some better error checking here, although MS doesn't seem to have much)
900 - If we have a DataTable create a view and use it as our list.
902 2006-03-15 Mike Kestner <mkestner@novell.com>
904 * ListView.cs: keep a matrix of the icon mode layout to facilitate
905 keyboard navigation. Support Up/Down/Left/Right selection correctly
906 for all 4 View modes.
907 * ListViewItem.cs: add internal row/col fields for icon layouts.
909 2006-03-15 Jackson Harper <jackson@ximian.com>
911 * TabControl.cs: Redraw the tabs when we resize so their newly
912 calculated sizes are drawn on screen.
913 * X11Keyboard.cs: Begginnings of XIM support. We also now support
914 composite characters.
915 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
916 - filter events so that composite characters can be created
918 * X11Structs.cs: Add XIMProperties enum.
920 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
922 * Control.cs (BringToFront, SendToBack): Don't use window or handle
925 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
927 * Control.cs (PerformLayout): We don't need to consider visiblity
928 for anchoring, only for docking. This fixes 'whacky' alignment
929 in listbox and other controls that use implicit scrollbars after
930 the previous PerformLayout patch
931 * ListBox.cs: Switched to use implicit scrollbars
933 2006-03-14 Mike Kestner <mkestner@novell.com>
937 - chain up the "new event" overrides to base and use
938 OnEvent to raise them. Part of fix for bug #76509.
940 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
942 * FileDialog.cs: Do not select an item in the parent directory
945 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
947 * Control.cs (PerformLayout): It would seem that we considered
948 invisible windows for our layout. Not quite the right thing
949 to do. Now we don't any longer, thereby fixing bug #76889.
951 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
953 * Control.cs (CanFocus): I goofed. A control can have focus
954 even though it's not selectable. Made it match MS docs.
956 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
958 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
959 center by default (fixes #76895)
960 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
961 all uses of Border3DSides.All with the explicit ORd together
962 Left|Right|Top|Bottom because I assume that nobody was aware
963 that All also implies a center fill. Most places I checked had
965 * ProgressBarStyle.cs: Added
967 2006-03-13 Mike Kestner <mkestner@novell.com>
969 * ListView.cs: fix breakage in drag shadow header positioning
970 from Peter's csc compilation fix.
972 2006-03-13 Mike Kestner <mkestner@novell.com>
974 * ListView.cs: fix NRE produced by backspacing twice in a focused
977 2006-03-13 Mike Kestner <mkestner@novell.com>
979 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
981 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
983 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
985 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
986 the allowed size before making programmatic size changes
988 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
990 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
991 set, metacity is broken and will still use the emty sizes in
992 the struct. (Fix for #77089)
994 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
996 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
997 WindowExStyles and marked both enums as Flags
998 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
999 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1000 to match WindowStyles split
1002 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1003 - Updated to match WindowStyles split
1005 - Fixed FosterParent creation, was using ExStyle on the Style field
1006 (This should help with Popup focus issues)
1007 - Updated to match WindowStyles split
1009 2006-03-13 Jackson Harper <jackson@ximian.com>
1011 * MdiWindowManager.cs: Use the system menu height. Fixes some
1012 strange sizing issues.
1014 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1016 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1018 - Scroll to caret after inserting text (#77672)
1019 - Make scroll range one pixel higher, fixes off-by-one error (and
1020 makes underlines visible on the last line)
1022 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1024 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1025 the keyboard state from being stuck with keys in 'pressed' state when
1026 focus is switched away via keyboard
1027 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1028 reset the keyboard if no X11 KeyUp events are expected to come
1029 * X11Structs.cs: Switched type of Visible to bool to match driver
1031 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1034 - Switched caret to be just 1 pixel wide, matches MS and looks less
1036 - Moved caret display 1 pixel down from the top of the control
1038 - InsertCharAtCharet: Update the selection start if moving the caret
1039 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1040 - No longer always creating the caret when the caret methods are
1041 called. Only the actual ShowCaret/HideCaret will do that now
1042 - Only setting caret visible if the owner control has focus
1043 - UpdateView: Added invalidation-shortcut logic for center and right
1044 aligned text. Previously we'd update all according to the left
1045 logic which caused drawing errors. Also fixed height of invalidated
1046 areas, now properly invalidating the whole area (was off-by-one)
1047 - owner_HandleCreated: Always generate the document when the
1048 handle is created; this ensures that
1050 - Fixed situation where caret would disappear under the right
1051 window border, also improved scrolling behaviour on left-
1053 - Fixed right-aligned textboxes to have a border to the
1054 right instead of the caret being under the right border
1056 - Switched from 'nested' to simple visible/not visible tracking
1057 for caret (part of fix for #77671)
1058 - No longer passing through translated FocusIn/FocusOut messages
1059 since we were notifying too often and the wrong windows. Instead
1060 we just notify our focussed window of receiving or loosing focus
1061 * XplatUIWin32.cs: Switched from 'nested' show/hide
1062 counting for caret to simple visible yes/no behaviour (part of
1065 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1067 * Mime.cs: Remove debug code...
1069 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1071 * MimeGenerated.cs: Removed
1072 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1073 and subclasses) from /usr/(local/)share/mime and
1074 $HOME/.local/share/mime.
1076 2006-03-10 Jackson Harper <jackson@ximian.com>
1078 * MdiWindowManager.cs: Recalc the NC area when a window is
1079 maximized/restored so that the menu area is drawn on forms that
1082 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1084 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1085 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1086 us to force a WM_NCCALCRESIZE message being sent. This is needed
1089 2006-03-10 Jackson Harper <jackson@ximian.com>
1091 * Form.cs: We need to use the ActiveMenu when calculating menu
1093 - Fix nullref when the window manager hasn't been created yet.
1094 * Control.cs: Fix nullref when we try to bring a control to the
1095 front that has no parent.
1096 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1098 - Add a dummy item to the maximized menu so it always has the
1099 correct height. Otherwise when there are no menus we don't get our
1103 2006-03-10 Jackson Harper <jackson@ximian.com>
1105 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1107 * Form.cs: Make the window_state internal so the window managers
1109 - When an MDI child is maximized let its window manager create the
1110 main menu (so it can add its icon).
1111 - Notify the window managers of state changes
1112 - Let the window manager paint its buttons and handle button
1113 clicks on the menu when it is maximized.
1114 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1115 window manager, since tool windows don't use it, only mdi windows.
1116 - Tell the main form that we don't want it to handle NCPAINT
1117 itself to avoid extra painting.
1118 - Handle clicks on a maximized windows menu.
1119 - Handle window state changes
1120 - Handle minimize/maximize clicks correctly by setting the window state.
1121 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1122 when clicking on the forms icon).
1123 - New method to create a forms maximized menu. This is its normal
1125 - Handle window state changes.
1126 - Handle sizing of maximized windows. Maximized windows are just
1127 drawn bigger then the parent visible area. All controls are still
1128 there, they are just outside the visible area (this matches windows).
1129 * MdiClient.cs: No scrollbars when a child window is maximized.
1130 - Let the children windows figure out how big they should be when
1131 sizing maximized windows.
1132 - Implement a version of ArrangeIconicWindows somewhat similar to
1133 Windows version. There are some little differences, but I don't
1134 think any app will rely on the layout of minimized mdi windows.
1136 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1138 * Padding.cs: Several fixes to allow compiling with csc 2.0
1140 2006-03-09 Jackson Harper <jackson@ximian.com>
1143 * MenuItem.cs: Cheap hack so we can add items to the list without
1144 the events being raised. This allows adding mdi items during
1145 drawing. TODO: Should probably find a better time to add the items.
1147 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1149 * ThemeWin32Classic.cs:
1150 - CheckBox_DrawText: Added logic to not wrap if not enough space
1151 is available (Fix for bug #77727)
1152 - RadioButton_DrawText: Added logic not to wrap if not enough
1153 space is available (Fix for bug #77727). Also removed some
1154 duplicate code, DrawString always drawing the regular text
1155 before hitting the if statement.
1157 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1159 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1161 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1163 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1164 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1165 methods. Moved the new 2.0 properties into alphabetical order with
1166 other properties and added MonoTODO tags
1168 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1170 * AutoScaleMode.cs: Added. Fix build.
1172 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1174 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1175 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1176 and was requiring premature handle creation for calls from above
1177 * Form.cs, Control.cs: Removed handle arguments from calls to
1178 CalculateClientRect()
1180 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1182 * ListView.cs (HeaderMouseMove): Fix csc compilation.
1183 drag_column.column_rect is MarshalByRef and can't be used that way
1185 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1187 * AxHost.cs: Added deserialization constructor for
1188 AxHost+State (fixes 77743)
1190 2006-03-09 Mike Kestner <mkestner@novell.com>
1193 - Added column drag reordering for details view.
1194 - fixed behavior when mouse is dragged off column and
1195 AllowColumnReorder is false.
1196 * ColumnHeader.cs: clone the format too in Clone.
1197 * Theme.cs: add DrawListViewHeaderDragDetails method.
1198 * ThemeWin32Classic.cs:
1199 - impl new method for drawing drag column shadows and targets.
1200 - support column offset for details mode in DrawListViewItem.
1202 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1204 * TextControl.cs: Reset the char_count when the document is cleared
1205 (Fixes bug reported on mono-winforms mailing list)
1207 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1209 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1210 of calling base we simply process the key ourselves, since both
1211 DefWindowProc and the handled method would set m.Result.
1214 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1216 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1217 method also moves the window; instead implemented a copy of
1218 Control.ScaleCore (Part of fix for #77456)
1220 - Created new CreateGraphicsInternal method to allow providing
1221 a graphics context when no handle is created without triggering
1222 handle creation. (Part of fix for #77456)
1223 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1225 - Switched Constructor to require TextBoxBase instead of Control (to
1226 allow uncast access to CreateGraphicsInternal)
1227 - Safeguarded use of owner.Handle property. No longer accessing it
1228 unless the handle is already created.
1229 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1230 - Now triggering a recalc when owning control becomes visible
1231 * TextBox.cs, RichTextBox.cs: Switched to use new internal
1232 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1233 premature handle creation (Part of fix for #77456)
1235 - We now only destroy our double-buffering buffers when the
1236 control is resized or disposed, but not when visibility
1237 changes. (The code even re-created them twice every time)
1238 - Now requiring a redraw of the buffer on visibility changes
1239 (fixes bug 77654 part 2)
1240 - Not passing OnParentVisibleChanged up unless the control
1242 - CanFocus: Fixed to match MS documentation
1243 - Focus: Fixed to return actual focus state and to check if
1244 setting focus is legal before setting it
1246 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
1248 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1249 when to draw focus rectangle by looking at parent focus and
1250 selected state instead. This fixes TabPages on Linux sometimes
1251 having none or multiple focus rectangles.
1252 * XplatUIX11.cs (SetFocus):
1253 - Don't set the focus if the same window already has focus
1254 - Use SendMessage instead of PostMessage (like it's Win32
1255 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1256 to match MS behaviour
1257 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1260 2006-03-07 Jackson Harper <jackson@ximian.com>
1262 * PictureBox.cs: Revert line I accidently committed last week.
1264 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1267 - Added new IsRecreating and ParentIsRecreating properties to
1268 allow testing if RecreateHandle has been called on ourselves
1269 or one of our parents
1270 - WndProc(WM_DESTROY): If our control handle is being recreated
1271 we immediately need to create the handle when receiving the
1272 destroy, that way our child windows find a valid parent handle
1273 when they themselves are being recreated upon WM_DESTROY receipt
1274 (fix for bug #77654 part 1)
1276 - DestroyWindow: WM_DESTROY must be sent to our own window before
1277 notifying any child windows. MS documents that child windows
1278 are still valid when WM_DESTROY is received. (Control now relies on
1280 - Added some fine-grain debug options
1282 2006-03-06 Jackson Harper <jackson@ximian.com>
1284 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1285 box and base calculations off this.
1286 * MdiChildContext.cs:
1287 * MdiWindowManager.cs: Don't need to ensure scrollbars here
1290 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
1292 * Splitter.cs: In situations where the affected control is added
1293 to the parent's control list after the splitter, we would not
1294 populate affected. Now we try populating it on mousedown, if
1295 it's not already set, and force it to be re-set whenever our
1298 2006-03-03 Matt Hargett <matt@use.net>
1300 * Control.cs: implement Control.Padding
1301 * Padding.cs: -Padding.All returns -1 when constructing with the
1302 implicit default ctor
1303 -Padding.ToString() matches MS.NET
1304 * ContainerControl.cs: implement
1305 ContainerControl.AutoScaleDimensions
1306 * ListControl.cs: implement ListControl.FormattingEnabled
1307 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1309 * TabPage.cs: Implement UseVisualStyleBackColor.
1310 * PictureBox.cs: Implement PictureBox.InitialImage.
1312 2006-03-03 Mike Kestner <mkestner@novell.com>
1314 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1315 event declarations to proxy to base event.
1316 * ListViewItem.cs: update to use ItemControl.
1317 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1318 * ThemeWin32Classic.cs: update to new ListView theme API and fix
1319 column header label rendering for 0 width columns.
1321 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
1323 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1324 that causes the control to be created. Fixes #77476.
1326 2006-03-02 Jackson Harper <jackson@ximian.com>
1328 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1331 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1333 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1334 passed in for the EventArgs (fixes #77690)
1336 2006-03-01 Jackson Harper <jackson@ximian.com>
1338 * ScrollBar.cs: Refresh afterbeing resized.
1340 2006-02-28 Mike Kestner <mkestner@novell.com>
1342 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1343 Clean up a tracker compile warning.
1344 * MenuItem.cs: add internal PerformPopup method.
1347 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1349 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1350 implicit expose) when the text is set to null
1352 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1354 * RichTextBox.cs (FlushText): When newline is true, we always
1355 need to split the line, even if no text is on it and we may
1356 never eat newlines. (Fixes #77669)
1358 2006-02-28 Mike Kestner <mkestner@novell.com>
1360 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
1361 and set Selected instead.
1362 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
1365 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1367 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1369 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
1372 - Got rid of the panel. All controls are now directly added to
1374 - It is now possible to set a font with the Font property
1375 - MinSize and MaxSize property do now what they should
1376 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1377 - Searching and selecting a font with the font textbox works now,
1378 the same applies to the style and size textbox
1379 - Draw the correct 3D border in the example panel
1380 - Fixed a little mem leak (unused fonts didn't get disposed)
1381 - Many other internal updates/rewrites...
1384 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1387 - InsertRTFFromStream: Added 'number of characters inserted' argument
1388 - set_SelectedRTF: Now using the number of characters to calculate
1389 the new location for the selection and cursor (x/y cannot be used
1390 due to potentially already wrapped text)
1392 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1394 * TextControl.cs: Added property and implemented means to allow
1395 disabling recalculation of a document (can be used to speed up
1396 multiple inserts and is needed to make RTF inserts predictable, see
1398 * RichTextBox.cs: Using the new NoRecalc property of Document to
1399 keep x/y insert locations predictable. Also makes it faster inserting
1402 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1404 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1405 it's easier for a child control to handle the other messages without
1406 having to duplicate the special functionality
1408 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1409 code to handle processing the key ourselves, in order to get
1410 access to the result of KeyEventArgs.Handled. We now only call
1411 ProcessKey if they key hasn't been handled already. Fixes #77526.
1412 - set_Text: If null or empty string is given, just clear the
1413 document. Fixes part of #77526
1415 2006-02-27 Jackson Harper <jackson@ximian.com>
1417 * SizeGrip.cs: Paint the background color before painting the grip
1418 so things look right.
1419 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1421 2006-02-27 Mike Kestner <mkestner@novell.com>
1424 - Restructure layout and invalidation model to remove a ton of
1425 flicker from the control and speed up performance in general.
1426 - Add manual column resize, flickers like crazy, but I already have
1427 some ideas on how I'll fix that. (#76822)
1428 - Merge the three Icon-based views into a single layout method.
1429 - Move item selection interaction logic from the item since
1430 interaction with the collections is more appropriate to the view.
1431 - Deselection on non-item clicks.
1433 - Encapsulate most of the layout. Add some internal props to trigger
1434 layout. Move to a model where Items invalidate themselves instead
1435 of just invalidating the whole control every time something changes.
1436 - Invalidate on Text/Caption changes.
1437 - switch to an offset based layout model to avoid having to absolute
1438 position every element on item moves.
1439 - correct checkbox layout to conform to MS layout.
1440 * ThemeWin32Classic.cs:
1441 - refactor some column header drawing code.
1442 - fix string justification for column headers (#76821)
1443 - make SmallIcon labels top justified for compat with MS impl.
1444 * ThemeClearlooks.cs:
1445 - adjust to new ListViewItem internal checkbox bounds api.
1447 2006-02-27 Jackson Harper <jackson@ximian.com>
1449 * Control.cs: Change where implicit controls fall in the zorder.
1450 They are now on top of all children.
1451 - Synced AddImplicit code with Add
1452 - Removed unused enumerator.
1453 * SizeGrip.cs: Remove the TODO as its been TODONE.
1455 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1457 * TextControl.cs(Insert): Combine the last lines unless the insertion
1458 string ends with \n\n, otherwise we leave one line too many (Fixes
1459 something I noticed with the testapp for #77526; the bug itself was
1460 already fixed in the previous checkin)
1462 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1465 - SelectionColor and SelectionFont methods no longer set absolute
1466 styles. Instead, the keep font or color respectively (This
1467 resolves a long-standing FIXME in the code)
1468 - When flushing RTF text, the insert code now considers text trailing
1469 behind the insertion point (Fixes the bug where when replacing
1470 the selected text via SelectedRTF the remainder of the line behind
1471 the selection would stay on the first insertion line)
1473 - AppendText now updates the selection points after inserting text
1474 - AppendText now ensures that the last tag (sometimes 0-length) of
1475 the document is used for the style information (Fixes part of
1478 - Created new FontDefiniton class to allow describing partial style
1480 - StreamLine() now takes a lines argument, to allow it to decide
1481 whether an encountered zero-length tag is the last in the document
1482 (which must be kept to not loose the font/color contained in it,
1484 - Created Combine() and Split() methods for Marker structs, to
1485 support marker updates due to reformatted documents (soft line
1487 - Implemented Document.CaretTag setter
1488 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1489 of the last line (Not the cause, but also exposed by bug #77220)
1490 - Added LineTag argument to InsertString method, to allow callers
1491 to force a certain tag to be used (required to force use of the
1492 trailing zero-length tag of a document)
1493 - Now updating markers in Combine(), to avoid stale tag markers
1494 - Added some method descriptions to aid maintenance
1495 - Implemented new FormatText concept, allowing additive/subtractive
1496 formatting by only specifying the components that are to be
1497 changed. This was needed for resolving the RTB.SelectedColor/
1498 RTB.SelectedFont fixmes
1499 - Added Break() support method to allow breaking up linetags (used
1500 for partial formatting)
1501 - Added GenerateTextFormat() method. It is used for partial
1502 formatting and allows to generate a full font/color from given
1503 attributes and an existing tag.
1505 2006-02-26 Jackson Harper <jackson@ximian.com>
1507 * XplatUIX11.cs: Use the correct caption height.
1508 - Translate hittest coordinates to screen coords to match MS.
1509 * XplatUIWin32.cs: When we create MDI windows we need to reset
1510 some of the style flags, so we get a nice blank window, and can
1511 draw all the decorations ourselves.
1512 - Set a clipping rectangle on the non client paint event, the
1513 window manager drawing code needs one.
1514 * Form.cs: The window manager needs to know when the window state
1516 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1517 don't need to factor in border and title sizes in these
1518 methods. TODO: Remove the args and fix the call points.
1519 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1521 - Let the driver set the cursors.
1522 - Improve active window handling
1523 - Correct sizes for title bars and buttons.
1524 - Match MS drawing better
1525 * MdiWindowManager.cs: We don't need to handle border style
1526 updates specially anymore.
1527 - Check for scrollbars when windows are done moving
1528 - Handle Active properly.
1529 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1530 correctly. I am spewing the exception though, so we don't hide the
1533 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
1535 * DataGridViewRowPostPaintEventArgs.cs,
1536 DataGridViewCellPaintingEventArgs.cs,
1537 DataGridViewRowCollection.cs,
1538 DataGridViewRowPrePaintEventArgs.cs,
1539 DataGridViewCell.cs: Clear a few warnings and implement a few
1540 exceptions that should be thrown.
1542 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1544 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1545 'inheriting' our parent's (non-default) cursor. (Part of
1548 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1550 * XplatUIX11.cs: Fixed cast to make csc happy
1552 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1554 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1555 it's for the client area (part of fix for #77479 and needed
1556 for MDI window cursor handling)
1558 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1559 the appropriate default cursors and also passing the message
1561 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1562 for non-client areas
1564 2006-02-15 Jackson Harper <jackson@ximian.com>
1566 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1567 is a real MDI window
1569 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
1571 * X11DesktopColors.cs: Instead of checking the desktop session
1572 string for "KDE" check if it starts with "KDE"
1574 2006-02-10 Jackson Harper <jackson@ximian.com>
1576 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1579 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1581 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1584 - Got rid of the panel. All controls are now directly added to
1586 - Changed to mono coding style
1588 2006-02-10 Jackson Harper <jackson@ximian.com>
1590 * InternalWindowManager.cs: We don't need the set visibility to
1591 false hack anymore now that peter has written beautiful shutdown
1594 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
1596 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1597 where already explicitly destroyed
1599 2006-02-10 Jackson Harper <jackson@ximian.com>
1601 * MdiClient.cs: Handle the case where windows are too high or to
1602 the left and we need scrollbars.
1604 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1606 * MimeIcon.cs: Added some icons
1609 - Got rid of the panel. All controls are now directly added to
1611 - Changed to mono coding style
1612 - On Linux "My Computer" and "My Network" will now show some
1613 more usefull information. A new class, MasterMount, gathers
1614 this information from /proc/mount. Updated MWFFileView to make
1615 use of this information
1616 - Fixed a bug that caused FileDialog to crash when
1617 ".recently_used" file had a zero size
1618 - FilterIndex does now what it should
1620 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1623 2006-02-09 Jackson Harper <jackson@ximian.com>
1625 * ComboBox.cs: Don't touch if null.
1627 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1629 * Cursor.cs: 64bit safeness fix
1630 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1632 2006-02-09 Jackson Harper <jackson@ximian.com>
1634 * Form.cs: If a form is made into an MDI form update the styles so
1635 all the props can get set correctly.
1636 - Kill the mdi_container when we dont need it anymore.
1637 * InternalWindowManager.cs: Add missing NOT
1639 2006-02-08 Jackson Harper <jackson@ximian.com>
1641 * InternalWindowManager.cs: Respek clipping when drawing MDi
1644 2006-02-08 Jackson Harper <jackson@ximian.com>
1646 * Hwnd.cs: Add bits to track non client expose events.
1647 * XplatUIX11.cs: Track non client expose events on the hwnd. This
1648 gives us a proper invalid rect and will allow for some nice
1649 optimizations with NC client drawing
1650 - MDI windows are children windows, so move their style handling
1651 into the child window block.
1652 * InternalWindowManager.cs: Remove a state reset that was
1653 getting invoked at the wrong time. Fixes managed windows getting
1654 into a 'stuck' captured state.
1656 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1658 * TextControl.cs (Document.ctor): Now initializing
1659 selection_anchor. Fixes #77493
1661 2006-02-07 Jackson Harper <jackson@ximian.com>
1663 * TrackBar.cs: The increment/decrements were backwards.
1665 2006-02-07 Mike Kestner <mkestner@novell.com>
1667 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1668 to the instance itself.
1670 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1672 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1673 on ulongs and pointers, the size differs between 32bit and 64bit
1676 2006-02-07 Mike Kestner <mkestner@novell.com>
1678 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1679 for 64 bit platforms to work around a metacity bug.
1681 2006-02-07 Jackson Harper <jackson@ximian.com>
1683 * TrackBar.cs: Process the input keys we need, and hookup to
1684 KeyDown instead of using WndProc, so we get key messages.
1686 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1688 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1690 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1691 we need to translate the XdndVersion atoms array before sending it
1693 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1696 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1697 number of bits for the property, not the number of bytes. The
1698 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1699 but would not crash since it specified 8 bits instead of 4 bits)
1700 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1701 defined as XID -> long in the C headers)
1702 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
1703 references since those are now IntPtr to begin with
1704 - Switched all Atom.XXX 'int' casts to IntPtr casts
1705 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1706 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1707 - Added XChangeActivePointerGrab DllImport (for X11DnD)
1709 - Changed 'int' type for Atoms in XEvent structures to IntPtr
1710 - Changed atom in HoverStruct to be IntPtr
1712 - Removed local DllImports, switched code to use those from XplatUIX11
1713 - Removed/fixed casts related to the switch of Atom to be a IntPtr
1715 2006-02-06 Mike Kestner <mkestner@novell.com>
1717 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
1718 method signatures in the import region. There may still be some
1719 lingering struct marshaling issues, as I didn't drill down into those.
1722 2006-02-06 Jackson Harper <jackson@ximian.com>
1724 * ComboBox.cs: Dont manually set the top_item, this is computed
1725 when the scrollbar position is set.
1727 2006-02-06 Mike Kestner <mkestner@novell.com>
1729 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1730 startup crashes on amd64. There's other fixes needed. All pinvoke
1731 usage of Atom needs to be mapped to IntPtr for example. And there are
1732 likely other int/long issues to be addressed.
1734 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
1736 * FileDialog.cs: One more...
1738 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1740 * FileDialog.cs: Next try
1742 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1744 * FileDialog.cs: First part of fix for #77464
1746 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1748 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1749 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1750 AcceptButton border drawing.
1752 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1754 * Form.cs: Moved positioning of form after auto scaling is applied,
1755 otherwise it would possibly use wrong form size.
1757 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1759 * Control.cs (RecreateHandle): No need to re-create any child
1760 controls, the child windows will get destroyed automatically by
1761 the windowing system or driver, and re-created when the handle
1762 is being accessed the first time. Fixes #77456
1763 * Form.cs: No longer setting the form to closing if the handle is
1764 being recreated. This seems like the right thing to do, don't
1765 have a bug or testcase for this, though.
1767 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1769 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1770 controls to avoid unwanted side effects
1772 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1775 - ScaleCore needs to scale the bounds, not the ClientSize of the
1776 control. Fixes #77416.
1777 - DefaultSize is 0,0 for control
1779 - DefaultSize is 100, 20
1780 - SetBoundsCore: Now enforcing the height, no matter if the provided
1781 height is more or less than the preferred one, as long as AutoSize
1783 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1785 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1788 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1789 call unless both performLayout is true *and* we have a pending
1791 - ResumeLayout: MS does not completely nest Suspend and Resume,
1792 they bottom out at 0, fixed our code to match that.
1793 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1794 SetBoundsCore, we were updating even when we shouldn't. This fixes
1795 swf-anchors mis-anchoring when resizing the app fast and lots.
1796 - UpdateDistances: Now only setting the left and top distance if
1797 we have a parent and are not suspended, this is based on
1798 a suggestion by Don Edvaldson in bug #77355.
1799 - OnVisibleChanged: Fixed logic when to create the control. We may
1800 not create the control if we have no parent or if it's not visible;
1801 switched to using Visible property instead of is_visible field
1802 since the property also considers parent states. This fixes a bug
1803 when starting Paint.Net
1805 2006-02-02 Jackson Harper <jackson@ximian.com>
1807 * Form.cs: If the forms handle hasn't been created yet don't call
1808 into xplatui to make it top most, just set the topmost flag on the
1809 form in CreateParams
1810 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1812 2006-02-01 Jackson Harper <jackson@ximian.com>
1814 * ScrollableControl.cs: Refactored the Recalculate method a
1815 little, this wasn't handling all the variants of bottom and right
1816 bars needed to be added and added/removed based on their
1817 counterparts being added/removed (which changes the drawable
1818 size). Also we special case client widths and heights of 0 and
1819 don't add the scrollbar for those.
1821 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
1824 - Added method to get AbsoluteGeometry(); currently unused, but might
1825 be used in the future, if we try again to figure out toplevel
1826 coordinates with some more crappy window managers
1827 - Added FrameExtents() method to retrieve the WM set decoration size
1828 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
1829 to deal with at least KDE, FVWM and metacity (Fixes #77092)
1831 - Added whacky_wm tracking var for metacity
1832 - Added logic to have default menu height if the actual menu height
1833 has not yet been calculated (part of fix for #77426)
1834 * Form.cs: Keep track whether client size has been set and re-set
1835 it if a menu is added/removed afterwards (Fixes #77426)
1837 2006-01-31 Jackson Harper <jackson@ximian.com>
1839 * Control.cs: When a new Site is set on the component attempt to
1840 pull the AmbientProperties from it.
1842 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
1844 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1845 in the background of the owning form. Fixes #77332
1847 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1849 * MimeIcon.cs: Fix for #77409
1851 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1853 * XplatUIX11GTK.cs: Initial import
1855 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1857 * FixedSizeTextBox: fixes class signature
1859 2006-01-30 Jackson Harper <jackson@ximian.com>
1861 * FixedSizeTextBox.cs: New internal class that represents a
1862 textBox that will not be scaled.
1865 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1868 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1870 * XplatUIX11.cs: Retrieve default screen number instead of
1871 assuming 0. Attempted fix for #77318
1873 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1876 - GetWindowPos: When a window is parented by FosterParent, use
1877 the desktop instead of FosterParent as the base to get coordinates
1878 - CreateWindow: Don't make FosterParent the parent window for Popups
1879 if we don't want a taskbar entry, Popups automatically don't get one
1880 * Hwnd.cs: Need to call remove to actually remove the key from the
1883 2006-01-30 Mike Kestner <mkestner@novell.com>
1885 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1887 2006-01-30 Jackson Harper <jackson@ximian.com>
1890 * TreeNode.cs: Raise events no matter how the treenode is
1891 checked. Patch by Don Edvalson.
1893 2006-01-30 Jackson Harper <jackson@ximian.com>
1895 * TreeNode.cs: Signature fix.
1897 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
1899 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1901 2006-01-20 Mike Kestner <mkestner@novell.com>
1903 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1904 event forwarding when menus are active.
1905 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
1906 Most of the patch is pdb's with a little rework.
1908 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1910 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
1911 Removed GetMenuDC and ReleaseMenuDC methods; replaced
1912 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1913 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1914 * InternalWindowManager.cs: Added use of PaintEventStart/End to
1915 handling of WM_NCPAINT message, now passing the PaintEventArgs to
1916 the PaintWindowDecorations method
1917 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1918 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1919 * MenuAPI.cs: Made tracker window invisible
1921 - Removed GetMenuDC and ReleaseMenuDC methods
1922 - Implemented the client=false path for PaintEventStart and
1925 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1927 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1928 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1931 - MaximizeBox, MinimizeBox: Recreate the handle when setting
1933 - CreateParams: Reworked the styles to match MS look'n'feel,
1934 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1935 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1937 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1939 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
1940 window is not mapped, since otherwise every form that's being
1941 created is considered minimized, which is wrong.
1942 * Form.cs: Catching the exception and returning our internal value
1945 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1947 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1948 SetWindowMinMax() to have means to tell the driver about the minimum,
1949 maximum and maximized state window sizes. (Part of the fix for #76485)
1951 - Implemented tracking of minimum and maximum window size, now calling
1952 new SetWindowMinMax() driver method to tell the driver (Part of the
1954 - Finished handling of WM_GETMINMAXINFO method, now setting all values
1955 (Completes fix for #76485)
1956 - Calling new SetWindowMinMax driver method when the handle for a
1957 form is created, to make sure the driver knows about it even if
1958 the values have been set before the window was created
1959 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1960 to avoid messing up our anchoring calculations (partial fix
1962 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1964 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1965 - Improved GetWindowState() to detect 'Minimized' state on Metacity
1966 (and presumably other freedesktop.org compliant WMs). Left the
1967 assumption unmapped=minimized, needed for SetVisible to work.
1968 - Now setting the window state when creating windows
1969 - Fixed SetVisible to consider/set the window state when mapping
1970 a Form. We cannot set the state before it's mapped, and we cannot
1971 use Form.WindowState once it's mapped (since it would ask the
1972 driver and get 'normal'. Therefore, we grab the state before
1973 mapping, map, and then set state.
1974 - Implmemented SetWindowMinMax method; Metacity does not seem to
1975 honor the ZoomHints, though.
1977 - Removed MINMAXINFO (moved to XplatUIStructs)
1978 - Added SetWindowMinMax stub (on Win32 the only way to set that
1979 information is in response to the WM_GETMINMAXINFO message, which
1980 is handled in Form.cs)
1981 - Added logic to SetVisible to set the proper window state when a
1982 form is made visible (fixes #75720)
1984 2006-01-26 Jackson Harper <jackson@ximian.com>
1986 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1987 same way we handle them with Invoke.
1989 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
1992 - Added tracking of window state so CreateParams can return
1993 the appropriate style
1994 - Moved setting of WS_CAPTION style in CreateParams to allow
1995 styles without caption
1996 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
1997 control if the TextBox property is accessed. Fixes #77345
1999 - get_Created: now uses is_disposed and is_created to determine
2000 return value (suggested by Jackson)
2001 - CreateHandle: No longer exits if the handle is being recreated
2002 - RecreateHandle: If the handle is not yet created call the
2003 appropriate method to create either control or handle. If the
2004 control is already created CreateHandle will simply exit instead
2005 of just creating the handle
2006 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2007 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2010 - When DestroyWindow is called, instead of waiting for the
2011 DestroyNotification from X11, we directly post it to the WndProc
2012 and immediately dispose the hwnd object.
2013 Same applies to DestroyChildWindows, and this obsoletes the
2014 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2015 child windows before our own, to avoid X11 errors.
2016 - Removed the direct sending of WM_PAINT on UpdateWindow
2018 - Reworked DoEvents and GetMessage to allow access to internal queue
2019 even when trying non-blocking access to the queue. Fixes #77335.
2020 Based on a patch suggestion by Don Edvalson. The new private
2021 GetMessage can now also be used as a backend for a PeekMessage
2023 * XplatUI.cs: Improved debug output for CreateWindow
2025 2006-01-25 Jackson Harper <jackson@ximian.com>
2027 * Help.cs: Allow param to be null. Patch by Don Edvalson.
2029 2006-01-24 Jackson Harper <jackson@ximian.com>
2031 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2032 when we have a MaxDropItems lower then the selected index.
2034 2006-01-24 Jackson Harper <jackson@ximian.com>
2036 * Control.cs: Don't allow selection of non visible controls, allow
2037 selection of controls without parents.
2039 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2041 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2042 * DataGridDrawingLogic.cs: Add editing row only when is necessary
2044 2006-01-23 Jackson Harper <jackson@ximian.com>
2046 * UpDownBase.cs: Make the textbox handle all the selection and
2047 tabbing. This fixes tabing to updown controls.
2049 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2051 * TextBoxBase.cs: fixes exception thown the object was null
2053 2006-01-23 Jackson Harper <jackson@ximian.com>
2055 * ButtonBase.cs: Just use the base CreateParams. They set
2056 visibility and enabled correctly.
2059 * MonthCalendar.cs: Lets let the base set as much of the
2060 createparams as possible so we don't have duplicate code all over
2063 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
2065 * ThemeGtk.cs: Added TrackBar and some experimental code to
2066 get double buffering back
2068 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2070 * DataGrid.cs: Allows row number set internally higher than the last
2071 when creating a new row. Restores the editing functionality.
2073 2006-01-20 Mike Kestner <mkestner@novell.com>
2075 * MimeIcon.cs: delay Image creation until the icons are accessed
2076 instead of creating 190 scaled images on GnomeHandler startup.
2078 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2080 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2081 first call base before processing the event. Fixes #77279
2083 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2085 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2086 that the stride for the GDI bitmap would match the stride of
2089 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2091 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2093 2006-01-19 Jackson Harper <jackson@ximian.com>
2095 * ComboBox.cs: Hookup the text controls keydown event so we get
2096 those when the text control has the focus.
2098 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2100 * Label.cs: Now using the base events instead of defining new ones;
2101 this allows us to just call the base properties without having to
2102 duplicate all base property logic
2104 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2106 * Label.cs: A label by default is not a tabstop (Fixes one of our
2107 failing nunit tests)
2109 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2111 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2112 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2114 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2116 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2117 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2120 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2121 constructor creates images that can't be saved. Part of the fix
2123 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2124 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2125 bug fix for handling window state in forms properly)
2127 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2129 * ThemeGtk.cs: Simplify ScrollBar drawing
2131 2006-01-18 Jackson Harper <jackson@ximian.com>
2133 * Splitter.cs: Set the default dock style for the splitter control
2136 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2138 * ThemeGtk.cs: Corrected StateType and ShadowType for
2141 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2143 * Control.cs: Make use of Theme.DoubleBufferingSupported
2145 - Added drawing for flat style buttons
2146 - Added ScrollBar drawing
2148 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2150 * ThemeClearlooks.cs: Removed some unneeded code.
2151 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2153 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2155 * LinkLabel.cs: We need to update the hover drawing when
2156 leaving the control as well.
2158 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2160 * DataGrid.cs: Clicking on non empty areas in the columns
2161 area was giving an exception
2163 2006-01-17 Jackson Harper <jackson@ximian.com>
2165 * ThemeWin32Classic.cs:
2166 * ListView.cs: Do not draw/clip the headers when the header style
2169 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2171 * DataGrid.cs: Fixes 77260
2173 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2175 * DataGrid.cs: Clicking on a column on a empty grid was giving
2178 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2180 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2181 or any keypress will crash the grid.
2183 2006-01-17 Mike Kestner <mkestner@novell.com>
2185 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2186 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
2187 invisible/previously-visible items.
2190 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
2192 * ThemeClearlooks.cs:
2193 - Added CL_Draw_Button method; now other theme controls that are
2194 not derived from button or do not have a button can draw buttons
2196 - Updated ComboBox drawing
2197 - Beautified RadioButton drawing
2198 - Corrected drawing of bottom and left tabs
2199 - Beautified DateTimePicker and MonthCalendar
2200 - Added CPDrawButton and CPDrawRadioButton
2202 2006-01-16 Jackson Harper <jackson@ximian.com>
2204 * ComboBox.cs: Set the initial value of the scrollbar to the
2205 current index. Reduce the numbers of refreshs and IndexOfs called.
2207 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
2209 * FileDialog.cs: When the file listview is focused hitting the
2210 backspace key moves the fileview to the parent directory
2212 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2215 - Added RecreateHandle call when changing taskbar visibility to
2216 trigger reparenting in Win32 driver (Fixes #75719)
2217 - If a window has minimize or maximize buttons, it cannot have
2220 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2221 the toplevel form with FosterParent (A toolwindow not on the
2222 taskbar) (Fixes #75719)
2223 - Made FosterParent a toolwindow
2225 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2227 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2229 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2231 * ToolTip.cs: If SetToolTip is called from a control and the mouse
2232 is currently over that control, make sure that tooltip_window.Text
2235 2006-01-13 Mike Kestner <mkestner@novell.com>
2237 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2239 2006-01-13 Jackson Harper <jackson@ximian.com>
2241 * TreeView.cs: On MS GetNodeAt never actually factors in the X
2242 value passed. Also redraw the selected node when we recieve
2243 focus, so tabbing between trees works correctly.
2245 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2247 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2248 ~/.gconf/%gconf-tree.xml, so use
2249 .gconf/desktop/gnome/interface/%gconf.xml
2251 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2253 * TextControl.cs: Draw text in gray if control is disabled
2255 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2257 * TreeView.cs: Draw the focus rectangle outside the highlight, to
2258 make sure it's always visible. Fixes #76680.
2260 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2262 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2264 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
2266 * PageSetupDialog.cs: Added.
2267 * PrintDialog.cs: Attributes.
2268 * PrintPreviewControl.cs: Updates.
2269 * PrintPreviewDialog.cs: Updates.
2271 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2273 * Control.cs: Undid my selection check fix, since it's not needed
2275 - Now considering the presence of hscroll/vscroll when sizing
2276 vscroll/hscroll respectively. Fixed bug #77077
2277 - Added Left/Up/Down/Right to IsInputKey list to prevent
2278 ContainerControl from stealing them. This fixes what I broke
2279 with my last checkin.
2281 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2283 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2284 I finally understand how the property can be set without a setter :-)
2286 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2289 - Switched RunLoop to use static Message.Create to create a
2291 - Added PreProcessMessage call in runloop for keyboard events; this
2292 is part of the fix for #77219, I overlooked this originally in the
2293 MSDN doc for PreProcessMessage
2295 - Removed call to PreProcessMessage from handling of keyboard
2296 messages; it's supposed to be done in the message pump
2297 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2298 per MSDN documentation.
2299 - IsInputChar: All chars are input chars by default; removed the
2300 parent calling chain, MS does not document that
2301 - PreProcessMessage: If IsInputChar is true, we want to return false
2302 to allow dispatching of the message
2303 - When selecting the next control, now also check that we're not
2304 selecting ourselves again and therefore return a false positive.
2306 - Tried to match return values for IsInputKey and ProcessDialogKey
2307 to what MS returns; moved processing of our special keys outside
2308 ProcessDialogKey since MS does not seem to return true on those.
2309 - Moved code that previously was in ProcessDialogKey into new private
2310 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2311 - Reworked handling of WM_CHAR to not have to duplicate code from
2312 Control.cs anymore, instead we simply call down to base.
2314 2006-01-12 Jackson Harper <jackson@ximian.com>
2316 * ComboBox.cs: We always need to refresh the text area when
2317 EndUpdate is called. Fixes the combobox in the file dialog.
2318 * Control.cs: Don't create the creator_thread until the controls
2319 handle is created. Also in InvokeRequired we check if the
2320 creator_thread is null. This gives the effect of InvokeRequired
2321 returning true if the controls handle is not created yet, and
2324 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2327 - Added StartLoop() driver method. This is used to allow drivers to
2328 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2329 loop for a particular thread
2330 - Added EndLoop() driver method. This is called once the message
2331 pump for the thread is shut down
2332 - Added SupportsTransparency method to allow the driver to indicate
2333 opacity support for windows
2335 - Removed TODO attribute, completed AllowTransparency property
2336 - Added documented logic to Opacity
2337 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2338 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2339 versions of CompatibleTextRendering
2340 * X11Structs.cs: Added opacity atom to our atom enumeration
2341 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2342 of a form might be set before it's reparented by the WM, and we need
2343 the opacity value without calling up to Form)
2344 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
2345 SupportsTransparency() driver methods
2346 * Application.cs: Now calling StartLoop and EndLoop driver methods
2348 - Added opacity atom registration
2349 - Added StartLoop()/EndLoop() methods. They're empty right now but
2350 will need to get implemented when we switch to a per-thread queue
2351 - Implemented SupportsTransparency() method
2352 - Implemented SetWindowTransparency() method
2353 - Added support for setting the opacity value when a window is
2354 reparented (since the opacity needs to be set on the WM frame)
2355 * XplatUIOSX.cs, XplatUIWin32.cs:
2356 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2358 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2360 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2362 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2364 * FileDialog.cs: Added ToolTip for MWFFileView
2365 * MimeIcon.cs: Rewrote GnomeHandler.
2366 - Get currently used gnome icon theme from
2367 ($HOME)/.gconf/%gconf-tree.xml
2368 - Make use of inherited icon themes
2369 - Support SVG icon themes like Tango via librsvg
2371 2006-01-12 Miguel de Icaza <miguel@novell.com>
2373 Revert's Jackson's revert which broke 2.0 builds. Fix both
2376 * Application.cs: Move the use_compatible_text_rendering outside
2377 the NET_2_0 define. If we ever need to use the
2378 use_compatible_text_rendering on the individual controls they will
2379 access the variable from the common shared code paths.
2381 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2384 - Added more granular debug options
2385 - Added method to print both window text and id
2386 - Switched debug output to use new Window() debug method
2387 - Added IsEnabled() driver method
2388 - Added EnableWindow() driver method
2390 - Removed end_modal; no longer needed, new loop handles termination
2391 via 'closing' variable
2392 - If form is modal, setting DialogResult will now initiate loop
2393 termination via 'closing' variable
2394 - Added support for is_enabled/WS_DISABLED to CreateParams
2395 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2397 - Removed code that's now in RunLoop from ShowDialog()
2398 - Added various documented sanity checks to ShowDialog()
2399 - Added handling of WM_DESTROY message; we set 'closing' on getting
2400 the message to indicate the message pump to terminate
2401 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2402 send by the Application.ExitThread method. (We send the message
2403 to destroy the window after all other events have been
2404 processed through the queue, instead of destroying the handle
2406 - Moved code from Close() method to WM_CLOSE handler; added logic
2407 to only send close-related events if the form is not displayed
2409 * Splitter.cs (..ctor): Fixed typo in resource name
2411 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2413 - set_Cursor: Now only setting calling into XplatUI if the handle for
2414 the control is already created; this avoids implict handle creation
2415 or crashes if it's not created
2416 - set_Enabled: Now setting the enabled state via the new driver method
2417 instead of just tracking it
2418 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2419 - CreateControl: Reordered event firing and method calls to more
2420 closely fire events in the order MS does. Now setting the
2421 enabled state in the driver when creating the control.
2422 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2424 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2425 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2426 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2428 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2429 - Added EnabledHwnd property to easily allow a driver to find the
2430 handle of the first enabled window in the parent chain (this is
2431 used by drivers to pass up input events of disabled windows)
2432 * XplatUIDriver.cs: Added IsEnabled() method
2434 - Removed crude and obsolete exiting tracking variable
2435 - Removed internal ModalRun(); replaced by RunLoop()
2436 - Implemented private CloseForms() method to allow closing all
2437 windows owned by a particular (or all) threads
2438 - Exit() now properly closes all windows without forcing the message
2440 - Removed obsolete InternalExit() method
2441 - Changed Run() methods to use new RunLoop() message pump
2442 - Implemented new RunLoop() method for both modal and non-modal forms
2444 - get_CreateParams: Added setting of WS_DISABLED
2445 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2446 invoked via Form.ShowDialog()
2447 * NativeWindow.cs: We don't remove the window from the collection when
2448 the handle is destroyed; there might still be messages for it in the
2449 queue (mainly the resulting WM_DESTROY); instead it will be removed
2450 when Control calls InvalidateHandle in the WM_DESTROY handler
2452 - CreateWindow: Added logic to handle the WS_DISABLED window style
2453 - EnableWindow: Implemented based on Hwnd.Enabled
2454 - GetMessage: Reset PostQuitState so the method can be called again
2455 - Implemented support for disabled windows (passing messages to the
2456 first enabled parent) in handling all input messages
2457 - Added optimizations for handling Expose events
2458 - Implemeted new driver method IsEnabled()
2459 - Now always resetting paint pending tracking vars when we start paint
2460 - Re-implemented UpdateWindow via just sending a WM_PAINT message
2461 * XplatUIOSX.cs: Added IsEnabled method stub
2462 * XplatUIWin32.cs: Implemented new IsEnabled() method
2464 2006-01-11 Jackson Harper <jackson@ximian.com>
2466 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2467 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2469 * ColorDialog.cs: Clear out the old form before adding the new
2472 2006-01-11 Jackson Harper <jackson@ximian.com>
2474 * X11Dnd.cs: Make sure to add all the text formats when adding
2475 strings to the data object.
2476 * TreeNodeCollection.cs: When adding to a sorted tree we need to
2477 do some redrawing too. Also change the UpdateNode to an
2478 UpdateBelow so the newly added node gets painted.
2480 2006-01-11 Miguel de Icaza <miguel@novell.com>
2482 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2483 LinkLabel.cs, PropertyGrid.cs: Implement the
2484 UseCompatibleTextRendering property for 2.x
2486 * Application.cs (SetCompatibleTextRenderingDefault): Add.
2488 2006-01-11 Jackson Harper <jackson@ximian.com>
2490 * TreeView.cs: Use the property for setting the selected node so
2491 the correct events get raised.
2492 * TreeNode.cs: Update the tree when the fore/back colours of a
2495 2006-01-10 Jackson Harper <jackson@ximian.com>
2497 * TreeView.cs: Allow setting SelectedNode to null.
2499 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2501 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2503 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2505 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2507 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2509 * PrintDialog.cs: Added attributes and set default property values.
2511 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2513 * PrintControllerWithStatusDialog.cs:
2514 Added PrintControllerWithStatusDialog.
2516 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2518 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
2519 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2521 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2523 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2525 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2527 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2528 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2530 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2532 * MimeIcon.cs: Added internal class SVGUtil.
2534 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2536 * FileDialog.cs: Don't crash if there are two files with the
2537 same name but different locations.
2539 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
2541 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2542 dates across multiple month grids. Used to not highlight entire
2543 month, but does now.
2545 2006-01-06 Jackson Harper <jackson@ximian.com>
2547 * MonthCalendar.cs: Removed DoEvents call to prevent a running
2548 message loop. Change timer intervals to numbers that seem more
2551 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
2553 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2554 object for location info since screen object is now implemented.
2556 2006-01-05 Jackson Harper <jackson@ximian.com>
2558 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2559 * AsyncMethodResult.cs: We no longer use a WeakReference for the
2560 AsyncMethodResult, this is because we ALWAYS want the
2561 ManualResetEvent to get set.
2562 * Control.cs: When disposing use an async invoke to call shutdown
2563 code, so that thigns don't block on the finalizer thread. Also
2564 check if we even have a message loop before trying to send
2565 messages, if we don't then don't bother sending messages.
2566 - No more weak references for async methods
2567 * XplatUIDriver.cs: No more weak references for async methods.
2569 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2571 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2572 returns two FontFamily with the same name
2574 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2576 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
2577 drawing disabled text. Instead using the ColorGrayText color
2579 2006-01-04 Jackson Harper <jackson@ximian.com>
2581 * TreeNode.cs: redraw the node when its image index is changed.
2583 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2585 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2586 time I checked there are no others like it.
2588 2006-01-04 Jackson Harper <jackson@ximian.com>
2590 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2591 this gives the behavoir I was looking for.
2592 * Control.cs: Special case Invoking EventHandlers, this matches MS
2593 and fixes part of bug #76326.
2595 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2597 * ThemeClearlooks.cs, FileDialog.cs:
2598 - Reflect the latest Theme class changes
2599 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
2602 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2604 * Theme.cs: Cache UI resource images and resize them if needed
2606 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2608 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2609 is called. This fixes the crash in Nexxia when setting the font
2610 attributes in the chat. [However, RTF needs a look-over to make sure
2611 that all SelectionXXX methods handle the special case that selection
2612 is empty and therefore the change must be applied to all text starting
2613 at the cursor/selection start]
2615 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2617 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2618 XplatUIOSX.cs: Added SendMessage and PostMessage methods
2619 * X11Keyboard.cs: Switched to new way of calling PostMessage
2621 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2623 * Theme.cs: Added theme interface for images to allow the theme to
2624 control what images are used for things like FileDialog, MessageBox
2626 * MessageBox.cs: Now uses the new Theme icon/image interfaces
2628 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
2631 - Removed some dead code
2632 - Opening a recently used file does work now
2633 - Small UI enhancements
2636 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2638 * FileDialog.cs: Forgot too add __MonoCS__
2640 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2642 * FileDialog.cs: We are able to read recently used files now let's
2643 go on and write them.
2645 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
2647 * FileDialog.cs: Breathe some life into "last open"/"recently used"
2649 * MimeIcon.cs: Do a check for the top level media type also
2651 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2653 * ThemeClearlooks.cs:
2654 - Added CPDrawStringDisabled
2655 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2656 some chars if the text doesn't fit into text_rect
2657 - DrawListViewItem: If View = View.LargeIcon center the image;
2658 rewrote the drawing of ListViewItem.Text if View =
2661 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2663 * MimeIcon.cs: Use default KDE icon theme if there is no
2664 "48x48" directory for the current icon theme, fixes #77114
2665 * Mime.cs: Disable not working and actually not used code.
2666 * ThemeWin32Classic.cs:
2667 - Replace "new SolidBrush" in GetControlBackBrush and
2668 GetControlForeBrush with ResPool.GetSolidBrush
2669 - Changed DrawListViewItem from private to protected virtual
2671 - Added form.MaximizeBox = true
2672 - Don't throw an exception if there is a broken symbolic link
2674 2005-12-23 Jackson Harper <jackson@ximian.com>
2676 * TabControl.cs: Give the panels focus, keyboard navigation is
2677 fixed so this works correctly now.
2678 - We need these key events also.
2679 * ToolBar.cs: Remove some of the poor mans double buffering.
2681 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
2683 * ComboBox.cs: The internal TextBox now returns the focus.
2685 2005-12-23 Jackson Harper <jackson@ximian.com>
2687 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
2689 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2691 * Control.cs: Removed debug code
2692 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2695 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2697 * Control.cs: When creating the control, update the Z-order after
2698 all it's children are created, too. (Fixes nexxia not showing
2701 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2703 * Control.cs: Do not update the anchoring distances if layout is
2704 suspended, instead do it once layout is resumed
2706 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2709 - After many hours of debugging, for both Jackson and
2710 myself, it turns out that it helps to set the parent of a control
2711 if you want to actually see it onscreen. In the spirit of that
2712 discovery, we're now setting the parent of the control and
2713 it's children when the control's handle is created. This fix
2714 will make Lutz Roeder's Reflector run happily.
2715 - now just creating the handle instead of the whole control when
2716 getting a graphics context for the control.
2718 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2720 * ScrollableControl.cs: When calculating the canvas, don't consider
2721 the scrollbar widths. Instead, predict if horizontal scrollbar
2722 will affect canvas when deciding on vertical display and vice versa.
2724 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2726 * RichTextBox.cs: Set default RTF font for documents that don't
2727 have a font table (Fixes #77076)
2729 2005-12-22 Jackson Harper <jackson@ximian.com>
2731 * TextBoxBase.cs: It's difficult to do, but you can have an empty
2732 clipboard. This prevents a NullRef in that case.
2733 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2734 clipboard. PRIMARY is for the currently selected text only. (We
2735 should implement PRIMARY at some point.
2737 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2739 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2740 a Unicode function with a structure that was defined in Ansi way.
2743 2005-12-21 Jackson Harper <jackson@ximian.com>
2745 * StatusBar.cs: Statusbar handles its fore/back colours on it's
2746 on. Because thats how it rolls. (and this avoids it using ambient
2748 * ThemeWin32Classic.cs: Use the proper back color for filling.
2749 * Menu.cs: Use the system menu bar color for drawing menu
2750 bars. Using the window back color will bring ambient colours into
2753 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
2755 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2756 Bitmaps were created and not disposed.
2758 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2760 * Control.cs (CreateControl): Don't do anything if the control is
2761 already created, otherwise we'd fire the OnCreated event more than
2764 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2766 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2767 will always match. Instead return -1. Fixes #76464.
2769 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2771 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2772 neither the beginning nor the end of the line (Fixes bug #76479)
2774 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2777 - ControlNativeWindow.ControlFromHandle(): Now handling situation
2778 where handle is invalid
2779 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2780 instead of slower linear search
2781 * NativeWindow.cs: Don't remove the window from the hashtable until
2782 after the driver has destroyed it (since the driver might use
2783 Control.FromHandle to lookup the control object
2784 * Hwnd.cs: Added DestroyPending property to track if a window is
2785 already destroyed as far as the driver is concerned and only hasn't
2786 yet notified the control
2788 - Activate(): Check if the window is still valid before using the
2790 - Implemented DestroyChildWindow() method to mark child windows as
2791 destroyed when a window is destroyed. This prevents situations
2792 where we might call an X method based on queued events for a
2793 window that already has been destroyed but we haven't yet pulled
2794 the destroy method from the queue.
2795 - Added a call to the new DestroyChildWindow() method to the drivers
2796 DestroyWindow code. Also now marking the destroyed window itself
2799 2005-12-20 Jackson Harper <jackson@ximian.com>
2802 * StatusBarPanel.cs: Don't calculate panel sizes on draw
2803 anymore. Just do them when needed, also track the rects of panels
2804 so that we can optimize refreshing more in the future.
2806 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
2808 * ColorDialog.cs: Fixed focus drawing in small color controls
2810 2005-12-19 Jackson Harper <jackson@ximian.com>
2812 * InternalWindowManager.cs:
2813 * MdiWindowManager.cs: Cleanup some coordinate system changes so
2814 moving windows works properly.
2816 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
2819 - Removed call to InitLayout() from SetBoundsCore(); doc says
2820 it's only called when a control is added to a container
2821 - Split InitLayout logic, moved to separate UpdateDistances() method
2822 since we need to perform those calculations more often than just
2823 when adding the control to a container. (Needed to fix #77022)
2824 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2825 - Reduced the OnBindingContextChanged events count, don't send them
2826 unless the control is created, we still aren't totally matching
2827 MS, but I can't quite figure out some of their rules
2829 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2831 * ThemeClearlooks.cs: Corrected distance between ProgressBar
2834 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2836 * ThemeClearlooks.cs:
2837 - Updated ProgressBar drawing
2838 - Corrected drawing of ScrollBars and scroll buttons
2839 - Some temporary fixes for minor pixel artefacts
2841 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
2844 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2845 cause events to be sent in the same order as MS does.
2846 - Added ChangeParent() method to trigger various OnXXXChanged events
2847 that need to be fired when a parent changes (This is a reworking
2848 of the patch from r54254, with the X11 errors fixed)
2849 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2850 since on MS we get OnLayoutChanged events when calling Clear()
2851 - Changed Enabled property to consider parent state as well, if a
2852 parent is not enabled, the control will not be either
2853 - Changed Parent property to simply call Controls.Add() since that
2854 now does all the work required, this way we avoid code duplication
2855 - Threw in a few OnBindingsContextChanged calls to try and match
2856 when MS sends them. We seem to send a few too many, though.
2857 - Added call to CreateControl when adding the control to a parent.
2858 We were never calling CreateControl. Still needs some work, in
2859 some places we treat HandleCreated and ControlCreated as equal,
2861 - Removed obsolete commented out code from UpdateZOrder()
2863 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2865 * ThemeClearlooks.cs: Updated TrackBar drawing.
2867 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2869 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2871 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2873 * FileDialog.cs: Add the Help button and the open readonly
2874 checkbox only if needed
2876 2005-12-16 Jackson Harper <jackson@ximian.com>
2878 * Control.cs: Make sure we have an active menu before trying to
2879 process commands on it. Prevents menu-less forms from crashing
2880 when Alt is pressed.
2881 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2883 * RichTextBox.cs: Expand statement to help out gmcs and fix the
2886 2005-12-16 Jackson Harper <jackson@ximian.com>
2888 * InternalWindowManager.cs: Don't translate tool windows screen
2889 coordinates. This fixes windows 'bouncing' around when being moved.
2891 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2894 - MaxLength now treats 2^31-1 equal to unlimited length (this is
2895 not quite MS compatible, MS uses that number only for single line
2896 and 2^32-1 for multi-line, but I figure it won't hurt keeping
2898 - Now enforcing the MaxLength limit when entering characters
2899 - Added argument to internal Paste() method to track if it's called
2900 from programatically or via keyboard, since keyboard driven pastes
2901 need to enforce max-length
2902 - Added logic to Paste to only paste as many chars as MaxLength
2904 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2906 - Added Length property to return number of characters in document
2907 - Added private CharCount property which only tracks actual chars
2908 in the document (no linefeeds) and fires event when CharCount
2910 - Added tracking of character count to all methods that alter it
2911 - Added LengthChanged event to allow applications to subscribe
2912 to any changes to the document
2914 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2917 - Removed local password_char field (moved to TextBoxBase)
2918 - Now setting the document's password var when password is
2921 - Added password_char field (needed here so MultiLine can
2923 - Added logic to MultiLine property setter to set the document's
2924 variable when password display is allowed
2925 - Removed debug code and made some debug code conditional
2927 - Added RecalculatePasswordLine() method to handle special password
2929 - Added PasswordChar property, also added related tracking vars
2930 - Draw() method now uses local text var for grabbing text to draw,
2931 this var is set to line.text unless we're doing password display,
2932 then it is set to the pre-generated all-password-chars line
2933 - Added calling RecalculatePasswordLine() method for password lines
2935 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2938 - Added Reparented property to allow tracking of Window Manager
2939 reparenting actions (which affect X/Y calculations of toplevel
2941 - Made ToString() print window handles in hex
2943 - AddConfigureNotify(): Now uses reparented state off Hwnd to
2944 determine if X/Y needs offsetting
2945 - AddConfigureNotify(): Fixed offset calculations
2946 - Now adds ReparentNotify messages into the queue
2947 - Now processes ReparentNotify messages and causes a
2948 WM_WINDOWPOSCHANGED message to be sent upstream if a window
2949 is reparented (as most likely it's X/Y coordinates are changed
2952 2005-12-14 Jackson Harper <jackson@ximian.com>
2954 * XplatUIX11.cs: Tool windows still need to respek focus.
2956 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2958 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2959 have a working release
2961 2005-12-13 Jackson Harper <jackson@ximian.com>
2963 * Form.cs: Update styles after setting the border style regardless
2964 of whether or not the window is using a window manager.
2966 2005-12-13 Jackson Harper <jackson@ximian.com>
2968 * Form.cs: We now hook into an internal window manager instead of just an
2969 MDI subsystem, this is so we can have properly behaving tool windows.
2970 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2971 * InternalWindowManager.cs: New internal class that acts as a
2972 window manager for tool windows and as a base for mdi windows.
2973 * MdiWindowManager.cs: New class that acts as a window manager for
2976 2005-12-12 Jackson Harper <jackson@ximian.com>
2978 * Control.cs: Updates so we match behavoir for for implicit
2979 controls. Fixes explosions in MDI.
2981 2005-12-12 Jackson Harper <jackson@ximian.com>
2983 * Control.cs: Implement Invalidate (Region).
2985 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
2988 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
2989 the same events as MS does. MS fires events for each property
2990 except, for unknown reasons, Cursor, when the control is reparented.
2991 I can't seem to totally match add/remove since MS also fires some
2992 VisibleChanged events, which makes no sense. Consolidated the
2993 parenting code into a separate method so it can be called from
2994 both Add and Remove. set_Parent no longer needs any special logic
2995 as it calls the parent's add method which implicitly fires
2997 - Removed some obsolete code and debug output
2998 - Enabled state is inherited from parents, if this is enabled
3000 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3002 * Form.cs: Removed commented out code
3004 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3007 - Added internal version of Invoke, with additional argument
3008 indicating if we're calling it from a Dispose() handler. That
3009 way we can avoid BeginInvoke throwing an exception if we're
3010 calling for an already destroyed window.
3011 - Added a dispose argument to BeginInvokeInternal, and made the
3012 check if a valid window handle chain exists conditional on
3013 it not being a dispose call
3014 - Removed code in DestroyHandle to destroy our children. Since we
3015 now handle the WM_DESTROY message we will catch all our children
3017 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3019 - Added a field to track the application context of the form.
3020 - No need to set closing variable as response to WM_CLOSE, instead
3021 we destroy the window. We also call PostQuitMessage if the form
3022 has an application context (which makes it the main app form,
3023 which, when closed terminates the app)
3025 - Dropped Exit() method, it's naming was confusing
3026 - Added PostQuitMessage() which causes GetMessage to return false
3027 once the message queue is empty
3028 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
3030 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3031 no longer a valid XplatUI method, but left it in since it's used
3032 internally. Added empty PostQuitMessage() method.
3033 * MenuAPI.cs: Replaced call to Exit() with call to
3034 PostQuitMessage, even though this is probably no longer needed.
3035 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3036 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3038 - Replaced call to XplatUI.Exit() with PostQuitMessage()
3039 - Removed old debug code that would call XplatUI for exception
3040 display, enabled standard exception handling (Still not enabled
3041 though, until NativeWindow's ExternalExceptionHandler define
3044 - Added internal method to allow control to update NativeWindow
3045 after a window has been destroyed
3046 - Added handling of already destroyed windows when calling i
3048 - Added removal of handle from list on ReleaseHandle
3050 - Dropped GetMessageResult var and related code
3051 - Added PostQuitState to field to track if PostQuitMessage has been
3053 - Dropped Exit() method
3054 - Added PostQuitMessage() method
3055 - GetMessage now will return false if PostQuitState is set and no
3056 more messages are in the queue.
3057 - Expose handler will no longer generate WM_PAINT messages if we are
3058 in PostQuitState since it's very likely any windows have already
3059 been destroyed, and since Hwnd won't get updated until we have
3060 processed the DestroyNotify we'd be causing X errors.
3062 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3064 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3065 Thanks to Mike for pointing out the err of my ways.
3067 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3069 * Control.cs(PreProcessMessage): Moved menu handling back, but
3070 after all other key handling, to match MS (who handles Menu in
3072 * Menu.cs (WndProc): Removed my brainfart
3074 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3076 * Control.cs(PreProcessMessage): Removed special menu handling
3077 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3079 2005-12-07 Mike Kestner <mkestner@novell.com>
3081 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3082 state according in tracker.
3083 * Menu.cs : promote tracker field to base class and provide a tracker
3084 lookup capability. Add/Remove shortcuts dynamically if the top menu
3085 has a tracker. Unparent items that are removed from the collection.
3086 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3087 * Theme*.cs: add always_show_hotkeys field to support configurability
3088 of mnemonic display. win32 doesn't show mnemonics until Alt is
3091 2005-12-07 Jackson Harper <jackson@ximian.com>
3093 * MdiChildContext.cs: Use Control.ResetCursor.
3094 * Control.cs: ResetCursor needs to set the property so that the
3095 correct XplatUI call gets made.
3097 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3099 * Control.cs: More fixes to make our key events match MS. We
3100 were not setting the modifier state on KeyData, and we were
3101 not generating any events when Alt was pressed with a key
3102 since handling of WM_SYSxxx was missing for the OnKey methods.
3104 2005-12-07 Jackson Harper <jackson@ximian.com>
3106 * MdiChildContext.cs: reenable the sizing code.
3107 - When the mouse leaves a window reset its cursor.
3109 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3111 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3113 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3115 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3116 widths of Fixed3D borders
3118 2005-12-07 Jackson Harper <jackson@ximian.com>
3120 * MdiClient.cs: Fix warnings. Earn Mike's love.
3122 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3124 * ThemeClearlooks.cs:
3125 - Adjusted mouse over button color
3126 - Added first parts of CheckBox drawing
3127 - Added correct color for selected text background
3128 - Fixed ComboBox drawing
3129 - Added CPDrawBorder3D and CPDrawBorder
3131 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3133 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3135 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3137 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3138 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3139 alert users via sound. We could add an enum arg with different
3140 types of alerts in the future
3142 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3144 * Control.cs: Fix behaviour problems pointed out by Mike
3146 2005-12-05 Mike Kestner <mkestner@novell.com>
3148 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3149 prop setters. Calls parent.Refresh for now, but could be maybe be
3150 optimized with an internal method on StatusBar at some point.
3153 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3155 * RichTextBox.cs: Implemented get_SelectionColor
3157 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3159 * ThemeClearlooks.cs:
3161 - Draw black button border only if button is Form.AcceptButton
3162 - Draw correct button color for pressed RadioButton if the mouse
3163 has entered the button
3164 - Updated ProgressBar drawing!
3165 - Updated CPDrawSizeGrip drawing
3166 - Updated StatusBarPanel drawing
3168 2005-12-05 Mike Kestner <mkestner@novell.com>
3170 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3171 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3173 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
3175 * ThemeClearlooks.cs: Initial check-in, activate with
3176 export MONO_THEME=clearlooks
3177 * ThemeEngine.cs: Added ThemeClearlooks
3179 2005-12-03 Mike Kestner <mkestner@novell.com>
3181 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3184 2005-12-02 Jackson Harper <jackson@ximian.com>
3186 * Form.cs: If the child form has no menu the default main menu is
3187 used as the active menu.
3189 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3191 * ListBox.cs: Check if any items exist before trying to resolve
3192 coordinates into items
3194 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3196 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3197 as the second color for the background hatch
3199 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3201 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3202 * RichTextBox.cs: FormatText position arguments are 1-based, now making
3203 sure that what we pass to FormatText is always 1-based. Fixes #76885
3205 2005-11-29 Miguel de Icaza <miguel@novell.com>
3207 * NumericUpDown.cs (EndInit): When we are done initializing,
3208 reflect any updates on the UI.
3210 2005-12-02 Jackson Harper <jackson@ximian.com>
3212 * ImplicitHScrollBar.cs:
3213 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3214 their container controls.
3215 * TreeView.cs: Use the new implicit scrollbars.
3217 2005-12-02 Jackson Harper <jackson@ximian.com>
3219 * TreeView.cs: Make top_node internal so the TreeNodeCollections
3221 * TreeNodeCollection.cs: If we remove the topnode we need to
3222 update topnode to the next node in line.
3223 - When clearing nodes go through the same process as removing
3224 them, so they get depareneted and checked if they are top node.
3226 2005-12-01 Jackson Harper <jackson@ximian.com>
3228 * TreeView.cs: When imagelists are used the image area is
3229 selectable as well as the text.
3230 - If there are no selected nodes select the first one.
3231 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3232 so don't do it more then we need to.
3234 2005-12-01 Jackson Harper <jackson@ximian.com>
3236 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3237 that arrows can be scaled.
3239 2005-12-01 Jackson Harper <jackson@ximian.com>
3241 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3242 fail. Patch by Dieter Bremes
3244 2005-11-30 Jackson Harper <jackson@ximian.com>
3246 * Form.cs: Property is 2.0 only
3247 * PrintDialog.cs: Signature fix.
3249 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3252 - No longer artificially moves text 2 pixels down (now that we have
3253 borders this is no longer needed)
3254 - Added calcs for left, hanging and right indent
3256 2005-11-23 Mike Kestner <mkestner@novell.com>
3258 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3260 2005-11-30 Jackson Harper <jackson@ximian.com>
3262 * MdiChildContext.cs: Set the cloned menus forms, as these don't
3263 get cloned as part of CloneMenu ().
3264 * Menu.cs: Make sure the parent of the items get set correctly
3265 when they are added. And the owners are notified of the changes.
3266 * Form.cs: Create an ActiveMenu property, so that when MDI is used
3267 we can change the menu being displayed/handled by the form without
3268 changing the menu assosciated with the form.
3269 - Don't let Mdi children draw/handle menus.
3271 2005-11-30 Jackson Harper <jackson@ximian.com>
3273 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3274 a MenuChanged event. Just to make the API a little more
3277 * MenuItem.cs: Use the new OnMenuChanged
3278 * MdiChildContext.cs: Handle menu merging.
3279 * Form.cs: Implement MergedMenu.
3281 2005-11-30 Jackson Harper <jackson@ximian.com>
3283 * Menu.cs: We were misusing Add. Add goes behind the specified
3284 index according to the docs, and does not replace the specified
3285 index. So I added an Insert method.
3287 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3289 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3290 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3292 * RichTextBox.cs: Added calls to base for DnD events
3294 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
3297 - Fixed drag-selection related crash; style fixes
3298 - Implemented undo class
3299 o Implemented method to capture document state for specified
3300 range in document tree
3301 o Implemented method to restore captured document state
3302 o Implemented cursor tracking
3303 o Implemented basic undo stack
3304 - Added undo cursor tracking to methods altering cursor location
3305 - Added undo tracking to selection deletion (still missing
3306 other text-altering hookups)
3308 - Added SelectionLength property
3309 - Implemented CanPaste()
3310 - Implemented Paste()
3311 - Added missing protected methods
3312 - Fixed RTF->Document conversion; now uses font index 0 and color
3313 index 0 as the default font for the parsed text
3314 - Fixed RTF<->Document font size translation
3315 - Fixed RTF generation, now properly handles cross-tag boundaries
3316 for single line selection
3317 - No longer always appends blank line to generated RTF
3319 - Added missing attributes
3320 - Hooked up undo-related methods
3322 - Implemented Copy()
3323 - Implemented Paste()
3325 - Fixed caret mis-behaviour on backspace across line-boundaries
3327 2005-11-29 Jackson Harper <jackson@ximian.com>
3329 * MdiClient.cs: Add a method for activating mdi children. Very
3330 basic right now. I imagine someday it might need more girth.
3331 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3332 children windows names are added to the menu item.
3333 * ThemeWin32Classic.cs: Draw the arrow if the item is an
3334 mdilist. This happens regardless of whether or not there are any
3335 mdi windows to see in the list, and according to my tests happens
3336 before the items are even added. Also happens if there isn't even
3337 an mdi client to get windows from.
3339 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
3341 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3342 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3344 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
3346 * DataGridTableStyle.cs:
3347 - Create always the styles for the missing columns even if they are
3348 provided by the user (not default table style)
3351 - Fixes SetDataBinding (always re-attach source)
3352 - Fixes SetNewDataSource (only clear styles if they are not for
3354 - Expands OnTableStylesCollectionChanged to handle style refresh
3357 2005-11-29 Jackson Harper <jackson@ximian.com>
3359 * FileDialog.cs: Implement missing bits, remove some dead
3361 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3362 creation of the panel so that the options set on the dialog are
3363 seen when the panel is created.
3364 * TreeView.cs: raise a click when items are clicked.
3366 2005-11-29 Jackson Harper <jackson@ximian.com>
3368 * MdiClient.cs: Pass some signature methods through to base.
3370 2005-11-28 Jackson Harper <jackson@ximian.com>
3372 * ListView.cs: Raise the click event when items are clicked.
3374 2005-11-28 Jackson Harper <jackson@ximian.com>
3376 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3379 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3381 * ThemeNice.cs: - Removed 1 pixel bitmaps
3382 - Use SmoothingMode.AntiAlias where it makes sense
3383 (ScrollButton arrow for example)
3384 - Enhanced Button focus drawing
3385 - Fixed ComboBox drawing (no artefacts anymore, focus
3386 rectangle is back again, reduced size of ComboButton, etc.)
3387 - Fixed RadioButton focus drawing for Appearence.Button
3388 - Slight ScrollButton redesign
3389 - Some LinearGradientBrush size fixes
3390 - GroupBoxes have now rounded edges
3391 - Fixed StatusBar drawing
3393 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3395 * ThemeNice.cs: - Remove dead code
3396 - use correct background colors for menus, etc.
3397 - Fake pixel drawing with 1 pixel bitmaps
3399 2005-11-24 Jackson Harper <jackson@ximian.com>
3401 * MdiClient.cs: Size the scrollbars when resizing the window.
3402 - Resize the maximized windows when the client is resized
3403 * Form.cs: Make the child context available
3405 2005-11-23 Jackson Harper <jackson@ximian.com>
3407 * MdiChildContext.cs: Don't size windows if they are maximized.
3409 2005-11-23 Mike Kestner <mkestner@novell.com>
3411 * ContextMenu.cs: use MenuTracker.
3412 * Control.cs: remove menu handle usage.
3413 * Form.cs: remove menu handle usage.
3414 * Hwnd.cs: remove menu handle usage.
3415 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3416 motion and clicks to the new Tracker handlers.
3417 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3419 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3420 Killed the MENU and MENUITEM data types and associated collections
3421 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3422 MenuTracker class that exposes the leftovers from the old MenuAPI
3423 static methods. Restructured Capture handling so that only one grab is
3424 done for the entire menu hierarchy instead of handing off grabs to
3425 submenus. Tracker now has an invisible control to Capture when active.
3426 * MenuItem.cs: add sizing accessors, kill Create
3428 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3429 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3430 MENU(ITEM). remove menu handle usage, use Menu directly.
3431 * XplatUIDriver.cs: remove menu handle usage.
3432 * XplatUIOSX.cs: remove menu handle usage.
3433 * XplatUIWin32.cs: remove menu handle usage.
3434 * XplatUIX11.cs: remove menu handle usage.
3436 2005-11-22 Jackson Harper <jackson@ximian.com>
3438 * Hwnd.cs: Don't compute the menu size for
3439 DefaultClientRectangle.
3440 - Reenable menu sizes being computed for GetClienRectangle.
3441 * Form.cs: Remove comment of trechery
3443 2005-11-22 Jackson Harper <jackson@ximian.com>
3445 * Hwnd.cs: The adjustments for the menu bar are made when it is
3446 attached to the form.
3448 2005-11-19 Jackson Harper <jackson@ximian.com>
3450 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3451 (just like on windows).
3453 2005-11-19 Jackson Harper <jackson@ximian.com>
3455 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3456 use real buttons anymore because they are in non client area. The
3457 one TODO here is that I need to somehow invalidate a section of
3458 the non client area.
3460 2005-11-18 Jackson Harper <jackson@ximian.com>
3462 * Control.cs: Put the enum check back in now that MDI doesnt have
3463 to use this to set border styles.
3464 * Form.cs: Only set mdi child windows borders if the handle has
3466 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3467 this directly on to the driver.
3468 - Get the move start position before adjusting for the titlebar
3469 height, this fixes the windows "skipping" when they are first
3472 2005-11-18 Jackson Harper <jackson@ximian.com>
3474 * XplatUIX11.cs: Just compute the mdi borders separately as they
3475 don't totally match up with normal form borders.
3477 2005-11-18 Jackson Harper <jackson@ximian.com>
3479 * Control.cs: Set WS_ styles for borders, so that the driver does
3480 not have to retrieve the control instance to figure out what kind
3481 of borders it should have.
3482 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3483 driver can know its an mdi child easily.
3484 * XplatUIX11.cs: Get the border styles and whether the window is
3485 MDI from the Styles and ExStyles params instead of having to get a
3486 control. This prevents a chicken and egg problem.
3488 2005-11-18 Jackson Harper <jackson@ximian.com>
3490 * MdiClient.cs: Fix typo so scrollbars show up correctly.
3492 2005-11-18 Jackson Harper <jackson@ximian.com>
3494 * MdiClient.cs: Calculate when to add and remove scrollbars
3496 * MdiChildContext.cs: Adjust the y position to take the titlebar
3498 - No height for FormBorderStyle.None
3500 2005-11-18 Jackson Harper <jackson@ximian.com>
3502 * Control.cs: Allow non enum values to be used for
3503 InternalBorderStyle. MDI does this to set a special border style.
3504 - New utility methods for converting points to/from client coords
3505 - Add the newly created control to the Controls collection before
3506 updating its style. This way UpdateStyle can walk the control
3507 heirarchy to find the control if needed.
3508 so I don't need to create a new Point object all the time.
3509 * Form.cs: Let MDI windows handle their border styles.
3510 - Set styles on MDI windows so the correct title style is derived.
3511 * MdiChildContext.cs: Move all the painting and window handling
3512 into the non client area.
3513 - Use correct sizing and put correct buttons on frames based on
3514 the FormBorderStyle.
3515 - Notify the mdi client about scrolling
3516 - Need to handle the buttons ourselves now, because they are all
3517 in non client areas and we can't add controls there.
3518 * MdiClient.cs: Halfway to scrolling, this implementation is
3519 somewhat broken though, we need to check to make sure other
3520 windows aren't causing scrolling before removing the bars. Also
3521 the bars need to be drawn on top, maybe I can switch implicit
3522 controls to be on top.
3523 * Hwnd.cs: caption_height and tool_caption_height are now
3524 properties of an hwnd, this way they can be set by the driver
3525 based on the type of window they are. In X11 the window manager
3526 handles the decorations so caption_height is zero unless its an
3528 - Add 3 pixel borders for MDI windows (0xFFFF).
3529 - Get rid of some code duplication, have DefaultClientRectanle
3530 just call GetClientRectangle.
3531 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3533 - Set border styles differently for mdi windows.
3534 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3537 2005-11-15 Mike Kestner <mkestner@novell.com>
3539 * Menu.cs: when adding an item to the collection, if item is already
3540 parented, remove it from the parent.
3542 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
3544 * X11DesktopColors.cs: Added KDE support
3546 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
3549 - Clipboard methods now can translate Rtf format
3550 - No longer removes clipboard contents whenever a new format is added
3551 to allow placing multiple formats on the clipboard
3552 * Clipboard.cs: Clipboard now supports getting a IDataObject and
3553 will place all formats contained in it onto the clipboard. Also
3554 now cleans the clipboard before placing a new object onto it
3556 - Implemented set_Rtf
3557 - Implemented set_SelectedRtf
3558 - Created InsertRTFFromStream() method to allow single code base
3559 for all properties and methods that insert RTF into document
3560 - Removed debug output
3562 - Fixed Delete(int) to fix up line numbers
3563 - Fixed ReplaceSelection to combine start and end line
3564 - Fixed serious DeleteChars bug that would leave the document tree
3566 - Improved DumpTree with several logic checks to detect broken
3568 - Removed debug lines
3569 - Fixed Caret.WordForward/WordBack moving code, now always also
3570 updates caret.tag (fixes crash when word-selecting across tag
3571 boundaries via keyboard)
3572 - Added Insert() method for inserting multiline text into documents
3573 - Fixed DeleteChars() calculation errors that would cause a broken
3574 tag chain with multiple tag lines
3575 - DeleteChars() no longer crashes on multi-tag lines if not all tags
3576 - Split() no longer moves caret if split is at caret location
3577 - ReplaceSelection() now updates the cursor and re-displays it
3578 - ReplaceSelection() now uses new Insert() method to avoid code
3580 - FormatText() can now handle formatting partial lines
3582 - Append now uses new TextControl.Insert() method (this avoids
3584 - Implemented Ctrl-X (Cut) (
3585 - Implemented Ctrl-C (Copy)
3586 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
3587 regeneration when pasting text; roundtripping Copy&Paste within
3588 edit control still fails due to some calculation bugs in GenerateRTF)
3589 - The Delete key will now remove the current selection if it is visible
3590 * TextBox.cs: Removed debug lines
3591 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3592 driver to be initialized and can't therefore be done via a static ctor)
3594 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
3596 * TextControl.cs: Added backend code for finding char arrays and strings
3598 - Added mouse wheel scroll support
3599 - Added support for VScroll and HScroll events
3601 - Implemented all seven Find() variants
3602 - Implemented GetCharFromPosition()
3603 - Implemented GetCharIndexFromPosition()
3604 - Implemented GetLineFromIndex()
3605 - Implemented GetPositionFromCharIndex();
3606 - Implemented SaveFile for PlainText and UnicodeText
3607 - Fixed set_Font, now setting a new font applies that font to
3609 - Implemented generic Document to RTF converter
3610 - Implemented SaveFile for RichText format (still missing unicode
3611 conversion for non-ansi chars)
3612 - Implemented get_Rtf
3613 - Implemented get_SelectedRtf
3615 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
3617 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3618 to allow any captures to be released before triggering OnClick. This
3619 way a click handler may capture the mouse without interference.
3620 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3621 This way we send them even though X may not allow a grab (if the window
3622 isn't visible, for example)
3624 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
3626 * DataGridViewRowEventArgs.cs: DataGridView implementation
3627 * DataGridViewElement.cs: DataGridView implementation
3628 * DataGridViewComboBoxCell.cs: DataGridView implementation
3629 * DataGridViewDataErrorContexts.cs: DataGridView implementation
3630 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3631 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3632 * ImageLayout.cs: DataGridView implementation
3633 * DataGridViewComboBoxColumn.cs: DataGridView implementation
3634 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3635 * DataGridViewSelectionMode.cs: DataGridView implementation
3636 * IDataGridViewEditingControl.cs: DataGridView implementation
3637 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3638 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3639 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3640 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3641 * DataGridViewColumnSortMode.cs: DataGridView implementation
3642 * DataGridView.cs: DataGridView implementation
3643 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3644 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3645 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3646 * Padding.cs: DataGridView implementation
3647 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3648 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3649 * DataGridViewRowEventHandler.cs: DataGridView implementation
3650 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3651 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3652 * DataGridViewButtonCell.cs: DataGridView implementation
3653 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3654 * DataGridViewEditMode.cs: DataGridView implementation
3655 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3656 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3657 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3658 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3659 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3660 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3661 * DataGridViewCellEventHandler.cs: DataGridView implementation
3662 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3663 * DataGridViewCellStyleConverter.cs: DataGridView implementation
3664 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3665 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3666 * DataGridViewColumnEventArgs.cs: DataGridView implementation
3667 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3668 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3669 * QuestionEventArgs.cs: DataGridView implementation
3670 * IDataGridViewEditingCell.cs: DataGridView implementation
3671 * DataGridViewTriState.cs: DataGridView implementation
3672 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3673 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3674 * DataGridViewColumnCollection.cs: DataGridView implementation
3675 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3676 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3677 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3678 * DataGridViewColumn.cs: DataGridView implementation
3679 * DataGridViewCellBorderStyle.cs: DataGridView implementation
3680 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3681 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3682 * DataGridViewRow.cs: DataGridView implementation
3683 * DataGridViewImageCellLayout.cs: DataGridView implementation
3684 * DataGridViewImageCell.cs: DataGridView implementation
3685 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3686 * DataGridViewCheckBoxCell.cs: DataGridView implementation
3687 * DataGridViewHeaderCell.cs: DataGridView implementation
3688 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3689 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3690 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3691 * DataGridViewTextBoxColumn.cs: DataGridView implementation
3692 * QuestionEventHandler.cs: DataGridView implementation
3693 * DataGridViewCellStyleScopes.cs: DataGridView implementation
3694 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3695 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3696 * DataGridViewCell.cs: DataGridView implementation
3697 * DataGridViewCellEventArgs.cs: DataGridView implementation
3698 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3699 * DataGridViewCellStyle.cs: DataGridView implementation
3700 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3701 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3702 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3703 * TextFormatFlags.cs: DataGridView implementation
3704 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3705 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3706 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3707 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3708 * DataGridViewButtonColumn.cs: DataGridView implementation
3709 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3710 * HandledMouseEventArgs.cs: DataGridView implementation
3711 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3712 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3713 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3714 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3715 * DataGridViewRowCollection.cs: DataGridView implementation
3716 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3717 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3718 * DataGridViewHitTestType.cs: DataGridView implementation
3719 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3720 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3721 * DataGridViewColumnEventHandler.cs: DataGridView implementation
3722 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3723 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3724 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3725 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3726 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3727 * DataGridViewContentAlignment.cs: DataGridView implementation
3728 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3729 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3730 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3731 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3732 * DataGridViewPaintParts.cs: DataGridView implementation
3733 * DataGridViewCellCollection.cs: DataGridView implementation
3734 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3735 * DataGridViewImageColumn.cs: DataGridView implementation
3736 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3737 * DataGridViewElementStates.cs: DataGridView implementation
3738 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3739 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3740 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3741 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3742 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3743 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3744 * DataGridViewRowHeaderCell.cs: DataGridView implementation
3745 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3746 * DataGridViewTextBoxCell.cs: DataGridView implementation
3747 * DataGridViewBand.cs: DataGridView implementation
3748 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3749 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3750 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3751 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3752 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3753 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3754 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3755 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3756 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3757 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3758 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3760 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
3762 * ThemeWin32Classic.cs:
3763 - Draw the outside focus rectangle around buttons
3764 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3765 doesn't use end caps for every dash of a line anymore. This
3766 workaround ignores the forecolor.
3768 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
3770 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3773 2005-11-07 Jackson Harper <jackson@ximian.com>
3775 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3777 2005-11-07 Jackson Harper <jackson@ximian.com>
3779 * ScrollableControl.cs: Calculate the maximum and change vars
3780 (more) correctly so that scrollbars appear as a sensible size.
3782 2005-11-04 Jackson Harper <jackson@ximian.com>
3784 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3786 * TreeView.cs: When the tree is sorted null out the top_node so
3787 that it is recalculated.
3788 - Use dotted lines instead of dashed lines to match MS better.
3790 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
3793 - Implements key search for items. Useful when browsing files with FileDialog
3794 - When changing view mode or when clear the items reset scrollbar positions
3796 2005-11-04 Jackson Harper <jackson@ximian.com>
3798 * CurrencyManager.cs: Implement the MetaDataChanged event, the
3799 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3800 as to what the method may do as there is no real way of creating a
3801 derived CurrencyManager and calling the method.
3803 2005-11-03 Jackson Harper <jackson@ximian.com>
3805 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3806 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3807 method which seems to just be used internally to refresh the tabs.
3809 2005-11-03 Jackson Harper <jackson@ximian.com>
3811 * TabControl.cs: Implement the remove method. Fix some broken
3814 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3816 * DateTimePicker.cs:
3817 - Added missing DateTimePickerAccessibleObject class
3818 - Added missing events
3819 - Added OnFontChanged method
3820 * Form.cs: Added missing attributes
3821 * TreeView.cs: Added missing attributes
3823 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3825 * GridItemCollection.cs: Fix signatures
3827 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3829 * XplatUI.cs: Updated build rev/date
3830 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
3831 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3832 * Application.cs: Trigger context-specific ExitThread events
3834 2005-11-03 Jackson Harper <jackson@ximian.com>
3838 * GridTableStylesCollection.cs:
3843 * MonthCalendar.cs: Signature fixes
3845 2005-11-03 Jackson Harper <jackson@ximian.com>
3847 * TreeNodeCollection.cs: Remove should not be virtual.
3848 * TreeView.cs: Implement the last of the missing methods.
3850 2005-11-03 Jackson Harper <jackson@ximian.com>
3852 * TreeNodeConverter.cs: Implement to get off my class-status back.
3854 2005-11-03 Jackson Harper <jackson@ximian.com>
3856 * TreeView.cs: Hookup the bits for drag and drop.
3857 * TreeNode.cs: Don't cache the tree_view or index anymore, now
3858 that nodes can be moved from tree to tree easily this just causes
3859 all sorts of problems.
3860 * TreeNodeCollection: Don't need to give treenodes an index and
3861 treeview anymore when they are added, these are computed on the
3862 fly. Also make sure to remove a node before its added.
3864 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3867 - Added CaretSelection enum
3868 - Added comparison methods to Marker struct, makes selection code
3870 - Added SelectionStart and SelectionEnd as 'moveable' location for
3871 the CaretDirection enum and handler
3872 - Added selection_prev variable to track optimized invalidation for
3873 word and line selection
3874 - Added SelectionVisible property (returns true if there is a valid
3876 - Switched CaretHasFocus to only display the caret if there is no
3878 - Avoiding StringBuilder.ToString to retrieve a single char, instead
3879 using the direct character index; should be much faster
3880 - Added various conditional debug statements
3881 - Fixed invalidation calculation for selection ranges
3882 - Added ExpandSelection() method to support word and line selection
3883 - Switched SetSelectionToCaret to use new Marker compare overloads
3884 - Added central IsWordSeparator() method to determine word
3885 separators/whitespace and FindWordSeparator() to streamline common
3886 usage of IsWordSeparator()
3888 - Removed unneeded grabbed variable, it was just mirroring
3890 - No longer firing OnTextChanged event when Text setter is called,
3891 since the base will fire the event for us
3892 - Added handling of Ctrl-Up/Down selection
3893 - Added handling of Shift-Cursorkey selection
3894 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3896 - Added handling of Shift and Ctrl-Shift-Home/End selection
3897 - Removed some debug output
3898 - Added handling for single/double/tripple-click to place caret/
3899 select word/select line respectively (Fixes bug #76031)
3900 - Added support for drag expansion of word/line selection
3901 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3904 2005-11-02 Jackson Harper <jackson@ximian.com>
3906 * X11Dnd.cs: If the drag is going to and from a MWF window just
3907 copy the data instead of sending it out through the X Selection
3910 2005-11-02 Jackson Harper <jackson@ximian.com>
3913 * XplatUIX11.cs: When in a drag we don't want motion notify
3914 messages to get passed on to the other controls. This prevents
3915 mouse move messages from showing up in the drag source.
3917 2005-11-02 Jackson Harper <jackson@ximian.com>
3919 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
3920 the correct button is release to end a drag.
3921 * XplatUIX11.cs: Make the button state internal so the drag system
3922 can access it. Dragging needs to know about all button releases,
3923 not just left button.
3925 2005-11-02 Miguel de Icaza <miguel@novell.com>
3927 * Form.cs (Icon): If the icon is null, reset the icon to the
3930 * Cursor.cs: When writing the AND-mask bitmap do not include the
3931 number of colors, but hardcode those to two (black and white),
3932 fixes the loading of color cursors (Paint Dot Net).
3934 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3935 turn off autoscaling.
3937 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3939 2005-11-02 Jackson Harper <jackson@ximian.com>
3941 * X11Dnd.cs: Make sure to send a status message if the pointer
3942 enters a control that can not accept a drop, otherwise the cursor
3943 isn't updated correctly. Also tried to compress the lines of code
3946 2005-11-02 Jackson Harper <jackson@ximian.com>
3948 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3949 set actions correctly. This isn't perfect as XDND and win32 have
3950 some differences on how you allow actions. I'll clear this up by
3951 adding a path for drag from MWF to MWF windows.
3952 * XplatUIX11.cs: Hook into the dnd system.
3954 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
3956 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3957 previously shown but they are no longer need it. Very obvious when
3958 browsing files with FileDialog.
3960 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
3962 * Control.cs: We always need to call OnPaintBackground. We pretty much
3963 ignore AllPaintingInWmPaint and always do the painting there, whether
3964 it's set or not, since we always ignore the WM_ERASEBKGND message
3965 (which we don't generate on X11). This fixes #76616.
3966 * Panel.cs: Removed unneeded background painting. This happens properly
3967 in Control.cs already
3969 2005-10-31 Mike Kestner <mkestner@novell.com>
3971 * Menu.cs: Add items to collection before setting their index.
3972 * MenuItem.cs : add range checking with ArgumentException like MS.
3975 2005-10-31 Jackson Harper <jackson@ximian.com>
3977 * ListBox.cs: Invalidate if the area is visible at all not just
3978 contained in the visible rect. Fixes unselection of semi visible
3981 2005-10-31 Jackson Harper <jackson@ximian.com>
3983 * Control.cs: Consistently name the dnd methods. Make them
3984 internal so we can override them to match some MS behavoir
3986 * Win32DnD.cs: Use the new consistent names.
3988 2005-10-31 Jackson Harper <jackson@ximian.com>
3990 * TreeView.cs: Don't draw the selected node when we lose focus.
3992 2005-10-31 Jackson Harper <jackson@ximian.com>
3994 * X11Dnd.cs: We still need to reset the state even though a full
3995 reset isn't being done, otherwise status's still get sent all over
3998 2005-10-31 Jackson Harper <jackson@ximian.com>
4000 * Control.cs: Make the dnd_aware flag internal so the dnd
4001 subsystem can check it. Catch exceptions thrown in dnd handlers to
4003 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4004 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4005 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4006 flags to reduce the number of dnd enters/status's sent.
4008 2005-10-31 Jackson Harper <jackson@ximian.com>
4010 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4012 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4014 * PictureBox.cs: Fixes 76512
4016 2005-10-28 Jackson Harper <jackson@ximian.com>
4018 * X11Dnd.cs: Early implementation to support winforms being a drag
4019 source for data on X11. Also restructured the converters so they
4020 can go both ways now.
4021 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4023 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
4025 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4028 2005-10-27 Jackson Harper <jackson@ximian.com>
4030 * TreeNode.cs: Implement serialization so my DnD examples will work.
4032 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
4034 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4035 TreeView.cs: Don't dispose objects that are not owned.
4037 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
4039 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4040 should retrieve the current cursor and report that, but XplatUI
4041 doesn't (yet) have an interface for that (and I'm not sure I even
4043 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4044 until any message loop processing is done (and the WM_SETCURSOR
4045 replaces the cursor to the proper one)
4047 - Fixed override behaviour, we can't set the cursor globally on X11,
4048 just for our windows.
4049 - Invalidating the System.Drawing X11 display handle when we are
4051 * Control.cs: Fix to make csc happy
4053 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
4056 - get_Text: Add last line (without trailing newline) to returned
4058 - get_TextLength: Count last line in returned length
4059 - ToString: Call Text property instead of duplicating code
4061 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
4063 * ImageList.cs: Dispose ImageAttributes objects.
4065 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4067 * ImageList.cs: Use attribute constructors with less arguments where
4070 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4072 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4073 Use typeof instead of strings when assembly is referenced. Added
4076 2005-10-21 Jackson Harper <jackson@ximian.com>
4078 * ListView.cs: Raise a double click event. Also tried to somewhat
4079 fix when the selectedindexchanged event is raised. Its still
4082 2005-10-21 Jackson Harper <jackson@ximian.com>
4084 * TreeView.cs: New method to invalidate the plus minus area of a
4085 node without invalidating the whole node (maybe this can be used
4086 in some more places).
4087 * TreeNodeCollection.cs: When adding to an empty node we need to
4088 invalidate its plus minus area so the little block shows up.
4090 2005-10-21 Jackson Harper <jackson@ximian.com>
4092 * TreeView.cs: Make sure that when we invalidate a node the bounds
4093 are big enough to cover the selected box and the focus
4094 rectangle. Use a different colour for the lines connecting nodes
4095 so they show up with all themes.
4097 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4099 * NativeWindow.cs: Don't call anything that could call into the driver,
4100 we might be on a different thread.
4102 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4104 * Control.cs(Dispose): Since Dispose might run on a different thread,
4105 make sure that we call methods that could call into the driver via
4106 invoke, to avoid thread issues
4108 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4110 * XplatUI.cs: Removed finalizer
4111 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4112 not allowing to be called on the finalizer thread.
4114 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4117 - Reverted r51889 and r51891.
4118 - Added ImageListItem class that stores unmodified image items and image
4119 properties required to create list images until handle is created.
4120 - Added AddItem and moved image creation logic to AddItemInternal.
4121 - Added CreateHandle method that creates images based on unmodified items.
4122 - Added DestroyHandle that changes state to store unmodified items.
4123 - Add and AddStrip methods no more create handle.
4124 - ReduceColorDepth has no return value.
4125 - Dispose destroys handle.
4126 - Modified other methods to reflect the above changes.
4127 - Implemented key support.
4128 - Added profile 2.0 members and attributes.
4129 - Added private Reset and ShouldSerialize methods that provide the same
4130 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4131 them as they are private.
4132 - Added some more comments about implementation details.
4134 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4136 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4138 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4140 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4142 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4144 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4145 * DataGridColumnStyle.cs: Remove debug message
4147 2005-10-20 Jackson Harper <jackson@ximian.com>
4149 * TreeView.cs: We can always get input keys regardless of whether
4150 or not editing is enabled. They are used for navigation.
4152 2005-10-20 Jackson Harper <jackson@ximian.com>
4154 * TreeNode.cs: Use the viewport rect for determining if a node
4155 needs to be moved for visibility. Don't use Begin/End edit. This
4156 calls a full refresh when its done.
4157 * TreeView.cs: New SetBottom works correctly. Make the viewport
4158 rect property internal so the treenodes can see it. When clicking
4159 on a node we need to ensure that its visible because it might just
4160 be partly visible when clicked.
4162 2005-10-20 Jackson Harper <jackson@ximian.com>
4164 * TreeNodeCollection.cs: Remove debug code.
4166 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4168 * Datagrid.cs: Implements column sorting in Datagrid
4169 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4171 2005-10-20 Jackson Harper <jackson@ximian.com>
4173 * TreeNodeCollection.cs: Remove items properly. Update the correct
4174 area after removing them.
4176 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4178 * Datagrid.cs: Should not call base.OnPaintBackground
4180 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4182 * XplatUIX11.cs (GetMessage):
4183 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4184 window instead of client window
4185 - Now properly calculates NC_xBUTTONUP message coordinates
4186 - ScreenToMenu now properly calculates it's coordinates of whole
4187 window, since menus are in the whole window, not in the client
4189 - Added WholeToScreen coordinate translation method
4191 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4193 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4194 want to return a message, loop back to the beginning of the function
4195 and grab the next real message to process instead.
4197 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4199 * Splitter.cs: Properly set limits if no filler control is used
4201 2005-10-19 Jackson Harper <jackson@ximian.com>
4203 * ColorDialog.cs: Don't show the help button if it is not enabled
4204 instead of disabling it (this is what MS does). Don't create the
4205 panel until the dialog is run, otherwise the vars (such as
4206 ShowHelp) are not set yet.
4208 2005-10-19 Jackson Harper <jackson@ximian.com>
4210 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4211 are reduced when adding nodes.
4213 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4216 2005-10-19 Jackson Harper <jackson@ximian.com>
4218 * FolderBrowserDialog.cs: End editing our treeview so the window
4219 actually gets refreshed.
4221 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4223 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
4224 Obsoleted handling of WM_ERASEBKGND, now always draws our background
4227 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4229 * MenuAPI.cs: Returns after Hidding window
4230 * XplatUIX11.cs: Added TODO found while debugging menu issues
4232 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4234 * XplatUIX11.cs: Do not re-map the whole window when it's size
4235 becomes non-zero unless it's supposed to be actually visible
4237 2005-10-18 Jackson Harper <jackson@ximian.com>
4239 * TreeView.cs: We don't need to keep a count anymore.
4240 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4241 use the Grow method.
4243 2005-10-18 Jackson Harper <jackson@ximian.com>
4245 * TreeNodeCollection.cs: Insert is not supported on arrays, so
4246 implement it manually here.
4248 2005-10-18 Jackson Harper <jackson@ximian.com>
4250 * ImageList.cs: Dont kill the list when the colour depth is
4251 changed, just change the colour depth of all the images.
4252 - Same goes for setting the image size. Just resize them all
4253 instead of killing the list softly.
4255 2005-10-18 Jackson Harper <jackson@ximian.com>
4257 * Control.cs: Don't invalidate empty rectangles.
4259 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4262 - Adds checked item to the Checked/Item lists (where empty before)
4263 - Do not add items to the Selected lists if they are already present
4265 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4266 - When deleting items make sure that we delete them for the Selected
4267 and Checked list also.
4269 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4271 * Label.cs: Dispose objects no longer used
4272 * ThemeWin32Classic.cs: Dispose objects no longer used
4274 2005-10-18 Jackson Harper <jackson@ximian.com>
4276 * TabControl.cs: Don't refresh the whole control when the tabs are
4277 scrolled, we just need to refresh the tab area.
4279 2005-10-17 Jackson Harper <jackson@ximian.com>
4281 * XplatUIX11.cs: Compress code a little bit. Only calculate the
4282 after handle when we need it.
4284 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4286 * Control.cs: When the parent size changes, recalculate anchor
4287 positions. Partial fix for #76462
4289 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4291 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
4294 2005-10-17 Jackson Harper <jackson@ximian.com>
4296 * MonthCalendar.cs: Don't create the numeric up down until our
4297 handle is created. Otherwise our handle is created in the
4298 constructor and we don't know if we are a WS_CHILD or WS_POPUP
4301 2005-10-17 Jackson Harper <jackson@ximian.com>
4303 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4306 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4307 * TreeNode.cs : small logical fix (was using local var instead of field)
4309 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4311 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4313 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4315 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4317 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
4320 - Re-implemented anchoring code. My first version was really broken.
4321 This fixes bug #76033. Unlike the previous implementation we will
4322 no longer have round errors since all numbers are calculated from
4323 scratch every time. Removed various anchor-related obsolete vars.
4324 - InitLayout no longer causes layout event firing and layout to be
4327 2005-10-16 Jackson Harper <jackson@ximian.com>
4329 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4332 2005-10-16 Jackson Harper <jackson@ximian.com>
4334 * TabControl.cs: Remove debug code.
4336 2005-10-16 Jackson Harper <jackson@ximian.com>
4338 * XEventQueue.cs: Increase the default queue size (very simple
4339 apps needed to grow the queue).
4340 * Hwnd.cs: No finalizer so we don't need to suppress
4341 finalization. Compute the invalid area manually so a new rectangle
4342 does not newto be created.
4343 * ScrollableControl.cs: Don't set any params (otherwise visibility
4344 isn't set correctly).
4345 * MdiChildContext.cs: New constructor takes the mdi parent so it
4346 doesn't have to be computed and avoids a crash on windows. Draw
4347 the window icon properly, and allow the text to be seen.
4348 * Form.cs: Use new MdiChildContext constructor. Make sure the
4349 child context isn't null in wndproc.
4350 * TabControl.cs: Don't set focus, this is muddling keyboard
4351 behavoir. Expand the tab rows when a window size increase will
4352 allow extra tabs to be seen. Don't allow tabs smaller than the
4353 width of a window to be scrolled out of view.
4355 * TreeView.cs: Use measure string to calculate a nodes width, the
4356 width is cached and only updated when the text or the font is
4357 changed. Don't check for expand/collapse clicks on the first level
4358 nodes if root lines are disabled.
4360 2005-10-16 Ritvik Mayank <mritvik@novell.com>
4362 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4364 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4366 * DataGridBoolColumn.cs: fixes warning
4368 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4370 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4371 to match more to match more precisely the MS Net behavior
4373 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4375 * Hwnd.cs: Added field to track if window is mapped
4377 - Unmap windows if they become 0-size, re-map when
4378 they are >0 again; fixes #76035
4379 - Re-set our error handler after initializing X11Desktop
4380 to override any error handlers Gtk or whatever was called
4383 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4385 * CheckedListBox.cs: Removed unused vars
4386 * ListView.cs: Fixed signatures
4387 * RichTextBox.cs: Removed unused vars
4388 * TextBoxBase.cs: Removed unused vars
4389 * XplatUIWin32.cs: Removed unused vars
4390 * XplatUIX11.cs: Removed unused vars
4391 * XplatUI.cs: Updated version and date to latest published
4393 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4395 * Cursor.cs: Added private .ctor to work around a bug in
4396 resourceset (Thanks to Geoff Norton for the help on this)
4397 * SplitterEventArgs.cs: Made fields accessible so we don't
4398 waste boatloads of objects and can reuse the same one
4400 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4401 any captions and borders when generating screen coordinates
4402 * Splitter.cs: Reimplemented control, now fully complete, uses
4403 rubberband drawing, supports and obeys all properties, has
4406 2005-10-13 Miguel de Icaza <miguel@novell.com>
4408 * Form.cs (Form): Setup default values for autoscale and
4409 autoscale_base_size; Make these instance variables, not static
4412 (OnLoad): on the first load, adjust the size of the form.
4414 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4416 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4417 width argument to DrawReversibleRectangle()
4418 * XplatUIWin32.cs, XplatUIX11.cs:
4419 - Implemented width for DrawReversibleRectangle()
4420 - Added logic to DrawReversibleRectangle that recognizes a zero
4421 width or height and only draws a line in that situation
4423 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4425 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4426 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4427 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4428 method (it uses our FosterParent window to get a graphics context)
4430 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4432 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4433 and SetWindowBackground methods
4435 - Setting proper ControlStyles
4436 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4437 EraseWindowBackground, instead we draw the window background
4438 ourselves in PaintControlBackground. This behaviour is
4439 required to match MS, where, when OnPaintBackground is not
4440 called, the background is not drawn.
4441 - Removed unneeded Refresh() in set_Text
4442 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4444 - Created DeriveStyles method to translate from CreateParams to
4445 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4446 matches FormBorderStyle enum values)
4447 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4448 style calculations into single DeriveStyles method
4449 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4450 from redrawing the whole window on any resize or expose.
4451 - Fixed CreateWindow usage of SetWindowValuemask. Before not
4452 all styles were applied to our whole/client window appropriately
4453 - Removed EraseWindowBackground() and SetWindowBackground() methods
4454 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4455 no longer clear/redraw the background through X
4456 - Removed handling of erase_pending bit, we have no use for it (or
4459 - Removed generation and handling of WM_ERASEBKGND message
4460 - Removed EraseWindowBackground() and SetWindowBackground() methods
4461 - Removed handling of hwnd.ErasePending flag
4463 - Removed EraseWindowBackground() and SetWindowBackground() methods
4464 - We no longer call EraseWindowBackground on PaintEventStart, we
4465 ignore the fErase flag, erasing is handled in Control in the
4467 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4468 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4469 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
4470 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
4471 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
4472 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4473 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4475 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
4477 * PropertyGrids.cs: Get sub properties
4478 * PropertyGridView.cs: Fix drawing code
4480 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4482 * ListBox.cs: Fixes 76383
4484 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4486 * DataGridTextBoxColumn.cs: Sets location and size before attachment
4487 * ThemeWin32Classic.cs: Fixes border drawing and calculations
4488 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4491 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4493 * ComboBox.cs: Fixes border drawing
4495 2005-10-10 Miguel de Icaza <miguel@novell.com>
4497 * MimeIcon.cs: Ignore errors if the file can not be read.
4499 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4501 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4502 - Fixed border calculations
4503 - Fixed horizontal scrolling in single column listboxes
4504 - Fixed drawing issues
4506 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
4508 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
4509 FormBorderStyle enum
4510 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
4511 code to determine FormBorderStyles from CreateParams
4513 - Fixed bug where we'd set the wrong window styles if we were
4514 not creating an MDI window
4515 - Added call to XplatUI.SetBorderStyle when form borders are set
4516 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4518 - Removed obsolete edge style
4519 - Switched from BorderStyle to FormBorderStyle
4521 2005-10-10 Jackson Harper <jackson@ximian.com>
4523 * Form.cs: Use the property to get the window handle instead of
4524 accessing it directly. Prevents a null reference exception.
4526 2005-10-10 Jackson Harper <jackson@ximian.com>
4528 * TreeView.cs: Don't adjust the rect given to DrawString now that
4529 our libgdiplus draws correctly.
4531 2005-10-08 Jackson Harper <jackson@ximian.com>
4533 * TreeView.cs: Don't try to find the clicked on node if there are
4534 no nodes in the tree.
4536 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4542 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4544 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4545 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4547 Use ResPool for brushes and dispose System.Drawing objects that
4548 are not used anymore.
4550 2005-10-07 Jackson Harper <jackson@ximian.com>
4552 * MdiChildContext.cs: Use the new borders instead of drawing them
4555 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4557 * Calling UpdateBounds after changing the window's BorderStyle
4558 since the style can change the ClientSize
4560 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4562 * Control.cs: Made PaintControlBackground virtual
4563 * Panel.cs: Overriding PaintControlBackground instead of using paint
4564 event; paint event method was interfering with 'real' users of the
4567 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4569 * ThemeWin32Classic.cs: remove border drawing since it is handled
4570 by the base control class now and was causing double border drawing.
4572 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4574 * Panel.cs: Redraw our background on paint. Not a pretty solution,
4575 but it does seem to match MS behaviour. This fixes bug #75324
4577 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4579 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4580 somewhat hackish looking
4582 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4585 - We now accept Enter even if AcceptEnter is false, if the containing
4586 form does not have an AcceptButton configured (fixes bug #76355)
4587 - Calculations are now fixed to no longer use Width/Height, but
4588 ClientSize.Width/Height, since we now support borders (this was
4589 a result of fixing borders and therefore bug #76166)
4590 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
4591 true (fixes bug #76354)
4593 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4596 - Defaulting BorderStyle and setting it in XplatUI when our window
4598 - Added enum check to InternalBorderStyle setter
4600 - Added drawing of window borders
4601 - Now properly calculates WM decorations offset for toplevel
4602 windows (fixes bug #74763)
4604 - Implemented BorderStyles for windows (we're letting win32 draw
4606 - Fixed the signature for SetWindowLong
4607 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4608 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
4610 * UpDownBase.cs: Remove drawing of borders, this is handled by
4611 the driver, outside the client area
4612 * ListView.cs: Removed bogus border calculations. The control should
4613 be oblivious to borders, since those are not part of the client
4615 * X11DesktopColors.cs: Commented out (currently) unneeded variables
4616 * ThemeWin32Classic.cs: Removed border calculations from ListView
4619 2005-10-06 Jackson Harper <jackson@ximian.com>
4621 * MdiChildContext.cs: Clear out the old virtual position remove
4622 all the unneeded calls to CreateGraphics.
4624 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4626 * TextControl.cs: Use proper color for highlighted text; fixes #76350
4628 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4631 - Added loading and setting of our new default icon
4632 - Only set icon if window is already created
4634 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4637 - Do not explicitly set the foreground and background colors, to
4638 allow inheriting from parents (fixes #76302)
4639 - Use Control's InternalBorderStyle property to deal with borders
4641 2005-10-06 Jackson Harper <jackson@ximian.com>
4643 * MdiChildContext.cs: Use the new xplatui function to draw a
4646 2005-10-06 Jackson Harper <jackson@ximian.com>
4648 * Form.cs: Add the parent before creating the child context cause
4649 we need the parent when setting up the child.
4651 2005-10-06 Jackson Harper <jackson@ximian.com>
4653 * FolderBrowserDialog.cs: redo the tree population code so a
4654 second thread isn't used. Should be a lot faster and more stable
4657 2005-10-05 Jackson Harper <jackson@ximian.com>
4659 * TreeView.cs: There are no expand/collapse boxes if the node has
4662 2005-10-05 Jackson Harper <jackson@ximian.com>
4664 * X11DesktopColors.cs: Get menu colours for the gtk theme.
4666 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
4668 * FileDialog.cs: Fix InitialDirectory
4670 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4673 - Fixes changing between styles
4675 - Fixes last item crashing when navigating with keyboard
4677 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4679 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4681 2005-10-05 Jackson Harper <jackson@ximian.com>
4683 * TreeView.cs: If updating the root node do a full refresh.
4684 * TreeNode.cs: The root node should be expanded by default. Also
4685 added a utility prop to tell if we are the root node.
4686 * TreeNodeCollection.cs: Only refresh if the node we are being
4687 added to is expanded. Also added a comment on a potential
4690 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
4692 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
4693 in dispose method. Fixes #76330
4695 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
4697 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4699 - Implements vertical and horizontal scrolling using XplatUI
4700 - Fixes keyboard navagation
4701 - Fixes EnsureVisible
4703 - Handles and draws focus properly
4706 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
4708 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4709 Create handle. NET_2_0: Destroy handle when value is null.
4711 2005-10-03 Jackson Harper <jackson@ximian.com>
4713 * ScrollBar.cs: My last scrollbar patch was broken. This is a
4714 revert and a new patch to prevent the thumb from refreshing so
4717 2005-10-02 Jackson Harper <jackson@ximian.com>
4719 * ScrollBar.cs: Don't update position if it hasn't actually
4720 changed. This occurs when you hold down the increment/decrement
4721 buttons and the thumb gets to the max/min.
4723 2005-10-01 Jackson Harper <jackson@ximian.com>
4726 * MdiChildContext.cs:
4727 * MdiClient.cs: Implement ActiveMdiChild in Form.
4729 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
4731 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4733 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
4735 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4738 2005-09-30 Jackson Harper <jackson@ximian.com>
4740 * ListBox.cs: Don't do a full refresh unless some data has
4743 2005-09-30 Jackson Harper <jackson@ximian.com>
4745 * TreeView.cs: Make sure that the checkboxes size is factored in
4746 even when not visible.
4748 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4750 * FileDialog.cs: Fix Jordi's build break
4752 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4755 - Use standard the Windows colours for the combobox as espected
4756 - Dispose objects that use resouces when no longer need them
4758 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4760 * X11DesktopColors.cs: Initial incomplete implementation
4761 * XplatUIX11.cs: Added call to initialize X11DesktopColors
4763 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4766 - Switched Theme color names to match the names defined in
4767 System.Drawing.KnownColors. Life's hard enough, no need to make
4769 - Added setters to all theme color properties so themes can set
4770 their color schemes. The setters also propagate the color changes
4771 to System.Drawing.KnownColors via reflection
4772 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4773 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4774 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4775 use the new, more logical theme color names
4776 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4778 * ThemeWin32Classic.cs:
4779 - Removed code to set the old classic Windows colors. Instead it
4780 now relies on the colors returned by System.Drawing.KnownColors
4781 which will be either modern static colors (Unix) or colors
4782 read from the user's configuration (Win32)
4783 - Updated to use the new, more logical theme color names
4784 - Switched DataGrid drawing code to use only Theme colors instead of
4785 a mix of System.Drawing.KnownColors and Theme colors
4786 - DrawFrameControl(): Removed code that fills the button area, the
4787 fill would overwrite any previous fill done by a control. This
4789 - Added DrawReversibleRectangle() stub
4790 * ScrollableControl.cs: Set visible state to false when scrollbars
4791 are removed (pdn fix)
4792 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
4793 DrawReversibleRectangle() method to allow drawing primitive
4795 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4797 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4799 * ImageList.cs: Add(Icon): Create handle.
4801 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4804 * ThemeWin32Classic.cs:
4807 - Issues with drawing
4809 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4811 * ImageList.cs: Moved RecreateHandle back to ImageList as event
4812 source has to be the ImageList.
4814 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4816 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4818 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4820 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4822 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4824 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4826 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
4827 * GridItem.cs: Fixed TODOs
4828 * GridItemCollection.cs: Added ICollection interface
4830 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4832 * ImageList.cs: Resize icons when needed.
4834 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
4837 - Fixes GetBounds and returns on screen rects
4839 - Fixes vertical and horzintal scrolling of items
4840 * ThemeWin32Classic.cs:
4843 2005-09-29 Raja R Harinath <harinath@gmail.com>
4845 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4847 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
4849 * ImageList.cs: Added comments about handle creation. Moved Handle,
4850 HandleCreated and OnRecreateHandle implementations to ImageCollection.
4851 Handle is created in Add methods.
4853 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4855 * DataGridDrawingLogic.cs:
4856 - Takes rows into account on Colum calculations
4857 - Returns the column when clickig
4859 - Fixes default HitTestInfo values
4860 - Fixes HitTestInfo.ToString
4861 - Fixes ResetBackColor
4863 2005-09-28 Jackson Harper <jackson@ximian.com>
4865 * MdiChildContext.cs: Obey rules for fixed sized windows (no
4866 sizing or cursor changes). Also added some temp code to draw the
4867 titlebars text (Makes dev a little easier).
4869 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4871 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4873 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4875 * ListBox.cs: Fixes bug 76253
4877 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4879 * ImageList.cs: Added comments about the current implementation. Added
4880 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4881 Format32bppArgb to preserve transparency and can use Graphics.FromImage
4882 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4883 with Bitmap.LockBits for better performance. Revised the whole file to
4884 match MS.NET behaviour and provide better performance. Non-public
4885 interface members are calling public members even when they throw
4886 NotSupportedException for better maintainability. Moved ColorDepth,
4887 ImageSize, ImageStream and TransparentColor implementations to
4888 ImageCollection for better performance as these properties are not used
4890 * ImageListStreamer.cs: Added a new internal constructor that takes an
4891 ImageList.ImageCollection and serializes Images based on
4892 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4893 match ImageList property name.
4895 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
4897 * ListBox.cs: Fixes IndexFromPoint for last item
4899 2005-09-27 Jackson Harper <jackson@ximian.com>
4901 * Form.cs: Set the position of new mdi children correctly.
4903 2005-09-27 Jackson Harper <jackson@ximian.com>
4905 * MdiClient.cs: New mdi children need to be added to the back of
4906 the controls collection so the zorder is set correctly. Also add a
4907 count of all the child windows that have been created.
4909 2005-09-27 Jackson Harper <jackson@ximian.com>
4911 * Form.cs (CreateParams): Setup MDI forms correctly.
4913 2005-09-27 Jackson Harper <jackson@ximian.com>
4915 * MdiChildContext.cs:
4922 * ScrollableControl.cs:
4923 * ComboBox.cs: Add implicit controls using the new implict control
4924 functionality in ControlCollection. Also try to block multiple
4925 control add in a suspend/resume layout to save some cycles.
4927 2005-09-27 Jackson Harper <jackson@ximian.com>
4929 * Control.cs: Add functionality to the controls collection to add
4930 'implicit controls' these are controls that are created by the
4931 containing control but should not be exposed to the user. Such as
4932 scrollbars in the treeview.
4933 * Form.cs: The list var of the ControlsCollection is no longer
4934 available because of the potential of implicit controls getting
4935 ignored by someone accessing the list directly.
4937 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
4939 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4940 loose it's parent. (Fixed bug introduced in r49103 when we added
4941 setting the child parent to null on Remove)
4943 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
4945 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4946 * Splitter.cs: Added missing attributes for BorderStyle property.
4947 * TextBoxBase.cs: Marked Calculate* methods internal.
4948 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4951 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
4953 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4955 2005-09-25 Jackson Harper <jackson@ximian.com>
4957 * TreeView.cs: Update the node bounds correctly regardless of
4958 whether the node is visible.
4960 2005-09-25 Jackson Harper <jackson@ximian.com>
4962 * ImageList.cs: Don't dispose the image after it is added to the
4963 image list. Only reformat images that need to be resized.
4965 2005-09-25 Jackson Harper <jackson@ximian.com>
4967 * ImageList.cs: Don't set the format when changing the image.
4969 2005-09-25 Jackson Harper <jackson@ximian.com>
4971 * TreeView.cs: We can't just assume the node has a font. Use the
4972 treeviews font if no node font is available.
4974 2005-09-25 Jackson Harper <jackson@ximian.com>
4976 * TreeView.cs: Allow the scrollbars to be reset with negative
4978 - Don't add scrollbars to negative sized windows.
4980 2005-09-23 Jackson Harper <jackson@ximian.com>
4982 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4983 old Mono.Posix. Also remove some stray code that shouldn't have
4986 2005-09-23 Jackson Harper <jackson@ximian.com>
4988 * TreeView.cs: Attempt at proper sizing of the horizontal
4989 scrollbar. Also don't resize the scrollbars unless they are
4992 2005-09-23 Jackson Harper <jackson@ximian.com>
4994 * TreeView.cs: We don't need to expand the invalid area when the
4995 selection changes, as this is all drawn in the node's bounding
4996 box. The area needs to be expanded (previous typo was contracting
4997 it) when the focus rect moves.
4999 2005-09-23 Jackson Harper <jackson@ximian.com>
5001 * TreeView.cs: Display the selection box under the correct
5002 circumstances. We were rendering white text with no selection box
5005 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5007 * TextControl.cs(Split): Now updates selection start/end if it points
5008 into a line that's being split. Fixes a FIXME and bug #75258
5010 2005-09-23 Jackson Harper <jackson@ximian.com>
5013 * ListControl.cs: Don't use the path when retrieving binding
5014 managers from the binding context. My bat sense tells me that the
5015 path is only used on insertion.
5017 2005-09-22 Jackson Harper <jackson@ximian.com>
5019 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5021 2005-09-22 Jackson Harper <jackson@ximian.com>
5023 * Splitter.cs: There are special cursors used for splitting.
5024 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5026 2005-09-22 Jackson Harper <jackson@ximian.com>
5028 * Splitter.cs: Change the cursor appropriately when the splitter
5029 is moused over, so the user actually knows there is a splitter
5032 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5034 * Label.cs : Fix ToString method to give same output as MS.NET
5036 2005-09-22 Jackson Harper <jackson@ximian.com>
5038 * TreeView.cs: Create the scrollbars when the handle is created
5039 and add them right away, just make them invisble. Also account for
5040 the window being shrunk vertically to the point that the vert
5041 scrollbar needs to be added.
5042 - Remove some 0.5 adjustments to get around anti aliasing issues.
5044 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
5046 * MainMenu.cs: Fixes default value
5047 * MenuItem.cs: Fixes default value
5049 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
5051 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5053 2005-09-21 Jackson Harper <jackson@ximian.com>
5055 * Control.cs: Don't try to set the border style on the window if
5056 it hasn't been created. When the window is created the border
5059 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5061 * Control.cs (Update): Don't call XplatUI if we don't have a
5064 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5066 * ContainerControl.cs: Instead of throwing an exception, print
5067 a one-time warning about Validate not being implemented
5068 * XplatUIWin32.cs: Removed debug output
5070 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5072 * Control.cs: Only set XplatUI background if we expect the windowing
5073 system to handle the background. This stops controls that draw their
5074 own background from flickering
5076 * XplatUIX11.cs: Support custom visuals and colormaps for window
5077 creation. This allows, amongst other things, using MWF X11 windows
5080 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5082 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5083 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5084 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5085 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5086 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5087 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5088 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5089 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5090 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5091 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5092 GridColumnStylesCollection.cs,
5093 IDataGridColumnStyleEditingNotificationService.cs,
5094 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5095 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5096 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5097 TreeNodeCollection.cs, AmbientProperties.cs,
5098 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5099 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5100 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5101 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5102 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5103 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5104 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5105 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5106 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5107 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5108 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5109 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5110 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5111 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5112 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5113 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5114 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5115 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5116 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5117 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5118 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5119 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5120 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5121 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5122 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5123 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5124 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5125 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5126 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5127 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5128 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5129 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5130 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5131 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5132 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5133 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5134 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5136 2005-09-21 Jackson Harper <jackson@ximian.com>
5138 * TreeNode.cs: Call Before/After Expand not Collapse when
5141 2005-09-20 Jackson Harper <jackson@ximian.com>
5143 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5145 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5149 - Fixes proper storing of subitems
5150 - Fixes not updated items
5152 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5154 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5155 things if our window handle isn't created yet. Also disabled
5156 debug for TextBoxBase
5158 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5160 * MenuAPI.cs: Remove filtering of events to allow menu usage
5162 2005-09-20 Miguel de Icaza <miguel@novell.com>
5164 * Cursor.cs: Allow null to be passed to Cursor.Current.
5166 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5168 * ThemeWin32Classic.cs:
5169 - Change some private methods/fields to protected virtual so that
5170 they can be accessed and overriden in derived classes
5171 - First refactoring of some methods. Derived themes now don't
5172 need to duplicate the complete code from ThemeWin32Classic
5174 - Added nice StatusBar
5175 - Derive from ThemeWin32Classic and not Theme
5176 - Removed duplicate ThemeWin32Classic code
5178 2005-09-20 Miguel de Icaza <miguel@novell.com>
5180 * Control.cs (ControlCollection.Add): If the value null is passed
5181 the control is ignored.
5185 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5187 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5188 PostQuitMessage state.
5189 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5191 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5193 * Application.cs: Our constructor will never get called, move
5194 initialization to fields; fixes bug #75933
5196 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5199 - Allow files to be selected properly using file name
5201 - Add ability to change diretory (absolute / relative)
5202 using file name combo box.
5204 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5207 - Fixes Multicolumn listboxes item wrong calculations
5208 - Allows to click when only one item is in the listbox
5209 - Fixes crash when no items using keyboard navigation
5211 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
5213 * ComboBox.cs: Reverted almost everything from the latest patch which
5216 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
5219 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5221 - When DropDownStyle is Simple, it does not show scrollbar
5222 to the last item of the list.
5223 - When DropDownStyle is Simple, it crashed when the list was
5224 scrolled down with the down cursor key.
5225 - Fixed a bug that when DropDownStyle is DropDownList, the
5226 selected item was not shown.
5227 - The position of the selected item was not preserved when
5228 the next dropdown happened.
5229 * ThemeWin32Classic.cs:
5230 - Items were wrapped at the right end.
5231 * CheckedListBox.cs:
5234 - Items should be fully shown.
5235 - When resizing and vertical scrollbar disappeared, the item
5236 of index 0 should be on the top of the list.
5237 - GetItemRectangle should consider the size of ver. scrollbar
5239 - SizingGrip area should not be allocated when it is not
5241 - Now it reflects MinWidth of the containing panel and
5242 fixed a crash that happens when its width becomes so small.
5244 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5246 * CheckedListBox.cs: Fixes bug 76028
5247 * ListBox.cs: Fixes bug 76028
5249 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5251 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5252 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5254 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
5256 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5258 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5260 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
5262 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5264 * IRootGridEntry.cs: Added
5265 * PropertyGridCommands.cs: Added
5266 * PropertiesTab.cs: Added missing methods and property
5267 * PropertyGridView.cs: Made class internal
5268 * PropertyGridTextBox.cs: Made class internal
5270 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5272 * MimeIcon.cs: Try to check some other environment variables
5273 if "DESKTOP_SESSION" returns "default"
5275 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5277 * ThemeNice.cs: Corrected background colors (e.g. menus)
5278 * ColorDialog.cs: Use correct background colors for controls
5280 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5282 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5284 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
5286 * RichTextBox.cs: Added initial implementation
5287 * lang.cs: Removed. Was accidentally checked in long time ago
5288 * TODO: Removed. Contents were obsolete
5290 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5292 * PropertiesTab.cs : Added
5294 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5296 * PropertyGrid.cs : Update
5297 * PropertyGridView.cs : Update
5298 * System.Windows.Forms.resx : Added images and strings
5300 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5302 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5304 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5306 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5307 a busy loop right after the Ungrab the X11 display is otherwise
5310 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
5312 * ThemeWin32Classic.cs: Optimise the use of clipping
5314 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
5316 * DataGrid.cs: fixes recursion bug
5318 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
5321 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5324 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
5326 * ThemeNice.cs: Draw nice ProgressBars
5328 2005-09-01 Miguel de Icaza <miguel@novell.com>
5330 * VScrollBar.cs: Another buglet found by Aaron's tool.
5332 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5335 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
5338 - Added nicer menu drawing
5342 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5344 * CreateParams.cs (ToString): Made output match MS
5345 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
5346 handle is already created (to avoid forcing window creation)
5347 * XplatUIX11.cs: Set window text to caption after creating window,
5348 in case Text was set before window was created
5349 * Form.cs: Use this.Text instead of a static string as caption
5351 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5353 * NotifyIcon.cs: Don't set the window to visible; this screws
5354 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5355 OnPaint without a bitmap)
5356 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
5357 happen very often anyway; we could add the check to the WM_PAINT
5358 event generation code
5360 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5362 * NotifyIcon.cs: Fill the icon area with a background color, to
5363 avoid 'residue' when transparent icons are drawn
5365 - Handle whole_window == client_window when destroying windows
5366 - SystrayAdd(): Set client_window to whole_window value to
5367 get mouse and other events passed to NotifyIcon
5369 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5371 * Form.cs: Set proper default for Opacity property
5373 - ShowSystray(): Don't bother creating telling the OS
5374 about the systray item if no icon is provided
5375 - Now handles WM_NCPAINT message to deal with whole/client window
5377 - Create window as visible to not get caught by Expose optimization
5378 * Hwnd.cs: Removed debug message
5379 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5380 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5381 PaintEventStart/End to use new client argument
5383 - Commented out debug messages
5384 - Switched PaintEventStart/End to use new client argument
5385 * XplatUI.cs: Added client window bool to PaintEventStart()/
5386 PaintEventEnd() calls, to support drawing in non-client areas
5388 - Added client window bool to PaintEventStart()/PaintEventEnd()
5389 calls, to support drawing in non-client areas
5390 - Added conditional compile to allow using MWF BeginInvoke
5393 - Added some conditional debug output
5394 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5395 whole/client window split
5396 - Implemented handling of client argument to PaintEventStart()/End()
5398 - Throw exception if BeginInvoke() is called and the window handle
5399 or one of the window's parent handles is not created
5400 - Added conditional compile to allow using MWF BeginInvoke on
5402 - get_Parent(): Only sets parent if handle is created. This avoids
5403 forcing window handle creation when parent is set.
5404 - Now fires Layout and Parent changed events in proper order
5405 - Switched to use Handle instead of window.Handle for Z-Order setting,
5406 the get_Parent() patch above causes us to possibly get null for 'window'
5407 - Implemented handling of client argument to PaintEventStart()/End()
5408 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5410 - Now sends a Refresh() to all child windows when Refresh() is called
5412 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5414 * Form.cs: Added (non-functional) Opacity property
5415 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5417 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5418 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5419 use export MONO_THEME=nice to activate it.
5420 Currently supported controls:
5424 - TabControl (TabAlignment.Top only, other will follow)
5425 * ThemeEngine.cs: Add theme nice
5426 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5429 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5431 * Splitter.cs: Resize docked control and its neighbor.
5433 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5434 -- Making Windows with Menus layout correctly --
5435 * Form.cs : The first leg of the fix
5436 Menu setter - adjust Client Size as needed to make space for the menu
5437 SetClientSizeCore - doesn't call base version to be able to pass the
5438 menu handle to XplatUI.CalculateWindowRect
5439 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5440 * XplatUIX11.cs: The critical second leg of the fix
5441 GetWindowPos needs to use a recalculated client_rect
5442 so that resizing the window doesn't break layout of child controls.
5443 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5446 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5448 * Label.cs: Now properly recalculates width and height on Font and Text
5449 changes if AutoSize is set
5451 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5452 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5454 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
5456 * ImageList.cs: Makes ToString method compatible with MS
5458 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
5460 * MenuAPI.cs: fixes bug 75716
5462 2005-08-11 Umadevi S <sumadevi@novell.com>
5463 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5465 2005-08-11 Umadevi S <sumadevi@novell.com>
5466 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5468 2005-08-10 Umadevi S <sumadevi@novell.com>
5469 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5471 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
5473 * Menu.cs: fixes bug 75700
5474 * MenuAPI.cs: fixes navigation issues
5476 2005-08-09 Umadevi S <sumadevi@novell.com>
5477 * CheckedListBox.cs - simple fix for GetItemChecked.
5479 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
5481 * ComboBox.cs: Serveral fixes
5482 * ListBox.cs: Serveral fixes
5484 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5486 * ComboBox.cs: Fixes FindString methods and GetItemHeight
5487 * ListBox.cs: Fixes FindString methods
5489 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5491 * DataGrid.cs: fixes bugs exposed by new tests
5493 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5495 * Mime.cs: Compile Mono assembly references only if compiling
5496 with Mono (Allows to build with VS.Net again)
5498 2005-07-28 Marek Safar <marek.safar@seznam.cz>
5500 * Control.cs (PaintControlBackground): Draw background image
5502 (CheckForIllegalCrossThreadCalls): Stubbed.
5504 * Form.cs (OnCreateControl): Center when should be centered.
5506 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5508 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
5510 * Binding.cs: Binding to properties should be case unsensitive
5512 2005-07-18 vlindos@nucleusys.com
5514 * DataGrid.cs: fixes setmember order
5516 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
5518 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5519 * FileDialog.cs: FileDialog is now resizable and uses the new
5522 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
5524 * DataGridTextBoxColumn.cs: default value
5525 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5526 * GridTableStylesCollection.cs: fixes checking MappingName
5527 * DataGridDrawingLogic.cs: fixes drawing logic issues
5528 * DataSourceHelper.cs: rewritten to make compatible with more data sources
5529 * DataGrid.cs: fixes
5531 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
5533 * MimeGenerated.cs: Use case sensitive comparer for
5534 NameValueCollections
5536 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
5538 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
5539 * ThemeWin32Classic.cs: bug fixes, code refactoring
5540 * DataGridDrawingLogic.cs: bug fixes, code refactoring
5541 * DataGrid.cs: bug fixes, code refactoring
5542 * DataGridTextBox.cs: bug fixes, code refactoring
5543 * DataGridColumnStyle.cs: bug fixes, code refactoring
5544 * Theme.cs: bug fixes, code refactoring
5546 2005-07-01 Peter Bartok <pbartok@novell.com>
5548 * TextControl.cs: Quick fix for the reported crash on ColorDialog
5549 and other text box usage
5551 2005-07-01 Jackson Harper <jackson@ximian.com>
5553 * TabControl.cs: Make sure the bottom of the tab covers the pages
5556 2005-06-30 Peter Bartok <pbartok@novell.com>
5558 * Form.cs (ShowDialog): Assign owner of the dialog
5559 * TextBoxBase.cs: Always refresh caret size when deleting, caret
5560 might have been moved to a tag with different height
5562 2005-06-30 Jackson Harper <jackson@ximian.com>
5564 * Form.cs: Don't create an infinite loop when setting focus
5565 * MenuItem.cs: Don't dirty the parents if we don't have any
5567 2005-06-29 Ben Maurer <bmaurer@ximian.com>
5569 * LibSupport.cs: Rename
5571 2005-06-29 Peter Bartok <pbartok@novell.com>
5573 * TextBoxBase.cs: Re-align caret after deleting a character
5575 - DeleteChars(): Ensure that tag covers the provided position
5576 - StreamLine(): Drop reference for dropped tag
5578 2005-06-29 Peter Bartok <pbartok@novell.com>
5581 - Selections now work properly, anchoring at the initial location
5582 and properly extending in either direction (SetSelectionToCaret(),
5583 SetSelectionStart() and SetSelectionEnd())
5584 - No longer redraws the whole control on selection change, now
5585 calculates delta between previous and new selection and only
5586 invalidates/redraws that area
5587 - Fixed FindPos() math off-by-one errors
5588 - Changed DeleteChars() to verify the provided tag covers the
5589 provided position, selections may have a tag that doesn't cover
5590 the position if the selection is at a tag border
5591 - Fixed off-by-one errors in DeleteChars()
5592 - Added missing streamlining check in DeleteChars() to remove
5594 - Implemented Invalidate() method, now properly calculates exposures
5595 between two given lines/positions
5596 - Implemented SetSelection()
5597 - Obsoleted and removed FixupSelection()
5598 - Improved RecalculateDocument() logic, removing code duplication
5600 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5602 * LibSupport.cs: changes to match different input/output arguments.
5604 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5606 * LibSupport.cs: added libsupport.so init routine.
5608 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
5610 * ControlBindingsCollection.cs
5611 - Throws an exception on null datasource when adding
5612 - Checks for duplicated bindings when adding
5614 2005-06-28 Jackson Harper <jackson@ximian.com>
5616 * TreeView.cs (OnKeyDown): Support left and right properly
5617 (navigates as well as expanding and collapsing.
5618 - Add support for Multiply, this expands all the selected nodes
5622 2005-06-28 Jackson Harper <jackson@ximian.com>
5624 * TreeView.cs: Implement keyboard navigation, currently supports,
5625 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5626 support for toggling checkboxes with the space bar.
5628 2005-06-28 Jackson Harper <jackson@ximian.com>
5630 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5633 2005-06-28 Jackson Harper <jackson@ximian.com>
5635 * TreeView.cs: Add missing event.
5637 2005-06-27 Peter Bartok <pbartok@novell.com>
5640 - Made line ending size configurable (now allows for counting
5641 lineendings as \n or \r\n)
5642 - Added margin to viewport to keep caret visible on right side
5643 - Fixed translation routines for line/pos to documentpos to consider
5644 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5645 - Fixed some line-endings to be unix style
5646 - Fixed Document.FormatText to perform it's calculations 1-based
5647 - Added descriptions for a few methods that might otherwise get
5649 - Added NOTE section with some basic conventions to remember at
5651 - Major fixup for RichTextBox selection drawing:
5652 * Fixed crashes when multiple tags on a single line were selected
5653 * fixed selection box drawing not overlaying text
5654 * fixed bogus offset calculation for tags not starting at index 1
5655 * Switched behaviour from using multiple Substrings of a
5656 StringBuilder.ToString() to using multiple
5657 StringBuilder.ToString(start, length) statements, hoping this is
5658 faster (kept original version commented out in the code, in case
5659 original version was faster)
5660 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
5662 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5665 2005-06-27 Jackson Harper <jackson@ximian.com>
5667 * TabControl.cs: Move to the left and right with the arrow
5668 keys. These keys don't cycle beyond first and last like
5669 tab. Refresh all the tabs when scrolling them to the left or
5672 2005-06-27 Jackson Harper <jackson@ximian.com>
5675 - ToString: Added method
5676 - CreateParams: Remove TODO and comment
5677 - OnKeyDown: Cycle through bounds properly.
5678 - SelectedIndex: Scroll to the right or left if we need to
5679 display the newly selected tab.
5681 2005-06-23 Jackson Harper <jackson@ximian.com>
5683 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5686 2005-06-23 Jackson Harper <jackson@ximian.com>
5688 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5689 CTRL-SHIFT-TAB, and HOME, END are there any others?
5691 2005-06-23 Jackson Harper <jackson@ximian.com>
5693 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5695 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5697 * DataGridTextBoxColumn.cs: fixes and enhancements
5698 * ThemeWin32Classic.cs: fixes and enhancements
5699 * DataGridBoolColumn.cs: fixes and enhancements
5700 * DataGridDrawingLogic.cs: fixes and enhancements
5701 * CurrencyManager.cs: fixes and enhancements
5702 * DataGrid.cs: fixes and enhancements
5703 * DataGridColumnStyle.cs: fixes and enhancements
5705 2005-06-22 Jackson Harper <jackson@ximian.com>
5707 * TabControl.cs: Add some missing methods that just call into the
5708 base. Make the TabPageCollection's IList interface behave in the
5709 same manner as the MS implementation.
5711 2005-06-22 Peter Bartok <pbartok@novell.com>
5713 * TextControl.cs: Added sanity check
5715 - Fixed wrapping behaviour, don't set wrap on single line controls
5716 (this fixes the breakage of colordialog introduced in an earlier
5718 - Added rudimentary support for autoscrolling right-aligned controls
5719 (still needs fixing, also, center alignment scroll is missing)
5721 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5723 * ScrollBar.cs: Fixes thumbpos on Maximum values
5725 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
5727 * PropertyGridView.cs: Pass context information to UITypeEditors
5729 2005-06-21 Peter Bartok <pbartok@novell.com>
5732 - Now calling PositionCaret with absolute space coordinates
5733 - Enabled vertical scrolling
5734 - Better tracking of scrollbar changes, tied into WidthChange
5736 - Improved cursor tracking
5737 - Removed debug output
5739 - PositionCaret coordinates are now works in absolute space, not
5741 - Improved tracking of document size
5742 - Added events for width and height changes
5744 2005-06-21 Peter Bartok <pbartok@novell.com>
5746 * Form.cs: Set focus to active control when form is activated
5748 - Added word-wrap functionality to RecalculateLine()
5749 - Added some short function descriptions for VS.Net to aid in
5750 writing dependent controls
5751 - Added Caret property, returning the current coords of the caret
5752 - Added ViewPortWidth and ViewPortHeight properties
5753 - Added Wrap property
5754 - Added CaretMoved event
5755 - Removed some old debug code
5756 - Split() can now create soft splits
5757 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5758 - Added method to format existing text
5759 - Fixed size/alignment calculations to use viewport
5760 - RecalculateDocument now can handle changing line-numbers while
5764 - Added some wrap logic, we don't wrap if alignment is not left
5765 - Added casts for scrollbar var, base class switched types to
5766 also support RichTextBoxA
5767 - Implemented handling of scrollbar visibility flags
5770 - Switched scrollbars type to RichTextBoxScrollBars to support
5772 - Added tracking of canvas width/height
5773 - Switched scrollbars to be not selectable (to keep focus on text)
5774 - Added central CalculateDocument() method to handle all redraw
5776 - Added ReadOnly support
5777 - Added WordWrap support
5778 - Fixed handling of Enter key (we now treat it as a DialogKey)
5779 - Fixed caret positioning when h or v scroll is not zero
5780 - Fixed placing/generation of vertical scrollbar
5781 - Added CalculateScrollBars() method to allow updating scrollbar
5782 limits and visibility
5783 - Fixed handling of horizontal scroll
5784 - Added handling of vertical scroll
5785 - Implemented auto-'jump' when caret moves to close to a left or
5786 right border and there is text to be scrolled into view (currently
5787 there's the potential for a stack overflow, until a bug in
5790 2005-06-21 Geoff Norton <gnorton@customerdna.com>
5792 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5794 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
5798 - return application/x-zerosize for files with size zero
5799 (if no extension pattern matches).
5800 - check matches collection for strings too.
5801 - return only the first mime type if the name value
5802 collection has more than one mime type.
5804 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
5806 * PropertyGrid.cs: Cleaned up some TODOs
5807 * PropertyGridView.cs: Added support for UITypeEditors
5809 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5811 * DataGrid.cs: clears cached value
5813 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5815 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5816 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5817 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5818 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5820 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
5822 * ThemeWin32Classic.cs: fixes colour
5824 2005-06-15 Peter Bartok <pbartok@novell.com>
5826 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5827 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5828 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5829 * Control.cs: Added some MWFCategory and MWFDescription attributes
5830 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5832 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
5834 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5837 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
5839 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5840 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5841 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5842 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5843 * DataGrid.cs: default datagrid settings for Default Styles, fixes
5844 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5846 2005-06-13 Jackson Harper <jackson@ximian.com>
5848 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5849 isn't printed when the user enables dropping. (X11 does accept
5852 2005-06-13 Jackson Harper <jackson@ximian.com>
5854 * TreeView.cs: Remove some TODOS.
5856 2005-06-13 Jackson Harper <jackson@ximian.com>
5858 * Form.cs: Hook into the mdi framework.
5859 * MdiClient.cs: Use the base control collections add method so
5860 parents get setup correctly. Set the default back colour and dock
5862 * MdiChildContext.cs: New class, this bad actor handles an
5863 instance of an MDI window. Right now there is only basic
5864 support. You can drag, close, and resize windows. Minimize and
5865 Maximize are partially implemented.
5867 2005-06-13 Jackson Harper <jackson@ximian.com>
5869 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5870 freaky when both vals are negative. NOTE: There are probably other
5871 places in XplatUIX11 that this needs to be done.
5873 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
5875 * DataGrid.cs: implement missing methods, move KeyboardNavigation
5876 * DataGridColumnStyle.cs: fixes signature
5878 2005-06-12 Jackson Harper <jackson@ximian.com>
5880 * XplatUIX11.cs: Use sizing cursors similar to the ones on
5883 2005-06-11 Jackson Harper <jackson@ximian.com>
5885 * StatusBarPanel.cs: Signature cleanups. Implement
5888 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
5890 * DataGridTextBoxColumn.cs: Honors aligment
5891 * GridColumnStylesCollection.cs: Contains is case unsensitive
5892 * GridTableStylesCollection.cs: several fixes
5893 * DataGridTableStyle.cs: default column creation
5894 * DataGridDrawingLogic.cs: fixes
5895 * CurrencyManager.cs: ListName property
5896 * DataGrid.cs: multiple styles support
5897 * DataGridColumnStyle.cs: fixes
5900 2005-06-10 Peter Bartok <pbartok@novell.com>
5902 * Control.cs(Select): Moved SetFocus call to avoid potential
5903 loops if controls change the active control when getting focus
5904 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5907 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
5909 * ImageListConverter.cs: Implemented
5911 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5913 * MonthCalendar.cs: Wired in NumericUpDown control for year
5915 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5917 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5918 DoubleClick events, since they are not meant to be fired.
5920 2005-06-09 Peter Bartok <pbartok@novell.com>
5922 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5923 Jonathan's standalone controls into MWF, implemented missing
5924 events, attributes and methods; added xxxAccessible classes
5925 * AccessibleObject.cs: Made fields internal so other classes
5926 can change them if needed
5928 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
5930 * UpDownBase.cs: Complete implementation
5931 * NumericUpDown.cs: Complete implementation
5932 * DomainUpDown.cs: Complete implementation
5934 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
5936 * DataGridTextBoxColumn.cs: drawing fixes
5937 * DataGridCell.cs: fixes ToString method to match MSNet
5938 * DataGridTableStyle.cs: fixes
5939 * DataGridBoolColumn.cs: fixes, drawing
5940 * DataGridDrawingLogic.cs: fixes, new methods
5941 * DataGridTextBox.cs: Keyboard and fixes
5943 - Keyboard navigation
5945 - Row selection (single, multiple, deletion, etc)
5948 2005-06-07 Jackson Harper <jackson@ximian.com>
5950 * ThemeWin32Classic.cs: Clear the background area when drawing
5953 2005-06-06 Peter Bartok <pbartok@novell.com>
5955 * ImageListStreamer.cs: Fixed signature for GetData
5956 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5958 - Added missing ChildAccessibleObject class
5959 - Added missing OnXXXFocus overrides, switched to using those
5960 instead of the event handler
5962 - Added Parent property for ControlAccessibleObject
5965 - Added ResetBindings()
5966 * ListBindingConverter.cs: Implemented some methods
5967 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5968 * ImageList.cs: Implemented basic handle scheme, removed TODOs
5969 * ContainerControl.cs: Fixed signature, now subscribing to the
5970 ControlRemoved event instead of overriding the handler, LAMESPEC
5971 * CurrencyManager.cs: Added missing attribute
5972 * MonthCalendar.cs: Added missing properties
5974 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5976 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5978 2005-06-06 Gaurav Vaish and Ankit Jain
5980 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5981 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5983 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5985 * Control.cs: fixes CreateParams Width / Height.
5987 2005-06-05 Peter Bartok <pbartok@novell.com>
5989 * Win32DnD.cs: Removed compilation warnings
5991 2005-06-05 Peter Bartok <pbartok@novell.com>
5993 * Control.cs (CreateParams): Since we don't know if one of the
5994 properties we use is overridden, lets make sure if we fail accessing
5995 we continue with a backup plan
5997 2005-06-05 Peter Bartok <pbartok@novell.com>
6000 - Removed debug output
6001 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6003 - Plugged resource leak
6004 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6007 2005-06-05 Peter Bartok <pbartok@novell.com>
6009 * XplatUIWin32.cs: Removed DnD code
6010 * Win32DnD.cs: Implemented drop source and drop target functionality
6012 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6014 * UpDownBase.cs: remove duplicate addition of event, enable some code
6015 that was commented out.
6016 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6017 Validate input when a key is pressed. It works fine now for every
6018 combination of Hexadecimal. Only missing some drawing love when sharing
6019 space with other controls.
6021 2005-06-04 Peter Bartok <pbartok@novell.com>
6024 - We need to pass a window for DragDrop, so enable callback events
6025 - Added DnD callback events when being a DragSource
6026 * XplatUI.cs (StartDrag): Added window handle argument
6027 * XplatUIDriver.cs (StartDrag): Added window handle argument
6028 * QueryContinueDragEventArgs: Made fields internally accessible so
6029 drivers can set them
6030 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6033 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
6035 * DataGridTextBoxColumn.cs: column text editing
6036 * DataGridTableStyle.cs: Respect columns styles created by the user
6037 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6038 * DataGridBoolColumn.cs: bool column editing
6039 * DataGrid.cs: fixes to scrolling, properties, etc
6040 * DataGridTextBox.cs: handle keyboard
6041 * DataGridColumnStyle.cs: fixes
6043 2005-06-02 Jackson Harper <jackson@ximian.com>
6045 * ImageListStreamer.cs: Somewhat broken implementation of
6046 GetObjectData. The RLE needs some work to match MS properly.
6048 2005-06-02 Jackson Harper <jackson@ximian.com>
6050 * X11Dnd.cs: Attempting to keep at least one file in MWF
6053 2005-06-02 Peter Bartok <pbartok@novell.com>
6055 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6058 2005-06-02 Peter Bartok <pbartok@novell.com>
6060 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6061 * XplatUI.cs: Added DoDragDrop() method
6062 * XplatUIDriver.cs: Added DoDragDrop() method
6064 2005-06-02 Jackson Harper <jackson@ximian.com>
6066 * Splitter.cs: Implement BorderStyle.
6068 2005-06-02 Jackson Harper <jackson@ximian.com>
6070 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6071 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6074 2005-06-02 Peter Bartok <pbartok@novell.com>
6078 - Fixed broken insertion code for SetData, now also
6079 overwrites any existing entry of the same format name
6080 * Hwnd.cs: Added list of pointers that automatically gets
6081 freed when the window is disposed
6082 * XplatUI.cs: Call driver initialization method when loading
6085 - OnDragLeave takes EventArgs, not DragEventArgs
6086 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6088 - Forces style update when drop state changes
6089 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6090 not perfect since we cannot (yet) call the IDataObject.GetData()
6091 method, we keep getting 0x80004005 error, dunno why)
6093 2005-06-02 Peter Bartok <pbartok@novell.com>
6095 * DragEventArgs.cs: Make fields internal so we can cache the
6096 object and re-set the fields from XplatUI
6098 2005-06-02 Jackson Harper <jackson@ximian.com>
6100 * Control.cs: Add some internal methods so the DnD subsystem can
6101 raise DnD events. Also call into the driver when AllowDrop is set.
6103 * XplatUIDriver.cs: New method for setting whether or not a window
6104 is allowed to accept drag and drop messages.
6106 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6108 * ScrollBar.cs: Make sure that values sent in Scroll events
6109 are always between Maximum and Minimum.
6111 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6113 * Menu.cs: Call MenuChanged when menuitem visibility has been
6115 * MenuItem.cs: Rebuild menu when item is (not) visible.
6116 * MainMenu.cs: MainMenu has special MenuChanged.
6117 * Theme.cs: Caption and FrameBorderSize are not fixed.
6118 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6119 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6121 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6122 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6124 2005-05-30 Jackson Harper <jackson@ximian.com>
6126 * DataFormat.cs: We can't statically initialize this stuff because
6127 it calls into the xplatui and could create a loop. So we lazy init
6130 2005-05-28 Jackson Harper <jackson@ximian.com>
6132 * Control.cs: Proper implementation of Product(Name/Version).
6134 2005-05-27 Jackson Harper <jackson@ximian.com>
6136 * DataObject.cs: Dont crash if no data is found.
6138 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6139 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6140 as per status page, guessing it should be set to true
6142 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6144 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6145 * DataGridTableStyle.cs: set proper formatting text, def header text
6146 * ThemeWin32Classic.cs: new themable paramaters
6147 * DataGridBoolColumn.cs: paint check box, get data, fixes
6148 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6149 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6150 * DataGridColumnStyle.cs: fixes
6151 * Theme.cs: new themable paramaters
6153 2005-05-26 Peter Bartok <pbartok@novell.com>
6155 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6157 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6158 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6160 2005-05-24 Peter Bartok <pbartok@novell.com>
6162 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6163 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6164 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6165 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6166 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6167 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6168 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6169 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6170 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6171 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6172 missing attributes, etc
6173 * DataGridPreferredColumnWidthTypeConverter.cs: Added
6175 2005-05-24 Peter Bartok <pbartok@novell.com>
6177 * Help.cs: Added, implemented trivial functions, throws up MessageBox
6178 when user tries to get help
6179 * DataObject.cs, DataFormats.cs, LinkArea.cs,
6180 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6181 to suppress warnings
6182 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6183 avoid unreachable code warning
6185 2005-05-20 Peter Bartok <pbartok@novell.com>
6187 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6189 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6191 * DataGridTextBoxColumn.cs: Basic painting methods
6192 * DataGridTableStyle.cs: Set table style in the column
6193 * ThemeWin32Classic.cs: Use Theme for colors
6194 * DataGridDrawingLogic.cs: Implement more drawing
6195 * DataGrid.cs: drawing, theming, enhacements, fixes
6196 * DataGridColumnStyle.cs: fixes, drawing
6197 * Theme.cs: theming for Datagrid
6199 2005-05-20 Peter Bartok <pbartok@novell.com>
6201 * Cursor.cs: Implemented GetObjectData() method
6203 2005-05-20 Peter Bartok <pbartok@novell.com>
6205 * Cursors.cs: Added setting of cursor name
6207 - Implemented constructors
6208 - Implemented Draw and DrawStretched
6209 - Implemented Current property
6210 - Implemented == and != operators
6211 - Implemented Dispose()
6212 - Implemented ToString
6213 - Added missing attributes
6215 - Added missing reset for OverrideCursor when DoEvents is called
6216 - Fixed creation of cursor, logic was wrong
6218 - Added missing reset for OverrideCursor when DoEvents is called
6219 - Fixed creation of cursor, bit arrays were swapped
6220 * Clipboard.cs: Removed obsolete MonoTODO attribute
6222 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6224 * ComboBox.cs: fixes OnSelectedItemChanged
6225 * ControlBindingsCollection.cs: fixes item range check
6227 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6230 - Calc preferred height properly
6231 - Implement missing properties
6233 * NumericUpDown.cs: Implement missing events
6235 2005-05-19 Jackson Harper <jackson@ximian.com>
6237 * TabControl.cs: New method that resizes the tab pages before
6238 redrawing them. This as needed as the control is double buffered
6239 and sizing will not be recalculated unless ResizeTabPages is
6241 * TabPage.cs: Set base.Text instead of Text in the constructor so
6242 that UpdateOwner does not get called. Use the new Redraw method of
6243 TabControl instead of Refresh so the sizing is recalculated.
6244 * ThemeWin32Classic.cs: Draw the text for button tabs.
6246 2005-05-19 Jackson Harper <jackson@ximian.com>
6248 * Control.cs: Paint control background images. Fix typo where
6249 PaintControlBackground was not getting called correctly.
6251 2005-05-19 Peter Bartok <pbartok@novell.com>
6253 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6254 I can investigate, apparently I broke FileDialog
6256 2005-05-19 Marek Safar <marek.safar@seznam.cz>
6258 * AxHost.cs: Some simple properties.
6259 * Control.cs: window must be accessible after ctor.
6260 * Form.cs: Added TransparencyKey property.
6261 * TextBoxBase.cs: Implemented Clear. Text property can be null.
6262 * XplatUIWin32.cs: SetBorderStyle implemented.
6264 2005-05-18 Peter Bartok <pbartok@novell.com>
6266 * DataObject.cs: Entries are not global but particular to the
6267 DataObject, now it behaves that way
6268 * XplatUIWin32.cs: Implemented Clipboard methods
6269 * Clipboard.cs: Implemented
6270 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6271 * XplatUIOSX.cs: Updated to final clipboard prototypes
6272 * XplatUIX11.cs: Implemented Clipboard methods
6273 * XplatUIDriver.cs: Updated to final clipboard prototypes
6274 * XplatUIStructs.cs:
6275 - Added BITMAPINFOHEADER struct
6276 - Added ClipboardFormats enum
6278 - Added ClipboardStruct
6279 - Added Atom enum items for clipboard types
6280 - Fixed atom types for Selection event structures
6282 - Added internal properties and methods for drivers to enumerate
6284 - Switched initialization method to allow drivers to assign their
6285 own IDs even for the MS predefined clipboard IDs
6286 * XplatUI.cs: Updated to final clipboard interface
6288 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6289 * PropertyGridView.cs: Fixed compiler warnings.
6291 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6292 * PropertyGrid.cs: Added some event calls
6293 * PropertyGridView.cs: Change drawing code to use double buffering
6294 * PropertyGridTextBox.cs: Changed Text property name
6295 * GridItem.cs: Added Bounds property.
6296 * GridEntry.cs: Added Bounds property.
6298 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
6300 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6301 since GetType() may not return the correct type if the object is
6304 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
6306 * TreeNodeCollection.cs: fixes get/set item ranges
6308 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6310 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6312 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6314 * ComboBox.cs: Fix item range comparation
6315 * ListView.cs: Fix item range comparation
6317 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6320 - Clear example panel when OnPaint is called
6321 - Better solution for displaying the example panel text
6322 - Select default indexes in the ListBoxes
6324 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6326 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
6328 2005-05-11 Peter Bartok <pbartok@novell.com>
6330 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6331 * SelectionRangeConverter.cs: Implemented
6332 * PropertyGrid.cs: Fixed attribute value
6334 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6335 - Added Sebastien Pouliot's CAS Stack Propagation fixes
6336 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6337 that's common to all drivers. First methods to go there are
6338 Sebastien Pouliot's CAS Stack Propagation helper methods
6339 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6340 Sebastien Pouliot for CAS Stack Propagation
6342 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6345 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6347 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
6349 * DataGridTextBoxColumn.cs: fixed some members
6350 * GridColumnStylesCollection.cs: indexed column is case insensitive
6351 * DataGridTableStyle.cs: fixes
6352 * ThemeWin32Classic.cs: add new theme parameter
6353 * Theme.cs: add new theme parameter
6354 * DataGridDrawingLogic.cs: Datagrid's drawing logic
6355 * DataGrid.cs: fixes, new internal properties, etc.
6356 * DataGridColumnStyle.cs: allows to set grid value
6359 2005-05-10 Peter Bartok <pbartok@novell.com>
6361 * AccessibleObject.cs:
6362 - Removed MonoTODO attribute on help, method is correct
6363 - Fixed Bounds property
6364 * AxHost.cs: Moved MonoTODO
6365 * ButtonBase.cs: Now setting AccessibleObject properties
6366 * RadioButton.cs: Setting proper AccessibleObject role
6367 * CheckBox.cs: Setting proper AccessibleObject role
6368 * ControlBindingsCollection.cs: Added properties, methods and attributes
6369 * DataFormats.cs: Fixed awkward internal API, and changed to enable
6370 userdefined DataFormats.Format items as well
6371 * ListControl.cs: Removed data_member from the public eye
6372 * OpenFileDialog.cs:
6374 - Added missing attributes
6375 * SaveFileDialog.cs: Added missing attributes
6376 * ImageListStreamer.cs: Fixed code that caused warnings
6377 * LinkLabel.cs: Removed unreachable code
6378 * TreeView.cs: Fixed code that caused warnings
6379 * PropertyGridView.cs: Fixed code that caused warnings
6380 * GridColumnStylesCollection.cs: Added missing attributes
6381 * GridTableStylesCollection: Added missing attribute
6382 * PropertyManager: Added .ctor
6383 * SecurityIDType: Added
6384 * DataObject.cs: Implemented class
6385 * LinkArea.cs: Added missing attribute
6387 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6389 * RadioButton.cs: call base method to allow to fire OnClick event
6390 * UpDownBase.cs: OnMouseUp call base method
6391 * CheckedListBox.cs: call base method before returning
6392 * TrackBar.cs: call base method before returning
6395 2005-05-10 Peter Bartok <pbartok@novell.com>
6397 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6400 2005-05-10 Peter Bartok <pbartok@novell.com>
6402 * DataFormats.cs: Implemented
6403 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6404 XplatUIX11.cs: Added Clipboard APIs
6405 * XplatUIWin32.cs: Implemented Clipboard APIs
6406 * FolderBrowserDialog.cs: Added missing event, attributes
6408 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6410 * CheckBox.cs: call base method to allow to fire OnClick event
6412 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6414 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6416 2005-05-06 Peter Bartok <pbartok@novell.com>
6418 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6419 * Screen.cs: Implemented
6420 * HelpNavigator.cs: Added
6421 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6423 * HelpProvider.cs: Implemented all we can do until we have a CHM
6424 help library (which means that "What's This" does work now)
6426 2005-05-06 Jackson Harper <jackson@ximian.com>
6428 * XplatUIX11.cs: Fix waking up the main loop.
6430 2005-05-05 Peter Bartok <pbartok@novell.com>
6432 * XplatUI.cs: Updated revision
6433 * Form.cs: Removed enless loop
6434 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6435 * Label.cs (OnPaint): Added call to base.OnPaint()
6436 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6437 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6438 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6440 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6441 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6442 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6443 reuse of ToolTipWindow by other controls
6444 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6445 * XplatUIX11.cs: Now clipping drawing area (experimental)
6446 * PictureBox.cs: Moved base.OnPaint() call to end of method
6447 * Theme.cs: Fixed ToolTip abstracts to match new format
6448 * ErrorProvider.cs: Implemented
6450 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
6452 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6456 - Implements LinkBehavior
6459 2005-05-03 Jackson Harper <jackson@ximian.com>
6461 * ListView.cs: Calculate the scrollbar positioning on resize and
6462 paint, so they get put in the correct place.
6464 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6466 * ColorDialogs.cs: The small color panels are now handled by
6467 SmallColorControl. This fixes drawing of the focus rectangle
6468 and adds a 3D border.
6470 2005-05-03 Peter Bartok <pbartok@novell.com>
6472 * Control.cs: Modified version of Jonathan Chamber's fix for
6475 2005-05-03 Jackson Harper <jackson@ximian.com>
6477 * ListView.cs: Remove redraw variable. Control now handles whether
6478 or not a redraw needs to be done, and will only raise the paint
6479 event if redrawing is needed.
6481 2005-05-03 Jackson Harper <jackson@ximian.com>
6483 * Splitter.cs: No decorations for the splitter form. Cache the
6486 2005-05-03 Jackson Harper <jackson@ximian.com>
6488 * TreeView.cs: Use dashed lines to connect nodes. Use the
6489 ControlPaint method for drawing the focus rect instead of doing
6492 2005-05-02 Peter Bartok <pbartok@novell.com>
6494 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6496 2005-04-29 Jackson Harper <jackson@ximian.com>
6498 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6499 entire image buffer. Just clear the clipping rectangle.
6501 2005-04-29 Jackson Harper <jackson@ximian.com>
6503 * ThemeWin32Classic.cs: Don't draw list view items that are
6504 outside the clipping rectangle.
6506 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
6508 * ListBox.cs: added horizontal item scroll
6510 2005-04-29 Jackson Harper <jackson@ximian.com>
6512 * ThemeWin32Classic.cs: Remove some old debug code that was
6513 causing flicker with the new double buffering code.
6515 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
6517 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6518 behave like combobox and comboboxlist (still not sure if this is
6521 2005-04-28 Jackson Harper <jackson@ximian.com>
6523 * ThemeWin32Classic.cs: Don't fill the middle of progress
6524 bars. This fills areas outside of the clip bounds that don't need
6527 2005-04-28 Jackson Harper <jackson@ximian.com>
6529 * Control.cs: Don't expose functionality to touch the image buffers.
6531 * ListView.cs: We do not need to (and no longer can) manipulate
6532 the image buffers directly. All of this is handled by Control.
6534 2005-04-28 Peter Bartok <pbartok@novell.com>
6536 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6537 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6538 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6540 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6543 - Adjust control's height for non-simple comboboxes (bug fix)
6545 * MenuAPI.cs: remove unused var
6546 * ScrollBar.cs: remove unsed var
6548 * ListBox.cs: unselect items when clearing
6550 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6552 * ListControl.cs: honors OnPositionChanged and default Selected Item
6553 * ListBox.cs: unselect items when clearing
6555 2005-04-27 Jackson Harper <jackson@ximian.com>
6557 * X11Keyboard.cs: Initialize a default keyboard and give a warning
6558 if a "correct" keyboard is not found. This will make us not crash,
6559 but might give some users bad keyboard layouts...seems to be the
6560 same thing rewind does.
6562 2005-04-27 Jackson Harper <jackson@ximian.com>
6564 * BindingManagerBase.cs: Attach the current/position changed
6565 handlers to their respective events.
6567 2005-04-27 Jackson Harper <jackson@ximian.com>
6569 * Control.cs: Make sure that the first WM_PAINT does a full draw,
6571 * ThemeWin32Classic.cs: Don't fill the background for picture
6572 boxes. This could overright user drawing.
6573 * ComboBox.cs: Just fill the clipping rect not the entire client
6574 rect when drawing the background. This prevents pieces of the
6575 image buffer from getting overwritten and is theoretically faster.
6577 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
6579 * ComboBox.cs: Databinding support fixes, fire missing events
6580 * ListControl.cs: implement missing methods and properties, fixes
6581 * ThemeWin32Classic.cs: Databiding support on Drawing
6582 * CheckedListBox.cs: Databinding support fixes, fire missing events
6583 * ListBox.cs: Databinding support fixes, fire missing events
6585 2005-04-25 Peter Bartok <pbartok@novell.com>
6587 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6589 2005-04-25 Jackson Harper <jackson@ximian.com>
6591 * TreeView.cs: Use the horizontal scrollbars height not width when
6592 determining how much of the client area is available.
6594 2005-04-25 Jackson Harper <jackson@ximian.com>
6596 * Control.cs: Double buffering is handled differently now. As per
6597 the spec, the extra buffer is created in the WM_PAINT message and
6598 passed down to the control's drawing code.
6606 * PropertyGridView.cs:
6618 * DateTimePicker.cs:
6620 * TreeView.cs: Update to new double buffering system.
6621 * MonthCalendar.cs: Uncomment block, as Capture is now
6622 working. Update to new double buffering
6623 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6624 * PaintEventArgs.cs: New internal method allows us to set the
6625 graphics object. This is used for double buffering.
6626 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6627 rectangle. The internal paint_area var has been removed from
6628 StatusBar. The clipping rect should be used instead.
6629 * Theme.cs: Give the PictureBox drawing method a clipping rect.
6630 * TabPage.cs: The RefreshTabs method was removed, so just call the
6631 tab controls Refresh method now.
6632 * TabControl.cs: Update to new double buffering. Make sure the
6633 handle is created before sizing the tab pages, otherwise we will
6634 get stuck in a loop.
6636 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
6638 * LinkLabel.cs: Fix typo, bug #74719; patch
6639 from Borja Sanchez Zamorano
6641 2005-04-22 Jackson Harper <jackson@ximian.com>
6643 * TreeNode.cs: Implement Handle stuff.
6644 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6646 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
6648 * DataGridTextBoxColumn.cs: call base constructors, fixes
6649 * GridColumnStylesCollection.cs: missing events, methods, and functionality
6650 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6651 * DataGridTableStyle.cs: implements create default column styles
6652 * DataGridBoolColumn.cs: which types can handle
6653 * DataGrid.cs: missing methods, fixes, new functionality
6654 * DataGridColumnStyle.cs: fixes
6656 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
6657 * FolderBrowserDialog.cs:
6658 - Use a thread to fill the TreeView
6659 - Adjusted some sizes
6661 2005-04-19 Peter Bartok <pbartok@novell.com>
6663 * LinkLabel.cs: (Re-)create the pieces when setting the Text
6664 property. Fixes #74360.
6666 2005-04-19 Jackson Harper <jackson@ximian.com>
6668 * XEventQueue.cs: Lock when getting the lockqueue size.
6669 * PictureBox.cs: Call base OnPaint
6671 2005-04-19 Peter Bartok <pbartok@novell.com>
6673 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6674 messages were no longer being processed (this broke BeginInvoke)
6677 2005-04-18 Jackson Harper <jackson@ximian.com>
6679 * TreeView.cs: buglet that caused node images to get drawn
6680 regardless of whether or not they were in the clipping rectangle.
6682 2005-04-18 Jackson Harper <jackson@ximian.com>
6684 * CurrencyManager.cs: There are four rules for GetItemProperties:
6685 - If the type is an array use the element type of the array
6686 - If the type is a typed list, use the type
6687 - If the list contains an Item property that is not an object, use
6689 - use the first element of the list if there are any elements in
6692 2005-04-17 Jackson Harper <jackson@ximian.oom>
6694 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6695 click. This handles offsets for scrolling properly and reduces
6696 memory. Also fixed GetNode to not offset now that TopNode works
6698 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6700 2005-04-17 Jackson Harper <jackson@ximian.com>
6702 * CursorConverter.cs: Initial implementation.
6704 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6706 * ListControl.cs: work towards complex data binding support on ListControl
6707 * CurrencyManager.cs: work towards complex data binding support on ListControl
6708 * ListBox.cs: work towards complex data binding support on ListControl
6711 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6713 * GridTableStylesCollection.cs: fixes name and constructor
6714 * DataGridTableStyle.cs: fixes
6715 * DataGridBoolColumn.cs: fixes names and constructors
6716 * DataGrid.cs: define methods and properties. Some init implementations
6717 * DataGridCell.cs: define methods and properties. Some init implementations
6718 * GridTablesFactory.cs: Define methods and properties
6720 2005-04-15 Geoff Norton <gnorton@customerdna.com>
6722 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
6723 graphics port changes. We still want the coordinates in global screen
6726 2005-04-14 Jackson Harper <jackson@ximian.com>
6728 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6729 check plus minus or checkbox clicks unless those features are enabled.
6731 2005-04-14 Jackson Harper <jackson@ximian.com>
6733 * TreeView.cs: Add methods for setting the top and bottom visible
6734 nodes. TreeNode::EnsureVisible uses these methods.
6735 * TreeNode.cs: Implement EnsureVisible
6737 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
6739 * Form.cs: Pospone menu assignation if the window has not been created yet
6740 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6743 2005-04-12 Jackson Harper <jackson@ximian.com>
6745 * TreeView.cs: Set the TopNode properly when scrolling
6746 occurs. This has the added benifit of reducing the amount of
6747 walking that needs to be done when drawing. Also removed an old
6749 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6751 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
6753 * Timer.cs: fixes interval setting when the timer is already enabled
6755 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
6757 * FolderBrowserDialog.cs: First approach
6759 2005-04-09 Peter Bartok <pbartok@novell.com>
6761 * FolderBrowserDialog: Added
6763 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
6765 * LinkLabel.cs: move drawing code into the theme
6766 * ThemeWin32Classic.cs: drawing code and painting background bugfix
6767 * Theme.cs: define DrawLinkLabel method
6769 2005-04-05 Jackson Harper <jackson@ximian.com>
6771 * BindingContext.cs: Use weak references so these bad actors don't
6772 stay alive longer then they need to.
6774 2005-04-05 Jackson Harper <jackson@ximian.com>
6776 * ListControl.cs: Basic implementation of complex databinding.
6778 * ListBox.cs: Add calls to ListControl databinding methods.
6780 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
6783 - Don't change PopupButtonState to Normal when the
6784 PopupButton gets pressed several times.
6785 - Renamed ButtonPanel to PopupButtonPanel
6787 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
6789 * ColorDialog.cs: Use cached objects instead of creating them
6790 * LinkLabel.cs: Use cached objects instead of creating them
6791 * Splitter.cs: Use cached objects instead of creating them
6792 * FontDialog.cs: Use cached objects instead of creating them
6793 * PropertyGridView.cs: Use cached objects instead of creating them
6794 * MessageBox.cs: Use cached objects instead of creating them
6795 * FileDialog.cs: Use cached objects instead of creating them
6796 * ThemeWin32Classic.cs: Use cached objects instead of creating them
6797 * TreeView.cs: Use cached objects instead of creating them
6799 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
6801 * Control.cs: use Equals to compare the font since no == op
6802 * ScrollBar.cs: use Equals to compare the font since no == op
6804 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
6806 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6808 2005-04-01 Jackson Harper <jackson@ximian.com>
6810 * Binding.cs: Implement IsBinding.
6811 * BindingManagerBase.cs:
6812 * PropertyManager.cs:
6813 * CurrencyManager.cs: Add IsSuspended property.
6815 2005-04-01 Jackson Harper <jackson@ximian.com>
6817 * Binding.cs: Had some IsAssignableFrom calls backwards.
6819 2005-04-01 Jackson Harper <jackson@ximian.com>
6821 * Binding.cs: Handle null data members when pulling data.
6822 * PropertyManager.cs: Handle the data member being a property that
6825 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6827 * DataGridTextBoxColumn.cs: fixes signature
6828 * DataGrid.cs: calls right constructor
6830 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6832 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6833 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6834 * GridTableStylesCollection.cs: implements GridTableStylesCollection
6835 * DataGridTableStyle.cs: implements DataGridTableStyle
6836 * DataGridBoolColumn.cs: implements DataGridBoolColumn
6837 * DataGridTextBox.cs: implements DataGridTextBox
6838 * DataGridColumnStyle.cs: implements DataGridColumnStyle
6840 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
6842 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6844 2005-03-29 Peter Bartok <pbartok@novell.com>
6847 - Properly implemented CompanyName property
6848 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6849 returns a path that includes CompanyName, ProductName and
6850 Version (fixes bug #70330)
6852 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
6854 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6857 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6859 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6861 - Added ReadOnly CheckBox
6862 - Further refactoring: moved some code from Open-/SaveFileDialog
6865 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6867 * OpenFileDialog.cs: Fixed CheckFileExists
6869 Moved FileView and DirComboBox outside FileDialog class.
6870 They can now be used outside FileDialog
6872 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6874 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6875 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6877 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6879 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6880 - Added missing CreatePrompt property in SaveDialog
6881 - Overall SaveDialog handling should be better now
6882 - Added non standard ShowHiddenFiles property
6883 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6884 - Added InitialDirectory and RestoreDirectory support
6886 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
6888 * FileDialog.cs: Made dirComboBox usable
6890 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
6892 * FileDialog.cs: Added Filter support (case sensitiv)
6894 2005-03-24 Jackson Harper <jackson@ximian.com>
6896 * TabControl.cs: Need a couple more pixels for the lines.
6898 2005-03-23 Jackson Harper <jackson@ximian.com>
6900 * TabControl.cs: Give the tab page focus when it is selected.
6902 2005-03-23 Jackson Harper <jackson@ximian.com>
6904 * TabControl.cs: Account for the drawing of tabs borders when
6905 invalidating. If the slider was clicked dont do click detection on
6908 2005-03-23 Jackson Harper <jackson@ximian.com>
6910 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6912 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
6914 * CategoryGridEntry.cs: Added
6915 * GridItem.cs: Added helper properties
6916 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6917 * GridEntry.cs: Updated code for collection
6918 * PropertyGrid.cs: Cleaned up some formatting
6919 * PropertyGridView.cs: Added drop down functionality for enums.
6920 * GridItemCollection.cs: Added enumerator logic
6921 * PropertyGridEntry.cs: Added
6923 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6926 - Removed unnecessary commented code
6927 - Fixed handling for entering the filename manually in the combobox
6929 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6931 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6933 2005-03-18 Peter Bartok <pbartok@novell.com>
6935 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6936 them being touching the border
6938 2005-03-18 Peter Bartok <pbartok@novell.com>
6940 * TextControl.cs: Quick hack to center text better
6942 2005-03-18 Peter Bartok <pbartok@novell.com>
6945 - Don't throw NotImplemented exceptions, just print a notice once
6946 instead (requested by Miguel). This makes running existing SWF
6949 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6950 - Added context menu trigger on right click
6951 * Panel.cs: Trigger invalidate on resize
6953 - Removed old double-buffer drawing
6954 - Added ResizeRedraw style to force proper update of statusbar
6956 - Removed debug output
6957 * ThemeWin32Classic.cs:
6958 - Fixed drawing of status bar, now draws Text property if there
6959 are no defined panels
6961 2005-03-18 Jackson Harper <jackson@ximian.com>
6963 * ImageList.cs: When the image stream is set pull all the images
6965 * ImageListStreamer.cs: Implement reading image list streams.
6967 2005-03-18 Peter Bartok <pbartok@novell.com>
6969 * ThemeWin32Classic.cs (DrawPictureBox):
6970 - Fixed calculations for centered drawing
6971 - Fixed drawing for normal mode, not scaling the image on normal
6973 2005-03-18 Peter Bartok <pbartok@novell.com>
6975 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6978 - Made Open/Save button the accept button for FileDialog
6979 - Tied the cancel button to the IButtonControl cancel button
6980 - Save/Open now properly builds the pathname
6981 - Now handles user-entered text
6982 - Preventing crash on right-click if no item is selected
6983 - Fixed Text property, now uses contents of textbox
6984 - Fixed SelectedText property, now just returns the text part that
6985 is selected in the text box
6987 2005-03-18 Jackson Harper <jackson@ximian.com>
6989 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6990 rect, make sure to de-adjust the interior rect after drawing the
6993 2005-03-18 Peter Bartok <pbartok@novell.com>
6995 * MenuAPI.cs: Remove menu *before* executing selected action to
6996 prevent the menu from 'hanging around'
6998 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7000 * XplatUIOSX.cs: Implemented WorkingArea property
7002 2005-03-17 Peter Bartok <pbartok@novell.com>
7004 * XplatUIX11.cs: Fixed menu coord calculations
7005 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7006 for calculating offsets
7008 2005-03-17 Peter Bartok <pbartok@novell.com>
7010 * Hwnd.cs: Do not consider menu presence for default client
7011 rectangle location/size
7012 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7013 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7014 translation functions
7015 * FileDialog.cs: Fixed (what I presume is a) typo
7017 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
7019 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7020 X access (avoids X-Async errors)
7022 2005-03-16 Jackson Harper <jackson@ximian.com>
7024 * TabControl.cs: Raise the SelectedIndexChanged event.
7026 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
7028 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7029 - Removed vertical ToolBar and replaced it with a custom panel
7030 (desktop and home button already work)
7031 - Added Help button (some controls get resized or relocated then)
7032 - Draw correct text depending on Open or Save.
7033 - Fixed some typos...
7035 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
7038 - Only change Maximum and Minimum when need it (bug fix)
7040 2005-03-15 Peter Bartok <pbartok@novell.com>
7042 * Form.cs: Use Handle for icon, to trigger creation if
7043 the window does not yet exist
7045 - CanSelect: Slight performance improvement
7046 - Focus(): Preventing possible recursion
7047 - Invalidate(): Removed ControlStyle based clear flag setting
7048 - WM_PAINT: fixed logic for calling OnPaintBackground
7049 - WM_ERASEBKGND: Fixed logic, added call to new driver method
7050 EraseWindowBackground if the control doesn't paint background
7052 - Moved EraseWindowBackground() method to internal methods
7053 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7054 is sent via SendMessage on BeginPaint call on Win32
7056 - Added EraseWindowBackground() method
7057 - No longer sends WM_ERASEBKGND on .Expose, but on call to
7058 PaintEventStart, which more closely matches Win32 behaviour
7059 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7060 - Fixed SetFocus() to properly deal with client and whole windows
7061 * Hwnd.cs: Added ErasePending property
7062 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7063 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7065 2005-03-12 Geoff Norton <gnorton@customerdna.com>
7068 - Fix hard loop when timers exist.
7069 - Fix bugs with middle and right click for 3 button mice.
7071 2005-03-11 Peter Bartok <pbartok@novell.com>
7074 - get_WorkingArea: Need to call X directly, GetWindowPos only
7075 returns cached data now
7076 - Added sanity check to GetWindowPos hwnd usage
7078 2005-03-11 Jackson Harper <jackson@ximian.com>
7080 * BindingManagerBase.cs: This method isn't used anymore as
7081 PullData now updates the data in the control.
7083 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7085 * Form.cs: fixes menu drawing on X11
7086 * MenuAPI.cs: fixes menu drawing on X11
7088 2005-03-11 Peter Bartok <pbartok@novell.com>
7090 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7091 from Jonathan Gilbert; should fix bug #73606
7092 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7093 in Screen coordinates. Thanks, Jordi.
7094 * Form.cs: Added missing attribute
7096 2005-03-11 Peter Bartok <pbartok@novell.com>
7099 - Rudimentary Mdi support
7100 - Removed outdated FormParent code
7101 - Implemented lots of missing properties and methods, still missing
7102 transparency support
7103 - Added missing attributes
7104 - Implemented support for MaximumBounds
7105 - Added firing of various events
7106 * XplatUI.cs: Added SetIcon() method
7107 * XplatUIDriver.cs: Added SetIcon() abstract
7108 * XplatUIOSX.cs: Stubbed out SetIcon() method
7110 - Implemented SetIcon() support
7111 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7112 - Switched to unix line endings
7114 - Made POINT internal so for can access it as part of MINMAX
7115 - Implemented SetIcon() support
7116 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7117 native Mdi support again, might have to go managed)
7118 * Control.cs: Now fires the StyleChanged event
7119 * MdiClient.cs: Added; still mostly empty
7121 2005-03-10 Peter Bartok <pbartok@novell.com>
7123 * SaveFileDialog.cs: Added emtpy file
7125 2005-03-08 Peter Bartok <pbartok@novell.com>
7127 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7128 in turn triggers OnCreateContro) when creating a handle for the
7130 * TextControl.cs: Fixed endless loop in certain cases when
7131 replacing the current selection
7133 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7136 - Honors NewValue changes in Scroll events allowing apps to change it
7137 - Adds First and Last Scroll events
7138 - Fixes Thumb events
7140 2005-03-07 Peter Bartok <pbartok@novell.com>
7142 * Hwnd.cs: Added DefaultClientRectangle property
7143 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7144 more detailed debug information
7146 - Fixed size-change feedback loop, where we would pull an old size
7147 off the queue and mistakenly change our window's size to an
7149 - Now compressing ConfigureNotify events, to reduce looping and
7151 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7154 2005-03-07 Jackson Harper <jackson@ximian.com>
7156 * Binding.cs: Push data pushes from data -> property. Check if the
7157 property is readonly when attempting to set it.
7159 2005-03-07 Jackson Harper <jackson@ximian.com>
7161 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7162 instead of IsSubclassOf. Pulling data now sets the value on the
7164 * PropertyManager.cs:
7165 * CurrencyManager.cs: Just need to pull data when updating now,
7166 because PullData will set the value on the control.
7168 2005-03-04 Jackson Harper <jackson@ximian.com>
7170 * Binding.cs: Implement data type parsing and converting on pulled
7171 data. TODO: Are there more ways the data can be converted?
7173 2005-03-04 Jackson Harper <jackson@ximian.com>
7175 * Binding.cs: Support <Property>IsNull checks. Also bind to the
7176 controls Validating method so we can repull the data when the
7177 control loses focus.
7179 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
7182 - Fixes null string format
7185 - Adds enum type checks
7186 - Fixes redrawing and recalc need after changing some properties
7187 - Fixes on focus_item set after the event
7188 - Fixes adding columns after the control has been created
7190 * ThemeWin32Classic.cs:
7191 - Fixes CheckBox focus rectangle
7192 - Fixes ColumnHeader drawing
7195 2005-03-03 Jackson Harper <jackson@ximian.com>
7197 * Binding.cs: Bind to <Property>Changed events so we can detect
7198 when properties are changed and update the data.
7200 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
7203 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7204 - Fixes ImageList constructor with ImageList container
7205 - Fixes image scaling (wrong parameters at DrawImage)
7207 2005-02-02 Jackson Harper <jackson@ximian.com>
7209 * Binding.cs: Make property searches case-insensitive. Eliminate
7210 some duplicated code.
7212 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
7215 - Handle focus event
7216 - Fix scrollbar events
7217 - Discard highlighted item if remove it
7218 - Fixes SelectedItem with strings
7220 2005-03-01 Peter Bartok <pbartok@novell.com>
7223 - Fixed Visible property, now follows (once again) parent chain
7224 to return false if any control in the chain is visible=false
7225 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7226 - Fixed several places where is_visible instead of Visible was used
7227 - Implemented FIXME related to focus selection when setting focused
7228 control to be invisible
7230 * XplatUIWin32.cs: Now using proper method to find out if window is
7231 visible. Thanks to Jordi for pointing it out
7233 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
7235 * ComboBox.cs: show/hide scrollbar instead of creating it
7237 2005-02-27 Jackson Harper <jackson@ximian.com>
7239 * CurrencyManager.cs: Add PositionChanged stuff.
7241 2005-02-27 Peter Bartok <pbartok@novell.com>
7243 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7244 * XplatUIOSX.cs: Added GetMenuOrigin() stub
7245 * XplatUIWin32.cs: Implemented GetMenuOrigin()
7247 - Implemented GetMenuDC()
7248 - Implemented GetMenuOrigin()
7249 - Implemented ReleaseMenuDC()
7250 - Implemented generation of WM_NCPAINT message
7251 - Implemented generation and handling of WM_NCCALCSIZE message
7252 * Form.cs: Added debug helper message for Jordi's menu work
7254 - Modified ClientRect property; added setter, fixed getter to handle
7255 setting of ClientRect
7256 - Added MenuOrigin property
7258 2005-02-26 Peter Bartok <pbartok@novell.com>
7261 - Destroys the caret if a window that's being destroyed contains it
7262 - Ignores expose events coming from the X11 queue for windows that
7263 already are destroyed
7264 - Now uses the proper variable for handling DestroyNotify, before we
7265 marked the wrong window as destroyed
7266 - Improved/added some debug output
7268 2005-02-26 Peter Bartok <pbartok@novell.com>
7270 * X11Keyboard.cs: Fixes to work on 64bit systems
7272 2005-02-26 Peter Bartok <pbartok@novell.com>
7275 - Now calling OnHandleDestroyed from DestroyHandle()
7276 instead of Dispose()
7277 - Removed bogus call to controls.Remove() from DestroyHandle()
7279 2005-02-26 Peter Bartok <pbartok@novell.com>
7281 * Control.cs: Properly destroy child windows when our handle is
7284 2005-02-25 Peter Bartok <pbartok@novell.com>
7287 - Added 'DriverDebug' define to allow tracing XplatUI API calls
7288 - Alphabetized Static Methods and Subclasses
7291 - Added XException class to allow custom handling of X11 exceptions
7292 - Created custom X11 error handler, tied into XException class
7293 - Added support for MONO_XEXCEPTIONS env var to allow the user
7294 to either throw an exception on X errors or continue running
7295 after displaying the error
7296 - Added handling of DestroyNotify message
7297 - Added handler for CreateNotify message (still disabled)
7298 - Improved (tried to at least) Where method to provide file and lineno
7300 - Added XErrorHandler delegate
7301 - Added XRequest enumeration (to suppor translation of errors)
7303 2005-02-25 Jackson Harper <jackson@ximian.com>
7305 * PropertyManager.cs: Implement editing features
7306 * CurrencyManager.cs:
7307 * Binding.cs: First attempt at UpdateIsBinding
7308 * BindingManagerBase.cs: Call UpdateIsBinding before
7309 pushing/pulling data.
7311 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
7313 * MenuAPI.cs: Respect disabled items
7314 * ThemeWin32Classic.cs
7315 - Caches ImageAttributes creation for DrawImageDisabled
7316 - Fixes vertical menu line drawing
7317 - Draws disabled arrows in disable menu items
7319 2005-02-24 Peter Bartok <pbartok@novell.com>
7322 - Added UserData property to allow associating arbitrary objects
7324 - Fixed leak; now removing Hwnd references from static windows array
7326 - Fixed Graphics leak in PaintEventEnd
7327 - Removed usage of HandleData, switched over to Hwnd class
7328 * HandleData.cs: Removed, obsoleted by Hwnd.cs
7330 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7332 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7333 * ScrollBar.cs: Fixes bug
7334 * TrackBar.cs: removes death code, clipping, mimize refreshes,
7335 keyboard navigation enhancements
7337 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7339 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7340 * GroupBox.cs: Add control styles
7341 * Label.cs: Add control styles
7342 * UpDownBase.cs: Add control styles
7343 * ListBox.cs: Add control styles
7344 * XplatUIWin32.cs: Fixes wrong parameter order
7347 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
7349 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7351 2005-02-23 Jackson Harper <jackson@ximian.com>
7353 * PropertyManager.cs: Implement property binding. This doesn't
7354 seem to work yet though as (I think) there are some bugs in
7355 System.ComponentModel.PropertyDescriptor.
7356 * BindingContext.cs: Use new PropertyManager constructor.
7358 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
7360 * ProgressBar.cs: use clip region in ProgressBar
7361 * ThemeWin32Classic.cs: use clip region in ProgressBar
7363 2004-02-22 Jackson Harper <jackson@ximian.com>
7365 * BindingsCollection.cs: Remove some debug code.
7367 2005-02-22 Jackson Harper <jackson@ximian.com>
7369 * BindingContext.cs:
7370 * ControlBindingsCollection.cs:
7371 * CurrencyManager.cs:
7373 * BindingManagerBase.cs: Initial implementation
7374 * BindingsCollection.cs: Add an internal contains method that the
7375 BindingManagerBase uses to ensure bindings aren't added twice to
7377 * PropertyManager.cs: Stubbed out.
7379 * ContainerControl.cs: Hook up databinding
7381 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7384 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7385 Fixed Invalidate/Update chain.
7386 Fixed tons of other minor bugs (this is almost a complete rewrite).
7388 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7390 * ComboBox.cs: do subcontrol creation when the control is created
7392 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7394 * Label.cs: fixes image drawing (image and imagelist)
7395 * ThemeWin32Classic.cs: cache brushes
7397 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7399 * Form.cs: Move menu drawing code to Theme class
7400 * ComboBox.cs: Move ComboBox drawing code to Theme class
7401 * MenuItem.cs: Move menu drawing code to Theme class
7402 * MenuAPI.cs: Move menu drawing code to Theme class
7403 * ThemeWin32Classic.cs: New methods
7404 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7405 * ListBox.cs: Move Listbox drawing code to Theme class
7406 * Theme.cs: New methods
7408 2005-02-20 Peter Bartok <pbartok@novell.com>
7411 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7412 only process mnemonics on those)
7413 - Fixed event sequence for key handling; first calling
7414 ProcessKeyEventArgs now
7416 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7417 for processing non-character keys
7418 - Fixed WM_CHAR to generate proper event sequence before processing
7419 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7422 2005-02-19 Peter Bartok <pbartok@novell.com>
7424 * UserControl.cs: Added TextChanged event; added attributes
7425 * SizeGrip.cs: Implemented resizing and optional display of grip
7426 * Form.cs: Fixed attribute
7427 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7428 Changed meaning of ScrollWindow bool argument; instead of the
7429 clear attribute (which will be true usually anyway), it gives the
7430 option of moving child controls as well.
7432 - Changed to match new ScrollWindow argument
7433 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7434 now handles the implicit parent window a WM puts around us
7435 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7437 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7438 * TreeView.cs: Adjusted to new ScrollWindow arguments
7440 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7442 * Form.cs: Menu integration with non-client area
7443 * MenuItem.cs: Menu integration with non-client area
7444 * MenuAPI.cs: Menu integration with non-client area
7446 2005-02-18 Peter Bartok <pbartok@novell.com>
7448 * MethodInvoker.cs: Added
7449 * MdiLayout.cs: Added
7450 * SendKeys.cs: Started implementation
7451 * ErrorIconAlignment.cs: Added
7453 2005-02-18 Peter Bartok <pbartok@novell.com>
7455 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7456 * Form.cs: Added handling for Menu-related Non-client messages
7458 2005-02-17 Peter Bartok <pbartok@novell.com>
7460 * UpDownBase.cs: Fixed typo, compilation errors
7461 * DomainUpDown.cs: Fixed attribute value
7463 2005-02-16 Miguel de Icaza <miguel@novell.com>
7465 * UpDownBase.cs: Attach entry events.
7467 Add ForeColor property, Focused, InterceptArrowKeys (interception
7470 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
7473 - Redraw non client are on Setmenu
7474 - Calc proper menu starting point
7476 2005-02-17 Peter Bartok <pbartok@novell.com>
7478 * Application.cs: Fixed message_filter check
7480 2005-02-17 Peter Bartok <pbartok@novell.com>
7482 * Application.cs: Now calls registered message filters
7483 * DockStyle.cs: Fixed attribute
7484 * Form.cs: Fixed attribute
7485 * Menu.cs: Fixed attribute
7486 * ToolTip.cs: Fixed attribute
7487 * TreeNode.cs: Added missing attributes and arranged in regions
7488 * PropertyGrid.cs: Fixed signatures
7489 * TreeNodeCollection.cs: Added attributes
7490 * Splitter.cs: Added missing attributes; arranged into regions
7491 * TabPage.cs: Added missing attributes; arranged into regions
7492 * TextBoxBase.cs: Added missing attributes
7493 * TextBox.cs: Added missing attributes
7494 * ArrangeDirection.cs: Added missing attributes
7495 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7496 * ToolBarButton.cs: Fixed attributes
7497 * AnchorStyles.cs: Fixed attribute
7498 * TrackBar.cs: Fixed attributes
7499 * TabControl.cs: Added missing attributes and arranged into regions
7500 * ToolBar.cs: Fixed attribute
7501 * StatusBar.cs: Fixed signature, organized into regions and added
7503 * StatusBarPanel.cs: Fixed attributes
7504 * ContentsResizedEventArgs.cs: Implemented
7505 * ContentsResizedEventHandler.cs: Implemented
7506 * DateBoldEventArgs.cs: Implemented
7507 * DateBoldEventHandler.cs: Implemented
7508 * UpDownEventArgs.cs: Implemented
7509 * UpDownEventHandler.cs: Implemented
7511 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
7513 * Form.cs: first Menu NC refactoring
7514 * MenuAPI.cs: first Menu NC refactoring
7516 2005-02-16 Peter Bartok <pbartok@novell.com>
7518 * ImeMode.cs: Added missing attributes
7519 * Menu.cs: Fixed attribute
7520 * GroupBox.cs: Fixed attribute
7521 * Label.cs: Fixed attribute
7522 * ColorDialog.cs (RunDialog): Removed TODO attribute
7523 * ComboBox.cs: Fixed attributes
7524 * ListControl.cs: Added missing attributes
7525 * PropertyGrid.cs: Fixed attributes
7526 * Control.cs: Fixed attributes
7527 * ListViewItem.cs: Added TypeConverter attribute
7528 * NotifyIcon.cs: Fixed attributes
7529 * ListView.cs: Fixed attributes
7530 * ButtonBase.cs: Fixed attribute
7531 * ImageList.cs: Added missing attributes
7532 * ContainerControl.cs: Fixed signature
7533 * CheckedListBox.cs: Fixed attribute; added missing attributes
7534 * Panel.cs: Fixed attributes
7535 * PropertyTabChangedEventArgs.cs: Added missing attribute
7536 * PropertyValueChangedEventArgs.cs: Added missing attribute
7537 * Binding.cs: Fixed attribute
7538 * ListViewItemConverter: Implemented ListViewSubItemConverter class
7539 * ListBox.cs: Fixed attribute; added missing attributes;
7540 * ScrollableControl.cs: Added missing attributes
7541 * PictureBox.cs: Added missing attributes; implemented missing property
7542 * DateTimePicker.cs: Added missing attributes
7543 * Theme.cs (ToolWindowCaptionHeight): Fixed type
7544 * MonthCalendar.cs: Fixed attributes
7545 * StatusBarPanel.cs: Added missing attributes
7546 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7548 2005-02-16 Peter Bartok <pbartok@novell.com>
7550 * TextBoxBase.cs: The previous method to enforce height yet remember
7551 the requested high was less than ideal, this is an attempt to do
7553 * Control.cs: Added comment about possible problem
7554 * Copyright: Updated format
7555 * GridItemType.cs: Fixed swapped values
7557 2005-02-15 Jackson Harper <jackson@ximian.com>
7559 * BaseCollection.cs: Use property so we never access an
7560 uninitialized list. Also initialize the list in the property.
7562 2005-02-15 Peter Bartok <pbartok@novell.com>
7564 * GroupBox.cs (ProcessMnemonic): Implemented
7565 * Label.cs (ProcessMnemonic): Implemented
7566 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7569 2005-02-15 Peter Bartok <pbartok@novell.com>
7571 * RadioButton.cs (ProcessMnemonic): Implemented
7572 * CheckBox.cs (ProcessMnemonic): Implemented
7574 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7576 - Added internal method to allow calling ProcessMnemonic from other
7578 * ContainerControl.cs:
7579 - Started support for handling validation chain handling
7580 - Implemented ProcessMnemonic support
7581 - Added Select() call to Active, to make sure the active control
7583 * Form.cs: Setting toplevel flag for Forms (this was lost in the
7585 * ThemeWin32Classic.cs:
7586 - DrawCheckBox(): Fixed stringformat to show hotkeys
7587 - DrawRadioButton(): Fixed stringformat to show hotkeys
7588 * CommonDialog.cs: Removed WndProc override, not needed
7590 2005-02-14 Peter Bartok <pbartok@novell.com>
7592 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7593 missed those in the rewrite
7595 2005-02-14 Miguel de Icaza <miguel@novell.com>
7597 * NumericUpDown.cs (Increment, ToString): Add.
7598 (DecimalPlaces): implement.
7602 * UpDownBase.cs: Add the designer attributes.
7604 2005-02-13 Peter Bartok <pbartok@novell.com>
7606 * Panel.cs: Removed border_style, now in Control
7607 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7608 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7610 2005-02-13 Peter Bartok <pbartok@novell.com>
7612 * MouseButtons.cs: Added missing attributes
7613 * XplatUIStructs.cs: Added enumeration for title styles
7614 * LeftRightAlignment.cs: Added missing attributes
7615 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7616 it compatible with Graphics.FromHwnd()
7617 * SelectedGridItemChangedEventArgs.cs: Fixed property type
7618 * Keys.cs: Added missing attributes
7619 * SelectionRange.cs: Added missing attributes
7620 * SelectionRangeConverter.cs: Added
7622 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7623 ReleaseMenuDC methods
7624 - Renamed ReleaseWindow to UngrabWindow
7625 - Added proper startup notice to allow version identification
7627 - Added missing attributes
7628 - Removed FormParent concept
7629 * Label.cs: Removed border_style field, now in Control
7630 * RadioButton.cs: Now properly selects RadioButton when focus is
7632 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7634 - Added missing attributes
7635 - Added borderstyle handling
7636 - Removed FormParent concept support
7637 - Fixed calls to XplatUI to match changed APIs
7638 - Fixed bug that would case us to use disposed Graphics objects
7639 - Removed unneeded internal methods
7640 - PerformLayout(): Fixed to handle DockStyle.Fill properly
7641 - SelectNextControl(): Fixed to properly check common parents
7642 * TextBoxBase.cs: Removed border_style field (now in Control)
7644 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7645 fixed calculations for form size
7646 - Added support for localized strings and icons
7647 - Improved form size calculations, added border
7648 * ListView.cs: Removed border_style field (now in Control)
7649 * X11Structs.cs: Moved several structs from X11 driver here
7650 * X11Keyboard.cs: Changed debug message
7651 * Application.cs: Removed FormParent concept support
7653 - Resetting end_modal flag
7654 - Removed FormParent concept support
7655 * NativeWindow.cs: Removed FormParent concept support
7656 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7657 Client area and Non-Client whole window to allow support for WM_NC
7659 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7660 prevent using it until it supports Hwnd as per Geoff Norton's request
7661 * ToolBar.cs: Fixed drawing, was not doing proper drawing
7662 * PictureBox.cs: Removed border_style field, now in Control
7663 * XplatUIWin32.cs: Added new driver methods
7665 2005-02-12 Peter Bartok <pbartok@novell.com>
7667 * OpacityConverter.cs: Implemented
7668 * Hwnd.cs: Internal class to support drivers that need to emulate
7669 client area/non-client area window behaviour
7671 2005-02-11 Peter Bartok <pbartok@novell.com>
7673 * KeysConverter.cs: Implemented
7675 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
7677 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7678 * LinkLabel: Added missing attributes
7679 * MainMenu.cs: fixes ToString
7680 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7681 * ListBox.cs: fixes event position
7682 * TrackBar.cs: adds missing attributes and events
7684 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
7686 * MenuItem.cs: Use SystemInformation and bug fixes
7687 * MenuAPI.cs: Use SystemInformation and bug fixes
7689 2005-02-09 Jackson Harper <jackson@ximian.com>
7691 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7692 their keystate otherwise things like VK_MENU get stuck "on".
7694 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
7696 * ListBox.cs: Fixes AddRange bug
7698 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
7701 - Add missing attributes
7702 - Add missing method
7704 * CheckedListBox.cs: Added missing attributes
7705 - Add missing attributes
7706 - Remove extra method
7708 * ComboBox.cs: Added missing attributes
7709 * VScrollBar.cs: Added missing attributes
7710 * ScrollBar.cs: Added missing attributes
7711 * ListBox.cs: Fixes signature, add missing consts
7712 * LinkArea.cs: Added missing attributes
7715 2005-02-08 Peter Bartok <pbartok@novell.com>
7717 * Menu.cs: Added missing attributes
7718 * MainMenu.cs: Added missing attributes
7719 * GroupBox.cs: Added missing attributes
7720 * Label.cs: Added missing attributes
7721 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7723 - Added Instance and Options properties
7724 - Added missing attributes
7725 * Cursor.cs: Made Serializable
7726 * NotifyIcon: Added missing attributes
7727 * MenuItem.cs: Added missing attributes
7728 * TextBoxBase.cs: Implemented AppendText() and Select() methods
7729 * Panel.cs: Added Missing attributes
7730 * MonthCalendar.cs: Fixed CreateParams
7732 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7736 - Fixes issues with links
7737 - Adds the class attributes
7739 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7742 - Fixes button when no items available in dropdown
7743 - Fixes repainting problems
7744 - Adds the class attributes
7746 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7748 * XplatUIOSX.cs: Detect the menu bar and title bar height from
7749 the current theme. Cache these on startup.
7751 2005-02-07 Jackson Harper <jackson@ximian.com>
7753 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7754 the scrollbar buttons when they are depressed.
7756 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7758 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7759 Get the display size from the main displayid. We currently dont
7760 support multiple display configurations.
7762 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7764 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7766 2005-02-07 Miguel de Icaza <miguel@novell.com>
7768 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7770 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
7772 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7774 2005-02-04 Jackson Harper <jackson@ximian.com>
7776 * ThemeWin32Classic.cs: Respect the clipping rect when
7777 drawing. Only fill the intersection of clips and rects so there
7778 isn't a lot of large fills.
7779 * ScrollBar.cs: Pass the correct clipping rect to the theme
7780 engine. Remove some debug code.
7782 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
7784 * DateTimePicker.cs:
7785 - Fixed crash on DateTime.Parse, use Constructor instead
7787 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7791 - Owner draw support (MeasureItem and DrawItem)
7793 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7796 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7797 - Fixes MenuItems.Add range
7799 - MergeMenu and Clone and CloneMenu functions
7801 2005-02-03 Jackson Harper <jackson@ximian.com>
7803 * ScrollBar.cs: Make abstract
7804 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7807 2005-02-03 Jackson Harper <jackson@ximian.com>
7809 * ScrollBar.cs: First part of my scrollbar fixups. This removes
7810 all the unneeded refreshes and uses invalidates with properly
7813 2005-02-03 Peter Bartok <pbartok@novell.com>
7815 * ComponentModel.cs: Added
7816 * IDataGridEditingService.cs: Added
7817 * Timer.cs: Added missing attributes
7818 * ToolTip.cs: Added missing attributes
7820 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
7822 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7824 2005-02-03 Peter Bartok <pbartok@novell.com>
7826 * ListBox.cs: Added missing attributes
7828 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
7831 - Fixes font height after font change
7832 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7834 2005-02-02 Peter Bartok <pbartok@novell.com>
7836 * HandleData.cs: Introduced static methods to allow class
7837 to be more self-contained and track it's own HandleData objects
7838 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7839 HandleData to use new static methods
7841 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
7844 - Fixes default size and PreferredHeight
7846 - ObjectCollection.Insert implementation
7852 - ObjectCollection.Insert implementation
7853 - No selection after clean
7856 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7858 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7860 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
7863 - Caches ItemHeight calculation for OwnerDrawVariable
7864 - Handles dropdown properly
7865 - Fixes several minor bugs
7867 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7870 - Fixes 71946 and 71950
7871 - Fixes changing Multicolumn on the fly
7872 - Fixes keyboard navigation on Multicolumn listboxes
7874 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7876 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7879 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7881 * XplatUIOSX.cs: Allow applications to actually exit.
7883 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7885 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
7886 their parent at creation time rather than lazily later. Fixes a major
7887 regression we were experiencing.
7889 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7891 * ThemeWin32Classic.cs: more date time picker painting fixes
7892 * DateTimePicker.cs: more monthcalendar drop down fixes
7893 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7895 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7898 - When moving the thumb going outside the control should stop the moving
7899 - Adds the firing of missing events
7900 - Fixes no button show if Size is not specified
7901 - End / Home keys for keyboard navigation
7903 2005-01-30 Peter Bartok <pbartok@novell.com>
7905 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7906 sanity check to prevent theoretical loop
7907 * XplatUIWin32.cs (SetVisible): Removed debug output
7908 * XplatUIX11.cs (SystrayChange): Added sanity check
7909 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7910 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7911 behaviour, valid until the X11 client window rewrite is done
7912 * TextBox.cs (ctor): Setting proper default foreground and background
7915 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
7917 * Theme: Added DrawDateTimePicker to interface
7918 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7919 * DateTimePicker.cs: Created (still needs keys and painting code)
7920 * DateTimePickerFormat.cs: added
7921 * MonthCalendar.cs: fixed CreateParams for popup window mode
7923 2005-01-29 Peter Bartok <pbartok@novell.com>
7925 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7926 this should also the calculations for ligher/darker
7927 * Theme.cs: Fixed defaults for ScrollBar widths/heights
7929 2005-01-29 Peter Bartok <pbartok@novell.com>
7931 * ArrangeDirection.cs: Added
7932 * ArrangeStartingPositon.cs: Added
7933 * SystemInformation.cs: Implemented
7934 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7935 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7936 used by SystemInformation class
7937 * X11Strucs.cs: Added XSizeHints structure
7939 - Fixed CreateParams to make sure the menu window is always visible
7940 - TrackPopupMenu: Added check to make sure we don't draw the
7943 2005-01-29 Peter Bartok <pbartok@novell.com>
7945 * HandleData.cs: Added method for altering invalid area
7946 * TextBoxBase.cs: Implemented TextLength
7948 2005-01-28 Peter Bartok <pbartok@novell.com>
7950 * XplatUIX11.cs: Improvement over last patch, not sending
7951 the WM_PAINT directly anymore, instead we scroll any pending
7952 exposed areas and let the system pick out the WM_PAINT later
7954 2005-01-28 Peter Bartok <pbartok@novell.com>
7956 * SWF.csproj: Deleted, no longer used. Instead,
7957 Managed.Windows.Forms/SWF.csproj should be used
7958 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7959 directly, to avoid a potential race condition with the next
7962 2005-01-28 Peter Bartok <pbartok@novell.com>
7964 * XplatUI.cs: Made class internal
7966 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
7968 * CheckedListBox.cs:
7971 - Missing methods and events
7973 2005-01-27 Peter Bartok <pbartok@novell.com>
7975 * Application.cs (Run): Don't use form if we don't have one
7977 2005-01-27 Peter Bartok <pbartok@novell.com>
7979 * TextBoxBase.cs (get_Lines): Fixed index off by one error
7981 2005-01-27 Peter Bartok <pbartok@novell.com>
7983 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7984 * GridItem.cs: Added; Patch by Jonathan S. Chambers
7985 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7986 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7987 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7988 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7989 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7990 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7991 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7992 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7993 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7994 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7996 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7999 - Draw focus on Simple Combobox
8000 - Fixes drawing issues
8003 2005-01-27 Peter Bartok <pbartok@novell.com>
8006 - Place window in default location, instead of hardcoded 0/0
8007 - Send initial LocationChanged event
8009 - UpdateBounds after creation to find out where the WM placed us
8010 - Make sure that if the ParentForm changes location the Form
8012 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8013 to the root, but to whatever the WM placed around us.
8014 Translate to root coordinates before returning toplevel
8016 * XplatUIWin32.cs: Removed debug output
8017 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8018 flag to GetWindowPos, to allow translation of coordinates on X11
8020 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8022 * ListBox.cs: connect LostFocus Event
8024 2005-01-27 Peter Bartok <pbartok@novell.com>
8026 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8027 XplatUIX11.cs: Extended the Systray API
8028 * Form.cs: Removed debug output
8029 * Application.cs: Fixed focus assignment, always need to call
8030 XplatUI.Activate() since Form.Activate() has rules that may
8032 * NotifyIcon.cs: Should be complete now
8033 * ToolTip.cs: Worked around possible timer bug
8035 2005-01-27 Jackson Harper <jackson@ximian.com>
8038 - Only invalidate the effected tabs when the
8039 selected index changes. This reduces drawing and gets rid of some
8041 - Only refresh if the tabs need to be shifted, otherwise only
8042 invalidate the slider button.
8043 - On windows the tabs are not filled to right if the slider is
8046 2005-01-27 Jackson Harper <jackson@ximian.com>
8048 * TabControl.cs: Only refresh on mouseup if we are showing the
8049 slider. Also only invalidate the button whose state has changed.
8051 2005-01-26 Peter Bartok <pbartok@novell.com>
8053 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8054 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8055 and SystrayRemove() methods
8056 * XplatUIOSX.cs: Stubbed Systray methods
8058 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8060 - Fixed broken XChangeProperty calls (marshalling messed up things)
8061 * X11Structs.cs: Added enums and structs required for Size hinting
8062 * NotifyIcon.cs: Added & implemented
8064 2005-01-26 Jackson Harper <jackson@ximian.com>
8066 * TabControl.cs: Space vertically layed out tabs properly.
8068 2005-01-26 Peter Bartok <pbartok@novell.com>
8070 * Form.cs (CreateClientParams): Always set the location to 0,0
8071 since we're a child window.
8073 * Control.cs (SetVisibleCore): Always explicitly setting the location
8074 of a toplevel window, apparently X11 doesn't like to move windows
8075 while they're not mapped.
8077 2005-01-26 Jackson Harper <jackson@ximian.com>
8079 * TabControl.cs: Implement FillToRight size mode with vertically
8082 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8084 * ControlPaint.cs, ThemeWin32Classic.cs
8085 - Fixes DrawFocusRectangle
8087 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8090 - MenuBar tracking only starts when item is first clicked
8091 - Fixes menu hidding for multiple subitems
8092 - Unselect item in MenuBar when item Executed
8095 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8098 - IsInputKey for ListBox
8101 - Shift and Control item selection
8102 - Implement SelectionMode.MultiExtended
8105 - IsInputKey implemented
8106 - Do not generate OnTextChangedEdit on internal txt changes
8108 2005-01-23 Peter Bartok <pbartok@novell.com>
8110 * AccessibleObject.cs: Partially implemented Select()
8111 * MonthCalendar.cs: Added missing attributes and events
8112 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8113 form can properly override CreateParams.
8114 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8115 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8116 Control performs Invalidate & Update
8117 * NativeWindow (CreateHandle): Added special handling for Form
8118 and Form.FormParent classes to allow overriding of From.CreateParams
8120 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8122 - ControlNativeWindow: Added Owner property
8123 - Removed usage of Refresh() on property changes, changed into
8124 Invalidate(), we need to wait until the queue is processed for
8125 updates, direct calls might cause problems if not all vars for
8126 Paint are initialized
8127 - Added call to UpdateStyles() when creating the window, to set any
8128 styles that CreateWindow might have ignored.
8129 - Added support for Form CreateParent overrides to UpdateStyles()
8130 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8131 CreateParams are now properly overridable
8132 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8133 CreateParams are now properly overridable
8135 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8137 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8140 Capture LostFocus and OnTextBoxChanged. The later introduces a
8141 recursive invocation that I have not figured out yet.
8143 Reset the timer when not using (it was accumulating).
8146 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8147 user has made changes that require validation.
8149 Reset changing to avoid loops.
8151 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8153 * NumericUpDown.cs: Display value at startup.
8155 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8158 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8159 filled in. Added some basic parsing of text.
8161 Still missing the OnXXX method overrides, and figuring out the
8162 events that must be emitted.
8164 * UpDownBase.cs: Handle UserEdit on the Text property.
8166 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8169 - Fixes IntegralHeight
8172 2005-01-21 Jackson Harper <jackson@ximian.com>
8174 * TabControl.cs: Set the SelectedIndex property when SelectedTab
8175 is set so that the page visibility is updated and the tabs are
8178 2005-01-21 Jackson Harper <jackson@ximian.com>
8180 * TabControl.cs: Use cliping rectangle for blitting. Give the
8181 theme the clipping rect so we can do clipping while
8182 drawing. Remove some debug code.
8184 2005-01-21 Jackson Harper <jackson@ximian.com>
8186 * TabPage.cs: Add a new method so tab pages can force the tab
8187 control to recalculate the tab page sizes.
8188 * TabControl.cs: UpdateOwner needs to make the tab control recalc
8191 2005-01-20 Jackson Harper <jackson@ximian.com>
8193 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8195 2005-01-20 Jackson Harper <jackson@ximian.com>
8197 * TreeView.cs: Set the bounds for nodes properly. They were
8198 getting screwed up when checkboxes were not enabled, but images
8201 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
8204 - Owner draw support
8207 2005-01-20 Jackson Harper <jackson@ximian.com>
8209 * XplatUIStructs.cs: More misc keys
8210 * X11Keyboard.cs: Ignore some control keys.
8212 2005-01-20 Jackson Harper <jackson@ximian.com>
8214 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8215 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8217 2005-01-19 Peter Bartok <pbartok@novell.com>
8219 * Control.cs: Un-selecting the control when it is loosing focus
8221 2005-01-19 Jackson Harper <jackson@ximian.com>
8223 * TreeView.cs: Hook up to the text controls leave event so we can
8224 end editing when the users clicks outside the text box.
8226 2005-01-19 Jackson Harper <jackson@ximian.com>
8228 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8229 get set in the conversion array.
8231 2005-01-19 Peter Bartok <pbartok@novell.com>
8233 * Application.cs (ModalRun): Added a call to CreateControl to ensure
8234 focus is properly set
8236 - Added missing attributes
8237 - removed styles, those are already set in the base class
8239 - Added missing attributes
8240 - Added clip window styles
8241 * CheckBox.cs: Added missing attributes
8243 - FormParentWindow.CreateParams: Added required clip styles
8244 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8245 also filters modifier keys
8247 - Added assignment of Accept and Cancel button to enable Enter
8248 and Esc keys in MessageBox dialogs
8249 - FormParentWindow.CreateParams: Added required clip styles
8250 * RadioButton.cs: Added missing attributes
8251 * TextControl.cs: No longer draws selection if control does not
8254 - Now draws simple rectangle around test area to make it obvious
8255 there's a control. This is a hack until we properly support borders
8256 - A few simple fixes to support selections better, now erases selected
8257 text when typing, and resets selection when using movement keys
8259 2005-01-19 Miguel de Icaza <miguel@ximian.com>
8261 * UpDownBase.cs: Added some new properties.
8263 * DomainUpDown.cs: Implement a lot to get my test working.
8265 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8267 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8269 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8271 * OSXStructs (WindowAttributes): Fixed csc complaints
8273 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8276 OSXStructs.cs: Initial refactor to move enums and consts into
8277 OSXStructs and use them in the driver for greater readability.
8279 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8281 * XplatUIOSX.cs: Initial support for Standard Cursors.
8282 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8284 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
8286 * ComboBox.cs: ability to change style when the ctrl is already
8287 created, missing methods and events, bug fixes, signature fixes
8289 2005-01-19 Peter Bartok <pbartok@novell.com>
8291 * Cursors.cs (ctor): Added ctor to fix signature
8293 2005-01-18 Peter Bartok <pbartok@novell.com>
8295 * Button.cs: Implemented DoubleClick event
8297 - Fixed keyboard handling to behave like MS, where the press of
8298 Spacebar is equivalent to a mousedown, and the key release is
8299 equivalent to mouseup. Now a spacebar push will give the same
8300 visual feedback like a mouse click.
8301 - Added missing attributes
8302 - Added ImeModeChanged event
8303 - Added support for generating DoubleClick event for derived classes
8305 - Implemented DoubleClick event
8306 - Added missing attributes
8307 * CommonDialog.cs: Added missing attribute
8308 * ContextMenu.cs: Added missing attributes
8310 - AutoChecked buttons do not allow to be unselected when clicked
8311 (otherwise we might end up with no selected buttons in a group)
8312 - Added missing attributes
8313 - Implemented DoubleClickEvent
8314 * ThreadExceptionDialog.cs: Enabled TextBox code
8316 2005-01-18 Peter Bartok <pbartok@novell.com>
8318 * Form.cs: Removed debug output
8319 * Button.cs: Added support for DoubleClick method
8321 2005-01-18 Peter Bartok <pbartok@novell.com>
8324 - Added method to parent window that allows triggering size
8325 calculations when a menu is added/removed
8326 - set_Menu: Cleaned up mess from early days of Form and Control,
8327 now properly triggers a recalc when a menu is added/removed
8328 - Added case to select form itself as focused form if no child
8330 - Added PerformLayout call when showing dialog, to ensure properly
8333 - Select(): Made internal so Form can access it
8334 - Focus(): Only call Xplat layer if required (avoids loop), and sets
8336 * Application.cs (Run): Removed hack and calls PerformLayout instead
8337 to trigger calculation when Form becomes visible
8339 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
8341 * ComboBox.cs: fixes for ownerdraw
8343 2005-01-18 Peter Bartok <pbartok@novell.com>
8346 - Sentinel is no longer static, each Document gets it's own, this
8347 avoids locking or alternatively overwrite problems when more
8348 than one text control is used simultaneously.
8349 - Switched to use Hilight and HilightText brushes for text selection
8351 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8353 2005-01-18 Peter Bartok <pbartok@novell.com>
8356 - Hooked up the following events:
8364 o SystemColorsChanged
8367 - Removed debug output
8368 - Added a call to the current theme's ResetDefaults when a color change
8370 * Form.cs: Now setting the proper ImeMode
8371 * Theme.cs: Defined a method to force recreation of cached resources
8372 and rereading of system defaults (ResetDefaults())
8373 * ThemeWin32Classic.cs: Added ResetDefaults() stub
8375 2005-01-17 Peter Bartok <pbartok@novell.com>
8377 * Control.cs: Added missing attributes
8379 2005-01-17 Jackson Harper <jackson@ximian.com>
8381 * TreeNode.cs: Implement editing. Add missing properties selected
8383 * TreeView.cs: Implement node editing. Also some fixes to use
8384 Invalidate (invalid area) instead of Refresh when selecting.
8386 2005-01-17 Peter Bartok <pbartok@novell.com>
8389 - Implemented InvokeGotFocus() method
8390 - Implemented InvokeLostFocus() method
8391 - Implemented InvokePaint() method
8392 - Implemented InvokePaintBackground() method
8393 - Implemented InvokeClick() method
8394 - Implemented FindForm() method
8395 - Implemented RectangleToClient() method
8396 - Implemented ClientToRectangle() method
8397 - Implemented ResetBackColor() method
8398 - Implemented ResetCursor() method
8399 - Implemented ResetFont() method
8400 - Implemented ResteForeColor() method
8401 - Implemented ResetImeMode() method
8402 - Implemented ResetLeftToRight() method
8403 - Implemented ResetText() method
8404 - Implemented Scale() methods
8405 - Implemented ScaleCore() method
8406 - Implemented Update() method
8407 - Removed unused variables
8408 - Stubbed AccessibilityNotifyClients and
8409 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8411 - Now setting proper default for RightToLeft property
8412 - Fixed bug in SetClientSizeCore that would cause windows to get
8414 - Now sending Click/DoubleClick events
8415 - Now selecting controls when left mouse button is clicked on
8417 * AccessibleEvents.cs: Added
8418 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8419 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8420 * XplatUIWin32.cs: Implemented UpdateWindow() method
8421 * XplatUIX11.cs: Implemented UpdateWindow() method
8422 * Form.cs: Removed stray semicolon causing CS0162 warning
8423 * ThemeWin32Classic.cs: Fixed unused variable warnings
8424 * ScrollableControl.cs: Now calls base method for ScaleCore
8425 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8426 style to avoid interference with internal click handler (which is
8427 different than standard Control click handling)
8429 - Now unchecks all sibling radio buttons when control is
8430 selected (Fixes #68756)
8431 - Removed internal tabstop variable, using the one inherited from
8434 2005-01-17 Jackson Harper <jackson@ximian.com>
8436 * NavigateEventArgs.cs: Fix base type.
8437 * LinkLabel.cs: Sig fix
8439 2005-01-17 Jackson Harper <jackson@ximian.com>
8441 * TreeView.cs: Only invalidate the effected nodes bounds when
8444 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8446 * XplatUIWin32.cs: fixes Win32 marshaling
8447 * XplatUIX11.cs: fixes method signature
8449 2005-01-17 Peter Bartok <pbartok@novell.com>
8451 * XplatUIX11.cs: Clean up resources when we no longer need them
8453 2005-01-17 Peter Bartok <pbartok@novell.com>
8455 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8456 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8457 and DestroyCursor() methods.
8458 * Cursor.cs: Partially implemented, now supports standard cursors;
8459 still contains some debug code
8460 * Cursors.cs: Implemented class
8462 - WndProc(): Added handling of WM_SETCURSOR message, setting the
8464 - Implemented Cursor property
8465 - Replaced break; with return; more straightforwar and possibly
8467 - Now properly setting the result for WM_HELP
8468 * X11Structs.cs: Added CursorFontShape enum
8469 * XplatUIStructs.cs:
8470 - Added StdCursor enum (to support DefineStdCursor() method)
8471 - Added HitTest enum (to support sending WM_SETCURSOR message)
8473 - Now sends the WM_SETCURSOR message
8474 - Implemented new cursor methods
8475 * XplatUIOSX.cs: Stubbed new cursor methods
8477 - Implemented new cursor methods
8478 - Added GetSystemMetrics function and associated enumeration
8480 2005-01-15 Peter Bartok <pbartok@novell.com>
8483 - WndProc(): Now handles EnableNotifyMessage
8484 - SelectNextControl(): Fixed bug where if no child or sibling
8485 controls exist we looped endlessly
8487 2005-01-14 Jackson Harper <jackson@ximian.com>
8489 * TreeView.cs: Recalculate the tab pages when a new one is added
8490 so that the proper bounding rects are created.
8492 2005-01-14 Jackson Harper <jackson@ximian.com>
8494 * TreeView.cs: Draw a gray box instead of a grip in the lower
8495 right hand corner when there are both horizontal and vertical
8498 2005-01-14 Jackson Harper <jackson@ximian.com>
8500 * Control.cs: When erasing backgrounds use FromHwnd instead of
8501 FromHdc when there is a NULL wparam. This occurs on the X driver.
8502 * XplatUIX11.cs: Set the wparam to NULL.
8504 2005-01-13 Jackson Harper <jackson@ximian.com>
8506 * PictureBox.cs: Implement missing methods (except ToString, need
8507 to test that on windows) and events. When visibility is changed we
8508 need to redraw the image because the buffers are killed. When size
8509 is changed refresh if the sizemode needs it.
8511 2005-01-13 Peter Bartok <pbartok@novell.com>
8513 * Control.cs (SelectNextControl): Was using wrong method to select
8516 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8518 * ComboBox.cs: fixes dropstyle
8520 2005-01-13 Peter Bartok <pbartok@novell.com>
8523 - Implemented Select() override
8524 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8525 - Now sets keyboard focus on startup
8526 * Control.cs (SelectNextControl): Now properly handles directed=true
8528 - WndProc: Now passes tab key on to base if AcceptTabChar=false
8529 - Added (really bad) focus rectangle (mostly for testing)
8530 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8531 to enforce redraw on focus changes
8532 * ContainerControl.cs:
8533 - Fixed detection of Shift-Tab key presses
8534 - Fixed traversal with arrow keys
8535 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8536 gonna keep this or if it's complete yet
8538 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8540 * ComboBox.cs: missing properties, fixes
8542 2005-01-13 Peter Bartok <pbartok@novell.com>
8544 * Panel.cs (ctor): Setting Selectable window style to off
8545 * Splitter.cs (ctor): Setting Selectable window style to off
8546 * GroupBox.cs (ctor): Setting Selectable window style to off
8547 * Label.cs (ctor): Setting Selectable window style to off
8549 2005-01-12 Miguel de Icaza <miguel@ximian.com>
8551 * UpDownBase.cs (InitTimer): If the timer has been already
8554 Use a TextBox instead of a Label.
8556 2005-01-12 Jackson Harper <jackson@ximian.com>
8558 * TreeView.cs: Refresh the tree after sorting the nodes. Always
8559 draw the connecting node lines (when ShowLines is true).
8560 * TreeNode.cs: The nodes index can now be updated. This is used
8561 when a node collection is sorted.
8562 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8563 insert or an existing unsorted node collection can be sorted.
8565 2005-01-12 Peter Bartok <pbartok@novell.com>
8567 * ContainerControl.cs: Implemented ProcessDialogKeys()
8569 2005-01-12 Peter Bartok <pbartok@novell.com>
8572 - Implemented SelectNextControl() method
8573 - Several focus related bug fixes
8574 - Fixed Docking calculations to match MS documentation and
8577 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
8579 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8582 2005-01-12 Peter Bartok <pbartok@novell.com>
8585 - Fixed broken Contains() method
8586 - Implemented GetNextControl() method. Finally. This is the pre-
8587 requisite for focus handling.
8589 2005-01-12 Peter Bartok <pbartok@novell.com>
8591 * OSXStrucs.cs: Added
8593 2005-01-12 Peter Bartok <pbartok@novell.com>
8596 - Removed PeekMessageFlags
8597 - Implemented SetWindowStyle() method
8598 * XplatUIStructs.cs: Added PeekMessageFlags
8599 * X11Structs: Added missing border_width field to XWindowChanges struct
8601 - PeekMessage: Now throws exception if flags which are not yet
8602 supported are passed
8603 - Implemented SetWindowStyle() method
8604 - Fixed SetZOrder to handle AfterHwnd properly
8605 * XplatUI.cs: Added SetWindowStyle() method
8606 * XplatUIDriver.cs: Added SetWindowStyle() abstract
8608 - Implemented UpdateStyles() method
8609 - Implemented UpdateZOrder() method
8610 * XplatUIOSX.cs: Added SetWindowStyle() stub
8612 2005-01-12 Geoff Norton <gnorton@customerdna.com>
8614 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8618 2005-01-11 Jackson Harper <jackson@ximian.com>
8620 * TreeView.cs: Still need to draw lines to siblings even if out of
8621 the current node is out of the clip.
8623 2005-01-11 Jackson Harper <jackson@ximian.com>
8625 * TreeView.cs: When setting the hbar/vbar/grip position use
8626 SetBounds so that perform layout is only called once. Also suspend
8627 and resume layout so layout is only done once for all controls.
8628 - Removed some debug fluff
8629 * SizeGrip.cs: Call base implmentation in overriding methods.
8630 - When visibility is changed the drawing buffers are killed so we
8633 2005-01-11 Jackson Harper <jackson@ximian.com>
8635 * TreeView.cs: Calculate the open node count while drawing. This
8636 saves us an entire tree traversal for every paint operation. Use
8637 a member var for the open node count so less vars are passed around.
8639 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
8642 - fixed selection to use mousemove, not mouse polling on timer
8643 * ThemeWin32Classic.cs
8644 - removed redundant unused variable "no_more_content"
8646 2005-01-11 Peter Bartok <pbartok@novell.com>
8648 * XplatUIX11.cs (DoEvents): Needs to return when no more events
8649 are pending, so it now calls PeekMessage instead of GetMessage;
8650 implemented a incomplete version of PeekMessage
8652 2005-01-11 Peter Bartok <pbartok@novell.com>
8654 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8656 * TextBoxBase.cs: Added sending of TextChanged event
8658 2005-01-10 Jackson Harper <jackson@ximian.com>
8660 * TreeView.cs: Try not to draw outside the clipping rectangle on
8663 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
8665 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8667 2005-01-10 Jackson Harper <jackson@ximian.com>
8670 - Implement fast scrolling. Now only the newly
8671 exposed nodes are drawn and the old image is moved using the
8672 XplatUI::ScrollWindow method.
8673 - Factor in height of nodes when calculating whether or not the
8674 node is in the clipping rect.
8676 2005-01-10 Jackson Harper <jackson@ximian.com>
8678 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8680 2005-01-10 Peter Bartok <pbartok@novell.com>
8682 * Application.cs: Added temporary hack to resolve all our resize
8683 required issues on startup. This will get fixed properly at
8684 some point in the future
8686 2005-01-10 Jackson Harper <jackson@ximian.com>
8688 * SizeGrip.cs: New internal class that is used as a sizing
8689 grip control...hence the name.
8691 2005-01-10 Peter Bartok <pbartok@novell.com>
8693 * Control.cs: Implemented proper TabIndex handling, now assigning
8694 a tabindex when a control is added to a container
8695 * GroupBox.cs (ctor): Now sets the Container style bit, required
8696 for Control.GetNextControl()
8698 2005-01-09 Jackson Harper <jackson@ximian.com>
8700 * TextBoxBase.cs: Clear window when scrolling (fixes build).
8702 2005-01-09 Peter Bartok <pbartok@novell.com>
8704 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8705 XplatUIX11.cs: Added ability to control ScrollWindow expose and
8706 an overload for ScrollWindow to allow only scrolling a rectangle
8708 2005-01-09 Peter Bartok <pbartok@novell.com>
8711 - Implemented SetDesktopBounds method
8712 - Implemented SetDesktopLocation method
8714 2005-01-08 Jackson Harper <jackson@ximian.com>
8716 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8717 the node count has changed, this removes to VScroll::Refresh calls
8720 2005-01-08 Geoff Norton <gnorton@customerdna.com>
8722 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8724 2005-01-07 Jackson Harper <jackson@ximian.com>
8726 * TreeNode.cs: Just update the single node when it is
8727 checked. Don't refresh after toggling, the Expand/Collapse already
8729 * TreeView.cs: Respect clipping a little more when drawing. Try
8730 not to redraw things that don't need to be redrawn. Just hide the
8731 scrollbars when they are no longer needed instead of removing
8732 them, so they don't have to be created again and again.
8734 2005-01-07 Geoff Norton <gnorton@customerdna.com>
8736 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
8737 coordinates to window space to place the caret properly, FIXED.
8738 Implement GetWindowState & SetWindowState
8740 2005-01-06 Peter Bartok <pbartok@novell.com>
8743 - Implemented ClientSize property
8744 - Implemented DesktopBounds property
8745 - Implemented DesktopLocation property
8746 - Implemented IsRestrictedWindow property
8747 - Implemented Size property
8748 - Implemented TopLevel property
8749 - Implemented FormWindowState property
8751 - Implemented GetTopLevel() method
8752 - Implemented SetTopLevel() method
8753 * X11Structs.cs (Atom):
8754 - Added AnyPropertyType definition
8755 - Added MapState definiton and updated XWindowAttribute struct
8756 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8757 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8758 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8760 - Implemented GetWindowState() and SetWindowState() methods
8761 - Fixed Win32GetWindowLong return type
8763 - Introduced central function for sending NET_WM messages
8764 - Implemented GetWindowState() and SetWindowState() methods
8765 * TextBoxBase.cs (set_Lines):
8766 - Now uses Foreground color for text added via Text property (Duh!)
8767 - Added code to remember programmatically requested size (fixes
8768 behaviour when Multiline is set after Size)
8769 - Added AutoSize logic
8771 2005-01-06 Jackson Harper <jackson@ximian.com>
8773 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8775 2005-01-06 Jackson Harper <jackson@ximian.com>
8777 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8780 2005-01-06 Jackson Harper <jackson@ximian.com>
8782 * ScrollableControl.cs: Lazy init the scrollbars.
8784 2005-01-06 Jackson Harper <jackson@ximian.com>
8786 * Theme.cs: Speed up getting pens and solid brushes, by using
8787 their ARGB as a hash instead of tostring and not calling Contains.
8789 2005-01-06 Peter Bartok <pbartok@novell.com>
8792 - Implemented OnActivated and OnDeactivate event trigger
8793 - Implemented Activate() method
8794 - Fixed ShowDialog() to activate the form that was active before
8795 the dialog was shown
8797 - Added global active_window var that tracks the currently active
8799 - Now always grabs Property changes from the root window to always
8800 catch changes on the active window property
8801 - Added code to PropertyNotify handler to send Active/Inactive
8802 messages when state changes. This puts X11 and Win32 en par on
8803 WM_ACTIVATE notifications (except for double notifications when
8804 the user clicks away from our modal window to another one of our
8807 2005-01-05 Jackson Harper <jackson@ximian.com>
8809 * ImageList.cs: Implment ctor
8811 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8813 * XplatUIOSX.cs: Implement Activate/SetTopmost
8815 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8817 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8819 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8821 * XplatUIOSX.cs: Implement GetActive/SetFocus.
8823 2005-01-05 Peter Bartok <pbartok@novell.com>
8825 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8826 XplatUIOSX.cs: Added GetActive method to return the currently
8827 active window for the application (or null, if none is active)
8829 - Implemented ActiveForm
8830 - Commented out owner assignment for modal dialogs (causes problems
8831 on Win32, since the owner will be disabled)
8832 - Reworked some Active/Focus handling (still incomplete)
8833 * CommonDialog.cs: Commented out owner assignment for modal dialogs
8834 (causes problems on Win32, since the owner will be disabled)
8835 * IWin32Window: Added ComVisible attribute
8837 2005-01-05 Peter Bartok <pbartok@novell.com>
8839 * ToolTip.cs (WndProc): Enable setting focus now that we have the
8840 required XplatUI functions.
8842 2005-01-05 Peter Bartok <pbartok@novell.com>
8844 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8845 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8846 to implement focus and activation handling; still incomplete and
8849 2005-01-04 Peter Bartok <pbartok@novell.com>
8851 * TextBoxBase.cs: Changed access level for Document property to
8852 match switch to internal for TextControl
8854 2005-01-04 Peter Bartok <pbartok@novell.com>
8856 * AccessibleObject: Added ComVisible attribute
8858 2005-01-04 Jackson Harper <jackson@ximian.com>
8860 * X11Keyboard.cs: Remove unneeded var.
8862 2005-01-04 Jackson Harper <jackson@ximian.com>
8864 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8866 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8867 ClientMessage. This makes apps exit cleanly (more often).
8869 2005-01-04 Jackson Harper <jackson@ximian.com>
8871 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8872 handling focus, return correct colors and fonts,
8873 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8874 handle selection, horizontal scrolling, and mouse interaction.
8876 2005-01-04 Peter Bartok <pbartok@novell.com>
8878 * ICommandExecutor.cs: Added
8879 * IDataGridColumnStyleEditingNotificationService.cs: Added
8880 * IFeatureSupport.cs: Added
8881 * IFileReaderService.cs: Added
8882 * IDataObject.cs: Added ComVisible attribute
8883 * AmbientProperties.cs: Added
8884 * BaseCollection.cs: Added missing attributes
8885 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8886 * BaseCollection.cs: Added missing attributes
8887 * Binding.cs: Added TypeConverter attribute
8888 * BindingContext.cs: Added DefaultEvent attribute
8889 * BindingsCollection.cs: Added DefaultEvent attribute
8890 * Button.cs: Added DefaultValue attribute
8891 * DragEventArgs.cs: Added ComVisible attribute
8892 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8893 * KeyEventArgs.cs: Added ComVisible attribute
8894 * KeyPressEventArgs.cs: Added ComVisible attribute
8895 * MouseEventArgs.cs: Added ComVisible attribute
8896 * NavigateEventArgs.cs: Added
8897 * NavigateEventHandler.cs: Added
8898 * FeatureSupport.cs: Added
8899 * OSFeature.cs: Added
8900 * Theme.cs: Added abstract Version property to support OSFeature
8901 * ThemeWin32Classic.cs: Added Version property to
8902 support OSFeature.Themes
8903 * ProgressBar.cs: Removed OnPaintBackground override, not required since
8904 the proper styles to avoid background drawing are set, also doesn't
8906 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8907 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8908 * ScrollEventArgs.cs: Added ComVisible attribute
8909 * SplitterEventArgs.cs: Added ComVisible attribute
8910 * AccessibleSelection.cs: Added Flags attribute
8911 * Appearance.cs: Added ComVisible attribute
8912 * Border3DSide.cs: Added ComVisible attribute
8913 * Border3DStyle.cs: Added ComVisible attribute
8914 * BorderStyle.cs: Added ComVisible attribute
8915 * DragAction.cs: Added ComVisible attribute
8916 * ErrorBlinkStyle.cs: Added
8917 * ScrollEventType.cs: Added ComVisible attribute
8918 * AnchorStyles.cs: Added Editor attribute
8919 * DockStyle.cs: Added Editor attribute
8920 * HorizontalAlignment.cs: Added ComVisible attribute
8921 * HelpEventArgs.cs: Added ComVisible attribute
8922 * PaintEventArgs.cs: Added IDisposable
8924 2005-01-04 Peter Bartok <pbartok@novell.com>
8926 * TextControl.cs: Switched Line, LineTag and Document classes to
8929 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8931 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8932 Simple mode, fixes, IntegralHeight, etc.
8934 2005-01-04 Peter Bartok <pbartok@novell.com>
8936 * TextBoxBase.cs: Using proper font variable now
8938 2005-01-04 Peter Bartok <pbartok@novell.com>
8940 * Form.cs (ShowDialog): Set parent to owner, if provided
8941 * GroupBox.cs: Removed unused vars
8943 - Added GetHashCode() for Document and LineTag classes
8944 - Removed unused variables
8945 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8946 to allow translation between continuous char position and line/pos
8947 * CheckBox.cs: Removed vars that are provided by base class
8948 * RadioButton.cs: Removed vars that are provided by base class, added
8949 new keyword where required
8950 * LinkLabel.cs: Added new keyword where required
8951 * Control.cs (WndProc): Removed unused variable
8953 - Finished SelectionLength property
8954 - Implemented SelectionStart property
8955 - Implemented Text property
8956 - Removed unused vars
8957 * MessageBox.cs: Added new keyword where required
8958 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8960 * MenuAPI.cs: Added new keyword where required
8961 * ButtonBase.cs: Removed vars that are provided by base class, added
8962 new keyword where required
8963 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8964 argument to double, to allow compiling with csc 2.0 (Atsushi ran
8966 * Application.cs (Run): Now triggers the ThreadExit event
8967 * CommonDialog.cs: Added new keyword where required; now properly sets
8968 parent (owner) for dialog
8969 * XplatUIX11.cs: Commented out unused vars
8970 * StatusBar.cs: Fixed signature for Text property
8971 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8973 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8975 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8976 TrackBar.cs, MonthCalendar.cs: remove unused vars
8978 2005-01-03 Jackson Harper <jackson@ximian.com>
8980 * ThemeWin32Classic.cs:
8981 * X11Keyboard.cs: Remove unused vars.
8983 2005-01-03 Peter Bartok <pbartok@novell.com>
8986 - set_Text: Tied into TextControl
8987 - set_TextAlignment: Tied into TextControl
8989 - Added alignment properties and implemented alignment handling
8990 and drawing (still has a bug, not generating proper expose events)
8991 - Added new Line() constructor to allow passing the line alignment
8992 - Fixed selection setting, properly handling end<start now
8993 - Added aligment considerations to RecalculateDocument()
8995 - Now properly enforces control height for single line controls
8996 - Added support for CharacterCasing
8997 - Added IsInputKey override
8998 - Fixed Keys.Enter logic
8999 - Added SetBoundsCore override
9000 - Fixed mouse selection handling
9002 2005-01-03 Jackson Harper <jackson@ximian.com>
9005 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9006 - Checkboxes are always aligned to the bottom of the node,
9007 regardless of item height.
9008 - Use the node bounds to draw the text so we can center it when
9009 the item height is greater then the font height.
9010 - Node::Bounds are only the text part of the node.
9011 * TreeNode.cs: New method to combine collapsing and unchecking all
9014 2005-01-02 Jackson Harper <jackson@ximian.com>
9016 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9017 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9018 tree when a check is changed. TODO: Only refresh the checked node.
9020 2004-12-30 Jackson Harper <jackson@ximian.com>
9022 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9023 * TreeNode.cs: When collapsing make sure to never collapse the
9026 2004-12-29 Jackson Harper <jackson@ximian.com>
9028 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9030 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
9032 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9034 2004-12-28 Peter Bartok <pbartok@novell.com>
9036 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9039 2004-12-28 Peter Bartok <pbartok@novell.com>
9041 * Control.cs (WndProc): Added WM_HELP handler, now generates
9043 * Form.cs: Added HelpButton property and required support code
9044 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9046 2004-12-28 Peter Bartok <pbartok@novell.com>
9049 - Made DialogForm.owner variable internal
9050 - Added check to ensure owner form is set before setting
9051 owner properties in CreateParams
9053 2004-12-28 Geoff Norton <gnorton@customerdna.com>
9055 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
9056 swizzling. Implement ClientToScreen and ScreenToClient. Implement
9057 GetCursorPos. Fix major visibility issues. Rework the windowing
9058 system to support borderless/titleless windows (implements menus).
9059 Fix GetWindowPos. Implement initial background color support for
9062 2004-12-28 Peter Bartok <pbartok@novell.com>
9064 * Form.cs (get_CreateParams): Make sure we have an owner before using
9065 the owner variable. Implement proper default if no owner exists
9067 2004-12-28 Peter Bartok <pbartok@novell.com>
9069 * In preparation for making Managed.Windows.Forms the default build target
9070 for System.Windows.Forms, the following stubbed files were added.
9071 Dialogs are currently being implemented by contributors and are only
9072 short-term place holders.
9073 * ColorDialog.cs: Initial check-in (minmal stub)
9074 * DataGrid.cs: Initial check-in (minimal stub)
9075 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9076 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9077 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9078 * FontDialog.cs: Initial check-in (minimal stub)
9079 * FileDialog.cs: Initial check-in (minimal stub)
9080 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9081 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9082 * OpenFileDialog: Initial check-in (minimal stub)
9083 * IComponentEditorPageSite.cs: Initial check-in
9084 * Splitter.cs: Initial check-in (for Jackson)
9085 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9086 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9087 * TextBox.cs: Initial check-in; still needs some wiring to
9089 * Form.cs: Implemented ControlBox property
9090 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9091 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9092 * TextControl.cs: Added selection functionality; added todo header
9094 - Implemented Lines property
9095 - Implemented TextHeight property
9096 - Implemented SelectedText property
9097 - Implemented SelectionLength property
9098 - Implemented SelectAll method
9099 - Implemented ToString method
9100 - Removed and cleaned up some debug code
9101 - Implemented (still buggy) mouse text selection
9103 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9105 * ComboBox.cs: Complete DropDownList implementation, fixes.
9107 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9109 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9110 * ComboBoxStyle.cs: ComboBoxStyle enum
9111 * ComboBox.cs: Initial work on ComboBox control
9113 2004-12-21 Peter Bartok <pbartok@novell.com>
9115 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9116 forward so that anything that creates a window gets the default,
9117 also no longer uses Visible property in CreateParams to avoid
9118 walking up the parent chain and possibly get the wrong visible
9119 status. Fixed IsVisible to no longer walk up to the parent.
9121 2004-12-21 Peter Bartok <pbartok@novell.com>
9123 * Form.cs (ShowDialog): Unset modality for the proper window
9125 2004-12-20 Peter Bartok <pbartok@novell.com>
9127 * CommonDialog.cs: Initial check-in
9129 2004-12-20 Peter Bartok <pbartok@novell.com>
9131 * Control.cs (Visible): Now uses the parent window instead of the
9132 client area window for the property
9135 - ShowDialog(): Now uses the proper window for modality
9136 - The default visibility state for the form parent is now false. This
9137 will prevent the user from seeing all the changes to the form and
9138 its controls before the application hits Application.Run()
9139 - Removed some stale commented out code
9142 - Added FindWindow() method to have a method to check for existence
9144 - Added ability to override default exception handling (for example
9145 when debugging with VS.Net; to do this the ExternalExceptionHandler
9147 - Removed some useless debug output
9150 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9151 not working as expected
9152 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9153 property to allow switching back to the modal window if focus is
9154 given to another one of our windows (Application Modal)
9155 - Now only sets override_redirect if we create a window
9157 - Moved EventMask selection before mapping of newly created window
9158 so we can catch the map event as well
9159 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9160 - Added various Atom related DllImports
9161 - Implemented Exit() method
9162 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9165 * MessageBox.cs: Now properly deals with the FormParent window by
9166 providing an override the FormParent CreateParams property to
9167 set as POPUP instead of OVERLAPPED window.
9169 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9171 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
9174 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9176 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9178 2004-12-18 Peter Bartok <pbartok@novell.com>
9180 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9181 implementing SetModal() method
9183 2004-12-18 Peter Bartok <pbartok@novell.com>
9185 * X11Structs.cs (XGCValues): Fixed type of function element
9186 * XplatUI.cs: Added ScrollWindow() method
9187 * XplatUIDriver.cs: Added ScrollWindow() abstract
9188 * XplatUIWin32.cs: Implemented ScrollWindow() method
9189 * XplatUIX11.cs: Implemented ScrollWindow() method
9190 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9192 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9194 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
9195 Some more keyboard support (INCOMPLETE)
9197 2004-12-17 Peter Bartok <pbartok@novell.com>
9200 - Added color attribute to line tags.
9201 - Added color argument to all functions dealing with tags
9202 - Added color argument support to various functions
9203 - Fixed miss-calculation of baseline/shift in certain circumstances
9205 * TextBoxBase.cs: Added new color option to test code
9207 2004-12-17 Jackson Harper <jackson@ximian.com>
9210 * MonthCalendar.cs: Signature fixes
9212 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9214 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9215 keyboard event moved it. Create a new graphics context for each paint resolves this
9217 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9219 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9220 Make caret exist and go blink blink. Initial keyboard support.
9221 Fix exception handler, Add Invalidate support. Change way RefreshWindow
9224 2004-12-17 Jackson Harper <jackson@ximian.com>
9226 * XplatUIStructs.cs: Updated set of virtual keycodes.
9227 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9229 2004-12-17 Jackson Harper <jackson@ximian.com>
9231 * XplatUIX11.cs: Prune old keyboard code.
9233 2004-12-17 Jackson Harper <jackson@ximian.com>
9235 * XplatUIX11.cs: When generating mouse wparams get the modifier
9236 keys from the ModifierKeys property.
9238 2004-12-17 Jackson Harper <jackson@ximian.com>
9240 * X11Keyboard.cs: Send up/down input when generating
9241 messages. Remove some unused vars.
9243 2004-12-17 Jackson Harper <jackson@ximian.com>
9246 * TreeView.cs: get rid of warnings.
9248 2004-12-17 Jackson Harper <jackson@ximian.com>
9250 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9252 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
9254 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9255 CheckedListBox.cs: Implementation
9257 2004-12-17 Peter Bartok <pbartok@novell.com>
9259 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9261 2004-12-16 Peter Bartok <pbartok@novell.com>
9264 - InsertCharAtCaret(): Fixed start pos fixup
9265 - CaretLine_get: No longer derives the line from the tag, the tag
9266 could be stale if lines in the document have been added or deleted
9267 - RebalanceAfterDelete(): Fixed bug in balancing code
9268 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9269 - Line.Streamline(): Now can also elminate leading empty tags
9270 - DumpTree(): Added a few more tests and prevented exception on
9272 - Added Debug section for Combining lines
9273 - Delete(): Now copies all remaining properties of a line
9276 - Left mousebutton now sets the caret (and middle button still acts
9277 as formatting tester, which must go away soon)
9278 - Added Debug section for Deleting/Combining lines
9279 - Fixed calculations for UpdateView after Combining lines
9281 2004-12-16 Peter Bartok <pbartok@novell.com>
9283 * TextControl.cs: Now properly aligns text on a baseline, using the
9284 new XplatUI.GetFontMetrics() method. Simplified several calculations
9285 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9288 2004-12-16 Peter Bartok <pbartok@novell.com>
9290 * XplatUI.cs: Added GetFontMetrics() method
9291 * XplatUIDriver.cs: Added GetFontMetrics() abstract
9292 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9293 into libgdiplus, our private GetFontMetrics function
9294 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9295 * XplatUIWin32.cs: Implemented GetFontMetrics() method
9297 2004-12-16 Jackson Harper <jackson@ximain.com>
9299 * XplatUIStruct.cs: Add enum for dead keys
9300 * X11Keyboard.cs: Map and unmap dead keys.
9302 2004-12-16 Jackson Harper <jackson@ximian.com>
9304 * X11Keyboard.cs: Detect and use the num lock mask.
9306 2004-12-16 Peter Bartok <pbartok@novell.com>
9308 * Control.cs (CreateGraphics): Added check to make sure the
9309 handle of the window exists before calling Graphics.FromHwnd()
9311 2004-12-16 Peter Bartok <pbartok@novell.com>
9313 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9314 contains a lot of code that's not supposed to be there for the
9315 real thing, but required for developing/testing the textbox
9318 2004-12-16 Peter Bartok <pbartok@novell.com>
9321 - Fixed Streamline method
9322 - Added FindTag method to Line
9323 - Added DumpTree method for debugging
9324 - Added DecrementLines() method for deleting lines
9325 - Fixed UpdateView to update the cursor to end-of-line on single-line
9327 - Added PositionCaret() method
9328 - Fixed MoveCaret(LineDown) to move into the last line, too
9329 - Added InsertChar overload
9330 - Fixed InsertChar tag offset calculations
9331 - Added DeleteChar() method
9332 - Added Combine() method for folding lines
9333 - Fixed Delete() method, no longer allocates wasted Line object and
9334 now copies all properties when swapping nodes
9335 - Delete() method now updates document line counter
9337 2004-12-15 Jackson Harper <jackson@ximian.com>
9339 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9340 * X11Keyboard.cs: Expose the currently selected modifier keys
9343 2004-12-15 Peter Bartok <pbartok@novell.com>
9345 * TextControl.cs: Initial check-in. Still incomplete
9347 2004-12-15 Jackson Harper <jackson@ximian.com>
9350 * TreeView.cs: Fix build on csc (second time today ;-))
9352 2004-12-15 Jackson Harper <jackson@ximian.com>
9354 * TreeView.cs: Store the treenodes plus/minus box bounds when it
9355 is calculated and use this for click testing.
9356 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9358 2004-12-15 Jackson Harper <jackson@ximian.com>
9360 * TreeView.cs: Pass the nodes image index to the image list when
9363 2004-12-15 Jackson Harper <jackson@ximian.com>
9365 * X11Keyboard.cs: Set messages hwnd.
9366 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9369 2004-12-15 Jackson Harper <jackson@ximian.com>
9371 * X11Keyboard.cs: Fix to compile with csc.
9373 2004-12-15 Jackson Harper <jackson@ximian.com>
9375 * X11Structs.cs: Add key mask values
9376 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9377 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9378 down/up foo into WM_CHAR foo
9379 * KeyboardLayouts.cs: Common keyboard layouts
9380 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9381 post messages into the main queue.
9383 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9385 * Button.cs: implement ProcessMnemonic
9386 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9388 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9389 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9391 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9393 * MonthCalendar.cs: Implemented click-hold for next/previous month
9396 2004-12-11 Peter Bartok <pbartok@novell.com>
9399 - Added XKeyboardState (moved from XplatUIX11.cs)
9400 - Added XCreateGC related enums and structures
9401 - Added GXFunction for XSetFunction
9403 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9405 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9406 CaretVisible() calls
9408 * ToolTip.cs: Added code to prevent stealing focus from app windows
9410 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9411 DestroyCaret, SetCaretPos and CaretVisible)
9414 - Added implementation for caret functions
9415 - Moved hover variables into a struct, to make it a bit easier
9416 on the eyes and to debug
9417 - Removed XKeyboardState (moved to XplatUIX11.cs)
9418 - Moved Keyboard properties into the properties region
9420 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9421 call to get a graphics context for our control
9423 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9425 * TreeView.cs: Fixed bug. No matter what color was set it would always
9426 return SystemColors.Window
9428 * XplatUIWin32.cs: Implemented caret overrides
9430 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9432 * ListBox.cs: fire events, implement missing methods and properties,
9435 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9437 * MonthCalendar.cs: invalidation bug fixing
9438 * ThemeWin32Classic.cs: paint fixing
9440 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9442 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9443 prepare the CGContextRef there now.
9445 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9448 - optimisationL only invalidate areas that have changed
9449 * ThemeWin32Classic.cs:
9450 - only paint parts that intersect with clip_area
9452 2004-12-09 Peter Bartok <pbartok@novell.com>
9454 * Application.cs: Undid changes from r37004 which cause problems
9457 2004-12-09 Ravindra <rkumar@novell.com>
9459 * ToolBar.cs: Added support for displaying ContextMenu
9460 attached to a button on ToolBar.
9461 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9464 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9466 * Label.cs: autosize works in text change and removes unnecessary
9469 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9471 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9474 2004-12-08 Geoff Norton <gnorton@customerdna.com>
9476 * XplatUIOSX.cs: Added mouse move/click/grab support
9477 Remove some debugging WriteLines not needed anymore.
9478 Add window resizing/positioning.
9479 Fix visibility on reparenting.
9481 2004-12-08 Peter Bartok <pbartok@novell.com>
9483 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9485 2004-12-07 Geoff Norton <gnorton@customerdna.com>
9487 * XplatUIOSX.cs: Initial checkin
9488 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9490 2004-12-03 Ravindra <rkumar@novell.com>
9492 * ListView.cs: Added some keybindings and fixed scrolling.
9493 ScrollBars listen to ValueChanged event instead of Scroll
9494 Event. This would let us take care of all changes being
9495 done in the scrollbars' values programmatically or manually.
9496 * ListView.cs (CanMultiselect): Added a check for shift key.
9497 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9498 * ListViewItem.cs (Clone): Fixed. We need to make a copy
9499 of ListViewSubItemCollection as well.
9501 2004-12-06 Peter Bartok <pbartok@novell.com>
9503 * Control.cs (Parent): Added check and exception to prevent
9506 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
9508 * ListBox.cs: implemented clipping, selection single and multiple,
9511 2004-12-03 Ravindra <rkumar@novell.com>
9513 * ListView.cs (ListView_KeyDown):
9514 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9515 when CTRL key is pressed.
9516 * ListViewItem.cs (Selected): Fixed setting the property.
9518 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9520 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9522 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9523 MinimizeBox, ShowInTaskbar, TopMost properties.
9525 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9526 will be implemented).
9528 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9530 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9532 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9535 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9537 * TreeView.cs: BackColor is Colors.Window.
9539 2004-12-01 Jackson Harper <jackson@ximian.com>
9541 * TreeView.cs: When resizing the tree if the user is making it
9542 smaller we don't get expose events, so we need to handle adding
9543 the horizontal scrollbar in the size changed handler as well as
9546 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
9548 * DrawItemState.cs: fixes wrong enum values
9550 2004-12-01 Jackson Harper <jackson@ximian.com>
9552 * TreeView.cs: Resize the hbar as well as the vbar on resize.
9554 2004-12-01 Jackson Harper <jackson@ximian.com>
9556 * NodeLabelEditEventArgs.cs:
9557 * NodeLabelEditEventHandler.cs:
9558 * OpenTreeNodeEnumerator.cs:
9560 * TreeNodeCollection.cs:
9562 * TreeViewAction.cs:
9563 * TreeViewCancelEventArgs.cs:
9564 * TreeViewCancelEventHandler.cs:
9565 * TreeViewEventArgs.cs:
9566 * TreeViewEventHandler.cs: Initial implementation.
9568 2004-12-01 Ravindra <rkumar@novell.com>
9570 * ListView.cs (CalculateListView): Fixed scrolling related
9571 calculations. Also, removed some debug statements from other
9573 * ListViewItem.cs: Changed access to 'selected' instance variable
9574 from private to internal.
9575 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9577 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
9579 * ThemeWin32Classic.cs: remove cache of brush and pens for
9580 specific controls and use the global system, fixes scrollbutton
9581 bugs (for small sizes, disabled, etc)
9583 * ScrollBar.cs: does not show the thumb for very small controls
9584 (as MS) and allow smaller buttons that the regular size
9586 2004-12-01 Miguel de Icaza <miguel@ximian.com>
9588 * UpDownBase.cs: Add abstract methods for the interface.
9589 Add new virtual methods (need to be hooked up to TextEntry when it
9591 Add override methods for most features.
9592 Computes the size, forces the height of the text entry.
9594 * NumericUpDown.cs: Put here the current testing code.
9596 * Set eol-style property on all files that do not have mixed line
9597 endings, to minimize the future problems. There are still a few
9598 files with mixed endings, and someone should choose whether they
9599 want to move it or not.
9601 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
9603 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9606 2004-11-30 Ravindra <rkumar@novell.com>
9608 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9609 drawing and replaced use of SystemColors by theme colors.
9610 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9611 * ListView.cs (ListViewItemCollection.Add): Throw exception when
9612 same ListViewItem is being added more than once.
9614 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
9617 - ControlStyles love to make the control not flicker
9619 2004-11-30 Peter Bartok <pbartok@novell.com>
9621 * CharacterCasing.cs: Added
9623 2004-11-29 Peter Bartok <pbartok@novell.com>
9625 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9626 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9627 I am removing these files as they conflict with already completed
9628 work. While it is fantastic to get contributions to MWF, I
9629 respectfully ask that everyone please coordinate their contributions
9630 through mono-winforms-list or #mono-winforms at this time. We're
9631 explicitly avoiding stubbing and don't want controls that don't have
9632 their basic functionality implemented in svn. Please also see
9633 http://www.mono-project.com/contributing/winforms.html
9636 2004-11-29 Marek Safar <marek.safar@seznam.cz>
9638 * Application.cs (ModalRun): Don't hang after exit.
9640 * Theme.cs: New TreeViewDefaultSize property.
9642 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9643 with less hardcoded SystemColors constant.
9644 Implemented TreeViewDefaultSize.
9646 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9647 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9650 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
9653 - Fix NextMonthDate and PrevMonthDate click moving calendar
9655 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9658 - Fix usage of ScrollChange Property when scrolling months
9660 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
9662 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9663 - Fixes menu destroying
9664 - Support adding and removing items on already created menus
9666 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9669 - Re-worked all bolded dates handling to match win32
9670 * ThemeWin32Classic.cs:
9671 - Fixed rendering with bolded dates
9673 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
9675 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9676 - Horizontal scroolbar
9681 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
9684 - Fix Usage of MaxSelectionCount from SelectionRange
9685 - Fixed Shift + Cursor Selection
9686 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9687 - Fixed normal cursor selection to be compat with win32
9688 - Fixed Shift + Mouse Click selection
9690 2004-11-24 Peter Bartok <pbartok@novell.com>
9692 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9693 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9695 - CreatedKeyBoardMsg now updates keystate with Alt key
9696 - Added workaround for timer crash to CheckTimers, Jackson will
9697 develop a proper fix and check in later
9698 - Implemented DispatchMessage
9699 - Removed calling the native window proc from GetMessage (call
9700 now moved to DispatchMessage)
9702 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9703 the keydata (Fixes bug #69831)
9706 - (DispatchMessage): Switched to return IntPtr
9707 - Added DllImport for SetFocus
9709 2004-11-24 Ravindra <rkumar@novell.com>
9711 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9713 * ListViewItem.cs: Fixed various properties, calculations
9714 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9715 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9716 and some internal properties. Fixed MouseDown handler and Paint
9719 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9721 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9723 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9725 * ContainerControl.cs: correct accidental check in of local changes
9727 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9729 * ThemeWin32Classic.cs:
9730 - Fixed Drawing Last month in grid (sometimes not showing)
9732 - Fixed title width calculation bug (makeing title small)
9734 2004-11-23 Peter Bartok <pbartok@novell.com>
9737 - Added generation of WM_MOUSEHOVER event
9738 - Added missing assignment of async_method atom
9739 - Fixed WM_ERASEBKGND; now only redraws the exposed area
9741 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9743 * ThemeWin32Classic.cs:
9744 - Fixed Drawing of today circle when showtodaycircle not set
9745 - fixed drawing of first and last month in the grid (gay dates)
9747 - Fixed Drawing of today circle
9748 - Fixed drawing of grady dates
9749 - Fixed HitTest for today link when ShowToday set to false
9750 - Fixed DefaultSize to obey ShowToday
9752 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9754 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9755 * System.Windows.Forms/Theme.cs
9756 * MonthCalendar.cs: added for MonthCalendar
9757 * SelectionRange.cs: added for MonthCalendar
9758 * Day.cs: added for MonthCalendar: added for MonthCalendar
9759 * DateRangeEventArgs.cs: added for MonthCalendar
9760 * DateRangeEventHandler.cs: added for MonthCalendar
9762 2004-11-22 Ravindra <rkumar@novell.com>
9764 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9767 2004-11-22 Miguel de Icaza <miguel@ximian.com>
9769 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9772 * NumericUpDown.cs: Added new implementation.
9773 * UpDownBase.cs: Added new implementation.
9775 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9778 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9781 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9784 2004-11-21 Miguel de Icaza <miguel@ximian.com>
9786 * Timer.cs (Dispose): Should call the base dispose when
9789 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9791 * ScrollBar.cs: updates thumb position when max, min or increment
9794 2004-11-21 Ravindra <rkumar@novell.com>
9796 * ListView.cs: Implemented item selection, activation and
9797 column header style. Fixed properties to do a redraw, if
9798 required. Added support for MouseHover, DoubleClick, KeyDown
9799 and KeyUp event handling and some minor fixes.
9800 * ListViewItem.cs: Fixed constructor.
9801 * ThemeWin32Classic.cs: Improved drawing for ListView.
9803 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9805 * ThemeWin32Classic.cs: initial listbox drawing code
9806 * DrawMode.cs: new enumerator
9807 * ListControl.cs: stubbed class
9808 * ListBox.cs: initial implementation
9809 * Theme.cs: new methods definitions
9810 * SelectionMode.cs: new enumerator
9812 2004-11-17 Peter Bartok <pbartok@novell.com>
9814 * XplatUIWin32.cs: Added double-click events to the class style
9815 * Control.cs (WndProc):
9816 - Added handling of click-count to MouseDown/ MouseUp events.
9817 - Added handling of middle and right mouse buttons
9818 - Removed old debug code
9820 2004-11-17 Jackson Harper <jackson@ximian.com>
9822 * XplatUIX11.cs: Use the new Mono.Unix namespace.
9824 2004-11-17 Ravindra <rkumar@novell.com>
9826 * ListView.cs: Added event handling for MouseMove/Up/Down.
9827 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9828 * ThemeWin32Classic.cs: We need to clear the graphics context and
9829 draw column header in a proper state.
9832 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
9834 * Menu.cs: fixes signature
9836 2004-11-16 Peter Bartok <pbartok@novell.com>
9838 * XplatUIX11.cs (GetMessage): Implemented generation of
9839 double click mouse messages
9841 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
9843 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9846 2004-11-11 Peter Bartok <pbartok@novell.com>
9848 * HandleData.cs: Added Visible property
9849 * XplatUIX11.cs (IsVisible): Now uses Visible property from
9851 * XplatUIX11.cs: Removed old debug leftovers
9852 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9853 * Control.cs (WndProc): Removed old debug leftovers,
9854 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9855 needed WM_SIZE handling
9857 2004-11-11 Jackson Harper <jackson@ximian.com>
9859 * OwnerDrawPropertyBag.cs:
9860 * TreeViewImageIndexConverter.cs: Initial implementation
9862 2004-11-10 Jackson Harper <jackson@ximian.com>
9864 * ThemeWin32Classic.cs:
9865 * TabControl.cs: instead of moving tabs by the slider pos just
9866 start drawing at the tab that is offset by the slider. This way
9867 scrolling always moves by exactly one tab.
9869 2004-11-10 Jackson Harper <jackson@ximian.com>
9871 * TabControl.cs: You can only scroll left when the slider has
9872 already ben moved right.
9874 2004-11-10 Jackson Harper <jackson@ximian.com>
9876 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9879 2004-11-10 Jackson Harper <jackson@ximian.com>
9881 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9884 2004-11-09 Jackson Harper <jackson@ximian.com>
9886 * TabControl.cs (CalcXPos): New helper method so we can determine
9887 the proper place to start drawing vertical tabs.
9888 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9890 2004-11-09 Jackson Harper <jackson@ximian.com>
9892 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9893 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9894 and Bottom, left and right are illegal values for this and
9895 multiline is enabled when the alignment is set to left or right.
9896 (DrawTab): Each alignment block should draw the text itself now
9897 because Left requires special love. Also add rendering for Left
9900 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
9902 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9903 does not destroy the windows, removes debugging messages
9905 2004-11-09 jba <jba-mono@optusnet.com.au>
9907 * ThemeWin32Classic.cs
9908 (DrawButtonBase): Fix verticle text rect clipping in windows
9909 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9910 rendering and incorrect text rect clipping
9911 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9912 rendering and incorrect text rect clipping
9914 2004-11-08 Jackson Harper <jackson@ximian.com>
9916 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9917 bottom when they are bottom aligned so the bottoms of the tabs get
9919 * TabControl.cs (DropRow): Move rows up instead of down when the
9920 tab control is bottom aligned.
9922 2004-11-08 13:59 pbartok
9925 - Added handling for various window styles
9926 - Added handling for popup windows
9927 - Added SetTopmost handling
9929 2004-11-08 13:55 pbartok
9932 - Added argument to SetTopmost method
9933 - Fixed broken ClientToScreen function
9935 2004-11-08 13:53 pbartok
9937 * XplatUIStructs.cs:
9938 - Added missing WS_EX styles
9940 2004-11-08 13:53 pbartok
9942 * XplatUI.cs, XplatUIDriver.cs:
9943 - Added argument to SetTopmost
9945 2004-11-08 13:52 pbartok
9948 - Added XSetWindowAttributes structure
9949 - Improved XWindowAttributes structure
9950 - Added SetWindowValuemask enum
9951 - Added window creation arguments enum
9952 - Added gravity enum
9953 - Added Motif hints structure
9954 - Added various Motif flags and enums
9955 - Added PropertyMode enum for property functions
9957 2004-11-08 13:50 pbartok
9960 - Fixed arguments for updated SetTopmost method
9962 2004-11-08 13:49 pbartok
9965 - Fixed arguments for updated SetTopmost function
9966 - Fixed usage of PointToClient
9968 2004-11-08 13:44 pbartok
9971 - Added Clipping of children and siblings
9973 2004-11-08 13:41 pbartok
9976 - Removed SetMenuBarWindow call. We do this in Form.cs
9978 2004-11-08 13:40 jackson
9980 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9981 scrolling jimmi in the correct location with bottom aligned tabs
9983 2004-11-08 13:36 pbartok
9985 * ContainerControl.cs:
9986 - Implemented BindingContext
9987 - Implemented ParentForm
9989 2004-11-08 12:46 jackson
9991 * TabControl.cs: Put bottom rendered tabs in the right location
9993 2004-11-08 07:15 jordi
9995 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9998 2004-11-05 17:30 jackson
10000 * TabControl.cs: When selected tabs are expanded make sure they
10001 don't go beyond the edges of the tab control
10003 2004-11-05 14:57 jackson
10005 * TabControl.cs: Reset show_slider so if the control is resized to
10006 a size where it is no longer needed it's not displayed anymore
10008 2004-11-05 13:16 jackson
10010 * TabControl.cs: Make tab pages non visible when added to the
10013 2004-11-05 12:42 jackson
10015 * TabControl.cs: Implement SizeMode.FillToRight
10017 2004-11-05 12:16 jackson
10019 * Control.cs: Do not call CreateHandle if the handle is already
10022 2004-11-05 11:46 jackson
10024 * TabControl.cs: Remove superflous call to CalcTabRows
10026 2004-11-05 09:07 jackson
10028 * XplatUIX11.cs: Update for Mono.Posix changes
10030 2004-11-05 07:00 ravindra
10032 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10035 2004-11-04 22:47 jba
10037 * ThemeWin32Classic.cs:
10038 - Fix Button rendering for FlatStyle = Flat or Popup
10039 - Fix RadioButton and CheckBox rendering when Appearance = Button
10040 (normal and flatstyle).
10041 - Correct outer rectangle color when drawing focus rectangle
10042 - Adjust button bounds to be 1 px smaller when focused
10043 - Make button not draw sunken 3d border when pushed (windows compat)
10044 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10045 - Offset the text in RadioButton and Checkbox when being rendered as
10047 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10049 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10050 - Fixed disabled text rendering for normally rendered radiobuttons
10052 2004-11-04 10:26 jackson
10054 * TabControl.cs: Recalculate tab rows when resizing
10056 2004-11-04 07:47 jordi
10058 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10059 collection completion, drawing issues, missing features
10061 2004-11-04 05:03 ravindra
10064 - We need to recalculate the Thumb area when
10065 LargeChange/maximum/minimum values are changed.
10066 - We set the 'pos' in UpdatePos() method to minimum, if it's less
10067 than minimum. This is required to handle the case if large_change is
10068 more than max, and use LargeChange property instead of large_change
10070 - We return max+1 when large_change is more than max, like MS does.
10072 2004-11-04 04:29 ravindra
10074 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10075 - Changed default value signatures (prefixed all with ListView).
10076 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10078 - Fixed calculations for ListViewItem and implemented Clone()
10081 2004-11-04 04:26 ravindra
10083 * Theme.cs, ThemeWin32Classic.cs:
10084 - Changed default ListView values signatures (prefixed all with
10086 - Fixed default size values for VScrollBar and HScrollBar.
10087 - Fixed DrawListViewItem method.
10089 2004-11-04 04:05 ravindra
10091 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10093 2004-11-04 04:04 ravindra
10095 * ImageList.cs: Implemented the missing overload for Draw method.
10097 2004-11-03 19:29 jackson
10099 * TabControl.cs: Handle dropping rows on selection properly
10101 2004-11-03 11:59 jackson
10103 * TabControl.cs: remove debug code
10105 2004-11-03 11:52 jackson
10107 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10108 the scrolly widgerywoo
10110 2004-11-02 13:52 jackson
10112 * TabControl.cs: Resize the tab pages and tabs when the tab control
10115 2004-11-02 13:40 jackson
10117 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10118 selected tab to the bottom
10120 2004-11-02 13:39 jackson
10122 * TabPage.cs: Store the tab pages row
10124 2004-11-02 12:33 jordi
10126 * MenuItem.cs: fixes handle creation
10128 2004-11-02 11:42 jackson
10130 * TabControl.cs: signature fix
10132 2004-11-02 08:56 jackson
10134 * TabControl.cs: Calculate whether the tab is on an edge properly.
10135 Remove top secret debugging code
10137 2004-11-01 19:57 jackson
10139 * TabControl.cs: Add click handling, and proper sizing
10141 2004-11-01 19:47 jackson
10143 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10146 2004-11-01 19:39 jackson
10148 * TabPage.cs: add internal property to store the bounds of a tab
10151 2004-10-30 04:23 ravindra
10153 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10156 2004-10-30 04:21 ravindra
10158 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10159 fixed calculations.
10161 2004-10-30 03:06 pbartok
10164 - Removed extension of DllImported libs
10166 2004-10-29 09:55 jordi
10168 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10169 navigation, itemcollection completion, menu fixes
10171 2004-10-27 22:58 pbartok
10174 - Now throws a nice error message when no X display could be opened
10176 2004-10-26 13:51 jordi
10178 * ListView.cs: removes warning
10180 2004-10-26 03:55 ravindra
10182 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10183 ThemeWin32Classic.cs: Some formatting for my last checkins.
10185 2004-10-26 03:36 ravindra
10187 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10188 control and default values.
10190 2004-10-26 03:35 ravindra
10192 * Theme.cs: Added some default values for ListView control.
10194 2004-10-26 03:33 ravindra
10196 * ToolBar.cs: ToolBar should use the user specified button size, if
10197 there is any. Added a size_specified flag for the same.
10199 2004-10-26 03:33 ravindra
10201 * ColumnHeader.cs: Added some internal members and calculations for
10204 2004-10-26 03:32 ravindra
10206 * ListViewItem.cs: Calculations for ListViewItem.
10208 2004-10-26 03:31 ravindra
10210 * ListView.cs: Added some internal members and calculations for
10213 2004-10-22 13:31 jordi
10215 * MenuAPI.cs: speedup menus drawing
10217 2004-10-22 13:16 jackson
10219 * XplatUIX11.cs: Make sure to update exposed regions when adding an
10222 2004-10-22 11:49 jackson
10226 2004-10-22 11:41 jackson
10228 * Control.cs: Check to see if the window should have its background
10229 repainted by X when drawing.
10231 2004-10-22 11:31 jackson
10233 * XplatUIX11.cs: When invalidating areas only use XClearArea if
10234 clear is true, this way we do not get flicker from X repainting the
10237 2004-10-22 11:28 jackson
10239 * XEventQueue.cs: Queue properly
10241 2004-10-21 09:38 jackson
10243 * XEventQueue.cs: Fix access modifier
10245 2004-10-21 09:36 jackson
10247 * XEventQueue.cs: Don't loose messages
10249 2004-10-21 09:22 jackson
10251 * XEventQueue.cs: Don't loose messages
10253 2004-10-20 04:15 jordi
10255 * BootMode.cs: enum need it by SystemInfo
10257 2004-10-19 21:58 pbartok
10260 - Small sanity check
10262 2004-10-19 21:56 pbartok
10265 - Added private FormParentWindow class which acts as the container
10266 for our form and as the non-client area where menus are drawn
10267 - Added/Moved required tie-ins to Jordi's menus
10268 - Fixed/Implemented the FormStartPosition functionality
10270 2004-10-19 21:52 pbartok
10273 - Removed unneeded locals
10274 - Added code to all size and location properties to understand and
10275 deal with the parent container of Form
10277 2004-10-19 21:33 pbartok
10280 - Fixed to deal with new Form subclasses for menus
10282 2004-10-19 17:48 jackson
10284 * XEventQueue.cs: commit correct version of file
10286 2004-10-19 16:50 jackson
10288 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10290 2004-10-19 16:15 jordi
10292 * MenuAPI.cs: MenuBarCalcSize returns the height
10294 2004-10-19 08:31 pbartok
10297 - Added missing call to PreProcessMessage before calling OnXXXKey
10300 2004-10-19 00:04 ravindra
10302 * ToolTip.cs: Fixed constructor.
10304 2004-10-18 09:31 jordi
10306 * MenuAPI.cs: menuitems in menubars do not have shortcuts
10308 2004-10-18 09:26 jordi
10310 * MenuItem.cs: fixes MenuItem class signature
10312 2004-10-18 08:56 jordi
10314 * MenuAPI.cs: prevents windows from showing in the taskbar
10316 2004-10-18 00:28 ravindra
10318 * ToolTip.cs: Suppressed a warning message.
10320 2004-10-18 00:27 ravindra
10322 * Control.cs: Default value of visible property must be true.
10324 2004-10-17 23:19 pbartok
10327 - Complete implementation
10329 2004-10-17 23:19 pbartok
10332 - Added EnableWindow method
10333 - Added SetModal stub
10334 - Added generation of WM_ACTIVATE message (still needs testing)
10335 - Added SetTopMost stub
10336 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10338 2004-10-17 23:17 pbartok
10341 - Removed VirtualKeys to XplatUIStructs
10342 - Implemented SetTopMost method
10343 - Implemented EnableWindow method
10344 - Bugfix in ScreenToClient()
10345 - Bugfixes in ClientToScreen()
10347 2004-10-17 22:51 pbartok
10349 * XplatUIStructs.cs:
10350 - Added WS_EX styles to WindowStyles enumeration
10352 2004-10-17 22:50 pbartok
10354 * XplatUI.cs, XplatUIDriver.cs:
10355 - Added method for enabling/disabling windows
10356 - Added method for setting window modality
10357 - Added method for setting topmost window
10359 2004-10-17 22:49 pbartok
10361 * ThemeWin32Classic.cs:
10362 - Added ToolTip drawing code
10364 2004-10-17 22:49 pbartok
10367 - Added ToolTip abstracts
10369 2004-10-17 22:47 pbartok
10372 - Fixed Form.ControlCollection to handle owner relations
10373 - Added Owner/OwnedForms handling
10374 - Implemented Z-Ordering for owned forms
10375 - Removed unneeded private overload of ShowDialog
10376 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10378 - Fixed Close(), had wrong default
10379 - Added firing of OnLoad event
10380 - Added some commented out debug code for Ownership handling
10382 2004-10-17 22:16 pbartok
10385 - Fixed/implemented flat list of controls
10387 2004-10-17 22:14 pbartok
10390 - Added code to simulate modal dialogs on Win32
10392 2004-10-17 16:11 jordi
10394 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10397 2004-10-17 13:39 jordi
10399 * MenuAPI.cs: menu drawing fixes
10401 2004-10-15 09:10 ravindra
10403 * StructFormat.cs: General Enum.
10405 2004-10-15 09:09 ravindra
10407 * SizeGripStyle.cs: Enum for Form.
10409 2004-10-15 09:08 ravindra
10411 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10412 in Theme for ListView.
10414 2004-10-15 09:06 ravindra
10416 * ColumnHeader.cs: Flushing some formatting changes.
10418 2004-10-15 09:05 ravindra
10420 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10423 2004-10-15 09:03 ravindra
10425 * ListView.cs: Implemented Paint method and fixed coding style.
10427 2004-10-15 07:34 jordi
10429 * MenuAPI.cs: fix for X11
10431 2004-10-15 07:32 ravindra
10433 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10434 - Renamed Paint() method to Draw() for clarity. Also, moved
10435 DrawImage() to OnPaint().
10437 2004-10-15 07:25 ravindra
10439 * CheckBox.cs, RadioButton.cs:
10440 - Removed Redraw (), we get it from ButtonBase.
10441 - Implemented Paint (), to do class specific painting.
10443 2004-10-15 07:16 ravindra
10446 - Redraw () is not virtual now.
10447 - Added an internal virtual method Paint (), so that
10448 derived classes can do their painting on their own.
10449 - Modified OnPaint () to call Paint ().
10451 2004-10-15 06:43 jordi
10453 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10454 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10456 2004-10-15 00:30 ravindra
10459 - MessageBox on windows does not have min/max buttons.
10460 This change in CreateParams fixes this on Windows. We
10461 still need to implement this windowstyle behavior in
10464 2004-10-14 05:14 ravindra
10467 - Changed Redraw () to do a Refresh () always.
10468 - Fixed the MouseMove event handling when mouse is pressed,
10469 ie drag event handling.
10470 - Replaced the usage of ToolBarButton.Pressed property to
10471 ToolBarButton.pressed internal variable.
10473 2004-10-14 05:10 ravindra
10475 * ToolBarButton.cs:
10476 - Added an internal member 'inside' to handle mouse move
10477 with mouse pressed ie mouse drag event.
10478 - Changed 'Pressed' property to return true only when
10479 'inside' and 'pressed' are both true.
10480 - Some coding style love.
10482 2004-10-14 00:17 ravindra
10484 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10487 2004-10-14 00:15 ravindra
10489 * ButtonBase.cs: Redraw () related improvements.
10491 2004-10-14 00:14 ravindra
10493 * MessageBox.cs: Moved InitFormSize () out of Paint method and
10494 removed unnecessary calls to Button.Show () method.
10496 2004-10-13 17:50 pbartok
10500 - Removed destroying of window until we solve the problem of X
10501 destroying the window before us on shutdown
10503 2004-10-13 16:32 pbartok
10506 - Now Redraws on MouseUp for FlatStyle Flat and Popup
10508 2004-10-13 14:18 pbartok
10511 - Added code to destroy the X window
10513 2004-10-13 14:18 pbartok
10516 - Added code to destroy a window
10518 2004-10-13 14:12 pbartok
10521 - Added the Redraw on Resize that got dropped in the last rev
10523 2004-10-13 09:06 pbartok
10525 * ThemeWin32Classic.cs:
10526 - Path from John BouAntoun:
10527 * Fix check rendering (centre correctly for normal style, offset
10528 correctly for FlatStyle).
10529 * Fix border color usage (use backcolor) for FlatStyle.Popup
10530 * Use checkbox.Capture instead of checkbox.is_pressed when
10531 rendering flatstyle states.
10533 2004-10-12 21:48 pbartok
10535 * ThemeWin32Classic.cs:
10536 - Removed all occurences of SystemColors and replaced them with the
10537 matching theme color
10539 2004-10-12 21:41 pbartok
10541 * ThemeWin32Classic.cs:
10542 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10543 him using the function for flatstyle drawing
10544 - Changed functions to use the new version of CPDrawBorder3D
10546 2004-10-12 21:15 pbartok
10549 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10550 match MS documentation. They need to return defined colors if the
10551 passed color matches the configured control color. Thanks to John
10552 BouAntoun for pointing this out.
10554 2004-10-12 20:57 pbartok
10557 - Fix from John BouAntoun: Raise ForeColorChanged event when text
10560 2004-10-12 20:46 pbartok
10563 - Fix from John BouAntoun: Now properly sets the Appearance property
10565 2004-10-12 20:45 pbartok
10567 * ThemeWin32Classic.cs:
10568 - Fixes from John BouAntoun: now handles forecolors and backcolors
10569 for flatstyle rendered controls much better; It also fixes normal
10570 checkbox rendering when pushed or disabled.
10572 2004-10-08 02:50 jordi
10574 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10577 2004-10-07 08:56 jordi
10579 * ThemeWin32Classic.cs: Removes deletion of cached brushes
10581 2004-10-06 03:59 jordi
10583 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10584 XplatUIWin32.cs: removes warnings from compilation
10586 2004-10-05 12:23 jackson
10588 * RadioButton.cs: Fix ctor
10590 2004-10-05 11:10 pbartok
10593 - Partial implementation by Benjamin Dasnois
10595 2004-10-05 10:15 jackson
10597 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10600 2004-10-05 03:07 ravindra
10603 - Removed a private method, Draw ().
10604 - Fixed the ButtonDropDown event handling.
10605 - Fixed MouseMove event handling.
10607 2004-10-05 03:04 ravindra
10609 * ThemeWin32Classic.cs:
10610 - Added DrawListView method and ListViewDefaultSize property.
10611 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10612 - Changed DOS style CRLF to Unix format (dos2unix).
10614 2004-10-05 03:03 ravindra
10617 - Added DrawListView method and ListViewDefaultSize property.
10619 2004-10-05 02:42 ravindra
10621 * ToolBarButton.cs: Added an internal member dd_pressed to handle
10622 clicks on DropDown arrow.
10624 2004-10-04 22:56 jackson
10626 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10627 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10628 Control handle the buffers, derived classes should not have to
10629 CreateBuffers themselves.
10631 2004-10-04 21:20 jackson
10633 * StatusBar.cs: The control handles resizing the buffers now.
10635 2004-10-04 21:18 jackson
10637 * Control.cs: When resizing the buffers should be invalidated. This
10638 should be handled in Control not in derived classes.
10640 2004-10-04 14:45 jackson
10644 2004-10-04 02:14 pbartok
10646 * LeftRightAlignment.cs:
10649 2004-10-04 01:09 jordi
10651 * ThemeWin32Classic.cs: fixes right button position causing right
10652 button not showing on horizontal scrollbars
10654 2004-10-02 13:12 pbartok
10657 - Simplified the Invalidate method by using an X call instead of
10658 generating the expose ourselves
10659 - Added an expose when the window background is changed
10660 - Implemented ClientToScreen method
10662 2004-10-02 13:08 pbartok
10665 - Added Win32EnableWindow method (test for implementing modal
10667 - Added ClientToScreen method and imports
10669 2004-10-02 13:07 pbartok
10671 * XplatUI.cs, XplatUIDriver.cs:
10672 - Added ClientToScreen coordinate translation method
10674 2004-10-02 13:06 pbartok
10676 * KeyPressEventArgs.cs:
10677 - Fixed access level for constructor
10679 2004-10-02 13:06 pbartok
10682 - Changed access level for the window_collection hash table
10684 2004-10-02 13:05 pbartok
10687 - Added KeyPreview property
10688 - Added Menu property (still incomplete, pending Jordi's menu work)
10689 - Implemented ProcessCmdKey
10690 - Implemented ProcessDialogKey
10691 - Implemented ProcessKeyPreview
10693 2004-10-02 13:02 pbartok
10696 - Added private method to get the Control object from the window
10698 - Implemented ContextMenu property
10699 - Implemented PointToScreen
10700 - Implemented PreProcessMessage
10701 - Implemented IsInputChar
10702 - Implemented IsInputKey
10703 - Implemented ProcessCmdKey
10704 - Completed ProcessKeyEventArgs
10705 - Fixed message loop to call the proper chain of functions on key
10707 - Implemented ProcessDialogChar
10708 - Implemented ProcessDialogKey
10709 - Implemented ProcessKeyMessage
10710 - Implemented ProcessKeyPreview
10711 - Added RaiseDragEvent stub (MS internal method)
10712 - Added RaiseKeyEvent stub (MS internal method)
10713 - Added RaiseMouseEvent stub (MS Internal method)
10714 - Added RaisePaintEvent stub (MS Internal method)
10715 - Added ResetMouseEventArgs stub (MS Internal method)
10716 - Implemented RtlTranslateAlignment
10717 - Implemented RtlTranslateContent
10718 - Implemented RtlTranslateHorizontal
10719 - Implemented RtlTranslateLeftRight
10720 - Added generation of KeyPress event
10722 2004-10-02 05:57 ravindra
10724 * ListViewItem.cs: Added attributes.
10726 2004-10-02 05:32 ravindra
10728 * ListView.cs: Added attributes.
10730 2004-10-01 11:53 jackson
10732 * Form.cs: Implement the Close method so work on MessageBox can
10735 2004-09-30 14:06 pbartok
10740 2004-09-30 11:34 jackson
10742 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10744 2004-09-30 07:26 ravindra
10746 * ListViewItemConverter.cs: Converter for ListViewItem.
10748 2004-09-30 07:26 ravindra
10750 * SortOrder.cs: Enum for ListView control.
10752 2004-09-30 07:25 ravindra
10754 * ColumnHeader.cs: Supporting class for ListView control.
10756 2004-09-30 07:24 ravindra
10758 * ListView.cs, ListViewItem.cs: Initial implementation.
10760 2004-09-30 07:20 ravindra
10762 * ItemActivation.cs: Enum for ListView Control.
10764 2004-09-29 20:29 pbartok
10767 - Added lookup of pixel value for background color; tries to get a
10768 color 'close' to the requested color, it avoids having to create a
10769 colormap. Depending on the display this could mean the used color
10770 is slightly off the desired color. Might have to change it to a more
10771 resource intensive colormap approach, but it will work as a
10772 workaround to avoid red screens.
10774 2004-09-29 14:27 jackson
10776 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10778 2004-09-28 12:44 pbartok
10780 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10781 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10782 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10783 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10784 TrackBar.cs, VScrollBar.cs:
10785 - Streamlined Theme interfaces:
10786 * Each DrawXXX method for a control now is passed the object for
10787 the control to be drawn in order to allow accessing any state the
10788 theme might require
10790 * ControlPaint methods for the theme now have a CP prefix to avoid
10791 name clashes with the Draw methods for controls
10793 * Every control now retrieves it's DefaultSize from the current
10796 2004-09-28 12:17 jackson
10798 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10801 2004-09-24 14:57 jackson
10803 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10804 Gives us a nice little performance boost.
10806 2004-09-24 12:02 jackson
10808 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10809 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10810 Control and supporting classes. Initial checkin
10812 2004-09-23 13:08 jackson
10814 * Form.cs: Temp build fixage
10816 2004-09-23 01:39 ravindra
10818 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10819 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10820 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10821 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10822 EventHandlers needed by ListView Control.
10824 2004-09-22 14:12 pbartok
10826 * ScrollableControl.cs:
10827 - Implemented DockPadding property
10828 - Implemented AutoScroll property
10829 - Implemented AutoScrollMargin property
10830 - Implemented AutoScrollMinSize property
10831 - Implemented AutoScrollPosition property
10832 - Implemented DisplayRectangle property (still incomplete)
10833 - Implemented CreateParams property
10834 - Implemented HScroll property
10835 - Implemented VScroll property
10836 - Implemented OnVisibleChanged property
10838 2004-09-22 14:09 pbartok
10841 - Added Form.ControllCollection class
10842 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10843 RemoveOwnedForm (still incomplete, missing on-top and common
10844 minimize/maximize behaviour)
10845 - Added StartPosition property (still incomplete, does not use when
10847 - Added ShowDialog() methods (still incomplete, missing forcing the
10850 2004-09-22 14:05 pbartok
10853 - Added message loop for modal dialogs
10855 2004-09-22 14:02 pbartok
10858 - Fixed wrong types for events
10860 2004-09-22 14:00 pbartok
10862 * Shortcut.cs, FormWindowState.cs:
10863 - Fixed wrong values
10865 2004-09-22 12:01 jackson
10867 * Control.cs: Text is never null
10869 2004-09-20 22:14 pbartok
10872 - Fixed accessibility level for Idle handler
10874 2004-09-20 18:54 jackson
10876 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10877 XplatUIX11.cs: New message loop that uses poll so we don't get a
10880 2004-09-17 10:43 pbartok
10883 - Fixed behaviour of arrow buttons. Now properly behaves like
10884 Buttons (and like Microsoft's scrollbar arrow buttons)
10886 2004-09-17 10:14 pbartok
10889 - Added missing release of keyboard/mouse capture
10891 2004-09-17 06:18 jordi
10893 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10894 Theme.cs: Very early menu support
10896 2004-09-16 17:45 pbartok
10899 - Fixed sending a window to the front
10900 - Added overload for SetWindowPos to avoid casting
10902 2004-09-16 17:44 pbartok
10905 - Added SendToBack and BringToFront methods
10907 2004-09-16 07:00 ravindra
10909 * Copyright: Added Novell URL.
10911 2004-09-16 07:00 ravindra
10913 * ToolBar.cs: Invalidate should be done before redrawing.
10915 2004-09-15 21:19 ravindra
10917 * ColumnHeaderStyle.cs: Enum for ListView Control.
10919 2004-09-15 21:18 ravindra
10921 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10924 2004-09-13 18:26 jackson
10926 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10929 2004-09-13 18:13 jackson
10931 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10932 a second thread and post messages into the main threads message
10933 queue. This makes timing much more consistent. Both win2K and XP
10934 have a minimum timer value of 15 milliseconds, so we now do this
10937 2004-09-13 15:18 pbartok
10939 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10941 - Added Z-Ordering methods
10943 2004-09-13 10:56 pbartok
10946 - Fixed #region names
10947 - Moved properties and methods into their proper #regions
10949 2004-09-13 10:51 pbartok
10952 - Added Accept and CancelButton properties
10953 - Added ProcessDialogKey() method
10955 2004-09-13 08:18 pbartok
10957 * IWindowTarget.cs:
10960 2004-09-10 21:50 pbartok
10963 - Added DoDragDrop() [incomplete]
10964 - Properly implemented 'Visible' handling
10965 - Added SetVisibleCore()
10966 - Implemented FindChildAtPoint()
10967 - Implemented GetContainerControl()
10968 - Implemented Hide()
10970 2004-09-10 19:28 pbartok
10973 - Moved methods into their appropriate #regions
10974 - Reordered methods within regions alphabetically
10976 2004-09-10 18:57 pbartok
10978 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10979 - Added method to retrieve text from window
10981 2004-09-10 18:56 pbartok
10984 - Moved some internal functions into the internal region
10985 - Implemented FontHeight
10986 - Implemented RenderRightToLeft
10987 - Implemented ResizeRedraw
10988 - Implemented ShowFocusCues
10989 - Implemented ShowKeyboardCues
10990 - Implemented FromChildHandle
10991 - Implemented FromHandle
10992 - Implemented IsMnemonic
10993 - Implemented ReflectMessage
10994 - All public and protected Static Methods are now complete
10996 2004-09-10 16:54 pbartok
10999 - Implemented remaining missing public instance properties
11000 - Alphabetized some out of order properties
11002 2004-09-10 05:51 ravindra
11004 * PictureBox.cs: Added a check for null image.
11006 2004-09-10 00:59 jordi
11008 * GroupBox.cs: remove cvs tag
11010 2004-09-09 05:25 ravindra
11012 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11014 2004-09-09 05:23 ravindra
11016 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11019 2004-09-09 02:28 pbartok
11021 * ThemeWin32Classic.cs:
11022 - Improve disabled string look
11024 2004-09-09 01:15 jordi
11026 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11029 2004-09-08 23:56 ravindra
11031 * ItemBoundsPortion.cs: It's enum, not a class!
11033 2004-09-08 23:47 ravindra
11035 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11038 2004-09-08 21:13 ravindra
11040 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11043 2004-09-08 21:03 ravindra
11045 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11048 2004-09-08 21:01 ravindra
11050 * ScrollableControl.cs: Removed unreachable code.
11052 2004-09-08 06:45 jordi
11054 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11056 2004-09-08 01:00 jackson
11058 * XplatUIX11.cs: Only run the timers when updating the message
11059 queue. This effectively gives X messages a higher priority then
11060 timer messages. Timers still need love though
11062 2004-09-07 14:01 jackson
11064 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11065 this for us and the handle is no longer valid.
11067 2004-09-07 13:59 jackson
11069 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11070 loop that manages to not crash. TODO: Add poll and cleanup timers
11072 2004-09-07 11:12 jordi
11074 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11076 2004-09-07 03:40 jordi
11078 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11079 fixes, methods, multiple links
11081 2004-09-06 06:55 jordi
11083 * Control.cs: Caches ClientRectangle rectangle value
11085 2004-09-05 02:03 jordi
11087 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11090 2004-09-04 11:10 jordi
11092 * Label.cs: Refresh when font changed
11094 2004-09-02 16:24 pbartok
11097 - Added sanity check to creation of double buffer bitmap
11099 2004-09-02 16:24 pbartok
11102 - Fixed selection of text color
11103 - Fixed handling of resize event; now properly recreates double
11105 - Added missing assignment of TextAlignment
11106 - Added proper default for TextAlignment
11108 2004-09-02 14:26 pbartok
11111 - Added missing RadioButton.RadioButtonAccessibleObject class
11113 2004-09-02 14:26 pbartok
11116 - Added missing Control.ControlAccessibleObject class
11117 - Started to implement Select()ion mechanisms, still very incomplete
11119 2004-09-02 14:25 pbartok
11121 * AccessibleObject.cs:
11122 - Added missing methods
11124 2004-09-02 14:23 pbartok
11126 * AccessibleNavigation.cs, AccessibleSelection.cs:
11129 2004-09-02 10:32 jordi
11131 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11132 pool for pens, brushes, and hatchbruses
11134 2004-09-01 15:30 jackson
11136 * StatusBar.cs: Fix typo
11138 2004-09-01 14:44 pbartok
11143 2004-09-01 14:39 pbartok
11145 * Button.cs, RadioButton.cs:
11146 - Functional initial check-in
11148 2004-09-01 14:01 pbartok
11151 - Added missing default
11152 - Added missing region mark
11154 2004-09-01 09:10 jordi
11156 * Label.cs: fixes method signatures, new methods, events, fixes
11159 2004-09-01 07:19 jordi
11161 * Control.cs: Init string variables with an empty object
11163 2004-09-01 04:20 jordi
11165 * Control.cs: fires OnFontChanged event
11167 2004-08-31 20:07 pbartok
11170 - Enabled display of strings
11172 2004-08-31 20:05 pbartok
11175 - Added (partial) implementation of DialogResult; rest needs to be
11176 implemented when the modal loop code is done
11178 2004-08-31 19:55 pbartok
11181 - Fixed to match the removal of the needs_redraw concept
11183 2004-08-31 19:55 pbartok
11186 - Removed the rather odd split between 'needs redraw' and redrawing
11187 - Now handles the events that require regeneration (ambient
11188 properties and size)
11190 2004-08-31 19:41 pbartok
11193 - Added firing of BackColorChanged event
11194 - Added TopLevelControl property
11195 - Fixed handling of WM_ERASEBKGRND message
11197 2004-08-31 12:49 pbartok
11203 2004-08-31 12:48 pbartok
11206 - Finished (famous last words)
11208 2004-08-31 04:35 jordi
11210 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11211 scrolling bugs, adds new methods
11213 2004-08-30 14:42 pbartok
11216 - Implemented CheckBox drawing code
11218 2004-08-30 14:42 pbartok
11221 - Made Redraw() and CheckRedraw() virtual
11222 - Improved mouse up/down/move logic to properly track buttons
11224 2004-08-30 09:44 pbartok
11227 - Updated to fix broken build. Not complete yet.
11229 2004-08-30 09:28 pbartok
11234 2004-08-30 09:17 pbartok
11239 2004-08-27 16:12 ravindra
11241 * ToolBarButton.cs: Added TypeConverter attribute.
11243 2004-08-27 16:07 ravindra
11245 * ImageIndexConverter.cs: Implemented.
11247 2004-08-27 14:17 pbartok
11250 - Removed unneeded stack vars
11251 - First attempt to fix sizing issues when layout is suspended
11253 2004-08-25 15:35 jordi
11255 * ScrollBar.cs: more fixes to scrollbar
11257 2004-08-25 14:04 ravindra
11259 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11260 Added the missing divider code and grip for ToolBar Control.
11262 2004-08-25 13:20 pbartok
11265 - Control now properly passes the ambient background color to child
11268 2004-08-25 13:20 jordi
11270 * ScrollBar.cs: small bug fix regarding bar position
11272 2004-08-25 12:33 pbartok
11275 - Now only calls SetTimer or KillTimer if the enabled state has
11278 2004-08-25 12:33 pbartok
11281 - Fixed timer handling, now seems to work
11282 - Improved error message for window creation
11284 2004-08-25 12:32 pbartok
11287 - Fixed generation of MouseUp message
11289 2004-08-25 12:29 jordi
11291 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11292 and fixes for progressbar
11294 2004-08-24 18:43 ravindra
11296 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11297 in ToolBar control.
11299 2004-08-24 17:15 pbartok
11303 - Added missing events
11306 2004-08-24 17:14 pbartok
11308 * StatusBar.cs, PictureBox.cs:
11309 - Now uses Control's CreateParams
11311 2004-08-24 16:36 pbartok
11314 - Fixed background color handling
11315 - Fixed sending of enter/leave events on a grab
11317 2004-08-24 16:35 pbartok
11320 - Refined definitions for CrossingEvent
11322 2004-08-24 12:37 jordi
11324 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11325 formmating, methods signature, and adds missing events
11327 2004-08-24 12:24 jordi
11329 * Control.cs: fire OnEnabledChanged event
11331 2004-08-24 11:17 pbartok
11334 - Implemented SetTimer() and KillTimer()
11336 2004-08-24 11:16 pbartok
11339 - Now uses Remove instead of Add to kill the timer
11341 2004-08-24 10:16 jackson
11343 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11344 picture boxes in the theme now. Draw picture box borders and obey
11347 2004-08-24 05:49 jackson
11349 * Timer.cs: Remove top secret debugging code
11351 2004-08-24 05:34 jackson
11353 * PictureBox.cs: Temp hack to make picture boxes draw their full
11356 2004-08-24 05:29 jackson
11358 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11359 XplatUIX11.cs: Move timers to the driver level. On X they are
11360 queued by the driver and checked on idle.
11362 2004-08-24 01:07 jackson
11364 * XplatUIX11.cs: Use a queue for async messages instead of passing
11365 them as ClientMessages since that was totally broken. Also simply
11366 check for events and return an idle message if none are found. This
11367 gives us an idle handler, and prevents deadlocking when no messages
11370 2004-08-23 18:19 ravindra
11372 * XplatUIWin32.cs: Removed the unwanted destructor.
11374 2004-08-23 17:27 pbartok
11377 - Finishing touches. Works now, just needs some optimizations.
11379 2004-08-23 16:53 jordi
11381 * ScrollBar.cs: small fix
11383 2004-08-23 16:45 pbartok
11386 - Removed debug output
11389 2004-08-23 16:43 jordi
11391 * ScrollBar.cs: [no log message]
11393 2004-08-23 16:10 pbartok
11396 - Fixed handling of WM_CLOSE message
11397 - Removed debug output
11399 2004-08-23 16:09 pbartok
11402 - Added handling of Idle event
11403 - Added handling of form closing
11404 - Fixed reporting of MessageLoop property
11405 - Removed some unneeded code, should provide a bit of a speedup
11407 2004-08-23 15:22 pbartok
11410 - Added InitLayout() method
11411 - Added code to properly perform layout when Anchor or Dock property
11413 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11414 LAMESPEC, tried to do it in a way that makes sense
11416 2004-08-23 14:10 jordi
11418 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11419 properties and methods
11421 2004-08-23 13:55 pbartok
11424 - Properly fixed Jordi's last fix
11425 - Now uses Cursor's Position property instead of calling XplatUI
11428 2004-08-23 13:44 jordi
11430 * PaintEventHandler.cs: Adding missing attribute
11432 2004-08-23 13:39 pbartok
11435 - Implemented Position property
11437 2004-08-23 13:39 pbartok
11439 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11440 - Added method to move mouse cursor
11442 2004-08-23 13:39 pbartok
11445 - Fixed setting of background color
11446 - Added method to move mouse cursor
11448 2004-08-23 13:16 jordi
11450 * Control.cs: avoids null exception
11452 2004-08-22 17:46 jackson
11454 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11457 2004-08-22 17:40 jackson
11459 * XplatUIX11.cs: Add some missing locks
11461 2004-08-22 15:10 pbartok
11463 * Control.cs, Form.cs:
11464 - Removed OverlappedWindow style from Control, instead it's default
11466 - Made form windows OverlappedWindow by default
11468 2004-08-22 13:34 jackson
11470 * ScrollBar.cs: Update the position through the Value property so
11471 the OnValueChanged event is raised.
11473 2004-08-22 12:04 pbartok
11476 - Added Cursor.cs and UserControl.cs
11478 2004-08-22 12:03 pbartok
11481 - Started implementation, not usable yet
11483 2004-08-22 12:00 pbartok
11486 - Implemented UserControl (complete)
11488 2004-08-21 19:20 ravindra
11490 * ToolBar.cs: Correcting the formatting mess of VS.NET.
11492 2004-08-21 18:49 ravindra
11494 * ToolBar.cs: Probably this completes the missing attributes in
11497 2004-08-21 18:03 ravindra
11499 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11500 Fixed toolbar control signatures.
11502 2004-08-21 16:32 pbartok
11507 2004-08-21 16:30 pbartok
11512 2004-08-21 16:19 pbartok
11514 * Control.cs, Label.cs:
11517 2004-08-21 15:57 pbartok
11520 - Added loads of debug output for development
11521 - Fixed typo in method name
11523 2004-08-21 15:52 pbartok
11525 * ToolBarButtonClickEventArgs.cs:
11526 - Added missing base class
11528 2004-08-21 14:53 pbartok
11531 - Updated to match new GrabWindow signature
11533 2004-08-21 14:51 pbartok
11535 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11536 - Added method to get default display size
11538 2004-08-21 14:23 pbartok
11540 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11541 - Added method to query current grab state
11542 - Added argument to allow confining a grab to a window
11544 2004-08-21 14:22 pbartok
11547 - Added [Flags] attribute so that modifiers can be used in bitwise
11550 2004-08-21 14:21 pbartok
11552 * TrackBar.cs, ScrollBar.cs:
11553 - Replaced direct XplatUI calls with their Control counterpart
11555 2004-08-21 13:32 pbartok
11558 - Implemented Created property
11560 2004-08-21 13:28 pbartok
11563 - Implemented ContainsFocus
11565 2004-08-21 13:26 pbartok
11568 - Implemented CausesValidation
11570 2004-08-21 13:21 pbartok
11573 - Implemented CanFocus
11574 - Implemented CanSelect
11575 - Implemented Capture
11577 2004-08-21 12:35 pbartok
11580 - Fixed bug with Async message handling
11581 - Implemented getting the ModifierKeys
11583 2004-08-21 12:32 jackson
11585 * AsyncMethodResult.cs: Make sure we have the mutex before we
11586 release it. Fixes BeginInvoke on windows
11588 2004-08-21 11:31 pbartok
11590 * XplatUIWin32.cs, XplatUIX11.cs:
11591 - Drivers now return proper mouse state
11593 2004-08-21 10:54 jackson
11595 * Control.cs: Implement EndInvoke
11597 2004-08-21 10:48 jackson
11599 * Timer.cs: Remove unneeded finalizer
11601 2004-08-20 19:52 ravindra
11603 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11604 in mouse event handling in the ToolBar control.
11606 2004-08-20 19:50 ravindra
11608 * ImageList.cs: Changed draw method to use the arguments passed in
11611 2004-08-20 18:58 pbartok
11613 * XplatUIStructs.cs:
11614 - Added private message for async communication
11616 2004-08-20 17:38 ravindra
11618 * Control.cs: Made RightToLeft property virtual and removed a
11621 2004-08-20 14:39 jordi
11623 * ThemeGtk.cs: use style_attach
11625 2004-08-20 14:39 pbartok
11628 - Added jackson's Async code from X11 to Win32
11630 2004-08-20 14:09 pbartok
11633 - Added all new files
11635 2004-08-20 14:09 pbartok
11638 - Added call to set window background color
11640 2004-08-20 14:03 pbartok
11642 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11643 - Added method for setting the window background
11645 2004-08-20 14:02 pbartok
11648 - Added method for setting the background color
11649 - Added handling for erasing the window background
11651 2004-08-20 13:45 jordi
11653 * TrackBar.cs: fixes timer, new properties and methods
11655 2004-08-20 13:34 jackson
11657 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11660 2004-08-20 13:22 jackson
11662 * Timer.cs: Timer Tick events are now handed through Controls Async
11663 mechanism so the callbacks are executed in the same thread as X
11665 2004-08-20 13:19 jackson
11667 * XplatUIDriver.cs: Expose functionality to send async messages
11670 2004-08-20 13:18 jackson
11672 * Control.cs: Implement Begininvoke
11674 2004-08-20 13:14 jackson
11676 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11677 messages through the driver
11679 2004-08-20 13:12 jackson
11681 * XplatUIX11.cs: Lock before all X operations. Also added Async
11682 method functionality through XSendEvent
11684 2004-08-20 13:11 jackson
11686 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11687 This will screw up on 64 bit systems)
11689 2004-08-20 13:10 jackson
11691 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11692 Async messages through X/Win32
11694 2004-08-19 19:39 pbartok
11697 - Updated code to match new HandleData.DeviceContext type
11699 2004-08-19 19:38 pbartok
11702 - Made DeviceContext a generic object to allow usage from various
11704 - Added support for queueing Windows messages
11706 2004-08-19 19:37 pbartok
11709 - Added generation of MouseEnter, MouseLeave and MouseHover events
11710 - Added cleanup on EndPaint
11712 2004-08-19 19:17 pbartok
11715 - Added handling of WM_MOUSEHOVER
11716 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11719 2004-08-19 18:55 jordi
11721 * ThemeGtk.cs: fixes button order
11723 2004-08-19 18:12 jordi
11725 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11727 2004-08-19 17:09 pbartok
11730 - Added Right property
11731 - Added RightToLeft property
11733 2004-08-19 16:27 jordi
11735 * ThemeGtk.cs: experimental GTK theme support
11737 2004-08-19 16:26 jordi
11739 * ITheme.cs, Theme.cs: move themes from an interface to a class
11741 2004-08-19 16:25 jordi
11743 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11746 2004-08-19 16:04 pbartok
11749 - Added colormap basics
11750 - Added a way to re-initialize with a different display handle
11751 - Fixed setting of the window background color
11752 - Added various X11 imports related to colors and colormaps
11754 2004-08-19 15:51 pbartok
11757 - Removed packing hints (Paolo suggested this a while back)
11758 - fixed colormap type
11759 - Added default Atom types
11760 - Added Screen and color structs and enums
11762 2004-08-19 15:39 pbartok
11765 - Added missing Draw() method
11766 - Added missing RecreateHandle event
11768 2004-08-19 15:30 pbartok
11771 - Added handling of WM_CLOSE
11773 2004-08-18 13:16 jordi
11775 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11778 2004-08-18 09:56 jordi
11780 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11782 2004-08-17 15:31 ravindra
11784 * SWF.csproj: Updated project.
11786 2004-08-17 15:25 pbartok
11789 - Drawing improvement; don't call UpdateBounds if we are not visible
11790 (or have been minimized)
11792 2004-08-17 15:24 pbartok
11795 - Finished IsVisible
11796 - Added Win32GetWindowPlacement
11798 2004-08-17 15:08 jackson
11800 * Panel.cs: Initial checkin of the Panel
11802 2004-08-17 14:25 pbartok
11805 - Fixed broken handling of default window sizes
11807 2004-08-17 13:29 jackson
11809 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11810 has a large startup time.
11812 2004-08-17 10:25 jackson
11814 * HandleData.cs: union areas properly
11816 2004-08-17 10:12 jackson
11818 * HandleData.cs: union areas properly
11820 2004-08-16 20:00 ravindra
11822 * ToolBar.cs, ToolBarButton.cs: Added attributes.
11824 2004-08-16 18:48 ravindra
11826 * ToolBar.cs: Added attributes.
11828 2004-08-16 17:17 ravindra
11830 * SWF.csproj: Updated project.
11832 2004-08-16 17:16 jackson
11834 * XplatUIX11.cs: Check for more expose events before sending a
11835 WM_PAINT so they can all be grouped together. This makes dragging a
11836 window across another window redraw in a sane way.
11838 2004-08-16 15:47 pbartok
11841 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11842 support OnMouseEnter/Leave()
11843 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11846 2004-08-16 15:46 pbartok
11848 * XplatUIStructs.cs, XplatUIX11.cs:
11849 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11850 OnMouseEnter/Leave()
11852 2004-08-16 15:34 jackson
11854 * XplatUIX11.cs: Group multiple expose events in HandleData, make
11855 sure messages get the message field set to WM_NULL if they are not
11858 2004-08-16 15:24 jackson
11860 * HandleData.cs: HandleData is used for storing message information
11863 2004-08-15 17:23 ravindra
11865 * ColorDepth.cs: Added attribute.
11867 2004-08-15 17:23 ravindra
11869 * SWF.csproj: Updated project for ToolBar Control.
11871 2004-08-15 17:20 ravindra
11873 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11874 control and also dos2unix format.
11876 2004-08-15 17:13 ravindra
11878 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11879 ToolBarButtonClickEventArgs.cs,
11880 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11881 ToolBarTextAlign.cs: First Implementation of ToolBar control.
11883 2004-08-15 15:31 pbartok
11886 - First (mostly) working version
11888 2004-08-13 16:15 pbartok
11891 - Fixed Anchor default
11893 2004-08-13 15:43 pbartok
11896 - Changed GetCursorPos signature
11898 2004-08-13 15:42 pbartok
11900 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11901 - Changed signature for GetCursorPos
11903 2004-08-13 15:25 pbartok
11907 - Fixed resizing/exposure handling
11909 2004-08-13 15:22 jordi
11911 * ThemeWin32Classic.cs: removes redundant code and fixes issues
11914 2004-08-13 14:55 jordi
11916 * TrackBar.cs: change from wndproc to events
11918 2004-08-13 13:00 jordi
11920 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11921 XplatUIX11.cs: implements PointToClient (ScreenToClient)
11923 2004-08-13 12:53 pbartok
11926 - Changed GetWindowPos to also provide client area size
11927 - Fixed broken prototypes for several win32 functions
11929 2004-08-13 12:53 pbartok
11931 * XplatUI.cs, XplatUIDriver.cs:
11932 - Changed GetWindowPos to also provide client area size
11934 2004-08-13 12:52 pbartok
11937 - Added generation of WM_POSCHANGED
11938 - Changed GetWindowPos to also provide client area size
11940 2004-08-13 12:52 pbartok
11943 - Added Dispose() and destructor
11944 - Fixed resizing and bounds calculation
11946 - Added memory savings for invisible windows
11948 2004-08-13 12:46 jordi
11950 * TrackBar.cs: adds timer and grap window
11952 2004-08-13 10:25 jackson
11954 * Timer.cs: SWF Timer
11956 2004-08-12 16:59 pbartok
11958 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11959 - Implemented method to get current mouse position
11961 2004-08-12 14:29 jordi
11963 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11964 enhancement, fix mouse problems, highli thumb, etc
11966 2004-08-12 13:31 pbartok
11969 - Fixed Anchoring bugs
11971 2004-08-12 13:01 jackson
11973 * StatusBar.cs: Don't forget things
11975 2004-08-12 12:54 jackson
11977 * ThemeWin32Classic.cs: Handle owner draw status bars
11979 2004-08-12 12:54 jackson
11981 * StatusBar.cs: Implement missing properties, events, and methods.
11982 Handle mouse clicking
11984 2004-08-12 10:19 jackson
11986 * StatusBarPanelClickEventArgs.cs,
11987 StatusBarPanelClickEventHandler.cs: Classes for handling status
11988 bar panel click events
11990 2004-08-12 10:10 jackson
11992 * Control.cs: Add missing properties
11994 2004-08-12 09:46 pbartok
11996 * BindingsManagerBase.cs:
11997 - Name changed to BindingManagerBase.cs
11999 2004-08-12 09:25 jordi
12001 * ScrollableControl.cs: calls ctrlbase instead of exeception
12003 2004-08-11 16:28 pbartok
12005 * InputLanguageChangingEventArgs.cs:
12006 - Never check in before compiling. Fixes the last check-in
12008 2004-08-11 16:26 pbartok
12010 * InputLanguageChangingEventArgs.cs:
12011 - More signature fixes
12013 2004-08-11 16:20 pbartok
12015 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12016 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12017 ImageListStreamer.cs, InputLanguage.cs,
12018 InputLanguageChangedEventArgs.cs,
12019 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12020 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12021 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12022 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12025 2004-08-11 16:16 pbartok
12029 - Added .Net 1.1 method
12031 2004-08-11 15:25 pbartok
12034 - Fixed BindingManagerBase.cs filename
12036 2004-08-11 15:22 pbartok
12038 * BindingManagerBase.cs:
12039 - Was checked in with wrong filename
12041 2004-08-11 14:50 pbartok
12046 2004-08-11 13:41 jordi
12048 * XplatUIWin32.cs: Fixes ClientRect
12050 2004-08-11 13:19 pbartok
12052 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12054 - We had SetWindowPos and MoveWindow to set window positions and
12055 size, removed MoveWindow. We have GetWindowPos, so it made sense to
12056 keep SetWindowPos as matching counterpart
12057 - Added some X11 sanity checking
12059 2004-08-11 12:59 pbartok
12062 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12063 (It seems that SetBounds is just a front for SetBoundsCore and
12064 SetBoundsCore updates the underlying window system and
12065 UpdateBounds is responsible for updating the variables associated
12066 with the Control and sending the events)
12067 - Major cleanup of Size handling; we now have two sizes, client_size
12068 and bounds. Bounds defines the window with decorations, client_size
12071 2004-08-11 12:55 pbartok
12073 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12074 - Added method to calculate difference between decorated window and
12077 2004-08-11 12:54 pbartok
12080 - Forcing redraw on resize
12082 2004-08-11 11:43 pbartok
12085 - Removed disposing of the actual images when the list is disposed
12087 2004-08-11 09:13 pbartok
12090 - Now properly reparents windows
12092 2004-08-11 08:37 pbartok
12097 2004-08-11 07:47 pbartok
12100 - Rewrote the collection stuff. Might not be as fast now, not
12101 keeping the number of children around and accessible directly, but
12102 it's more straightforward
12104 2004-08-11 07:44 pbartok
12106 * AccessibleObject.cs:
12107 - Fixed to match ControlCollection rewrite
12109 2004-08-11 07:43 pbartok
12112 - Added missing creation of the collection list
12114 2004-08-10 20:08 jackson
12116 * StatusBar.cs: Get the paint message from WndProc
12118 2004-08-10 19:31 jackson
12120 * ThemeWin32Classic.cs: Create Brushes as little as possible
12122 2004-08-10 19:20 jackson
12124 * UICues.cs: Add Flags attribute
12126 2004-08-10 19:19 jackson
12128 * StatusBarPanel.cs: Signature cleanup
12130 2004-08-10 19:10 jackson
12132 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12133 Initial implementation of status bar item drawing
12135 2004-08-10 17:27 jordi
12137 * TrackBar.cs: add missing methods, properties, and restructure to
12140 2004-08-10 16:24 jackson
12142 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12143 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12146 2004-08-10 13:21 jordi
12148 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12149 enhancements and standarize on win colors defaults
12151 2004-08-10 12:52 jackson
12153 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12154 ThemeWin32Classic.cs: Implement DrawItem functionality
12156 2004-08-10 12:47 jordi
12158 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12160 2004-08-10 12:32 jordi
12162 * Control.cs: throw ontextchange event
12164 2004-08-10 11:43 pbartok
12167 - Added more to the still unfinished Dock/Anchor layout code
12169 2004-08-10 11:39 pbartok
12171 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12172 - Added GetWindowPos method
12174 2004-08-10 11:36 pbartok
12177 - Implemented several methods
12179 2004-08-10 09:47 jackson
12181 * TrackBar.cs: Allow control to handle buffering
12183 2004-08-10 09:41 jackson
12185 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12187 2004-08-10 09:24 jackson
12189 * Label.cs, LinkLabel.cs: Let Control handle buffering.
12191 2004-08-10 09:09 jackson
12193 * StatusBar.cs: Let Control handle all the buffering.
12195 2004-08-10 09:08 jackson
12197 * Control.cs: Control will now handle the buffering code, so each
12198 control does not have to implement this.
12200 2004-08-10 08:34 jackson
12202 * XplatUIDriver.cs: Use default colors from the theme
12204 2004-08-09 17:12 pbartok
12207 - Fixed several bugs Ravindra pointed out
12209 2004-08-09 16:11 pbartok
12212 - Added incomplete dock layout code
12213 - Added support for mouse wheel
12215 2004-08-09 16:09 pbartok
12218 - Added handling for middle and right mousebutton
12219 - Added handling for mouse wheel
12220 - Added handling for key state and mouse state and position
12221 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12224 2004-08-09 15:40 jackson
12226 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12227 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12230 2004-08-09 15:37 jackson
12232 * StatusBar.cs: Initial implementation of StatusBar
12234 2004-08-09 15:36 jackson
12236 * ITheme.cs: Add support for drawing status bar and getting status
12239 2004-08-09 15:35 pbartok
12244 2004-08-09 15:34 jackson
12246 * ThemeWin32Classic.cs: Add support for drawing status bar and get
12247 status bar item sizes
12249 2004-08-09 15:21 jackson
12251 * ThemeWin32Classic.cs: Use known colors for default control
12254 2004-08-09 15:12 jackson
12256 * ThemeWin32Classic.cs: Make the default font static, it is static
12257 in control so this doesn't change functionality and creating fonts
12260 2004-08-09 14:56 pbartok
12263 - Added GrabMode enum
12265 2004-08-09 14:55 pbartok
12267 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12268 - Removed Run method, was only required for initial development
12270 2004-08-09 14:51 pbartok
12272 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12273 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12276 2004-08-09 13:48 pbartok
12279 - Fixed default sizing for child windows
12281 2004-08-09 12:56 pbartok
12284 - Added generation of WM_DESTROY message
12285 - Added handling of window manager induced shutdown
12287 2004-08-09 11:31 jackson
12289 * ThemeWin32Classic.cs: New names for control properties
12291 2004-08-09 11:25 jackson
12293 * Control.cs: Use new color names
12295 2004-08-09 11:02 jackson
12297 * XplatUI.cs: Get default window properties from the theme
12299 2004-08-09 11:01 jackson
12301 * ITheme.cs: The theme engine now controls default window
12304 2004-08-09 11:00 jackson
12306 * ThemeWin32Classic.cs: Add default window color properties
12308 2004-08-09 10:17 jackson
12310 * ThemeWin32Classic.cs: Use correct default back color
12312 2004-08-09 10:05 jackson
12314 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12317 2004-08-09 09:56 jackson
12319 * XplatUI.cs: Remove defaults, these are handled by the theme now.
12321 2004-08-09 09:54 jackson
12323 * Control.cs: Get default properties from the theme.
12325 2004-08-09 09:53 jackson
12327 * ITheme.cs: Themes now handle default control properties
12329 2004-08-09 09:53 jackson
12331 * ThemeWin32Classic.cs: Themes now handle default control
12332 properties so coloring will be consistent
12334 2004-08-08 16:54 jordi
12336 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12338 2004-08-08 15:08 jordi
12340 * XplatUIX11.cs: fixes keyboard crash
12342 2004-08-08 13:47 jordi
12344 * Label.cs: add cvs header info
12346 2004-08-08 12:09 jackson
12348 * ThemeWin32Classic.cs: Add pen_buttonface
12350 2004-08-08 11:52 jordi
12352 * Label.cs, LinkLabel.cs: [no log message]
12354 2004-08-08 11:34 jordi
12356 * ThemeWin32Classic.cs: Use Windows Standard Colours
12358 2004-08-07 17:32 jordi
12360 * TrackBar.cs: throw exceptions of invalid enums values
12362 2004-08-07 17:31 jordi
12364 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12367 2004-08-07 16:56 jackson
12369 * HorizontalAlignment.cs: Initial checkin
12371 2004-08-07 13:16 jordi
12373 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12376 2004-08-07 13:05 jordi
12378 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12379 GetSysColor defines
12381 2004-08-06 18:01 pbartok
12383 * ThemeWin32Classic.cs:
12384 - Fixed some rounding issues with float/int
12386 2004-08-06 18:00 jackson
12388 * DockStyle.cs, AnchorStyles.cs:
12390 Add flags and serializable attributes.
12392 2004-08-06 17:46 pbartok
12395 - Implemented GetParent
12397 2004-08-06 17:18 pbartok
12400 - Fixed some rounding issues with float/int
12402 2004-08-06 17:17 pbartok
12404 * X11Structs.cs, XplatUIX11.cs:
12405 - Fixed Refresh and Invalidate
12407 2004-08-06 15:30 pbartok
12409 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12410 - Fixed recursive loop when resizing
12411 - Improved/fixed redrawing on expose messages
12413 2004-08-06 09:53 jordi
12415 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12416 keyboard navigation
12418 2004-08-06 08:02 pbartok
12420 * X11Structs.cs, XplatUIX11.cs:
12421 - Fixed reparenting
12422 - Fixed window border creation
12424 2004-08-05 15:38 pbartok
12427 - Attempted fix for reparenting problems
12429 2004-08-04 15:14 pbartok
12432 - Fixed Invalidation bug (calculated wrong client area)
12433 - Added ClientSize setter
12435 2004-08-04 15:13 pbartok
12438 - Added AutoScale properties
12440 2004-08-04 15:13 pbartok
12443 - Added latest files
12445 2004-08-04 14:11 pbartok
12447 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12449 - Added Invalidate handling
12451 2004-08-03 17:09 jordi
12453 * XplatUIDriver.cs: fixes spelling mistake
12455 2004-07-27 09:53 jordi
12457 * TrackBar.cs: fixes trackbar events, def classname, methods
12460 2004-07-27 09:29 jordi
12462 * ScrollBar.cs: fixes scrollbar events
12464 2004-07-27 04:38 jordi
12466 * Control.cs: changes to be able to run winforms samples
12468 2004-07-26 11:42 jordi
12470 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12471 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12473 2004-07-26 05:41 jordi
12475 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12476 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12479 2004-07-22 09:22 jordi
12481 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12482 check link overlapping, implement events, and fixes
12484 2004-07-21 10:28 jordi
12486 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12488 2004-07-21 10:19 jordi
12490 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12491 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12492 LinkLabelLinkClickedEventArgs.cs,
12493 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12494 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12497 2004-07-19 13:09 jordi
12499 * Control.cs, Label.cs: label control re-written: added missing
12500 functionlity, events, and properties
12502 2004-07-19 10:49 jordi
12504 * Control.cs: fixes SetBounds logic
12506 2004-07-19 01:29 jordi
12508 * Control.cs: Call RefreshWindow only if the window has created
12510 2004-07-15 14:05 pbartok
12512 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12513 - Implemented ImageList and ImageList.ImageCollection classes
12514 - Added ColorDepth enumeration
12515 - Updated SWF VS.Net project
12517 2004-07-15 11:06 jordi
12519 * XplatUIStructs.cs: added MsgButons enum
12521 2004-07-15 11:03 jordi
12523 * Control.cs: added basic mouse handeling events
12525 2004-07-15 03:38 jordi
12527 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12528 Vertical TrackBar control implementation
12530 2004-07-13 09:33 jordi
12532 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12534 2004-07-13 09:31 jordi
12536 * Control.cs, Form.cs: commit: new properties and fixes form size
12539 2004-07-09 14:13 miguel
12541 * ProgressBar.cs: Spelling
12543 2004-07-09 11:25 pbartok
12546 - Removed usage of Rectangle for drawing. Miguel pointed out it's
12549 2004-07-09 11:17 miguel
12551 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
12553 * ProgressBar.cs: Fixed spelling for `block'
12555 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12558 Avoid using the += on rect.X, that exposed a bug in the compiler.
12560 2004-07-08 23:21 pbartok
12562 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12563 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12564 BaseCollection.cs, Binding.cs, BindingContext.cs,
12565 BindingMemberInfo.cs, BindingsCollection.cs,
12566 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12567 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12568 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12569 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12570 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12571 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12572 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12573 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12574 FrameStyle.cs, GiveFeedbackEventArgs.cs,
12575 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12576 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12577 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12578 InputLanguageChangedEventArgs.cs,
12579 InputLanguageChangedEventHandler.cs,
12580 InputLanguageChangingEventArgs.cs,
12581 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12582 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12583 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12584 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12585 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12586 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12587 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12588 QueryAccessibilityHelpEventArgs.cs,
12589 QueryAccessibilityHelpEventHandler.cs,
12590 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12591 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12592 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12593 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12594 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12595 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12596 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12597 XplatUIX11.cs, lang.cs: