1 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
3 * Control.cs (PaintControlBackground): Set the graphics object
4 on our PaintEvent to null to prevent it from being disposed
5 when the PaintEvent gets disposed
7 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
9 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
11 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
14 - Added transparency check to BackColor property. Transparent
15 backgrounds are only allowed if the control styles permit it
16 - Added recursive painting of parent control background and
17 foreground if a control with a transparent backcolor is drawn
18 (Thanks to Tim Ringenback for providing his 'hack' as a base
19 for this patch) Fixes #77985 and #78026.
20 - Added Opaque style check before calling OnPaintBackground, no
21 need to draw the background if the control is opaque
22 - Removed ControlAccessibleObject owner variable (inherited from
23 base, no need to define again)
24 - Added some documentation links explaining the drawing events
27 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
29 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
30 that the affected control is the located at the left border of our
33 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
35 * TextBoxBase.cs: When rendering disabled or readonly controls,
36 draw the background with 'Control' instead of 'Window' color as
37 long as the user hasn't specifically set a color
39 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
41 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
42 since that won't be updated if the user types text (only if it's
45 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
47 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
48 layout changes do to app-triggered resizes will have the proper
49 display rectangle for layout
51 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
53 * ThemeWin32Classic.cs:
54 - Make use of the SystemBrushes and SystemPens wherever possible
55 - Corrected some highlight colors
56 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
58 * Theme.cs: Added Empty field to CPColor struct
60 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
62 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
63 is displayed when calculating the display rectangle. Thanks to Mike
64 for teaching me the err of my ways.
66 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
68 * ScrollableControl.cs:
69 - Rewrote DisplayRectangle code, now returning the proper x/y coords
70 (instead of 0,0) and we now return the real width/height instead of
71 just the clientrectangle, adjusted for padding. The rectangle is
72 now cached and created by the new CalculateDisplayRectangle method.
73 - Created new CalculateDisplayRectange method, which basically does
74 what get_DisplayRectangle() did originally, but now using the
75 right edge instead of DisplayRectangle to determine the size of
77 - get_Canvas(): Fixed it to properly calculate canvas for
78 right/bottom controls which seem to be placed to the right/bottom
79 of any controls that have a fixed location
80 - Removed TODO that's taken care of
81 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
82 and SetDisplayRectLocation according to new MSDN2 docs
83 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
84 event when that is called, this is added for compatibility
85 - ScrollControlIntoView(): Implemented.
86 - Switched scrollbars to be implicit, they shouldn't be selectable
87 * ContainerControl: Now that ScrollControlIntoView is implemented, we
88 call it when the active control is set/changed
89 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
90 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
91 implicit_control variable (used for native Win32 message generation)
92 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
93 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
94 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
95 * XplatUIStructs.cs: Added ScrollBarCommands enum
97 2006-04-10 Jackson Harper <jackson@ximian.com>
107 * PrintPreviewControl.cs:
113 * UpDownBase.cs: Fixup base event overrides.
115 2006-04-06 Mike Kestner <mkestner@novell.com>
117 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
118 all user-initiated value changes to min <= value <= max-thumbsz+1.
119 (set_Value): check for vert/horiz when calculating new thumb position.
120 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
122 (OnMouseMoveSB): refactor the thumb dragging code and refine
123 invalidation logic to reduce flicker.
124 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
125 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
126 (UpdateThumbPosition): small code readability cleanup
128 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
130 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
133 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
135 * ThemeNice.cs: Use a better graphics effect when a button is pressed
137 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
139 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
140 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
141 This dramatically reduces the number of Pen.Dispose calls.
142 Where possible call ResPool methods only once instead of calling it
143 over and over again (for example for the same color).
145 2006-04-06 Mike Kestner <mkestner@novell.com>
147 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
148 Also remove an unused private field on the collection. Fixes #77972.
150 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
152 * ThemeNice.cs: Added ToolBar drawing code
154 2006-04-06 Mike Kestner <mkestner@novell.com>
156 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
157 I'm assuming that means we need to look up the toplevel for the
158 provided control. Fixes the crash trace in #77911 but exposes another
159 crash in some strange reflection usage in NDocGui.
161 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
163 * ThemeNice.cs: Gave it a little silver touch and added Images
165 * FontDialog.cs: FontDialog is not resizable
166 * FileDialg.cs: Added SizeGripStyle.Show
168 2006-04-05 Jackson Harper <jackson@ximian.com>
170 * KeyboardLayouts.cs: Remove warning.
172 2006-04-05 Jackson Harper <jackson@ximian.com>
174 * Control.cs: Enable OnPaintInternal so we can use it for drawing
175 all of our controls instead of Paint +=.
190 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
191 use OnPaintInternal. Remove Width/Height and Visible checks in
192 paint handler, this is done at a higher level now.
193 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
194 * PaintEventArgs.cs: Add a handled flag so controls that don't
195 want anymore painting after OnPaintInternal can make sure OnPaint
198 2006-04-05 Mike Kestner <mkestner@novell.com>
200 * Form.cs: fix the menu WndProc hacks to respect the native enabled
201 state of the form, so that we don't process events when Modal dialogs
202 are up. Fixes #77922.
204 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
206 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
209 2006-04-05 Mike Kestner <mkestner@novell.com>
211 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
213 2006-04-05 Mike Kestner <mkestner@novell.com>
215 * ListView.cs (HeaderMouseMove): null guarding for the over column
216 when setting up the drag_to_index. Fixes #78015.
218 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
220 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
221 in the taskbar. Transient windows seem to accomplish that.
223 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
226 - Re-enabled CreateParams.X/Y code for FormStartPosition
227 - Added code for manual placement when creating the Control
228 - Incomplete patch to treat MDI forms differently when
229 setting the ClientSizeCore. (Still need to figure out handling
232 - When we're explicitly setting the X/Y position of a non-Child
233 window, let the WM know. Metacity really wants this.
235 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
237 * ThemeNice.cs: Added CPDrawButton
239 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
241 * ThemeNice.cs: Changed the color for focused buttons and activated
242 the arrows for small scroll buttons.
244 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
246 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
247 anymore. Changed some method modifiers to protected (virtual)
248 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
250 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
251 Updated drawing of menus, buttons and progressbars; added
254 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * ImageListStreamer.cs: implemented serialization/deserialization
259 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
261 * ThemeWin32Classic.cs:
262 - Removed all the DrawFrameControl stuff; CPDrawButton,
263 CPDrawCheckBox and CPDrawRadioButton are now handled directly
265 - Updated and corrected the drawing code of CPDrawButton,
266 CPDrawCheckBox and CPDrawRadioButton to better match ms
267 - Updated theme checkbox and radiobutton code to use the CP*
270 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
272 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
275 2006-03-31 Jackson Harper <jackson@ximian.com>
277 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
279 * UpDownBase.cs: Don't CreateGraphics manually, use a
280 Refresh. Ideally we would invalidate the correct areas here.
282 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
285 - We now track the mapping state of windows. If a window (or
286 one of it's parents) is not mapped we no longer permit
287 WM_PAINT messages to be generated since we'd otherwise get
288 lots of BadMatch X errors. Jackson did all the work figuring
290 - Destroying the caret if the window it's contained in is
291 destroyed. Can't use regular DestroyCaret method since it
292 might fall into a drawing function (trying to remove the
293 caret) and with that generate new BadMatch errors. Again,
294 Jackson tracked this down.
295 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
296 make sure we send the messages to all windows. (The old code
297 would send the WM_DESTROY to the window, and then all child
298 windows would be 'gone' because the WM_DESTROY handle lookup
299 would no longer find the destroyed window)
300 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
301 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
303 2006-03-31 Jackson Harper <jackson@ximian.com>
305 * ScrollableControl.cs: Dont recalc if we are not visible.
307 2006-03-31 Mike Kestner <mkestner@novell.com>
309 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
310 the visibility branch.
312 2006-03-31 Jackson Harper <jackson@ximian.com>
314 * ScrollBar.cs: Cap values when incrementing/decrementing.
316 2006-03-31 Mike Kestner <mkestner@novell.com>
318 * MenuAPI.cs: setup menu.tracker for popup/context menus.
319 * ToolTip.cs: guard against timer expirations with no active control.
320 Not sure why it happened.
322 2006-03-31 Mike Kestner <mkestner@novell.com>
324 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
326 * ToolTip.cs: Position the tooltip based on where the cursor is at
327 popup time, not at MouseEnter time. Add a Down state so that we don't
328 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
329 positioning offset. Lookup DisplaySize at positioning time, since it
330 can theoretically change during invocation.
331 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
332 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
334 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
336 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
337 Fixes behaviour when the Text property of the box is String.Empty
339 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
341 * XplatUIX11.cs: Only send mouseleave for our client windows, not
342 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
345 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
347 * FileDialog.cs: Visual enhancement for the popup buttons in
350 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
352 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
355 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
357 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
358 highlighted menu items to match ms
360 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
362 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
364 2006-03-30 Mike Kestner <mkestner@novell.com>
366 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
367 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
368 go active to account for HotLight to Selected transition.
369 * MenuItem.cs: add internal Selected prop. Fill out the Status
370 property by calculating it from item info. Add HotLight,
371 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
373 2006-03-30 Mike Kestner <mkestner@novell.com>
375 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
377 2006-03-29 Jackson Harper <jackson@ximian.com>
379 * Form.cs: Implement TODO.
381 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
383 * PrintPreviewDialog.cs: Implemented missing methods and events; still
384 missing proper dialog setup in the constructor
386 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
388 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
390 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
391 - Fixed ResetBindings and removed TODO
392 - Added check for cross-thread calls to get_Handle()
393 - Added Marshaller attribute for set_Font to satisfy class status
394 * FontDialog.cs: Removed TODOs that seemed implemented
395 * UpDownBase.cs: Removed unneeded TODO and Fixme
396 * MessageBox.cs: Implemented support for Default button and removed TODO
397 * FileDialog.cs: Removed obsolete TODO
398 * DomainUpDown.cs: Removed obsolete TODO
399 * ButtonBase.cs: Removed obsolete TODO
400 * XplatUIWin32.cs: Removed obsolete TODO
402 - Removed obsolete TODO
403 - Calling CheckAcceptButton when the acceptbutton is changed to allow
404 internal status updates
405 - Making sure the active control is selected when the control is created
406 * CurrencyManager.cs: Removed obsolete TODO
408 2006-03-29 Mike Kestner <mkestner@novell.com>
410 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
411 of PrintPreviewDialog and RichTextBox.
413 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
415 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
416 DarkDark, Light and LightLight colors for a specific color
417 * ThemeWin32Classic.cs:
418 - Use Button drawing code to draw RadioButtons and CheckBoxes with
420 - Make use of the new ResPool helper CPColor
421 - Draw ProgressBar and StatusBar with correct 3D borders
423 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
425 * ColorDialog.cs: Return selected color. Fixes bug #77940.
427 2006-03-28 Mike Kestner <mkestner@novell.com>
429 * ListView.cs: fix Icon layout to plan for scrollbar widths when
430 calculating col/row counts.
432 2006-03-28 Mike Kestner <mkestner@novell.com>
438 switch to explicit interface method implementation for some methods
439 corcompare identifies as inconsistent with MS.
441 2006-03-28 Mike Kestner <mkestner@novell.com>
445 add a few missing methods from the class status output.
447 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
449 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
452 2006-03-28 Mike Kestner <mkestner@novell.com>
454 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
456 2006-03-27 Mike Kestner <mkestner@novell.com>
458 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
459 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
461 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
463 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
465 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
467 * ThemeWin32Classic.cs:
468 - GroupBox: Inserted a little gap between the text and the lines
470 - Made the code in CPDrawBorder3D more readable
471 - Corrected the drawing location of the up and down arrows in
474 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
476 * ControlPaint.cs: Corrected line widths in DrawBorder for
477 ButtonBorderStyle Inset and Outset
479 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
481 * ThemeWin32Classic.cs:
482 - Rewrote the totally broken CPDrawBorder3D method. That was
483 one of the main problems for the terrific ThemeWin32Classic
485 - Updated and corrected Button drawing
486 - Correct the dimensions of the SizeGrip to match ms ones
487 - Removed a small drawing glitch in DrawComboBoxEditDecorations
488 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
489 Border3DStyle.Sunken to match ms.
491 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
493 * ThemeWin32Classic.cs: First small part of the "de-uglify
494 ThemeWin32Classic" effort, SizeGrip
496 2006-03-24 Jackson Harper <jackson@ximian.com>
498 * XplatUIX11.cs: Give a max idle time of one second, this matches
499 MS and forces an Idle event every second when there are no other
502 2006-03-24 Mike Kestner <mkestner@novell.com>
504 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
505 * ListView.Item.cs: fix layout issues with null image lists and images
506 smaller than checkbox size.
507 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
508 mode like MS does. It's weird, but consistent. ;-)
511 2006-03-24 Mike Kestner <mkestner@novell.com>
513 * ListView.cs: Scroll wheel support for the item control. Fixes
516 2006-03-23 Jackson Harper <jackson@ximian.com>
518 * ScrollableControl.cs: Special case negative sized areas, not
520 * MonthCalendar.cs: Save the rect of the clicked date so we can
521 use it for invalidation.
522 - Try to cut down on the number of invalidates
523 - Invalidate the rect the mouse is over and was over when moving
524 the mouse, so we get the focus box following the cursor.
526 2006-03-23 Mike Kestner <mkestner@novell.com>
528 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
529 focus rectangle drawing. Fixes #77835.
531 2006-03-23 Mike Kestner <mkestner@novell.com>
533 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
534 the if and else if and reverting back to the original == check on the
537 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
539 * FontDialog.cs: Update the example panel if the selected index of
540 the fontListBox changes.
542 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
544 * FileDialog.cs: Make FileDialog remember which directory it was in
545 last in the same execution.
547 2006-03-22 Mike Kestner <mkestner@novell.com>
549 * FileDialog.cs: make the DropDownMenu on the toolbar display
550 RadioChecks since they are mutually exclusive and that's what MS does.
552 2006-03-22 Mike Kestner <mkestner@novell.com>
554 * Theme.cs: add Color param to CPDrawMenuGlyph.
555 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
556 checks and radio marks and arrows are visible on highlighted items.
557 * ControlPaint.cs: update to use new Theme signature.
559 2006-03-22 Mike Kestner <mkestner@novell.com>
561 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
562 is active. Fixes #77870.
564 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
566 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
567 to be focused/selected after startup
569 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
572 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
573 CustomColors and ShowHelp properties
574 - Some internal rewrites to get better results when using the
577 2006-03-22 Mike Kestner <mkestner@novell.com>
579 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
580 HoverSelection. Fixes #77836.
582 2006-03-22 Mike Kestner <mkestner@novell.com>
584 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
585 ToggleButtons. (De)Sensitize the Back button around a stack count of
586 1, not 0. Update ButtonSize based on a pixel count of the win32
587 control. Adjust the toolbar size/location for new button size.
589 2006-03-22 Jackson Harper <jackson@ximian.com>
591 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
593 * ScrollBar.cs: When doing increments and decrements we need to
594 set the Value property so that ValueChanged gets raised. A
595 possible optimization here would be to make an internal SetValue
596 that doesn't invalidate immediately.
597 * ToolTip.cs: Tooltips get added to their container (when
598 supplied) so they get disposed when the container is disposed.
599 - Don't create tooltips for String.Empty. This prevents all these
600 little 2-3 pixel windows from showing up when running nunit-gui
602 * Form.cs: Don't set topmost when setting the owner if the handles
603 haven't been created yet. The topmost set will happen when the
606 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
609 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
610 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
611 visible (to allow them to recalculate their sizes)
613 2006-03-21 Mike Kestner <mkestner@novell.com>
615 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
616 methods. Removed a ton of redundant code. Still not really happy with
617 the border rendering, but I think that's mainly because of the
618 ControlDarkDark being black instead of a dark grey. Depending on how
619 close we want to be, we might want to revisit those color choices.
620 Among the new features added during the refactor were DropDownArrow
621 pressed rendering, Disabled image rendering. Proper flat appearance
622 boundary rendering. Removed the Divider and Wrapping dividers since I
623 can't figure out any combination of themes and conditions to make the
624 MS control draw a horizontal line on a toolbar despite what the
625 Divider property docs indicate.
626 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
627 conditions and incorrect layout. Updated to coding standard.
628 * ToolBarButton.cs: refactored layout and positioning code from
629 ToolBar to here. Invalidate wherever possible instead of forcing
630 redraws of the whole toolbar.
631 (Known remaining issues: explicit ButtonSize smaller than provided
634 2006-03-21 Mike Kestner <mkestner@novell.com>
636 * ContextMenu.cs (Show): use the position parameter instead of just
637 showing at the MousePosition.
639 2006-03-21 Jackson Harper <jackson@ximian.com>
641 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
643 * TreeNodeCollection.cs: If we are clearing the root node we need
644 to reset top_node so calcs can still happen.
645 * ThemeWin32Classic.cs: This is a Flags so we need to check
648 2006-03-21 Jackson Harper <jackson@ximian.com>
650 * DataGrid.cs: Create columns when the binding context has been
652 * X11Structs.cs: Keysyms are uints.
653 - Add size to fix build.
655 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
657 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
659 - Added ResetMouseHover method to allow controls to retrigger
660 hovering if they need it more than once
661 - Implemented MouseHoverTime and MouseHoverSize properties
662 * Timer.cs: Start() must reset the interval
663 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
666 2006-03-21 Jackson Harper <jackson@ximian.com>
668 * X11Keyboard.cs: improved layout detection. Move the nonchar
669 tables into this file.
670 * KeyboardLayouts.cs: Move the tables into resource files.
672 2006-03-21 Mike Kestner <mkestner@novell.com>
674 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
676 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
678 * Mime.cs: Various speed optimizations. Looking up mime types
679 is now 2 times faster than before
681 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
683 * CreateParams.cs: Added internal menu field
685 - Switched call order for UpdateBounds; now we always call
686 the one that also takes ClientSize, and we're calculating the
687 client size via driver method in the others. The previous
688 method of tracking client size by difference wasn't working
689 for forms where even the starting client size wouldn't match
690 the overall form size (due to borders) (Part of fix for #77729)
691 - CreateParams(): Do not use parent.Handle unless the handle is
692 already created. Causes havoc with Nexxia and throws off our
695 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
696 - Switched handling of ConfigureNotify over to new PerformNCCalc
697 method (consolidates code)
698 - Changed RequestNCRecalc to use new PerformNCCalc method
699 - Added calls to RequestNCRecalc when menus and borders are changed
700 to allow app to set NC size. (Part of fix for #77729) This matches
701 when MS send a WM_NCRECALC on Win32 windows.
702 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
703 (Part of fix for #77729). This matches what MS does, they also
704 send that message when the form is made visible.
705 - XException.GetMessage: Improved usability of X errors by including
706 a translation of the window into Hwnd and Control class
707 - Improved debug info for window creation, reparenting and destruction
708 - Created helper method WindowIsMapped() [Currently not used]
709 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
711 - CreateParams: Now setting our menu on the new internal menu field
712 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
713 avoid calculating the same property twice
715 - Improved usability of ToString() for debugging purposes
716 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
717 determine the height of the menu, instead of just the font. This
718 required to also create a graphics context and to keep a bmp
719 around (for performance reasons)
721 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
723 * MenuAPI.cs: Added OnMouseUp method
725 - Now remembering the requested client size, avoids size errors
726 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
727 instead of base if the menu is active. This is required due to
728 control now capturing and releasing on down/up and it would
729 prematurely release our menu capture
731 2006-03-17 Jackson Harper <jackson@ximian.com>
733 * KeyboardLayouts.cs: Add the czech layouts.
735 2006-03-16 Jackson Harper <jackson@ximian.com>
737 * Control.cs: Use the viewport space when sizing not the controls
738 client size, so things like ScrollableControl that effect the
739 viewport size (when scrollbars are added) are computed correctly.
740 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
742 - Handle creating BindingManagers for null data sources.
743 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
744 source, otherwise when rows are added they are added to the 'fake'
745 datasource and we will crash when trying to set the position in
747 - Use Implicit scrollbars on the datagrid so they arent
750 2006-03-16 Jackson Harper <jackson@ximian.com>
753 * InternalWindowManager.cs:
754 * MdiWindowManager.cs:
755 * X11Keyboard.cs: I really want Mike to love me again (fix
758 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
761 - OnMouseDown: Switch to editing mode when clicking on the cell
762 even if we're clicking on the cell that's currently
764 - ProcessGridKey: Left/Right now wrap like MS.Net does
765 - ProcessGridKey: Tab now knows to add a new row when tab is
766 pressed in the cell of the last column of the
768 - ProcessGridKey: Enter now adds another row if pressed in the last
769 row and selectes the new row, same column cell
770 - ProcessGridKey: Home/End navigate columns, not rows, like
771 originally implemented
772 - Broke ProcessKeyPreview code out into an extra Internal method
773 so it can be called from the edit code
774 * DataGridTextBox.cs (ProcessKeyMessage):
775 - Switched to accept Tab keypresses
776 - Added F2 handling to allow jumping to the end of the edited cell
777 - Added logic to allow moving caret left/right inside edited cell
778 and making the edited cell jump when the caret hits cell borders
779 - Tab and Enter are now passed to the datagrid after being handled
781 - Removed capture code now that Control handles it
782 - set_SelectionStart now ensures caret is visible
784 2006-03-16 Jackson Harper <jackson@ximian.com>
786 * TrackBar.cs: Debackwards the increment/decrement for handling
787 mouse clicks on the bar with vertical trackbars.
788 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
791 2006-03-16 Mike Kestner <mkestner@novell.com>
793 * ListView.cs: make shift/ctrl keyboard and mouse selection
794 consistent with the MS control. Fix a bug in
795 SelectedListViewItemCollection.Clear that was pissing me off for the
796 better part of a day because the collection was being altered
797 underneath us as we walked the list.
799 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
801 * Control.cs: Not sure how we could miss this so long, but it seems
802 that MS.Net has Capture set all the way from before calling
803 OnMouseDown through sending the mouse events until after
804 OnMouseUp. This will fix DataGrid's selection being set to end
805 at the location of the MouseUp.
807 2006-03-15 Jackson Harper <jackson@ximian.com>
809 * BindingContext.cs: Check the binding after its added so that it
810 can initialize the binding managers and hookup to events.
811 * Binding.cs: Data members seem to sometimes include rows/cols in
812 the format Row.Column we now take this into account.
813 - Hookup to the position changed event so we can update the
814 control when the position has changed in the data set.
815 * CurrencyManager.cs: Take into account the row/col naming
816 convention when creating dataset tables.
817 * BindingContext.cs: Using a newer better way of storing
818 datasource/datamember pairs. Hopefully this better matches MS for
819 looking up binding managers.
822 2006-03-15 Jackson Harper <jackson@ximian.com>
824 * BindingContext.cs: The currency manager needs the data member
825 name, if the member is a data set we use the name to find the
827 * CurrencyManager.cs: When creating the list prefer an IList over
829 - Attempt to create a DataTable from a DataSet (TODO: might need
830 some better error checking here, although MS doesn't seem to have much)
831 - If we have a DataTable create a view and use it as our list.
833 2006-03-15 Mike Kestner <mkestner@novell.com>
835 * ListView.cs: keep a matrix of the icon mode layout to facilitate
836 keyboard navigation. Support Up/Down/Left/Right selection correctly
837 for all 4 View modes.
838 * ListViewItem.cs: add internal row/col fields for icon layouts.
840 2006-03-15 Jackson Harper <jackson@ximian.com>
842 * TabControl.cs: Redraw the tabs when we resize so their newly
843 calculated sizes are drawn on screen.
844 * X11Keyboard.cs: Begginnings of XIM support. We also now support
845 composite characters.
846 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
847 - filter events so that composite characters can be created
849 * X11Structs.cs: Add XIMProperties enum.
851 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
853 * Control.cs (BringToFront, SendToBack): Don't use window or handle
856 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
858 * Control.cs (PerformLayout): We don't need to consider visiblity
859 for anchoring, only for docking. This fixes 'whacky' alignment
860 in listbox and other controls that use implicit scrollbars after
861 the previous PerformLayout patch
862 * ListBox.cs: Switched to use implicit scrollbars
864 2006-03-14 Mike Kestner <mkestner@novell.com>
868 - chain up the "new event" overrides to base and use
869 OnEvent to raise them. Part of fix for bug #76509.
871 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
873 * FileDialog.cs: Do not select an item in the parent directory
876 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
878 * Control.cs (PerformLayout): It would seem that we considered
879 invisible windows for our layout. Not quite the right thing
880 to do. Now we don't any longer, thereby fixing bug #76889.
882 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
884 * Control.cs (CanFocus): I goofed. A control can have focus
885 even though it's not selectable. Made it match MS docs.
887 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
889 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
890 center by default (fixes #76895)
891 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
892 all uses of Border3DSides.All with the explicit ORd together
893 Left|Right|Top|Bottom because I assume that nobody was aware
894 that All also implies a center fill. Most places I checked had
896 * ProgressBarStyle.cs: Added
898 2006-03-13 Mike Kestner <mkestner@novell.com>
900 * ListView.cs: fix breakage in drag shadow header positioning
901 from Peter's csc compilation fix.
903 2006-03-13 Mike Kestner <mkestner@novell.com>
905 * ListView.cs: fix NRE produced by backspacing twice in a focused
908 2006-03-13 Mike Kestner <mkestner@novell.com>
910 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
912 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
914 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
916 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
917 the allowed size before making programmatic size changes
919 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
921 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
922 set, metacity is broken and will still use the emty sizes in
923 the struct. (Fix for #77089)
925 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
927 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
928 WindowExStyles and marked both enums as Flags
929 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
930 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
931 to match WindowStyles split
933 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
934 - Updated to match WindowStyles split
936 - Fixed FosterParent creation, was using ExStyle on the Style field
937 (This should help with Popup focus issues)
938 - Updated to match WindowStyles split
940 2006-03-13 Jackson Harper <jackson@ximian.com>
942 * MdiWindowManager.cs: Use the system menu height. Fixes some
943 strange sizing issues.
945 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
947 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
949 - Scroll to caret after inserting text (#77672)
950 - Make scroll range one pixel higher, fixes off-by-one error (and
951 makes underlines visible on the last line)
953 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
955 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
956 the keyboard state from being stuck with keys in 'pressed' state when
957 focus is switched away via keyboard
958 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
959 reset the keyboard if no X11 KeyUp events are expected to come
960 * X11Structs.cs: Switched type of Visible to bool to match driver
962 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
965 - Switched caret to be just 1 pixel wide, matches MS and looks less
967 - Moved caret display 1 pixel down from the top of the control
969 - InsertCharAtCharet: Update the selection start if moving the caret
970 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
971 - No longer always creating the caret when the caret methods are
972 called. Only the actual ShowCaret/HideCaret will do that now
973 - Only setting caret visible if the owner control has focus
974 - UpdateView: Added invalidation-shortcut logic for center and right
975 aligned text. Previously we'd update all according to the left
976 logic which caused drawing errors. Also fixed height of invalidated
977 areas, now properly invalidating the whole area (was off-by-one)
978 - owner_HandleCreated: Always generate the document when the
979 handle is created; this ensures that
981 - Fixed situation where caret would disappear under the right
982 window border, also improved scrolling behaviour on left-
984 - Fixed right-aligned textboxes to have a border to the
985 right instead of the caret being under the right border
987 - Switched from 'nested' to simple visible/not visible tracking
988 for caret (part of fix for #77671)
989 - No longer passing through translated FocusIn/FocusOut messages
990 since we were notifying too often and the wrong windows. Instead
991 we just notify our focussed window of receiving or loosing focus
992 * XplatUIWin32.cs: Switched from 'nested' show/hide
993 counting for caret to simple visible yes/no behaviour (part of
996 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
998 * Mime.cs: Remove debug code...
1000 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1002 * MimeGenerated.cs: Removed
1003 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1004 and subclasses) from /usr/(local/)share/mime and
1005 $HOME/.local/share/mime.
1007 2006-03-10 Jackson Harper <jackson@ximian.com>
1009 * MdiWindowManager.cs: Recalc the NC area when a window is
1010 maximized/restored so that the menu area is drawn on forms that
1013 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1015 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1016 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1017 us to force a WM_NCCALCRESIZE message being sent. This is needed
1020 2006-03-10 Jackson Harper <jackson@ximian.com>
1022 * Form.cs: We need to use the ActiveMenu when calculating menu
1024 - Fix nullref when the window manager hasn't been created yet.
1025 * Control.cs: Fix nullref when we try to bring a control to the
1026 front that has no parent.
1027 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1029 - Add a dummy item to the maximized menu so it always has the
1030 correct height. Otherwise when there are no menus we don't get our
1034 2006-03-10 Jackson Harper <jackson@ximian.com>
1036 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1038 * Form.cs: Make the window_state internal so the window managers
1040 - When an MDI child is maximized let its window manager create the
1041 main menu (so it can add its icon).
1042 - Notify the window managers of state changes
1043 - Let the window manager paint its buttons and handle button
1044 clicks on the menu when it is maximized.
1045 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1046 window manager, since tool windows don't use it, only mdi windows.
1047 - Tell the main form that we don't want it to handle NCPAINT
1048 itself to avoid extra painting.
1049 - Handle clicks on a maximized windows menu.
1050 - Handle window state changes
1051 - Handle minimize/maximize clicks correctly by setting the window state.
1052 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1053 when clicking on the forms icon).
1054 - New method to create a forms maximized menu. This is its normal
1056 - Handle window state changes.
1057 - Handle sizing of maximized windows. Maximized windows are just
1058 drawn bigger then the parent visible area. All controls are still
1059 there, they are just outside the visible area (this matches windows).
1060 * MdiClient.cs: No scrollbars when a child window is maximized.
1061 - Let the children windows figure out how big they should be when
1062 sizing maximized windows.
1063 - Implement a version of ArrangeIconicWindows somewhat similar to
1064 Windows version. There are some little differences, but I don't
1065 think any app will rely on the layout of minimized mdi windows.
1067 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1069 * Padding.cs: Several fixes to allow compiling with csc 2.0
1071 2006-03-09 Jackson Harper <jackson@ximian.com>
1074 * MenuItem.cs: Cheap hack so we can add items to the list without
1075 the events being raised. This allows adding mdi items during
1076 drawing. TODO: Should probably find a better time to add the items.
1078 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1080 * ThemeWin32Classic.cs:
1081 - CheckBox_DrawText: Added logic to not wrap if not enough space
1082 is available (Fix for bug #77727)
1083 - RadioButton_DrawText: Added logic not to wrap if not enough
1084 space is available (Fix for bug #77727). Also removed some
1085 duplicate code, DrawString always drawing the regular text
1086 before hitting the if statement.
1088 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1090 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1092 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1094 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1095 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1096 methods. Moved the new 2.0 properties into alphabetical order with
1097 other properties and added MonoTODO tags
1099 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1101 * AutoScaleMode.cs: Added. Fix build.
1103 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1105 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1106 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1107 and was requiring premature handle creation for calls from above
1108 * Form.cs, Control.cs: Removed handle arguments from calls to
1109 CalculateClientRect()
1111 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1113 * ListView.cs (HeaderMouseMove): Fix csc compilation.
1114 drag_column.column_rect is MarshalByRef and can't be used that way
1116 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1118 * AxHost.cs: Added deserialization constructor for
1119 AxHost+State (fixes 77743)
1121 2006-03-09 Mike Kestner <mkestner@novell.com>
1124 - Added column drag reordering for details view.
1125 - fixed behavior when mouse is dragged off column and
1126 AllowColumnReorder is false.
1127 * ColumnHeader.cs: clone the format too in Clone.
1128 * Theme.cs: add DrawListViewHeaderDragDetails method.
1129 * ThemeWin32Classic.cs:
1130 - impl new method for drawing drag column shadows and targets.
1131 - support column offset for details mode in DrawListViewItem.
1133 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1135 * TextControl.cs: Reset the char_count when the document is cleared
1136 (Fixes bug reported on mono-winforms mailing list)
1138 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1140 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1141 of calling base we simply process the key ourselves, since both
1142 DefWindowProc and the handled method would set m.Result.
1145 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1147 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1148 method also moves the window; instead implemented a copy of
1149 Control.ScaleCore (Part of fix for #77456)
1151 - Created new CreateGraphicsInternal method to allow providing
1152 a graphics context when no handle is created without triggering
1153 handle creation. (Part of fix for #77456)
1154 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1156 - Switched Constructor to require TextBoxBase instead of Control (to
1157 allow uncast access to CreateGraphicsInternal)
1158 - Safeguarded use of owner.Handle property. No longer accessing it
1159 unless the handle is already created.
1160 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1161 - Now triggering a recalc when owning control becomes visible
1162 * TextBox.cs, RichTextBox.cs: Switched to use new internal
1163 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1164 premature handle creation (Part of fix for #77456)
1166 - We now only destroy our double-buffering buffers when the
1167 control is resized or disposed, but not when visibility
1168 changes. (The code even re-created them twice every time)
1169 - Now requiring a redraw of the buffer on visibility changes
1170 (fixes bug 77654 part 2)
1171 - Not passing OnParentVisibleChanged up unless the control
1173 - CanFocus: Fixed to match MS documentation
1174 - Focus: Fixed to return actual focus state and to check if
1175 setting focus is legal before setting it
1177 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
1179 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1180 when to draw focus rectangle by looking at parent focus and
1181 selected state instead. This fixes TabPages on Linux sometimes
1182 having none or multiple focus rectangles.
1183 * XplatUIX11.cs (SetFocus):
1184 - Don't set the focus if the same window already has focus
1185 - Use SendMessage instead of PostMessage (like it's Win32
1186 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1187 to match MS behaviour
1188 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1191 2006-03-07 Jackson Harper <jackson@ximian.com>
1193 * PictureBox.cs: Revert line I accidently committed last week.
1195 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1198 - Added new IsRecreating and ParentIsRecreating properties to
1199 allow testing if RecreateHandle has been called on ourselves
1200 or one of our parents
1201 - WndProc(WM_DESTROY): If our control handle is being recreated
1202 we immediately need to create the handle when receiving the
1203 destroy, that way our child windows find a valid parent handle
1204 when they themselves are being recreated upon WM_DESTROY receipt
1205 (fix for bug #77654 part 1)
1207 - DestroyWindow: WM_DESTROY must be sent to our own window before
1208 notifying any child windows. MS documents that child windows
1209 are still valid when WM_DESTROY is received. (Control now relies on
1211 - Added some fine-grain debug options
1213 2006-03-06 Jackson Harper <jackson@ximian.com>
1215 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1216 box and base calculations off this.
1217 * MdiChildContext.cs:
1218 * MdiWindowManager.cs: Don't need to ensure scrollbars here
1221 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
1223 * Splitter.cs: In situations where the affected control is added
1224 to the parent's control list after the splitter, we would not
1225 populate affected. Now we try populating it on mousedown, if
1226 it's not already set, and force it to be re-set whenever our
1229 2006-03-03 Matt Hargett <matt@use.net>
1231 * Control.cs: implement Control.Padding
1232 * Padding.cs: -Padding.All returns -1 when constructing with the
1233 implicit default ctor
1234 -Padding.ToString() matches MS.NET
1235 * ContainerControl.cs: implement
1236 ContainerControl.AutoScaleDimensions
1237 * ListControl.cs: implement ListControl.FormattingEnabled
1238 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1240 * TabPage.cs: Implement UseVisualStyleBackColor.
1241 * PictureBox.cs: Implement PictureBox.InitialImage.
1243 2006-03-03 Mike Kestner <mkestner@novell.com>
1245 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1246 event declarations to proxy to base event.
1247 * ListViewItem.cs: update to use ItemControl.
1248 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1249 * ThemeWin32Classic.cs: update to new ListView theme API and fix
1250 column header label rendering for 0 width columns.
1252 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
1254 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1255 that causes the control to be created. Fixes #77476.
1257 2006-03-02 Jackson Harper <jackson@ximian.com>
1259 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1262 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1264 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1265 passed in for the EventArgs (fixes #77690)
1267 2006-03-01 Jackson Harper <jackson@ximian.com>
1269 * ScrollBar.cs: Refresh afterbeing resized.
1271 2006-02-28 Mike Kestner <mkestner@novell.com>
1273 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1274 Clean up a tracker compile warning.
1275 * MenuItem.cs: add internal PerformPopup method.
1278 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1280 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1281 implicit expose) when the text is set to null
1283 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1285 * RichTextBox.cs (FlushText): When newline is true, we always
1286 need to split the line, even if no text is on it and we may
1287 never eat newlines. (Fixes #77669)
1289 2006-02-28 Mike Kestner <mkestner@novell.com>
1291 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
1292 and set Selected instead.
1293 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
1296 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1298 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1300 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
1303 - Got rid of the panel. All controls are now directly added to
1305 - It is now possible to set a font with the Font property
1306 - MinSize and MaxSize property do now what they should
1307 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1308 - Searching and selecting a font with the font textbox works now,
1309 the same applies to the style and size textbox
1310 - Draw the correct 3D border in the example panel
1311 - Fixed a little mem leak (unused fonts didn't get disposed)
1312 - Many other internal updates/rewrites...
1315 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1318 - InsertRTFFromStream: Added 'number of characters inserted' argument
1319 - set_SelectedRTF: Now using the number of characters to calculate
1320 the new location for the selection and cursor (x/y cannot be used
1321 due to potentially already wrapped text)
1323 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1325 * TextControl.cs: Added property and implemented means to allow
1326 disabling recalculation of a document (can be used to speed up
1327 multiple inserts and is needed to make RTF inserts predictable, see
1329 * RichTextBox.cs: Using the new NoRecalc property of Document to
1330 keep x/y insert locations predictable. Also makes it faster inserting
1333 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1335 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1336 it's easier for a child control to handle the other messages without
1337 having to duplicate the special functionality
1339 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1340 code to handle processing the key ourselves, in order to get
1341 access to the result of KeyEventArgs.Handled. We now only call
1342 ProcessKey if they key hasn't been handled already. Fixes #77526.
1343 - set_Text: If null or empty string is given, just clear the
1344 document. Fixes part of #77526
1346 2006-02-27 Jackson Harper <jackson@ximian.com>
1348 * SizeGrip.cs: Paint the background color before painting the grip
1349 so things look right.
1350 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1352 2006-02-27 Mike Kestner <mkestner@novell.com>
1355 - Restructure layout and invalidation model to remove a ton of
1356 flicker from the control and speed up performance in general.
1357 - Add manual column resize, flickers like crazy, but I already have
1358 some ideas on how I'll fix that. (#76822)
1359 - Merge the three Icon-based views into a single layout method.
1360 - Move item selection interaction logic from the item since
1361 interaction with the collections is more appropriate to the view.
1362 - Deselection on non-item clicks.
1364 - Encapsulate most of the layout. Add some internal props to trigger
1365 layout. Move to a model where Items invalidate themselves instead
1366 of just invalidating the whole control every time something changes.
1367 - Invalidate on Text/Caption changes.
1368 - switch to an offset based layout model to avoid having to absolute
1369 position every element on item moves.
1370 - correct checkbox layout to conform to MS layout.
1371 * ThemeWin32Classic.cs:
1372 - refactor some column header drawing code.
1373 - fix string justification for column headers (#76821)
1374 - make SmallIcon labels top justified for compat with MS impl.
1375 * ThemeClearlooks.cs:
1376 - adjust to new ListViewItem internal checkbox bounds api.
1378 2006-02-27 Jackson Harper <jackson@ximian.com>
1380 * Control.cs: Change where implicit controls fall in the zorder.
1381 They are now on top of all children.
1382 - Synced AddImplicit code with Add
1383 - Removed unused enumerator.
1384 * SizeGrip.cs: Remove the TODO as its been TODONE.
1386 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1388 * TextControl.cs(Insert): Combine the last lines unless the insertion
1389 string ends with \n\n, otherwise we leave one line too many (Fixes
1390 something I noticed with the testapp for #77526; the bug itself was
1391 already fixed in the previous checkin)
1393 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1396 - SelectionColor and SelectionFont methods no longer set absolute
1397 styles. Instead, the keep font or color respectively (This
1398 resolves a long-standing FIXME in the code)
1399 - When flushing RTF text, the insert code now considers text trailing
1400 behind the insertion point (Fixes the bug where when replacing
1401 the selected text via SelectedRTF the remainder of the line behind
1402 the selection would stay on the first insertion line)
1404 - AppendText now updates the selection points after inserting text
1405 - AppendText now ensures that the last tag (sometimes 0-length) of
1406 the document is used for the style information (Fixes part of
1409 - Created new FontDefiniton class to allow describing partial style
1411 - StreamLine() now takes a lines argument, to allow it to decide
1412 whether an encountered zero-length tag is the last in the document
1413 (which must be kept to not loose the font/color contained in it,
1415 - Created Combine() and Split() methods for Marker structs, to
1416 support marker updates due to reformatted documents (soft line
1418 - Implemented Document.CaretTag setter
1419 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1420 of the last line (Not the cause, but also exposed by bug #77220)
1421 - Added LineTag argument to InsertString method, to allow callers
1422 to force a certain tag to be used (required to force use of the
1423 trailing zero-length tag of a document)
1424 - Now updating markers in Combine(), to avoid stale tag markers
1425 - Added some method descriptions to aid maintenance
1426 - Implemented new FormatText concept, allowing additive/subtractive
1427 formatting by only specifying the components that are to be
1428 changed. This was needed for resolving the RTB.SelectedColor/
1429 RTB.SelectedFont fixmes
1430 - Added Break() support method to allow breaking up linetags (used
1431 for partial formatting)
1432 - Added GenerateTextFormat() method. It is used for partial
1433 formatting and allows to generate a full font/color from given
1434 attributes and an existing tag.
1436 2006-02-26 Jackson Harper <jackson@ximian.com>
1438 * XplatUIX11.cs: Use the correct caption height.
1439 - Translate hittest coordinates to screen coords to match MS.
1440 * XplatUIWin32.cs: When we create MDI windows we need to reset
1441 some of the style flags, so we get a nice blank window, and can
1442 draw all the decorations ourselves.
1443 - Set a clipping rectangle on the non client paint event, the
1444 window manager drawing code needs one.
1445 * Form.cs: The window manager needs to know when the window state
1447 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1448 don't need to factor in border and title sizes in these
1449 methods. TODO: Remove the args and fix the call points.
1450 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1452 - Let the driver set the cursors.
1453 - Improve active window handling
1454 - Correct sizes for title bars and buttons.
1455 - Match MS drawing better
1456 * MdiWindowManager.cs: We don't need to handle border style
1457 updates specially anymore.
1458 - Check for scrollbars when windows are done moving
1459 - Handle Active properly.
1460 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1461 correctly. I am spewing the exception though, so we don't hide the
1464 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
1466 * DataGridViewRowPostPaintEventArgs.cs,
1467 DataGridViewCellPaintingEventArgs.cs,
1468 DataGridViewRowCollection.cs,
1469 DataGridViewRowPrePaintEventArgs.cs,
1470 DataGridViewCell.cs: Clear a few warnings and implement a few
1471 exceptions that should be thrown.
1473 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1475 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1476 'inheriting' our parent's (non-default) cursor. (Part of
1479 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1481 * XplatUIX11.cs: Fixed cast to make csc happy
1483 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1485 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1486 it's for the client area (part of fix for #77479 and needed
1487 for MDI window cursor handling)
1489 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1490 the appropriate default cursors and also passing the message
1492 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1493 for non-client areas
1495 2006-02-15 Jackson Harper <jackson@ximian.com>
1497 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1498 is a real MDI window
1500 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
1502 * X11DesktopColors.cs: Instead of checking the desktop session
1503 string for "KDE" check if it starts with "KDE"
1505 2006-02-10 Jackson Harper <jackson@ximian.com>
1507 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1510 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1512 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1515 - Got rid of the panel. All controls are now directly added to
1517 - Changed to mono coding style
1519 2006-02-10 Jackson Harper <jackson@ximian.com>
1521 * InternalWindowManager.cs: We don't need the set visibility to
1522 false hack anymore now that peter has written beautiful shutdown
1525 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
1527 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1528 where already explicitly destroyed
1530 2006-02-10 Jackson Harper <jackson@ximian.com>
1532 * MdiClient.cs: Handle the case where windows are too high or to
1533 the left and we need scrollbars.
1535 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1537 * MimeIcon.cs: Added some icons
1540 - Got rid of the panel. All controls are now directly added to
1542 - Changed to mono coding style
1543 - On Linux "My Computer" and "My Network" will now show some
1544 more usefull information. A new class, MasterMount, gathers
1545 this information from /proc/mount. Updated MWFFileView to make
1546 use of this information
1547 - Fixed a bug that caused FileDialog to crash when
1548 ".recently_used" file had a zero size
1549 - FilterIndex does now what it should
1551 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1554 2006-02-09 Jackson Harper <jackson@ximian.com>
1556 * ComboBox.cs: Don't touch if null.
1558 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1560 * Cursor.cs: 64bit safeness fix
1561 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1563 2006-02-09 Jackson Harper <jackson@ximian.com>
1565 * Form.cs: If a form is made into an MDI form update the styles so
1566 all the props can get set correctly.
1567 - Kill the mdi_container when we dont need it anymore.
1568 * InternalWindowManager.cs: Add missing NOT
1570 2006-02-08 Jackson Harper <jackson@ximian.com>
1572 * InternalWindowManager.cs: Respek clipping when drawing MDi
1575 2006-02-08 Jackson Harper <jackson@ximian.com>
1577 * Hwnd.cs: Add bits to track non client expose events.
1578 * XplatUIX11.cs: Track non client expose events on the hwnd. This
1579 gives us a proper invalid rect and will allow for some nice
1580 optimizations with NC client drawing
1581 - MDI windows are children windows, so move their style handling
1582 into the child window block.
1583 * InternalWindowManager.cs: Remove a state reset that was
1584 getting invoked at the wrong time. Fixes managed windows getting
1585 into a 'stuck' captured state.
1587 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1589 * TextControl.cs (Document.ctor): Now initializing
1590 selection_anchor. Fixes #77493
1592 2006-02-07 Jackson Harper <jackson@ximian.com>
1594 * TrackBar.cs: The increment/decrements were backwards.
1596 2006-02-07 Mike Kestner <mkestner@novell.com>
1598 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1599 to the instance itself.
1601 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1603 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1604 on ulongs and pointers, the size differs between 32bit and 64bit
1607 2006-02-07 Mike Kestner <mkestner@novell.com>
1609 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1610 for 64 bit platforms to work around a metacity bug.
1612 2006-02-07 Jackson Harper <jackson@ximian.com>
1614 * TrackBar.cs: Process the input keys we need, and hookup to
1615 KeyDown instead of using WndProc, so we get key messages.
1617 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1619 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1621 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1622 we need to translate the XdndVersion atoms array before sending it
1624 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1627 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1628 number of bits for the property, not the number of bytes. The
1629 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1630 but would not crash since it specified 8 bits instead of 4 bits)
1631 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1632 defined as XID -> long in the C headers)
1633 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
1634 references since those are now IntPtr to begin with
1635 - Switched all Atom.XXX 'int' casts to IntPtr casts
1636 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1637 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1638 - Added XChangeActivePointerGrab DllImport (for X11DnD)
1640 - Changed 'int' type for Atoms in XEvent structures to IntPtr
1641 - Changed atom in HoverStruct to be IntPtr
1643 - Removed local DllImports, switched code to use those from XplatUIX11
1644 - Removed/fixed casts related to the switch of Atom to be a IntPtr
1646 2006-02-06 Mike Kestner <mkestner@novell.com>
1648 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
1649 method signatures in the import region. There may still be some
1650 lingering struct marshaling issues, as I didn't drill down into those.
1653 2006-02-06 Jackson Harper <jackson@ximian.com>
1655 * ComboBox.cs: Dont manually set the top_item, this is computed
1656 when the scrollbar position is set.
1658 2006-02-06 Mike Kestner <mkestner@novell.com>
1660 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1661 startup crashes on amd64. There's other fixes needed. All pinvoke
1662 usage of Atom needs to be mapped to IntPtr for example. And there are
1663 likely other int/long issues to be addressed.
1665 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
1667 * FileDialog.cs: One more...
1669 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1671 * FileDialog.cs: Next try
1673 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1675 * FileDialog.cs: First part of fix for #77464
1677 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1679 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1680 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1681 AcceptButton border drawing.
1683 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1685 * Form.cs: Moved positioning of form after auto scaling is applied,
1686 otherwise it would possibly use wrong form size.
1688 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1690 * Control.cs (RecreateHandle): No need to re-create any child
1691 controls, the child windows will get destroyed automatically by
1692 the windowing system or driver, and re-created when the handle
1693 is being accessed the first time. Fixes #77456
1694 * Form.cs: No longer setting the form to closing if the handle is
1695 being recreated. This seems like the right thing to do, don't
1696 have a bug or testcase for this, though.
1698 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1700 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1701 controls to avoid unwanted side effects
1703 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1706 - ScaleCore needs to scale the bounds, not the ClientSize of the
1707 control. Fixes #77416.
1708 - DefaultSize is 0,0 for control
1710 - DefaultSize is 100, 20
1711 - SetBoundsCore: Now enforcing the height, no matter if the provided
1712 height is more or less than the preferred one, as long as AutoSize
1714 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1716 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1719 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1720 call unless both performLayout is true *and* we have a pending
1722 - ResumeLayout: MS does not completely nest Suspend and Resume,
1723 they bottom out at 0, fixed our code to match that.
1724 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1725 SetBoundsCore, we were updating even when we shouldn't. This fixes
1726 swf-anchors mis-anchoring when resizing the app fast and lots.
1727 - UpdateDistances: Now only setting the left and top distance if
1728 we have a parent and are not suspended, this is based on
1729 a suggestion by Don Edvaldson in bug #77355.
1730 - OnVisibleChanged: Fixed logic when to create the control. We may
1731 not create the control if we have no parent or if it's not visible;
1732 switched to using Visible property instead of is_visible field
1733 since the property also considers parent states. This fixes a bug
1734 when starting Paint.Net
1736 2006-02-02 Jackson Harper <jackson@ximian.com>
1738 * Form.cs: If the forms handle hasn't been created yet don't call
1739 into xplatui to make it top most, just set the topmost flag on the
1740 form in CreateParams
1741 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1743 2006-02-01 Jackson Harper <jackson@ximian.com>
1745 * ScrollableControl.cs: Refactored the Recalculate method a
1746 little, this wasn't handling all the variants of bottom and right
1747 bars needed to be added and added/removed based on their
1748 counterparts being added/removed (which changes the drawable
1749 size). Also we special case client widths and heights of 0 and
1750 don't add the scrollbar for those.
1752 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
1755 - Added method to get AbsoluteGeometry(); currently unused, but might
1756 be used in the future, if we try again to figure out toplevel
1757 coordinates with some more crappy window managers
1758 - Added FrameExtents() method to retrieve the WM set decoration size
1759 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
1760 to deal with at least KDE, FVWM and metacity (Fixes #77092)
1762 - Added whacky_wm tracking var for metacity
1763 - Added logic to have default menu height if the actual menu height
1764 has not yet been calculated (part of fix for #77426)
1765 * Form.cs: Keep track whether client size has been set and re-set
1766 it if a menu is added/removed afterwards (Fixes #77426)
1768 2006-01-31 Jackson Harper <jackson@ximian.com>
1770 * Control.cs: When a new Site is set on the component attempt to
1771 pull the AmbientProperties from it.
1773 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
1775 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1776 in the background of the owning form. Fixes #77332
1778 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1780 * MimeIcon.cs: Fix for #77409
1782 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1784 * XplatUIX11GTK.cs: Initial import
1786 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1788 * FixedSizeTextBox: fixes class signature
1790 2006-01-30 Jackson Harper <jackson@ximian.com>
1792 * FixedSizeTextBox.cs: New internal class that represents a
1793 textBox that will not be scaled.
1796 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1799 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1801 * XplatUIX11.cs: Retrieve default screen number instead of
1802 assuming 0. Attempted fix for #77318
1804 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1807 - GetWindowPos: When a window is parented by FosterParent, use
1808 the desktop instead of FosterParent as the base to get coordinates
1809 - CreateWindow: Don't make FosterParent the parent window for Popups
1810 if we don't want a taskbar entry, Popups automatically don't get one
1811 * Hwnd.cs: Need to call remove to actually remove the key from the
1814 2006-01-30 Mike Kestner <mkestner@novell.com>
1816 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1818 2006-01-30 Jackson Harper <jackson@ximian.com>
1821 * TreeNode.cs: Raise events no matter how the treenode is
1822 checked. Patch by Don Edvalson.
1824 2006-01-30 Jackson Harper <jackson@ximian.com>
1826 * TreeNode.cs: Signature fix.
1828 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
1830 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1832 2006-01-20 Mike Kestner <mkestner@novell.com>
1834 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1835 event forwarding when menus are active.
1836 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
1837 Most of the patch is pdb's with a little rework.
1839 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1841 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
1842 Removed GetMenuDC and ReleaseMenuDC methods; replaced
1843 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1844 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1845 * InternalWindowManager.cs: Added use of PaintEventStart/End to
1846 handling of WM_NCPAINT message, now passing the PaintEventArgs to
1847 the PaintWindowDecorations method
1848 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1849 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1850 * MenuAPI.cs: Made tracker window invisible
1852 - Removed GetMenuDC and ReleaseMenuDC methods
1853 - Implemented the client=false path for PaintEventStart and
1856 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1858 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1859 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1862 - MaximizeBox, MinimizeBox: Recreate the handle when setting
1864 - CreateParams: Reworked the styles to match MS look'n'feel,
1865 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1866 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1868 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1870 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
1871 window is not mapped, since otherwise every form that's being
1872 created is considered minimized, which is wrong.
1873 * Form.cs: Catching the exception and returning our internal value
1876 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1878 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1879 SetWindowMinMax() to have means to tell the driver about the minimum,
1880 maximum and maximized state window sizes. (Part of the fix for #76485)
1882 - Implemented tracking of minimum and maximum window size, now calling
1883 new SetWindowMinMax() driver method to tell the driver (Part of the
1885 - Finished handling of WM_GETMINMAXINFO method, now setting all values
1886 (Completes fix for #76485)
1887 - Calling new SetWindowMinMax driver method when the handle for a
1888 form is created, to make sure the driver knows about it even if
1889 the values have been set before the window was created
1890 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1891 to avoid messing up our anchoring calculations (partial fix
1893 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1895 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1896 - Improved GetWindowState() to detect 'Minimized' state on Metacity
1897 (and presumably other freedesktop.org compliant WMs). Left the
1898 assumption unmapped=minimized, needed for SetVisible to work.
1899 - Now setting the window state when creating windows
1900 - Fixed SetVisible to consider/set the window state when mapping
1901 a Form. We cannot set the state before it's mapped, and we cannot
1902 use Form.WindowState once it's mapped (since it would ask the
1903 driver and get 'normal'. Therefore, we grab the state before
1904 mapping, map, and then set state.
1905 - Implmemented SetWindowMinMax method; Metacity does not seem to
1906 honor the ZoomHints, though.
1908 - Removed MINMAXINFO (moved to XplatUIStructs)
1909 - Added SetWindowMinMax stub (on Win32 the only way to set that
1910 information is in response to the WM_GETMINMAXINFO message, which
1911 is handled in Form.cs)
1912 - Added logic to SetVisible to set the proper window state when a
1913 form is made visible (fixes #75720)
1915 2006-01-26 Jackson Harper <jackson@ximian.com>
1917 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1918 same way we handle them with Invoke.
1920 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
1923 - Added tracking of window state so CreateParams can return
1924 the appropriate style
1925 - Moved setting of WS_CAPTION style in CreateParams to allow
1926 styles without caption
1927 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
1928 control if the TextBox property is accessed. Fixes #77345
1930 - get_Created: now uses is_disposed and is_created to determine
1931 return value (suggested by Jackson)
1932 - CreateHandle: No longer exits if the handle is being recreated
1933 - RecreateHandle: If the handle is not yet created call the
1934 appropriate method to create either control or handle. If the
1935 control is already created CreateHandle will simply exit instead
1936 of just creating the handle
1937 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1938 now SendMessage WM_DESTROY directly to the control when DestroyWindow
1941 - When DestroyWindow is called, instead of waiting for the
1942 DestroyNotification from X11, we directly post it to the WndProc
1943 and immediately dispose the hwnd object.
1944 Same applies to DestroyChildWindows, and this obsoletes the
1945 expose_pending tracking. Contrary to Win32 behaviour we destroy our
1946 child windows before our own, to avoid X11 errors.
1947 - Removed the direct sending of WM_PAINT on UpdateWindow
1949 - Reworked DoEvents and GetMessage to allow access to internal queue
1950 even when trying non-blocking access to the queue. Fixes #77335.
1951 Based on a patch suggestion by Don Edvalson. The new private
1952 GetMessage can now also be used as a backend for a PeekMessage
1954 * XplatUI.cs: Improved debug output for CreateWindow
1956 2006-01-25 Jackson Harper <jackson@ximian.com>
1958 * Help.cs: Allow param to be null. Patch by Don Edvalson.
1960 2006-01-24 Jackson Harper <jackson@ximian.com>
1962 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1963 when we have a MaxDropItems lower then the selected index.
1965 2006-01-24 Jackson Harper <jackson@ximian.com>
1967 * Control.cs: Don't allow selection of non visible controls, allow
1968 selection of controls without parents.
1970 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1972 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1973 * DataGridDrawingLogic.cs: Add editing row only when is necessary
1975 2006-01-23 Jackson Harper <jackson@ximian.com>
1977 * UpDownBase.cs: Make the textbox handle all the selection and
1978 tabbing. This fixes tabing to updown controls.
1980 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1982 * TextBoxBase.cs: fixes exception thown the object was null
1984 2006-01-23 Jackson Harper <jackson@ximian.com>
1986 * ButtonBase.cs: Just use the base CreateParams. They set
1987 visibility and enabled correctly.
1990 * MonthCalendar.cs: Lets let the base set as much of the
1991 createparams as possible so we don't have duplicate code all over
1994 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
1996 * ThemeGtk.cs: Added TrackBar and some experimental code to
1997 get double buffering back
1999 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2001 * DataGrid.cs: Allows row number set internally higher than the last
2002 when creating a new row. Restores the editing functionality.
2004 2006-01-20 Mike Kestner <mkestner@novell.com>
2006 * MimeIcon.cs: delay Image creation until the icons are accessed
2007 instead of creating 190 scaled images on GnomeHandler startup.
2009 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2011 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2012 first call base before processing the event. Fixes #77279
2014 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2016 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2017 that the stride for the GDI bitmap would match the stride of
2020 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2022 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2024 2006-01-19 Jackson Harper <jackson@ximian.com>
2026 * ComboBox.cs: Hookup the text controls keydown event so we get
2027 those when the text control has the focus.
2029 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2031 * Label.cs: Now using the base events instead of defining new ones;
2032 this allows us to just call the base properties without having to
2033 duplicate all base property logic
2035 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2037 * Label.cs: A label by default is not a tabstop (Fixes one of our
2038 failing nunit tests)
2040 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2042 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2043 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2045 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2047 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2048 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2051 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2052 constructor creates images that can't be saved. Part of the fix
2054 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2055 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2056 bug fix for handling window state in forms properly)
2058 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2060 * ThemeGtk.cs: Simplify ScrollBar drawing
2062 2006-01-18 Jackson Harper <jackson@ximian.com>
2064 * Splitter.cs: Set the default dock style for the splitter control
2067 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2069 * ThemeGtk.cs: Corrected StateType and ShadowType for
2072 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2074 * Control.cs: Make use of Theme.DoubleBufferingSupported
2076 - Added drawing for flat style buttons
2077 - Added ScrollBar drawing
2079 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2081 * ThemeClearlooks.cs: Removed some unneeded code.
2082 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2084 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2086 * LinkLabel.cs: We need to update the hover drawing when
2087 leaving the control as well.
2089 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2091 * DataGrid.cs: Clicking on non empty areas in the columns
2092 area was giving an exception
2094 2006-01-17 Jackson Harper <jackson@ximian.com>
2096 * ThemeWin32Classic.cs:
2097 * ListView.cs: Do not draw/clip the headers when the header style
2100 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2102 * DataGrid.cs: Fixes 77260
2104 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2106 * DataGrid.cs: Clicking on a column on a empty grid was giving
2109 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2111 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2112 or any keypress will crash the grid.
2114 2006-01-17 Mike Kestner <mkestner@novell.com>
2116 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2117 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
2118 invisible/previously-visible items.
2121 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
2123 * ThemeClearlooks.cs:
2124 - Added CL_Draw_Button method; now other theme controls that are
2125 not derived from button or do not have a button can draw buttons
2127 - Updated ComboBox drawing
2128 - Beautified RadioButton drawing
2129 - Corrected drawing of bottom and left tabs
2130 - Beautified DateTimePicker and MonthCalendar
2131 - Added CPDrawButton and CPDrawRadioButton
2133 2006-01-16 Jackson Harper <jackson@ximian.com>
2135 * ComboBox.cs: Set the initial value of the scrollbar to the
2136 current index. Reduce the numbers of refreshs and IndexOfs called.
2138 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
2140 * FileDialog.cs: When the file listview is focused hitting the
2141 backspace key moves the fileview to the parent directory
2143 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2146 - Added RecreateHandle call when changing taskbar visibility to
2147 trigger reparenting in Win32 driver (Fixes #75719)
2148 - If a window has minimize or maximize buttons, it cannot have
2151 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2152 the toplevel form with FosterParent (A toolwindow not on the
2153 taskbar) (Fixes #75719)
2154 - Made FosterParent a toolwindow
2156 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2158 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2160 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2162 * ToolTip.cs: If SetToolTip is called from a control and the mouse
2163 is currently over that control, make sure that tooltip_window.Text
2166 2006-01-13 Mike Kestner <mkestner@novell.com>
2168 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2170 2006-01-13 Jackson Harper <jackson@ximian.com>
2172 * TreeView.cs: On MS GetNodeAt never actually factors in the X
2173 value passed. Also redraw the selected node when we recieve
2174 focus, so tabbing between trees works correctly.
2176 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2178 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2179 ~/.gconf/%gconf-tree.xml, so use
2180 .gconf/desktop/gnome/interface/%gconf.xml
2182 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2184 * TextControl.cs: Draw text in gray if control is disabled
2186 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2188 * TreeView.cs: Draw the focus rectangle outside the highlight, to
2189 make sure it's always visible. Fixes #76680.
2191 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2193 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2195 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
2197 * PageSetupDialog.cs: Added.
2198 * PrintDialog.cs: Attributes.
2199 * PrintPreviewControl.cs: Updates.
2200 * PrintPreviewDialog.cs: Updates.
2202 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2204 * Control.cs: Undid my selection check fix, since it's not needed
2206 - Now considering the presence of hscroll/vscroll when sizing
2207 vscroll/hscroll respectively. Fixed bug #77077
2208 - Added Left/Up/Down/Right to IsInputKey list to prevent
2209 ContainerControl from stealing them. This fixes what I broke
2210 with my last checkin.
2212 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2214 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2215 I finally understand how the property can be set without a setter :-)
2217 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2220 - Switched RunLoop to use static Message.Create to create a
2222 - Added PreProcessMessage call in runloop for keyboard events; this
2223 is part of the fix for #77219, I overlooked this originally in the
2224 MSDN doc for PreProcessMessage
2226 - Removed call to PreProcessMessage from handling of keyboard
2227 messages; it's supposed to be done in the message pump
2228 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2229 per MSDN documentation.
2230 - IsInputChar: All chars are input chars by default; removed the
2231 parent calling chain, MS does not document that
2232 - PreProcessMessage: If IsInputChar is true, we want to return false
2233 to allow dispatching of the message
2234 - When selecting the next control, now also check that we're not
2235 selecting ourselves again and therefore return a false positive.
2237 - Tried to match return values for IsInputKey and ProcessDialogKey
2238 to what MS returns; moved processing of our special keys outside
2239 ProcessDialogKey since MS does not seem to return true on those.
2240 - Moved code that previously was in ProcessDialogKey into new private
2241 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2242 - Reworked handling of WM_CHAR to not have to duplicate code from
2243 Control.cs anymore, instead we simply call down to base.
2245 2006-01-12 Jackson Harper <jackson@ximian.com>
2247 * ComboBox.cs: We always need to refresh the text area when
2248 EndUpdate is called. Fixes the combobox in the file dialog.
2249 * Control.cs: Don't create the creator_thread until the controls
2250 handle is created. Also in InvokeRequired we check if the
2251 creator_thread is null. This gives the effect of InvokeRequired
2252 returning true if the controls handle is not created yet, and
2255 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2258 - Added StartLoop() driver method. This is used to allow drivers to
2259 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2260 loop for a particular thread
2261 - Added EndLoop() driver method. This is called once the message
2262 pump for the thread is shut down
2263 - Added SupportsTransparency method to allow the driver to indicate
2264 opacity support for windows
2266 - Removed TODO attribute, completed AllowTransparency property
2267 - Added documented logic to Opacity
2268 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2269 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2270 versions of CompatibleTextRendering
2271 * X11Structs.cs: Added opacity atom to our atom enumeration
2272 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2273 of a form might be set before it's reparented by the WM, and we need
2274 the opacity value without calling up to Form)
2275 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
2276 SupportsTransparency() driver methods
2277 * Application.cs: Now calling StartLoop and EndLoop driver methods
2279 - Added opacity atom registration
2280 - Added StartLoop()/EndLoop() methods. They're empty right now but
2281 will need to get implemented when we switch to a per-thread queue
2282 - Implemented SupportsTransparency() method
2283 - Implemented SetWindowTransparency() method
2284 - Added support for setting the opacity value when a window is
2285 reparented (since the opacity needs to be set on the WM frame)
2286 * XplatUIOSX.cs, XplatUIWin32.cs:
2287 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2289 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2291 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2293 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2295 * FileDialog.cs: Added ToolTip for MWFFileView
2296 * MimeIcon.cs: Rewrote GnomeHandler.
2297 - Get currently used gnome icon theme from
2298 ($HOME)/.gconf/%gconf-tree.xml
2299 - Make use of inherited icon themes
2300 - Support SVG icon themes like Tango via librsvg
2302 2006-01-12 Miguel de Icaza <miguel@novell.com>
2304 Revert's Jackson's revert which broke 2.0 builds. Fix both
2307 * Application.cs: Move the use_compatible_text_rendering outside
2308 the NET_2_0 define. If we ever need to use the
2309 use_compatible_text_rendering on the individual controls they will
2310 access the variable from the common shared code paths.
2312 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2315 - Added more granular debug options
2316 - Added method to print both window text and id
2317 - Switched debug output to use new Window() debug method
2318 - Added IsEnabled() driver method
2319 - Added EnableWindow() driver method
2321 - Removed end_modal; no longer needed, new loop handles termination
2322 via 'closing' variable
2323 - If form is modal, setting DialogResult will now initiate loop
2324 termination via 'closing' variable
2325 - Added support for is_enabled/WS_DISABLED to CreateParams
2326 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2328 - Removed code that's now in RunLoop from ShowDialog()
2329 - Added various documented sanity checks to ShowDialog()
2330 - Added handling of WM_DESTROY message; we set 'closing' on getting
2331 the message to indicate the message pump to terminate
2332 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2333 send by the Application.ExitThread method. (We send the message
2334 to destroy the window after all other events have been
2335 processed through the queue, instead of destroying the handle
2337 - Moved code from Close() method to WM_CLOSE handler; added logic
2338 to only send close-related events if the form is not displayed
2340 * Splitter.cs (..ctor): Fixed typo in resource name
2342 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2344 - set_Cursor: Now only setting calling into XplatUI if the handle for
2345 the control is already created; this avoids implict handle creation
2346 or crashes if it's not created
2347 - set_Enabled: Now setting the enabled state via the new driver method
2348 instead of just tracking it
2349 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2350 - CreateControl: Reordered event firing and method calls to more
2351 closely fire events in the order MS does. Now setting the
2352 enabled state in the driver when creating the control.
2353 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2355 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2356 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2357 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2359 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2360 - Added EnabledHwnd property to easily allow a driver to find the
2361 handle of the first enabled window in the parent chain (this is
2362 used by drivers to pass up input events of disabled windows)
2363 * XplatUIDriver.cs: Added IsEnabled() method
2365 - Removed crude and obsolete exiting tracking variable
2366 - Removed internal ModalRun(); replaced by RunLoop()
2367 - Implemented private CloseForms() method to allow closing all
2368 windows owned by a particular (or all) threads
2369 - Exit() now properly closes all windows without forcing the message
2371 - Removed obsolete InternalExit() method
2372 - Changed Run() methods to use new RunLoop() message pump
2373 - Implemented new RunLoop() method for both modal and non-modal forms
2375 - get_CreateParams: Added setting of WS_DISABLED
2376 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2377 invoked via Form.ShowDialog()
2378 * NativeWindow.cs: We don't remove the window from the collection when
2379 the handle is destroyed; there might still be messages for it in the
2380 queue (mainly the resulting WM_DESTROY); instead it will be removed
2381 when Control calls InvalidateHandle in the WM_DESTROY handler
2383 - CreateWindow: Added logic to handle the WS_DISABLED window style
2384 - EnableWindow: Implemented based on Hwnd.Enabled
2385 - GetMessage: Reset PostQuitState so the method can be called again
2386 - Implemented support for disabled windows (passing messages to the
2387 first enabled parent) in handling all input messages
2388 - Added optimizations for handling Expose events
2389 - Implemeted new driver method IsEnabled()
2390 - Now always resetting paint pending tracking vars when we start paint
2391 - Re-implemented UpdateWindow via just sending a WM_PAINT message
2392 * XplatUIOSX.cs: Added IsEnabled method stub
2393 * XplatUIWin32.cs: Implemented new IsEnabled() method
2395 2006-01-11 Jackson Harper <jackson@ximian.com>
2397 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2398 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2400 * ColorDialog.cs: Clear out the old form before adding the new
2403 2006-01-11 Jackson Harper <jackson@ximian.com>
2405 * X11Dnd.cs: Make sure to add all the text formats when adding
2406 strings to the data object.
2407 * TreeNodeCollection.cs: When adding to a sorted tree we need to
2408 do some redrawing too. Also change the UpdateNode to an
2409 UpdateBelow so the newly added node gets painted.
2411 2006-01-11 Miguel de Icaza <miguel@novell.com>
2413 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2414 LinkLabel.cs, PropertyGrid.cs: Implement the
2415 UseCompatibleTextRendering property for 2.x
2417 * Application.cs (SetCompatibleTextRenderingDefault): Add.
2419 2006-01-11 Jackson Harper <jackson@ximian.com>
2421 * TreeView.cs: Use the property for setting the selected node so
2422 the correct events get raised.
2423 * TreeNode.cs: Update the tree when the fore/back colours of a
2426 2006-01-10 Jackson Harper <jackson@ximian.com>
2428 * TreeView.cs: Allow setting SelectedNode to null.
2430 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2432 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2434 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2436 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2438 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2440 * PrintDialog.cs: Added attributes and set default property values.
2442 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2444 * PrintControllerWithStatusDialog.cs:
2445 Added PrintControllerWithStatusDialog.
2447 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2449 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
2450 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2452 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2454 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2456 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2458 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2459 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2461 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2463 * MimeIcon.cs: Added internal class SVGUtil.
2465 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2467 * FileDialog.cs: Don't crash if there are two files with the
2468 same name but different locations.
2470 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
2472 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2473 dates across multiple month grids. Used to not highlight entire
2474 month, but does now.
2476 2006-01-06 Jackson Harper <jackson@ximian.com>
2478 * MonthCalendar.cs: Removed DoEvents call to prevent a running
2479 message loop. Change timer intervals to numbers that seem more
2482 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
2484 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2485 object for location info since screen object is now implemented.
2487 2006-01-05 Jackson Harper <jackson@ximian.com>
2489 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2490 * AsyncMethodResult.cs: We no longer use a WeakReference for the
2491 AsyncMethodResult, this is because we ALWAYS want the
2492 ManualResetEvent to get set.
2493 * Control.cs: When disposing use an async invoke to call shutdown
2494 code, so that thigns don't block on the finalizer thread. Also
2495 check if we even have a message loop before trying to send
2496 messages, if we don't then don't bother sending messages.
2497 - No more weak references for async methods
2498 * XplatUIDriver.cs: No more weak references for async methods.
2500 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2502 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2503 returns two FontFamily with the same name
2505 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2507 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
2508 drawing disabled text. Instead using the ColorGrayText color
2510 2006-01-04 Jackson Harper <jackson@ximian.com>
2512 * TreeNode.cs: redraw the node when its image index is changed.
2514 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2516 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2517 time I checked there are no others like it.
2519 2006-01-04 Jackson Harper <jackson@ximian.com>
2521 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2522 this gives the behavoir I was looking for.
2523 * Control.cs: Special case Invoking EventHandlers, this matches MS
2524 and fixes part of bug #76326.
2526 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2528 * ThemeClearlooks.cs, FileDialog.cs:
2529 - Reflect the latest Theme class changes
2530 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
2533 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2535 * Theme.cs: Cache UI resource images and resize them if needed
2537 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2539 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2540 is called. This fixes the crash in Nexxia when setting the font
2541 attributes in the chat. [However, RTF needs a look-over to make sure
2542 that all SelectionXXX methods handle the special case that selection
2543 is empty and therefore the change must be applied to all text starting
2544 at the cursor/selection start]
2546 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2548 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2549 XplatUIOSX.cs: Added SendMessage and PostMessage methods
2550 * X11Keyboard.cs: Switched to new way of calling PostMessage
2552 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2554 * Theme.cs: Added theme interface for images to allow the theme to
2555 control what images are used for things like FileDialog, MessageBox
2557 * MessageBox.cs: Now uses the new Theme icon/image interfaces
2559 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
2562 - Removed some dead code
2563 - Opening a recently used file does work now
2564 - Small UI enhancements
2567 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2569 * FileDialog.cs: Forgot too add __MonoCS__
2571 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2573 * FileDialog.cs: We are able to read recently used files now let's
2574 go on and write them.
2576 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
2578 * FileDialog.cs: Breathe some life into "last open"/"recently used"
2580 * MimeIcon.cs: Do a check for the top level media type also
2582 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2584 * ThemeClearlooks.cs:
2585 - Added CPDrawStringDisabled
2586 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2587 some chars if the text doesn't fit into text_rect
2588 - DrawListViewItem: If View = View.LargeIcon center the image;
2589 rewrote the drawing of ListViewItem.Text if View =
2592 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2594 * MimeIcon.cs: Use default KDE icon theme if there is no
2595 "48x48" directory for the current icon theme, fixes #77114
2596 * Mime.cs: Disable not working and actually not used code.
2597 * ThemeWin32Classic.cs:
2598 - Replace "new SolidBrush" in GetControlBackBrush and
2599 GetControlForeBrush with ResPool.GetSolidBrush
2600 - Changed DrawListViewItem from private to protected virtual
2602 - Added form.MaximizeBox = true
2603 - Don't throw an exception if there is a broken symbolic link
2605 2005-12-23 Jackson Harper <jackson@ximian.com>
2607 * TabControl.cs: Give the panels focus, keyboard navigation is
2608 fixed so this works correctly now.
2609 - We need these key events also.
2610 * ToolBar.cs: Remove some of the poor mans double buffering.
2612 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
2614 * ComboBox.cs: The internal TextBox now returns the focus.
2616 2005-12-23 Jackson Harper <jackson@ximian.com>
2618 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
2620 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2622 * Control.cs: Removed debug code
2623 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2626 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2628 * Control.cs: When creating the control, update the Z-order after
2629 all it's children are created, too. (Fixes nexxia not showing
2632 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2634 * Control.cs: Do not update the anchoring distances if layout is
2635 suspended, instead do it once layout is resumed
2637 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2640 - After many hours of debugging, for both Jackson and
2641 myself, it turns out that it helps to set the parent of a control
2642 if you want to actually see it onscreen. In the spirit of that
2643 discovery, we're now setting the parent of the control and
2644 it's children when the control's handle is created. This fix
2645 will make Lutz Roeder's Reflector run happily.
2646 - now just creating the handle instead of the whole control when
2647 getting a graphics context for the control.
2649 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2651 * ScrollableControl.cs: When calculating the canvas, don't consider
2652 the scrollbar widths. Instead, predict if horizontal scrollbar
2653 will affect canvas when deciding on vertical display and vice versa.
2655 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2657 * RichTextBox.cs: Set default RTF font for documents that don't
2658 have a font table (Fixes #77076)
2660 2005-12-22 Jackson Harper <jackson@ximian.com>
2662 * TextBoxBase.cs: It's difficult to do, but you can have an empty
2663 clipboard. This prevents a NullRef in that case.
2664 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2665 clipboard. PRIMARY is for the currently selected text only. (We
2666 should implement PRIMARY at some point.
2668 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2670 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2671 a Unicode function with a structure that was defined in Ansi way.
2674 2005-12-21 Jackson Harper <jackson@ximian.com>
2676 * StatusBar.cs: Statusbar handles its fore/back colours on it's
2677 on. Because thats how it rolls. (and this avoids it using ambient
2679 * ThemeWin32Classic.cs: Use the proper back color for filling.
2680 * Menu.cs: Use the system menu bar color for drawing menu
2681 bars. Using the window back color will bring ambient colours into
2684 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
2686 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2687 Bitmaps were created and not disposed.
2689 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2691 * Control.cs (CreateControl): Don't do anything if the control is
2692 already created, otherwise we'd fire the OnCreated event more than
2695 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2697 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2698 will always match. Instead return -1. Fixes #76464.
2700 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2702 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2703 neither the beginning nor the end of the line (Fixes bug #76479)
2705 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2708 - ControlNativeWindow.ControlFromHandle(): Now handling situation
2709 where handle is invalid
2710 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2711 instead of slower linear search
2712 * NativeWindow.cs: Don't remove the window from the hashtable until
2713 after the driver has destroyed it (since the driver might use
2714 Control.FromHandle to lookup the control object
2715 * Hwnd.cs: Added DestroyPending property to track if a window is
2716 already destroyed as far as the driver is concerned and only hasn't
2717 yet notified the control
2719 - Activate(): Check if the window is still valid before using the
2721 - Implemented DestroyChildWindow() method to mark child windows as
2722 destroyed when a window is destroyed. This prevents situations
2723 where we might call an X method based on queued events for a
2724 window that already has been destroyed but we haven't yet pulled
2725 the destroy method from the queue.
2726 - Added a call to the new DestroyChildWindow() method to the drivers
2727 DestroyWindow code. Also now marking the destroyed window itself
2730 2005-12-20 Jackson Harper <jackson@ximian.com>
2733 * StatusBarPanel.cs: Don't calculate panel sizes on draw
2734 anymore. Just do them when needed, also track the rects of panels
2735 so that we can optimize refreshing more in the future.
2737 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
2739 * ColorDialog.cs: Fixed focus drawing in small color controls
2741 2005-12-19 Jackson Harper <jackson@ximian.com>
2743 * InternalWindowManager.cs:
2744 * MdiWindowManager.cs: Cleanup some coordinate system changes so
2745 moving windows works properly.
2747 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
2750 - Removed call to InitLayout() from SetBoundsCore(); doc says
2751 it's only called when a control is added to a container
2752 - Split InitLayout logic, moved to separate UpdateDistances() method
2753 since we need to perform those calculations more often than just
2754 when adding the control to a container. (Needed to fix #77022)
2755 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2756 - Reduced the OnBindingContextChanged events count, don't send them
2757 unless the control is created, we still aren't totally matching
2758 MS, but I can't quite figure out some of their rules
2760 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2762 * ThemeClearlooks.cs: Corrected distance between ProgressBar
2765 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2767 * ThemeClearlooks.cs:
2768 - Updated ProgressBar drawing
2769 - Corrected drawing of ScrollBars and scroll buttons
2770 - Some temporary fixes for minor pixel artefacts
2772 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
2775 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2776 cause events to be sent in the same order as MS does.
2777 - Added ChangeParent() method to trigger various OnXXXChanged events
2778 that need to be fired when a parent changes (This is a reworking
2779 of the patch from r54254, with the X11 errors fixed)
2780 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2781 since on MS we get OnLayoutChanged events when calling Clear()
2782 - Changed Enabled property to consider parent state as well, if a
2783 parent is not enabled, the control will not be either
2784 - Changed Parent property to simply call Controls.Add() since that
2785 now does all the work required, this way we avoid code duplication
2786 - Threw in a few OnBindingsContextChanged calls to try and match
2787 when MS sends them. We seem to send a few too many, though.
2788 - Added call to CreateControl when adding the control to a parent.
2789 We were never calling CreateControl. Still needs some work, in
2790 some places we treat HandleCreated and ControlCreated as equal,
2792 - Removed obsolete commented out code from UpdateZOrder()
2794 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2796 * ThemeClearlooks.cs: Updated TrackBar drawing.
2798 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2800 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2802 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2804 * FileDialog.cs: Add the Help button and the open readonly
2805 checkbox only if needed
2807 2005-12-16 Jackson Harper <jackson@ximian.com>
2809 * Control.cs: Make sure we have an active menu before trying to
2810 process commands on it. Prevents menu-less forms from crashing
2811 when Alt is pressed.
2812 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2814 * RichTextBox.cs: Expand statement to help out gmcs and fix the
2817 2005-12-16 Jackson Harper <jackson@ximian.com>
2819 * InternalWindowManager.cs: Don't translate tool windows screen
2820 coordinates. This fixes windows 'bouncing' around when being moved.
2822 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2825 - MaxLength now treats 2^31-1 equal to unlimited length (this is
2826 not quite MS compatible, MS uses that number only for single line
2827 and 2^32-1 for multi-line, but I figure it won't hurt keeping
2829 - Now enforcing the MaxLength limit when entering characters
2830 - Added argument to internal Paste() method to track if it's called
2831 from programatically or via keyboard, since keyboard driven pastes
2832 need to enforce max-length
2833 - Added logic to Paste to only paste as many chars as MaxLength
2835 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2837 - Added Length property to return number of characters in document
2838 - Added private CharCount property which only tracks actual chars
2839 in the document (no linefeeds) and fires event when CharCount
2841 - Added tracking of character count to all methods that alter it
2842 - Added LengthChanged event to allow applications to subscribe
2843 to any changes to the document
2845 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2848 - Removed local password_char field (moved to TextBoxBase)
2849 - Now setting the document's password var when password is
2852 - Added password_char field (needed here so MultiLine can
2854 - Added logic to MultiLine property setter to set the document's
2855 variable when password display is allowed
2856 - Removed debug code and made some debug code conditional
2858 - Added RecalculatePasswordLine() method to handle special password
2860 - Added PasswordChar property, also added related tracking vars
2861 - Draw() method now uses local text var for grabbing text to draw,
2862 this var is set to line.text unless we're doing password display,
2863 then it is set to the pre-generated all-password-chars line
2864 - Added calling RecalculatePasswordLine() method for password lines
2866 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2869 - Added Reparented property to allow tracking of Window Manager
2870 reparenting actions (which affect X/Y calculations of toplevel
2872 - Made ToString() print window handles in hex
2874 - AddConfigureNotify(): Now uses reparented state off Hwnd to
2875 determine if X/Y needs offsetting
2876 - AddConfigureNotify(): Fixed offset calculations
2877 - Now adds ReparentNotify messages into the queue
2878 - Now processes ReparentNotify messages and causes a
2879 WM_WINDOWPOSCHANGED message to be sent upstream if a window
2880 is reparented (as most likely it's X/Y coordinates are changed
2883 2005-12-14 Jackson Harper <jackson@ximian.com>
2885 * XplatUIX11.cs: Tool windows still need to respek focus.
2887 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2889 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2890 have a working release
2892 2005-12-13 Jackson Harper <jackson@ximian.com>
2894 * Form.cs: Update styles after setting the border style regardless
2895 of whether or not the window is using a window manager.
2897 2005-12-13 Jackson Harper <jackson@ximian.com>
2899 * Form.cs: We now hook into an internal window manager instead of just an
2900 MDI subsystem, this is so we can have properly behaving tool windows.
2901 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2902 * InternalWindowManager.cs: New internal class that acts as a
2903 window manager for tool windows and as a base for mdi windows.
2904 * MdiWindowManager.cs: New class that acts as a window manager for
2907 2005-12-12 Jackson Harper <jackson@ximian.com>
2909 * Control.cs: Updates so we match behavoir for for implicit
2910 controls. Fixes explosions in MDI.
2912 2005-12-12 Jackson Harper <jackson@ximian.com>
2914 * Control.cs: Implement Invalidate (Region).
2916 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
2919 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
2920 the same events as MS does. MS fires events for each property
2921 except, for unknown reasons, Cursor, when the control is reparented.
2922 I can't seem to totally match add/remove since MS also fires some
2923 VisibleChanged events, which makes no sense. Consolidated the
2924 parenting code into a separate method so it can be called from
2925 both Add and Remove. set_Parent no longer needs any special logic
2926 as it calls the parent's add method which implicitly fires
2928 - Removed some obsolete code and debug output
2929 - Enabled state is inherited from parents, if this is enabled
2931 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2933 * Form.cs: Removed commented out code
2935 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2938 - Added internal version of Invoke, with additional argument
2939 indicating if we're calling it from a Dispose() handler. That
2940 way we can avoid BeginInvoke throwing an exception if we're
2941 calling for an already destroyed window.
2942 - Added a dispose argument to BeginInvokeInternal, and made the
2943 check if a valid window handle chain exists conditional on
2944 it not being a dispose call
2945 - Removed code in DestroyHandle to destroy our children. Since we
2946 now handle the WM_DESTROY message we will catch all our children
2948 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2950 - Added a field to track the application context of the form.
2951 - No need to set closing variable as response to WM_CLOSE, instead
2952 we destroy the window. We also call PostQuitMessage if the form
2953 has an application context (which makes it the main app form,
2954 which, when closed terminates the app)
2956 - Dropped Exit() method, it's naming was confusing
2957 - Added PostQuitMessage() which causes GetMessage to return false
2958 once the message queue is empty
2959 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
2961 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2962 no longer a valid XplatUI method, but left it in since it's used
2963 internally. Added empty PostQuitMessage() method.
2964 * MenuAPI.cs: Replaced call to Exit() with call to
2965 PostQuitMessage, even though this is probably no longer needed.
2966 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2967 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2969 - Replaced call to XplatUI.Exit() with PostQuitMessage()
2970 - Removed old debug code that would call XplatUI for exception
2971 display, enabled standard exception handling (Still not enabled
2972 though, until NativeWindow's ExternalExceptionHandler define
2975 - Added internal method to allow control to update NativeWindow
2976 after a window has been destroyed
2977 - Added handling of already destroyed windows when calling i
2979 - Added removal of handle from list on ReleaseHandle
2981 - Dropped GetMessageResult var and related code
2982 - Added PostQuitState to field to track if PostQuitMessage has been
2984 - Dropped Exit() method
2985 - Added PostQuitMessage() method
2986 - GetMessage now will return false if PostQuitState is set and no
2987 more messages are in the queue.
2988 - Expose handler will no longer generate WM_PAINT messages if we are
2989 in PostQuitState since it's very likely any windows have already
2990 been destroyed, and since Hwnd won't get updated until we have
2991 processed the DestroyNotify we'd be causing X errors.
2993 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2995 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2996 Thanks to Mike for pointing out the err of my ways.
2998 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3000 * Control.cs(PreProcessMessage): Moved menu handling back, but
3001 after all other key handling, to match MS (who handles Menu in
3003 * Menu.cs (WndProc): Removed my brainfart
3005 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3007 * Control.cs(PreProcessMessage): Removed special menu handling
3008 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3010 2005-12-07 Mike Kestner <mkestner@novell.com>
3012 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3013 state according in tracker.
3014 * Menu.cs : promote tracker field to base class and provide a tracker
3015 lookup capability. Add/Remove shortcuts dynamically if the top menu
3016 has a tracker. Unparent items that are removed from the collection.
3017 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3018 * Theme*.cs: add always_show_hotkeys field to support configurability
3019 of mnemonic display. win32 doesn't show mnemonics until Alt is
3022 2005-12-07 Jackson Harper <jackson@ximian.com>
3024 * MdiChildContext.cs: Use Control.ResetCursor.
3025 * Control.cs: ResetCursor needs to set the property so that the
3026 correct XplatUI call gets made.
3028 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3030 * Control.cs: More fixes to make our key events match MS. We
3031 were not setting the modifier state on KeyData, and we were
3032 not generating any events when Alt was pressed with a key
3033 since handling of WM_SYSxxx was missing for the OnKey methods.
3035 2005-12-07 Jackson Harper <jackson@ximian.com>
3037 * MdiChildContext.cs: reenable the sizing code.
3038 - When the mouse leaves a window reset its cursor.
3040 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3042 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3044 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3046 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3047 widths of Fixed3D borders
3049 2005-12-07 Jackson Harper <jackson@ximian.com>
3051 * MdiClient.cs: Fix warnings. Earn Mike's love.
3053 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3055 * ThemeClearlooks.cs:
3056 - Adjusted mouse over button color
3057 - Added first parts of CheckBox drawing
3058 - Added correct color for selected text background
3059 - Fixed ComboBox drawing
3060 - Added CPDrawBorder3D and CPDrawBorder
3062 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3064 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3066 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3068 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3069 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3070 alert users via sound. We could add an enum arg with different
3071 types of alerts in the future
3073 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3075 * Control.cs: Fix behaviour problems pointed out by Mike
3077 2005-12-05 Mike Kestner <mkestner@novell.com>
3079 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3080 prop setters. Calls parent.Refresh for now, but could be maybe be
3081 optimized with an internal method on StatusBar at some point.
3084 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3086 * RichTextBox.cs: Implemented get_SelectionColor
3088 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3090 * ThemeClearlooks.cs:
3092 - Draw black button border only if button is Form.AcceptButton
3093 - Draw correct button color for pressed RadioButton if the mouse
3094 has entered the button
3095 - Updated ProgressBar drawing!
3096 - Updated CPDrawSizeGrip drawing
3097 - Updated StatusBarPanel drawing
3099 2005-12-05 Mike Kestner <mkestner@novell.com>
3101 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3102 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3104 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
3106 * ThemeClearlooks.cs: Initial check-in, activate with
3107 export MONO_THEME=clearlooks
3108 * ThemeEngine.cs: Added ThemeClearlooks
3110 2005-12-03 Mike Kestner <mkestner@novell.com>
3112 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3115 2005-12-02 Jackson Harper <jackson@ximian.com>
3117 * Form.cs: If the child form has no menu the default main menu is
3118 used as the active menu.
3120 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3122 * ListBox.cs: Check if any items exist before trying to resolve
3123 coordinates into items
3125 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3127 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3128 as the second color for the background hatch
3130 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3132 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3133 * RichTextBox.cs: FormatText position arguments are 1-based, now making
3134 sure that what we pass to FormatText is always 1-based. Fixes #76885
3136 2005-11-29 Miguel de Icaza <miguel@novell.com>
3138 * NumericUpDown.cs (EndInit): When we are done initializing,
3139 reflect any updates on the UI.
3141 2005-12-02 Jackson Harper <jackson@ximian.com>
3143 * ImplicitHScrollBar.cs:
3144 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3145 their container controls.
3146 * TreeView.cs: Use the new implicit scrollbars.
3148 2005-12-02 Jackson Harper <jackson@ximian.com>
3150 * TreeView.cs: Make top_node internal so the TreeNodeCollections
3152 * TreeNodeCollection.cs: If we remove the topnode we need to
3153 update topnode to the next node in line.
3154 - When clearing nodes go through the same process as removing
3155 them, so they get depareneted and checked if they are top node.
3157 2005-12-01 Jackson Harper <jackson@ximian.com>
3159 * TreeView.cs: When imagelists are used the image area is
3160 selectable as well as the text.
3161 - If there are no selected nodes select the first one.
3162 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3163 so don't do it more then we need to.
3165 2005-12-01 Jackson Harper <jackson@ximian.com>
3167 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3168 that arrows can be scaled.
3170 2005-12-01 Jackson Harper <jackson@ximian.com>
3172 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3173 fail. Patch by Dieter Bremes
3175 2005-11-30 Jackson Harper <jackson@ximian.com>
3177 * Form.cs: Property is 2.0 only
3178 * PrintDialog.cs: Signature fix.
3180 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3183 - No longer artificially moves text 2 pixels down (now that we have
3184 borders this is no longer needed)
3185 - Added calcs for left, hanging and right indent
3187 2005-11-23 Mike Kestner <mkestner@novell.com>
3189 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3191 2005-11-30 Jackson Harper <jackson@ximian.com>
3193 * MdiChildContext.cs: Set the cloned menus forms, as these don't
3194 get cloned as part of CloneMenu ().
3195 * Menu.cs: Make sure the parent of the items get set correctly
3196 when they are added. And the owners are notified of the changes.
3197 * Form.cs: Create an ActiveMenu property, so that when MDI is used
3198 we can change the menu being displayed/handled by the form without
3199 changing the menu assosciated with the form.
3200 - Don't let Mdi children draw/handle menus.
3202 2005-11-30 Jackson Harper <jackson@ximian.com>
3204 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3205 a MenuChanged event. Just to make the API a little more
3208 * MenuItem.cs: Use the new OnMenuChanged
3209 * MdiChildContext.cs: Handle menu merging.
3210 * Form.cs: Implement MergedMenu.
3212 2005-11-30 Jackson Harper <jackson@ximian.com>
3214 * Menu.cs: We were misusing Add. Add goes behind the specified
3215 index according to the docs, and does not replace the specified
3216 index. So I added an Insert method.
3218 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3220 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3221 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3223 * RichTextBox.cs: Added calls to base for DnD events
3225 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
3228 - Fixed drag-selection related crash; style fixes
3229 - Implemented undo class
3230 o Implemented method to capture document state for specified
3231 range in document tree
3232 o Implemented method to restore captured document state
3233 o Implemented cursor tracking
3234 o Implemented basic undo stack
3235 - Added undo cursor tracking to methods altering cursor location
3236 - Added undo tracking to selection deletion (still missing
3237 other text-altering hookups)
3239 - Added SelectionLength property
3240 - Implemented CanPaste()
3241 - Implemented Paste()
3242 - Added missing protected methods
3243 - Fixed RTF->Document conversion; now uses font index 0 and color
3244 index 0 as the default font for the parsed text
3245 - Fixed RTF<->Document font size translation
3246 - Fixed RTF generation, now properly handles cross-tag boundaries
3247 for single line selection
3248 - No longer always appends blank line to generated RTF
3250 - Added missing attributes
3251 - Hooked up undo-related methods
3253 - Implemented Copy()
3254 - Implemented Paste()
3256 - Fixed caret mis-behaviour on backspace across line-boundaries
3258 2005-11-29 Jackson Harper <jackson@ximian.com>
3260 * MdiClient.cs: Add a method for activating mdi children. Very
3261 basic right now. I imagine someday it might need more girth.
3262 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3263 children windows names are added to the menu item.
3264 * ThemeWin32Classic.cs: Draw the arrow if the item is an
3265 mdilist. This happens regardless of whether or not there are any
3266 mdi windows to see in the list, and according to my tests happens
3267 before the items are even added. Also happens if there isn't even
3268 an mdi client to get windows from.
3270 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
3272 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3273 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3275 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
3277 * DataGridTableStyle.cs:
3278 - Create always the styles for the missing columns even if they are
3279 provided by the user (not default table style)
3282 - Fixes SetDataBinding (always re-attach source)
3283 - Fixes SetNewDataSource (only clear styles if they are not for
3285 - Expands OnTableStylesCollectionChanged to handle style refresh
3288 2005-11-29 Jackson Harper <jackson@ximian.com>
3290 * FileDialog.cs: Implement missing bits, remove some dead
3292 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3293 creation of the panel so that the options set on the dialog are
3294 seen when the panel is created.
3295 * TreeView.cs: raise a click when items are clicked.
3297 2005-11-29 Jackson Harper <jackson@ximian.com>
3299 * MdiClient.cs: Pass some signature methods through to base.
3301 2005-11-28 Jackson Harper <jackson@ximian.com>
3303 * ListView.cs: Raise the click event when items are clicked.
3305 2005-11-28 Jackson Harper <jackson@ximian.com>
3307 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3310 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3312 * ThemeNice.cs: - Removed 1 pixel bitmaps
3313 - Use SmoothingMode.AntiAlias where it makes sense
3314 (ScrollButton arrow for example)
3315 - Enhanced Button focus drawing
3316 - Fixed ComboBox drawing (no artefacts anymore, focus
3317 rectangle is back again, reduced size of ComboButton, etc.)
3318 - Fixed RadioButton focus drawing for Appearence.Button
3319 - Slight ScrollButton redesign
3320 - Some LinearGradientBrush size fixes
3321 - GroupBoxes have now rounded edges
3322 - Fixed StatusBar drawing
3324 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3326 * ThemeNice.cs: - Remove dead code
3327 - use correct background colors for menus, etc.
3328 - Fake pixel drawing with 1 pixel bitmaps
3330 2005-11-24 Jackson Harper <jackson@ximian.com>
3332 * MdiClient.cs: Size the scrollbars when resizing the window.
3333 - Resize the maximized windows when the client is resized
3334 * Form.cs: Make the child context available
3336 2005-11-23 Jackson Harper <jackson@ximian.com>
3338 * MdiChildContext.cs: Don't size windows if they are maximized.
3340 2005-11-23 Mike Kestner <mkestner@novell.com>
3342 * ContextMenu.cs: use MenuTracker.
3343 * Control.cs: remove menu handle usage.
3344 * Form.cs: remove menu handle usage.
3345 * Hwnd.cs: remove menu handle usage.
3346 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3347 motion and clicks to the new Tracker handlers.
3348 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3350 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3351 Killed the MENU and MENUITEM data types and associated collections
3352 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3353 MenuTracker class that exposes the leftovers from the old MenuAPI
3354 static methods. Restructured Capture handling so that only one grab is
3355 done for the entire menu hierarchy instead of handing off grabs to
3356 submenus. Tracker now has an invisible control to Capture when active.
3357 * MenuItem.cs: add sizing accessors, kill Create
3359 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3360 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3361 MENU(ITEM). remove menu handle usage, use Menu directly.
3362 * XplatUIDriver.cs: remove menu handle usage.
3363 * XplatUIOSX.cs: remove menu handle usage.
3364 * XplatUIWin32.cs: remove menu handle usage.
3365 * XplatUIX11.cs: remove menu handle usage.
3367 2005-11-22 Jackson Harper <jackson@ximian.com>
3369 * Hwnd.cs: Don't compute the menu size for
3370 DefaultClientRectangle.
3371 - Reenable menu sizes being computed for GetClienRectangle.
3372 * Form.cs: Remove comment of trechery
3374 2005-11-22 Jackson Harper <jackson@ximian.com>
3376 * Hwnd.cs: The adjustments for the menu bar are made when it is
3377 attached to the form.
3379 2005-11-19 Jackson Harper <jackson@ximian.com>
3381 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3382 (just like on windows).
3384 2005-11-19 Jackson Harper <jackson@ximian.com>
3386 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3387 use real buttons anymore because they are in non client area. The
3388 one TODO here is that I need to somehow invalidate a section of
3389 the non client area.
3391 2005-11-18 Jackson Harper <jackson@ximian.com>
3393 * Control.cs: Put the enum check back in now that MDI doesnt have
3394 to use this to set border styles.
3395 * Form.cs: Only set mdi child windows borders if the handle has
3397 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3398 this directly on to the driver.
3399 - Get the move start position before adjusting for the titlebar
3400 height, this fixes the windows "skipping" when they are first
3403 2005-11-18 Jackson Harper <jackson@ximian.com>
3405 * XplatUIX11.cs: Just compute the mdi borders separately as they
3406 don't totally match up with normal form borders.
3408 2005-11-18 Jackson Harper <jackson@ximian.com>
3410 * Control.cs: Set WS_ styles for borders, so that the driver does
3411 not have to retrieve the control instance to figure out what kind
3412 of borders it should have.
3413 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3414 driver can know its an mdi child easily.
3415 * XplatUIX11.cs: Get the border styles and whether the window is
3416 MDI from the Styles and ExStyles params instead of having to get a
3417 control. This prevents a chicken and egg problem.
3419 2005-11-18 Jackson Harper <jackson@ximian.com>
3421 * MdiClient.cs: Fix typo so scrollbars show up correctly.
3423 2005-11-18 Jackson Harper <jackson@ximian.com>
3425 * MdiClient.cs: Calculate when to add and remove scrollbars
3427 * MdiChildContext.cs: Adjust the y position to take the titlebar
3429 - No height for FormBorderStyle.None
3431 2005-11-18 Jackson Harper <jackson@ximian.com>
3433 * Control.cs: Allow non enum values to be used for
3434 InternalBorderStyle. MDI does this to set a special border style.
3435 - New utility methods for converting points to/from client coords
3436 - Add the newly created control to the Controls collection before
3437 updating its style. This way UpdateStyle can walk the control
3438 heirarchy to find the control if needed.
3439 so I don't need to create a new Point object all the time.
3440 * Form.cs: Let MDI windows handle their border styles.
3441 - Set styles on MDI windows so the correct title style is derived.
3442 * MdiChildContext.cs: Move all the painting and window handling
3443 into the non client area.
3444 - Use correct sizing and put correct buttons on frames based on
3445 the FormBorderStyle.
3446 - Notify the mdi client about scrolling
3447 - Need to handle the buttons ourselves now, because they are all
3448 in non client areas and we can't add controls there.
3449 * MdiClient.cs: Halfway to scrolling, this implementation is
3450 somewhat broken though, we need to check to make sure other
3451 windows aren't causing scrolling before removing the bars. Also
3452 the bars need to be drawn on top, maybe I can switch implicit
3453 controls to be on top.
3454 * Hwnd.cs: caption_height and tool_caption_height are now
3455 properties of an hwnd, this way they can be set by the driver
3456 based on the type of window they are. In X11 the window manager
3457 handles the decorations so caption_height is zero unless its an
3459 - Add 3 pixel borders for MDI windows (0xFFFF).
3460 - Get rid of some code duplication, have DefaultClientRectanle
3461 just call GetClientRectangle.
3462 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3464 - Set border styles differently for mdi windows.
3465 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3468 2005-11-15 Mike Kestner <mkestner@novell.com>
3470 * Menu.cs: when adding an item to the collection, if item is already
3471 parented, remove it from the parent.
3473 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
3475 * X11DesktopColors.cs: Added KDE support
3477 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
3480 - Clipboard methods now can translate Rtf format
3481 - No longer removes clipboard contents whenever a new format is added
3482 to allow placing multiple formats on the clipboard
3483 * Clipboard.cs: Clipboard now supports getting a IDataObject and
3484 will place all formats contained in it onto the clipboard. Also
3485 now cleans the clipboard before placing a new object onto it
3487 - Implemented set_Rtf
3488 - Implemented set_SelectedRtf
3489 - Created InsertRTFFromStream() method to allow single code base
3490 for all properties and methods that insert RTF into document
3491 - Removed debug output
3493 - Fixed Delete(int) to fix up line numbers
3494 - Fixed ReplaceSelection to combine start and end line
3495 - Fixed serious DeleteChars bug that would leave the document tree
3497 - Improved DumpTree with several logic checks to detect broken
3499 - Removed debug lines
3500 - Fixed Caret.WordForward/WordBack moving code, now always also
3501 updates caret.tag (fixes crash when word-selecting across tag
3502 boundaries via keyboard)
3503 - Added Insert() method for inserting multiline text into documents
3504 - Fixed DeleteChars() calculation errors that would cause a broken
3505 tag chain with multiple tag lines
3506 - DeleteChars() no longer crashes on multi-tag lines if not all tags
3507 - Split() no longer moves caret if split is at caret location
3508 - ReplaceSelection() now updates the cursor and re-displays it
3509 - ReplaceSelection() now uses new Insert() method to avoid code
3511 - FormatText() can now handle formatting partial lines
3513 - Append now uses new TextControl.Insert() method (this avoids
3515 - Implemented Ctrl-X (Cut) (
3516 - Implemented Ctrl-C (Copy)
3517 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
3518 regeneration when pasting text; roundtripping Copy&Paste within
3519 edit control still fails due to some calculation bugs in GenerateRTF)
3520 - The Delete key will now remove the current selection if it is visible
3521 * TextBox.cs: Removed debug lines
3522 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3523 driver to be initialized and can't therefore be done via a static ctor)
3525 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
3527 * TextControl.cs: Added backend code for finding char arrays and strings
3529 - Added mouse wheel scroll support
3530 - Added support for VScroll and HScroll events
3532 - Implemented all seven Find() variants
3533 - Implemented GetCharFromPosition()
3534 - Implemented GetCharIndexFromPosition()
3535 - Implemented GetLineFromIndex()
3536 - Implemented GetPositionFromCharIndex();
3537 - Implemented SaveFile for PlainText and UnicodeText
3538 - Fixed set_Font, now setting a new font applies that font to
3540 - Implemented generic Document to RTF converter
3541 - Implemented SaveFile for RichText format (still missing unicode
3542 conversion for non-ansi chars)
3543 - Implemented get_Rtf
3544 - Implemented get_SelectedRtf
3546 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
3548 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3549 to allow any captures to be released before triggering OnClick. This
3550 way a click handler may capture the mouse without interference.
3551 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3552 This way we send them even though X may not allow a grab (if the window
3553 isn't visible, for example)
3555 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
3557 * DataGridViewRowEventArgs.cs: DataGridView implementation
3558 * DataGridViewElement.cs: DataGridView implementation
3559 * DataGridViewComboBoxCell.cs: DataGridView implementation
3560 * DataGridViewDataErrorContexts.cs: DataGridView implementation
3561 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3562 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3563 * ImageLayout.cs: DataGridView implementation
3564 * DataGridViewComboBoxColumn.cs: DataGridView implementation
3565 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3566 * DataGridViewSelectionMode.cs: DataGridView implementation
3567 * IDataGridViewEditingControl.cs: DataGridView implementation
3568 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3569 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3570 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3571 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3572 * DataGridViewColumnSortMode.cs: DataGridView implementation
3573 * DataGridView.cs: DataGridView implementation
3574 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3575 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3576 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3577 * Padding.cs: DataGridView implementation
3578 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3579 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3580 * DataGridViewRowEventHandler.cs: DataGridView implementation
3581 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3582 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3583 * DataGridViewButtonCell.cs: DataGridView implementation
3584 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3585 * DataGridViewEditMode.cs: DataGridView implementation
3586 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3587 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3588 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3589 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3590 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3591 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3592 * DataGridViewCellEventHandler.cs: DataGridView implementation
3593 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3594 * DataGridViewCellStyleConverter.cs: DataGridView implementation
3595 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3596 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3597 * DataGridViewColumnEventArgs.cs: DataGridView implementation
3598 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3599 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3600 * QuestionEventArgs.cs: DataGridView implementation
3601 * IDataGridViewEditingCell.cs: DataGridView implementation
3602 * DataGridViewTriState.cs: DataGridView implementation
3603 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3604 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3605 * DataGridViewColumnCollection.cs: DataGridView implementation
3606 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3607 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3608 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3609 * DataGridViewColumn.cs: DataGridView implementation
3610 * DataGridViewCellBorderStyle.cs: DataGridView implementation
3611 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3612 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3613 * DataGridViewRow.cs: DataGridView implementation
3614 * DataGridViewImageCellLayout.cs: DataGridView implementation
3615 * DataGridViewImageCell.cs: DataGridView implementation
3616 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3617 * DataGridViewCheckBoxCell.cs: DataGridView implementation
3618 * DataGridViewHeaderCell.cs: DataGridView implementation
3619 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3620 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3621 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3622 * DataGridViewTextBoxColumn.cs: DataGridView implementation
3623 * QuestionEventHandler.cs: DataGridView implementation
3624 * DataGridViewCellStyleScopes.cs: DataGridView implementation
3625 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3626 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3627 * DataGridViewCell.cs: DataGridView implementation
3628 * DataGridViewCellEventArgs.cs: DataGridView implementation
3629 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3630 * DataGridViewCellStyle.cs: DataGridView implementation
3631 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3632 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3633 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3634 * TextFormatFlags.cs: DataGridView implementation
3635 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3636 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3637 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3638 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3639 * DataGridViewButtonColumn.cs: DataGridView implementation
3640 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3641 * HandledMouseEventArgs.cs: DataGridView implementation
3642 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3643 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3644 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3645 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3646 * DataGridViewRowCollection.cs: DataGridView implementation
3647 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3648 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3649 * DataGridViewHitTestType.cs: DataGridView implementation
3650 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3651 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3652 * DataGridViewColumnEventHandler.cs: DataGridView implementation
3653 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3654 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3655 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3656 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3657 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3658 * DataGridViewContentAlignment.cs: DataGridView implementation
3659 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3660 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3661 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3662 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3663 * DataGridViewPaintParts.cs: DataGridView implementation
3664 * DataGridViewCellCollection.cs: DataGridView implementation
3665 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3666 * DataGridViewImageColumn.cs: DataGridView implementation
3667 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3668 * DataGridViewElementStates.cs: DataGridView implementation
3669 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3670 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3671 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3672 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3673 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3674 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3675 * DataGridViewRowHeaderCell.cs: DataGridView implementation
3676 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3677 * DataGridViewTextBoxCell.cs: DataGridView implementation
3678 * DataGridViewBand.cs: DataGridView implementation
3679 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3680 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3681 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3682 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3683 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3684 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3685 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3686 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3687 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3688 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3689 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3691 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
3693 * ThemeWin32Classic.cs:
3694 - Draw the outside focus rectangle around buttons
3695 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3696 doesn't use end caps for every dash of a line anymore. This
3697 workaround ignores the forecolor.
3699 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
3701 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3704 2005-11-07 Jackson Harper <jackson@ximian.com>
3706 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3708 2005-11-07 Jackson Harper <jackson@ximian.com>
3710 * ScrollableControl.cs: Calculate the maximum and change vars
3711 (more) correctly so that scrollbars appear as a sensible size.
3713 2005-11-04 Jackson Harper <jackson@ximian.com>
3715 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3717 * TreeView.cs: When the tree is sorted null out the top_node so
3718 that it is recalculated.
3719 - Use dotted lines instead of dashed lines to match MS better.
3721 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
3724 - Implements key search for items. Useful when browsing files with FileDialog
3725 - When changing view mode or when clear the items reset scrollbar positions
3727 2005-11-04 Jackson Harper <jackson@ximian.com>
3729 * CurrencyManager.cs: Implement the MetaDataChanged event, the
3730 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3731 as to what the method may do as there is no real way of creating a
3732 derived CurrencyManager and calling the method.
3734 2005-11-03 Jackson Harper <jackson@ximian.com>
3736 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3737 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3738 method which seems to just be used internally to refresh the tabs.
3740 2005-11-03 Jackson Harper <jackson@ximian.com>
3742 * TabControl.cs: Implement the remove method. Fix some broken
3745 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3747 * DateTimePicker.cs:
3748 - Added missing DateTimePickerAccessibleObject class
3749 - Added missing events
3750 - Added OnFontChanged method
3751 * Form.cs: Added missing attributes
3752 * TreeView.cs: Added missing attributes
3754 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3756 * GridItemCollection.cs: Fix signatures
3758 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3760 * XplatUI.cs: Updated build rev/date
3761 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
3762 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3763 * Application.cs: Trigger context-specific ExitThread events
3765 2005-11-03 Jackson Harper <jackson@ximian.com>
3769 * GridTableStylesCollection.cs:
3774 * MonthCalendar.cs: Signature fixes
3776 2005-11-03 Jackson Harper <jackson@ximian.com>
3778 * TreeNodeCollection.cs: Remove should not be virtual.
3779 * TreeView.cs: Implement the last of the missing methods.
3781 2005-11-03 Jackson Harper <jackson@ximian.com>
3783 * TreeNodeConverter.cs: Implement to get off my class-status back.
3785 2005-11-03 Jackson Harper <jackson@ximian.com>
3787 * TreeView.cs: Hookup the bits for drag and drop.
3788 * TreeNode.cs: Don't cache the tree_view or index anymore, now
3789 that nodes can be moved from tree to tree easily this just causes
3790 all sorts of problems.
3791 * TreeNodeCollection: Don't need to give treenodes an index and
3792 treeview anymore when they are added, these are computed on the
3793 fly. Also make sure to remove a node before its added.
3795 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3798 - Added CaretSelection enum
3799 - Added comparison methods to Marker struct, makes selection code
3801 - Added SelectionStart and SelectionEnd as 'moveable' location for
3802 the CaretDirection enum and handler
3803 - Added selection_prev variable to track optimized invalidation for
3804 word and line selection
3805 - Added SelectionVisible property (returns true if there is a valid
3807 - Switched CaretHasFocus to only display the caret if there is no
3809 - Avoiding StringBuilder.ToString to retrieve a single char, instead
3810 using the direct character index; should be much faster
3811 - Added various conditional debug statements
3812 - Fixed invalidation calculation for selection ranges
3813 - Added ExpandSelection() method to support word and line selection
3814 - Switched SetSelectionToCaret to use new Marker compare overloads
3815 - Added central IsWordSeparator() method to determine word
3816 separators/whitespace and FindWordSeparator() to streamline common
3817 usage of IsWordSeparator()
3819 - Removed unneeded grabbed variable, it was just mirroring
3821 - No longer firing OnTextChanged event when Text setter is called,
3822 since the base will fire the event for us
3823 - Added handling of Ctrl-Up/Down selection
3824 - Added handling of Shift-Cursorkey selection
3825 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3827 - Added handling of Shift and Ctrl-Shift-Home/End selection
3828 - Removed some debug output
3829 - Added handling for single/double/tripple-click to place caret/
3830 select word/select line respectively (Fixes bug #76031)
3831 - Added support for drag expansion of word/line selection
3832 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3835 2005-11-02 Jackson Harper <jackson@ximian.com>
3837 * X11Dnd.cs: If the drag is going to and from a MWF window just
3838 copy the data instead of sending it out through the X Selection
3841 2005-11-02 Jackson Harper <jackson@ximian.com>
3844 * XplatUIX11.cs: When in a drag we don't want motion notify
3845 messages to get passed on to the other controls. This prevents
3846 mouse move messages from showing up in the drag source.
3848 2005-11-02 Jackson Harper <jackson@ximian.com>
3850 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
3851 the correct button is release to end a drag.
3852 * XplatUIX11.cs: Make the button state internal so the drag system
3853 can access it. Dragging needs to know about all button releases,
3854 not just left button.
3856 2005-11-02 Miguel de Icaza <miguel@novell.com>
3858 * Form.cs (Icon): If the icon is null, reset the icon to the
3861 * Cursor.cs: When writing the AND-mask bitmap do not include the
3862 number of colors, but hardcode those to two (black and white),
3863 fixes the loading of color cursors (Paint Dot Net).
3865 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3866 turn off autoscaling.
3868 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3870 2005-11-02 Jackson Harper <jackson@ximian.com>
3872 * X11Dnd.cs: Make sure to send a status message if the pointer
3873 enters a control that can not accept a drop, otherwise the cursor
3874 isn't updated correctly. Also tried to compress the lines of code
3877 2005-11-02 Jackson Harper <jackson@ximian.com>
3879 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3880 set actions correctly. This isn't perfect as XDND and win32 have
3881 some differences on how you allow actions. I'll clear this up by
3882 adding a path for drag from MWF to MWF windows.
3883 * XplatUIX11.cs: Hook into the dnd system.
3885 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
3887 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3888 previously shown but they are no longer need it. Very obvious when
3889 browsing files with FileDialog.
3891 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
3893 * Control.cs: We always need to call OnPaintBackground. We pretty much
3894 ignore AllPaintingInWmPaint and always do the painting there, whether
3895 it's set or not, since we always ignore the WM_ERASEBKGND message
3896 (which we don't generate on X11). This fixes #76616.
3897 * Panel.cs: Removed unneeded background painting. This happens properly
3898 in Control.cs already
3900 2005-10-31 Mike Kestner <mkestner@novell.com>
3902 * Menu.cs: Add items to collection before setting their index.
3903 * MenuItem.cs : add range checking with ArgumentException like MS.
3906 2005-10-31 Jackson Harper <jackson@ximian.com>
3908 * ListBox.cs: Invalidate if the area is visible at all not just
3909 contained in the visible rect. Fixes unselection of semi visible
3912 2005-10-31 Jackson Harper <jackson@ximian.com>
3914 * Control.cs: Consistently name the dnd methods. Make them
3915 internal so we can override them to match some MS behavoir
3917 * Win32DnD.cs: Use the new consistent names.
3919 2005-10-31 Jackson Harper <jackson@ximian.com>
3921 * TreeView.cs: Don't draw the selected node when we lose focus.
3923 2005-10-31 Jackson Harper <jackson@ximian.com>
3925 * X11Dnd.cs: We still need to reset the state even though a full
3926 reset isn't being done, otherwise status's still get sent all over
3929 2005-10-31 Jackson Harper <jackson@ximian.com>
3931 * Control.cs: Make the dnd_aware flag internal so the dnd
3932 subsystem can check it. Catch exceptions thrown in dnd handlers to
3934 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3935 * X11Dnd.cs: Handle null data in the converters. Set the XDND
3936 version when sending a XdndEnter. Use the control/hwnd dnd_aware
3937 flags to reduce the number of dnd enters/status's sent.
3939 2005-10-31 Jackson Harper <jackson@ximian.com>
3941 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3943 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
3945 * PictureBox.cs: Fixes 76512
3947 2005-10-28 Jackson Harper <jackson@ximian.com>
3949 * X11Dnd.cs: Early implementation to support winforms being a drag
3950 source for data on X11. Also restructured the converters so they
3951 can go both ways now.
3952 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3954 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
3956 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3959 2005-10-27 Jackson Harper <jackson@ximian.com>
3961 * TreeNode.cs: Implement serialization so my DnD examples will work.
3963 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
3965 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3966 TreeView.cs: Don't dispose objects that are not owned.
3968 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
3970 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3971 should retrieve the current cursor and report that, but XplatUI
3972 doesn't (yet) have an interface for that (and I'm not sure I even
3974 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3975 until any message loop processing is done (and the WM_SETCURSOR
3976 replaces the cursor to the proper one)
3978 - Fixed override behaviour, we can't set the cursor globally on X11,
3979 just for our windows.
3980 - Invalidating the System.Drawing X11 display handle when we are
3982 * Control.cs: Fix to make csc happy
3984 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
3987 - get_Text: Add last line (without trailing newline) to returned
3989 - get_TextLength: Count last line in returned length
3990 - ToString: Call Text property instead of duplicating code
3992 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
3994 * ImageList.cs: Dispose ImageAttributes objects.
3996 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3998 * ImageList.cs: Use attribute constructors with less arguments where
4001 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4003 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4004 Use typeof instead of strings when assembly is referenced. Added
4007 2005-10-21 Jackson Harper <jackson@ximian.com>
4009 * ListView.cs: Raise a double click event. Also tried to somewhat
4010 fix when the selectedindexchanged event is raised. Its still
4013 2005-10-21 Jackson Harper <jackson@ximian.com>
4015 * TreeView.cs: New method to invalidate the plus minus area of a
4016 node without invalidating the whole node (maybe this can be used
4017 in some more places).
4018 * TreeNodeCollection.cs: When adding to an empty node we need to
4019 invalidate its plus minus area so the little block shows up.
4021 2005-10-21 Jackson Harper <jackson@ximian.com>
4023 * TreeView.cs: Make sure that when we invalidate a node the bounds
4024 are big enough to cover the selected box and the focus
4025 rectangle. Use a different colour for the lines connecting nodes
4026 so they show up with all themes.
4028 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4030 * NativeWindow.cs: Don't call anything that could call into the driver,
4031 we might be on a different thread.
4033 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4035 * Control.cs(Dispose): Since Dispose might run on a different thread,
4036 make sure that we call methods that could call into the driver via
4037 invoke, to avoid thread issues
4039 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4041 * XplatUI.cs: Removed finalizer
4042 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4043 not allowing to be called on the finalizer thread.
4045 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4048 - Reverted r51889 and r51891.
4049 - Added ImageListItem class that stores unmodified image items and image
4050 properties required to create list images until handle is created.
4051 - Added AddItem and moved image creation logic to AddItemInternal.
4052 - Added CreateHandle method that creates images based on unmodified items.
4053 - Added DestroyHandle that changes state to store unmodified items.
4054 - Add and AddStrip methods no more create handle.
4055 - ReduceColorDepth has no return value.
4056 - Dispose destroys handle.
4057 - Modified other methods to reflect the above changes.
4058 - Implemented key support.
4059 - Added profile 2.0 members and attributes.
4060 - Added private Reset and ShouldSerialize methods that provide the same
4061 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4062 them as they are private.
4063 - Added some more comments about implementation details.
4065 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4067 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4069 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4071 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4073 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4075 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4076 * DataGridColumnStyle.cs: Remove debug message
4078 2005-10-20 Jackson Harper <jackson@ximian.com>
4080 * TreeView.cs: We can always get input keys regardless of whether
4081 or not editing is enabled. They are used for navigation.
4083 2005-10-20 Jackson Harper <jackson@ximian.com>
4085 * TreeNode.cs: Use the viewport rect for determining if a node
4086 needs to be moved for visibility. Don't use Begin/End edit. This
4087 calls a full refresh when its done.
4088 * TreeView.cs: New SetBottom works correctly. Make the viewport
4089 rect property internal so the treenodes can see it. When clicking
4090 on a node we need to ensure that its visible because it might just
4091 be partly visible when clicked.
4093 2005-10-20 Jackson Harper <jackson@ximian.com>
4095 * TreeNodeCollection.cs: Remove debug code.
4097 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4099 * Datagrid.cs: Implements column sorting in Datagrid
4100 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4102 2005-10-20 Jackson Harper <jackson@ximian.com>
4104 * TreeNodeCollection.cs: Remove items properly. Update the correct
4105 area after removing them.
4107 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4109 * Datagrid.cs: Should not call base.OnPaintBackground
4111 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4113 * XplatUIX11.cs (GetMessage):
4114 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4115 window instead of client window
4116 - Now properly calculates NC_xBUTTONUP message coordinates
4117 - ScreenToMenu now properly calculates it's coordinates of whole
4118 window, since menus are in the whole window, not in the client
4120 - Added WholeToScreen coordinate translation method
4122 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4124 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4125 want to return a message, loop back to the beginning of the function
4126 and grab the next real message to process instead.
4128 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4130 * Splitter.cs: Properly set limits if no filler control is used
4132 2005-10-19 Jackson Harper <jackson@ximian.com>
4134 * ColorDialog.cs: Don't show the help button if it is not enabled
4135 instead of disabling it (this is what MS does). Don't create the
4136 panel until the dialog is run, otherwise the vars (such as
4137 ShowHelp) are not set yet.
4139 2005-10-19 Jackson Harper <jackson@ximian.com>
4141 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4142 are reduced when adding nodes.
4144 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4147 2005-10-19 Jackson Harper <jackson@ximian.com>
4149 * FolderBrowserDialog.cs: End editing our treeview so the window
4150 actually gets refreshed.
4152 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4154 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
4155 Obsoleted handling of WM_ERASEBKGND, now always draws our background
4158 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4160 * MenuAPI.cs: Returns after Hidding window
4161 * XplatUIX11.cs: Added TODO found while debugging menu issues
4163 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4165 * XplatUIX11.cs: Do not re-map the whole window when it's size
4166 becomes non-zero unless it's supposed to be actually visible
4168 2005-10-18 Jackson Harper <jackson@ximian.com>
4170 * TreeView.cs: We don't need to keep a count anymore.
4171 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4172 use the Grow method.
4174 2005-10-18 Jackson Harper <jackson@ximian.com>
4176 * TreeNodeCollection.cs: Insert is not supported on arrays, so
4177 implement it manually here.
4179 2005-10-18 Jackson Harper <jackson@ximian.com>
4181 * ImageList.cs: Dont kill the list when the colour depth is
4182 changed, just change the colour depth of all the images.
4183 - Same goes for setting the image size. Just resize them all
4184 instead of killing the list softly.
4186 2005-10-18 Jackson Harper <jackson@ximian.com>
4188 * Control.cs: Don't invalidate empty rectangles.
4190 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4193 - Adds checked item to the Checked/Item lists (where empty before)
4194 - Do not add items to the Selected lists if they are already present
4196 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4197 - When deleting items make sure that we delete them for the Selected
4198 and Checked list also.
4200 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4202 * Label.cs: Dispose objects no longer used
4203 * ThemeWin32Classic.cs: Dispose objects no longer used
4205 2005-10-18 Jackson Harper <jackson@ximian.com>
4207 * TabControl.cs: Don't refresh the whole control when the tabs are
4208 scrolled, we just need to refresh the tab area.
4210 2005-10-17 Jackson Harper <jackson@ximian.com>
4212 * XplatUIX11.cs: Compress code a little bit. Only calculate the
4213 after handle when we need it.
4215 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4217 * Control.cs: When the parent size changes, recalculate anchor
4218 positions. Partial fix for #76462
4220 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4222 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
4225 2005-10-17 Jackson Harper <jackson@ximian.com>
4227 * MonthCalendar.cs: Don't create the numeric up down until our
4228 handle is created. Otherwise our handle is created in the
4229 constructor and we don't know if we are a WS_CHILD or WS_POPUP
4232 2005-10-17 Jackson Harper <jackson@ximian.com>
4234 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4237 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4238 * TreeNode.cs : small logical fix (was using local var instead of field)
4240 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4242 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4244 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4246 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4248 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
4251 - Re-implemented anchoring code. My first version was really broken.
4252 This fixes bug #76033. Unlike the previous implementation we will
4253 no longer have round errors since all numbers are calculated from
4254 scratch every time. Removed various anchor-related obsolete vars.
4255 - InitLayout no longer causes layout event firing and layout to be
4258 2005-10-16 Jackson Harper <jackson@ximian.com>
4260 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4263 2005-10-16 Jackson Harper <jackson@ximian.com>
4265 * TabControl.cs: Remove debug code.
4267 2005-10-16 Jackson Harper <jackson@ximian.com>
4269 * XEventQueue.cs: Increase the default queue size (very simple
4270 apps needed to grow the queue).
4271 * Hwnd.cs: No finalizer so we don't need to suppress
4272 finalization. Compute the invalid area manually so a new rectangle
4273 does not newto be created.
4274 * ScrollableControl.cs: Don't set any params (otherwise visibility
4275 isn't set correctly).
4276 * MdiChildContext.cs: New constructor takes the mdi parent so it
4277 doesn't have to be computed and avoids a crash on windows. Draw
4278 the window icon properly, and allow the text to be seen.
4279 * Form.cs: Use new MdiChildContext constructor. Make sure the
4280 child context isn't null in wndproc.
4281 * TabControl.cs: Don't set focus, this is muddling keyboard
4282 behavoir. Expand the tab rows when a window size increase will
4283 allow extra tabs to be seen. Don't allow tabs smaller than the
4284 width of a window to be scrolled out of view.
4286 * TreeView.cs: Use measure string to calculate a nodes width, the
4287 width is cached and only updated when the text or the font is
4288 changed. Don't check for expand/collapse clicks on the first level
4289 nodes if root lines are disabled.
4291 2005-10-16 Ritvik Mayank <mritvik@novell.com>
4293 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4295 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4297 * DataGridBoolColumn.cs: fixes warning
4299 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4301 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4302 to match more to match more precisely the MS Net behavior
4304 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4306 * Hwnd.cs: Added field to track if window is mapped
4308 - Unmap windows if they become 0-size, re-map when
4309 they are >0 again; fixes #76035
4310 - Re-set our error handler after initializing X11Desktop
4311 to override any error handlers Gtk or whatever was called
4314 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4316 * CheckedListBox.cs: Removed unused vars
4317 * ListView.cs: Fixed signatures
4318 * RichTextBox.cs: Removed unused vars
4319 * TextBoxBase.cs: Removed unused vars
4320 * XplatUIWin32.cs: Removed unused vars
4321 * XplatUIX11.cs: Removed unused vars
4322 * XplatUI.cs: Updated version and date to latest published
4324 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4326 * Cursor.cs: Added private .ctor to work around a bug in
4327 resourceset (Thanks to Geoff Norton for the help on this)
4328 * SplitterEventArgs.cs: Made fields accessible so we don't
4329 waste boatloads of objects and can reuse the same one
4331 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4332 any captions and borders when generating screen coordinates
4333 * Splitter.cs: Reimplemented control, now fully complete, uses
4334 rubberband drawing, supports and obeys all properties, has
4337 2005-10-13 Miguel de Icaza <miguel@novell.com>
4339 * Form.cs (Form): Setup default values for autoscale and
4340 autoscale_base_size; Make these instance variables, not static
4343 (OnLoad): on the first load, adjust the size of the form.
4345 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4347 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4348 width argument to DrawReversibleRectangle()
4349 * XplatUIWin32.cs, XplatUIX11.cs:
4350 - Implemented width for DrawReversibleRectangle()
4351 - Added logic to DrawReversibleRectangle that recognizes a zero
4352 width or height and only draws a line in that situation
4354 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4356 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4357 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4358 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4359 method (it uses our FosterParent window to get a graphics context)
4361 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4363 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4364 and SetWindowBackground methods
4366 - Setting proper ControlStyles
4367 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4368 EraseWindowBackground, instead we draw the window background
4369 ourselves in PaintControlBackground. This behaviour is
4370 required to match MS, where, when OnPaintBackground is not
4371 called, the background is not drawn.
4372 - Removed unneeded Refresh() in set_Text
4373 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4375 - Created DeriveStyles method to translate from CreateParams to
4376 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4377 matches FormBorderStyle enum values)
4378 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4379 style calculations into single DeriveStyles method
4380 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4381 from redrawing the whole window on any resize or expose.
4382 - Fixed CreateWindow usage of SetWindowValuemask. Before not
4383 all styles were applied to our whole/client window appropriately
4384 - Removed EraseWindowBackground() and SetWindowBackground() methods
4385 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4386 no longer clear/redraw the background through X
4387 - Removed handling of erase_pending bit, we have no use for it (or
4390 - Removed generation and handling of WM_ERASEBKGND message
4391 - Removed EraseWindowBackground() and SetWindowBackground() methods
4392 - Removed handling of hwnd.ErasePending flag
4394 - Removed EraseWindowBackground() and SetWindowBackground() methods
4395 - We no longer call EraseWindowBackground on PaintEventStart, we
4396 ignore the fErase flag, erasing is handled in Control in the
4398 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4399 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4400 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
4401 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
4402 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
4403 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4404 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4406 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
4408 * PropertyGrids.cs: Get sub properties
4409 * PropertyGridView.cs: Fix drawing code
4411 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4413 * ListBox.cs: Fixes 76383
4415 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4417 * DataGridTextBoxColumn.cs: Sets location and size before attachment
4418 * ThemeWin32Classic.cs: Fixes border drawing and calculations
4419 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4422 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4424 * ComboBox.cs: Fixes border drawing
4426 2005-10-10 Miguel de Icaza <miguel@novell.com>
4428 * MimeIcon.cs: Ignore errors if the file can not be read.
4430 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4432 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4433 - Fixed border calculations
4434 - Fixed horizontal scrolling in single column listboxes
4435 - Fixed drawing issues
4437 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
4439 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
4440 FormBorderStyle enum
4441 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
4442 code to determine FormBorderStyles from CreateParams
4444 - Fixed bug where we'd set the wrong window styles if we were
4445 not creating an MDI window
4446 - Added call to XplatUI.SetBorderStyle when form borders are set
4447 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4449 - Removed obsolete edge style
4450 - Switched from BorderStyle to FormBorderStyle
4452 2005-10-10 Jackson Harper <jackson@ximian.com>
4454 * Form.cs: Use the property to get the window handle instead of
4455 accessing it directly. Prevents a null reference exception.
4457 2005-10-10 Jackson Harper <jackson@ximian.com>
4459 * TreeView.cs: Don't adjust the rect given to DrawString now that
4460 our libgdiplus draws correctly.
4462 2005-10-08 Jackson Harper <jackson@ximian.com>
4464 * TreeView.cs: Don't try to find the clicked on node if there are
4465 no nodes in the tree.
4467 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4473 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4475 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4476 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4478 Use ResPool for brushes and dispose System.Drawing objects that
4479 are not used anymore.
4481 2005-10-07 Jackson Harper <jackson@ximian.com>
4483 * MdiChildContext.cs: Use the new borders instead of drawing them
4486 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4488 * Calling UpdateBounds after changing the window's BorderStyle
4489 since the style can change the ClientSize
4491 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4493 * Control.cs: Made PaintControlBackground virtual
4494 * Panel.cs: Overriding PaintControlBackground instead of using paint
4495 event; paint event method was interfering with 'real' users of the
4498 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4500 * ThemeWin32Classic.cs: remove border drawing since it is handled
4501 by the base control class now and was causing double border drawing.
4503 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4505 * Panel.cs: Redraw our background on paint. Not a pretty solution,
4506 but it does seem to match MS behaviour. This fixes bug #75324
4508 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4510 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4511 somewhat hackish looking
4513 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4516 - We now accept Enter even if AcceptEnter is false, if the containing
4517 form does not have an AcceptButton configured (fixes bug #76355)
4518 - Calculations are now fixed to no longer use Width/Height, but
4519 ClientSize.Width/Height, since we now support borders (this was
4520 a result of fixing borders and therefore bug #76166)
4521 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
4522 true (fixes bug #76354)
4524 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4527 - Defaulting BorderStyle and setting it in XplatUI when our window
4529 - Added enum check to InternalBorderStyle setter
4531 - Added drawing of window borders
4532 - Now properly calculates WM decorations offset for toplevel
4533 windows (fixes bug #74763)
4535 - Implemented BorderStyles for windows (we're letting win32 draw
4537 - Fixed the signature for SetWindowLong
4538 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4539 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
4541 * UpDownBase.cs: Remove drawing of borders, this is handled by
4542 the driver, outside the client area
4543 * ListView.cs: Removed bogus border calculations. The control should
4544 be oblivious to borders, since those are not part of the client
4546 * X11DesktopColors.cs: Commented out (currently) unneeded variables
4547 * ThemeWin32Classic.cs: Removed border calculations from ListView
4550 2005-10-06 Jackson Harper <jackson@ximian.com>
4552 * MdiChildContext.cs: Clear out the old virtual position remove
4553 all the unneeded calls to CreateGraphics.
4555 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4557 * TextControl.cs: Use proper color for highlighted text; fixes #76350
4559 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4562 - Added loading and setting of our new default icon
4563 - Only set icon if window is already created
4565 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4568 - Do not explicitly set the foreground and background colors, to
4569 allow inheriting from parents (fixes #76302)
4570 - Use Control's InternalBorderStyle property to deal with borders
4572 2005-10-06 Jackson Harper <jackson@ximian.com>
4574 * MdiChildContext.cs: Use the new xplatui function to draw a
4577 2005-10-06 Jackson Harper <jackson@ximian.com>
4579 * Form.cs: Add the parent before creating the child context cause
4580 we need the parent when setting up the child.
4582 2005-10-06 Jackson Harper <jackson@ximian.com>
4584 * FolderBrowserDialog.cs: redo the tree population code so a
4585 second thread isn't used. Should be a lot faster and more stable
4588 2005-10-05 Jackson Harper <jackson@ximian.com>
4590 * TreeView.cs: There are no expand/collapse boxes if the node has
4593 2005-10-05 Jackson Harper <jackson@ximian.com>
4595 * X11DesktopColors.cs: Get menu colours for the gtk theme.
4597 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
4599 * FileDialog.cs: Fix InitialDirectory
4601 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4604 - Fixes changing between styles
4606 - Fixes last item crashing when navigating with keyboard
4608 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4610 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4612 2005-10-05 Jackson Harper <jackson@ximian.com>
4614 * TreeView.cs: If updating the root node do a full refresh.
4615 * TreeNode.cs: The root node should be expanded by default. Also
4616 added a utility prop to tell if we are the root node.
4617 * TreeNodeCollection.cs: Only refresh if the node we are being
4618 added to is expanded. Also added a comment on a potential
4621 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
4623 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
4624 in dispose method. Fixes #76330
4626 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
4628 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4630 - Implements vertical and horizontal scrolling using XplatUI
4631 - Fixes keyboard navagation
4632 - Fixes EnsureVisible
4634 - Handles and draws focus properly
4637 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
4639 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4640 Create handle. NET_2_0: Destroy handle when value is null.
4642 2005-10-03 Jackson Harper <jackson@ximian.com>
4644 * ScrollBar.cs: My last scrollbar patch was broken. This is a
4645 revert and a new patch to prevent the thumb from refreshing so
4648 2005-10-02 Jackson Harper <jackson@ximian.com>
4650 * ScrollBar.cs: Don't update position if it hasn't actually
4651 changed. This occurs when you hold down the increment/decrement
4652 buttons and the thumb gets to the max/min.
4654 2005-10-01 Jackson Harper <jackson@ximian.com>
4657 * MdiChildContext.cs:
4658 * MdiClient.cs: Implement ActiveMdiChild in Form.
4660 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
4662 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4664 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
4666 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4669 2005-09-30 Jackson Harper <jackson@ximian.com>
4671 * ListBox.cs: Don't do a full refresh unless some data has
4674 2005-09-30 Jackson Harper <jackson@ximian.com>
4676 * TreeView.cs: Make sure that the checkboxes size is factored in
4677 even when not visible.
4679 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4681 * FileDialog.cs: Fix Jordi's build break
4683 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4686 - Use standard the Windows colours for the combobox as espected
4687 - Dispose objects that use resouces when no longer need them
4689 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4691 * X11DesktopColors.cs: Initial incomplete implementation
4692 * XplatUIX11.cs: Added call to initialize X11DesktopColors
4694 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4697 - Switched Theme color names to match the names defined in
4698 System.Drawing.KnownColors. Life's hard enough, no need to make
4700 - Added setters to all theme color properties so themes can set
4701 their color schemes. The setters also propagate the color changes
4702 to System.Drawing.KnownColors via reflection
4703 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4704 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4705 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4706 use the new, more logical theme color names
4707 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4709 * ThemeWin32Classic.cs:
4710 - Removed code to set the old classic Windows colors. Instead it
4711 now relies on the colors returned by System.Drawing.KnownColors
4712 which will be either modern static colors (Unix) or colors
4713 read from the user's configuration (Win32)
4714 - Updated to use the new, more logical theme color names
4715 - Switched DataGrid drawing code to use only Theme colors instead of
4716 a mix of System.Drawing.KnownColors and Theme colors
4717 - DrawFrameControl(): Removed code that fills the button area, the
4718 fill would overwrite any previous fill done by a control. This
4720 - Added DrawReversibleRectangle() stub
4721 * ScrollableControl.cs: Set visible state to false when scrollbars
4722 are removed (pdn fix)
4723 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
4724 DrawReversibleRectangle() method to allow drawing primitive
4726 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4728 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4730 * ImageList.cs: Add(Icon): Create handle.
4732 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4735 * ThemeWin32Classic.cs:
4738 - Issues with drawing
4740 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4742 * ImageList.cs: Moved RecreateHandle back to ImageList as event
4743 source has to be the ImageList.
4745 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4747 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4749 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4751 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4753 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4755 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4757 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
4758 * GridItem.cs: Fixed TODOs
4759 * GridItemCollection.cs: Added ICollection interface
4761 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4763 * ImageList.cs: Resize icons when needed.
4765 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
4768 - Fixes GetBounds and returns on screen rects
4770 - Fixes vertical and horzintal scrolling of items
4771 * ThemeWin32Classic.cs:
4774 2005-09-29 Raja R Harinath <harinath@gmail.com>
4776 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4778 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
4780 * ImageList.cs: Added comments about handle creation. Moved Handle,
4781 HandleCreated and OnRecreateHandle implementations to ImageCollection.
4782 Handle is created in Add methods.
4784 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4786 * DataGridDrawingLogic.cs:
4787 - Takes rows into account on Colum calculations
4788 - Returns the column when clickig
4790 - Fixes default HitTestInfo values
4791 - Fixes HitTestInfo.ToString
4792 - Fixes ResetBackColor
4794 2005-09-28 Jackson Harper <jackson@ximian.com>
4796 * MdiChildContext.cs: Obey rules for fixed sized windows (no
4797 sizing or cursor changes). Also added some temp code to draw the
4798 titlebars text (Makes dev a little easier).
4800 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4802 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4804 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4806 * ListBox.cs: Fixes bug 76253
4808 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4810 * ImageList.cs: Added comments about the current implementation. Added
4811 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4812 Format32bppArgb to preserve transparency and can use Graphics.FromImage
4813 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4814 with Bitmap.LockBits for better performance. Revised the whole file to
4815 match MS.NET behaviour and provide better performance. Non-public
4816 interface members are calling public members even when they throw
4817 NotSupportedException for better maintainability. Moved ColorDepth,
4818 ImageSize, ImageStream and TransparentColor implementations to
4819 ImageCollection for better performance as these properties are not used
4821 * ImageListStreamer.cs: Added a new internal constructor that takes an
4822 ImageList.ImageCollection and serializes Images based on
4823 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4824 match ImageList property name.
4826 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
4828 * ListBox.cs: Fixes IndexFromPoint for last item
4830 2005-09-27 Jackson Harper <jackson@ximian.com>
4832 * Form.cs: Set the position of new mdi children correctly.
4834 2005-09-27 Jackson Harper <jackson@ximian.com>
4836 * MdiClient.cs: New mdi children need to be added to the back of
4837 the controls collection so the zorder is set correctly. Also add a
4838 count of all the child windows that have been created.
4840 2005-09-27 Jackson Harper <jackson@ximian.com>
4842 * Form.cs (CreateParams): Setup MDI forms correctly.
4844 2005-09-27 Jackson Harper <jackson@ximian.com>
4846 * MdiChildContext.cs:
4853 * ScrollableControl.cs:
4854 * ComboBox.cs: Add implicit controls using the new implict control
4855 functionality in ControlCollection. Also try to block multiple
4856 control add in a suspend/resume layout to save some cycles.
4858 2005-09-27 Jackson Harper <jackson@ximian.com>
4860 * Control.cs: Add functionality to the controls collection to add
4861 'implicit controls' these are controls that are created by the
4862 containing control but should not be exposed to the user. Such as
4863 scrollbars in the treeview.
4864 * Form.cs: The list var of the ControlsCollection is no longer
4865 available because of the potential of implicit controls getting
4866 ignored by someone accessing the list directly.
4868 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
4870 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4871 loose it's parent. (Fixed bug introduced in r49103 when we added
4872 setting the child parent to null on Remove)
4874 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
4876 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4877 * Splitter.cs: Added missing attributes for BorderStyle property.
4878 * TextBoxBase.cs: Marked Calculate* methods internal.
4879 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4882 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
4884 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4886 2005-09-25 Jackson Harper <jackson@ximian.com>
4888 * TreeView.cs: Update the node bounds correctly regardless of
4889 whether the node is visible.
4891 2005-09-25 Jackson Harper <jackson@ximian.com>
4893 * ImageList.cs: Don't dispose the image after it is added to the
4894 image list. Only reformat images that need to be resized.
4896 2005-09-25 Jackson Harper <jackson@ximian.com>
4898 * ImageList.cs: Don't set the format when changing the image.
4900 2005-09-25 Jackson Harper <jackson@ximian.com>
4902 * TreeView.cs: We can't just assume the node has a font. Use the
4903 treeviews font if no node font is available.
4905 2005-09-25 Jackson Harper <jackson@ximian.com>
4907 * TreeView.cs: Allow the scrollbars to be reset with negative
4909 - Don't add scrollbars to negative sized windows.
4911 2005-09-23 Jackson Harper <jackson@ximian.com>
4913 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4914 old Mono.Posix. Also remove some stray code that shouldn't have
4917 2005-09-23 Jackson Harper <jackson@ximian.com>
4919 * TreeView.cs: Attempt at proper sizing of the horizontal
4920 scrollbar. Also don't resize the scrollbars unless they are
4923 2005-09-23 Jackson Harper <jackson@ximian.com>
4925 * TreeView.cs: We don't need to expand the invalid area when the
4926 selection changes, as this is all drawn in the node's bounding
4927 box. The area needs to be expanded (previous typo was contracting
4928 it) when the focus rect moves.
4930 2005-09-23 Jackson Harper <jackson@ximian.com>
4932 * TreeView.cs: Display the selection box under the correct
4933 circumstances. We were rendering white text with no selection box
4936 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
4938 * TextControl.cs(Split): Now updates selection start/end if it points
4939 into a line that's being split. Fixes a FIXME and bug #75258
4941 2005-09-23 Jackson Harper <jackson@ximian.com>
4944 * ListControl.cs: Don't use the path when retrieving binding
4945 managers from the binding context. My bat sense tells me that the
4946 path is only used on insertion.
4948 2005-09-22 Jackson Harper <jackson@ximian.com>
4950 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4952 2005-09-22 Jackson Harper <jackson@ximian.com>
4954 * Splitter.cs: There are special cursors used for splitting.
4955 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4957 2005-09-22 Jackson Harper <jackson@ximian.com>
4959 * Splitter.cs: Change the cursor appropriately when the splitter
4960 is moused over, so the user actually knows there is a splitter
4963 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4965 * Label.cs : Fix ToString method to give same output as MS.NET
4967 2005-09-22 Jackson Harper <jackson@ximian.com>
4969 * TreeView.cs: Create the scrollbars when the handle is created
4970 and add them right away, just make them invisble. Also account for
4971 the window being shrunk vertically to the point that the vert
4972 scrollbar needs to be added.
4973 - Remove some 0.5 adjustments to get around anti aliasing issues.
4975 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
4977 * MainMenu.cs: Fixes default value
4978 * MenuItem.cs: Fixes default value
4980 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
4982 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4984 2005-09-21 Jackson Harper <jackson@ximian.com>
4986 * Control.cs: Don't try to set the border style on the window if
4987 it hasn't been created. When the window is created the border
4990 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4992 * Control.cs (Update): Don't call XplatUI if we don't have a
4995 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4997 * ContainerControl.cs: Instead of throwing an exception, print
4998 a one-time warning about Validate not being implemented
4999 * XplatUIWin32.cs: Removed debug output
5001 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5003 * Control.cs: Only set XplatUI background if we expect the windowing
5004 system to handle the background. This stops controls that draw their
5005 own background from flickering
5007 * XplatUIX11.cs: Support custom visuals and colormaps for window
5008 creation. This allows, amongst other things, using MWF X11 windows
5011 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5013 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5014 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5015 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5016 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5017 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5018 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5019 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5020 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5021 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5022 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5023 GridColumnStylesCollection.cs,
5024 IDataGridColumnStyleEditingNotificationService.cs,
5025 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5026 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5027 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5028 TreeNodeCollection.cs, AmbientProperties.cs,
5029 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5030 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5031 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5032 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5033 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5034 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5035 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5036 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5037 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5038 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5039 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5040 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5041 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5042 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5043 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5044 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5045 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5046 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5047 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5048 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5049 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5050 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5051 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5052 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5053 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5054 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5055 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5056 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5057 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5058 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5059 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5060 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5061 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5062 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5063 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5064 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5065 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5067 2005-09-21 Jackson Harper <jackson@ximian.com>
5069 * TreeNode.cs: Call Before/After Expand not Collapse when
5072 2005-09-20 Jackson Harper <jackson@ximian.com>
5074 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5076 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5080 - Fixes proper storing of subitems
5081 - Fixes not updated items
5083 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5085 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5086 things if our window handle isn't created yet. Also disabled
5087 debug for TextBoxBase
5089 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5091 * MenuAPI.cs: Remove filtering of events to allow menu usage
5093 2005-09-20 Miguel de Icaza <miguel@novell.com>
5095 * Cursor.cs: Allow null to be passed to Cursor.Current.
5097 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5099 * ThemeWin32Classic.cs:
5100 - Change some private methods/fields to protected virtual so that
5101 they can be accessed and overriden in derived classes
5102 - First refactoring of some methods. Derived themes now don't
5103 need to duplicate the complete code from ThemeWin32Classic
5105 - Added nice StatusBar
5106 - Derive from ThemeWin32Classic and not Theme
5107 - Removed duplicate ThemeWin32Classic code
5109 2005-09-20 Miguel de Icaza <miguel@novell.com>
5111 * Control.cs (ControlCollection.Add): If the value null is passed
5112 the control is ignored.
5116 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5118 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5119 PostQuitMessage state.
5120 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5122 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5124 * Application.cs: Our constructor will never get called, move
5125 initialization to fields; fixes bug #75933
5127 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5130 - Allow files to be selected properly using file name
5132 - Add ability to change diretory (absolute / relative)
5133 using file name combo box.
5135 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5138 - Fixes Multicolumn listboxes item wrong calculations
5139 - Allows to click when only one item is in the listbox
5140 - Fixes crash when no items using keyboard navigation
5142 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
5144 * ComboBox.cs: Reverted almost everything from the latest patch which
5147 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
5150 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5152 - When DropDownStyle is Simple, it does not show scrollbar
5153 to the last item of the list.
5154 - When DropDownStyle is Simple, it crashed when the list was
5155 scrolled down with the down cursor key.
5156 - Fixed a bug that when DropDownStyle is DropDownList, the
5157 selected item was not shown.
5158 - The position of the selected item was not preserved when
5159 the next dropdown happened.
5160 * ThemeWin32Classic.cs:
5161 - Items were wrapped at the right end.
5162 * CheckedListBox.cs:
5165 - Items should be fully shown.
5166 - When resizing and vertical scrollbar disappeared, the item
5167 of index 0 should be on the top of the list.
5168 - GetItemRectangle should consider the size of ver. scrollbar
5170 - SizingGrip area should not be allocated when it is not
5172 - Now it reflects MinWidth of the containing panel and
5173 fixed a crash that happens when its width becomes so small.
5175 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5177 * CheckedListBox.cs: Fixes bug 76028
5178 * ListBox.cs: Fixes bug 76028
5180 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5182 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5183 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5185 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
5187 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5189 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5191 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
5193 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5195 * IRootGridEntry.cs: Added
5196 * PropertyGridCommands.cs: Added
5197 * PropertiesTab.cs: Added missing methods and property
5198 * PropertyGridView.cs: Made class internal
5199 * PropertyGridTextBox.cs: Made class internal
5201 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5203 * MimeIcon.cs: Try to check some other environment variables
5204 if "DESKTOP_SESSION" returns "default"
5206 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5208 * ThemeNice.cs: Corrected background colors (e.g. menus)
5209 * ColorDialog.cs: Use correct background colors for controls
5211 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5213 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5215 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
5217 * RichTextBox.cs: Added initial implementation
5218 * lang.cs: Removed. Was accidentally checked in long time ago
5219 * TODO: Removed. Contents were obsolete
5221 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5223 * PropertiesTab.cs : Added
5225 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5227 * PropertyGrid.cs : Update
5228 * PropertyGridView.cs : Update
5229 * System.Windows.Forms.resx : Added images and strings
5231 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5233 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5235 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5237 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5238 a busy loop right after the Ungrab the X11 display is otherwise
5241 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
5243 * ThemeWin32Classic.cs: Optimise the use of clipping
5245 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
5247 * DataGrid.cs: fixes recursion bug
5249 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
5252 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5255 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
5257 * ThemeNice.cs: Draw nice ProgressBars
5259 2005-09-01 Miguel de Icaza <miguel@novell.com>
5261 * VScrollBar.cs: Another buglet found by Aaron's tool.
5263 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5266 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
5269 - Added nicer menu drawing
5273 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5275 * CreateParams.cs (ToString): Made output match MS
5276 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
5277 handle is already created (to avoid forcing window creation)
5278 * XplatUIX11.cs: Set window text to caption after creating window,
5279 in case Text was set before window was created
5280 * Form.cs: Use this.Text instead of a static string as caption
5282 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5284 * NotifyIcon.cs: Don't set the window to visible; this screws
5285 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5286 OnPaint without a bitmap)
5287 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
5288 happen very often anyway; we could add the check to the WM_PAINT
5289 event generation code
5291 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5293 * NotifyIcon.cs: Fill the icon area with a background color, to
5294 avoid 'residue' when transparent icons are drawn
5296 - Handle whole_window == client_window when destroying windows
5297 - SystrayAdd(): Set client_window to whole_window value to
5298 get mouse and other events passed to NotifyIcon
5300 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5302 * Form.cs: Set proper default for Opacity property
5304 - ShowSystray(): Don't bother creating telling the OS
5305 about the systray item if no icon is provided
5306 - Now handles WM_NCPAINT message to deal with whole/client window
5308 - Create window as visible to not get caught by Expose optimization
5309 * Hwnd.cs: Removed debug message
5310 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5311 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5312 PaintEventStart/End to use new client argument
5314 - Commented out debug messages
5315 - Switched PaintEventStart/End to use new client argument
5316 * XplatUI.cs: Added client window bool to PaintEventStart()/
5317 PaintEventEnd() calls, to support drawing in non-client areas
5319 - Added client window bool to PaintEventStart()/PaintEventEnd()
5320 calls, to support drawing in non-client areas
5321 - Added conditional compile to allow using MWF BeginInvoke
5324 - Added some conditional debug output
5325 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5326 whole/client window split
5327 - Implemented handling of client argument to PaintEventStart()/End()
5329 - Throw exception if BeginInvoke() is called and the window handle
5330 or one of the window's parent handles is not created
5331 - Added conditional compile to allow using MWF BeginInvoke on
5333 - get_Parent(): Only sets parent if handle is created. This avoids
5334 forcing window handle creation when parent is set.
5335 - Now fires Layout and Parent changed events in proper order
5336 - Switched to use Handle instead of window.Handle for Z-Order setting,
5337 the get_Parent() patch above causes us to possibly get null for 'window'
5338 - Implemented handling of client argument to PaintEventStart()/End()
5339 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5341 - Now sends a Refresh() to all child windows when Refresh() is called
5343 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5345 * Form.cs: Added (non-functional) Opacity property
5346 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5348 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5349 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5350 use export MONO_THEME=nice to activate it.
5351 Currently supported controls:
5355 - TabControl (TabAlignment.Top only, other will follow)
5356 * ThemeEngine.cs: Add theme nice
5357 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5360 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5362 * Splitter.cs: Resize docked control and its neighbor.
5364 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5365 -- Making Windows with Menus layout correctly --
5366 * Form.cs : The first leg of the fix
5367 Menu setter - adjust Client Size as needed to make space for the menu
5368 SetClientSizeCore - doesn't call base version to be able to pass the
5369 menu handle to XplatUI.CalculateWindowRect
5370 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5371 * XplatUIX11.cs: The critical second leg of the fix
5372 GetWindowPos needs to use a recalculated client_rect
5373 so that resizing the window doesn't break layout of child controls.
5374 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5377 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5379 * Label.cs: Now properly recalculates width and height on Font and Text
5380 changes if AutoSize is set
5382 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5383 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5385 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
5387 * ImageList.cs: Makes ToString method compatible with MS
5389 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
5391 * MenuAPI.cs: fixes bug 75716
5393 2005-08-11 Umadevi S <sumadevi@novell.com>
5394 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5396 2005-08-11 Umadevi S <sumadevi@novell.com>
5397 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5399 2005-08-10 Umadevi S <sumadevi@novell.com>
5400 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5402 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
5404 * Menu.cs: fixes bug 75700
5405 * MenuAPI.cs: fixes navigation issues
5407 2005-08-09 Umadevi S <sumadevi@novell.com>
5408 * CheckedListBox.cs - simple fix for GetItemChecked.
5410 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
5412 * ComboBox.cs: Serveral fixes
5413 * ListBox.cs: Serveral fixes
5415 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5417 * ComboBox.cs: Fixes FindString methods and GetItemHeight
5418 * ListBox.cs: Fixes FindString methods
5420 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5422 * DataGrid.cs: fixes bugs exposed by new tests
5424 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5426 * Mime.cs: Compile Mono assembly references only if compiling
5427 with Mono (Allows to build with VS.Net again)
5429 2005-07-28 Marek Safar <marek.safar@seznam.cz>
5431 * Control.cs (PaintControlBackground): Draw background image
5433 (CheckForIllegalCrossThreadCalls): Stubbed.
5435 * Form.cs (OnCreateControl): Center when should be centered.
5437 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5439 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
5441 * Binding.cs: Binding to properties should be case unsensitive
5443 2005-07-18 vlindos@nucleusys.com
5445 * DataGrid.cs: fixes setmember order
5447 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
5449 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5450 * FileDialog.cs: FileDialog is now resizable and uses the new
5453 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
5455 * DataGridTextBoxColumn.cs: default value
5456 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5457 * GridTableStylesCollection.cs: fixes checking MappingName
5458 * DataGridDrawingLogic.cs: fixes drawing logic issues
5459 * DataSourceHelper.cs: rewritten to make compatible with more data sources
5460 * DataGrid.cs: fixes
5462 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
5464 * MimeGenerated.cs: Use case sensitive comparer for
5465 NameValueCollections
5467 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
5469 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
5470 * ThemeWin32Classic.cs: bug fixes, code refactoring
5471 * DataGridDrawingLogic.cs: bug fixes, code refactoring
5472 * DataGrid.cs: bug fixes, code refactoring
5473 * DataGridTextBox.cs: bug fixes, code refactoring
5474 * DataGridColumnStyle.cs: bug fixes, code refactoring
5475 * Theme.cs: bug fixes, code refactoring
5477 2005-07-01 Peter Bartok <pbartok@novell.com>
5479 * TextControl.cs: Quick fix for the reported crash on ColorDialog
5480 and other text box usage
5482 2005-07-01 Jackson Harper <jackson@ximian.com>
5484 * TabControl.cs: Make sure the bottom of the tab covers the pages
5487 2005-06-30 Peter Bartok <pbartok@novell.com>
5489 * Form.cs (ShowDialog): Assign owner of the dialog
5490 * TextBoxBase.cs: Always refresh caret size when deleting, caret
5491 might have been moved to a tag with different height
5493 2005-06-30 Jackson Harper <jackson@ximian.com>
5495 * Form.cs: Don't create an infinite loop when setting focus
5496 * MenuItem.cs: Don't dirty the parents if we don't have any
5498 2005-06-29 Ben Maurer <bmaurer@ximian.com>
5500 * LibSupport.cs: Rename
5502 2005-06-29 Peter Bartok <pbartok@novell.com>
5504 * TextBoxBase.cs: Re-align caret after deleting a character
5506 - DeleteChars(): Ensure that tag covers the provided position
5507 - StreamLine(): Drop reference for dropped tag
5509 2005-06-29 Peter Bartok <pbartok@novell.com>
5512 - Selections now work properly, anchoring at the initial location
5513 and properly extending in either direction (SetSelectionToCaret(),
5514 SetSelectionStart() and SetSelectionEnd())
5515 - No longer redraws the whole control on selection change, now
5516 calculates delta between previous and new selection and only
5517 invalidates/redraws that area
5518 - Fixed FindPos() math off-by-one errors
5519 - Changed DeleteChars() to verify the provided tag covers the
5520 provided position, selections may have a tag that doesn't cover
5521 the position if the selection is at a tag border
5522 - Fixed off-by-one errors in DeleteChars()
5523 - Added missing streamlining check in DeleteChars() to remove
5525 - Implemented Invalidate() method, now properly calculates exposures
5526 between two given lines/positions
5527 - Implemented SetSelection()
5528 - Obsoleted and removed FixupSelection()
5529 - Improved RecalculateDocument() logic, removing code duplication
5531 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5533 * LibSupport.cs: changes to match different input/output arguments.
5535 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5537 * LibSupport.cs: added libsupport.so init routine.
5539 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
5541 * ControlBindingsCollection.cs
5542 - Throws an exception on null datasource when adding
5543 - Checks for duplicated bindings when adding
5545 2005-06-28 Jackson Harper <jackson@ximian.com>
5547 * TreeView.cs (OnKeyDown): Support left and right properly
5548 (navigates as well as expanding and collapsing.
5549 - Add support for Multiply, this expands all the selected nodes
5553 2005-06-28 Jackson Harper <jackson@ximian.com>
5555 * TreeView.cs: Implement keyboard navigation, currently supports,
5556 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5557 support for toggling checkboxes with the space bar.
5559 2005-06-28 Jackson Harper <jackson@ximian.com>
5561 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5564 2005-06-28 Jackson Harper <jackson@ximian.com>
5566 * TreeView.cs: Add missing event.
5568 2005-06-27 Peter Bartok <pbartok@novell.com>
5571 - Made line ending size configurable (now allows for counting
5572 lineendings as \n or \r\n)
5573 - Added margin to viewport to keep caret visible on right side
5574 - Fixed translation routines for line/pos to documentpos to consider
5575 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5576 - Fixed some line-endings to be unix style
5577 - Fixed Document.FormatText to perform it's calculations 1-based
5578 - Added descriptions for a few methods that might otherwise get
5580 - Added NOTE section with some basic conventions to remember at
5582 - Major fixup for RichTextBox selection drawing:
5583 * Fixed crashes when multiple tags on a single line were selected
5584 * fixed selection box drawing not overlaying text
5585 * fixed bogus offset calculation for tags not starting at index 1
5586 * Switched behaviour from using multiple Substrings of a
5587 StringBuilder.ToString() to using multiple
5588 StringBuilder.ToString(start, length) statements, hoping this is
5589 faster (kept original version commented out in the code, in case
5590 original version was faster)
5591 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
5593 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5596 2005-06-27 Jackson Harper <jackson@ximian.com>
5598 * TabControl.cs: Move to the left and right with the arrow
5599 keys. These keys don't cycle beyond first and last like
5600 tab. Refresh all the tabs when scrolling them to the left or
5603 2005-06-27 Jackson Harper <jackson@ximian.com>
5606 - ToString: Added method
5607 - CreateParams: Remove TODO and comment
5608 - OnKeyDown: Cycle through bounds properly.
5609 - SelectedIndex: Scroll to the right or left if we need to
5610 display the newly selected tab.
5612 2005-06-23 Jackson Harper <jackson@ximian.com>
5614 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5617 2005-06-23 Jackson Harper <jackson@ximian.com>
5619 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5620 CTRL-SHIFT-TAB, and HOME, END are there any others?
5622 2005-06-23 Jackson Harper <jackson@ximian.com>
5624 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5626 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5628 * DataGridTextBoxColumn.cs: fixes and enhancements
5629 * ThemeWin32Classic.cs: fixes and enhancements
5630 * DataGridBoolColumn.cs: fixes and enhancements
5631 * DataGridDrawingLogic.cs: fixes and enhancements
5632 * CurrencyManager.cs: fixes and enhancements
5633 * DataGrid.cs: fixes and enhancements
5634 * DataGridColumnStyle.cs: fixes and enhancements
5636 2005-06-22 Jackson Harper <jackson@ximian.com>
5638 * TabControl.cs: Add some missing methods that just call into the
5639 base. Make the TabPageCollection's IList interface behave in the
5640 same manner as the MS implementation.
5642 2005-06-22 Peter Bartok <pbartok@novell.com>
5644 * TextControl.cs: Added sanity check
5646 - Fixed wrapping behaviour, don't set wrap on single line controls
5647 (this fixes the breakage of colordialog introduced in an earlier
5649 - Added rudimentary support for autoscrolling right-aligned controls
5650 (still needs fixing, also, center alignment scroll is missing)
5652 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5654 * ScrollBar.cs: Fixes thumbpos on Maximum values
5656 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
5658 * PropertyGridView.cs: Pass context information to UITypeEditors
5660 2005-06-21 Peter Bartok <pbartok@novell.com>
5663 - Now calling PositionCaret with absolute space coordinates
5664 - Enabled vertical scrolling
5665 - Better tracking of scrollbar changes, tied into WidthChange
5667 - Improved cursor tracking
5668 - Removed debug output
5670 - PositionCaret coordinates are now works in absolute space, not
5672 - Improved tracking of document size
5673 - Added events for width and height changes
5675 2005-06-21 Peter Bartok <pbartok@novell.com>
5677 * Form.cs: Set focus to active control when form is activated
5679 - Added word-wrap functionality to RecalculateLine()
5680 - Added some short function descriptions for VS.Net to aid in
5681 writing dependent controls
5682 - Added Caret property, returning the current coords of the caret
5683 - Added ViewPortWidth and ViewPortHeight properties
5684 - Added Wrap property
5685 - Added CaretMoved event
5686 - Removed some old debug code
5687 - Split() can now create soft splits
5688 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5689 - Added method to format existing text
5690 - Fixed size/alignment calculations to use viewport
5691 - RecalculateDocument now can handle changing line-numbers while
5695 - Added some wrap logic, we don't wrap if alignment is not left
5696 - Added casts for scrollbar var, base class switched types to
5697 also support RichTextBoxA
5698 - Implemented handling of scrollbar visibility flags
5701 - Switched scrollbars type to RichTextBoxScrollBars to support
5703 - Added tracking of canvas width/height
5704 - Switched scrollbars to be not selectable (to keep focus on text)
5705 - Added central CalculateDocument() method to handle all redraw
5707 - Added ReadOnly support
5708 - Added WordWrap support
5709 - Fixed handling of Enter key (we now treat it as a DialogKey)
5710 - Fixed caret positioning when h or v scroll is not zero
5711 - Fixed placing/generation of vertical scrollbar
5712 - Added CalculateScrollBars() method to allow updating scrollbar
5713 limits and visibility
5714 - Fixed handling of horizontal scroll
5715 - Added handling of vertical scroll
5716 - Implemented auto-'jump' when caret moves to close to a left or
5717 right border and there is text to be scrolled into view (currently
5718 there's the potential for a stack overflow, until a bug in
5721 2005-06-21 Geoff Norton <gnorton@customerdna.com>
5723 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5725 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
5729 - return application/x-zerosize for files with size zero
5730 (if no extension pattern matches).
5731 - check matches collection for strings too.
5732 - return only the first mime type if the name value
5733 collection has more than one mime type.
5735 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
5737 * PropertyGrid.cs: Cleaned up some TODOs
5738 * PropertyGridView.cs: Added support for UITypeEditors
5740 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5742 * DataGrid.cs: clears cached value
5744 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5746 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5747 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5748 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5749 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5751 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
5753 * ThemeWin32Classic.cs: fixes colour
5755 2005-06-15 Peter Bartok <pbartok@novell.com>
5757 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5758 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5759 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5760 * Control.cs: Added some MWFCategory and MWFDescription attributes
5761 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5763 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
5765 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5768 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
5770 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5771 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5772 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5773 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5774 * DataGrid.cs: default datagrid settings for Default Styles, fixes
5775 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5777 2005-06-13 Jackson Harper <jackson@ximian.com>
5779 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5780 isn't printed when the user enables dropping. (X11 does accept
5783 2005-06-13 Jackson Harper <jackson@ximian.com>
5785 * TreeView.cs: Remove some TODOS.
5787 2005-06-13 Jackson Harper <jackson@ximian.com>
5789 * Form.cs: Hook into the mdi framework.
5790 * MdiClient.cs: Use the base control collections add method so
5791 parents get setup correctly. Set the default back colour and dock
5793 * MdiChildContext.cs: New class, this bad actor handles an
5794 instance of an MDI window. Right now there is only basic
5795 support. You can drag, close, and resize windows. Minimize and
5796 Maximize are partially implemented.
5798 2005-06-13 Jackson Harper <jackson@ximian.com>
5800 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5801 freaky when both vals are negative. NOTE: There are probably other
5802 places in XplatUIX11 that this needs to be done.
5804 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
5806 * DataGrid.cs: implement missing methods, move KeyboardNavigation
5807 * DataGridColumnStyle.cs: fixes signature
5809 2005-06-12 Jackson Harper <jackson@ximian.com>
5811 * XplatUIX11.cs: Use sizing cursors similar to the ones on
5814 2005-06-11 Jackson Harper <jackson@ximian.com>
5816 * StatusBarPanel.cs: Signature cleanups. Implement
5819 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
5821 * DataGridTextBoxColumn.cs: Honors aligment
5822 * GridColumnStylesCollection.cs: Contains is case unsensitive
5823 * GridTableStylesCollection.cs: several fixes
5824 * DataGridTableStyle.cs: default column creation
5825 * DataGridDrawingLogic.cs: fixes
5826 * CurrencyManager.cs: ListName property
5827 * DataGrid.cs: multiple styles support
5828 * DataGridColumnStyle.cs: fixes
5831 2005-06-10 Peter Bartok <pbartok@novell.com>
5833 * Control.cs(Select): Moved SetFocus call to avoid potential
5834 loops if controls change the active control when getting focus
5835 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5838 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
5840 * ImageListConverter.cs: Implemented
5842 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5844 * MonthCalendar.cs: Wired in NumericUpDown control for year
5846 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5848 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5849 DoubleClick events, since they are not meant to be fired.
5851 2005-06-09 Peter Bartok <pbartok@novell.com>
5853 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5854 Jonathan's standalone controls into MWF, implemented missing
5855 events, attributes and methods; added xxxAccessible classes
5856 * AccessibleObject.cs: Made fields internal so other classes
5857 can change them if needed
5859 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
5861 * UpDownBase.cs: Complete implementation
5862 * NumericUpDown.cs: Complete implementation
5863 * DomainUpDown.cs: Complete implementation
5865 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
5867 * DataGridTextBoxColumn.cs: drawing fixes
5868 * DataGridCell.cs: fixes ToString method to match MSNet
5869 * DataGridTableStyle.cs: fixes
5870 * DataGridBoolColumn.cs: fixes, drawing
5871 * DataGridDrawingLogic.cs: fixes, new methods
5872 * DataGridTextBox.cs: Keyboard and fixes
5874 - Keyboard navigation
5876 - Row selection (single, multiple, deletion, etc)
5879 2005-06-07 Jackson Harper <jackson@ximian.com>
5881 * ThemeWin32Classic.cs: Clear the background area when drawing
5884 2005-06-06 Peter Bartok <pbartok@novell.com>
5886 * ImageListStreamer.cs: Fixed signature for GetData
5887 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5889 - Added missing ChildAccessibleObject class
5890 - Added missing OnXXXFocus overrides, switched to using those
5891 instead of the event handler
5893 - Added Parent property for ControlAccessibleObject
5896 - Added ResetBindings()
5897 * ListBindingConverter.cs: Implemented some methods
5898 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5899 * ImageList.cs: Implemented basic handle scheme, removed TODOs
5900 * ContainerControl.cs: Fixed signature, now subscribing to the
5901 ControlRemoved event instead of overriding the handler, LAMESPEC
5902 * CurrencyManager.cs: Added missing attribute
5903 * MonthCalendar.cs: Added missing properties
5905 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5907 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5909 2005-06-06 Gaurav Vaish and Ankit Jain
5911 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5912 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5914 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5916 * Control.cs: fixes CreateParams Width / Height.
5918 2005-06-05 Peter Bartok <pbartok@novell.com>
5920 * Win32DnD.cs: Removed compilation warnings
5922 2005-06-05 Peter Bartok <pbartok@novell.com>
5924 * Control.cs (CreateParams): Since we don't know if one of the
5925 properties we use is overridden, lets make sure if we fail accessing
5926 we continue with a backup plan
5928 2005-06-05 Peter Bartok <pbartok@novell.com>
5931 - Removed debug output
5932 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5934 - Plugged resource leak
5935 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5938 2005-06-05 Peter Bartok <pbartok@novell.com>
5940 * XplatUIWin32.cs: Removed DnD code
5941 * Win32DnD.cs: Implemented drop source and drop target functionality
5943 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5945 * UpDownBase.cs: remove duplicate addition of event, enable some code
5946 that was commented out.
5947 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5948 Validate input when a key is pressed. It works fine now for every
5949 combination of Hexadecimal. Only missing some drawing love when sharing
5950 space with other controls.
5952 2005-06-04 Peter Bartok <pbartok@novell.com>
5955 - We need to pass a window for DragDrop, so enable callback events
5956 - Added DnD callback events when being a DragSource
5957 * XplatUI.cs (StartDrag): Added window handle argument
5958 * XplatUIDriver.cs (StartDrag): Added window handle argument
5959 * QueryContinueDragEventArgs: Made fields internally accessible so
5960 drivers can set them
5961 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5964 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
5966 * DataGridTextBoxColumn.cs: column text editing
5967 * DataGridTableStyle.cs: Respect columns styles created by the user
5968 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5969 * DataGridBoolColumn.cs: bool column editing
5970 * DataGrid.cs: fixes to scrolling, properties, etc
5971 * DataGridTextBox.cs: handle keyboard
5972 * DataGridColumnStyle.cs: fixes
5974 2005-06-02 Jackson Harper <jackson@ximian.com>
5976 * ImageListStreamer.cs: Somewhat broken implementation of
5977 GetObjectData. The RLE needs some work to match MS properly.
5979 2005-06-02 Jackson Harper <jackson@ximian.com>
5981 * X11Dnd.cs: Attempting to keep at least one file in MWF
5984 2005-06-02 Peter Bartok <pbartok@novell.com>
5986 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5989 2005-06-02 Peter Bartok <pbartok@novell.com>
5991 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5992 * XplatUI.cs: Added DoDragDrop() method
5993 * XplatUIDriver.cs: Added DoDragDrop() method
5995 2005-06-02 Jackson Harper <jackson@ximian.com>
5997 * Splitter.cs: Implement BorderStyle.
5999 2005-06-02 Jackson Harper <jackson@ximian.com>
6001 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6002 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6005 2005-06-02 Peter Bartok <pbartok@novell.com>
6009 - Fixed broken insertion code for SetData, now also
6010 overwrites any existing entry of the same format name
6011 * Hwnd.cs: Added list of pointers that automatically gets
6012 freed when the window is disposed
6013 * XplatUI.cs: Call driver initialization method when loading
6016 - OnDragLeave takes EventArgs, not DragEventArgs
6017 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6019 - Forces style update when drop state changes
6020 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6021 not perfect since we cannot (yet) call the IDataObject.GetData()
6022 method, we keep getting 0x80004005 error, dunno why)
6024 2005-06-02 Peter Bartok <pbartok@novell.com>
6026 * DragEventArgs.cs: Make fields internal so we can cache the
6027 object and re-set the fields from XplatUI
6029 2005-06-02 Jackson Harper <jackson@ximian.com>
6031 * Control.cs: Add some internal methods so the DnD subsystem can
6032 raise DnD events. Also call into the driver when AllowDrop is set.
6034 * XplatUIDriver.cs: New method for setting whether or not a window
6035 is allowed to accept drag and drop messages.
6037 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6039 * ScrollBar.cs: Make sure that values sent in Scroll events
6040 are always between Maximum and Minimum.
6042 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6044 * Menu.cs: Call MenuChanged when menuitem visibility has been
6046 * MenuItem.cs: Rebuild menu when item is (not) visible.
6047 * MainMenu.cs: MainMenu has special MenuChanged.
6048 * Theme.cs: Caption and FrameBorderSize are not fixed.
6049 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6050 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6052 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6053 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6055 2005-05-30 Jackson Harper <jackson@ximian.com>
6057 * DataFormat.cs: We can't statically initialize this stuff because
6058 it calls into the xplatui and could create a loop. So we lazy init
6061 2005-05-28 Jackson Harper <jackson@ximian.com>
6063 * Control.cs: Proper implementation of Product(Name/Version).
6065 2005-05-27 Jackson Harper <jackson@ximian.com>
6067 * DataObject.cs: Dont crash if no data is found.
6069 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6070 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6071 as per status page, guessing it should be set to true
6073 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6075 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6076 * DataGridTableStyle.cs: set proper formatting text, def header text
6077 * ThemeWin32Classic.cs: new themable paramaters
6078 * DataGridBoolColumn.cs: paint check box, get data, fixes
6079 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6080 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6081 * DataGridColumnStyle.cs: fixes
6082 * Theme.cs: new themable paramaters
6084 2005-05-26 Peter Bartok <pbartok@novell.com>
6086 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6088 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6089 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6091 2005-05-24 Peter Bartok <pbartok@novell.com>
6093 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6094 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6095 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6096 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6097 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6098 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6099 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6100 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6101 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6102 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6103 missing attributes, etc
6104 * DataGridPreferredColumnWidthTypeConverter.cs: Added
6106 2005-05-24 Peter Bartok <pbartok@novell.com>
6108 * Help.cs: Added, implemented trivial functions, throws up MessageBox
6109 when user tries to get help
6110 * DataObject.cs, DataFormats.cs, LinkArea.cs,
6111 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6112 to suppress warnings
6113 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6114 avoid unreachable code warning
6116 2005-05-20 Peter Bartok <pbartok@novell.com>
6118 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6120 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6122 * DataGridTextBoxColumn.cs: Basic painting methods
6123 * DataGridTableStyle.cs: Set table style in the column
6124 * ThemeWin32Classic.cs: Use Theme for colors
6125 * DataGridDrawingLogic.cs: Implement more drawing
6126 * DataGrid.cs: drawing, theming, enhacements, fixes
6127 * DataGridColumnStyle.cs: fixes, drawing
6128 * Theme.cs: theming for Datagrid
6130 2005-05-20 Peter Bartok <pbartok@novell.com>
6132 * Cursor.cs: Implemented GetObjectData() method
6134 2005-05-20 Peter Bartok <pbartok@novell.com>
6136 * Cursors.cs: Added setting of cursor name
6138 - Implemented constructors
6139 - Implemented Draw and DrawStretched
6140 - Implemented Current property
6141 - Implemented == and != operators
6142 - Implemented Dispose()
6143 - Implemented ToString
6144 - Added missing attributes
6146 - Added missing reset for OverrideCursor when DoEvents is called
6147 - Fixed creation of cursor, logic was wrong
6149 - Added missing reset for OverrideCursor when DoEvents is called
6150 - Fixed creation of cursor, bit arrays were swapped
6151 * Clipboard.cs: Removed obsolete MonoTODO attribute
6153 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6155 * ComboBox.cs: fixes OnSelectedItemChanged
6156 * ControlBindingsCollection.cs: fixes item range check
6158 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6161 - Calc preferred height properly
6162 - Implement missing properties
6164 * NumericUpDown.cs: Implement missing events
6166 2005-05-19 Jackson Harper <jackson@ximian.com>
6168 * TabControl.cs: New method that resizes the tab pages before
6169 redrawing them. This as needed as the control is double buffered
6170 and sizing will not be recalculated unless ResizeTabPages is
6172 * TabPage.cs: Set base.Text instead of Text in the constructor so
6173 that UpdateOwner does not get called. Use the new Redraw method of
6174 TabControl instead of Refresh so the sizing is recalculated.
6175 * ThemeWin32Classic.cs: Draw the text for button tabs.
6177 2005-05-19 Jackson Harper <jackson@ximian.com>
6179 * Control.cs: Paint control background images. Fix typo where
6180 PaintControlBackground was not getting called correctly.
6182 2005-05-19 Peter Bartok <pbartok@novell.com>
6184 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6185 I can investigate, apparently I broke FileDialog
6187 2005-05-19 Marek Safar <marek.safar@seznam.cz>
6189 * AxHost.cs: Some simple properties.
6190 * Control.cs: window must be accessible after ctor.
6191 * Form.cs: Added TransparencyKey property.
6192 * TextBoxBase.cs: Implemented Clear. Text property can be null.
6193 * XplatUIWin32.cs: SetBorderStyle implemented.
6195 2005-05-18 Peter Bartok <pbartok@novell.com>
6197 * DataObject.cs: Entries are not global but particular to the
6198 DataObject, now it behaves that way
6199 * XplatUIWin32.cs: Implemented Clipboard methods
6200 * Clipboard.cs: Implemented
6201 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6202 * XplatUIOSX.cs: Updated to final clipboard prototypes
6203 * XplatUIX11.cs: Implemented Clipboard methods
6204 * XplatUIDriver.cs: Updated to final clipboard prototypes
6205 * XplatUIStructs.cs:
6206 - Added BITMAPINFOHEADER struct
6207 - Added ClipboardFormats enum
6209 - Added ClipboardStruct
6210 - Added Atom enum items for clipboard types
6211 - Fixed atom types for Selection event structures
6213 - Added internal properties and methods for drivers to enumerate
6215 - Switched initialization method to allow drivers to assign their
6216 own IDs even for the MS predefined clipboard IDs
6217 * XplatUI.cs: Updated to final clipboard interface
6219 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6220 * PropertyGridView.cs: Fixed compiler warnings.
6222 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6223 * PropertyGrid.cs: Added some event calls
6224 * PropertyGridView.cs: Change drawing code to use double buffering
6225 * PropertyGridTextBox.cs: Changed Text property name
6226 * GridItem.cs: Added Bounds property.
6227 * GridEntry.cs: Added Bounds property.
6229 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
6231 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6232 since GetType() may not return the correct type if the object is
6235 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
6237 * TreeNodeCollection.cs: fixes get/set item ranges
6239 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6241 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6243 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6245 * ComboBox.cs: Fix item range comparation
6246 * ListView.cs: Fix item range comparation
6248 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6251 - Clear example panel when OnPaint is called
6252 - Better solution for displaying the example panel text
6253 - Select default indexes in the ListBoxes
6255 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6257 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
6259 2005-05-11 Peter Bartok <pbartok@novell.com>
6261 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6262 * SelectionRangeConverter.cs: Implemented
6263 * PropertyGrid.cs: Fixed attribute value
6265 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6266 - Added Sebastien Pouliot's CAS Stack Propagation fixes
6267 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6268 that's common to all drivers. First methods to go there are
6269 Sebastien Pouliot's CAS Stack Propagation helper methods
6270 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6271 Sebastien Pouliot for CAS Stack Propagation
6273 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6276 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6278 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
6280 * DataGridTextBoxColumn.cs: fixed some members
6281 * GridColumnStylesCollection.cs: indexed column is case insensitive
6282 * DataGridTableStyle.cs: fixes
6283 * ThemeWin32Classic.cs: add new theme parameter
6284 * Theme.cs: add new theme parameter
6285 * DataGridDrawingLogic.cs: Datagrid's drawing logic
6286 * DataGrid.cs: fixes, new internal properties, etc.
6287 * DataGridColumnStyle.cs: allows to set grid value
6290 2005-05-10 Peter Bartok <pbartok@novell.com>
6292 * AccessibleObject.cs:
6293 - Removed MonoTODO attribute on help, method is correct
6294 - Fixed Bounds property
6295 * AxHost.cs: Moved MonoTODO
6296 * ButtonBase.cs: Now setting AccessibleObject properties
6297 * RadioButton.cs: Setting proper AccessibleObject role
6298 * CheckBox.cs: Setting proper AccessibleObject role
6299 * ControlBindingsCollection.cs: Added properties, methods and attributes
6300 * DataFormats.cs: Fixed awkward internal API, and changed to enable
6301 userdefined DataFormats.Format items as well
6302 * ListControl.cs: Removed data_member from the public eye
6303 * OpenFileDialog.cs:
6305 - Added missing attributes
6306 * SaveFileDialog.cs: Added missing attributes
6307 * ImageListStreamer.cs: Fixed code that caused warnings
6308 * LinkLabel.cs: Removed unreachable code
6309 * TreeView.cs: Fixed code that caused warnings
6310 * PropertyGridView.cs: Fixed code that caused warnings
6311 * GridColumnStylesCollection.cs: Added missing attributes
6312 * GridTableStylesCollection: Added missing attribute
6313 * PropertyManager: Added .ctor
6314 * SecurityIDType: Added
6315 * DataObject.cs: Implemented class
6316 * LinkArea.cs: Added missing attribute
6318 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6320 * RadioButton.cs: call base method to allow to fire OnClick event
6321 * UpDownBase.cs: OnMouseUp call base method
6322 * CheckedListBox.cs: call base method before returning
6323 * TrackBar.cs: call base method before returning
6326 2005-05-10 Peter Bartok <pbartok@novell.com>
6328 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6331 2005-05-10 Peter Bartok <pbartok@novell.com>
6333 * DataFormats.cs: Implemented
6334 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6335 XplatUIX11.cs: Added Clipboard APIs
6336 * XplatUIWin32.cs: Implemented Clipboard APIs
6337 * FolderBrowserDialog.cs: Added missing event, attributes
6339 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6341 * CheckBox.cs: call base method to allow to fire OnClick event
6343 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6345 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6347 2005-05-06 Peter Bartok <pbartok@novell.com>
6349 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6350 * Screen.cs: Implemented
6351 * HelpNavigator.cs: Added
6352 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6354 * HelpProvider.cs: Implemented all we can do until we have a CHM
6355 help library (which means that "What's This" does work now)
6357 2005-05-06 Jackson Harper <jackson@ximian.com>
6359 * XplatUIX11.cs: Fix waking up the main loop.
6361 2005-05-05 Peter Bartok <pbartok@novell.com>
6363 * XplatUI.cs: Updated revision
6364 * Form.cs: Removed enless loop
6365 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6366 * Label.cs (OnPaint): Added call to base.OnPaint()
6367 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6368 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6369 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6371 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6372 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6373 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6374 reuse of ToolTipWindow by other controls
6375 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6376 * XplatUIX11.cs: Now clipping drawing area (experimental)
6377 * PictureBox.cs: Moved base.OnPaint() call to end of method
6378 * Theme.cs: Fixed ToolTip abstracts to match new format
6379 * ErrorProvider.cs: Implemented
6381 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
6383 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6387 - Implements LinkBehavior
6390 2005-05-03 Jackson Harper <jackson@ximian.com>
6392 * ListView.cs: Calculate the scrollbar positioning on resize and
6393 paint, so they get put in the correct place.
6395 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6397 * ColorDialogs.cs: The small color panels are now handled by
6398 SmallColorControl. This fixes drawing of the focus rectangle
6399 and adds a 3D border.
6401 2005-05-03 Peter Bartok <pbartok@novell.com>
6403 * Control.cs: Modified version of Jonathan Chamber's fix for
6406 2005-05-03 Jackson Harper <jackson@ximian.com>
6408 * ListView.cs: Remove redraw variable. Control now handles whether
6409 or not a redraw needs to be done, and will only raise the paint
6410 event if redrawing is needed.
6412 2005-05-03 Jackson Harper <jackson@ximian.com>
6414 * Splitter.cs: No decorations for the splitter form. Cache the
6417 2005-05-03 Jackson Harper <jackson@ximian.com>
6419 * TreeView.cs: Use dashed lines to connect nodes. Use the
6420 ControlPaint method for drawing the focus rect instead of doing
6423 2005-05-02 Peter Bartok <pbartok@novell.com>
6425 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6427 2005-04-29 Jackson Harper <jackson@ximian.com>
6429 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6430 entire image buffer. Just clear the clipping rectangle.
6432 2005-04-29 Jackson Harper <jackson@ximian.com>
6434 * ThemeWin32Classic.cs: Don't draw list view items that are
6435 outside the clipping rectangle.
6437 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
6439 * ListBox.cs: added horizontal item scroll
6441 2005-04-29 Jackson Harper <jackson@ximian.com>
6443 * ThemeWin32Classic.cs: Remove some old debug code that was
6444 causing flicker with the new double buffering code.
6446 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
6448 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6449 behave like combobox and comboboxlist (still not sure if this is
6452 2005-04-28 Jackson Harper <jackson@ximian.com>
6454 * ThemeWin32Classic.cs: Don't fill the middle of progress
6455 bars. This fills areas outside of the clip bounds that don't need
6458 2005-04-28 Jackson Harper <jackson@ximian.com>
6460 * Control.cs: Don't expose functionality to touch the image buffers.
6462 * ListView.cs: We do not need to (and no longer can) manipulate
6463 the image buffers directly. All of this is handled by Control.
6465 2005-04-28 Peter Bartok <pbartok@novell.com>
6467 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6468 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6469 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6471 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6474 - Adjust control's height for non-simple comboboxes (bug fix)
6476 * MenuAPI.cs: remove unused var
6477 * ScrollBar.cs: remove unsed var
6479 * ListBox.cs: unselect items when clearing
6481 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6483 * ListControl.cs: honors OnPositionChanged and default Selected Item
6484 * ListBox.cs: unselect items when clearing
6486 2005-04-27 Jackson Harper <jackson@ximian.com>
6488 * X11Keyboard.cs: Initialize a default keyboard and give a warning
6489 if a "correct" keyboard is not found. This will make us not crash,
6490 but might give some users bad keyboard layouts...seems to be the
6491 same thing rewind does.
6493 2005-04-27 Jackson Harper <jackson@ximian.com>
6495 * BindingManagerBase.cs: Attach the current/position changed
6496 handlers to their respective events.
6498 2005-04-27 Jackson Harper <jackson@ximian.com>
6500 * Control.cs: Make sure that the first WM_PAINT does a full draw,
6502 * ThemeWin32Classic.cs: Don't fill the background for picture
6503 boxes. This could overright user drawing.
6504 * ComboBox.cs: Just fill the clipping rect not the entire client
6505 rect when drawing the background. This prevents pieces of the
6506 image buffer from getting overwritten and is theoretically faster.
6508 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
6510 * ComboBox.cs: Databinding support fixes, fire missing events
6511 * ListControl.cs: implement missing methods and properties, fixes
6512 * ThemeWin32Classic.cs: Databiding support on Drawing
6513 * CheckedListBox.cs: Databinding support fixes, fire missing events
6514 * ListBox.cs: Databinding support fixes, fire missing events
6516 2005-04-25 Peter Bartok <pbartok@novell.com>
6518 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6520 2005-04-25 Jackson Harper <jackson@ximian.com>
6522 * TreeView.cs: Use the horizontal scrollbars height not width when
6523 determining how much of the client area is available.
6525 2005-04-25 Jackson Harper <jackson@ximian.com>
6527 * Control.cs: Double buffering is handled differently now. As per
6528 the spec, the extra buffer is created in the WM_PAINT message and
6529 passed down to the control's drawing code.
6537 * PropertyGridView.cs:
6549 * DateTimePicker.cs:
6551 * TreeView.cs: Update to new double buffering system.
6552 * MonthCalendar.cs: Uncomment block, as Capture is now
6553 working. Update to new double buffering
6554 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6555 * PaintEventArgs.cs: New internal method allows us to set the
6556 graphics object. This is used for double buffering.
6557 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6558 rectangle. The internal paint_area var has been removed from
6559 StatusBar. The clipping rect should be used instead.
6560 * Theme.cs: Give the PictureBox drawing method a clipping rect.
6561 * TabPage.cs: The RefreshTabs method was removed, so just call the
6562 tab controls Refresh method now.
6563 * TabControl.cs: Update to new double buffering. Make sure the
6564 handle is created before sizing the tab pages, otherwise we will
6565 get stuck in a loop.
6567 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
6569 * LinkLabel.cs: Fix typo, bug #74719; patch
6570 from Borja Sanchez Zamorano
6572 2005-04-22 Jackson Harper <jackson@ximian.com>
6574 * TreeNode.cs: Implement Handle stuff.
6575 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6577 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
6579 * DataGridTextBoxColumn.cs: call base constructors, fixes
6580 * GridColumnStylesCollection.cs: missing events, methods, and functionality
6581 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6582 * DataGridTableStyle.cs: implements create default column styles
6583 * DataGridBoolColumn.cs: which types can handle
6584 * DataGrid.cs: missing methods, fixes, new functionality
6585 * DataGridColumnStyle.cs: fixes
6587 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
6588 * FolderBrowserDialog.cs:
6589 - Use a thread to fill the TreeView
6590 - Adjusted some sizes
6592 2005-04-19 Peter Bartok <pbartok@novell.com>
6594 * LinkLabel.cs: (Re-)create the pieces when setting the Text
6595 property. Fixes #74360.
6597 2005-04-19 Jackson Harper <jackson@ximian.com>
6599 * XEventQueue.cs: Lock when getting the lockqueue size.
6600 * PictureBox.cs: Call base OnPaint
6602 2005-04-19 Peter Bartok <pbartok@novell.com>
6604 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6605 messages were no longer being processed (this broke BeginInvoke)
6608 2005-04-18 Jackson Harper <jackson@ximian.com>
6610 * TreeView.cs: buglet that caused node images to get drawn
6611 regardless of whether or not they were in the clipping rectangle.
6613 2005-04-18 Jackson Harper <jackson@ximian.com>
6615 * CurrencyManager.cs: There are four rules for GetItemProperties:
6616 - If the type is an array use the element type of the array
6617 - If the type is a typed list, use the type
6618 - If the list contains an Item property that is not an object, use
6620 - use the first element of the list if there are any elements in
6623 2005-04-17 Jackson Harper <jackson@ximian.oom>
6625 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6626 click. This handles offsets for scrolling properly and reduces
6627 memory. Also fixed GetNode to not offset now that TopNode works
6629 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6631 2005-04-17 Jackson Harper <jackson@ximian.com>
6633 * CursorConverter.cs: Initial implementation.
6635 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6637 * ListControl.cs: work towards complex data binding support on ListControl
6638 * CurrencyManager.cs: work towards complex data binding support on ListControl
6639 * ListBox.cs: work towards complex data binding support on ListControl
6642 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6644 * GridTableStylesCollection.cs: fixes name and constructor
6645 * DataGridTableStyle.cs: fixes
6646 * DataGridBoolColumn.cs: fixes names and constructors
6647 * DataGrid.cs: define methods and properties. Some init implementations
6648 * DataGridCell.cs: define methods and properties. Some init implementations
6649 * GridTablesFactory.cs: Define methods and properties
6651 2005-04-15 Geoff Norton <gnorton@customerdna.com>
6653 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
6654 graphics port changes. We still want the coordinates in global screen
6657 2005-04-14 Jackson Harper <jackson@ximian.com>
6659 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6660 check plus minus or checkbox clicks unless those features are enabled.
6662 2005-04-14 Jackson Harper <jackson@ximian.com>
6664 * TreeView.cs: Add methods for setting the top and bottom visible
6665 nodes. TreeNode::EnsureVisible uses these methods.
6666 * TreeNode.cs: Implement EnsureVisible
6668 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
6670 * Form.cs: Pospone menu assignation if the window has not been created yet
6671 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6674 2005-04-12 Jackson Harper <jackson@ximian.com>
6676 * TreeView.cs: Set the TopNode properly when scrolling
6677 occurs. This has the added benifit of reducing the amount of
6678 walking that needs to be done when drawing. Also removed an old
6680 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6682 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
6684 * Timer.cs: fixes interval setting when the timer is already enabled
6686 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
6688 * FolderBrowserDialog.cs: First approach
6690 2005-04-09 Peter Bartok <pbartok@novell.com>
6692 * FolderBrowserDialog: Added
6694 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
6696 * LinkLabel.cs: move drawing code into the theme
6697 * ThemeWin32Classic.cs: drawing code and painting background bugfix
6698 * Theme.cs: define DrawLinkLabel method
6700 2005-04-05 Jackson Harper <jackson@ximian.com>
6702 * BindingContext.cs: Use weak references so these bad actors don't
6703 stay alive longer then they need to.
6705 2005-04-05 Jackson Harper <jackson@ximian.com>
6707 * ListControl.cs: Basic implementation of complex databinding.
6709 * ListBox.cs: Add calls to ListControl databinding methods.
6711 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
6714 - Don't change PopupButtonState to Normal when the
6715 PopupButton gets pressed several times.
6716 - Renamed ButtonPanel to PopupButtonPanel
6718 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
6720 * ColorDialog.cs: Use cached objects instead of creating them
6721 * LinkLabel.cs: Use cached objects instead of creating them
6722 * Splitter.cs: Use cached objects instead of creating them
6723 * FontDialog.cs: Use cached objects instead of creating them
6724 * PropertyGridView.cs: Use cached objects instead of creating them
6725 * MessageBox.cs: Use cached objects instead of creating them
6726 * FileDialog.cs: Use cached objects instead of creating them
6727 * ThemeWin32Classic.cs: Use cached objects instead of creating them
6728 * TreeView.cs: Use cached objects instead of creating them
6730 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
6732 * Control.cs: use Equals to compare the font since no == op
6733 * ScrollBar.cs: use Equals to compare the font since no == op
6735 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
6737 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6739 2005-04-01 Jackson Harper <jackson@ximian.com>
6741 * Binding.cs: Implement IsBinding.
6742 * BindingManagerBase.cs:
6743 * PropertyManager.cs:
6744 * CurrencyManager.cs: Add IsSuspended property.
6746 2005-04-01 Jackson Harper <jackson@ximian.com>
6748 * Binding.cs: Had some IsAssignableFrom calls backwards.
6750 2005-04-01 Jackson Harper <jackson@ximian.com>
6752 * Binding.cs: Handle null data members when pulling data.
6753 * PropertyManager.cs: Handle the data member being a property that
6756 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6758 * DataGridTextBoxColumn.cs: fixes signature
6759 * DataGrid.cs: calls right constructor
6761 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6763 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6764 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6765 * GridTableStylesCollection.cs: implements GridTableStylesCollection
6766 * DataGridTableStyle.cs: implements DataGridTableStyle
6767 * DataGridBoolColumn.cs: implements DataGridBoolColumn
6768 * DataGridTextBox.cs: implements DataGridTextBox
6769 * DataGridColumnStyle.cs: implements DataGridColumnStyle
6771 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
6773 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6775 2005-03-29 Peter Bartok <pbartok@novell.com>
6778 - Properly implemented CompanyName property
6779 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6780 returns a path that includes CompanyName, ProductName and
6781 Version (fixes bug #70330)
6783 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
6785 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6788 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6790 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6792 - Added ReadOnly CheckBox
6793 - Further refactoring: moved some code from Open-/SaveFileDialog
6796 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6798 * OpenFileDialog.cs: Fixed CheckFileExists
6800 Moved FileView and DirComboBox outside FileDialog class.
6801 They can now be used outside FileDialog
6803 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6805 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6806 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6808 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6810 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6811 - Added missing CreatePrompt property in SaveDialog
6812 - Overall SaveDialog handling should be better now
6813 - Added non standard ShowHiddenFiles property
6814 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6815 - Added InitialDirectory and RestoreDirectory support
6817 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
6819 * FileDialog.cs: Made dirComboBox usable
6821 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
6823 * FileDialog.cs: Added Filter support (case sensitiv)
6825 2005-03-24 Jackson Harper <jackson@ximian.com>
6827 * TabControl.cs: Need a couple more pixels for the lines.
6829 2005-03-23 Jackson Harper <jackson@ximian.com>
6831 * TabControl.cs: Give the tab page focus when it is selected.
6833 2005-03-23 Jackson Harper <jackson@ximian.com>
6835 * TabControl.cs: Account for the drawing of tabs borders when
6836 invalidating. If the slider was clicked dont do click detection on
6839 2005-03-23 Jackson Harper <jackson@ximian.com>
6841 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6843 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
6845 * CategoryGridEntry.cs: Added
6846 * GridItem.cs: Added helper properties
6847 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6848 * GridEntry.cs: Updated code for collection
6849 * PropertyGrid.cs: Cleaned up some formatting
6850 * PropertyGridView.cs: Added drop down functionality for enums.
6851 * GridItemCollection.cs: Added enumerator logic
6852 * PropertyGridEntry.cs: Added
6854 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6857 - Removed unnecessary commented code
6858 - Fixed handling for entering the filename manually in the combobox
6860 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6862 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6864 2005-03-18 Peter Bartok <pbartok@novell.com>
6866 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6867 them being touching the border
6869 2005-03-18 Peter Bartok <pbartok@novell.com>
6871 * TextControl.cs: Quick hack to center text better
6873 2005-03-18 Peter Bartok <pbartok@novell.com>
6876 - Don't throw NotImplemented exceptions, just print a notice once
6877 instead (requested by Miguel). This makes running existing SWF
6880 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6881 - Added context menu trigger on right click
6882 * Panel.cs: Trigger invalidate on resize
6884 - Removed old double-buffer drawing
6885 - Added ResizeRedraw style to force proper update of statusbar
6887 - Removed debug output
6888 * ThemeWin32Classic.cs:
6889 - Fixed drawing of status bar, now draws Text property if there
6890 are no defined panels
6892 2005-03-18 Jackson Harper <jackson@ximian.com>
6894 * ImageList.cs: When the image stream is set pull all the images
6896 * ImageListStreamer.cs: Implement reading image list streams.
6898 2005-03-18 Peter Bartok <pbartok@novell.com>
6900 * ThemeWin32Classic.cs (DrawPictureBox):
6901 - Fixed calculations for centered drawing
6902 - Fixed drawing for normal mode, not scaling the image on normal
6904 2005-03-18 Peter Bartok <pbartok@novell.com>
6906 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6909 - Made Open/Save button the accept button for FileDialog
6910 - Tied the cancel button to the IButtonControl cancel button
6911 - Save/Open now properly builds the pathname
6912 - Now handles user-entered text
6913 - Preventing crash on right-click if no item is selected
6914 - Fixed Text property, now uses contents of textbox
6915 - Fixed SelectedText property, now just returns the text part that
6916 is selected in the text box
6918 2005-03-18 Jackson Harper <jackson@ximian.com>
6920 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6921 rect, make sure to de-adjust the interior rect after drawing the
6924 2005-03-18 Peter Bartok <pbartok@novell.com>
6926 * MenuAPI.cs: Remove menu *before* executing selected action to
6927 prevent the menu from 'hanging around'
6929 2005-03-17 Geoff Norton <gnorton@customerdna.com>
6931 * XplatUIOSX.cs: Implemented WorkingArea property
6933 2005-03-17 Peter Bartok <pbartok@novell.com>
6935 * XplatUIX11.cs: Fixed menu coord calculations
6936 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6937 for calculating offsets
6939 2005-03-17 Peter Bartok <pbartok@novell.com>
6941 * Hwnd.cs: Do not consider menu presence for default client
6942 rectangle location/size
6943 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6944 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6945 translation functions
6946 * FileDialog.cs: Fixed (what I presume is a) typo
6948 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
6950 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6951 X access (avoids X-Async errors)
6953 2005-03-16 Jackson Harper <jackson@ximian.com>
6955 * TabControl.cs: Raise the SelectedIndexChanged event.
6957 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
6959 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6960 - Removed vertical ToolBar and replaced it with a custom panel
6961 (desktop and home button already work)
6962 - Added Help button (some controls get resized or relocated then)
6963 - Draw correct text depending on Open or Save.
6964 - Fixed some typos...
6966 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
6969 - Only change Maximum and Minimum when need it (bug fix)
6971 2005-03-15 Peter Bartok <pbartok@novell.com>
6973 * Form.cs: Use Handle for icon, to trigger creation if
6974 the window does not yet exist
6976 - CanSelect: Slight performance improvement
6977 - Focus(): Preventing possible recursion
6978 - Invalidate(): Removed ControlStyle based clear flag setting
6979 - WM_PAINT: fixed logic for calling OnPaintBackground
6980 - WM_ERASEBKGND: Fixed logic, added call to new driver method
6981 EraseWindowBackground if the control doesn't paint background
6983 - Moved EraseWindowBackground() method to internal methods
6984 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6985 is sent via SendMessage on BeginPaint call on Win32
6987 - Added EraseWindowBackground() method
6988 - No longer sends WM_ERASEBKGND on .Expose, but on call to
6989 PaintEventStart, which more closely matches Win32 behaviour
6990 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6991 - Fixed SetFocus() to properly deal with client and whole windows
6992 * Hwnd.cs: Added ErasePending property
6993 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6994 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6996 2005-03-12 Geoff Norton <gnorton@customerdna.com>
6999 - Fix hard loop when timers exist.
7000 - Fix bugs with middle and right click for 3 button mice.
7002 2005-03-11 Peter Bartok <pbartok@novell.com>
7005 - get_WorkingArea: Need to call X directly, GetWindowPos only
7006 returns cached data now
7007 - Added sanity check to GetWindowPos hwnd usage
7009 2005-03-11 Jackson Harper <jackson@ximian.com>
7011 * BindingManagerBase.cs: This method isn't used anymore as
7012 PullData now updates the data in the control.
7014 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7016 * Form.cs: fixes menu drawing on X11
7017 * MenuAPI.cs: fixes menu drawing on X11
7019 2005-03-11 Peter Bartok <pbartok@novell.com>
7021 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7022 from Jonathan Gilbert; should fix bug #73606
7023 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7024 in Screen coordinates. Thanks, Jordi.
7025 * Form.cs: Added missing attribute
7027 2005-03-11 Peter Bartok <pbartok@novell.com>
7030 - Rudimentary Mdi support
7031 - Removed outdated FormParent code
7032 - Implemented lots of missing properties and methods, still missing
7033 transparency support
7034 - Added missing attributes
7035 - Implemented support for MaximumBounds
7036 - Added firing of various events
7037 * XplatUI.cs: Added SetIcon() method
7038 * XplatUIDriver.cs: Added SetIcon() abstract
7039 * XplatUIOSX.cs: Stubbed out SetIcon() method
7041 - Implemented SetIcon() support
7042 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7043 - Switched to unix line endings
7045 - Made POINT internal so for can access it as part of MINMAX
7046 - Implemented SetIcon() support
7047 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7048 native Mdi support again, might have to go managed)
7049 * Control.cs: Now fires the StyleChanged event
7050 * MdiClient.cs: Added; still mostly empty
7052 2005-03-10 Peter Bartok <pbartok@novell.com>
7054 * SaveFileDialog.cs: Added emtpy file
7056 2005-03-08 Peter Bartok <pbartok@novell.com>
7058 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7059 in turn triggers OnCreateContro) when creating a handle for the
7061 * TextControl.cs: Fixed endless loop in certain cases when
7062 replacing the current selection
7064 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7067 - Honors NewValue changes in Scroll events allowing apps to change it
7068 - Adds First and Last Scroll events
7069 - Fixes Thumb events
7071 2005-03-07 Peter Bartok <pbartok@novell.com>
7073 * Hwnd.cs: Added DefaultClientRectangle property
7074 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7075 more detailed debug information
7077 - Fixed size-change feedback loop, where we would pull an old size
7078 off the queue and mistakenly change our window's size to an
7080 - Now compressing ConfigureNotify events, to reduce looping and
7082 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7085 2005-03-07 Jackson Harper <jackson@ximian.com>
7087 * Binding.cs: Push data pushes from data -> property. Check if the
7088 property is readonly when attempting to set it.
7090 2005-03-07 Jackson Harper <jackson@ximian.com>
7092 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7093 instead of IsSubclassOf. Pulling data now sets the value on the
7095 * PropertyManager.cs:
7096 * CurrencyManager.cs: Just need to pull data when updating now,
7097 because PullData will set the value on the control.
7099 2005-03-04 Jackson Harper <jackson@ximian.com>
7101 * Binding.cs: Implement data type parsing and converting on pulled
7102 data. TODO: Are there more ways the data can be converted?
7104 2005-03-04 Jackson Harper <jackson@ximian.com>
7106 * Binding.cs: Support <Property>IsNull checks. Also bind to the
7107 controls Validating method so we can repull the data when the
7108 control loses focus.
7110 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
7113 - Fixes null string format
7116 - Adds enum type checks
7117 - Fixes redrawing and recalc need after changing some properties
7118 - Fixes on focus_item set after the event
7119 - Fixes adding columns after the control has been created
7121 * ThemeWin32Classic.cs:
7122 - Fixes CheckBox focus rectangle
7123 - Fixes ColumnHeader drawing
7126 2005-03-03 Jackson Harper <jackson@ximian.com>
7128 * Binding.cs: Bind to <Property>Changed events so we can detect
7129 when properties are changed and update the data.
7131 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
7134 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7135 - Fixes ImageList constructor with ImageList container
7136 - Fixes image scaling (wrong parameters at DrawImage)
7138 2005-02-02 Jackson Harper <jackson@ximian.com>
7140 * Binding.cs: Make property searches case-insensitive. Eliminate
7141 some duplicated code.
7143 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
7146 - Handle focus event
7147 - Fix scrollbar events
7148 - Discard highlighted item if remove it
7149 - Fixes SelectedItem with strings
7151 2005-03-01 Peter Bartok <pbartok@novell.com>
7154 - Fixed Visible property, now follows (once again) parent chain
7155 to return false if any control in the chain is visible=false
7156 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7157 - Fixed several places where is_visible instead of Visible was used
7158 - Implemented FIXME related to focus selection when setting focused
7159 control to be invisible
7161 * XplatUIWin32.cs: Now using proper method to find out if window is
7162 visible. Thanks to Jordi for pointing it out
7164 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
7166 * ComboBox.cs: show/hide scrollbar instead of creating it
7168 2005-02-27 Jackson Harper <jackson@ximian.com>
7170 * CurrencyManager.cs: Add PositionChanged stuff.
7172 2005-02-27 Peter Bartok <pbartok@novell.com>
7174 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7175 * XplatUIOSX.cs: Added GetMenuOrigin() stub
7176 * XplatUIWin32.cs: Implemented GetMenuOrigin()
7178 - Implemented GetMenuDC()
7179 - Implemented GetMenuOrigin()
7180 - Implemented ReleaseMenuDC()
7181 - Implemented generation of WM_NCPAINT message
7182 - Implemented generation and handling of WM_NCCALCSIZE message
7183 * Form.cs: Added debug helper message for Jordi's menu work
7185 - Modified ClientRect property; added setter, fixed getter to handle
7186 setting of ClientRect
7187 - Added MenuOrigin property
7189 2005-02-26 Peter Bartok <pbartok@novell.com>
7192 - Destroys the caret if a window that's being destroyed contains it
7193 - Ignores expose events coming from the X11 queue for windows that
7194 already are destroyed
7195 - Now uses the proper variable for handling DestroyNotify, before we
7196 marked the wrong window as destroyed
7197 - Improved/added some debug output
7199 2005-02-26 Peter Bartok <pbartok@novell.com>
7201 * X11Keyboard.cs: Fixes to work on 64bit systems
7203 2005-02-26 Peter Bartok <pbartok@novell.com>
7206 - Now calling OnHandleDestroyed from DestroyHandle()
7207 instead of Dispose()
7208 - Removed bogus call to controls.Remove() from DestroyHandle()
7210 2005-02-26 Peter Bartok <pbartok@novell.com>
7212 * Control.cs: Properly destroy child windows when our handle is
7215 2005-02-25 Peter Bartok <pbartok@novell.com>
7218 - Added 'DriverDebug' define to allow tracing XplatUI API calls
7219 - Alphabetized Static Methods and Subclasses
7222 - Added XException class to allow custom handling of X11 exceptions
7223 - Created custom X11 error handler, tied into XException class
7224 - Added support for MONO_XEXCEPTIONS env var to allow the user
7225 to either throw an exception on X errors or continue running
7226 after displaying the error
7227 - Added handling of DestroyNotify message
7228 - Added handler for CreateNotify message (still disabled)
7229 - Improved (tried to at least) Where method to provide file and lineno
7231 - Added XErrorHandler delegate
7232 - Added XRequest enumeration (to suppor translation of errors)
7234 2005-02-25 Jackson Harper <jackson@ximian.com>
7236 * PropertyManager.cs: Implement editing features
7237 * CurrencyManager.cs:
7238 * Binding.cs: First attempt at UpdateIsBinding
7239 * BindingManagerBase.cs: Call UpdateIsBinding before
7240 pushing/pulling data.
7242 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
7244 * MenuAPI.cs: Respect disabled items
7245 * ThemeWin32Classic.cs
7246 - Caches ImageAttributes creation for DrawImageDisabled
7247 - Fixes vertical menu line drawing
7248 - Draws disabled arrows in disable menu items
7250 2005-02-24 Peter Bartok <pbartok@novell.com>
7253 - Added UserData property to allow associating arbitrary objects
7255 - Fixed leak; now removing Hwnd references from static windows array
7257 - Fixed Graphics leak in PaintEventEnd
7258 - Removed usage of HandleData, switched over to Hwnd class
7259 * HandleData.cs: Removed, obsoleted by Hwnd.cs
7261 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7263 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7264 * ScrollBar.cs: Fixes bug
7265 * TrackBar.cs: removes death code, clipping, mimize refreshes,
7266 keyboard navigation enhancements
7268 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7270 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7271 * GroupBox.cs: Add control styles
7272 * Label.cs: Add control styles
7273 * UpDownBase.cs: Add control styles
7274 * ListBox.cs: Add control styles
7275 * XplatUIWin32.cs: Fixes wrong parameter order
7278 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
7280 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7282 2005-02-23 Jackson Harper <jackson@ximian.com>
7284 * PropertyManager.cs: Implement property binding. This doesn't
7285 seem to work yet though as (I think) there are some bugs in
7286 System.ComponentModel.PropertyDescriptor.
7287 * BindingContext.cs: Use new PropertyManager constructor.
7289 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
7291 * ProgressBar.cs: use clip region in ProgressBar
7292 * ThemeWin32Classic.cs: use clip region in ProgressBar
7294 2004-02-22 Jackson Harper <jackson@ximian.com>
7296 * BindingsCollection.cs: Remove some debug code.
7298 2005-02-22 Jackson Harper <jackson@ximian.com>
7300 * BindingContext.cs:
7301 * ControlBindingsCollection.cs:
7302 * CurrencyManager.cs:
7304 * BindingManagerBase.cs: Initial implementation
7305 * BindingsCollection.cs: Add an internal contains method that the
7306 BindingManagerBase uses to ensure bindings aren't added twice to
7308 * PropertyManager.cs: Stubbed out.
7310 * ContainerControl.cs: Hook up databinding
7312 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7315 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7316 Fixed Invalidate/Update chain.
7317 Fixed tons of other minor bugs (this is almost a complete rewrite).
7319 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7321 * ComboBox.cs: do subcontrol creation when the control is created
7323 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7325 * Label.cs: fixes image drawing (image and imagelist)
7326 * ThemeWin32Classic.cs: cache brushes
7328 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7330 * Form.cs: Move menu drawing code to Theme class
7331 * ComboBox.cs: Move ComboBox drawing code to Theme class
7332 * MenuItem.cs: Move menu drawing code to Theme class
7333 * MenuAPI.cs: Move menu drawing code to Theme class
7334 * ThemeWin32Classic.cs: New methods
7335 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7336 * ListBox.cs: Move Listbox drawing code to Theme class
7337 * Theme.cs: New methods
7339 2005-02-20 Peter Bartok <pbartok@novell.com>
7342 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7343 only process mnemonics on those)
7344 - Fixed event sequence for key handling; first calling
7345 ProcessKeyEventArgs now
7347 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7348 for processing non-character keys
7349 - Fixed WM_CHAR to generate proper event sequence before processing
7350 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7353 2005-02-19 Peter Bartok <pbartok@novell.com>
7355 * UserControl.cs: Added TextChanged event; added attributes
7356 * SizeGrip.cs: Implemented resizing and optional display of grip
7357 * Form.cs: Fixed attribute
7358 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7359 Changed meaning of ScrollWindow bool argument; instead of the
7360 clear attribute (which will be true usually anyway), it gives the
7361 option of moving child controls as well.
7363 - Changed to match new ScrollWindow argument
7364 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7365 now handles the implicit parent window a WM puts around us
7366 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7368 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7369 * TreeView.cs: Adjusted to new ScrollWindow arguments
7371 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7373 * Form.cs: Menu integration with non-client area
7374 * MenuItem.cs: Menu integration with non-client area
7375 * MenuAPI.cs: Menu integration with non-client area
7377 2005-02-18 Peter Bartok <pbartok@novell.com>
7379 * MethodInvoker.cs: Added
7380 * MdiLayout.cs: Added
7381 * SendKeys.cs: Started implementation
7382 * ErrorIconAlignment.cs: Added
7384 2005-02-18 Peter Bartok <pbartok@novell.com>
7386 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7387 * Form.cs: Added handling for Menu-related Non-client messages
7389 2005-02-17 Peter Bartok <pbartok@novell.com>
7391 * UpDownBase.cs: Fixed typo, compilation errors
7392 * DomainUpDown.cs: Fixed attribute value
7394 2005-02-16 Miguel de Icaza <miguel@novell.com>
7396 * UpDownBase.cs: Attach entry events.
7398 Add ForeColor property, Focused, InterceptArrowKeys (interception
7401 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
7404 - Redraw non client are on Setmenu
7405 - Calc proper menu starting point
7407 2005-02-17 Peter Bartok <pbartok@novell.com>
7409 * Application.cs: Fixed message_filter check
7411 2005-02-17 Peter Bartok <pbartok@novell.com>
7413 * Application.cs: Now calls registered message filters
7414 * DockStyle.cs: Fixed attribute
7415 * Form.cs: Fixed attribute
7416 * Menu.cs: Fixed attribute
7417 * ToolTip.cs: Fixed attribute
7418 * TreeNode.cs: Added missing attributes and arranged in regions
7419 * PropertyGrid.cs: Fixed signatures
7420 * TreeNodeCollection.cs: Added attributes
7421 * Splitter.cs: Added missing attributes; arranged into regions
7422 * TabPage.cs: Added missing attributes; arranged into regions
7423 * TextBoxBase.cs: Added missing attributes
7424 * TextBox.cs: Added missing attributes
7425 * ArrangeDirection.cs: Added missing attributes
7426 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7427 * ToolBarButton.cs: Fixed attributes
7428 * AnchorStyles.cs: Fixed attribute
7429 * TrackBar.cs: Fixed attributes
7430 * TabControl.cs: Added missing attributes and arranged into regions
7431 * ToolBar.cs: Fixed attribute
7432 * StatusBar.cs: Fixed signature, organized into regions and added
7434 * StatusBarPanel.cs: Fixed attributes
7435 * ContentsResizedEventArgs.cs: Implemented
7436 * ContentsResizedEventHandler.cs: Implemented
7437 * DateBoldEventArgs.cs: Implemented
7438 * DateBoldEventHandler.cs: Implemented
7439 * UpDownEventArgs.cs: Implemented
7440 * UpDownEventHandler.cs: Implemented
7442 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
7444 * Form.cs: first Menu NC refactoring
7445 * MenuAPI.cs: first Menu NC refactoring
7447 2005-02-16 Peter Bartok <pbartok@novell.com>
7449 * ImeMode.cs: Added missing attributes
7450 * Menu.cs: Fixed attribute
7451 * GroupBox.cs: Fixed attribute
7452 * Label.cs: Fixed attribute
7453 * ColorDialog.cs (RunDialog): Removed TODO attribute
7454 * ComboBox.cs: Fixed attributes
7455 * ListControl.cs: Added missing attributes
7456 * PropertyGrid.cs: Fixed attributes
7457 * Control.cs: Fixed attributes
7458 * ListViewItem.cs: Added TypeConverter attribute
7459 * NotifyIcon.cs: Fixed attributes
7460 * ListView.cs: Fixed attributes
7461 * ButtonBase.cs: Fixed attribute
7462 * ImageList.cs: Added missing attributes
7463 * ContainerControl.cs: Fixed signature
7464 * CheckedListBox.cs: Fixed attribute; added missing attributes
7465 * Panel.cs: Fixed attributes
7466 * PropertyTabChangedEventArgs.cs: Added missing attribute
7467 * PropertyValueChangedEventArgs.cs: Added missing attribute
7468 * Binding.cs: Fixed attribute
7469 * ListViewItemConverter: Implemented ListViewSubItemConverter class
7470 * ListBox.cs: Fixed attribute; added missing attributes;
7471 * ScrollableControl.cs: Added missing attributes
7472 * PictureBox.cs: Added missing attributes; implemented missing property
7473 * DateTimePicker.cs: Added missing attributes
7474 * Theme.cs (ToolWindowCaptionHeight): Fixed type
7475 * MonthCalendar.cs: Fixed attributes
7476 * StatusBarPanel.cs: Added missing attributes
7477 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7479 2005-02-16 Peter Bartok <pbartok@novell.com>
7481 * TextBoxBase.cs: The previous method to enforce height yet remember
7482 the requested high was less than ideal, this is an attempt to do
7484 * Control.cs: Added comment about possible problem
7485 * Copyright: Updated format
7486 * GridItemType.cs: Fixed swapped values
7488 2005-02-15 Jackson Harper <jackson@ximian.com>
7490 * BaseCollection.cs: Use property so we never access an
7491 uninitialized list. Also initialize the list in the property.
7493 2005-02-15 Peter Bartok <pbartok@novell.com>
7495 * GroupBox.cs (ProcessMnemonic): Implemented
7496 * Label.cs (ProcessMnemonic): Implemented
7497 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7500 2005-02-15 Peter Bartok <pbartok@novell.com>
7502 * RadioButton.cs (ProcessMnemonic): Implemented
7503 * CheckBox.cs (ProcessMnemonic): Implemented
7505 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7507 - Added internal method to allow calling ProcessMnemonic from other
7509 * ContainerControl.cs:
7510 - Started support for handling validation chain handling
7511 - Implemented ProcessMnemonic support
7512 - Added Select() call to Active, to make sure the active control
7514 * Form.cs: Setting toplevel flag for Forms (this was lost in the
7516 * ThemeWin32Classic.cs:
7517 - DrawCheckBox(): Fixed stringformat to show hotkeys
7518 - DrawRadioButton(): Fixed stringformat to show hotkeys
7519 * CommonDialog.cs: Removed WndProc override, not needed
7521 2005-02-14 Peter Bartok <pbartok@novell.com>
7523 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7524 missed those in the rewrite
7526 2005-02-14 Miguel de Icaza <miguel@novell.com>
7528 * NumericUpDown.cs (Increment, ToString): Add.
7529 (DecimalPlaces): implement.
7533 * UpDownBase.cs: Add the designer attributes.
7535 2005-02-13 Peter Bartok <pbartok@novell.com>
7537 * Panel.cs: Removed border_style, now in Control
7538 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7539 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7541 2005-02-13 Peter Bartok <pbartok@novell.com>
7543 * MouseButtons.cs: Added missing attributes
7544 * XplatUIStructs.cs: Added enumeration for title styles
7545 * LeftRightAlignment.cs: Added missing attributes
7546 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7547 it compatible with Graphics.FromHwnd()
7548 * SelectedGridItemChangedEventArgs.cs: Fixed property type
7549 * Keys.cs: Added missing attributes
7550 * SelectionRange.cs: Added missing attributes
7551 * SelectionRangeConverter.cs: Added
7553 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7554 ReleaseMenuDC methods
7555 - Renamed ReleaseWindow to UngrabWindow
7556 - Added proper startup notice to allow version identification
7558 - Added missing attributes
7559 - Removed FormParent concept
7560 * Label.cs: Removed border_style field, now in Control
7561 * RadioButton.cs: Now properly selects RadioButton when focus is
7563 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7565 - Added missing attributes
7566 - Added borderstyle handling
7567 - Removed FormParent concept support
7568 - Fixed calls to XplatUI to match changed APIs
7569 - Fixed bug that would case us to use disposed Graphics objects
7570 - Removed unneeded internal methods
7571 - PerformLayout(): Fixed to handle DockStyle.Fill properly
7572 - SelectNextControl(): Fixed to properly check common parents
7573 * TextBoxBase.cs: Removed border_style field (now in Control)
7575 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7576 fixed calculations for form size
7577 - Added support for localized strings and icons
7578 - Improved form size calculations, added border
7579 * ListView.cs: Removed border_style field (now in Control)
7580 * X11Structs.cs: Moved several structs from X11 driver here
7581 * X11Keyboard.cs: Changed debug message
7582 * Application.cs: Removed FormParent concept support
7584 - Resetting end_modal flag
7585 - Removed FormParent concept support
7586 * NativeWindow.cs: Removed FormParent concept support
7587 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7588 Client area and Non-Client whole window to allow support for WM_NC
7590 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7591 prevent using it until it supports Hwnd as per Geoff Norton's request
7592 * ToolBar.cs: Fixed drawing, was not doing proper drawing
7593 * PictureBox.cs: Removed border_style field, now in Control
7594 * XplatUIWin32.cs: Added new driver methods
7596 2005-02-12 Peter Bartok <pbartok@novell.com>
7598 * OpacityConverter.cs: Implemented
7599 * Hwnd.cs: Internal class to support drivers that need to emulate
7600 client area/non-client area window behaviour
7602 2005-02-11 Peter Bartok <pbartok@novell.com>
7604 * KeysConverter.cs: Implemented
7606 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
7608 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7609 * LinkLabel: Added missing attributes
7610 * MainMenu.cs: fixes ToString
7611 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7612 * ListBox.cs: fixes event position
7613 * TrackBar.cs: adds missing attributes and events
7615 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
7617 * MenuItem.cs: Use SystemInformation and bug fixes
7618 * MenuAPI.cs: Use SystemInformation and bug fixes
7620 2005-02-09 Jackson Harper <jackson@ximian.com>
7622 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7623 their keystate otherwise things like VK_MENU get stuck "on".
7625 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
7627 * ListBox.cs: Fixes AddRange bug
7629 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
7632 - Add missing attributes
7633 - Add missing method
7635 * CheckedListBox.cs: Added missing attributes
7636 - Add missing attributes
7637 - Remove extra method
7639 * ComboBox.cs: Added missing attributes
7640 * VScrollBar.cs: Added missing attributes
7641 * ScrollBar.cs: Added missing attributes
7642 * ListBox.cs: Fixes signature, add missing consts
7643 * LinkArea.cs: Added missing attributes
7646 2005-02-08 Peter Bartok <pbartok@novell.com>
7648 * Menu.cs: Added missing attributes
7649 * MainMenu.cs: Added missing attributes
7650 * GroupBox.cs: Added missing attributes
7651 * Label.cs: Added missing attributes
7652 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7654 - Added Instance and Options properties
7655 - Added missing attributes
7656 * Cursor.cs: Made Serializable
7657 * NotifyIcon: Added missing attributes
7658 * MenuItem.cs: Added missing attributes
7659 * TextBoxBase.cs: Implemented AppendText() and Select() methods
7660 * Panel.cs: Added Missing attributes
7661 * MonthCalendar.cs: Fixed CreateParams
7663 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7667 - Fixes issues with links
7668 - Adds the class attributes
7670 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7673 - Fixes button when no items available in dropdown
7674 - Fixes repainting problems
7675 - Adds the class attributes
7677 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7679 * XplatUIOSX.cs: Detect the menu bar and title bar height from
7680 the current theme. Cache these on startup.
7682 2005-02-07 Jackson Harper <jackson@ximian.com>
7684 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7685 the scrollbar buttons when they are depressed.
7687 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7689 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7690 Get the display size from the main displayid. We currently dont
7691 support multiple display configurations.
7693 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7695 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7697 2005-02-07 Miguel de Icaza <miguel@novell.com>
7699 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7701 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
7703 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7705 2005-02-04 Jackson Harper <jackson@ximian.com>
7707 * ThemeWin32Classic.cs: Respect the clipping rect when
7708 drawing. Only fill the intersection of clips and rects so there
7709 isn't a lot of large fills.
7710 * ScrollBar.cs: Pass the correct clipping rect to the theme
7711 engine. Remove some debug code.
7713 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
7715 * DateTimePicker.cs:
7716 - Fixed crash on DateTime.Parse, use Constructor instead
7718 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7722 - Owner draw support (MeasureItem and DrawItem)
7724 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7727 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7728 - Fixes MenuItems.Add range
7730 - MergeMenu and Clone and CloneMenu functions
7732 2005-02-03 Jackson Harper <jackson@ximian.com>
7734 * ScrollBar.cs: Make abstract
7735 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7738 2005-02-03 Jackson Harper <jackson@ximian.com>
7740 * ScrollBar.cs: First part of my scrollbar fixups. This removes
7741 all the unneeded refreshes and uses invalidates with properly
7744 2005-02-03 Peter Bartok <pbartok@novell.com>
7746 * ComponentModel.cs: Added
7747 * IDataGridEditingService.cs: Added
7748 * Timer.cs: Added missing attributes
7749 * ToolTip.cs: Added missing attributes
7751 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
7753 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7755 2005-02-03 Peter Bartok <pbartok@novell.com>
7757 * ListBox.cs: Added missing attributes
7759 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
7762 - Fixes font height after font change
7763 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7765 2005-02-02 Peter Bartok <pbartok@novell.com>
7767 * HandleData.cs: Introduced static methods to allow class
7768 to be more self-contained and track it's own HandleData objects
7769 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7770 HandleData to use new static methods
7772 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
7775 - Fixes default size and PreferredHeight
7777 - ObjectCollection.Insert implementation
7783 - ObjectCollection.Insert implementation
7784 - No selection after clean
7787 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7789 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7791 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
7794 - Caches ItemHeight calculation for OwnerDrawVariable
7795 - Handles dropdown properly
7796 - Fixes several minor bugs
7798 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7801 - Fixes 71946 and 71950
7802 - Fixes changing Multicolumn on the fly
7803 - Fixes keyboard navigation on Multicolumn listboxes
7805 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7807 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7810 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7812 * XplatUIOSX.cs: Allow applications to actually exit.
7814 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7816 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
7817 their parent at creation time rather than lazily later. Fixes a major
7818 regression we were experiencing.
7820 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7822 * ThemeWin32Classic.cs: more date time picker painting fixes
7823 * DateTimePicker.cs: more monthcalendar drop down fixes
7824 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7826 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7829 - When moving the thumb going outside the control should stop the moving
7830 - Adds the firing of missing events
7831 - Fixes no button show if Size is not specified
7832 - End / Home keys for keyboard navigation
7834 2005-01-30 Peter Bartok <pbartok@novell.com>
7836 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7837 sanity check to prevent theoretical loop
7838 * XplatUIWin32.cs (SetVisible): Removed debug output
7839 * XplatUIX11.cs (SystrayChange): Added sanity check
7840 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7841 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7842 behaviour, valid until the X11 client window rewrite is done
7843 * TextBox.cs (ctor): Setting proper default foreground and background
7846 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
7848 * Theme: Added DrawDateTimePicker to interface
7849 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7850 * DateTimePicker.cs: Created (still needs keys and painting code)
7851 * DateTimePickerFormat.cs: added
7852 * MonthCalendar.cs: fixed CreateParams for popup window mode
7854 2005-01-29 Peter Bartok <pbartok@novell.com>
7856 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7857 this should also the calculations for ligher/darker
7858 * Theme.cs: Fixed defaults for ScrollBar widths/heights
7860 2005-01-29 Peter Bartok <pbartok@novell.com>
7862 * ArrangeDirection.cs: Added
7863 * ArrangeStartingPositon.cs: Added
7864 * SystemInformation.cs: Implemented
7865 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7866 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7867 used by SystemInformation class
7868 * X11Strucs.cs: Added XSizeHints structure
7870 - Fixed CreateParams to make sure the menu window is always visible
7871 - TrackPopupMenu: Added check to make sure we don't draw the
7874 2005-01-29 Peter Bartok <pbartok@novell.com>
7876 * HandleData.cs: Added method for altering invalid area
7877 * TextBoxBase.cs: Implemented TextLength
7879 2005-01-28 Peter Bartok <pbartok@novell.com>
7881 * XplatUIX11.cs: Improvement over last patch, not sending
7882 the WM_PAINT directly anymore, instead we scroll any pending
7883 exposed areas and let the system pick out the WM_PAINT later
7885 2005-01-28 Peter Bartok <pbartok@novell.com>
7887 * SWF.csproj: Deleted, no longer used. Instead,
7888 Managed.Windows.Forms/SWF.csproj should be used
7889 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7890 directly, to avoid a potential race condition with the next
7893 2005-01-28 Peter Bartok <pbartok@novell.com>
7895 * XplatUI.cs: Made class internal
7897 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
7899 * CheckedListBox.cs:
7902 - Missing methods and events
7904 2005-01-27 Peter Bartok <pbartok@novell.com>
7906 * Application.cs (Run): Don't use form if we don't have one
7908 2005-01-27 Peter Bartok <pbartok@novell.com>
7910 * TextBoxBase.cs (get_Lines): Fixed index off by one error
7912 2005-01-27 Peter Bartok <pbartok@novell.com>
7914 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7915 * GridItem.cs: Added; Patch by Jonathan S. Chambers
7916 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7917 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7918 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7919 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7920 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7921 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7922 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7923 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7924 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7925 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7927 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7930 - Draw focus on Simple Combobox
7931 - Fixes drawing issues
7934 2005-01-27 Peter Bartok <pbartok@novell.com>
7937 - Place window in default location, instead of hardcoded 0/0
7938 - Send initial LocationChanged event
7940 - UpdateBounds after creation to find out where the WM placed us
7941 - Make sure that if the ParentForm changes location the Form
7943 * XplatUIX11.cs: XGetGeometry will not return the coords relative
7944 to the root, but to whatever the WM placed around us.
7945 Translate to root coordinates before returning toplevel
7947 * XplatUIWin32.cs: Removed debug output
7948 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7949 flag to GetWindowPos, to allow translation of coordinates on X11
7951 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7953 * ListBox.cs: connect LostFocus Event
7955 2005-01-27 Peter Bartok <pbartok@novell.com>
7957 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7958 XplatUIX11.cs: Extended the Systray API
7959 * Form.cs: Removed debug output
7960 * Application.cs: Fixed focus assignment, always need to call
7961 XplatUI.Activate() since Form.Activate() has rules that may
7963 * NotifyIcon.cs: Should be complete now
7964 * ToolTip.cs: Worked around possible timer bug
7966 2005-01-27 Jackson Harper <jackson@ximian.com>
7969 - Only invalidate the effected tabs when the
7970 selected index changes. This reduces drawing and gets rid of some
7972 - Only refresh if the tabs need to be shifted, otherwise only
7973 invalidate the slider button.
7974 - On windows the tabs are not filled to right if the slider is
7977 2005-01-27 Jackson Harper <jackson@ximian.com>
7979 * TabControl.cs: Only refresh on mouseup if we are showing the
7980 slider. Also only invalidate the button whose state has changed.
7982 2005-01-26 Peter Bartok <pbartok@novell.com>
7984 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7985 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7986 and SystrayRemove() methods
7987 * XplatUIOSX.cs: Stubbed Systray methods
7989 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7991 - Fixed broken XChangeProperty calls (marshalling messed up things)
7992 * X11Structs.cs: Added enums and structs required for Size hinting
7993 * NotifyIcon.cs: Added & implemented
7995 2005-01-26 Jackson Harper <jackson@ximian.com>
7997 * TabControl.cs: Space vertically layed out tabs properly.
7999 2005-01-26 Peter Bartok <pbartok@novell.com>
8001 * Form.cs (CreateClientParams): Always set the location to 0,0
8002 since we're a child window.
8004 * Control.cs (SetVisibleCore): Always explicitly setting the location
8005 of a toplevel window, apparently X11 doesn't like to move windows
8006 while they're not mapped.
8008 2005-01-26 Jackson Harper <jackson@ximian.com>
8010 * TabControl.cs: Implement FillToRight size mode with vertically
8013 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8015 * ControlPaint.cs, ThemeWin32Classic.cs
8016 - Fixes DrawFocusRectangle
8018 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8021 - MenuBar tracking only starts when item is first clicked
8022 - Fixes menu hidding for multiple subitems
8023 - Unselect item in MenuBar when item Executed
8026 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8029 - IsInputKey for ListBox
8032 - Shift and Control item selection
8033 - Implement SelectionMode.MultiExtended
8036 - IsInputKey implemented
8037 - Do not generate OnTextChangedEdit on internal txt changes
8039 2005-01-23 Peter Bartok <pbartok@novell.com>
8041 * AccessibleObject.cs: Partially implemented Select()
8042 * MonthCalendar.cs: Added missing attributes and events
8043 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8044 form can properly override CreateParams.
8045 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8046 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8047 Control performs Invalidate & Update
8048 * NativeWindow (CreateHandle): Added special handling for Form
8049 and Form.FormParent classes to allow overriding of From.CreateParams
8051 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8053 - ControlNativeWindow: Added Owner property
8054 - Removed usage of Refresh() on property changes, changed into
8055 Invalidate(), we need to wait until the queue is processed for
8056 updates, direct calls might cause problems if not all vars for
8057 Paint are initialized
8058 - Added call to UpdateStyles() when creating the window, to set any
8059 styles that CreateWindow might have ignored.
8060 - Added support for Form CreateParent overrides to UpdateStyles()
8061 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8062 CreateParams are now properly overridable
8063 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8064 CreateParams are now properly overridable
8066 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8068 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8071 Capture LostFocus and OnTextBoxChanged. The later introduces a
8072 recursive invocation that I have not figured out yet.
8074 Reset the timer when not using (it was accumulating).
8077 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8078 user has made changes that require validation.
8080 Reset changing to avoid loops.
8082 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8084 * NumericUpDown.cs: Display value at startup.
8086 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8089 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8090 filled in. Added some basic parsing of text.
8092 Still missing the OnXXX method overrides, and figuring out the
8093 events that must be emitted.
8095 * UpDownBase.cs: Handle UserEdit on the Text property.
8097 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8100 - Fixes IntegralHeight
8103 2005-01-21 Jackson Harper <jackson@ximian.com>
8105 * TabControl.cs: Set the SelectedIndex property when SelectedTab
8106 is set so that the page visibility is updated and the tabs are
8109 2005-01-21 Jackson Harper <jackson@ximian.com>
8111 * TabControl.cs: Use cliping rectangle for blitting. Give the
8112 theme the clipping rect so we can do clipping while
8113 drawing. Remove some debug code.
8115 2005-01-21 Jackson Harper <jackson@ximian.com>
8117 * TabPage.cs: Add a new method so tab pages can force the tab
8118 control to recalculate the tab page sizes.
8119 * TabControl.cs: UpdateOwner needs to make the tab control recalc
8122 2005-01-20 Jackson Harper <jackson@ximian.com>
8124 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8126 2005-01-20 Jackson Harper <jackson@ximian.com>
8128 * TreeView.cs: Set the bounds for nodes properly. They were
8129 getting screwed up when checkboxes were not enabled, but images
8132 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
8135 - Owner draw support
8138 2005-01-20 Jackson Harper <jackson@ximian.com>
8140 * XplatUIStructs.cs: More misc keys
8141 * X11Keyboard.cs: Ignore some control keys.
8143 2005-01-20 Jackson Harper <jackson@ximian.com>
8145 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8146 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8148 2005-01-19 Peter Bartok <pbartok@novell.com>
8150 * Control.cs: Un-selecting the control when it is loosing focus
8152 2005-01-19 Jackson Harper <jackson@ximian.com>
8154 * TreeView.cs: Hook up to the text controls leave event so we can
8155 end editing when the users clicks outside the text box.
8157 2005-01-19 Jackson Harper <jackson@ximian.com>
8159 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8160 get set in the conversion array.
8162 2005-01-19 Peter Bartok <pbartok@novell.com>
8164 * Application.cs (ModalRun): Added a call to CreateControl to ensure
8165 focus is properly set
8167 - Added missing attributes
8168 - removed styles, those are already set in the base class
8170 - Added missing attributes
8171 - Added clip window styles
8172 * CheckBox.cs: Added missing attributes
8174 - FormParentWindow.CreateParams: Added required clip styles
8175 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8176 also filters modifier keys
8178 - Added assignment of Accept and Cancel button to enable Enter
8179 and Esc keys in MessageBox dialogs
8180 - FormParentWindow.CreateParams: Added required clip styles
8181 * RadioButton.cs: Added missing attributes
8182 * TextControl.cs: No longer draws selection if control does not
8185 - Now draws simple rectangle around test area to make it obvious
8186 there's a control. This is a hack until we properly support borders
8187 - A few simple fixes to support selections better, now erases selected
8188 text when typing, and resets selection when using movement keys
8190 2005-01-19 Miguel de Icaza <miguel@ximian.com>
8192 * UpDownBase.cs: Added some new properties.
8194 * DomainUpDown.cs: Implement a lot to get my test working.
8196 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8198 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8200 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8202 * OSXStructs (WindowAttributes): Fixed csc complaints
8204 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8207 OSXStructs.cs: Initial refactor to move enums and consts into
8208 OSXStructs and use them in the driver for greater readability.
8210 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8212 * XplatUIOSX.cs: Initial support for Standard Cursors.
8213 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8215 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
8217 * ComboBox.cs: ability to change style when the ctrl is already
8218 created, missing methods and events, bug fixes, signature fixes
8220 2005-01-19 Peter Bartok <pbartok@novell.com>
8222 * Cursors.cs (ctor): Added ctor to fix signature
8224 2005-01-18 Peter Bartok <pbartok@novell.com>
8226 * Button.cs: Implemented DoubleClick event
8228 - Fixed keyboard handling to behave like MS, where the press of
8229 Spacebar is equivalent to a mousedown, and the key release is
8230 equivalent to mouseup. Now a spacebar push will give the same
8231 visual feedback like a mouse click.
8232 - Added missing attributes
8233 - Added ImeModeChanged event
8234 - Added support for generating DoubleClick event for derived classes
8236 - Implemented DoubleClick event
8237 - Added missing attributes
8238 * CommonDialog.cs: Added missing attribute
8239 * ContextMenu.cs: Added missing attributes
8241 - AutoChecked buttons do not allow to be unselected when clicked
8242 (otherwise we might end up with no selected buttons in a group)
8243 - Added missing attributes
8244 - Implemented DoubleClickEvent
8245 * ThreadExceptionDialog.cs: Enabled TextBox code
8247 2005-01-18 Peter Bartok <pbartok@novell.com>
8249 * Form.cs: Removed debug output
8250 * Button.cs: Added support for DoubleClick method
8252 2005-01-18 Peter Bartok <pbartok@novell.com>
8255 - Added method to parent window that allows triggering size
8256 calculations when a menu is added/removed
8257 - set_Menu: Cleaned up mess from early days of Form and Control,
8258 now properly triggers a recalc when a menu is added/removed
8259 - Added case to select form itself as focused form if no child
8261 - Added PerformLayout call when showing dialog, to ensure properly
8264 - Select(): Made internal so Form can access it
8265 - Focus(): Only call Xplat layer if required (avoids loop), and sets
8267 * Application.cs (Run): Removed hack and calls PerformLayout instead
8268 to trigger calculation when Form becomes visible
8270 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
8272 * ComboBox.cs: fixes for ownerdraw
8274 2005-01-18 Peter Bartok <pbartok@novell.com>
8277 - Sentinel is no longer static, each Document gets it's own, this
8278 avoids locking or alternatively overwrite problems when more
8279 than one text control is used simultaneously.
8280 - Switched to use Hilight and HilightText brushes for text selection
8282 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8284 2005-01-18 Peter Bartok <pbartok@novell.com>
8287 - Hooked up the following events:
8295 o SystemColorsChanged
8298 - Removed debug output
8299 - Added a call to the current theme's ResetDefaults when a color change
8301 * Form.cs: Now setting the proper ImeMode
8302 * Theme.cs: Defined a method to force recreation of cached resources
8303 and rereading of system defaults (ResetDefaults())
8304 * ThemeWin32Classic.cs: Added ResetDefaults() stub
8306 2005-01-17 Peter Bartok <pbartok@novell.com>
8308 * Control.cs: Added missing attributes
8310 2005-01-17 Jackson Harper <jackson@ximian.com>
8312 * TreeNode.cs: Implement editing. Add missing properties selected
8314 * TreeView.cs: Implement node editing. Also some fixes to use
8315 Invalidate (invalid area) instead of Refresh when selecting.
8317 2005-01-17 Peter Bartok <pbartok@novell.com>
8320 - Implemented InvokeGotFocus() method
8321 - Implemented InvokeLostFocus() method
8322 - Implemented InvokePaint() method
8323 - Implemented InvokePaintBackground() method
8324 - Implemented InvokeClick() method
8325 - Implemented FindForm() method
8326 - Implemented RectangleToClient() method
8327 - Implemented ClientToRectangle() method
8328 - Implemented ResetBackColor() method
8329 - Implemented ResetCursor() method
8330 - Implemented ResetFont() method
8331 - Implemented ResteForeColor() method
8332 - Implemented ResetImeMode() method
8333 - Implemented ResetLeftToRight() method
8334 - Implemented ResetText() method
8335 - Implemented Scale() methods
8336 - Implemented ScaleCore() method
8337 - Implemented Update() method
8338 - Removed unused variables
8339 - Stubbed AccessibilityNotifyClients and
8340 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8342 - Now setting proper default for RightToLeft property
8343 - Fixed bug in SetClientSizeCore that would cause windows to get
8345 - Now sending Click/DoubleClick events
8346 - Now selecting controls when left mouse button is clicked on
8348 * AccessibleEvents.cs: Added
8349 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8350 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8351 * XplatUIWin32.cs: Implemented UpdateWindow() method
8352 * XplatUIX11.cs: Implemented UpdateWindow() method
8353 * Form.cs: Removed stray semicolon causing CS0162 warning
8354 * ThemeWin32Classic.cs: Fixed unused variable warnings
8355 * ScrollableControl.cs: Now calls base method for ScaleCore
8356 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8357 style to avoid interference with internal click handler (which is
8358 different than standard Control click handling)
8360 - Now unchecks all sibling radio buttons when control is
8361 selected (Fixes #68756)
8362 - Removed internal tabstop variable, using the one inherited from
8365 2005-01-17 Jackson Harper <jackson@ximian.com>
8367 * NavigateEventArgs.cs: Fix base type.
8368 * LinkLabel.cs: Sig fix
8370 2005-01-17 Jackson Harper <jackson@ximian.com>
8372 * TreeView.cs: Only invalidate the effected nodes bounds when
8375 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8377 * XplatUIWin32.cs: fixes Win32 marshaling
8378 * XplatUIX11.cs: fixes method signature
8380 2005-01-17 Peter Bartok <pbartok@novell.com>
8382 * XplatUIX11.cs: Clean up resources when we no longer need them
8384 2005-01-17 Peter Bartok <pbartok@novell.com>
8386 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8387 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8388 and DestroyCursor() methods.
8389 * Cursor.cs: Partially implemented, now supports standard cursors;
8390 still contains some debug code
8391 * Cursors.cs: Implemented class
8393 - WndProc(): Added handling of WM_SETCURSOR message, setting the
8395 - Implemented Cursor property
8396 - Replaced break; with return; more straightforwar and possibly
8398 - Now properly setting the result for WM_HELP
8399 * X11Structs.cs: Added CursorFontShape enum
8400 * XplatUIStructs.cs:
8401 - Added StdCursor enum (to support DefineStdCursor() method)
8402 - Added HitTest enum (to support sending WM_SETCURSOR message)
8404 - Now sends the WM_SETCURSOR message
8405 - Implemented new cursor methods
8406 * XplatUIOSX.cs: Stubbed new cursor methods
8408 - Implemented new cursor methods
8409 - Added GetSystemMetrics function and associated enumeration
8411 2005-01-15 Peter Bartok <pbartok@novell.com>
8414 - WndProc(): Now handles EnableNotifyMessage
8415 - SelectNextControl(): Fixed bug where if no child or sibling
8416 controls exist we looped endlessly
8418 2005-01-14 Jackson Harper <jackson@ximian.com>
8420 * TreeView.cs: Recalculate the tab pages when a new one is added
8421 so that the proper bounding rects are created.
8423 2005-01-14 Jackson Harper <jackson@ximian.com>
8425 * TreeView.cs: Draw a gray box instead of a grip in the lower
8426 right hand corner when there are both horizontal and vertical
8429 2005-01-14 Jackson Harper <jackson@ximian.com>
8431 * Control.cs: When erasing backgrounds use FromHwnd instead of
8432 FromHdc when there is a NULL wparam. This occurs on the X driver.
8433 * XplatUIX11.cs: Set the wparam to NULL.
8435 2005-01-13 Jackson Harper <jackson@ximian.com>
8437 * PictureBox.cs: Implement missing methods (except ToString, need
8438 to test that on windows) and events. When visibility is changed we
8439 need to redraw the image because the buffers are killed. When size
8440 is changed refresh if the sizemode needs it.
8442 2005-01-13 Peter Bartok <pbartok@novell.com>
8444 * Control.cs (SelectNextControl): Was using wrong method to select
8447 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8449 * ComboBox.cs: fixes dropstyle
8451 2005-01-13 Peter Bartok <pbartok@novell.com>
8454 - Implemented Select() override
8455 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8456 - Now sets keyboard focus on startup
8457 * Control.cs (SelectNextControl): Now properly handles directed=true
8459 - WndProc: Now passes tab key on to base if AcceptTabChar=false
8460 - Added (really bad) focus rectangle (mostly for testing)
8461 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8462 to enforce redraw on focus changes
8463 * ContainerControl.cs:
8464 - Fixed detection of Shift-Tab key presses
8465 - Fixed traversal with arrow keys
8466 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8467 gonna keep this or if it's complete yet
8469 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8471 * ComboBox.cs: missing properties, fixes
8473 2005-01-13 Peter Bartok <pbartok@novell.com>
8475 * Panel.cs (ctor): Setting Selectable window style to off
8476 * Splitter.cs (ctor): Setting Selectable window style to off
8477 * GroupBox.cs (ctor): Setting Selectable window style to off
8478 * Label.cs (ctor): Setting Selectable window style to off
8480 2005-01-12 Miguel de Icaza <miguel@ximian.com>
8482 * UpDownBase.cs (InitTimer): If the timer has been already
8485 Use a TextBox instead of a Label.
8487 2005-01-12 Jackson Harper <jackson@ximian.com>
8489 * TreeView.cs: Refresh the tree after sorting the nodes. Always
8490 draw the connecting node lines (when ShowLines is true).
8491 * TreeNode.cs: The nodes index can now be updated. This is used
8492 when a node collection is sorted.
8493 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8494 insert or an existing unsorted node collection can be sorted.
8496 2005-01-12 Peter Bartok <pbartok@novell.com>
8498 * ContainerControl.cs: Implemented ProcessDialogKeys()
8500 2005-01-12 Peter Bartok <pbartok@novell.com>
8503 - Implemented SelectNextControl() method
8504 - Several focus related bug fixes
8505 - Fixed Docking calculations to match MS documentation and
8508 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
8510 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8513 2005-01-12 Peter Bartok <pbartok@novell.com>
8516 - Fixed broken Contains() method
8517 - Implemented GetNextControl() method. Finally. This is the pre-
8518 requisite for focus handling.
8520 2005-01-12 Peter Bartok <pbartok@novell.com>
8522 * OSXStrucs.cs: Added
8524 2005-01-12 Peter Bartok <pbartok@novell.com>
8527 - Removed PeekMessageFlags
8528 - Implemented SetWindowStyle() method
8529 * XplatUIStructs.cs: Added PeekMessageFlags
8530 * X11Structs: Added missing border_width field to XWindowChanges struct
8532 - PeekMessage: Now throws exception if flags which are not yet
8533 supported are passed
8534 - Implemented SetWindowStyle() method
8535 - Fixed SetZOrder to handle AfterHwnd properly
8536 * XplatUI.cs: Added SetWindowStyle() method
8537 * XplatUIDriver.cs: Added SetWindowStyle() abstract
8539 - Implemented UpdateStyles() method
8540 - Implemented UpdateZOrder() method
8541 * XplatUIOSX.cs: Added SetWindowStyle() stub
8543 2005-01-12 Geoff Norton <gnorton@customerdna.com>
8545 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8549 2005-01-11 Jackson Harper <jackson@ximian.com>
8551 * TreeView.cs: Still need to draw lines to siblings even if out of
8552 the current node is out of the clip.
8554 2005-01-11 Jackson Harper <jackson@ximian.com>
8556 * TreeView.cs: When setting the hbar/vbar/grip position use
8557 SetBounds so that perform layout is only called once. Also suspend
8558 and resume layout so layout is only done once for all controls.
8559 - Removed some debug fluff
8560 * SizeGrip.cs: Call base implmentation in overriding methods.
8561 - When visibility is changed the drawing buffers are killed so we
8564 2005-01-11 Jackson Harper <jackson@ximian.com>
8566 * TreeView.cs: Calculate the open node count while drawing. This
8567 saves us an entire tree traversal for every paint operation. Use
8568 a member var for the open node count so less vars are passed around.
8570 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
8573 - fixed selection to use mousemove, not mouse polling on timer
8574 * ThemeWin32Classic.cs
8575 - removed redundant unused variable "no_more_content"
8577 2005-01-11 Peter Bartok <pbartok@novell.com>
8579 * XplatUIX11.cs (DoEvents): Needs to return when no more events
8580 are pending, so it now calls PeekMessage instead of GetMessage;
8581 implemented a incomplete version of PeekMessage
8583 2005-01-11 Peter Bartok <pbartok@novell.com>
8585 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8587 * TextBoxBase.cs: Added sending of TextChanged event
8589 2005-01-10 Jackson Harper <jackson@ximian.com>
8591 * TreeView.cs: Try not to draw outside the clipping rectangle on
8594 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
8596 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8598 2005-01-10 Jackson Harper <jackson@ximian.com>
8601 - Implement fast scrolling. Now only the newly
8602 exposed nodes are drawn and the old image is moved using the
8603 XplatUI::ScrollWindow method.
8604 - Factor in height of nodes when calculating whether or not the
8605 node is in the clipping rect.
8607 2005-01-10 Jackson Harper <jackson@ximian.com>
8609 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8611 2005-01-10 Peter Bartok <pbartok@novell.com>
8613 * Application.cs: Added temporary hack to resolve all our resize
8614 required issues on startup. This will get fixed properly at
8615 some point in the future
8617 2005-01-10 Jackson Harper <jackson@ximian.com>
8619 * SizeGrip.cs: New internal class that is used as a sizing
8620 grip control...hence the name.
8622 2005-01-10 Peter Bartok <pbartok@novell.com>
8624 * Control.cs: Implemented proper TabIndex handling, now assigning
8625 a tabindex when a control is added to a container
8626 * GroupBox.cs (ctor): Now sets the Container style bit, required
8627 for Control.GetNextControl()
8629 2005-01-09 Jackson Harper <jackson@ximian.com>
8631 * TextBoxBase.cs: Clear window when scrolling (fixes build).
8633 2005-01-09 Peter Bartok <pbartok@novell.com>
8635 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8636 XplatUIX11.cs: Added ability to control ScrollWindow expose and
8637 an overload for ScrollWindow to allow only scrolling a rectangle
8639 2005-01-09 Peter Bartok <pbartok@novell.com>
8642 - Implemented SetDesktopBounds method
8643 - Implemented SetDesktopLocation method
8645 2005-01-08 Jackson Harper <jackson@ximian.com>
8647 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8648 the node count has changed, this removes to VScroll::Refresh calls
8651 2005-01-08 Geoff Norton <gnorton@customerdna.com>
8653 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8655 2005-01-07 Jackson Harper <jackson@ximian.com>
8657 * TreeNode.cs: Just update the single node when it is
8658 checked. Don't refresh after toggling, the Expand/Collapse already
8660 * TreeView.cs: Respect clipping a little more when drawing. Try
8661 not to redraw things that don't need to be redrawn. Just hide the
8662 scrollbars when they are no longer needed instead of removing
8663 them, so they don't have to be created again and again.
8665 2005-01-07 Geoff Norton <gnorton@customerdna.com>
8667 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
8668 coordinates to window space to place the caret properly, FIXED.
8669 Implement GetWindowState & SetWindowState
8671 2005-01-06 Peter Bartok <pbartok@novell.com>
8674 - Implemented ClientSize property
8675 - Implemented DesktopBounds property
8676 - Implemented DesktopLocation property
8677 - Implemented IsRestrictedWindow property
8678 - Implemented Size property
8679 - Implemented TopLevel property
8680 - Implemented FormWindowState property
8682 - Implemented GetTopLevel() method
8683 - Implemented SetTopLevel() method
8684 * X11Structs.cs (Atom):
8685 - Added AnyPropertyType definition
8686 - Added MapState definiton and updated XWindowAttribute struct
8687 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8688 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8689 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8691 - Implemented GetWindowState() and SetWindowState() methods
8692 - Fixed Win32GetWindowLong return type
8694 - Introduced central function for sending NET_WM messages
8695 - Implemented GetWindowState() and SetWindowState() methods
8696 * TextBoxBase.cs (set_Lines):
8697 - Now uses Foreground color for text added via Text property (Duh!)
8698 - Added code to remember programmatically requested size (fixes
8699 behaviour when Multiline is set after Size)
8700 - Added AutoSize logic
8702 2005-01-06 Jackson Harper <jackson@ximian.com>
8704 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8706 2005-01-06 Jackson Harper <jackson@ximian.com>
8708 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8711 2005-01-06 Jackson Harper <jackson@ximian.com>
8713 * ScrollableControl.cs: Lazy init the scrollbars.
8715 2005-01-06 Jackson Harper <jackson@ximian.com>
8717 * Theme.cs: Speed up getting pens and solid brushes, by using
8718 their ARGB as a hash instead of tostring and not calling Contains.
8720 2005-01-06 Peter Bartok <pbartok@novell.com>
8723 - Implemented OnActivated and OnDeactivate event trigger
8724 - Implemented Activate() method
8725 - Fixed ShowDialog() to activate the form that was active before
8726 the dialog was shown
8728 - Added global active_window var that tracks the currently active
8730 - Now always grabs Property changes from the root window to always
8731 catch changes on the active window property
8732 - Added code to PropertyNotify handler to send Active/Inactive
8733 messages when state changes. This puts X11 and Win32 en par on
8734 WM_ACTIVATE notifications (except for double notifications when
8735 the user clicks away from our modal window to another one of our
8738 2005-01-05 Jackson Harper <jackson@ximian.com>
8740 * ImageList.cs: Implment ctor
8742 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8744 * XplatUIOSX.cs: Implement Activate/SetTopmost
8746 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8748 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8750 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8752 * XplatUIOSX.cs: Implement GetActive/SetFocus.
8754 2005-01-05 Peter Bartok <pbartok@novell.com>
8756 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8757 XplatUIOSX.cs: Added GetActive method to return the currently
8758 active window for the application (or null, if none is active)
8760 - Implemented ActiveForm
8761 - Commented out owner assignment for modal dialogs (causes problems
8762 on Win32, since the owner will be disabled)
8763 - Reworked some Active/Focus handling (still incomplete)
8764 * CommonDialog.cs: Commented out owner assignment for modal dialogs
8765 (causes problems on Win32, since the owner will be disabled)
8766 * IWin32Window: Added ComVisible attribute
8768 2005-01-05 Peter Bartok <pbartok@novell.com>
8770 * ToolTip.cs (WndProc): Enable setting focus now that we have the
8771 required XplatUI functions.
8773 2005-01-05 Peter Bartok <pbartok@novell.com>
8775 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8776 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8777 to implement focus and activation handling; still incomplete and
8780 2005-01-04 Peter Bartok <pbartok@novell.com>
8782 * TextBoxBase.cs: Changed access level for Document property to
8783 match switch to internal for TextControl
8785 2005-01-04 Peter Bartok <pbartok@novell.com>
8787 * AccessibleObject: Added ComVisible attribute
8789 2005-01-04 Jackson Harper <jackson@ximian.com>
8791 * X11Keyboard.cs: Remove unneeded var.
8793 2005-01-04 Jackson Harper <jackson@ximian.com>
8795 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8797 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8798 ClientMessage. This makes apps exit cleanly (more often).
8800 2005-01-04 Jackson Harper <jackson@ximian.com>
8802 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8803 handling focus, return correct colors and fonts,
8804 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8805 handle selection, horizontal scrolling, and mouse interaction.
8807 2005-01-04 Peter Bartok <pbartok@novell.com>
8809 * ICommandExecutor.cs: Added
8810 * IDataGridColumnStyleEditingNotificationService.cs: Added
8811 * IFeatureSupport.cs: Added
8812 * IFileReaderService.cs: Added
8813 * IDataObject.cs: Added ComVisible attribute
8814 * AmbientProperties.cs: Added
8815 * BaseCollection.cs: Added missing attributes
8816 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8817 * BaseCollection.cs: Added missing attributes
8818 * Binding.cs: Added TypeConverter attribute
8819 * BindingContext.cs: Added DefaultEvent attribute
8820 * BindingsCollection.cs: Added DefaultEvent attribute
8821 * Button.cs: Added DefaultValue attribute
8822 * DragEventArgs.cs: Added ComVisible attribute
8823 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8824 * KeyEventArgs.cs: Added ComVisible attribute
8825 * KeyPressEventArgs.cs: Added ComVisible attribute
8826 * MouseEventArgs.cs: Added ComVisible attribute
8827 * NavigateEventArgs.cs: Added
8828 * NavigateEventHandler.cs: Added
8829 * FeatureSupport.cs: Added
8830 * OSFeature.cs: Added
8831 * Theme.cs: Added abstract Version property to support OSFeature
8832 * ThemeWin32Classic.cs: Added Version property to
8833 support OSFeature.Themes
8834 * ProgressBar.cs: Removed OnPaintBackground override, not required since
8835 the proper styles to avoid background drawing are set, also doesn't
8837 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8838 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8839 * ScrollEventArgs.cs: Added ComVisible attribute
8840 * SplitterEventArgs.cs: Added ComVisible attribute
8841 * AccessibleSelection.cs: Added Flags attribute
8842 * Appearance.cs: Added ComVisible attribute
8843 * Border3DSide.cs: Added ComVisible attribute
8844 * Border3DStyle.cs: Added ComVisible attribute
8845 * BorderStyle.cs: Added ComVisible attribute
8846 * DragAction.cs: Added ComVisible attribute
8847 * ErrorBlinkStyle.cs: Added
8848 * ScrollEventType.cs: Added ComVisible attribute
8849 * AnchorStyles.cs: Added Editor attribute
8850 * DockStyle.cs: Added Editor attribute
8851 * HorizontalAlignment.cs: Added ComVisible attribute
8852 * HelpEventArgs.cs: Added ComVisible attribute
8853 * PaintEventArgs.cs: Added IDisposable
8855 2005-01-04 Peter Bartok <pbartok@novell.com>
8857 * TextControl.cs: Switched Line, LineTag and Document classes to
8860 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8862 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8863 Simple mode, fixes, IntegralHeight, etc.
8865 2005-01-04 Peter Bartok <pbartok@novell.com>
8867 * TextBoxBase.cs: Using proper font variable now
8869 2005-01-04 Peter Bartok <pbartok@novell.com>
8871 * Form.cs (ShowDialog): Set parent to owner, if provided
8872 * GroupBox.cs: Removed unused vars
8874 - Added GetHashCode() for Document and LineTag classes
8875 - Removed unused variables
8876 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8877 to allow translation between continuous char position and line/pos
8878 * CheckBox.cs: Removed vars that are provided by base class
8879 * RadioButton.cs: Removed vars that are provided by base class, added
8880 new keyword where required
8881 * LinkLabel.cs: Added new keyword where required
8882 * Control.cs (WndProc): Removed unused variable
8884 - Finished SelectionLength property
8885 - Implemented SelectionStart property
8886 - Implemented Text property
8887 - Removed unused vars
8888 * MessageBox.cs: Added new keyword where required
8889 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8891 * MenuAPI.cs: Added new keyword where required
8892 * ButtonBase.cs: Removed vars that are provided by base class, added
8893 new keyword where required
8894 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8895 argument to double, to allow compiling with csc 2.0 (Atsushi ran
8897 * Application.cs (Run): Now triggers the ThreadExit event
8898 * CommonDialog.cs: Added new keyword where required; now properly sets
8899 parent (owner) for dialog
8900 * XplatUIX11.cs: Commented out unused vars
8901 * StatusBar.cs: Fixed signature for Text property
8902 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8904 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8906 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8907 TrackBar.cs, MonthCalendar.cs: remove unused vars
8909 2005-01-03 Jackson Harper <jackson@ximian.com>
8911 * ThemeWin32Classic.cs:
8912 * X11Keyboard.cs: Remove unused vars.
8914 2005-01-03 Peter Bartok <pbartok@novell.com>
8917 - set_Text: Tied into TextControl
8918 - set_TextAlignment: Tied into TextControl
8920 - Added alignment properties and implemented alignment handling
8921 and drawing (still has a bug, not generating proper expose events)
8922 - Added new Line() constructor to allow passing the line alignment
8923 - Fixed selection setting, properly handling end<start now
8924 - Added aligment considerations to RecalculateDocument()
8926 - Now properly enforces control height for single line controls
8927 - Added support for CharacterCasing
8928 - Added IsInputKey override
8929 - Fixed Keys.Enter logic
8930 - Added SetBoundsCore override
8931 - Fixed mouse selection handling
8933 2005-01-03 Jackson Harper <jackson@ximian.com>
8936 - Collapse and uncheck all nodes when CheckBoxes is disabled.
8937 - Checkboxes are always aligned to the bottom of the node,
8938 regardless of item height.
8939 - Use the node bounds to draw the text so we can center it when
8940 the item height is greater then the font height.
8941 - Node::Bounds are only the text part of the node.
8942 * TreeNode.cs: New method to combine collapsing and unchecking all
8945 2005-01-02 Jackson Harper <jackson@ximian.com>
8947 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8948 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8949 tree when a check is changed. TODO: Only refresh the checked node.
8951 2004-12-30 Jackson Harper <jackson@ximian.com>
8953 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8954 * TreeNode.cs: When collapsing make sure to never collapse the
8957 2004-12-29 Jackson Harper <jackson@ximian.com>
8959 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8961 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
8963 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8965 2004-12-28 Peter Bartok <pbartok@novell.com>
8967 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8970 2004-12-28 Peter Bartok <pbartok@novell.com>
8972 * Control.cs (WndProc): Added WM_HELP handler, now generates
8974 * Form.cs: Added HelpButton property and required support code
8975 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8977 2004-12-28 Peter Bartok <pbartok@novell.com>
8980 - Made DialogForm.owner variable internal
8981 - Added check to ensure owner form is set before setting
8982 owner properties in CreateParams
8984 2004-12-28 Geoff Norton <gnorton@customerdna.com>
8986 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
8987 swizzling. Implement ClientToScreen and ScreenToClient. Implement
8988 GetCursorPos. Fix major visibility issues. Rework the windowing
8989 system to support borderless/titleless windows (implements menus).
8990 Fix GetWindowPos. Implement initial background color support for
8993 2004-12-28 Peter Bartok <pbartok@novell.com>
8995 * Form.cs (get_CreateParams): Make sure we have an owner before using
8996 the owner variable. Implement proper default if no owner exists
8998 2004-12-28 Peter Bartok <pbartok@novell.com>
9000 * In preparation for making Managed.Windows.Forms the default build target
9001 for System.Windows.Forms, the following stubbed files were added.
9002 Dialogs are currently being implemented by contributors and are only
9003 short-term place holders.
9004 * ColorDialog.cs: Initial check-in (minmal stub)
9005 * DataGrid.cs: Initial check-in (minimal stub)
9006 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9007 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9008 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9009 * FontDialog.cs: Initial check-in (minimal stub)
9010 * FileDialog.cs: Initial check-in (minimal stub)
9011 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9012 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9013 * OpenFileDialog: Initial check-in (minimal stub)
9014 * IComponentEditorPageSite.cs: Initial check-in
9015 * Splitter.cs: Initial check-in (for Jackson)
9016 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9017 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9018 * TextBox.cs: Initial check-in; still needs some wiring to
9020 * Form.cs: Implemented ControlBox property
9021 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9022 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9023 * TextControl.cs: Added selection functionality; added todo header
9025 - Implemented Lines property
9026 - Implemented TextHeight property
9027 - Implemented SelectedText property
9028 - Implemented SelectionLength property
9029 - Implemented SelectAll method
9030 - Implemented ToString method
9031 - Removed and cleaned up some debug code
9032 - Implemented (still buggy) mouse text selection
9034 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9036 * ComboBox.cs: Complete DropDownList implementation, fixes.
9038 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9040 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9041 * ComboBoxStyle.cs: ComboBoxStyle enum
9042 * ComboBox.cs: Initial work on ComboBox control
9044 2004-12-21 Peter Bartok <pbartok@novell.com>
9046 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9047 forward so that anything that creates a window gets the default,
9048 also no longer uses Visible property in CreateParams to avoid
9049 walking up the parent chain and possibly get the wrong visible
9050 status. Fixed IsVisible to no longer walk up to the parent.
9052 2004-12-21 Peter Bartok <pbartok@novell.com>
9054 * Form.cs (ShowDialog): Unset modality for the proper window
9056 2004-12-20 Peter Bartok <pbartok@novell.com>
9058 * CommonDialog.cs: Initial check-in
9060 2004-12-20 Peter Bartok <pbartok@novell.com>
9062 * Control.cs (Visible): Now uses the parent window instead of the
9063 client area window for the property
9066 - ShowDialog(): Now uses the proper window for modality
9067 - The default visibility state for the form parent is now false. This
9068 will prevent the user from seeing all the changes to the form and
9069 its controls before the application hits Application.Run()
9070 - Removed some stale commented out code
9073 - Added FindWindow() method to have a method to check for existence
9075 - Added ability to override default exception handling (for example
9076 when debugging with VS.Net; to do this the ExternalExceptionHandler
9078 - Removed some useless debug output
9081 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9082 not working as expected
9083 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9084 property to allow switching back to the modal window if focus is
9085 given to another one of our windows (Application Modal)
9086 - Now only sets override_redirect if we create a window
9088 - Moved EventMask selection before mapping of newly created window
9089 so we can catch the map event as well
9090 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9091 - Added various Atom related DllImports
9092 - Implemented Exit() method
9093 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9096 * MessageBox.cs: Now properly deals with the FormParent window by
9097 providing an override the FormParent CreateParams property to
9098 set as POPUP instead of OVERLAPPED window.
9100 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9102 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
9105 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9107 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9109 2004-12-18 Peter Bartok <pbartok@novell.com>
9111 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9112 implementing SetModal() method
9114 2004-12-18 Peter Bartok <pbartok@novell.com>
9116 * X11Structs.cs (XGCValues): Fixed type of function element
9117 * XplatUI.cs: Added ScrollWindow() method
9118 * XplatUIDriver.cs: Added ScrollWindow() abstract
9119 * XplatUIWin32.cs: Implemented ScrollWindow() method
9120 * XplatUIX11.cs: Implemented ScrollWindow() method
9121 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9123 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9125 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
9126 Some more keyboard support (INCOMPLETE)
9128 2004-12-17 Peter Bartok <pbartok@novell.com>
9131 - Added color attribute to line tags.
9132 - Added color argument to all functions dealing with tags
9133 - Added color argument support to various functions
9134 - Fixed miss-calculation of baseline/shift in certain circumstances
9136 * TextBoxBase.cs: Added new color option to test code
9138 2004-12-17 Jackson Harper <jackson@ximian.com>
9141 * MonthCalendar.cs: Signature fixes
9143 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9145 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9146 keyboard event moved it. Create a new graphics context for each paint resolves this
9148 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9150 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9151 Make caret exist and go blink blink. Initial keyboard support.
9152 Fix exception handler, Add Invalidate support. Change way RefreshWindow
9155 2004-12-17 Jackson Harper <jackson@ximian.com>
9157 * XplatUIStructs.cs: Updated set of virtual keycodes.
9158 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9160 2004-12-17 Jackson Harper <jackson@ximian.com>
9162 * XplatUIX11.cs: Prune old keyboard code.
9164 2004-12-17 Jackson Harper <jackson@ximian.com>
9166 * XplatUIX11.cs: When generating mouse wparams get the modifier
9167 keys from the ModifierKeys property.
9169 2004-12-17 Jackson Harper <jackson@ximian.com>
9171 * X11Keyboard.cs: Send up/down input when generating
9172 messages. Remove some unused vars.
9174 2004-12-17 Jackson Harper <jackson@ximian.com>
9177 * TreeView.cs: get rid of warnings.
9179 2004-12-17 Jackson Harper <jackson@ximian.com>
9181 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9183 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
9185 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9186 CheckedListBox.cs: Implementation
9188 2004-12-17 Peter Bartok <pbartok@novell.com>
9190 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9192 2004-12-16 Peter Bartok <pbartok@novell.com>
9195 - InsertCharAtCaret(): Fixed start pos fixup
9196 - CaretLine_get: No longer derives the line from the tag, the tag
9197 could be stale if lines in the document have been added or deleted
9198 - RebalanceAfterDelete(): Fixed bug in balancing code
9199 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9200 - Line.Streamline(): Now can also elminate leading empty tags
9201 - DumpTree(): Added a few more tests and prevented exception on
9203 - Added Debug section for Combining lines
9204 - Delete(): Now copies all remaining properties of a line
9207 - Left mousebutton now sets the caret (and middle button still acts
9208 as formatting tester, which must go away soon)
9209 - Added Debug section for Deleting/Combining lines
9210 - Fixed calculations for UpdateView after Combining lines
9212 2004-12-16 Peter Bartok <pbartok@novell.com>
9214 * TextControl.cs: Now properly aligns text on a baseline, using the
9215 new XplatUI.GetFontMetrics() method. Simplified several calculations
9216 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9219 2004-12-16 Peter Bartok <pbartok@novell.com>
9221 * XplatUI.cs: Added GetFontMetrics() method
9222 * XplatUIDriver.cs: Added GetFontMetrics() abstract
9223 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9224 into libgdiplus, our private GetFontMetrics function
9225 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9226 * XplatUIWin32.cs: Implemented GetFontMetrics() method
9228 2004-12-16 Jackson Harper <jackson@ximain.com>
9230 * XplatUIStruct.cs: Add enum for dead keys
9231 * X11Keyboard.cs: Map and unmap dead keys.
9233 2004-12-16 Jackson Harper <jackson@ximian.com>
9235 * X11Keyboard.cs: Detect and use the num lock mask.
9237 2004-12-16 Peter Bartok <pbartok@novell.com>
9239 * Control.cs (CreateGraphics): Added check to make sure the
9240 handle of the window exists before calling Graphics.FromHwnd()
9242 2004-12-16 Peter Bartok <pbartok@novell.com>
9244 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9245 contains a lot of code that's not supposed to be there for the
9246 real thing, but required for developing/testing the textbox
9249 2004-12-16 Peter Bartok <pbartok@novell.com>
9252 - Fixed Streamline method
9253 - Added FindTag method to Line
9254 - Added DumpTree method for debugging
9255 - Added DecrementLines() method for deleting lines
9256 - Fixed UpdateView to update the cursor to end-of-line on single-line
9258 - Added PositionCaret() method
9259 - Fixed MoveCaret(LineDown) to move into the last line, too
9260 - Added InsertChar overload
9261 - Fixed InsertChar tag offset calculations
9262 - Added DeleteChar() method
9263 - Added Combine() method for folding lines
9264 - Fixed Delete() method, no longer allocates wasted Line object and
9265 now copies all properties when swapping nodes
9266 - Delete() method now updates document line counter
9268 2004-12-15 Jackson Harper <jackson@ximian.com>
9270 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9271 * X11Keyboard.cs: Expose the currently selected modifier keys
9274 2004-12-15 Peter Bartok <pbartok@novell.com>
9276 * TextControl.cs: Initial check-in. Still incomplete
9278 2004-12-15 Jackson Harper <jackson@ximian.com>
9281 * TreeView.cs: Fix build on csc (second time today ;-))
9283 2004-12-15 Jackson Harper <jackson@ximian.com>
9285 * TreeView.cs: Store the treenodes plus/minus box bounds when it
9286 is calculated and use this for click testing.
9287 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9289 2004-12-15 Jackson Harper <jackson@ximian.com>
9291 * TreeView.cs: Pass the nodes image index to the image list when
9294 2004-12-15 Jackson Harper <jackson@ximian.com>
9296 * X11Keyboard.cs: Set messages hwnd.
9297 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9300 2004-12-15 Jackson Harper <jackson@ximian.com>
9302 * X11Keyboard.cs: Fix to compile with csc.
9304 2004-12-15 Jackson Harper <jackson@ximian.com>
9306 * X11Structs.cs: Add key mask values
9307 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9308 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9309 down/up foo into WM_CHAR foo
9310 * KeyboardLayouts.cs: Common keyboard layouts
9311 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9312 post messages into the main queue.
9314 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9316 * Button.cs: implement ProcessMnemonic
9317 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9319 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9320 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9322 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9324 * MonthCalendar.cs: Implemented click-hold for next/previous month
9327 2004-12-11 Peter Bartok <pbartok@novell.com>
9330 - Added XKeyboardState (moved from XplatUIX11.cs)
9331 - Added XCreateGC related enums and structures
9332 - Added GXFunction for XSetFunction
9334 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9336 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9337 CaretVisible() calls
9339 * ToolTip.cs: Added code to prevent stealing focus from app windows
9341 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9342 DestroyCaret, SetCaretPos and CaretVisible)
9345 - Added implementation for caret functions
9346 - Moved hover variables into a struct, to make it a bit easier
9347 on the eyes and to debug
9348 - Removed XKeyboardState (moved to XplatUIX11.cs)
9349 - Moved Keyboard properties into the properties region
9351 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9352 call to get a graphics context for our control
9354 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9356 * TreeView.cs: Fixed bug. No matter what color was set it would always
9357 return SystemColors.Window
9359 * XplatUIWin32.cs: Implemented caret overrides
9361 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9363 * ListBox.cs: fire events, implement missing methods and properties,
9366 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9368 * MonthCalendar.cs: invalidation bug fixing
9369 * ThemeWin32Classic.cs: paint fixing
9371 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9373 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9374 prepare the CGContextRef there now.
9376 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9379 - optimisationL only invalidate areas that have changed
9380 * ThemeWin32Classic.cs:
9381 - only paint parts that intersect with clip_area
9383 2004-12-09 Peter Bartok <pbartok@novell.com>
9385 * Application.cs: Undid changes from r37004 which cause problems
9388 2004-12-09 Ravindra <rkumar@novell.com>
9390 * ToolBar.cs: Added support for displaying ContextMenu
9391 attached to a button on ToolBar.
9392 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9395 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9397 * Label.cs: autosize works in text change and removes unnecessary
9400 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9402 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9405 2004-12-08 Geoff Norton <gnorton@customerdna.com>
9407 * XplatUIOSX.cs: Added mouse move/click/grab support
9408 Remove some debugging WriteLines not needed anymore.
9409 Add window resizing/positioning.
9410 Fix visibility on reparenting.
9412 2004-12-08 Peter Bartok <pbartok@novell.com>
9414 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9416 2004-12-07 Geoff Norton <gnorton@customerdna.com>
9418 * XplatUIOSX.cs: Initial checkin
9419 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9421 2004-12-03 Ravindra <rkumar@novell.com>
9423 * ListView.cs: Added some keybindings and fixed scrolling.
9424 ScrollBars listen to ValueChanged event instead of Scroll
9425 Event. This would let us take care of all changes being
9426 done in the scrollbars' values programmatically or manually.
9427 * ListView.cs (CanMultiselect): Added a check for shift key.
9428 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9429 * ListViewItem.cs (Clone): Fixed. We need to make a copy
9430 of ListViewSubItemCollection as well.
9432 2004-12-06 Peter Bartok <pbartok@novell.com>
9434 * Control.cs (Parent): Added check and exception to prevent
9437 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
9439 * ListBox.cs: implemented clipping, selection single and multiple,
9442 2004-12-03 Ravindra <rkumar@novell.com>
9444 * ListView.cs (ListView_KeyDown):
9445 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9446 when CTRL key is pressed.
9447 * ListViewItem.cs (Selected): Fixed setting the property.
9449 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9451 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9453 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9454 MinimizeBox, ShowInTaskbar, TopMost properties.
9456 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9457 will be implemented).
9459 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9461 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9463 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9466 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9468 * TreeView.cs: BackColor is Colors.Window.
9470 2004-12-01 Jackson Harper <jackson@ximian.com>
9472 * TreeView.cs: When resizing the tree if the user is making it
9473 smaller we don't get expose events, so we need to handle adding
9474 the horizontal scrollbar in the size changed handler as well as
9477 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
9479 * DrawItemState.cs: fixes wrong enum values
9481 2004-12-01 Jackson Harper <jackson@ximian.com>
9483 * TreeView.cs: Resize the hbar as well as the vbar on resize.
9485 2004-12-01 Jackson Harper <jackson@ximian.com>
9487 * NodeLabelEditEventArgs.cs:
9488 * NodeLabelEditEventHandler.cs:
9489 * OpenTreeNodeEnumerator.cs:
9491 * TreeNodeCollection.cs:
9493 * TreeViewAction.cs:
9494 * TreeViewCancelEventArgs.cs:
9495 * TreeViewCancelEventHandler.cs:
9496 * TreeViewEventArgs.cs:
9497 * TreeViewEventHandler.cs: Initial implementation.
9499 2004-12-01 Ravindra <rkumar@novell.com>
9501 * ListView.cs (CalculateListView): Fixed scrolling related
9502 calculations. Also, removed some debug statements from other
9504 * ListViewItem.cs: Changed access to 'selected' instance variable
9505 from private to internal.
9506 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9508 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
9510 * ThemeWin32Classic.cs: remove cache of brush and pens for
9511 specific controls and use the global system, fixes scrollbutton
9512 bugs (for small sizes, disabled, etc)
9514 * ScrollBar.cs: does not show the thumb for very small controls
9515 (as MS) and allow smaller buttons that the regular size
9517 2004-12-01 Miguel de Icaza <miguel@ximian.com>
9519 * UpDownBase.cs: Add abstract methods for the interface.
9520 Add new virtual methods (need to be hooked up to TextEntry when it
9522 Add override methods for most features.
9523 Computes the size, forces the height of the text entry.
9525 * NumericUpDown.cs: Put here the current testing code.
9527 * Set eol-style property on all files that do not have mixed line
9528 endings, to minimize the future problems. There are still a few
9529 files with mixed endings, and someone should choose whether they
9530 want to move it or not.
9532 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
9534 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9537 2004-11-30 Ravindra <rkumar@novell.com>
9539 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9540 drawing and replaced use of SystemColors by theme colors.
9541 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9542 * ListView.cs (ListViewItemCollection.Add): Throw exception when
9543 same ListViewItem is being added more than once.
9545 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
9548 - ControlStyles love to make the control not flicker
9550 2004-11-30 Peter Bartok <pbartok@novell.com>
9552 * CharacterCasing.cs: Added
9554 2004-11-29 Peter Bartok <pbartok@novell.com>
9556 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9557 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9558 I am removing these files as they conflict with already completed
9559 work. While it is fantastic to get contributions to MWF, I
9560 respectfully ask that everyone please coordinate their contributions
9561 through mono-winforms-list or #mono-winforms at this time. We're
9562 explicitly avoiding stubbing and don't want controls that don't have
9563 their basic functionality implemented in svn. Please also see
9564 http://www.mono-project.com/contributing/winforms.html
9567 2004-11-29 Marek Safar <marek.safar@seznam.cz>
9569 * Application.cs (ModalRun): Don't hang after exit.
9571 * Theme.cs: New TreeViewDefaultSize property.
9573 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9574 with less hardcoded SystemColors constant.
9575 Implemented TreeViewDefaultSize.
9577 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9578 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9581 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
9584 - Fix NextMonthDate and PrevMonthDate click moving calendar
9586 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9589 - Fix usage of ScrollChange Property when scrolling months
9591 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
9593 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9594 - Fixes menu destroying
9595 - Support adding and removing items on already created menus
9597 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9600 - Re-worked all bolded dates handling to match win32
9601 * ThemeWin32Classic.cs:
9602 - Fixed rendering with bolded dates
9604 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
9606 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9607 - Horizontal scroolbar
9612 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
9615 - Fix Usage of MaxSelectionCount from SelectionRange
9616 - Fixed Shift + Cursor Selection
9617 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9618 - Fixed normal cursor selection to be compat with win32
9619 - Fixed Shift + Mouse Click selection
9621 2004-11-24 Peter Bartok <pbartok@novell.com>
9623 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9624 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9626 - CreatedKeyBoardMsg now updates keystate with Alt key
9627 - Added workaround for timer crash to CheckTimers, Jackson will
9628 develop a proper fix and check in later
9629 - Implemented DispatchMessage
9630 - Removed calling the native window proc from GetMessage (call
9631 now moved to DispatchMessage)
9633 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9634 the keydata (Fixes bug #69831)
9637 - (DispatchMessage): Switched to return IntPtr
9638 - Added DllImport for SetFocus
9640 2004-11-24 Ravindra <rkumar@novell.com>
9642 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9644 * ListViewItem.cs: Fixed various properties, calculations
9645 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9646 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9647 and some internal properties. Fixed MouseDown handler and Paint
9650 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9652 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9654 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9656 * ContainerControl.cs: correct accidental check in of local changes
9658 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9660 * ThemeWin32Classic.cs:
9661 - Fixed Drawing Last month in grid (sometimes not showing)
9663 - Fixed title width calculation bug (makeing title small)
9665 2004-11-23 Peter Bartok <pbartok@novell.com>
9668 - Added generation of WM_MOUSEHOVER event
9669 - Added missing assignment of async_method atom
9670 - Fixed WM_ERASEBKGND; now only redraws the exposed area
9672 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9674 * ThemeWin32Classic.cs:
9675 - Fixed Drawing of today circle when showtodaycircle not set
9676 - fixed drawing of first and last month in the grid (gay dates)
9678 - Fixed Drawing of today circle
9679 - Fixed drawing of grady dates
9680 - Fixed HitTest for today link when ShowToday set to false
9681 - Fixed DefaultSize to obey ShowToday
9683 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9685 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9686 * System.Windows.Forms/Theme.cs
9687 * MonthCalendar.cs: added for MonthCalendar
9688 * SelectionRange.cs: added for MonthCalendar
9689 * Day.cs: added for MonthCalendar: added for MonthCalendar
9690 * DateRangeEventArgs.cs: added for MonthCalendar
9691 * DateRangeEventHandler.cs: added for MonthCalendar
9693 2004-11-22 Ravindra <rkumar@novell.com>
9695 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9698 2004-11-22 Miguel de Icaza <miguel@ximian.com>
9700 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9703 * NumericUpDown.cs: Added new implementation.
9704 * UpDownBase.cs: Added new implementation.
9706 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9709 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9712 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9715 2004-11-21 Miguel de Icaza <miguel@ximian.com>
9717 * Timer.cs (Dispose): Should call the base dispose when
9720 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9722 * ScrollBar.cs: updates thumb position when max, min or increment
9725 2004-11-21 Ravindra <rkumar@novell.com>
9727 * ListView.cs: Implemented item selection, activation and
9728 column header style. Fixed properties to do a redraw, if
9729 required. Added support for MouseHover, DoubleClick, KeyDown
9730 and KeyUp event handling and some minor fixes.
9731 * ListViewItem.cs: Fixed constructor.
9732 * ThemeWin32Classic.cs: Improved drawing for ListView.
9734 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9736 * ThemeWin32Classic.cs: initial listbox drawing code
9737 * DrawMode.cs: new enumerator
9738 * ListControl.cs: stubbed class
9739 * ListBox.cs: initial implementation
9740 * Theme.cs: new methods definitions
9741 * SelectionMode.cs: new enumerator
9743 2004-11-17 Peter Bartok <pbartok@novell.com>
9745 * XplatUIWin32.cs: Added double-click events to the class style
9746 * Control.cs (WndProc):
9747 - Added handling of click-count to MouseDown/ MouseUp events.
9748 - Added handling of middle and right mouse buttons
9749 - Removed old debug code
9751 2004-11-17 Jackson Harper <jackson@ximian.com>
9753 * XplatUIX11.cs: Use the new Mono.Unix namespace.
9755 2004-11-17 Ravindra <rkumar@novell.com>
9757 * ListView.cs: Added event handling for MouseMove/Up/Down.
9758 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9759 * ThemeWin32Classic.cs: We need to clear the graphics context and
9760 draw column header in a proper state.
9763 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
9765 * Menu.cs: fixes signature
9767 2004-11-16 Peter Bartok <pbartok@novell.com>
9769 * XplatUIX11.cs (GetMessage): Implemented generation of
9770 double click mouse messages
9772 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
9774 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9777 2004-11-11 Peter Bartok <pbartok@novell.com>
9779 * HandleData.cs: Added Visible property
9780 * XplatUIX11.cs (IsVisible): Now uses Visible property from
9782 * XplatUIX11.cs: Removed old debug leftovers
9783 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9784 * Control.cs (WndProc): Removed old debug leftovers,
9785 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9786 needed WM_SIZE handling
9788 2004-11-11 Jackson Harper <jackson@ximian.com>
9790 * OwnerDrawPropertyBag.cs:
9791 * TreeViewImageIndexConverter.cs: Initial implementation
9793 2004-11-10 Jackson Harper <jackson@ximian.com>
9795 * ThemeWin32Classic.cs:
9796 * TabControl.cs: instead of moving tabs by the slider pos just
9797 start drawing at the tab that is offset by the slider. This way
9798 scrolling always moves by exactly one tab.
9800 2004-11-10 Jackson Harper <jackson@ximian.com>
9802 * TabControl.cs: You can only scroll left when the slider has
9803 already ben moved right.
9805 2004-11-10 Jackson Harper <jackson@ximian.com>
9807 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9810 2004-11-10 Jackson Harper <jackson@ximian.com>
9812 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9815 2004-11-09 Jackson Harper <jackson@ximian.com>
9817 * TabControl.cs (CalcXPos): New helper method so we can determine
9818 the proper place to start drawing vertical tabs.
9819 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9821 2004-11-09 Jackson Harper <jackson@ximian.com>
9823 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9824 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9825 and Bottom, left and right are illegal values for this and
9826 multiline is enabled when the alignment is set to left or right.
9827 (DrawTab): Each alignment block should draw the text itself now
9828 because Left requires special love. Also add rendering for Left
9831 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
9833 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9834 does not destroy the windows, removes debugging messages
9836 2004-11-09 jba <jba-mono@optusnet.com.au>
9838 * ThemeWin32Classic.cs
9839 (DrawButtonBase): Fix verticle text rect clipping in windows
9840 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9841 rendering and incorrect text rect clipping
9842 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9843 rendering and incorrect text rect clipping
9845 2004-11-08 Jackson Harper <jackson@ximian.com>
9847 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9848 bottom when they are bottom aligned so the bottoms of the tabs get
9850 * TabControl.cs (DropRow): Move rows up instead of down when the
9851 tab control is bottom aligned.
9853 2004-11-08 13:59 pbartok
9856 - Added handling for various window styles
9857 - Added handling for popup windows
9858 - Added SetTopmost handling
9860 2004-11-08 13:55 pbartok
9863 - Added argument to SetTopmost method
9864 - Fixed broken ClientToScreen function
9866 2004-11-08 13:53 pbartok
9868 * XplatUIStructs.cs:
9869 - Added missing WS_EX styles
9871 2004-11-08 13:53 pbartok
9873 * XplatUI.cs, XplatUIDriver.cs:
9874 - Added argument to SetTopmost
9876 2004-11-08 13:52 pbartok
9879 - Added XSetWindowAttributes structure
9880 - Improved XWindowAttributes structure
9881 - Added SetWindowValuemask enum
9882 - Added window creation arguments enum
9883 - Added gravity enum
9884 - Added Motif hints structure
9885 - Added various Motif flags and enums
9886 - Added PropertyMode enum for property functions
9888 2004-11-08 13:50 pbartok
9891 - Fixed arguments for updated SetTopmost method
9893 2004-11-08 13:49 pbartok
9896 - Fixed arguments for updated SetTopmost function
9897 - Fixed usage of PointToClient
9899 2004-11-08 13:44 pbartok
9902 - Added Clipping of children and siblings
9904 2004-11-08 13:41 pbartok
9907 - Removed SetMenuBarWindow call. We do this in Form.cs
9909 2004-11-08 13:40 jackson
9911 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9912 scrolling jimmi in the correct location with bottom aligned tabs
9914 2004-11-08 13:36 pbartok
9916 * ContainerControl.cs:
9917 - Implemented BindingContext
9918 - Implemented ParentForm
9920 2004-11-08 12:46 jackson
9922 * TabControl.cs: Put bottom rendered tabs in the right location
9924 2004-11-08 07:15 jordi
9926 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9929 2004-11-05 17:30 jackson
9931 * TabControl.cs: When selected tabs are expanded make sure they
9932 don't go beyond the edges of the tab control
9934 2004-11-05 14:57 jackson
9936 * TabControl.cs: Reset show_slider so if the control is resized to
9937 a size where it is no longer needed it's not displayed anymore
9939 2004-11-05 13:16 jackson
9941 * TabControl.cs: Make tab pages non visible when added to the
9944 2004-11-05 12:42 jackson
9946 * TabControl.cs: Implement SizeMode.FillToRight
9948 2004-11-05 12:16 jackson
9950 * Control.cs: Do not call CreateHandle if the handle is already
9953 2004-11-05 11:46 jackson
9955 * TabControl.cs: Remove superflous call to CalcTabRows
9957 2004-11-05 09:07 jackson
9959 * XplatUIX11.cs: Update for Mono.Posix changes
9961 2004-11-05 07:00 ravindra
9963 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9966 2004-11-04 22:47 jba
9968 * ThemeWin32Classic.cs:
9969 - Fix Button rendering for FlatStyle = Flat or Popup
9970 - Fix RadioButton and CheckBox rendering when Appearance = Button
9971 (normal and flatstyle).
9972 - Correct outer rectangle color when drawing focus rectangle
9973 - Adjust button bounds to be 1 px smaller when focused
9974 - Make button not draw sunken 3d border when pushed (windows compat)
9975 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9976 - Offset the text in RadioButton and Checkbox when being rendered as
9978 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9980 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9981 - Fixed disabled text rendering for normally rendered radiobuttons
9983 2004-11-04 10:26 jackson
9985 * TabControl.cs: Recalculate tab rows when resizing
9987 2004-11-04 07:47 jordi
9989 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9990 collection completion, drawing issues, missing features
9992 2004-11-04 05:03 ravindra
9995 - We need to recalculate the Thumb area when
9996 LargeChange/maximum/minimum values are changed.
9997 - We set the 'pos' in UpdatePos() method to minimum, if it's less
9998 than minimum. This is required to handle the case if large_change is
9999 more than max, and use LargeChange property instead of large_change
10001 - We return max+1 when large_change is more than max, like MS does.
10003 2004-11-04 04:29 ravindra
10005 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10006 - Changed default value signatures (prefixed all with ListView).
10007 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10009 - Fixed calculations for ListViewItem and implemented Clone()
10012 2004-11-04 04:26 ravindra
10014 * Theme.cs, ThemeWin32Classic.cs:
10015 - Changed default ListView values signatures (prefixed all with
10017 - Fixed default size values for VScrollBar and HScrollBar.
10018 - Fixed DrawListViewItem method.
10020 2004-11-04 04:05 ravindra
10022 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10024 2004-11-04 04:04 ravindra
10026 * ImageList.cs: Implemented the missing overload for Draw method.
10028 2004-11-03 19:29 jackson
10030 * TabControl.cs: Handle dropping rows on selection properly
10032 2004-11-03 11:59 jackson
10034 * TabControl.cs: remove debug code
10036 2004-11-03 11:52 jackson
10038 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10039 the scrolly widgerywoo
10041 2004-11-02 13:52 jackson
10043 * TabControl.cs: Resize the tab pages and tabs when the tab control
10046 2004-11-02 13:40 jackson
10048 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10049 selected tab to the bottom
10051 2004-11-02 13:39 jackson
10053 * TabPage.cs: Store the tab pages row
10055 2004-11-02 12:33 jordi
10057 * MenuItem.cs: fixes handle creation
10059 2004-11-02 11:42 jackson
10061 * TabControl.cs: signature fix
10063 2004-11-02 08:56 jackson
10065 * TabControl.cs: Calculate whether the tab is on an edge properly.
10066 Remove top secret debugging code
10068 2004-11-01 19:57 jackson
10070 * TabControl.cs: Add click handling, and proper sizing
10072 2004-11-01 19:47 jackson
10074 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10077 2004-11-01 19:39 jackson
10079 * TabPage.cs: add internal property to store the bounds of a tab
10082 2004-10-30 04:23 ravindra
10084 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10087 2004-10-30 04:21 ravindra
10089 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10090 fixed calculations.
10092 2004-10-30 03:06 pbartok
10095 - Removed extension of DllImported libs
10097 2004-10-29 09:55 jordi
10099 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10100 navigation, itemcollection completion, menu fixes
10102 2004-10-27 22:58 pbartok
10105 - Now throws a nice error message when no X display could be opened
10107 2004-10-26 13:51 jordi
10109 * ListView.cs: removes warning
10111 2004-10-26 03:55 ravindra
10113 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10114 ThemeWin32Classic.cs: Some formatting for my last checkins.
10116 2004-10-26 03:36 ravindra
10118 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10119 control and default values.
10121 2004-10-26 03:35 ravindra
10123 * Theme.cs: Added some default values for ListView control.
10125 2004-10-26 03:33 ravindra
10127 * ToolBar.cs: ToolBar should use the user specified button size, if
10128 there is any. Added a size_specified flag for the same.
10130 2004-10-26 03:33 ravindra
10132 * ColumnHeader.cs: Added some internal members and calculations for
10135 2004-10-26 03:32 ravindra
10137 * ListViewItem.cs: Calculations for ListViewItem.
10139 2004-10-26 03:31 ravindra
10141 * ListView.cs: Added some internal members and calculations for
10144 2004-10-22 13:31 jordi
10146 * MenuAPI.cs: speedup menus drawing
10148 2004-10-22 13:16 jackson
10150 * XplatUIX11.cs: Make sure to update exposed regions when adding an
10153 2004-10-22 11:49 jackson
10157 2004-10-22 11:41 jackson
10159 * Control.cs: Check to see if the window should have its background
10160 repainted by X when drawing.
10162 2004-10-22 11:31 jackson
10164 * XplatUIX11.cs: When invalidating areas only use XClearArea if
10165 clear is true, this way we do not get flicker from X repainting the
10168 2004-10-22 11:28 jackson
10170 * XEventQueue.cs: Queue properly
10172 2004-10-21 09:38 jackson
10174 * XEventQueue.cs: Fix access modifier
10176 2004-10-21 09:36 jackson
10178 * XEventQueue.cs: Don't loose messages
10180 2004-10-21 09:22 jackson
10182 * XEventQueue.cs: Don't loose messages
10184 2004-10-20 04:15 jordi
10186 * BootMode.cs: enum need it by SystemInfo
10188 2004-10-19 21:58 pbartok
10191 - Small sanity check
10193 2004-10-19 21:56 pbartok
10196 - Added private FormParentWindow class which acts as the container
10197 for our form and as the non-client area where menus are drawn
10198 - Added/Moved required tie-ins to Jordi's menus
10199 - Fixed/Implemented the FormStartPosition functionality
10201 2004-10-19 21:52 pbartok
10204 - Removed unneeded locals
10205 - Added code to all size and location properties to understand and
10206 deal with the parent container of Form
10208 2004-10-19 21:33 pbartok
10211 - Fixed to deal with new Form subclasses for menus
10213 2004-10-19 17:48 jackson
10215 * XEventQueue.cs: commit correct version of file
10217 2004-10-19 16:50 jackson
10219 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10221 2004-10-19 16:15 jordi
10223 * MenuAPI.cs: MenuBarCalcSize returns the height
10225 2004-10-19 08:31 pbartok
10228 - Added missing call to PreProcessMessage before calling OnXXXKey
10231 2004-10-19 00:04 ravindra
10233 * ToolTip.cs: Fixed constructor.
10235 2004-10-18 09:31 jordi
10237 * MenuAPI.cs: menuitems in menubars do not have shortcuts
10239 2004-10-18 09:26 jordi
10241 * MenuItem.cs: fixes MenuItem class signature
10243 2004-10-18 08:56 jordi
10245 * MenuAPI.cs: prevents windows from showing in the taskbar
10247 2004-10-18 00:28 ravindra
10249 * ToolTip.cs: Suppressed a warning message.
10251 2004-10-18 00:27 ravindra
10253 * Control.cs: Default value of visible property must be true.
10255 2004-10-17 23:19 pbartok
10258 - Complete implementation
10260 2004-10-17 23:19 pbartok
10263 - Added EnableWindow method
10264 - Added SetModal stub
10265 - Added generation of WM_ACTIVATE message (still needs testing)
10266 - Added SetTopMost stub
10267 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10269 2004-10-17 23:17 pbartok
10272 - Removed VirtualKeys to XplatUIStructs
10273 - Implemented SetTopMost method
10274 - Implemented EnableWindow method
10275 - Bugfix in ScreenToClient()
10276 - Bugfixes in ClientToScreen()
10278 2004-10-17 22:51 pbartok
10280 * XplatUIStructs.cs:
10281 - Added WS_EX styles to WindowStyles enumeration
10283 2004-10-17 22:50 pbartok
10285 * XplatUI.cs, XplatUIDriver.cs:
10286 - Added method for enabling/disabling windows
10287 - Added method for setting window modality
10288 - Added method for setting topmost window
10290 2004-10-17 22:49 pbartok
10292 * ThemeWin32Classic.cs:
10293 - Added ToolTip drawing code
10295 2004-10-17 22:49 pbartok
10298 - Added ToolTip abstracts
10300 2004-10-17 22:47 pbartok
10303 - Fixed Form.ControlCollection to handle owner relations
10304 - Added Owner/OwnedForms handling
10305 - Implemented Z-Ordering for owned forms
10306 - Removed unneeded private overload of ShowDialog
10307 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10309 - Fixed Close(), had wrong default
10310 - Added firing of OnLoad event
10311 - Added some commented out debug code for Ownership handling
10313 2004-10-17 22:16 pbartok
10316 - Fixed/implemented flat list of controls
10318 2004-10-17 22:14 pbartok
10321 - Added code to simulate modal dialogs on Win32
10323 2004-10-17 16:11 jordi
10325 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10328 2004-10-17 13:39 jordi
10330 * MenuAPI.cs: menu drawing fixes
10332 2004-10-15 09:10 ravindra
10334 * StructFormat.cs: General Enum.
10336 2004-10-15 09:09 ravindra
10338 * SizeGripStyle.cs: Enum for Form.
10340 2004-10-15 09:08 ravindra
10342 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10343 in Theme for ListView.
10345 2004-10-15 09:06 ravindra
10347 * ColumnHeader.cs: Flushing some formatting changes.
10349 2004-10-15 09:05 ravindra
10351 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10354 2004-10-15 09:03 ravindra
10356 * ListView.cs: Implemented Paint method and fixed coding style.
10358 2004-10-15 07:34 jordi
10360 * MenuAPI.cs: fix for X11
10362 2004-10-15 07:32 ravindra
10364 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10365 - Renamed Paint() method to Draw() for clarity. Also, moved
10366 DrawImage() to OnPaint().
10368 2004-10-15 07:25 ravindra
10370 * CheckBox.cs, RadioButton.cs:
10371 - Removed Redraw (), we get it from ButtonBase.
10372 - Implemented Paint (), to do class specific painting.
10374 2004-10-15 07:16 ravindra
10377 - Redraw () is not virtual now.
10378 - Added an internal virtual method Paint (), so that
10379 derived classes can do their painting on their own.
10380 - Modified OnPaint () to call Paint ().
10382 2004-10-15 06:43 jordi
10384 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10385 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10387 2004-10-15 00:30 ravindra
10390 - MessageBox on windows does not have min/max buttons.
10391 This change in CreateParams fixes this on Windows. We
10392 still need to implement this windowstyle behavior in
10395 2004-10-14 05:14 ravindra
10398 - Changed Redraw () to do a Refresh () always.
10399 - Fixed the MouseMove event handling when mouse is pressed,
10400 ie drag event handling.
10401 - Replaced the usage of ToolBarButton.Pressed property to
10402 ToolBarButton.pressed internal variable.
10404 2004-10-14 05:10 ravindra
10406 * ToolBarButton.cs:
10407 - Added an internal member 'inside' to handle mouse move
10408 with mouse pressed ie mouse drag event.
10409 - Changed 'Pressed' property to return true only when
10410 'inside' and 'pressed' are both true.
10411 - Some coding style love.
10413 2004-10-14 00:17 ravindra
10415 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10418 2004-10-14 00:15 ravindra
10420 * ButtonBase.cs: Redraw () related improvements.
10422 2004-10-14 00:14 ravindra
10424 * MessageBox.cs: Moved InitFormSize () out of Paint method and
10425 removed unnecessary calls to Button.Show () method.
10427 2004-10-13 17:50 pbartok
10431 - Removed destroying of window until we solve the problem of X
10432 destroying the window before us on shutdown
10434 2004-10-13 16:32 pbartok
10437 - Now Redraws on MouseUp for FlatStyle Flat and Popup
10439 2004-10-13 14:18 pbartok
10442 - Added code to destroy the X window
10444 2004-10-13 14:18 pbartok
10447 - Added code to destroy a window
10449 2004-10-13 14:12 pbartok
10452 - Added the Redraw on Resize that got dropped in the last rev
10454 2004-10-13 09:06 pbartok
10456 * ThemeWin32Classic.cs:
10457 - Path from John BouAntoun:
10458 * Fix check rendering (centre correctly for normal style, offset
10459 correctly for FlatStyle).
10460 * Fix border color usage (use backcolor) for FlatStyle.Popup
10461 * Use checkbox.Capture instead of checkbox.is_pressed when
10462 rendering flatstyle states.
10464 2004-10-12 21:48 pbartok
10466 * ThemeWin32Classic.cs:
10467 - Removed all occurences of SystemColors and replaced them with the
10468 matching theme color
10470 2004-10-12 21:41 pbartok
10472 * ThemeWin32Classic.cs:
10473 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10474 him using the function for flatstyle drawing
10475 - Changed functions to use the new version of CPDrawBorder3D
10477 2004-10-12 21:15 pbartok
10480 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10481 match MS documentation. They need to return defined colors if the
10482 passed color matches the configured control color. Thanks to John
10483 BouAntoun for pointing this out.
10485 2004-10-12 20:57 pbartok
10488 - Fix from John BouAntoun: Raise ForeColorChanged event when text
10491 2004-10-12 20:46 pbartok
10494 - Fix from John BouAntoun: Now properly sets the Appearance property
10496 2004-10-12 20:45 pbartok
10498 * ThemeWin32Classic.cs:
10499 - Fixes from John BouAntoun: now handles forecolors and backcolors
10500 for flatstyle rendered controls much better; It also fixes normal
10501 checkbox rendering when pushed or disabled.
10503 2004-10-08 02:50 jordi
10505 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10508 2004-10-07 08:56 jordi
10510 * ThemeWin32Classic.cs: Removes deletion of cached brushes
10512 2004-10-06 03:59 jordi
10514 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10515 XplatUIWin32.cs: removes warnings from compilation
10517 2004-10-05 12:23 jackson
10519 * RadioButton.cs: Fix ctor
10521 2004-10-05 11:10 pbartok
10524 - Partial implementation by Benjamin Dasnois
10526 2004-10-05 10:15 jackson
10528 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10531 2004-10-05 03:07 ravindra
10534 - Removed a private method, Draw ().
10535 - Fixed the ButtonDropDown event handling.
10536 - Fixed MouseMove event handling.
10538 2004-10-05 03:04 ravindra
10540 * ThemeWin32Classic.cs:
10541 - Added DrawListView method and ListViewDefaultSize property.
10542 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10543 - Changed DOS style CRLF to Unix format (dos2unix).
10545 2004-10-05 03:03 ravindra
10548 - Added DrawListView method and ListViewDefaultSize property.
10550 2004-10-05 02:42 ravindra
10552 * ToolBarButton.cs: Added an internal member dd_pressed to handle
10553 clicks on DropDown arrow.
10555 2004-10-04 22:56 jackson
10557 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10558 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10559 Control handle the buffers, derived classes should not have to
10560 CreateBuffers themselves.
10562 2004-10-04 21:20 jackson
10564 * StatusBar.cs: The control handles resizing the buffers now.
10566 2004-10-04 21:18 jackson
10568 * Control.cs: When resizing the buffers should be invalidated. This
10569 should be handled in Control not in derived classes.
10571 2004-10-04 14:45 jackson
10575 2004-10-04 02:14 pbartok
10577 * LeftRightAlignment.cs:
10580 2004-10-04 01:09 jordi
10582 * ThemeWin32Classic.cs: fixes right button position causing right
10583 button not showing on horizontal scrollbars
10585 2004-10-02 13:12 pbartok
10588 - Simplified the Invalidate method by using an X call instead of
10589 generating the expose ourselves
10590 - Added an expose when the window background is changed
10591 - Implemented ClientToScreen method
10593 2004-10-02 13:08 pbartok
10596 - Added Win32EnableWindow method (test for implementing modal
10598 - Added ClientToScreen method and imports
10600 2004-10-02 13:07 pbartok
10602 * XplatUI.cs, XplatUIDriver.cs:
10603 - Added ClientToScreen coordinate translation method
10605 2004-10-02 13:06 pbartok
10607 * KeyPressEventArgs.cs:
10608 - Fixed access level for constructor
10610 2004-10-02 13:06 pbartok
10613 - Changed access level for the window_collection hash table
10615 2004-10-02 13:05 pbartok
10618 - Added KeyPreview property
10619 - Added Menu property (still incomplete, pending Jordi's menu work)
10620 - Implemented ProcessCmdKey
10621 - Implemented ProcessDialogKey
10622 - Implemented ProcessKeyPreview
10624 2004-10-02 13:02 pbartok
10627 - Added private method to get the Control object from the window
10629 - Implemented ContextMenu property
10630 - Implemented PointToScreen
10631 - Implemented PreProcessMessage
10632 - Implemented IsInputChar
10633 - Implemented IsInputKey
10634 - Implemented ProcessCmdKey
10635 - Completed ProcessKeyEventArgs
10636 - Fixed message loop to call the proper chain of functions on key
10638 - Implemented ProcessDialogChar
10639 - Implemented ProcessDialogKey
10640 - Implemented ProcessKeyMessage
10641 - Implemented ProcessKeyPreview
10642 - Added RaiseDragEvent stub (MS internal method)
10643 - Added RaiseKeyEvent stub (MS internal method)
10644 - Added RaiseMouseEvent stub (MS Internal method)
10645 - Added RaisePaintEvent stub (MS Internal method)
10646 - Added ResetMouseEventArgs stub (MS Internal method)
10647 - Implemented RtlTranslateAlignment
10648 - Implemented RtlTranslateContent
10649 - Implemented RtlTranslateHorizontal
10650 - Implemented RtlTranslateLeftRight
10651 - Added generation of KeyPress event
10653 2004-10-02 05:57 ravindra
10655 * ListViewItem.cs: Added attributes.
10657 2004-10-02 05:32 ravindra
10659 * ListView.cs: Added attributes.
10661 2004-10-01 11:53 jackson
10663 * Form.cs: Implement the Close method so work on MessageBox can
10666 2004-09-30 14:06 pbartok
10671 2004-09-30 11:34 jackson
10673 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10675 2004-09-30 07:26 ravindra
10677 * ListViewItemConverter.cs: Converter for ListViewItem.
10679 2004-09-30 07:26 ravindra
10681 * SortOrder.cs: Enum for ListView control.
10683 2004-09-30 07:25 ravindra
10685 * ColumnHeader.cs: Supporting class for ListView control.
10687 2004-09-30 07:24 ravindra
10689 * ListView.cs, ListViewItem.cs: Initial implementation.
10691 2004-09-30 07:20 ravindra
10693 * ItemActivation.cs: Enum for ListView Control.
10695 2004-09-29 20:29 pbartok
10698 - Added lookup of pixel value for background color; tries to get a
10699 color 'close' to the requested color, it avoids having to create a
10700 colormap. Depending on the display this could mean the used color
10701 is slightly off the desired color. Might have to change it to a more
10702 resource intensive colormap approach, but it will work as a
10703 workaround to avoid red screens.
10705 2004-09-29 14:27 jackson
10707 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10709 2004-09-28 12:44 pbartok
10711 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10712 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10713 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10714 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10715 TrackBar.cs, VScrollBar.cs:
10716 - Streamlined Theme interfaces:
10717 * Each DrawXXX method for a control now is passed the object for
10718 the control to be drawn in order to allow accessing any state the
10719 theme might require
10721 * ControlPaint methods for the theme now have a CP prefix to avoid
10722 name clashes with the Draw methods for controls
10724 * Every control now retrieves it's DefaultSize from the current
10727 2004-09-28 12:17 jackson
10729 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10732 2004-09-24 14:57 jackson
10734 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10735 Gives us a nice little performance boost.
10737 2004-09-24 12:02 jackson
10739 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10740 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10741 Control and supporting classes. Initial checkin
10743 2004-09-23 13:08 jackson
10745 * Form.cs: Temp build fixage
10747 2004-09-23 01:39 ravindra
10749 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10750 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10751 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10752 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10753 EventHandlers needed by ListView Control.
10755 2004-09-22 14:12 pbartok
10757 * ScrollableControl.cs:
10758 - Implemented DockPadding property
10759 - Implemented AutoScroll property
10760 - Implemented AutoScrollMargin property
10761 - Implemented AutoScrollMinSize property
10762 - Implemented AutoScrollPosition property
10763 - Implemented DisplayRectangle property (still incomplete)
10764 - Implemented CreateParams property
10765 - Implemented HScroll property
10766 - Implemented VScroll property
10767 - Implemented OnVisibleChanged property
10769 2004-09-22 14:09 pbartok
10772 - Added Form.ControllCollection class
10773 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10774 RemoveOwnedForm (still incomplete, missing on-top and common
10775 minimize/maximize behaviour)
10776 - Added StartPosition property (still incomplete, does not use when
10778 - Added ShowDialog() methods (still incomplete, missing forcing the
10781 2004-09-22 14:05 pbartok
10784 - Added message loop for modal dialogs
10786 2004-09-22 14:02 pbartok
10789 - Fixed wrong types for events
10791 2004-09-22 14:00 pbartok
10793 * Shortcut.cs, FormWindowState.cs:
10794 - Fixed wrong values
10796 2004-09-22 12:01 jackson
10798 * Control.cs: Text is never null
10800 2004-09-20 22:14 pbartok
10803 - Fixed accessibility level for Idle handler
10805 2004-09-20 18:54 jackson
10807 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10808 XplatUIX11.cs: New message loop that uses poll so we don't get a
10811 2004-09-17 10:43 pbartok
10814 - Fixed behaviour of arrow buttons. Now properly behaves like
10815 Buttons (and like Microsoft's scrollbar arrow buttons)
10817 2004-09-17 10:14 pbartok
10820 - Added missing release of keyboard/mouse capture
10822 2004-09-17 06:18 jordi
10824 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10825 Theme.cs: Very early menu support
10827 2004-09-16 17:45 pbartok
10830 - Fixed sending a window to the front
10831 - Added overload for SetWindowPos to avoid casting
10833 2004-09-16 17:44 pbartok
10836 - Added SendToBack and BringToFront methods
10838 2004-09-16 07:00 ravindra
10840 * Copyright: Added Novell URL.
10842 2004-09-16 07:00 ravindra
10844 * ToolBar.cs: Invalidate should be done before redrawing.
10846 2004-09-15 21:19 ravindra
10848 * ColumnHeaderStyle.cs: Enum for ListView Control.
10850 2004-09-15 21:18 ravindra
10852 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10855 2004-09-13 18:26 jackson
10857 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10860 2004-09-13 18:13 jackson
10862 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10863 a second thread and post messages into the main threads message
10864 queue. This makes timing much more consistent. Both win2K and XP
10865 have a minimum timer value of 15 milliseconds, so we now do this
10868 2004-09-13 15:18 pbartok
10870 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10872 - Added Z-Ordering methods
10874 2004-09-13 10:56 pbartok
10877 - Fixed #region names
10878 - Moved properties and methods into their proper #regions
10880 2004-09-13 10:51 pbartok
10883 - Added Accept and CancelButton properties
10884 - Added ProcessDialogKey() method
10886 2004-09-13 08:18 pbartok
10888 * IWindowTarget.cs:
10891 2004-09-10 21:50 pbartok
10894 - Added DoDragDrop() [incomplete]
10895 - Properly implemented 'Visible' handling
10896 - Added SetVisibleCore()
10897 - Implemented FindChildAtPoint()
10898 - Implemented GetContainerControl()
10899 - Implemented Hide()
10901 2004-09-10 19:28 pbartok
10904 - Moved methods into their appropriate #regions
10905 - Reordered methods within regions alphabetically
10907 2004-09-10 18:57 pbartok
10909 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10910 - Added method to retrieve text from window
10912 2004-09-10 18:56 pbartok
10915 - Moved some internal functions into the internal region
10916 - Implemented FontHeight
10917 - Implemented RenderRightToLeft
10918 - Implemented ResizeRedraw
10919 - Implemented ShowFocusCues
10920 - Implemented ShowKeyboardCues
10921 - Implemented FromChildHandle
10922 - Implemented FromHandle
10923 - Implemented IsMnemonic
10924 - Implemented ReflectMessage
10925 - All public and protected Static Methods are now complete
10927 2004-09-10 16:54 pbartok
10930 - Implemented remaining missing public instance properties
10931 - Alphabetized some out of order properties
10933 2004-09-10 05:51 ravindra
10935 * PictureBox.cs: Added a check for null image.
10937 2004-09-10 00:59 jordi
10939 * GroupBox.cs: remove cvs tag
10941 2004-09-09 05:25 ravindra
10943 * ToolBar.cs: Make redraw accessible from ToolBarButton.
10945 2004-09-09 05:23 ravindra
10947 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10950 2004-09-09 02:28 pbartok
10952 * ThemeWin32Classic.cs:
10953 - Improve disabled string look
10955 2004-09-09 01:15 jordi
10957 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10960 2004-09-08 23:56 ravindra
10962 * ItemBoundsPortion.cs: It's enum, not a class!
10964 2004-09-08 23:47 ravindra
10966 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10969 2004-09-08 21:13 ravindra
10971 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10974 2004-09-08 21:03 ravindra
10976 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10979 2004-09-08 21:01 ravindra
10981 * ScrollableControl.cs: Removed unreachable code.
10983 2004-09-08 06:45 jordi
10985 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10987 2004-09-08 01:00 jackson
10989 * XplatUIX11.cs: Only run the timers when updating the message
10990 queue. This effectively gives X messages a higher priority then
10991 timer messages. Timers still need love though
10993 2004-09-07 14:01 jackson
10995 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10996 this for us and the handle is no longer valid.
10998 2004-09-07 13:59 jackson
11000 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11001 loop that manages to not crash. TODO: Add poll and cleanup timers
11003 2004-09-07 11:12 jordi
11005 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11007 2004-09-07 03:40 jordi
11009 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11010 fixes, methods, multiple links
11012 2004-09-06 06:55 jordi
11014 * Control.cs: Caches ClientRectangle rectangle value
11016 2004-09-05 02:03 jordi
11018 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11021 2004-09-04 11:10 jordi
11023 * Label.cs: Refresh when font changed
11025 2004-09-02 16:24 pbartok
11028 - Added sanity check to creation of double buffer bitmap
11030 2004-09-02 16:24 pbartok
11033 - Fixed selection of text color
11034 - Fixed handling of resize event; now properly recreates double
11036 - Added missing assignment of TextAlignment
11037 - Added proper default for TextAlignment
11039 2004-09-02 14:26 pbartok
11042 - Added missing RadioButton.RadioButtonAccessibleObject class
11044 2004-09-02 14:26 pbartok
11047 - Added missing Control.ControlAccessibleObject class
11048 - Started to implement Select()ion mechanisms, still very incomplete
11050 2004-09-02 14:25 pbartok
11052 * AccessibleObject.cs:
11053 - Added missing methods
11055 2004-09-02 14:23 pbartok
11057 * AccessibleNavigation.cs, AccessibleSelection.cs:
11060 2004-09-02 10:32 jordi
11062 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11063 pool for pens, brushes, and hatchbruses
11065 2004-09-01 15:30 jackson
11067 * StatusBar.cs: Fix typo
11069 2004-09-01 14:44 pbartok
11074 2004-09-01 14:39 pbartok
11076 * Button.cs, RadioButton.cs:
11077 - Functional initial check-in
11079 2004-09-01 14:01 pbartok
11082 - Added missing default
11083 - Added missing region mark
11085 2004-09-01 09:10 jordi
11087 * Label.cs: fixes method signatures, new methods, events, fixes
11090 2004-09-01 07:19 jordi
11092 * Control.cs: Init string variables with an empty object
11094 2004-09-01 04:20 jordi
11096 * Control.cs: fires OnFontChanged event
11098 2004-08-31 20:07 pbartok
11101 - Enabled display of strings
11103 2004-08-31 20:05 pbartok
11106 - Added (partial) implementation of DialogResult; rest needs to be
11107 implemented when the modal loop code is done
11109 2004-08-31 19:55 pbartok
11112 - Fixed to match the removal of the needs_redraw concept
11114 2004-08-31 19:55 pbartok
11117 - Removed the rather odd split between 'needs redraw' and redrawing
11118 - Now handles the events that require regeneration (ambient
11119 properties and size)
11121 2004-08-31 19:41 pbartok
11124 - Added firing of BackColorChanged event
11125 - Added TopLevelControl property
11126 - Fixed handling of WM_ERASEBKGRND message
11128 2004-08-31 12:49 pbartok
11134 2004-08-31 12:48 pbartok
11137 - Finished (famous last words)
11139 2004-08-31 04:35 jordi
11141 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11142 scrolling bugs, adds new methods
11144 2004-08-30 14:42 pbartok
11147 - Implemented CheckBox drawing code
11149 2004-08-30 14:42 pbartok
11152 - Made Redraw() and CheckRedraw() virtual
11153 - Improved mouse up/down/move logic to properly track buttons
11155 2004-08-30 09:44 pbartok
11158 - Updated to fix broken build. Not complete yet.
11160 2004-08-30 09:28 pbartok
11165 2004-08-30 09:17 pbartok
11170 2004-08-27 16:12 ravindra
11172 * ToolBarButton.cs: Added TypeConverter attribute.
11174 2004-08-27 16:07 ravindra
11176 * ImageIndexConverter.cs: Implemented.
11178 2004-08-27 14:17 pbartok
11181 - Removed unneeded stack vars
11182 - First attempt to fix sizing issues when layout is suspended
11184 2004-08-25 15:35 jordi
11186 * ScrollBar.cs: more fixes to scrollbar
11188 2004-08-25 14:04 ravindra
11190 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11191 Added the missing divider code and grip for ToolBar Control.
11193 2004-08-25 13:20 pbartok
11196 - Control now properly passes the ambient background color to child
11199 2004-08-25 13:20 jordi
11201 * ScrollBar.cs: small bug fix regarding bar position
11203 2004-08-25 12:33 pbartok
11206 - Now only calls SetTimer or KillTimer if the enabled state has
11209 2004-08-25 12:33 pbartok
11212 - Fixed timer handling, now seems to work
11213 - Improved error message for window creation
11215 2004-08-25 12:32 pbartok
11218 - Fixed generation of MouseUp message
11220 2004-08-25 12:29 jordi
11222 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11223 and fixes for progressbar
11225 2004-08-24 18:43 ravindra
11227 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11228 in ToolBar control.
11230 2004-08-24 17:15 pbartok
11234 - Added missing events
11237 2004-08-24 17:14 pbartok
11239 * StatusBar.cs, PictureBox.cs:
11240 - Now uses Control's CreateParams
11242 2004-08-24 16:36 pbartok
11245 - Fixed background color handling
11246 - Fixed sending of enter/leave events on a grab
11248 2004-08-24 16:35 pbartok
11251 - Refined definitions for CrossingEvent
11253 2004-08-24 12:37 jordi
11255 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11256 formmating, methods signature, and adds missing events
11258 2004-08-24 12:24 jordi
11260 * Control.cs: fire OnEnabledChanged event
11262 2004-08-24 11:17 pbartok
11265 - Implemented SetTimer() and KillTimer()
11267 2004-08-24 11:16 pbartok
11270 - Now uses Remove instead of Add to kill the timer
11272 2004-08-24 10:16 jackson
11274 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11275 picture boxes in the theme now. Draw picture box borders and obey
11278 2004-08-24 05:49 jackson
11280 * Timer.cs: Remove top secret debugging code
11282 2004-08-24 05:34 jackson
11284 * PictureBox.cs: Temp hack to make picture boxes draw their full
11287 2004-08-24 05:29 jackson
11289 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11290 XplatUIX11.cs: Move timers to the driver level. On X they are
11291 queued by the driver and checked on idle.
11293 2004-08-24 01:07 jackson
11295 * XplatUIX11.cs: Use a queue for async messages instead of passing
11296 them as ClientMessages since that was totally broken. Also simply
11297 check for events and return an idle message if none are found. This
11298 gives us an idle handler, and prevents deadlocking when no messages
11301 2004-08-23 18:19 ravindra
11303 * XplatUIWin32.cs: Removed the unwanted destructor.
11305 2004-08-23 17:27 pbartok
11308 - Finishing touches. Works now, just needs some optimizations.
11310 2004-08-23 16:53 jordi
11312 * ScrollBar.cs: small fix
11314 2004-08-23 16:45 pbartok
11317 - Removed debug output
11320 2004-08-23 16:43 jordi
11322 * ScrollBar.cs: [no log message]
11324 2004-08-23 16:10 pbartok
11327 - Fixed handling of WM_CLOSE message
11328 - Removed debug output
11330 2004-08-23 16:09 pbartok
11333 - Added handling of Idle event
11334 - Added handling of form closing
11335 - Fixed reporting of MessageLoop property
11336 - Removed some unneeded code, should provide a bit of a speedup
11338 2004-08-23 15:22 pbartok
11341 - Added InitLayout() method
11342 - Added code to properly perform layout when Anchor or Dock property
11344 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11345 LAMESPEC, tried to do it in a way that makes sense
11347 2004-08-23 14:10 jordi
11349 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11350 properties and methods
11352 2004-08-23 13:55 pbartok
11355 - Properly fixed Jordi's last fix
11356 - Now uses Cursor's Position property instead of calling XplatUI
11359 2004-08-23 13:44 jordi
11361 * PaintEventHandler.cs: Adding missing attribute
11363 2004-08-23 13:39 pbartok
11366 - Implemented Position property
11368 2004-08-23 13:39 pbartok
11370 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11371 - Added method to move mouse cursor
11373 2004-08-23 13:39 pbartok
11376 - Fixed setting of background color
11377 - Added method to move mouse cursor
11379 2004-08-23 13:16 jordi
11381 * Control.cs: avoids null exception
11383 2004-08-22 17:46 jackson
11385 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11388 2004-08-22 17:40 jackson
11390 * XplatUIX11.cs: Add some missing locks
11392 2004-08-22 15:10 pbartok
11394 * Control.cs, Form.cs:
11395 - Removed OverlappedWindow style from Control, instead it's default
11397 - Made form windows OverlappedWindow by default
11399 2004-08-22 13:34 jackson
11401 * ScrollBar.cs: Update the position through the Value property so
11402 the OnValueChanged event is raised.
11404 2004-08-22 12:04 pbartok
11407 - Added Cursor.cs and UserControl.cs
11409 2004-08-22 12:03 pbartok
11412 - Started implementation, not usable yet
11414 2004-08-22 12:00 pbartok
11417 - Implemented UserControl (complete)
11419 2004-08-21 19:20 ravindra
11421 * ToolBar.cs: Correcting the formatting mess of VS.NET.
11423 2004-08-21 18:49 ravindra
11425 * ToolBar.cs: Probably this completes the missing attributes in
11428 2004-08-21 18:03 ravindra
11430 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11431 Fixed toolbar control signatures.
11433 2004-08-21 16:32 pbartok
11438 2004-08-21 16:30 pbartok
11443 2004-08-21 16:19 pbartok
11445 * Control.cs, Label.cs:
11448 2004-08-21 15:57 pbartok
11451 - Added loads of debug output for development
11452 - Fixed typo in method name
11454 2004-08-21 15:52 pbartok
11456 * ToolBarButtonClickEventArgs.cs:
11457 - Added missing base class
11459 2004-08-21 14:53 pbartok
11462 - Updated to match new GrabWindow signature
11464 2004-08-21 14:51 pbartok
11466 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11467 - Added method to get default display size
11469 2004-08-21 14:23 pbartok
11471 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11472 - Added method to query current grab state
11473 - Added argument to allow confining a grab to a window
11475 2004-08-21 14:22 pbartok
11478 - Added [Flags] attribute so that modifiers can be used in bitwise
11481 2004-08-21 14:21 pbartok
11483 * TrackBar.cs, ScrollBar.cs:
11484 - Replaced direct XplatUI calls with their Control counterpart
11486 2004-08-21 13:32 pbartok
11489 - Implemented Created property
11491 2004-08-21 13:28 pbartok
11494 - Implemented ContainsFocus
11496 2004-08-21 13:26 pbartok
11499 - Implemented CausesValidation
11501 2004-08-21 13:21 pbartok
11504 - Implemented CanFocus
11505 - Implemented CanSelect
11506 - Implemented Capture
11508 2004-08-21 12:35 pbartok
11511 - Fixed bug with Async message handling
11512 - Implemented getting the ModifierKeys
11514 2004-08-21 12:32 jackson
11516 * AsyncMethodResult.cs: Make sure we have the mutex before we
11517 release it. Fixes BeginInvoke on windows
11519 2004-08-21 11:31 pbartok
11521 * XplatUIWin32.cs, XplatUIX11.cs:
11522 - Drivers now return proper mouse state
11524 2004-08-21 10:54 jackson
11526 * Control.cs: Implement EndInvoke
11528 2004-08-21 10:48 jackson
11530 * Timer.cs: Remove unneeded finalizer
11532 2004-08-20 19:52 ravindra
11534 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11535 in mouse event handling in the ToolBar control.
11537 2004-08-20 19:50 ravindra
11539 * ImageList.cs: Changed draw method to use the arguments passed in
11542 2004-08-20 18:58 pbartok
11544 * XplatUIStructs.cs:
11545 - Added private message for async communication
11547 2004-08-20 17:38 ravindra
11549 * Control.cs: Made RightToLeft property virtual and removed a
11552 2004-08-20 14:39 jordi
11554 * ThemeGtk.cs: use style_attach
11556 2004-08-20 14:39 pbartok
11559 - Added jackson's Async code from X11 to Win32
11561 2004-08-20 14:09 pbartok
11564 - Added all new files
11566 2004-08-20 14:09 pbartok
11569 - Added call to set window background color
11571 2004-08-20 14:03 pbartok
11573 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11574 - Added method for setting the window background
11576 2004-08-20 14:02 pbartok
11579 - Added method for setting the background color
11580 - Added handling for erasing the window background
11582 2004-08-20 13:45 jordi
11584 * TrackBar.cs: fixes timer, new properties and methods
11586 2004-08-20 13:34 jackson
11588 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11591 2004-08-20 13:22 jackson
11593 * Timer.cs: Timer Tick events are now handed through Controls Async
11594 mechanism so the callbacks are executed in the same thread as X
11596 2004-08-20 13:19 jackson
11598 * XplatUIDriver.cs: Expose functionality to send async messages
11601 2004-08-20 13:18 jackson
11603 * Control.cs: Implement Begininvoke
11605 2004-08-20 13:14 jackson
11607 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11608 messages through the driver
11610 2004-08-20 13:12 jackson
11612 * XplatUIX11.cs: Lock before all X operations. Also added Async
11613 method functionality through XSendEvent
11615 2004-08-20 13:11 jackson
11617 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11618 This will screw up on 64 bit systems)
11620 2004-08-20 13:10 jackson
11622 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11623 Async messages through X/Win32
11625 2004-08-19 19:39 pbartok
11628 - Updated code to match new HandleData.DeviceContext type
11630 2004-08-19 19:38 pbartok
11633 - Made DeviceContext a generic object to allow usage from various
11635 - Added support for queueing Windows messages
11637 2004-08-19 19:37 pbartok
11640 - Added generation of MouseEnter, MouseLeave and MouseHover events
11641 - Added cleanup on EndPaint
11643 2004-08-19 19:17 pbartok
11646 - Added handling of WM_MOUSEHOVER
11647 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11650 2004-08-19 18:55 jordi
11652 * ThemeGtk.cs: fixes button order
11654 2004-08-19 18:12 jordi
11656 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11658 2004-08-19 17:09 pbartok
11661 - Added Right property
11662 - Added RightToLeft property
11664 2004-08-19 16:27 jordi
11666 * ThemeGtk.cs: experimental GTK theme support
11668 2004-08-19 16:26 jordi
11670 * ITheme.cs, Theme.cs: move themes from an interface to a class
11672 2004-08-19 16:25 jordi
11674 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11677 2004-08-19 16:04 pbartok
11680 - Added colormap basics
11681 - Added a way to re-initialize with a different display handle
11682 - Fixed setting of the window background color
11683 - Added various X11 imports related to colors and colormaps
11685 2004-08-19 15:51 pbartok
11688 - Removed packing hints (Paolo suggested this a while back)
11689 - fixed colormap type
11690 - Added default Atom types
11691 - Added Screen and color structs and enums
11693 2004-08-19 15:39 pbartok
11696 - Added missing Draw() method
11697 - Added missing RecreateHandle event
11699 2004-08-19 15:30 pbartok
11702 - Added handling of WM_CLOSE
11704 2004-08-18 13:16 jordi
11706 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11709 2004-08-18 09:56 jordi
11711 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11713 2004-08-17 15:31 ravindra
11715 * SWF.csproj: Updated project.
11717 2004-08-17 15:25 pbartok
11720 - Drawing improvement; don't call UpdateBounds if we are not visible
11721 (or have been minimized)
11723 2004-08-17 15:24 pbartok
11726 - Finished IsVisible
11727 - Added Win32GetWindowPlacement
11729 2004-08-17 15:08 jackson
11731 * Panel.cs: Initial checkin of the Panel
11733 2004-08-17 14:25 pbartok
11736 - Fixed broken handling of default window sizes
11738 2004-08-17 13:29 jackson
11740 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11741 has a large startup time.
11743 2004-08-17 10:25 jackson
11745 * HandleData.cs: union areas properly
11747 2004-08-17 10:12 jackson
11749 * HandleData.cs: union areas properly
11751 2004-08-16 20:00 ravindra
11753 * ToolBar.cs, ToolBarButton.cs: Added attributes.
11755 2004-08-16 18:48 ravindra
11757 * ToolBar.cs: Added attributes.
11759 2004-08-16 17:17 ravindra
11761 * SWF.csproj: Updated project.
11763 2004-08-16 17:16 jackson
11765 * XplatUIX11.cs: Check for more expose events before sending a
11766 WM_PAINT so they can all be grouped together. This makes dragging a
11767 window across another window redraw in a sane way.
11769 2004-08-16 15:47 pbartok
11772 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11773 support OnMouseEnter/Leave()
11774 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11777 2004-08-16 15:46 pbartok
11779 * XplatUIStructs.cs, XplatUIX11.cs:
11780 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11781 OnMouseEnter/Leave()
11783 2004-08-16 15:34 jackson
11785 * XplatUIX11.cs: Group multiple expose events in HandleData, make
11786 sure messages get the message field set to WM_NULL if they are not
11789 2004-08-16 15:24 jackson
11791 * HandleData.cs: HandleData is used for storing message information
11794 2004-08-15 17:23 ravindra
11796 * ColorDepth.cs: Added attribute.
11798 2004-08-15 17:23 ravindra
11800 * SWF.csproj: Updated project for ToolBar Control.
11802 2004-08-15 17:20 ravindra
11804 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11805 control and also dos2unix format.
11807 2004-08-15 17:13 ravindra
11809 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11810 ToolBarButtonClickEventArgs.cs,
11811 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11812 ToolBarTextAlign.cs: First Implementation of ToolBar control.
11814 2004-08-15 15:31 pbartok
11817 - First (mostly) working version
11819 2004-08-13 16:15 pbartok
11822 - Fixed Anchor default
11824 2004-08-13 15:43 pbartok
11827 - Changed GetCursorPos signature
11829 2004-08-13 15:42 pbartok
11831 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11832 - Changed signature for GetCursorPos
11834 2004-08-13 15:25 pbartok
11838 - Fixed resizing/exposure handling
11840 2004-08-13 15:22 jordi
11842 * ThemeWin32Classic.cs: removes redundant code and fixes issues
11845 2004-08-13 14:55 jordi
11847 * TrackBar.cs: change from wndproc to events
11849 2004-08-13 13:00 jordi
11851 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11852 XplatUIX11.cs: implements PointToClient (ScreenToClient)
11854 2004-08-13 12:53 pbartok
11857 - Changed GetWindowPos to also provide client area size
11858 - Fixed broken prototypes for several win32 functions
11860 2004-08-13 12:53 pbartok
11862 * XplatUI.cs, XplatUIDriver.cs:
11863 - Changed GetWindowPos to also provide client area size
11865 2004-08-13 12:52 pbartok
11868 - Added generation of WM_POSCHANGED
11869 - Changed GetWindowPos to also provide client area size
11871 2004-08-13 12:52 pbartok
11874 - Added Dispose() and destructor
11875 - Fixed resizing and bounds calculation
11877 - Added memory savings for invisible windows
11879 2004-08-13 12:46 jordi
11881 * TrackBar.cs: adds timer and grap window
11883 2004-08-13 10:25 jackson
11885 * Timer.cs: SWF Timer
11887 2004-08-12 16:59 pbartok
11889 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11890 - Implemented method to get current mouse position
11892 2004-08-12 14:29 jordi
11894 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11895 enhancement, fix mouse problems, highli thumb, etc
11897 2004-08-12 13:31 pbartok
11900 - Fixed Anchoring bugs
11902 2004-08-12 13:01 jackson
11904 * StatusBar.cs: Don't forget things
11906 2004-08-12 12:54 jackson
11908 * ThemeWin32Classic.cs: Handle owner draw status bars
11910 2004-08-12 12:54 jackson
11912 * StatusBar.cs: Implement missing properties, events, and methods.
11913 Handle mouse clicking
11915 2004-08-12 10:19 jackson
11917 * StatusBarPanelClickEventArgs.cs,
11918 StatusBarPanelClickEventHandler.cs: Classes for handling status
11919 bar panel click events
11921 2004-08-12 10:10 jackson
11923 * Control.cs: Add missing properties
11925 2004-08-12 09:46 pbartok
11927 * BindingsManagerBase.cs:
11928 - Name changed to BindingManagerBase.cs
11930 2004-08-12 09:25 jordi
11932 * ScrollableControl.cs: calls ctrlbase instead of exeception
11934 2004-08-11 16:28 pbartok
11936 * InputLanguageChangingEventArgs.cs:
11937 - Never check in before compiling. Fixes the last check-in
11939 2004-08-11 16:26 pbartok
11941 * InputLanguageChangingEventArgs.cs:
11942 - More signature fixes
11944 2004-08-11 16:20 pbartok
11946 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11947 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11948 ImageListStreamer.cs, InputLanguage.cs,
11949 InputLanguageChangedEventArgs.cs,
11950 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11951 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11952 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11953 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11956 2004-08-11 16:16 pbartok
11960 - Added .Net 1.1 method
11962 2004-08-11 15:25 pbartok
11965 - Fixed BindingManagerBase.cs filename
11967 2004-08-11 15:22 pbartok
11969 * BindingManagerBase.cs:
11970 - Was checked in with wrong filename
11972 2004-08-11 14:50 pbartok
11977 2004-08-11 13:41 jordi
11979 * XplatUIWin32.cs: Fixes ClientRect
11981 2004-08-11 13:19 pbartok
11983 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11985 - We had SetWindowPos and MoveWindow to set window positions and
11986 size, removed MoveWindow. We have GetWindowPos, so it made sense to
11987 keep SetWindowPos as matching counterpart
11988 - Added some X11 sanity checking
11990 2004-08-11 12:59 pbartok
11993 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11994 (It seems that SetBounds is just a front for SetBoundsCore and
11995 SetBoundsCore updates the underlying window system and
11996 UpdateBounds is responsible for updating the variables associated
11997 with the Control and sending the events)
11998 - Major cleanup of Size handling; we now have two sizes, client_size
11999 and bounds. Bounds defines the window with decorations, client_size
12002 2004-08-11 12:55 pbartok
12004 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12005 - Added method to calculate difference between decorated window and
12008 2004-08-11 12:54 pbartok
12011 - Forcing redraw on resize
12013 2004-08-11 11:43 pbartok
12016 - Removed disposing of the actual images when the list is disposed
12018 2004-08-11 09:13 pbartok
12021 - Now properly reparents windows
12023 2004-08-11 08:37 pbartok
12028 2004-08-11 07:47 pbartok
12031 - Rewrote the collection stuff. Might not be as fast now, not
12032 keeping the number of children around and accessible directly, but
12033 it's more straightforward
12035 2004-08-11 07:44 pbartok
12037 * AccessibleObject.cs:
12038 - Fixed to match ControlCollection rewrite
12040 2004-08-11 07:43 pbartok
12043 - Added missing creation of the collection list
12045 2004-08-10 20:08 jackson
12047 * StatusBar.cs: Get the paint message from WndProc
12049 2004-08-10 19:31 jackson
12051 * ThemeWin32Classic.cs: Create Brushes as little as possible
12053 2004-08-10 19:20 jackson
12055 * UICues.cs: Add Flags attribute
12057 2004-08-10 19:19 jackson
12059 * StatusBarPanel.cs: Signature cleanup
12061 2004-08-10 19:10 jackson
12063 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12064 Initial implementation of status bar item drawing
12066 2004-08-10 17:27 jordi
12068 * TrackBar.cs: add missing methods, properties, and restructure to
12071 2004-08-10 16:24 jackson
12073 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12074 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12077 2004-08-10 13:21 jordi
12079 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12080 enhancements and standarize on win colors defaults
12082 2004-08-10 12:52 jackson
12084 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12085 ThemeWin32Classic.cs: Implement DrawItem functionality
12087 2004-08-10 12:47 jordi
12089 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12091 2004-08-10 12:32 jordi
12093 * Control.cs: throw ontextchange event
12095 2004-08-10 11:43 pbartok
12098 - Added more to the still unfinished Dock/Anchor layout code
12100 2004-08-10 11:39 pbartok
12102 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12103 - Added GetWindowPos method
12105 2004-08-10 11:36 pbartok
12108 - Implemented several methods
12110 2004-08-10 09:47 jackson
12112 * TrackBar.cs: Allow control to handle buffering
12114 2004-08-10 09:41 jackson
12116 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12118 2004-08-10 09:24 jackson
12120 * Label.cs, LinkLabel.cs: Let Control handle buffering.
12122 2004-08-10 09:09 jackson
12124 * StatusBar.cs: Let Control handle all the buffering.
12126 2004-08-10 09:08 jackson
12128 * Control.cs: Control will now handle the buffering code, so each
12129 control does not have to implement this.
12131 2004-08-10 08:34 jackson
12133 * XplatUIDriver.cs: Use default colors from the theme
12135 2004-08-09 17:12 pbartok
12138 - Fixed several bugs Ravindra pointed out
12140 2004-08-09 16:11 pbartok
12143 - Added incomplete dock layout code
12144 - Added support for mouse wheel
12146 2004-08-09 16:09 pbartok
12149 - Added handling for middle and right mousebutton
12150 - Added handling for mouse wheel
12151 - Added handling for key state and mouse state and position
12152 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12155 2004-08-09 15:40 jackson
12157 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12158 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12161 2004-08-09 15:37 jackson
12163 * StatusBar.cs: Initial implementation of StatusBar
12165 2004-08-09 15:36 jackson
12167 * ITheme.cs: Add support for drawing status bar and getting status
12170 2004-08-09 15:35 pbartok
12175 2004-08-09 15:34 jackson
12177 * ThemeWin32Classic.cs: Add support for drawing status bar and get
12178 status bar item sizes
12180 2004-08-09 15:21 jackson
12182 * ThemeWin32Classic.cs: Use known colors for default control
12185 2004-08-09 15:12 jackson
12187 * ThemeWin32Classic.cs: Make the default font static, it is static
12188 in control so this doesn't change functionality and creating fonts
12191 2004-08-09 14:56 pbartok
12194 - Added GrabMode enum
12196 2004-08-09 14:55 pbartok
12198 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12199 - Removed Run method, was only required for initial development
12201 2004-08-09 14:51 pbartok
12203 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12204 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12207 2004-08-09 13:48 pbartok
12210 - Fixed default sizing for child windows
12212 2004-08-09 12:56 pbartok
12215 - Added generation of WM_DESTROY message
12216 - Added handling of window manager induced shutdown
12218 2004-08-09 11:31 jackson
12220 * ThemeWin32Classic.cs: New names for control properties
12222 2004-08-09 11:25 jackson
12224 * Control.cs: Use new color names
12226 2004-08-09 11:02 jackson
12228 * XplatUI.cs: Get default window properties from the theme
12230 2004-08-09 11:01 jackson
12232 * ITheme.cs: The theme engine now controls default window
12235 2004-08-09 11:00 jackson
12237 * ThemeWin32Classic.cs: Add default window color properties
12239 2004-08-09 10:17 jackson
12241 * ThemeWin32Classic.cs: Use correct default back color
12243 2004-08-09 10:05 jackson
12245 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12248 2004-08-09 09:56 jackson
12250 * XplatUI.cs: Remove defaults, these are handled by the theme now.
12252 2004-08-09 09:54 jackson
12254 * Control.cs: Get default properties from the theme.
12256 2004-08-09 09:53 jackson
12258 * ITheme.cs: Themes now handle default control properties
12260 2004-08-09 09:53 jackson
12262 * ThemeWin32Classic.cs: Themes now handle default control
12263 properties so coloring will be consistent
12265 2004-08-08 16:54 jordi
12267 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12269 2004-08-08 15:08 jordi
12271 * XplatUIX11.cs: fixes keyboard crash
12273 2004-08-08 13:47 jordi
12275 * Label.cs: add cvs header info
12277 2004-08-08 12:09 jackson
12279 * ThemeWin32Classic.cs: Add pen_buttonface
12281 2004-08-08 11:52 jordi
12283 * Label.cs, LinkLabel.cs: [no log message]
12285 2004-08-08 11:34 jordi
12287 * ThemeWin32Classic.cs: Use Windows Standard Colours
12289 2004-08-07 17:32 jordi
12291 * TrackBar.cs: throw exceptions of invalid enums values
12293 2004-08-07 17:31 jordi
12295 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12298 2004-08-07 16:56 jackson
12300 * HorizontalAlignment.cs: Initial checkin
12302 2004-08-07 13:16 jordi
12304 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12307 2004-08-07 13:05 jordi
12309 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12310 GetSysColor defines
12312 2004-08-06 18:01 pbartok
12314 * ThemeWin32Classic.cs:
12315 - Fixed some rounding issues with float/int
12317 2004-08-06 18:00 jackson
12319 * DockStyle.cs, AnchorStyles.cs:
12321 Add flags and serializable attributes.
12323 2004-08-06 17:46 pbartok
12326 - Implemented GetParent
12328 2004-08-06 17:18 pbartok
12331 - Fixed some rounding issues with float/int
12333 2004-08-06 17:17 pbartok
12335 * X11Structs.cs, XplatUIX11.cs:
12336 - Fixed Refresh and Invalidate
12338 2004-08-06 15:30 pbartok
12340 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12341 - Fixed recursive loop when resizing
12342 - Improved/fixed redrawing on expose messages
12344 2004-08-06 09:53 jordi
12346 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12347 keyboard navigation
12349 2004-08-06 08:02 pbartok
12351 * X11Structs.cs, XplatUIX11.cs:
12352 - Fixed reparenting
12353 - Fixed window border creation
12355 2004-08-05 15:38 pbartok
12358 - Attempted fix for reparenting problems
12360 2004-08-04 15:14 pbartok
12363 - Fixed Invalidation bug (calculated wrong client area)
12364 - Added ClientSize setter
12366 2004-08-04 15:13 pbartok
12369 - Added AutoScale properties
12371 2004-08-04 15:13 pbartok
12374 - Added latest files
12376 2004-08-04 14:11 pbartok
12378 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12380 - Added Invalidate handling
12382 2004-08-03 17:09 jordi
12384 * XplatUIDriver.cs: fixes spelling mistake
12386 2004-07-27 09:53 jordi
12388 * TrackBar.cs: fixes trackbar events, def classname, methods
12391 2004-07-27 09:29 jordi
12393 * ScrollBar.cs: fixes scrollbar events
12395 2004-07-27 04:38 jordi
12397 * Control.cs: changes to be able to run winforms samples
12399 2004-07-26 11:42 jordi
12401 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12402 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12404 2004-07-26 05:41 jordi
12406 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12407 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12410 2004-07-22 09:22 jordi
12412 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12413 check link overlapping, implement events, and fixes
12415 2004-07-21 10:28 jordi
12417 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12419 2004-07-21 10:19 jordi
12421 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12422 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12423 LinkLabelLinkClickedEventArgs.cs,
12424 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12425 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12428 2004-07-19 13:09 jordi
12430 * Control.cs, Label.cs: label control re-written: added missing
12431 functionlity, events, and properties
12433 2004-07-19 10:49 jordi
12435 * Control.cs: fixes SetBounds logic
12437 2004-07-19 01:29 jordi
12439 * Control.cs: Call RefreshWindow only if the window has created
12441 2004-07-15 14:05 pbartok
12443 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12444 - Implemented ImageList and ImageList.ImageCollection classes
12445 - Added ColorDepth enumeration
12446 - Updated SWF VS.Net project
12448 2004-07-15 11:06 jordi
12450 * XplatUIStructs.cs: added MsgButons enum
12452 2004-07-15 11:03 jordi
12454 * Control.cs: added basic mouse handeling events
12456 2004-07-15 03:38 jordi
12458 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12459 Vertical TrackBar control implementation
12461 2004-07-13 09:33 jordi
12463 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12465 2004-07-13 09:31 jordi
12467 * Control.cs, Form.cs: commit: new properties and fixes form size
12470 2004-07-09 14:13 miguel
12472 * ProgressBar.cs: Spelling
12474 2004-07-09 11:25 pbartok
12477 - Removed usage of Rectangle for drawing. Miguel pointed out it's
12480 2004-07-09 11:17 miguel
12482 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
12484 * ProgressBar.cs: Fixed spelling for `block'
12486 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12489 Avoid using the += on rect.X, that exposed a bug in the compiler.
12491 2004-07-08 23:21 pbartok
12493 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12494 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12495 BaseCollection.cs, Binding.cs, BindingContext.cs,
12496 BindingMemberInfo.cs, BindingsCollection.cs,
12497 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12498 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12499 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12500 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12501 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12502 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12503 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12504 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12505 FrameStyle.cs, GiveFeedbackEventArgs.cs,
12506 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12507 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12508 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12509 InputLanguageChangedEventArgs.cs,
12510 InputLanguageChangedEventHandler.cs,
12511 InputLanguageChangingEventArgs.cs,
12512 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12513 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12514 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12515 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12516 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12517 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12518 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12519 QueryAccessibilityHelpEventArgs.cs,
12520 QueryAccessibilityHelpEventHandler.cs,
12521 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12522 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12523 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12524 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12525 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12526 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12527 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12528 XplatUIX11.cs, lang.cs: