1 2006-03-31 Jackson Harper <jackson@ximian.com>
3 * ScrollBar.cs: Cap values when incrementing/decrementing.
5 2006-03-31 Mike Kestner <mkestner@novell.com>
7 * MenuAPI.cs: setup menu.tracker for popup/context menus.
8 * ToolTip.cs: guard against timer expirations with no active control.
9 Not sure why it happened.
11 2006-03-31 Mike Kestner <mkestner@novell.com>
13 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
15 * ToolTip.cs: Position the tooltip based on where the cursor is at
16 popup time, not at MouseEnter time. Add a Down state so that we don't
17 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
18 positioning offset. Lookup DisplaySize at positioning time, since it
19 can theoretically change during invocation.
20 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
21 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
23 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
25 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
26 Fixes behaviour when the Text property of the box is String.Empty
28 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
30 * XplatUIX11.cs: Only send mouseleave for our client windows, not
31 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
34 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
36 * FileDialog.cs: Visual enhancement for the popup buttons in
39 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
41 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
44 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
46 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
47 highlighted menu items to match ms
49 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
51 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
53 2006-03-30 Mike Kestner <mkestner@novell.com>
55 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
56 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
57 go active to account for HotLight to Selected transition.
58 * MenuItem.cs: add internal Selected prop. Fill out the Status
59 property by calculating it from item info. Add HotLight,
60 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
62 2006-03-30 Mike Kestner <mkestner@novell.com>
64 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
66 2006-03-29 Jackson Harper <jackson@ximian.com>
68 * Form.cs: Implement TODO.
70 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
72 * PrintPreviewDialog.cs: Implemented missing methods and events; still
73 missing proper dialog setup in the constructor
75 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
77 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
79 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
80 - Fixed ResetBindings and removed TODO
81 - Added check for cross-thread calls to get_Handle()
82 - Added Marshaller attribute for set_Font to satisfy class status
83 * FontDialog.cs: Removed TODOs that seemed implemented
84 * UpDownBase.cs: Removed unneeded TODO and Fixme
85 * MessageBox.cs: Implemented support for Default button and removed TODO
86 * FileDialog.cs: Removed obsolete TODO
87 * DomainUpDown.cs: Removed obsolete TODO
88 * ButtonBase.cs: Removed obsolete TODO
89 * XplatUIWin32.cs: Removed obsolete TODO
91 - Removed obsolete TODO
92 - Calling CheckAcceptButton when the acceptbutton is changed to allow
93 internal status updates
94 - Making sure the active control is selected when the control is created
95 * CurrencyManager.cs: Removed obsolete TODO
98 2006-03-29 Mike Kestner <mkestner@novell.com>
100 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
101 of PrintPreviewDialog and RichTextBox.
103 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
105 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
106 DarkDark, Light and LightLight colors for a specific color
107 * ThemeWin32Classic.cs:
108 - Use Button drawing code to draw RadioButtons and CheckBoxes with
110 - Make use of the new ResPool helper CPColor
111 - Draw ProgressBar and StatusBar with correct 3D borders
113 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
115 * ColorDialog.cs: Return selected color. Fixes bug #77940.
117 2006-03-28 Mike Kestner <mkestner@novell.com>
119 * ListView.cs: fix Icon layout to plan for scrollbar widths when
120 calculating col/row counts.
122 2006-03-28 Mike Kestner <mkestner@novell.com>
128 switch to explicit interface method implementation for some methods
129 corcompare identifies as inconsistent with MS.
131 2006-03-28 Mike Kestner <mkestner@novell.com>
135 add a few missing methods from the class status output.
137 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
139 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
142 2006-03-28 Mike Kestner <mkestner@novell.com>
144 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
146 2006-03-27 Mike Kestner <mkestner@novell.com>
148 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
149 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
151 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
153 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
155 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
157 * ThemeWin32Classic.cs:
158 - GroupBox: Inserted a little gap between the text and the lines
160 - Made the code in CPDrawBorder3D more readable
161 - Corrected the drawing location of the up and down arrows in
164 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
166 * ControlPaint.cs: Corrected line widths in DrawBorder for
167 ButtonBorderStyle Inset and Outset
169 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
171 * ThemeWin32Classic.cs:
172 - Rewrote the totally broken CPDrawBorder3D method. That was
173 one of the main problems for the terrific ThemeWin32Classic
175 - Updated and corrected Button drawing
176 - Correct the dimensions of the SizeGrip to match ms ones
177 - Removed a small drawing glitch in DrawComboBoxEditDecorations
178 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
179 Border3DStyle.Sunken to match ms.
181 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
183 * ThemeWin32Classic.cs: First small part of the "de-uglify
184 ThemeWin32Classic" effort, SizeGrip
186 2006-03-24 Jackson Harper <jackson@ximian.com>
188 * XplatUIX11.cs: Give a max idle time of one second, this matches
189 MS and forces an Idle event every second when there are no other
192 2006-03-24 Mike Kestner <mkestner@novell.com>
194 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
195 * ListView.Item.cs: fix layout issues with null image lists and images
196 smaller than checkbox size.
197 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
198 mode like MS does. It's weird, but consistent. ;-)
201 2006-03-24 Mike Kestner <mkestner@novell.com>
203 * ListView.cs: Scroll wheel support for the item control. Fixes
206 2006-03-23 Jackson Harper <jackson@ximian.com>
208 * ScrollableControl.cs: Special case negative sized areas, not
210 * MonthCalendar.cs: Save the rect of the clicked date so we can
211 use it for invalidation.
212 - Try to cut down on the number of invalidates
213 - Invalidate the rect the mouse is over and was over when moving
214 the mouse, so we get the focus box following the cursor.
216 2006-03-23 Mike Kestner <mkestner@novell.com>
218 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
219 focus rectangle drawing. Fixes #77835.
221 2006-03-23 Mike Kestner <mkestner@novell.com>
223 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
224 the if and else if and reverting back to the original == check on the
227 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
229 * FontDialog.cs: Update the example panel if the selected index of
230 the fontListBox changes.
232 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
234 * FileDialog.cs: Make FileDialog remember which directory it was in
235 last in the same execution.
237 2006-03-22 Mike Kestner <mkestner@novell.com>
239 * FileDialog.cs: make the DropDownMenu on the toolbar display
240 RadioChecks since they are mutually exclusive and that's what MS does.
242 2006-03-22 Mike Kestner <mkestner@novell.com>
244 * Theme.cs: add Color param to CPDrawMenuGlyph.
245 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
246 checks and radio marks and arrows are visible on highlighted items.
247 * ControlPaint.cs: update to use new Theme signature.
249 2006-03-22 Mike Kestner <mkestner@novell.com>
251 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
252 is active. Fixes #77870.
254 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
256 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
257 to be focused/selected after startup
259 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
262 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
263 CustomColors and ShowHelp properties
264 - Some internal rewrites to get better results when using the
267 2006-03-22 Mike Kestner <mkestner@novell.com>
269 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
270 HoverSelection. Fixes #77836.
272 2006-03-22 Mike Kestner <mkestner@novell.com>
274 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
275 ToggleButtons. (De)Sensitize the Back button around a stack count of
276 1, not 0. Update ButtonSize based on a pixel count of the win32
277 control. Adjust the toolbar size/location for new button size.
279 2006-03-22 Jackson Harper <jackson@ximian.com>
281 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
283 * ScrollBar.cs: When doing increments and decrements we need to
284 set the Value property so that ValueChanged gets raised. A
285 possible optimization here would be to make an internal SetValue
286 that doesn't invalidate immediately.
287 * ToolTip.cs: Tooltips get added to their container (when
288 supplied) so they get disposed when the container is disposed.
289 - Don't create tooltips for String.Empty. This prevents all these
290 little 2-3 pixel windows from showing up when running nunit-gui
292 * Form.cs: Don't set topmost when setting the owner if the handles
293 haven't been created yet. The topmost set will happen when the
296 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
299 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
300 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
301 visible (to allow them to recalculate their sizes)
303 2006-03-21 Mike Kestner <mkestner@novell.com>
305 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
306 methods. Removed a ton of redundant code. Still not really happy with
307 the border rendering, but I think that's mainly because of the
308 ControlDarkDark being black instead of a dark grey. Depending on how
309 close we want to be, we might want to revisit those color choices.
310 Among the new features added during the refactor were DropDownArrow
311 pressed rendering, Disabled image rendering. Proper flat appearance
312 boundary rendering. Removed the Divider and Wrapping dividers since I
313 can't figure out any combination of themes and conditions to make the
314 MS control draw a horizontal line on a toolbar despite what the
315 Divider property docs indicate.
316 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
317 conditions and incorrect layout. Updated to coding standard.
318 * ToolBarButton.cs: refactored layout and positioning code from
319 ToolBar to here. Invalidate wherever possible instead of forcing
320 redraws of the whole toolbar.
321 (Known remaining issues: explicit ButtonSize smaller than provided
324 2006-03-21 Mike Kestner <mkestner@novell.com>
326 * ContextMenu.cs (Show): use the position parameter instead of just
327 showing at the MousePosition.
330 2006-03-21 Jackson Harper <jackson@ximian.com>
332 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
334 * TreeNodeCollection.cs: If we are clearing the root node we need
335 to reset top_node so calcs can still happen.
336 * ThemeWin32Classic.cs: This is a Flags so we need to check
339 2006-03-21 Jackson Harper <jackson@ximian.com>
341 * DataGrid.cs: Create columns when the binding context has been
343 * X11Structs.cs: Keysyms are uints.
344 - Add size to fix build.
346 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
348 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
350 - Added ResetMouseHover method to allow controls to retrigger
351 hovering if they need it more than once
352 - Implemented MouseHoverTime and MouseHoverSize properties
353 * Timer.cs: Start() must reset the interval
354 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
357 2006-03-21 Jackson Harper <jackson@ximian.com>
359 * X11Keyboard.cs: improved layout detection. Move the nonchar
360 tables into this file.
361 * KeyboardLayouts.cs: Move the tables into resource files.
363 2006-03-21 Mike Kestner <mkestner@novell.com>
365 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
367 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
369 * Mime.cs: Various speed optimizations. Looking up mime types
370 is now 2 times faster than before
372 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
374 * CreateParams.cs: Added internal menu field
376 - Switched call order for UpdateBounds; now we always call
377 the one that also takes ClientSize, and we're calculating the
378 client size via driver method in the others. The previous
379 method of tracking client size by difference wasn't working
380 for forms where even the starting client size wouldn't match
381 the overall form size (due to borders) (Part of fix for #77729)
382 - CreateParams(): Do not use parent.Handle unless the handle is
383 already created. Causes havoc with Nexxia and throws off our
386 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
387 - Switched handling of ConfigureNotify over to new PerformNCCalc
388 method (consolidates code)
389 - Changed RequestNCRecalc to use new PerformNCCalc method
390 - Added calls to RequestNCRecalc when menus and borders are changed
391 to allow app to set NC size. (Part of fix for #77729) This matches
392 when MS send a WM_NCRECALC on Win32 windows.
393 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
394 (Part of fix for #77729). This matches what MS does, they also
395 send that message when the form is made visible.
396 - XException.GetMessage: Improved usability of X errors by including
397 a translation of the window into Hwnd and Control class
398 - Improved debug info for window creation, reparenting and destruction
399 - Created helper method WindowIsMapped() [Currently not used]
400 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
402 - CreateParams: Now setting our menu on the new internal menu field
403 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
404 avoid calculating the same property twice
406 - Improved usability of ToString() for debugging purposes
407 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
408 determine the height of the menu, instead of just the font. This
409 required to also create a graphics context and to keep a bmp
410 around (for performance reasons)
412 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
414 * MenuAPI.cs: Added OnMouseUp method
416 - Now remembering the requested client size, avoids size errors
417 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
418 instead of base if the menu is active. This is required due to
419 control now capturing and releasing on down/up and it would
420 prematurely release our menu capture
422 2006-03-17 Jackson Harper <jackson@ximian.com>
424 * KeyboardLayouts.cs: Add the czech layouts.
426 2006-03-16 Jackson Harper <jackson@ximian.com>
428 * Control.cs: Use the viewport space when sizing not the controls
429 client size, so things like ScrollableControl that effect the
430 viewport size (when scrollbars are added) are computed correctly.
431 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
433 - Handle creating BindingManagers for null data sources.
434 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
435 source, otherwise when rows are added they are added to the 'fake'
436 datasource and we will crash when trying to set the position in
438 - Use Implicit scrollbars on the datagrid so they arent
441 2006-03-16 Jackson Harper <jackson@ximian.com>
444 * InternalWindowManager.cs:
445 * MdiWindowManager.cs:
446 * X11Keyboard.cs: I really want Mike to love me again (fix
449 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
452 - OnMouseDown: Switch to editing mode when clicking on the cell
453 even if we're clicking on the cell that's currently
455 - ProcessGridKey: Left/Right now wrap like MS.Net does
456 - ProcessGridKey: Tab now knows to add a new row when tab is
457 pressed in the cell of the last column of the
459 - ProcessGridKey: Enter now adds another row if pressed in the last
460 row and selectes the new row, same column cell
461 - ProcessGridKey: Home/End navigate columns, not rows, like
462 originally implemented
463 - Broke ProcessKeyPreview code out into an extra Internal method
464 so it can be called from the edit code
465 * DataGridTextBox.cs (ProcessKeyMessage):
466 - Switched to accept Tab keypresses
467 - Added F2 handling to allow jumping to the end of the edited cell
468 - Added logic to allow moving caret left/right inside edited cell
469 and making the edited cell jump when the caret hits cell borders
470 - Tab and Enter are now passed to the datagrid after being handled
472 - Removed capture code now that Control handles it
473 - set_SelectionStart now ensures caret is visible
475 2006-03-16 Jackson Harper <jackson@ximian.com>
477 * TrackBar.cs: Debackwards the increment/decrement for handling
478 mouse clicks on the bar with vertical trackbars.
479 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
482 2006-03-16 Mike Kestner <mkestner@novell.com>
484 * ListView.cs: make shift/ctrl keyboard and mouse selection
485 consistent with the MS control. Fix a bug in
486 SelectedListViewItemCollection.Clear that was pissing me off for the
487 better part of a day because the collection was being altered
488 underneath us as we walked the list.
490 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
492 * Control.cs: Not sure how we could miss this so long, but it seems
493 that MS.Net has Capture set all the way from before calling
494 OnMouseDown through sending the mouse events until after
495 OnMouseUp. This will fix DataGrid's selection being set to end
496 at the location of the MouseUp.
498 2006-03-15 Jackson Harper <jackson@ximian.com>
500 * BindingContext.cs: Check the binding after its added so that it
501 can initialize the binding managers and hookup to events.
502 * Binding.cs: Data members seem to sometimes include rows/cols in
503 the format Row.Column we now take this into account.
504 - Hookup to the position changed event so we can update the
505 control when the position has changed in the data set.
506 * CurrencyManager.cs: Take into account the row/col naming
507 convention when creating dataset tables.
508 * BindingContext.cs: Using a newer better way of storing
509 datasource/datamember pairs. Hopefully this better matches MS for
510 looking up binding managers.
513 2006-03-15 Jackson Harper <jackson@ximian.com>
515 * BindingContext.cs: The currency manager needs the data member
516 name, if the member is a data set we use the name to find the
518 * CurrencyManager.cs: When creating the list prefer an IList over
520 - Attempt to create a DataTable from a DataSet (TODO: might need
521 some better error checking here, although MS doesn't seem to have much)
522 - If we have a DataTable create a view and use it as our list.
524 2006-03-15 Mike Kestner <mkestner@novell.com>
526 * ListView.cs: keep a matrix of the icon mode layout to facilitate
527 keyboard navigation. Support Up/Down/Left/Right selection correctly
528 for all 4 View modes.
529 * ListViewItem.cs: add internal row/col fields for icon layouts.
531 2006-03-15 Jackson Harper <jackson@ximian.com>
533 * TabControl.cs: Redraw the tabs when we resize so their newly
534 calculated sizes are drawn on screen.
535 * X11Keyboard.cs: Begginnings of XIM support. We also now support
536 composite characters.
537 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
538 - filter events so that composite characters can be created
540 * X11Structs.cs: Add XIMProperties enum.
542 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
544 * Control.cs (BringToFront, SendToBack): Don't use window or handle
547 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
549 * Control.cs (PerformLayout): We don't need to consider visiblity
550 for anchoring, only for docking. This fixes 'whacky' alignment
551 in listbox and other controls that use implicit scrollbars after
552 the previous PerformLayout patch
553 * ListBox.cs: Switched to use implicit scrollbars
555 2006-03-14 Mike Kestner <mkestner@novell.com>
559 - chain up the "new event" overrides to base and use
560 OnEvent to raise them. Part of fix for bug #76509.
562 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
564 * FileDialog.cs: Do not select an item in the parent directory
567 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
569 * Control.cs (PerformLayout): It would seem that we considered
570 invisible windows for our layout. Not quite the right thing
571 to do. Now we don't any longer, thereby fixing bug #76889.
573 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
575 * Control.cs (CanFocus): I goofed. A control can have focus
576 even though it's not selectable. Made it match MS docs.
578 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
580 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
581 center by default (fixes #76895)
582 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
583 all uses of Border3DSides.All with the explicit ORd together
584 Left|Right|Top|Bottom because I assume that nobody was aware
585 that All also implies a center fill. Most places I checked had
587 * ProgressBarStyle.cs: Added
589 2006-03-13 Mike Kestner <mkestner@novell.com>
591 * ListView.cs: fix breakage in drag shadow header positioning
592 from Peter's csc compilation fix.
594 2006-03-13 Mike Kestner <mkestner@novell.com>
596 * ListView.cs: fix NRE produced by backspacing twice in a focused
599 2006-03-13 Mike Kestner <mkestner@novell.com>
601 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
603 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
605 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
607 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
608 the allowed size before making programmatic size changes
610 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
612 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
613 set, metacity is broken and will still use the emty sizes in
614 the struct. (Fix for #77089)
616 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
618 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
619 WindowExStyles and marked both enums as Flags
620 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
621 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
622 to match WindowStyles split
624 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
625 - Updated to match WindowStyles split
627 - Fixed FosterParent creation, was using ExStyle on the Style field
628 (This should help with Popup focus issues)
629 - Updated to match WindowStyles split
631 2006-03-13 Jackson Harper <jackson@ximian.com>
633 * MdiWindowManager.cs: Use the system menu height. Fixes some
634 strange sizing issues.
636 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
638 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
640 - Scroll to caret after inserting text (#77672)
641 - Make scroll range one pixel higher, fixes off-by-one error (and
642 makes underlines visible on the last line)
644 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
646 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
647 the keyboard state from being stuck with keys in 'pressed' state when
648 focus is switched away via keyboard
649 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
650 reset the keyboard if no X11 KeyUp events are expected to come
651 * X11Structs.cs: Switched type of Visible to bool to match driver
653 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
656 - Switched caret to be just 1 pixel wide, matches MS and looks less
658 - Moved caret display 1 pixel down from the top of the control
660 - InsertCharAtCharet: Update the selection start if moving the caret
661 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
662 - No longer always creating the caret when the caret methods are
663 called. Only the actual ShowCaret/HideCaret will do that now
664 - Only setting caret visible if the owner control has focus
665 - UpdateView: Added invalidation-shortcut logic for center and right
666 aligned text. Previously we'd update all according to the left
667 logic which caused drawing errors. Also fixed height of invalidated
668 areas, now properly invalidating the whole area (was off-by-one)
669 - owner_HandleCreated: Always generate the document when the
670 handle is created; this ensures that
672 - Fixed situation where caret would disappear under the right
673 window border, also improved scrolling behaviour on left-
675 - Fixed right-aligned textboxes to have a border to the
676 right instead of the caret being under the right border
678 - Switched from 'nested' to simple visible/not visible tracking
679 for caret (part of fix for #77671)
680 - No longer passing through translated FocusIn/FocusOut messages
681 since we were notifying too often and the wrong windows. Instead
682 we just notify our focussed window of receiving or loosing focus
683 * XplatUIWin32.cs: Switched from 'nested' show/hide
684 counting for caret to simple visible yes/no behaviour (part of
687 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
689 * Mime.cs: Remove debug code...
691 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
693 * MimeGenerated.cs: Removed
694 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
695 and subclasses) from /usr/(local/)share/mime and
696 $HOME/.local/share/mime.
698 2006-03-10 Jackson Harper <jackson@ximian.com>
700 * MdiWindowManager.cs: Recalc the NC area when a window is
701 maximized/restored so that the menu area is drawn on forms that
704 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
706 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
707 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
708 us to force a WM_NCCALCRESIZE message being sent. This is needed
711 2006-03-10 Jackson Harper <jackson@ximian.com>
713 * Form.cs: We need to use the ActiveMenu when calculating menu
715 - Fix nullref when the window manager hasn't been created yet.
716 * Control.cs: Fix nullref when we try to bring a control to the
717 front that has no parent.
718 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
720 - Add a dummy item to the maximized menu so it always has the
721 correct height. Otherwise when there are no menus we don't get our
725 2006-03-10 Jackson Harper <jackson@ximian.com>
727 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
729 * Form.cs: Make the window_state internal so the window managers
731 - When an MDI child is maximized let its window manager create the
732 main menu (so it can add its icon).
733 - Notify the window managers of state changes
734 - Let the window manager paint its buttons and handle button
735 clicks on the menu when it is maximized.
736 * InternalWindowManager.cs: Move the prev_bounds into the mdi
737 window manager, since tool windows don't use it, only mdi windows.
738 - Tell the main form that we don't want it to handle NCPAINT
739 itself to avoid extra painting.
740 - Handle clicks on a maximized windows menu.
741 - Handle window state changes
742 - Handle minimize/maximize clicks correctly by setting the window state.
743 * MdiWindowManager.cs: Add an icon menu that (the menu you get
744 when clicking on the forms icon).
745 - New method to create a forms maximized menu. This is its normal
747 - Handle window state changes.
748 - Handle sizing of maximized windows. Maximized windows are just
749 drawn bigger then the parent visible area. All controls are still
750 there, they are just outside the visible area (this matches windows).
751 * MdiClient.cs: No scrollbars when a child window is maximized.
752 - Let the children windows figure out how big they should be when
753 sizing maximized windows.
754 - Implement a version of ArrangeIconicWindows somewhat similar to
755 Windows version. There are some little differences, but I don't
756 think any app will rely on the layout of minimized mdi windows.
758 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
760 * Padding.cs: Several fixes to allow compiling with csc 2.0
762 2006-03-09 Jackson Harper <jackson@ximian.com>
765 * MenuItem.cs: Cheap hack so we can add items to the list without
766 the events being raised. This allows adding mdi items during
767 drawing. TODO: Should probably find a better time to add the items.
769 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
771 * ThemeWin32Classic.cs:
772 - CheckBox_DrawText: Added logic to not wrap if not enough space
773 is available (Fix for bug #77727)
774 - RadioButton_DrawText: Added logic not to wrap if not enough
775 space is available (Fix for bug #77727). Also removed some
776 duplicate code, DrawString always drawing the regular text
777 before hitting the if statement.
779 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
781 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
783 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
785 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
786 * ContainerControl.cs: Partial implementation of some 2.0 scaling
787 methods. Moved the new 2.0 properties into alphabetical order with
788 other properties and added MonoTODO tags
790 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
792 * AutoScaleMode.cs: Added. Fix build.
794 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
796 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
797 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
798 and was requiring premature handle creation for calls from above
799 * Form.cs, Control.cs: Removed handle arguments from calls to
800 CalculateClientRect()
802 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
804 * ListView.cs (HeaderMouseMove): Fix csc compilation.
805 drag_column.column_rect is MarshalByRef and can't be used that way
807 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
809 * AxHost.cs: Added deserialization constructor for
810 AxHost+State (fixes 77743)
812 2006-03-09 Mike Kestner <mkestner@novell.com>
815 - Added column drag reordering for details view.
816 - fixed behavior when mouse is dragged off column and
817 AllowColumnReorder is false.
818 * ColumnHeader.cs: clone the format too in Clone.
819 * Theme.cs: add DrawListViewHeaderDragDetails method.
820 * ThemeWin32Classic.cs:
821 - impl new method for drawing drag column shadows and targets.
822 - support column offset for details mode in DrawListViewItem.
824 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
826 * TextControl.cs: Reset the char_count when the document is cleared
827 (Fixes bug reported on mono-winforms mailing list)
829 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
831 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
832 of calling base we simply process the key ourselves, since both
833 DefWindowProc and the handled method would set m.Result.
836 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
838 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
839 method also moves the window; instead implemented a copy of
840 Control.ScaleCore (Part of fix for #77456)
842 - Created new CreateGraphicsInternal method to allow providing
843 a graphics context when no handle is created without triggering
844 handle creation. (Part of fix for #77456)
845 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
847 - Switched Constructor to require TextBoxBase instead of Control (to
848 allow uncast access to CreateGraphicsInternal)
849 - Safeguarded use of owner.Handle property. No longer accessing it
850 unless the handle is already created.
851 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
852 - Now triggering a recalc when owning control becomes visible
853 * TextBox.cs, RichTextBox.cs: Switched to use new internal
854 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
855 premature handle creation (Part of fix for #77456)
857 - We now only destroy our double-buffering buffers when the
858 control is resized or disposed, but not when visibility
859 changes. (The code even re-created them twice every time)
860 - Now requiring a redraw of the buffer on visibility changes
861 (fixes bug 77654 part 2)
862 - Not passing OnParentVisibleChanged up unless the control
864 - CanFocus: Fixed to match MS documentation
865 - Focus: Fixed to return actual focus state and to check if
866 setting focus is legal before setting it
868 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
870 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
871 when to draw focus rectangle by looking at parent focus and
872 selected state instead. This fixes TabPages on Linux sometimes
873 having none or multiple focus rectangles.
874 * XplatUIX11.cs (SetFocus):
875 - Don't set the focus if the same window already has focus
876 - Use SendMessage instead of PostMessage (like it's Win32
877 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
878 to match MS behaviour
879 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
882 2006-03-07 Jackson Harper <jackson@ximian.com>
884 * PictureBox.cs: Revert line I accidently committed last week.
886 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
889 - Added new IsRecreating and ParentIsRecreating properties to
890 allow testing if RecreateHandle has been called on ourselves
891 or one of our parents
892 - WndProc(WM_DESTROY): If our control handle is being recreated
893 we immediately need to create the handle when receiving the
894 destroy, that way our child windows find a valid parent handle
895 when they themselves are being recreated upon WM_DESTROY receipt
896 (fix for bug #77654 part 1)
898 - DestroyWindow: WM_DESTROY must be sent to our own window before
899 notifying any child windows. MS documents that child windows
900 are still valid when WM_DESTROY is received. (Control now relies on
902 - Added some fine-grain debug options
904 2006-03-06 Jackson Harper <jackson@ximian.com>
906 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
907 box and base calculations off this.
908 * MdiChildContext.cs:
909 * MdiWindowManager.cs: Don't need to ensure scrollbars here
912 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
914 * Splitter.cs: In situations where the affected control is added
915 to the parent's control list after the splitter, we would not
916 populate affected. Now we try populating it on mousedown, if
917 it's not already set, and force it to be re-set whenever our
920 2006-03-03 Matt Hargett <matt@use.net>
922 * Control.cs: implement Control.Padding
923 * Padding.cs: -Padding.All returns -1 when constructing with the
924 implicit default ctor
925 -Padding.ToString() matches MS.NET
926 * ContainerControl.cs: implement
927 ContainerControl.AutoScaleDimensions
928 * ListControl.cs: implement ListControl.FormattingEnabled
929 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
931 * TabPage.cs: Implement UseVisualStyleBackColor.
932 * PictureBox.cs: Implement PictureBox.InitialImage.
934 2006-03-03 Mike Kestner <mkestner@novell.com>
936 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
937 event declarations to proxy to base event.
938 * ListViewItem.cs: update to use ItemControl.
939 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
940 * ThemeWin32Classic.cs: update to new ListView theme API and fix
941 column header label rendering for 0 width columns.
943 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
945 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
946 that causes the control to be created. Fixes #77476.
948 2006-03-02 Jackson Harper <jackson@ximian.com>
950 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
953 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
955 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
956 passed in for the EventArgs (fixes #77690)
958 2006-03-01 Jackson Harper <jackson@ximian.com>
960 * ScrollBar.cs: Refresh afterbeing resized.
962 2006-02-28 Mike Kestner <mkestner@novell.com>
964 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
965 Clean up a tracker compile warning.
966 * MenuItem.cs: add internal PerformPopup method.
969 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
971 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
972 implicit expose) when the text is set to null
974 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
976 * RichTextBox.cs (FlushText): When newline is true, we always
977 need to split the line, even if no text is on it and we may
978 never eat newlines. (Fixes #77669)
980 2006-02-28 Mike Kestner <mkestner@novell.com>
982 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
983 and set Selected instead.
984 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
987 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
989 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
991 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
994 - Got rid of the panel. All controls are now directly added to
996 - It is now possible to set a font with the Font property
997 - MinSize and MaxSize property do now what they should
998 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
999 - Searching and selecting a font with the font textbox works now,
1000 the same applies to the style and size textbox
1001 - Draw the correct 3D border in the example panel
1002 - Fixed a little mem leak (unused fonts didn't get disposed)
1003 - Many other internal updates/rewrites...
1006 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1009 - InsertRTFFromStream: Added 'number of characters inserted' argument
1010 - set_SelectedRTF: Now using the number of characters to calculate
1011 the new location for the selection and cursor (x/y cannot be used
1012 due to potentially already wrapped text)
1014 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1016 * TextControl.cs: Added property and implemented means to allow
1017 disabling recalculation of a document (can be used to speed up
1018 multiple inserts and is needed to make RTF inserts predictable, see
1020 * RichTextBox.cs: Using the new NoRecalc property of Document to
1021 keep x/y insert locations predictable. Also makes it faster inserting
1024 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1026 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1027 it's easier for a child control to handle the other messages without
1028 having to duplicate the special functionality
1030 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1031 code to handle processing the key ourselves, in order to get
1032 access to the result of KeyEventArgs.Handled. We now only call
1033 ProcessKey if they key hasn't been handled already. Fixes #77526.
1034 - set_Text: If null or empty string is given, just clear the
1035 document. Fixes part of #77526
1037 2006-02-27 Jackson Harper <jackson@ximian.com>
1039 * SizeGrip.cs: Paint the background color before painting the grip
1040 so things look right.
1041 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1043 2006-02-27 Mike Kestner <mkestner@novell.com>
1046 - Restructure layout and invalidation model to remove a ton of
1047 flicker from the control and speed up performance in general.
1048 - Add manual column resize, flickers like crazy, but I already have
1049 some ideas on how I'll fix that. (#76822)
1050 - Merge the three Icon-based views into a single layout method.
1051 - Move item selection interaction logic from the item since
1052 interaction with the collections is more appropriate to the view.
1053 - Deselection on non-item clicks.
1055 - Encapsulate most of the layout. Add some internal props to trigger
1056 layout. Move to a model where Items invalidate themselves instead
1057 of just invalidating the whole control every time something changes.
1058 - Invalidate on Text/Caption changes.
1059 - switch to an offset based layout model to avoid having to absolute
1060 position every element on item moves.
1061 - correct checkbox layout to conform to MS layout.
1062 * ThemeWin32Classic.cs:
1063 - refactor some column header drawing code.
1064 - fix string justification for column headers (#76821)
1065 - make SmallIcon labels top justified for compat with MS impl.
1066 * ThemeClearlooks.cs:
1067 - adjust to new ListViewItem internal checkbox bounds api.
1069 2006-02-27 Jackson Harper <jackson@ximian.com>
1071 * Control.cs: Change where implicit controls fall in the zorder.
1072 They are now on top of all children.
1073 - Synced AddImplicit code with Add
1074 - Removed unused enumerator.
1075 * SizeGrip.cs: Remove the TODO as its been TODONE.
1077 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1079 * TextControl.cs(Insert): Combine the last lines unless the insertion
1080 string ends with \n\n, otherwise we leave one line too many (Fixes
1081 something I noticed with the testapp for #77526; the bug itself was
1082 already fixed in the previous checkin)
1084 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1087 - SelectionColor and SelectionFont methods no longer set absolute
1088 styles. Instead, the keep font or color respectively (This
1089 resolves a long-standing FIXME in the code)
1090 - When flushing RTF text, the insert code now considers text trailing
1091 behind the insertion point (Fixes the bug where when replacing
1092 the selected text via SelectedRTF the remainder of the line behind
1093 the selection would stay on the first insertion line)
1095 - AppendText now updates the selection points after inserting text
1096 - AppendText now ensures that the last tag (sometimes 0-length) of
1097 the document is used for the style information (Fixes part of
1100 - Created new FontDefiniton class to allow describing partial style
1102 - StreamLine() now takes a lines argument, to allow it to decide
1103 whether an encountered zero-length tag is the last in the document
1104 (which must be kept to not loose the font/color contained in it,
1106 - Created Combine() and Split() methods for Marker structs, to
1107 support marker updates due to reformatted documents (soft line
1109 - Implemented Document.CaretTag setter
1110 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1111 of the last line (Not the cause, but also exposed by bug #77220)
1112 - Added LineTag argument to InsertString method, to allow callers
1113 to force a certain tag to be used (required to force use of the
1114 trailing zero-length tag of a document)
1115 - Now updating markers in Combine(), to avoid stale tag markers
1116 - Added some method descriptions to aid maintenance
1117 - Implemented new FormatText concept, allowing additive/subtractive
1118 formatting by only specifying the components that are to be
1119 changed. This was needed for resolving the RTB.SelectedColor/
1120 RTB.SelectedFont fixmes
1121 - Added Break() support method to allow breaking up linetags (used
1122 for partial formatting)
1123 - Added GenerateTextFormat() method. It is used for partial
1124 formatting and allows to generate a full font/color from given
1125 attributes and an existing tag.
1127 2006-02-26 Jackson Harper <jackson@ximian.com>
1129 * XplatUIX11.cs: Use the correct caption height.
1130 - Translate hittest coordinates to screen coords to match MS.
1131 * XplatUIWin32.cs: When we create MDI windows we need to reset
1132 some of the style flags, so we get a nice blank window, and can
1133 draw all the decorations ourselves.
1134 - Set a clipping rectangle on the non client paint event, the
1135 window manager drawing code needs one.
1136 * Form.cs: The window manager needs to know when the window state
1138 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1139 don't need to factor in border and title sizes in these
1140 methods. TODO: Remove the args and fix the call points.
1141 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1143 - Let the driver set the cursors.
1144 - Improve active window handling
1145 - Correct sizes for title bars and buttons.
1146 - Match MS drawing better
1147 * MdiWindowManager.cs: We don't need to handle border style
1148 updates specially anymore.
1149 - Check for scrollbars when windows are done moving
1150 - Handle Active properly.
1151 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1152 correctly. I am spewing the exception though, so we don't hide the
1155 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
1157 * DataGridViewRowPostPaintEventArgs.cs,
1158 DataGridViewCellPaintingEventArgs.cs,
1159 DataGridViewRowCollection.cs,
1160 DataGridViewRowPrePaintEventArgs.cs,
1161 DataGridViewCell.cs: Clear a few warnings and implement a few
1162 exceptions that should be thrown.
1164 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1166 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1167 'inheriting' our parent's (non-default) cursor. (Part of
1170 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1172 * XplatUIX11.cs: Fixed cast to make csc happy
1174 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1176 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
1177 it's for the client area (part of fix for #77479 and needed
1178 for MDI window cursor handling)
1180 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
1181 the appropriate default cursors and also passing the message
1183 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
1184 for non-client areas
1186 2006-02-15 Jackson Harper <jackson@ximian.com>
1188 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
1189 is a real MDI window
1191 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
1193 * X11DesktopColors.cs: Instead of checking the desktop session
1194 string for "KDE" check if it starts with "KDE"
1196 2006-02-10 Jackson Harper <jackson@ximian.com>
1198 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
1201 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1203 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
1206 - Got rid of the panel. All controls are now directly added to
1208 - Changed to mono coding style
1210 2006-02-10 Jackson Harper <jackson@ximian.com>
1212 * InternalWindowManager.cs: We don't need the set visibility to
1213 false hack anymore now that peter has written beautiful shutdown
1216 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
1218 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
1219 where already explicitly destroyed
1221 2006-02-10 Jackson Harper <jackson@ximian.com>
1223 * MdiClient.cs: Handle the case where windows are too high or to
1224 the left and we need scrollbars.
1226 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
1228 * MimeIcon.cs: Added some icons
1231 - Got rid of the panel. All controls are now directly added to
1233 - Changed to mono coding style
1234 - On Linux "My Computer" and "My Network" will now show some
1235 more usefull information. A new class, MasterMount, gathers
1236 this information from /proc/mount. Updated MWFFileView to make
1237 use of this information
1238 - Fixed a bug that caused FileDialog to crash when
1239 ".recently_used" file had a zero size
1240 - FilterIndex does now what it should
1242 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
1245 2006-02-09 Jackson Harper <jackson@ximian.com>
1247 * ComboBox.cs: Don't touch if null.
1249 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1251 * Cursor.cs: 64bit safeness fix
1252 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
1254 2006-02-09 Jackson Harper <jackson@ximian.com>
1256 * Form.cs: If a form is made into an MDI form update the styles so
1257 all the props can get set correctly.
1258 - Kill the mdi_container when we dont need it anymore.
1259 * InternalWindowManager.cs: Add missing NOT
1261 2006-02-08 Jackson Harper <jackson@ximian.com>
1263 * InternalWindowManager.cs: Respek clipping when drawing MDi
1266 2006-02-08 Jackson Harper <jackson@ximian.com>
1268 * Hwnd.cs: Add bits to track non client expose events.
1269 * XplatUIX11.cs: Track non client expose events on the hwnd. This
1270 gives us a proper invalid rect and will allow for some nice
1271 optimizations with NC client drawing
1272 - MDI windows are children windows, so move their style handling
1273 into the child window block.
1274 * InternalWindowManager.cs: Remove a state reset that was
1275 getting invoked at the wrong time. Fixes managed windows getting
1276 into a 'stuck' captured state.
1278 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1280 * TextControl.cs (Document.ctor): Now initializing
1281 selection_anchor. Fixes #77493
1283 2006-02-07 Jackson Harper <jackson@ximian.com>
1285 * TrackBar.cs: The increment/decrements were backwards.
1287 2006-02-07 Mike Kestner <mkestner@novell.com>
1289 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
1290 to the instance itself.
1292 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
1294 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
1295 on ulongs and pointers, the size differs between 32bit and 64bit
1298 2006-02-07 Mike Kestner <mkestner@novell.com>
1300 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
1301 for 64 bit platforms to work around a metacity bug.
1303 2006-02-07 Jackson Harper <jackson@ximian.com>
1305 * TrackBar.cs: Process the input keys we need, and hookup to
1306 KeyDown instead of using WndProc, so we get key messages.
1308 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1310 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
1312 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
1313 we need to translate the XdndVersion atoms array before sending it
1315 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
1318 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
1319 number of bits for the property, not the number of bytes. The
1320 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
1321 but would not crash since it specified 8 bits instead of 4 bits)
1322 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
1323 defined as XID -> long in the C headers)
1324 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
1325 references since those are now IntPtr to begin with
1326 - Switched all Atom.XXX 'int' casts to IntPtr casts
1327 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
1328 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
1329 - Added XChangeActivePointerGrab DllImport (for X11DnD)
1331 - Changed 'int' type for Atoms in XEvent structures to IntPtr
1332 - Changed atom in HoverStruct to be IntPtr
1334 - Removed local DllImports, switched code to use those from XplatUIX11
1335 - Removed/fixed casts related to the switch of Atom to be a IntPtr
1337 2006-02-06 Mike Kestner <mkestner@novell.com>
1339 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
1340 method signatures in the import region. There may still be some
1341 lingering struct marshaling issues, as I didn't drill down into those.
1344 2006-02-06 Jackson Harper <jackson@ximian.com>
1346 * ComboBox.cs: Dont manually set the top_item, this is computed
1347 when the scrollbar position is set.
1349 2006-02-06 Mike Kestner <mkestner@novell.com>
1351 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
1352 startup crashes on amd64. There's other fixes needed. All pinvoke
1353 usage of Atom needs to be mapped to IntPtr for example. And there are
1354 likely other int/long issues to be addressed.
1356 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
1358 * FileDialog.cs: One more...
1360 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1362 * FileDialog.cs: Next try
1364 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1366 * FileDialog.cs: First part of fix for #77464
1368 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
1370 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
1371 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
1372 AcceptButton border drawing.
1374 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1376 * Form.cs: Moved positioning of form after auto scaling is applied,
1377 otherwise it would possibly use wrong form size.
1379 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
1381 * Control.cs (RecreateHandle): No need to re-create any child
1382 controls, the child windows will get destroyed automatically by
1383 the windowing system or driver, and re-created when the handle
1384 is being accessed the first time. Fixes #77456
1385 * Form.cs: No longer setting the form to closing if the handle is
1386 being recreated. This seems like the right thing to do, don't
1387 have a bug or testcase for this, though.
1389 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1391 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
1392 controls to avoid unwanted side effects
1394 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1397 - ScaleCore needs to scale the bounds, not the ClientSize of the
1398 control. Fixes #77416.
1399 - DefaultSize is 0,0 for control
1401 - DefaultSize is 100, 20
1402 - SetBoundsCore: Now enforcing the height, no matter if the provided
1403 height is more or less than the preferred one, as long as AutoSize
1405 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
1407 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
1410 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
1411 call unless both performLayout is true *and* we have a pending
1413 - ResumeLayout: MS does not completely nest Suspend and Resume,
1414 they bottom out at 0, fixed our code to match that.
1415 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
1416 SetBoundsCore, we were updating even when we shouldn't. This fixes
1417 swf-anchors mis-anchoring when resizing the app fast and lots.
1418 - UpdateDistances: Now only setting the left and top distance if
1419 we have a parent and are not suspended, this is based on
1420 a suggestion by Don Edvaldson in bug #77355.
1421 - OnVisibleChanged: Fixed logic when to create the control. We may
1422 not create the control if we have no parent or if it's not visible;
1423 switched to using Visible property instead of is_visible field
1424 since the property also considers parent states. This fixes a bug
1425 when starting Paint.Net
1427 2006-02-02 Jackson Harper <jackson@ximian.com>
1429 * Form.cs: If the forms handle hasn't been created yet don't call
1430 into xplatui to make it top most, just set the topmost flag on the
1431 form in CreateParams
1432 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
1434 2006-02-01 Jackson Harper <jackson@ximian.com>
1436 * ScrollableControl.cs: Refactored the Recalculate method a
1437 little, this wasn't handling all the variants of bottom and right
1438 bars needed to be added and added/removed based on their
1439 counterparts being added/removed (which changes the drawable
1440 size). Also we special case client widths and heights of 0 and
1441 don't add the scrollbar for those.
1443 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
1446 - Added method to get AbsoluteGeometry(); currently unused, but might
1447 be used in the future, if we try again to figure out toplevel
1448 coordinates with some more crappy window managers
1449 - Added FrameExtents() method to retrieve the WM set decoration size
1450 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
1451 to deal with at least KDE, FVWM and metacity (Fixes #77092)
1453 - Added whacky_wm tracking var for metacity
1454 - Added logic to have default menu height if the actual menu height
1455 has not yet been calculated (part of fix for #77426)
1456 * Form.cs: Keep track whether client size has been set and re-set
1457 it if a menu is added/removed afterwards (Fixes #77426)
1459 2006-01-31 Jackson Harper <jackson@ximian.com>
1461 * Control.cs: When a new Site is set on the component attempt to
1462 pull the AmbientProperties from it.
1464 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
1466 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
1467 in the background of the owning form. Fixes #77332
1469 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1471 * MimeIcon.cs: Fix for #77409
1473 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
1475 * XplatUIX11GTK.cs: Initial import
1477 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1479 * FixedSizeTextBox: fixes class signature
1481 2006-01-30 Jackson Harper <jackson@ximian.com>
1483 * FixedSizeTextBox.cs: New internal class that represents a
1484 textBox that will not be scaled.
1487 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
1490 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1492 * XplatUIX11.cs: Retrieve default screen number instead of
1493 assuming 0. Attempted fix for #77318
1495 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
1498 - GetWindowPos: When a window is parented by FosterParent, use
1499 the desktop instead of FosterParent as the base to get coordinates
1500 - CreateWindow: Don't make FosterParent the parent window for Popups
1501 if we don't want a taskbar entry, Popups automatically don't get one
1502 * Hwnd.cs: Need to call remove to actually remove the key from the
1505 2006-01-30 Mike Kestner <mkestner@novell.com>
1507 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
1509 2006-01-30 Jackson Harper <jackson@ximian.com>
1512 * TreeNode.cs: Raise events no matter how the treenode is
1513 checked. Patch by Don Edvalson.
1515 2006-01-30 Jackson Harper <jackson@ximian.com>
1517 * TreeNode.cs: Signature fix.
1519 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
1521 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
1523 2006-01-20 Mike Kestner <mkestner@novell.com>
1525 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
1526 event forwarding when menus are active.
1527 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
1528 Most of the patch is pdb's with a little rework.
1530 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1532 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
1533 Removed GetMenuDC and ReleaseMenuDC methods; replaced
1534 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
1535 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
1536 * InternalWindowManager.cs: Added use of PaintEventStart/End to
1537 handling of WM_NCPAINT message, now passing the PaintEventArgs to
1538 the PaintWindowDecorations method
1539 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
1540 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
1541 * MenuAPI.cs: Made tracker window invisible
1543 - Removed GetMenuDC and ReleaseMenuDC methods
1544 - Implemented the client=false path for PaintEventStart and
1547 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1549 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
1550 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
1553 - MaximizeBox, MinimizeBox: Recreate the handle when setting
1555 - CreateParams: Reworked the styles to match MS look'n'feel,
1556 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
1557 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
1559 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1561 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
1562 window is not mapped, since otherwise every form that's being
1563 created is considered minimized, which is wrong.
1564 * Form.cs: Catching the exception and returning our internal value
1567 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
1569 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
1570 SetWindowMinMax() to have means to tell the driver about the minimum,
1571 maximum and maximized state window sizes. (Part of the fix for #76485)
1573 - Implemented tracking of minimum and maximum window size, now calling
1574 new SetWindowMinMax() driver method to tell the driver (Part of the
1576 - Finished handling of WM_GETMINMAXINFO method, now setting all values
1577 (Completes fix for #76485)
1578 - Calling new SetWindowMinMax driver method when the handle for a
1579 form is created, to make sure the driver knows about it even if
1580 the values have been set before the window was created
1581 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
1582 to avoid messing up our anchoring calculations (partial fix
1584 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
1586 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
1587 - Improved GetWindowState() to detect 'Minimized' state on Metacity
1588 (and presumably other freedesktop.org compliant WMs). Left the
1589 assumption unmapped=minimized, needed for SetVisible to work.
1590 - Now setting the window state when creating windows
1591 - Fixed SetVisible to consider/set the window state when mapping
1592 a Form. We cannot set the state before it's mapped, and we cannot
1593 use Form.WindowState once it's mapped (since it would ask the
1594 driver and get 'normal'. Therefore, we grab the state before
1595 mapping, map, and then set state.
1596 - Implmemented SetWindowMinMax method; Metacity does not seem to
1597 honor the ZoomHints, though.
1599 - Removed MINMAXINFO (moved to XplatUIStructs)
1600 - Added SetWindowMinMax stub (on Win32 the only way to set that
1601 information is in response to the WM_GETMINMAXINFO message, which
1602 is handled in Form.cs)
1603 - Added logic to SetVisible to set the proper window state when a
1604 form is made visible (fixes #75720)
1606 2006-01-26 Jackson Harper <jackson@ximian.com>
1608 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
1609 same way we handle them with Invoke.
1611 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
1614 - Added tracking of window state so CreateParams can return
1615 the appropriate style
1616 - Moved setting of WS_CAPTION style in CreateParams to allow
1617 styles without caption
1618 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
1619 control if the TextBox property is accessed. Fixes #77345
1621 - get_Created: now uses is_disposed and is_created to determine
1622 return value (suggested by Jackson)
1623 - CreateHandle: No longer exits if the handle is being recreated
1624 - RecreateHandle: If the handle is not yet created call the
1625 appropriate method to create either control or handle. If the
1626 control is already created CreateHandle will simply exit instead
1627 of just creating the handle
1628 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
1629 now SendMessage WM_DESTROY directly to the control when DestroyWindow
1632 - When DestroyWindow is called, instead of waiting for the
1633 DestroyNotification from X11, we directly post it to the WndProc
1634 and immediately dispose the hwnd object.
1635 Same applies to DestroyChildWindows, and this obsoletes the
1636 expose_pending tracking. Contrary to Win32 behaviour we destroy our
1637 child windows before our own, to avoid X11 errors.
1638 - Removed the direct sending of WM_PAINT on UpdateWindow
1640 - Reworked DoEvents and GetMessage to allow access to internal queue
1641 even when trying non-blocking access to the queue. Fixes #77335.
1642 Based on a patch suggestion by Don Edvalson. The new private
1643 GetMessage can now also be used as a backend for a PeekMessage
1645 * XplatUI.cs: Improved debug output for CreateWindow
1647 2006-01-25 Jackson Harper <jackson@ximian.com>
1649 * Help.cs: Allow param to be null. Patch by Don Edvalson.
1651 2006-01-24 Jackson Harper <jackson@ximian.com>
1653 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
1654 when we have a MaxDropItems lower then the selected index.
1656 2006-01-24 Jackson Harper <jackson@ximian.com>
1658 * Control.cs: Don't allow selection of non visible controls, allow
1659 selection of controls without parents.
1661 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1663 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
1664 * DataGridDrawingLogic.cs: Add editing row only when is necessary
1666 2006-01-23 Jackson Harper <jackson@ximian.com>
1668 * UpDownBase.cs: Make the textbox handle all the selection and
1669 tabbing. This fixes tabing to updown controls.
1671 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
1673 * TextBoxBase.cs: fixes exception thown the object was null
1675 2006-01-23 Jackson Harper <jackson@ximian.com>
1677 * ButtonBase.cs: Just use the base CreateParams. They set
1678 visibility and enabled correctly.
1681 * MonthCalendar.cs: Lets let the base set as much of the
1682 createparams as possible so we don't have duplicate code all over
1685 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
1687 * ThemeGtk.cs: Added TrackBar and some experimental code to
1688 get double buffering back
1690 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
1692 * DataGrid.cs: Allows row number set internally higher than the last
1693 when creating a new row. Restores the editing functionality.
1695 2006-01-20 Mike Kestner <mkestner@novell.com>
1697 * MimeIcon.cs: delay Image creation until the icons are accessed
1698 instead of creating 190 scaled images on GnomeHandler startup.
1700 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1702 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
1703 first call base before processing the event. Fixes #77279
1705 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1707 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
1708 that the stride for the GDI bitmap would match the stride of
1711 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
1713 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
1715 2006-01-19 Jackson Harper <jackson@ximian.com>
1717 * ComboBox.cs: Hookup the text controls keydown event so we get
1718 those when the text control has the focus.
1720 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1722 * Label.cs: Now using the base events instead of defining new ones;
1723 this allows us to just call the base properties without having to
1724 duplicate all base property logic
1726 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1728 * Label.cs: A label by default is not a tabstop (Fixes one of our
1729 failing nunit tests)
1731 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1733 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
1734 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
1736 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1738 * Cursor.cs: Reimplemented creating cursor bitmaps without using
1739 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
1742 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
1743 constructor creates images that can't be saved. Part of the fix
1745 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
1746 - SetWindowState: Switched ShowWindow flags (part of an upcoming
1747 bug fix for handling window state in forms properly)
1749 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1751 * ThemeGtk.cs: Simplify ScrollBar drawing
1753 2006-01-18 Jackson Harper <jackson@ximian.com>
1755 * Splitter.cs: Set the default dock style for the splitter control
1758 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1760 * ThemeGtk.cs: Corrected StateType and ShadowType for
1763 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1765 * Control.cs: Make use of Theme.DoubleBufferingSupported
1767 - Added drawing for flat style buttons
1768 - Added ScrollBar drawing
1770 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
1772 * ThemeClearlooks.cs: Removed some unneeded code.
1773 * ThemeGtk.cs: First part of ThemeGtk enhancements.
1775 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1777 * LinkLabel.cs: We need to update the hover drawing when
1778 leaving the control as well.
1780 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
1782 * DataGrid.cs: Clicking on non empty areas in the columns
1783 area was giving an exception
1785 2006-01-17 Jackson Harper <jackson@ximian.com>
1787 * ThemeWin32Classic.cs:
1788 * ListView.cs: Do not draw/clip the headers when the header style
1791 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1793 * DataGrid.cs: Fixes 77260
1795 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
1797 * DataGrid.cs: Clicking on a column on a empty grid was giving
1800 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
1802 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
1803 or any keypress will crash the grid.
1805 2006-01-17 Mike Kestner <mkestner@novell.com>
1807 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
1808 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
1809 invisible/previously-visible items.
1812 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
1814 * ThemeClearlooks.cs:
1815 - Added CL_Draw_Button method; now other theme controls that are
1816 not derived from button or do not have a button can draw buttons
1818 - Updated ComboBox drawing
1819 - Beautified RadioButton drawing
1820 - Corrected drawing of bottom and left tabs
1821 - Beautified DateTimePicker and MonthCalendar
1822 - Added CPDrawButton and CPDrawRadioButton
1824 2006-01-16 Jackson Harper <jackson@ximian.com>
1826 * ComboBox.cs: Set the initial value of the scrollbar to the
1827 current index. Reduce the numbers of refreshs and IndexOfs called.
1829 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
1831 * FileDialog.cs: When the file listview is focused hitting the
1832 backspace key moves the fileview to the parent directory
1834 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1837 - Added RecreateHandle call when changing taskbar visibility to
1838 trigger reparenting in Win32 driver (Fixes #75719)
1839 - If a window has minimize or maximize buttons, it cannot have
1842 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
1843 the toplevel form with FosterParent (A toolwindow not on the
1844 taskbar) (Fixes #75719)
1845 - Made FosterParent a toolwindow
1847 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1849 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
1851 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1853 * ToolTip.cs: If SetToolTip is called from a control and the mouse
1854 is currently over that control, make sure that tooltip_window.Text
1857 2006-01-13 Mike Kestner <mkestner@novell.com>
1859 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
1861 2006-01-13 Jackson Harper <jackson@ximian.com>
1863 * TreeView.cs: On MS GetNodeAt never actually factors in the X
1864 value passed. Also redraw the selected node when we recieve
1865 focus, so tabbing between trees works correctly.
1867 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
1869 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
1870 ~/.gconf/%gconf-tree.xml, so use
1871 .gconf/desktop/gnome/interface/%gconf.xml
1873 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1875 * TextControl.cs: Draw text in gray if control is disabled
1877 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1879 * TreeView.cs: Draw the focus rectangle outside the highlight, to
1880 make sure it's always visible. Fixes #76680.
1882 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
1884 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
1886 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
1888 * PageSetupDialog.cs: Added.
1889 * PrintDialog.cs: Attributes.
1890 * PrintPreviewControl.cs: Updates.
1891 * PrintPreviewDialog.cs: Updates.
1893 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1895 * Control.cs: Undid my selection check fix, since it's not needed
1897 - Now considering the presence of hscroll/vscroll when sizing
1898 vscroll/hscroll respectively. Fixed bug #77077
1899 - Added Left/Up/Down/Right to IsInputKey list to prevent
1900 ContainerControl from stealing them. This fixes what I broke
1901 with my last checkin.
1903 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1905 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
1906 I finally understand how the property can be set without a setter :-)
1908 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1911 - Switched RunLoop to use static Message.Create to create a
1913 - Added PreProcessMessage call in runloop for keyboard events; this
1914 is part of the fix for #77219, I overlooked this originally in the
1915 MSDN doc for PreProcessMessage
1917 - Removed call to PreProcessMessage from handling of keyboard
1918 messages; it's supposed to be done in the message pump
1919 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
1920 per MSDN documentation.
1921 - IsInputChar: All chars are input chars by default; removed the
1922 parent calling chain, MS does not document that
1923 - PreProcessMessage: If IsInputChar is true, we want to return false
1924 to allow dispatching of the message
1925 - When selecting the next control, now also check that we're not
1926 selecting ourselves again and therefore return a false positive.
1928 - Tried to match return values for IsInputKey and ProcessDialogKey
1929 to what MS returns; moved processing of our special keys outside
1930 ProcessDialogKey since MS does not seem to return true on those.
1931 - Moved code that previously was in ProcessDialogKey into new private
1932 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
1933 - Reworked handling of WM_CHAR to not have to duplicate code from
1934 Control.cs anymore, instead we simply call down to base.
1936 2006-01-12 Jackson Harper <jackson@ximian.com>
1938 * ComboBox.cs: We always need to refresh the text area when
1939 EndUpdate is called. Fixes the combobox in the file dialog.
1940 * Control.cs: Don't create the creator_thread until the controls
1941 handle is created. Also in InvokeRequired we check if the
1942 creator_thread is null. This gives the effect of InvokeRequired
1943 returning true if the controls handle is not created yet, and
1946 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
1949 - Added StartLoop() driver method. This is used to allow drivers to
1950 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
1951 loop for a particular thread
1952 - Added EndLoop() driver method. This is called once the message
1953 pump for the thread is shut down
1954 - Added SupportsTransparency method to allow the driver to indicate
1955 opacity support for windows
1957 - Removed TODO attribute, completed AllowTransparency property
1958 - Added documented logic to Opacity
1959 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
1960 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
1961 versions of CompatibleTextRendering
1962 * X11Structs.cs: Added opacity atom to our atom enumeration
1963 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
1964 of a form might be set before it's reparented by the WM, and we need
1965 the opacity value without calling up to Form)
1966 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
1967 SupportsTransparency() driver methods
1968 * Application.cs: Now calling StartLoop and EndLoop driver methods
1970 - Added opacity atom registration
1971 - Added StartLoop()/EndLoop() methods. They're empty right now but
1972 will need to get implemented when we switch to a per-thread queue
1973 - Implemented SupportsTransparency() method
1974 - Implemented SetWindowTransparency() method
1975 - Added support for setting the opacity value when a window is
1976 reparented (since the opacity needs to be set on the WM frame)
1977 * XplatUIOSX.cs, XplatUIWin32.cs:
1978 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
1980 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1982 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
1984 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
1986 * FileDialog.cs: Added ToolTip for MWFFileView
1987 * MimeIcon.cs: Rewrote GnomeHandler.
1988 - Get currently used gnome icon theme from
1989 ($HOME)/.gconf/%gconf-tree.xml
1990 - Make use of inherited icon themes
1991 - Support SVG icon themes like Tango via librsvg
1993 2006-01-12 Miguel de Icaza <miguel@novell.com>
1995 Revert's Jackson's revert which broke 2.0 builds. Fix both
1998 * Application.cs: Move the use_compatible_text_rendering outside
1999 the NET_2_0 define. If we ever need to use the
2000 use_compatible_text_rendering on the individual controls they will
2001 access the variable from the common shared code paths.
2003 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2006 - Added more granular debug options
2007 - Added method to print both window text and id
2008 - Switched debug output to use new Window() debug method
2009 - Added IsEnabled() driver method
2010 - Added EnableWindow() driver method
2012 - Removed end_modal; no longer needed, new loop handles termination
2013 via 'closing' variable
2014 - If form is modal, setting DialogResult will now initiate loop
2015 termination via 'closing' variable
2016 - Added support for is_enabled/WS_DISABLED to CreateParams
2017 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2019 - Removed code that's now in RunLoop from ShowDialog()
2020 - Added various documented sanity checks to ShowDialog()
2021 - Added handling of WM_DESTROY message; we set 'closing' on getting
2022 the message to indicate the message pump to terminate
2023 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2024 send by the Application.ExitThread method. (We send the message
2025 to destroy the window after all other events have been
2026 processed through the queue, instead of destroying the handle
2028 - Moved code from Close() method to WM_CLOSE handler; added logic
2029 to only send close-related events if the form is not displayed
2031 * Splitter.cs (..ctor): Fixed typo in resource name
2033 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2035 - set_Cursor: Now only setting calling into XplatUI if the handle for
2036 the control is already created; this avoids implict handle creation
2037 or crashes if it's not created
2038 - set_Enabled: Now setting the enabled state via the new driver method
2039 instead of just tracking it
2040 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2041 - CreateControl: Reordered event firing and method calls to more
2042 closely fire events in the order MS does. Now setting the
2043 enabled state in the driver when creating the control.
2044 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2046 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2047 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2048 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2050 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2051 - Added EnabledHwnd property to easily allow a driver to find the
2052 handle of the first enabled window in the parent chain (this is
2053 used by drivers to pass up input events of disabled windows)
2054 * XplatUIDriver.cs: Added IsEnabled() method
2056 - Removed crude and obsolete exiting tracking variable
2057 - Removed internal ModalRun(); replaced by RunLoop()
2058 - Implemented private CloseForms() method to allow closing all
2059 windows owned by a particular (or all) threads
2060 - Exit() now properly closes all windows without forcing the message
2062 - Removed obsolete InternalExit() method
2063 - Changed Run() methods to use new RunLoop() message pump
2064 - Implemented new RunLoop() method for both modal and non-modal forms
2066 - get_CreateParams: Added setting of WS_DISABLED
2067 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2068 invoked via Form.ShowDialog()
2069 * NativeWindow.cs: We don't remove the window from the collection when
2070 the handle is destroyed; there might still be messages for it in the
2071 queue (mainly the resulting WM_DESTROY); instead it will be removed
2072 when Control calls InvalidateHandle in the WM_DESTROY handler
2074 - CreateWindow: Added logic to handle the WS_DISABLED window style
2075 - EnableWindow: Implemented based on Hwnd.Enabled
2076 - GetMessage: Reset PostQuitState so the method can be called again
2077 - Implemented support for disabled windows (passing messages to the
2078 first enabled parent) in handling all input messages
2079 - Added optimizations for handling Expose events
2080 - Implemeted new driver method IsEnabled()
2081 - Now always resetting paint pending tracking vars when we start paint
2082 - Re-implemented UpdateWindow via just sending a WM_PAINT message
2083 * XplatUIOSX.cs: Added IsEnabled method stub
2084 * XplatUIWin32.cs: Implemented new IsEnabled() method
2086 2006-01-11 Jackson Harper <jackson@ximian.com>
2088 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2089 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2091 * ColorDialog.cs: Clear out the old form before adding the new
2094 2006-01-11 Jackson Harper <jackson@ximian.com>
2096 * X11Dnd.cs: Make sure to add all the text formats when adding
2097 strings to the data object.
2098 * TreeNodeCollection.cs: When adding to a sorted tree we need to
2099 do some redrawing too. Also change the UpdateNode to an
2100 UpdateBelow so the newly added node gets painted.
2102 2006-01-11 Miguel de Icaza <miguel@novell.com>
2104 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2105 LinkLabel.cs, PropertyGrid.cs: Implement the
2106 UseCompatibleTextRendering property for 2.x
2108 * Application.cs (SetCompatibleTextRenderingDefault): Add.
2110 2006-01-11 Jackson Harper <jackson@ximian.com>
2112 * TreeView.cs: Use the property for setting the selected node so
2113 the correct events get raised.
2114 * TreeNode.cs: Update the tree when the fore/back colours of a
2117 2006-01-10 Jackson Harper <jackson@ximian.com>
2119 * TreeView.cs: Allow setting SelectedNode to null.
2121 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2123 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2125 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2127 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2129 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2131 * PrintDialog.cs: Added attributes and set default property values.
2133 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2135 * PrintControllerWithStatusDialog.cs:
2136 Added PrintControllerWithStatusDialog.
2138 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2140 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
2141 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2143 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2145 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2147 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2149 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2150 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2152 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2154 * MimeIcon.cs: Added internal class SVGUtil.
2156 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2158 * FileDialog.cs: Don't crash if there are two files with the
2159 same name but different locations.
2161 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
2163 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2164 dates across multiple month grids. Used to not highlight entire
2165 month, but does now.
2167 2006-01-06 Jackson Harper <jackson@ximian.com>
2169 * MonthCalendar.cs: Removed DoEvents call to prevent a running
2170 message loop. Change timer intervals to numbers that seem more
2173 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
2175 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2176 object for location info since screen object is now implemented.
2178 2006-01-05 Jackson Harper <jackson@ximian.com>
2180 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
2181 * AsyncMethodResult.cs: We no longer use a WeakReference for the
2182 AsyncMethodResult, this is because we ALWAYS want the
2183 ManualResetEvent to get set.
2184 * Control.cs: When disposing use an async invoke to call shutdown
2185 code, so that thigns don't block on the finalizer thread. Also
2186 check if we even have a message loop before trying to send
2187 messages, if we don't then don't bother sending messages.
2188 - No more weak references for async methods
2189 * XplatUIDriver.cs: No more weak references for async methods.
2191 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2193 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
2194 returns two FontFamily with the same name
2196 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2198 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
2199 drawing disabled text. Instead using the ColorGrayText color
2201 2006-01-04 Jackson Harper <jackson@ximian.com>
2203 * TreeNode.cs: redraw the node when its image index is changed.
2205 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
2207 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
2208 time I checked there are no others like it.
2210 2006-01-04 Jackson Harper <jackson@ximian.com>
2212 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
2213 this gives the behavoir I was looking for.
2214 * Control.cs: Special case Invoking EventHandlers, this matches MS
2215 and fixes part of bug #76326.
2217 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2219 * ThemeClearlooks.cs, FileDialog.cs:
2220 - Reflect the latest Theme class changes
2221 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
2224 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
2226 * Theme.cs: Cache UI resource images and resize them if needed
2228 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2230 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
2231 is called. This fixes the crash in Nexxia when setting the font
2232 attributes in the chat. [However, RTF needs a look-over to make sure
2233 that all SelectionXXX methods handle the special case that selection
2234 is empty and therefore the change must be applied to all text starting
2235 at the cursor/selection start]
2237 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2239 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2240 XplatUIOSX.cs: Added SendMessage and PostMessage methods
2241 * X11Keyboard.cs: Switched to new way of calling PostMessage
2243 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
2245 * Theme.cs: Added theme interface for images to allow the theme to
2246 control what images are used for things like FileDialog, MessageBox
2248 * MessageBox.cs: Now uses the new Theme icon/image interfaces
2250 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
2253 - Removed some dead code
2254 - Opening a recently used file does work now
2255 - Small UI enhancements
2258 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2260 * FileDialog.cs: Forgot too add __MonoCS__
2262 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
2264 * FileDialog.cs: We are able to read recently used files now let's
2265 go on and write them.
2267 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
2269 * FileDialog.cs: Breathe some life into "last open"/"recently used"
2271 * MimeIcon.cs: Do a check for the top level media type also
2273 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2275 * ThemeClearlooks.cs:
2276 - Added CPDrawStringDisabled
2277 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
2278 some chars if the text doesn't fit into text_rect
2279 - DrawListViewItem: If View = View.LargeIcon center the image;
2280 rewrote the drawing of ListViewItem.Text if View =
2283 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
2285 * MimeIcon.cs: Use default KDE icon theme if there is no
2286 "48x48" directory for the current icon theme, fixes #77114
2287 * Mime.cs: Disable not working and actually not used code.
2288 * ThemeWin32Classic.cs:
2289 - Replace "new SolidBrush" in GetControlBackBrush and
2290 GetControlForeBrush with ResPool.GetSolidBrush
2291 - Changed DrawListViewItem from private to protected virtual
2293 - Added form.MaximizeBox = true
2294 - Don't throw an exception if there is a broken symbolic link
2296 2005-12-23 Jackson Harper <jackson@ximian.com>
2298 * TabControl.cs: Give the panels focus, keyboard navigation is
2299 fixed so this works correctly now.
2300 - We need these key events also.
2301 * ToolBar.cs: Remove some of the poor mans double buffering.
2303 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
2305 * ComboBox.cs: The internal TextBox now returns the focus.
2307 2005-12-23 Jackson Harper <jackson@ximian.com>
2309 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
2311 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2313 * Control.cs: Removed debug code
2314 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
2317 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2319 * Control.cs: When creating the control, update the Z-order after
2320 all it's children are created, too. (Fixes nexxia not showing
2323 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
2325 * Control.cs: Do not update the anchoring distances if layout is
2326 suspended, instead do it once layout is resumed
2328 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2331 - After many hours of debugging, for both Jackson and
2332 myself, it turns out that it helps to set the parent of a control
2333 if you want to actually see it onscreen. In the spirit of that
2334 discovery, we're now setting the parent of the control and
2335 it's children when the control's handle is created. This fix
2336 will make Lutz Roeder's Reflector run happily.
2337 - now just creating the handle instead of the whole control when
2338 getting a graphics context for the control.
2340 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2342 * ScrollableControl.cs: When calculating the canvas, don't consider
2343 the scrollbar widths. Instead, predict if horizontal scrollbar
2344 will affect canvas when deciding on vertical display and vice versa.
2346 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
2348 * RichTextBox.cs: Set default RTF font for documents that don't
2349 have a font table (Fixes #77076)
2351 2005-12-22 Jackson Harper <jackson@ximian.com>
2353 * TextBoxBase.cs: It's difficult to do, but you can have an empty
2354 clipboard. This prevents a NullRef in that case.
2355 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
2356 clipboard. PRIMARY is for the currently selected text only. (We
2357 should implement PRIMARY at some point.
2359 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2361 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
2362 a Unicode function with a structure that was defined in Ansi way.
2365 2005-12-21 Jackson Harper <jackson@ximian.com>
2367 * StatusBar.cs: Statusbar handles its fore/back colours on it's
2368 on. Because thats how it rolls. (and this avoids it using ambient
2370 * ThemeWin32Classic.cs: Use the proper back color for filling.
2371 * Menu.cs: Use the system menu bar color for drawing menu
2372 bars. Using the window back color will bring ambient colours into
2375 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
2377 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
2378 Bitmaps were created and not disposed.
2380 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2382 * Control.cs (CreateControl): Don't do anything if the control is
2383 already created, otherwise we'd fire the OnCreated event more than
2386 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2388 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
2389 will always match. Instead return -1. Fixes #76464.
2391 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2393 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
2394 neither the beginning nor the end of the line (Fixes bug #76479)
2396 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
2399 - ControlNativeWindow.ControlFromHandle(): Now handling situation
2400 where handle is invalid
2401 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
2402 instead of slower linear search
2403 * NativeWindow.cs: Don't remove the window from the hashtable until
2404 after the driver has destroyed it (since the driver might use
2405 Control.FromHandle to lookup the control object
2406 * Hwnd.cs: Added DestroyPending property to track if a window is
2407 already destroyed as far as the driver is concerned and only hasn't
2408 yet notified the control
2410 - Activate(): Check if the window is still valid before using the
2412 - Implemented DestroyChildWindow() method to mark child windows as
2413 destroyed when a window is destroyed. This prevents situations
2414 where we might call an X method based on queued events for a
2415 window that already has been destroyed but we haven't yet pulled
2416 the destroy method from the queue.
2417 - Added a call to the new DestroyChildWindow() method to the drivers
2418 DestroyWindow code. Also now marking the destroyed window itself
2421 2005-12-20 Jackson Harper <jackson@ximian.com>
2424 * StatusBarPanel.cs: Don't calculate panel sizes on draw
2425 anymore. Just do them when needed, also track the rects of panels
2426 so that we can optimize refreshing more in the future.
2428 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
2430 * ColorDialog.cs: Fixed focus drawing in small color controls
2432 2005-12-19 Jackson Harper <jackson@ximian.com>
2434 * InternalWindowManager.cs:
2435 * MdiWindowManager.cs: Cleanup some coordinate system changes so
2436 moving windows works properly.
2438 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
2441 - Removed call to InitLayout() from SetBoundsCore(); doc says
2442 it's only called when a control is added to a container
2443 - Split InitLayout logic, moved to separate UpdateDistances() method
2444 since we need to perform those calculations more often than just
2445 when adding the control to a container. (Needed to fix #77022)
2446 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
2447 - Reduced the OnBindingContextChanged events count, don't send them
2448 unless the control is created, we still aren't totally matching
2449 MS, but I can't quite figure out some of their rules
2451 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2453 * ThemeClearlooks.cs: Corrected distance between ProgressBar
2456 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2458 * ThemeClearlooks.cs:
2459 - Updated ProgressBar drawing
2460 - Corrected drawing of ScrollBars and scroll buttons
2461 - Some temporary fixes for minor pixel artefacts
2463 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
2466 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
2467 cause events to be sent in the same order as MS does.
2468 - Added ChangeParent() method to trigger various OnXXXChanged events
2469 that need to be fired when a parent changes (This is a reworking
2470 of the patch from r54254, with the X11 errors fixed)
2471 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
2472 since on MS we get OnLayoutChanged events when calling Clear()
2473 - Changed Enabled property to consider parent state as well, if a
2474 parent is not enabled, the control will not be either
2475 - Changed Parent property to simply call Controls.Add() since that
2476 now does all the work required, this way we avoid code duplication
2477 - Threw in a few OnBindingsContextChanged calls to try and match
2478 when MS sends them. We seem to send a few too many, though.
2479 - Added call to CreateControl when adding the control to a parent.
2480 We were never calling CreateControl. Still needs some work, in
2481 some places we treat HandleCreated and ControlCreated as equal,
2483 - Removed obsolete commented out code from UpdateZOrder()
2485 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
2487 * ThemeClearlooks.cs: Updated TrackBar drawing.
2489 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2491 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2493 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
2495 * FileDialog.cs: Add the Help button and the open readonly
2496 checkbox only if needed
2498 2005-12-16 Jackson Harper <jackson@ximian.com>
2500 * Control.cs: Make sure we have an active menu before trying to
2501 process commands on it. Prevents menu-less forms from crashing
2502 when Alt is pressed.
2503 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
2505 * RichTextBox.cs: Expand statement to help out gmcs and fix the
2508 2005-12-16 Jackson Harper <jackson@ximian.com>
2510 * InternalWindowManager.cs: Don't translate tool windows screen
2511 coordinates. This fixes windows 'bouncing' around when being moved.
2513 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2516 - MaxLength now treats 2^31-1 equal to unlimited length (this is
2517 not quite MS compatible, MS uses that number only for single line
2518 and 2^32-1 for multi-line, but I figure it won't hurt keeping
2520 - Now enforcing the MaxLength limit when entering characters
2521 - Added argument to internal Paste() method to track if it's called
2522 from programatically or via keyboard, since keyboard driven pastes
2523 need to enforce max-length
2524 - Added logic to Paste to only paste as many chars as MaxLength
2526 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
2528 - Added Length property to return number of characters in document
2529 - Added private CharCount property which only tracks actual chars
2530 in the document (no linefeeds) and fires event when CharCount
2532 - Added tracking of character count to all methods that alter it
2533 - Added LengthChanged event to allow applications to subscribe
2534 to any changes to the document
2536 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
2539 - Removed local password_char field (moved to TextBoxBase)
2540 - Now setting the document's password var when password is
2543 - Added password_char field (needed here so MultiLine can
2545 - Added logic to MultiLine property setter to set the document's
2546 variable when password display is allowed
2547 - Removed debug code and made some debug code conditional
2549 - Added RecalculatePasswordLine() method to handle special password
2551 - Added PasswordChar property, also added related tracking vars
2552 - Draw() method now uses local text var for grabbing text to draw,
2553 this var is set to line.text unless we're doing password display,
2554 then it is set to the pre-generated all-password-chars line
2555 - Added calling RecalculatePasswordLine() method for password lines
2557 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2560 - Added Reparented property to allow tracking of Window Manager
2561 reparenting actions (which affect X/Y calculations of toplevel
2563 - Made ToString() print window handles in hex
2565 - AddConfigureNotify(): Now uses reparented state off Hwnd to
2566 determine if X/Y needs offsetting
2567 - AddConfigureNotify(): Fixed offset calculations
2568 - Now adds ReparentNotify messages into the queue
2569 - Now processes ReparentNotify messages and causes a
2570 WM_WINDOWPOSCHANGED message to be sent upstream if a window
2571 is reparented (as most likely it's X/Y coordinates are changed
2574 2005-12-14 Jackson Harper <jackson@ximian.com>
2576 * XplatUIX11.cs: Tool windows still need to respek focus.
2578 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
2580 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
2581 have a working release
2583 2005-12-13 Jackson Harper <jackson@ximian.com>
2585 * Form.cs: Update styles after setting the border style regardless
2586 of whether or not the window is using a window manager.
2588 2005-12-13 Jackson Harper <jackson@ximian.com>
2590 * Form.cs: We now hook into an internal window manager instead of just an
2591 MDI subsystem, this is so we can have properly behaving tool windows.
2592 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
2593 * InternalWindowManager.cs: New internal class that acts as a
2594 window manager for tool windows and as a base for mdi windows.
2595 * MdiWindowManager.cs: New class that acts as a window manager for
2598 2005-12-12 Jackson Harper <jackson@ximian.com>
2600 * Control.cs: Updates so we match behavoir for for implicit
2601 controls. Fixes explosions in MDI.
2603 2005-12-12 Jackson Harper <jackson@ximian.com>
2605 * Control.cs: Implement Invalidate (Region).
2607 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
2610 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
2611 the same events as MS does. MS fires events for each property
2612 except, for unknown reasons, Cursor, when the control is reparented.
2613 I can't seem to totally match add/remove since MS also fires some
2614 VisibleChanged events, which makes no sense. Consolidated the
2615 parenting code into a separate method so it can be called from
2616 both Add and Remove. set_Parent no longer needs any special logic
2617 as it calls the parent's add method which implicitly fires
2619 - Removed some obsolete code and debug output
2620 - Enabled state is inherited from parents, if this is enabled
2622 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2624 * Form.cs: Removed commented out code
2626 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
2629 - Added internal version of Invoke, with additional argument
2630 indicating if we're calling it from a Dispose() handler. That
2631 way we can avoid BeginInvoke throwing an exception if we're
2632 calling for an already destroyed window.
2633 - Added a dispose argument to BeginInvokeInternal, and made the
2634 check if a valid window handle chain exists conditional on
2635 it not being a dispose call
2636 - Removed code in DestroyHandle to destroy our children. Since we
2637 now handle the WM_DESTROY message we will catch all our children
2639 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
2641 - Added a field to track the application context of the form.
2642 - No need to set closing variable as response to WM_CLOSE, instead
2643 we destroy the window. We also call PostQuitMessage if the form
2644 has an application context (which makes it the main app form,
2645 which, when closed terminates the app)
2647 - Dropped Exit() method, it's naming was confusing
2648 - Added PostQuitMessage() which causes GetMessage to return false
2649 once the message queue is empty
2650 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
2652 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
2653 no longer a valid XplatUI method, but left it in since it's used
2654 internally. Added empty PostQuitMessage() method.
2655 * MenuAPI.cs: Replaced call to Exit() with call to
2656 PostQuitMessage, even though this is probably no longer needed.
2657 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
2658 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
2660 - Replaced call to XplatUI.Exit() with PostQuitMessage()
2661 - Removed old debug code that would call XplatUI for exception
2662 display, enabled standard exception handling (Still not enabled
2663 though, until NativeWindow's ExternalExceptionHandler define
2666 - Added internal method to allow control to update NativeWindow
2667 after a window has been destroyed
2668 - Added handling of already destroyed windows when calling i
2670 - Added removal of handle from list on ReleaseHandle
2672 - Dropped GetMessageResult var and related code
2673 - Added PostQuitState to field to track if PostQuitMessage has been
2675 - Dropped Exit() method
2676 - Added PostQuitMessage() method
2677 - GetMessage now will return false if PostQuitState is set and no
2678 more messages are in the queue.
2679 - Expose handler will no longer generate WM_PAINT messages if we are
2680 in PostQuitState since it's very likely any windows have already
2681 been destroyed, and since Hwnd won't get updated until we have
2682 processed the DestroyNotify we'd be causing X errors.
2684 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2686 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
2687 Thanks to Mike for pointing out the err of my ways.
2689 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2691 * Control.cs(PreProcessMessage): Moved menu handling back, but
2692 after all other key handling, to match MS (who handles Menu in
2694 * Menu.cs (WndProc): Removed my brainfart
2696 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2698 * Control.cs(PreProcessMessage): Removed special menu handling
2699 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2701 2005-12-07 Mike Kestner <mkestner@novell.com>
2703 * Control.cs : special case SYSKEYUP so that we can adjust keynav
2704 state according in tracker.
2705 * Menu.cs : promote tracker field to base class and provide a tracker
2706 lookup capability. Add/Remove shortcuts dynamically if the top menu
2707 has a tracker. Unparent items that are removed from the collection.
2708 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
2709 * Theme*.cs: add always_show_hotkeys field to support configurability
2710 of mnemonic display. win32 doesn't show mnemonics until Alt is
2713 2005-12-07 Jackson Harper <jackson@ximian.com>
2715 * MdiChildContext.cs: Use Control.ResetCursor.
2716 * Control.cs: ResetCursor needs to set the property so that the
2717 correct XplatUI call gets made.
2719 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2721 * Control.cs: More fixes to make our key events match MS. We
2722 were not setting the modifier state on KeyData, and we were
2723 not generating any events when Alt was pressed with a key
2724 since handling of WM_SYSxxx was missing for the OnKey methods.
2726 2005-12-07 Jackson Harper <jackson@ximian.com>
2728 * MdiChildContext.cs: reenable the sizing code.
2729 - When the mouse leaves a window reset its cursor.
2731 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2733 * ThemeClearlooks.cs: Reflect latest Hwnd changes
2735 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
2737 * Hwnd.cs: Now using the theme 3d bordersize to calculate
2738 widths of Fixed3D borders
2740 2005-12-07 Jackson Harper <jackson@ximian.com>
2742 * MdiClient.cs: Fix warnings. Earn Mike's love.
2744 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
2746 * ThemeClearlooks.cs:
2747 - Adjusted mouse over button color
2748 - Added first parts of CheckBox drawing
2749 - Added correct color for selected text background
2750 - Fixed ComboBox drawing
2751 - Added CPDrawBorder3D and CPDrawBorder
2753 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2755 * XplatUIX11.cs: Added call to XBell for AudibleAlert
2757 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2759 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2760 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
2761 alert users via sound. We could add an enum arg with different
2762 types of alerts in the future
2764 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
2766 * Control.cs: Fix behaviour problems pointed out by Mike
2768 2005-12-05 Mike Kestner <mkestner@novell.com>
2770 * StatusBarPanel.cs: add Invalidate method and hook it into all the
2771 prop setters. Calls parent.Refresh for now, but could be maybe be
2772 optimized with an internal method on StatusBar at some point.
2775 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
2777 * RichTextBox.cs: Implemented get_SelectionColor
2779 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
2781 * ThemeClearlooks.cs:
2783 - Draw black button border only if button is Form.AcceptButton
2784 - Draw correct button color for pressed RadioButton if the mouse
2785 has entered the button
2786 - Updated ProgressBar drawing!
2787 - Updated CPDrawSizeGrip drawing
2788 - Updated StatusBarPanel drawing
2790 2005-12-05 Mike Kestner <mkestner@novell.com>
2792 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
2793 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2795 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
2797 * ThemeClearlooks.cs: Initial check-in, activate with
2798 export MONO_THEME=clearlooks
2799 * ThemeEngine.cs: Added ThemeClearlooks
2801 2005-12-03 Mike Kestner <mkestner@novell.com>
2803 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
2806 2005-12-02 Jackson Harper <jackson@ximian.com>
2808 * Form.cs: If the child form has no menu the default main menu is
2809 used as the active menu.
2811 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2813 * ListBox.cs: Check if any items exist before trying to resolve
2814 coordinates into items
2816 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2818 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
2819 as the second color for the background hatch
2821 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
2823 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
2824 * RichTextBox.cs: FormatText position arguments are 1-based, now making
2825 sure that what we pass to FormatText is always 1-based. Fixes #76885
2827 2005-11-29 Miguel de Icaza <miguel@novell.com>
2829 * NumericUpDown.cs (EndInit): When we are done initializing,
2830 reflect any updates on the UI.
2832 2005-12-02 Jackson Harper <jackson@ximian.com>
2834 * ImplicitHScrollBar.cs:
2835 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
2836 their container controls.
2837 * TreeView.cs: Use the new implicit scrollbars.
2839 2005-12-02 Jackson Harper <jackson@ximian.com>
2841 * TreeView.cs: Make top_node internal so the TreeNodeCollections
2843 * TreeNodeCollection.cs: If we remove the topnode we need to
2844 update topnode to the next node in line.
2845 - When clearing nodes go through the same process as removing
2846 them, so they get depareneted and checked if they are top node.
2848 2005-12-01 Jackson Harper <jackson@ximian.com>
2850 * TreeView.cs: When imagelists are used the image area is
2851 selectable as well as the text.
2852 - If there are no selected nodes select the first one.
2853 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
2854 so don't do it more then we need to.
2856 2005-12-01 Jackson Harper <jackson@ximian.com>
2858 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
2859 that arrows can be scaled.
2861 2005-12-01 Jackson Harper <jackson@ximian.com>
2863 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
2864 fail. Patch by Dieter Bremes
2866 2005-11-30 Jackson Harper <jackson@ximian.com>
2868 * Form.cs: Property is 2.0 only
2869 * PrintDialog.cs: Signature fix.
2871 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2874 - No longer artificially moves text 2 pixels down (now that we have
2875 borders this is no longer needed)
2876 - Added calcs for left, hanging and right indent
2878 2005-11-23 Mike Kestner <mkestner@novell.com>
2880 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2882 2005-11-30 Jackson Harper <jackson@ximian.com>
2884 * MdiChildContext.cs: Set the cloned menus forms, as these don't
2885 get cloned as part of CloneMenu ().
2886 * Menu.cs: Make sure the parent of the items get set correctly
2887 when they are added. And the owners are notified of the changes.
2888 * Form.cs: Create an ActiveMenu property, so that when MDI is used
2889 we can change the menu being displayed/handled by the form without
2890 changing the menu assosciated with the form.
2891 - Don't let Mdi children draw/handle menus.
2893 2005-11-30 Jackson Harper <jackson@ximian.com>
2895 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
2896 a MenuChanged event. Just to make the API a little more
2899 * MenuItem.cs: Use the new OnMenuChanged
2900 * MdiChildContext.cs: Handle menu merging.
2901 * Form.cs: Implement MergedMenu.
2903 2005-11-30 Jackson Harper <jackson@ximian.com>
2905 * Menu.cs: We were misusing Add. Add goes behind the specified
2906 index according to the docs, and does not replace the specified
2907 index. So I added an Insert method.
2909 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
2911 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
2912 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
2914 * RichTextBox.cs: Added calls to base for DnD events
2916 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
2919 - Fixed drag-selection related crash; style fixes
2920 - Implemented undo class
2921 o Implemented method to capture document state for specified
2922 range in document tree
2923 o Implemented method to restore captured document state
2924 o Implemented cursor tracking
2925 o Implemented basic undo stack
2926 - Added undo cursor tracking to methods altering cursor location
2927 - Added undo tracking to selection deletion (still missing
2928 other text-altering hookups)
2930 - Added SelectionLength property
2931 - Implemented CanPaste()
2932 - Implemented Paste()
2933 - Added missing protected methods
2934 - Fixed RTF->Document conversion; now uses font index 0 and color
2935 index 0 as the default font for the parsed text
2936 - Fixed RTF<->Document font size translation
2937 - Fixed RTF generation, now properly handles cross-tag boundaries
2938 for single line selection
2939 - No longer always appends blank line to generated RTF
2941 - Added missing attributes
2942 - Hooked up undo-related methods
2944 - Implemented Copy()
2945 - Implemented Paste()
2947 - Fixed caret mis-behaviour on backspace across line-boundaries
2949 2005-11-29 Jackson Harper <jackson@ximian.com>
2951 * MdiClient.cs: Add a method for activating mdi children. Very
2952 basic right now. I imagine someday it might need more girth.
2953 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
2954 children windows names are added to the menu item.
2955 * ThemeWin32Classic.cs: Draw the arrow if the item is an
2956 mdilist. This happens regardless of whether or not there are any
2957 mdi windows to see in the list, and according to my tests happens
2958 before the items are even added. Also happens if there isn't even
2959 an mdi client to get windows from.
2961 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
2963 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
2964 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2966 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
2968 * DataGridTableStyle.cs:
2969 - Create always the styles for the missing columns even if they are
2970 provided by the user (not default table style)
2973 - Fixes SetDataBinding (always re-attach source)
2974 - Fixes SetNewDataSource (only clear styles if they are not for
2976 - Expands OnTableStylesCollectionChanged to handle style refresh
2979 2005-11-29 Jackson Harper <jackson@ximian.com>
2981 * FileDialog.cs: Implement missing bits, remove some dead
2983 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
2984 creation of the panel so that the options set on the dialog are
2985 seen when the panel is created.
2986 * TreeView.cs: raise a click when items are clicked.
2988 2005-11-29 Jackson Harper <jackson@ximian.com>
2990 * MdiClient.cs: Pass some signature methods through to base.
2992 2005-11-28 Jackson Harper <jackson@ximian.com>
2994 * ListView.cs: Raise the click event when items are clicked.
2996 2005-11-28 Jackson Harper <jackson@ximian.com>
2998 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3001 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3003 * ThemeNice.cs: - Removed 1 pixel bitmaps
3004 - Use SmoothingMode.AntiAlias where it makes sense
3005 (ScrollButton arrow for example)
3006 - Enhanced Button focus drawing
3007 - Fixed ComboBox drawing (no artefacts anymore, focus
3008 rectangle is back again, reduced size of ComboButton, etc.)
3009 - Fixed RadioButton focus drawing for Appearence.Button
3010 - Slight ScrollButton redesign
3011 - Some LinearGradientBrush size fixes
3012 - GroupBoxes have now rounded edges
3013 - Fixed StatusBar drawing
3015 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3017 * ThemeNice.cs: - Remove dead code
3018 - use correct background colors for menus, etc.
3019 - Fake pixel drawing with 1 pixel bitmaps
3021 2005-11-24 Jackson Harper <jackson@ximian.com>
3023 * MdiClient.cs: Size the scrollbars when resizing the window.
3024 - Resize the maximized windows when the client is resized
3025 * Form.cs: Make the child context available
3027 2005-11-23 Jackson Harper <jackson@ximian.com>
3029 * MdiChildContext.cs: Don't size windows if they are maximized.
3031 2005-11-23 Mike Kestner <mkestner@novell.com>
3033 * ContextMenu.cs: use MenuTracker.
3034 * Control.cs: remove menu handle usage.
3035 * Form.cs: remove menu handle usage.
3036 * Hwnd.cs: remove menu handle usage.
3037 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3038 motion and clicks to the new Tracker handlers.
3039 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3041 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3042 Killed the MENU and MENUITEM data types and associated collections
3043 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3044 MenuTracker class that exposes the leftovers from the old MenuAPI
3045 static methods. Restructured Capture handling so that only one grab is
3046 done for the entire menu hierarchy instead of handing off grabs to
3047 submenus. Tracker now has an invisible control to Capture when active.
3048 * MenuItem.cs: add sizing accessors, kill Create
3050 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3051 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3052 MENU(ITEM). remove menu handle usage, use Menu directly.
3053 * XplatUIDriver.cs: remove menu handle usage.
3054 * XplatUIOSX.cs: remove menu handle usage.
3055 * XplatUIWin32.cs: remove menu handle usage.
3056 * XplatUIX11.cs: remove menu handle usage.
3058 2005-11-22 Jackson Harper <jackson@ximian.com>
3060 * Hwnd.cs: Don't compute the menu size for
3061 DefaultClientRectangle.
3062 - Reenable menu sizes being computed for GetClienRectangle.
3063 * Form.cs: Remove comment of trechery
3065 2005-11-22 Jackson Harper <jackson@ximian.com>
3067 * Hwnd.cs: The adjustments for the menu bar are made when it is
3068 attached to the form.
3070 2005-11-19 Jackson Harper <jackson@ximian.com>
3072 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3073 (just like on windows).
3075 2005-11-19 Jackson Harper <jackson@ximian.com>
3077 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3078 use real buttons anymore because they are in non client area. The
3079 one TODO here is that I need to somehow invalidate a section of
3080 the non client area.
3082 2005-11-18 Jackson Harper <jackson@ximian.com>
3084 * Control.cs: Put the enum check back in now that MDI doesnt have
3085 to use this to set border styles.
3086 * Form.cs: Only set mdi child windows borders if the handle has
3088 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3089 this directly on to the driver.
3090 - Get the move start position before adjusting for the titlebar
3091 height, this fixes the windows "skipping" when they are first
3094 2005-11-18 Jackson Harper <jackson@ximian.com>
3096 * XplatUIX11.cs: Just compute the mdi borders separately as they
3097 don't totally match up with normal form borders.
3099 2005-11-18 Jackson Harper <jackson@ximian.com>
3101 * Control.cs: Set WS_ styles for borders, so that the driver does
3102 not have to retrieve the control instance to figure out what kind
3103 of borders it should have.
3104 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3105 driver can know its an mdi child easily.
3106 * XplatUIX11.cs: Get the border styles and whether the window is
3107 MDI from the Styles and ExStyles params instead of having to get a
3108 control. This prevents a chicken and egg problem.
3110 2005-11-18 Jackson Harper <jackson@ximian.com>
3112 * MdiClient.cs: Fix typo so scrollbars show up correctly.
3114 2005-11-18 Jackson Harper <jackson@ximian.com>
3116 * MdiClient.cs: Calculate when to add and remove scrollbars
3118 * MdiChildContext.cs: Adjust the y position to take the titlebar
3120 - No height for FormBorderStyle.None
3122 2005-11-18 Jackson Harper <jackson@ximian.com>
3124 * Control.cs: Allow non enum values to be used for
3125 InternalBorderStyle. MDI does this to set a special border style.
3126 - New utility methods for converting points to/from client coords
3127 - Add the newly created control to the Controls collection before
3128 updating its style. This way UpdateStyle can walk the control
3129 heirarchy to find the control if needed.
3130 so I don't need to create a new Point object all the time.
3131 * Form.cs: Let MDI windows handle their border styles.
3132 - Set styles on MDI windows so the correct title style is derived.
3133 * MdiChildContext.cs: Move all the painting and window handling
3134 into the non client area.
3135 - Use correct sizing and put correct buttons on frames based on
3136 the FormBorderStyle.
3137 - Notify the mdi client about scrolling
3138 - Need to handle the buttons ourselves now, because they are all
3139 in non client areas and we can't add controls there.
3140 * MdiClient.cs: Halfway to scrolling, this implementation is
3141 somewhat broken though, we need to check to make sure other
3142 windows aren't causing scrolling before removing the bars. Also
3143 the bars need to be drawn on top, maybe I can switch implicit
3144 controls to be on top.
3145 * Hwnd.cs: caption_height and tool_caption_height are now
3146 properties of an hwnd, this way they can be set by the driver
3147 based on the type of window they are. In X11 the window manager
3148 handles the decorations so caption_height is zero unless its an
3150 - Add 3 pixel borders for MDI windows (0xFFFF).
3151 - Get rid of some code duplication, have DefaultClientRectanle
3152 just call GetClientRectangle.
3153 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3155 - Set border styles differently for mdi windows.
3156 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3159 2005-11-15 Mike Kestner <mkestner@novell.com>
3161 * Menu.cs: when adding an item to the collection, if item is already
3162 parented, remove it from the parent.
3164 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
3166 * X11DesktopColors.cs: Added KDE support
3168 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
3171 - Clipboard methods now can translate Rtf format
3172 - No longer removes clipboard contents whenever a new format is added
3173 to allow placing multiple formats on the clipboard
3174 * Clipboard.cs: Clipboard now supports getting a IDataObject and
3175 will place all formats contained in it onto the clipboard. Also
3176 now cleans the clipboard before placing a new object onto it
3178 - Implemented set_Rtf
3179 - Implemented set_SelectedRtf
3180 - Created InsertRTFFromStream() method to allow single code base
3181 for all properties and methods that insert RTF into document
3182 - Removed debug output
3184 - Fixed Delete(int) to fix up line numbers
3185 - Fixed ReplaceSelection to combine start and end line
3186 - Fixed serious DeleteChars bug that would leave the document tree
3188 - Improved DumpTree with several logic checks to detect broken
3190 - Removed debug lines
3191 - Fixed Caret.WordForward/WordBack moving code, now always also
3192 updates caret.tag (fixes crash when word-selecting across tag
3193 boundaries via keyboard)
3194 - Added Insert() method for inserting multiline text into documents
3195 - Fixed DeleteChars() calculation errors that would cause a broken
3196 tag chain with multiple tag lines
3197 - DeleteChars() no longer crashes on multi-tag lines if not all tags
3198 - Split() no longer moves caret if split is at caret location
3199 - ReplaceSelection() now updates the cursor and re-displays it
3200 - ReplaceSelection() now uses new Insert() method to avoid code
3202 - FormatText() can now handle formatting partial lines
3204 - Append now uses new TextControl.Insert() method (this avoids
3206 - Implemented Ctrl-X (Cut) (
3207 - Implemented Ctrl-C (Copy)
3208 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
3209 regeneration when pasting text; roundtripping Copy&Paste within
3210 edit control still fails due to some calculation bugs in GenerateRTF)
3211 - The Delete key will now remove the current selection if it is visible
3212 * TextBox.cs: Removed debug lines
3213 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
3214 driver to be initialized and can't therefore be done via a static ctor)
3216 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
3218 * TextControl.cs: Added backend code for finding char arrays and strings
3220 - Added mouse wheel scroll support
3221 - Added support for VScroll and HScroll events
3223 - Implemented all seven Find() variants
3224 - Implemented GetCharFromPosition()
3225 - Implemented GetCharIndexFromPosition()
3226 - Implemented GetLineFromIndex()
3227 - Implemented GetPositionFromCharIndex();
3228 - Implemented SaveFile for PlainText and UnicodeText
3229 - Fixed set_Font, now setting a new font applies that font to
3231 - Implemented generic Document to RTF converter
3232 - Implemented SaveFile for RichText format (still missing unicode
3233 conversion for non-ansi chars)
3234 - Implemented get_Rtf
3235 - Implemented get_SelectedRtf
3237 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
3239 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
3240 to allow any captures to be released before triggering OnClick. This
3241 way a click handler may capture the mouse without interference.
3242 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
3243 This way we send them even though X may not allow a grab (if the window
3244 isn't visible, for example)
3246 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
3248 * DataGridViewRowEventArgs.cs: DataGridView implementation
3249 * DataGridViewElement.cs: DataGridView implementation
3250 * DataGridViewComboBoxCell.cs: DataGridView implementation
3251 * DataGridViewDataErrorContexts.cs: DataGridView implementation
3252 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
3253 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
3254 * ImageLayout.cs: DataGridView implementation
3255 * DataGridViewComboBoxColumn.cs: DataGridView implementation
3256 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
3257 * DataGridViewSelectionMode.cs: DataGridView implementation
3258 * IDataGridViewEditingControl.cs: DataGridView implementation
3259 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
3260 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
3261 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
3262 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
3263 * DataGridViewColumnSortMode.cs: DataGridView implementation
3264 * DataGridView.cs: DataGridView implementation
3265 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
3266 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
3267 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
3268 * Padding.cs: DataGridView implementation
3269 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
3270 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
3271 * DataGridViewRowEventHandler.cs: DataGridView implementation
3272 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
3273 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
3274 * DataGridViewButtonCell.cs: DataGridView implementation
3275 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
3276 * DataGridViewEditMode.cs: DataGridView implementation
3277 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
3278 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
3279 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
3280 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
3281 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
3282 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
3283 * DataGridViewCellEventHandler.cs: DataGridView implementation
3284 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
3285 * DataGridViewCellStyleConverter.cs: DataGridView implementation
3286 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
3287 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
3288 * DataGridViewColumnEventArgs.cs: DataGridView implementation
3289 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
3290 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
3291 * QuestionEventArgs.cs: DataGridView implementation
3292 * IDataGridViewEditingCell.cs: DataGridView implementation
3293 * DataGridViewTriState.cs: DataGridView implementation
3294 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
3295 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
3296 * DataGridViewColumnCollection.cs: DataGridView implementation
3297 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
3298 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
3299 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
3300 * DataGridViewColumn.cs: DataGridView implementation
3301 * DataGridViewCellBorderStyle.cs: DataGridView implementation
3302 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
3303 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
3304 * DataGridViewRow.cs: DataGridView implementation
3305 * DataGridViewImageCellLayout.cs: DataGridView implementation
3306 * DataGridViewImageCell.cs: DataGridView implementation
3307 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
3308 * DataGridViewCheckBoxCell.cs: DataGridView implementation
3309 * DataGridViewHeaderCell.cs: DataGridView implementation
3310 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
3311 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
3312 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
3313 * DataGridViewTextBoxColumn.cs: DataGridView implementation
3314 * QuestionEventHandler.cs: DataGridView implementation
3315 * DataGridViewCellStyleScopes.cs: DataGridView implementation
3316 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
3317 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
3318 * DataGridViewCell.cs: DataGridView implementation
3319 * DataGridViewCellEventArgs.cs: DataGridView implementation
3320 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
3321 * DataGridViewCellStyle.cs: DataGridView implementation
3322 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
3323 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
3324 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
3325 * TextFormatFlags.cs: DataGridView implementation
3326 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
3327 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
3328 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
3329 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
3330 * DataGridViewButtonColumn.cs: DataGridView implementation
3331 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
3332 * HandledMouseEventArgs.cs: DataGridView implementation
3333 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
3334 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
3335 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
3336 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
3337 * DataGridViewRowCollection.cs: DataGridView implementation
3338 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
3339 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
3340 * DataGridViewHitTestType.cs: DataGridView implementation
3341 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
3342 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
3343 * DataGridViewColumnEventHandler.cs: DataGridView implementation
3344 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
3345 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
3346 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
3347 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
3348 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
3349 * DataGridViewContentAlignment.cs: DataGridView implementation
3350 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
3351 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
3352 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
3353 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
3354 * DataGridViewPaintParts.cs: DataGridView implementation
3355 * DataGridViewCellCollection.cs: DataGridView implementation
3356 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
3357 * DataGridViewImageColumn.cs: DataGridView implementation
3358 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
3359 * DataGridViewElementStates.cs: DataGridView implementation
3360 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
3361 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
3362 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
3363 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
3364 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
3365 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
3366 * DataGridViewRowHeaderCell.cs: DataGridView implementation
3367 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
3368 * DataGridViewTextBoxCell.cs: DataGridView implementation
3369 * DataGridViewBand.cs: DataGridView implementation
3370 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
3371 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
3372 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
3373 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
3374 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
3375 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
3376 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
3377 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
3378 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
3379 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
3380 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
3382 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
3384 * ThemeWin32Classic.cs:
3385 - Draw the outside focus rectangle around buttons
3386 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
3387 doesn't use end caps for every dash of a line anymore. This
3388 workaround ignores the forecolor.
3390 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
3392 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
3395 2005-11-07 Jackson Harper <jackson@ximian.com>
3397 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
3399 2005-11-07 Jackson Harper <jackson@ximian.com>
3401 * ScrollableControl.cs: Calculate the maximum and change vars
3402 (more) correctly so that scrollbars appear as a sensible size.
3404 2005-11-04 Jackson Harper <jackson@ximian.com>
3406 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
3408 * TreeView.cs: When the tree is sorted null out the top_node so
3409 that it is recalculated.
3410 - Use dotted lines instead of dashed lines to match MS better.
3412 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
3415 - Implements key search for items. Useful when browsing files with FileDialog
3416 - When changing view mode or when clear the items reset scrollbar positions
3418 2005-11-04 Jackson Harper <jackson@ximian.com>
3420 * CurrencyManager.cs: Implement the MetaDataChanged event, the
3421 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
3422 as to what the method may do as there is no real way of creating a
3423 derived CurrencyManager and calling the method.
3425 2005-11-03 Jackson Harper <jackson@ximian.com>
3427 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
3428 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
3429 method which seems to just be used internally to refresh the tabs.
3431 2005-11-03 Jackson Harper <jackson@ximian.com>
3433 * TabControl.cs: Implement the remove method. Fix some broken
3436 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3438 * DateTimePicker.cs:
3439 - Added missing DateTimePickerAccessibleObject class
3440 - Added missing events
3441 - Added OnFontChanged method
3442 * Form.cs: Added missing attributes
3443 * TreeView.cs: Added missing attributes
3445 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3447 * GridItemCollection.cs: Fix signatures
3449 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3451 * XplatUI.cs: Updated build rev/date
3452 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
3453 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
3454 * Application.cs: Trigger context-specific ExitThread events
3456 2005-11-03 Jackson Harper <jackson@ximian.com>
3460 * GridTableStylesCollection.cs:
3465 * MonthCalendar.cs: Signature fixes
3467 2005-11-03 Jackson Harper <jackson@ximian.com>
3469 * TreeNodeCollection.cs: Remove should not be virtual.
3470 * TreeView.cs: Implement the last of the missing methods.
3472 2005-11-03 Jackson Harper <jackson@ximian.com>
3474 * TreeNodeConverter.cs: Implement to get off my class-status back.
3476 2005-11-03 Jackson Harper <jackson@ximian.com>
3478 * TreeView.cs: Hookup the bits for drag and drop.
3479 * TreeNode.cs: Don't cache the tree_view or index anymore, now
3480 that nodes can be moved from tree to tree easily this just causes
3481 all sorts of problems.
3482 * TreeNodeCollection: Don't need to give treenodes an index and
3483 treeview anymore when they are added, these are computed on the
3484 fly. Also make sure to remove a node before its added.
3486 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
3489 - Added CaretSelection enum
3490 - Added comparison methods to Marker struct, makes selection code
3492 - Added SelectionStart and SelectionEnd as 'moveable' location for
3493 the CaretDirection enum and handler
3494 - Added selection_prev variable to track optimized invalidation for
3495 word and line selection
3496 - Added SelectionVisible property (returns true if there is a valid
3498 - Switched CaretHasFocus to only display the caret if there is no
3500 - Avoiding StringBuilder.ToString to retrieve a single char, instead
3501 using the direct character index; should be much faster
3502 - Added various conditional debug statements
3503 - Fixed invalidation calculation for selection ranges
3504 - Added ExpandSelection() method to support word and line selection
3505 - Switched SetSelectionToCaret to use new Marker compare overloads
3506 - Added central IsWordSeparator() method to determine word
3507 separators/whitespace and FindWordSeparator() to streamline common
3508 usage of IsWordSeparator()
3510 - Removed unneeded grabbed variable, it was just mirroring
3512 - No longer firing OnTextChanged event when Text setter is called,
3513 since the base will fire the event for us
3514 - Added handling of Ctrl-Up/Down selection
3515 - Added handling of Shift-Cursorkey selection
3516 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
3518 - Added handling of Shift and Ctrl-Shift-Home/End selection
3519 - Removed some debug output
3520 - Added handling for single/double/tripple-click to place caret/
3521 select word/select line respectively (Fixes bug #76031)
3522 - Added support for drag expansion of word/line selection
3523 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
3526 2005-11-02 Jackson Harper <jackson@ximian.com>
3528 * X11Dnd.cs: If the drag is going to and from a MWF window just
3529 copy the data instead of sending it out through the X Selection
3532 2005-11-02 Jackson Harper <jackson@ximian.com>
3535 * XplatUIX11.cs: When in a drag we don't want motion notify
3536 messages to get passed on to the other controls. This prevents
3537 mouse move messages from showing up in the drag source.
3539 2005-11-02 Jackson Harper <jackson@ximian.com>
3541 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
3542 the correct button is release to end a drag.
3543 * XplatUIX11.cs: Make the button state internal so the drag system
3544 can access it. Dragging needs to know about all button releases,
3545 not just left button.
3547 2005-11-02 Miguel de Icaza <miguel@novell.com>
3549 * Form.cs (Icon): If the icon is null, reset the icon to the
3552 * Cursor.cs: When writing the AND-mask bitmap do not include the
3553 number of colors, but hardcode those to two (black and white),
3554 fixes the loading of color cursors (Paint Dot Net).
3556 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
3557 turn off autoscaling.
3559 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
3561 2005-11-02 Jackson Harper <jackson@ximian.com>
3563 * X11Dnd.cs: Make sure to send a status message if the pointer
3564 enters a control that can not accept a drop, otherwise the cursor
3565 isn't updated correctly. Also tried to compress the lines of code
3568 2005-11-02 Jackson Harper <jackson@ximian.com>
3570 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
3571 set actions correctly. This isn't perfect as XDND and win32 have
3572 some differences on how you allow actions. I'll clear this up by
3573 adding a path for drag from MWF to MWF windows.
3574 * XplatUIX11.cs: Hook into the dnd system.
3576 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
3578 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
3579 previously shown but they are no longer need it. Very obvious when
3580 browsing files with FileDialog.
3582 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
3584 * Control.cs: We always need to call OnPaintBackground. We pretty much
3585 ignore AllPaintingInWmPaint and always do the painting there, whether
3586 it's set or not, since we always ignore the WM_ERASEBKGND message
3587 (which we don't generate on X11). This fixes #76616.
3588 * Panel.cs: Removed unneeded background painting. This happens properly
3589 in Control.cs already
3591 2005-10-31 Mike Kestner <mkestner@novell.com>
3593 * Menu.cs: Add items to collection before setting their index.
3594 * MenuItem.cs : add range checking with ArgumentException like MS.
3597 2005-10-31 Jackson Harper <jackson@ximian.com>
3599 * ListBox.cs: Invalidate if the area is visible at all not just
3600 contained in the visible rect. Fixes unselection of semi visible
3603 2005-10-31 Jackson Harper <jackson@ximian.com>
3605 * Control.cs: Consistently name the dnd methods. Make them
3606 internal so we can override them to match some MS behavoir
3608 * Win32DnD.cs: Use the new consistent names.
3610 2005-10-31 Jackson Harper <jackson@ximian.com>
3612 * TreeView.cs: Don't draw the selected node when we lose focus.
3614 2005-10-31 Jackson Harper <jackson@ximian.com>
3616 * X11Dnd.cs: We still need to reset the state even though a full
3617 reset isn't being done, otherwise status's still get sent all over
3620 2005-10-31 Jackson Harper <jackson@ximian.com>
3622 * Control.cs: Make the dnd_aware flag internal so the dnd
3623 subsystem can check it. Catch exceptions thrown in dnd handlers to
3625 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
3626 * X11Dnd.cs: Handle null data in the converters. Set the XDND
3627 version when sending a XdndEnter. Use the control/hwnd dnd_aware
3628 flags to reduce the number of dnd enters/status's sent.
3630 2005-10-31 Jackson Harper <jackson@ximian.com>
3632 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
3634 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
3636 * PictureBox.cs: Fixes 76512
3638 2005-10-28 Jackson Harper <jackson@ximian.com>
3640 * X11Dnd.cs: Early implementation to support winforms being a drag
3641 source for data on X11. Also restructured the converters so they
3642 can go both ways now.
3643 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
3645 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
3647 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
3650 2005-10-27 Jackson Harper <jackson@ximian.com>
3652 * TreeNode.cs: Implement serialization so my DnD examples will work.
3654 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
3656 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
3657 TreeView.cs: Don't dispose objects that are not owned.
3659 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
3661 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
3662 should retrieve the current cursor and report that, but XplatUI
3663 doesn't (yet) have an interface for that (and I'm not sure I even
3665 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
3666 until any message loop processing is done (and the WM_SETCURSOR
3667 replaces the cursor to the proper one)
3669 - Fixed override behaviour, we can't set the cursor globally on X11,
3670 just for our windows.
3671 - Invalidating the System.Drawing X11 display handle when we are
3673 * Control.cs: Fix to make csc happy
3675 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
3678 - get_Text: Add last line (without trailing newline) to returned
3680 - get_TextLength: Count last line in returned length
3681 - ToString: Call Text property instead of duplicating code
3683 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
3685 * ImageList.cs: Dispose ImageAttributes objects.
3687 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3689 * ImageList.cs: Use attribute constructors with less arguments where
3692 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
3694 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
3695 Use typeof instead of strings when assembly is referenced. Added
3698 2005-10-21 Jackson Harper <jackson@ximian.com>
3700 * ListView.cs: Raise a double click event. Also tried to somewhat
3701 fix when the selectedindexchanged event is raised. Its still
3704 2005-10-21 Jackson Harper <jackson@ximian.com>
3706 * TreeView.cs: New method to invalidate the plus minus area of a
3707 node without invalidating the whole node (maybe this can be used
3708 in some more places).
3709 * TreeNodeCollection.cs: When adding to an empty node we need to
3710 invalidate its plus minus area so the little block shows up.
3712 2005-10-21 Jackson Harper <jackson@ximian.com>
3714 * TreeView.cs: Make sure that when we invalidate a node the bounds
3715 are big enough to cover the selected box and the focus
3716 rectangle. Use a different colour for the lines connecting nodes
3717 so they show up with all themes.
3719 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3721 * NativeWindow.cs: Don't call anything that could call into the driver,
3722 we might be on a different thread.
3724 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3726 * Control.cs(Dispose): Since Dispose might run on a different thread,
3727 make sure that we call methods that could call into the driver via
3728 invoke, to avoid thread issues
3730 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
3732 * XplatUI.cs: Removed finalizer
3733 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
3734 not allowing to be called on the finalizer thread.
3736 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
3739 - Reverted r51889 and r51891.
3740 - Added ImageListItem class that stores unmodified image items and image
3741 properties required to create list images until handle is created.
3742 - Added AddItem and moved image creation logic to AddItemInternal.
3743 - Added CreateHandle method that creates images based on unmodified items.
3744 - Added DestroyHandle that changes state to store unmodified items.
3745 - Add and AddStrip methods no more create handle.
3746 - ReduceColorDepth has no return value.
3747 - Dispose destroys handle.
3748 - Modified other methods to reflect the above changes.
3749 - Implemented key support.
3750 - Added profile 2.0 members and attributes.
3751 - Added private Reset and ShouldSerialize methods that provide the same
3752 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
3753 them as they are private.
3754 - Added some more comments about implementation details.
3756 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3758 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
3760 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3762 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
3764 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
3766 * DataGridDrawingLogic.cs: Fixes column hit calcultation
3767 * DataGridColumnStyle.cs: Remove debug message
3769 2005-10-20 Jackson Harper <jackson@ximian.com>
3771 * TreeView.cs: We can always get input keys regardless of whether
3772 or not editing is enabled. They are used for navigation.
3774 2005-10-20 Jackson Harper <jackson@ximian.com>
3776 * TreeNode.cs: Use the viewport rect for determining if a node
3777 needs to be moved for visibility. Don't use Begin/End edit. This
3778 calls a full refresh when its done.
3779 * TreeView.cs: New SetBottom works correctly. Make the viewport
3780 rect property internal so the treenodes can see it. When clicking
3781 on a node we need to ensure that its visible because it might just
3782 be partly visible when clicked.
3784 2005-10-20 Jackson Harper <jackson@ximian.com>
3786 * TreeNodeCollection.cs: Remove debug code.
3788 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3790 * Datagrid.cs: Implements column sorting in Datagrid
3791 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
3793 2005-10-20 Jackson Harper <jackson@ximian.com>
3795 * TreeNodeCollection.cs: Remove items properly. Update the correct
3796 area after removing them.
3798 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
3800 * Datagrid.cs: Should not call base.OnPaintBackground
3802 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3804 * XplatUIX11.cs (GetMessage):
3805 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
3806 window instead of client window
3807 - Now properly calculates NC_xBUTTONUP message coordinates
3808 - ScreenToMenu now properly calculates it's coordinates of whole
3809 window, since menus are in the whole window, not in the client
3811 - Added WholeToScreen coordinate translation method
3813 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3815 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
3816 want to return a message, loop back to the beginning of the function
3817 and grab the next real message to process instead.
3819 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
3821 * Splitter.cs: Properly set limits if no filler control is used
3823 2005-10-19 Jackson Harper <jackson@ximian.com>
3825 * ColorDialog.cs: Don't show the help button if it is not enabled
3826 instead of disabling it (this is what MS does). Don't create the
3827 panel until the dialog is run, otherwise the vars (such as
3828 ShowHelp) are not set yet.
3830 2005-10-19 Jackson Harper <jackson@ximian.com>
3832 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
3833 are reduced when adding nodes.
3835 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
3838 2005-10-19 Jackson Harper <jackson@ximian.com>
3840 * FolderBrowserDialog.cs: End editing our treeview so the window
3841 actually gets refreshed.
3843 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3845 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
3846 Obsoleted handling of WM_ERASEBKGND, now always draws our background
3849 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3851 * MenuAPI.cs: Returns after Hidding window
3852 * XplatUIX11.cs: Added TODO found while debugging menu issues
3854 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
3856 * XplatUIX11.cs: Do not re-map the whole window when it's size
3857 becomes non-zero unless it's supposed to be actually visible
3859 2005-10-18 Jackson Harper <jackson@ximian.com>
3861 * TreeView.cs: We don't need to keep a count anymore.
3862 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
3863 use the Grow method.
3865 2005-10-18 Jackson Harper <jackson@ximian.com>
3867 * TreeNodeCollection.cs: Insert is not supported on arrays, so
3868 implement it manually here.
3870 2005-10-18 Jackson Harper <jackson@ximian.com>
3872 * ImageList.cs: Dont kill the list when the colour depth is
3873 changed, just change the colour depth of all the images.
3874 - Same goes for setting the image size. Just resize them all
3875 instead of killing the list softly.
3877 2005-10-18 Jackson Harper <jackson@ximian.com>
3879 * Control.cs: Don't invalidate empty rectangles.
3881 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3884 - Adds checked item to the Checked/Item lists (where empty before)
3885 - Do not add items to the Selected lists if they are already present
3887 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
3888 - When deleting items make sure that we delete them for the Selected
3889 and Checked list also.
3891 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
3893 * Label.cs: Dispose objects no longer used
3894 * ThemeWin32Classic.cs: Dispose objects no longer used
3896 2005-10-18 Jackson Harper <jackson@ximian.com>
3898 * TabControl.cs: Don't refresh the whole control when the tabs are
3899 scrolled, we just need to refresh the tab area.
3901 2005-10-17 Jackson Harper <jackson@ximian.com>
3903 * XplatUIX11.cs: Compress code a little bit. Only calculate the
3904 after handle when we need it.
3906 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3908 * Control.cs: When the parent size changes, recalculate anchor
3909 positions. Partial fix for #76462
3911 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
3913 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
3916 2005-10-17 Jackson Harper <jackson@ximian.com>
3918 * MonthCalendar.cs: Don't create the numeric up down until our
3919 handle is created. Otherwise our handle is created in the
3920 constructor and we don't know if we are a WS_CHILD or WS_POPUP
3923 2005-10-17 Jackson Harper <jackson@ximian.com>
3925 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
3928 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
3929 * TreeNode.cs : small logical fix (was using local var instead of field)
3931 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3933 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
3935 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
3937 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
3939 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
3942 - Re-implemented anchoring code. My first version was really broken.
3943 This fixes bug #76033. Unlike the previous implementation we will
3944 no longer have round errors since all numbers are calculated from
3945 scratch every time. Removed various anchor-related obsolete vars.
3946 - InitLayout no longer causes layout event firing and layout to be
3949 2005-10-16 Jackson Harper <jackson@ximian.com>
3951 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
3954 2005-10-16 Jackson Harper <jackson@ximian.com>
3956 * TabControl.cs: Remove debug code.
3958 2005-10-16 Jackson Harper <jackson@ximian.com>
3960 * XEventQueue.cs: Increase the default queue size (very simple
3961 apps needed to grow the queue).
3962 * Hwnd.cs: No finalizer so we don't need to suppress
3963 finalization. Compute the invalid area manually so a new rectangle
3964 does not newto be created.
3965 * ScrollableControl.cs: Don't set any params (otherwise visibility
3966 isn't set correctly).
3967 * MdiChildContext.cs: New constructor takes the mdi parent so it
3968 doesn't have to be computed and avoids a crash on windows. Draw
3969 the window icon properly, and allow the text to be seen.
3970 * Form.cs: Use new MdiChildContext constructor. Make sure the
3971 child context isn't null in wndproc.
3972 * TabControl.cs: Don't set focus, this is muddling keyboard
3973 behavoir. Expand the tab rows when a window size increase will
3974 allow extra tabs to be seen. Don't allow tabs smaller than the
3975 width of a window to be scrolled out of view.
3977 * TreeView.cs: Use measure string to calculate a nodes width, the
3978 width is cached and only updated when the text or the font is
3979 changed. Don't check for expand/collapse clicks on the first level
3980 nodes if root lines are disabled.
3982 2005-10-16 Ritvik Mayank <mritvik@novell.com>
3984 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
3986 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3988 * DataGridBoolColumn.cs: fixes warning
3990 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
3992 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
3993 to match more to match more precisely the MS Net behavior
3995 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
3997 * Hwnd.cs: Added field to track if window is mapped
3999 - Unmap windows if they become 0-size, re-map when
4000 they are >0 again; fixes #76035
4001 - Re-set our error handler after initializing X11Desktop
4002 to override any error handlers Gtk or whatever was called
4005 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4007 * CheckedListBox.cs: Removed unused vars
4008 * ListView.cs: Fixed signatures
4009 * RichTextBox.cs: Removed unused vars
4010 * TextBoxBase.cs: Removed unused vars
4011 * XplatUIWin32.cs: Removed unused vars
4012 * XplatUIX11.cs: Removed unused vars
4013 * XplatUI.cs: Updated version and date to latest published
4015 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4017 * Cursor.cs: Added private .ctor to work around a bug in
4018 resourceset (Thanks to Geoff Norton for the help on this)
4019 * SplitterEventArgs.cs: Made fields accessible so we don't
4020 waste boatloads of objects and can reuse the same one
4022 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4023 any captions and borders when generating screen coordinates
4024 * Splitter.cs: Reimplemented control, now fully complete, uses
4025 rubberband drawing, supports and obeys all properties, has
4028 2005-10-13 Miguel de Icaza <miguel@novell.com>
4030 * Form.cs (Form): Setup default values for autoscale and
4031 autoscale_base_size; Make these instance variables, not static
4034 (OnLoad): on the first load, adjust the size of the form.
4036 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4038 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4039 width argument to DrawReversibleRectangle()
4040 * XplatUIWin32.cs, XplatUIX11.cs:
4041 - Implemented width for DrawReversibleRectangle()
4042 - Added logic to DrawReversibleRectangle that recognizes a zero
4043 width or height and only draws a line in that situation
4045 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4047 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4048 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4049 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4050 method (it uses our FosterParent window to get a graphics context)
4052 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4054 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4055 and SetWindowBackground methods
4057 - Setting proper ControlStyles
4058 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4059 EraseWindowBackground, instead we draw the window background
4060 ourselves in PaintControlBackground. This behaviour is
4061 required to match MS, where, when OnPaintBackground is not
4062 called, the background is not drawn.
4063 - Removed unneeded Refresh() in set_Text
4064 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4066 - Created DeriveStyles method to translate from CreateParams to
4067 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4068 matches FormBorderStyle enum values)
4069 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4070 style calculations into single DeriveStyles method
4071 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4072 from redrawing the whole window on any resize or expose.
4073 - Fixed CreateWindow usage of SetWindowValuemask. Before not
4074 all styles were applied to our whole/client window appropriately
4075 - Removed EraseWindowBackground() and SetWindowBackground() methods
4076 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4077 no longer clear/redraw the background through X
4078 - Removed handling of erase_pending bit, we have no use for it (or
4081 - Removed generation and handling of WM_ERASEBKGND message
4082 - Removed EraseWindowBackground() and SetWindowBackground() methods
4083 - Removed handling of hwnd.ErasePending flag
4085 - Removed EraseWindowBackground() and SetWindowBackground() methods
4086 - We no longer call EraseWindowBackground on PaintEventStart, we
4087 ignore the fErase flag, erasing is handled in Control in the
4089 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4090 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4091 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
4092 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
4093 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
4094 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4095 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4097 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
4099 * PropertyGrids.cs: Get sub properties
4100 * PropertyGridView.cs: Fix drawing code
4102 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4104 * ListBox.cs: Fixes 76383
4106 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4108 * DataGridTextBoxColumn.cs: Sets location and size before attachment
4109 * ThemeWin32Classic.cs: Fixes border drawing and calculations
4110 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4113 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4115 * ComboBox.cs: Fixes border drawing
4117 2005-10-10 Miguel de Icaza <miguel@novell.com>
4119 * MimeIcon.cs: Ignore errors if the file can not be read.
4121 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4123 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4124 - Fixed border calculations
4125 - Fixed horizontal scrolling in single column listboxes
4126 - Fixed drawing issues
4128 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
4130 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
4131 FormBorderStyle enum
4132 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
4133 code to determine FormBorderStyles from CreateParams
4135 - Fixed bug where we'd set the wrong window styles if we were
4136 not creating an MDI window
4137 - Added call to XplatUI.SetBorderStyle when form borders are set
4138 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4140 - Removed obsolete edge style
4141 - Switched from BorderStyle to FormBorderStyle
4143 2005-10-10 Jackson Harper <jackson@ximian.com>
4145 * Form.cs: Use the property to get the window handle instead of
4146 accessing it directly. Prevents a null reference exception.
4148 2005-10-10 Jackson Harper <jackson@ximian.com>
4150 * TreeView.cs: Don't adjust the rect given to DrawString now that
4151 our libgdiplus draws correctly.
4153 2005-10-08 Jackson Harper <jackson@ximian.com>
4155 * TreeView.cs: Don't try to find the clicked on node if there are
4156 no nodes in the tree.
4158 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4164 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4166 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4167 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4169 Use ResPool for brushes and dispose System.Drawing objects that
4170 are not used anymore.
4172 2005-10-07 Jackson Harper <jackson@ximian.com>
4174 * MdiChildContext.cs: Use the new borders instead of drawing them
4177 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4179 * Calling UpdateBounds after changing the window's BorderStyle
4180 since the style can change the ClientSize
4182 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4184 * Control.cs: Made PaintControlBackground virtual
4185 * Panel.cs: Overriding PaintControlBackground instead of using paint
4186 event; paint event method was interfering with 'real' users of the
4189 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
4191 * ThemeWin32Classic.cs: remove border drawing since it is handled
4192 by the base control class now and was causing double border drawing.
4194 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4196 * Panel.cs: Redraw our background on paint. Not a pretty solution,
4197 but it does seem to match MS behaviour. This fixes bug #75324
4199 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4201 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
4202 somewhat hackish looking
4204 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4207 - We now accept Enter even if AcceptEnter is false, if the containing
4208 form does not have an AcceptButton configured (fixes bug #76355)
4209 - Calculations are now fixed to no longer use Width/Height, but
4210 ClientSize.Width/Height, since we now support borders (this was
4211 a result of fixing borders and therefore bug #76166)
4212 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
4213 true (fixes bug #76354)
4215 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4218 - Defaulting BorderStyle and setting it in XplatUI when our window
4220 - Added enum check to InternalBorderStyle setter
4222 - Added drawing of window borders
4223 - Now properly calculates WM decorations offset for toplevel
4224 windows (fixes bug #74763)
4226 - Implemented BorderStyles for windows (we're letting win32 draw
4228 - Fixed the signature for SetWindowLong
4229 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
4230 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
4232 * UpDownBase.cs: Remove drawing of borders, this is handled by
4233 the driver, outside the client area
4234 * ListView.cs: Removed bogus border calculations. The control should
4235 be oblivious to borders, since those are not part of the client
4237 * X11DesktopColors.cs: Commented out (currently) unneeded variables
4238 * ThemeWin32Classic.cs: Removed border calculations from ListView
4241 2005-10-06 Jackson Harper <jackson@ximian.com>
4243 * MdiChildContext.cs: Clear out the old virtual position remove
4244 all the unneeded calls to CreateGraphics.
4246 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4248 * TextControl.cs: Use proper color for highlighted text; fixes #76350
4250 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4253 - Added loading and setting of our new default icon
4254 - Only set icon if window is already created
4256 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
4259 - Do not explicitly set the foreground and background colors, to
4260 allow inheriting from parents (fixes #76302)
4261 - Use Control's InternalBorderStyle property to deal with borders
4263 2005-10-06 Jackson Harper <jackson@ximian.com>
4265 * MdiChildContext.cs: Use the new xplatui function to draw a
4268 2005-10-06 Jackson Harper <jackson@ximian.com>
4270 * Form.cs: Add the parent before creating the child context cause
4271 we need the parent when setting up the child.
4273 2005-10-06 Jackson Harper <jackson@ximian.com>
4275 * FolderBrowserDialog.cs: redo the tree population code so a
4276 second thread isn't used. Should be a lot faster and more stable
4279 2005-10-05 Jackson Harper <jackson@ximian.com>
4281 * TreeView.cs: There are no expand/collapse boxes if the node has
4284 2005-10-05 Jackson Harper <jackson@ximian.com>
4286 * X11DesktopColors.cs: Get menu colours for the gtk theme.
4288 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
4290 * FileDialog.cs: Fix InitialDirectory
4292 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4295 - Fixes changing between styles
4297 - Fixes last item crashing when navigating with keyboard
4299 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
4301 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
4303 2005-10-05 Jackson Harper <jackson@ximian.com>
4305 * TreeView.cs: If updating the root node do a full refresh.
4306 * TreeNode.cs: The root node should be expanded by default. Also
4307 added a utility prop to tell if we are the root node.
4308 * TreeNodeCollection.cs: Only refresh if the node we are being
4309 added to is expanded. Also added a comment on a potential
4312 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
4314 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
4315 in dispose method. Fixes #76330
4317 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
4319 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
4321 - Implements vertical and horizontal scrolling using XplatUI
4322 - Fixes keyboard navagation
4323 - Fixes EnsureVisible
4325 - Handles and draws focus properly
4328 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
4330 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
4331 Create handle. NET_2_0: Destroy handle when value is null.
4333 2005-10-03 Jackson Harper <jackson@ximian.com>
4335 * ScrollBar.cs: My last scrollbar patch was broken. This is a
4336 revert and a new patch to prevent the thumb from refreshing so
4339 2005-10-02 Jackson Harper <jackson@ximian.com>
4341 * ScrollBar.cs: Don't update position if it hasn't actually
4342 changed. This occurs when you hold down the increment/decrement
4343 buttons and the thumb gets to the max/min.
4345 2005-10-01 Jackson Harper <jackson@ximian.com>
4348 * MdiChildContext.cs:
4349 * MdiClient.cs: Implement ActiveMdiChild in Form.
4351 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
4353 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
4355 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
4357 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
4360 2005-09-30 Jackson Harper <jackson@ximian.com>
4362 * ListBox.cs: Don't do a full refresh unless some data has
4365 2005-09-30 Jackson Harper <jackson@ximian.com>
4367 * TreeView.cs: Make sure that the checkboxes size is factored in
4368 even when not visible.
4370 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4372 * FileDialog.cs: Fix Jordi's build break
4374 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4377 - Use standard the Windows colours for the combobox as espected
4378 - Dispose objects that use resouces when no longer need them
4380 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4382 * X11DesktopColors.cs: Initial incomplete implementation
4383 * XplatUIX11.cs: Added call to initialize X11DesktopColors
4385 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
4388 - Switched Theme color names to match the names defined in
4389 System.Drawing.KnownColors. Life's hard enough, no need to make
4391 - Added setters to all theme color properties so themes can set
4392 their color schemes. The setters also propagate the color changes
4393 to System.Drawing.KnownColors via reflection
4394 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
4395 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
4396 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
4397 use the new, more logical theme color names
4398 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
4400 * ThemeWin32Classic.cs:
4401 - Removed code to set the old classic Windows colors. Instead it
4402 now relies on the colors returned by System.Drawing.KnownColors
4403 which will be either modern static colors (Unix) or colors
4404 read from the user's configuration (Win32)
4405 - Updated to use the new, more logical theme color names
4406 - Switched DataGrid drawing code to use only Theme colors instead of
4407 a mix of System.Drawing.KnownColors and Theme colors
4408 - DrawFrameControl(): Removed code that fills the button area, the
4409 fill would overwrite any previous fill done by a control. This
4411 - Added DrawReversibleRectangle() stub
4412 * ScrollableControl.cs: Set visible state to false when scrollbars
4413 are removed (pdn fix)
4414 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
4415 DrawReversibleRectangle() method to allow drawing primitive
4417 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
4419 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4421 * ImageList.cs: Add(Icon): Create handle.
4423 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
4426 * ThemeWin32Classic.cs:
4429 - Issues with drawing
4431 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4433 * ImageList.cs: Moved RecreateHandle back to ImageList as event
4434 source has to be the ImageList.
4436 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4438 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
4440 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4442 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
4444 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4446 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
4448 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
4449 * GridItem.cs: Fixed TODOs
4450 * GridItemCollection.cs: Added ICollection interface
4452 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
4454 * ImageList.cs: Resize icons when needed.
4456 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
4459 - Fixes GetBounds and returns on screen rects
4461 - Fixes vertical and horzintal scrolling of items
4462 * ThemeWin32Classic.cs:
4465 2005-09-29 Raja R Harinath <harinath@gmail.com>
4467 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
4469 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
4471 * ImageList.cs: Added comments about handle creation. Moved Handle,
4472 HandleCreated and OnRecreateHandle implementations to ImageCollection.
4473 Handle is created in Add methods.
4475 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4477 * DataGridDrawingLogic.cs:
4478 - Takes rows into account on Colum calculations
4479 - Returns the column when clickig
4481 - Fixes default HitTestInfo values
4482 - Fixes HitTestInfo.ToString
4483 - Fixes ResetBackColor
4485 2005-09-28 Jackson Harper <jackson@ximian.com>
4487 * MdiChildContext.cs: Obey rules for fixed sized windows (no
4488 sizing or cursor changes). Also added some temp code to draw the
4489 titlebars text (Makes dev a little easier).
4491 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4493 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
4495 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
4497 * ListBox.cs: Fixes bug 76253
4499 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
4501 * ImageList.cs: Added comments about the current implementation. Added
4502 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
4503 Format32bppArgb to preserve transparency and can use Graphics.FromImage
4504 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
4505 with Bitmap.LockBits for better performance. Revised the whole file to
4506 match MS.NET behaviour and provide better performance. Non-public
4507 interface members are calling public members even when they throw
4508 NotSupportedException for better maintainability. Moved ColorDepth,
4509 ImageSize, ImageStream and TransparentColor implementations to
4510 ImageCollection for better performance as these properties are not used
4512 * ImageListStreamer.cs: Added a new internal constructor that takes an
4513 ImageList.ImageCollection and serializes Images based on
4514 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
4515 match ImageList property name.
4517 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
4519 * ListBox.cs: Fixes IndexFromPoint for last item
4521 2005-09-27 Jackson Harper <jackson@ximian.com>
4523 * Form.cs: Set the position of new mdi children correctly.
4525 2005-09-27 Jackson Harper <jackson@ximian.com>
4527 * MdiClient.cs: New mdi children need to be added to the back of
4528 the controls collection so the zorder is set correctly. Also add a
4529 count of all the child windows that have been created.
4531 2005-09-27 Jackson Harper <jackson@ximian.com>
4533 * Form.cs (CreateParams): Setup MDI forms correctly.
4535 2005-09-27 Jackson Harper <jackson@ximian.com>
4537 * MdiChildContext.cs:
4544 * ScrollableControl.cs:
4545 * ComboBox.cs: Add implicit controls using the new implict control
4546 functionality in ControlCollection. Also try to block multiple
4547 control add in a suspend/resume layout to save some cycles.
4549 2005-09-27 Jackson Harper <jackson@ximian.com>
4551 * Control.cs: Add functionality to the controls collection to add
4552 'implicit controls' these are controls that are created by the
4553 containing control but should not be exposed to the user. Such as
4554 scrollbars in the treeview.
4555 * Form.cs: The list var of the ControlsCollection is no longer
4556 available because of the potential of implicit controls getting
4557 ignored by someone accessing the list directly.
4559 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
4561 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
4562 loose it's parent. (Fixed bug introduced in r49103 when we added
4563 setting the child parent to null on Remove)
4565 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
4567 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
4568 * Splitter.cs: Added missing attributes for BorderStyle property.
4569 * TextBoxBase.cs: Marked Calculate* methods internal.
4570 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
4573 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
4575 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
4577 2005-09-25 Jackson Harper <jackson@ximian.com>
4579 * TreeView.cs: Update the node bounds correctly regardless of
4580 whether the node is visible.
4582 2005-09-25 Jackson Harper <jackson@ximian.com>
4584 * ImageList.cs: Don't dispose the image after it is added to the
4585 image list. Only reformat images that need to be resized.
4587 2005-09-25 Jackson Harper <jackson@ximian.com>
4589 * ImageList.cs: Don't set the format when changing the image.
4591 2005-09-25 Jackson Harper <jackson@ximian.com>
4593 * TreeView.cs: We can't just assume the node has a font. Use the
4594 treeviews font if no node font is available.
4596 2005-09-25 Jackson Harper <jackson@ximian.com>
4598 * TreeView.cs: Allow the scrollbars to be reset with negative
4600 - Don't add scrollbars to negative sized windows.
4602 2005-09-23 Jackson Harper <jackson@ximian.com>
4604 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
4605 old Mono.Posix. Also remove some stray code that shouldn't have
4608 2005-09-23 Jackson Harper <jackson@ximian.com>
4610 * TreeView.cs: Attempt at proper sizing of the horizontal
4611 scrollbar. Also don't resize the scrollbars unless they are
4614 2005-09-23 Jackson Harper <jackson@ximian.com>
4616 * TreeView.cs: We don't need to expand the invalid area when the
4617 selection changes, as this is all drawn in the node's bounding
4618 box. The area needs to be expanded (previous typo was contracting
4619 it) when the focus rect moves.
4621 2005-09-23 Jackson Harper <jackson@ximian.com>
4623 * TreeView.cs: Display the selection box under the correct
4624 circumstances. We were rendering white text with no selection box
4627 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
4629 * TextControl.cs(Split): Now updates selection start/end if it points
4630 into a line that's being split. Fixes a FIXME and bug #75258
4632 2005-09-23 Jackson Harper <jackson@ximian.com>
4635 * ListControl.cs: Don't use the path when retrieving binding
4636 managers from the binding context. My bat sense tells me that the
4637 path is only used on insertion.
4639 2005-09-22 Jackson Harper <jackson@ximian.com>
4641 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
4643 2005-09-22 Jackson Harper <jackson@ximian.com>
4645 * Splitter.cs: There are special cursors used for splitting.
4646 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
4648 2005-09-22 Jackson Harper <jackson@ximian.com>
4650 * Splitter.cs: Change the cursor appropriately when the splitter
4651 is moused over, so the user actually knows there is a splitter
4654 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4656 * Label.cs : Fix ToString method to give same output as MS.NET
4658 2005-09-22 Jackson Harper <jackson@ximian.com>
4660 * TreeView.cs: Create the scrollbars when the handle is created
4661 and add them right away, just make them invisble. Also account for
4662 the window being shrunk vertically to the point that the vert
4663 scrollbar needs to be added.
4664 - Remove some 0.5 adjustments to get around anti aliasing issues.
4666 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
4668 * MainMenu.cs: Fixes default value
4669 * MenuItem.cs: Fixes default value
4671 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
4673 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
4675 2005-09-21 Jackson Harper <jackson@ximian.com>
4677 * Control.cs: Don't try to set the border style on the window if
4678 it hasn't been created. When the window is created the border
4681 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4683 * Control.cs (Update): Don't call XplatUI if we don't have a
4686 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4688 * ContainerControl.cs: Instead of throwing an exception, print
4689 a one-time warning about Validate not being implemented
4690 * XplatUIWin32.cs: Removed debug output
4692 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4694 * Control.cs: Only set XplatUI background if we expect the windowing
4695 system to handle the background. This stops controls that draw their
4696 own background from flickering
4698 * XplatUIX11.cs: Support custom visuals and colormaps for window
4699 creation. This allows, amongst other things, using MWF X11 windows
4702 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
4704 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
4705 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
4706 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
4707 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
4708 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
4709 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
4710 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
4711 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
4712 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
4713 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
4714 GridColumnStylesCollection.cs,
4715 IDataGridColumnStyleEditingNotificationService.cs,
4716 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
4717 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
4718 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
4719 TreeNodeCollection.cs, AmbientProperties.cs,
4720 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
4721 DataObject.cs, ErrorProvider.cs, Splitter.cs,
4722 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
4723 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
4724 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
4725 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
4726 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
4727 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
4728 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
4729 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
4730 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
4731 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
4732 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
4733 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
4734 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
4735 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
4736 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
4737 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
4738 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
4739 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
4740 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
4741 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
4742 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
4743 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
4744 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
4745 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
4746 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
4747 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
4748 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
4749 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
4750 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
4751 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
4752 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
4753 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
4754 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
4755 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
4756 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
4758 2005-09-21 Jackson Harper <jackson@ximian.com>
4760 * TreeNode.cs: Call Before/After Expand not Collapse when
4763 2005-09-20 Jackson Harper <jackson@ximian.com>
4765 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
4767 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4771 - Fixes proper storing of subitems
4772 - Fixes not updated items
4774 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4776 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
4777 things if our window handle isn't created yet. Also disabled
4778 debug for TextBoxBase
4780 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
4782 * MenuAPI.cs: Remove filtering of events to allow menu usage
4784 2005-09-20 Miguel de Icaza <miguel@novell.com>
4786 * Cursor.cs: Allow null to be passed to Cursor.Current.
4788 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
4790 * ThemeWin32Classic.cs:
4791 - Change some private methods/fields to protected virtual so that
4792 they can be accessed and overriden in derived classes
4793 - First refactoring of some methods. Derived themes now don't
4794 need to duplicate the complete code from ThemeWin32Classic
4796 - Added nice StatusBar
4797 - Derive from ThemeWin32Classic and not Theme
4798 - Removed duplicate ThemeWin32Classic code
4800 2005-09-20 Miguel de Icaza <miguel@novell.com>
4802 * Control.cs (ControlCollection.Add): If the value null is passed
4803 the control is ignored.
4807 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4809 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
4810 PostQuitMessage state.
4811 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
4813 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
4815 * Application.cs: Our constructor will never get called, move
4816 initialization to fields; fixes bug #75933
4818 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
4821 - Allow files to be selected properly using file name
4823 - Add ability to change diretory (absolute / relative)
4824 using file name combo box.
4826 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
4829 - Fixes Multicolumn listboxes item wrong calculations
4830 - Allows to click when only one item is in the listbox
4831 - Fixes crash when no items using keyboard navigation
4833 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
4835 * ComboBox.cs: Reverted almost everything from the latest patch which
4838 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
4841 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
4843 - When DropDownStyle is Simple, it does not show scrollbar
4844 to the last item of the list.
4845 - When DropDownStyle is Simple, it crashed when the list was
4846 scrolled down with the down cursor key.
4847 - Fixed a bug that when DropDownStyle is DropDownList, the
4848 selected item was not shown.
4849 - The position of the selected item was not preserved when
4850 the next dropdown happened.
4851 * ThemeWin32Classic.cs:
4852 - Items were wrapped at the right end.
4853 * CheckedListBox.cs:
4856 - Items should be fully shown.
4857 - When resizing and vertical scrollbar disappeared, the item
4858 of index 0 should be on the top of the list.
4859 - GetItemRectangle should consider the size of ver. scrollbar
4861 - SizingGrip area should not be allocated when it is not
4863 - Now it reflects MinWidth of the containing panel and
4864 fixed a crash that happens when its width becomes so small.
4866 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4868 * CheckedListBox.cs: Fixes bug 76028
4869 * ListBox.cs: Fixes bug 76028
4871 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
4873 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
4874 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
4876 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
4878 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
4880 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4882 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
4884 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4886 * IRootGridEntry.cs: Added
4887 * PropertyGridCommands.cs: Added
4888 * PropertiesTab.cs: Added missing methods and property
4889 * PropertyGridView.cs: Made class internal
4890 * PropertyGridTextBox.cs: Made class internal
4892 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4894 * MimeIcon.cs: Try to check some other environment variables
4895 if "DESKTOP_SESSION" returns "default"
4897 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4899 * ThemeNice.cs: Corrected background colors (e.g. menus)
4900 * ColorDialog.cs: Use correct background colors for controls
4902 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
4904 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
4906 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
4908 * RichTextBox.cs: Added initial implementation
4909 * lang.cs: Removed. Was accidentally checked in long time ago
4910 * TODO: Removed. Contents were obsolete
4912 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4914 * PropertiesTab.cs : Added
4916 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
4918 * PropertyGrid.cs : Update
4919 * PropertyGridView.cs : Update
4920 * System.Windows.Forms.resx : Added images and strings
4922 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4924 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
4926 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
4928 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
4929 a busy loop right after the Ungrab the X11 display is otherwise
4932 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
4934 * ThemeWin32Classic.cs: Optimise the use of clipping
4936 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
4938 * DataGrid.cs: fixes recursion bug
4940 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
4943 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
4946 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
4948 * ThemeNice.cs: Draw nice ProgressBars
4950 2005-09-01 Miguel de Icaza <miguel@novell.com>
4952 * VScrollBar.cs: Another buglet found by Aaron's tool.
4954 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
4957 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
4960 - Added nicer menu drawing
4964 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4966 * CreateParams.cs (ToString): Made output match MS
4967 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
4968 handle is already created (to avoid forcing window creation)
4969 * XplatUIX11.cs: Set window text to caption after creating window,
4970 in case Text was set before window was created
4971 * Form.cs: Use this.Text instead of a static string as caption
4973 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4975 * NotifyIcon.cs: Don't set the window to visible; this screws
4976 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
4977 OnPaint without a bitmap)
4978 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
4979 happen very often anyway; we could add the check to the WM_PAINT
4980 event generation code
4982 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4984 * NotifyIcon.cs: Fill the icon area with a background color, to
4985 avoid 'residue' when transparent icons are drawn
4987 - Handle whole_window == client_window when destroying windows
4988 - SystrayAdd(): Set client_window to whole_window value to
4989 get mouse and other events passed to NotifyIcon
4991 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
4993 * Form.cs: Set proper default for Opacity property
4995 - ShowSystray(): Don't bother creating telling the OS
4996 about the systray item if no icon is provided
4997 - Now handles WM_NCPAINT message to deal with whole/client window
4999 - Create window as visible to not get caught by Expose optimization
5000 * Hwnd.cs: Removed debug message
5001 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5002 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5003 PaintEventStart/End to use new client argument
5005 - Commented out debug messages
5006 - Switched PaintEventStart/End to use new client argument
5007 * XplatUI.cs: Added client window bool to PaintEventStart()/
5008 PaintEventEnd() calls, to support drawing in non-client areas
5010 - Added client window bool to PaintEventStart()/PaintEventEnd()
5011 calls, to support drawing in non-client areas
5012 - Added conditional compile to allow using MWF BeginInvoke
5015 - Added some conditional debug output
5016 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5017 whole/client window split
5018 - Implemented handling of client argument to PaintEventStart()/End()
5020 - Throw exception if BeginInvoke() is called and the window handle
5021 or one of the window's parent handles is not created
5022 - Added conditional compile to allow using MWF BeginInvoke on
5024 - get_Parent(): Only sets parent if handle is created. This avoids
5025 forcing window handle creation when parent is set.
5026 - Now fires Layout and Parent changed events in proper order
5027 - Switched to use Handle instead of window.Handle for Z-Order setting,
5028 the get_Parent() patch above causes us to possibly get null for 'window'
5029 - Implemented handling of client argument to PaintEventStart()/End()
5030 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5032 - Now sends a Refresh() to all child windows when Refresh() is called
5034 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5036 * Form.cs: Added (non-functional) Opacity property
5037 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5039 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5040 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5041 use export MONO_THEME=nice to activate it.
5042 Currently supported controls:
5046 - TabControl (TabAlignment.Top only, other will follow)
5047 * ThemeEngine.cs: Add theme nice
5048 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5051 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5053 * Splitter.cs: Resize docked control and its neighbor.
5055 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5056 -- Making Windows with Menus layout correctly --
5057 * Form.cs : The first leg of the fix
5058 Menu setter - adjust Client Size as needed to make space for the menu
5059 SetClientSizeCore - doesn't call base version to be able to pass the
5060 menu handle to XplatUI.CalculateWindowRect
5061 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5062 * XplatUIX11.cs: The critical second leg of the fix
5063 GetWindowPos needs to use a recalculated client_rect
5064 so that resizing the window doesn't break layout of child controls.
5065 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5068 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5070 * Label.cs: Now properly recalculates width and height on Font and Text
5071 changes if AutoSize is set
5073 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5074 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5076 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
5078 * ImageList.cs: Makes ToString method compatible with MS
5080 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
5082 * MenuAPI.cs: fixes bug 75716
5084 2005-08-11 Umadevi S <sumadevi@novell.com>
5085 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5087 2005-08-11 Umadevi S <sumadevi@novell.com>
5088 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5090 2005-08-10 Umadevi S <sumadevi@novell.com>
5091 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5093 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
5095 * Menu.cs: fixes bug 75700
5096 * MenuAPI.cs: fixes navigation issues
5098 2005-08-09 Umadevi S <sumadevi@novell.com>
5099 * CheckedListBox.cs - simple fix for GetItemChecked.
5101 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
5103 * ComboBox.cs: Serveral fixes
5104 * ListBox.cs: Serveral fixes
5106 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5108 * ComboBox.cs: Fixes FindString methods and GetItemHeight
5109 * ListBox.cs: Fixes FindString methods
5111 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5113 * DataGrid.cs: fixes bugs exposed by new tests
5115 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5117 * Mime.cs: Compile Mono assembly references only if compiling
5118 with Mono (Allows to build with VS.Net again)
5120 2005-07-28 Marek Safar <marek.safar@seznam.cz>
5122 * Control.cs (PaintControlBackground): Draw background image
5124 (CheckForIllegalCrossThreadCalls): Stubbed.
5126 * Form.cs (OnCreateControl): Center when should be centered.
5128 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5130 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
5132 * Binding.cs: Binding to properties should be case unsensitive
5134 2005-07-18 vlindos@nucleusys.com
5136 * DataGrid.cs: fixes setmember order
5138 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
5140 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5141 * FileDialog.cs: FileDialog is now resizable and uses the new
5144 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
5146 * DataGridTextBoxColumn.cs: default value
5147 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5148 * GridTableStylesCollection.cs: fixes checking MappingName
5149 * DataGridDrawingLogic.cs: fixes drawing logic issues
5150 * DataSourceHelper.cs: rewritten to make compatible with more data sources
5151 * DataGrid.cs: fixes
5153 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
5155 * MimeGenerated.cs: Use case sensitive comparer for
5156 NameValueCollections
5158 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
5160 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
5161 * ThemeWin32Classic.cs: bug fixes, code refactoring
5162 * DataGridDrawingLogic.cs: bug fixes, code refactoring
5163 * DataGrid.cs: bug fixes, code refactoring
5164 * DataGridTextBox.cs: bug fixes, code refactoring
5165 * DataGridColumnStyle.cs: bug fixes, code refactoring
5166 * Theme.cs: bug fixes, code refactoring
5168 2005-07-01 Peter Bartok <pbartok@novell.com>
5170 * TextControl.cs: Quick fix for the reported crash on ColorDialog
5171 and other text box usage
5173 2005-07-01 Jackson Harper <jackson@ximian.com>
5175 * TabControl.cs: Make sure the bottom of the tab covers the pages
5178 2005-06-30 Peter Bartok <pbartok@novell.com>
5180 * Form.cs (ShowDialog): Assign owner of the dialog
5181 * TextBoxBase.cs: Always refresh caret size when deleting, caret
5182 might have been moved to a tag with different height
5184 2005-06-30 Jackson Harper <jackson@ximian.com>
5186 * Form.cs: Don't create an infinite loop when setting focus
5187 * MenuItem.cs: Don't dirty the parents if we don't have any
5189 2005-06-29 Ben Maurer <bmaurer@ximian.com>
5191 * LibSupport.cs: Rename
5193 2005-06-29 Peter Bartok <pbartok@novell.com>
5195 * TextBoxBase.cs: Re-align caret after deleting a character
5197 - DeleteChars(): Ensure that tag covers the provided position
5198 - StreamLine(): Drop reference for dropped tag
5200 2005-06-29 Peter Bartok <pbartok@novell.com>
5203 - Selections now work properly, anchoring at the initial location
5204 and properly extending in either direction (SetSelectionToCaret(),
5205 SetSelectionStart() and SetSelectionEnd())
5206 - No longer redraws the whole control on selection change, now
5207 calculates delta between previous and new selection and only
5208 invalidates/redraws that area
5209 - Fixed FindPos() math off-by-one errors
5210 - Changed DeleteChars() to verify the provided tag covers the
5211 provided position, selections may have a tag that doesn't cover
5212 the position if the selection is at a tag border
5213 - Fixed off-by-one errors in DeleteChars()
5214 - Added missing streamlining check in DeleteChars() to remove
5216 - Implemented Invalidate() method, now properly calculates exposures
5217 between two given lines/positions
5218 - Implemented SetSelection()
5219 - Obsoleted and removed FixupSelection()
5220 - Improved RecalculateDocument() logic, removing code duplication
5222 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5224 * LibSupport.cs: changes to match different input/output arguments.
5226 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5228 * LibSupport.cs: added libsupport.so init routine.
5230 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
5232 * ControlBindingsCollection.cs
5233 - Throws an exception on null datasource when adding
5234 - Checks for duplicated bindings when adding
5236 2005-06-28 Jackson Harper <jackson@ximian.com>
5238 * TreeView.cs (OnKeyDown): Support left and right properly
5239 (navigates as well as expanding and collapsing.
5240 - Add support for Multiply, this expands all the selected nodes
5244 2005-06-28 Jackson Harper <jackson@ximian.com>
5246 * TreeView.cs: Implement keyboard navigation, currently supports,
5247 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
5248 support for toggling checkboxes with the space bar.
5250 2005-06-28 Jackson Harper <jackson@ximian.com>
5252 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
5255 2005-06-28 Jackson Harper <jackson@ximian.com>
5257 * TreeView.cs: Add missing event.
5259 2005-06-27 Peter Bartok <pbartok@novell.com>
5262 - Made line ending size configurable (now allows for counting
5263 lineendings as \n or \r\n)
5264 - Added margin to viewport to keep caret visible on right side
5265 - Fixed translation routines for line/pos to documentpos to consider
5266 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
5267 - Fixed some line-endings to be unix style
5268 - Fixed Document.FormatText to perform it's calculations 1-based
5269 - Added descriptions for a few methods that might otherwise get
5271 - Added NOTE section with some basic conventions to remember at
5273 - Major fixup for RichTextBox selection drawing:
5274 * Fixed crashes when multiple tags on a single line were selected
5275 * fixed selection box drawing not overlaying text
5276 * fixed bogus offset calculation for tags not starting at index 1
5277 * Switched behaviour from using multiple Substrings of a
5278 StringBuilder.ToString() to using multiple
5279 StringBuilder.ToString(start, length) statements, hoping this is
5280 faster (kept original version commented out in the code, in case
5281 original version was faster)
5282 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
5284 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
5287 2005-06-27 Jackson Harper <jackson@ximian.com>
5289 * TabControl.cs: Move to the left and right with the arrow
5290 keys. These keys don't cycle beyond first and last like
5291 tab. Refresh all the tabs when scrolling them to the left or
5294 2005-06-27 Jackson Harper <jackson@ximian.com>
5297 - ToString: Added method
5298 - CreateParams: Remove TODO and comment
5299 - OnKeyDown: Cycle through bounds properly.
5300 - SelectedIndex: Scroll to the right or left if we need to
5301 display the newly selected tab.
5303 2005-06-23 Jackson Harper <jackson@ximian.com>
5305 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
5308 2005-06-23 Jackson Harper <jackson@ximian.com>
5310 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
5311 CTRL-SHIFT-TAB, and HOME, END are there any others?
5313 2005-06-23 Jackson Harper <jackson@ximian.com>
5315 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
5317 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5319 * DataGridTextBoxColumn.cs: fixes and enhancements
5320 * ThemeWin32Classic.cs: fixes and enhancements
5321 * DataGridBoolColumn.cs: fixes and enhancements
5322 * DataGridDrawingLogic.cs: fixes and enhancements
5323 * CurrencyManager.cs: fixes and enhancements
5324 * DataGrid.cs: fixes and enhancements
5325 * DataGridColumnStyle.cs: fixes and enhancements
5327 2005-06-22 Jackson Harper <jackson@ximian.com>
5329 * TabControl.cs: Add some missing methods that just call into the
5330 base. Make the TabPageCollection's IList interface behave in the
5331 same manner as the MS implementation.
5333 2005-06-22 Peter Bartok <pbartok@novell.com>
5335 * TextControl.cs: Added sanity check
5337 - Fixed wrapping behaviour, don't set wrap on single line controls
5338 (this fixes the breakage of colordialog introduced in an earlier
5340 - Added rudimentary support for autoscrolling right-aligned controls
5341 (still needs fixing, also, center alignment scroll is missing)
5343 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
5345 * ScrollBar.cs: Fixes thumbpos on Maximum values
5347 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
5349 * PropertyGridView.cs: Pass context information to UITypeEditors
5351 2005-06-21 Peter Bartok <pbartok@novell.com>
5354 - Now calling PositionCaret with absolute space coordinates
5355 - Enabled vertical scrolling
5356 - Better tracking of scrollbar changes, tied into WidthChange
5358 - Improved cursor tracking
5359 - Removed debug output
5361 - PositionCaret coordinates are now works in absolute space, not
5363 - Improved tracking of document size
5364 - Added events for width and height changes
5366 2005-06-21 Peter Bartok <pbartok@novell.com>
5368 * Form.cs: Set focus to active control when form is activated
5370 - Added word-wrap functionality to RecalculateLine()
5371 - Added some short function descriptions for VS.Net to aid in
5372 writing dependent controls
5373 - Added Caret property, returning the current coords of the caret
5374 - Added ViewPortWidth and ViewPortHeight properties
5375 - Added Wrap property
5376 - Added CaretMoved event
5377 - Removed some old debug code
5378 - Split() can now create soft splits
5379 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
5380 - Added method to format existing text
5381 - Fixed size/alignment calculations to use viewport
5382 - RecalculateDocument now can handle changing line-numbers while
5386 - Added some wrap logic, we don't wrap if alignment is not left
5387 - Added casts for scrollbar var, base class switched types to
5388 also support RichTextBoxA
5389 - Implemented handling of scrollbar visibility flags
5392 - Switched scrollbars type to RichTextBoxScrollBars to support
5394 - Added tracking of canvas width/height
5395 - Switched scrollbars to be not selectable (to keep focus on text)
5396 - Added central CalculateDocument() method to handle all redraw
5398 - Added ReadOnly support
5399 - Added WordWrap support
5400 - Fixed handling of Enter key (we now treat it as a DialogKey)
5401 - Fixed caret positioning when h or v scroll is not zero
5402 - Fixed placing/generation of vertical scrollbar
5403 - Added CalculateScrollBars() method to allow updating scrollbar
5404 limits and visibility
5405 - Fixed handling of horizontal scroll
5406 - Added handling of vertical scroll
5407 - Implemented auto-'jump' when caret moves to close to a left or
5408 right border and there is text to be scrolled into view (currently
5409 there's the potential for a stack overflow, until a bug in
5412 2005-06-21 Geoff Norton <gnorton@customerdna.com>
5414 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
5416 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
5420 - return application/x-zerosize for files with size zero
5421 (if no extension pattern matches).
5422 - check matches collection for strings too.
5423 - return only the first mime type if the name value
5424 collection has more than one mime type.
5426 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
5428 * PropertyGrid.cs: Cleaned up some TODOs
5429 * PropertyGridView.cs: Added support for UITypeEditors
5431 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5433 * DataGrid.cs: clears cached value
5435 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
5437 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
5438 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
5439 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
5440 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
5442 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
5444 * ThemeWin32Classic.cs: fixes colour
5446 2005-06-15 Peter Bartok <pbartok@novell.com>
5448 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
5449 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
5450 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
5451 * Control.cs: Added some MWFCategory and MWFDescription attributes
5452 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
5454 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
5456 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
5459 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
5461 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
5462 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
5463 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
5464 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
5465 * DataGrid.cs: default datagrid settings for Default Styles, fixes
5466 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
5468 2005-06-13 Jackson Harper <jackson@ximian.com>
5470 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
5471 isn't printed when the user enables dropping. (X11 does accept
5474 2005-06-13 Jackson Harper <jackson@ximian.com>
5476 * TreeView.cs: Remove some TODOS.
5478 2005-06-13 Jackson Harper <jackson@ximian.com>
5480 * Form.cs: Hook into the mdi framework.
5481 * MdiClient.cs: Use the base control collections add method so
5482 parents get setup correctly. Set the default back colour and dock
5484 * MdiChildContext.cs: New class, this bad actor handles an
5485 instance of an MDI window. Right now there is only basic
5486 support. You can drag, close, and resize windows. Minimize and
5487 Maximize are partially implemented.
5489 2005-06-13 Jackson Harper <jackson@ximian.com>
5491 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
5492 freaky when both vals are negative. NOTE: There are probably other
5493 places in XplatUIX11 that this needs to be done.
5495 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
5497 * DataGrid.cs: implement missing methods, move KeyboardNavigation
5498 * DataGridColumnStyle.cs: fixes signature
5500 2005-06-12 Jackson Harper <jackson@ximian.com>
5502 * XplatUIX11.cs: Use sizing cursors similar to the ones on
5505 2005-06-11 Jackson Harper <jackson@ximian.com>
5507 * StatusBarPanel.cs: Signature cleanups. Implement
5510 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
5512 * DataGridTextBoxColumn.cs: Honors aligment
5513 * GridColumnStylesCollection.cs: Contains is case unsensitive
5514 * GridTableStylesCollection.cs: several fixes
5515 * DataGridTableStyle.cs: default column creation
5516 * DataGridDrawingLogic.cs: fixes
5517 * CurrencyManager.cs: ListName property
5518 * DataGrid.cs: multiple styles support
5519 * DataGridColumnStyle.cs: fixes
5522 2005-06-10 Peter Bartok <pbartok@novell.com>
5524 * Control.cs(Select): Moved SetFocus call to avoid potential
5525 loops if controls change the active control when getting focus
5526 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
5529 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
5531 * ImageListConverter.cs: Implemented
5533 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5535 * MonthCalendar.cs: Wired in NumericUpDown control for year
5537 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
5539 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
5540 DoubleClick events, since they are not meant to be fired.
5542 2005-06-09 Peter Bartok <pbartok@novell.com>
5544 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
5545 Jonathan's standalone controls into MWF, implemented missing
5546 events, attributes and methods; added xxxAccessible classes
5547 * AccessibleObject.cs: Made fields internal so other classes
5548 can change them if needed
5550 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
5552 * UpDownBase.cs: Complete implementation
5553 * NumericUpDown.cs: Complete implementation
5554 * DomainUpDown.cs: Complete implementation
5556 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
5558 * DataGridTextBoxColumn.cs: drawing fixes
5559 * DataGridCell.cs: fixes ToString method to match MSNet
5560 * DataGridTableStyle.cs: fixes
5561 * DataGridBoolColumn.cs: fixes, drawing
5562 * DataGridDrawingLogic.cs: fixes, new methods
5563 * DataGridTextBox.cs: Keyboard and fixes
5565 - Keyboard navigation
5567 - Row selection (single, multiple, deletion, etc)
5570 2005-06-07 Jackson Harper <jackson@ximian.com>
5572 * ThemeWin32Classic.cs: Clear the background area when drawing
5575 2005-06-06 Peter Bartok <pbartok@novell.com>
5577 * ImageListStreamer.cs: Fixed signature for GetData
5578 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
5580 - Added missing ChildAccessibleObject class
5581 - Added missing OnXXXFocus overrides, switched to using those
5582 instead of the event handler
5584 - Added Parent property for ControlAccessibleObject
5587 - Added ResetBindings()
5588 * ListBindingConverter.cs: Implemented some methods
5589 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
5590 * ImageList.cs: Implemented basic handle scheme, removed TODOs
5591 * ContainerControl.cs: Fixed signature, now subscribing to the
5592 ControlRemoved event instead of overriding the handler, LAMESPEC
5593 * CurrencyManager.cs: Added missing attribute
5594 * MonthCalendar.cs: Added missing properties
5596 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5598 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
5600 2005-06-06 Gaurav Vaish and Ankit Jain
5602 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
5603 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
5605 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
5607 * Control.cs: fixes CreateParams Width / Height.
5609 2005-06-05 Peter Bartok <pbartok@novell.com>
5611 * Win32DnD.cs: Removed compilation warnings
5613 2005-06-05 Peter Bartok <pbartok@novell.com>
5615 * Control.cs (CreateParams): Since we don't know if one of the
5616 properties we use is overridden, lets make sure if we fail accessing
5617 we continue with a backup plan
5619 2005-06-05 Peter Bartok <pbartok@novell.com>
5622 - Removed debug output
5623 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
5625 - Plugged resource leak
5626 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
5629 2005-06-05 Peter Bartok <pbartok@novell.com>
5631 * XplatUIWin32.cs: Removed DnD code
5632 * Win32DnD.cs: Implemented drop source and drop target functionality
5634 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5636 * UpDownBase.cs: remove duplicate addition of event, enable some code
5637 that was commented out.
5638 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
5639 Validate input when a key is pressed. It works fine now for every
5640 combination of Hexadecimal. Only missing some drawing love when sharing
5641 space with other controls.
5643 2005-06-04 Peter Bartok <pbartok@novell.com>
5646 - We need to pass a window for DragDrop, so enable callback events
5647 - Added DnD callback events when being a DragSource
5648 * XplatUI.cs (StartDrag): Added window handle argument
5649 * XplatUIDriver.cs (StartDrag): Added window handle argument
5650 * QueryContinueDragEventArgs: Made fields internally accessible so
5651 drivers can set them
5652 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
5655 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
5657 * DataGridTextBoxColumn.cs: column text editing
5658 * DataGridTableStyle.cs: Respect columns styles created by the user
5659 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
5660 * DataGridBoolColumn.cs: bool column editing
5661 * DataGrid.cs: fixes to scrolling, properties, etc
5662 * DataGridTextBox.cs: handle keyboard
5663 * DataGridColumnStyle.cs: fixes
5665 2005-06-02 Jackson Harper <jackson@ximian.com>
5667 * ImageListStreamer.cs: Somewhat broken implementation of
5668 GetObjectData. The RLE needs some work to match MS properly.
5670 2005-06-02 Jackson Harper <jackson@ximian.com>
5672 * X11Dnd.cs: Attempting to keep at least one file in MWF
5675 2005-06-02 Peter Bartok <pbartok@novell.com>
5677 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
5680 2005-06-02 Peter Bartok <pbartok@novell.com>
5682 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
5683 * XplatUI.cs: Added DoDragDrop() method
5684 * XplatUIDriver.cs: Added DoDragDrop() method
5686 2005-06-02 Jackson Harper <jackson@ximian.com>
5688 * Splitter.cs: Implement BorderStyle.
5690 2005-06-02 Jackson Harper <jackson@ximian.com>
5692 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
5693 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
5696 2005-06-02 Peter Bartok <pbartok@novell.com>
5700 - Fixed broken insertion code for SetData, now also
5701 overwrites any existing entry of the same format name
5702 * Hwnd.cs: Added list of pointers that automatically gets
5703 freed when the window is disposed
5704 * XplatUI.cs: Call driver initialization method when loading
5707 - OnDragLeave takes EventArgs, not DragEventArgs
5708 - Added setting of WS_EX_ACCEPTFILES style when dropping is
5710 - Forces style update when drop state changes
5711 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
5712 not perfect since we cannot (yet) call the IDataObject.GetData()
5713 method, we keep getting 0x80004005 error, dunno why)
5715 2005-06-02 Peter Bartok <pbartok@novell.com>
5717 * DragEventArgs.cs: Make fields internal so we can cache the
5718 object and re-set the fields from XplatUI
5720 2005-06-02 Jackson Harper <jackson@ximian.com>
5722 * Control.cs: Add some internal methods so the DnD subsystem can
5723 raise DnD events. Also call into the driver when AllowDrop is set.
5725 * XplatUIDriver.cs: New method for setting whether or not a window
5726 is allowed to accept drag and drop messages.
5728 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
5730 * ScrollBar.cs: Make sure that values sent in Scroll events
5731 are always between Maximum and Minimum.
5733 2005-06-01 Marek Safar <marek.safar@seznam.cz>
5735 * Menu.cs: Call MenuChanged when menuitem visibility has been
5737 * MenuItem.cs: Rebuild menu when item is (not) visible.
5738 * MainMenu.cs: MainMenu has special MenuChanged.
5739 * Theme.cs: Caption and FrameBorderSize are not fixed.
5740 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
5741 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
5743 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
5744 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
5746 2005-05-30 Jackson Harper <jackson@ximian.com>
5748 * DataFormat.cs: We can't statically initialize this stuff because
5749 it calls into the xplatui and could create a loop. So we lazy init
5752 2005-05-28 Jackson Harper <jackson@ximian.com>
5754 * Control.cs: Proper implementation of Product(Name/Version).
5756 2005-05-27 Jackson Harper <jackson@ximian.com>
5758 * DataObject.cs: Dont crash if no data is found.
5760 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5761 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
5762 as per status page, guessing it should be set to true
5764 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
5766 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
5767 * DataGridTableStyle.cs: set proper formatting text, def header text
5768 * ThemeWin32Classic.cs: new themable paramaters
5769 * DataGridBoolColumn.cs: paint check box, get data, fixes
5770 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
5771 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
5772 * DataGridColumnStyle.cs: fixes
5773 * Theme.cs: new themable paramaters
5775 2005-05-26 Peter Bartok <pbartok@novell.com>
5777 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
5779 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5780 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
5782 2005-05-24 Peter Bartok <pbartok@novell.com>
5784 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
5785 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
5786 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
5787 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
5788 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
5789 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
5790 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
5791 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
5792 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
5793 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
5794 missing attributes, etc
5795 * DataGridPreferredColumnWidthTypeConverter.cs: Added
5797 2005-05-24 Peter Bartok <pbartok@novell.com>
5799 * Help.cs: Added, implemented trivial functions, throws up MessageBox
5800 when user tries to get help
5801 * DataObject.cs, DataFormats.cs, LinkArea.cs,
5802 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
5803 to suppress warnings
5804 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
5805 avoid unreachable code warning
5807 2005-05-20 Peter Bartok <pbartok@novell.com>
5809 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
5811 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5813 * DataGridTextBoxColumn.cs: Basic painting methods
5814 * DataGridTableStyle.cs: Set table style in the column
5815 * ThemeWin32Classic.cs: Use Theme for colors
5816 * DataGridDrawingLogic.cs: Implement more drawing
5817 * DataGrid.cs: drawing, theming, enhacements, fixes
5818 * DataGridColumnStyle.cs: fixes, drawing
5819 * Theme.cs: theming for Datagrid
5821 2005-05-20 Peter Bartok <pbartok@novell.com>
5823 * Cursor.cs: Implemented GetObjectData() method
5825 2005-05-20 Peter Bartok <pbartok@novell.com>
5827 * Cursors.cs: Added setting of cursor name
5829 - Implemented constructors
5830 - Implemented Draw and DrawStretched
5831 - Implemented Current property
5832 - Implemented == and != operators
5833 - Implemented Dispose()
5834 - Implemented ToString
5835 - Added missing attributes
5837 - Added missing reset for OverrideCursor when DoEvents is called
5838 - Fixed creation of cursor, logic was wrong
5840 - Added missing reset for OverrideCursor when DoEvents is called
5841 - Fixed creation of cursor, bit arrays were swapped
5842 * Clipboard.cs: Removed obsolete MonoTODO attribute
5844 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5846 * ComboBox.cs: fixes OnSelectedItemChanged
5847 * ControlBindingsCollection.cs: fixes item range check
5849 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
5852 - Calc preferred height properly
5853 - Implement missing properties
5855 * NumericUpDown.cs: Implement missing events
5857 2005-05-19 Jackson Harper <jackson@ximian.com>
5859 * TabControl.cs: New method that resizes the tab pages before
5860 redrawing them. This as needed as the control is double buffered
5861 and sizing will not be recalculated unless ResizeTabPages is
5863 * TabPage.cs: Set base.Text instead of Text in the constructor so
5864 that UpdateOwner does not get called. Use the new Redraw method of
5865 TabControl instead of Refresh so the sizing is recalculated.
5866 * ThemeWin32Classic.cs: Draw the text for button tabs.
5868 2005-05-19 Jackson Harper <jackson@ximian.com>
5870 * Control.cs: Paint control background images. Fix typo where
5871 PaintControlBackground was not getting called correctly.
5873 2005-05-19 Peter Bartok <pbartok@novell.com>
5875 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
5876 I can investigate, apparently I broke FileDialog
5878 2005-05-19 Marek Safar <marek.safar@seznam.cz>
5880 * AxHost.cs: Some simple properties.
5881 * Control.cs: window must be accessible after ctor.
5882 * Form.cs: Added TransparencyKey property.
5883 * TextBoxBase.cs: Implemented Clear. Text property can be null.
5884 * XplatUIWin32.cs: SetBorderStyle implemented.
5886 2005-05-18 Peter Bartok <pbartok@novell.com>
5888 * DataObject.cs: Entries are not global but particular to the
5889 DataObject, now it behaves that way
5890 * XplatUIWin32.cs: Implemented Clipboard methods
5891 * Clipboard.cs: Implemented
5892 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
5893 * XplatUIOSX.cs: Updated to final clipboard prototypes
5894 * XplatUIX11.cs: Implemented Clipboard methods
5895 * XplatUIDriver.cs: Updated to final clipboard prototypes
5896 * XplatUIStructs.cs:
5897 - Added BITMAPINFOHEADER struct
5898 - Added ClipboardFormats enum
5900 - Added ClipboardStruct
5901 - Added Atom enum items for clipboard types
5902 - Fixed atom types for Selection event structures
5904 - Added internal properties and methods for drivers to enumerate
5906 - Switched initialization method to allow drivers to assign their
5907 own IDs even for the MS predefined clipboard IDs
5908 * XplatUI.cs: Updated to final clipboard interface
5910 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5911 * PropertyGridView.cs: Fixed compiler warnings.
5913 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
5914 * PropertyGrid.cs: Added some event calls
5915 * PropertyGridView.cs: Change drawing code to use double buffering
5916 * PropertyGridTextBox.cs: Changed Text property name
5917 * GridItem.cs: Added Bounds property.
5918 * GridEntry.cs: Added Bounds property.
5920 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
5922 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
5923 since GetType() may not return the correct type if the object is
5926 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
5928 * TreeNodeCollection.cs: fixes get/set item ranges
5930 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5932 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
5934 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
5936 * ComboBox.cs: Fix item range comparation
5937 * ListView.cs: Fix item range comparation
5939 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
5942 - Clear example panel when OnPaint is called
5943 - Better solution for displaying the example panel text
5944 - Select default indexes in the ListBoxes
5946 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5948 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
5950 2005-05-11 Peter Bartok <pbartok@novell.com>
5952 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
5953 * SelectionRangeConverter.cs: Implemented
5954 * PropertyGrid.cs: Fixed attribute value
5956 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
5957 - Added Sebastien Pouliot's CAS Stack Propagation fixes
5958 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
5959 that's common to all drivers. First methods to go there are
5960 Sebastien Pouliot's CAS Stack Propagation helper methods
5961 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
5962 Sebastien Pouliot for CAS Stack Propagation
5964 2005-05-11 Geoff Norton <gnorton@customerdna.com>
5967 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
5969 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
5971 * DataGridTextBoxColumn.cs: fixed some members
5972 * GridColumnStylesCollection.cs: indexed column is case insensitive
5973 * DataGridTableStyle.cs: fixes
5974 * ThemeWin32Classic.cs: add new theme parameter
5975 * Theme.cs: add new theme parameter
5976 * DataGridDrawingLogic.cs: Datagrid's drawing logic
5977 * DataGrid.cs: fixes, new internal properties, etc.
5978 * DataGridColumnStyle.cs: allows to set grid value
5981 2005-05-10 Peter Bartok <pbartok@novell.com>
5983 * AccessibleObject.cs:
5984 - Removed MonoTODO attribute on help, method is correct
5985 - Fixed Bounds property
5986 * AxHost.cs: Moved MonoTODO
5987 * ButtonBase.cs: Now setting AccessibleObject properties
5988 * RadioButton.cs: Setting proper AccessibleObject role
5989 * CheckBox.cs: Setting proper AccessibleObject role
5990 * ControlBindingsCollection.cs: Added properties, methods and attributes
5991 * DataFormats.cs: Fixed awkward internal API, and changed to enable
5992 userdefined DataFormats.Format items as well
5993 * ListControl.cs: Removed data_member from the public eye
5994 * OpenFileDialog.cs:
5996 - Added missing attributes
5997 * SaveFileDialog.cs: Added missing attributes
5998 * ImageListStreamer.cs: Fixed code that caused warnings
5999 * LinkLabel.cs: Removed unreachable code
6000 * TreeView.cs: Fixed code that caused warnings
6001 * PropertyGridView.cs: Fixed code that caused warnings
6002 * GridColumnStylesCollection.cs: Added missing attributes
6003 * GridTableStylesCollection: Added missing attribute
6004 * PropertyManager: Added .ctor
6005 * SecurityIDType: Added
6006 * DataObject.cs: Implemented class
6007 * LinkArea.cs: Added missing attribute
6009 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6011 * RadioButton.cs: call base method to allow to fire OnClick event
6012 * UpDownBase.cs: OnMouseUp call base method
6013 * CheckedListBox.cs: call base method before returning
6014 * TrackBar.cs: call base method before returning
6017 2005-05-10 Peter Bartok <pbartok@novell.com>
6019 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6022 2005-05-10 Peter Bartok <pbartok@novell.com>
6024 * DataFormats.cs: Implemented
6025 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6026 XplatUIX11.cs: Added Clipboard APIs
6027 * XplatUIWin32.cs: Implemented Clipboard APIs
6028 * FolderBrowserDialog.cs: Added missing event, attributes
6030 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6032 * CheckBox.cs: call base method to allow to fire OnClick event
6034 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6036 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6038 2005-05-06 Peter Bartok <pbartok@novell.com>
6040 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6041 * Screen.cs: Implemented
6042 * HelpNavigator.cs: Added
6043 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6045 * HelpProvider.cs: Implemented all we can do until we have a CHM
6046 help library (which means that "What's This" does work now)
6048 2005-05-06 Jackson Harper <jackson@ximian.com>
6050 * XplatUIX11.cs: Fix waking up the main loop.
6052 2005-05-05 Peter Bartok <pbartok@novell.com>
6054 * XplatUI.cs: Updated revision
6055 * Form.cs: Removed enless loop
6056 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6057 * Label.cs (OnPaint): Added call to base.OnPaint()
6058 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6059 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6060 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6062 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6063 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6064 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6065 reuse of ToolTipWindow by other controls
6066 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6067 * XplatUIX11.cs: Now clipping drawing area (experimental)
6068 * PictureBox.cs: Moved base.OnPaint() call to end of method
6069 * Theme.cs: Fixed ToolTip abstracts to match new format
6070 * ErrorProvider.cs: Implemented
6072 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
6074 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6078 - Implements LinkBehavior
6081 2005-05-03 Jackson Harper <jackson@ximian.com>
6083 * ListView.cs: Calculate the scrollbar positioning on resize and
6084 paint, so they get put in the correct place.
6086 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6088 * ColorDialogs.cs: The small color panels are now handled by
6089 SmallColorControl. This fixes drawing of the focus rectangle
6090 and adds a 3D border.
6092 2005-05-03 Peter Bartok <pbartok@novell.com>
6094 * Control.cs: Modified version of Jonathan Chamber's fix for
6097 2005-05-03 Jackson Harper <jackson@ximian.com>
6099 * ListView.cs: Remove redraw variable. Control now handles whether
6100 or not a redraw needs to be done, and will only raise the paint
6101 event if redrawing is needed.
6103 2005-05-03 Jackson Harper <jackson@ximian.com>
6105 * Splitter.cs: No decorations for the splitter form. Cache the
6108 2005-05-03 Jackson Harper <jackson@ximian.com>
6110 * TreeView.cs: Use dashed lines to connect nodes. Use the
6111 ControlPaint method for drawing the focus rect instead of doing
6114 2005-05-02 Peter Bartok <pbartok@novell.com>
6116 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6118 2005-04-29 Jackson Harper <jackson@ximian.com>
6120 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6121 entire image buffer. Just clear the clipping rectangle.
6123 2005-04-29 Jackson Harper <jackson@ximian.com>
6125 * ThemeWin32Classic.cs: Don't draw list view items that are
6126 outside the clipping rectangle.
6128 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
6130 * ListBox.cs: added horizontal item scroll
6132 2005-04-29 Jackson Harper <jackson@ximian.com>
6134 * ThemeWin32Classic.cs: Remove some old debug code that was
6135 causing flicker with the new double buffering code.
6137 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
6139 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6140 behave like combobox and comboboxlist (still not sure if this is
6143 2005-04-28 Jackson Harper <jackson@ximian.com>
6145 * ThemeWin32Classic.cs: Don't fill the middle of progress
6146 bars. This fills areas outside of the clip bounds that don't need
6149 2005-04-28 Jackson Harper <jackson@ximian.com>
6151 * Control.cs: Don't expose functionality to touch the image buffers.
6153 * ListView.cs: We do not need to (and no longer can) manipulate
6154 the image buffers directly. All of this is handled by Control.
6156 2005-04-28 Peter Bartok <pbartok@novell.com>
6158 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6159 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6160 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6162 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6165 - Adjust control's height for non-simple comboboxes (bug fix)
6167 * MenuAPI.cs: remove unused var
6168 * ScrollBar.cs: remove unsed var
6170 * ListBox.cs: unselect items when clearing
6172 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6174 * ListControl.cs: honors OnPositionChanged and default Selected Item
6175 * ListBox.cs: unselect items when clearing
6177 2005-04-27 Jackson Harper <jackson@ximian.com>
6179 * X11Keyboard.cs: Initialize a default keyboard and give a warning
6180 if a "correct" keyboard is not found. This will make us not crash,
6181 but might give some users bad keyboard layouts...seems to be the
6182 same thing rewind does.
6184 2005-04-27 Jackson Harper <jackson@ximian.com>
6186 * BindingManagerBase.cs: Attach the current/position changed
6187 handlers to their respective events.
6189 2005-04-27 Jackson Harper <jackson@ximian.com>
6191 * Control.cs: Make sure that the first WM_PAINT does a full draw,
6193 * ThemeWin32Classic.cs: Don't fill the background for picture
6194 boxes. This could overright user drawing.
6195 * ComboBox.cs: Just fill the clipping rect not the entire client
6196 rect when drawing the background. This prevents pieces of the
6197 image buffer from getting overwritten and is theoretically faster.
6199 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
6201 * ComboBox.cs: Databinding support fixes, fire missing events
6202 * ListControl.cs: implement missing methods and properties, fixes
6203 * ThemeWin32Classic.cs: Databiding support on Drawing
6204 * CheckedListBox.cs: Databinding support fixes, fire missing events
6205 * ListBox.cs: Databinding support fixes, fire missing events
6207 2005-04-25 Peter Bartok <pbartok@novell.com>
6209 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
6211 2005-04-25 Jackson Harper <jackson@ximian.com>
6213 * TreeView.cs: Use the horizontal scrollbars height not width when
6214 determining how much of the client area is available.
6216 2005-04-25 Jackson Harper <jackson@ximian.com>
6218 * Control.cs: Double buffering is handled differently now. As per
6219 the spec, the extra buffer is created in the WM_PAINT message and
6220 passed down to the control's drawing code.
6228 * PropertyGridView.cs:
6240 * DateTimePicker.cs:
6242 * TreeView.cs: Update to new double buffering system.
6243 * MonthCalendar.cs: Uncomment block, as Capture is now
6244 working. Update to new double buffering
6245 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
6246 * PaintEventArgs.cs: New internal method allows us to set the
6247 graphics object. This is used for double buffering.
6248 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
6249 rectangle. The internal paint_area var has been removed from
6250 StatusBar. The clipping rect should be used instead.
6251 * Theme.cs: Give the PictureBox drawing method a clipping rect.
6252 * TabPage.cs: The RefreshTabs method was removed, so just call the
6253 tab controls Refresh method now.
6254 * TabControl.cs: Update to new double buffering. Make sure the
6255 handle is created before sizing the tab pages, otherwise we will
6256 get stuck in a loop.
6258 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
6260 * LinkLabel.cs: Fix typo, bug #74719; patch
6261 from Borja Sanchez Zamorano
6263 2005-04-22 Jackson Harper <jackson@ximian.com>
6265 * TreeNode.cs: Implement Handle stuff.
6266 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
6268 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
6270 * DataGridTextBoxColumn.cs: call base constructors, fixes
6271 * GridColumnStylesCollection.cs: missing events, methods, and functionality
6272 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
6273 * DataGridTableStyle.cs: implements create default column styles
6274 * DataGridBoolColumn.cs: which types can handle
6275 * DataGrid.cs: missing methods, fixes, new functionality
6276 * DataGridColumnStyle.cs: fixes
6278 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
6279 * FolderBrowserDialog.cs:
6280 - Use a thread to fill the TreeView
6281 - Adjusted some sizes
6283 2005-04-19 Peter Bartok <pbartok@novell.com>
6285 * LinkLabel.cs: (Re-)create the pieces when setting the Text
6286 property. Fixes #74360.
6288 2005-04-19 Jackson Harper <jackson@ximian.com>
6290 * XEventQueue.cs: Lock when getting the lockqueue size.
6291 * PictureBox.cs: Call base OnPaint
6293 2005-04-19 Peter Bartok <pbartok@novell.com>
6295 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
6296 messages were no longer being processed (this broke BeginInvoke)
6299 2005-04-18 Jackson Harper <jackson@ximian.com>
6301 * TreeView.cs: buglet that caused node images to get drawn
6302 regardless of whether or not they were in the clipping rectangle.
6304 2005-04-18 Jackson Harper <jackson@ximian.com>
6306 * CurrencyManager.cs: There are four rules for GetItemProperties:
6307 - If the type is an array use the element type of the array
6308 - If the type is a typed list, use the type
6309 - If the list contains an Item property that is not an object, use
6311 - use the first element of the list if there are any elements in
6314 2005-04-17 Jackson Harper <jackson@ximian.oom>
6316 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
6317 click. This handles offsets for scrolling properly and reduces
6318 memory. Also fixed GetNode to not offset now that TopNode works
6320 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
6322 2005-04-17 Jackson Harper <jackson@ximian.com>
6324 * CursorConverter.cs: Initial implementation.
6326 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6328 * ListControl.cs: work towards complex data binding support on ListControl
6329 * CurrencyManager.cs: work towards complex data binding support on ListControl
6330 * ListBox.cs: work towards complex data binding support on ListControl
6333 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
6335 * GridTableStylesCollection.cs: fixes name and constructor
6336 * DataGridTableStyle.cs: fixes
6337 * DataGridBoolColumn.cs: fixes names and constructors
6338 * DataGrid.cs: define methods and properties. Some init implementations
6339 * DataGridCell.cs: define methods and properties. Some init implementations
6340 * GridTablesFactory.cs: Define methods and properties
6342 2005-04-15 Geoff Norton <gnorton@customerdna.com>
6344 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
6345 graphics port changes. We still want the coordinates in global screen
6348 2005-04-14 Jackson Harper <jackson@ximian.com>
6350 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
6351 check plus minus or checkbox clicks unless those features are enabled.
6353 2005-04-14 Jackson Harper <jackson@ximian.com>
6355 * TreeView.cs: Add methods for setting the top and bottom visible
6356 nodes. TreeNode::EnsureVisible uses these methods.
6357 * TreeNode.cs: Implement EnsureVisible
6359 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
6361 * Form.cs: Pospone menu assignation if the window has not been created yet
6362 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
6365 2005-04-12 Jackson Harper <jackson@ximian.com>
6367 * TreeView.cs: Set the TopNode properly when scrolling
6368 occurs. This has the added benifit of reducing the amount of
6369 walking that needs to be done when drawing. Also removed an old
6371 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
6373 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
6375 * Timer.cs: fixes interval setting when the timer is already enabled
6377 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
6379 * FolderBrowserDialog.cs: First approach
6381 2005-04-09 Peter Bartok <pbartok@novell.com>
6383 * FolderBrowserDialog: Added
6385 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
6387 * LinkLabel.cs: move drawing code into the theme
6388 * ThemeWin32Classic.cs: drawing code and painting background bugfix
6389 * Theme.cs: define DrawLinkLabel method
6391 2005-04-05 Jackson Harper <jackson@ximian.com>
6393 * BindingContext.cs: Use weak references so these bad actors don't
6394 stay alive longer then they need to.
6396 2005-04-05 Jackson Harper <jackson@ximian.com>
6398 * ListControl.cs: Basic implementation of complex databinding.
6400 * ListBox.cs: Add calls to ListControl databinding methods.
6402 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
6405 - Don't change PopupButtonState to Normal when the
6406 PopupButton gets pressed several times.
6407 - Renamed ButtonPanel to PopupButtonPanel
6409 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
6411 * ColorDialog.cs: Use cached objects instead of creating them
6412 * LinkLabel.cs: Use cached objects instead of creating them
6413 * Splitter.cs: Use cached objects instead of creating them
6414 * FontDialog.cs: Use cached objects instead of creating them
6415 * PropertyGridView.cs: Use cached objects instead of creating them
6416 * MessageBox.cs: Use cached objects instead of creating them
6417 * FileDialog.cs: Use cached objects instead of creating them
6418 * ThemeWin32Classic.cs: Use cached objects instead of creating them
6419 * TreeView.cs: Use cached objects instead of creating them
6421 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
6423 * Control.cs: use Equals to compare the font since no == op
6424 * ScrollBar.cs: use Equals to compare the font since no == op
6426 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
6428 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
6430 2005-04-01 Jackson Harper <jackson@ximian.com>
6432 * Binding.cs: Implement IsBinding.
6433 * BindingManagerBase.cs:
6434 * PropertyManager.cs:
6435 * CurrencyManager.cs: Add IsSuspended property.
6437 2005-04-01 Jackson Harper <jackson@ximian.com>
6439 * Binding.cs: Had some IsAssignableFrom calls backwards.
6441 2005-04-01 Jackson Harper <jackson@ximian.com>
6443 * Binding.cs: Handle null data members when pulling data.
6444 * PropertyManager.cs: Handle the data member being a property that
6447 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6449 * DataGridTextBoxColumn.cs: fixes signature
6450 * DataGrid.cs: calls right constructor
6452 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
6454 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
6455 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
6456 * GridTableStylesCollection.cs: implements GridTableStylesCollection
6457 * DataGridTableStyle.cs: implements DataGridTableStyle
6458 * DataGridBoolColumn.cs: implements DataGridBoolColumn
6459 * DataGridTextBox.cs: implements DataGridTextBox
6460 * DataGridColumnStyle.cs: implements DataGridColumnStyle
6462 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
6464 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
6466 2005-03-29 Peter Bartok <pbartok@novell.com>
6469 - Properly implemented CompanyName property
6470 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
6471 returns a path that includes CompanyName, ProductName and
6472 Version (fixes bug #70330)
6474 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
6476 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
6479 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6481 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
6483 - Added ReadOnly CheckBox
6484 - Further refactoring: moved some code from Open-/SaveFileDialog
6487 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
6489 * OpenFileDialog.cs: Fixed CheckFileExists
6491 Moved FileView and DirComboBox outside FileDialog class.
6492 They can now be used outside FileDialog
6494 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6496 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
6497 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
6499 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
6501 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6502 - Added missing CreatePrompt property in SaveDialog
6503 - Overall SaveDialog handling should be better now
6504 - Added non standard ShowHiddenFiles property
6505 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
6506 - Added InitialDirectory and RestoreDirectory support
6508 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
6510 * FileDialog.cs: Made dirComboBox usable
6512 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
6514 * FileDialog.cs: Added Filter support (case sensitiv)
6516 2005-03-24 Jackson Harper <jackson@ximian.com>
6518 * TabControl.cs: Need a couple more pixels for the lines.
6520 2005-03-23 Jackson Harper <jackson@ximian.com>
6522 * TabControl.cs: Give the tab page focus when it is selected.
6524 2005-03-23 Jackson Harper <jackson@ximian.com>
6526 * TabControl.cs: Account for the drawing of tabs borders when
6527 invalidating. If the slider was clicked dont do click detection on
6530 2005-03-23 Jackson Harper <jackson@ximian.com>
6532 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
6534 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
6536 * CategoryGridEntry.cs: Added
6537 * GridItem.cs: Added helper properties
6538 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
6539 * GridEntry.cs: Updated code for collection
6540 * PropertyGrid.cs: Cleaned up some formatting
6541 * PropertyGridView.cs: Added drop down functionality for enums.
6542 * GridItemCollection.cs: Added enumerator logic
6543 * PropertyGridEntry.cs: Added
6545 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6548 - Removed unnecessary commented code
6549 - Fixed handling for entering the filename manually in the combobox
6551 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
6553 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
6555 2005-03-18 Peter Bartok <pbartok@novell.com>
6557 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
6558 them being touching the border
6560 2005-03-18 Peter Bartok <pbartok@novell.com>
6562 * TextControl.cs: Quick hack to center text better
6564 2005-03-18 Peter Bartok <pbartok@novell.com>
6567 - Don't throw NotImplemented exceptions, just print a notice once
6568 instead (requested by Miguel). This makes running existing SWF
6571 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
6572 - Added context menu trigger on right click
6573 * Panel.cs: Trigger invalidate on resize
6575 - Removed old double-buffer drawing
6576 - Added ResizeRedraw style to force proper update of statusbar
6578 - Removed debug output
6579 * ThemeWin32Classic.cs:
6580 - Fixed drawing of status bar, now draws Text property if there
6581 are no defined panels
6583 2005-03-18 Jackson Harper <jackson@ximian.com>
6585 * ImageList.cs: When the image stream is set pull all the images
6587 * ImageListStreamer.cs: Implement reading image list streams.
6589 2005-03-18 Peter Bartok <pbartok@novell.com>
6591 * ThemeWin32Classic.cs (DrawPictureBox):
6592 - Fixed calculations for centered drawing
6593 - Fixed drawing for normal mode, not scaling the image on normal
6595 2005-03-18 Peter Bartok <pbartok@novell.com>
6597 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
6600 - Made Open/Save button the accept button for FileDialog
6601 - Tied the cancel button to the IButtonControl cancel button
6602 - Save/Open now properly builds the pathname
6603 - Now handles user-entered text
6604 - Preventing crash on right-click if no item is selected
6605 - Fixed Text property, now uses contents of textbox
6606 - Fixed SelectedText property, now just returns the text part that
6607 is selected in the text box
6609 2005-03-18 Jackson Harper <jackson@ximian.com>
6611 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
6612 rect, make sure to de-adjust the interior rect after drawing the
6615 2005-03-18 Peter Bartok <pbartok@novell.com>
6617 * MenuAPI.cs: Remove menu *before* executing selected action to
6618 prevent the menu from 'hanging around'
6620 2005-03-17 Geoff Norton <gnorton@customerdna.com>
6622 * XplatUIOSX.cs: Implemented WorkingArea property
6624 2005-03-17 Peter Bartok <pbartok@novell.com>
6626 * XplatUIX11.cs: Fixed menu coord calculations
6627 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
6628 for calculating offsets
6630 2005-03-17 Peter Bartok <pbartok@novell.com>
6632 * Hwnd.cs: Do not consider menu presence for default client
6633 rectangle location/size
6634 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
6635 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
6636 translation functions
6637 * FileDialog.cs: Fixed (what I presume is a) typo
6639 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
6641 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
6642 X access (avoids X-Async errors)
6644 2005-03-16 Jackson Harper <jackson@ximian.com>
6646 * TabControl.cs: Raise the SelectedIndexChanged event.
6648 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
6650 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
6651 - Removed vertical ToolBar and replaced it with a custom panel
6652 (desktop and home button already work)
6653 - Added Help button (some controls get resized or relocated then)
6654 - Draw correct text depending on Open or Save.
6655 - Fixed some typos...
6657 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
6660 - Only change Maximum and Minimum when need it (bug fix)
6662 2005-03-15 Peter Bartok <pbartok@novell.com>
6664 * Form.cs: Use Handle for icon, to trigger creation if
6665 the window does not yet exist
6667 - CanSelect: Slight performance improvement
6668 - Focus(): Preventing possible recursion
6669 - Invalidate(): Removed ControlStyle based clear flag setting
6670 - WM_PAINT: fixed logic for calling OnPaintBackground
6671 - WM_ERASEBKGND: Fixed logic, added call to new driver method
6672 EraseWindowBackground if the control doesn't paint background
6674 - Moved EraseWindowBackground() method to internal methods
6675 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
6676 is sent via SendMessage on BeginPaint call on Win32
6678 - Added EraseWindowBackground() method
6679 - No longer sends WM_ERASEBKGND on .Expose, but on call to
6680 PaintEventStart, which more closely matches Win32 behaviour
6681 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
6682 - Fixed SetFocus() to properly deal with client and whole windows
6683 * Hwnd.cs: Added ErasePending property
6684 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
6685 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
6687 2005-03-12 Geoff Norton <gnorton@customerdna.com>
6690 - Fix hard loop when timers exist.
6691 - Fix bugs with middle and right click for 3 button mice.
6693 2005-03-11 Peter Bartok <pbartok@novell.com>
6696 - get_WorkingArea: Need to call X directly, GetWindowPos only
6697 returns cached data now
6698 - Added sanity check to GetWindowPos hwnd usage
6700 2005-03-11 Jackson Harper <jackson@ximian.com>
6702 * BindingManagerBase.cs: This method isn't used anymore as
6703 PullData now updates the data in the control.
6705 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
6707 * Form.cs: fixes menu drawing on X11
6708 * MenuAPI.cs: fixes menu drawing on X11
6710 2005-03-11 Peter Bartok <pbartok@novell.com>
6712 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
6713 from Jonathan Gilbert; should fix bug #73606
6714 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
6715 in Screen coordinates. Thanks, Jordi.
6716 * Form.cs: Added missing attribute
6718 2005-03-11 Peter Bartok <pbartok@novell.com>
6721 - Rudimentary Mdi support
6722 - Removed outdated FormParent code
6723 - Implemented lots of missing properties and methods, still missing
6724 transparency support
6725 - Added missing attributes
6726 - Implemented support for MaximumBounds
6727 - Added firing of various events
6728 * XplatUI.cs: Added SetIcon() method
6729 * XplatUIDriver.cs: Added SetIcon() abstract
6730 * XplatUIOSX.cs: Stubbed out SetIcon() method
6732 - Implemented SetIcon() support
6733 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
6734 - Switched to unix line endings
6736 - Made POINT internal so for can access it as part of MINMAX
6737 - Implemented SetIcon() support
6738 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
6739 native Mdi support again, might have to go managed)
6740 * Control.cs: Now fires the StyleChanged event
6741 * MdiClient.cs: Added; still mostly empty
6743 2005-03-10 Peter Bartok <pbartok@novell.com>
6745 * SaveFileDialog.cs: Added emtpy file
6747 2005-03-08 Peter Bartok <pbartok@novell.com>
6749 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
6750 in turn triggers OnCreateContro) when creating a handle for the
6752 * TextControl.cs: Fixed endless loop in certain cases when
6753 replacing the current selection
6755 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
6758 - Honors NewValue changes in Scroll events allowing apps to change it
6759 - Adds First and Last Scroll events
6760 - Fixes Thumb events
6762 2005-03-07 Peter Bartok <pbartok@novell.com>
6764 * Hwnd.cs: Added DefaultClientRectangle property
6765 * XplatUI.cs: Now using the X11 driver Where() method, which provides
6766 more detailed debug information
6768 - Fixed size-change feedback loop, where we would pull an old size
6769 off the queue and mistakenly change our window's size to an
6771 - Now compressing ConfigureNotify events, to reduce looping and
6773 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
6776 2005-03-07 Jackson Harper <jackson@ximian.com>
6778 * Binding.cs: Push data pushes from data -> property. Check if the
6779 property is readonly when attempting to set it.
6781 2005-03-07 Jackson Harper <jackson@ximian.com>
6783 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
6784 instead of IsSubclassOf. Pulling data now sets the value on the
6786 * PropertyManager.cs:
6787 * CurrencyManager.cs: Just need to pull data when updating now,
6788 because PullData will set the value on the control.
6790 2005-03-04 Jackson Harper <jackson@ximian.com>
6792 * Binding.cs: Implement data type parsing and converting on pulled
6793 data. TODO: Are there more ways the data can be converted?
6795 2005-03-04 Jackson Harper <jackson@ximian.com>
6797 * Binding.cs: Support <Property>IsNull checks. Also bind to the
6798 controls Validating method so we can repull the data when the
6799 control loses focus.
6801 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
6804 - Fixes null string format
6807 - Adds enum type checks
6808 - Fixes redrawing and recalc need after changing some properties
6809 - Fixes on focus_item set after the event
6810 - Fixes adding columns after the control has been created
6812 * ThemeWin32Classic.cs:
6813 - Fixes CheckBox focus rectangle
6814 - Fixes ColumnHeader drawing
6817 2005-03-03 Jackson Harper <jackson@ximian.com>
6819 * Binding.cs: Bind to <Property>Changed events so we can detect
6820 when properties are changed and update the data.
6822 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
6825 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
6826 - Fixes ImageList constructor with ImageList container
6827 - Fixes image scaling (wrong parameters at DrawImage)
6829 2005-02-02 Jackson Harper <jackson@ximian.com>
6831 * Binding.cs: Make property searches case-insensitive. Eliminate
6832 some duplicated code.
6834 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
6837 - Handle focus event
6838 - Fix scrollbar events
6839 - Discard highlighted item if remove it
6840 - Fixes SelectedItem with strings
6842 2005-03-01 Peter Bartok <pbartok@novell.com>
6845 - Fixed Visible property, now follows (once again) parent chain
6846 to return false if any control in the chain is visible=false
6847 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
6848 - Fixed several places where is_visible instead of Visible was used
6849 - Implemented FIXME related to focus selection when setting focused
6850 control to be invisible
6852 * XplatUIWin32.cs: Now using proper method to find out if window is
6853 visible. Thanks to Jordi for pointing it out
6855 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
6857 * ComboBox.cs: show/hide scrollbar instead of creating it
6859 2005-02-27 Jackson Harper <jackson@ximian.com>
6861 * CurrencyManager.cs: Add PositionChanged stuff.
6863 2005-02-27 Peter Bartok <pbartok@novell.com>
6865 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
6866 * XplatUIOSX.cs: Added GetMenuOrigin() stub
6867 * XplatUIWin32.cs: Implemented GetMenuOrigin()
6869 - Implemented GetMenuDC()
6870 - Implemented GetMenuOrigin()
6871 - Implemented ReleaseMenuDC()
6872 - Implemented generation of WM_NCPAINT message
6873 - Implemented generation and handling of WM_NCCALCSIZE message
6874 * Form.cs: Added debug helper message for Jordi's menu work
6876 - Modified ClientRect property; added setter, fixed getter to handle
6877 setting of ClientRect
6878 - Added MenuOrigin property
6880 2005-02-26 Peter Bartok <pbartok@novell.com>
6883 - Destroys the caret if a window that's being destroyed contains it
6884 - Ignores expose events coming from the X11 queue for windows that
6885 already are destroyed
6886 - Now uses the proper variable for handling DestroyNotify, before we
6887 marked the wrong window as destroyed
6888 - Improved/added some debug output
6890 2005-02-26 Peter Bartok <pbartok@novell.com>
6892 * X11Keyboard.cs: Fixes to work on 64bit systems
6894 2005-02-26 Peter Bartok <pbartok@novell.com>
6897 - Now calling OnHandleDestroyed from DestroyHandle()
6898 instead of Dispose()
6899 - Removed bogus call to controls.Remove() from DestroyHandle()
6901 2005-02-26 Peter Bartok <pbartok@novell.com>
6903 * Control.cs: Properly destroy child windows when our handle is
6906 2005-02-25 Peter Bartok <pbartok@novell.com>
6909 - Added 'DriverDebug' define to allow tracing XplatUI API calls
6910 - Alphabetized Static Methods and Subclasses
6913 - Added XException class to allow custom handling of X11 exceptions
6914 - Created custom X11 error handler, tied into XException class
6915 - Added support for MONO_XEXCEPTIONS env var to allow the user
6916 to either throw an exception on X errors or continue running
6917 after displaying the error
6918 - Added handling of DestroyNotify message
6919 - Added handler for CreateNotify message (still disabled)
6920 - Improved (tried to at least) Where method to provide file and lineno
6922 - Added XErrorHandler delegate
6923 - Added XRequest enumeration (to suppor translation of errors)
6925 2005-02-25 Jackson Harper <jackson@ximian.com>
6927 * PropertyManager.cs: Implement editing features
6928 * CurrencyManager.cs:
6929 * Binding.cs: First attempt at UpdateIsBinding
6930 * BindingManagerBase.cs: Call UpdateIsBinding before
6931 pushing/pulling data.
6933 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
6935 * MenuAPI.cs: Respect disabled items
6936 * ThemeWin32Classic.cs
6937 - Caches ImageAttributes creation for DrawImageDisabled
6938 - Fixes vertical menu line drawing
6939 - Draws disabled arrows in disable menu items
6941 2005-02-24 Peter Bartok <pbartok@novell.com>
6944 - Added UserData property to allow associating arbitrary objects
6946 - Fixed leak; now removing Hwnd references from static windows array
6948 - Fixed Graphics leak in PaintEventEnd
6949 - Removed usage of HandleData, switched over to Hwnd class
6950 * HandleData.cs: Removed, obsoleted by Hwnd.cs
6952 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6954 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
6955 * ScrollBar.cs: Fixes bug
6956 * TrackBar.cs: removes death code, clipping, mimize refreshes,
6957 keyboard navigation enhancements
6959 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
6961 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
6962 * GroupBox.cs: Add control styles
6963 * Label.cs: Add control styles
6964 * UpDownBase.cs: Add control styles
6965 * ListBox.cs: Add control styles
6966 * XplatUIWin32.cs: Fixes wrong parameter order
6969 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
6971 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
6973 2005-02-23 Jackson Harper <jackson@ximian.com>
6975 * PropertyManager.cs: Implement property binding. This doesn't
6976 seem to work yet though as (I think) there are some bugs in
6977 System.ComponentModel.PropertyDescriptor.
6978 * BindingContext.cs: Use new PropertyManager constructor.
6980 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
6982 * ProgressBar.cs: use clip region in ProgressBar
6983 * ThemeWin32Classic.cs: use clip region in ProgressBar
6985 2004-02-22 Jackson Harper <jackson@ximian.com>
6987 * BindingsCollection.cs: Remove some debug code.
6989 2005-02-22 Jackson Harper <jackson@ximian.com>
6991 * BindingContext.cs:
6992 * ControlBindingsCollection.cs:
6993 * CurrencyManager.cs:
6995 * BindingManagerBase.cs: Initial implementation
6996 * BindingsCollection.cs: Add an internal contains method that the
6997 BindingManagerBase uses to ensure bindings aren't added twice to
6999 * PropertyManager.cs: Stubbed out.
7001 * ContainerControl.cs: Hook up databinding
7003 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7006 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7007 Fixed Invalidate/Update chain.
7008 Fixed tons of other minor bugs (this is almost a complete rewrite).
7010 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7012 * ComboBox.cs: do subcontrol creation when the control is created
7014 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7016 * Label.cs: fixes image drawing (image and imagelist)
7017 * ThemeWin32Classic.cs: cache brushes
7019 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7021 * Form.cs: Move menu drawing code to Theme class
7022 * ComboBox.cs: Move ComboBox drawing code to Theme class
7023 * MenuItem.cs: Move menu drawing code to Theme class
7024 * MenuAPI.cs: Move menu drawing code to Theme class
7025 * ThemeWin32Classic.cs: New methods
7026 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7027 * ListBox.cs: Move Listbox drawing code to Theme class
7028 * Theme.cs: New methods
7030 2005-02-20 Peter Bartok <pbartok@novell.com>
7033 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7034 only process mnemonics on those)
7035 - Fixed event sequence for key handling; first calling
7036 ProcessKeyEventArgs now
7038 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7039 for processing non-character keys
7040 - Fixed WM_CHAR to generate proper event sequence before processing
7041 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7044 2005-02-19 Peter Bartok <pbartok@novell.com>
7046 * UserControl.cs: Added TextChanged event; added attributes
7047 * SizeGrip.cs: Implemented resizing and optional display of grip
7048 * Form.cs: Fixed attribute
7049 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7050 Changed meaning of ScrollWindow bool argument; instead of the
7051 clear attribute (which will be true usually anyway), it gives the
7052 option of moving child controls as well.
7054 - Changed to match new ScrollWindow argument
7055 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7056 now handles the implicit parent window a WM puts around us
7057 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7059 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7060 * TreeView.cs: Adjusted to new ScrollWindow arguments
7062 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7064 * Form.cs: Menu integration with non-client area
7065 * MenuItem.cs: Menu integration with non-client area
7066 * MenuAPI.cs: Menu integration with non-client area
7068 2005-02-18 Peter Bartok <pbartok@novell.com>
7070 * MethodInvoker.cs: Added
7071 * MdiLayout.cs: Added
7072 * SendKeys.cs: Started implementation
7073 * ErrorIconAlignment.cs: Added
7075 2005-02-18 Peter Bartok <pbartok@novell.com>
7077 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7078 * Form.cs: Added handling for Menu-related Non-client messages
7080 2005-02-17 Peter Bartok <pbartok@novell.com>
7082 * UpDownBase.cs: Fixed typo, compilation errors
7083 * DomainUpDown.cs: Fixed attribute value
7085 2005-02-16 Miguel de Icaza <miguel@novell.com>
7087 * UpDownBase.cs: Attach entry events.
7089 Add ForeColor property, Focused, InterceptArrowKeys (interception
7092 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
7095 - Redraw non client are on Setmenu
7096 - Calc proper menu starting point
7098 2005-02-17 Peter Bartok <pbartok@novell.com>
7100 * Application.cs: Fixed message_filter check
7102 2005-02-17 Peter Bartok <pbartok@novell.com>
7104 * Application.cs: Now calls registered message filters
7105 * DockStyle.cs: Fixed attribute
7106 * Form.cs: Fixed attribute
7107 * Menu.cs: Fixed attribute
7108 * ToolTip.cs: Fixed attribute
7109 * TreeNode.cs: Added missing attributes and arranged in regions
7110 * PropertyGrid.cs: Fixed signatures
7111 * TreeNodeCollection.cs: Added attributes
7112 * Splitter.cs: Added missing attributes; arranged into regions
7113 * TabPage.cs: Added missing attributes; arranged into regions
7114 * TextBoxBase.cs: Added missing attributes
7115 * TextBox.cs: Added missing attributes
7116 * ArrangeDirection.cs: Added missing attributes
7117 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7118 * ToolBarButton.cs: Fixed attributes
7119 * AnchorStyles.cs: Fixed attribute
7120 * TrackBar.cs: Fixed attributes
7121 * TabControl.cs: Added missing attributes and arranged into regions
7122 * ToolBar.cs: Fixed attribute
7123 * StatusBar.cs: Fixed signature, organized into regions and added
7125 * StatusBarPanel.cs: Fixed attributes
7126 * ContentsResizedEventArgs.cs: Implemented
7127 * ContentsResizedEventHandler.cs: Implemented
7128 * DateBoldEventArgs.cs: Implemented
7129 * DateBoldEventHandler.cs: Implemented
7130 * UpDownEventArgs.cs: Implemented
7131 * UpDownEventHandler.cs: Implemented
7133 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
7135 * Form.cs: first Menu NC refactoring
7136 * MenuAPI.cs: first Menu NC refactoring
7138 2005-02-16 Peter Bartok <pbartok@novell.com>
7140 * ImeMode.cs: Added missing attributes
7141 * Menu.cs: Fixed attribute
7142 * GroupBox.cs: Fixed attribute
7143 * Label.cs: Fixed attribute
7144 * ColorDialog.cs (RunDialog): Removed TODO attribute
7145 * ComboBox.cs: Fixed attributes
7146 * ListControl.cs: Added missing attributes
7147 * PropertyGrid.cs: Fixed attributes
7148 * Control.cs: Fixed attributes
7149 * ListViewItem.cs: Added TypeConverter attribute
7150 * NotifyIcon.cs: Fixed attributes
7151 * ListView.cs: Fixed attributes
7152 * ButtonBase.cs: Fixed attribute
7153 * ImageList.cs: Added missing attributes
7154 * ContainerControl.cs: Fixed signature
7155 * CheckedListBox.cs: Fixed attribute; added missing attributes
7156 * Panel.cs: Fixed attributes
7157 * PropertyTabChangedEventArgs.cs: Added missing attribute
7158 * PropertyValueChangedEventArgs.cs: Added missing attribute
7159 * Binding.cs: Fixed attribute
7160 * ListViewItemConverter: Implemented ListViewSubItemConverter class
7161 * ListBox.cs: Fixed attribute; added missing attributes;
7162 * ScrollableControl.cs: Added missing attributes
7163 * PictureBox.cs: Added missing attributes; implemented missing property
7164 * DateTimePicker.cs: Added missing attributes
7165 * Theme.cs (ToolWindowCaptionHeight): Fixed type
7166 * MonthCalendar.cs: Fixed attributes
7167 * StatusBarPanel.cs: Added missing attributes
7168 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7170 2005-02-16 Peter Bartok <pbartok@novell.com>
7172 * TextBoxBase.cs: The previous method to enforce height yet remember
7173 the requested high was less than ideal, this is an attempt to do
7175 * Control.cs: Added comment about possible problem
7176 * Copyright: Updated format
7177 * GridItemType.cs: Fixed swapped values
7179 2005-02-15 Jackson Harper <jackson@ximian.com>
7181 * BaseCollection.cs: Use property so we never access an
7182 uninitialized list. Also initialize the list in the property.
7184 2005-02-15 Peter Bartok <pbartok@novell.com>
7186 * GroupBox.cs (ProcessMnemonic): Implemented
7187 * Label.cs (ProcessMnemonic): Implemented
7188 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
7191 2005-02-15 Peter Bartok <pbartok@novell.com>
7193 * RadioButton.cs (ProcessMnemonic): Implemented
7194 * CheckBox.cs (ProcessMnemonic): Implemented
7196 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
7198 - Added internal method to allow calling ProcessMnemonic from other
7200 * ContainerControl.cs:
7201 - Started support for handling validation chain handling
7202 - Implemented ProcessMnemonic support
7203 - Added Select() call to Active, to make sure the active control
7205 * Form.cs: Setting toplevel flag for Forms (this was lost in the
7207 * ThemeWin32Classic.cs:
7208 - DrawCheckBox(): Fixed stringformat to show hotkeys
7209 - DrawRadioButton(): Fixed stringformat to show hotkeys
7210 * CommonDialog.cs: Removed WndProc override, not needed
7212 2005-02-14 Peter Bartok <pbartok@novell.com>
7214 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
7215 missed those in the rewrite
7217 2005-02-14 Miguel de Icaza <miguel@novell.com>
7219 * NumericUpDown.cs (Increment, ToString): Add.
7220 (DecimalPlaces): implement.
7224 * UpDownBase.cs: Add the designer attributes.
7226 2005-02-13 Peter Bartok <pbartok@novell.com>
7228 * Panel.cs: Removed border_style, now in Control
7229 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
7230 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
7232 2005-02-13 Peter Bartok <pbartok@novell.com>
7234 * MouseButtons.cs: Added missing attributes
7235 * XplatUIStructs.cs: Added enumeration for title styles
7236 * LeftRightAlignment.cs: Added missing attributes
7237 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
7238 it compatible with Graphics.FromHwnd()
7239 * SelectedGridItemChangedEventArgs.cs: Fixed property type
7240 * Keys.cs: Added missing attributes
7241 * SelectionRange.cs: Added missing attributes
7242 * SelectionRangeConverter.cs: Added
7244 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
7245 ReleaseMenuDC methods
7246 - Renamed ReleaseWindow to UngrabWindow
7247 - Added proper startup notice to allow version identification
7249 - Added missing attributes
7250 - Removed FormParent concept
7251 * Label.cs: Removed border_style field, now in Control
7252 * RadioButton.cs: Now properly selects RadioButton when focus is
7254 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
7256 - Added missing attributes
7257 - Added borderstyle handling
7258 - Removed FormParent concept support
7259 - Fixed calls to XplatUI to match changed APIs
7260 - Fixed bug that would case us to use disposed Graphics objects
7261 - Removed unneeded internal methods
7262 - PerformLayout(): Fixed to handle DockStyle.Fill properly
7263 - SelectNextControl(): Fixed to properly check common parents
7264 * TextBoxBase.cs: Removed border_style field (now in Control)
7266 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
7267 fixed calculations for form size
7268 - Added support for localized strings and icons
7269 - Improved form size calculations, added border
7270 * ListView.cs: Removed border_style field (now in Control)
7271 * X11Structs.cs: Moved several structs from X11 driver here
7272 * X11Keyboard.cs: Changed debug message
7273 * Application.cs: Removed FormParent concept support
7275 - Resetting end_modal flag
7276 - Removed FormParent concept support
7277 * NativeWindow.cs: Removed FormParent concept support
7278 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
7279 Client area and Non-Client whole window to allow support for WM_NC
7281 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
7282 prevent using it until it supports Hwnd as per Geoff Norton's request
7283 * ToolBar.cs: Fixed drawing, was not doing proper drawing
7284 * PictureBox.cs: Removed border_style field, now in Control
7285 * XplatUIWin32.cs: Added new driver methods
7287 2005-02-12 Peter Bartok <pbartok@novell.com>
7289 * OpacityConverter.cs: Implemented
7290 * Hwnd.cs: Internal class to support drivers that need to emulate
7291 client area/non-client area window behaviour
7293 2005-02-11 Peter Bartok <pbartok@novell.com>
7295 * KeysConverter.cs: Implemented
7297 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
7299 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
7300 * LinkLabel: Added missing attributes
7301 * MainMenu.cs: fixes ToString
7302 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
7303 * ListBox.cs: fixes event position
7304 * TrackBar.cs: adds missing attributes and events
7306 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
7308 * MenuItem.cs: Use SystemInformation and bug fixes
7309 * MenuAPI.cs: Use SystemInformation and bug fixes
7311 2005-02-09 Jackson Harper <jackson@ximian.com>
7313 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
7314 their keystate otherwise things like VK_MENU get stuck "on".
7316 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
7318 * ListBox.cs: Fixes AddRange bug
7320 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
7323 - Add missing attributes
7324 - Add missing method
7326 * CheckedListBox.cs: Added missing attributes
7327 - Add missing attributes
7328 - Remove extra method
7330 * ComboBox.cs: Added missing attributes
7331 * VScrollBar.cs: Added missing attributes
7332 * ScrollBar.cs: Added missing attributes
7333 * ListBox.cs: Fixes signature, add missing consts
7334 * LinkArea.cs: Added missing attributes
7337 2005-02-08 Peter Bartok <pbartok@novell.com>
7339 * Menu.cs: Added missing attributes
7340 * MainMenu.cs: Added missing attributes
7341 * GroupBox.cs: Added missing attributes
7342 * Label.cs: Added missing attributes
7343 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
7345 - Added Instance and Options properties
7346 - Added missing attributes
7347 * Cursor.cs: Made Serializable
7348 * NotifyIcon: Added missing attributes
7349 * MenuItem.cs: Added missing attributes
7350 * TextBoxBase.cs: Implemented AppendText() and Select() methods
7351 * Panel.cs: Added Missing attributes
7352 * MonthCalendar.cs: Fixed CreateParams
7354 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7358 - Fixes issues with links
7359 - Adds the class attributes
7361 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
7364 - Fixes button when no items available in dropdown
7365 - Fixes repainting problems
7366 - Adds the class attributes
7368 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7370 * XplatUIOSX.cs: Detect the menu bar and title bar height from
7371 the current theme. Cache these on startup.
7373 2005-02-07 Jackson Harper <jackson@ximian.com>
7375 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
7376 the scrollbar buttons when they are depressed.
7378 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7380 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
7381 Get the display size from the main displayid. We currently dont
7382 support multiple display configurations.
7384 2005-02-07 Geoff Norton <gnorton@customerdna.com>
7386 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
7388 2005-02-07 Miguel de Icaza <miguel@novell.com>
7390 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
7392 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
7394 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
7396 2005-02-04 Jackson Harper <jackson@ximian.com>
7398 * ThemeWin32Classic.cs: Respect the clipping rect when
7399 drawing. Only fill the intersection of clips and rects so there
7400 isn't a lot of large fills.
7401 * ScrollBar.cs: Pass the correct clipping rect to the theme
7402 engine. Remove some debug code.
7404 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
7406 * DateTimePicker.cs:
7407 - Fixed crash on DateTime.Parse, use Constructor instead
7409 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7413 - Owner draw support (MeasureItem and DrawItem)
7415 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
7418 - Implements FindMergePosition and MergeMenu functions (very poor documented)
7419 - Fixes MenuItems.Add range
7421 - MergeMenu and Clone and CloneMenu functions
7423 2005-02-03 Jackson Harper <jackson@ximian.com>
7425 * ScrollBar.cs: Make abstract
7426 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
7429 2005-02-03 Jackson Harper <jackson@ximian.com>
7431 * ScrollBar.cs: First part of my scrollbar fixups. This removes
7432 all the unneeded refreshes and uses invalidates with properly
7435 2005-02-03 Peter Bartok <pbartok@novell.com>
7437 * ComponentModel.cs: Added
7438 * IDataGridEditingService.cs: Added
7439 * Timer.cs: Added missing attributes
7440 * ToolTip.cs: Added missing attributes
7442 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
7444 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
7446 2005-02-03 Peter Bartok <pbartok@novell.com>
7448 * ListBox.cs: Added missing attributes
7450 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
7453 - Fixes font height after font change
7454 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
7456 2005-02-02 Peter Bartok <pbartok@novell.com>
7458 * HandleData.cs: Introduced static methods to allow class
7459 to be more self-contained and track it's own HandleData objects
7460 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
7461 HandleData to use new static methods
7463 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
7466 - Fixes default size and PreferredHeight
7468 - ObjectCollection.Insert implementation
7474 - ObjectCollection.Insert implementation
7475 - No selection after clean
7478 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7480 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
7482 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
7485 - Caches ItemHeight calculation for OwnerDrawVariable
7486 - Handles dropdown properly
7487 - Fixes several minor bugs
7489 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7492 - Fixes 71946 and 71950
7493 - Fixes changing Multicolumn on the fly
7494 - Fixes keyboard navigation on Multicolumn listboxes
7496 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7498 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
7501 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7503 * XplatUIOSX.cs: Allow applications to actually exit.
7505 2005-01-31 Geoff Norton <gnorton@customerdna.com>
7507 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
7508 their parent at creation time rather than lazily later. Fixes a major
7509 regression we were experiencing.
7511 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
7513 * ThemeWin32Classic.cs: more date time picker painting fixes
7514 * DateTimePicker.cs: more monthcalendar drop down fixes
7515 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
7517 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
7520 - When moving the thumb going outside the control should stop the moving
7521 - Adds the firing of missing events
7522 - Fixes no button show if Size is not specified
7523 - End / Home keys for keyboard navigation
7525 2005-01-30 Peter Bartok <pbartok@novell.com>
7527 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
7528 sanity check to prevent theoretical loop
7529 * XplatUIWin32.cs (SetVisible): Removed debug output
7530 * XplatUIX11.cs (SystrayChange): Added sanity check
7531 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
7532 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
7533 behaviour, valid until the X11 client window rewrite is done
7534 * TextBox.cs (ctor): Setting proper default foreground and background
7537 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
7539 * Theme: Added DrawDateTimePicker to interface
7540 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
7541 * DateTimePicker.cs: Created (still needs keys and painting code)
7542 * DateTimePickerFormat.cs: added
7543 * MonthCalendar.cs: fixed CreateParams for popup window mode
7545 2005-01-29 Peter Bartok <pbartok@novell.com>
7547 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
7548 this should also the calculations for ligher/darker
7549 * Theme.cs: Fixed defaults for ScrollBar widths/heights
7551 2005-01-29 Peter Bartok <pbartok@novell.com>
7553 * ArrangeDirection.cs: Added
7554 * ArrangeStartingPositon.cs: Added
7555 * SystemInformation.cs: Implemented
7556 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7557 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
7558 used by SystemInformation class
7559 * X11Strucs.cs: Added XSizeHints structure
7561 - Fixed CreateParams to make sure the menu window is always visible
7562 - TrackPopupMenu: Added check to make sure we don't draw the
7565 2005-01-29 Peter Bartok <pbartok@novell.com>
7567 * HandleData.cs: Added method for altering invalid area
7568 * TextBoxBase.cs: Implemented TextLength
7570 2005-01-28 Peter Bartok <pbartok@novell.com>
7572 * XplatUIX11.cs: Improvement over last patch, not sending
7573 the WM_PAINT directly anymore, instead we scroll any pending
7574 exposed areas and let the system pick out the WM_PAINT later
7576 2005-01-28 Peter Bartok <pbartok@novell.com>
7578 * SWF.csproj: Deleted, no longer used. Instead,
7579 Managed.Windows.Forms/SWF.csproj should be used
7580 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
7581 directly, to avoid a potential race condition with the next
7584 2005-01-28 Peter Bartok <pbartok@novell.com>
7586 * XplatUI.cs: Made class internal
7588 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
7590 * CheckedListBox.cs:
7593 - Missing methods and events
7595 2005-01-27 Peter Bartok <pbartok@novell.com>
7597 * Application.cs (Run): Don't use form if we don't have one
7599 2005-01-27 Peter Bartok <pbartok@novell.com>
7601 * TextBoxBase.cs (get_Lines): Fixed index off by one error
7603 2005-01-27 Peter Bartok <pbartok@novell.com>
7605 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
7606 * GridItem.cs: Added; Patch by Jonathan S. Chambers
7607 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
7608 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
7609 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
7610 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
7611 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7612 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7613 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7614 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7615 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
7616 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
7618 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7621 - Draw focus on Simple Combobox
7622 - Fixes drawing issues
7625 2005-01-27 Peter Bartok <pbartok@novell.com>
7628 - Place window in default location, instead of hardcoded 0/0
7629 - Send initial LocationChanged event
7631 - UpdateBounds after creation to find out where the WM placed us
7632 - Make sure that if the ParentForm changes location the Form
7634 * XplatUIX11.cs: XGetGeometry will not return the coords relative
7635 to the root, but to whatever the WM placed around us.
7636 Translate to root coordinates before returning toplevel
7638 * XplatUIWin32.cs: Removed debug output
7639 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
7640 flag to GetWindowPos, to allow translation of coordinates on X11
7642 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
7644 * ListBox.cs: connect LostFocus Event
7646 2005-01-27 Peter Bartok <pbartok@novell.com>
7648 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
7649 XplatUIX11.cs: Extended the Systray API
7650 * Form.cs: Removed debug output
7651 * Application.cs: Fixed focus assignment, always need to call
7652 XplatUI.Activate() since Form.Activate() has rules that may
7654 * NotifyIcon.cs: Should be complete now
7655 * ToolTip.cs: Worked around possible timer bug
7657 2005-01-27 Jackson Harper <jackson@ximian.com>
7660 - Only invalidate the effected tabs when the
7661 selected index changes. This reduces drawing and gets rid of some
7663 - Only refresh if the tabs need to be shifted, otherwise only
7664 invalidate the slider button.
7665 - On windows the tabs are not filled to right if the slider is
7668 2005-01-27 Jackson Harper <jackson@ximian.com>
7670 * TabControl.cs: Only refresh on mouseup if we are showing the
7671 slider. Also only invalidate the button whose state has changed.
7673 2005-01-26 Peter Bartok <pbartok@novell.com>
7675 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
7676 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
7677 and SystrayRemove() methods
7678 * XplatUIOSX.cs: Stubbed Systray methods
7680 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
7682 - Fixed broken XChangeProperty calls (marshalling messed up things)
7683 * X11Structs.cs: Added enums and structs required for Size hinting
7684 * NotifyIcon.cs: Added & implemented
7686 2005-01-26 Jackson Harper <jackson@ximian.com>
7688 * TabControl.cs: Space vertically layed out tabs properly.
7690 2005-01-26 Peter Bartok <pbartok@novell.com>
7692 * Form.cs (CreateClientParams): Always set the location to 0,0
7693 since we're a child window.
7695 * Control.cs (SetVisibleCore): Always explicitly setting the location
7696 of a toplevel window, apparently X11 doesn't like to move windows
7697 while they're not mapped.
7699 2005-01-26 Jackson Harper <jackson@ximian.com>
7701 * TabControl.cs: Implement FillToRight size mode with vertically
7704 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7706 * ControlPaint.cs, ThemeWin32Classic.cs
7707 - Fixes DrawFocusRectangle
7709 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
7712 - MenuBar tracking only starts when item is first clicked
7713 - Fixes menu hidding for multiple subitems
7714 - Unselect item in MenuBar when item Executed
7717 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
7720 - IsInputKey for ListBox
7723 - Shift and Control item selection
7724 - Implement SelectionMode.MultiExtended
7727 - IsInputKey implemented
7728 - Do not generate OnTextChangedEdit on internal txt changes
7730 2005-01-23 Peter Bartok <pbartok@novell.com>
7732 * AccessibleObject.cs: Partially implemented Select()
7733 * MonthCalendar.cs: Added missing attributes and events
7734 * Form.cs: Fixed CreateParams behaviour, now controls derived from
7735 form can properly override CreateParams.
7736 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
7737 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
7738 Control performs Invalidate & Update
7739 * NativeWindow (CreateHandle): Added special handling for Form
7740 and Form.FormParent classes to allow overriding of From.CreateParams
7742 - ControlNativeWindow: Renamed 'control' variable to more intuitive
7744 - ControlNativeWindow: Added Owner property
7745 - Removed usage of Refresh() on property changes, changed into
7746 Invalidate(), we need to wait until the queue is processed for
7747 updates, direct calls might cause problems if not all vars for
7748 Paint are initialized
7749 - Added call to UpdateStyles() when creating the window, to set any
7750 styles that CreateWindow might have ignored.
7751 - Added support for Form CreateParent overrides to UpdateStyles()
7752 * MessageBox.cs: Removed no longer needed FormParent override stuff,
7753 CreateParams are now properly overridable
7754 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
7755 CreateParams are now properly overridable
7757 2005-01-23 Miguel de Icaza <miguel@ximian.com>
7759 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
7762 Capture LostFocus and OnTextBoxChanged. The later introduces a
7763 recursive invocation that I have not figured out yet.
7765 Reset the timer when not using (it was accumulating).
7768 (OnTextBoxChanged): Set UserEdit to true here to track whether the
7769 user has made changes that require validation.
7771 Reset changing to avoid loops.
7773 2005-01-22 Miguel de Icaza <miguel@ximian.com>
7775 * NumericUpDown.cs: Display value at startup.
7777 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
7780 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
7781 filled in. Added some basic parsing of text.
7783 Still missing the OnXXX method overrides, and figuring out the
7784 events that must be emitted.
7786 * UpDownBase.cs: Handle UserEdit on the Text property.
7788 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
7791 - Fixes IntegralHeight
7794 2005-01-21 Jackson Harper <jackson@ximian.com>
7796 * TabControl.cs: Set the SelectedIndex property when SelectedTab
7797 is set so that the page visibility is updated and the tabs are
7800 2005-01-21 Jackson Harper <jackson@ximian.com>
7802 * TabControl.cs: Use cliping rectangle for blitting. Give the
7803 theme the clipping rect so we can do clipping while
7804 drawing. Remove some debug code.
7806 2005-01-21 Jackson Harper <jackson@ximian.com>
7808 * TabPage.cs: Add a new method so tab pages can force the tab
7809 control to recalculate the tab page sizes.
7810 * TabControl.cs: UpdateOwner needs to make the tab control recalc
7813 2005-01-20 Jackson Harper <jackson@ximian.com>
7815 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
7817 2005-01-20 Jackson Harper <jackson@ximian.com>
7819 * TreeView.cs: Set the bounds for nodes properly. They were
7820 getting screwed up when checkboxes were not enabled, but images
7823 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
7826 - Owner draw support
7829 2005-01-20 Jackson Harper <jackson@ximian.com>
7831 * XplatUIStructs.cs: More misc keys
7832 * X11Keyboard.cs: Ignore some control keys.
7834 2005-01-20 Jackson Harper <jackson@ximian.com>
7836 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
7837 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
7839 2005-01-19 Peter Bartok <pbartok@novell.com>
7841 * Control.cs: Un-selecting the control when it is loosing focus
7843 2005-01-19 Jackson Harper <jackson@ximian.com>
7845 * TreeView.cs: Hook up to the text controls leave event so we can
7846 end editing when the users clicks outside the text box.
7848 2005-01-19 Jackson Harper <jackson@ximian.com>
7850 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
7851 get set in the conversion array.
7853 2005-01-19 Peter Bartok <pbartok@novell.com>
7855 * Application.cs (ModalRun): Added a call to CreateControl to ensure
7856 focus is properly set
7858 - Added missing attributes
7859 - removed styles, those are already set in the base class
7861 - Added missing attributes
7862 - Added clip window styles
7863 * CheckBox.cs: Added missing attributes
7865 - FormParentWindow.CreateParams: Added required clip styles
7866 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
7867 also filters modifier keys
7869 - Added assignment of Accept and Cancel button to enable Enter
7870 and Esc keys in MessageBox dialogs
7871 - FormParentWindow.CreateParams: Added required clip styles
7872 * RadioButton.cs: Added missing attributes
7873 * TextControl.cs: No longer draws selection if control does not
7876 - Now draws simple rectangle around test area to make it obvious
7877 there's a control. This is a hack until we properly support borders
7878 - A few simple fixes to support selections better, now erases selected
7879 text when typing, and resets selection when using movement keys
7881 2005-01-19 Miguel de Icaza <miguel@ximian.com>
7883 * UpDownBase.cs: Added some new properties.
7885 * DomainUpDown.cs: Implement a lot to get my test working.
7887 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7889 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
7891 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7893 * OSXStructs (WindowAttributes): Fixed csc complaints
7895 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7898 OSXStructs.cs: Initial refactor to move enums and consts into
7899 OSXStructs and use them in the driver for greater readability.
7901 2005-01-19 Geoff Norton <gnorton@customerdna.com>
7903 * XplatUIOSX.cs: Initial support for Standard Cursors.
7904 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
7906 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
7908 * ComboBox.cs: ability to change style when the ctrl is already
7909 created, missing methods and events, bug fixes, signature fixes
7911 2005-01-19 Peter Bartok <pbartok@novell.com>
7913 * Cursors.cs (ctor): Added ctor to fix signature
7915 2005-01-18 Peter Bartok <pbartok@novell.com>
7917 * Button.cs: Implemented DoubleClick event
7919 - Fixed keyboard handling to behave like MS, where the press of
7920 Spacebar is equivalent to a mousedown, and the key release is
7921 equivalent to mouseup. Now a spacebar push will give the same
7922 visual feedback like a mouse click.
7923 - Added missing attributes
7924 - Added ImeModeChanged event
7925 - Added support for generating DoubleClick event for derived classes
7927 - Implemented DoubleClick event
7928 - Added missing attributes
7929 * CommonDialog.cs: Added missing attribute
7930 * ContextMenu.cs: Added missing attributes
7932 - AutoChecked buttons do not allow to be unselected when clicked
7933 (otherwise we might end up with no selected buttons in a group)
7934 - Added missing attributes
7935 - Implemented DoubleClickEvent
7936 * ThreadExceptionDialog.cs: Enabled TextBox code
7938 2005-01-18 Peter Bartok <pbartok@novell.com>
7940 * Form.cs: Removed debug output
7941 * Button.cs: Added support for DoubleClick method
7943 2005-01-18 Peter Bartok <pbartok@novell.com>
7946 - Added method to parent window that allows triggering size
7947 calculations when a menu is added/removed
7948 - set_Menu: Cleaned up mess from early days of Form and Control,
7949 now properly triggers a recalc when a menu is added/removed
7950 - Added case to select form itself as focused form if no child
7952 - Added PerformLayout call when showing dialog, to ensure properly
7955 - Select(): Made internal so Form can access it
7956 - Focus(): Only call Xplat layer if required (avoids loop), and sets
7958 * Application.cs (Run): Removed hack and calls PerformLayout instead
7959 to trigger calculation when Form becomes visible
7961 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
7963 * ComboBox.cs: fixes for ownerdraw
7965 2005-01-18 Peter Bartok <pbartok@novell.com>
7968 - Sentinel is no longer static, each Document gets it's own, this
7969 avoids locking or alternatively overwrite problems when more
7970 than one text control is used simultaneously.
7971 - Switched to use Hilight and HilightText brushes for text selection
7973 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
7975 2005-01-18 Peter Bartok <pbartok@novell.com>
7978 - Hooked up the following events:
7986 o SystemColorsChanged
7989 - Removed debug output
7990 - Added a call to the current theme's ResetDefaults when a color change
7992 * Form.cs: Now setting the proper ImeMode
7993 * Theme.cs: Defined a method to force recreation of cached resources
7994 and rereading of system defaults (ResetDefaults())
7995 * ThemeWin32Classic.cs: Added ResetDefaults() stub
7997 2005-01-17 Peter Bartok <pbartok@novell.com>
7999 * Control.cs: Added missing attributes
8001 2005-01-17 Jackson Harper <jackson@ximian.com>
8003 * TreeNode.cs: Implement editing. Add missing properties selected
8005 * TreeView.cs: Implement node editing. Also some fixes to use
8006 Invalidate (invalid area) instead of Refresh when selecting.
8008 2005-01-17 Peter Bartok <pbartok@novell.com>
8011 - Implemented InvokeGotFocus() method
8012 - Implemented InvokeLostFocus() method
8013 - Implemented InvokePaint() method
8014 - Implemented InvokePaintBackground() method
8015 - Implemented InvokeClick() method
8016 - Implemented FindForm() method
8017 - Implemented RectangleToClient() method
8018 - Implemented ClientToRectangle() method
8019 - Implemented ResetBackColor() method
8020 - Implemented ResetCursor() method
8021 - Implemented ResetFont() method
8022 - Implemented ResteForeColor() method
8023 - Implemented ResetImeMode() method
8024 - Implemented ResetLeftToRight() method
8025 - Implemented ResetText() method
8026 - Implemented Scale() methods
8027 - Implemented ScaleCore() method
8028 - Implemented Update() method
8029 - Removed unused variables
8030 - Stubbed AccessibilityNotifyClients and
8031 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8033 - Now setting proper default for RightToLeft property
8034 - Fixed bug in SetClientSizeCore that would cause windows to get
8036 - Now sending Click/DoubleClick events
8037 - Now selecting controls when left mouse button is clicked on
8039 * AccessibleEvents.cs: Added
8040 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8041 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8042 * XplatUIWin32.cs: Implemented UpdateWindow() method
8043 * XplatUIX11.cs: Implemented UpdateWindow() method
8044 * Form.cs: Removed stray semicolon causing CS0162 warning
8045 * ThemeWin32Classic.cs: Fixed unused variable warnings
8046 * ScrollableControl.cs: Now calls base method for ScaleCore
8047 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8048 style to avoid interference with internal click handler (which is
8049 different than standard Control click handling)
8051 - Now unchecks all sibling radio buttons when control is
8052 selected (Fixes #68756)
8053 - Removed internal tabstop variable, using the one inherited from
8056 2005-01-17 Jackson Harper <jackson@ximian.com>
8058 * NavigateEventArgs.cs: Fix base type.
8059 * LinkLabel.cs: Sig fix
8061 2005-01-17 Jackson Harper <jackson@ximian.com>
8063 * TreeView.cs: Only invalidate the effected nodes bounds when
8066 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8068 * XplatUIWin32.cs: fixes Win32 marshaling
8069 * XplatUIX11.cs: fixes method signature
8071 2005-01-17 Peter Bartok <pbartok@novell.com>
8073 * XplatUIX11.cs: Clean up resources when we no longer need them
8075 2005-01-17 Peter Bartok <pbartok@novell.com>
8077 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8078 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8079 and DestroyCursor() methods.
8080 * Cursor.cs: Partially implemented, now supports standard cursors;
8081 still contains some debug code
8082 * Cursors.cs: Implemented class
8084 - WndProc(): Added handling of WM_SETCURSOR message, setting the
8086 - Implemented Cursor property
8087 - Replaced break; with return; more straightforwar and possibly
8089 - Now properly setting the result for WM_HELP
8090 * X11Structs.cs: Added CursorFontShape enum
8091 * XplatUIStructs.cs:
8092 - Added StdCursor enum (to support DefineStdCursor() method)
8093 - Added HitTest enum (to support sending WM_SETCURSOR message)
8095 - Now sends the WM_SETCURSOR message
8096 - Implemented new cursor methods
8097 * XplatUIOSX.cs: Stubbed new cursor methods
8099 - Implemented new cursor methods
8100 - Added GetSystemMetrics function and associated enumeration
8102 2005-01-15 Peter Bartok <pbartok@novell.com>
8105 - WndProc(): Now handles EnableNotifyMessage
8106 - SelectNextControl(): Fixed bug where if no child or sibling
8107 controls exist we looped endlessly
8109 2005-01-14 Jackson Harper <jackson@ximian.com>
8111 * TreeView.cs: Recalculate the tab pages when a new one is added
8112 so that the proper bounding rects are created.
8114 2005-01-14 Jackson Harper <jackson@ximian.com>
8116 * TreeView.cs: Draw a gray box instead of a grip in the lower
8117 right hand corner when there are both horizontal and vertical
8120 2005-01-14 Jackson Harper <jackson@ximian.com>
8122 * Control.cs: When erasing backgrounds use FromHwnd instead of
8123 FromHdc when there is a NULL wparam. This occurs on the X driver.
8124 * XplatUIX11.cs: Set the wparam to NULL.
8126 2005-01-13 Jackson Harper <jackson@ximian.com>
8128 * PictureBox.cs: Implement missing methods (except ToString, need
8129 to test that on windows) and events. When visibility is changed we
8130 need to redraw the image because the buffers are killed. When size
8131 is changed refresh if the sizemode needs it.
8133 2005-01-13 Peter Bartok <pbartok@novell.com>
8135 * Control.cs (SelectNextControl): Was using wrong method to select
8138 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8140 * ComboBox.cs: fixes dropstyle
8142 2005-01-13 Peter Bartok <pbartok@novell.com>
8145 - Implemented Select() override
8146 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8147 - Now sets keyboard focus on startup
8148 * Control.cs (SelectNextControl): Now properly handles directed=true
8150 - WndProc: Now passes tab key on to base if AcceptTabChar=false
8151 - Added (really bad) focus rectangle (mostly for testing)
8152 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8153 to enforce redraw on focus changes
8154 * ContainerControl.cs:
8155 - Fixed detection of Shift-Tab key presses
8156 - Fixed traversal with arrow keys
8157 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8158 gonna keep this or if it's complete yet
8160 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8162 * ComboBox.cs: missing properties, fixes
8164 2005-01-13 Peter Bartok <pbartok@novell.com>
8166 * Panel.cs (ctor): Setting Selectable window style to off
8167 * Splitter.cs (ctor): Setting Selectable window style to off
8168 * GroupBox.cs (ctor): Setting Selectable window style to off
8169 * Label.cs (ctor): Setting Selectable window style to off
8171 2005-01-12 Miguel de Icaza <miguel@ximian.com>
8173 * UpDownBase.cs (InitTimer): If the timer has been already
8176 Use a TextBox instead of a Label.
8178 2005-01-12 Jackson Harper <jackson@ximian.com>
8180 * TreeView.cs: Refresh the tree after sorting the nodes. Always
8181 draw the connecting node lines (when ShowLines is true).
8182 * TreeNode.cs: The nodes index can now be updated. This is used
8183 when a node collection is sorted.
8184 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
8185 insert or an existing unsorted node collection can be sorted.
8187 2005-01-12 Peter Bartok <pbartok@novell.com>
8189 * ContainerControl.cs: Implemented ProcessDialogKeys()
8191 2005-01-12 Peter Bartok <pbartok@novell.com>
8194 - Implemented SelectNextControl() method
8195 - Several focus related bug fixes
8196 - Fixed Docking calculations to match MS documentation and
8199 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
8201 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
8204 2005-01-12 Peter Bartok <pbartok@novell.com>
8207 - Fixed broken Contains() method
8208 - Implemented GetNextControl() method. Finally. This is the pre-
8209 requisite for focus handling.
8211 2005-01-12 Peter Bartok <pbartok@novell.com>
8213 * OSXStrucs.cs: Added
8215 2005-01-12 Peter Bartok <pbartok@novell.com>
8218 - Removed PeekMessageFlags
8219 - Implemented SetWindowStyle() method
8220 * XplatUIStructs.cs: Added PeekMessageFlags
8221 * X11Structs: Added missing border_width field to XWindowChanges struct
8223 - PeekMessage: Now throws exception if flags which are not yet
8224 supported are passed
8225 - Implemented SetWindowStyle() method
8226 - Fixed SetZOrder to handle AfterHwnd properly
8227 * XplatUI.cs: Added SetWindowStyle() method
8228 * XplatUIDriver.cs: Added SetWindowStyle() abstract
8230 - Implemented UpdateStyles() method
8231 - Implemented UpdateZOrder() method
8232 * XplatUIOSX.cs: Added SetWindowStyle() stub
8234 2005-01-12 Geoff Norton <gnorton@customerdna.com>
8236 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
8240 2005-01-11 Jackson Harper <jackson@ximian.com>
8242 * TreeView.cs: Still need to draw lines to siblings even if out of
8243 the current node is out of the clip.
8245 2005-01-11 Jackson Harper <jackson@ximian.com>
8247 * TreeView.cs: When setting the hbar/vbar/grip position use
8248 SetBounds so that perform layout is only called once. Also suspend
8249 and resume layout so layout is only done once for all controls.
8250 - Removed some debug fluff
8251 * SizeGrip.cs: Call base implmentation in overriding methods.
8252 - When visibility is changed the drawing buffers are killed so we
8255 2005-01-11 Jackson Harper <jackson@ximian.com>
8257 * TreeView.cs: Calculate the open node count while drawing. This
8258 saves us an entire tree traversal for every paint operation. Use
8259 a member var for the open node count so less vars are passed around.
8261 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
8264 - fixed selection to use mousemove, not mouse polling on timer
8265 * ThemeWin32Classic.cs
8266 - removed redundant unused variable "no_more_content"
8268 2005-01-11 Peter Bartok <pbartok@novell.com>
8270 * XplatUIX11.cs (DoEvents): Needs to return when no more events
8271 are pending, so it now calls PeekMessage instead of GetMessage;
8272 implemented a incomplete version of PeekMessage
8274 2005-01-11 Peter Bartok <pbartok@novell.com>
8276 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
8278 * TextBoxBase.cs: Added sending of TextChanged event
8280 2005-01-10 Jackson Harper <jackson@ximian.com>
8282 * TreeView.cs: Try not to draw outside the clipping rectangle on
8285 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
8287 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
8289 2005-01-10 Jackson Harper <jackson@ximian.com>
8292 - Implement fast scrolling. Now only the newly
8293 exposed nodes are drawn and the old image is moved using the
8294 XplatUI::ScrollWindow method.
8295 - Factor in height of nodes when calculating whether or not the
8296 node is in the clipping rect.
8298 2005-01-10 Jackson Harper <jackson@ximian.com>
8300 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
8302 2005-01-10 Peter Bartok <pbartok@novell.com>
8304 * Application.cs: Added temporary hack to resolve all our resize
8305 required issues on startup. This will get fixed properly at
8306 some point in the future
8308 2005-01-10 Jackson Harper <jackson@ximian.com>
8310 * SizeGrip.cs: New internal class that is used as a sizing
8311 grip control...hence the name.
8313 2005-01-10 Peter Bartok <pbartok@novell.com>
8315 * Control.cs: Implemented proper TabIndex handling, now assigning
8316 a tabindex when a control is added to a container
8317 * GroupBox.cs (ctor): Now sets the Container style bit, required
8318 for Control.GetNextControl()
8320 2005-01-09 Jackson Harper <jackson@ximian.com>
8322 * TextBoxBase.cs: Clear window when scrolling (fixes build).
8324 2005-01-09 Peter Bartok <pbartok@novell.com>
8326 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8327 XplatUIX11.cs: Added ability to control ScrollWindow expose and
8328 an overload for ScrollWindow to allow only scrolling a rectangle
8330 2005-01-09 Peter Bartok <pbartok@novell.com>
8333 - Implemented SetDesktopBounds method
8334 - Implemented SetDesktopLocation method
8336 2005-01-08 Jackson Harper <jackson@ximian.com>
8338 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
8339 the node count has changed, this removes to VScroll::Refresh calls
8342 2005-01-08 Geoff Norton <gnorton@customerdna.com>
8344 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
8346 2005-01-07 Jackson Harper <jackson@ximian.com>
8348 * TreeNode.cs: Just update the single node when it is
8349 checked. Don't refresh after toggling, the Expand/Collapse already
8351 * TreeView.cs: Respect clipping a little more when drawing. Try
8352 not to redraw things that don't need to be redrawn. Just hide the
8353 scrollbars when they are no longer needed instead of removing
8354 them, so they don't have to be created again and again.
8356 2005-01-07 Geoff Norton <gnorton@customerdna.com>
8358 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
8359 coordinates to window space to place the caret properly, FIXED.
8360 Implement GetWindowState & SetWindowState
8362 2005-01-06 Peter Bartok <pbartok@novell.com>
8365 - Implemented ClientSize property
8366 - Implemented DesktopBounds property
8367 - Implemented DesktopLocation property
8368 - Implemented IsRestrictedWindow property
8369 - Implemented Size property
8370 - Implemented TopLevel property
8371 - Implemented FormWindowState property
8373 - Implemented GetTopLevel() method
8374 - Implemented SetTopLevel() method
8375 * X11Structs.cs (Atom):
8376 - Added AnyPropertyType definition
8377 - Added MapState definiton and updated XWindowAttribute struct
8378 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
8379 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
8380 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
8382 - Implemented GetWindowState() and SetWindowState() methods
8383 - Fixed Win32GetWindowLong return type
8385 - Introduced central function for sending NET_WM messages
8386 - Implemented GetWindowState() and SetWindowState() methods
8387 * TextBoxBase.cs (set_Lines):
8388 - Now uses Foreground color for text added via Text property (Duh!)
8389 - Added code to remember programmatically requested size (fixes
8390 behaviour when Multiline is set after Size)
8391 - Added AutoSize logic
8393 2005-01-06 Jackson Harper <jackson@ximian.com>
8395 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
8397 2005-01-06 Jackson Harper <jackson@ximian.com>
8399 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
8402 2005-01-06 Jackson Harper <jackson@ximian.com>
8404 * ScrollableControl.cs: Lazy init the scrollbars.
8406 2005-01-06 Jackson Harper <jackson@ximian.com>
8408 * Theme.cs: Speed up getting pens and solid brushes, by using
8409 their ARGB as a hash instead of tostring and not calling Contains.
8411 2005-01-06 Peter Bartok <pbartok@novell.com>
8414 - Implemented OnActivated and OnDeactivate event trigger
8415 - Implemented Activate() method
8416 - Fixed ShowDialog() to activate the form that was active before
8417 the dialog was shown
8419 - Added global active_window var that tracks the currently active
8421 - Now always grabs Property changes from the root window to always
8422 catch changes on the active window property
8423 - Added code to PropertyNotify handler to send Active/Inactive
8424 messages when state changes. This puts X11 and Win32 en par on
8425 WM_ACTIVATE notifications (except for double notifications when
8426 the user clicks away from our modal window to another one of our
8429 2005-01-05 Jackson Harper <jackson@ximian.com>
8431 * ImageList.cs: Implment ctor
8433 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8435 * XplatUIOSX.cs: Implement Activate/SetTopmost
8437 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8439 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
8441 2005-01-05 Geoff Norton <gnorton@customerdna.com>
8443 * XplatUIOSX.cs: Implement GetActive/SetFocus.
8445 2005-01-05 Peter Bartok <pbartok@novell.com>
8447 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
8448 XplatUIOSX.cs: Added GetActive method to return the currently
8449 active window for the application (or null, if none is active)
8451 - Implemented ActiveForm
8452 - Commented out owner assignment for modal dialogs (causes problems
8453 on Win32, since the owner will be disabled)
8454 - Reworked some Active/Focus handling (still incomplete)
8455 * CommonDialog.cs: Commented out owner assignment for modal dialogs
8456 (causes problems on Win32, since the owner will be disabled)
8457 * IWin32Window: Added ComVisible attribute
8459 2005-01-05 Peter Bartok <pbartok@novell.com>
8461 * ToolTip.cs (WndProc): Enable setting focus now that we have the
8462 required XplatUI functions.
8464 2005-01-05 Peter Bartok <pbartok@novell.com>
8466 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
8467 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
8468 to implement focus and activation handling; still incomplete and
8471 2005-01-04 Peter Bartok <pbartok@novell.com>
8473 * TextBoxBase.cs: Changed access level for Document property to
8474 match switch to internal for TextControl
8476 2005-01-04 Peter Bartok <pbartok@novell.com>
8478 * AccessibleObject: Added ComVisible attribute
8480 2005-01-04 Jackson Harper <jackson@ximian.com>
8482 * X11Keyboard.cs: Remove unneeded var.
8484 2005-01-04 Jackson Harper <jackson@ximian.com>
8486 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
8488 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
8489 ClientMessage. This makes apps exit cleanly (more often).
8491 2005-01-04 Jackson Harper <jackson@ximian.com>
8493 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
8494 handling focus, return correct colors and fonts,
8495 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
8496 handle selection, horizontal scrolling, and mouse interaction.
8498 2005-01-04 Peter Bartok <pbartok@novell.com>
8500 * ICommandExecutor.cs: Added
8501 * IDataGridColumnStyleEditingNotificationService.cs: Added
8502 * IFeatureSupport.cs: Added
8503 * IFileReaderService.cs: Added
8504 * IDataObject.cs: Added ComVisible attribute
8505 * AmbientProperties.cs: Added
8506 * BaseCollection.cs: Added missing attributes
8507 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
8508 * BaseCollection.cs: Added missing attributes
8509 * Binding.cs: Added TypeConverter attribute
8510 * BindingContext.cs: Added DefaultEvent attribute
8511 * BindingsCollection.cs: Added DefaultEvent attribute
8512 * Button.cs: Added DefaultValue attribute
8513 * DragEventArgs.cs: Added ComVisible attribute
8514 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
8515 * KeyEventArgs.cs: Added ComVisible attribute
8516 * KeyPressEventArgs.cs: Added ComVisible attribute
8517 * MouseEventArgs.cs: Added ComVisible attribute
8518 * NavigateEventArgs.cs: Added
8519 * NavigateEventHandler.cs: Added
8520 * FeatureSupport.cs: Added
8521 * OSFeature.cs: Added
8522 * Theme.cs: Added abstract Version property to support OSFeature
8523 * ThemeWin32Classic.cs: Added Version property to
8524 support OSFeature.Themes
8525 * ProgressBar.cs: Removed OnPaintBackground override, not required since
8526 the proper styles to avoid background drawing are set, also doesn't
8528 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
8529 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
8530 * ScrollEventArgs.cs: Added ComVisible attribute
8531 * SplitterEventArgs.cs: Added ComVisible attribute
8532 * AccessibleSelection.cs: Added Flags attribute
8533 * Appearance.cs: Added ComVisible attribute
8534 * Border3DSide.cs: Added ComVisible attribute
8535 * Border3DStyle.cs: Added ComVisible attribute
8536 * BorderStyle.cs: Added ComVisible attribute
8537 * DragAction.cs: Added ComVisible attribute
8538 * ErrorBlinkStyle.cs: Added
8539 * ScrollEventType.cs: Added ComVisible attribute
8540 * AnchorStyles.cs: Added Editor attribute
8541 * DockStyle.cs: Added Editor attribute
8542 * HorizontalAlignment.cs: Added ComVisible attribute
8543 * HelpEventArgs.cs: Added ComVisible attribute
8544 * PaintEventArgs.cs: Added IDisposable
8546 2005-01-04 Peter Bartok <pbartok@novell.com>
8548 * TextControl.cs: Switched Line, LineTag and Document classes to
8551 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8553 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
8554 Simple mode, fixes, IntegralHeight, etc.
8556 2005-01-04 Peter Bartok <pbartok@novell.com>
8558 * TextBoxBase.cs: Using proper font variable now
8560 2005-01-04 Peter Bartok <pbartok@novell.com>
8562 * Form.cs (ShowDialog): Set parent to owner, if provided
8563 * GroupBox.cs: Removed unused vars
8565 - Added GetHashCode() for Document and LineTag classes
8566 - Removed unused variables
8567 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
8568 to allow translation between continuous char position and line/pos
8569 * CheckBox.cs: Removed vars that are provided by base class
8570 * RadioButton.cs: Removed vars that are provided by base class, added
8571 new keyword where required
8572 * LinkLabel.cs: Added new keyword where required
8573 * Control.cs (WndProc): Removed unused variable
8575 - Finished SelectionLength property
8576 - Implemented SelectionStart property
8577 - Implemented Text property
8578 - Removed unused vars
8579 * MessageBox.cs: Added new keyword where required
8580 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
8582 * MenuAPI.cs: Added new keyword where required
8583 * ButtonBase.cs: Removed vars that are provided by base class, added
8584 new keyword where required
8585 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
8586 argument to double, to allow compiling with csc 2.0 (Atsushi ran
8588 * Application.cs (Run): Now triggers the ThreadExit event
8589 * CommonDialog.cs: Added new keyword where required; now properly sets
8590 parent (owner) for dialog
8591 * XplatUIX11.cs: Commented out unused vars
8592 * StatusBar.cs: Fixed signature for Text property
8593 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
8595 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
8597 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
8598 TrackBar.cs, MonthCalendar.cs: remove unused vars
8600 2005-01-03 Jackson Harper <jackson@ximian.com>
8602 * ThemeWin32Classic.cs:
8603 * X11Keyboard.cs: Remove unused vars.
8605 2005-01-03 Peter Bartok <pbartok@novell.com>
8608 - set_Text: Tied into TextControl
8609 - set_TextAlignment: Tied into TextControl
8611 - Added alignment properties and implemented alignment handling
8612 and drawing (still has a bug, not generating proper expose events)
8613 - Added new Line() constructor to allow passing the line alignment
8614 - Fixed selection setting, properly handling end<start now
8615 - Added aligment considerations to RecalculateDocument()
8617 - Now properly enforces control height for single line controls
8618 - Added support for CharacterCasing
8619 - Added IsInputKey override
8620 - Fixed Keys.Enter logic
8621 - Added SetBoundsCore override
8622 - Fixed mouse selection handling
8624 2005-01-03 Jackson Harper <jackson@ximian.com>
8627 - Collapse and uncheck all nodes when CheckBoxes is disabled.
8628 - Checkboxes are always aligned to the bottom of the node,
8629 regardless of item height.
8630 - Use the node bounds to draw the text so we can center it when
8631 the item height is greater then the font height.
8632 - Node::Bounds are only the text part of the node.
8633 * TreeNode.cs: New method to combine collapsing and unchecking all
8636 2005-01-02 Jackson Harper <jackson@ximian.com>
8638 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
8639 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
8640 tree when a check is changed. TODO: Only refresh the checked node.
8642 2004-12-30 Jackson Harper <jackson@ximian.com>
8644 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
8645 * TreeNode.cs: When collapsing make sure to never collapse the
8648 2004-12-29 Jackson Harper <jackson@ximian.com>
8650 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
8652 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
8654 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
8656 2004-12-28 Peter Bartok <pbartok@novell.com>
8658 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
8661 2004-12-28 Peter Bartok <pbartok@novell.com>
8663 * Control.cs (WndProc): Added WM_HELP handler, now generates
8665 * Form.cs: Added HelpButton property and required support code
8666 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
8668 2004-12-28 Peter Bartok <pbartok@novell.com>
8671 - Made DialogForm.owner variable internal
8672 - Added check to ensure owner form is set before setting
8673 owner properties in CreateParams
8675 2004-12-28 Geoff Norton <gnorton@customerdna.com>
8677 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
8678 swizzling. Implement ClientToScreen and ScreenToClient. Implement
8679 GetCursorPos. Fix major visibility issues. Rework the windowing
8680 system to support borderless/titleless windows (implements menus).
8681 Fix GetWindowPos. Implement initial background color support for
8684 2004-12-28 Peter Bartok <pbartok@novell.com>
8686 * Form.cs (get_CreateParams): Make sure we have an owner before using
8687 the owner variable. Implement proper default if no owner exists
8689 2004-12-28 Peter Bartok <pbartok@novell.com>
8691 * In preparation for making Managed.Windows.Forms the default build target
8692 for System.Windows.Forms, the following stubbed files were added.
8693 Dialogs are currently being implemented by contributors and are only
8694 short-term place holders.
8695 * ColorDialog.cs: Initial check-in (minmal stub)
8696 * DataGrid.cs: Initial check-in (minimal stub)
8697 * DataGridLineStyle.cs: Initial check-in (minimal stub)
8698 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
8699 * DataGridTableStyle.cs: Initial check-in (minimal stub)
8700 * FontDialog.cs: Initial check-in (minimal stub)
8701 * FileDialog.cs: Initial check-in (minimal stub)
8702 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
8703 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
8704 * OpenFileDialog: Initial check-in (minimal stub)
8705 * IComponentEditorPageSite.cs: Initial check-in
8706 * Splitter.cs: Initial check-in (for Jackson)
8707 * SplitterEventArgs.cs: Initial check-in (for Jackson)
8708 * SplitterEventHandler.cs: Initial check-in (for Jackson)
8709 * TextBox.cs: Initial check-in; still needs some wiring to
8711 * Form.cs: Implemented ControlBox property
8712 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
8713 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
8714 * TextControl.cs: Added selection functionality; added todo header
8716 - Implemented Lines property
8717 - Implemented TextHeight property
8718 - Implemented SelectedText property
8719 - Implemented SelectionLength property
8720 - Implemented SelectAll method
8721 - Implemented ToString method
8722 - Removed and cleaned up some debug code
8723 - Implemented (still buggy) mouse text selection
8725 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
8727 * ComboBox.cs: Complete DropDownList implementation, fixes.
8729 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
8731 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
8732 * ComboBoxStyle.cs: ComboBoxStyle enum
8733 * ComboBox.cs: Initial work on ComboBox control
8735 2004-12-21 Peter Bartok <pbartok@novell.com>
8737 * Control.cs (ctor, CreateParams): Moved setting of is_visible
8738 forward so that anything that creates a window gets the default,
8739 also no longer uses Visible property in CreateParams to avoid
8740 walking up the parent chain and possibly get the wrong visible
8741 status. Fixed IsVisible to no longer walk up to the parent.
8743 2004-12-21 Peter Bartok <pbartok@novell.com>
8745 * Form.cs (ShowDialog): Unset modality for the proper window
8747 2004-12-20 Peter Bartok <pbartok@novell.com>
8749 * CommonDialog.cs: Initial check-in
8751 2004-12-20 Peter Bartok <pbartok@novell.com>
8753 * Control.cs (Visible): Now uses the parent window instead of the
8754 client area window for the property
8757 - ShowDialog(): Now uses the proper window for modality
8758 - The default visibility state for the form parent is now false. This
8759 will prevent the user from seeing all the changes to the form and
8760 its controls before the application hits Application.Run()
8761 - Removed some stale commented out code
8764 - Added FindWindow() method to have a method to check for existence
8766 - Added ability to override default exception handling (for example
8767 when debugging with VS.Net; to do this the ExternalExceptionHandler
8769 - Removed some useless debug output
8772 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
8773 not working as expected
8774 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
8775 property to allow switching back to the modal window if focus is
8776 given to another one of our windows (Application Modal)
8777 - Now only sets override_redirect if we create a window
8779 - Moved EventMask selection before mapping of newly created window
8780 so we can catch the map event as well
8781 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
8782 - Added various Atom related DllImports
8783 - Implemented Exit() method
8784 - .ctor() : No longer shows window if WS_VISIBLE is not defined
8787 * MessageBox.cs: Now properly deals with the FormParent window by
8788 providing an override the FormParent CreateParams property to
8789 set as POPUP instead of OVERLAPPED window.
8791 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8793 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
8796 2004-12-19 Geoff Norton <gnorton@customerdna.com>
8798 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
8800 2004-12-18 Peter Bartok <pbartok@novell.com>
8802 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
8803 implementing SetModal() method
8805 2004-12-18 Peter Bartok <pbartok@novell.com>
8807 * X11Structs.cs (XGCValues): Fixed type of function element
8808 * XplatUI.cs: Added ScrollWindow() method
8809 * XplatUIDriver.cs: Added ScrollWindow() abstract
8810 * XplatUIWin32.cs: Implemented ScrollWindow() method
8811 * XplatUIX11.cs: Implemented ScrollWindow() method
8812 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
8814 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8816 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
8817 Some more keyboard support (INCOMPLETE)
8819 2004-12-17 Peter Bartok <pbartok@novell.com>
8822 - Added color attribute to line tags.
8823 - Added color argument to all functions dealing with tags
8824 - Added color argument support to various functions
8825 - Fixed miss-calculation of baseline/shift in certain circumstances
8827 * TextBoxBase.cs: Added new color option to test code
8829 2004-12-17 Jackson Harper <jackson@ximian.com>
8832 * MonthCalendar.cs: Signature fixes
8834 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8836 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
8837 keyboard event moved it. Create a new graphics context for each paint resolves this
8839 2004-12-17 Geoff Norton <gnorton@customerdna.com>
8841 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
8842 Make caret exist and go blink blink. Initial keyboard support.
8843 Fix exception handler, Add Invalidate support. Change way RefreshWindow
8846 2004-12-17 Jackson Harper <jackson@ximian.com>
8848 * XplatUIStructs.cs: Updated set of virtual keycodes.
8849 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
8851 2004-12-17 Jackson Harper <jackson@ximian.com>
8853 * XplatUIX11.cs: Prune old keyboard code.
8855 2004-12-17 Jackson Harper <jackson@ximian.com>
8857 * XplatUIX11.cs: When generating mouse wparams get the modifier
8858 keys from the ModifierKeys property.
8860 2004-12-17 Jackson Harper <jackson@ximian.com>
8862 * X11Keyboard.cs: Send up/down input when generating
8863 messages. Remove some unused vars.
8865 2004-12-17 Jackson Harper <jackson@ximian.com>
8868 * TreeView.cs: get rid of warnings.
8870 2004-12-17 Jackson Harper <jackson@ximian.com>
8872 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
8874 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
8876 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
8877 CheckedListBox.cs: Implementation
8879 2004-12-17 Peter Bartok <pbartok@novell.com>
8881 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
8883 2004-12-16 Peter Bartok <pbartok@novell.com>
8886 - InsertCharAtCaret(): Fixed start pos fixup
8887 - CaretLine_get: No longer derives the line from the tag, the tag
8888 could be stale if lines in the document have been added or deleted
8889 - RebalanceAfterDelete(): Fixed bug in balancing code
8890 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
8891 - Line.Streamline(): Now can also elminate leading empty tags
8892 - DumpTree(): Added a few more tests and prevented exception on
8894 - Added Debug section for Combining lines
8895 - Delete(): Now copies all remaining properties of a line
8898 - Left mousebutton now sets the caret (and middle button still acts
8899 as formatting tester, which must go away soon)
8900 - Added Debug section for Deleting/Combining lines
8901 - Fixed calculations for UpdateView after Combining lines
8903 2004-12-16 Peter Bartok <pbartok@novell.com>
8905 * TextControl.cs: Now properly aligns text on a baseline, using the
8906 new XplatUI.GetFontMetrics() method. Simplified several calculations
8907 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
8910 2004-12-16 Peter Bartok <pbartok@novell.com>
8912 * XplatUI.cs: Added GetFontMetrics() method
8913 * XplatUIDriver.cs: Added GetFontMetrics() abstract
8914 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
8915 into libgdiplus, our private GetFontMetrics function
8916 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
8917 * XplatUIWin32.cs: Implemented GetFontMetrics() method
8919 2004-12-16 Jackson Harper <jackson@ximain.com>
8921 * XplatUIStruct.cs: Add enum for dead keys
8922 * X11Keyboard.cs: Map and unmap dead keys.
8924 2004-12-16 Jackson Harper <jackson@ximian.com>
8926 * X11Keyboard.cs: Detect and use the num lock mask.
8928 2004-12-16 Peter Bartok <pbartok@novell.com>
8930 * Control.cs (CreateGraphics): Added check to make sure the
8931 handle of the window exists before calling Graphics.FromHwnd()
8933 2004-12-16 Peter Bartok <pbartok@novell.com>
8935 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
8936 contains a lot of code that's not supposed to be there for the
8937 real thing, but required for developing/testing the textbox
8940 2004-12-16 Peter Bartok <pbartok@novell.com>
8943 - Fixed Streamline method
8944 - Added FindTag method to Line
8945 - Added DumpTree method for debugging
8946 - Added DecrementLines() method for deleting lines
8947 - Fixed UpdateView to update the cursor to end-of-line on single-line
8949 - Added PositionCaret() method
8950 - Fixed MoveCaret(LineDown) to move into the last line, too
8951 - Added InsertChar overload
8952 - Fixed InsertChar tag offset calculations
8953 - Added DeleteChar() method
8954 - Added Combine() method for folding lines
8955 - Fixed Delete() method, no longer allocates wasted Line object and
8956 now copies all properties when swapping nodes
8957 - Delete() method now updates document line counter
8959 2004-12-15 Jackson Harper <jackson@ximian.com>
8961 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
8962 * X11Keyboard.cs: Expose the currently selected modifier keys
8965 2004-12-15 Peter Bartok <pbartok@novell.com>
8967 * TextControl.cs: Initial check-in. Still incomplete
8969 2004-12-15 Jackson Harper <jackson@ximian.com>
8972 * TreeView.cs: Fix build on csc (second time today ;-))
8974 2004-12-15 Jackson Harper <jackson@ximian.com>
8976 * TreeView.cs: Store the treenodes plus/minus box bounds when it
8977 is calculated and use this for click testing.
8978 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
8980 2004-12-15 Jackson Harper <jackson@ximian.com>
8982 * TreeView.cs: Pass the nodes image index to the image list when
8985 2004-12-15 Jackson Harper <jackson@ximian.com>
8987 * X11Keyboard.cs: Set messages hwnd.
8988 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
8991 2004-12-15 Jackson Harper <jackson@ximian.com>
8993 * X11Keyboard.cs: Fix to compile with csc.
8995 2004-12-15 Jackson Harper <jackson@ximian.com>
8997 * X11Structs.cs: Add key mask values
8998 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
8999 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9000 down/up foo into WM_CHAR foo
9001 * KeyboardLayouts.cs: Common keyboard layouts
9002 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9003 post messages into the main queue.
9005 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9007 * Button.cs: implement ProcessMnemonic
9008 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9010 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9011 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9013 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9015 * MonthCalendar.cs: Implemented click-hold for next/previous month
9018 2004-12-11 Peter Bartok <pbartok@novell.com>
9021 - Added XKeyboardState (moved from XplatUIX11.cs)
9022 - Added XCreateGC related enums and structures
9023 - Added GXFunction for XSetFunction
9025 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9027 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9028 CaretVisible() calls
9030 * ToolTip.cs: Added code to prevent stealing focus from app windows
9032 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9033 DestroyCaret, SetCaretPos and CaretVisible)
9036 - Added implementation for caret functions
9037 - Moved hover variables into a struct, to make it a bit easier
9038 on the eyes and to debug
9039 - Removed XKeyboardState (moved to XplatUIX11.cs)
9040 - Moved Keyboard properties into the properties region
9042 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9043 call to get a graphics context for our control
9045 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9047 * TreeView.cs: Fixed bug. No matter what color was set it would always
9048 return SystemColors.Window
9050 * XplatUIWin32.cs: Implemented caret overrides
9052 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9054 * ListBox.cs: fire events, implement missing methods and properties,
9057 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9059 * MonthCalendar.cs: invalidation bug fixing
9060 * ThemeWin32Classic.cs: paint fixing
9062 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9064 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9065 prepare the CGContextRef there now.
9067 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9070 - optimisationL only invalidate areas that have changed
9071 * ThemeWin32Classic.cs:
9072 - only paint parts that intersect with clip_area
9074 2004-12-09 Peter Bartok <pbartok@novell.com>
9076 * Application.cs: Undid changes from r37004 which cause problems
9079 2004-12-09 Ravindra <rkumar@novell.com>
9081 * ToolBar.cs: Added support for displaying ContextMenu
9082 attached to a button on ToolBar.
9083 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9086 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9088 * Label.cs: autosize works in text change and removes unnecessary
9091 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9093 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9096 2004-12-08 Geoff Norton <gnorton@customerdna.com>
9098 * XplatUIOSX.cs: Added mouse move/click/grab support
9099 Remove some debugging WriteLines not needed anymore.
9100 Add window resizing/positioning.
9101 Fix visibility on reparenting.
9103 2004-12-08 Peter Bartok <pbartok@novell.com>
9105 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9107 2004-12-07 Geoff Norton <gnorton@customerdna.com>
9109 * XplatUIOSX.cs: Initial checkin
9110 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9112 2004-12-03 Ravindra <rkumar@novell.com>
9114 * ListView.cs: Added some keybindings and fixed scrolling.
9115 ScrollBars listen to ValueChanged event instead of Scroll
9116 Event. This would let us take care of all changes being
9117 done in the scrollbars' values programmatically or manually.
9118 * ListView.cs (CanMultiselect): Added a check for shift key.
9119 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9120 * ListViewItem.cs (Clone): Fixed. We need to make a copy
9121 of ListViewSubItemCollection as well.
9123 2004-12-06 Peter Bartok <pbartok@novell.com>
9125 * Control.cs (Parent): Added check and exception to prevent
9128 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
9130 * ListBox.cs: implemented clipping, selection single and multiple,
9133 2004-12-03 Ravindra <rkumar@novell.com>
9135 * ListView.cs (ListView_KeyDown):
9136 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9137 when CTRL key is pressed.
9138 * ListViewItem.cs (Selected): Fixed setting the property.
9140 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9142 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9144 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9145 MinimizeBox, ShowInTaskbar, TopMost properties.
9147 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9148 will be implemented).
9150 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9152 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9154 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9157 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9159 * TreeView.cs: BackColor is Colors.Window.
9161 2004-12-01 Jackson Harper <jackson@ximian.com>
9163 * TreeView.cs: When resizing the tree if the user is making it
9164 smaller we don't get expose events, so we need to handle adding
9165 the horizontal scrollbar in the size changed handler as well as
9168 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
9170 * DrawItemState.cs: fixes wrong enum values
9172 2004-12-01 Jackson Harper <jackson@ximian.com>
9174 * TreeView.cs: Resize the hbar as well as the vbar on resize.
9176 2004-12-01 Jackson Harper <jackson@ximian.com>
9178 * NodeLabelEditEventArgs.cs:
9179 * NodeLabelEditEventHandler.cs:
9180 * OpenTreeNodeEnumerator.cs:
9182 * TreeNodeCollection.cs:
9184 * TreeViewAction.cs:
9185 * TreeViewCancelEventArgs.cs:
9186 * TreeViewCancelEventHandler.cs:
9187 * TreeViewEventArgs.cs:
9188 * TreeViewEventHandler.cs: Initial implementation.
9190 2004-12-01 Ravindra <rkumar@novell.com>
9192 * ListView.cs (CalculateListView): Fixed scrolling related
9193 calculations. Also, removed some debug statements from other
9195 * ListViewItem.cs: Changed access to 'selected' instance variable
9196 from private to internal.
9197 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
9199 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
9201 * ThemeWin32Classic.cs: remove cache of brush and pens for
9202 specific controls and use the global system, fixes scrollbutton
9203 bugs (for small sizes, disabled, etc)
9205 * ScrollBar.cs: does not show the thumb for very small controls
9206 (as MS) and allow smaller buttons that the regular size
9208 2004-12-01 Miguel de Icaza <miguel@ximian.com>
9210 * UpDownBase.cs: Add abstract methods for the interface.
9211 Add new virtual methods (need to be hooked up to TextEntry when it
9213 Add override methods for most features.
9214 Computes the size, forces the height of the text entry.
9216 * NumericUpDown.cs: Put here the current testing code.
9218 * Set eol-style property on all files that do not have mixed line
9219 endings, to minimize the future problems. There are still a few
9220 files with mixed endings, and someone should choose whether they
9221 want to move it or not.
9223 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
9225 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
9228 2004-11-30 Ravindra <rkumar@novell.com>
9230 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
9231 drawing and replaced use of SystemColors by theme colors.
9232 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
9233 * ListView.cs (ListViewItemCollection.Add): Throw exception when
9234 same ListViewItem is being added more than once.
9236 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
9239 - ControlStyles love to make the control not flicker
9241 2004-11-30 Peter Bartok <pbartok@novell.com>
9243 * CharacterCasing.cs: Added
9245 2004-11-29 Peter Bartok <pbartok@novell.com>
9247 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9248 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
9249 I am removing these files as they conflict with already completed
9250 work. While it is fantastic to get contributions to MWF, I
9251 respectfully ask that everyone please coordinate their contributions
9252 through mono-winforms-list or #mono-winforms at this time. We're
9253 explicitly avoiding stubbing and don't want controls that don't have
9254 their basic functionality implemented in svn. Please also see
9255 http://www.mono-project.com/contributing/winforms.html
9258 2004-11-29 Marek Safar <marek.safar@seznam.cz>
9260 * Application.cs (ModalRun): Don't hang after exit.
9262 * Theme.cs: New TreeViewDefaultSize property.
9264 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
9265 with less hardcoded SystemColors constant.
9266 Implemented TreeViewDefaultSize.
9268 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
9269 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
9272 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
9275 - Fix NextMonthDate and PrevMonthDate click moving calendar
9277 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9280 - Fix usage of ScrollChange Property when scrolling months
9282 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
9284 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
9285 - Fixes menu destroying
9286 - Support adding and removing items on already created menus
9288 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
9291 - Re-worked all bolded dates handling to match win32
9292 * ThemeWin32Classic.cs:
9293 - Fixed rendering with bolded dates
9295 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
9297 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
9298 - Horizontal scroolbar
9303 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
9306 - Fix Usage of MaxSelectionCount from SelectionRange
9307 - Fixed Shift + Cursor Selection
9308 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
9309 - Fixed normal cursor selection to be compat with win32
9310 - Fixed Shift + Mouse Click selection
9312 2004-11-24 Peter Bartok <pbartok@novell.com>
9314 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
9315 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
9317 - CreatedKeyBoardMsg now updates keystate with Alt key
9318 - Added workaround for timer crash to CheckTimers, Jackson will
9319 develop a proper fix and check in later
9320 - Implemented DispatchMessage
9321 - Removed calling the native window proc from GetMessage (call
9322 now moved to DispatchMessage)
9324 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
9325 the keydata (Fixes bug #69831)
9328 - (DispatchMessage): Switched to return IntPtr
9329 - Added DllImport for SetFocus
9331 2004-11-24 Ravindra <rkumar@novell.com>
9333 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
9335 * ListViewItem.cs: Fixed various properties, calculations
9336 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
9337 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
9338 and some internal properties. Fixed MouseDown handler and Paint
9341 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9343 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
9345 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9347 * ContainerControl.cs: correct accidental check in of local changes
9349 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
9351 * ThemeWin32Classic.cs:
9352 - Fixed Drawing Last month in grid (sometimes not showing)
9354 - Fixed title width calculation bug (makeing title small)
9356 2004-11-23 Peter Bartok <pbartok@novell.com>
9359 - Added generation of WM_MOUSEHOVER event
9360 - Added missing assignment of async_method atom
9361 - Fixed WM_ERASEBKGND; now only redraws the exposed area
9363 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9365 * ThemeWin32Classic.cs:
9366 - Fixed Drawing of today circle when showtodaycircle not set
9367 - fixed drawing of first and last month in the grid (gay dates)
9369 - Fixed Drawing of today circle
9370 - Fixed drawing of grady dates
9371 - Fixed HitTest for today link when ShowToday set to false
9372 - Fixed DefaultSize to obey ShowToday
9374 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
9376 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
9377 * System.Windows.Forms/Theme.cs
9378 * MonthCalendar.cs: added for MonthCalendar
9379 * SelectionRange.cs: added for MonthCalendar
9380 * Day.cs: added for MonthCalendar: added for MonthCalendar
9381 * DateRangeEventArgs.cs: added for MonthCalendar
9382 * DateRangeEventHandler.cs: added for MonthCalendar
9384 2004-11-22 Ravindra <rkumar@novell.com>
9386 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
9389 2004-11-22 Miguel de Icaza <miguel@ximian.com>
9391 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
9394 * NumericUpDown.cs: Added new implementation.
9395 * UpDownBase.cs: Added new implementation.
9397 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
9400 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
9403 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
9406 2004-11-21 Miguel de Icaza <miguel@ximian.com>
9408 * Timer.cs (Dispose): Should call the base dispose when
9411 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9413 * ScrollBar.cs: updates thumb position when max, min or increment
9416 2004-11-21 Ravindra <rkumar@novell.com>
9418 * ListView.cs: Implemented item selection, activation and
9419 column header style. Fixed properties to do a redraw, if
9420 required. Added support for MouseHover, DoubleClick, KeyDown
9421 and KeyUp event handling and some minor fixes.
9422 * ListViewItem.cs: Fixed constructor.
9423 * ThemeWin32Classic.cs: Improved drawing for ListView.
9425 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
9427 * ThemeWin32Classic.cs: initial listbox drawing code
9428 * DrawMode.cs: new enumerator
9429 * ListControl.cs: stubbed class
9430 * ListBox.cs: initial implementation
9431 * Theme.cs: new methods definitions
9432 * SelectionMode.cs: new enumerator
9434 2004-11-17 Peter Bartok <pbartok@novell.com>
9436 * XplatUIWin32.cs: Added double-click events to the class style
9437 * Control.cs (WndProc):
9438 - Added handling of click-count to MouseDown/ MouseUp events.
9439 - Added handling of middle and right mouse buttons
9440 - Removed old debug code
9442 2004-11-17 Jackson Harper <jackson@ximian.com>
9444 * XplatUIX11.cs: Use the new Mono.Unix namespace.
9446 2004-11-17 Ravindra <rkumar@novell.com>
9448 * ListView.cs: Added event handling for MouseMove/Up/Down.
9449 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
9450 * ThemeWin32Classic.cs: We need to clear the graphics context and
9451 draw column header in a proper state.
9454 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
9456 * Menu.cs: fixes signature
9458 2004-11-16 Peter Bartok <pbartok@novell.com>
9460 * XplatUIX11.cs (GetMessage): Implemented generation of
9461 double click mouse messages
9463 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
9465 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
9468 2004-11-11 Peter Bartok <pbartok@novell.com>
9470 * HandleData.cs: Added Visible property
9471 * XplatUIX11.cs (IsVisible): Now uses Visible property from
9473 * XplatUIX11.cs: Removed old debug leftovers
9474 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
9475 * Control.cs (WndProc): Removed old debug leftovers,
9476 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
9477 needed WM_SIZE handling
9479 2004-11-11 Jackson Harper <jackson@ximian.com>
9481 * OwnerDrawPropertyBag.cs:
9482 * TreeViewImageIndexConverter.cs: Initial implementation
9484 2004-11-10 Jackson Harper <jackson@ximian.com>
9486 * ThemeWin32Classic.cs:
9487 * TabControl.cs: instead of moving tabs by the slider pos just
9488 start drawing at the tab that is offset by the slider. This way
9489 scrolling always moves by exactly one tab.
9491 2004-11-10 Jackson Harper <jackson@ximian.com>
9493 * TabControl.cs: You can only scroll left when the slider has
9494 already ben moved right.
9496 2004-11-10 Jackson Harper <jackson@ximian.com>
9498 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
9501 2004-11-10 Jackson Harper <jackson@ximian.com>
9503 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
9506 2004-11-09 Jackson Harper <jackson@ximian.com>
9508 * TabControl.cs (CalcXPos): New helper method so we can determine
9509 the proper place to start drawing vertical tabs.
9510 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
9512 2004-11-09 Jackson Harper <jackson@ximian.com>
9514 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
9515 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
9516 and Bottom, left and right are illegal values for this and
9517 multiline is enabled when the alignment is set to left or right.
9518 (DrawTab): Each alignment block should draw the text itself now
9519 because Left requires special love. Also add rendering for Left
9522 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
9524 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
9525 does not destroy the windows, removes debugging messages
9527 2004-11-09 jba <jba-mono@optusnet.com.au>
9529 * ThemeWin32Classic.cs
9530 (DrawButtonBase): Fix verticle text rect clipping in windows
9531 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9532 rendering and incorrect text rect clipping
9533 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
9534 rendering and incorrect text rect clipping
9536 2004-11-08 Jackson Harper <jackson@ximian.com>
9538 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
9539 bottom when they are bottom aligned so the bottoms of the tabs get
9541 * TabControl.cs (DropRow): Move rows up instead of down when the
9542 tab control is bottom aligned.
9544 2004-11-08 13:59 pbartok
9547 - Added handling for various window styles
9548 - Added handling for popup windows
9549 - Added SetTopmost handling
9551 2004-11-08 13:55 pbartok
9554 - Added argument to SetTopmost method
9555 - Fixed broken ClientToScreen function
9557 2004-11-08 13:53 pbartok
9559 * XplatUIStructs.cs:
9560 - Added missing WS_EX styles
9562 2004-11-08 13:53 pbartok
9564 * XplatUI.cs, XplatUIDriver.cs:
9565 - Added argument to SetTopmost
9567 2004-11-08 13:52 pbartok
9570 - Added XSetWindowAttributes structure
9571 - Improved XWindowAttributes structure
9572 - Added SetWindowValuemask enum
9573 - Added window creation arguments enum
9574 - Added gravity enum
9575 - Added Motif hints structure
9576 - Added various Motif flags and enums
9577 - Added PropertyMode enum for property functions
9579 2004-11-08 13:50 pbartok
9582 - Fixed arguments for updated SetTopmost method
9584 2004-11-08 13:49 pbartok
9587 - Fixed arguments for updated SetTopmost function
9588 - Fixed usage of PointToClient
9590 2004-11-08 13:44 pbartok
9593 - Added Clipping of children and siblings
9595 2004-11-08 13:41 pbartok
9598 - Removed SetMenuBarWindow call. We do this in Form.cs
9600 2004-11-08 13:40 jackson
9602 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
9603 scrolling jimmi in the correct location with bottom aligned tabs
9605 2004-11-08 13:36 pbartok
9607 * ContainerControl.cs:
9608 - Implemented BindingContext
9609 - Implemented ParentForm
9611 2004-11-08 12:46 jackson
9613 * TabControl.cs: Put bottom rendered tabs in the right location
9615 2004-11-08 07:15 jordi
9617 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
9620 2004-11-05 17:30 jackson
9622 * TabControl.cs: When selected tabs are expanded make sure they
9623 don't go beyond the edges of the tab control
9625 2004-11-05 14:57 jackson
9627 * TabControl.cs: Reset show_slider so if the control is resized to
9628 a size where it is no longer needed it's not displayed anymore
9630 2004-11-05 13:16 jackson
9632 * TabControl.cs: Make tab pages non visible when added to the
9635 2004-11-05 12:42 jackson
9637 * TabControl.cs: Implement SizeMode.FillToRight
9639 2004-11-05 12:16 jackson
9641 * Control.cs: Do not call CreateHandle if the handle is already
9644 2004-11-05 11:46 jackson
9646 * TabControl.cs: Remove superflous call to CalcTabRows
9648 2004-11-05 09:07 jackson
9650 * XplatUIX11.cs: Update for Mono.Posix changes
9652 2004-11-05 07:00 ravindra
9654 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
9657 2004-11-04 22:47 jba
9659 * ThemeWin32Classic.cs:
9660 - Fix Button rendering for FlatStyle = Flat or Popup
9661 - Fix RadioButton and CheckBox rendering when Appearance = Button
9662 (normal and flatstyle).
9663 - Correct outer rectangle color when drawing focus rectangle
9664 - Adjust button bounds to be 1 px smaller when focused
9665 - Make button not draw sunken 3d border when pushed (windows compat)
9666 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
9667 - Offset the text in RadioButton and Checkbox when being rendered as
9669 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
9671 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
9672 - Fixed disabled text rendering for normally rendered radiobuttons
9674 2004-11-04 10:26 jackson
9676 * TabControl.cs: Recalculate tab rows when resizing
9678 2004-11-04 07:47 jordi
9680 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
9681 collection completion, drawing issues, missing features
9683 2004-11-04 05:03 ravindra
9686 - We need to recalculate the Thumb area when
9687 LargeChange/maximum/minimum values are changed.
9688 - We set the 'pos' in UpdatePos() method to minimum, if it's less
9689 than minimum. This is required to handle the case if large_change is
9690 more than max, and use LargeChange property instead of large_change
9692 - We return max+1 when large_change is more than max, like MS does.
9694 2004-11-04 04:29 ravindra
9696 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
9697 - Changed default value signatures (prefixed all with ListView).
9698 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
9700 - Fixed calculations for ListViewItem and implemented Clone()
9703 2004-11-04 04:26 ravindra
9705 * Theme.cs, ThemeWin32Classic.cs:
9706 - Changed default ListView values signatures (prefixed all with
9708 - Fixed default size values for VScrollBar and HScrollBar.
9709 - Fixed DrawListViewItem method.
9711 2004-11-04 04:05 ravindra
9713 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
9715 2004-11-04 04:04 ravindra
9717 * ImageList.cs: Implemented the missing overload for Draw method.
9719 2004-11-03 19:29 jackson
9721 * TabControl.cs: Handle dropping rows on selection properly
9723 2004-11-03 11:59 jackson
9725 * TabControl.cs: remove debug code
9727 2004-11-03 11:52 jackson
9729 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
9730 the scrolly widgerywoo
9732 2004-11-02 13:52 jackson
9734 * TabControl.cs: Resize the tab pages and tabs when the tab control
9737 2004-11-02 13:40 jackson
9739 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
9740 selected tab to the bottom
9742 2004-11-02 13:39 jackson
9744 * TabPage.cs: Store the tab pages row
9746 2004-11-02 12:33 jordi
9748 * MenuItem.cs: fixes handle creation
9750 2004-11-02 11:42 jackson
9752 * TabControl.cs: signature fix
9754 2004-11-02 08:56 jackson
9756 * TabControl.cs: Calculate whether the tab is on an edge properly.
9757 Remove top secret debugging code
9759 2004-11-01 19:57 jackson
9761 * TabControl.cs: Add click handling, and proper sizing
9763 2004-11-01 19:47 jackson
9765 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
9768 2004-11-01 19:39 jackson
9770 * TabPage.cs: add internal property to store the bounds of a tab
9773 2004-10-30 04:23 ravindra
9775 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
9778 2004-10-30 04:21 ravindra
9780 * ListView.cs, ListViewItem.cs: Added support for scrolling and
9783 2004-10-30 03:06 pbartok
9786 - Removed extension of DllImported libs
9788 2004-10-29 09:55 jordi
9790 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
9791 navigation, itemcollection completion, menu fixes
9793 2004-10-27 22:58 pbartok
9796 - Now throws a nice error message when no X display could be opened
9798 2004-10-26 13:51 jordi
9800 * ListView.cs: removes warning
9802 2004-10-26 03:55 ravindra
9804 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
9805 ThemeWin32Classic.cs: Some formatting for my last checkins.
9807 2004-10-26 03:36 ravindra
9809 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
9810 control and default values.
9812 2004-10-26 03:35 ravindra
9814 * Theme.cs: Added some default values for ListView control.
9816 2004-10-26 03:33 ravindra
9818 * ToolBar.cs: ToolBar should use the user specified button size, if
9819 there is any. Added a size_specified flag for the same.
9821 2004-10-26 03:33 ravindra
9823 * ColumnHeader.cs: Added some internal members and calculations for
9826 2004-10-26 03:32 ravindra
9828 * ListViewItem.cs: Calculations for ListViewItem.
9830 2004-10-26 03:31 ravindra
9832 * ListView.cs: Added some internal members and calculations for
9835 2004-10-22 13:31 jordi
9837 * MenuAPI.cs: speedup menus drawing
9839 2004-10-22 13:16 jackson
9841 * XplatUIX11.cs: Make sure to update exposed regions when adding an
9844 2004-10-22 11:49 jackson
9848 2004-10-22 11:41 jackson
9850 * Control.cs: Check to see if the window should have its background
9851 repainted by X when drawing.
9853 2004-10-22 11:31 jackson
9855 * XplatUIX11.cs: When invalidating areas only use XClearArea if
9856 clear is true, this way we do not get flicker from X repainting the
9859 2004-10-22 11:28 jackson
9861 * XEventQueue.cs: Queue properly
9863 2004-10-21 09:38 jackson
9865 * XEventQueue.cs: Fix access modifier
9867 2004-10-21 09:36 jackson
9869 * XEventQueue.cs: Don't loose messages
9871 2004-10-21 09:22 jackson
9873 * XEventQueue.cs: Don't loose messages
9875 2004-10-20 04:15 jordi
9877 * BootMode.cs: enum need it by SystemInfo
9879 2004-10-19 21:58 pbartok
9882 - Small sanity check
9884 2004-10-19 21:56 pbartok
9887 - Added private FormParentWindow class which acts as the container
9888 for our form and as the non-client area where menus are drawn
9889 - Added/Moved required tie-ins to Jordi's menus
9890 - Fixed/Implemented the FormStartPosition functionality
9892 2004-10-19 21:52 pbartok
9895 - Removed unneeded locals
9896 - Added code to all size and location properties to understand and
9897 deal with the parent container of Form
9899 2004-10-19 21:33 pbartok
9902 - Fixed to deal with new Form subclasses for menus
9904 2004-10-19 17:48 jackson
9906 * XEventQueue.cs: commit correct version of file
9908 2004-10-19 16:50 jackson
9910 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
9912 2004-10-19 16:15 jordi
9914 * MenuAPI.cs: MenuBarCalcSize returns the height
9916 2004-10-19 08:31 pbartok
9919 - Added missing call to PreProcessMessage before calling OnXXXKey
9922 2004-10-19 00:04 ravindra
9924 * ToolTip.cs: Fixed constructor.
9926 2004-10-18 09:31 jordi
9928 * MenuAPI.cs: menuitems in menubars do not have shortcuts
9930 2004-10-18 09:26 jordi
9932 * MenuItem.cs: fixes MenuItem class signature
9934 2004-10-18 08:56 jordi
9936 * MenuAPI.cs: prevents windows from showing in the taskbar
9938 2004-10-18 00:28 ravindra
9940 * ToolTip.cs: Suppressed a warning message.
9942 2004-10-18 00:27 ravindra
9944 * Control.cs: Default value of visible property must be true.
9946 2004-10-17 23:19 pbartok
9949 - Complete implementation
9951 2004-10-17 23:19 pbartok
9954 - Added EnableWindow method
9955 - Added SetModal stub
9956 - Added generation of WM_ACTIVATE message (still needs testing)
9957 - Added SetTopMost stub
9958 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
9960 2004-10-17 23:17 pbartok
9963 - Removed VirtualKeys to XplatUIStructs
9964 - Implemented SetTopMost method
9965 - Implemented EnableWindow method
9966 - Bugfix in ScreenToClient()
9967 - Bugfixes in ClientToScreen()
9969 2004-10-17 22:51 pbartok
9971 * XplatUIStructs.cs:
9972 - Added WS_EX styles to WindowStyles enumeration
9974 2004-10-17 22:50 pbartok
9976 * XplatUI.cs, XplatUIDriver.cs:
9977 - Added method for enabling/disabling windows
9978 - Added method for setting window modality
9979 - Added method for setting topmost window
9981 2004-10-17 22:49 pbartok
9983 * ThemeWin32Classic.cs:
9984 - Added ToolTip drawing code
9986 2004-10-17 22:49 pbartok
9989 - Added ToolTip abstracts
9991 2004-10-17 22:47 pbartok
9994 - Fixed Form.ControlCollection to handle owner relations
9995 - Added Owner/OwnedForms handling
9996 - Implemented Z-Ordering for owned forms
9997 - Removed unneeded private overload of ShowDialog
9998 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10000 - Fixed Close(), had wrong default
10001 - Added firing of OnLoad event
10002 - Added some commented out debug code for Ownership handling
10004 2004-10-17 22:16 pbartok
10007 - Fixed/implemented flat list of controls
10009 2004-10-17 22:14 pbartok
10012 - Added code to simulate modal dialogs on Win32
10014 2004-10-17 16:11 jordi
10016 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10019 2004-10-17 13:39 jordi
10021 * MenuAPI.cs: menu drawing fixes
10023 2004-10-15 09:10 ravindra
10025 * StructFormat.cs: General Enum.
10027 2004-10-15 09:09 ravindra
10029 * SizeGripStyle.cs: Enum for Form.
10031 2004-10-15 09:08 ravindra
10033 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10034 in Theme for ListView.
10036 2004-10-15 09:06 ravindra
10038 * ColumnHeader.cs: Flushing some formatting changes.
10040 2004-10-15 09:05 ravindra
10042 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10045 2004-10-15 09:03 ravindra
10047 * ListView.cs: Implemented Paint method and fixed coding style.
10049 2004-10-15 07:34 jordi
10051 * MenuAPI.cs: fix for X11
10053 2004-10-15 07:32 ravindra
10055 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10056 - Renamed Paint() method to Draw() for clarity. Also, moved
10057 DrawImage() to OnPaint().
10059 2004-10-15 07:25 ravindra
10061 * CheckBox.cs, RadioButton.cs:
10062 - Removed Redraw (), we get it from ButtonBase.
10063 - Implemented Paint (), to do class specific painting.
10065 2004-10-15 07:16 ravindra
10068 - Redraw () is not virtual now.
10069 - Added an internal virtual method Paint (), so that
10070 derived classes can do their painting on their own.
10071 - Modified OnPaint () to call Paint ().
10073 2004-10-15 06:43 jordi
10075 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10076 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10078 2004-10-15 00:30 ravindra
10081 - MessageBox on windows does not have min/max buttons.
10082 This change in CreateParams fixes this on Windows. We
10083 still need to implement this windowstyle behavior in
10086 2004-10-14 05:14 ravindra
10089 - Changed Redraw () to do a Refresh () always.
10090 - Fixed the MouseMove event handling when mouse is pressed,
10091 ie drag event handling.
10092 - Replaced the usage of ToolBarButton.Pressed property to
10093 ToolBarButton.pressed internal variable.
10095 2004-10-14 05:10 ravindra
10097 * ToolBarButton.cs:
10098 - Added an internal member 'inside' to handle mouse move
10099 with mouse pressed ie mouse drag event.
10100 - Changed 'Pressed' property to return true only when
10101 'inside' and 'pressed' are both true.
10102 - Some coding style love.
10104 2004-10-14 00:17 ravindra
10106 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10109 2004-10-14 00:15 ravindra
10111 * ButtonBase.cs: Redraw () related improvements.
10113 2004-10-14 00:14 ravindra
10115 * MessageBox.cs: Moved InitFormSize () out of Paint method and
10116 removed unnecessary calls to Button.Show () method.
10118 2004-10-13 17:50 pbartok
10122 - Removed destroying of window until we solve the problem of X
10123 destroying the window before us on shutdown
10125 2004-10-13 16:32 pbartok
10128 - Now Redraws on MouseUp for FlatStyle Flat and Popup
10130 2004-10-13 14:18 pbartok
10133 - Added code to destroy the X window
10135 2004-10-13 14:18 pbartok
10138 - Added code to destroy a window
10140 2004-10-13 14:12 pbartok
10143 - Added the Redraw on Resize that got dropped in the last rev
10145 2004-10-13 09:06 pbartok
10147 * ThemeWin32Classic.cs:
10148 - Path from John BouAntoun:
10149 * Fix check rendering (centre correctly for normal style, offset
10150 correctly for FlatStyle).
10151 * Fix border color usage (use backcolor) for FlatStyle.Popup
10152 * Use checkbox.Capture instead of checkbox.is_pressed when
10153 rendering flatstyle states.
10155 2004-10-12 21:48 pbartok
10157 * ThemeWin32Classic.cs:
10158 - Removed all occurences of SystemColors and replaced them with the
10159 matching theme color
10161 2004-10-12 21:41 pbartok
10163 * ThemeWin32Classic.cs:
10164 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10165 him using the function for flatstyle drawing
10166 - Changed functions to use the new version of CPDrawBorder3D
10168 2004-10-12 21:15 pbartok
10171 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10172 match MS documentation. They need to return defined colors if the
10173 passed color matches the configured control color. Thanks to John
10174 BouAntoun for pointing this out.
10176 2004-10-12 20:57 pbartok
10179 - Fix from John BouAntoun: Raise ForeColorChanged event when text
10182 2004-10-12 20:46 pbartok
10185 - Fix from John BouAntoun: Now properly sets the Appearance property
10187 2004-10-12 20:45 pbartok
10189 * ThemeWin32Classic.cs:
10190 - Fixes from John BouAntoun: now handles forecolors and backcolors
10191 for flatstyle rendered controls much better; It also fixes normal
10192 checkbox rendering when pushed or disabled.
10194 2004-10-08 02:50 jordi
10196 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
10199 2004-10-07 08:56 jordi
10201 * ThemeWin32Classic.cs: Removes deletion of cached brushes
10203 2004-10-06 03:59 jordi
10205 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
10206 XplatUIWin32.cs: removes warnings from compilation
10208 2004-10-05 12:23 jackson
10210 * RadioButton.cs: Fix ctor
10212 2004-10-05 11:10 pbartok
10215 - Partial implementation by Benjamin Dasnois
10217 2004-10-05 10:15 jackson
10219 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
10222 2004-10-05 03:07 ravindra
10225 - Removed a private method, Draw ().
10226 - Fixed the ButtonDropDown event handling.
10227 - Fixed MouseMove event handling.
10229 2004-10-05 03:04 ravindra
10231 * ThemeWin32Classic.cs:
10232 - Added DrawListView method and ListViewDefaultSize property.
10233 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
10234 - Changed DOS style CRLF to Unix format (dos2unix).
10236 2004-10-05 03:03 ravindra
10239 - Added DrawListView method and ListViewDefaultSize property.
10241 2004-10-05 02:42 ravindra
10243 * ToolBarButton.cs: Added an internal member dd_pressed to handle
10244 clicks on DropDown arrow.
10246 2004-10-04 22:56 jackson
10248 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
10249 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
10250 Control handle the buffers, derived classes should not have to
10251 CreateBuffers themselves.
10253 2004-10-04 21:20 jackson
10255 * StatusBar.cs: The control handles resizing the buffers now.
10257 2004-10-04 21:18 jackson
10259 * Control.cs: When resizing the buffers should be invalidated. This
10260 should be handled in Control not in derived classes.
10262 2004-10-04 14:45 jackson
10266 2004-10-04 02:14 pbartok
10268 * LeftRightAlignment.cs:
10271 2004-10-04 01:09 jordi
10273 * ThemeWin32Classic.cs: fixes right button position causing right
10274 button not showing on horizontal scrollbars
10276 2004-10-02 13:12 pbartok
10279 - Simplified the Invalidate method by using an X call instead of
10280 generating the expose ourselves
10281 - Added an expose when the window background is changed
10282 - Implemented ClientToScreen method
10284 2004-10-02 13:08 pbartok
10287 - Added Win32EnableWindow method (test for implementing modal
10289 - Added ClientToScreen method and imports
10291 2004-10-02 13:07 pbartok
10293 * XplatUI.cs, XplatUIDriver.cs:
10294 - Added ClientToScreen coordinate translation method
10296 2004-10-02 13:06 pbartok
10298 * KeyPressEventArgs.cs:
10299 - Fixed access level for constructor
10301 2004-10-02 13:06 pbartok
10304 - Changed access level for the window_collection hash table
10306 2004-10-02 13:05 pbartok
10309 - Added KeyPreview property
10310 - Added Menu property (still incomplete, pending Jordi's menu work)
10311 - Implemented ProcessCmdKey
10312 - Implemented ProcessDialogKey
10313 - Implemented ProcessKeyPreview
10315 2004-10-02 13:02 pbartok
10318 - Added private method to get the Control object from the window
10320 - Implemented ContextMenu property
10321 - Implemented PointToScreen
10322 - Implemented PreProcessMessage
10323 - Implemented IsInputChar
10324 - Implemented IsInputKey
10325 - Implemented ProcessCmdKey
10326 - Completed ProcessKeyEventArgs
10327 - Fixed message loop to call the proper chain of functions on key
10329 - Implemented ProcessDialogChar
10330 - Implemented ProcessDialogKey
10331 - Implemented ProcessKeyMessage
10332 - Implemented ProcessKeyPreview
10333 - Added RaiseDragEvent stub (MS internal method)
10334 - Added RaiseKeyEvent stub (MS internal method)
10335 - Added RaiseMouseEvent stub (MS Internal method)
10336 - Added RaisePaintEvent stub (MS Internal method)
10337 - Added ResetMouseEventArgs stub (MS Internal method)
10338 - Implemented RtlTranslateAlignment
10339 - Implemented RtlTranslateContent
10340 - Implemented RtlTranslateHorizontal
10341 - Implemented RtlTranslateLeftRight
10342 - Added generation of KeyPress event
10344 2004-10-02 05:57 ravindra
10346 * ListViewItem.cs: Added attributes.
10348 2004-10-02 05:32 ravindra
10350 * ListView.cs: Added attributes.
10352 2004-10-01 11:53 jackson
10354 * Form.cs: Implement the Close method so work on MessageBox can
10357 2004-09-30 14:06 pbartok
10362 2004-09-30 11:34 jackson
10364 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
10366 2004-09-30 07:26 ravindra
10368 * ListViewItemConverter.cs: Converter for ListViewItem.
10370 2004-09-30 07:26 ravindra
10372 * SortOrder.cs: Enum for ListView control.
10374 2004-09-30 07:25 ravindra
10376 * ColumnHeader.cs: Supporting class for ListView control.
10378 2004-09-30 07:24 ravindra
10380 * ListView.cs, ListViewItem.cs: Initial implementation.
10382 2004-09-30 07:20 ravindra
10384 * ItemActivation.cs: Enum for ListView Control.
10386 2004-09-29 20:29 pbartok
10389 - Added lookup of pixel value for background color; tries to get a
10390 color 'close' to the requested color, it avoids having to create a
10391 colormap. Depending on the display this could mean the used color
10392 is slightly off the desired color. Might have to change it to a more
10393 resource intensive colormap approach, but it will work as a
10394 workaround to avoid red screens.
10396 2004-09-29 14:27 jackson
10398 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
10400 2004-09-28 12:44 pbartok
10402 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
10403 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
10404 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
10405 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
10406 TrackBar.cs, VScrollBar.cs:
10407 - Streamlined Theme interfaces:
10408 * Each DrawXXX method for a control now is passed the object for
10409 the control to be drawn in order to allow accessing any state the
10410 theme might require
10412 * ControlPaint methods for the theme now have a CP prefix to avoid
10413 name clashes with the Draw methods for controls
10415 * Every control now retrieves it's DefaultSize from the current
10418 2004-09-28 12:17 jackson
10420 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
10423 2004-09-24 14:57 jackson
10425 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
10426 Gives us a nice little performance boost.
10428 2004-09-24 12:02 jackson
10430 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
10431 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
10432 Control and supporting classes. Initial checkin
10434 2004-09-23 13:08 jackson
10436 * Form.cs: Temp build fixage
10438 2004-09-23 01:39 ravindra
10440 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
10441 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
10442 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
10443 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
10444 EventHandlers needed by ListView Control.
10446 2004-09-22 14:12 pbartok
10448 * ScrollableControl.cs:
10449 - Implemented DockPadding property
10450 - Implemented AutoScroll property
10451 - Implemented AutoScrollMargin property
10452 - Implemented AutoScrollMinSize property
10453 - Implemented AutoScrollPosition property
10454 - Implemented DisplayRectangle property (still incomplete)
10455 - Implemented CreateParams property
10456 - Implemented HScroll property
10457 - Implemented VScroll property
10458 - Implemented OnVisibleChanged property
10460 2004-09-22 14:09 pbartok
10463 - Added Form.ControllCollection class
10464 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
10465 RemoveOwnedForm (still incomplete, missing on-top and common
10466 minimize/maximize behaviour)
10467 - Added StartPosition property (still incomplete, does not use when
10469 - Added ShowDialog() methods (still incomplete, missing forcing the
10472 2004-09-22 14:05 pbartok
10475 - Added message loop for modal dialogs
10477 2004-09-22 14:02 pbartok
10480 - Fixed wrong types for events
10482 2004-09-22 14:00 pbartok
10484 * Shortcut.cs, FormWindowState.cs:
10485 - Fixed wrong values
10487 2004-09-22 12:01 jackson
10489 * Control.cs: Text is never null
10491 2004-09-20 22:14 pbartok
10494 - Fixed accessibility level for Idle handler
10496 2004-09-20 18:54 jackson
10498 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10499 XplatUIX11.cs: New message loop that uses poll so we don't get a
10502 2004-09-17 10:43 pbartok
10505 - Fixed behaviour of arrow buttons. Now properly behaves like
10506 Buttons (and like Microsoft's scrollbar arrow buttons)
10508 2004-09-17 10:14 pbartok
10511 - Added missing release of keyboard/mouse capture
10513 2004-09-17 06:18 jordi
10515 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
10516 Theme.cs: Very early menu support
10518 2004-09-16 17:45 pbartok
10521 - Fixed sending a window to the front
10522 - Added overload for SetWindowPos to avoid casting
10524 2004-09-16 17:44 pbartok
10527 - Added SendToBack and BringToFront methods
10529 2004-09-16 07:00 ravindra
10531 * Copyright: Added Novell URL.
10533 2004-09-16 07:00 ravindra
10535 * ToolBar.cs: Invalidate should be done before redrawing.
10537 2004-09-15 21:19 ravindra
10539 * ColumnHeaderStyle.cs: Enum for ListView Control.
10541 2004-09-15 21:18 ravindra
10543 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
10546 2004-09-13 18:26 jackson
10548 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
10551 2004-09-13 18:13 jackson
10553 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
10554 a second thread and post messages into the main threads message
10555 queue. This makes timing much more consistent. Both win2K and XP
10556 have a minimum timer value of 15 milliseconds, so we now do this
10559 2004-09-13 15:18 pbartok
10561 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10563 - Added Z-Ordering methods
10565 2004-09-13 10:56 pbartok
10568 - Fixed #region names
10569 - Moved properties and methods into their proper #regions
10571 2004-09-13 10:51 pbartok
10574 - Added Accept and CancelButton properties
10575 - Added ProcessDialogKey() method
10577 2004-09-13 08:18 pbartok
10579 * IWindowTarget.cs:
10582 2004-09-10 21:50 pbartok
10585 - Added DoDragDrop() [incomplete]
10586 - Properly implemented 'Visible' handling
10587 - Added SetVisibleCore()
10588 - Implemented FindChildAtPoint()
10589 - Implemented GetContainerControl()
10590 - Implemented Hide()
10592 2004-09-10 19:28 pbartok
10595 - Moved methods into their appropriate #regions
10596 - Reordered methods within regions alphabetically
10598 2004-09-10 18:57 pbartok
10600 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
10601 - Added method to retrieve text from window
10603 2004-09-10 18:56 pbartok
10606 - Moved some internal functions into the internal region
10607 - Implemented FontHeight
10608 - Implemented RenderRightToLeft
10609 - Implemented ResizeRedraw
10610 - Implemented ShowFocusCues
10611 - Implemented ShowKeyboardCues
10612 - Implemented FromChildHandle
10613 - Implemented FromHandle
10614 - Implemented IsMnemonic
10615 - Implemented ReflectMessage
10616 - All public and protected Static Methods are now complete
10618 2004-09-10 16:54 pbartok
10621 - Implemented remaining missing public instance properties
10622 - Alphabetized some out of order properties
10624 2004-09-10 05:51 ravindra
10626 * PictureBox.cs: Added a check for null image.
10628 2004-09-10 00:59 jordi
10630 * GroupBox.cs: remove cvs tag
10632 2004-09-09 05:25 ravindra
10634 * ToolBar.cs: Make redraw accessible from ToolBarButton.
10636 2004-09-09 05:23 ravindra
10638 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
10641 2004-09-09 02:28 pbartok
10643 * ThemeWin32Classic.cs:
10644 - Improve disabled string look
10646 2004-09-09 01:15 jordi
10648 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
10651 2004-09-08 23:56 ravindra
10653 * ItemBoundsPortion.cs: It's enum, not a class!
10655 2004-09-08 23:47 ravindra
10657 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
10660 2004-09-08 21:13 ravindra
10662 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
10665 2004-09-08 21:03 ravindra
10667 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
10670 2004-09-08 21:01 ravindra
10672 * ScrollableControl.cs: Removed unreachable code.
10674 2004-09-08 06:45 jordi
10676 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
10678 2004-09-08 01:00 jackson
10680 * XplatUIX11.cs: Only run the timers when updating the message
10681 queue. This effectively gives X messages a higher priority then
10682 timer messages. Timers still need love though
10684 2004-09-07 14:01 jackson
10686 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
10687 this for us and the handle is no longer valid.
10689 2004-09-07 13:59 jackson
10691 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
10692 loop that manages to not crash. TODO: Add poll and cleanup timers
10694 2004-09-07 11:12 jordi
10696 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
10698 2004-09-07 03:40 jordi
10700 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
10701 fixes, methods, multiple links
10703 2004-09-06 06:55 jordi
10705 * Control.cs: Caches ClientRectangle rectangle value
10707 2004-09-05 02:03 jordi
10709 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
10712 2004-09-04 11:10 jordi
10714 * Label.cs: Refresh when font changed
10716 2004-09-02 16:24 pbartok
10719 - Added sanity check to creation of double buffer bitmap
10721 2004-09-02 16:24 pbartok
10724 - Fixed selection of text color
10725 - Fixed handling of resize event; now properly recreates double
10727 - Added missing assignment of TextAlignment
10728 - Added proper default for TextAlignment
10730 2004-09-02 14:26 pbartok
10733 - Added missing RadioButton.RadioButtonAccessibleObject class
10735 2004-09-02 14:26 pbartok
10738 - Added missing Control.ControlAccessibleObject class
10739 - Started to implement Select()ion mechanisms, still very incomplete
10741 2004-09-02 14:25 pbartok
10743 * AccessibleObject.cs:
10744 - Added missing methods
10746 2004-09-02 14:23 pbartok
10748 * AccessibleNavigation.cs, AccessibleSelection.cs:
10751 2004-09-02 10:32 jordi
10753 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
10754 pool for pens, brushes, and hatchbruses
10756 2004-09-01 15:30 jackson
10758 * StatusBar.cs: Fix typo
10760 2004-09-01 14:44 pbartok
10765 2004-09-01 14:39 pbartok
10767 * Button.cs, RadioButton.cs:
10768 - Functional initial check-in
10770 2004-09-01 14:01 pbartok
10773 - Added missing default
10774 - Added missing region mark
10776 2004-09-01 09:10 jordi
10778 * Label.cs: fixes method signatures, new methods, events, fixes
10781 2004-09-01 07:19 jordi
10783 * Control.cs: Init string variables with an empty object
10785 2004-09-01 04:20 jordi
10787 * Control.cs: fires OnFontChanged event
10789 2004-08-31 20:07 pbartok
10792 - Enabled display of strings
10794 2004-08-31 20:05 pbartok
10797 - Added (partial) implementation of DialogResult; rest needs to be
10798 implemented when the modal loop code is done
10800 2004-08-31 19:55 pbartok
10803 - Fixed to match the removal of the needs_redraw concept
10805 2004-08-31 19:55 pbartok
10808 - Removed the rather odd split between 'needs redraw' and redrawing
10809 - Now handles the events that require regeneration (ambient
10810 properties and size)
10812 2004-08-31 19:41 pbartok
10815 - Added firing of BackColorChanged event
10816 - Added TopLevelControl property
10817 - Fixed handling of WM_ERASEBKGRND message
10819 2004-08-31 12:49 pbartok
10825 2004-08-31 12:48 pbartok
10828 - Finished (famous last words)
10830 2004-08-31 04:35 jordi
10832 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
10833 scrolling bugs, adds new methods
10835 2004-08-30 14:42 pbartok
10838 - Implemented CheckBox drawing code
10840 2004-08-30 14:42 pbartok
10843 - Made Redraw() and CheckRedraw() virtual
10844 - Improved mouse up/down/move logic to properly track buttons
10846 2004-08-30 09:44 pbartok
10849 - Updated to fix broken build. Not complete yet.
10851 2004-08-30 09:28 pbartok
10856 2004-08-30 09:17 pbartok
10861 2004-08-27 16:12 ravindra
10863 * ToolBarButton.cs: Added TypeConverter attribute.
10865 2004-08-27 16:07 ravindra
10867 * ImageIndexConverter.cs: Implemented.
10869 2004-08-27 14:17 pbartok
10872 - Removed unneeded stack vars
10873 - First attempt to fix sizing issues when layout is suspended
10875 2004-08-25 15:35 jordi
10877 * ScrollBar.cs: more fixes to scrollbar
10879 2004-08-25 14:04 ravindra
10881 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
10882 Added the missing divider code and grip for ToolBar Control.
10884 2004-08-25 13:20 pbartok
10887 - Control now properly passes the ambient background color to child
10890 2004-08-25 13:20 jordi
10892 * ScrollBar.cs: small bug fix regarding bar position
10894 2004-08-25 12:33 pbartok
10897 - Now only calls SetTimer or KillTimer if the enabled state has
10900 2004-08-25 12:33 pbartok
10903 - Fixed timer handling, now seems to work
10904 - Improved error message for window creation
10906 2004-08-25 12:32 pbartok
10909 - Fixed generation of MouseUp message
10911 2004-08-25 12:29 jordi
10913 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
10914 and fixes for progressbar
10916 2004-08-24 18:43 ravindra
10918 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
10919 in ToolBar control.
10921 2004-08-24 17:15 pbartok
10925 - Added missing events
10928 2004-08-24 17:14 pbartok
10930 * StatusBar.cs, PictureBox.cs:
10931 - Now uses Control's CreateParams
10933 2004-08-24 16:36 pbartok
10936 - Fixed background color handling
10937 - Fixed sending of enter/leave events on a grab
10939 2004-08-24 16:35 pbartok
10942 - Refined definitions for CrossingEvent
10944 2004-08-24 12:37 jordi
10946 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
10947 formmating, methods signature, and adds missing events
10949 2004-08-24 12:24 jordi
10951 * Control.cs: fire OnEnabledChanged event
10953 2004-08-24 11:17 pbartok
10956 - Implemented SetTimer() and KillTimer()
10958 2004-08-24 11:16 pbartok
10961 - Now uses Remove instead of Add to kill the timer
10963 2004-08-24 10:16 jackson
10965 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
10966 picture boxes in the theme now. Draw picture box borders and obey
10969 2004-08-24 05:49 jackson
10971 * Timer.cs: Remove top secret debugging code
10973 2004-08-24 05:34 jackson
10975 * PictureBox.cs: Temp hack to make picture boxes draw their full
10978 2004-08-24 05:29 jackson
10980 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
10981 XplatUIX11.cs: Move timers to the driver level. On X they are
10982 queued by the driver and checked on idle.
10984 2004-08-24 01:07 jackson
10986 * XplatUIX11.cs: Use a queue for async messages instead of passing
10987 them as ClientMessages since that was totally broken. Also simply
10988 check for events and return an idle message if none are found. This
10989 gives us an idle handler, and prevents deadlocking when no messages
10992 2004-08-23 18:19 ravindra
10994 * XplatUIWin32.cs: Removed the unwanted destructor.
10996 2004-08-23 17:27 pbartok
10999 - Finishing touches. Works now, just needs some optimizations.
11001 2004-08-23 16:53 jordi
11003 * ScrollBar.cs: small fix
11005 2004-08-23 16:45 pbartok
11008 - Removed debug output
11011 2004-08-23 16:43 jordi
11013 * ScrollBar.cs: [no log message]
11015 2004-08-23 16:10 pbartok
11018 - Fixed handling of WM_CLOSE message
11019 - Removed debug output
11021 2004-08-23 16:09 pbartok
11024 - Added handling of Idle event
11025 - Added handling of form closing
11026 - Fixed reporting of MessageLoop property
11027 - Removed some unneeded code, should provide a bit of a speedup
11029 2004-08-23 15:22 pbartok
11032 - Added InitLayout() method
11033 - Added code to properly perform layout when Anchor or Dock property
11035 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11036 LAMESPEC, tried to do it in a way that makes sense
11038 2004-08-23 14:10 jordi
11040 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11041 properties and methods
11043 2004-08-23 13:55 pbartok
11046 - Properly fixed Jordi's last fix
11047 - Now uses Cursor's Position property instead of calling XplatUI
11050 2004-08-23 13:44 jordi
11052 * PaintEventHandler.cs: Adding missing attribute
11054 2004-08-23 13:39 pbartok
11057 - Implemented Position property
11059 2004-08-23 13:39 pbartok
11061 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11062 - Added method to move mouse cursor
11064 2004-08-23 13:39 pbartok
11067 - Fixed setting of background color
11068 - Added method to move mouse cursor
11070 2004-08-23 13:16 jordi
11072 * Control.cs: avoids null exception
11074 2004-08-22 17:46 jackson
11076 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11079 2004-08-22 17:40 jackson
11081 * XplatUIX11.cs: Add some missing locks
11083 2004-08-22 15:10 pbartok
11085 * Control.cs, Form.cs:
11086 - Removed OverlappedWindow style from Control, instead it's default
11088 - Made form windows OverlappedWindow by default
11090 2004-08-22 13:34 jackson
11092 * ScrollBar.cs: Update the position through the Value property so
11093 the OnValueChanged event is raised.
11095 2004-08-22 12:04 pbartok
11098 - Added Cursor.cs and UserControl.cs
11100 2004-08-22 12:03 pbartok
11103 - Started implementation, not usable yet
11105 2004-08-22 12:00 pbartok
11108 - Implemented UserControl (complete)
11110 2004-08-21 19:20 ravindra
11112 * ToolBar.cs: Correcting the formatting mess of VS.NET.
11114 2004-08-21 18:49 ravindra
11116 * ToolBar.cs: Probably this completes the missing attributes in
11119 2004-08-21 18:03 ravindra
11121 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11122 Fixed toolbar control signatures.
11124 2004-08-21 16:32 pbartok
11129 2004-08-21 16:30 pbartok
11134 2004-08-21 16:19 pbartok
11136 * Control.cs, Label.cs:
11139 2004-08-21 15:57 pbartok
11142 - Added loads of debug output for development
11143 - Fixed typo in method name
11145 2004-08-21 15:52 pbartok
11147 * ToolBarButtonClickEventArgs.cs:
11148 - Added missing base class
11150 2004-08-21 14:53 pbartok
11153 - Updated to match new GrabWindow signature
11155 2004-08-21 14:51 pbartok
11157 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11158 - Added method to get default display size
11160 2004-08-21 14:23 pbartok
11162 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11163 - Added method to query current grab state
11164 - Added argument to allow confining a grab to a window
11166 2004-08-21 14:22 pbartok
11169 - Added [Flags] attribute so that modifiers can be used in bitwise
11172 2004-08-21 14:21 pbartok
11174 * TrackBar.cs, ScrollBar.cs:
11175 - Replaced direct XplatUI calls with their Control counterpart
11177 2004-08-21 13:32 pbartok
11180 - Implemented Created property
11182 2004-08-21 13:28 pbartok
11185 - Implemented ContainsFocus
11187 2004-08-21 13:26 pbartok
11190 - Implemented CausesValidation
11192 2004-08-21 13:21 pbartok
11195 - Implemented CanFocus
11196 - Implemented CanSelect
11197 - Implemented Capture
11199 2004-08-21 12:35 pbartok
11202 - Fixed bug with Async message handling
11203 - Implemented getting the ModifierKeys
11205 2004-08-21 12:32 jackson
11207 * AsyncMethodResult.cs: Make sure we have the mutex before we
11208 release it. Fixes BeginInvoke on windows
11210 2004-08-21 11:31 pbartok
11212 * XplatUIWin32.cs, XplatUIX11.cs:
11213 - Drivers now return proper mouse state
11215 2004-08-21 10:54 jackson
11217 * Control.cs: Implement EndInvoke
11219 2004-08-21 10:48 jackson
11221 * Timer.cs: Remove unneeded finalizer
11223 2004-08-20 19:52 ravindra
11225 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
11226 in mouse event handling in the ToolBar control.
11228 2004-08-20 19:50 ravindra
11230 * ImageList.cs: Changed draw method to use the arguments passed in
11233 2004-08-20 18:58 pbartok
11235 * XplatUIStructs.cs:
11236 - Added private message for async communication
11238 2004-08-20 17:38 ravindra
11240 * Control.cs: Made RightToLeft property virtual and removed a
11243 2004-08-20 14:39 jordi
11245 * ThemeGtk.cs: use style_attach
11247 2004-08-20 14:39 pbartok
11250 - Added jackson's Async code from X11 to Win32
11252 2004-08-20 14:09 pbartok
11255 - Added all new files
11257 2004-08-20 14:09 pbartok
11260 - Added call to set window background color
11262 2004-08-20 14:03 pbartok
11264 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11265 - Added method for setting the window background
11267 2004-08-20 14:02 pbartok
11270 - Added method for setting the background color
11271 - Added handling for erasing the window background
11273 2004-08-20 13:45 jordi
11275 * TrackBar.cs: fixes timer, new properties and methods
11277 2004-08-20 13:34 jackson
11279 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
11282 2004-08-20 13:22 jackson
11284 * Timer.cs: Timer Tick events are now handed through Controls Async
11285 mechanism so the callbacks are executed in the same thread as X
11287 2004-08-20 13:19 jackson
11289 * XplatUIDriver.cs: Expose functionality to send async messages
11292 2004-08-20 13:18 jackson
11294 * Control.cs: Implement Begininvoke
11296 2004-08-20 13:14 jackson
11298 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
11299 messages through the driver
11301 2004-08-20 13:12 jackson
11303 * XplatUIX11.cs: Lock before all X operations. Also added Async
11304 method functionality through XSendEvent
11306 2004-08-20 13:11 jackson
11308 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
11309 This will screw up on 64 bit systems)
11311 2004-08-20 13:10 jackson
11313 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
11314 Async messages through X/Win32
11316 2004-08-19 19:39 pbartok
11319 - Updated code to match new HandleData.DeviceContext type
11321 2004-08-19 19:38 pbartok
11324 - Made DeviceContext a generic object to allow usage from various
11326 - Added support for queueing Windows messages
11328 2004-08-19 19:37 pbartok
11331 - Added generation of MouseEnter, MouseLeave and MouseHover events
11332 - Added cleanup on EndPaint
11334 2004-08-19 19:17 pbartok
11337 - Added handling of WM_MOUSEHOVER
11338 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
11341 2004-08-19 18:55 jordi
11343 * ThemeGtk.cs: fixes button order
11345 2004-08-19 18:12 jordi
11347 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
11349 2004-08-19 17:09 pbartok
11352 - Added Right property
11353 - Added RightToLeft property
11355 2004-08-19 16:27 jordi
11357 * ThemeGtk.cs: experimental GTK theme support
11359 2004-08-19 16:26 jordi
11361 * ITheme.cs, Theme.cs: move themes from an interface to a class
11363 2004-08-19 16:25 jordi
11365 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
11368 2004-08-19 16:04 pbartok
11371 - Added colormap basics
11372 - Added a way to re-initialize with a different display handle
11373 - Fixed setting of the window background color
11374 - Added various X11 imports related to colors and colormaps
11376 2004-08-19 15:51 pbartok
11379 - Removed packing hints (Paolo suggested this a while back)
11380 - fixed colormap type
11381 - Added default Atom types
11382 - Added Screen and color structs and enums
11384 2004-08-19 15:39 pbartok
11387 - Added missing Draw() method
11388 - Added missing RecreateHandle event
11390 2004-08-19 15:30 pbartok
11393 - Added handling of WM_CLOSE
11395 2004-08-18 13:16 jordi
11397 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
11400 2004-08-18 09:56 jordi
11402 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
11404 2004-08-17 15:31 ravindra
11406 * SWF.csproj: Updated project.
11408 2004-08-17 15:25 pbartok
11411 - Drawing improvement; don't call UpdateBounds if we are not visible
11412 (or have been minimized)
11414 2004-08-17 15:24 pbartok
11417 - Finished IsVisible
11418 - Added Win32GetWindowPlacement
11420 2004-08-17 15:08 jackson
11422 * Panel.cs: Initial checkin of the Panel
11424 2004-08-17 14:25 pbartok
11427 - Fixed broken handling of default window sizes
11429 2004-08-17 13:29 jackson
11431 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
11432 has a large startup time.
11434 2004-08-17 10:25 jackson
11436 * HandleData.cs: union areas properly
11438 2004-08-17 10:12 jackson
11440 * HandleData.cs: union areas properly
11442 2004-08-16 20:00 ravindra
11444 * ToolBar.cs, ToolBarButton.cs: Added attributes.
11446 2004-08-16 18:48 ravindra
11448 * ToolBar.cs: Added attributes.
11450 2004-08-16 17:17 ravindra
11452 * SWF.csproj: Updated project.
11454 2004-08-16 17:16 jackson
11456 * XplatUIX11.cs: Check for more expose events before sending a
11457 WM_PAINT so they can all be grouped together. This makes dragging a
11458 window across another window redraw in a sane way.
11460 2004-08-16 15:47 pbartok
11463 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
11464 support OnMouseEnter/Leave()
11465 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
11468 2004-08-16 15:46 pbartok
11470 * XplatUIStructs.cs, XplatUIX11.cs:
11471 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
11472 OnMouseEnter/Leave()
11474 2004-08-16 15:34 jackson
11476 * XplatUIX11.cs: Group multiple expose events in HandleData, make
11477 sure messages get the message field set to WM_NULL if they are not
11480 2004-08-16 15:24 jackson
11482 * HandleData.cs: HandleData is used for storing message information
11485 2004-08-15 17:23 ravindra
11487 * ColorDepth.cs: Added attribute.
11489 2004-08-15 17:23 ravindra
11491 * SWF.csproj: Updated project for ToolBar Control.
11493 2004-08-15 17:20 ravindra
11495 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
11496 control and also dos2unix format.
11498 2004-08-15 17:13 ravindra
11500 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
11501 ToolBarButtonClickEventArgs.cs,
11502 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
11503 ToolBarTextAlign.cs: First Implementation of ToolBar control.
11505 2004-08-15 15:31 pbartok
11508 - First (mostly) working version
11510 2004-08-13 16:15 pbartok
11513 - Fixed Anchor default
11515 2004-08-13 15:43 pbartok
11518 - Changed GetCursorPos signature
11520 2004-08-13 15:42 pbartok
11522 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11523 - Changed signature for GetCursorPos
11525 2004-08-13 15:25 pbartok
11529 - Fixed resizing/exposure handling
11531 2004-08-13 15:22 jordi
11533 * ThemeWin32Classic.cs: removes redundant code and fixes issues
11536 2004-08-13 14:55 jordi
11538 * TrackBar.cs: change from wndproc to events
11540 2004-08-13 13:00 jordi
11542 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11543 XplatUIX11.cs: implements PointToClient (ScreenToClient)
11545 2004-08-13 12:53 pbartok
11548 - Changed GetWindowPos to also provide client area size
11549 - Fixed broken prototypes for several win32 functions
11551 2004-08-13 12:53 pbartok
11553 * XplatUI.cs, XplatUIDriver.cs:
11554 - Changed GetWindowPos to also provide client area size
11556 2004-08-13 12:52 pbartok
11559 - Added generation of WM_POSCHANGED
11560 - Changed GetWindowPos to also provide client area size
11562 2004-08-13 12:52 pbartok
11565 - Added Dispose() and destructor
11566 - Fixed resizing and bounds calculation
11568 - Added memory savings for invisible windows
11570 2004-08-13 12:46 jordi
11572 * TrackBar.cs: adds timer and grap window
11574 2004-08-13 10:25 jackson
11576 * Timer.cs: SWF Timer
11578 2004-08-12 16:59 pbartok
11580 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11581 - Implemented method to get current mouse position
11583 2004-08-12 14:29 jordi
11585 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
11586 enhancement, fix mouse problems, highli thumb, etc
11588 2004-08-12 13:31 pbartok
11591 - Fixed Anchoring bugs
11593 2004-08-12 13:01 jackson
11595 * StatusBar.cs: Don't forget things
11597 2004-08-12 12:54 jackson
11599 * ThemeWin32Classic.cs: Handle owner draw status bars
11601 2004-08-12 12:54 jackson
11603 * StatusBar.cs: Implement missing properties, events, and methods.
11604 Handle mouse clicking
11606 2004-08-12 10:19 jackson
11608 * StatusBarPanelClickEventArgs.cs,
11609 StatusBarPanelClickEventHandler.cs: Classes for handling status
11610 bar panel click events
11612 2004-08-12 10:10 jackson
11614 * Control.cs: Add missing properties
11616 2004-08-12 09:46 pbartok
11618 * BindingsManagerBase.cs:
11619 - Name changed to BindingManagerBase.cs
11621 2004-08-12 09:25 jordi
11623 * ScrollableControl.cs: calls ctrlbase instead of exeception
11625 2004-08-11 16:28 pbartok
11627 * InputLanguageChangingEventArgs.cs:
11628 - Never check in before compiling. Fixes the last check-in
11630 2004-08-11 16:26 pbartok
11632 * InputLanguageChangingEventArgs.cs:
11633 - More signature fixes
11635 2004-08-11 16:20 pbartok
11637 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
11638 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
11639 ImageListStreamer.cs, InputLanguage.cs,
11640 InputLanguageChangedEventArgs.cs,
11641 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
11642 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
11643 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
11644 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11647 2004-08-11 16:16 pbartok
11651 - Added .Net 1.1 method
11653 2004-08-11 15:25 pbartok
11656 - Fixed BindingManagerBase.cs filename
11658 2004-08-11 15:22 pbartok
11660 * BindingManagerBase.cs:
11661 - Was checked in with wrong filename
11663 2004-08-11 14:50 pbartok
11668 2004-08-11 13:41 jordi
11670 * XplatUIWin32.cs: Fixes ClientRect
11672 2004-08-11 13:19 pbartok
11674 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11676 - We had SetWindowPos and MoveWindow to set window positions and
11677 size, removed MoveWindow. We have GetWindowPos, so it made sense to
11678 keep SetWindowPos as matching counterpart
11679 - Added some X11 sanity checking
11681 2004-08-11 12:59 pbartok
11684 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
11685 (It seems that SetBounds is just a front for SetBoundsCore and
11686 SetBoundsCore updates the underlying window system and
11687 UpdateBounds is responsible for updating the variables associated
11688 with the Control and sending the events)
11689 - Major cleanup of Size handling; we now have two sizes, client_size
11690 and bounds. Bounds defines the window with decorations, client_size
11693 2004-08-11 12:55 pbartok
11695 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11696 - Added method to calculate difference between decorated window and
11699 2004-08-11 12:54 pbartok
11702 - Forcing redraw on resize
11704 2004-08-11 11:43 pbartok
11707 - Removed disposing of the actual images when the list is disposed
11709 2004-08-11 09:13 pbartok
11712 - Now properly reparents windows
11714 2004-08-11 08:37 pbartok
11719 2004-08-11 07:47 pbartok
11722 - Rewrote the collection stuff. Might not be as fast now, not
11723 keeping the number of children around and accessible directly, but
11724 it's more straightforward
11726 2004-08-11 07:44 pbartok
11728 * AccessibleObject.cs:
11729 - Fixed to match ControlCollection rewrite
11731 2004-08-11 07:43 pbartok
11734 - Added missing creation of the collection list
11736 2004-08-10 20:08 jackson
11738 * StatusBar.cs: Get the paint message from WndProc
11740 2004-08-10 19:31 jackson
11742 * ThemeWin32Classic.cs: Create Brushes as little as possible
11744 2004-08-10 19:20 jackson
11746 * UICues.cs: Add Flags attribute
11748 2004-08-10 19:19 jackson
11750 * StatusBarPanel.cs: Signature cleanup
11752 2004-08-10 19:10 jackson
11754 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
11755 Initial implementation of status bar item drawing
11757 2004-08-10 17:27 jordi
11759 * TrackBar.cs: add missing methods, properties, and restructure to
11762 2004-08-10 16:24 jackson
11764 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
11765 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
11768 2004-08-10 13:21 jordi
11770 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
11771 enhancements and standarize on win colors defaults
11773 2004-08-10 12:52 jackson
11775 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
11776 ThemeWin32Classic.cs: Implement DrawItem functionality
11778 2004-08-10 12:47 jordi
11780 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
11782 2004-08-10 12:32 jordi
11784 * Control.cs: throw ontextchange event
11786 2004-08-10 11:43 pbartok
11789 - Added more to the still unfinished Dock/Anchor layout code
11791 2004-08-10 11:39 pbartok
11793 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
11794 - Added GetWindowPos method
11796 2004-08-10 11:36 pbartok
11799 - Implemented several methods
11801 2004-08-10 09:47 jackson
11803 * TrackBar.cs: Allow control to handle buffering
11805 2004-08-10 09:41 jackson
11807 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
11809 2004-08-10 09:24 jackson
11811 * Label.cs, LinkLabel.cs: Let Control handle buffering.
11813 2004-08-10 09:09 jackson
11815 * StatusBar.cs: Let Control handle all the buffering.
11817 2004-08-10 09:08 jackson
11819 * Control.cs: Control will now handle the buffering code, so each
11820 control does not have to implement this.
11822 2004-08-10 08:34 jackson
11824 * XplatUIDriver.cs: Use default colors from the theme
11826 2004-08-09 17:12 pbartok
11829 - Fixed several bugs Ravindra pointed out
11831 2004-08-09 16:11 pbartok
11834 - Added incomplete dock layout code
11835 - Added support for mouse wheel
11837 2004-08-09 16:09 pbartok
11840 - Added handling for middle and right mousebutton
11841 - Added handling for mouse wheel
11842 - Added handling for key state and mouse state and position
11843 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
11846 2004-08-09 15:40 jackson
11848 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
11849 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
11852 2004-08-09 15:37 jackson
11854 * StatusBar.cs: Initial implementation of StatusBar
11856 2004-08-09 15:36 jackson
11858 * ITheme.cs: Add support for drawing status bar and getting status
11861 2004-08-09 15:35 pbartok
11866 2004-08-09 15:34 jackson
11868 * ThemeWin32Classic.cs: Add support for drawing status bar and get
11869 status bar item sizes
11871 2004-08-09 15:21 jackson
11873 * ThemeWin32Classic.cs: Use known colors for default control
11876 2004-08-09 15:12 jackson
11878 * ThemeWin32Classic.cs: Make the default font static, it is static
11879 in control so this doesn't change functionality and creating fonts
11882 2004-08-09 14:56 pbartok
11885 - Added GrabMode enum
11887 2004-08-09 14:55 pbartok
11889 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11890 - Removed Run method, was only required for initial development
11892 2004-08-09 14:51 pbartok
11894 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11895 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
11898 2004-08-09 13:48 pbartok
11901 - Fixed default sizing for child windows
11903 2004-08-09 12:56 pbartok
11906 - Added generation of WM_DESTROY message
11907 - Added handling of window manager induced shutdown
11909 2004-08-09 11:31 jackson
11911 * ThemeWin32Classic.cs: New names for control properties
11913 2004-08-09 11:25 jackson
11915 * Control.cs: Use new color names
11917 2004-08-09 11:02 jackson
11919 * XplatUI.cs: Get default window properties from the theme
11921 2004-08-09 11:01 jackson
11923 * ITheme.cs: The theme engine now controls default window
11926 2004-08-09 11:00 jackson
11928 * ThemeWin32Classic.cs: Add default window color properties
11930 2004-08-09 10:17 jackson
11932 * ThemeWin32Classic.cs: Use correct default back color
11934 2004-08-09 10:05 jackson
11936 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
11939 2004-08-09 09:56 jackson
11941 * XplatUI.cs: Remove defaults, these are handled by the theme now.
11943 2004-08-09 09:54 jackson
11945 * Control.cs: Get default properties from the theme.
11947 2004-08-09 09:53 jackson
11949 * ITheme.cs: Themes now handle default control properties
11951 2004-08-09 09:53 jackson
11953 * ThemeWin32Classic.cs: Themes now handle default control
11954 properties so coloring will be consistent
11956 2004-08-08 16:54 jordi
11958 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
11960 2004-08-08 15:08 jordi
11962 * XplatUIX11.cs: fixes keyboard crash
11964 2004-08-08 13:47 jordi
11966 * Label.cs: add cvs header info
11968 2004-08-08 12:09 jackson
11970 * ThemeWin32Classic.cs: Add pen_buttonface
11972 2004-08-08 11:52 jordi
11974 * Label.cs, LinkLabel.cs: [no log message]
11976 2004-08-08 11:34 jordi
11978 * ThemeWin32Classic.cs: Use Windows Standard Colours
11980 2004-08-07 17:32 jordi
11982 * TrackBar.cs: throw exceptions of invalid enums values
11984 2004-08-07 17:31 jordi
11986 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
11989 2004-08-07 16:56 jackson
11991 * HorizontalAlignment.cs: Initial checkin
11993 2004-08-07 13:16 jordi
11995 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
11998 2004-08-07 13:05 jordi
12000 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12001 GetSysColor defines
12003 2004-08-06 18:01 pbartok
12005 * ThemeWin32Classic.cs:
12006 - Fixed some rounding issues with float/int
12008 2004-08-06 18:00 jackson
12010 * DockStyle.cs, AnchorStyles.cs:
12012 Add flags and serializable attributes.
12014 2004-08-06 17:46 pbartok
12017 - Implemented GetParent
12019 2004-08-06 17:18 pbartok
12022 - Fixed some rounding issues with float/int
12024 2004-08-06 17:17 pbartok
12026 * X11Structs.cs, XplatUIX11.cs:
12027 - Fixed Refresh and Invalidate
12029 2004-08-06 15:30 pbartok
12031 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12032 - Fixed recursive loop when resizing
12033 - Improved/fixed redrawing on expose messages
12035 2004-08-06 09:53 jordi
12037 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12038 keyboard navigation
12040 2004-08-06 08:02 pbartok
12042 * X11Structs.cs, XplatUIX11.cs:
12043 - Fixed reparenting
12044 - Fixed window border creation
12046 2004-08-05 15:38 pbartok
12049 - Attempted fix for reparenting problems
12051 2004-08-04 15:14 pbartok
12054 - Fixed Invalidation bug (calculated wrong client area)
12055 - Added ClientSize setter
12057 2004-08-04 15:13 pbartok
12060 - Added AutoScale properties
12062 2004-08-04 15:13 pbartok
12065 - Added latest files
12067 2004-08-04 14:11 pbartok
12069 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12071 - Added Invalidate handling
12073 2004-08-03 17:09 jordi
12075 * XplatUIDriver.cs: fixes spelling mistake
12077 2004-07-27 09:53 jordi
12079 * TrackBar.cs: fixes trackbar events, def classname, methods
12082 2004-07-27 09:29 jordi
12084 * ScrollBar.cs: fixes scrollbar events
12086 2004-07-27 04:38 jordi
12088 * Control.cs: changes to be able to run winforms samples
12090 2004-07-26 11:42 jordi
12092 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12093 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12095 2004-07-26 05:41 jordi
12097 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12098 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12101 2004-07-22 09:22 jordi
12103 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12104 check link overlapping, implement events, and fixes
12106 2004-07-21 10:28 jordi
12108 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12110 2004-07-21 10:19 jordi
12112 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12113 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12114 LinkLabelLinkClickedEventArgs.cs,
12115 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12116 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12119 2004-07-19 13:09 jordi
12121 * Control.cs, Label.cs: label control re-written: added missing
12122 functionlity, events, and properties
12124 2004-07-19 10:49 jordi
12126 * Control.cs: fixes SetBounds logic
12128 2004-07-19 01:29 jordi
12130 * Control.cs: Call RefreshWindow only if the window has created
12132 2004-07-15 14:05 pbartok
12134 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12135 - Implemented ImageList and ImageList.ImageCollection classes
12136 - Added ColorDepth enumeration
12137 - Updated SWF VS.Net project
12139 2004-07-15 11:06 jordi
12141 * XplatUIStructs.cs: added MsgButons enum
12143 2004-07-15 11:03 jordi
12145 * Control.cs: added basic mouse handeling events
12147 2004-07-15 03:38 jordi
12149 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12150 Vertical TrackBar control implementation
12152 2004-07-13 09:33 jordi
12154 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12156 2004-07-13 09:31 jordi
12158 * Control.cs, Form.cs: commit: new properties and fixes form size
12161 2004-07-09 14:13 miguel
12163 * ProgressBar.cs: Spelling
12165 2004-07-09 11:25 pbartok
12168 - Removed usage of Rectangle for drawing. Miguel pointed out it's
12171 2004-07-09 11:17 miguel
12173 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
12175 * ProgressBar.cs: Fixed spelling for `block'
12177 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
12180 Avoid using the += on rect.X, that exposed a bug in the compiler.
12182 2004-07-08 23:21 pbartok
12184 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
12185 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
12186 BaseCollection.cs, Binding.cs, BindingContext.cs,
12187 BindingMemberInfo.cs, BindingsCollection.cs,
12188 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
12189 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
12190 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
12191 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
12192 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
12193 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
12194 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
12195 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
12196 FrameStyle.cs, GiveFeedbackEventArgs.cs,
12197 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
12198 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
12199 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
12200 InputLanguageChangedEventArgs.cs,
12201 InputLanguageChangedEventHandler.cs,
12202 InputLanguageChangingEventArgs.cs,
12203 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
12204 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
12205 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
12206 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
12207 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
12208 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
12209 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
12210 QueryAccessibilityHelpEventArgs.cs,
12211 QueryAccessibilityHelpEventHandler.cs,
12212 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
12213 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
12214 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
12215 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
12216 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
12217 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
12218 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
12219 XplatUIX11.cs, lang.cs: