1 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
3 * ScrollableControl.cs:
4 - Rewrote DisplayRectangle code, now returning the proper x/y coords
5 (instead of 0,0) and we now return the real width/height instead of
6 just the clientrectangle, adjusted for padding. The rectangle is
7 now cached and created by the new CalculateDisplayRectangle method.
8 - Created new CalculateDisplayRectange method, which basically does
9 what get_DisplayRectangle() did originally, but now using the
10 right edge instead of DisplayRectangle to determine the size of
12 - get_Canvas(): Fixed it to properly calculate canvas for
13 right/bottom controls which seem to be placed to the right/bottom
14 of any controls that have a fixed location
15 - Removed TODO that's taken care of
16 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
17 and SetDisplayRectLocation according to new MSDN2 docs
18 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
19 event when that is called, this is added for compatibility
20 - ScrollControlIntoView(): Implemented.
21 - Switched scrollbars to be implicit, they shouldn't be selectable
22 * ContainerControl: Now that ScrollControlIntoView is implemented, we
23 call it when the active control is set/changed
24 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
25 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
26 implicit_control variable (used for native Win32 message generation)
27 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
28 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
29 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
30 * XplatUIStructs.cs: Added ScrollBarCommands enum
32 2006-04-10 Jackson Harper <jackson@ximian.com>
42 * PrintPreviewControl.cs:
48 * UpDownBase.cs: Fixup base event overrides.
50 2006-04-06 Mike Kestner <mkestner@novell.com>
52 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
53 all user-initiated value changes to min <= value <= max-thumbsz+1.
54 (set_Value): check for vert/horiz when calculating new thumb position.
55 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
57 (OnMouseMoveSB): refactor the thumb dragging code and refine
58 invalidation logic to reduce flicker.
59 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
60 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
61 (UpdateThumbPosition): small code readability cleanup
63 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
65 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
68 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
70 * ThemeNice.cs: Use a better graphics effect when a button is pressed
72 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
74 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
75 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
76 This dramatically reduces the number of Pen.Dispose calls.
77 Where possible call ResPool methods only once instead of calling it
78 over and over again (for example for the same color).
80 2006-04-06 Mike Kestner <mkestner@novell.com>
82 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
83 Also remove an unused private field on the collection. Fixes #77972.
85 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
87 * ThemeNice.cs: Added ToolBar drawing code
89 2006-04-06 Mike Kestner <mkestner@novell.com>
91 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
92 I'm assuming that means we need to look up the toplevel for the
93 provided control. Fixes the crash trace in #77911 but exposes another
94 crash in some strange reflection usage in NDocGui.
96 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
98 * ThemeNice.cs: Gave it a little silver touch and added Images
100 * FontDialog.cs: FontDialog is not resizable
101 * FileDialg.cs: Added SizeGripStyle.Show
103 2006-04-05 Jackson Harper <jackson@ximian.com>
105 * KeyboardLayouts.cs: Remove warning.
107 2006-04-05 Jackson Harper <jackson@ximian.com>
109 * Control.cs: Enable OnPaintInternal so we can use it for drawing
110 all of our controls instead of Paint +=.
125 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
126 use OnPaintInternal. Remove Width/Height and Visible checks in
127 paint handler, this is done at a higher level now.
128 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
129 * PaintEventArgs.cs: Add a handled flag so controls that don't
130 want anymore painting after OnPaintInternal can make sure OnPaint
133 2006-04-05 Mike Kestner <mkestner@novell.com>
135 * Form.cs: fix the menu WndProc hacks to respect the native enabled
136 state of the form, so that we don't process events when Modal dialogs
137 are up. Fixes #77922.
139 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
141 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
144 2006-04-05 Mike Kestner <mkestner@novell.com>
146 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
148 2006-04-05 Mike Kestner <mkestner@novell.com>
150 * ListView.cs (HeaderMouseMove): null guarding for the over column
151 when setting up the drag_to_index. Fixes #78015.
153 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
155 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
156 in the taskbar. Transient windows seem to accomplish that.
158 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
161 - Re-enabled CreateParams.X/Y code for FormStartPosition
162 - Added code for manual placement when creating the Control
163 - Incomplete patch to treat MDI forms differently when
164 setting the ClientSizeCore. (Still need to figure out handling
167 - When we're explicitly setting the X/Y position of a non-Child
168 window, let the WM know. Metacity really wants this.
170 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
172 * ThemeNice.cs: Added CPDrawButton
174 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
176 * ThemeNice.cs: Changed the color for focused buttons and activated
177 the arrows for small scroll buttons.
179 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
181 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
182 anymore. Changed some method modifiers to protected (virtual)
183 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
185 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
186 Updated drawing of menus, buttons and progressbars; added
189 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * ImageListStreamer.cs: implemented serialization/deserialization
194 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
196 * ThemeWin32Classic.cs:
197 - Removed all the DrawFrameControl stuff; CPDrawButton,
198 CPDrawCheckBox and CPDrawRadioButton are now handled directly
200 - Updated and corrected the drawing code of CPDrawButton,
201 CPDrawCheckBox and CPDrawRadioButton to better match ms
202 - Updated theme checkbox and radiobutton code to use the CP*
205 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
207 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
210 2006-03-31 Jackson Harper <jackson@ximian.com>
212 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
214 * UpDownBase.cs: Don't CreateGraphics manually, use a
215 Refresh. Ideally we would invalidate the correct areas here.
217 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
220 - We now track the mapping state of windows. If a window (or
221 one of it's parents) is not mapped we no longer permit
222 WM_PAINT messages to be generated since we'd otherwise get
223 lots of BadMatch X errors. Jackson did all the work figuring
225 - Destroying the caret if the window it's contained in is
226 destroyed. Can't use regular DestroyCaret method since it
227 might fall into a drawing function (trying to remove the
228 caret) and with that generate new BadMatch errors. Again,
229 Jackson tracked this down.
230 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
231 make sure we send the messages to all windows. (The old code
232 would send the WM_DESTROY to the window, and then all child
233 windows would be 'gone' because the WM_DESTROY handle lookup
234 would no longer find the destroyed window)
235 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
236 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
238 2006-03-31 Jackson Harper <jackson@ximian.com>
240 * ScrollableControl.cs: Dont recalc if we are not visible.
242 2006-03-31 Mike Kestner <mkestner@novell.com>
244 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
245 the visibility branch.
247 2006-03-31 Jackson Harper <jackson@ximian.com>
249 * ScrollBar.cs: Cap values when incrementing/decrementing.
251 2006-03-31 Mike Kestner <mkestner@novell.com>
253 * MenuAPI.cs: setup menu.tracker for popup/context menus.
254 * ToolTip.cs: guard against timer expirations with no active control.
255 Not sure why it happened.
257 2006-03-31 Mike Kestner <mkestner@novell.com>
259 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
261 * ToolTip.cs: Position the tooltip based on where the cursor is at
262 popup time, not at MouseEnter time. Add a Down state so that we don't
263 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
264 positioning offset. Lookup DisplaySize at positioning time, since it
265 can theoretically change during invocation.
266 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
267 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
269 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
271 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
272 Fixes behaviour when the Text property of the box is String.Empty
274 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
276 * XplatUIX11.cs: Only send mouseleave for our client windows, not
277 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
280 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
282 * FileDialog.cs: Visual enhancement for the popup buttons in
285 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
287 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
290 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
292 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
293 highlighted menu items to match ms
295 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
297 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
299 2006-03-30 Mike Kestner <mkestner@novell.com>
301 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
302 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
303 go active to account for HotLight to Selected transition.
304 * MenuItem.cs: add internal Selected prop. Fill out the Status
305 property by calculating it from item info. Add HotLight,
306 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
308 2006-03-30 Mike Kestner <mkestner@novell.com>
310 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
312 2006-03-29 Jackson Harper <jackson@ximian.com>
314 * Form.cs: Implement TODO.
316 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
318 * PrintPreviewDialog.cs: Implemented missing methods and events; still
319 missing proper dialog setup in the constructor
321 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
323 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
325 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
326 - Fixed ResetBindings and removed TODO
327 - Added check for cross-thread calls to get_Handle()
328 - Added Marshaller attribute for set_Font to satisfy class status
329 * FontDialog.cs: Removed TODOs that seemed implemented
330 * UpDownBase.cs: Removed unneeded TODO and Fixme
331 * MessageBox.cs: Implemented support for Default button and removed TODO
332 * FileDialog.cs: Removed obsolete TODO
333 * DomainUpDown.cs: Removed obsolete TODO
334 * ButtonBase.cs: Removed obsolete TODO
335 * XplatUIWin32.cs: Removed obsolete TODO
337 - Removed obsolete TODO
338 - Calling CheckAcceptButton when the acceptbutton is changed to allow
339 internal status updates
340 - Making sure the active control is selected when the control is created
341 * CurrencyManager.cs: Removed obsolete TODO
343 2006-03-29 Mike Kestner <mkestner@novell.com>
345 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
346 of PrintPreviewDialog and RichTextBox.
348 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
350 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
351 DarkDark, Light and LightLight colors for a specific color
352 * ThemeWin32Classic.cs:
353 - Use Button drawing code to draw RadioButtons and CheckBoxes with
355 - Make use of the new ResPool helper CPColor
356 - Draw ProgressBar and StatusBar with correct 3D borders
358 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
360 * ColorDialog.cs: Return selected color. Fixes bug #77940.
362 2006-03-28 Mike Kestner <mkestner@novell.com>
364 * ListView.cs: fix Icon layout to plan for scrollbar widths when
365 calculating col/row counts.
367 2006-03-28 Mike Kestner <mkestner@novell.com>
373 switch to explicit interface method implementation for some methods
374 corcompare identifies as inconsistent with MS.
376 2006-03-28 Mike Kestner <mkestner@novell.com>
380 add a few missing methods from the class status output.
382 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
384 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
387 2006-03-28 Mike Kestner <mkestner@novell.com>
389 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
391 2006-03-27 Mike Kestner <mkestner@novell.com>
393 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
394 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
396 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
398 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
400 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
402 * ThemeWin32Classic.cs:
403 - GroupBox: Inserted a little gap between the text and the lines
405 - Made the code in CPDrawBorder3D more readable
406 - Corrected the drawing location of the up and down arrows in
409 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
411 * ControlPaint.cs: Corrected line widths in DrawBorder for
412 ButtonBorderStyle Inset and Outset
414 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
416 * ThemeWin32Classic.cs:
417 - Rewrote the totally broken CPDrawBorder3D method. That was
418 one of the main problems for the terrific ThemeWin32Classic
420 - Updated and corrected Button drawing
421 - Correct the dimensions of the SizeGrip to match ms ones
422 - Removed a small drawing glitch in DrawComboBoxEditDecorations
423 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
424 Border3DStyle.Sunken to match ms.
426 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
428 * ThemeWin32Classic.cs: First small part of the "de-uglify
429 ThemeWin32Classic" effort, SizeGrip
431 2006-03-24 Jackson Harper <jackson@ximian.com>
433 * XplatUIX11.cs: Give a max idle time of one second, this matches
434 MS and forces an Idle event every second when there are no other
437 2006-03-24 Mike Kestner <mkestner@novell.com>
439 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
440 * ListView.Item.cs: fix layout issues with null image lists and images
441 smaller than checkbox size.
442 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
443 mode like MS does. It's weird, but consistent. ;-)
446 2006-03-24 Mike Kestner <mkestner@novell.com>
448 * ListView.cs: Scroll wheel support for the item control. Fixes
451 2006-03-23 Jackson Harper <jackson@ximian.com>
453 * ScrollableControl.cs: Special case negative sized areas, not
455 * MonthCalendar.cs: Save the rect of the clicked date so we can
456 use it for invalidation.
457 - Try to cut down on the number of invalidates
458 - Invalidate the rect the mouse is over and was over when moving
459 the mouse, so we get the focus box following the cursor.
461 2006-03-23 Mike Kestner <mkestner@novell.com>
463 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
464 focus rectangle drawing. Fixes #77835.
466 2006-03-23 Mike Kestner <mkestner@novell.com>
468 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
469 the if and else if and reverting back to the original == check on the
472 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
474 * FontDialog.cs: Update the example panel if the selected index of
475 the fontListBox changes.
477 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
479 * FileDialog.cs: Make FileDialog remember which directory it was in
480 last in the same execution.
482 2006-03-22 Mike Kestner <mkestner@novell.com>
484 * FileDialog.cs: make the DropDownMenu on the toolbar display
485 RadioChecks since they are mutually exclusive and that's what MS does.
487 2006-03-22 Mike Kestner <mkestner@novell.com>
489 * Theme.cs: add Color param to CPDrawMenuGlyph.
490 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
491 checks and radio marks and arrows are visible on highlighted items.
492 * ControlPaint.cs: update to use new Theme signature.
494 2006-03-22 Mike Kestner <mkestner@novell.com>
496 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
497 is active. Fixes #77870.
499 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
501 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
502 to be focused/selected after startup
504 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
507 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
508 CustomColors and ShowHelp properties
509 - Some internal rewrites to get better results when using the
512 2006-03-22 Mike Kestner <mkestner@novell.com>
514 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
515 HoverSelection. Fixes #77836.
517 2006-03-22 Mike Kestner <mkestner@novell.com>
519 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
520 ToggleButtons. (De)Sensitize the Back button around a stack count of
521 1, not 0. Update ButtonSize based on a pixel count of the win32
522 control. Adjust the toolbar size/location for new button size.
524 2006-03-22 Jackson Harper <jackson@ximian.com>
526 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
528 * ScrollBar.cs: When doing increments and decrements we need to
529 set the Value property so that ValueChanged gets raised. A
530 possible optimization here would be to make an internal SetValue
531 that doesn't invalidate immediately.
532 * ToolTip.cs: Tooltips get added to their container (when
533 supplied) so they get disposed when the container is disposed.
534 - Don't create tooltips for String.Empty. This prevents all these
535 little 2-3 pixel windows from showing up when running nunit-gui
537 * Form.cs: Don't set topmost when setting the owner if the handles
538 haven't been created yet. The topmost set will happen when the
541 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
544 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
545 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
546 visible (to allow them to recalculate their sizes)
548 2006-03-21 Mike Kestner <mkestner@novell.com>
550 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
551 methods. Removed a ton of redundant code. Still not really happy with
552 the border rendering, but I think that's mainly because of the
553 ControlDarkDark being black instead of a dark grey. Depending on how
554 close we want to be, we might want to revisit those color choices.
555 Among the new features added during the refactor were DropDownArrow
556 pressed rendering, Disabled image rendering. Proper flat appearance
557 boundary rendering. Removed the Divider and Wrapping dividers since I
558 can't figure out any combination of themes and conditions to make the
559 MS control draw a horizontal line on a toolbar despite what the
560 Divider property docs indicate.
561 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
562 conditions and incorrect layout. Updated to coding standard.
563 * ToolBarButton.cs: refactored layout and positioning code from
564 ToolBar to here. Invalidate wherever possible instead of forcing
565 redraws of the whole toolbar.
566 (Known remaining issues: explicit ButtonSize smaller than provided
569 2006-03-21 Mike Kestner <mkestner@novell.com>
571 * ContextMenu.cs (Show): use the position parameter instead of just
572 showing at the MousePosition.
574 2006-03-21 Jackson Harper <jackson@ximian.com>
576 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
578 * TreeNodeCollection.cs: If we are clearing the root node we need
579 to reset top_node so calcs can still happen.
580 * ThemeWin32Classic.cs: This is a Flags so we need to check
583 2006-03-21 Jackson Harper <jackson@ximian.com>
585 * DataGrid.cs: Create columns when the binding context has been
587 * X11Structs.cs: Keysyms are uints.
588 - Add size to fix build.
590 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
592 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
594 - Added ResetMouseHover method to allow controls to retrigger
595 hovering if they need it more than once
596 - Implemented MouseHoverTime and MouseHoverSize properties
597 * Timer.cs: Start() must reset the interval
598 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
601 2006-03-21 Jackson Harper <jackson@ximian.com>
603 * X11Keyboard.cs: improved layout detection. Move the nonchar
604 tables into this file.
605 * KeyboardLayouts.cs: Move the tables into resource files.
607 2006-03-21 Mike Kestner <mkestner@novell.com>
609 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
611 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
613 * Mime.cs: Various speed optimizations. Looking up mime types
614 is now 2 times faster than before
616 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
618 * CreateParams.cs: Added internal menu field
620 - Switched call order for UpdateBounds; now we always call
621 the one that also takes ClientSize, and we're calculating the
622 client size via driver method in the others. The previous
623 method of tracking client size by difference wasn't working
624 for forms where even the starting client size wouldn't match
625 the overall form size (due to borders) (Part of fix for #77729)
626 - CreateParams(): Do not use parent.Handle unless the handle is
627 already created. Causes havoc with Nexxia and throws off our
630 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
631 - Switched handling of ConfigureNotify over to new PerformNCCalc
632 method (consolidates code)
633 - Changed RequestNCRecalc to use new PerformNCCalc method
634 - Added calls to RequestNCRecalc when menus and borders are changed
635 to allow app to set NC size. (Part of fix for #77729) This matches
636 when MS send a WM_NCRECALC on Win32 windows.
637 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
638 (Part of fix for #77729). This matches what MS does, they also
639 send that message when the form is made visible.
640 - XException.GetMessage: Improved usability of X errors by including
641 a translation of the window into Hwnd and Control class
642 - Improved debug info for window creation, reparenting and destruction
643 - Created helper method WindowIsMapped() [Currently not used]
644 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
646 - CreateParams: Now setting our menu on the new internal menu field
647 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
648 avoid calculating the same property twice
650 - Improved usability of ToString() for debugging purposes
651 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
652 determine the height of the menu, instead of just the font. This
653 required to also create a graphics context and to keep a bmp
654 around (for performance reasons)
656 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
658 * MenuAPI.cs: Added OnMouseUp method
660 - Now remembering the requested client size, avoids size errors
661 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
662 instead of base if the menu is active. This is required due to
663 control now capturing and releasing on down/up and it would
664 prematurely release our menu capture
666 2006-03-17 Jackson Harper <jackson@ximian.com>
668 * KeyboardLayouts.cs: Add the czech layouts.
670 2006-03-16 Jackson Harper <jackson@ximian.com>
672 * Control.cs: Use the viewport space when sizing not the controls
673 client size, so things like ScrollableControl that effect the
674 viewport size (when scrollbars are added) are computed correctly.
675 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
677 - Handle creating BindingManagers for null data sources.
678 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
679 source, otherwise when rows are added they are added to the 'fake'
680 datasource and we will crash when trying to set the position in
682 - Use Implicit scrollbars on the datagrid so they arent
685 2006-03-16 Jackson Harper <jackson@ximian.com>
688 * InternalWindowManager.cs:
689 * MdiWindowManager.cs:
690 * X11Keyboard.cs: I really want Mike to love me again (fix
693 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
696 - OnMouseDown: Switch to editing mode when clicking on the cell
697 even if we're clicking on the cell that's currently
699 - ProcessGridKey: Left/Right now wrap like MS.Net does
700 - ProcessGridKey: Tab now knows to add a new row when tab is
701 pressed in the cell of the last column of the
703 - ProcessGridKey: Enter now adds another row if pressed in the last
704 row and selectes the new row, same column cell
705 - ProcessGridKey: Home/End navigate columns, not rows, like
706 originally implemented
707 - Broke ProcessKeyPreview code out into an extra Internal method
708 so it can be called from the edit code
709 * DataGridTextBox.cs (ProcessKeyMessage):
710 - Switched to accept Tab keypresses
711 - Added F2 handling to allow jumping to the end of the edited cell
712 - Added logic to allow moving caret left/right inside edited cell
713 and making the edited cell jump when the caret hits cell borders
714 - Tab and Enter are now passed to the datagrid after being handled
716 - Removed capture code now that Control handles it
717 - set_SelectionStart now ensures caret is visible
719 2006-03-16 Jackson Harper <jackson@ximian.com>
721 * TrackBar.cs: Debackwards the increment/decrement for handling
722 mouse clicks on the bar with vertical trackbars.
723 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
726 2006-03-16 Mike Kestner <mkestner@novell.com>
728 * ListView.cs: make shift/ctrl keyboard and mouse selection
729 consistent with the MS control. Fix a bug in
730 SelectedListViewItemCollection.Clear that was pissing me off for the
731 better part of a day because the collection was being altered
732 underneath us as we walked the list.
734 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
736 * Control.cs: Not sure how we could miss this so long, but it seems
737 that MS.Net has Capture set all the way from before calling
738 OnMouseDown through sending the mouse events until after
739 OnMouseUp. This will fix DataGrid's selection being set to end
740 at the location of the MouseUp.
742 2006-03-15 Jackson Harper <jackson@ximian.com>
744 * BindingContext.cs: Check the binding after its added so that it
745 can initialize the binding managers and hookup to events.
746 * Binding.cs: Data members seem to sometimes include rows/cols in
747 the format Row.Column we now take this into account.
748 - Hookup to the position changed event so we can update the
749 control when the position has changed in the data set.
750 * CurrencyManager.cs: Take into account the row/col naming
751 convention when creating dataset tables.
752 * BindingContext.cs: Using a newer better way of storing
753 datasource/datamember pairs. Hopefully this better matches MS for
754 looking up binding managers.
757 2006-03-15 Jackson Harper <jackson@ximian.com>
759 * BindingContext.cs: The currency manager needs the data member
760 name, if the member is a data set we use the name to find the
762 * CurrencyManager.cs: When creating the list prefer an IList over
764 - Attempt to create a DataTable from a DataSet (TODO: might need
765 some better error checking here, although MS doesn't seem to have much)
766 - If we have a DataTable create a view and use it as our list.
768 2006-03-15 Mike Kestner <mkestner@novell.com>
770 * ListView.cs: keep a matrix of the icon mode layout to facilitate
771 keyboard navigation. Support Up/Down/Left/Right selection correctly
772 for all 4 View modes.
773 * ListViewItem.cs: add internal row/col fields for icon layouts.
775 2006-03-15 Jackson Harper <jackson@ximian.com>
777 * TabControl.cs: Redraw the tabs when we resize so their newly
778 calculated sizes are drawn on screen.
779 * X11Keyboard.cs: Begginnings of XIM support. We also now support
780 composite characters.
781 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
782 - filter events so that composite characters can be created
784 * X11Structs.cs: Add XIMProperties enum.
786 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
788 * Control.cs (BringToFront, SendToBack): Don't use window or handle
791 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
793 * Control.cs (PerformLayout): We don't need to consider visiblity
794 for anchoring, only for docking. This fixes 'whacky' alignment
795 in listbox and other controls that use implicit scrollbars after
796 the previous PerformLayout patch
797 * ListBox.cs: Switched to use implicit scrollbars
799 2006-03-14 Mike Kestner <mkestner@novell.com>
803 - chain up the "new event" overrides to base and use
804 OnEvent to raise them. Part of fix for bug #76509.
806 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
808 * FileDialog.cs: Do not select an item in the parent directory
811 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
813 * Control.cs (PerformLayout): It would seem that we considered
814 invisible windows for our layout. Not quite the right thing
815 to do. Now we don't any longer, thereby fixing bug #76889.
817 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
819 * Control.cs (CanFocus): I goofed. A control can have focus
820 even though it's not selectable. Made it match MS docs.
822 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
824 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
825 center by default (fixes #76895)
826 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
827 all uses of Border3DSides.All with the explicit ORd together
828 Left|Right|Top|Bottom because I assume that nobody was aware
829 that All also implies a center fill. Most places I checked had
831 * ProgressBarStyle.cs: Added
833 2006-03-13 Mike Kestner <mkestner@novell.com>
835 * ListView.cs: fix breakage in drag shadow header positioning
836 from Peter's csc compilation fix.
838 2006-03-13 Mike Kestner <mkestner@novell.com>
840 * ListView.cs: fix NRE produced by backspacing twice in a focused
843 2006-03-13 Mike Kestner <mkestner@novell.com>
845 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
847 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
849 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
851 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
852 the allowed size before making programmatic size changes
854 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
856 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
857 set, metacity is broken and will still use the emty sizes in
858 the struct. (Fix for #77089)
860 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
862 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
863 WindowExStyles and marked both enums as Flags
864 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
865 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
866 to match WindowStyles split
868 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
869 - Updated to match WindowStyles split
871 - Fixed FosterParent creation, was using ExStyle on the Style field
872 (This should help with Popup focus issues)
873 - Updated to match WindowStyles split
875 2006-03-13 Jackson Harper <jackson@ximian.com>
877 * MdiWindowManager.cs: Use the system menu height. Fixes some
878 strange sizing issues.
880 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
882 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
884 - Scroll to caret after inserting text (#77672)
885 - Make scroll range one pixel higher, fixes off-by-one error (and
886 makes underlines visible on the last line)
888 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
890 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
891 the keyboard state from being stuck with keys in 'pressed' state when
892 focus is switched away via keyboard
893 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
894 reset the keyboard if no X11 KeyUp events are expected to come
895 * X11Structs.cs: Switched type of Visible to bool to match driver
897 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
900 - Switched caret to be just 1 pixel wide, matches MS and looks less
902 - Moved caret display 1 pixel down from the top of the control
904 - InsertCharAtCharet: Update the selection start if moving the caret
905 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
906 - No longer always creating the caret when the caret methods are
907 called. Only the actual ShowCaret/HideCaret will do that now
908 - Only setting caret visible if the owner control has focus
909 - UpdateView: Added invalidation-shortcut logic for center and right
910 aligned text. Previously we'd update all according to the left
911 logic which caused drawing errors. Also fixed height of invalidated
912 areas, now properly invalidating the whole area (was off-by-one)
913 - owner_HandleCreated: Always generate the document when the
914 handle is created; this ensures that
916 - Fixed situation where caret would disappear under the right
917 window border, also improved scrolling behaviour on left-
919 - Fixed right-aligned textboxes to have a border to the
920 right instead of the caret being under the right border
922 - Switched from 'nested' to simple visible/not visible tracking
923 for caret (part of fix for #77671)
924 - No longer passing through translated FocusIn/FocusOut messages
925 since we were notifying too often and the wrong windows. Instead
926 we just notify our focussed window of receiving or loosing focus
927 * XplatUIWin32.cs: Switched from 'nested' show/hide
928 counting for caret to simple visible yes/no behaviour (part of
931 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
933 * Mime.cs: Remove debug code...
935 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
937 * MimeGenerated.cs: Removed
938 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
939 and subclasses) from /usr/(local/)share/mime and
940 $HOME/.local/share/mime.
942 2006-03-10 Jackson Harper <jackson@ximian.com>
944 * MdiWindowManager.cs: Recalc the NC area when a window is
945 maximized/restored so that the menu area is drawn on forms that
948 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
950 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
951 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
952 us to force a WM_NCCALCRESIZE message being sent. This is needed
955 2006-03-10 Jackson Harper <jackson@ximian.com>
957 * Form.cs: We need to use the ActiveMenu when calculating menu
959 - Fix nullref when the window manager hasn't been created yet.
960 * Control.cs: Fix nullref when we try to bring a control to the
961 front that has no parent.
962 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
964 - Add a dummy item to the maximized menu so it always has the
965 correct height. Otherwise when there are no menus we don't get our
969 2006-03-10 Jackson Harper <jackson@ximian.com>
971 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
973 * Form.cs: Make the window_state internal so the window managers
975 - When an MDI child is maximized let its window manager create the
976 main menu (so it can add its icon).
977 - Notify the window managers of state changes
978 - Let the window manager paint its buttons and handle button
979 clicks on the menu when it is maximized.
980 * InternalWindowManager.cs: Move the prev_bounds into the mdi
981 window manager, since tool windows don't use it, only mdi windows.
982 - Tell the main form that we don't want it to handle NCPAINT
983 itself to avoid extra painting.
984 - Handle clicks on a maximized windows menu.
985 - Handle window state changes
986 - Handle minimize/maximize clicks correctly by setting the window state.
987 * MdiWindowManager.cs: Add an icon menu that (the menu you get
988 when clicking on the forms icon).
989 - New method to create a forms maximized menu. This is its normal
991 - Handle window state changes.
992 - Handle sizing of maximized windows. Maximized windows are just
993 drawn bigger then the parent visible area. All controls are still
994 there, they are just outside the visible area (this matches windows).
995 * MdiClient.cs: No scrollbars when a child window is maximized.
996 - Let the children windows figure out how big they should be when
997 sizing maximized windows.
998 - Implement a version of ArrangeIconicWindows somewhat similar to
999 Windows version. There are some little differences, but I don't
1000 think any app will rely on the layout of minimized mdi windows.
1002 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1004 * Padding.cs: Several fixes to allow compiling with csc 2.0
1006 2006-03-09 Jackson Harper <jackson@ximian.com>
1009 * MenuItem.cs: Cheap hack so we can add items to the list without
1010 the events being raised. This allows adding mdi items during
1011 drawing. TODO: Should probably find a better time to add the items.
1013 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1015 * ThemeWin32Classic.cs:
1016 - CheckBox_DrawText: Added logic to not wrap if not enough space
1017 is available (Fix for bug #77727)
1018 - RadioButton_DrawText: Added logic not to wrap if not enough
1019 space is available (Fix for bug #77727). Also removed some
1020 duplicate code, DrawString always drawing the regular text
1021 before hitting the if statement.
1023 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1025 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1027 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1029 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1030 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1031 methods. Moved the new 2.0 properties into alphabetical order with
1032 other properties and added MonoTODO tags
1034 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1036 * AutoScaleMode.cs: Added. Fix build.
1038 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1040 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1041 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1042 and was requiring premature handle creation for calls from above
1043 * Form.cs, Control.cs: Removed handle arguments from calls to
1044 CalculateClientRect()
1046 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1048 * ListView.cs (HeaderMouseMove): Fix csc compilation.
1049 drag_column.column_rect is MarshalByRef and can't be used that way
1051 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1053 * AxHost.cs: Added deserialization constructor for
1054 AxHost+State (fixes 77743)
1056 2006-03-09 Mike Kestner <mkestner@novell.com>
1059 - Added column drag reordering for details view.
1060 - fixed behavior when mouse is dragged off column and
1061 AllowColumnReorder is false.
1062 * ColumnHeader.cs: clone the format too in Clone.
1063 * Theme.cs: add DrawListViewHeaderDragDetails method.
1064 * ThemeWin32Classic.cs:
1065 - impl new method for drawing drag column shadows and targets.
1066 - support column offset for details mode in DrawListViewItem.
1068 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1070 * TextControl.cs: Reset the char_count when the document is cleared
1071 (Fixes bug reported on mono-winforms mailing list)
1073 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1075 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1076 of calling base we simply process the key ourselves, since both
1077 DefWindowProc and the handled method would set m.Result.
1080 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1082 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1083 method also moves the window; instead implemented a copy of
1084 Control.ScaleCore (Part of fix for #77456)
1086 - Created new CreateGraphicsInternal method to allow providing
1087 a graphics context when no handle is created without triggering
1088 handle creation. (Part of fix for #77456)
1089 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1091 - Switched Constructor to require TextBoxBase instead of Control (to
1092 allow uncast access to CreateGraphicsInternal)
1093 - Safeguarded use of owner.Handle property. No longer accessing it
1094 unless the handle is already created.
1095 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1096 - Now triggering a recalc when owning control becomes visible
1097 * TextBox.cs, RichTextBox.cs: Switched to use new internal
1098 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1099 premature handle creation (Part of fix for #77456)
1101 - We now only destroy our double-buffering buffers when the
1102 control is resized or disposed, but not when visibility
1103 changes. (The code even re-created them twice every time)
1104 - Now requiring a redraw of the buffer on visibility changes
1105 (fixes bug 77654 part 2)
1106 - Not passing OnParentVisibleChanged up unless the control
1108 - CanFocus: Fixed to match MS documentation
1109 - Focus: Fixed to return actual focus state and to check if
1110 setting focus is legal before setting it
1112 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
1114 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1115 when to draw focus rectangle by looking at parent focus and
1116 selected state instead. This fixes TabPages on Linux sometimes
1117 having none or multiple focus rectangles.
1118 * XplatUIX11.cs (SetFocus):
1119 - Don't set the focus if the same window already has focus
1120 - Use SendMessage instead of PostMessage (like it's Win32
1121 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1122 to match MS behaviour
1123 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1126 2006-03-07 Jackson Harper <jackson@ximian.com>
1128 * PictureBox.cs: Revert line I accidently committed last week.
1130 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1133 - Added new IsRecreating and ParentIsRecreating properties to
1134 allow testing if RecreateHandle has been called on ourselves
1135 or one of our parents
1136 - WndProc(WM_DESTROY): If our control handle is being recreated
1137 we immediately need to create the handle when receiving the
1138 destroy, that way our child windows find a valid parent handle
1139 when they themselves are being recreated upon WM_DESTROY receipt
1140 (fix for bug #77654 part 1)
1142 - DestroyWindow: WM_DESTROY must be sent to our own window before
1143 notifying any child windows. MS documents that child windows
1144 are still valid when WM_DESTROY is received. (Control now relies on
1146 - Added some fine-grain debug options
1148 2006-03-06 Jackson Harper <jackson@ximian.com>
1150 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1151 box and base calculations off this.
1152 * MdiChildContext.cs:
1153 * MdiWindowManager.cs: Don't need to ensure scrollbars here
1156 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
1158 * Splitter.cs: In situations where the affected control is added
1159 to the parent's control list after the splitter, we would not
1160 populate affected. Now we try populating it on mousedown, if
1161 it's not already set, and force it to be re-set whenever our
1164 2006-03-03 Matt Hargett <matt@use.net>
1166 * Control.cs: implement Control.Padding
1167 * Padding.cs: -Padding.All returns -1 when constructing with the
1168 implicit default ctor
1169 -Padding.ToString() matches MS.NET
1170 * ContainerControl.cs: implement
1171 ContainerControl.AutoScaleDimensions
1172 * ListControl.cs: implement ListControl.FormattingEnabled
1173 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1175 * TabPage.cs: Implement UseVisualStyleBackColor.
1176 * PictureBox.cs: Implement PictureBox.InitialImage.
1178 2006-03-03 Mike Kestner <mkestner@novell.com>
1180 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1181 event declarations to proxy to base event.
1182 * ListViewItem.cs: update to use ItemControl.
1183 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1184 * ThemeWin32Classic.cs: update to new ListView theme API and fix
1185 column header label rendering for 0 width columns.
1187 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
1189 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1190 that causes the control to be created. Fixes #77476.
1192 2006-03-02 Jackson Harper <jackson@ximian.com>
1194 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1197 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1199 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1200 passed in for the EventArgs (fixes #77690)
1202 2006-03-01 Jackson Harper <jackson@ximian.com>
1204 * ScrollBar.cs: Refresh afterbeing resized.
1206 2006-02-28 Mike Kestner <mkestner@novell.com>
1208 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1209 Clean up a tracker compile warning.
1210 * MenuItem.cs: add internal PerformPopup method.
1213 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1215 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1216 implicit expose) when the text is set to null
1218 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1220 * RichTextBox.cs (FlushText): When newline is true, we always
1221 need to split the line, even if no text is on it and we may
1222 never eat newlines. (Fixes #77669)
1224 2006-02-28 Mike Kestner <mkestner@novell.com>
1226 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
1227 and set Selected instead.
1228 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
1231 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1233 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1235 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
1238 - Got rid of the panel. All controls are now directly added to
1240 - It is now possible to set a font with the Font property
1241 - MinSize and MaxSize property do now what they should
1242 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1243 - Searching and selecting a font with the font textbox works now,
1244 the same applies to the style and size textbox
1245 - Draw the correct 3D border in the example panel
1246 - Fixed a little mem leak (unused fonts didn't get disposed)
1247 - Many other internal updates/rewrites...
1250 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1253 - InsertRTFFromStream: Added 'number of characters inserted' argument
1254 - set_SelectedRTF: Now using the number of characters to calculate
1255 the new location for the selection and cursor (x/y cannot be used
1256 due to potentially already wrapped text)
1258 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1260 * TextControl.cs: Added property and implemented means to allow
1261 disabling recalculation of a document (can be used to speed up
1262 multiple inserts and is needed to make RTF inserts predictable, see
1264 * RichTextBox.cs: Using the new NoRecalc property of Document to
1265 keep x/y insert locations predictable. Also makes it faster inserting
1268 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1270 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1271 it's easier for a child control to handle the other messages without
1272 having to duplicate the special functionality
1274 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1275 code to handle processing the key ourselves, in order to get
1276 access to the result of KeyEventArgs.Handled. We now only call
1277 ProcessKey if they key hasn't been handled already. Fixes #77526.
1278 - set_Text: If null or empty string is given, just clear the
1279 document. Fixes part of #77526
1281 2006-02-27 Jackson Harper <jackson@ximian.com>
1283 * SizeGrip.cs: Paint the background color before painting the grip
1284 so things look right.
1285 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1287 2006-02-27 Mike Kestner <mkestner@novell.com>
1290 - Restructure layout and invalidation model to remove a ton of
1291 flicker from the control and speed up performance in general.
1292 - Add manual column resize, flickers like crazy, but I already have
1293 some ideas on how I'll fix that. (#76822)
1294 - Merge the three Icon-based views into a single layout method.
1295 - Move item selection interaction logic from the item since
1296 interaction with the collections is more appropriate to the view.
1297 - Deselection on non-item clicks.
1299 - Encapsulate most of the layout. Add some internal props to trigger
1300 layout. Move to a model where Items invalidate themselves instead
1301 of just invalidating the whole control every time something changes.
1302 - Invalidate on Text/Caption changes.
1303 - switch to an offset based layout model to avoid having to absolute
1304 position every element on item moves.
1305 - correct checkbox layout to conform to MS layout.
1306 * ThemeWin32Classic.cs:
1307 - refactor some column header drawing code.
1308 - fix string justification for column headers (#76821)
1309 - make SmallIcon labels top justified for compat with MS impl.
1310 * ThemeClearlooks.cs:
1311 - adjust to new ListViewItem internal checkbox bounds api.
1313 2006-02-27 Jackson Harper <jackson@ximian.com>
1315 * Control.cs: Change where implicit controls fall in the zorder.
1316 They are now on top of all children.
1317 - Synced AddImplicit code with Add
1318 - Removed unused enumerator.
1319 * SizeGrip.cs: Remove the TODO as its been TODONE.
1321 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1323 * TextControl.cs(Insert): Combine the last lines unless the insertion
1324 string ends with \n\n, otherwise we leave one line too many (Fixes
1325 something I noticed with the testapp for #77526; the bug itself was
1326 already fixed in the previous checkin)
1328 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1331 - SelectionColor and SelectionFont methods no longer set absolute
1332 styles. Instead, the keep font or color respectively (This
1333 resolves a long-standing FIXME in the code)
1334 - When flushing RTF text, the insert code now considers text trailing
1335 behind the insertion point (Fixes the bug where when replacing
1336 the selected text via SelectedRTF the remainder of the line behind
1337 the selection would stay on the first insertion line)
1339 - AppendText now updates the selection points after inserting text
1340 - AppendText now ensures that the last tag (sometimes 0-length) of
1341 the document is used for the style information (Fixes part of
1344 - Created new FontDefiniton class to allow describing partial style
1346 - StreamLine() now takes a lines argument, to allow it to decide
1347 whether an encountered zero-length tag is the last in the document
1348 (which must be kept to not loose the font/color contained in it,
1350 - Created Combine() and Split() methods for Marker structs, to
1351 support marker updates due to reformatted documents (soft line
1353 - Implemented Document.CaretTag setter
1354 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1355 of the last line (Not the cause, but also exposed by bug #77220)
1356 - Added LineTag argument to InsertString method, to allow callers
1357 to force a certain tag to be used (required to force use of the
1358 trailing zero-length tag of a document)
1359 - Now updating markers in Combine(), to avoid stale tag markers
1360 - Added some method descriptions to aid maintenance
1361 - Implemented new FormatText concept, allowing additive/subtractive
1362 formatting by only specifying the components that are to be
1363 changed. This was needed for resolving the RTB.SelectedColor/
1364 RTB.SelectedFont fixmes
1365 - Added Break() support method to allow breaking up linetags (used
1366 for partial formatting)
1367 - Added GenerateTextFormat() method. It is used for partial
1368 formatting and allows to generate a full font/color from given
1369 attributes and an existing tag.
1371 2006-02-26 Jackson Harper <jackson@ximian.com>
1373 * XplatUIX11.cs: Use the correct caption height.
1374 - Translate hittest coordinates to screen coords to match MS.
1375 * XplatUIWin32.cs: When we create MDI windows we need to reset
1376 some of the style flags, so we get a nice blank window, and can
1377 draw all the decorations ourselves.
1378 - Set a clipping rectangle on the non client paint event, the
1379 window manager drawing code needs one.
1380 * Form.cs: The window manager needs to know when the window state
1382 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1383 don't need to factor in border and title sizes in these
1384 methods. TODO: Remove the args and fix the call points.
1385 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1387 - Let the driver set the cursors.
1388 - Improve active window handling
1389 - Correct sizes for title bars and buttons.
1390 - Match MS drawing better
1391 * MdiWindowManager.cs: We don't need to handle border style
1392 updates specially anymore.
1393 - Check for scrollbars when windows are done moving
1394 - Handle Active properly.
1395 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1396 correctly. I am spewing the exception though, so we don't hide the
1399 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
1401 * DataGridViewRowPostPaintEventArgs.cs,
1402 DataGridViewCellPaintingEventArgs.cs,
1403 DataGridViewRowCollection.cs,
1404 DataGridViewRowPrePaintEventArgs.cs,
1405 DataGridViewCell.cs: Clear a few warnings and implement a few
1406 exceptions that should be thrown.
1408 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1410 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1411 'inheriting' our parent's (non-default) cursor. (Part of
1414 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1416 * XplatUIX11.cs: Fixed cast to make csc happy
1418 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1420 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1421 it's for the client area (part of fix for #77479 and needed
1422 for MDI window cursor handling)
1424 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1425 the appropriate default cursors and also passing the message
1427 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1428 for non-client areas
1430 2006-02-15 Jackson Harper <jackson@ximian.com>
1432 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1433 is a real MDI window
1435 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
1437 * X11DesktopColors.cs: Instead of checking the desktop session
1438 string for "KDE" check if it starts with "KDE"
1440 2006-02-10 Jackson Harper <jackson@ximian.com>
1442 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1445 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1447 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1450 - Got rid of the panel. All controls are now directly added to
1452 - Changed to mono coding style
1454 2006-02-10 Jackson Harper <jackson@ximian.com>
1456 * InternalWindowManager.cs: We don't need the set visibility to
1457 false hack anymore now that peter has written beautiful shutdown
1460 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
1462 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1463 where already explicitly destroyed
1465 2006-02-10 Jackson Harper <jackson@ximian.com>
1467 * MdiClient.cs: Handle the case where windows are too high or to
1468 the left and we need scrollbars.
1470 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1472 * MimeIcon.cs: Added some icons
1475 - Got rid of the panel. All controls are now directly added to
1477 - Changed to mono coding style
1478 - On Linux "My Computer" and "My Network" will now show some
1479 more usefull information. A new class, MasterMount, gathers
1480 this information from /proc/mount. Updated MWFFileView to make
1481 use of this information
1482 - Fixed a bug that caused FileDialog to crash when
1483 ".recently_used" file had a zero size
1484 - FilterIndex does now what it should
1486 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1489 2006-02-09 Jackson Harper <jackson@ximian.com>
1491 * ComboBox.cs: Don't touch if null.
1493 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1495 * Cursor.cs: 64bit safeness fix
1496 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1498 2006-02-09 Jackson Harper <jackson@ximian.com>
1500 * Form.cs: If a form is made into an MDI form update the styles so
1501 all the props can get set correctly.
1502 - Kill the mdi_container when we dont need it anymore.
1503 * InternalWindowManager.cs: Add missing NOT
1505 2006-02-08 Jackson Harper <jackson@ximian.com>
1507 * InternalWindowManager.cs: Respek clipping when drawing MDi
1510 2006-02-08 Jackson Harper <jackson@ximian.com>
1512 * Hwnd.cs: Add bits to track non client expose events.
1513 * XplatUIX11.cs: Track non client expose events on the hwnd. This
1514 gives us a proper invalid rect and will allow for some nice
1515 optimizations with NC client drawing
1516 - MDI windows are children windows, so move their style handling
1517 into the child window block.
1518 * InternalWindowManager.cs: Remove a state reset that was
1519 getting invoked at the wrong time. Fixes managed windows getting
1520 into a 'stuck' captured state.
1522 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1524 * TextControl.cs (Document.ctor): Now initializing
1525 selection_anchor. Fixes #77493
1527 2006-02-07 Jackson Harper <jackson@ximian.com>
1529 * TrackBar.cs: The increment/decrements were backwards.
1531 2006-02-07 Mike Kestner <mkestner@novell.com>
1533 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1534 to the instance itself.
1536 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1538 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1539 on ulongs and pointers, the size differs between 32bit and 64bit
1542 2006-02-07 Mike Kestner <mkestner@novell.com>
1544 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1545 for 64 bit platforms to work around a metacity bug.
1547 2006-02-07 Jackson Harper <jackson@ximian.com>
1549 * TrackBar.cs: Process the input keys we need, and hookup to
1550 KeyDown instead of using WndProc, so we get key messages.
1552 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1554 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1556 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1557 we need to translate the XdndVersion atoms array before sending it
1559 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1562 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1563 number of bits for the property, not the number of bytes. The
1564 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1565 but would not crash since it specified 8 bits instead of 4 bits)
1566 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1567 defined as XID -> long in the C headers)
1568 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
1569 references since those are now IntPtr to begin with
1570 - Switched all Atom.XXX 'int' casts to IntPtr casts
1571 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1572 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1573 - Added XChangeActivePointerGrab DllImport (for X11DnD)
1575 - Changed 'int' type for Atoms in XEvent structures to IntPtr
1576 - Changed atom in HoverStruct to be IntPtr
1578 - Removed local DllImports, switched code to use those from XplatUIX11
1579 - Removed/fixed casts related to the switch of Atom to be a IntPtr
1581 2006-02-06 Mike Kestner <mkestner@novell.com>
1583 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
1584 method signatures in the import region. There may still be some
1585 lingering struct marshaling issues, as I didn't drill down into those.
1588 2006-02-06 Jackson Harper <jackson@ximian.com>
1590 * ComboBox.cs: Dont manually set the top_item, this is computed
1591 when the scrollbar position is set.
1593 2006-02-06 Mike Kestner <mkestner@novell.com>
1595 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1596 startup crashes on amd64. There's other fixes needed. All pinvoke
1597 usage of Atom needs to be mapped to IntPtr for example. And there are
1598 likely other int/long issues to be addressed.
1600 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
1602 * FileDialog.cs: One more...
1604 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1606 * FileDialog.cs: Next try
1608 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1610 * FileDialog.cs: First part of fix for #77464
1612 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1614 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1615 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1616 AcceptButton border drawing.
1618 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1620 * Form.cs: Moved positioning of form after auto scaling is applied,
1621 otherwise it would possibly use wrong form size.
1623 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1625 * Control.cs (RecreateHandle): No need to re-create any child
1626 controls, the child windows will get destroyed automatically by
1627 the windowing system or driver, and re-created when the handle
1628 is being accessed the first time. Fixes #77456
1629 * Form.cs: No longer setting the form to closing if the handle is
1630 being recreated. This seems like the right thing to do, don't
1631 have a bug or testcase for this, though.
1633 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1635 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1636 controls to avoid unwanted side effects
1638 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1641 - ScaleCore needs to scale the bounds, not the ClientSize of the
1642 control. Fixes #77416.
1643 - DefaultSize is 0,0 for control
1645 - DefaultSize is 100, 20
1646 - SetBoundsCore: Now enforcing the height, no matter if the provided
1647 height is more or less than the preferred one, as long as AutoSize
1649 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1651 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1654 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1655 call unless both performLayout is true *and* we have a pending
1657 - ResumeLayout: MS does not completely nest Suspend and Resume,
1658 they bottom out at 0, fixed our code to match that.
1659 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1660 SetBoundsCore, we were updating even when we shouldn't. This fixes
1661 swf-anchors mis-anchoring when resizing the app fast and lots.
1662 - UpdateDistances: Now only setting the left and top distance if
1663 we have a parent and are not suspended, this is based on
1664 a suggestion by Don Edvaldson in bug #77355.
1665 - OnVisibleChanged: Fixed logic when to create the control. We may
1666 not create the control if we have no parent or if it's not visible;
1667 switched to using Visible property instead of is_visible field
1668 since the property also considers parent states. This fixes a bug
1669 when starting Paint.Net
1671 2006-02-02 Jackson Harper <jackson@ximian.com>
1673 * Form.cs: If the forms handle hasn't been created yet don't call
1674 into xplatui to make it top most, just set the topmost flag on the
1675 form in CreateParams
1676 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1678 2006-02-01 Jackson Harper <jackson@ximian.com>
1680 * ScrollableControl.cs: Refactored the Recalculate method a
1681 little, this wasn't handling all the variants of bottom and right
1682 bars needed to be added and added/removed based on their
1683 counterparts being added/removed (which changes the drawable
1684 size). Also we special case client widths and heights of 0 and
1685 don't add the scrollbar for those.
1687 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
1690 - Added method to get AbsoluteGeometry(); currently unused, but might
1691 be used in the future, if we try again to figure out toplevel
1692 coordinates with some more crappy window managers
1693 - Added FrameExtents() method to retrieve the WM set decoration size
1694 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
1695 to deal with at least KDE, FVWM and metacity (Fixes #77092)
1697 - Added whacky_wm tracking var for metacity
1698 - Added logic to have default menu height if the actual menu height
1699 has not yet been calculated (part of fix for #77426)
1700 * Form.cs: Keep track whether client size has been set and re-set
1701 it if a menu is added/removed afterwards (Fixes #77426)
1703 2006-01-31 Jackson Harper <jackson@ximian.com>
1705 * Control.cs: When a new Site is set on the component attempt to
1706 pull the AmbientProperties from it.
1708 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
1710 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1711 in the background of the owning form. Fixes #77332
1713 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1715 * MimeIcon.cs: Fix for #77409
1717 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1719 * XplatUIX11GTK.cs: Initial import
1721 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1723 * FixedSizeTextBox: fixes class signature
1725 2006-01-30 Jackson Harper <jackson@ximian.com>
1727 * FixedSizeTextBox.cs: New internal class that represents a
1728 textBox that will not be scaled.
1731 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1734 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1736 * XplatUIX11.cs: Retrieve default screen number instead of
1737 assuming 0. Attempted fix for #77318
1739 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1742 - GetWindowPos: When a window is parented by FosterParent, use
1743 the desktop instead of FosterParent as the base to get coordinates
1744 - CreateWindow: Don't make FosterParent the parent window for Popups
1745 if we don't want a taskbar entry, Popups automatically don't get one
1746 * Hwnd.cs: Need to call remove to actually remove the key from the
1749 2006-01-30 Mike Kestner <mkestner@novell.com>
1751 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1753 2006-01-30 Jackson Harper <jackson@ximian.com>
1756 * TreeNode.cs: Raise events no matter how the treenode is
1757 checked. Patch by Don Edvalson.
1759 2006-01-30 Jackson Harper <jackson@ximian.com>
1761 * TreeNode.cs: Signature fix.
1763 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
1765 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1767 2006-01-20 Mike Kestner <mkestner@novell.com>
1769 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1770 event forwarding when menus are active.
1771 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
1772 Most of the patch is pdb's with a little rework.
1774 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1776 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
1777 Removed GetMenuDC and ReleaseMenuDC methods; replaced
1778 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1779 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1780 * InternalWindowManager.cs: Added use of PaintEventStart/End to
1781 handling of WM_NCPAINT message, now passing the PaintEventArgs to
1782 the PaintWindowDecorations method
1783 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1784 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1785 * MenuAPI.cs: Made tracker window invisible
1787 - Removed GetMenuDC and ReleaseMenuDC methods
1788 - Implemented the client=false path for PaintEventStart and
1791 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1793 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1794 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1797 - MaximizeBox, MinimizeBox: Recreate the handle when setting
1799 - CreateParams: Reworked the styles to match MS look'n'feel,
1800 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1801 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1803 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1805 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
1806 window is not mapped, since otherwise every form that's being
1807 created is considered minimized, which is wrong.
1808 * Form.cs: Catching the exception and returning our internal value
1811 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1813 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1814 SetWindowMinMax() to have means to tell the driver about the minimum,
1815 maximum and maximized state window sizes. (Part of the fix for #76485)
1817 - Implemented tracking of minimum and maximum window size, now calling
1818 new SetWindowMinMax() driver method to tell the driver (Part of the
1820 - Finished handling of WM_GETMINMAXINFO method, now setting all values
1821 (Completes fix for #76485)
1822 - Calling new SetWindowMinMax driver method when the handle for a
1823 form is created, to make sure the driver knows about it even if
1824 the values have been set before the window was created
1825 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1826 to avoid messing up our anchoring calculations (partial fix
1828 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1830 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1831 - Improved GetWindowState() to detect 'Minimized' state on Metacity
1832 (and presumably other freedesktop.org compliant WMs). Left the
1833 assumption unmapped=minimized, needed for SetVisible to work.
1834 - Now setting the window state when creating windows
1835 - Fixed SetVisible to consider/set the window state when mapping
1836 a Form. We cannot set the state before it's mapped, and we cannot
1837 use Form.WindowState once it's mapped (since it would ask the
1838 driver and get 'normal'. Therefore, we grab the state before
1839 mapping, map, and then set state.
1840 - Implmemented SetWindowMinMax method; Metacity does not seem to
1841 honor the ZoomHints, though.
1843 - Removed MINMAXINFO (moved to XplatUIStructs)
1844 - Added SetWindowMinMax stub (on Win32 the only way to set that
1845 information is in response to the WM_GETMINMAXINFO message, which
1846 is handled in Form.cs)
1847 - Added logic to SetVisible to set the proper window state when a
1848 form is made visible (fixes #75720)
1850 2006-01-26 Jackson Harper <jackson@ximian.com>
1852 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1853 same way we handle them with Invoke.
1855 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
1858 - Added tracking of window state so CreateParams can return
1859 the appropriate style
1860 - Moved setting of WS_CAPTION style in CreateParams to allow
1861 styles without caption
1862 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
1863 control if the TextBox property is accessed. Fixes #77345
1865 - get_Created: now uses is_disposed and is_created to determine
1866 return value (suggested by Jackson)
1867 - CreateHandle: No longer exits if the handle is being recreated
1868 - RecreateHandle: If the handle is not yet created call the
1869 appropriate method to create either control or handle. If the
1870 control is already created CreateHandle will simply exit instead
1871 of just creating the handle
1872 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1873 now SendMessage WM_DESTROY directly to the control when DestroyWindow
1876 - When DestroyWindow is called, instead of waiting for the
1877 DestroyNotification from X11, we directly post it to the WndProc
1878 and immediately dispose the hwnd object.
1879 Same applies to DestroyChildWindows, and this obsoletes the
1880 expose_pending tracking. Contrary to Win32 behaviour we destroy our
1881 child windows before our own, to avoid X11 errors.
1882 - Removed the direct sending of WM_PAINT on UpdateWindow
1884 - Reworked DoEvents and GetMessage to allow access to internal queue
1885 even when trying non-blocking access to the queue. Fixes #77335.
1886 Based on a patch suggestion by Don Edvalson. The new private
1887 GetMessage can now also be used as a backend for a PeekMessage
1889 * XplatUI.cs: Improved debug output for CreateWindow
1891 2006-01-25 Jackson Harper <jackson@ximian.com>
1893 * Help.cs: Allow param to be null. Patch by Don Edvalson.
1895 2006-01-24 Jackson Harper <jackson@ximian.com>
1897 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1898 when we have a MaxDropItems lower then the selected index.
1900 2006-01-24 Jackson Harper <jackson@ximian.com>
1902 * Control.cs: Don't allow selection of non visible controls, allow
1903 selection of controls without parents.
1905 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1907 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1908 * DataGridDrawingLogic.cs: Add editing row only when is necessary
1910 2006-01-23 Jackson Harper <jackson@ximian.com>
1912 * UpDownBase.cs: Make the textbox handle all the selection and
1913 tabbing. This fixes tabing to updown controls.
1915 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1917 * TextBoxBase.cs: fixes exception thown the object was null
1919 2006-01-23 Jackson Harper <jackson@ximian.com>
1921 * ButtonBase.cs: Just use the base CreateParams. They set
1922 visibility and enabled correctly.
1925 * MonthCalendar.cs: Lets let the base set as much of the
1926 createparams as possible so we don't have duplicate code all over
1929 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
1931 * ThemeGtk.cs: Added TrackBar and some experimental code to
1932 get double buffering back
1934 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
1936 * DataGrid.cs: Allows row number set internally higher than the last
1937 when creating a new row. Restores the editing functionality.
1939 2006-01-20 Mike Kestner <mkestner@novell.com>
1941 * MimeIcon.cs: delay Image creation until the icons are accessed
1942 instead of creating 190 scaled images on GnomeHandler startup.
1944 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1946 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1947 first call base before processing the event. Fixes #77279
1949 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1951 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1952 that the stride for the GDI bitmap would match the stride of
1955 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
1957 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1959 2006-01-19 Jackson Harper <jackson@ximian.com>
1961 * ComboBox.cs: Hookup the text controls keydown event so we get
1962 those when the text control has the focus.
1964 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1966 * Label.cs: Now using the base events instead of defining new ones;
1967 this allows us to just call the base properties without having to
1968 duplicate all base property logic
1970 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1972 * Label.cs: A label by default is not a tabstop (Fixes one of our
1973 failing nunit tests)
1975 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1977 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1978 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1980 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1982 * Cursor.cs: Reimplemented creating cursor bitmaps without using
1983 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1986 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
1987 constructor creates images that can't be saved. Part of the fix
1989 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1990 - SetWindowState: Switched ShowWindow flags (part of an upcoming
1991 bug fix for handling window state in forms properly)
1993 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1995 * ThemeGtk.cs: Simplify ScrollBar drawing
1997 2006-01-18 Jackson Harper <jackson@ximian.com>
1999 * Splitter.cs: Set the default dock style for the splitter control
2002 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2004 * ThemeGtk.cs: Corrected StateType and ShadowType for
2007 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2009 * Control.cs: Make use of Theme.DoubleBufferingSupported
2011 - Added drawing for flat style buttons
2012 - Added ScrollBar drawing
2014 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2016 * ThemeClearlooks.cs: Removed some unneeded code.
2017 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2019 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2021 * LinkLabel.cs: We need to update the hover drawing when
2022 leaving the control as well.
2024 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2026 * DataGrid.cs: Clicking on non empty areas in the columns
2027 area was giving an exception
2029 2006-01-17 Jackson Harper <jackson@ximian.com>
2031 * ThemeWin32Classic.cs:
2032 * ListView.cs: Do not draw/clip the headers when the header style
2035 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2037 * DataGrid.cs: Fixes 77260
2039 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2041 * DataGrid.cs: Clicking on a column on a empty grid was giving
2044 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2046 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2047 or any keypress will crash the grid.
2049 2006-01-17 Mike Kestner <mkestner@novell.com>
2051 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2052 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
2053 invisible/previously-visible items.
2056 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
2058 * ThemeClearlooks.cs:
2059 - Added CL_Draw_Button method; now other theme controls that are
2060 not derived from button or do not have a button can draw buttons
2062 - Updated ComboBox drawing
2063 - Beautified RadioButton drawing
2064 - Corrected drawing of bottom and left tabs
2065 - Beautified DateTimePicker and MonthCalendar
2066 - Added CPDrawButton and CPDrawRadioButton
2068 2006-01-16 Jackson Harper <jackson@ximian.com>
2070 * ComboBox.cs: Set the initial value of the scrollbar to the
2071 current index. Reduce the numbers of refreshs and IndexOfs called.
2073 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
2075 * FileDialog.cs: When the file listview is focused hitting the
2076 backspace key moves the fileview to the parent directory
2078 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2081 - Added RecreateHandle call when changing taskbar visibility to
2082 trigger reparenting in Win32 driver (Fixes #75719)
2083 - If a window has minimize or maximize buttons, it cannot have
2086 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2087 the toplevel form with FosterParent (A toolwindow not on the
2088 taskbar) (Fixes #75719)
2089 - Made FosterParent a toolwindow
2091 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2093 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2095 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2097 * ToolTip.cs: If SetToolTip is called from a control and the mouse
2098 is currently over that control, make sure that tooltip_window.Text
2101 2006-01-13 Mike Kestner <mkestner@novell.com>
2103 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2105 2006-01-13 Jackson Harper <jackson@ximian.com>
2107 * TreeView.cs: On MS GetNodeAt never actually factors in the X
2108 value passed. Also redraw the selected node when we recieve
2109 focus, so tabbing between trees works correctly.
2111 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2113 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2114 ~/.gconf/%gconf-tree.xml, so use
2115 .gconf/desktop/gnome/interface/%gconf.xml
2117 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2119 * TextControl.cs: Draw text in gray if control is disabled
2121 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2123 * TreeView.cs: Draw the focus rectangle outside the highlight, to
2124 make sure it's always visible. Fixes #76680.
2126 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2128 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2130 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
2132 * PageSetupDialog.cs: Added.
2133 * PrintDialog.cs: Attributes.
2134 * PrintPreviewControl.cs: Updates.
2135 * PrintPreviewDialog.cs: Updates.
2137 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2139 * Control.cs: Undid my selection check fix, since it's not needed
2141 - Now considering the presence of hscroll/vscroll when sizing
2142 vscroll/hscroll respectively. Fixed bug #77077
2143 - Added Left/Up/Down/Right to IsInputKey list to prevent
2144 ContainerControl from stealing them. This fixes what I broke
2145 with my last checkin.
2147 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2149 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2150 I finally understand how the property can be set without a setter :-)
2152 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2155 - Switched RunLoop to use static Message.Create to create a
2157 - Added PreProcessMessage call in runloop for keyboard events; this
2158 is part of the fix for #77219, I overlooked this originally in the
2159 MSDN doc for PreProcessMessage
2161 - Removed call to PreProcessMessage from handling of keyboard
2162 messages; it's supposed to be done in the message pump
2163 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2164 per MSDN documentation.
2165 - IsInputChar: All chars are input chars by default; removed the
2166 parent calling chain, MS does not document that
2167 - PreProcessMessage: If IsInputChar is true, we want to return false
2168 to allow dispatching of the message
2169 - When selecting the next control, now also check that we're not
2170 selecting ourselves again and therefore return a false positive.
2172 - Tried to match return values for IsInputKey and ProcessDialogKey
2173 to what MS returns; moved processing of our special keys outside
2174 ProcessDialogKey since MS does not seem to return true on those.
2175 - Moved code that previously was in ProcessDialogKey into new private
2176 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2177 - Reworked handling of WM_CHAR to not have to duplicate code from
2178 Control.cs anymore, instead we simply call down to base.
2180 2006-01-12 Jackson Harper <jackson@ximian.com>
2182 * ComboBox.cs: We always need to refresh the text area when
2183 EndUpdate is called. Fixes the combobox in the file dialog.
2184 * Control.cs: Don't create the creator_thread until the controls
2185 handle is created. Also in InvokeRequired we check if the
2186 creator_thread is null. This gives the effect of InvokeRequired
2187 returning true if the controls handle is not created yet, and
2190 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2193 - Added StartLoop() driver method. This is used to allow drivers to
2194 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2195 loop for a particular thread
2196 - Added EndLoop() driver method. This is called once the message
2197 pump for the thread is shut down
2198 - Added SupportsTransparency method to allow the driver to indicate
2199 opacity support for windows
2201 - Removed TODO attribute, completed AllowTransparency property
2202 - Added documented logic to Opacity
2203 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2204 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2205 versions of CompatibleTextRendering
2206 * X11Structs.cs: Added opacity atom to our atom enumeration
2207 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2208 of a form might be set before it's reparented by the WM, and we need
2209 the opacity value without calling up to Form)
2210 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
2211 SupportsTransparency() driver methods
2212 * Application.cs: Now calling StartLoop and EndLoop driver methods
2214 - Added opacity atom registration
2215 - Added StartLoop()/EndLoop() methods. They're empty right now but
2216 will need to get implemented when we switch to a per-thread queue
2217 - Implemented SupportsTransparency() method
2218 - Implemented SetWindowTransparency() method
2219 - Added support for setting the opacity value when a window is
2220 reparented (since the opacity needs to be set on the WM frame)
2221 * XplatUIOSX.cs, XplatUIWin32.cs:
2222 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2224 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2226 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2228 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2230 * FileDialog.cs: Added ToolTip for MWFFileView
2231 * MimeIcon.cs: Rewrote GnomeHandler.
2232 - Get currently used gnome icon theme from
2233 ($HOME)/.gconf/%gconf-tree.xml
2234 - Make use of inherited icon themes
2235 - Support SVG icon themes like Tango via librsvg
2237 2006-01-12 Miguel de Icaza <miguel@novell.com>
2239 Revert's Jackson's revert which broke 2.0 builds. Fix both
2242 * Application.cs: Move the use_compatible_text_rendering outside
2243 the NET_2_0 define. If we ever need to use the
2244 use_compatible_text_rendering on the individual controls they will
2245 access the variable from the common shared code paths.
2247 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2250 - Added more granular debug options
2251 - Added method to print both window text and id
2252 - Switched debug output to use new Window() debug method
2253 - Added IsEnabled() driver method
2254 - Added EnableWindow() driver method
2256 - Removed end_modal; no longer needed, new loop handles termination
2257 via 'closing' variable
2258 - If form is modal, setting DialogResult will now initiate loop
2259 termination via 'closing' variable
2260 - Added support for is_enabled/WS_DISABLED to CreateParams
2261 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2263 - Removed code that's now in RunLoop from ShowDialog()
2264 - Added various documented sanity checks to ShowDialog()
2265 - Added handling of WM_DESTROY message; we set 'closing' on getting
2266 the message to indicate the message pump to terminate
2267 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2268 send by the Application.ExitThread method. (We send the message
2269 to destroy the window after all other events have been
2270 processed through the queue, instead of destroying the handle
2272 - Moved code from Close() method to WM_CLOSE handler; added logic
2273 to only send close-related events if the form is not displayed
2275 * Splitter.cs (..ctor): Fixed typo in resource name
2277 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2279 - set_Cursor: Now only setting calling into XplatUI if the handle for
2280 the control is already created; this avoids implict handle creation
2281 or crashes if it's not created
2282 - set_Enabled: Now setting the enabled state via the new driver method
2283 instead of just tracking it
2284 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2285 - CreateControl: Reordered event firing and method calls to more
2286 closely fire events in the order MS does. Now setting the
2287 enabled state in the driver when creating the control.
2288 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2290 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2291 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2292 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2294 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2295 - Added EnabledHwnd property to easily allow a driver to find the
2296 handle of the first enabled window in the parent chain (this is
2297 used by drivers to pass up input events of disabled windows)
2298 * XplatUIDriver.cs: Added IsEnabled() method
2300 - Removed crude and obsolete exiting tracking variable
2301 - Removed internal ModalRun(); replaced by RunLoop()
2302 - Implemented private CloseForms() method to allow closing all
2303 windows owned by a particular (or all) threads
2304 - Exit() now properly closes all windows without forcing the message
2306 - Removed obsolete InternalExit() method
2307 - Changed Run() methods to use new RunLoop() message pump
2308 - Implemented new RunLoop() method for both modal and non-modal forms
2310 - get_CreateParams: Added setting of WS_DISABLED
2311 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2312 invoked via Form.ShowDialog()
2313 * NativeWindow.cs: We don't remove the window from the collection when
2314 the handle is destroyed; there might still be messages for it in the
2315 queue (mainly the resulting WM_DESTROY); instead it will be removed
2316 when Control calls InvalidateHandle in the WM_DESTROY handler
2318 - CreateWindow: Added logic to handle the WS_DISABLED window style
2319 - EnableWindow: Implemented based on Hwnd.Enabled
2320 - GetMessage: Reset PostQuitState so the method can be called again
2321 - Implemented support for disabled windows (passing messages to the
2322 first enabled parent) in handling all input messages
2323 - Added optimizations for handling Expose events
2324 - Implemeted new driver method IsEnabled()
2325 - Now always resetting paint pending tracking vars when we start paint
2326 - Re-implemented UpdateWindow via just sending a WM_PAINT message
2327 * XplatUIOSX.cs: Added IsEnabled method stub
2328 * XplatUIWin32.cs: Implemented new IsEnabled() method
2330 2006-01-11 Jackson Harper <jackson@ximian.com>
2332 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2333 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2335 * ColorDialog.cs: Clear out the old form before adding the new
2338 2006-01-11 Jackson Harper <jackson@ximian.com>
2340 * X11Dnd.cs: Make sure to add all the text formats when adding
2341 strings to the data object.
2342 * TreeNodeCollection.cs: When adding to a sorted tree we need to
2343 do some redrawing too. Also change the UpdateNode to an
2344 UpdateBelow so the newly added node gets painted.
2346 2006-01-11 Miguel de Icaza <miguel@novell.com>
2348 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2349 LinkLabel.cs, PropertyGrid.cs: Implement the
2350 UseCompatibleTextRendering property for 2.x
2352 * Application.cs (SetCompatibleTextRenderingDefault): Add.
2354 2006-01-11 Jackson Harper <jackson@ximian.com>
2356 * TreeView.cs: Use the property for setting the selected node so
2357 the correct events get raised.
2358 * TreeNode.cs: Update the tree when the fore/back colours of a
2361 2006-01-10 Jackson Harper <jackson@ximian.com>
2363 * TreeView.cs: Allow setting SelectedNode to null.
2365 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2367 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2369 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2371 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2373 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2375 * PrintDialog.cs: Added attributes and set default property values.
2377 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2379 * PrintControllerWithStatusDialog.cs:
2380 Added PrintControllerWithStatusDialog.
2382 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2384 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
2385 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2387 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2389 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2391 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2393 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2394 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2396 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2398 * MimeIcon.cs: Added internal class SVGUtil.
2400 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2402 * FileDialog.cs: Don't crash if there are two files with the
2403 same name but different locations.
2405 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
2407 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2408 dates across multiple month grids. Used to not highlight entire
2409 month, but does now.
2411 2006-01-06 Jackson Harper <jackson@ximian.com>
2413 * MonthCalendar.cs: Removed DoEvents call to prevent a running
2414 message loop. Change timer intervals to numbers that seem more
2417 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
2419 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2420 object for location info since screen object is now implemented.
2422 2006-01-05 Jackson Harper <jackson@ximian.com>
2424 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2425 * AsyncMethodResult.cs: We no longer use a WeakReference for the
2426 AsyncMethodResult, this is because we ALWAYS want the
2427 ManualResetEvent to get set.
2428 * Control.cs: When disposing use an async invoke to call shutdown
2429 code, so that thigns don't block on the finalizer thread. Also
2430 check if we even have a message loop before trying to send
2431 messages, if we don't then don't bother sending messages.
2432 - No more weak references for async methods
2433 * XplatUIDriver.cs: No more weak references for async methods.
2435 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2437 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2438 returns two FontFamily with the same name
2440 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2442 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
2443 drawing disabled text. Instead using the ColorGrayText color
2445 2006-01-04 Jackson Harper <jackson@ximian.com>
2447 * TreeNode.cs: redraw the node when its image index is changed.
2449 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2451 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2452 time I checked there are no others like it.
2454 2006-01-04 Jackson Harper <jackson@ximian.com>
2456 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2457 this gives the behavoir I was looking for.
2458 * Control.cs: Special case Invoking EventHandlers, this matches MS
2459 and fixes part of bug #76326.
2461 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2463 * ThemeClearlooks.cs, FileDialog.cs:
2464 - Reflect the latest Theme class changes
2465 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
2468 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2470 * Theme.cs: Cache UI resource images and resize them if needed
2472 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2474 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2475 is called. This fixes the crash in Nexxia when setting the font
2476 attributes in the chat. [However, RTF needs a look-over to make sure
2477 that all SelectionXXX methods handle the special case that selection
2478 is empty and therefore the change must be applied to all text starting
2479 at the cursor/selection start]
2481 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2483 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2484 XplatUIOSX.cs: Added SendMessage and PostMessage methods
2485 * X11Keyboard.cs: Switched to new way of calling PostMessage
2487 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2489 * Theme.cs: Added theme interface for images to allow the theme to
2490 control what images are used for things like FileDialog, MessageBox
2492 * MessageBox.cs: Now uses the new Theme icon/image interfaces
2494 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
2497 - Removed some dead code
2498 - Opening a recently used file does work now
2499 - Small UI enhancements
2502 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2504 * FileDialog.cs: Forgot too add __MonoCS__
2506 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2508 * FileDialog.cs: We are able to read recently used files now let's
2509 go on and write them.
2511 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
2513 * FileDialog.cs: Breathe some life into "last open"/"recently used"
2515 * MimeIcon.cs: Do a check for the top level media type also
2517 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2519 * ThemeClearlooks.cs:
2520 - Added CPDrawStringDisabled
2521 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2522 some chars if the text doesn't fit into text_rect
2523 - DrawListViewItem: If View = View.LargeIcon center the image;
2524 rewrote the drawing of ListViewItem.Text if View =
2527 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2529 * MimeIcon.cs: Use default KDE icon theme if there is no
2530 "48x48" directory for the current icon theme, fixes #77114
2531 * Mime.cs: Disable not working and actually not used code.
2532 * ThemeWin32Classic.cs:
2533 - Replace "new SolidBrush" in GetControlBackBrush and
2534 GetControlForeBrush with ResPool.GetSolidBrush
2535 - Changed DrawListViewItem from private to protected virtual
2537 - Added form.MaximizeBox = true
2538 - Don't throw an exception if there is a broken symbolic link
2540 2005-12-23 Jackson Harper <jackson@ximian.com>
2542 * TabControl.cs: Give the panels focus, keyboard navigation is
2543 fixed so this works correctly now.
2544 - We need these key events also.
2545 * ToolBar.cs: Remove some of the poor mans double buffering.
2547 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
2549 * ComboBox.cs: The internal TextBox now returns the focus.
2551 2005-12-23 Jackson Harper <jackson@ximian.com>
2553 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
2555 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2557 * Control.cs: Removed debug code
2558 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2561 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2563 * Control.cs: When creating the control, update the Z-order after
2564 all it's children are created, too. (Fixes nexxia not showing
2567 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2569 * Control.cs: Do not update the anchoring distances if layout is
2570 suspended, instead do it once layout is resumed
2572 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2575 - After many hours of debugging, for both Jackson and
2576 myself, it turns out that it helps to set the parent of a control
2577 if you want to actually see it onscreen. In the spirit of that
2578 discovery, we're now setting the parent of the control and
2579 it's children when the control's handle is created. This fix
2580 will make Lutz Roeder's Reflector run happily.
2581 - now just creating the handle instead of the whole control when
2582 getting a graphics context for the control.
2584 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2586 * ScrollableControl.cs: When calculating the canvas, don't consider
2587 the scrollbar widths. Instead, predict if horizontal scrollbar
2588 will affect canvas when deciding on vertical display and vice versa.
2590 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2592 * RichTextBox.cs: Set default RTF font for documents that don't
2593 have a font table (Fixes #77076)
2595 2005-12-22 Jackson Harper <jackson@ximian.com>
2597 * TextBoxBase.cs: It's difficult to do, but you can have an empty
2598 clipboard. This prevents a NullRef in that case.
2599 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2600 clipboard. PRIMARY is for the currently selected text only. (We
2601 should implement PRIMARY at some point.
2603 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2605 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2606 a Unicode function with a structure that was defined in Ansi way.
2609 2005-12-21 Jackson Harper <jackson@ximian.com>
2611 * StatusBar.cs: Statusbar handles its fore/back colours on it's
2612 on. Because thats how it rolls. (and this avoids it using ambient
2614 * ThemeWin32Classic.cs: Use the proper back color for filling.
2615 * Menu.cs: Use the system menu bar color for drawing menu
2616 bars. Using the window back color will bring ambient colours into
2619 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
2621 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2622 Bitmaps were created and not disposed.
2624 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2626 * Control.cs (CreateControl): Don't do anything if the control is
2627 already created, otherwise we'd fire the OnCreated event more than
2630 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2632 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2633 will always match. Instead return -1. Fixes #76464.
2635 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2637 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2638 neither the beginning nor the end of the line (Fixes bug #76479)
2640 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2643 - ControlNativeWindow.ControlFromHandle(): Now handling situation
2644 where handle is invalid
2645 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2646 instead of slower linear search
2647 * NativeWindow.cs: Don't remove the window from the hashtable until
2648 after the driver has destroyed it (since the driver might use
2649 Control.FromHandle to lookup the control object
2650 * Hwnd.cs: Added DestroyPending property to track if a window is
2651 already destroyed as far as the driver is concerned and only hasn't
2652 yet notified the control
2654 - Activate(): Check if the window is still valid before using the
2656 - Implemented DestroyChildWindow() method to mark child windows as
2657 destroyed when a window is destroyed. This prevents situations
2658 where we might call an X method based on queued events for a
2659 window that already has been destroyed but we haven't yet pulled
2660 the destroy method from the queue.
2661 - Added a call to the new DestroyChildWindow() method to the drivers
2662 DestroyWindow code. Also now marking the destroyed window itself
2665 2005-12-20 Jackson Harper <jackson@ximian.com>
2668 * StatusBarPanel.cs: Don't calculate panel sizes on draw
2669 anymore. Just do them when needed, also track the rects of panels
2670 so that we can optimize refreshing more in the future.
2672 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
2674 * ColorDialog.cs: Fixed focus drawing in small color controls
2676 2005-12-19 Jackson Harper <jackson@ximian.com>
2678 * InternalWindowManager.cs:
2679 * MdiWindowManager.cs: Cleanup some coordinate system changes so
2680 moving windows works properly.
2682 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
2685 - Removed call to InitLayout() from SetBoundsCore(); doc says
2686 it's only called when a control is added to a container
2687 - Split InitLayout logic, moved to separate UpdateDistances() method
2688 since we need to perform those calculations more often than just
2689 when adding the control to a container. (Needed to fix #77022)
2690 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2691 - Reduced the OnBindingContextChanged events count, don't send them
2692 unless the control is created, we still aren't totally matching
2693 MS, but I can't quite figure out some of their rules
2695 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2697 * ThemeClearlooks.cs: Corrected distance between ProgressBar
2700 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2702 * ThemeClearlooks.cs:
2703 - Updated ProgressBar drawing
2704 - Corrected drawing of ScrollBars and scroll buttons
2705 - Some temporary fixes for minor pixel artefacts
2707 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
2710 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2711 cause events to be sent in the same order as MS does.
2712 - Added ChangeParent() method to trigger various OnXXXChanged events
2713 that need to be fired when a parent changes (This is a reworking
2714 of the patch from r54254, with the X11 errors fixed)
2715 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2716 since on MS we get OnLayoutChanged events when calling Clear()
2717 - Changed Enabled property to consider parent state as well, if a
2718 parent is not enabled, the control will not be either
2719 - Changed Parent property to simply call Controls.Add() since that
2720 now does all the work required, this way we avoid code duplication
2721 - Threw in a few OnBindingsContextChanged calls to try and match
2722 when MS sends them. We seem to send a few too many, though.
2723 - Added call to CreateControl when adding the control to a parent.
2724 We were never calling CreateControl. Still needs some work, in
2725 some places we treat HandleCreated and ControlCreated as equal,
2727 - Removed obsolete commented out code from UpdateZOrder()
2729 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2731 * ThemeClearlooks.cs: Updated TrackBar drawing.
2733 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2735 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2737 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2739 * FileDialog.cs: Add the Help button and the open readonly
2740 checkbox only if needed
2742 2005-12-16 Jackson Harper <jackson@ximian.com>
2744 * Control.cs: Make sure we have an active menu before trying to
2745 process commands on it. Prevents menu-less forms from crashing
2746 when Alt is pressed.
2747 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2749 * RichTextBox.cs: Expand statement to help out gmcs and fix the
2752 2005-12-16 Jackson Harper <jackson@ximian.com>
2754 * InternalWindowManager.cs: Don't translate tool windows screen
2755 coordinates. This fixes windows 'bouncing' around when being moved.
2757 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2760 - MaxLength now treats 2^31-1 equal to unlimited length (this is
2761 not quite MS compatible, MS uses that number only for single line
2762 and 2^32-1 for multi-line, but I figure it won't hurt keeping
2764 - Now enforcing the MaxLength limit when entering characters
2765 - Added argument to internal Paste() method to track if it's called
2766 from programatically or via keyboard, since keyboard driven pastes
2767 need to enforce max-length
2768 - Added logic to Paste to only paste as many chars as MaxLength
2770 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2772 - Added Length property to return number of characters in document
2773 - Added private CharCount property which only tracks actual chars
2774 in the document (no linefeeds) and fires event when CharCount
2776 - Added tracking of character count to all methods that alter it
2777 - Added LengthChanged event to allow applications to subscribe
2778 to any changes to the document
2780 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2783 - Removed local password_char field (moved to TextBoxBase)
2784 - Now setting the document's password var when password is
2787 - Added password_char field (needed here so MultiLine can
2789 - Added logic to MultiLine property setter to set the document's
2790 variable when password display is allowed
2791 - Removed debug code and made some debug code conditional
2793 - Added RecalculatePasswordLine() method to handle special password
2795 - Added PasswordChar property, also added related tracking vars
2796 - Draw() method now uses local text var for grabbing text to draw,
2797 this var is set to line.text unless we're doing password display,
2798 then it is set to the pre-generated all-password-chars line
2799 - Added calling RecalculatePasswordLine() method for password lines
2801 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2804 - Added Reparented property to allow tracking of Window Manager
2805 reparenting actions (which affect X/Y calculations of toplevel
2807 - Made ToString() print window handles in hex
2809 - AddConfigureNotify(): Now uses reparented state off Hwnd to
2810 determine if X/Y needs offsetting
2811 - AddConfigureNotify(): Fixed offset calculations
2812 - Now adds ReparentNotify messages into the queue
2813 - Now processes ReparentNotify messages and causes a
2814 WM_WINDOWPOSCHANGED message to be sent upstream if a window
2815 is reparented (as most likely it's X/Y coordinates are changed
2818 2005-12-14 Jackson Harper <jackson@ximian.com>
2820 * XplatUIX11.cs: Tool windows still need to respek focus.
2822 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2824 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2825 have a working release
2827 2005-12-13 Jackson Harper <jackson@ximian.com>
2829 * Form.cs: Update styles after setting the border style regardless
2830 of whether or not the window is using a window manager.
2832 2005-12-13 Jackson Harper <jackson@ximian.com>
2834 * Form.cs: We now hook into an internal window manager instead of just an
2835 MDI subsystem, this is so we can have properly behaving tool windows.
2836 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2837 * InternalWindowManager.cs: New internal class that acts as a
2838 window manager for tool windows and as a base for mdi windows.
2839 * MdiWindowManager.cs: New class that acts as a window manager for
2842 2005-12-12 Jackson Harper <jackson@ximian.com>
2844 * Control.cs: Updates so we match behavoir for for implicit
2845 controls. Fixes explosions in MDI.
2847 2005-12-12 Jackson Harper <jackson@ximian.com>
2849 * Control.cs: Implement Invalidate (Region).
2851 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
2854 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
2855 the same events as MS does. MS fires events for each property
2856 except, for unknown reasons, Cursor, when the control is reparented.
2857 I can't seem to totally match add/remove since MS also fires some
2858 VisibleChanged events, which makes no sense. Consolidated the
2859 parenting code into a separate method so it can be called from
2860 both Add and Remove. set_Parent no longer needs any special logic
2861 as it calls the parent's add method which implicitly fires
2863 - Removed some obsolete code and debug output
2864 - Enabled state is inherited from parents, if this is enabled
2866 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2868 * Form.cs: Removed commented out code
2870 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2873 - Added internal version of Invoke, with additional argument
2874 indicating if we're calling it from a Dispose() handler. That
2875 way we can avoid BeginInvoke throwing an exception if we're
2876 calling for an already destroyed window.
2877 - Added a dispose argument to BeginInvokeInternal, and made the
2878 check if a valid window handle chain exists conditional on
2879 it not being a dispose call
2880 - Removed code in DestroyHandle to destroy our children. Since we
2881 now handle the WM_DESTROY message we will catch all our children
2883 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2885 - Added a field to track the application context of the form.
2886 - No need to set closing variable as response to WM_CLOSE, instead
2887 we destroy the window. We also call PostQuitMessage if the form
2888 has an application context (which makes it the main app form,
2889 which, when closed terminates the app)
2891 - Dropped Exit() method, it's naming was confusing
2892 - Added PostQuitMessage() which causes GetMessage to return false
2893 once the message queue is empty
2894 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
2896 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2897 no longer a valid XplatUI method, but left it in since it's used
2898 internally. Added empty PostQuitMessage() method.
2899 * MenuAPI.cs: Replaced call to Exit() with call to
2900 PostQuitMessage, even though this is probably no longer needed.
2901 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2902 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2904 - Replaced call to XplatUI.Exit() with PostQuitMessage()
2905 - Removed old debug code that would call XplatUI for exception
2906 display, enabled standard exception handling (Still not enabled
2907 though, until NativeWindow's ExternalExceptionHandler define
2910 - Added internal method to allow control to update NativeWindow
2911 after a window has been destroyed
2912 - Added handling of already destroyed windows when calling i
2914 - Added removal of handle from list on ReleaseHandle
2916 - Dropped GetMessageResult var and related code
2917 - Added PostQuitState to field to track if PostQuitMessage has been
2919 - Dropped Exit() method
2920 - Added PostQuitMessage() method
2921 - GetMessage now will return false if PostQuitState is set and no
2922 more messages are in the queue.
2923 - Expose handler will no longer generate WM_PAINT messages if we are
2924 in PostQuitState since it's very likely any windows have already
2925 been destroyed, and since Hwnd won't get updated until we have
2926 processed the DestroyNotify we'd be causing X errors.
2928 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2930 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2931 Thanks to Mike for pointing out the err of my ways.
2933 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2935 * Control.cs(PreProcessMessage): Moved menu handling back, but
2936 after all other key handling, to match MS (who handles Menu in
2938 * Menu.cs (WndProc): Removed my brainfart
2940 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2942 * Control.cs(PreProcessMessage): Removed special menu handling
2943 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2945 2005-12-07 Mike Kestner <mkestner@novell.com>
2947 * Control.cs : special case SYSKEYUP so that we can adjust keynav
2948 state according in tracker.
2949 * Menu.cs : promote tracker field to base class and provide a tracker
2950 lookup capability. Add/Remove shortcuts dynamically if the top menu
2951 has a tracker. Unparent items that are removed from the collection.
2952 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2953 * Theme*.cs: add always_show_hotkeys field to support configurability
2954 of mnemonic display. win32 doesn't show mnemonics until Alt is
2957 2005-12-07 Jackson Harper <jackson@ximian.com>
2959 * MdiChildContext.cs: Use Control.ResetCursor.
2960 * Control.cs: ResetCursor needs to set the property so that the
2961 correct XplatUI call gets made.
2963 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2965 * Control.cs: More fixes to make our key events match MS. We
2966 were not setting the modifier state on KeyData, and we were
2967 not generating any events when Alt was pressed with a key
2968 since handling of WM_SYSxxx was missing for the OnKey methods.
2970 2005-12-07 Jackson Harper <jackson@ximian.com>
2972 * MdiChildContext.cs: reenable the sizing code.
2973 - When the mouse leaves a window reset its cursor.
2975 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2977 * ThemeClearlooks.cs: Reflect latest Hwnd changes
2979 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2981 * Hwnd.cs: Now using the theme 3d bordersize to calculate
2982 widths of Fixed3D borders
2984 2005-12-07 Jackson Harper <jackson@ximian.com>
2986 * MdiClient.cs: Fix warnings. Earn Mike's love.
2988 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2990 * ThemeClearlooks.cs:
2991 - Adjusted mouse over button color
2992 - Added first parts of CheckBox drawing
2993 - Added correct color for selected text background
2994 - Fixed ComboBox drawing
2995 - Added CPDrawBorder3D and CPDrawBorder
2997 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2999 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3001 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3003 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3004 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3005 alert users via sound. We could add an enum arg with different
3006 types of alerts in the future
3008 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3010 * Control.cs: Fix behaviour problems pointed out by Mike
3012 2005-12-05 Mike Kestner <mkestner@novell.com>
3014 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3015 prop setters. Calls parent.Refresh for now, but could be maybe be
3016 optimized with an internal method on StatusBar at some point.
3019 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3021 * RichTextBox.cs: Implemented get_SelectionColor
3023 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3025 * ThemeClearlooks.cs:
3027 - Draw black button border only if button is Form.AcceptButton
3028 - Draw correct button color for pressed RadioButton if the mouse
3029 has entered the button
3030 - Updated ProgressBar drawing!
3031 - Updated CPDrawSizeGrip drawing
3032 - Updated StatusBarPanel drawing
3034 2005-12-05 Mike Kestner <mkestner@novell.com>
3036 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3037 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3039 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
3041 * ThemeClearlooks.cs: Initial check-in, activate with
3042 export MONO_THEME=clearlooks
3043 * ThemeEngine.cs: Added ThemeClearlooks
3045 2005-12-03 Mike Kestner <mkestner@novell.com>
3047 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3050 2005-12-02 Jackson Harper <jackson@ximian.com>
3052 * Form.cs: If the child form has no menu the default main menu is
3053 used as the active menu.
3055 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3057 * ListBox.cs: Check if any items exist before trying to resolve
3058 coordinates into items
3060 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3062 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3063 as the second color for the background hatch
3065 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3067 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3068 * RichTextBox.cs: FormatText position arguments are 1-based, now making
3069 sure that what we pass to FormatText is always 1-based. Fixes #76885
3071 2005-11-29 Miguel de Icaza <miguel@novell.com>
3073 * NumericUpDown.cs (EndInit): When we are done initializing,
3074 reflect any updates on the UI.
3076 2005-12-02 Jackson Harper <jackson@ximian.com>
3078 * ImplicitHScrollBar.cs:
3079 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3080 their container controls.
3081 * TreeView.cs: Use the new implicit scrollbars.
3083 2005-12-02 Jackson Harper <jackson@ximian.com>
3085 * TreeView.cs: Make top_node internal so the TreeNodeCollections
3087 * TreeNodeCollection.cs: If we remove the topnode we need to
3088 update topnode to the next node in line.
3089 - When clearing nodes go through the same process as removing
3090 them, so they get depareneted and checked if they are top node.
3092 2005-12-01 Jackson Harper <jackson@ximian.com>
3094 * TreeView.cs: When imagelists are used the image area is
3095 selectable as well as the text.
3096 - If there are no selected nodes select the first one.
3097 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3098 so don't do it more then we need to.
3100 2005-12-01 Jackson Harper <jackson@ximian.com>
3102 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3103 that arrows can be scaled.
3105 2005-12-01 Jackson Harper <jackson@ximian.com>
3107 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3108 fail. Patch by Dieter Bremes
3110 2005-11-30 Jackson Harper <jackson@ximian.com>
3112 * Form.cs: Property is 2.0 only
3113 * PrintDialog.cs: Signature fix.
3115 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3118 - No longer artificially moves text 2 pixels down (now that we have
3119 borders this is no longer needed)
3120 - Added calcs for left, hanging and right indent
3122 2005-11-23 Mike Kestner <mkestner@novell.com>
3124 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3126 2005-11-30 Jackson Harper <jackson@ximian.com>
3128 * MdiChildContext.cs: Set the cloned menus forms, as these don't
3129 get cloned as part of CloneMenu ().
3130 * Menu.cs: Make sure the parent of the items get set correctly
3131 when they are added. And the owners are notified of the changes.
3132 * Form.cs: Create an ActiveMenu property, so that when MDI is used
3133 we can change the menu being displayed/handled by the form without
3134 changing the menu assosciated with the form.
3135 - Don't let Mdi children draw/handle menus.
3137 2005-11-30 Jackson Harper <jackson@ximian.com>
3139 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3140 a MenuChanged event. Just to make the API a little more
3143 * MenuItem.cs: Use the new OnMenuChanged
3144 * MdiChildContext.cs: Handle menu merging.
3145 * Form.cs: Implement MergedMenu.
3147 2005-11-30 Jackson Harper <jackson@ximian.com>
3149 * Menu.cs: We were misusing Add. Add goes behind the specified
3150 index according to the docs, and does not replace the specified
3151 index. So I added an Insert method.
3153 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3155 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3156 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3158 * RichTextBox.cs: Added calls to base for DnD events
3160 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
3163 - Fixed drag-selection related crash; style fixes
3164 - Implemented undo class
3165 o Implemented method to capture document state for specified
3166 range in document tree
3167 o Implemented method to restore captured document state
3168 o Implemented cursor tracking
3169 o Implemented basic undo stack
3170 - Added undo cursor tracking to methods altering cursor location
3171 - Added undo tracking to selection deletion (still missing
3172 other text-altering hookups)
3174 - Added SelectionLength property
3175 - Implemented CanPaste()
3176 - Implemented Paste()
3177 - Added missing protected methods
3178 - Fixed RTF->Document conversion; now uses font index 0 and color
3179 index 0 as the default font for the parsed text
3180 - Fixed RTF<->Document font size translation
3181 - Fixed RTF generation, now properly handles cross-tag boundaries
3182 for single line selection
3183 - No longer always appends blank line to generated RTF
3185 - Added missing attributes
3186 - Hooked up undo-related methods
3188 - Implemented Copy()
3189 - Implemented Paste()
3191 - Fixed caret mis-behaviour on backspace across line-boundaries
3193 2005-11-29 Jackson Harper <jackson@ximian.com>
3195 * MdiClient.cs: Add a method for activating mdi children. Very
3196 basic right now. I imagine someday it might need more girth.
3197 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3198 children windows names are added to the menu item.
3199 * ThemeWin32Classic.cs: Draw the arrow if the item is an
3200 mdilist. This happens regardless of whether or not there are any
3201 mdi windows to see in the list, and according to my tests happens
3202 before the items are even added. Also happens if there isn't even
3203 an mdi client to get windows from.
3205 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
3207 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3208 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3210 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
3212 * DataGridTableStyle.cs:
3213 - Create always the styles for the missing columns even if they are
3214 provided by the user (not default table style)
3217 - Fixes SetDataBinding (always re-attach source)
3218 - Fixes SetNewDataSource (only clear styles if they are not for
3220 - Expands OnTableStylesCollectionChanged to handle style refresh
3223 2005-11-29 Jackson Harper <jackson@ximian.com>
3225 * FileDialog.cs: Implement missing bits, remove some dead
3227 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3228 creation of the panel so that the options set on the dialog are
3229 seen when the panel is created.
3230 * TreeView.cs: raise a click when items are clicked.
3232 2005-11-29 Jackson Harper <jackson@ximian.com>
3234 * MdiClient.cs: Pass some signature methods through to base.
3236 2005-11-28 Jackson Harper <jackson@ximian.com>
3238 * ListView.cs: Raise the click event when items are clicked.
3240 2005-11-28 Jackson Harper <jackson@ximian.com>
3242 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3245 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3247 * ThemeNice.cs: - Removed 1 pixel bitmaps
3248 - Use SmoothingMode.AntiAlias where it makes sense
3249 (ScrollButton arrow for example)
3250 - Enhanced Button focus drawing
3251 - Fixed ComboBox drawing (no artefacts anymore, focus
3252 rectangle is back again, reduced size of ComboButton, etc.)
3253 - Fixed RadioButton focus drawing for Appearence.Button
3254 - Slight ScrollButton redesign
3255 - Some LinearGradientBrush size fixes
3256 - GroupBoxes have now rounded edges
3257 - Fixed StatusBar drawing
3259 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3261 * ThemeNice.cs: - Remove dead code
3262 - use correct background colors for menus, etc.
3263 - Fake pixel drawing with 1 pixel bitmaps
3265 2005-11-24 Jackson Harper <jackson@ximian.com>
3267 * MdiClient.cs: Size the scrollbars when resizing the window.
3268 - Resize the maximized windows when the client is resized
3269 * Form.cs: Make the child context available
3271 2005-11-23 Jackson Harper <jackson@ximian.com>
3273 * MdiChildContext.cs: Don't size windows if they are maximized.
3275 2005-11-23 Mike Kestner <mkestner@novell.com>
3277 * ContextMenu.cs: use MenuTracker.
3278 * Control.cs: remove menu handle usage.
3279 * Form.cs: remove menu handle usage.
3280 * Hwnd.cs: remove menu handle usage.
3281 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3282 motion and clicks to the new Tracker handlers.
3283 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3285 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3286 Killed the MENU and MENUITEM data types and associated collections
3287 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3288 MenuTracker class that exposes the leftovers from the old MenuAPI
3289 static methods. Restructured Capture handling so that only one grab is
3290 done for the entire menu hierarchy instead of handing off grabs to
3291 submenus. Tracker now has an invisible control to Capture when active.
3292 * MenuItem.cs: add sizing accessors, kill Create
3294 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3295 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3296 MENU(ITEM). remove menu handle usage, use Menu directly.
3297 * XplatUIDriver.cs: remove menu handle usage.
3298 * XplatUIOSX.cs: remove menu handle usage.
3299 * XplatUIWin32.cs: remove menu handle usage.
3300 * XplatUIX11.cs: remove menu handle usage.
3302 2005-11-22 Jackson Harper <jackson@ximian.com>
3304 * Hwnd.cs: Don't compute the menu size for
3305 DefaultClientRectangle.
3306 - Reenable menu sizes being computed for GetClienRectangle.
3307 * Form.cs: Remove comment of trechery
3309 2005-11-22 Jackson Harper <jackson@ximian.com>
3311 * Hwnd.cs: The adjustments for the menu bar are made when it is
3312 attached to the form.
3314 2005-11-19 Jackson Harper <jackson@ximian.com>
3316 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3317 (just like on windows).
3319 2005-11-19 Jackson Harper <jackson@ximian.com>
3321 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3322 use real buttons anymore because they are in non client area. The
3323 one TODO here is that I need to somehow invalidate a section of
3324 the non client area.
3326 2005-11-18 Jackson Harper <jackson@ximian.com>
3328 * Control.cs: Put the enum check back in now that MDI doesnt have
3329 to use this to set border styles.
3330 * Form.cs: Only set mdi child windows borders if the handle has
3332 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3333 this directly on to the driver.
3334 - Get the move start position before adjusting for the titlebar
3335 height, this fixes the windows "skipping" when they are first
3338 2005-11-18 Jackson Harper <jackson@ximian.com>
3340 * XplatUIX11.cs: Just compute the mdi borders separately as they
3341 don't totally match up with normal form borders.
3343 2005-11-18 Jackson Harper <jackson@ximian.com>
3345 * Control.cs: Set WS_ styles for borders, so that the driver does
3346 not have to retrieve the control instance to figure out what kind
3347 of borders it should have.
3348 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3349 driver can know its an mdi child easily.
3350 * XplatUIX11.cs: Get the border styles and whether the window is
3351 MDI from the Styles and ExStyles params instead of having to get a
3352 control. This prevents a chicken and egg problem.
3354 2005-11-18 Jackson Harper <jackson@ximian.com>
3356 * MdiClient.cs: Fix typo so scrollbars show up correctly.
3358 2005-11-18 Jackson Harper <jackson@ximian.com>
3360 * MdiClient.cs: Calculate when to add and remove scrollbars
3362 * MdiChildContext.cs: Adjust the y position to take the titlebar
3364 - No height for FormBorderStyle.None
3366 2005-11-18 Jackson Harper <jackson@ximian.com>
3368 * Control.cs: Allow non enum values to be used for
3369 InternalBorderStyle. MDI does this to set a special border style.
3370 - New utility methods for converting points to/from client coords
3371 - Add the newly created control to the Controls collection before
3372 updating its style. This way UpdateStyle can walk the control
3373 heirarchy to find the control if needed.
3374 so I don't need to create a new Point object all the time.
3375 * Form.cs: Let MDI windows handle their border styles.
3376 - Set styles on MDI windows so the correct title style is derived.
3377 * MdiChildContext.cs: Move all the painting and window handling
3378 into the non client area.
3379 - Use correct sizing and put correct buttons on frames based on
3380 the FormBorderStyle.
3381 - Notify the mdi client about scrolling
3382 - Need to handle the buttons ourselves now, because they are all
3383 in non client areas and we can't add controls there.
3384 * MdiClient.cs: Halfway to scrolling, this implementation is
3385 somewhat broken though, we need to check to make sure other
3386 windows aren't causing scrolling before removing the bars. Also
3387 the bars need to be drawn on top, maybe I can switch implicit
3388 controls to be on top.
3389 * Hwnd.cs: caption_height and tool_caption_height are now
3390 properties of an hwnd, this way they can be set by the driver
3391 based on the type of window they are. In X11 the window manager
3392 handles the decorations so caption_height is zero unless its an
3394 - Add 3 pixel borders for MDI windows (0xFFFF).
3395 - Get rid of some code duplication, have DefaultClientRectanle
3396 just call GetClientRectangle.
3397 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3399 - Set border styles differently for mdi windows.
3400 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3403 2005-11-15 Mike Kestner <mkestner@novell.com>
3405 * Menu.cs: when adding an item to the collection, if item is already
3406 parented, remove it from the parent.
3408 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
3410 * X11DesktopColors.cs: Added KDE support
3412 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
3415 - Clipboard methods now can translate Rtf format
3416 - No longer removes clipboard contents whenever a new format is added
3417 to allow placing multiple formats on the clipboard
3418 * Clipboard.cs: Clipboard now supports getting a IDataObject and
3419 will place all formats contained in it onto the clipboard. Also
3420 now cleans the clipboard before placing a new object onto it
3422 - Implemented set_Rtf
3423 - Implemented set_SelectedRtf
3424 - Created InsertRTFFromStream() method to allow single code base
3425 for all properties and methods that insert RTF into document
3426 - Removed debug output
3428 - Fixed Delete(int) to fix up line numbers
3429 - Fixed ReplaceSelection to combine start and end line
3430 - Fixed serious DeleteChars bug that would leave the document tree
3432 - Improved DumpTree with several logic checks to detect broken
3434 - Removed debug lines
3435 - Fixed Caret.WordForward/WordBack moving code, now always also
3436 updates caret.tag (fixes crash when word-selecting across tag
3437 boundaries via keyboard)
3438 - Added Insert() method for inserting multiline text into documents
3439 - Fixed DeleteChars() calculation errors that would cause a broken
3440 tag chain with multiple tag lines
3441 - DeleteChars() no longer crashes on multi-tag lines if not all tags
3442 - Split() no longer moves caret if split is at caret location
3443 - ReplaceSelection() now updates the cursor and re-displays it
3444 - ReplaceSelection() now uses new Insert() method to avoid code
3446 - FormatText() can now handle formatting partial lines
3448 - Append now uses new TextControl.Insert() method (this avoids
3450 - Implemented Ctrl-X (Cut) (
3451 - Implemented Ctrl-C (Copy)
3452 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
3453 regeneration when pasting text; roundtripping Copy&Paste within
3454 edit control still fails due to some calculation bugs in GenerateRTF)
3455 - The Delete key will now remove the current selection if it is visible
3456 * TextBox.cs: Removed debug lines
3457 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3458 driver to be initialized and can't therefore be done via a static ctor)
3460 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
3462 * TextControl.cs: Added backend code for finding char arrays and strings
3464 - Added mouse wheel scroll support
3465 - Added support for VScroll and HScroll events
3467 - Implemented all seven Find() variants
3468 - Implemented GetCharFromPosition()
3469 - Implemented GetCharIndexFromPosition()
3470 - Implemented GetLineFromIndex()
3471 - Implemented GetPositionFromCharIndex();
3472 - Implemented SaveFile for PlainText and UnicodeText
3473 - Fixed set_Font, now setting a new font applies that font to
3475 - Implemented generic Document to RTF converter
3476 - Implemented SaveFile for RichText format (still missing unicode
3477 conversion for non-ansi chars)
3478 - Implemented get_Rtf
3479 - Implemented get_SelectedRtf
3481 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
3483 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3484 to allow any captures to be released before triggering OnClick. This
3485 way a click handler may capture the mouse without interference.
3486 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3487 This way we send them even though X may not allow a grab (if the window
3488 isn't visible, for example)
3490 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
3492 * DataGridViewRowEventArgs.cs: DataGridView implementation
3493 * DataGridViewElement.cs: DataGridView implementation
3494 * DataGridViewComboBoxCell.cs: DataGridView implementation
3495 * DataGridViewDataErrorContexts.cs: DataGridView implementation
3496 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3497 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3498 * ImageLayout.cs: DataGridView implementation
3499 * DataGridViewComboBoxColumn.cs: DataGridView implementation
3500 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3501 * DataGridViewSelectionMode.cs: DataGridView implementation
3502 * IDataGridViewEditingControl.cs: DataGridView implementation
3503 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3504 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3505 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3506 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3507 * DataGridViewColumnSortMode.cs: DataGridView implementation
3508 * DataGridView.cs: DataGridView implementation
3509 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3510 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3511 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3512 * Padding.cs: DataGridView implementation
3513 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3514 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3515 * DataGridViewRowEventHandler.cs: DataGridView implementation
3516 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3517 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3518 * DataGridViewButtonCell.cs: DataGridView implementation
3519 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3520 * DataGridViewEditMode.cs: DataGridView implementation
3521 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3522 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3523 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3524 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3525 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3526 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3527 * DataGridViewCellEventHandler.cs: DataGridView implementation
3528 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3529 * DataGridViewCellStyleConverter.cs: DataGridView implementation
3530 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3531 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3532 * DataGridViewColumnEventArgs.cs: DataGridView implementation
3533 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3534 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3535 * QuestionEventArgs.cs: DataGridView implementation
3536 * IDataGridViewEditingCell.cs: DataGridView implementation
3537 * DataGridViewTriState.cs: DataGridView implementation
3538 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3539 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3540 * DataGridViewColumnCollection.cs: DataGridView implementation
3541 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3542 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3543 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3544 * DataGridViewColumn.cs: DataGridView implementation
3545 * DataGridViewCellBorderStyle.cs: DataGridView implementation
3546 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3547 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3548 * DataGridViewRow.cs: DataGridView implementation
3549 * DataGridViewImageCellLayout.cs: DataGridView implementation
3550 * DataGridViewImageCell.cs: DataGridView implementation
3551 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3552 * DataGridViewCheckBoxCell.cs: DataGridView implementation
3553 * DataGridViewHeaderCell.cs: DataGridView implementation
3554 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3555 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3556 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3557 * DataGridViewTextBoxColumn.cs: DataGridView implementation
3558 * QuestionEventHandler.cs: DataGridView implementation
3559 * DataGridViewCellStyleScopes.cs: DataGridView implementation
3560 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3561 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3562 * DataGridViewCell.cs: DataGridView implementation
3563 * DataGridViewCellEventArgs.cs: DataGridView implementation
3564 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3565 * DataGridViewCellStyle.cs: DataGridView implementation
3566 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3567 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3568 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3569 * TextFormatFlags.cs: DataGridView implementation
3570 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3571 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3572 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3573 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3574 * DataGridViewButtonColumn.cs: DataGridView implementation
3575 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3576 * HandledMouseEventArgs.cs: DataGridView implementation
3577 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3578 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3579 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3580 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3581 * DataGridViewRowCollection.cs: DataGridView implementation
3582 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3583 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3584 * DataGridViewHitTestType.cs: DataGridView implementation
3585 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3586 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3587 * DataGridViewColumnEventHandler.cs: DataGridView implementation
3588 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3589 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3590 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3591 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3592 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3593 * DataGridViewContentAlignment.cs: DataGridView implementation
3594 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3595 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3596 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3597 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3598 * DataGridViewPaintParts.cs: DataGridView implementation
3599 * DataGridViewCellCollection.cs: DataGridView implementation
3600 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3601 * DataGridViewImageColumn.cs: DataGridView implementation
3602 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3603 * DataGridViewElementStates.cs: DataGridView implementation
3604 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3605 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3606 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3607 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3608 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3609 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3610 * DataGridViewRowHeaderCell.cs: DataGridView implementation
3611 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3612 * DataGridViewTextBoxCell.cs: DataGridView implementation
3613 * DataGridViewBand.cs: DataGridView implementation
3614 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3615 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3616 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3617 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3618 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3619 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3620 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3621 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3622 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3623 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3624 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3626 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
3628 * ThemeWin32Classic.cs:
3629 - Draw the outside focus rectangle around buttons
3630 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3631 doesn't use end caps for every dash of a line anymore. This
3632 workaround ignores the forecolor.
3634 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
3636 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3639 2005-11-07 Jackson Harper <jackson@ximian.com>
3641 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3643 2005-11-07 Jackson Harper <jackson@ximian.com>
3645 * ScrollableControl.cs: Calculate the maximum and change vars
3646 (more) correctly so that scrollbars appear as a sensible size.
3648 2005-11-04 Jackson Harper <jackson@ximian.com>
3650 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3652 * TreeView.cs: When the tree is sorted null out the top_node so
3653 that it is recalculated.
3654 - Use dotted lines instead of dashed lines to match MS better.
3656 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
3659 - Implements key search for items. Useful when browsing files with FileDialog
3660 - When changing view mode or when clear the items reset scrollbar positions
3662 2005-11-04 Jackson Harper <jackson@ximian.com>
3664 * CurrencyManager.cs: Implement the MetaDataChanged event, the
3665 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3666 as to what the method may do as there is no real way of creating a
3667 derived CurrencyManager and calling the method.
3669 2005-11-03 Jackson Harper <jackson@ximian.com>
3671 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3672 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3673 method which seems to just be used internally to refresh the tabs.
3675 2005-11-03 Jackson Harper <jackson@ximian.com>
3677 * TabControl.cs: Implement the remove method. Fix some broken
3680 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3682 * DateTimePicker.cs:
3683 - Added missing DateTimePickerAccessibleObject class
3684 - Added missing events
3685 - Added OnFontChanged method
3686 * Form.cs: Added missing attributes
3687 * TreeView.cs: Added missing attributes
3689 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3691 * GridItemCollection.cs: Fix signatures
3693 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3695 * XplatUI.cs: Updated build rev/date
3696 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
3697 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3698 * Application.cs: Trigger context-specific ExitThread events
3700 2005-11-03 Jackson Harper <jackson@ximian.com>
3704 * GridTableStylesCollection.cs:
3709 * MonthCalendar.cs: Signature fixes
3711 2005-11-03 Jackson Harper <jackson@ximian.com>
3713 * TreeNodeCollection.cs: Remove should not be virtual.
3714 * TreeView.cs: Implement the last of the missing methods.
3716 2005-11-03 Jackson Harper <jackson@ximian.com>
3718 * TreeNodeConverter.cs: Implement to get off my class-status back.
3720 2005-11-03 Jackson Harper <jackson@ximian.com>
3722 * TreeView.cs: Hookup the bits for drag and drop.
3723 * TreeNode.cs: Don't cache the tree_view or index anymore, now
3724 that nodes can be moved from tree to tree easily this just causes
3725 all sorts of problems.
3726 * TreeNodeCollection: Don't need to give treenodes an index and
3727 treeview anymore when they are added, these are computed on the
3728 fly. Also make sure to remove a node before its added.
3730 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3733 - Added CaretSelection enum
3734 - Added comparison methods to Marker struct, makes selection code
3736 - Added SelectionStart and SelectionEnd as 'moveable' location for
3737 the CaretDirection enum and handler
3738 - Added selection_prev variable to track optimized invalidation for
3739 word and line selection
3740 - Added SelectionVisible property (returns true if there is a valid
3742 - Switched CaretHasFocus to only display the caret if there is no
3744 - Avoiding StringBuilder.ToString to retrieve a single char, instead
3745 using the direct character index; should be much faster
3746 - Added various conditional debug statements
3747 - Fixed invalidation calculation for selection ranges
3748 - Added ExpandSelection() method to support word and line selection
3749 - Switched SetSelectionToCaret to use new Marker compare overloads
3750 - Added central IsWordSeparator() method to determine word
3751 separators/whitespace and FindWordSeparator() to streamline common
3752 usage of IsWordSeparator()
3754 - Removed unneeded grabbed variable, it was just mirroring
3756 - No longer firing OnTextChanged event when Text setter is called,
3757 since the base will fire the event for us
3758 - Added handling of Ctrl-Up/Down selection
3759 - Added handling of Shift-Cursorkey selection
3760 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3762 - Added handling of Shift and Ctrl-Shift-Home/End selection
3763 - Removed some debug output
3764 - Added handling for single/double/tripple-click to place caret/
3765 select word/select line respectively (Fixes bug #76031)
3766 - Added support for drag expansion of word/line selection
3767 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3770 2005-11-02 Jackson Harper <jackson@ximian.com>
3772 * X11Dnd.cs: If the drag is going to and from a MWF window just
3773 copy the data instead of sending it out through the X Selection
3776 2005-11-02 Jackson Harper <jackson@ximian.com>
3779 * XplatUIX11.cs: When in a drag we don't want motion notify
3780 messages to get passed on to the other controls. This prevents
3781 mouse move messages from showing up in the drag source.
3783 2005-11-02 Jackson Harper <jackson@ximian.com>
3785 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
3786 the correct button is release to end a drag.
3787 * XplatUIX11.cs: Make the button state internal so the drag system
3788 can access it. Dragging needs to know about all button releases,
3789 not just left button.
3791 2005-11-02 Miguel de Icaza <miguel@novell.com>
3793 * Form.cs (Icon): If the icon is null, reset the icon to the
3796 * Cursor.cs: When writing the AND-mask bitmap do not include the
3797 number of colors, but hardcode those to two (black and white),
3798 fixes the loading of color cursors (Paint Dot Net).
3800 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3801 turn off autoscaling.
3803 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3805 2005-11-02 Jackson Harper <jackson@ximian.com>
3807 * X11Dnd.cs: Make sure to send a status message if the pointer
3808 enters a control that can not accept a drop, otherwise the cursor
3809 isn't updated correctly. Also tried to compress the lines of code
3812 2005-11-02 Jackson Harper <jackson@ximian.com>
3814 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3815 set actions correctly. This isn't perfect as XDND and win32 have
3816 some differences on how you allow actions. I'll clear this up by
3817 adding a path for drag from MWF to MWF windows.
3818 * XplatUIX11.cs: Hook into the dnd system.
3820 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
3822 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3823 previously shown but they are no longer need it. Very obvious when
3824 browsing files with FileDialog.
3826 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
3828 * Control.cs: We always need to call OnPaintBackground. We pretty much
3829 ignore AllPaintingInWmPaint and always do the painting there, whether
3830 it's set or not, since we always ignore the WM_ERASEBKGND message
3831 (which we don't generate on X11). This fixes #76616.
3832 * Panel.cs: Removed unneeded background painting. This happens properly
3833 in Control.cs already
3835 2005-10-31 Mike Kestner <mkestner@novell.com>
3837 * Menu.cs: Add items to collection before setting their index.
3838 * MenuItem.cs : add range checking with ArgumentException like MS.
3841 2005-10-31 Jackson Harper <jackson@ximian.com>
3843 * ListBox.cs: Invalidate if the area is visible at all not just
3844 contained in the visible rect. Fixes unselection of semi visible
3847 2005-10-31 Jackson Harper <jackson@ximian.com>
3849 * Control.cs: Consistently name the dnd methods. Make them
3850 internal so we can override them to match some MS behavoir
3852 * Win32DnD.cs: Use the new consistent names.
3854 2005-10-31 Jackson Harper <jackson@ximian.com>
3856 * TreeView.cs: Don't draw the selected node when we lose focus.
3858 2005-10-31 Jackson Harper <jackson@ximian.com>
3860 * X11Dnd.cs: We still need to reset the state even though a full
3861 reset isn't being done, otherwise status's still get sent all over
3864 2005-10-31 Jackson Harper <jackson@ximian.com>
3866 * Control.cs: Make the dnd_aware flag internal so the dnd
3867 subsystem can check it. Catch exceptions thrown in dnd handlers to
3869 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3870 * X11Dnd.cs: Handle null data in the converters. Set the XDND
3871 version when sending a XdndEnter. Use the control/hwnd dnd_aware
3872 flags to reduce the number of dnd enters/status's sent.
3874 2005-10-31 Jackson Harper <jackson@ximian.com>
3876 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3878 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
3880 * PictureBox.cs: Fixes 76512
3882 2005-10-28 Jackson Harper <jackson@ximian.com>
3884 * X11Dnd.cs: Early implementation to support winforms being a drag
3885 source for data on X11. Also restructured the converters so they
3886 can go both ways now.
3887 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3889 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
3891 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3894 2005-10-27 Jackson Harper <jackson@ximian.com>
3896 * TreeNode.cs: Implement serialization so my DnD examples will work.
3898 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
3900 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3901 TreeView.cs: Don't dispose objects that are not owned.
3903 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
3905 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3906 should retrieve the current cursor and report that, but XplatUI
3907 doesn't (yet) have an interface for that (and I'm not sure I even
3909 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3910 until any message loop processing is done (and the WM_SETCURSOR
3911 replaces the cursor to the proper one)
3913 - Fixed override behaviour, we can't set the cursor globally on X11,
3914 just for our windows.
3915 - Invalidating the System.Drawing X11 display handle when we are
3917 * Control.cs: Fix to make csc happy
3919 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
3922 - get_Text: Add last line (without trailing newline) to returned
3924 - get_TextLength: Count last line in returned length
3925 - ToString: Call Text property instead of duplicating code
3927 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
3929 * ImageList.cs: Dispose ImageAttributes objects.
3931 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3933 * ImageList.cs: Use attribute constructors with less arguments where
3936 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3938 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3939 Use typeof instead of strings when assembly is referenced. Added
3942 2005-10-21 Jackson Harper <jackson@ximian.com>
3944 * ListView.cs: Raise a double click event. Also tried to somewhat
3945 fix when the selectedindexchanged event is raised. Its still
3948 2005-10-21 Jackson Harper <jackson@ximian.com>
3950 * TreeView.cs: New method to invalidate the plus minus area of a
3951 node without invalidating the whole node (maybe this can be used
3952 in some more places).
3953 * TreeNodeCollection.cs: When adding to an empty node we need to
3954 invalidate its plus minus area so the little block shows up.
3956 2005-10-21 Jackson Harper <jackson@ximian.com>
3958 * TreeView.cs: Make sure that when we invalidate a node the bounds
3959 are big enough to cover the selected box and the focus
3960 rectangle. Use a different colour for the lines connecting nodes
3961 so they show up with all themes.
3963 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3965 * NativeWindow.cs: Don't call anything that could call into the driver,
3966 we might be on a different thread.
3968 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3970 * Control.cs(Dispose): Since Dispose might run on a different thread,
3971 make sure that we call methods that could call into the driver via
3972 invoke, to avoid thread issues
3974 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3976 * XplatUI.cs: Removed finalizer
3977 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3978 not allowing to be called on the finalizer thread.
3980 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
3983 - Reverted r51889 and r51891.
3984 - Added ImageListItem class that stores unmodified image items and image
3985 properties required to create list images until handle is created.
3986 - Added AddItem and moved image creation logic to AddItemInternal.
3987 - Added CreateHandle method that creates images based on unmodified items.
3988 - Added DestroyHandle that changes state to store unmodified items.
3989 - Add and AddStrip methods no more create handle.
3990 - ReduceColorDepth has no return value.
3991 - Dispose destroys handle.
3992 - Modified other methods to reflect the above changes.
3993 - Implemented key support.
3994 - Added profile 2.0 members and attributes.
3995 - Added private Reset and ShouldSerialize methods that provide the same
3996 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3997 them as they are private.
3998 - Added some more comments about implementation details.
4000 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4002 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4004 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4006 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4008 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4010 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4011 * DataGridColumnStyle.cs: Remove debug message
4013 2005-10-20 Jackson Harper <jackson@ximian.com>
4015 * TreeView.cs: We can always get input keys regardless of whether
4016 or not editing is enabled. They are used for navigation.
4018 2005-10-20 Jackson Harper <jackson@ximian.com>
4020 * TreeNode.cs: Use the viewport rect for determining if a node
4021 needs to be moved for visibility. Don't use Begin/End edit. This
4022 calls a full refresh when its done.
4023 * TreeView.cs: New SetBottom works correctly. Make the viewport
4024 rect property internal so the treenodes can see it. When clicking
4025 on a node we need to ensure that its visible because it might just
4026 be partly visible when clicked.
4028 2005-10-20 Jackson Harper <jackson@ximian.com>
4030 * TreeNodeCollection.cs: Remove debug code.
4032 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4034 * Datagrid.cs: Implements column sorting in Datagrid
4035 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4037 2005-10-20 Jackson Harper <jackson@ximian.com>
4039 * TreeNodeCollection.cs: Remove items properly. Update the correct
4040 area after removing them.
4042 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4044 * Datagrid.cs: Should not call base.OnPaintBackground
4046 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4048 * XplatUIX11.cs (GetMessage):
4049 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4050 window instead of client window
4051 - Now properly calculates NC_xBUTTONUP message coordinates
4052 - ScreenToMenu now properly calculates it's coordinates of whole
4053 window, since menus are in the whole window, not in the client
4055 - Added WholeToScreen coordinate translation method
4057 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4059 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4060 want to return a message, loop back to the beginning of the function
4061 and grab the next real message to process instead.
4063 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4065 * Splitter.cs: Properly set limits if no filler control is used
4067 2005-10-19 Jackson Harper <jackson@ximian.com>
4069 * ColorDialog.cs: Don't show the help button if it is not enabled
4070 instead of disabling it (this is what MS does). Don't create the
4071 panel until the dialog is run, otherwise the vars (such as
4072 ShowHelp) are not set yet.
4074 2005-10-19 Jackson Harper <jackson@ximian.com>
4076 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4077 are reduced when adding nodes.
4079 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4082 2005-10-19 Jackson Harper <jackson@ximian.com>
4084 * FolderBrowserDialog.cs: End editing our treeview so the window
4085 actually gets refreshed.
4087 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4089 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
4090 Obsoleted handling of WM_ERASEBKGND, now always draws our background
4093 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4095 * MenuAPI.cs: Returns after Hidding window
4096 * XplatUIX11.cs: Added TODO found while debugging menu issues
4098 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4100 * XplatUIX11.cs: Do not re-map the whole window when it's size
4101 becomes non-zero unless it's supposed to be actually visible
4103 2005-10-18 Jackson Harper <jackson@ximian.com>
4105 * TreeView.cs: We don't need to keep a count anymore.
4106 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4107 use the Grow method.
4109 2005-10-18 Jackson Harper <jackson@ximian.com>
4111 * TreeNodeCollection.cs: Insert is not supported on arrays, so
4112 implement it manually here.
4114 2005-10-18 Jackson Harper <jackson@ximian.com>
4116 * ImageList.cs: Dont kill the list when the colour depth is
4117 changed, just change the colour depth of all the images.
4118 - Same goes for setting the image size. Just resize them all
4119 instead of killing the list softly.
4121 2005-10-18 Jackson Harper <jackson@ximian.com>
4123 * Control.cs: Don't invalidate empty rectangles.
4125 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4128 - Adds checked item to the Checked/Item lists (where empty before)
4129 - Do not add items to the Selected lists if they are already present
4131 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4132 - When deleting items make sure that we delete them for the Selected
4133 and Checked list also.
4135 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4137 * Label.cs: Dispose objects no longer used
4138 * ThemeWin32Classic.cs: Dispose objects no longer used
4140 2005-10-18 Jackson Harper <jackson@ximian.com>
4142 * TabControl.cs: Don't refresh the whole control when the tabs are
4143 scrolled, we just need to refresh the tab area.
4145 2005-10-17 Jackson Harper <jackson@ximian.com>
4147 * XplatUIX11.cs: Compress code a little bit. Only calculate the
4148 after handle when we need it.
4150 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4152 * Control.cs: When the parent size changes, recalculate anchor
4153 positions. Partial fix for #76462
4155 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4157 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
4160 2005-10-17 Jackson Harper <jackson@ximian.com>
4162 * MonthCalendar.cs: Don't create the numeric up down until our
4163 handle is created. Otherwise our handle is created in the
4164 constructor and we don't know if we are a WS_CHILD or WS_POPUP
4167 2005-10-17 Jackson Harper <jackson@ximian.com>
4169 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4172 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4173 * TreeNode.cs : small logical fix (was using local var instead of field)
4175 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4177 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4179 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4181 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4183 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
4186 - Re-implemented anchoring code. My first version was really broken.
4187 This fixes bug #76033. Unlike the previous implementation we will
4188 no longer have round errors since all numbers are calculated from
4189 scratch every time. Removed various anchor-related obsolete vars.
4190 - InitLayout no longer causes layout event firing and layout to be
4193 2005-10-16 Jackson Harper <jackson@ximian.com>
4195 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4198 2005-10-16 Jackson Harper <jackson@ximian.com>
4200 * TabControl.cs: Remove debug code.
4202 2005-10-16 Jackson Harper <jackson@ximian.com>
4204 * XEventQueue.cs: Increase the default queue size (very simple
4205 apps needed to grow the queue).
4206 * Hwnd.cs: No finalizer so we don't need to suppress
4207 finalization. Compute the invalid area manually so a new rectangle
4208 does not newto be created.
4209 * ScrollableControl.cs: Don't set any params (otherwise visibility
4210 isn't set correctly).
4211 * MdiChildContext.cs: New constructor takes the mdi parent so it
4212 doesn't have to be computed and avoids a crash on windows. Draw
4213 the window icon properly, and allow the text to be seen.
4214 * Form.cs: Use new MdiChildContext constructor. Make sure the
4215 child context isn't null in wndproc.
4216 * TabControl.cs: Don't set focus, this is muddling keyboard
4217 behavoir. Expand the tab rows when a window size increase will
4218 allow extra tabs to be seen. Don't allow tabs smaller than the
4219 width of a window to be scrolled out of view.
4221 * TreeView.cs: Use measure string to calculate a nodes width, the
4222 width is cached and only updated when the text or the font is
4223 changed. Don't check for expand/collapse clicks on the first level
4224 nodes if root lines are disabled.
4226 2005-10-16 Ritvik Mayank <mritvik@novell.com>
4228 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4230 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4232 * DataGridBoolColumn.cs: fixes warning
4234 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4236 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4237 to match more to match more precisely the MS Net behavior
4239 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4241 * Hwnd.cs: Added field to track if window is mapped
4243 - Unmap windows if they become 0-size, re-map when
4244 they are >0 again; fixes #76035
4245 - Re-set our error handler after initializing X11Desktop
4246 to override any error handlers Gtk or whatever was called
4249 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4251 * CheckedListBox.cs: Removed unused vars
4252 * ListView.cs: Fixed signatures
4253 * RichTextBox.cs: Removed unused vars
4254 * TextBoxBase.cs: Removed unused vars
4255 * XplatUIWin32.cs: Removed unused vars
4256 * XplatUIX11.cs: Removed unused vars
4257 * XplatUI.cs: Updated version and date to latest published
4259 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4261 * Cursor.cs: Added private .ctor to work around a bug in
4262 resourceset (Thanks to Geoff Norton for the help on this)
4263 * SplitterEventArgs.cs: Made fields accessible so we don't
4264 waste boatloads of objects and can reuse the same one
4266 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4267 any captions and borders when generating screen coordinates
4268 * Splitter.cs: Reimplemented control, now fully complete, uses
4269 rubberband drawing, supports and obeys all properties, has
4272 2005-10-13 Miguel de Icaza <miguel@novell.com>
4274 * Form.cs (Form): Setup default values for autoscale and
4275 autoscale_base_size; Make these instance variables, not static
4278 (OnLoad): on the first load, adjust the size of the form.
4280 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4282 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4283 width argument to DrawReversibleRectangle()
4284 * XplatUIWin32.cs, XplatUIX11.cs:
4285 - Implemented width for DrawReversibleRectangle()
4286 - Added logic to DrawReversibleRectangle that recognizes a zero
4287 width or height and only draws a line in that situation
4289 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4291 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4292 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4293 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4294 method (it uses our FosterParent window to get a graphics context)
4296 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4298 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4299 and SetWindowBackground methods
4301 - Setting proper ControlStyles
4302 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4303 EraseWindowBackground, instead we draw the window background
4304 ourselves in PaintControlBackground. This behaviour is
4305 required to match MS, where, when OnPaintBackground is not
4306 called, the background is not drawn.
4307 - Removed unneeded Refresh() in set_Text
4308 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4310 - Created DeriveStyles method to translate from CreateParams to
4311 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4312 matches FormBorderStyle enum values)
4313 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4314 style calculations into single DeriveStyles method
4315 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4316 from redrawing the whole window on any resize or expose.
4317 - Fixed CreateWindow usage of SetWindowValuemask. Before not
4318 all styles were applied to our whole/client window appropriately
4319 - Removed EraseWindowBackground() and SetWindowBackground() methods
4320 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4321 no longer clear/redraw the background through X
4322 - Removed handling of erase_pending bit, we have no use for it (or
4325 - Removed generation and handling of WM_ERASEBKGND message
4326 - Removed EraseWindowBackground() and SetWindowBackground() methods
4327 - Removed handling of hwnd.ErasePending flag
4329 - Removed EraseWindowBackground() and SetWindowBackground() methods
4330 - We no longer call EraseWindowBackground on PaintEventStart, we
4331 ignore the fErase flag, erasing is handled in Control in the
4333 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4334 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4335 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
4336 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
4337 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
4338 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4339 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4341 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
4343 * PropertyGrids.cs: Get sub properties
4344 * PropertyGridView.cs: Fix drawing code
4346 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4348 * ListBox.cs: Fixes 76383
4350 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4352 * DataGridTextBoxColumn.cs: Sets location and size before attachment
4353 * ThemeWin32Classic.cs: Fixes border drawing and calculations
4354 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4357 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4359 * ComboBox.cs: Fixes border drawing
4361 2005-10-10 Miguel de Icaza <miguel@novell.com>
4363 * MimeIcon.cs: Ignore errors if the file can not be read.
4365 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4367 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4368 - Fixed border calculations
4369 - Fixed horizontal scrolling in single column listboxes
4370 - Fixed drawing issues
4372 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
4374 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
4375 FormBorderStyle enum
4376 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
4377 code to determine FormBorderStyles from CreateParams
4379 - Fixed bug where we'd set the wrong window styles if we were
4380 not creating an MDI window
4381 - Added call to XplatUI.SetBorderStyle when form borders are set
4382 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4384 - Removed obsolete edge style
4385 - Switched from BorderStyle to FormBorderStyle
4387 2005-10-10 Jackson Harper <jackson@ximian.com>
4389 * Form.cs: Use the property to get the window handle instead of
4390 accessing it directly. Prevents a null reference exception.
4392 2005-10-10 Jackson Harper <jackson@ximian.com>
4394 * TreeView.cs: Don't adjust the rect given to DrawString now that
4395 our libgdiplus draws correctly.
4397 2005-10-08 Jackson Harper <jackson@ximian.com>
4399 * TreeView.cs: Don't try to find the clicked on node if there are
4400 no nodes in the tree.
4402 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4408 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4410 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4411 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4413 Use ResPool for brushes and dispose System.Drawing objects that
4414 are not used anymore.
4416 2005-10-07 Jackson Harper <jackson@ximian.com>
4418 * MdiChildContext.cs: Use the new borders instead of drawing them
4421 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4423 * Calling UpdateBounds after changing the window's BorderStyle
4424 since the style can change the ClientSize
4426 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4428 * Control.cs: Made PaintControlBackground virtual
4429 * Panel.cs: Overriding PaintControlBackground instead of using paint
4430 event; paint event method was interfering with 'real' users of the
4433 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4435 * ThemeWin32Classic.cs: remove border drawing since it is handled
4436 by the base control class now and was causing double border drawing.
4438 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4440 * Panel.cs: Redraw our background on paint. Not a pretty solution,
4441 but it does seem to match MS behaviour. This fixes bug #75324
4443 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4445 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4446 somewhat hackish looking
4448 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4451 - We now accept Enter even if AcceptEnter is false, if the containing
4452 form does not have an AcceptButton configured (fixes bug #76355)
4453 - Calculations are now fixed to no longer use Width/Height, but
4454 ClientSize.Width/Height, since we now support borders (this was
4455 a result of fixing borders and therefore bug #76166)
4456 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
4457 true (fixes bug #76354)
4459 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4462 - Defaulting BorderStyle and setting it in XplatUI when our window
4464 - Added enum check to InternalBorderStyle setter
4466 - Added drawing of window borders
4467 - Now properly calculates WM decorations offset for toplevel
4468 windows (fixes bug #74763)
4470 - Implemented BorderStyles for windows (we're letting win32 draw
4472 - Fixed the signature for SetWindowLong
4473 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4474 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
4476 * UpDownBase.cs: Remove drawing of borders, this is handled by
4477 the driver, outside the client area
4478 * ListView.cs: Removed bogus border calculations. The control should
4479 be oblivious to borders, since those are not part of the client
4481 * X11DesktopColors.cs: Commented out (currently) unneeded variables
4482 * ThemeWin32Classic.cs: Removed border calculations from ListView
4485 2005-10-06 Jackson Harper <jackson@ximian.com>
4487 * MdiChildContext.cs: Clear out the old virtual position remove
4488 all the unneeded calls to CreateGraphics.
4490 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4492 * TextControl.cs: Use proper color for highlighted text; fixes #76350
4494 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4497 - Added loading and setting of our new default icon
4498 - Only set icon if window is already created
4500 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4503 - Do not explicitly set the foreground and background colors, to
4504 allow inheriting from parents (fixes #76302)
4505 - Use Control's InternalBorderStyle property to deal with borders
4507 2005-10-06 Jackson Harper <jackson@ximian.com>
4509 * MdiChildContext.cs: Use the new xplatui function to draw a
4512 2005-10-06 Jackson Harper <jackson@ximian.com>
4514 * Form.cs: Add the parent before creating the child context cause
4515 we need the parent when setting up the child.
4517 2005-10-06 Jackson Harper <jackson@ximian.com>
4519 * FolderBrowserDialog.cs: redo the tree population code so a
4520 second thread isn't used. Should be a lot faster and more stable
4523 2005-10-05 Jackson Harper <jackson@ximian.com>
4525 * TreeView.cs: There are no expand/collapse boxes if the node has
4528 2005-10-05 Jackson Harper <jackson@ximian.com>
4530 * X11DesktopColors.cs: Get menu colours for the gtk theme.
4532 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
4534 * FileDialog.cs: Fix InitialDirectory
4536 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4539 - Fixes changing between styles
4541 - Fixes last item crashing when navigating with keyboard
4543 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4545 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4547 2005-10-05 Jackson Harper <jackson@ximian.com>
4549 * TreeView.cs: If updating the root node do a full refresh.
4550 * TreeNode.cs: The root node should be expanded by default. Also
4551 added a utility prop to tell if we are the root node.
4552 * TreeNodeCollection.cs: Only refresh if the node we are being
4553 added to is expanded. Also added a comment on a potential
4556 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
4558 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
4559 in dispose method. Fixes #76330
4561 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
4563 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4565 - Implements vertical and horizontal scrolling using XplatUI
4566 - Fixes keyboard navagation
4567 - Fixes EnsureVisible
4569 - Handles and draws focus properly
4572 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
4574 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4575 Create handle. NET_2_0: Destroy handle when value is null.
4577 2005-10-03 Jackson Harper <jackson@ximian.com>
4579 * ScrollBar.cs: My last scrollbar patch was broken. This is a
4580 revert and a new patch to prevent the thumb from refreshing so
4583 2005-10-02 Jackson Harper <jackson@ximian.com>
4585 * ScrollBar.cs: Don't update position if it hasn't actually
4586 changed. This occurs when you hold down the increment/decrement
4587 buttons and the thumb gets to the max/min.
4589 2005-10-01 Jackson Harper <jackson@ximian.com>
4592 * MdiChildContext.cs:
4593 * MdiClient.cs: Implement ActiveMdiChild in Form.
4595 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
4597 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4599 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
4601 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4604 2005-09-30 Jackson Harper <jackson@ximian.com>
4606 * ListBox.cs: Don't do a full refresh unless some data has
4609 2005-09-30 Jackson Harper <jackson@ximian.com>
4611 * TreeView.cs: Make sure that the checkboxes size is factored in
4612 even when not visible.
4614 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4616 * FileDialog.cs: Fix Jordi's build break
4618 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4621 - Use standard the Windows colours for the combobox as espected
4622 - Dispose objects that use resouces when no longer need them
4624 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4626 * X11DesktopColors.cs: Initial incomplete implementation
4627 * XplatUIX11.cs: Added call to initialize X11DesktopColors
4629 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4632 - Switched Theme color names to match the names defined in
4633 System.Drawing.KnownColors. Life's hard enough, no need to make
4635 - Added setters to all theme color properties so themes can set
4636 their color schemes. The setters also propagate the color changes
4637 to System.Drawing.KnownColors via reflection
4638 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4639 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4640 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4641 use the new, more logical theme color names
4642 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4644 * ThemeWin32Classic.cs:
4645 - Removed code to set the old classic Windows colors. Instead it
4646 now relies on the colors returned by System.Drawing.KnownColors
4647 which will be either modern static colors (Unix) or colors
4648 read from the user's configuration (Win32)
4649 - Updated to use the new, more logical theme color names
4650 - Switched DataGrid drawing code to use only Theme colors instead of
4651 a mix of System.Drawing.KnownColors and Theme colors
4652 - DrawFrameControl(): Removed code that fills the button area, the
4653 fill would overwrite any previous fill done by a control. This
4655 - Added DrawReversibleRectangle() stub
4656 * ScrollableControl.cs: Set visible state to false when scrollbars
4657 are removed (pdn fix)
4658 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
4659 DrawReversibleRectangle() method to allow drawing primitive
4661 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4663 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4665 * ImageList.cs: Add(Icon): Create handle.
4667 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4670 * ThemeWin32Classic.cs:
4673 - Issues with drawing
4675 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4677 * ImageList.cs: Moved RecreateHandle back to ImageList as event
4678 source has to be the ImageList.
4680 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4682 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4684 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4686 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4688 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4690 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4692 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
4693 * GridItem.cs: Fixed TODOs
4694 * GridItemCollection.cs: Added ICollection interface
4696 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4698 * ImageList.cs: Resize icons when needed.
4700 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
4703 - Fixes GetBounds and returns on screen rects
4705 - Fixes vertical and horzintal scrolling of items
4706 * ThemeWin32Classic.cs:
4709 2005-09-29 Raja R Harinath <harinath@gmail.com>
4711 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4713 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
4715 * ImageList.cs: Added comments about handle creation. Moved Handle,
4716 HandleCreated and OnRecreateHandle implementations to ImageCollection.
4717 Handle is created in Add methods.
4719 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4721 * DataGridDrawingLogic.cs:
4722 - Takes rows into account on Colum calculations
4723 - Returns the column when clickig
4725 - Fixes default HitTestInfo values
4726 - Fixes HitTestInfo.ToString
4727 - Fixes ResetBackColor
4729 2005-09-28 Jackson Harper <jackson@ximian.com>
4731 * MdiChildContext.cs: Obey rules for fixed sized windows (no
4732 sizing or cursor changes). Also added some temp code to draw the
4733 titlebars text (Makes dev a little easier).
4735 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4737 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4739 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4741 * ListBox.cs: Fixes bug 76253
4743 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4745 * ImageList.cs: Added comments about the current implementation. Added
4746 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4747 Format32bppArgb to preserve transparency and can use Graphics.FromImage
4748 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4749 with Bitmap.LockBits for better performance. Revised the whole file to
4750 match MS.NET behaviour and provide better performance. Non-public
4751 interface members are calling public members even when they throw
4752 NotSupportedException for better maintainability. Moved ColorDepth,
4753 ImageSize, ImageStream and TransparentColor implementations to
4754 ImageCollection for better performance as these properties are not used
4756 * ImageListStreamer.cs: Added a new internal constructor that takes an
4757 ImageList.ImageCollection and serializes Images based on
4758 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4759 match ImageList property name.
4761 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
4763 * ListBox.cs: Fixes IndexFromPoint for last item
4765 2005-09-27 Jackson Harper <jackson@ximian.com>
4767 * Form.cs: Set the position of new mdi children correctly.
4769 2005-09-27 Jackson Harper <jackson@ximian.com>
4771 * MdiClient.cs: New mdi children need to be added to the back of
4772 the controls collection so the zorder is set correctly. Also add a
4773 count of all the child windows that have been created.
4775 2005-09-27 Jackson Harper <jackson@ximian.com>
4777 * Form.cs (CreateParams): Setup MDI forms correctly.
4779 2005-09-27 Jackson Harper <jackson@ximian.com>
4781 * MdiChildContext.cs:
4788 * ScrollableControl.cs:
4789 * ComboBox.cs: Add implicit controls using the new implict control
4790 functionality in ControlCollection. Also try to block multiple
4791 control add in a suspend/resume layout to save some cycles.
4793 2005-09-27 Jackson Harper <jackson@ximian.com>
4795 * Control.cs: Add functionality to the controls collection to add
4796 'implicit controls' these are controls that are created by the
4797 containing control but should not be exposed to the user. Such as
4798 scrollbars in the treeview.
4799 * Form.cs: The list var of the ControlsCollection is no longer
4800 available because of the potential of implicit controls getting
4801 ignored by someone accessing the list directly.
4803 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
4805 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4806 loose it's parent. (Fixed bug introduced in r49103 when we added
4807 setting the child parent to null on Remove)
4809 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
4811 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4812 * Splitter.cs: Added missing attributes for BorderStyle property.
4813 * TextBoxBase.cs: Marked Calculate* methods internal.
4814 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4817 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
4819 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4821 2005-09-25 Jackson Harper <jackson@ximian.com>
4823 * TreeView.cs: Update the node bounds correctly regardless of
4824 whether the node is visible.
4826 2005-09-25 Jackson Harper <jackson@ximian.com>
4828 * ImageList.cs: Don't dispose the image after it is added to the
4829 image list. Only reformat images that need to be resized.
4831 2005-09-25 Jackson Harper <jackson@ximian.com>
4833 * ImageList.cs: Don't set the format when changing the image.
4835 2005-09-25 Jackson Harper <jackson@ximian.com>
4837 * TreeView.cs: We can't just assume the node has a font. Use the
4838 treeviews font if no node font is available.
4840 2005-09-25 Jackson Harper <jackson@ximian.com>
4842 * TreeView.cs: Allow the scrollbars to be reset with negative
4844 - Don't add scrollbars to negative sized windows.
4846 2005-09-23 Jackson Harper <jackson@ximian.com>
4848 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4849 old Mono.Posix. Also remove some stray code that shouldn't have
4852 2005-09-23 Jackson Harper <jackson@ximian.com>
4854 * TreeView.cs: Attempt at proper sizing of the horizontal
4855 scrollbar. Also don't resize the scrollbars unless they are
4858 2005-09-23 Jackson Harper <jackson@ximian.com>
4860 * TreeView.cs: We don't need to expand the invalid area when the
4861 selection changes, as this is all drawn in the node's bounding
4862 box. The area needs to be expanded (previous typo was contracting
4863 it) when the focus rect moves.
4865 2005-09-23 Jackson Harper <jackson@ximian.com>
4867 * TreeView.cs: Display the selection box under the correct
4868 circumstances. We were rendering white text with no selection box
4871 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
4873 * TextControl.cs(Split): Now updates selection start/end if it points
4874 into a line that's being split. Fixes a FIXME and bug #75258
4876 2005-09-23 Jackson Harper <jackson@ximian.com>
4879 * ListControl.cs: Don't use the path when retrieving binding
4880 managers from the binding context. My bat sense tells me that the
4881 path is only used on insertion.
4883 2005-09-22 Jackson Harper <jackson@ximian.com>
4885 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4887 2005-09-22 Jackson Harper <jackson@ximian.com>
4889 * Splitter.cs: There are special cursors used for splitting.
4890 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4892 2005-09-22 Jackson Harper <jackson@ximian.com>
4894 * Splitter.cs: Change the cursor appropriately when the splitter
4895 is moused over, so the user actually knows there is a splitter
4898 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4900 * Label.cs : Fix ToString method to give same output as MS.NET
4902 2005-09-22 Jackson Harper <jackson@ximian.com>
4904 * TreeView.cs: Create the scrollbars when the handle is created
4905 and add them right away, just make them invisble. Also account for
4906 the window being shrunk vertically to the point that the vert
4907 scrollbar needs to be added.
4908 - Remove some 0.5 adjustments to get around anti aliasing issues.
4910 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
4912 * MainMenu.cs: Fixes default value
4913 * MenuItem.cs: Fixes default value
4915 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
4917 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4919 2005-09-21 Jackson Harper <jackson@ximian.com>
4921 * Control.cs: Don't try to set the border style on the window if
4922 it hasn't been created. When the window is created the border
4925 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4927 * Control.cs (Update): Don't call XplatUI if we don't have a
4930 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4932 * ContainerControl.cs: Instead of throwing an exception, print
4933 a one-time warning about Validate not being implemented
4934 * XplatUIWin32.cs: Removed debug output
4936 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4938 * Control.cs: Only set XplatUI background if we expect the windowing
4939 system to handle the background. This stops controls that draw their
4940 own background from flickering
4942 * XplatUIX11.cs: Support custom visuals and colormaps for window
4943 creation. This allows, amongst other things, using MWF X11 windows
4946 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4948 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4949 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4950 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4951 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4952 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4953 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4954 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4955 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4956 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4957 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4958 GridColumnStylesCollection.cs,
4959 IDataGridColumnStyleEditingNotificationService.cs,
4960 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4961 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4962 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
4963 TreeNodeCollection.cs, AmbientProperties.cs,
4964 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4965 DataObject.cs, ErrorProvider.cs, Splitter.cs,
4966 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4967 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4968 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4969 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4970 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4971 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4972 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4973 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4974 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4975 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4976 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4977 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4978 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4979 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4980 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4981 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4982 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4983 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4984 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4985 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4986 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4987 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4988 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4989 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4990 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4991 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4992 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4993 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4994 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4995 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4996 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4997 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4998 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4999 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5000 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5002 2005-09-21 Jackson Harper <jackson@ximian.com>
5004 * TreeNode.cs: Call Before/After Expand not Collapse when
5007 2005-09-20 Jackson Harper <jackson@ximian.com>
5009 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5011 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5015 - Fixes proper storing of subitems
5016 - Fixes not updated items
5018 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5020 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5021 things if our window handle isn't created yet. Also disabled
5022 debug for TextBoxBase
5024 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5026 * MenuAPI.cs: Remove filtering of events to allow menu usage
5028 2005-09-20 Miguel de Icaza <miguel@novell.com>
5030 * Cursor.cs: Allow null to be passed to Cursor.Current.
5032 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5034 * ThemeWin32Classic.cs:
5035 - Change some private methods/fields to protected virtual so that
5036 they can be accessed and overriden in derived classes
5037 - First refactoring of some methods. Derived themes now don't
5038 need to duplicate the complete code from ThemeWin32Classic
5040 - Added nice StatusBar
5041 - Derive from ThemeWin32Classic and not Theme
5042 - Removed duplicate ThemeWin32Classic code
5044 2005-09-20 Miguel de Icaza <miguel@novell.com>
5046 * Control.cs (ControlCollection.Add): If the value null is passed
5047 the control is ignored.
5051 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5053 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5054 PostQuitMessage state.
5055 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5057 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5059 * Application.cs: Our constructor will never get called, move
5060 initialization to fields; fixes bug #75933
5062 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5065 - Allow files to be selected properly using file name
5067 - Add ability to change diretory (absolute / relative)
5068 using file name combo box.
5070 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5073 - Fixes Multicolumn listboxes item wrong calculations
5074 - Allows to click when only one item is in the listbox
5075 - Fixes crash when no items using keyboard navigation
5077 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
5079 * ComboBox.cs: Reverted almost everything from the latest patch which
5082 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
5085 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5087 - When DropDownStyle is Simple, it does not show scrollbar
5088 to the last item of the list.
5089 - When DropDownStyle is Simple, it crashed when the list was
5090 scrolled down with the down cursor key.
5091 - Fixed a bug that when DropDownStyle is DropDownList, the
5092 selected item was not shown.
5093 - The position of the selected item was not preserved when
5094 the next dropdown happened.
5095 * ThemeWin32Classic.cs:
5096 - Items were wrapped at the right end.
5097 * CheckedListBox.cs:
5100 - Items should be fully shown.
5101 - When resizing and vertical scrollbar disappeared, the item
5102 of index 0 should be on the top of the list.
5103 - GetItemRectangle should consider the size of ver. scrollbar
5105 - SizingGrip area should not be allocated when it is not
5107 - Now it reflects MinWidth of the containing panel and
5108 fixed a crash that happens when its width becomes so small.
5110 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5112 * CheckedListBox.cs: Fixes bug 76028
5113 * ListBox.cs: Fixes bug 76028
5115 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5117 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5118 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5120 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
5122 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5124 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5126 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
5128 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5130 * IRootGridEntry.cs: Added
5131 * PropertyGridCommands.cs: Added
5132 * PropertiesTab.cs: Added missing methods and property
5133 * PropertyGridView.cs: Made class internal
5134 * PropertyGridTextBox.cs: Made class internal
5136 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5138 * MimeIcon.cs: Try to check some other environment variables
5139 if "DESKTOP_SESSION" returns "default"
5141 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5143 * ThemeNice.cs: Corrected background colors (e.g. menus)
5144 * ColorDialog.cs: Use correct background colors for controls
5146 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5148 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5150 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
5152 * RichTextBox.cs: Added initial implementation
5153 * lang.cs: Removed. Was accidentally checked in long time ago
5154 * TODO: Removed. Contents were obsolete
5156 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5158 * PropertiesTab.cs : Added
5160 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5162 * PropertyGrid.cs : Update
5163 * PropertyGridView.cs : Update
5164 * System.Windows.Forms.resx : Added images and strings
5166 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5168 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5170 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5172 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5173 a busy loop right after the Ungrab the X11 display is otherwise
5176 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
5178 * ThemeWin32Classic.cs: Optimise the use of clipping
5180 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
5182 * DataGrid.cs: fixes recursion bug
5184 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
5187 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5190 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
5192 * ThemeNice.cs: Draw nice ProgressBars
5194 2005-09-01 Miguel de Icaza <miguel@novell.com>
5196 * VScrollBar.cs: Another buglet found by Aaron's tool.
5198 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5201 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
5204 - Added nicer menu drawing
5208 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5210 * CreateParams.cs (ToString): Made output match MS
5211 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
5212 handle is already created (to avoid forcing window creation)
5213 * XplatUIX11.cs: Set window text to caption after creating window,
5214 in case Text was set before window was created
5215 * Form.cs: Use this.Text instead of a static string as caption
5217 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5219 * NotifyIcon.cs: Don't set the window to visible; this screws
5220 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5221 OnPaint without a bitmap)
5222 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
5223 happen very often anyway; we could add the check to the WM_PAINT
5224 event generation code
5226 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5228 * NotifyIcon.cs: Fill the icon area with a background color, to
5229 avoid 'residue' when transparent icons are drawn
5231 - Handle whole_window == client_window when destroying windows
5232 - SystrayAdd(): Set client_window to whole_window value to
5233 get mouse and other events passed to NotifyIcon
5235 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5237 * Form.cs: Set proper default for Opacity property
5239 - ShowSystray(): Don't bother creating telling the OS
5240 about the systray item if no icon is provided
5241 - Now handles WM_NCPAINT message to deal with whole/client window
5243 - Create window as visible to not get caught by Expose optimization
5244 * Hwnd.cs: Removed debug message
5245 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5246 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5247 PaintEventStart/End to use new client argument
5249 - Commented out debug messages
5250 - Switched PaintEventStart/End to use new client argument
5251 * XplatUI.cs: Added client window bool to PaintEventStart()/
5252 PaintEventEnd() calls, to support drawing in non-client areas
5254 - Added client window bool to PaintEventStart()/PaintEventEnd()
5255 calls, to support drawing in non-client areas
5256 - Added conditional compile to allow using MWF BeginInvoke
5259 - Added some conditional debug output
5260 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5261 whole/client window split
5262 - Implemented handling of client argument to PaintEventStart()/End()
5264 - Throw exception if BeginInvoke() is called and the window handle
5265 or one of the window's parent handles is not created
5266 - Added conditional compile to allow using MWF BeginInvoke on
5268 - get_Parent(): Only sets parent if handle is created. This avoids
5269 forcing window handle creation when parent is set.
5270 - Now fires Layout and Parent changed events in proper order
5271 - Switched to use Handle instead of window.Handle for Z-Order setting,
5272 the get_Parent() patch above causes us to possibly get null for 'window'
5273 - Implemented handling of client argument to PaintEventStart()/End()
5274 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5276 - Now sends a Refresh() to all child windows when Refresh() is called
5278 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5280 * Form.cs: Added (non-functional) Opacity property
5281 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5283 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5284 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5285 use export MONO_THEME=nice to activate it.
5286 Currently supported controls:
5290 - TabControl (TabAlignment.Top only, other will follow)
5291 * ThemeEngine.cs: Add theme nice
5292 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5295 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5297 * Splitter.cs: Resize docked control and its neighbor.
5299 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5300 -- Making Windows with Menus layout correctly --
5301 * Form.cs : The first leg of the fix
5302 Menu setter - adjust Client Size as needed to make space for the menu
5303 SetClientSizeCore - doesn't call base version to be able to pass the
5304 menu handle to XplatUI.CalculateWindowRect
5305 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5306 * XplatUIX11.cs: The critical second leg of the fix
5307 GetWindowPos needs to use a recalculated client_rect
5308 so that resizing the window doesn't break layout of child controls.
5309 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5312 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5314 * Label.cs: Now properly recalculates width and height on Font and Text
5315 changes if AutoSize is set
5317 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5318 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5320 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
5322 * ImageList.cs: Makes ToString method compatible with MS
5324 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
5326 * MenuAPI.cs: fixes bug 75716
5328 2005-08-11 Umadevi S <sumadevi@novell.com>
5329 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5331 2005-08-11 Umadevi S <sumadevi@novell.com>
5332 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5334 2005-08-10 Umadevi S <sumadevi@novell.com>
5335 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5337 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
5339 * Menu.cs: fixes bug 75700
5340 * MenuAPI.cs: fixes navigation issues
5342 2005-08-09 Umadevi S <sumadevi@novell.com>
5343 * CheckedListBox.cs - simple fix for GetItemChecked.
5345 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
5347 * ComboBox.cs: Serveral fixes
5348 * ListBox.cs: Serveral fixes
5350 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5352 * ComboBox.cs: Fixes FindString methods and GetItemHeight
5353 * ListBox.cs: Fixes FindString methods
5355 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5357 * DataGrid.cs: fixes bugs exposed by new tests
5359 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5361 * Mime.cs: Compile Mono assembly references only if compiling
5362 with Mono (Allows to build with VS.Net again)
5364 2005-07-28 Marek Safar <marek.safar@seznam.cz>
5366 * Control.cs (PaintControlBackground): Draw background image
5368 (CheckForIllegalCrossThreadCalls): Stubbed.
5370 * Form.cs (OnCreateControl): Center when should be centered.
5372 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5374 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
5376 * Binding.cs: Binding to properties should be case unsensitive
5378 2005-07-18 vlindos@nucleusys.com
5380 * DataGrid.cs: fixes setmember order
5382 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
5384 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5385 * FileDialog.cs: FileDialog is now resizable and uses the new
5388 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
5390 * DataGridTextBoxColumn.cs: default value
5391 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5392 * GridTableStylesCollection.cs: fixes checking MappingName
5393 * DataGridDrawingLogic.cs: fixes drawing logic issues
5394 * DataSourceHelper.cs: rewritten to make compatible with more data sources
5395 * DataGrid.cs: fixes
5397 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
5399 * MimeGenerated.cs: Use case sensitive comparer for
5400 NameValueCollections
5402 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
5404 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
5405 * ThemeWin32Classic.cs: bug fixes, code refactoring
5406 * DataGridDrawingLogic.cs: bug fixes, code refactoring
5407 * DataGrid.cs: bug fixes, code refactoring
5408 * DataGridTextBox.cs: bug fixes, code refactoring
5409 * DataGridColumnStyle.cs: bug fixes, code refactoring
5410 * Theme.cs: bug fixes, code refactoring
5412 2005-07-01 Peter Bartok <pbartok@novell.com>
5414 * TextControl.cs: Quick fix for the reported crash on ColorDialog
5415 and other text box usage
5417 2005-07-01 Jackson Harper <jackson@ximian.com>
5419 * TabControl.cs: Make sure the bottom of the tab covers the pages
5422 2005-06-30 Peter Bartok <pbartok@novell.com>
5424 * Form.cs (ShowDialog): Assign owner of the dialog
5425 * TextBoxBase.cs: Always refresh caret size when deleting, caret
5426 might have been moved to a tag with different height
5428 2005-06-30 Jackson Harper <jackson@ximian.com>
5430 * Form.cs: Don't create an infinite loop when setting focus
5431 * MenuItem.cs: Don't dirty the parents if we don't have any
5433 2005-06-29 Ben Maurer <bmaurer@ximian.com>
5435 * LibSupport.cs: Rename
5437 2005-06-29 Peter Bartok <pbartok@novell.com>
5439 * TextBoxBase.cs: Re-align caret after deleting a character
5441 - DeleteChars(): Ensure that tag covers the provided position
5442 - StreamLine(): Drop reference for dropped tag
5444 2005-06-29 Peter Bartok <pbartok@novell.com>
5447 - Selections now work properly, anchoring at the initial location
5448 and properly extending in either direction (SetSelectionToCaret(),
5449 SetSelectionStart() and SetSelectionEnd())
5450 - No longer redraws the whole control on selection change, now
5451 calculates delta between previous and new selection and only
5452 invalidates/redraws that area
5453 - Fixed FindPos() math off-by-one errors
5454 - Changed DeleteChars() to verify the provided tag covers the
5455 provided position, selections may have a tag that doesn't cover
5456 the position if the selection is at a tag border
5457 - Fixed off-by-one errors in DeleteChars()
5458 - Added missing streamlining check in DeleteChars() to remove
5460 - Implemented Invalidate() method, now properly calculates exposures
5461 between two given lines/positions
5462 - Implemented SetSelection()
5463 - Obsoleted and removed FixupSelection()
5464 - Improved RecalculateDocument() logic, removing code duplication
5466 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5468 * LibSupport.cs: changes to match different input/output arguments.
5470 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5472 * LibSupport.cs: added libsupport.so init routine.
5474 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
5476 * ControlBindingsCollection.cs
5477 - Throws an exception on null datasource when adding
5478 - Checks for duplicated bindings when adding
5480 2005-06-28 Jackson Harper <jackson@ximian.com>
5482 * TreeView.cs (OnKeyDown): Support left and right properly
5483 (navigates as well as expanding and collapsing.
5484 - Add support for Multiply, this expands all the selected nodes
5488 2005-06-28 Jackson Harper <jackson@ximian.com>
5490 * TreeView.cs: Implement keyboard navigation, currently supports,
5491 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5492 support for toggling checkboxes with the space bar.
5494 2005-06-28 Jackson Harper <jackson@ximian.com>
5496 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5499 2005-06-28 Jackson Harper <jackson@ximian.com>
5501 * TreeView.cs: Add missing event.
5503 2005-06-27 Peter Bartok <pbartok@novell.com>
5506 - Made line ending size configurable (now allows for counting
5507 lineendings as \n or \r\n)
5508 - Added margin to viewport to keep caret visible on right side
5509 - Fixed translation routines for line/pos to documentpos to consider
5510 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5511 - Fixed some line-endings to be unix style
5512 - Fixed Document.FormatText to perform it's calculations 1-based
5513 - Added descriptions for a few methods that might otherwise get
5515 - Added NOTE section with some basic conventions to remember at
5517 - Major fixup for RichTextBox selection drawing:
5518 * Fixed crashes when multiple tags on a single line were selected
5519 * fixed selection box drawing not overlaying text
5520 * fixed bogus offset calculation for tags not starting at index 1
5521 * Switched behaviour from using multiple Substrings of a
5522 StringBuilder.ToString() to using multiple
5523 StringBuilder.ToString(start, length) statements, hoping this is
5524 faster (kept original version commented out in the code, in case
5525 original version was faster)
5526 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
5528 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5531 2005-06-27 Jackson Harper <jackson@ximian.com>
5533 * TabControl.cs: Move to the left and right with the arrow
5534 keys. These keys don't cycle beyond first and last like
5535 tab. Refresh all the tabs when scrolling them to the left or
5538 2005-06-27 Jackson Harper <jackson@ximian.com>
5541 - ToString: Added method
5542 - CreateParams: Remove TODO and comment
5543 - OnKeyDown: Cycle through bounds properly.
5544 - SelectedIndex: Scroll to the right or left if we need to
5545 display the newly selected tab.
5547 2005-06-23 Jackson Harper <jackson@ximian.com>
5549 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5552 2005-06-23 Jackson Harper <jackson@ximian.com>
5554 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5555 CTRL-SHIFT-TAB, and HOME, END are there any others?
5557 2005-06-23 Jackson Harper <jackson@ximian.com>
5559 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5561 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5563 * DataGridTextBoxColumn.cs: fixes and enhancements
5564 * ThemeWin32Classic.cs: fixes and enhancements
5565 * DataGridBoolColumn.cs: fixes and enhancements
5566 * DataGridDrawingLogic.cs: fixes and enhancements
5567 * CurrencyManager.cs: fixes and enhancements
5568 * DataGrid.cs: fixes and enhancements
5569 * DataGridColumnStyle.cs: fixes and enhancements
5571 2005-06-22 Jackson Harper <jackson@ximian.com>
5573 * TabControl.cs: Add some missing methods that just call into the
5574 base. Make the TabPageCollection's IList interface behave in the
5575 same manner as the MS implementation.
5577 2005-06-22 Peter Bartok <pbartok@novell.com>
5579 * TextControl.cs: Added sanity check
5581 - Fixed wrapping behaviour, don't set wrap on single line controls
5582 (this fixes the breakage of colordialog introduced in an earlier
5584 - Added rudimentary support for autoscrolling right-aligned controls
5585 (still needs fixing, also, center alignment scroll is missing)
5587 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5589 * ScrollBar.cs: Fixes thumbpos on Maximum values
5591 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
5593 * PropertyGridView.cs: Pass context information to UITypeEditors
5595 2005-06-21 Peter Bartok <pbartok@novell.com>
5598 - Now calling PositionCaret with absolute space coordinates
5599 - Enabled vertical scrolling
5600 - Better tracking of scrollbar changes, tied into WidthChange
5602 - Improved cursor tracking
5603 - Removed debug output
5605 - PositionCaret coordinates are now works in absolute space, not
5607 - Improved tracking of document size
5608 - Added events for width and height changes
5610 2005-06-21 Peter Bartok <pbartok@novell.com>
5612 * Form.cs: Set focus to active control when form is activated
5614 - Added word-wrap functionality to RecalculateLine()
5615 - Added some short function descriptions for VS.Net to aid in
5616 writing dependent controls
5617 - Added Caret property, returning the current coords of the caret
5618 - Added ViewPortWidth and ViewPortHeight properties
5619 - Added Wrap property
5620 - Added CaretMoved event
5621 - Removed some old debug code
5622 - Split() can now create soft splits
5623 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5624 - Added method to format existing text
5625 - Fixed size/alignment calculations to use viewport
5626 - RecalculateDocument now can handle changing line-numbers while
5630 - Added some wrap logic, we don't wrap if alignment is not left
5631 - Added casts for scrollbar var, base class switched types to
5632 also support RichTextBoxA
5633 - Implemented handling of scrollbar visibility flags
5636 - Switched scrollbars type to RichTextBoxScrollBars to support
5638 - Added tracking of canvas width/height
5639 - Switched scrollbars to be not selectable (to keep focus on text)
5640 - Added central CalculateDocument() method to handle all redraw
5642 - Added ReadOnly support
5643 - Added WordWrap support
5644 - Fixed handling of Enter key (we now treat it as a DialogKey)
5645 - Fixed caret positioning when h or v scroll is not zero
5646 - Fixed placing/generation of vertical scrollbar
5647 - Added CalculateScrollBars() method to allow updating scrollbar
5648 limits and visibility
5649 - Fixed handling of horizontal scroll
5650 - Added handling of vertical scroll
5651 - Implemented auto-'jump' when caret moves to close to a left or
5652 right border and there is text to be scrolled into view (currently
5653 there's the potential for a stack overflow, until a bug in
5656 2005-06-21 Geoff Norton <gnorton@customerdna.com>
5658 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5660 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
5664 - return application/x-zerosize for files with size zero
5665 (if no extension pattern matches).
5666 - check matches collection for strings too.
5667 - return only the first mime type if the name value
5668 collection has more than one mime type.
5670 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
5672 * PropertyGrid.cs: Cleaned up some TODOs
5673 * PropertyGridView.cs: Added support for UITypeEditors
5675 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5677 * DataGrid.cs: clears cached value
5679 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5681 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5682 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5683 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5684 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5686 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
5688 * ThemeWin32Classic.cs: fixes colour
5690 2005-06-15 Peter Bartok <pbartok@novell.com>
5692 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5693 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5694 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5695 * Control.cs: Added some MWFCategory and MWFDescription attributes
5696 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5698 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
5700 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5703 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
5705 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5706 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5707 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5708 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5709 * DataGrid.cs: default datagrid settings for Default Styles, fixes
5710 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5712 2005-06-13 Jackson Harper <jackson@ximian.com>
5714 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5715 isn't printed when the user enables dropping. (X11 does accept
5718 2005-06-13 Jackson Harper <jackson@ximian.com>
5720 * TreeView.cs: Remove some TODOS.
5722 2005-06-13 Jackson Harper <jackson@ximian.com>
5724 * Form.cs: Hook into the mdi framework.
5725 * MdiClient.cs: Use the base control collections add method so
5726 parents get setup correctly. Set the default back colour and dock
5728 * MdiChildContext.cs: New class, this bad actor handles an
5729 instance of an MDI window. Right now there is only basic
5730 support. You can drag, close, and resize windows. Minimize and
5731 Maximize are partially implemented.
5733 2005-06-13 Jackson Harper <jackson@ximian.com>
5735 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5736 freaky when both vals are negative. NOTE: There are probably other
5737 places in XplatUIX11 that this needs to be done.
5739 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
5741 * DataGrid.cs: implement missing methods, move KeyboardNavigation
5742 * DataGridColumnStyle.cs: fixes signature
5744 2005-06-12 Jackson Harper <jackson@ximian.com>
5746 * XplatUIX11.cs: Use sizing cursors similar to the ones on
5749 2005-06-11 Jackson Harper <jackson@ximian.com>
5751 * StatusBarPanel.cs: Signature cleanups. Implement
5754 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
5756 * DataGridTextBoxColumn.cs: Honors aligment
5757 * GridColumnStylesCollection.cs: Contains is case unsensitive
5758 * GridTableStylesCollection.cs: several fixes
5759 * DataGridTableStyle.cs: default column creation
5760 * DataGridDrawingLogic.cs: fixes
5761 * CurrencyManager.cs: ListName property
5762 * DataGrid.cs: multiple styles support
5763 * DataGridColumnStyle.cs: fixes
5766 2005-06-10 Peter Bartok <pbartok@novell.com>
5768 * Control.cs(Select): Moved SetFocus call to avoid potential
5769 loops if controls change the active control when getting focus
5770 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5773 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
5775 * ImageListConverter.cs: Implemented
5777 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5779 * MonthCalendar.cs: Wired in NumericUpDown control for year
5781 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5783 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5784 DoubleClick events, since they are not meant to be fired.
5786 2005-06-09 Peter Bartok <pbartok@novell.com>
5788 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5789 Jonathan's standalone controls into MWF, implemented missing
5790 events, attributes and methods; added xxxAccessible classes
5791 * AccessibleObject.cs: Made fields internal so other classes
5792 can change them if needed
5794 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
5796 * UpDownBase.cs: Complete implementation
5797 * NumericUpDown.cs: Complete implementation
5798 * DomainUpDown.cs: Complete implementation
5800 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
5802 * DataGridTextBoxColumn.cs: drawing fixes
5803 * DataGridCell.cs: fixes ToString method to match MSNet
5804 * DataGridTableStyle.cs: fixes
5805 * DataGridBoolColumn.cs: fixes, drawing
5806 * DataGridDrawingLogic.cs: fixes, new methods
5807 * DataGridTextBox.cs: Keyboard and fixes
5809 - Keyboard navigation
5811 - Row selection (single, multiple, deletion, etc)
5814 2005-06-07 Jackson Harper <jackson@ximian.com>
5816 * ThemeWin32Classic.cs: Clear the background area when drawing
5819 2005-06-06 Peter Bartok <pbartok@novell.com>
5821 * ImageListStreamer.cs: Fixed signature for GetData
5822 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5824 - Added missing ChildAccessibleObject class
5825 - Added missing OnXXXFocus overrides, switched to using those
5826 instead of the event handler
5828 - Added Parent property for ControlAccessibleObject
5831 - Added ResetBindings()
5832 * ListBindingConverter.cs: Implemented some methods
5833 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5834 * ImageList.cs: Implemented basic handle scheme, removed TODOs
5835 * ContainerControl.cs: Fixed signature, now subscribing to the
5836 ControlRemoved event instead of overriding the handler, LAMESPEC
5837 * CurrencyManager.cs: Added missing attribute
5838 * MonthCalendar.cs: Added missing properties
5840 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5842 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5844 2005-06-06 Gaurav Vaish and Ankit Jain
5846 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5847 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5849 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5851 * Control.cs: fixes CreateParams Width / Height.
5853 2005-06-05 Peter Bartok <pbartok@novell.com>
5855 * Win32DnD.cs: Removed compilation warnings
5857 2005-06-05 Peter Bartok <pbartok@novell.com>
5859 * Control.cs (CreateParams): Since we don't know if one of the
5860 properties we use is overridden, lets make sure if we fail accessing
5861 we continue with a backup plan
5863 2005-06-05 Peter Bartok <pbartok@novell.com>
5866 - Removed debug output
5867 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5869 - Plugged resource leak
5870 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5873 2005-06-05 Peter Bartok <pbartok@novell.com>
5875 * XplatUIWin32.cs: Removed DnD code
5876 * Win32DnD.cs: Implemented drop source and drop target functionality
5878 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5880 * UpDownBase.cs: remove duplicate addition of event, enable some code
5881 that was commented out.
5882 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5883 Validate input when a key is pressed. It works fine now for every
5884 combination of Hexadecimal. Only missing some drawing love when sharing
5885 space with other controls.
5887 2005-06-04 Peter Bartok <pbartok@novell.com>
5890 - We need to pass a window for DragDrop, so enable callback events
5891 - Added DnD callback events when being a DragSource
5892 * XplatUI.cs (StartDrag): Added window handle argument
5893 * XplatUIDriver.cs (StartDrag): Added window handle argument
5894 * QueryContinueDragEventArgs: Made fields internally accessible so
5895 drivers can set them
5896 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5899 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
5901 * DataGridTextBoxColumn.cs: column text editing
5902 * DataGridTableStyle.cs: Respect columns styles created by the user
5903 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5904 * DataGridBoolColumn.cs: bool column editing
5905 * DataGrid.cs: fixes to scrolling, properties, etc
5906 * DataGridTextBox.cs: handle keyboard
5907 * DataGridColumnStyle.cs: fixes
5909 2005-06-02 Jackson Harper <jackson@ximian.com>
5911 * ImageListStreamer.cs: Somewhat broken implementation of
5912 GetObjectData. The RLE needs some work to match MS properly.
5914 2005-06-02 Jackson Harper <jackson@ximian.com>
5916 * X11Dnd.cs: Attempting to keep at least one file in MWF
5919 2005-06-02 Peter Bartok <pbartok@novell.com>
5921 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5924 2005-06-02 Peter Bartok <pbartok@novell.com>
5926 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5927 * XplatUI.cs: Added DoDragDrop() method
5928 * XplatUIDriver.cs: Added DoDragDrop() method
5930 2005-06-02 Jackson Harper <jackson@ximian.com>
5932 * Splitter.cs: Implement BorderStyle.
5934 2005-06-02 Jackson Harper <jackson@ximian.com>
5936 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5937 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5940 2005-06-02 Peter Bartok <pbartok@novell.com>
5944 - Fixed broken insertion code for SetData, now also
5945 overwrites any existing entry of the same format name
5946 * Hwnd.cs: Added list of pointers that automatically gets
5947 freed when the window is disposed
5948 * XplatUI.cs: Call driver initialization method when loading
5951 - OnDragLeave takes EventArgs, not DragEventArgs
5952 - Added setting of WS_EX_ACCEPTFILES style when dropping is
5954 - Forces style update when drop state changes
5955 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5956 not perfect since we cannot (yet) call the IDataObject.GetData()
5957 method, we keep getting 0x80004005 error, dunno why)
5959 2005-06-02 Peter Bartok <pbartok@novell.com>
5961 * DragEventArgs.cs: Make fields internal so we can cache the
5962 object and re-set the fields from XplatUI
5964 2005-06-02 Jackson Harper <jackson@ximian.com>
5966 * Control.cs: Add some internal methods so the DnD subsystem can
5967 raise DnD events. Also call into the driver when AllowDrop is set.
5969 * XplatUIDriver.cs: New method for setting whether or not a window
5970 is allowed to accept drag and drop messages.
5972 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
5974 * ScrollBar.cs: Make sure that values sent in Scroll events
5975 are always between Maximum and Minimum.
5977 2005-06-01 Marek Safar <marek.safar@seznam.cz>
5979 * Menu.cs: Call MenuChanged when menuitem visibility has been
5981 * MenuItem.cs: Rebuild menu when item is (not) visible.
5982 * MainMenu.cs: MainMenu has special MenuChanged.
5983 * Theme.cs: Caption and FrameBorderSize are not fixed.
5984 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5985 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5987 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5988 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5990 2005-05-30 Jackson Harper <jackson@ximian.com>
5992 * DataFormat.cs: We can't statically initialize this stuff because
5993 it calls into the xplatui and could create a loop. So we lazy init
5996 2005-05-28 Jackson Harper <jackson@ximian.com>
5998 * Control.cs: Proper implementation of Product(Name/Version).
6000 2005-05-27 Jackson Harper <jackson@ximian.com>
6002 * DataObject.cs: Dont crash if no data is found.
6004 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6005 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6006 as per status page, guessing it should be set to true
6008 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6010 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6011 * DataGridTableStyle.cs: set proper formatting text, def header text
6012 * ThemeWin32Classic.cs: new themable paramaters
6013 * DataGridBoolColumn.cs: paint check box, get data, fixes
6014 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6015 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6016 * DataGridColumnStyle.cs: fixes
6017 * Theme.cs: new themable paramaters
6019 2005-05-26 Peter Bartok <pbartok@novell.com>
6021 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6023 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6024 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6026 2005-05-24 Peter Bartok <pbartok@novell.com>
6028 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6029 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6030 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6031 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6032 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6033 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6034 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6035 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6036 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6037 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6038 missing attributes, etc
6039 * DataGridPreferredColumnWidthTypeConverter.cs: Added
6041 2005-05-24 Peter Bartok <pbartok@novell.com>
6043 * Help.cs: Added, implemented trivial functions, throws up MessageBox
6044 when user tries to get help
6045 * DataObject.cs, DataFormats.cs, LinkArea.cs,
6046 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6047 to suppress warnings
6048 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6049 avoid unreachable code warning
6051 2005-05-20 Peter Bartok <pbartok@novell.com>
6053 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6055 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6057 * DataGridTextBoxColumn.cs: Basic painting methods
6058 * DataGridTableStyle.cs: Set table style in the column
6059 * ThemeWin32Classic.cs: Use Theme for colors
6060 * DataGridDrawingLogic.cs: Implement more drawing
6061 * DataGrid.cs: drawing, theming, enhacements, fixes
6062 * DataGridColumnStyle.cs: fixes, drawing
6063 * Theme.cs: theming for Datagrid
6065 2005-05-20 Peter Bartok <pbartok@novell.com>
6067 * Cursor.cs: Implemented GetObjectData() method
6069 2005-05-20 Peter Bartok <pbartok@novell.com>
6071 * Cursors.cs: Added setting of cursor name
6073 - Implemented constructors
6074 - Implemented Draw and DrawStretched
6075 - Implemented Current property
6076 - Implemented == and != operators
6077 - Implemented Dispose()
6078 - Implemented ToString
6079 - Added missing attributes
6081 - Added missing reset for OverrideCursor when DoEvents is called
6082 - Fixed creation of cursor, logic was wrong
6084 - Added missing reset for OverrideCursor when DoEvents is called
6085 - Fixed creation of cursor, bit arrays were swapped
6086 * Clipboard.cs: Removed obsolete MonoTODO attribute
6088 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6090 * ComboBox.cs: fixes OnSelectedItemChanged
6091 * ControlBindingsCollection.cs: fixes item range check
6093 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6096 - Calc preferred height properly
6097 - Implement missing properties
6099 * NumericUpDown.cs: Implement missing events
6101 2005-05-19 Jackson Harper <jackson@ximian.com>
6103 * TabControl.cs: New method that resizes the tab pages before
6104 redrawing them. This as needed as the control is double buffered
6105 and sizing will not be recalculated unless ResizeTabPages is
6107 * TabPage.cs: Set base.Text instead of Text in the constructor so
6108 that UpdateOwner does not get called. Use the new Redraw method of
6109 TabControl instead of Refresh so the sizing is recalculated.
6110 * ThemeWin32Classic.cs: Draw the text for button tabs.
6112 2005-05-19 Jackson Harper <jackson@ximian.com>
6114 * Control.cs: Paint control background images. Fix typo where
6115 PaintControlBackground was not getting called correctly.
6117 2005-05-19 Peter Bartok <pbartok@novell.com>
6119 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6120 I can investigate, apparently I broke FileDialog
6122 2005-05-19 Marek Safar <marek.safar@seznam.cz>
6124 * AxHost.cs: Some simple properties.
6125 * Control.cs: window must be accessible after ctor.
6126 * Form.cs: Added TransparencyKey property.
6127 * TextBoxBase.cs: Implemented Clear. Text property can be null.
6128 * XplatUIWin32.cs: SetBorderStyle implemented.
6130 2005-05-18 Peter Bartok <pbartok@novell.com>
6132 * DataObject.cs: Entries are not global but particular to the
6133 DataObject, now it behaves that way
6134 * XplatUIWin32.cs: Implemented Clipboard methods
6135 * Clipboard.cs: Implemented
6136 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6137 * XplatUIOSX.cs: Updated to final clipboard prototypes
6138 * XplatUIX11.cs: Implemented Clipboard methods
6139 * XplatUIDriver.cs: Updated to final clipboard prototypes
6140 * XplatUIStructs.cs:
6141 - Added BITMAPINFOHEADER struct
6142 - Added ClipboardFormats enum
6144 - Added ClipboardStruct
6145 - Added Atom enum items for clipboard types
6146 - Fixed atom types for Selection event structures
6148 - Added internal properties and methods for drivers to enumerate
6150 - Switched initialization method to allow drivers to assign their
6151 own IDs even for the MS predefined clipboard IDs
6152 * XplatUI.cs: Updated to final clipboard interface
6154 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6155 * PropertyGridView.cs: Fixed compiler warnings.
6157 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6158 * PropertyGrid.cs: Added some event calls
6159 * PropertyGridView.cs: Change drawing code to use double buffering
6160 * PropertyGridTextBox.cs: Changed Text property name
6161 * GridItem.cs: Added Bounds property.
6162 * GridEntry.cs: Added Bounds property.
6164 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
6166 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6167 since GetType() may not return the correct type if the object is
6170 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
6172 * TreeNodeCollection.cs: fixes get/set item ranges
6174 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6176 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6178 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6180 * ComboBox.cs: Fix item range comparation
6181 * ListView.cs: Fix item range comparation
6183 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6186 - Clear example panel when OnPaint is called
6187 - Better solution for displaying the example panel text
6188 - Select default indexes in the ListBoxes
6190 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6192 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
6194 2005-05-11 Peter Bartok <pbartok@novell.com>
6196 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6197 * SelectionRangeConverter.cs: Implemented
6198 * PropertyGrid.cs: Fixed attribute value
6200 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6201 - Added Sebastien Pouliot's CAS Stack Propagation fixes
6202 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6203 that's common to all drivers. First methods to go there are
6204 Sebastien Pouliot's CAS Stack Propagation helper methods
6205 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6206 Sebastien Pouliot for CAS Stack Propagation
6208 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6211 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6213 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
6215 * DataGridTextBoxColumn.cs: fixed some members
6216 * GridColumnStylesCollection.cs: indexed column is case insensitive
6217 * DataGridTableStyle.cs: fixes
6218 * ThemeWin32Classic.cs: add new theme parameter
6219 * Theme.cs: add new theme parameter
6220 * DataGridDrawingLogic.cs: Datagrid's drawing logic
6221 * DataGrid.cs: fixes, new internal properties, etc.
6222 * DataGridColumnStyle.cs: allows to set grid value
6225 2005-05-10 Peter Bartok <pbartok@novell.com>
6227 * AccessibleObject.cs:
6228 - Removed MonoTODO attribute on help, method is correct
6229 - Fixed Bounds property
6230 * AxHost.cs: Moved MonoTODO
6231 * ButtonBase.cs: Now setting AccessibleObject properties
6232 * RadioButton.cs: Setting proper AccessibleObject role
6233 * CheckBox.cs: Setting proper AccessibleObject role
6234 * ControlBindingsCollection.cs: Added properties, methods and attributes
6235 * DataFormats.cs: Fixed awkward internal API, and changed to enable
6236 userdefined DataFormats.Format items as well
6237 * ListControl.cs: Removed data_member from the public eye
6238 * OpenFileDialog.cs:
6240 - Added missing attributes
6241 * SaveFileDialog.cs: Added missing attributes
6242 * ImageListStreamer.cs: Fixed code that caused warnings
6243 * LinkLabel.cs: Removed unreachable code
6244 * TreeView.cs: Fixed code that caused warnings
6245 * PropertyGridView.cs: Fixed code that caused warnings
6246 * GridColumnStylesCollection.cs: Added missing attributes
6247 * GridTableStylesCollection: Added missing attribute
6248 * PropertyManager: Added .ctor
6249 * SecurityIDType: Added
6250 * DataObject.cs: Implemented class
6251 * LinkArea.cs: Added missing attribute
6253 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6255 * RadioButton.cs: call base method to allow to fire OnClick event
6256 * UpDownBase.cs: OnMouseUp call base method
6257 * CheckedListBox.cs: call base method before returning
6258 * TrackBar.cs: call base method before returning
6261 2005-05-10 Peter Bartok <pbartok@novell.com>
6263 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6266 2005-05-10 Peter Bartok <pbartok@novell.com>
6268 * DataFormats.cs: Implemented
6269 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6270 XplatUIX11.cs: Added Clipboard APIs
6271 * XplatUIWin32.cs: Implemented Clipboard APIs
6272 * FolderBrowserDialog.cs: Added missing event, attributes
6274 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6276 * CheckBox.cs: call base method to allow to fire OnClick event
6278 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6280 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6282 2005-05-06 Peter Bartok <pbartok@novell.com>
6284 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6285 * Screen.cs: Implemented
6286 * HelpNavigator.cs: Added
6287 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6289 * HelpProvider.cs: Implemented all we can do until we have a CHM
6290 help library (which means that "What's This" does work now)
6292 2005-05-06 Jackson Harper <jackson@ximian.com>
6294 * XplatUIX11.cs: Fix waking up the main loop.
6296 2005-05-05 Peter Bartok <pbartok@novell.com>
6298 * XplatUI.cs: Updated revision
6299 * Form.cs: Removed enless loop
6300 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6301 * Label.cs (OnPaint): Added call to base.OnPaint()
6302 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6303 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6304 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6306 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6307 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6308 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6309 reuse of ToolTipWindow by other controls
6310 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6311 * XplatUIX11.cs: Now clipping drawing area (experimental)
6312 * PictureBox.cs: Moved base.OnPaint() call to end of method
6313 * Theme.cs: Fixed ToolTip abstracts to match new format
6314 * ErrorProvider.cs: Implemented
6316 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
6318 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6322 - Implements LinkBehavior
6325 2005-05-03 Jackson Harper <jackson@ximian.com>
6327 * ListView.cs: Calculate the scrollbar positioning on resize and
6328 paint, so they get put in the correct place.
6330 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6332 * ColorDialogs.cs: The small color panels are now handled by
6333 SmallColorControl. This fixes drawing of the focus rectangle
6334 and adds a 3D border.
6336 2005-05-03 Peter Bartok <pbartok@novell.com>
6338 * Control.cs: Modified version of Jonathan Chamber's fix for
6341 2005-05-03 Jackson Harper <jackson@ximian.com>
6343 * ListView.cs: Remove redraw variable. Control now handles whether
6344 or not a redraw needs to be done, and will only raise the paint
6345 event if redrawing is needed.
6347 2005-05-03 Jackson Harper <jackson@ximian.com>
6349 * Splitter.cs: No decorations for the splitter form. Cache the
6352 2005-05-03 Jackson Harper <jackson@ximian.com>
6354 * TreeView.cs: Use dashed lines to connect nodes. Use the
6355 ControlPaint method for drawing the focus rect instead of doing
6358 2005-05-02 Peter Bartok <pbartok@novell.com>
6360 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6362 2005-04-29 Jackson Harper <jackson@ximian.com>
6364 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6365 entire image buffer. Just clear the clipping rectangle.
6367 2005-04-29 Jackson Harper <jackson@ximian.com>
6369 * ThemeWin32Classic.cs: Don't draw list view items that are
6370 outside the clipping rectangle.
6372 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
6374 * ListBox.cs: added horizontal item scroll
6376 2005-04-29 Jackson Harper <jackson@ximian.com>
6378 * ThemeWin32Classic.cs: Remove some old debug code that was
6379 causing flicker with the new double buffering code.
6381 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
6383 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6384 behave like combobox and comboboxlist (still not sure if this is
6387 2005-04-28 Jackson Harper <jackson@ximian.com>
6389 * ThemeWin32Classic.cs: Don't fill the middle of progress
6390 bars. This fills areas outside of the clip bounds that don't need
6393 2005-04-28 Jackson Harper <jackson@ximian.com>
6395 * Control.cs: Don't expose functionality to touch the image buffers.
6397 * ListView.cs: We do not need to (and no longer can) manipulate
6398 the image buffers directly. All of this is handled by Control.
6400 2005-04-28 Peter Bartok <pbartok@novell.com>
6402 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6403 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6404 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6406 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6409 - Adjust control's height for non-simple comboboxes (bug fix)
6411 * MenuAPI.cs: remove unused var
6412 * ScrollBar.cs: remove unsed var
6414 * ListBox.cs: unselect items when clearing
6416 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6418 * ListControl.cs: honors OnPositionChanged and default Selected Item
6419 * ListBox.cs: unselect items when clearing
6421 2005-04-27 Jackson Harper <jackson@ximian.com>
6423 * X11Keyboard.cs: Initialize a default keyboard and give a warning
6424 if a "correct" keyboard is not found. This will make us not crash,
6425 but might give some users bad keyboard layouts...seems to be the
6426 same thing rewind does.
6428 2005-04-27 Jackson Harper <jackson@ximian.com>
6430 * BindingManagerBase.cs: Attach the current/position changed
6431 handlers to their respective events.
6433 2005-04-27 Jackson Harper <jackson@ximian.com>
6435 * Control.cs: Make sure that the first WM_PAINT does a full draw,
6437 * ThemeWin32Classic.cs: Don't fill the background for picture
6438 boxes. This could overright user drawing.
6439 * ComboBox.cs: Just fill the clipping rect not the entire client
6440 rect when drawing the background. This prevents pieces of the
6441 image buffer from getting overwritten and is theoretically faster.
6443 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
6445 * ComboBox.cs: Databinding support fixes, fire missing events
6446 * ListControl.cs: implement missing methods and properties, fixes
6447 * ThemeWin32Classic.cs: Databiding support on Drawing
6448 * CheckedListBox.cs: Databinding support fixes, fire missing events
6449 * ListBox.cs: Databinding support fixes, fire missing events
6451 2005-04-25 Peter Bartok <pbartok@novell.com>
6453 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6455 2005-04-25 Jackson Harper <jackson@ximian.com>
6457 * TreeView.cs: Use the horizontal scrollbars height not width when
6458 determining how much of the client area is available.
6460 2005-04-25 Jackson Harper <jackson@ximian.com>
6462 * Control.cs: Double buffering is handled differently now. As per
6463 the spec, the extra buffer is created in the WM_PAINT message and
6464 passed down to the control's drawing code.
6472 * PropertyGridView.cs:
6484 * DateTimePicker.cs:
6486 * TreeView.cs: Update to new double buffering system.
6487 * MonthCalendar.cs: Uncomment block, as Capture is now
6488 working. Update to new double buffering
6489 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6490 * PaintEventArgs.cs: New internal method allows us to set the
6491 graphics object. This is used for double buffering.
6492 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6493 rectangle. The internal paint_area var has been removed from
6494 StatusBar. The clipping rect should be used instead.
6495 * Theme.cs: Give the PictureBox drawing method a clipping rect.
6496 * TabPage.cs: The RefreshTabs method was removed, so just call the
6497 tab controls Refresh method now.
6498 * TabControl.cs: Update to new double buffering. Make sure the
6499 handle is created before sizing the tab pages, otherwise we will
6500 get stuck in a loop.
6502 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
6504 * LinkLabel.cs: Fix typo, bug #74719; patch
6505 from Borja Sanchez Zamorano
6507 2005-04-22 Jackson Harper <jackson@ximian.com>
6509 * TreeNode.cs: Implement Handle stuff.
6510 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6512 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
6514 * DataGridTextBoxColumn.cs: call base constructors, fixes
6515 * GridColumnStylesCollection.cs: missing events, methods, and functionality
6516 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6517 * DataGridTableStyle.cs: implements create default column styles
6518 * DataGridBoolColumn.cs: which types can handle
6519 * DataGrid.cs: missing methods, fixes, new functionality
6520 * DataGridColumnStyle.cs: fixes
6522 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
6523 * FolderBrowserDialog.cs:
6524 - Use a thread to fill the TreeView
6525 - Adjusted some sizes
6527 2005-04-19 Peter Bartok <pbartok@novell.com>
6529 * LinkLabel.cs: (Re-)create the pieces when setting the Text
6530 property. Fixes #74360.
6532 2005-04-19 Jackson Harper <jackson@ximian.com>
6534 * XEventQueue.cs: Lock when getting the lockqueue size.
6535 * PictureBox.cs: Call base OnPaint
6537 2005-04-19 Peter Bartok <pbartok@novell.com>
6539 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6540 messages were no longer being processed (this broke BeginInvoke)
6543 2005-04-18 Jackson Harper <jackson@ximian.com>
6545 * TreeView.cs: buglet that caused node images to get drawn
6546 regardless of whether or not they were in the clipping rectangle.
6548 2005-04-18 Jackson Harper <jackson@ximian.com>
6550 * CurrencyManager.cs: There are four rules for GetItemProperties:
6551 - If the type is an array use the element type of the array
6552 - If the type is a typed list, use the type
6553 - If the list contains an Item property that is not an object, use
6555 - use the first element of the list if there are any elements in
6558 2005-04-17 Jackson Harper <jackson@ximian.oom>
6560 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6561 click. This handles offsets for scrolling properly and reduces
6562 memory. Also fixed GetNode to not offset now that TopNode works
6564 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6566 2005-04-17 Jackson Harper <jackson@ximian.com>
6568 * CursorConverter.cs: Initial implementation.
6570 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6572 * ListControl.cs: work towards complex data binding support on ListControl
6573 * CurrencyManager.cs: work towards complex data binding support on ListControl
6574 * ListBox.cs: work towards complex data binding support on ListControl
6577 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6579 * GridTableStylesCollection.cs: fixes name and constructor
6580 * DataGridTableStyle.cs: fixes
6581 * DataGridBoolColumn.cs: fixes names and constructors
6582 * DataGrid.cs: define methods and properties. Some init implementations
6583 * DataGridCell.cs: define methods and properties. Some init implementations
6584 * GridTablesFactory.cs: Define methods and properties
6586 2005-04-15 Geoff Norton <gnorton@customerdna.com>
6588 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
6589 graphics port changes. We still want the coordinates in global screen
6592 2005-04-14 Jackson Harper <jackson@ximian.com>
6594 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6595 check plus minus or checkbox clicks unless those features are enabled.
6597 2005-04-14 Jackson Harper <jackson@ximian.com>
6599 * TreeView.cs: Add methods for setting the top and bottom visible
6600 nodes. TreeNode::EnsureVisible uses these methods.
6601 * TreeNode.cs: Implement EnsureVisible
6603 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
6605 * Form.cs: Pospone menu assignation if the window has not been created yet
6606 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6609 2005-04-12 Jackson Harper <jackson@ximian.com>
6611 * TreeView.cs: Set the TopNode properly when scrolling
6612 occurs. This has the added benifit of reducing the amount of
6613 walking that needs to be done when drawing. Also removed an old
6615 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6617 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
6619 * Timer.cs: fixes interval setting when the timer is already enabled
6621 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
6623 * FolderBrowserDialog.cs: First approach
6625 2005-04-09 Peter Bartok <pbartok@novell.com>
6627 * FolderBrowserDialog: Added
6629 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
6631 * LinkLabel.cs: move drawing code into the theme
6632 * ThemeWin32Classic.cs: drawing code and painting background bugfix
6633 * Theme.cs: define DrawLinkLabel method
6635 2005-04-05 Jackson Harper <jackson@ximian.com>
6637 * BindingContext.cs: Use weak references so these bad actors don't
6638 stay alive longer then they need to.
6640 2005-04-05 Jackson Harper <jackson@ximian.com>
6642 * ListControl.cs: Basic implementation of complex databinding.
6644 * ListBox.cs: Add calls to ListControl databinding methods.
6646 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
6649 - Don't change PopupButtonState to Normal when the
6650 PopupButton gets pressed several times.
6651 - Renamed ButtonPanel to PopupButtonPanel
6653 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
6655 * ColorDialog.cs: Use cached objects instead of creating them
6656 * LinkLabel.cs: Use cached objects instead of creating them
6657 * Splitter.cs: Use cached objects instead of creating them
6658 * FontDialog.cs: Use cached objects instead of creating them
6659 * PropertyGridView.cs: Use cached objects instead of creating them
6660 * MessageBox.cs: Use cached objects instead of creating them
6661 * FileDialog.cs: Use cached objects instead of creating them
6662 * ThemeWin32Classic.cs: Use cached objects instead of creating them
6663 * TreeView.cs: Use cached objects instead of creating them
6665 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
6667 * Control.cs: use Equals to compare the font since no == op
6668 * ScrollBar.cs: use Equals to compare the font since no == op
6670 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
6672 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6674 2005-04-01 Jackson Harper <jackson@ximian.com>
6676 * Binding.cs: Implement IsBinding.
6677 * BindingManagerBase.cs:
6678 * PropertyManager.cs:
6679 * CurrencyManager.cs: Add IsSuspended property.
6681 2005-04-01 Jackson Harper <jackson@ximian.com>
6683 * Binding.cs: Had some IsAssignableFrom calls backwards.
6685 2005-04-01 Jackson Harper <jackson@ximian.com>
6687 * Binding.cs: Handle null data members when pulling data.
6688 * PropertyManager.cs: Handle the data member being a property that
6691 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6693 * DataGridTextBoxColumn.cs: fixes signature
6694 * DataGrid.cs: calls right constructor
6696 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6698 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6699 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6700 * GridTableStylesCollection.cs: implements GridTableStylesCollection
6701 * DataGridTableStyle.cs: implements DataGridTableStyle
6702 * DataGridBoolColumn.cs: implements DataGridBoolColumn
6703 * DataGridTextBox.cs: implements DataGridTextBox
6704 * DataGridColumnStyle.cs: implements DataGridColumnStyle
6706 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
6708 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6710 2005-03-29 Peter Bartok <pbartok@novell.com>
6713 - Properly implemented CompanyName property
6714 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6715 returns a path that includes CompanyName, ProductName and
6716 Version (fixes bug #70330)
6718 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
6720 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6723 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6725 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6727 - Added ReadOnly CheckBox
6728 - Further refactoring: moved some code from Open-/SaveFileDialog
6731 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6733 * OpenFileDialog.cs: Fixed CheckFileExists
6735 Moved FileView and DirComboBox outside FileDialog class.
6736 They can now be used outside FileDialog
6738 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6740 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6741 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6743 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6745 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6746 - Added missing CreatePrompt property in SaveDialog
6747 - Overall SaveDialog handling should be better now
6748 - Added non standard ShowHiddenFiles property
6749 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6750 - Added InitialDirectory and RestoreDirectory support
6752 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
6754 * FileDialog.cs: Made dirComboBox usable
6756 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
6758 * FileDialog.cs: Added Filter support (case sensitiv)
6760 2005-03-24 Jackson Harper <jackson@ximian.com>
6762 * TabControl.cs: Need a couple more pixels for the lines.
6764 2005-03-23 Jackson Harper <jackson@ximian.com>
6766 * TabControl.cs: Give the tab page focus when it is selected.
6768 2005-03-23 Jackson Harper <jackson@ximian.com>
6770 * TabControl.cs: Account for the drawing of tabs borders when
6771 invalidating. If the slider was clicked dont do click detection on
6774 2005-03-23 Jackson Harper <jackson@ximian.com>
6776 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6778 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
6780 * CategoryGridEntry.cs: Added
6781 * GridItem.cs: Added helper properties
6782 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6783 * GridEntry.cs: Updated code for collection
6784 * PropertyGrid.cs: Cleaned up some formatting
6785 * PropertyGridView.cs: Added drop down functionality for enums.
6786 * GridItemCollection.cs: Added enumerator logic
6787 * PropertyGridEntry.cs: Added
6789 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6792 - Removed unnecessary commented code
6793 - Fixed handling for entering the filename manually in the combobox
6795 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6797 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6799 2005-03-18 Peter Bartok <pbartok@novell.com>
6801 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6802 them being touching the border
6804 2005-03-18 Peter Bartok <pbartok@novell.com>
6806 * TextControl.cs: Quick hack to center text better
6808 2005-03-18 Peter Bartok <pbartok@novell.com>
6811 - Don't throw NotImplemented exceptions, just print a notice once
6812 instead (requested by Miguel). This makes running existing SWF
6815 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6816 - Added context menu trigger on right click
6817 * Panel.cs: Trigger invalidate on resize
6819 - Removed old double-buffer drawing
6820 - Added ResizeRedraw style to force proper update of statusbar
6822 - Removed debug output
6823 * ThemeWin32Classic.cs:
6824 - Fixed drawing of status bar, now draws Text property if there
6825 are no defined panels
6827 2005-03-18 Jackson Harper <jackson@ximian.com>
6829 * ImageList.cs: When the image stream is set pull all the images
6831 * ImageListStreamer.cs: Implement reading image list streams.
6833 2005-03-18 Peter Bartok <pbartok@novell.com>
6835 * ThemeWin32Classic.cs (DrawPictureBox):
6836 - Fixed calculations for centered drawing
6837 - Fixed drawing for normal mode, not scaling the image on normal
6839 2005-03-18 Peter Bartok <pbartok@novell.com>
6841 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6844 - Made Open/Save button the accept button for FileDialog
6845 - Tied the cancel button to the IButtonControl cancel button
6846 - Save/Open now properly builds the pathname
6847 - Now handles user-entered text
6848 - Preventing crash on right-click if no item is selected
6849 - Fixed Text property, now uses contents of textbox
6850 - Fixed SelectedText property, now just returns the text part that
6851 is selected in the text box
6853 2005-03-18 Jackson Harper <jackson@ximian.com>
6855 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6856 rect, make sure to de-adjust the interior rect after drawing the
6859 2005-03-18 Peter Bartok <pbartok@novell.com>
6861 * MenuAPI.cs: Remove menu *before* executing selected action to
6862 prevent the menu from 'hanging around'
6864 2005-03-17 Geoff Norton <gnorton@customerdna.com>
6866 * XplatUIOSX.cs: Implemented WorkingArea property
6868 2005-03-17 Peter Bartok <pbartok@novell.com>
6870 * XplatUIX11.cs: Fixed menu coord calculations
6871 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6872 for calculating offsets
6874 2005-03-17 Peter Bartok <pbartok@novell.com>
6876 * Hwnd.cs: Do not consider menu presence for default client
6877 rectangle location/size
6878 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6879 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6880 translation functions
6881 * FileDialog.cs: Fixed (what I presume is a) typo
6883 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
6885 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6886 X access (avoids X-Async errors)
6888 2005-03-16 Jackson Harper <jackson@ximian.com>
6890 * TabControl.cs: Raise the SelectedIndexChanged event.
6892 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
6894 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6895 - Removed vertical ToolBar and replaced it with a custom panel
6896 (desktop and home button already work)
6897 - Added Help button (some controls get resized or relocated then)
6898 - Draw correct text depending on Open or Save.
6899 - Fixed some typos...
6901 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
6904 - Only change Maximum and Minimum when need it (bug fix)
6906 2005-03-15 Peter Bartok <pbartok@novell.com>
6908 * Form.cs: Use Handle for icon, to trigger creation if
6909 the window does not yet exist
6911 - CanSelect: Slight performance improvement
6912 - Focus(): Preventing possible recursion
6913 - Invalidate(): Removed ControlStyle based clear flag setting
6914 - WM_PAINT: fixed logic for calling OnPaintBackground
6915 - WM_ERASEBKGND: Fixed logic, added call to new driver method
6916 EraseWindowBackground if the control doesn't paint background
6918 - Moved EraseWindowBackground() method to internal methods
6919 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6920 is sent via SendMessage on BeginPaint call on Win32
6922 - Added EraseWindowBackground() method
6923 - No longer sends WM_ERASEBKGND on .Expose, but on call to
6924 PaintEventStart, which more closely matches Win32 behaviour
6925 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6926 - Fixed SetFocus() to properly deal with client and whole windows
6927 * Hwnd.cs: Added ErasePending property
6928 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6929 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6931 2005-03-12 Geoff Norton <gnorton@customerdna.com>
6934 - Fix hard loop when timers exist.
6935 - Fix bugs with middle and right click for 3 button mice.
6937 2005-03-11 Peter Bartok <pbartok@novell.com>
6940 - get_WorkingArea: Need to call X directly, GetWindowPos only
6941 returns cached data now
6942 - Added sanity check to GetWindowPos hwnd usage
6944 2005-03-11 Jackson Harper <jackson@ximian.com>
6946 * BindingManagerBase.cs: This method isn't used anymore as
6947 PullData now updates the data in the control.
6949 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
6951 * Form.cs: fixes menu drawing on X11
6952 * MenuAPI.cs: fixes menu drawing on X11
6954 2005-03-11 Peter Bartok <pbartok@novell.com>
6956 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6957 from Jonathan Gilbert; should fix bug #73606
6958 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6959 in Screen coordinates. Thanks, Jordi.
6960 * Form.cs: Added missing attribute
6962 2005-03-11 Peter Bartok <pbartok@novell.com>
6965 - Rudimentary Mdi support
6966 - Removed outdated FormParent code
6967 - Implemented lots of missing properties and methods, still missing
6968 transparency support
6969 - Added missing attributes
6970 - Implemented support for MaximumBounds
6971 - Added firing of various events
6972 * XplatUI.cs: Added SetIcon() method
6973 * XplatUIDriver.cs: Added SetIcon() abstract
6974 * XplatUIOSX.cs: Stubbed out SetIcon() method
6976 - Implemented SetIcon() support
6977 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6978 - Switched to unix line endings
6980 - Made POINT internal so for can access it as part of MINMAX
6981 - Implemented SetIcon() support
6982 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6983 native Mdi support again, might have to go managed)
6984 * Control.cs: Now fires the StyleChanged event
6985 * MdiClient.cs: Added; still mostly empty
6987 2005-03-10 Peter Bartok <pbartok@novell.com>
6989 * SaveFileDialog.cs: Added emtpy file
6991 2005-03-08 Peter Bartok <pbartok@novell.com>
6993 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6994 in turn triggers OnCreateContro) when creating a handle for the
6996 * TextControl.cs: Fixed endless loop in certain cases when
6997 replacing the current selection
6999 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7002 - Honors NewValue changes in Scroll events allowing apps to change it
7003 - Adds First and Last Scroll events
7004 - Fixes Thumb events
7006 2005-03-07 Peter Bartok <pbartok@novell.com>
7008 * Hwnd.cs: Added DefaultClientRectangle property
7009 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7010 more detailed debug information
7012 - Fixed size-change feedback loop, where we would pull an old size
7013 off the queue and mistakenly change our window's size to an
7015 - Now compressing ConfigureNotify events, to reduce looping and
7017 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7020 2005-03-07 Jackson Harper <jackson@ximian.com>
7022 * Binding.cs: Push data pushes from data -> property. Check if the
7023 property is readonly when attempting to set it.
7025 2005-03-07 Jackson Harper <jackson@ximian.com>
7027 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7028 instead of IsSubclassOf. Pulling data now sets the value on the
7030 * PropertyManager.cs:
7031 * CurrencyManager.cs: Just need to pull data when updating now,
7032 because PullData will set the value on the control.
7034 2005-03-04 Jackson Harper <jackson@ximian.com>
7036 * Binding.cs: Implement data type parsing and converting on pulled
7037 data. TODO: Are there more ways the data can be converted?
7039 2005-03-04 Jackson Harper <jackson@ximian.com>
7041 * Binding.cs: Support <Property>IsNull checks. Also bind to the
7042 controls Validating method so we can repull the data when the
7043 control loses focus.
7045 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
7048 - Fixes null string format
7051 - Adds enum type checks
7052 - Fixes redrawing and recalc need after changing some properties
7053 - Fixes on focus_item set after the event
7054 - Fixes adding columns after the control has been created
7056 * ThemeWin32Classic.cs:
7057 - Fixes CheckBox focus rectangle
7058 - Fixes ColumnHeader drawing
7061 2005-03-03 Jackson Harper <jackson@ximian.com>
7063 * Binding.cs: Bind to <Property>Changed events so we can detect
7064 when properties are changed and update the data.
7066 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
7069 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7070 - Fixes ImageList constructor with ImageList container
7071 - Fixes image scaling (wrong parameters at DrawImage)
7073 2005-02-02 Jackson Harper <jackson@ximian.com>
7075 * Binding.cs: Make property searches case-insensitive. Eliminate
7076 some duplicated code.
7078 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
7081 - Handle focus event
7082 - Fix scrollbar events
7083 - Discard highlighted item if remove it
7084 - Fixes SelectedItem with strings
7086 2005-03-01 Peter Bartok <pbartok@novell.com>
7089 - Fixed Visible property, now follows (once again) parent chain
7090 to return false if any control in the chain is visible=false
7091 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7092 - Fixed several places where is_visible instead of Visible was used
7093 - Implemented FIXME related to focus selection when setting focused
7094 control to be invisible
7096 * XplatUIWin32.cs: Now using proper method to find out if window is
7097 visible. Thanks to Jordi for pointing it out
7099 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
7101 * ComboBox.cs: show/hide scrollbar instead of creating it
7103 2005-02-27 Jackson Harper <jackson@ximian.com>
7105 * CurrencyManager.cs: Add PositionChanged stuff.
7107 2005-02-27 Peter Bartok <pbartok@novell.com>
7109 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7110 * XplatUIOSX.cs: Added GetMenuOrigin() stub
7111 * XplatUIWin32.cs: Implemented GetMenuOrigin()
7113 - Implemented GetMenuDC()
7114 - Implemented GetMenuOrigin()
7115 - Implemented ReleaseMenuDC()
7116 - Implemented generation of WM_NCPAINT message
7117 - Implemented generation and handling of WM_NCCALCSIZE message
7118 * Form.cs: Added debug helper message for Jordi's menu work
7120 - Modified ClientRect property; added setter, fixed getter to handle
7121 setting of ClientRect
7122 - Added MenuOrigin property
7124 2005-02-26 Peter Bartok <pbartok@novell.com>
7127 - Destroys the caret if a window that's being destroyed contains it
7128 - Ignores expose events coming from the X11 queue for windows that
7129 already are destroyed
7130 - Now uses the proper variable for handling DestroyNotify, before we
7131 marked the wrong window as destroyed
7132 - Improved/added some debug output
7134 2005-02-26 Peter Bartok <pbartok@novell.com>
7136 * X11Keyboard.cs: Fixes to work on 64bit systems
7138 2005-02-26 Peter Bartok <pbartok@novell.com>
7141 - Now calling OnHandleDestroyed from DestroyHandle()
7142 instead of Dispose()
7143 - Removed bogus call to controls.Remove() from DestroyHandle()
7145 2005-02-26 Peter Bartok <pbartok@novell.com>
7147 * Control.cs: Properly destroy child windows when our handle is
7150 2005-02-25 Peter Bartok <pbartok@novell.com>
7153 - Added 'DriverDebug' define to allow tracing XplatUI API calls
7154 - Alphabetized Static Methods and Subclasses
7157 - Added XException class to allow custom handling of X11 exceptions
7158 - Created custom X11 error handler, tied into XException class
7159 - Added support for MONO_XEXCEPTIONS env var to allow the user
7160 to either throw an exception on X errors or continue running
7161 after displaying the error
7162 - Added handling of DestroyNotify message
7163 - Added handler for CreateNotify message (still disabled)
7164 - Improved (tried to at least) Where method to provide file and lineno
7166 - Added XErrorHandler delegate
7167 - Added XRequest enumeration (to suppor translation of errors)
7169 2005-02-25 Jackson Harper <jackson@ximian.com>
7171 * PropertyManager.cs: Implement editing features
7172 * CurrencyManager.cs:
7173 * Binding.cs: First attempt at UpdateIsBinding
7174 * BindingManagerBase.cs: Call UpdateIsBinding before
7175 pushing/pulling data.
7177 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
7179 * MenuAPI.cs: Respect disabled items
7180 * ThemeWin32Classic.cs
7181 - Caches ImageAttributes creation for DrawImageDisabled
7182 - Fixes vertical menu line drawing
7183 - Draws disabled arrows in disable menu items
7185 2005-02-24 Peter Bartok <pbartok@novell.com>
7188 - Added UserData property to allow associating arbitrary objects
7190 - Fixed leak; now removing Hwnd references from static windows array
7192 - Fixed Graphics leak in PaintEventEnd
7193 - Removed usage of HandleData, switched over to Hwnd class
7194 * HandleData.cs: Removed, obsoleted by Hwnd.cs
7196 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7198 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7199 * ScrollBar.cs: Fixes bug
7200 * TrackBar.cs: removes death code, clipping, mimize refreshes,
7201 keyboard navigation enhancements
7203 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7205 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7206 * GroupBox.cs: Add control styles
7207 * Label.cs: Add control styles
7208 * UpDownBase.cs: Add control styles
7209 * ListBox.cs: Add control styles
7210 * XplatUIWin32.cs: Fixes wrong parameter order
7213 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
7215 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7217 2005-02-23 Jackson Harper <jackson@ximian.com>
7219 * PropertyManager.cs: Implement property binding. This doesn't
7220 seem to work yet though as (I think) there are some bugs in
7221 System.ComponentModel.PropertyDescriptor.
7222 * BindingContext.cs: Use new PropertyManager constructor.
7224 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
7226 * ProgressBar.cs: use clip region in ProgressBar
7227 * ThemeWin32Classic.cs: use clip region in ProgressBar
7229 2004-02-22 Jackson Harper <jackson@ximian.com>
7231 * BindingsCollection.cs: Remove some debug code.
7233 2005-02-22 Jackson Harper <jackson@ximian.com>
7235 * BindingContext.cs:
7236 * ControlBindingsCollection.cs:
7237 * CurrencyManager.cs:
7239 * BindingManagerBase.cs: Initial implementation
7240 * BindingsCollection.cs: Add an internal contains method that the
7241 BindingManagerBase uses to ensure bindings aren't added twice to
7243 * PropertyManager.cs: Stubbed out.
7245 * ContainerControl.cs: Hook up databinding
7247 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7250 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7251 Fixed Invalidate/Update chain.
7252 Fixed tons of other minor bugs (this is almost a complete rewrite).
7254 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7256 * ComboBox.cs: do subcontrol creation when the control is created
7258 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7260 * Label.cs: fixes image drawing (image and imagelist)
7261 * ThemeWin32Classic.cs: cache brushes
7263 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7265 * Form.cs: Move menu drawing code to Theme class
7266 * ComboBox.cs: Move ComboBox drawing code to Theme class
7267 * MenuItem.cs: Move menu drawing code to Theme class
7268 * MenuAPI.cs: Move menu drawing code to Theme class
7269 * ThemeWin32Classic.cs: New methods
7270 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7271 * ListBox.cs: Move Listbox drawing code to Theme class
7272 * Theme.cs: New methods
7274 2005-02-20 Peter Bartok <pbartok@novell.com>
7277 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7278 only process mnemonics on those)
7279 - Fixed event sequence for key handling; first calling
7280 ProcessKeyEventArgs now
7282 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7283 for processing non-character keys
7284 - Fixed WM_CHAR to generate proper event sequence before processing
7285 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7288 2005-02-19 Peter Bartok <pbartok@novell.com>
7290 * UserControl.cs: Added TextChanged event; added attributes
7291 * SizeGrip.cs: Implemented resizing and optional display of grip
7292 * Form.cs: Fixed attribute
7293 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7294 Changed meaning of ScrollWindow bool argument; instead of the
7295 clear attribute (which will be true usually anyway), it gives the
7296 option of moving child controls as well.
7298 - Changed to match new ScrollWindow argument
7299 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7300 now handles the implicit parent window a WM puts around us
7301 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7303 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7304 * TreeView.cs: Adjusted to new ScrollWindow arguments
7306 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7308 * Form.cs: Menu integration with non-client area
7309 * MenuItem.cs: Menu integration with non-client area
7310 * MenuAPI.cs: Menu integration with non-client area
7312 2005-02-18 Peter Bartok <pbartok@novell.com>
7314 * MethodInvoker.cs: Added
7315 * MdiLayout.cs: Added
7316 * SendKeys.cs: Started implementation
7317 * ErrorIconAlignment.cs: Added
7319 2005-02-18 Peter Bartok <pbartok@novell.com>
7321 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7322 * Form.cs: Added handling for Menu-related Non-client messages
7324 2005-02-17 Peter Bartok <pbartok@novell.com>
7326 * UpDownBase.cs: Fixed typo, compilation errors
7327 * DomainUpDown.cs: Fixed attribute value
7329 2005-02-16 Miguel de Icaza <miguel@novell.com>
7331 * UpDownBase.cs: Attach entry events.
7333 Add ForeColor property, Focused, InterceptArrowKeys (interception
7336 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
7339 - Redraw non client are on Setmenu
7340 - Calc proper menu starting point
7342 2005-02-17 Peter Bartok <pbartok@novell.com>
7344 * Application.cs: Fixed message_filter check
7346 2005-02-17 Peter Bartok <pbartok@novell.com>
7348 * Application.cs: Now calls registered message filters
7349 * DockStyle.cs: Fixed attribute
7350 * Form.cs: Fixed attribute
7351 * Menu.cs: Fixed attribute
7352 * ToolTip.cs: Fixed attribute
7353 * TreeNode.cs: Added missing attributes and arranged in regions
7354 * PropertyGrid.cs: Fixed signatures
7355 * TreeNodeCollection.cs: Added attributes
7356 * Splitter.cs: Added missing attributes; arranged into regions
7357 * TabPage.cs: Added missing attributes; arranged into regions
7358 * TextBoxBase.cs: Added missing attributes
7359 * TextBox.cs: Added missing attributes
7360 * ArrangeDirection.cs: Added missing attributes
7361 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7362 * ToolBarButton.cs: Fixed attributes
7363 * AnchorStyles.cs: Fixed attribute
7364 * TrackBar.cs: Fixed attributes
7365 * TabControl.cs: Added missing attributes and arranged into regions
7366 * ToolBar.cs: Fixed attribute
7367 * StatusBar.cs: Fixed signature, organized into regions and added
7369 * StatusBarPanel.cs: Fixed attributes
7370 * ContentsResizedEventArgs.cs: Implemented
7371 * ContentsResizedEventHandler.cs: Implemented
7372 * DateBoldEventArgs.cs: Implemented
7373 * DateBoldEventHandler.cs: Implemented
7374 * UpDownEventArgs.cs: Implemented
7375 * UpDownEventHandler.cs: Implemented
7377 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
7379 * Form.cs: first Menu NC refactoring
7380 * MenuAPI.cs: first Menu NC refactoring
7382 2005-02-16 Peter Bartok <pbartok@novell.com>
7384 * ImeMode.cs: Added missing attributes
7385 * Menu.cs: Fixed attribute
7386 * GroupBox.cs: Fixed attribute
7387 * Label.cs: Fixed attribute
7388 * ColorDialog.cs (RunDialog): Removed TODO attribute
7389 * ComboBox.cs: Fixed attributes
7390 * ListControl.cs: Added missing attributes
7391 * PropertyGrid.cs: Fixed attributes
7392 * Control.cs: Fixed attributes
7393 * ListViewItem.cs: Added TypeConverter attribute
7394 * NotifyIcon.cs: Fixed attributes
7395 * ListView.cs: Fixed attributes
7396 * ButtonBase.cs: Fixed attribute
7397 * ImageList.cs: Added missing attributes
7398 * ContainerControl.cs: Fixed signature
7399 * CheckedListBox.cs: Fixed attribute; added missing attributes
7400 * Panel.cs: Fixed attributes
7401 * PropertyTabChangedEventArgs.cs: Added missing attribute
7402 * PropertyValueChangedEventArgs.cs: Added missing attribute
7403 * Binding.cs: Fixed attribute
7404 * ListViewItemConverter: Implemented ListViewSubItemConverter class
7405 * ListBox.cs: Fixed attribute; added missing attributes;
7406 * ScrollableControl.cs: Added missing attributes
7407 * PictureBox.cs: Added missing attributes; implemented missing property
7408 * DateTimePicker.cs: Added missing attributes
7409 * Theme.cs (ToolWindowCaptionHeight): Fixed type
7410 * MonthCalendar.cs: Fixed attributes
7411 * StatusBarPanel.cs: Added missing attributes
7412 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7414 2005-02-16 Peter Bartok <pbartok@novell.com>
7416 * TextBoxBase.cs: The previous method to enforce height yet remember
7417 the requested high was less than ideal, this is an attempt to do
7419 * Control.cs: Added comment about possible problem
7420 * Copyright: Updated format
7421 * GridItemType.cs: Fixed swapped values
7423 2005-02-15 Jackson Harper <jackson@ximian.com>
7425 * BaseCollection.cs: Use property so we never access an
7426 uninitialized list. Also initialize the list in the property.
7428 2005-02-15 Peter Bartok <pbartok@novell.com>
7430 * GroupBox.cs (ProcessMnemonic): Implemented
7431 * Label.cs (ProcessMnemonic): Implemented
7432 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7435 2005-02-15 Peter Bartok <pbartok@novell.com>
7437 * RadioButton.cs (ProcessMnemonic): Implemented
7438 * CheckBox.cs (ProcessMnemonic): Implemented
7440 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7442 - Added internal method to allow calling ProcessMnemonic from other
7444 * ContainerControl.cs:
7445 - Started support for handling validation chain handling
7446 - Implemented ProcessMnemonic support
7447 - Added Select() call to Active, to make sure the active control
7449 * Form.cs: Setting toplevel flag for Forms (this was lost in the
7451 * ThemeWin32Classic.cs:
7452 - DrawCheckBox(): Fixed stringformat to show hotkeys
7453 - DrawRadioButton(): Fixed stringformat to show hotkeys
7454 * CommonDialog.cs: Removed WndProc override, not needed
7456 2005-02-14 Peter Bartok <pbartok@novell.com>
7458 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7459 missed those in the rewrite
7461 2005-02-14 Miguel de Icaza <miguel@novell.com>
7463 * NumericUpDown.cs (Increment, ToString): Add.
7464 (DecimalPlaces): implement.
7468 * UpDownBase.cs: Add the designer attributes.
7470 2005-02-13 Peter Bartok <pbartok@novell.com>
7472 * Panel.cs: Removed border_style, now in Control
7473 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7474 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7476 2005-02-13 Peter Bartok <pbartok@novell.com>
7478 * MouseButtons.cs: Added missing attributes
7479 * XplatUIStructs.cs: Added enumeration for title styles
7480 * LeftRightAlignment.cs: Added missing attributes
7481 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7482 it compatible with Graphics.FromHwnd()
7483 * SelectedGridItemChangedEventArgs.cs: Fixed property type
7484 * Keys.cs: Added missing attributes
7485 * SelectionRange.cs: Added missing attributes
7486 * SelectionRangeConverter.cs: Added
7488 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7489 ReleaseMenuDC methods
7490 - Renamed ReleaseWindow to UngrabWindow
7491 - Added proper startup notice to allow version identification
7493 - Added missing attributes
7494 - Removed FormParent concept
7495 * Label.cs: Removed border_style field, now in Control
7496 * RadioButton.cs: Now properly selects RadioButton when focus is
7498 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7500 - Added missing attributes
7501 - Added borderstyle handling
7502 - Removed FormParent concept support
7503 - Fixed calls to XplatUI to match changed APIs
7504 - Fixed bug that would case us to use disposed Graphics objects
7505 - Removed unneeded internal methods
7506 - PerformLayout(): Fixed to handle DockStyle.Fill properly
7507 - SelectNextControl(): Fixed to properly check common parents
7508 * TextBoxBase.cs: Removed border_style field (now in Control)
7510 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7511 fixed calculations for form size
7512 - Added support for localized strings and icons
7513 - Improved form size calculations, added border
7514 * ListView.cs: Removed border_style field (now in Control)
7515 * X11Structs.cs: Moved several structs from X11 driver here
7516 * X11Keyboard.cs: Changed debug message
7517 * Application.cs: Removed FormParent concept support
7519 - Resetting end_modal flag
7520 - Removed FormParent concept support
7521 * NativeWindow.cs: Removed FormParent concept support
7522 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7523 Client area and Non-Client whole window to allow support for WM_NC
7525 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7526 prevent using it until it supports Hwnd as per Geoff Norton's request
7527 * ToolBar.cs: Fixed drawing, was not doing proper drawing
7528 * PictureBox.cs: Removed border_style field, now in Control
7529 * XplatUIWin32.cs: Added new driver methods
7531 2005-02-12 Peter Bartok <pbartok@novell.com>
7533 * OpacityConverter.cs: Implemented
7534 * Hwnd.cs: Internal class to support drivers that need to emulate
7535 client area/non-client area window behaviour
7537 2005-02-11 Peter Bartok <pbartok@novell.com>
7539 * KeysConverter.cs: Implemented
7541 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
7543 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7544 * LinkLabel: Added missing attributes
7545 * MainMenu.cs: fixes ToString
7546 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7547 * ListBox.cs: fixes event position
7548 * TrackBar.cs: adds missing attributes and events
7550 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
7552 * MenuItem.cs: Use SystemInformation and bug fixes
7553 * MenuAPI.cs: Use SystemInformation and bug fixes
7555 2005-02-09 Jackson Harper <jackson@ximian.com>
7557 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7558 their keystate otherwise things like VK_MENU get stuck "on".
7560 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
7562 * ListBox.cs: Fixes AddRange bug
7564 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
7567 - Add missing attributes
7568 - Add missing method
7570 * CheckedListBox.cs: Added missing attributes
7571 - Add missing attributes
7572 - Remove extra method
7574 * ComboBox.cs: Added missing attributes
7575 * VScrollBar.cs: Added missing attributes
7576 * ScrollBar.cs: Added missing attributes
7577 * ListBox.cs: Fixes signature, add missing consts
7578 * LinkArea.cs: Added missing attributes
7581 2005-02-08 Peter Bartok <pbartok@novell.com>
7583 * Menu.cs: Added missing attributes
7584 * MainMenu.cs: Added missing attributes
7585 * GroupBox.cs: Added missing attributes
7586 * Label.cs: Added missing attributes
7587 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7589 - Added Instance and Options properties
7590 - Added missing attributes
7591 * Cursor.cs: Made Serializable
7592 * NotifyIcon: Added missing attributes
7593 * MenuItem.cs: Added missing attributes
7594 * TextBoxBase.cs: Implemented AppendText() and Select() methods
7595 * Panel.cs: Added Missing attributes
7596 * MonthCalendar.cs: Fixed CreateParams
7598 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7602 - Fixes issues with links
7603 - Adds the class attributes
7605 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7608 - Fixes button when no items available in dropdown
7609 - Fixes repainting problems
7610 - Adds the class attributes
7612 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7614 * XplatUIOSX.cs: Detect the menu bar and title bar height from
7615 the current theme. Cache these on startup.
7617 2005-02-07 Jackson Harper <jackson@ximian.com>
7619 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7620 the scrollbar buttons when they are depressed.
7622 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7624 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7625 Get the display size from the main displayid. We currently dont
7626 support multiple display configurations.
7628 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7630 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7632 2005-02-07 Miguel de Icaza <miguel@novell.com>
7634 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7636 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
7638 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7640 2005-02-04 Jackson Harper <jackson@ximian.com>
7642 * ThemeWin32Classic.cs: Respect the clipping rect when
7643 drawing. Only fill the intersection of clips and rects so there
7644 isn't a lot of large fills.
7645 * ScrollBar.cs: Pass the correct clipping rect to the theme
7646 engine. Remove some debug code.
7648 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
7650 * DateTimePicker.cs:
7651 - Fixed crash on DateTime.Parse, use Constructor instead
7653 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7657 - Owner draw support (MeasureItem and DrawItem)
7659 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7662 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7663 - Fixes MenuItems.Add range
7665 - MergeMenu and Clone and CloneMenu functions
7667 2005-02-03 Jackson Harper <jackson@ximian.com>
7669 * ScrollBar.cs: Make abstract
7670 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7673 2005-02-03 Jackson Harper <jackson@ximian.com>
7675 * ScrollBar.cs: First part of my scrollbar fixups. This removes
7676 all the unneeded refreshes and uses invalidates with properly
7679 2005-02-03 Peter Bartok <pbartok@novell.com>
7681 * ComponentModel.cs: Added
7682 * IDataGridEditingService.cs: Added
7683 * Timer.cs: Added missing attributes
7684 * ToolTip.cs: Added missing attributes
7686 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
7688 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7690 2005-02-03 Peter Bartok <pbartok@novell.com>
7692 * ListBox.cs: Added missing attributes
7694 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
7697 - Fixes font height after font change
7698 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7700 2005-02-02 Peter Bartok <pbartok@novell.com>
7702 * HandleData.cs: Introduced static methods to allow class
7703 to be more self-contained and track it's own HandleData objects
7704 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7705 HandleData to use new static methods
7707 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
7710 - Fixes default size and PreferredHeight
7712 - ObjectCollection.Insert implementation
7718 - ObjectCollection.Insert implementation
7719 - No selection after clean
7722 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7724 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7726 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
7729 - Caches ItemHeight calculation for OwnerDrawVariable
7730 - Handles dropdown properly
7731 - Fixes several minor bugs
7733 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7736 - Fixes 71946 and 71950
7737 - Fixes changing Multicolumn on the fly
7738 - Fixes keyboard navigation on Multicolumn listboxes
7740 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7742 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7745 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7747 * XplatUIOSX.cs: Allow applications to actually exit.
7749 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7751 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
7752 their parent at creation time rather than lazily later. Fixes a major
7753 regression we were experiencing.
7755 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7757 * ThemeWin32Classic.cs: more date time picker painting fixes
7758 * DateTimePicker.cs: more monthcalendar drop down fixes
7759 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7761 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7764 - When moving the thumb going outside the control should stop the moving
7765 - Adds the firing of missing events
7766 - Fixes no button show if Size is not specified
7767 - End / Home keys for keyboard navigation
7769 2005-01-30 Peter Bartok <pbartok@novell.com>
7771 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7772 sanity check to prevent theoretical loop
7773 * XplatUIWin32.cs (SetVisible): Removed debug output
7774 * XplatUIX11.cs (SystrayChange): Added sanity check
7775 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7776 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7777 behaviour, valid until the X11 client window rewrite is done
7778 * TextBox.cs (ctor): Setting proper default foreground and background
7781 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
7783 * Theme: Added DrawDateTimePicker to interface
7784 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7785 * DateTimePicker.cs: Created (still needs keys and painting code)
7786 * DateTimePickerFormat.cs: added
7787 * MonthCalendar.cs: fixed CreateParams for popup window mode
7789 2005-01-29 Peter Bartok <pbartok@novell.com>
7791 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7792 this should also the calculations for ligher/darker
7793 * Theme.cs: Fixed defaults for ScrollBar widths/heights
7795 2005-01-29 Peter Bartok <pbartok@novell.com>
7797 * ArrangeDirection.cs: Added
7798 * ArrangeStartingPositon.cs: Added
7799 * SystemInformation.cs: Implemented
7800 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7801 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7802 used by SystemInformation class
7803 * X11Strucs.cs: Added XSizeHints structure
7805 - Fixed CreateParams to make sure the menu window is always visible
7806 - TrackPopupMenu: Added check to make sure we don't draw the
7809 2005-01-29 Peter Bartok <pbartok@novell.com>
7811 * HandleData.cs: Added method for altering invalid area
7812 * TextBoxBase.cs: Implemented TextLength
7814 2005-01-28 Peter Bartok <pbartok@novell.com>
7816 * XplatUIX11.cs: Improvement over last patch, not sending
7817 the WM_PAINT directly anymore, instead we scroll any pending
7818 exposed areas and let the system pick out the WM_PAINT later
7820 2005-01-28 Peter Bartok <pbartok@novell.com>
7822 * SWF.csproj: Deleted, no longer used. Instead,
7823 Managed.Windows.Forms/SWF.csproj should be used
7824 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7825 directly, to avoid a potential race condition with the next
7828 2005-01-28 Peter Bartok <pbartok@novell.com>
7830 * XplatUI.cs: Made class internal
7832 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
7834 * CheckedListBox.cs:
7837 - Missing methods and events
7839 2005-01-27 Peter Bartok <pbartok@novell.com>
7841 * Application.cs (Run): Don't use form if we don't have one
7843 2005-01-27 Peter Bartok <pbartok@novell.com>
7845 * TextBoxBase.cs (get_Lines): Fixed index off by one error
7847 2005-01-27 Peter Bartok <pbartok@novell.com>
7849 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7850 * GridItem.cs: Added; Patch by Jonathan S. Chambers
7851 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7852 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7853 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7854 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7855 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7856 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7857 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7858 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7859 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7860 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7862 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7865 - Draw focus on Simple Combobox
7866 - Fixes drawing issues
7869 2005-01-27 Peter Bartok <pbartok@novell.com>
7872 - Place window in default location, instead of hardcoded 0/0
7873 - Send initial LocationChanged event
7875 - UpdateBounds after creation to find out where the WM placed us
7876 - Make sure that if the ParentForm changes location the Form
7878 * XplatUIX11.cs: XGetGeometry will not return the coords relative
7879 to the root, but to whatever the WM placed around us.
7880 Translate to root coordinates before returning toplevel
7882 * XplatUIWin32.cs: Removed debug output
7883 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7884 flag to GetWindowPos, to allow translation of coordinates on X11
7886 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7888 * ListBox.cs: connect LostFocus Event
7890 2005-01-27 Peter Bartok <pbartok@novell.com>
7892 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7893 XplatUIX11.cs: Extended the Systray API
7894 * Form.cs: Removed debug output
7895 * Application.cs: Fixed focus assignment, always need to call
7896 XplatUI.Activate() since Form.Activate() has rules that may
7898 * NotifyIcon.cs: Should be complete now
7899 * ToolTip.cs: Worked around possible timer bug
7901 2005-01-27 Jackson Harper <jackson@ximian.com>
7904 - Only invalidate the effected tabs when the
7905 selected index changes. This reduces drawing and gets rid of some
7907 - Only refresh if the tabs need to be shifted, otherwise only
7908 invalidate the slider button.
7909 - On windows the tabs are not filled to right if the slider is
7912 2005-01-27 Jackson Harper <jackson@ximian.com>
7914 * TabControl.cs: Only refresh on mouseup if we are showing the
7915 slider. Also only invalidate the button whose state has changed.
7917 2005-01-26 Peter Bartok <pbartok@novell.com>
7919 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7920 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7921 and SystrayRemove() methods
7922 * XplatUIOSX.cs: Stubbed Systray methods
7924 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7926 - Fixed broken XChangeProperty calls (marshalling messed up things)
7927 * X11Structs.cs: Added enums and structs required for Size hinting
7928 * NotifyIcon.cs: Added & implemented
7930 2005-01-26 Jackson Harper <jackson@ximian.com>
7932 * TabControl.cs: Space vertically layed out tabs properly.
7934 2005-01-26 Peter Bartok <pbartok@novell.com>
7936 * Form.cs (CreateClientParams): Always set the location to 0,0
7937 since we're a child window.
7939 * Control.cs (SetVisibleCore): Always explicitly setting the location
7940 of a toplevel window, apparently X11 doesn't like to move windows
7941 while they're not mapped.
7943 2005-01-26 Jackson Harper <jackson@ximian.com>
7945 * TabControl.cs: Implement FillToRight size mode with vertically
7948 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7950 * ControlPaint.cs, ThemeWin32Classic.cs
7951 - Fixes DrawFocusRectangle
7953 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7956 - MenuBar tracking only starts when item is first clicked
7957 - Fixes menu hidding for multiple subitems
7958 - Unselect item in MenuBar when item Executed
7961 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
7964 - IsInputKey for ListBox
7967 - Shift and Control item selection
7968 - Implement SelectionMode.MultiExtended
7971 - IsInputKey implemented
7972 - Do not generate OnTextChangedEdit on internal txt changes
7974 2005-01-23 Peter Bartok <pbartok@novell.com>
7976 * AccessibleObject.cs: Partially implemented Select()
7977 * MonthCalendar.cs: Added missing attributes and events
7978 * Form.cs: Fixed CreateParams behaviour, now controls derived from
7979 form can properly override CreateParams.
7980 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7981 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7982 Control performs Invalidate & Update
7983 * NativeWindow (CreateHandle): Added special handling for Form
7984 and Form.FormParent classes to allow overriding of From.CreateParams
7986 - ControlNativeWindow: Renamed 'control' variable to more intuitive
7988 - ControlNativeWindow: Added Owner property
7989 - Removed usage of Refresh() on property changes, changed into
7990 Invalidate(), we need to wait until the queue is processed for
7991 updates, direct calls might cause problems if not all vars for
7992 Paint are initialized
7993 - Added call to UpdateStyles() when creating the window, to set any
7994 styles that CreateWindow might have ignored.
7995 - Added support for Form CreateParent overrides to UpdateStyles()
7996 * MessageBox.cs: Removed no longer needed FormParent override stuff,
7997 CreateParams are now properly overridable
7998 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7999 CreateParams are now properly overridable
8001 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8003 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8006 Capture LostFocus and OnTextBoxChanged. The later introduces a
8007 recursive invocation that I have not figured out yet.
8009 Reset the timer when not using (it was accumulating).
8012 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8013 user has made changes that require validation.
8015 Reset changing to avoid loops.
8017 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8019 * NumericUpDown.cs: Display value at startup.
8021 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8024 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8025 filled in. Added some basic parsing of text.
8027 Still missing the OnXXX method overrides, and figuring out the
8028 events that must be emitted.
8030 * UpDownBase.cs: Handle UserEdit on the Text property.
8032 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8035 - Fixes IntegralHeight
8038 2005-01-21 Jackson Harper <jackson@ximian.com>
8040 * TabControl.cs: Set the SelectedIndex property when SelectedTab
8041 is set so that the page visibility is updated and the tabs are
8044 2005-01-21 Jackson Harper <jackson@ximian.com>
8046 * TabControl.cs: Use cliping rectangle for blitting. Give the
8047 theme the clipping rect so we can do clipping while
8048 drawing. Remove some debug code.
8050 2005-01-21 Jackson Harper <jackson@ximian.com>
8052 * TabPage.cs: Add a new method so tab pages can force the tab
8053 control to recalculate the tab page sizes.
8054 * TabControl.cs: UpdateOwner needs to make the tab control recalc
8057 2005-01-20 Jackson Harper <jackson@ximian.com>
8059 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8061 2005-01-20 Jackson Harper <jackson@ximian.com>
8063 * TreeView.cs: Set the bounds for nodes properly. They were
8064 getting screwed up when checkboxes were not enabled, but images
8067 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
8070 - Owner draw support
8073 2005-01-20 Jackson Harper <jackson@ximian.com>
8075 * XplatUIStructs.cs: More misc keys
8076 * X11Keyboard.cs: Ignore some control keys.
8078 2005-01-20 Jackson Harper <jackson@ximian.com>
8080 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8081 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8083 2005-01-19 Peter Bartok <pbartok@novell.com>
8085 * Control.cs: Un-selecting the control when it is loosing focus
8087 2005-01-19 Jackson Harper <jackson@ximian.com>
8089 * TreeView.cs: Hook up to the text controls leave event so we can
8090 end editing when the users clicks outside the text box.
8092 2005-01-19 Jackson Harper <jackson@ximian.com>
8094 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8095 get set in the conversion array.
8097 2005-01-19 Peter Bartok <pbartok@novell.com>
8099 * Application.cs (ModalRun): Added a call to CreateControl to ensure
8100 focus is properly set
8102 - Added missing attributes
8103 - removed styles, those are already set in the base class
8105 - Added missing attributes
8106 - Added clip window styles
8107 * CheckBox.cs: Added missing attributes
8109 - FormParentWindow.CreateParams: Added required clip styles
8110 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8111 also filters modifier keys
8113 - Added assignment of Accept and Cancel button to enable Enter
8114 and Esc keys in MessageBox dialogs
8115 - FormParentWindow.CreateParams: Added required clip styles
8116 * RadioButton.cs: Added missing attributes
8117 * TextControl.cs: No longer draws selection if control does not
8120 - Now draws simple rectangle around test area to make it obvious
8121 there's a control. This is a hack until we properly support borders
8122 - A few simple fixes to support selections better, now erases selected
8123 text when typing, and resets selection when using movement keys
8125 2005-01-19 Miguel de Icaza <miguel@ximian.com>
8127 * UpDownBase.cs: Added some new properties.
8129 * DomainUpDown.cs: Implement a lot to get my test working.
8131 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8133 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8135 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8137 * OSXStructs (WindowAttributes): Fixed csc complaints
8139 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8142 OSXStructs.cs: Initial refactor to move enums and consts into
8143 OSXStructs and use them in the driver for greater readability.
8145 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8147 * XplatUIOSX.cs: Initial support for Standard Cursors.
8148 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8150 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
8152 * ComboBox.cs: ability to change style when the ctrl is already
8153 created, missing methods and events, bug fixes, signature fixes
8155 2005-01-19 Peter Bartok <pbartok@novell.com>
8157 * Cursors.cs (ctor): Added ctor to fix signature
8159 2005-01-18 Peter Bartok <pbartok@novell.com>
8161 * Button.cs: Implemented DoubleClick event
8163 - Fixed keyboard handling to behave like MS, where the press of
8164 Spacebar is equivalent to a mousedown, and the key release is
8165 equivalent to mouseup. Now a spacebar push will give the same
8166 visual feedback like a mouse click.
8167 - Added missing attributes
8168 - Added ImeModeChanged event
8169 - Added support for generating DoubleClick event for derived classes
8171 - Implemented DoubleClick event
8172 - Added missing attributes
8173 * CommonDialog.cs: Added missing attribute
8174 * ContextMenu.cs: Added missing attributes
8176 - AutoChecked buttons do not allow to be unselected when clicked
8177 (otherwise we might end up with no selected buttons in a group)
8178 - Added missing attributes
8179 - Implemented DoubleClickEvent
8180 * ThreadExceptionDialog.cs: Enabled TextBox code
8182 2005-01-18 Peter Bartok <pbartok@novell.com>
8184 * Form.cs: Removed debug output
8185 * Button.cs: Added support for DoubleClick method
8187 2005-01-18 Peter Bartok <pbartok@novell.com>
8190 - Added method to parent window that allows triggering size
8191 calculations when a menu is added/removed
8192 - set_Menu: Cleaned up mess from early days of Form and Control,
8193 now properly triggers a recalc when a menu is added/removed
8194 - Added case to select form itself as focused form if no child
8196 - Added PerformLayout call when showing dialog, to ensure properly
8199 - Select(): Made internal so Form can access it
8200 - Focus(): Only call Xplat layer if required (avoids loop), and sets
8202 * Application.cs (Run): Removed hack and calls PerformLayout instead
8203 to trigger calculation when Form becomes visible
8205 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
8207 * ComboBox.cs: fixes for ownerdraw
8209 2005-01-18 Peter Bartok <pbartok@novell.com>
8212 - Sentinel is no longer static, each Document gets it's own, this
8213 avoids locking or alternatively overwrite problems when more
8214 than one text control is used simultaneously.
8215 - Switched to use Hilight and HilightText brushes for text selection
8217 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8219 2005-01-18 Peter Bartok <pbartok@novell.com>
8222 - Hooked up the following events:
8230 o SystemColorsChanged
8233 - Removed debug output
8234 - Added a call to the current theme's ResetDefaults when a color change
8236 * Form.cs: Now setting the proper ImeMode
8237 * Theme.cs: Defined a method to force recreation of cached resources
8238 and rereading of system defaults (ResetDefaults())
8239 * ThemeWin32Classic.cs: Added ResetDefaults() stub
8241 2005-01-17 Peter Bartok <pbartok@novell.com>
8243 * Control.cs: Added missing attributes
8245 2005-01-17 Jackson Harper <jackson@ximian.com>
8247 * TreeNode.cs: Implement editing. Add missing properties selected
8249 * TreeView.cs: Implement node editing. Also some fixes to use
8250 Invalidate (invalid area) instead of Refresh when selecting.
8252 2005-01-17 Peter Bartok <pbartok@novell.com>
8255 - Implemented InvokeGotFocus() method
8256 - Implemented InvokeLostFocus() method
8257 - Implemented InvokePaint() method
8258 - Implemented InvokePaintBackground() method
8259 - Implemented InvokeClick() method
8260 - Implemented FindForm() method
8261 - Implemented RectangleToClient() method
8262 - Implemented ClientToRectangle() method
8263 - Implemented ResetBackColor() method
8264 - Implemented ResetCursor() method
8265 - Implemented ResetFont() method
8266 - Implemented ResteForeColor() method
8267 - Implemented ResetImeMode() method
8268 - Implemented ResetLeftToRight() method
8269 - Implemented ResetText() method
8270 - Implemented Scale() methods
8271 - Implemented ScaleCore() method
8272 - Implemented Update() method
8273 - Removed unused variables
8274 - Stubbed AccessibilityNotifyClients and
8275 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8277 - Now setting proper default for RightToLeft property
8278 - Fixed bug in SetClientSizeCore that would cause windows to get
8280 - Now sending Click/DoubleClick events
8281 - Now selecting controls when left mouse button is clicked on
8283 * AccessibleEvents.cs: Added
8284 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8285 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8286 * XplatUIWin32.cs: Implemented UpdateWindow() method
8287 * XplatUIX11.cs: Implemented UpdateWindow() method
8288 * Form.cs: Removed stray semicolon causing CS0162 warning
8289 * ThemeWin32Classic.cs: Fixed unused variable warnings
8290 * ScrollableControl.cs: Now calls base method for ScaleCore
8291 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8292 style to avoid interference with internal click handler (which is
8293 different than standard Control click handling)
8295 - Now unchecks all sibling radio buttons when control is
8296 selected (Fixes #68756)
8297 - Removed internal tabstop variable, using the one inherited from
8300 2005-01-17 Jackson Harper <jackson@ximian.com>
8302 * NavigateEventArgs.cs: Fix base type.
8303 * LinkLabel.cs: Sig fix
8305 2005-01-17 Jackson Harper <jackson@ximian.com>
8307 * TreeView.cs: Only invalidate the effected nodes bounds when
8310 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8312 * XplatUIWin32.cs: fixes Win32 marshaling
8313 * XplatUIX11.cs: fixes method signature
8315 2005-01-17 Peter Bartok <pbartok@novell.com>
8317 * XplatUIX11.cs: Clean up resources when we no longer need them
8319 2005-01-17 Peter Bartok <pbartok@novell.com>
8321 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8322 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8323 and DestroyCursor() methods.
8324 * Cursor.cs: Partially implemented, now supports standard cursors;
8325 still contains some debug code
8326 * Cursors.cs: Implemented class
8328 - WndProc(): Added handling of WM_SETCURSOR message, setting the
8330 - Implemented Cursor property
8331 - Replaced break; with return; more straightforwar and possibly
8333 - Now properly setting the result for WM_HELP
8334 * X11Structs.cs: Added CursorFontShape enum
8335 * XplatUIStructs.cs:
8336 - Added StdCursor enum (to support DefineStdCursor() method)
8337 - Added HitTest enum (to support sending WM_SETCURSOR message)
8339 - Now sends the WM_SETCURSOR message
8340 - Implemented new cursor methods
8341 * XplatUIOSX.cs: Stubbed new cursor methods
8343 - Implemented new cursor methods
8344 - Added GetSystemMetrics function and associated enumeration
8346 2005-01-15 Peter Bartok <pbartok@novell.com>
8349 - WndProc(): Now handles EnableNotifyMessage
8350 - SelectNextControl(): Fixed bug where if no child or sibling
8351 controls exist we looped endlessly
8353 2005-01-14 Jackson Harper <jackson@ximian.com>
8355 * TreeView.cs: Recalculate the tab pages when a new one is added
8356 so that the proper bounding rects are created.
8358 2005-01-14 Jackson Harper <jackson@ximian.com>
8360 * TreeView.cs: Draw a gray box instead of a grip in the lower
8361 right hand corner when there are both horizontal and vertical
8364 2005-01-14 Jackson Harper <jackson@ximian.com>
8366 * Control.cs: When erasing backgrounds use FromHwnd instead of
8367 FromHdc when there is a NULL wparam. This occurs on the X driver.
8368 * XplatUIX11.cs: Set the wparam to NULL.
8370 2005-01-13 Jackson Harper <jackson@ximian.com>
8372 * PictureBox.cs: Implement missing methods (except ToString, need
8373 to test that on windows) and events. When visibility is changed we
8374 need to redraw the image because the buffers are killed. When size
8375 is changed refresh if the sizemode needs it.
8377 2005-01-13 Peter Bartok <pbartok@novell.com>
8379 * Control.cs (SelectNextControl): Was using wrong method to select
8382 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8384 * ComboBox.cs: fixes dropstyle
8386 2005-01-13 Peter Bartok <pbartok@novell.com>
8389 - Implemented Select() override
8390 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8391 - Now sets keyboard focus on startup
8392 * Control.cs (SelectNextControl): Now properly handles directed=true
8394 - WndProc: Now passes tab key on to base if AcceptTabChar=false
8395 - Added (really bad) focus rectangle (mostly for testing)
8396 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8397 to enforce redraw on focus changes
8398 * ContainerControl.cs:
8399 - Fixed detection of Shift-Tab key presses
8400 - Fixed traversal with arrow keys
8401 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8402 gonna keep this or if it's complete yet
8404 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8406 * ComboBox.cs: missing properties, fixes
8408 2005-01-13 Peter Bartok <pbartok@novell.com>
8410 * Panel.cs (ctor): Setting Selectable window style to off
8411 * Splitter.cs (ctor): Setting Selectable window style to off
8412 * GroupBox.cs (ctor): Setting Selectable window style to off
8413 * Label.cs (ctor): Setting Selectable window style to off
8415 2005-01-12 Miguel de Icaza <miguel@ximian.com>
8417 * UpDownBase.cs (InitTimer): If the timer has been already
8420 Use a TextBox instead of a Label.
8422 2005-01-12 Jackson Harper <jackson@ximian.com>
8424 * TreeView.cs: Refresh the tree after sorting the nodes. Always
8425 draw the connecting node lines (when ShowLines is true).
8426 * TreeNode.cs: The nodes index can now be updated. This is used
8427 when a node collection is sorted.
8428 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8429 insert or an existing unsorted node collection can be sorted.
8431 2005-01-12 Peter Bartok <pbartok@novell.com>
8433 * ContainerControl.cs: Implemented ProcessDialogKeys()
8435 2005-01-12 Peter Bartok <pbartok@novell.com>
8438 - Implemented SelectNextControl() method
8439 - Several focus related bug fixes
8440 - Fixed Docking calculations to match MS documentation and
8443 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
8445 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8448 2005-01-12 Peter Bartok <pbartok@novell.com>
8451 - Fixed broken Contains() method
8452 - Implemented GetNextControl() method. Finally. This is the pre-
8453 requisite for focus handling.
8455 2005-01-12 Peter Bartok <pbartok@novell.com>
8457 * OSXStrucs.cs: Added
8459 2005-01-12 Peter Bartok <pbartok@novell.com>
8462 - Removed PeekMessageFlags
8463 - Implemented SetWindowStyle() method
8464 * XplatUIStructs.cs: Added PeekMessageFlags
8465 * X11Structs: Added missing border_width field to XWindowChanges struct
8467 - PeekMessage: Now throws exception if flags which are not yet
8468 supported are passed
8469 - Implemented SetWindowStyle() method
8470 - Fixed SetZOrder to handle AfterHwnd properly
8471 * XplatUI.cs: Added SetWindowStyle() method
8472 * XplatUIDriver.cs: Added SetWindowStyle() abstract
8474 - Implemented UpdateStyles() method
8475 - Implemented UpdateZOrder() method
8476 * XplatUIOSX.cs: Added SetWindowStyle() stub
8478 2005-01-12 Geoff Norton <gnorton@customerdna.com>
8480 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8484 2005-01-11 Jackson Harper <jackson@ximian.com>
8486 * TreeView.cs: Still need to draw lines to siblings even if out of
8487 the current node is out of the clip.
8489 2005-01-11 Jackson Harper <jackson@ximian.com>
8491 * TreeView.cs: When setting the hbar/vbar/grip position use
8492 SetBounds so that perform layout is only called once. Also suspend
8493 and resume layout so layout is only done once for all controls.
8494 - Removed some debug fluff
8495 * SizeGrip.cs: Call base implmentation in overriding methods.
8496 - When visibility is changed the drawing buffers are killed so we
8499 2005-01-11 Jackson Harper <jackson@ximian.com>
8501 * TreeView.cs: Calculate the open node count while drawing. This
8502 saves us an entire tree traversal for every paint operation. Use
8503 a member var for the open node count so less vars are passed around.
8505 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
8508 - fixed selection to use mousemove, not mouse polling on timer
8509 * ThemeWin32Classic.cs
8510 - removed redundant unused variable "no_more_content"
8512 2005-01-11 Peter Bartok <pbartok@novell.com>
8514 * XplatUIX11.cs (DoEvents): Needs to return when no more events
8515 are pending, so it now calls PeekMessage instead of GetMessage;
8516 implemented a incomplete version of PeekMessage
8518 2005-01-11 Peter Bartok <pbartok@novell.com>
8520 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8522 * TextBoxBase.cs: Added sending of TextChanged event
8524 2005-01-10 Jackson Harper <jackson@ximian.com>
8526 * TreeView.cs: Try not to draw outside the clipping rectangle on
8529 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
8531 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8533 2005-01-10 Jackson Harper <jackson@ximian.com>
8536 - Implement fast scrolling. Now only the newly
8537 exposed nodes are drawn and the old image is moved using the
8538 XplatUI::ScrollWindow method.
8539 - Factor in height of nodes when calculating whether or not the
8540 node is in the clipping rect.
8542 2005-01-10 Jackson Harper <jackson@ximian.com>
8544 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8546 2005-01-10 Peter Bartok <pbartok@novell.com>
8548 * Application.cs: Added temporary hack to resolve all our resize
8549 required issues on startup. This will get fixed properly at
8550 some point in the future
8552 2005-01-10 Jackson Harper <jackson@ximian.com>
8554 * SizeGrip.cs: New internal class that is used as a sizing
8555 grip control...hence the name.
8557 2005-01-10 Peter Bartok <pbartok@novell.com>
8559 * Control.cs: Implemented proper TabIndex handling, now assigning
8560 a tabindex when a control is added to a container
8561 * GroupBox.cs (ctor): Now sets the Container style bit, required
8562 for Control.GetNextControl()
8564 2005-01-09 Jackson Harper <jackson@ximian.com>
8566 * TextBoxBase.cs: Clear window when scrolling (fixes build).
8568 2005-01-09 Peter Bartok <pbartok@novell.com>
8570 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8571 XplatUIX11.cs: Added ability to control ScrollWindow expose and
8572 an overload for ScrollWindow to allow only scrolling a rectangle
8574 2005-01-09 Peter Bartok <pbartok@novell.com>
8577 - Implemented SetDesktopBounds method
8578 - Implemented SetDesktopLocation method
8580 2005-01-08 Jackson Harper <jackson@ximian.com>
8582 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8583 the node count has changed, this removes to VScroll::Refresh calls
8586 2005-01-08 Geoff Norton <gnorton@customerdna.com>
8588 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8590 2005-01-07 Jackson Harper <jackson@ximian.com>
8592 * TreeNode.cs: Just update the single node when it is
8593 checked. Don't refresh after toggling, the Expand/Collapse already
8595 * TreeView.cs: Respect clipping a little more when drawing. Try
8596 not to redraw things that don't need to be redrawn. Just hide the
8597 scrollbars when they are no longer needed instead of removing
8598 them, so they don't have to be created again and again.
8600 2005-01-07 Geoff Norton <gnorton@customerdna.com>
8602 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
8603 coordinates to window space to place the caret properly, FIXED.
8604 Implement GetWindowState & SetWindowState
8606 2005-01-06 Peter Bartok <pbartok@novell.com>
8609 - Implemented ClientSize property
8610 - Implemented DesktopBounds property
8611 - Implemented DesktopLocation property
8612 - Implemented IsRestrictedWindow property
8613 - Implemented Size property
8614 - Implemented TopLevel property
8615 - Implemented FormWindowState property
8617 - Implemented GetTopLevel() method
8618 - Implemented SetTopLevel() method
8619 * X11Structs.cs (Atom):
8620 - Added AnyPropertyType definition
8621 - Added MapState definiton and updated XWindowAttribute struct
8622 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8623 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8624 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8626 - Implemented GetWindowState() and SetWindowState() methods
8627 - Fixed Win32GetWindowLong return type
8629 - Introduced central function for sending NET_WM messages
8630 - Implemented GetWindowState() and SetWindowState() methods
8631 * TextBoxBase.cs (set_Lines):
8632 - Now uses Foreground color for text added via Text property (Duh!)
8633 - Added code to remember programmatically requested size (fixes
8634 behaviour when Multiline is set after Size)
8635 - Added AutoSize logic
8637 2005-01-06 Jackson Harper <jackson@ximian.com>
8639 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8641 2005-01-06 Jackson Harper <jackson@ximian.com>
8643 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8646 2005-01-06 Jackson Harper <jackson@ximian.com>
8648 * ScrollableControl.cs: Lazy init the scrollbars.
8650 2005-01-06 Jackson Harper <jackson@ximian.com>
8652 * Theme.cs: Speed up getting pens and solid brushes, by using
8653 their ARGB as a hash instead of tostring and not calling Contains.
8655 2005-01-06 Peter Bartok <pbartok@novell.com>
8658 - Implemented OnActivated and OnDeactivate event trigger
8659 - Implemented Activate() method
8660 - Fixed ShowDialog() to activate the form that was active before
8661 the dialog was shown
8663 - Added global active_window var that tracks the currently active
8665 - Now always grabs Property changes from the root window to always
8666 catch changes on the active window property
8667 - Added code to PropertyNotify handler to send Active/Inactive
8668 messages when state changes. This puts X11 and Win32 en par on
8669 WM_ACTIVATE notifications (except for double notifications when
8670 the user clicks away from our modal window to another one of our
8673 2005-01-05 Jackson Harper <jackson@ximian.com>
8675 * ImageList.cs: Implment ctor
8677 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8679 * XplatUIOSX.cs: Implement Activate/SetTopmost
8681 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8683 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8685 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8687 * XplatUIOSX.cs: Implement GetActive/SetFocus.
8689 2005-01-05 Peter Bartok <pbartok@novell.com>
8691 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8692 XplatUIOSX.cs: Added GetActive method to return the currently
8693 active window for the application (or null, if none is active)
8695 - Implemented ActiveForm
8696 - Commented out owner assignment for modal dialogs (causes problems
8697 on Win32, since the owner will be disabled)
8698 - Reworked some Active/Focus handling (still incomplete)
8699 * CommonDialog.cs: Commented out owner assignment for modal dialogs
8700 (causes problems on Win32, since the owner will be disabled)
8701 * IWin32Window: Added ComVisible attribute
8703 2005-01-05 Peter Bartok <pbartok@novell.com>
8705 * ToolTip.cs (WndProc): Enable setting focus now that we have the
8706 required XplatUI functions.
8708 2005-01-05 Peter Bartok <pbartok@novell.com>
8710 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8711 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8712 to implement focus and activation handling; still incomplete and
8715 2005-01-04 Peter Bartok <pbartok@novell.com>
8717 * TextBoxBase.cs: Changed access level for Document property to
8718 match switch to internal for TextControl
8720 2005-01-04 Peter Bartok <pbartok@novell.com>
8722 * AccessibleObject: Added ComVisible attribute
8724 2005-01-04 Jackson Harper <jackson@ximian.com>
8726 * X11Keyboard.cs: Remove unneeded var.
8728 2005-01-04 Jackson Harper <jackson@ximian.com>
8730 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8732 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8733 ClientMessage. This makes apps exit cleanly (more often).
8735 2005-01-04 Jackson Harper <jackson@ximian.com>
8737 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8738 handling focus, return correct colors and fonts,
8739 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8740 handle selection, horizontal scrolling, and mouse interaction.
8742 2005-01-04 Peter Bartok <pbartok@novell.com>
8744 * ICommandExecutor.cs: Added
8745 * IDataGridColumnStyleEditingNotificationService.cs: Added
8746 * IFeatureSupport.cs: Added
8747 * IFileReaderService.cs: Added
8748 * IDataObject.cs: Added ComVisible attribute
8749 * AmbientProperties.cs: Added
8750 * BaseCollection.cs: Added missing attributes
8751 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8752 * BaseCollection.cs: Added missing attributes
8753 * Binding.cs: Added TypeConverter attribute
8754 * BindingContext.cs: Added DefaultEvent attribute
8755 * BindingsCollection.cs: Added DefaultEvent attribute
8756 * Button.cs: Added DefaultValue attribute
8757 * DragEventArgs.cs: Added ComVisible attribute
8758 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8759 * KeyEventArgs.cs: Added ComVisible attribute
8760 * KeyPressEventArgs.cs: Added ComVisible attribute
8761 * MouseEventArgs.cs: Added ComVisible attribute
8762 * NavigateEventArgs.cs: Added
8763 * NavigateEventHandler.cs: Added
8764 * FeatureSupport.cs: Added
8765 * OSFeature.cs: Added
8766 * Theme.cs: Added abstract Version property to support OSFeature
8767 * ThemeWin32Classic.cs: Added Version property to
8768 support OSFeature.Themes
8769 * ProgressBar.cs: Removed OnPaintBackground override, not required since
8770 the proper styles to avoid background drawing are set, also doesn't
8772 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8773 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8774 * ScrollEventArgs.cs: Added ComVisible attribute
8775 * SplitterEventArgs.cs: Added ComVisible attribute
8776 * AccessibleSelection.cs: Added Flags attribute
8777 * Appearance.cs: Added ComVisible attribute
8778 * Border3DSide.cs: Added ComVisible attribute
8779 * Border3DStyle.cs: Added ComVisible attribute
8780 * BorderStyle.cs: Added ComVisible attribute
8781 * DragAction.cs: Added ComVisible attribute
8782 * ErrorBlinkStyle.cs: Added
8783 * ScrollEventType.cs: Added ComVisible attribute
8784 * AnchorStyles.cs: Added Editor attribute
8785 * DockStyle.cs: Added Editor attribute
8786 * HorizontalAlignment.cs: Added ComVisible attribute
8787 * HelpEventArgs.cs: Added ComVisible attribute
8788 * PaintEventArgs.cs: Added IDisposable
8790 2005-01-04 Peter Bartok <pbartok@novell.com>
8792 * TextControl.cs: Switched Line, LineTag and Document classes to
8795 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8797 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8798 Simple mode, fixes, IntegralHeight, etc.
8800 2005-01-04 Peter Bartok <pbartok@novell.com>
8802 * TextBoxBase.cs: Using proper font variable now
8804 2005-01-04 Peter Bartok <pbartok@novell.com>
8806 * Form.cs (ShowDialog): Set parent to owner, if provided
8807 * GroupBox.cs: Removed unused vars
8809 - Added GetHashCode() for Document and LineTag classes
8810 - Removed unused variables
8811 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8812 to allow translation between continuous char position and line/pos
8813 * CheckBox.cs: Removed vars that are provided by base class
8814 * RadioButton.cs: Removed vars that are provided by base class, added
8815 new keyword where required
8816 * LinkLabel.cs: Added new keyword where required
8817 * Control.cs (WndProc): Removed unused variable
8819 - Finished SelectionLength property
8820 - Implemented SelectionStart property
8821 - Implemented Text property
8822 - Removed unused vars
8823 * MessageBox.cs: Added new keyword where required
8824 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8826 * MenuAPI.cs: Added new keyword where required
8827 * ButtonBase.cs: Removed vars that are provided by base class, added
8828 new keyword where required
8829 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8830 argument to double, to allow compiling with csc 2.0 (Atsushi ran
8832 * Application.cs (Run): Now triggers the ThreadExit event
8833 * CommonDialog.cs: Added new keyword where required; now properly sets
8834 parent (owner) for dialog
8835 * XplatUIX11.cs: Commented out unused vars
8836 * StatusBar.cs: Fixed signature for Text property
8837 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8839 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8841 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8842 TrackBar.cs, MonthCalendar.cs: remove unused vars
8844 2005-01-03 Jackson Harper <jackson@ximian.com>
8846 * ThemeWin32Classic.cs:
8847 * X11Keyboard.cs: Remove unused vars.
8849 2005-01-03 Peter Bartok <pbartok@novell.com>
8852 - set_Text: Tied into TextControl
8853 - set_TextAlignment: Tied into TextControl
8855 - Added alignment properties and implemented alignment handling
8856 and drawing (still has a bug, not generating proper expose events)
8857 - Added new Line() constructor to allow passing the line alignment
8858 - Fixed selection setting, properly handling end<start now
8859 - Added aligment considerations to RecalculateDocument()
8861 - Now properly enforces control height for single line controls
8862 - Added support for CharacterCasing
8863 - Added IsInputKey override
8864 - Fixed Keys.Enter logic
8865 - Added SetBoundsCore override
8866 - Fixed mouse selection handling
8868 2005-01-03 Jackson Harper <jackson@ximian.com>
8871 - Collapse and uncheck all nodes when CheckBoxes is disabled.
8872 - Checkboxes are always aligned to the bottom of the node,
8873 regardless of item height.
8874 - Use the node bounds to draw the text so we can center it when
8875 the item height is greater then the font height.
8876 - Node::Bounds are only the text part of the node.
8877 * TreeNode.cs: New method to combine collapsing and unchecking all
8880 2005-01-02 Jackson Harper <jackson@ximian.com>
8882 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8883 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8884 tree when a check is changed. TODO: Only refresh the checked node.
8886 2004-12-30 Jackson Harper <jackson@ximian.com>
8888 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8889 * TreeNode.cs: When collapsing make sure to never collapse the
8892 2004-12-29 Jackson Harper <jackson@ximian.com>
8894 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8896 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
8898 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8900 2004-12-28 Peter Bartok <pbartok@novell.com>
8902 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8905 2004-12-28 Peter Bartok <pbartok@novell.com>
8907 * Control.cs (WndProc): Added WM_HELP handler, now generates
8909 * Form.cs: Added HelpButton property and required support code
8910 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8912 2004-12-28 Peter Bartok <pbartok@novell.com>
8915 - Made DialogForm.owner variable internal
8916 - Added check to ensure owner form is set before setting
8917 owner properties in CreateParams
8919 2004-12-28 Geoff Norton <gnorton@customerdna.com>
8921 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
8922 swizzling. Implement ClientToScreen and ScreenToClient. Implement
8923 GetCursorPos. Fix major visibility issues. Rework the windowing
8924 system to support borderless/titleless windows (implements menus).
8925 Fix GetWindowPos. Implement initial background color support for
8928 2004-12-28 Peter Bartok <pbartok@novell.com>
8930 * Form.cs (get_CreateParams): Make sure we have an owner before using
8931 the owner variable. Implement proper default if no owner exists
8933 2004-12-28 Peter Bartok <pbartok@novell.com>
8935 * In preparation for making Managed.Windows.Forms the default build target
8936 for System.Windows.Forms, the following stubbed files were added.
8937 Dialogs are currently being implemented by contributors and are only
8938 short-term place holders.
8939 * ColorDialog.cs: Initial check-in (minmal stub)
8940 * DataGrid.cs: Initial check-in (minimal stub)
8941 * DataGridLineStyle.cs: Initial check-in (minimal stub)
8942 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8943 * DataGridTableStyle.cs: Initial check-in (minimal stub)
8944 * FontDialog.cs: Initial check-in (minimal stub)
8945 * FileDialog.cs: Initial check-in (minimal stub)
8946 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8947 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8948 * OpenFileDialog: Initial check-in (minimal stub)
8949 * IComponentEditorPageSite.cs: Initial check-in
8950 * Splitter.cs: Initial check-in (for Jackson)
8951 * SplitterEventArgs.cs: Initial check-in (for Jackson)
8952 * SplitterEventHandler.cs: Initial check-in (for Jackson)
8953 * TextBox.cs: Initial check-in; still needs some wiring to
8955 * Form.cs: Implemented ControlBox property
8956 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8957 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8958 * TextControl.cs: Added selection functionality; added todo header
8960 - Implemented Lines property
8961 - Implemented TextHeight property
8962 - Implemented SelectedText property
8963 - Implemented SelectionLength property
8964 - Implemented SelectAll method
8965 - Implemented ToString method
8966 - Removed and cleaned up some debug code
8967 - Implemented (still buggy) mouse text selection
8969 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
8971 * ComboBox.cs: Complete DropDownList implementation, fixes.
8973 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
8975 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8976 * ComboBoxStyle.cs: ComboBoxStyle enum
8977 * ComboBox.cs: Initial work on ComboBox control
8979 2004-12-21 Peter Bartok <pbartok@novell.com>
8981 * Control.cs (ctor, CreateParams): Moved setting of is_visible
8982 forward so that anything that creates a window gets the default,
8983 also no longer uses Visible property in CreateParams to avoid
8984 walking up the parent chain and possibly get the wrong visible
8985 status. Fixed IsVisible to no longer walk up to the parent.
8987 2004-12-21 Peter Bartok <pbartok@novell.com>
8989 * Form.cs (ShowDialog): Unset modality for the proper window
8991 2004-12-20 Peter Bartok <pbartok@novell.com>
8993 * CommonDialog.cs: Initial check-in
8995 2004-12-20 Peter Bartok <pbartok@novell.com>
8997 * Control.cs (Visible): Now uses the parent window instead of the
8998 client area window for the property
9001 - ShowDialog(): Now uses the proper window for modality
9002 - The default visibility state for the form parent is now false. This
9003 will prevent the user from seeing all the changes to the form and
9004 its controls before the application hits Application.Run()
9005 - Removed some stale commented out code
9008 - Added FindWindow() method to have a method to check for existence
9010 - Added ability to override default exception handling (for example
9011 when debugging with VS.Net; to do this the ExternalExceptionHandler
9013 - Removed some useless debug output
9016 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9017 not working as expected
9018 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9019 property to allow switching back to the modal window if focus is
9020 given to another one of our windows (Application Modal)
9021 - Now only sets override_redirect if we create a window
9023 - Moved EventMask selection before mapping of newly created window
9024 so we can catch the map event as well
9025 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9026 - Added various Atom related DllImports
9027 - Implemented Exit() method
9028 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9031 * MessageBox.cs: Now properly deals with the FormParent window by
9032 providing an override the FormParent CreateParams property to
9033 set as POPUP instead of OVERLAPPED window.
9035 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9037 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
9040 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9042 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9044 2004-12-18 Peter Bartok <pbartok@novell.com>
9046 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9047 implementing SetModal() method
9049 2004-12-18 Peter Bartok <pbartok@novell.com>
9051 * X11Structs.cs (XGCValues): Fixed type of function element
9052 * XplatUI.cs: Added ScrollWindow() method
9053 * XplatUIDriver.cs: Added ScrollWindow() abstract
9054 * XplatUIWin32.cs: Implemented ScrollWindow() method
9055 * XplatUIX11.cs: Implemented ScrollWindow() method
9056 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9058 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9060 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
9061 Some more keyboard support (INCOMPLETE)
9063 2004-12-17 Peter Bartok <pbartok@novell.com>
9066 - Added color attribute to line tags.
9067 - Added color argument to all functions dealing with tags
9068 - Added color argument support to various functions
9069 - Fixed miss-calculation of baseline/shift in certain circumstances
9071 * TextBoxBase.cs: Added new color option to test code
9073 2004-12-17 Jackson Harper <jackson@ximian.com>
9076 * MonthCalendar.cs: Signature fixes
9078 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9080 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9081 keyboard event moved it. Create a new graphics context for each paint resolves this
9083 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9085 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9086 Make caret exist and go blink blink. Initial keyboard support.
9087 Fix exception handler, Add Invalidate support. Change way RefreshWindow
9090 2004-12-17 Jackson Harper <jackson@ximian.com>
9092 * XplatUIStructs.cs: Updated set of virtual keycodes.
9093 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9095 2004-12-17 Jackson Harper <jackson@ximian.com>
9097 * XplatUIX11.cs: Prune old keyboard code.
9099 2004-12-17 Jackson Harper <jackson@ximian.com>
9101 * XplatUIX11.cs: When generating mouse wparams get the modifier
9102 keys from the ModifierKeys property.
9104 2004-12-17 Jackson Harper <jackson@ximian.com>
9106 * X11Keyboard.cs: Send up/down input when generating
9107 messages. Remove some unused vars.
9109 2004-12-17 Jackson Harper <jackson@ximian.com>
9112 * TreeView.cs: get rid of warnings.
9114 2004-12-17 Jackson Harper <jackson@ximian.com>
9116 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9118 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
9120 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9121 CheckedListBox.cs: Implementation
9123 2004-12-17 Peter Bartok <pbartok@novell.com>
9125 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9127 2004-12-16 Peter Bartok <pbartok@novell.com>
9130 - InsertCharAtCaret(): Fixed start pos fixup
9131 - CaretLine_get: No longer derives the line from the tag, the tag
9132 could be stale if lines in the document have been added or deleted
9133 - RebalanceAfterDelete(): Fixed bug in balancing code
9134 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9135 - Line.Streamline(): Now can also elminate leading empty tags
9136 - DumpTree(): Added a few more tests and prevented exception on
9138 - Added Debug section for Combining lines
9139 - Delete(): Now copies all remaining properties of a line
9142 - Left mousebutton now sets the caret (and middle button still acts
9143 as formatting tester, which must go away soon)
9144 - Added Debug section for Deleting/Combining lines
9145 - Fixed calculations for UpdateView after Combining lines
9147 2004-12-16 Peter Bartok <pbartok@novell.com>
9149 * TextControl.cs: Now properly aligns text on a baseline, using the
9150 new XplatUI.GetFontMetrics() method. Simplified several calculations
9151 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9154 2004-12-16 Peter Bartok <pbartok@novell.com>
9156 * XplatUI.cs: Added GetFontMetrics() method
9157 * XplatUIDriver.cs: Added GetFontMetrics() abstract
9158 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9159 into libgdiplus, our private GetFontMetrics function
9160 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9161 * XplatUIWin32.cs: Implemented GetFontMetrics() method
9163 2004-12-16 Jackson Harper <jackson@ximain.com>
9165 * XplatUIStruct.cs: Add enum for dead keys
9166 * X11Keyboard.cs: Map and unmap dead keys.
9168 2004-12-16 Jackson Harper <jackson@ximian.com>
9170 * X11Keyboard.cs: Detect and use the num lock mask.
9172 2004-12-16 Peter Bartok <pbartok@novell.com>
9174 * Control.cs (CreateGraphics): Added check to make sure the
9175 handle of the window exists before calling Graphics.FromHwnd()
9177 2004-12-16 Peter Bartok <pbartok@novell.com>
9179 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9180 contains a lot of code that's not supposed to be there for the
9181 real thing, but required for developing/testing the textbox
9184 2004-12-16 Peter Bartok <pbartok@novell.com>
9187 - Fixed Streamline method
9188 - Added FindTag method to Line
9189 - Added DumpTree method for debugging
9190 - Added DecrementLines() method for deleting lines
9191 - Fixed UpdateView to update the cursor to end-of-line on single-line
9193 - Added PositionCaret() method
9194 - Fixed MoveCaret(LineDown) to move into the last line, too
9195 - Added InsertChar overload
9196 - Fixed InsertChar tag offset calculations
9197 - Added DeleteChar() method
9198 - Added Combine() method for folding lines
9199 - Fixed Delete() method, no longer allocates wasted Line object and
9200 now copies all properties when swapping nodes
9201 - Delete() method now updates document line counter
9203 2004-12-15 Jackson Harper <jackson@ximian.com>
9205 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9206 * X11Keyboard.cs: Expose the currently selected modifier keys
9209 2004-12-15 Peter Bartok <pbartok@novell.com>
9211 * TextControl.cs: Initial check-in. Still incomplete
9213 2004-12-15 Jackson Harper <jackson@ximian.com>
9216 * TreeView.cs: Fix build on csc (second time today ;-))
9218 2004-12-15 Jackson Harper <jackson@ximian.com>
9220 * TreeView.cs: Store the treenodes plus/minus box bounds when it
9221 is calculated and use this for click testing.
9222 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9224 2004-12-15 Jackson Harper <jackson@ximian.com>
9226 * TreeView.cs: Pass the nodes image index to the image list when
9229 2004-12-15 Jackson Harper <jackson@ximian.com>
9231 * X11Keyboard.cs: Set messages hwnd.
9232 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9235 2004-12-15 Jackson Harper <jackson@ximian.com>
9237 * X11Keyboard.cs: Fix to compile with csc.
9239 2004-12-15 Jackson Harper <jackson@ximian.com>
9241 * X11Structs.cs: Add key mask values
9242 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9243 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9244 down/up foo into WM_CHAR foo
9245 * KeyboardLayouts.cs: Common keyboard layouts
9246 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9247 post messages into the main queue.
9249 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9251 * Button.cs: implement ProcessMnemonic
9252 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9254 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9255 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9257 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9259 * MonthCalendar.cs: Implemented click-hold for next/previous month
9262 2004-12-11 Peter Bartok <pbartok@novell.com>
9265 - Added XKeyboardState (moved from XplatUIX11.cs)
9266 - Added XCreateGC related enums and structures
9267 - Added GXFunction for XSetFunction
9269 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9271 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9272 CaretVisible() calls
9274 * ToolTip.cs: Added code to prevent stealing focus from app windows
9276 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9277 DestroyCaret, SetCaretPos and CaretVisible)
9280 - Added implementation for caret functions
9281 - Moved hover variables into a struct, to make it a bit easier
9282 on the eyes and to debug
9283 - Removed XKeyboardState (moved to XplatUIX11.cs)
9284 - Moved Keyboard properties into the properties region
9286 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9287 call to get a graphics context for our control
9289 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9291 * TreeView.cs: Fixed bug. No matter what color was set it would always
9292 return SystemColors.Window
9294 * XplatUIWin32.cs: Implemented caret overrides
9296 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9298 * ListBox.cs: fire events, implement missing methods and properties,
9301 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9303 * MonthCalendar.cs: invalidation bug fixing
9304 * ThemeWin32Classic.cs: paint fixing
9306 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9308 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9309 prepare the CGContextRef there now.
9311 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9314 - optimisationL only invalidate areas that have changed
9315 * ThemeWin32Classic.cs:
9316 - only paint parts that intersect with clip_area
9318 2004-12-09 Peter Bartok <pbartok@novell.com>
9320 * Application.cs: Undid changes from r37004 which cause problems
9323 2004-12-09 Ravindra <rkumar@novell.com>
9325 * ToolBar.cs: Added support for displaying ContextMenu
9326 attached to a button on ToolBar.
9327 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9330 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9332 * Label.cs: autosize works in text change and removes unnecessary
9335 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9337 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9340 2004-12-08 Geoff Norton <gnorton@customerdna.com>
9342 * XplatUIOSX.cs: Added mouse move/click/grab support
9343 Remove some debugging WriteLines not needed anymore.
9344 Add window resizing/positioning.
9345 Fix visibility on reparenting.
9347 2004-12-08 Peter Bartok <pbartok@novell.com>
9349 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9351 2004-12-07 Geoff Norton <gnorton@customerdna.com>
9353 * XplatUIOSX.cs: Initial checkin
9354 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9356 2004-12-03 Ravindra <rkumar@novell.com>
9358 * ListView.cs: Added some keybindings and fixed scrolling.
9359 ScrollBars listen to ValueChanged event instead of Scroll
9360 Event. This would let us take care of all changes being
9361 done in the scrollbars' values programmatically or manually.
9362 * ListView.cs (CanMultiselect): Added a check for shift key.
9363 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9364 * ListViewItem.cs (Clone): Fixed. We need to make a copy
9365 of ListViewSubItemCollection as well.
9367 2004-12-06 Peter Bartok <pbartok@novell.com>
9369 * Control.cs (Parent): Added check and exception to prevent
9372 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
9374 * ListBox.cs: implemented clipping, selection single and multiple,
9377 2004-12-03 Ravindra <rkumar@novell.com>
9379 * ListView.cs (ListView_KeyDown):
9380 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9381 when CTRL key is pressed.
9382 * ListViewItem.cs (Selected): Fixed setting the property.
9384 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9386 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9388 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9389 MinimizeBox, ShowInTaskbar, TopMost properties.
9391 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9392 will be implemented).
9394 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9396 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9398 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9401 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9403 * TreeView.cs: BackColor is Colors.Window.
9405 2004-12-01 Jackson Harper <jackson@ximian.com>
9407 * TreeView.cs: When resizing the tree if the user is making it
9408 smaller we don't get expose events, so we need to handle adding
9409 the horizontal scrollbar in the size changed handler as well as
9412 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
9414 * DrawItemState.cs: fixes wrong enum values
9416 2004-12-01 Jackson Harper <jackson@ximian.com>
9418 * TreeView.cs: Resize the hbar as well as the vbar on resize.
9420 2004-12-01 Jackson Harper <jackson@ximian.com>
9422 * NodeLabelEditEventArgs.cs:
9423 * NodeLabelEditEventHandler.cs:
9424 * OpenTreeNodeEnumerator.cs:
9426 * TreeNodeCollection.cs:
9428 * TreeViewAction.cs:
9429 * TreeViewCancelEventArgs.cs:
9430 * TreeViewCancelEventHandler.cs:
9431 * TreeViewEventArgs.cs:
9432 * TreeViewEventHandler.cs: Initial implementation.
9434 2004-12-01 Ravindra <rkumar@novell.com>
9436 * ListView.cs (CalculateListView): Fixed scrolling related
9437 calculations. Also, removed some debug statements from other
9439 * ListViewItem.cs: Changed access to 'selected' instance variable
9440 from private to internal.
9441 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9443 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
9445 * ThemeWin32Classic.cs: remove cache of brush and pens for
9446 specific controls and use the global system, fixes scrollbutton
9447 bugs (for small sizes, disabled, etc)
9449 * ScrollBar.cs: does not show the thumb for very small controls
9450 (as MS) and allow smaller buttons that the regular size
9452 2004-12-01 Miguel de Icaza <miguel@ximian.com>
9454 * UpDownBase.cs: Add abstract methods for the interface.
9455 Add new virtual methods (need to be hooked up to TextEntry when it
9457 Add override methods for most features.
9458 Computes the size, forces the height of the text entry.
9460 * NumericUpDown.cs: Put here the current testing code.
9462 * Set eol-style property on all files that do not have mixed line
9463 endings, to minimize the future problems. There are still a few
9464 files with mixed endings, and someone should choose whether they
9465 want to move it or not.
9467 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
9469 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9472 2004-11-30 Ravindra <rkumar@novell.com>
9474 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9475 drawing and replaced use of SystemColors by theme colors.
9476 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9477 * ListView.cs (ListViewItemCollection.Add): Throw exception when
9478 same ListViewItem is being added more than once.
9480 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
9483 - ControlStyles love to make the control not flicker
9485 2004-11-30 Peter Bartok <pbartok@novell.com>
9487 * CharacterCasing.cs: Added
9489 2004-11-29 Peter Bartok <pbartok@novell.com>
9491 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9492 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9493 I am removing these files as they conflict with already completed
9494 work. While it is fantastic to get contributions to MWF, I
9495 respectfully ask that everyone please coordinate their contributions
9496 through mono-winforms-list or #mono-winforms at this time. We're
9497 explicitly avoiding stubbing and don't want controls that don't have
9498 their basic functionality implemented in svn. Please also see
9499 http://www.mono-project.com/contributing/winforms.html
9502 2004-11-29 Marek Safar <marek.safar@seznam.cz>
9504 * Application.cs (ModalRun): Don't hang after exit.
9506 * Theme.cs: New TreeViewDefaultSize property.
9508 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9509 with less hardcoded SystemColors constant.
9510 Implemented TreeViewDefaultSize.
9512 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9513 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9516 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
9519 - Fix NextMonthDate and PrevMonthDate click moving calendar
9521 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9524 - Fix usage of ScrollChange Property when scrolling months
9526 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
9528 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9529 - Fixes menu destroying
9530 - Support adding and removing items on already created menus
9532 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9535 - Re-worked all bolded dates handling to match win32
9536 * ThemeWin32Classic.cs:
9537 - Fixed rendering with bolded dates
9539 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
9541 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9542 - Horizontal scroolbar
9547 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
9550 - Fix Usage of MaxSelectionCount from SelectionRange
9551 - Fixed Shift + Cursor Selection
9552 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9553 - Fixed normal cursor selection to be compat with win32
9554 - Fixed Shift + Mouse Click selection
9556 2004-11-24 Peter Bartok <pbartok@novell.com>
9558 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9559 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9561 - CreatedKeyBoardMsg now updates keystate with Alt key
9562 - Added workaround for timer crash to CheckTimers, Jackson will
9563 develop a proper fix and check in later
9564 - Implemented DispatchMessage
9565 - Removed calling the native window proc from GetMessage (call
9566 now moved to DispatchMessage)
9568 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9569 the keydata (Fixes bug #69831)
9572 - (DispatchMessage): Switched to return IntPtr
9573 - Added DllImport for SetFocus
9575 2004-11-24 Ravindra <rkumar@novell.com>
9577 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9579 * ListViewItem.cs: Fixed various properties, calculations
9580 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9581 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9582 and some internal properties. Fixed MouseDown handler and Paint
9585 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9587 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9589 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9591 * ContainerControl.cs: correct accidental check in of local changes
9593 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9595 * ThemeWin32Classic.cs:
9596 - Fixed Drawing Last month in grid (sometimes not showing)
9598 - Fixed title width calculation bug (makeing title small)
9600 2004-11-23 Peter Bartok <pbartok@novell.com>
9603 - Added generation of WM_MOUSEHOVER event
9604 - Added missing assignment of async_method atom
9605 - Fixed WM_ERASEBKGND; now only redraws the exposed area
9607 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9609 * ThemeWin32Classic.cs:
9610 - Fixed Drawing of today circle when showtodaycircle not set
9611 - fixed drawing of first and last month in the grid (gay dates)
9613 - Fixed Drawing of today circle
9614 - Fixed drawing of grady dates
9615 - Fixed HitTest for today link when ShowToday set to false
9616 - Fixed DefaultSize to obey ShowToday
9618 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9620 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9621 * System.Windows.Forms/Theme.cs
9622 * MonthCalendar.cs: added for MonthCalendar
9623 * SelectionRange.cs: added for MonthCalendar
9624 * Day.cs: added for MonthCalendar: added for MonthCalendar
9625 * DateRangeEventArgs.cs: added for MonthCalendar
9626 * DateRangeEventHandler.cs: added for MonthCalendar
9628 2004-11-22 Ravindra <rkumar@novell.com>
9630 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9633 2004-11-22 Miguel de Icaza <miguel@ximian.com>
9635 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9638 * NumericUpDown.cs: Added new implementation.
9639 * UpDownBase.cs: Added new implementation.
9641 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9644 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9647 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9650 2004-11-21 Miguel de Icaza <miguel@ximian.com>
9652 * Timer.cs (Dispose): Should call the base dispose when
9655 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9657 * ScrollBar.cs: updates thumb position when max, min or increment
9660 2004-11-21 Ravindra <rkumar@novell.com>
9662 * ListView.cs: Implemented item selection, activation and
9663 column header style. Fixed properties to do a redraw, if
9664 required. Added support for MouseHover, DoubleClick, KeyDown
9665 and KeyUp event handling and some minor fixes.
9666 * ListViewItem.cs: Fixed constructor.
9667 * ThemeWin32Classic.cs: Improved drawing for ListView.
9669 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9671 * ThemeWin32Classic.cs: initial listbox drawing code
9672 * DrawMode.cs: new enumerator
9673 * ListControl.cs: stubbed class
9674 * ListBox.cs: initial implementation
9675 * Theme.cs: new methods definitions
9676 * SelectionMode.cs: new enumerator
9678 2004-11-17 Peter Bartok <pbartok@novell.com>
9680 * XplatUIWin32.cs: Added double-click events to the class style
9681 * Control.cs (WndProc):
9682 - Added handling of click-count to MouseDown/ MouseUp events.
9683 - Added handling of middle and right mouse buttons
9684 - Removed old debug code
9686 2004-11-17 Jackson Harper <jackson@ximian.com>
9688 * XplatUIX11.cs: Use the new Mono.Unix namespace.
9690 2004-11-17 Ravindra <rkumar@novell.com>
9692 * ListView.cs: Added event handling for MouseMove/Up/Down.
9693 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9694 * ThemeWin32Classic.cs: We need to clear the graphics context and
9695 draw column header in a proper state.
9698 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
9700 * Menu.cs: fixes signature
9702 2004-11-16 Peter Bartok <pbartok@novell.com>
9704 * XplatUIX11.cs (GetMessage): Implemented generation of
9705 double click mouse messages
9707 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
9709 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9712 2004-11-11 Peter Bartok <pbartok@novell.com>
9714 * HandleData.cs: Added Visible property
9715 * XplatUIX11.cs (IsVisible): Now uses Visible property from
9717 * XplatUIX11.cs: Removed old debug leftovers
9718 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9719 * Control.cs (WndProc): Removed old debug leftovers,
9720 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9721 needed WM_SIZE handling
9723 2004-11-11 Jackson Harper <jackson@ximian.com>
9725 * OwnerDrawPropertyBag.cs:
9726 * TreeViewImageIndexConverter.cs: Initial implementation
9728 2004-11-10 Jackson Harper <jackson@ximian.com>
9730 * ThemeWin32Classic.cs:
9731 * TabControl.cs: instead of moving tabs by the slider pos just
9732 start drawing at the tab that is offset by the slider. This way
9733 scrolling always moves by exactly one tab.
9735 2004-11-10 Jackson Harper <jackson@ximian.com>
9737 * TabControl.cs: You can only scroll left when the slider has
9738 already ben moved right.
9740 2004-11-10 Jackson Harper <jackson@ximian.com>
9742 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9745 2004-11-10 Jackson Harper <jackson@ximian.com>
9747 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9750 2004-11-09 Jackson Harper <jackson@ximian.com>
9752 * TabControl.cs (CalcXPos): New helper method so we can determine
9753 the proper place to start drawing vertical tabs.
9754 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9756 2004-11-09 Jackson Harper <jackson@ximian.com>
9758 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9759 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9760 and Bottom, left and right are illegal values for this and
9761 multiline is enabled when the alignment is set to left or right.
9762 (DrawTab): Each alignment block should draw the text itself now
9763 because Left requires special love. Also add rendering for Left
9766 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
9768 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9769 does not destroy the windows, removes debugging messages
9771 2004-11-09 jba <jba-mono@optusnet.com.au>
9773 * ThemeWin32Classic.cs
9774 (DrawButtonBase): Fix verticle text rect clipping in windows
9775 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9776 rendering and incorrect text rect clipping
9777 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9778 rendering and incorrect text rect clipping
9780 2004-11-08 Jackson Harper <jackson@ximian.com>
9782 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9783 bottom when they are bottom aligned so the bottoms of the tabs get
9785 * TabControl.cs (DropRow): Move rows up instead of down when the
9786 tab control is bottom aligned.
9788 2004-11-08 13:59 pbartok
9791 - Added handling for various window styles
9792 - Added handling for popup windows
9793 - Added SetTopmost handling
9795 2004-11-08 13:55 pbartok
9798 - Added argument to SetTopmost method
9799 - Fixed broken ClientToScreen function
9801 2004-11-08 13:53 pbartok
9803 * XplatUIStructs.cs:
9804 - Added missing WS_EX styles
9806 2004-11-08 13:53 pbartok
9808 * XplatUI.cs, XplatUIDriver.cs:
9809 - Added argument to SetTopmost
9811 2004-11-08 13:52 pbartok
9814 - Added XSetWindowAttributes structure
9815 - Improved XWindowAttributes structure
9816 - Added SetWindowValuemask enum
9817 - Added window creation arguments enum
9818 - Added gravity enum
9819 - Added Motif hints structure
9820 - Added various Motif flags and enums
9821 - Added PropertyMode enum for property functions
9823 2004-11-08 13:50 pbartok
9826 - Fixed arguments for updated SetTopmost method
9828 2004-11-08 13:49 pbartok
9831 - Fixed arguments for updated SetTopmost function
9832 - Fixed usage of PointToClient
9834 2004-11-08 13:44 pbartok
9837 - Added Clipping of children and siblings
9839 2004-11-08 13:41 pbartok
9842 - Removed SetMenuBarWindow call. We do this in Form.cs
9844 2004-11-08 13:40 jackson
9846 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9847 scrolling jimmi in the correct location with bottom aligned tabs
9849 2004-11-08 13:36 pbartok
9851 * ContainerControl.cs:
9852 - Implemented BindingContext
9853 - Implemented ParentForm
9855 2004-11-08 12:46 jackson
9857 * TabControl.cs: Put bottom rendered tabs in the right location
9859 2004-11-08 07:15 jordi
9861 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9864 2004-11-05 17:30 jackson
9866 * TabControl.cs: When selected tabs are expanded make sure they
9867 don't go beyond the edges of the tab control
9869 2004-11-05 14:57 jackson
9871 * TabControl.cs: Reset show_slider so if the control is resized to
9872 a size where it is no longer needed it's not displayed anymore
9874 2004-11-05 13:16 jackson
9876 * TabControl.cs: Make tab pages non visible when added to the
9879 2004-11-05 12:42 jackson
9881 * TabControl.cs: Implement SizeMode.FillToRight
9883 2004-11-05 12:16 jackson
9885 * Control.cs: Do not call CreateHandle if the handle is already
9888 2004-11-05 11:46 jackson
9890 * TabControl.cs: Remove superflous call to CalcTabRows
9892 2004-11-05 09:07 jackson
9894 * XplatUIX11.cs: Update for Mono.Posix changes
9896 2004-11-05 07:00 ravindra
9898 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9901 2004-11-04 22:47 jba
9903 * ThemeWin32Classic.cs:
9904 - Fix Button rendering for FlatStyle = Flat or Popup
9905 - Fix RadioButton and CheckBox rendering when Appearance = Button
9906 (normal and flatstyle).
9907 - Correct outer rectangle color when drawing focus rectangle
9908 - Adjust button bounds to be 1 px smaller when focused
9909 - Make button not draw sunken 3d border when pushed (windows compat)
9910 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9911 - Offset the text in RadioButton and Checkbox when being rendered as
9913 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9915 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9916 - Fixed disabled text rendering for normally rendered radiobuttons
9918 2004-11-04 10:26 jackson
9920 * TabControl.cs: Recalculate tab rows when resizing
9922 2004-11-04 07:47 jordi
9924 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9925 collection completion, drawing issues, missing features
9927 2004-11-04 05:03 ravindra
9930 - We need to recalculate the Thumb area when
9931 LargeChange/maximum/minimum values are changed.
9932 - We set the 'pos' in UpdatePos() method to minimum, if it's less
9933 than minimum. This is required to handle the case if large_change is
9934 more than max, and use LargeChange property instead of large_change
9936 - We return max+1 when large_change is more than max, like MS does.
9938 2004-11-04 04:29 ravindra
9940 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9941 - Changed default value signatures (prefixed all with ListView).
9942 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9944 - Fixed calculations for ListViewItem and implemented Clone()
9947 2004-11-04 04:26 ravindra
9949 * Theme.cs, ThemeWin32Classic.cs:
9950 - Changed default ListView values signatures (prefixed all with
9952 - Fixed default size values for VScrollBar and HScrollBar.
9953 - Fixed DrawListViewItem method.
9955 2004-11-04 04:05 ravindra
9957 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9959 2004-11-04 04:04 ravindra
9961 * ImageList.cs: Implemented the missing overload for Draw method.
9963 2004-11-03 19:29 jackson
9965 * TabControl.cs: Handle dropping rows on selection properly
9967 2004-11-03 11:59 jackson
9969 * TabControl.cs: remove debug code
9971 2004-11-03 11:52 jackson
9973 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9974 the scrolly widgerywoo
9976 2004-11-02 13:52 jackson
9978 * TabControl.cs: Resize the tab pages and tabs when the tab control
9981 2004-11-02 13:40 jackson
9983 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9984 selected tab to the bottom
9986 2004-11-02 13:39 jackson
9988 * TabPage.cs: Store the tab pages row
9990 2004-11-02 12:33 jordi
9992 * MenuItem.cs: fixes handle creation
9994 2004-11-02 11:42 jackson
9996 * TabControl.cs: signature fix
9998 2004-11-02 08:56 jackson
10000 * TabControl.cs: Calculate whether the tab is on an edge properly.
10001 Remove top secret debugging code
10003 2004-11-01 19:57 jackson
10005 * TabControl.cs: Add click handling, and proper sizing
10007 2004-11-01 19:47 jackson
10009 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10012 2004-11-01 19:39 jackson
10014 * TabPage.cs: add internal property to store the bounds of a tab
10017 2004-10-30 04:23 ravindra
10019 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10022 2004-10-30 04:21 ravindra
10024 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10025 fixed calculations.
10027 2004-10-30 03:06 pbartok
10030 - Removed extension of DllImported libs
10032 2004-10-29 09:55 jordi
10034 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10035 navigation, itemcollection completion, menu fixes
10037 2004-10-27 22:58 pbartok
10040 - Now throws a nice error message when no X display could be opened
10042 2004-10-26 13:51 jordi
10044 * ListView.cs: removes warning
10046 2004-10-26 03:55 ravindra
10048 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10049 ThemeWin32Classic.cs: Some formatting for my last checkins.
10051 2004-10-26 03:36 ravindra
10053 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10054 control and default values.
10056 2004-10-26 03:35 ravindra
10058 * Theme.cs: Added some default values for ListView control.
10060 2004-10-26 03:33 ravindra
10062 * ToolBar.cs: ToolBar should use the user specified button size, if
10063 there is any. Added a size_specified flag for the same.
10065 2004-10-26 03:33 ravindra
10067 * ColumnHeader.cs: Added some internal members and calculations for
10070 2004-10-26 03:32 ravindra
10072 * ListViewItem.cs: Calculations for ListViewItem.
10074 2004-10-26 03:31 ravindra
10076 * ListView.cs: Added some internal members and calculations for
10079 2004-10-22 13:31 jordi
10081 * MenuAPI.cs: speedup menus drawing
10083 2004-10-22 13:16 jackson
10085 * XplatUIX11.cs: Make sure to update exposed regions when adding an
10088 2004-10-22 11:49 jackson
10092 2004-10-22 11:41 jackson
10094 * Control.cs: Check to see if the window should have its background
10095 repainted by X when drawing.
10097 2004-10-22 11:31 jackson
10099 * XplatUIX11.cs: When invalidating areas only use XClearArea if
10100 clear is true, this way we do not get flicker from X repainting the
10103 2004-10-22 11:28 jackson
10105 * XEventQueue.cs: Queue properly
10107 2004-10-21 09:38 jackson
10109 * XEventQueue.cs: Fix access modifier
10111 2004-10-21 09:36 jackson
10113 * XEventQueue.cs: Don't loose messages
10115 2004-10-21 09:22 jackson
10117 * XEventQueue.cs: Don't loose messages
10119 2004-10-20 04:15 jordi
10121 * BootMode.cs: enum need it by SystemInfo
10123 2004-10-19 21:58 pbartok
10126 - Small sanity check
10128 2004-10-19 21:56 pbartok
10131 - Added private FormParentWindow class which acts as the container
10132 for our form and as the non-client area where menus are drawn
10133 - Added/Moved required tie-ins to Jordi's menus
10134 - Fixed/Implemented the FormStartPosition functionality
10136 2004-10-19 21:52 pbartok
10139 - Removed unneeded locals
10140 - Added code to all size and location properties to understand and
10141 deal with the parent container of Form
10143 2004-10-19 21:33 pbartok
10146 - Fixed to deal with new Form subclasses for menus
10148 2004-10-19 17:48 jackson
10150 * XEventQueue.cs: commit correct version of file
10152 2004-10-19 16:50 jackson
10154 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10156 2004-10-19 16:15 jordi
10158 * MenuAPI.cs: MenuBarCalcSize returns the height
10160 2004-10-19 08:31 pbartok
10163 - Added missing call to PreProcessMessage before calling OnXXXKey
10166 2004-10-19 00:04 ravindra
10168 * ToolTip.cs: Fixed constructor.
10170 2004-10-18 09:31 jordi
10172 * MenuAPI.cs: menuitems in menubars do not have shortcuts
10174 2004-10-18 09:26 jordi
10176 * MenuItem.cs: fixes MenuItem class signature
10178 2004-10-18 08:56 jordi
10180 * MenuAPI.cs: prevents windows from showing in the taskbar
10182 2004-10-18 00:28 ravindra
10184 * ToolTip.cs: Suppressed a warning message.
10186 2004-10-18 00:27 ravindra
10188 * Control.cs: Default value of visible property must be true.
10190 2004-10-17 23:19 pbartok
10193 - Complete implementation
10195 2004-10-17 23:19 pbartok
10198 - Added EnableWindow method
10199 - Added SetModal stub
10200 - Added generation of WM_ACTIVATE message (still needs testing)
10201 - Added SetTopMost stub
10202 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10204 2004-10-17 23:17 pbartok
10207 - Removed VirtualKeys to XplatUIStructs
10208 - Implemented SetTopMost method
10209 - Implemented EnableWindow method
10210 - Bugfix in ScreenToClient()
10211 - Bugfixes in ClientToScreen()
10213 2004-10-17 22:51 pbartok
10215 * XplatUIStructs.cs:
10216 - Added WS_EX styles to WindowStyles enumeration
10218 2004-10-17 22:50 pbartok
10220 * XplatUI.cs, XplatUIDriver.cs:
10221 - Added method for enabling/disabling windows
10222 - Added method for setting window modality
10223 - Added method for setting topmost window
10225 2004-10-17 22:49 pbartok
10227 * ThemeWin32Classic.cs:
10228 - Added ToolTip drawing code
10230 2004-10-17 22:49 pbartok
10233 - Added ToolTip abstracts
10235 2004-10-17 22:47 pbartok
10238 - Fixed Form.ControlCollection to handle owner relations
10239 - Added Owner/OwnedForms handling
10240 - Implemented Z-Ordering for owned forms
10241 - Removed unneeded private overload of ShowDialog
10242 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10244 - Fixed Close(), had wrong default
10245 - Added firing of OnLoad event
10246 - Added some commented out debug code for Ownership handling
10248 2004-10-17 22:16 pbartok
10251 - Fixed/implemented flat list of controls
10253 2004-10-17 22:14 pbartok
10256 - Added code to simulate modal dialogs on Win32
10258 2004-10-17 16:11 jordi
10260 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10263 2004-10-17 13:39 jordi
10265 * MenuAPI.cs: menu drawing fixes
10267 2004-10-15 09:10 ravindra
10269 * StructFormat.cs: General Enum.
10271 2004-10-15 09:09 ravindra
10273 * SizeGripStyle.cs: Enum for Form.
10275 2004-10-15 09:08 ravindra
10277 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10278 in Theme for ListView.
10280 2004-10-15 09:06 ravindra
10282 * ColumnHeader.cs: Flushing some formatting changes.
10284 2004-10-15 09:05 ravindra
10286 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10289 2004-10-15 09:03 ravindra
10291 * ListView.cs: Implemented Paint method and fixed coding style.
10293 2004-10-15 07:34 jordi
10295 * MenuAPI.cs: fix for X11
10297 2004-10-15 07:32 ravindra
10299 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10300 - Renamed Paint() method to Draw() for clarity. Also, moved
10301 DrawImage() to OnPaint().
10303 2004-10-15 07:25 ravindra
10305 * CheckBox.cs, RadioButton.cs:
10306 - Removed Redraw (), we get it from ButtonBase.
10307 - Implemented Paint (), to do class specific painting.
10309 2004-10-15 07:16 ravindra
10312 - Redraw () is not virtual now.
10313 - Added an internal virtual method Paint (), so that
10314 derived classes can do their painting on their own.
10315 - Modified OnPaint () to call Paint ().
10317 2004-10-15 06:43 jordi
10319 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10320 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10322 2004-10-15 00:30 ravindra
10325 - MessageBox on windows does not have min/max buttons.
10326 This change in CreateParams fixes this on Windows. We
10327 still need to implement this windowstyle behavior in
10330 2004-10-14 05:14 ravindra
10333 - Changed Redraw () to do a Refresh () always.
10334 - Fixed the MouseMove event handling when mouse is pressed,
10335 ie drag event handling.
10336 - Replaced the usage of ToolBarButton.Pressed property to
10337 ToolBarButton.pressed internal variable.
10339 2004-10-14 05:10 ravindra
10341 * ToolBarButton.cs:
10342 - Added an internal member 'inside' to handle mouse move
10343 with mouse pressed ie mouse drag event.
10344 - Changed 'Pressed' property to return true only when
10345 'inside' and 'pressed' are both true.
10346 - Some coding style love.
10348 2004-10-14 00:17 ravindra
10350 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10353 2004-10-14 00:15 ravindra
10355 * ButtonBase.cs: Redraw () related improvements.
10357 2004-10-14 00:14 ravindra
10359 * MessageBox.cs: Moved InitFormSize () out of Paint method and
10360 removed unnecessary calls to Button.Show () method.
10362 2004-10-13 17:50 pbartok
10366 - Removed destroying of window until we solve the problem of X
10367 destroying the window before us on shutdown
10369 2004-10-13 16:32 pbartok
10372 - Now Redraws on MouseUp for FlatStyle Flat and Popup
10374 2004-10-13 14:18 pbartok
10377 - Added code to destroy the X window
10379 2004-10-13 14:18 pbartok
10382 - Added code to destroy a window
10384 2004-10-13 14:12 pbartok
10387 - Added the Redraw on Resize that got dropped in the last rev
10389 2004-10-13 09:06 pbartok
10391 * ThemeWin32Classic.cs:
10392 - Path from John BouAntoun:
10393 * Fix check rendering (centre correctly for normal style, offset
10394 correctly for FlatStyle).
10395 * Fix border color usage (use backcolor) for FlatStyle.Popup
10396 * Use checkbox.Capture instead of checkbox.is_pressed when
10397 rendering flatstyle states.
10399 2004-10-12 21:48 pbartok
10401 * ThemeWin32Classic.cs:
10402 - Removed all occurences of SystemColors and replaced them with the
10403 matching theme color
10405 2004-10-12 21:41 pbartok
10407 * ThemeWin32Classic.cs:
10408 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10409 him using the function for flatstyle drawing
10410 - Changed functions to use the new version of CPDrawBorder3D
10412 2004-10-12 21:15 pbartok
10415 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10416 match MS documentation. They need to return defined colors if the
10417 passed color matches the configured control color. Thanks to John
10418 BouAntoun for pointing this out.
10420 2004-10-12 20:57 pbartok
10423 - Fix from John BouAntoun: Raise ForeColorChanged event when text
10426 2004-10-12 20:46 pbartok
10429 - Fix from John BouAntoun: Now properly sets the Appearance property
10431 2004-10-12 20:45 pbartok
10433 * ThemeWin32Classic.cs:
10434 - Fixes from John BouAntoun: now handles forecolors and backcolors
10435 for flatstyle rendered controls much better; It also fixes normal
10436 checkbox rendering when pushed or disabled.
10438 2004-10-08 02:50 jordi
10440 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10443 2004-10-07 08:56 jordi
10445 * ThemeWin32Classic.cs: Removes deletion of cached brushes
10447 2004-10-06 03:59 jordi
10449 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10450 XplatUIWin32.cs: removes warnings from compilation
10452 2004-10-05 12:23 jackson
10454 * RadioButton.cs: Fix ctor
10456 2004-10-05 11:10 pbartok
10459 - Partial implementation by Benjamin Dasnois
10461 2004-10-05 10:15 jackson
10463 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10466 2004-10-05 03:07 ravindra
10469 - Removed a private method, Draw ().
10470 - Fixed the ButtonDropDown event handling.
10471 - Fixed MouseMove event handling.
10473 2004-10-05 03:04 ravindra
10475 * ThemeWin32Classic.cs:
10476 - Added DrawListView method and ListViewDefaultSize property.
10477 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10478 - Changed DOS style CRLF to Unix format (dos2unix).
10480 2004-10-05 03:03 ravindra
10483 - Added DrawListView method and ListViewDefaultSize property.
10485 2004-10-05 02:42 ravindra
10487 * ToolBarButton.cs: Added an internal member dd_pressed to handle
10488 clicks on DropDown arrow.
10490 2004-10-04 22:56 jackson
10492 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10493 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10494 Control handle the buffers, derived classes should not have to
10495 CreateBuffers themselves.
10497 2004-10-04 21:20 jackson
10499 * StatusBar.cs: The control handles resizing the buffers now.
10501 2004-10-04 21:18 jackson
10503 * Control.cs: When resizing the buffers should be invalidated. This
10504 should be handled in Control not in derived classes.
10506 2004-10-04 14:45 jackson
10510 2004-10-04 02:14 pbartok
10512 * LeftRightAlignment.cs:
10515 2004-10-04 01:09 jordi
10517 * ThemeWin32Classic.cs: fixes right button position causing right
10518 button not showing on horizontal scrollbars
10520 2004-10-02 13:12 pbartok
10523 - Simplified the Invalidate method by using an X call instead of
10524 generating the expose ourselves
10525 - Added an expose when the window background is changed
10526 - Implemented ClientToScreen method
10528 2004-10-02 13:08 pbartok
10531 - Added Win32EnableWindow method (test for implementing modal
10533 - Added ClientToScreen method and imports
10535 2004-10-02 13:07 pbartok
10537 * XplatUI.cs, XplatUIDriver.cs:
10538 - Added ClientToScreen coordinate translation method
10540 2004-10-02 13:06 pbartok
10542 * KeyPressEventArgs.cs:
10543 - Fixed access level for constructor
10545 2004-10-02 13:06 pbartok
10548 - Changed access level for the window_collection hash table
10550 2004-10-02 13:05 pbartok
10553 - Added KeyPreview property
10554 - Added Menu property (still incomplete, pending Jordi's menu work)
10555 - Implemented ProcessCmdKey
10556 - Implemented ProcessDialogKey
10557 - Implemented ProcessKeyPreview
10559 2004-10-02 13:02 pbartok
10562 - Added private method to get the Control object from the window
10564 - Implemented ContextMenu property
10565 - Implemented PointToScreen
10566 - Implemented PreProcessMessage
10567 - Implemented IsInputChar
10568 - Implemented IsInputKey
10569 - Implemented ProcessCmdKey
10570 - Completed ProcessKeyEventArgs
10571 - Fixed message loop to call the proper chain of functions on key
10573 - Implemented ProcessDialogChar
10574 - Implemented ProcessDialogKey
10575 - Implemented ProcessKeyMessage
10576 - Implemented ProcessKeyPreview
10577 - Added RaiseDragEvent stub (MS internal method)
10578 - Added RaiseKeyEvent stub (MS internal method)
10579 - Added RaiseMouseEvent stub (MS Internal method)
10580 - Added RaisePaintEvent stub (MS Internal method)
10581 - Added ResetMouseEventArgs stub (MS Internal method)
10582 - Implemented RtlTranslateAlignment
10583 - Implemented RtlTranslateContent
10584 - Implemented RtlTranslateHorizontal
10585 - Implemented RtlTranslateLeftRight
10586 - Added generation of KeyPress event
10588 2004-10-02 05:57 ravindra
10590 * ListViewItem.cs: Added attributes.
10592 2004-10-02 05:32 ravindra
10594 * ListView.cs: Added attributes.
10596 2004-10-01 11:53 jackson
10598 * Form.cs: Implement the Close method so work on MessageBox can
10601 2004-09-30 14:06 pbartok
10606 2004-09-30 11:34 jackson
10608 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10610 2004-09-30 07:26 ravindra
10612 * ListViewItemConverter.cs: Converter for ListViewItem.
10614 2004-09-30 07:26 ravindra
10616 * SortOrder.cs: Enum for ListView control.
10618 2004-09-30 07:25 ravindra
10620 * ColumnHeader.cs: Supporting class for ListView control.
10622 2004-09-30 07:24 ravindra
10624 * ListView.cs, ListViewItem.cs: Initial implementation.
10626 2004-09-30 07:20 ravindra
10628 * ItemActivation.cs: Enum for ListView Control.
10630 2004-09-29 20:29 pbartok
10633 - Added lookup of pixel value for background color; tries to get a
10634 color 'close' to the requested color, it avoids having to create a
10635 colormap. Depending on the display this could mean the used color
10636 is slightly off the desired color. Might have to change it to a more
10637 resource intensive colormap approach, but it will work as a
10638 workaround to avoid red screens.
10640 2004-09-29 14:27 jackson
10642 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10644 2004-09-28 12:44 pbartok
10646 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10647 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10648 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10649 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10650 TrackBar.cs, VScrollBar.cs:
10651 - Streamlined Theme interfaces:
10652 * Each DrawXXX method for a control now is passed the object for
10653 the control to be drawn in order to allow accessing any state the
10654 theme might require
10656 * ControlPaint methods for the theme now have a CP prefix to avoid
10657 name clashes with the Draw methods for controls
10659 * Every control now retrieves it's DefaultSize from the current
10662 2004-09-28 12:17 jackson
10664 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10667 2004-09-24 14:57 jackson
10669 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10670 Gives us a nice little performance boost.
10672 2004-09-24 12:02 jackson
10674 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10675 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10676 Control and supporting classes. Initial checkin
10678 2004-09-23 13:08 jackson
10680 * Form.cs: Temp build fixage
10682 2004-09-23 01:39 ravindra
10684 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10685 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10686 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10687 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10688 EventHandlers needed by ListView Control.
10690 2004-09-22 14:12 pbartok
10692 * ScrollableControl.cs:
10693 - Implemented DockPadding property
10694 - Implemented AutoScroll property
10695 - Implemented AutoScrollMargin property
10696 - Implemented AutoScrollMinSize property
10697 - Implemented AutoScrollPosition property
10698 - Implemented DisplayRectangle property (still incomplete)
10699 - Implemented CreateParams property
10700 - Implemented HScroll property
10701 - Implemented VScroll property
10702 - Implemented OnVisibleChanged property
10704 2004-09-22 14:09 pbartok
10707 - Added Form.ControllCollection class
10708 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10709 RemoveOwnedForm (still incomplete, missing on-top and common
10710 minimize/maximize behaviour)
10711 - Added StartPosition property (still incomplete, does not use when
10713 - Added ShowDialog() methods (still incomplete, missing forcing the
10716 2004-09-22 14:05 pbartok
10719 - Added message loop for modal dialogs
10721 2004-09-22 14:02 pbartok
10724 - Fixed wrong types for events
10726 2004-09-22 14:00 pbartok
10728 * Shortcut.cs, FormWindowState.cs:
10729 - Fixed wrong values
10731 2004-09-22 12:01 jackson
10733 * Control.cs: Text is never null
10735 2004-09-20 22:14 pbartok
10738 - Fixed accessibility level for Idle handler
10740 2004-09-20 18:54 jackson
10742 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10743 XplatUIX11.cs: New message loop that uses poll so we don't get a
10746 2004-09-17 10:43 pbartok
10749 - Fixed behaviour of arrow buttons. Now properly behaves like
10750 Buttons (and like Microsoft's scrollbar arrow buttons)
10752 2004-09-17 10:14 pbartok
10755 - Added missing release of keyboard/mouse capture
10757 2004-09-17 06:18 jordi
10759 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10760 Theme.cs: Very early menu support
10762 2004-09-16 17:45 pbartok
10765 - Fixed sending a window to the front
10766 - Added overload for SetWindowPos to avoid casting
10768 2004-09-16 17:44 pbartok
10771 - Added SendToBack and BringToFront methods
10773 2004-09-16 07:00 ravindra
10775 * Copyright: Added Novell URL.
10777 2004-09-16 07:00 ravindra
10779 * ToolBar.cs: Invalidate should be done before redrawing.
10781 2004-09-15 21:19 ravindra
10783 * ColumnHeaderStyle.cs: Enum for ListView Control.
10785 2004-09-15 21:18 ravindra
10787 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10790 2004-09-13 18:26 jackson
10792 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10795 2004-09-13 18:13 jackson
10797 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10798 a second thread and post messages into the main threads message
10799 queue. This makes timing much more consistent. Both win2K and XP
10800 have a minimum timer value of 15 milliseconds, so we now do this
10803 2004-09-13 15:18 pbartok
10805 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10807 - Added Z-Ordering methods
10809 2004-09-13 10:56 pbartok
10812 - Fixed #region names
10813 - Moved properties and methods into their proper #regions
10815 2004-09-13 10:51 pbartok
10818 - Added Accept and CancelButton properties
10819 - Added ProcessDialogKey() method
10821 2004-09-13 08:18 pbartok
10823 * IWindowTarget.cs:
10826 2004-09-10 21:50 pbartok
10829 - Added DoDragDrop() [incomplete]
10830 - Properly implemented 'Visible' handling
10831 - Added SetVisibleCore()
10832 - Implemented FindChildAtPoint()
10833 - Implemented GetContainerControl()
10834 - Implemented Hide()
10836 2004-09-10 19:28 pbartok
10839 - Moved methods into their appropriate #regions
10840 - Reordered methods within regions alphabetically
10842 2004-09-10 18:57 pbartok
10844 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10845 - Added method to retrieve text from window
10847 2004-09-10 18:56 pbartok
10850 - Moved some internal functions into the internal region
10851 - Implemented FontHeight
10852 - Implemented RenderRightToLeft
10853 - Implemented ResizeRedraw
10854 - Implemented ShowFocusCues
10855 - Implemented ShowKeyboardCues
10856 - Implemented FromChildHandle
10857 - Implemented FromHandle
10858 - Implemented IsMnemonic
10859 - Implemented ReflectMessage
10860 - All public and protected Static Methods are now complete
10862 2004-09-10 16:54 pbartok
10865 - Implemented remaining missing public instance properties
10866 - Alphabetized some out of order properties
10868 2004-09-10 05:51 ravindra
10870 * PictureBox.cs: Added a check for null image.
10872 2004-09-10 00:59 jordi
10874 * GroupBox.cs: remove cvs tag
10876 2004-09-09 05:25 ravindra
10878 * ToolBar.cs: Make redraw accessible from ToolBarButton.
10880 2004-09-09 05:23 ravindra
10882 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10885 2004-09-09 02:28 pbartok
10887 * ThemeWin32Classic.cs:
10888 - Improve disabled string look
10890 2004-09-09 01:15 jordi
10892 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10895 2004-09-08 23:56 ravindra
10897 * ItemBoundsPortion.cs: It's enum, not a class!
10899 2004-09-08 23:47 ravindra
10901 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10904 2004-09-08 21:13 ravindra
10906 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10909 2004-09-08 21:03 ravindra
10911 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10914 2004-09-08 21:01 ravindra
10916 * ScrollableControl.cs: Removed unreachable code.
10918 2004-09-08 06:45 jordi
10920 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10922 2004-09-08 01:00 jackson
10924 * XplatUIX11.cs: Only run the timers when updating the message
10925 queue. This effectively gives X messages a higher priority then
10926 timer messages. Timers still need love though
10928 2004-09-07 14:01 jackson
10930 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10931 this for us and the handle is no longer valid.
10933 2004-09-07 13:59 jackson
10935 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10936 loop that manages to not crash. TODO: Add poll and cleanup timers
10938 2004-09-07 11:12 jordi
10940 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10942 2004-09-07 03:40 jordi
10944 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10945 fixes, methods, multiple links
10947 2004-09-06 06:55 jordi
10949 * Control.cs: Caches ClientRectangle rectangle value
10951 2004-09-05 02:03 jordi
10953 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10956 2004-09-04 11:10 jordi
10958 * Label.cs: Refresh when font changed
10960 2004-09-02 16:24 pbartok
10963 - Added sanity check to creation of double buffer bitmap
10965 2004-09-02 16:24 pbartok
10968 - Fixed selection of text color
10969 - Fixed handling of resize event; now properly recreates double
10971 - Added missing assignment of TextAlignment
10972 - Added proper default for TextAlignment
10974 2004-09-02 14:26 pbartok
10977 - Added missing RadioButton.RadioButtonAccessibleObject class
10979 2004-09-02 14:26 pbartok
10982 - Added missing Control.ControlAccessibleObject class
10983 - Started to implement Select()ion mechanisms, still very incomplete
10985 2004-09-02 14:25 pbartok
10987 * AccessibleObject.cs:
10988 - Added missing methods
10990 2004-09-02 14:23 pbartok
10992 * AccessibleNavigation.cs, AccessibleSelection.cs:
10995 2004-09-02 10:32 jordi
10997 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10998 pool for pens, brushes, and hatchbruses
11000 2004-09-01 15:30 jackson
11002 * StatusBar.cs: Fix typo
11004 2004-09-01 14:44 pbartok
11009 2004-09-01 14:39 pbartok
11011 * Button.cs, RadioButton.cs:
11012 - Functional initial check-in
11014 2004-09-01 14:01 pbartok
11017 - Added missing default
11018 - Added missing region mark
11020 2004-09-01 09:10 jordi
11022 * Label.cs: fixes method signatures, new methods, events, fixes
11025 2004-09-01 07:19 jordi
11027 * Control.cs: Init string variables with an empty object
11029 2004-09-01 04:20 jordi
11031 * Control.cs: fires OnFontChanged event
11033 2004-08-31 20:07 pbartok
11036 - Enabled display of strings
11038 2004-08-31 20:05 pbartok
11041 - Added (partial) implementation of DialogResult; rest needs to be
11042 implemented when the modal loop code is done
11044 2004-08-31 19:55 pbartok
11047 - Fixed to match the removal of the needs_redraw concept
11049 2004-08-31 19:55 pbartok
11052 - Removed the rather odd split between 'needs redraw' and redrawing
11053 - Now handles the events that require regeneration (ambient
11054 properties and size)
11056 2004-08-31 19:41 pbartok
11059 - Added firing of BackColorChanged event
11060 - Added TopLevelControl property
11061 - Fixed handling of WM_ERASEBKGRND message
11063 2004-08-31 12:49 pbartok
11069 2004-08-31 12:48 pbartok
11072 - Finished (famous last words)
11074 2004-08-31 04:35 jordi
11076 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11077 scrolling bugs, adds new methods
11079 2004-08-30 14:42 pbartok
11082 - Implemented CheckBox drawing code
11084 2004-08-30 14:42 pbartok
11087 - Made Redraw() and CheckRedraw() virtual
11088 - Improved mouse up/down/move logic to properly track buttons
11090 2004-08-30 09:44 pbartok
11093 - Updated to fix broken build. Not complete yet.
11095 2004-08-30 09:28 pbartok
11100 2004-08-30 09:17 pbartok
11105 2004-08-27 16:12 ravindra
11107 * ToolBarButton.cs: Added TypeConverter attribute.
11109 2004-08-27 16:07 ravindra
11111 * ImageIndexConverter.cs: Implemented.
11113 2004-08-27 14:17 pbartok
11116 - Removed unneeded stack vars
11117 - First attempt to fix sizing issues when layout is suspended
11119 2004-08-25 15:35 jordi
11121 * ScrollBar.cs: more fixes to scrollbar
11123 2004-08-25 14:04 ravindra
11125 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11126 Added the missing divider code and grip for ToolBar Control.
11128 2004-08-25 13:20 pbartok
11131 - Control now properly passes the ambient background color to child
11134 2004-08-25 13:20 jordi
11136 * ScrollBar.cs: small bug fix regarding bar position
11138 2004-08-25 12:33 pbartok
11141 - Now only calls SetTimer or KillTimer if the enabled state has
11144 2004-08-25 12:33 pbartok
11147 - Fixed timer handling, now seems to work
11148 - Improved error message for window creation
11150 2004-08-25 12:32 pbartok
11153 - Fixed generation of MouseUp message
11155 2004-08-25 12:29 jordi
11157 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11158 and fixes for progressbar
11160 2004-08-24 18:43 ravindra
11162 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11163 in ToolBar control.
11165 2004-08-24 17:15 pbartok
11169 - Added missing events
11172 2004-08-24 17:14 pbartok
11174 * StatusBar.cs, PictureBox.cs:
11175 - Now uses Control's CreateParams
11177 2004-08-24 16:36 pbartok
11180 - Fixed background color handling
11181 - Fixed sending of enter/leave events on a grab
11183 2004-08-24 16:35 pbartok
11186 - Refined definitions for CrossingEvent
11188 2004-08-24 12:37 jordi
11190 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11191 formmating, methods signature, and adds missing events
11193 2004-08-24 12:24 jordi
11195 * Control.cs: fire OnEnabledChanged event
11197 2004-08-24 11:17 pbartok
11200 - Implemented SetTimer() and KillTimer()
11202 2004-08-24 11:16 pbartok
11205 - Now uses Remove instead of Add to kill the timer
11207 2004-08-24 10:16 jackson
11209 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11210 picture boxes in the theme now. Draw picture box borders and obey
11213 2004-08-24 05:49 jackson
11215 * Timer.cs: Remove top secret debugging code
11217 2004-08-24 05:34 jackson
11219 * PictureBox.cs: Temp hack to make picture boxes draw their full
11222 2004-08-24 05:29 jackson
11224 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11225 XplatUIX11.cs: Move timers to the driver level. On X they are
11226 queued by the driver and checked on idle.
11228 2004-08-24 01:07 jackson
11230 * XplatUIX11.cs: Use a queue for async messages instead of passing
11231 them as ClientMessages since that was totally broken. Also simply
11232 check for events and return an idle message if none are found. This
11233 gives us an idle handler, and prevents deadlocking when no messages
11236 2004-08-23 18:19 ravindra
11238 * XplatUIWin32.cs: Removed the unwanted destructor.
11240 2004-08-23 17:27 pbartok
11243 - Finishing touches. Works now, just needs some optimizations.
11245 2004-08-23 16:53 jordi
11247 * ScrollBar.cs: small fix
11249 2004-08-23 16:45 pbartok
11252 - Removed debug output
11255 2004-08-23 16:43 jordi
11257 * ScrollBar.cs: [no log message]
11259 2004-08-23 16:10 pbartok
11262 - Fixed handling of WM_CLOSE message
11263 - Removed debug output
11265 2004-08-23 16:09 pbartok
11268 - Added handling of Idle event
11269 - Added handling of form closing
11270 - Fixed reporting of MessageLoop property
11271 - Removed some unneeded code, should provide a bit of a speedup
11273 2004-08-23 15:22 pbartok
11276 - Added InitLayout() method
11277 - Added code to properly perform layout when Anchor or Dock property
11279 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11280 LAMESPEC, tried to do it in a way that makes sense
11282 2004-08-23 14:10 jordi
11284 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11285 properties and methods
11287 2004-08-23 13:55 pbartok
11290 - Properly fixed Jordi's last fix
11291 - Now uses Cursor's Position property instead of calling XplatUI
11294 2004-08-23 13:44 jordi
11296 * PaintEventHandler.cs: Adding missing attribute
11298 2004-08-23 13:39 pbartok
11301 - Implemented Position property
11303 2004-08-23 13:39 pbartok
11305 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11306 - Added method to move mouse cursor
11308 2004-08-23 13:39 pbartok
11311 - Fixed setting of background color
11312 - Added method to move mouse cursor
11314 2004-08-23 13:16 jordi
11316 * Control.cs: avoids null exception
11318 2004-08-22 17:46 jackson
11320 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11323 2004-08-22 17:40 jackson
11325 * XplatUIX11.cs: Add some missing locks
11327 2004-08-22 15:10 pbartok
11329 * Control.cs, Form.cs:
11330 - Removed OverlappedWindow style from Control, instead it's default
11332 - Made form windows OverlappedWindow by default
11334 2004-08-22 13:34 jackson
11336 * ScrollBar.cs: Update the position through the Value property so
11337 the OnValueChanged event is raised.
11339 2004-08-22 12:04 pbartok
11342 - Added Cursor.cs and UserControl.cs
11344 2004-08-22 12:03 pbartok
11347 - Started implementation, not usable yet
11349 2004-08-22 12:00 pbartok
11352 - Implemented UserControl (complete)
11354 2004-08-21 19:20 ravindra
11356 * ToolBar.cs: Correcting the formatting mess of VS.NET.
11358 2004-08-21 18:49 ravindra
11360 * ToolBar.cs: Probably this completes the missing attributes in
11363 2004-08-21 18:03 ravindra
11365 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11366 Fixed toolbar control signatures.
11368 2004-08-21 16:32 pbartok
11373 2004-08-21 16:30 pbartok
11378 2004-08-21 16:19 pbartok
11380 * Control.cs, Label.cs:
11383 2004-08-21 15:57 pbartok
11386 - Added loads of debug output for development
11387 - Fixed typo in method name
11389 2004-08-21 15:52 pbartok
11391 * ToolBarButtonClickEventArgs.cs:
11392 - Added missing base class
11394 2004-08-21 14:53 pbartok
11397 - Updated to match new GrabWindow signature
11399 2004-08-21 14:51 pbartok
11401 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11402 - Added method to get default display size
11404 2004-08-21 14:23 pbartok
11406 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11407 - Added method to query current grab state
11408 - Added argument to allow confining a grab to a window
11410 2004-08-21 14:22 pbartok
11413 - Added [Flags] attribute so that modifiers can be used in bitwise
11416 2004-08-21 14:21 pbartok
11418 * TrackBar.cs, ScrollBar.cs:
11419 - Replaced direct XplatUI calls with their Control counterpart
11421 2004-08-21 13:32 pbartok
11424 - Implemented Created property
11426 2004-08-21 13:28 pbartok
11429 - Implemented ContainsFocus
11431 2004-08-21 13:26 pbartok
11434 - Implemented CausesValidation
11436 2004-08-21 13:21 pbartok
11439 - Implemented CanFocus
11440 - Implemented CanSelect
11441 - Implemented Capture
11443 2004-08-21 12:35 pbartok
11446 - Fixed bug with Async message handling
11447 - Implemented getting the ModifierKeys
11449 2004-08-21 12:32 jackson
11451 * AsyncMethodResult.cs: Make sure we have the mutex before we
11452 release it. Fixes BeginInvoke on windows
11454 2004-08-21 11:31 pbartok
11456 * XplatUIWin32.cs, XplatUIX11.cs:
11457 - Drivers now return proper mouse state
11459 2004-08-21 10:54 jackson
11461 * Control.cs: Implement EndInvoke
11463 2004-08-21 10:48 jackson
11465 * Timer.cs: Remove unneeded finalizer
11467 2004-08-20 19:52 ravindra
11469 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11470 in mouse event handling in the ToolBar control.
11472 2004-08-20 19:50 ravindra
11474 * ImageList.cs: Changed draw method to use the arguments passed in
11477 2004-08-20 18:58 pbartok
11479 * XplatUIStructs.cs:
11480 - Added private message for async communication
11482 2004-08-20 17:38 ravindra
11484 * Control.cs: Made RightToLeft property virtual and removed a
11487 2004-08-20 14:39 jordi
11489 * ThemeGtk.cs: use style_attach
11491 2004-08-20 14:39 pbartok
11494 - Added jackson's Async code from X11 to Win32
11496 2004-08-20 14:09 pbartok
11499 - Added all new files
11501 2004-08-20 14:09 pbartok
11504 - Added call to set window background color
11506 2004-08-20 14:03 pbartok
11508 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11509 - Added method for setting the window background
11511 2004-08-20 14:02 pbartok
11514 - Added method for setting the background color
11515 - Added handling for erasing the window background
11517 2004-08-20 13:45 jordi
11519 * TrackBar.cs: fixes timer, new properties and methods
11521 2004-08-20 13:34 jackson
11523 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11526 2004-08-20 13:22 jackson
11528 * Timer.cs: Timer Tick events are now handed through Controls Async
11529 mechanism so the callbacks are executed in the same thread as X
11531 2004-08-20 13:19 jackson
11533 * XplatUIDriver.cs: Expose functionality to send async messages
11536 2004-08-20 13:18 jackson
11538 * Control.cs: Implement Begininvoke
11540 2004-08-20 13:14 jackson
11542 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11543 messages through the driver
11545 2004-08-20 13:12 jackson
11547 * XplatUIX11.cs: Lock before all X operations. Also added Async
11548 method functionality through XSendEvent
11550 2004-08-20 13:11 jackson
11552 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11553 This will screw up on 64 bit systems)
11555 2004-08-20 13:10 jackson
11557 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11558 Async messages through X/Win32
11560 2004-08-19 19:39 pbartok
11563 - Updated code to match new HandleData.DeviceContext type
11565 2004-08-19 19:38 pbartok
11568 - Made DeviceContext a generic object to allow usage from various
11570 - Added support for queueing Windows messages
11572 2004-08-19 19:37 pbartok
11575 - Added generation of MouseEnter, MouseLeave and MouseHover events
11576 - Added cleanup on EndPaint
11578 2004-08-19 19:17 pbartok
11581 - Added handling of WM_MOUSEHOVER
11582 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11585 2004-08-19 18:55 jordi
11587 * ThemeGtk.cs: fixes button order
11589 2004-08-19 18:12 jordi
11591 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11593 2004-08-19 17:09 pbartok
11596 - Added Right property
11597 - Added RightToLeft property
11599 2004-08-19 16:27 jordi
11601 * ThemeGtk.cs: experimental GTK theme support
11603 2004-08-19 16:26 jordi
11605 * ITheme.cs, Theme.cs: move themes from an interface to a class
11607 2004-08-19 16:25 jordi
11609 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11612 2004-08-19 16:04 pbartok
11615 - Added colormap basics
11616 - Added a way to re-initialize with a different display handle
11617 - Fixed setting of the window background color
11618 - Added various X11 imports related to colors and colormaps
11620 2004-08-19 15:51 pbartok
11623 - Removed packing hints (Paolo suggested this a while back)
11624 - fixed colormap type
11625 - Added default Atom types
11626 - Added Screen and color structs and enums
11628 2004-08-19 15:39 pbartok
11631 - Added missing Draw() method
11632 - Added missing RecreateHandle event
11634 2004-08-19 15:30 pbartok
11637 - Added handling of WM_CLOSE
11639 2004-08-18 13:16 jordi
11641 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11644 2004-08-18 09:56 jordi
11646 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11648 2004-08-17 15:31 ravindra
11650 * SWF.csproj: Updated project.
11652 2004-08-17 15:25 pbartok
11655 - Drawing improvement; don't call UpdateBounds if we are not visible
11656 (or have been minimized)
11658 2004-08-17 15:24 pbartok
11661 - Finished IsVisible
11662 - Added Win32GetWindowPlacement
11664 2004-08-17 15:08 jackson
11666 * Panel.cs: Initial checkin of the Panel
11668 2004-08-17 14:25 pbartok
11671 - Fixed broken handling of default window sizes
11673 2004-08-17 13:29 jackson
11675 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11676 has a large startup time.
11678 2004-08-17 10:25 jackson
11680 * HandleData.cs: union areas properly
11682 2004-08-17 10:12 jackson
11684 * HandleData.cs: union areas properly
11686 2004-08-16 20:00 ravindra
11688 * ToolBar.cs, ToolBarButton.cs: Added attributes.
11690 2004-08-16 18:48 ravindra
11692 * ToolBar.cs: Added attributes.
11694 2004-08-16 17:17 ravindra
11696 * SWF.csproj: Updated project.
11698 2004-08-16 17:16 jackson
11700 * XplatUIX11.cs: Check for more expose events before sending a
11701 WM_PAINT so they can all be grouped together. This makes dragging a
11702 window across another window redraw in a sane way.
11704 2004-08-16 15:47 pbartok
11707 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11708 support OnMouseEnter/Leave()
11709 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11712 2004-08-16 15:46 pbartok
11714 * XplatUIStructs.cs, XplatUIX11.cs:
11715 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11716 OnMouseEnter/Leave()
11718 2004-08-16 15:34 jackson
11720 * XplatUIX11.cs: Group multiple expose events in HandleData, make
11721 sure messages get the message field set to WM_NULL if they are not
11724 2004-08-16 15:24 jackson
11726 * HandleData.cs: HandleData is used for storing message information
11729 2004-08-15 17:23 ravindra
11731 * ColorDepth.cs: Added attribute.
11733 2004-08-15 17:23 ravindra
11735 * SWF.csproj: Updated project for ToolBar Control.
11737 2004-08-15 17:20 ravindra
11739 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11740 control and also dos2unix format.
11742 2004-08-15 17:13 ravindra
11744 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11745 ToolBarButtonClickEventArgs.cs,
11746 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11747 ToolBarTextAlign.cs: First Implementation of ToolBar control.
11749 2004-08-15 15:31 pbartok
11752 - First (mostly) working version
11754 2004-08-13 16:15 pbartok
11757 - Fixed Anchor default
11759 2004-08-13 15:43 pbartok
11762 - Changed GetCursorPos signature
11764 2004-08-13 15:42 pbartok
11766 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11767 - Changed signature for GetCursorPos
11769 2004-08-13 15:25 pbartok
11773 - Fixed resizing/exposure handling
11775 2004-08-13 15:22 jordi
11777 * ThemeWin32Classic.cs: removes redundant code and fixes issues
11780 2004-08-13 14:55 jordi
11782 * TrackBar.cs: change from wndproc to events
11784 2004-08-13 13:00 jordi
11786 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11787 XplatUIX11.cs: implements PointToClient (ScreenToClient)
11789 2004-08-13 12:53 pbartok
11792 - Changed GetWindowPos to also provide client area size
11793 - Fixed broken prototypes for several win32 functions
11795 2004-08-13 12:53 pbartok
11797 * XplatUI.cs, XplatUIDriver.cs:
11798 - Changed GetWindowPos to also provide client area size
11800 2004-08-13 12:52 pbartok
11803 - Added generation of WM_POSCHANGED
11804 - Changed GetWindowPos to also provide client area size
11806 2004-08-13 12:52 pbartok
11809 - Added Dispose() and destructor
11810 - Fixed resizing and bounds calculation
11812 - Added memory savings for invisible windows
11814 2004-08-13 12:46 jordi
11816 * TrackBar.cs: adds timer and grap window
11818 2004-08-13 10:25 jackson
11820 * Timer.cs: SWF Timer
11822 2004-08-12 16:59 pbartok
11824 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11825 - Implemented method to get current mouse position
11827 2004-08-12 14:29 jordi
11829 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11830 enhancement, fix mouse problems, highli thumb, etc
11832 2004-08-12 13:31 pbartok
11835 - Fixed Anchoring bugs
11837 2004-08-12 13:01 jackson
11839 * StatusBar.cs: Don't forget things
11841 2004-08-12 12:54 jackson
11843 * ThemeWin32Classic.cs: Handle owner draw status bars
11845 2004-08-12 12:54 jackson
11847 * StatusBar.cs: Implement missing properties, events, and methods.
11848 Handle mouse clicking
11850 2004-08-12 10:19 jackson
11852 * StatusBarPanelClickEventArgs.cs,
11853 StatusBarPanelClickEventHandler.cs: Classes for handling status
11854 bar panel click events
11856 2004-08-12 10:10 jackson
11858 * Control.cs: Add missing properties
11860 2004-08-12 09:46 pbartok
11862 * BindingsManagerBase.cs:
11863 - Name changed to BindingManagerBase.cs
11865 2004-08-12 09:25 jordi
11867 * ScrollableControl.cs: calls ctrlbase instead of exeception
11869 2004-08-11 16:28 pbartok
11871 * InputLanguageChangingEventArgs.cs:
11872 - Never check in before compiling. Fixes the last check-in
11874 2004-08-11 16:26 pbartok
11876 * InputLanguageChangingEventArgs.cs:
11877 - More signature fixes
11879 2004-08-11 16:20 pbartok
11881 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11882 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11883 ImageListStreamer.cs, InputLanguage.cs,
11884 InputLanguageChangedEventArgs.cs,
11885 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11886 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11887 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11888 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11891 2004-08-11 16:16 pbartok
11895 - Added .Net 1.1 method
11897 2004-08-11 15:25 pbartok
11900 - Fixed BindingManagerBase.cs filename
11902 2004-08-11 15:22 pbartok
11904 * BindingManagerBase.cs:
11905 - Was checked in with wrong filename
11907 2004-08-11 14:50 pbartok
11912 2004-08-11 13:41 jordi
11914 * XplatUIWin32.cs: Fixes ClientRect
11916 2004-08-11 13:19 pbartok
11918 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11920 - We had SetWindowPos and MoveWindow to set window positions and
11921 size, removed MoveWindow. We have GetWindowPos, so it made sense to
11922 keep SetWindowPos as matching counterpart
11923 - Added some X11 sanity checking
11925 2004-08-11 12:59 pbartok
11928 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11929 (It seems that SetBounds is just a front for SetBoundsCore and
11930 SetBoundsCore updates the underlying window system and
11931 UpdateBounds is responsible for updating the variables associated
11932 with the Control and sending the events)
11933 - Major cleanup of Size handling; we now have two sizes, client_size
11934 and bounds. Bounds defines the window with decorations, client_size
11937 2004-08-11 12:55 pbartok
11939 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11940 - Added method to calculate difference between decorated window and
11943 2004-08-11 12:54 pbartok
11946 - Forcing redraw on resize
11948 2004-08-11 11:43 pbartok
11951 - Removed disposing of the actual images when the list is disposed
11953 2004-08-11 09:13 pbartok
11956 - Now properly reparents windows
11958 2004-08-11 08:37 pbartok
11963 2004-08-11 07:47 pbartok
11966 - Rewrote the collection stuff. Might not be as fast now, not
11967 keeping the number of children around and accessible directly, but
11968 it's more straightforward
11970 2004-08-11 07:44 pbartok
11972 * AccessibleObject.cs:
11973 - Fixed to match ControlCollection rewrite
11975 2004-08-11 07:43 pbartok
11978 - Added missing creation of the collection list
11980 2004-08-10 20:08 jackson
11982 * StatusBar.cs: Get the paint message from WndProc
11984 2004-08-10 19:31 jackson
11986 * ThemeWin32Classic.cs: Create Brushes as little as possible
11988 2004-08-10 19:20 jackson
11990 * UICues.cs: Add Flags attribute
11992 2004-08-10 19:19 jackson
11994 * StatusBarPanel.cs: Signature cleanup
11996 2004-08-10 19:10 jackson
11998 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11999 Initial implementation of status bar item drawing
12001 2004-08-10 17:27 jordi
12003 * TrackBar.cs: add missing methods, properties, and restructure to
12006 2004-08-10 16:24 jackson
12008 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12009 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12012 2004-08-10 13:21 jordi
12014 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12015 enhancements and standarize on win colors defaults
12017 2004-08-10 12:52 jackson
12019 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12020 ThemeWin32Classic.cs: Implement DrawItem functionality
12022 2004-08-10 12:47 jordi
12024 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12026 2004-08-10 12:32 jordi
12028 * Control.cs: throw ontextchange event
12030 2004-08-10 11:43 pbartok
12033 - Added more to the still unfinished Dock/Anchor layout code
12035 2004-08-10 11:39 pbartok
12037 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12038 - Added GetWindowPos method
12040 2004-08-10 11:36 pbartok
12043 - Implemented several methods
12045 2004-08-10 09:47 jackson
12047 * TrackBar.cs: Allow control to handle buffering
12049 2004-08-10 09:41 jackson
12051 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12053 2004-08-10 09:24 jackson
12055 * Label.cs, LinkLabel.cs: Let Control handle buffering.
12057 2004-08-10 09:09 jackson
12059 * StatusBar.cs: Let Control handle all the buffering.
12061 2004-08-10 09:08 jackson
12063 * Control.cs: Control will now handle the buffering code, so each
12064 control does not have to implement this.
12066 2004-08-10 08:34 jackson
12068 * XplatUIDriver.cs: Use default colors from the theme
12070 2004-08-09 17:12 pbartok
12073 - Fixed several bugs Ravindra pointed out
12075 2004-08-09 16:11 pbartok
12078 - Added incomplete dock layout code
12079 - Added support for mouse wheel
12081 2004-08-09 16:09 pbartok
12084 - Added handling for middle and right mousebutton
12085 - Added handling for mouse wheel
12086 - Added handling for key state and mouse state and position
12087 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12090 2004-08-09 15:40 jackson
12092 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12093 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12096 2004-08-09 15:37 jackson
12098 * StatusBar.cs: Initial implementation of StatusBar
12100 2004-08-09 15:36 jackson
12102 * ITheme.cs: Add support for drawing status bar and getting status
12105 2004-08-09 15:35 pbartok
12110 2004-08-09 15:34 jackson
12112 * ThemeWin32Classic.cs: Add support for drawing status bar and get
12113 status bar item sizes
12115 2004-08-09 15:21 jackson
12117 * ThemeWin32Classic.cs: Use known colors for default control
12120 2004-08-09 15:12 jackson
12122 * ThemeWin32Classic.cs: Make the default font static, it is static
12123 in control so this doesn't change functionality and creating fonts
12126 2004-08-09 14:56 pbartok
12129 - Added GrabMode enum
12131 2004-08-09 14:55 pbartok
12133 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12134 - Removed Run method, was only required for initial development
12136 2004-08-09 14:51 pbartok
12138 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12139 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12142 2004-08-09 13:48 pbartok
12145 - Fixed default sizing for child windows
12147 2004-08-09 12:56 pbartok
12150 - Added generation of WM_DESTROY message
12151 - Added handling of window manager induced shutdown
12153 2004-08-09 11:31 jackson
12155 * ThemeWin32Classic.cs: New names for control properties
12157 2004-08-09 11:25 jackson
12159 * Control.cs: Use new color names
12161 2004-08-09 11:02 jackson
12163 * XplatUI.cs: Get default window properties from the theme
12165 2004-08-09 11:01 jackson
12167 * ITheme.cs: The theme engine now controls default window
12170 2004-08-09 11:00 jackson
12172 * ThemeWin32Classic.cs: Add default window color properties
12174 2004-08-09 10:17 jackson
12176 * ThemeWin32Classic.cs: Use correct default back color
12178 2004-08-09 10:05 jackson
12180 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12183 2004-08-09 09:56 jackson
12185 * XplatUI.cs: Remove defaults, these are handled by the theme now.
12187 2004-08-09 09:54 jackson
12189 * Control.cs: Get default properties from the theme.
12191 2004-08-09 09:53 jackson
12193 * ITheme.cs: Themes now handle default control properties
12195 2004-08-09 09:53 jackson
12197 * ThemeWin32Classic.cs: Themes now handle default control
12198 properties so coloring will be consistent
12200 2004-08-08 16:54 jordi
12202 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12204 2004-08-08 15:08 jordi
12206 * XplatUIX11.cs: fixes keyboard crash
12208 2004-08-08 13:47 jordi
12210 * Label.cs: add cvs header info
12212 2004-08-08 12:09 jackson
12214 * ThemeWin32Classic.cs: Add pen_buttonface
12216 2004-08-08 11:52 jordi
12218 * Label.cs, LinkLabel.cs: [no log message]
12220 2004-08-08 11:34 jordi
12222 * ThemeWin32Classic.cs: Use Windows Standard Colours
12224 2004-08-07 17:32 jordi
12226 * TrackBar.cs: throw exceptions of invalid enums values
12228 2004-08-07 17:31 jordi
12230 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12233 2004-08-07 16:56 jackson
12235 * HorizontalAlignment.cs: Initial checkin
12237 2004-08-07 13:16 jordi
12239 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12242 2004-08-07 13:05 jordi
12244 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12245 GetSysColor defines
12247 2004-08-06 18:01 pbartok
12249 * ThemeWin32Classic.cs:
12250 - Fixed some rounding issues with float/int
12252 2004-08-06 18:00 jackson
12254 * DockStyle.cs, AnchorStyles.cs:
12256 Add flags and serializable attributes.
12258 2004-08-06 17:46 pbartok
12261 - Implemented GetParent
12263 2004-08-06 17:18 pbartok
12266 - Fixed some rounding issues with float/int
12268 2004-08-06 17:17 pbartok
12270 * X11Structs.cs, XplatUIX11.cs:
12271 - Fixed Refresh and Invalidate
12273 2004-08-06 15:30 pbartok
12275 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12276 - Fixed recursive loop when resizing
12277 - Improved/fixed redrawing on expose messages
12279 2004-08-06 09:53 jordi
12281 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12282 keyboard navigation
12284 2004-08-06 08:02 pbartok
12286 * X11Structs.cs, XplatUIX11.cs:
12287 - Fixed reparenting
12288 - Fixed window border creation
12290 2004-08-05 15:38 pbartok
12293 - Attempted fix for reparenting problems
12295 2004-08-04 15:14 pbartok
12298 - Fixed Invalidation bug (calculated wrong client area)
12299 - Added ClientSize setter
12301 2004-08-04 15:13 pbartok
12304 - Added AutoScale properties
12306 2004-08-04 15:13 pbartok
12309 - Added latest files
12311 2004-08-04 14:11 pbartok
12313 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12315 - Added Invalidate handling
12317 2004-08-03 17:09 jordi
12319 * XplatUIDriver.cs: fixes spelling mistake
12321 2004-07-27 09:53 jordi
12323 * TrackBar.cs: fixes trackbar events, def classname, methods
12326 2004-07-27 09:29 jordi
12328 * ScrollBar.cs: fixes scrollbar events
12330 2004-07-27 04:38 jordi
12332 * Control.cs: changes to be able to run winforms samples
12334 2004-07-26 11:42 jordi
12336 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12337 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12339 2004-07-26 05:41 jordi
12341 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12342 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12345 2004-07-22 09:22 jordi
12347 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12348 check link overlapping, implement events, and fixes
12350 2004-07-21 10:28 jordi
12352 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12354 2004-07-21 10:19 jordi
12356 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12357 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12358 LinkLabelLinkClickedEventArgs.cs,
12359 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12360 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12363 2004-07-19 13:09 jordi
12365 * Control.cs, Label.cs: label control re-written: added missing
12366 functionlity, events, and properties
12368 2004-07-19 10:49 jordi
12370 * Control.cs: fixes SetBounds logic
12372 2004-07-19 01:29 jordi
12374 * Control.cs: Call RefreshWindow only if the window has created
12376 2004-07-15 14:05 pbartok
12378 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12379 - Implemented ImageList and ImageList.ImageCollection classes
12380 - Added ColorDepth enumeration
12381 - Updated SWF VS.Net project
12383 2004-07-15 11:06 jordi
12385 * XplatUIStructs.cs: added MsgButons enum
12387 2004-07-15 11:03 jordi
12389 * Control.cs: added basic mouse handeling events
12391 2004-07-15 03:38 jordi
12393 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12394 Vertical TrackBar control implementation
12396 2004-07-13 09:33 jordi
12398 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12400 2004-07-13 09:31 jordi
12402 * Control.cs, Form.cs: commit: new properties and fixes form size
12405 2004-07-09 14:13 miguel
12407 * ProgressBar.cs: Spelling
12409 2004-07-09 11:25 pbartok
12412 - Removed usage of Rectangle for drawing. Miguel pointed out it's
12415 2004-07-09 11:17 miguel
12417 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
12419 * ProgressBar.cs: Fixed spelling for `block'
12421 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12424 Avoid using the += on rect.X, that exposed a bug in the compiler.
12426 2004-07-08 23:21 pbartok
12428 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12429 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12430 BaseCollection.cs, Binding.cs, BindingContext.cs,
12431 BindingMemberInfo.cs, BindingsCollection.cs,
12432 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12433 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12434 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12435 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12436 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12437 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12438 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12439 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12440 FrameStyle.cs, GiveFeedbackEventArgs.cs,
12441 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12442 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12443 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12444 InputLanguageChangedEventArgs.cs,
12445 InputLanguageChangedEventHandler.cs,
12446 InputLanguageChangingEventArgs.cs,
12447 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12448 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12449 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12450 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12451 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12452 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12453 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12454 QueryAccessibilityHelpEventArgs.cs,
12455 QueryAccessibilityHelpEventHandler.cs,
12456 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12457 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12458 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12459 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12460 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12461 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12462 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12463 XplatUIX11.cs, lang.cs: