1 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
3 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
4 a reference to the hwnd and will not remove it unless there are
5 no pending exposures (fixes #78341)
6 * XplatUI.cs: Improved debug
8 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
10 * MenuAPI.cs : don't handle OnClick event when it was not the left
11 button. Fixed bug #78487.
13 2006-05-23 Mike Kestner <mkestner@novell.com>
15 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
16 prefer submenus to the top menu for item lookup, to avoid popping down
19 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
21 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
22 Graphics.FillRectangle as the visual results are really bad (even
23 on win). We now draw perfect arrows (and perfect shadows when the
24 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
25 Pen.DashPattern to draw the dots of each line.
27 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
29 * FileDialog.cs: Update the filename combobox when navigating through
30 the ListView with the cursor keys. Fixes part 7 of bug #78446.
32 2006-05-22 Mike Kestner <mkestner@novell.com>
34 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
37 2006-05-22 Mike Kestner <mkestner@novell.com>
39 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
40 requests. Fix a misspelled parameter and a copy paste exception error
43 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
45 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
46 to get the same width/height (5/13) on X11 as the default font has on
47 win32. This means that our DefaultFont emSize is smaller than the
48 the MS SWF equivalent (even thought the width/height stays the same)
50 2006-05-20 Jackson Harper <jackson@ximian.com>
53 * MdiWindowManager.cs:
54 * InternalWindowManager.cs: Make sure to use the border width from
57 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
59 * PrintDialog.cs: Implements printer details
61 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
63 * FileDialog.cs: Added focus handling for PopupButtonPanel.
64 Fixes part 1 and 2 of bug #78446
66 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
68 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
69 instead of sticking to the first ever calculated value
71 2006-05-19 Mike Kestner <mkestner@novell.com>
73 * ComboBox.cs: fix mouse motion selection to use MousePosition and
74 PointToClient, since Capture is set. Fixes #78344.
76 2006-05-19 Mike Kestner <mkestner@novell.com>
78 * ListView.cs: match MS behavior in Details view where items are not
79 drawn if Columns.Count == 0.
80 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
81 Use a separate pen to draw the check, since changing the width affects
82 the box as well. Fixes #78454.
84 2006-05-18 Miguel de Icaza <miguel@novell.com>
86 * ListView.cs: ArgumentOutOfRangeException, single versions of the
87 exception should throw the name of the invalid argument.
89 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
90 there are no files listed.
92 2006-05-18 Jackson Harper <jackson@ximian.com>
94 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
97 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
99 * Control.cs: Brought back our old UpdateZOrder method as a private
100 function and switched our calls from UpdateZOrder to the new one.
101 This fixes the Paint.Net canvas disappearing bug.
103 2006-05-18 Jackson Harper <jackson@ximian.com>
106 * ThemeWin32Classic.cs:
107 * InternalWindowManager.cs: Move the drawing into the theme,
108 expose everything the theme should need from the window manager.
110 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
112 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
113 from the call to NativeWindow to avoid walking up the parent chain
114 further than needed (speeds up setting cursors and avoids setting
115 the wrong cursor if a parent has another cursor defined)
116 * Cursor.cs: When loading an icon as cursor, MS uses the center of
117 the icon as hotspot, not what's contained as hotspot in the icon
118 file. This fixes the perceived drawing offset seen with Paint.Net
120 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
123 - Store the calculated rectangle in Hwnd object and use it when
124 setting the client size
125 - Force Toolwindows to always be type Dock, to ensure they're on top
127 2006-05-18 Mike Kestner <mkestner@novell.com>
129 * ComboBox.cs: first pass at ComboBox rework. Layout is more
130 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
131 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
132 Substantial refactoring to remove confusing nested classes. Coding
133 standard and Get+Set->property refactorings. Shift to index based
134 highlighting in ComboListBox instead of constantly using IndexOf and
135 Items[]. Add invalidations on resize for DropDownList to fix ugliness
136 in FileDialog growth. Draw borders manually since Simple mode needs
137 to look like two independent controls. Make listbox border
138 conditional to DropDownStyle. Improved OwnerDraw support.
140 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
142 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
143 Don't set the disposed graphics to null, so we can throw the "right"
144 exception if the graphics is reused later (added a flag to avoid
145 double disposing). Some behaviours are different under 2.0 and are
146 filled under bug #78448.
148 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
150 * Control.cs: When double-buffering is enabled, we need to reset
151 our graphics context between paint calls. Otherwise, any
152 transformations and other alterations on the context will
153 become cumulative (#77734)
155 2006-05-18 Mike Kestner <mkestner@novell.com>
157 * ListView.cs: do focused item selection like MS on clicks.
158 Rework focus handling for ItemControl so LostFocus invalidates as
160 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
161 the ListView ItemControl has focus.
163 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
165 * XplatUIX11.cs: If client_window ends up being width or height zero
166 due to border settings, move it off window inside whole_window (#78433)
168 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
170 * Mime.cs: Shrink the mime file cache correctly.
172 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
174 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
176 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
178 * XplatUIX11.cs (AddExpose): More sanity checks
180 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
183 - AddExpose: Don't add expose ranges outside the size of our
185 - Cast opacity values to Int32 to avoid crashes with certain
187 - Added disabled code paths that protect against illegal cross-
188 thread painting (Developers.exe)
190 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
192 * ProgressBar.cs: Invalidate the control when it's resized
193 since block size is based on control size. (#78388)
195 2006-05-16 Miguel de Icaza <miguel@novell.com>
197 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
198 of setting the incoming argument to the "reset" value, we set the
199 this.datamember to string.empty (before we were invalidating the
204 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
206 * Form.cs: Only apply transparency settings after the form
207 is created. (Fixes #77800)
209 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
211 * ApplicationContext.cs: Grab the HandleDestroyed event so
212 we know when to fire OnMainFormClosed
214 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
216 * Application.cs: Introduced sub-class to allow tracking of
217 threads and centralized triggering of the event mess for
218 ThreadExit, AppExit, etc.. (#76156)
220 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
223 - Do not return a null icon index value for a mime subclass.
224 Instead try the main mime type class too.
225 - Seems that some newer distributions don't have a link to some
226 gnome default icons anymore. So check the default gnome dir too.
229 2006-05-16 Jackson Harper <jackson@ximian.com>
231 * MdiClient.cs: Don't paint the parent background image if we have
232 our own background image.
234 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
237 - PerformLayout: Do not shrink space filled by DockStyle.Fill
238 controls, all filled controls are supposed to overlap (#78080)
239 - UpdateZOrder is supposed to update the control's z-order in the
240 parent's z-order chain. Fixed to behave like that
241 - BringToFront: Removed obsolete code
242 - SendToBack: Simplyfied
243 - SetChildIndex: Trigger layout calculations when Z-order changes
244 since layout is done by z-order
246 2006-05-16 Chris Toshok <toshok@ximian.com>
249 * DataGrid.cs (set_AlternatingBackColor): use
250 grid_drawing.InvalidateCells instead of Refresh().
251 (set_BackColor): call grid_drawing.InvalidateCells.
252 (set_BackgroundColor): use Invalidate instead of Refresh.
254 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
255 invalidate the cell area.
257 2006-05-15 Chris Toshok <toshok@ximian.com>
260 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
261 on to DataGridPaintRow.
262 (DataGridPaintRow): take a clip argument, and only draw the cells
263 which intersect it. same with the not_usedarea.
265 * Theme.cs (DataGridPaintRow) add @clip parameter.
267 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
268 XplatUI.ScrollWindow.
271 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
272 with last column which was causing a gray swath to appear with the
273 XplatUI.ScrollWindow code.
275 2006-05-15 Chris Toshok <toshok@ximian.com>
277 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
278 use XplatUI.ScrollWindow.
279 (VerticalScrollEvent): use XplatUI.ScrollWindow.
281 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
283 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
285 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
287 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
288 file since there are no equivalent X11 cursors
290 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
292 * MonthCalendar.cs : DateTimePicker should reflect selected date
293 on mouse*up*, not mouse*down*. Fixed originally reported part of
296 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
298 * TabControl.cs : When argument index is equal or more than tab
299 count, just ignore. Fixed bug #78395.
301 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
303 * Control.cs: Dispose all child controls when control is diposed (#78394)
305 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
307 * ColorDialog.cs: Finally it is possible to select the color with
310 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
312 * PrintDialog.cs: Fix typo
314 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
316 * PrintDialog.cs: PrintDialog is not resizable
317 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
318 color. Made some ToolBar drawing methods protected virtual.
320 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
322 * PrintDialog.cs: Implementation of the PrintDialog
324 2006-05-12 Chris Toshok <toshok@ximian.com>
326 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
327 thumb, instead use MoveThumb. This has the side effect of making
328 most of the other thumb moving machinery use MoveThumb as well.
329 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
330 need to actually invalidate the rectangle where the new thumb will
332 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
333 We force an Update() after, so it's not as fast as it could be,
334 but at least there's zero flicker and no droppings.
335 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
336 (UpdateThumbPos): add another argument (dirty), which says whether
337 or not to calculate/add dirty regions which we later invalidate.
338 For cases where we know we're going to use MoveThumb, we pass
339 false for this. Otherwise, pass true.
341 2006-05-12 Jackson Harper <jackson@ximian.com>
343 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
346 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
348 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
349 and GetClipRegion methods and UserClipWontExposeParent property.
350 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
351 overriding UserClipWontExposeParent property, setting to false, since
352 Win32 handles the required expose messages to draw our clipped parent
354 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
355 PaintEventStart to set the user clip region if set.
357 - Now internally tracking the Region for the control since we need to
358 store it if the handle is not yet created and only set it when it
359 becomes created. Before setting the region forced handle creation
360 - Added code to draw the parents underneath a user-clipped region
361 * Hwnd.cs: Added UserClip property
363 2006-05-12 Chris Toshok <toshok@ximian.com>
365 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
368 (set_SmallChange): same.
369 (OnMouseUpSB): remove the call to refresh when releasing the
370 thumb. We shouldn't need it.
372 2006-05-12 Miguel de Icaza <miguel@novell.com>
374 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
375 AutoSize set to None, we do not need to relayout everything, we
376 just need to invalidate the current region.
378 (Draw): Do not draw the entire ClientArea, just redraw the
379 clip area being passed.
381 * MdiClient.cs: Make MdiClient constructor with the Form argument
384 2006-05-12 Jackson Harper <jackson@ximian.com>
386 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
387 parents background image, but strangely not their own.
388 - (DrawStatusBarPanel): Take into account horizontal alignment
389 when drawing the strings and icons.
391 2006-05-12 Mike Kestner <mkestner@novell.com>
393 * ListBox.cs: avoid invalidations for focus when the collection is
396 2006-05-12 Chris Toshok <toshok@ximian.com>
398 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
399 invalidate the entire thumb area. Call InvalidateDirty which
400 limits the redraw to the thumb itself and surrounding pixels.
402 * XplatUIX11.cs (ScrollWindow): optimize copying.
404 2006-05-12 Chris Toshok <toshok@ximian.com>
406 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
407 Figure out the positioning/layout in a single pass instead of
408 multiple recursive invocations. Speeds up the initial display of
409 the data grid. Also, make many things private that were
410 originally public but unused outside this class.
412 2006-05-11 Jackson Harper <jackson@ximian.com>
414 * MdiClient.cs: Improved layout code.
416 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
418 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
421 2006-05-11 Chris Toshok <toshok@ximian.com>
423 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
424 union of that will always be {0,0,width,height}.
426 2006-05-11 Jackson Harper <jackson@ximian.com>
428 * Form.cs: Match MS's DefaultSize for forms (they must have
429 changed the size in sp2).
431 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
433 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
435 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
437 * TextControl.cs : Fixed bug #78109. This incorrect position
438 comparison caused crash on automatic line split.
439 * TextBoxBase.cs : reduce duplicate code.
441 2006-05-10 Jackson Harper <jackson@ximian.com>
443 * MdiClient.cs: Active form is only sent to the back when using
444 the Next form functionality, when a form is clicked the current
445 active shouldn't be sent to the back.
446 - Layout the mdi windows when the container is first made visible.
447 * Form.cs: Give the MdiClient a ref to the containing form when we
450 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
452 * LinkLabel.cs : link_font could be uninitialized, so populate one
453 before actual use. Fixed bug #78340.
455 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
457 * XplatUIX11.cs : clipboard format native value is IntPtr.
460 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
463 - Instead of showing context menus directly we send WM_CONTEXTMENU,
464 which is passed up the parent chain by DefWndProc
465 - We now handle WM_CONTEXTMENU to display any menu, or pass it
466 to DefWndProc (#77956)
467 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
469 2006-05-10 Jackson Harper <jackson@ximian.com>
471 * MdiClient.cs: We need to remove the controls from the mdi
472 collection, when we close the window.
473 * MdiWindowManager.cs: Special handling of closing mdi windows.
474 * InternalWindowManager.cs: Make the close method virtual so the
475 mdi window manager can handle it specially.
477 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
480 - Recalculate grid when the data source has changed
481 - Matches styles provided by user from all data sources types
482 * DataGridTableStyle.cs: For columns that provided by the user set the
483 with the preferred value is there was unassigned.
484 * CurrencyManager.cs: throw OnItemChanged event
486 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
488 * PictureBox.cs: Don't animate until handle is created. Start animation
489 when handle is created.
491 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
493 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
495 * XEventQueue.cs: We don't need to provide the extra info
497 2006-05-10 Jackson Harper <jackson@ximian.com>
499 * MdiClient.cs: If the mdi clients parent form has a background
500 image set, we draw that background image for the mdi area's
503 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
505 * TextBoxBase.cs: Set IBeam cursor (#78347)
507 2006-05-10 Mike Kestner <mkestner@novell.com>
509 * ToolBar.cs: fix some text padding issues with ButtonSize
510 calculation. Update the default size to match MS documentation.
511 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
512 button size. Fixes #78296.
514 2006-05-10 Mike Kestner <mkestner@novell.com>
516 * ListBox.cs: use is_visible for scrollbar positioning in case the
517 control isn't on screen yet. Fix off by one with Right vs Width
518 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
520 2006-05-10 Jackson Harper <jackson@ximian.com>
522 * X11Dnd.cs: Drop to a control with another control on top of it.
523 * ToolBar.cs: Work on a copy of the buttons list, so that it can
524 be modified in click handlers. TODO: Look for similar problems in
527 2006-05-09 Jackson Harper <jackson@ximian.com>
529 * Form.cs: Window managers need the old window state when setting
531 * InternalWindowManager.cs: Allow the base mdi window manager to
532 handle more of the MDI only stuff (like maximize buttons).
533 * MdiWindowManager.cs: Fix some snafus in changing the window
534 state. Add all the menu functionality, for both popup and
536 * MdiClient.cs: When a new form is selected the currently
537 activated form is sent to the back, this matches MS.
538 - Implement a new method to activate the next mdi child window.
540 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
543 - Added new InternalCapture method to allow controls to prevent
544 the capture behaviour on the click handlers
545 - Switched to use InternalCapture
547 - Using InternalCapture to prevent mouse captures from being released
548 on mouse button release (Fixes #78100)
549 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
550 returns Form borders if a caption is present. (Fixes #78310)
552 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
554 * TreeNode.cs: Changed serialization .ctor to not require every field
555 to be present. (#78265)
556 * OwnerDrawPropertyBag.cs: Added serialization .ctor
558 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
560 * MimeIcon.cs: for is faster than foreach for strings.
562 2006-05-05 Mike Kestner <mkestner@novell.com>
564 * CheckedListBox.cs: update check handling code to not use selected.
565 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
566 behavior for visual feedback, motion response, shift/ctrl handling,
567 and properly deal with all 4 selection modes. Updates to bounds
568 handling logic. Add scroll wheel support. [Fixes #77842]
570 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
573 - Moved adding of Implicit controls into .ctor. That way, subsequent
574 creation of the controls will not cause them to think they are
575 toplevel windows (fixes #78200 header problem)
576 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
577 - Switched visibility setting of header control to use internal field
578 to avoid triggering handle creation
579 - Now checking if handle is created before causing a refresh when items
580 are added (This makes us now match handle creation time with MS)
581 * Splitter.cs: Removed loading of private splitter cursor, switched to
582 Cursors version now that that is loading the right ones
583 * Cursors.cs: Load proper splitter cursors from resources
584 * Cursor.cs: Added second method of loading resource cursors for the
585 VS.Net users amongst us
587 2006-05-05 Mike Kestner <mkestner@novell.com>
589 * ListView.cs: give header_control a minimum size based on the
592 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
594 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
595 window seems to do that with metacity, so set that type. (#78120)
597 2006-05-05 Mike Kestner <mkestner@novell.com>
599 * ListViewItem.cs: fix Details mode checkbox layout bug.
600 * ThemeWin32Classic.cs: draw a ListView column header for unused space
601 at the end of the header, if it exists. [Fixes for #78200]
603 2006-05-04 Jackson Harper <jackson@ximian.com>
605 * MdiClient.cs: Add a helper property to get the container form.
606 * MdiWindowManager.cs: We have to make sure to use the menu origin
607 when drawing the icons and buttons, this fixes maximized window
608 icons/buttons on win32.
609 * InternalWindowManager.cs: Reset the restore captions when a
610 window goes from Maximized to Minimized and vice versa. Move the
611 DrawMaximizedButtons into the MdiWindowManager source, tool
612 windows can't be maximized. NOTE: This could use a little
613 refactoring if time ever permits.
615 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
617 * TextBox.cs: Add MWFCategoryAttributes
618 * TextBoxBase.cs: Add MWFCategoryAttributes
619 * Form.cs: Add MWFCategoryAttributes
621 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
623 * Control.cs: Add MWFCategoryAttributes
624 * ScrollableControl.cs: Add MWFCategoryAttributes
626 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
628 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
629 Divider is true. Fix a little glitch in PropertyToolBar
632 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
635 - Dispose: Call base.Dispose, this causes the disposed event
636 to be fired (and probably other, more important stuff)
637 - SetVisibleCore: Set is_visible to true after creating the
638 window so that the window still gets created invisible (if
639 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
640 to generate a WM_ACTIVE message
641 * Form.cs: Call Dispose when we want to destroy the window, instead of
642 just destroying the handle (Dispose will do that for us)
644 - RootWindow also needs a queue, so we can properly process the
645 property change events from RootWindow (like Activate)
646 - Generatic synthetic WM_ACTIVE message when the active window is
649 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
651 * LinkLabel.cs: Trigger a recalc of our label dimensions when
654 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
656 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
657 for determining width and height (image might not be assigned if
658 we're drawing an imagelist)
660 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
662 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
663 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
665 * Theme.cs: No longer returns hardcoded menu height, instead calls
667 * Form.cs (OnLoad): Scaling happens before triggering Load events
670 2006-05-01 Mike Kestner <mkestner@novell.com>
672 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
674 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
676 * TextBoxBase.cs: Removed Fixme
677 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
679 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
682 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
683 the rectangle relative to the parent, considering borders. We
684 don't really want that.
685 - ScrollWindow: Fixed warning to be more understandable
686 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
687 scrollbars and scroll only the visible area
688 * RichTextBox.cs: Removed debug output
690 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
692 * NumericUpDown.cs (Text): Just use base
693 * UpDownBase.cs: Ensure txtView is created before using it
695 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
697 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
698 casting to IntPtr to avoid 64bit overflow errors
700 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
703 - AllowDrop: Don't force handle creation.
704 - CreateHandle: Added call to tell driver if we're allowed to drop
706 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
708 * FileDialog.cs: Remember the last directory not only for the
709 current instance but also for new FileDialog instances.
711 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
713 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
714 broke sending async messages
716 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
719 - ScrollWindow: Fixed method. We finally generate expose events again
720 for scrolled areas. This was causing 'garbage' when scrolling
721 textbox and other controls that used ScrollWindow
722 - Switched from using the regular queue for paint events to the MS
723 model of 'generating' paint events when the queue is empty.
724 We use the new XQueueEvent.Paint subclass to store which windows
726 - AddExpose now takes the x/y/width/height of the exposed area
727 and inserts the window into the paint queue if not already there
728 - InvalidateWholeWindow: Switched to use new AddExpose method
729 - UpdateMessageQueue: Added which queue to monitor for paint events
730 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
731 the unlikely case nothing above handles it. We reset the expose
732 pending states to get them off the queue.
733 - GetMessage: Now pulls a paint event if no other events are in the
735 - Invalidate: Switched to new AddExpose method
736 - PeekMessage: Updated to understand pending paint events
737 - UpdateWindow: Fixed logic bug. We were only updating if the window
738 didn't need updating. Also switched to sending WM_PAINT directly,
740 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
741 and random access Remove(). The random access is needed to handle
742 UpdateWindow() where a WM_PAINT is sent directly without accessing
744 * ScrollBar.cs: Added Update() calls to cause immediate updates to
745 allow for better feedback when scrolling. Scrollbars are small and
746 the immediate update should make it 'feel' more responsive without
747 slowing things down. ScrollBar still needs it's invaliate logic
748 updated to not always invalidate the whole bar on certain changes.
750 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
753 (BackColor): if the control does not support a transparent background,
754 return the default backcolor when the parent backcolor is transparent.
756 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
758 * Application.cs: Updated to new StartLoop/GetMessage API
759 * RichTextBox.cs: Provide some output on RTF parsing errors
760 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
761 new queue_id argument to GetMessage and PeekMessage to allow faster
762 handling of per-thread queues in drivers.
763 * Hwnd.cs: Added Queue tracking and property
764 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
765 * XEventQueue.cs: Added thread trackingA
766 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
768 - Implemented new per-thread queue
769 - GetMessage: Fixed return/break behaviour on several cases. We were
770 returning stale messages in some cases, instead of just processing
773 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
775 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
777 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
779 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
780 fixed off-by-one comparisons between Width/Height and Right/Bottom.
782 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
784 * PropertyGridView.cs: Fix drop down width.
786 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
788 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
789 a mess in DrawToolBar, so I removed one of them.
791 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
793 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
794 needed (clip). Otherwise we get artifacts.
796 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
798 * FixedSizeTextBox.cs: Added constructor to allow specifying which
800 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
801 and switched FixedSizeTextBox to only be fixed vertical (#78116)
802 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
803 if it matches the scale base font (avoids unneeded scaling)
805 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
807 * X11DesktopColors.cs: One gtk_init_check should be enough
809 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
811 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
814 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
817 - Generate OnTextChanged for Backspace even if we're only deleting
818 the current selection
819 - When setting the Text property, only select all text if the
820 control does not have focus when it is being set. Otherwise
821 just place the cursor at the beginning of the control
823 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
825 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
826 Added a little helper to draw PropertyGrid ToolBar with a different
827 border and a different BackColor.
828 * PropertyGrid.cs: Some background parts didn't get painted with the
829 correct background color. Added a class that helps us to draw the
830 correct border for PropertyGridView and a class that helps us to
831 draw ToolBars with a different backcolor
832 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
834 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
836 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
837 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
839 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
841 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
842 into the palette entries. Also, since we're working on a copy
843 we needed to copy the palette back onto the bitmap.
844 * Cursor.cs: Same fix as XplatUIWin32.cs.
846 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
848 * ImageListStreamer.cs: Need to read the var (or we're off)
850 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
852 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
853 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
854 TextBoxBase.cs: Unused var fixes
855 * AxHost.cs: Small 2.0 fix
856 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
857 as it seems that is what at least Metacity expects. This will make
858 icons show up on 64bit platforms. We still have some 64bit size
859 issues, though, since the startup app window size still won't match.
861 2006-04-25 Mike Kestner <mkestner@novell.com>
863 * *.cs: cleanup newly reported exception var unused warnings.
865 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
867 * ThemeWin32Classic.cs: Button image alignment now matches exactly
870 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
872 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
873 image. The image position is always the same, no matter if the
874 button is pressed or not.
876 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
878 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
879 selection and set the correct filename for SaveFileDialog.
880 Patch by Emery Conrad.
882 2006-04-24 Mike Kestner <mkestner@novell.com>
884 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
885 check for item.X outside the ClientRect instead of item.Y. Fixes
888 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
890 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
891 trust that value blindly and do some sanity check. Fixes bug #77814.
893 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
895 * ImageListStreamer.cs: save the mask as a 1bpp image.
897 2006-04-21 Mike Kestner <mkestner@novell.com>
899 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
900 pass Checked and Indeterminate to the Theme Engine. Improve
901 encapsulation with ListBox.
902 * ListBox.cs: Keep a StringFormat instead of calculating it every item
903 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
904 nested types. Move all CheckState functionality to CheckedListBox.
905 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
906 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
907 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
908 single base list. Fix scrollbar sizing and placement to mirror MS.
909 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
911 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
912 for CheckedListBox by using new DrawItemState info. Center the
913 checkboxes on the items. Use new StringFormat property.
915 2006-04-18 Jackson Harper <jackson@ximian.com>
917 * Form.cs: MdiChildren don't do default locations the same way as
918 regular forms. This prevents a crash when trying to position the
921 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
923 * PropertyGridTextBox.cs: Formatting, copyright
924 * PropertiesTab.cs: Formatting
925 * PropertyGrid.cs: Formatting
926 * PropertyGridView.cs: Formatting, fix drop down, enabled double
927 click toggling of values
929 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
931 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
932 * Control.cs (.ctor): verify_thread_handle is static, don't reset
933 every time a control is created
934 * Application.cs: Removed obsolete EnableRTLMirroring method
936 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
938 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
939 SelectedIndex to -1. Fixes bug #78121.
941 2006-04-17 Jackson Harper <jackson@ximian.com>
943 * Binding.cs: Handle null values for Current and BindingContext.
944 This occurs when binding is a little delayed.
945 * CurrencyManager.cs: return null for Current when there are no
947 - Hookup to the listchanged event on the DataView and update
948 bindings when the list is changed. This fixes late binding of
951 2006-04-17 Jackson Harper <jackson@ximian.com>
954 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
957 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
959 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
961 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
962 with the correct ButtonState
964 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
966 * XplatUIX11.cs: Improved distinguishing between window types to
967 tell the WM a type closer to what the app wants (Fixes #78107)
969 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
971 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
974 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
976 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
977 drawing code to reflect the size grip changes
979 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
981 * ImageListStreamer.cs: fix handling of the mask that follows the main
982 bitmap when deserializing and serialize it properly. The generated mask
983 should better be a 1bpp image, but I'll do that later.
985 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
987 * FileDialog.cs: Show something in the DirComboBox on *nix if the
988 path doesn't fit into some of our Current.Places
990 2006-04-13 Jackson Harper <jackson@ximian.com>
992 * ComboBox.cs: Use borders instead of drawing our own decorations,
993 try to obey correct rules for heights.
996 * ThemeClearLooks.cs:
997 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
998 this is now handled by borders.
999 - Remove unused DrawListBoxDecorationSize method.
1001 2006-04-13 Mike Kestner <mkestner@novell.com>
1003 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1006 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1008 * ThemeWin32Classic.cs:
1009 - Fixed CPDrawStringDisabled
1010 - Corrected drawing of disabled menu items
1011 - Fixed drawing of disabled radio buttons (bug #78095)
1012 - Draw check in a disabled CheckBox with color ControlDark
1014 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1016 * Form.cs: Use the provided width when calculating the menu size;
1017 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1018 and ClientSize.Width won't be updated yet
1019 * Application.cs: Use Visible instead of Show() to make form visible,
1020 this way we create the handle later and menusize is considered
1022 2006-04-12 Mike Kestner <mkestner@novell.com>
1024 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1027 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1029 * TextBox.cs: Implemented context menu
1031 2006-04-12 Mike Kestner <mkestner@novell.com>
1033 * ListView.cs: implement box selection. fixes #77838.
1034 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1036 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1038 * XplatUIX11.cs: Added setting of window type when transient window
1039 is created (metacity would move it otherwise)
1040 * X11Structs.cs: Added WINDOW_TYPE atoms
1041 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1042 background (the control is Opaque but still wants transparent
1045 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1047 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1048 that set Opaque but don't mean it (like all ButtonBase-derived
1049 controls) to still draw their background
1050 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1053 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1055 * Control.cs (PaintControlBackground): Set the graphics object
1056 on our PaintEvent to null to prevent it from being disposed
1057 when the PaintEvent gets disposed
1059 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1061 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1062 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1064 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1067 - Added transparency check to BackColor property. Transparent
1068 backgrounds are only allowed if the control styles permit it
1069 - Added recursive painting of parent control background and
1070 foreground if a control with a transparent backcolor is drawn
1071 (Thanks to Tim Ringenback for providing his 'hack' as a base
1072 for this patch) Fixes #77985 and #78026.
1073 - Added Opaque style check before calling OnPaintBackground, no
1074 need to draw the background if the control is opaque
1075 - Removed ControlAccessibleObject owner variable (inherited from
1076 base, no need to define again)
1077 - Added some documentation links explaining the drawing events
1080 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1082 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1083 that the affected control is the located at the left border of our
1084 parent (Fixes #77936)
1086 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1088 * TextBoxBase.cs: When rendering disabled or readonly controls,
1089 draw the background with 'Control' instead of 'Window' color as
1090 long as the user hasn't specifically set a color
1092 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1094 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1095 since that won't be updated if the user types text (only if it's
1096 programatically set)
1098 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1100 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1101 layout changes do to app-triggered resizes will have the proper
1102 display rectangle for layout
1104 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1106 * ThemeWin32Classic.cs:
1107 - Make use of the SystemBrushes and SystemPens wherever possible
1108 - Corrected some highlight colors
1109 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1111 * Theme.cs: Added Empty field to CPColor struct
1113 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1115 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1116 is displayed when calculating the display rectangle. Thanks to Mike
1117 for teaching me the err of my ways.
1119 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1121 * ScrollableControl.cs:
1122 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1123 (instead of 0,0) and we now return the real width/height instead of
1124 just the clientrectangle, adjusted for padding. The rectangle is
1125 now cached and created by the new CalculateDisplayRectangle method.
1126 - Created new CalculateDisplayRectange method, which basically does
1127 what get_DisplayRectangle() did originally, but now using the
1128 right edge instead of DisplayRectangle to determine the size of
1130 - get_Canvas(): Fixed it to properly calculate canvas for
1131 right/bottom controls which seem to be placed to the right/bottom
1132 of any controls that have a fixed location
1133 - Removed TODO that's taken care of
1134 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1135 and SetDisplayRectLocation according to new MSDN2 docs
1136 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1137 event when that is called, this is added for compatibility
1138 - ScrollControlIntoView(): Implemented.
1139 - Switched scrollbars to be implicit, they shouldn't be selectable
1140 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1141 call it when the active control is set/changed
1142 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1143 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1144 implicit_control variable (used for native Win32 message generation)
1145 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1146 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1147 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1148 * XplatUIStructs.cs: Added ScrollBarCommands enum
1150 2006-04-10 Jackson Harper <jackson@ximian.com>
1153 * CheckedListBox.cs:
1160 * PrintPreviewControl.cs:
1166 * UpDownBase.cs: Fixup base event overrides.
1168 2006-04-06 Mike Kestner <mkestner@novell.com>
1170 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1171 all user-initiated value changes to min <= value <= max-thumbsz+1.
1172 (set_Value): check for vert/horiz when calculating new thumb position.
1173 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1175 (OnMouseMoveSB): refactor the thumb dragging code and refine
1176 invalidation logic to reduce flicker.
1177 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1178 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1179 (UpdateThumbPosition): small code readability cleanup
1181 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1183 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1186 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1188 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1190 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1192 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1193 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1194 This dramatically reduces the number of Pen.Dispose calls.
1195 Where possible call ResPool methods only once instead of calling it
1196 over and over again (for example for the same color).
1198 2006-04-06 Mike Kestner <mkestner@novell.com>
1200 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1201 Also remove an unused private field on the collection. Fixes #77972.
1203 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1205 * ThemeNice.cs: Added ToolBar drawing code
1207 2006-04-06 Mike Kestner <mkestner@novell.com>
1209 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1210 I'm assuming that means we need to look up the toplevel for the
1211 provided control. Fixes the crash trace in #77911 but exposes another
1212 crash in some strange reflection usage in NDocGui.
1214 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1216 * ThemeNice.cs: Gave it a little silver touch and added Images
1218 * FontDialog.cs: FontDialog is not resizable
1219 * FileDialg.cs: Added SizeGripStyle.Show
1221 2006-04-05 Jackson Harper <jackson@ximian.com>
1223 * KeyboardLayouts.cs: Remove warning.
1225 2006-04-05 Jackson Harper <jackson@ximian.com>
1227 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1228 all of our controls instead of Paint +=.
1243 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1244 use OnPaintInternal. Remove Width/Height and Visible checks in
1245 paint handler, this is done at a higher level now.
1246 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1247 * PaintEventArgs.cs: Add a handled flag so controls that don't
1248 want anymore painting after OnPaintInternal can make sure OnPaint
1251 2006-04-05 Mike Kestner <mkestner@novell.com>
1253 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1254 state of the form, so that we don't process events when Modal dialogs
1255 are up. Fixes #77922.
1257 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1259 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1262 2006-04-05 Mike Kestner <mkestner@novell.com>
1264 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1266 2006-04-05 Mike Kestner <mkestner@novell.com>
1268 * ListView.cs (HeaderMouseMove): null guarding for the over column
1269 when setting up the drag_to_index. Fixes #78015.
1271 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1273 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1274 in the taskbar. Transient windows seem to accomplish that.
1276 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1279 - Re-enabled CreateParams.X/Y code for FormStartPosition
1280 - Added code for manual placement when creating the Control
1281 - Incomplete patch to treat MDI forms differently when
1282 setting the ClientSizeCore. (Still need to figure out handling
1285 - When we're explicitly setting the X/Y position of a non-Child
1286 window, let the WM know. Metacity really wants this.
1288 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1290 * ThemeNice.cs: Added CPDrawButton
1292 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1294 * ThemeNice.cs: Changed the color for focused buttons and activated
1295 the arrows for small scroll buttons.
1297 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1299 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1300 anymore. Changed some method modifiers to protected (virtual)
1301 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1303 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1304 Updated drawing of menus, buttons and progressbars; added
1307 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 * ImageListStreamer.cs: implemented serialization/deserialization
1312 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1314 * ThemeWin32Classic.cs:
1315 - Removed all the DrawFrameControl stuff; CPDrawButton,
1316 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1318 - Updated and corrected the drawing code of CPDrawButton,
1319 CPDrawCheckBox and CPDrawRadioButton to better match ms
1320 - Updated theme checkbox and radiobutton code to use the CP*
1323 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1325 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1328 2006-03-31 Jackson Harper <jackson@ximian.com>
1330 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1332 * UpDownBase.cs: Don't CreateGraphics manually, use a
1333 Refresh. Ideally we would invalidate the correct areas here.
1335 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1338 - We now track the mapping state of windows. If a window (or
1339 one of it's parents) is not mapped we no longer permit
1340 WM_PAINT messages to be generated since we'd otherwise get
1341 lots of BadMatch X errors. Jackson did all the work figuring
1343 - Destroying the caret if the window it's contained in is
1344 destroyed. Can't use regular DestroyCaret method since it
1345 might fall into a drawing function (trying to remove the
1346 caret) and with that generate new BadMatch errors. Again,
1347 Jackson tracked this down.
1348 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1349 make sure we send the messages to all windows. (The old code
1350 would send the WM_DESTROY to the window, and then all child
1351 windows would be 'gone' because the WM_DESTROY handle lookup
1352 would no longer find the destroyed window)
1353 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1354 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1356 2006-03-31 Jackson Harper <jackson@ximian.com>
1358 * ScrollableControl.cs: Dont recalc if we are not visible.
1360 2006-03-31 Mike Kestner <mkestner@novell.com>
1362 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1363 the visibility branch.
1365 2006-03-31 Jackson Harper <jackson@ximian.com>
1367 * ScrollBar.cs: Cap values when incrementing/decrementing.
1369 2006-03-31 Mike Kestner <mkestner@novell.com>
1371 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1372 * ToolTip.cs: guard against timer expirations with no active control.
1373 Not sure why it happened.
1375 2006-03-31 Mike Kestner <mkestner@novell.com>
1377 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1379 * ToolTip.cs: Position the tooltip based on where the cursor is at
1380 popup time, not at MouseEnter time. Add a Down state so that we don't
1381 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1382 positioning offset. Lookup DisplaySize at positioning time, since it
1383 can theoretically change during invocation.
1384 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1385 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1387 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1389 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1390 Fixes behaviour when the Text property of the box is String.Empty
1392 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1394 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1395 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1398 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1400 * FileDialog.cs: Visual enhancement for the popup buttons in
1403 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1405 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1408 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1410 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1411 highlighted menu items to match ms
1413 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1415 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1417 2006-03-30 Mike Kestner <mkestner@novell.com>
1419 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1420 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1421 go active to account for HotLight to Selected transition.
1422 * MenuItem.cs: add internal Selected prop. Fill out the Status
1423 property by calculating it from item info. Add HotLight,
1424 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1426 2006-03-30 Mike Kestner <mkestner@novell.com>
1428 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1430 2006-03-29 Jackson Harper <jackson@ximian.com>
1432 * Form.cs: Implement TODO.
1434 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1436 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1437 missing proper dialog setup in the constructor
1439 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1441 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1443 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1444 - Fixed ResetBindings and removed TODO
1445 - Added check for cross-thread calls to get_Handle()
1446 - Added Marshaller attribute for set_Font to satisfy class status
1447 * FontDialog.cs: Removed TODOs that seemed implemented
1448 * UpDownBase.cs: Removed unneeded TODO and Fixme
1449 * MessageBox.cs: Implemented support for Default button and removed TODO
1450 * FileDialog.cs: Removed obsolete TODO
1451 * DomainUpDown.cs: Removed obsolete TODO
1452 * ButtonBase.cs: Removed obsolete TODO
1453 * XplatUIWin32.cs: Removed obsolete TODO
1455 - Removed obsolete TODO
1456 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1457 internal status updates
1458 - Making sure the active control is selected when the control is created
1459 * CurrencyManager.cs: Removed obsolete TODO
1461 2006-03-29 Mike Kestner <mkestner@novell.com>
1463 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1464 of PrintPreviewDialog and RichTextBox.
1466 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1468 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1469 DarkDark, Light and LightLight colors for a specific color
1470 * ThemeWin32Classic.cs:
1471 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1473 - Make use of the new ResPool helper CPColor
1474 - Draw ProgressBar and StatusBar with correct 3D borders
1476 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1478 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1480 2006-03-28 Mike Kestner <mkestner@novell.com>
1482 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1483 calculating col/row counts.
1485 2006-03-28 Mike Kestner <mkestner@novell.com>
1491 switch to explicit interface method implementation for some methods
1492 corcompare identifies as inconsistent with MS.
1494 2006-03-28 Mike Kestner <mkestner@novell.com>
1498 add a few missing methods from the class status output.
1500 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1502 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1505 2006-03-28 Mike Kestner <mkestner@novell.com>
1507 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1509 2006-03-27 Mike Kestner <mkestner@novell.com>
1511 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1512 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1514 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1516 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1518 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1520 * ThemeWin32Classic.cs:
1521 - GroupBox: Inserted a little gap between the text and the lines
1523 - Made the code in CPDrawBorder3D more readable
1524 - Corrected the drawing location of the up and down arrows in
1527 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1529 * ControlPaint.cs: Corrected line widths in DrawBorder for
1530 ButtonBorderStyle Inset and Outset
1532 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1534 * ThemeWin32Classic.cs:
1535 - Rewrote the totally broken CPDrawBorder3D method. That was
1536 one of the main problems for the terrific ThemeWin32Classic
1538 - Updated and corrected Button drawing
1539 - Correct the dimensions of the SizeGrip to match ms ones
1540 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1541 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1542 Border3DStyle.Sunken to match ms.
1544 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1546 * ThemeWin32Classic.cs: First small part of the "de-uglify
1547 ThemeWin32Classic" effort, SizeGrip
1549 2006-03-24 Jackson Harper <jackson@ximian.com>
1551 * XplatUIX11.cs: Give a max idle time of one second, this matches
1552 MS and forces an Idle event every second when there are no other
1553 events in the queue.
1555 2006-03-24 Mike Kestner <mkestner@novell.com>
1557 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1558 * ListView.Item.cs: fix layout issues with null image lists and images
1559 smaller than checkbox size.
1560 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1561 mode like MS does. It's weird, but consistent. ;-)
1564 2006-03-24 Mike Kestner <mkestner@novell.com>
1566 * ListView.cs: Scroll wheel support for the item control. Fixes
1569 2006-03-23 Jackson Harper <jackson@ximian.com>
1571 * ScrollableControl.cs: Special case negative sized areas, not
1573 * MonthCalendar.cs: Save the rect of the clicked date so we can
1574 use it for invalidation.
1575 - Try to cut down on the number of invalidates
1576 - Invalidate the rect the mouse is over and was over when moving
1577 the mouse, so we get the focus box following the cursor.
1579 2006-03-23 Mike Kestner <mkestner@novell.com>
1581 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1582 focus rectangle drawing. Fixes #77835.
1584 2006-03-23 Mike Kestner <mkestner@novell.com>
1586 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1587 the if and else if and reverting back to the original == check on the
1590 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1592 * FontDialog.cs: Update the example panel if the selected index of
1593 the fontListBox changes.
1595 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1597 * FileDialog.cs: Make FileDialog remember which directory it was in
1598 last in the same execution.
1600 2006-03-22 Mike Kestner <mkestner@novell.com>
1602 * FileDialog.cs: make the DropDownMenu on the toolbar display
1603 RadioChecks since they are mutually exclusive and that's what MS does.
1605 2006-03-22 Mike Kestner <mkestner@novell.com>
1607 * Theme.cs: add Color param to CPDrawMenuGlyph.
1608 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1609 checks and radio marks and arrows are visible on highlighted items.
1610 * ControlPaint.cs: update to use new Theme signature.
1612 2006-03-22 Mike Kestner <mkestner@novell.com>
1614 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1615 is active. Fixes #77870.
1617 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1619 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1620 to be focused/selected after startup
1622 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1625 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1626 CustomColors and ShowHelp properties
1627 - Some internal rewrites to get better results when using the
1630 2006-03-22 Mike Kestner <mkestner@novell.com>
1632 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1633 HoverSelection. Fixes #77836.
1635 2006-03-22 Mike Kestner <mkestner@novell.com>
1637 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1638 ToggleButtons. (De)Sensitize the Back button around a stack count of
1639 1, not 0. Update ButtonSize based on a pixel count of the win32
1640 control. Adjust the toolbar size/location for new button size.
1642 2006-03-22 Jackson Harper <jackson@ximian.com>
1644 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1646 * ScrollBar.cs: When doing increments and decrements we need to
1647 set the Value property so that ValueChanged gets raised. A
1648 possible optimization here would be to make an internal SetValue
1649 that doesn't invalidate immediately.
1650 * ToolTip.cs: Tooltips get added to their container (when
1651 supplied) so they get disposed when the container is disposed.
1652 - Don't create tooltips for String.Empty. This prevents all these
1653 little 2-3 pixel windows from showing up when running nunit-gui
1655 * Form.cs: Don't set topmost when setting the owner if the handles
1656 haven't been created yet. The topmost set will happen when the
1657 handles are created.
1659 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1662 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1663 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1664 visible (to allow them to recalculate their sizes)
1666 2006-03-21 Mike Kestner <mkestner@novell.com>
1668 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1669 methods. Removed a ton of redundant code. Still not really happy with
1670 the border rendering, but I think that's mainly because of the
1671 ControlDarkDark being black instead of a dark grey. Depending on how
1672 close we want to be, we might want to revisit those color choices.
1673 Among the new features added during the refactor were DropDownArrow
1674 pressed rendering, Disabled image rendering. Proper flat appearance
1675 boundary rendering. Removed the Divider and Wrapping dividers since I
1676 can't figure out any combination of themes and conditions to make the
1677 MS control draw a horizontal line on a toolbar despite what the
1678 Divider property docs indicate.
1679 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1680 conditions and incorrect layout. Updated to coding standard.
1681 * ToolBarButton.cs: refactored layout and positioning code from
1682 ToolBar to here. Invalidate wherever possible instead of forcing
1683 redraws of the whole toolbar.
1684 (Known remaining issues: explicit ButtonSize smaller than provided
1687 2006-03-21 Mike Kestner <mkestner@novell.com>
1689 * ContextMenu.cs (Show): use the position parameter instead of just
1690 showing at the MousePosition.
1692 2006-03-21 Jackson Harper <jackson@ximian.com>
1694 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1695 control handle this.
1696 * TreeNodeCollection.cs: If we are clearing the root node we need
1697 to reset top_node so calcs can still happen.
1698 * ThemeWin32Classic.cs: This is a Flags so we need to check
1701 2006-03-21 Jackson Harper <jackson@ximian.com>
1703 * DataGrid.cs: Create columns when the binding context has been
1705 * X11Structs.cs: Keysyms are uints.
1706 - Add size to fix build.
1708 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1710 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1712 - Added ResetMouseHover method to allow controls to retrigger
1713 hovering if they need it more than once
1714 - Implemented MouseHoverTime and MouseHoverSize properties
1715 * Timer.cs: Start() must reset the interval
1716 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1719 2006-03-21 Jackson Harper <jackson@ximian.com>
1721 * X11Keyboard.cs: improved layout detection. Move the nonchar
1722 tables into this file.
1723 * KeyboardLayouts.cs: Move the tables into resource files.
1725 2006-03-21 Mike Kestner <mkestner@novell.com>
1727 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1729 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1731 * Mime.cs: Various speed optimizations. Looking up mime types
1732 is now 2 times faster than before
1734 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1736 * CreateParams.cs: Added internal menu field
1738 - Switched call order for UpdateBounds; now we always call
1739 the one that also takes ClientSize, and we're calculating the
1740 client size via driver method in the others. The previous
1741 method of tracking client size by difference wasn't working
1742 for forms where even the starting client size wouldn't match
1743 the overall form size (due to borders) (Part of fix for #77729)
1744 - CreateParams(): Do not use parent.Handle unless the handle is
1745 already created. Causes havoc with Nexxia and throws off our
1746 creation of controls
1748 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1749 - Switched handling of ConfigureNotify over to new PerformNCCalc
1750 method (consolidates code)
1751 - Changed RequestNCRecalc to use new PerformNCCalc method
1752 - Added calls to RequestNCRecalc when menus and borders are changed
1753 to allow app to set NC size. (Part of fix for #77729) This matches
1754 when MS send a WM_NCRECALC on Win32 windows.
1755 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1756 (Part of fix for #77729). This matches what MS does, they also
1757 send that message when the form is made visible.
1758 - XException.GetMessage: Improved usability of X errors by including
1759 a translation of the window into Hwnd and Control class
1760 - Improved debug info for window creation, reparenting and destruction
1761 - Created helper method WindowIsMapped() [Currently not used]
1762 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1764 - CreateParams: Now setting our menu on the new internal menu field
1765 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1766 avoid calculating the same property twice
1768 - Improved usability of ToString() for debugging purposes
1769 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1770 determine the height of the menu, instead of just the font. This
1771 required to also create a graphics context and to keep a bmp
1772 around (for performance reasons)
1774 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1776 * MenuAPI.cs: Added OnMouseUp method
1778 - Now remembering the requested client size, avoids size errors
1779 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1780 instead of base if the menu is active. This is required due to
1781 control now capturing and releasing on down/up and it would
1782 prematurely release our menu capture
1784 2006-03-17 Jackson Harper <jackson@ximian.com>
1786 * KeyboardLayouts.cs: Add the czech layouts.
1788 2006-03-16 Jackson Harper <jackson@ximian.com>
1790 * Control.cs: Use the viewport space when sizing not the controls
1791 client size, so things like ScrollableControl that effect the
1792 viewport size (when scrollbars are added) are computed correctly.
1793 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1795 - Handle creating BindingManagers for null data sources.
1796 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1797 source, otherwise when rows are added they are added to the 'fake'
1798 datasource and we will crash when trying to set the position in
1800 - Use Implicit scrollbars on the datagrid so they arent
1803 2006-03-16 Jackson Harper <jackson@ximian.com>
1806 * InternalWindowManager.cs:
1807 * MdiWindowManager.cs:
1808 * X11Keyboard.cs: I really want Mike to love me again (fix
1811 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1814 - OnMouseDown: Switch to editing mode when clicking on the cell
1815 even if we're clicking on the cell that's currently
1817 - ProcessGridKey: Left/Right now wrap like MS.Net does
1818 - ProcessGridKey: Tab now knows to add a new row when tab is
1819 pressed in the cell of the last column of the
1821 - ProcessGridKey: Enter now adds another row if pressed in the last
1822 row and selectes the new row, same column cell
1823 - ProcessGridKey: Home/End navigate columns, not rows, like
1824 originally implemented
1825 - Broke ProcessKeyPreview code out into an extra Internal method
1826 so it can be called from the edit code
1827 * DataGridTextBox.cs (ProcessKeyMessage):
1828 - Switched to accept Tab keypresses
1829 - Added F2 handling to allow jumping to the end of the edited cell
1830 - Added logic to allow moving caret left/right inside edited cell
1831 and making the edited cell jump when the caret hits cell borders
1832 - Tab and Enter are now passed to the datagrid after being handled
1834 - Removed capture code now that Control handles it
1835 - set_SelectionStart now ensures caret is visible
1837 2006-03-16 Jackson Harper <jackson@ximian.com>
1839 * TrackBar.cs: Debackwards the increment/decrement for handling
1840 mouse clicks on the bar with vertical trackbars.
1841 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1844 2006-03-16 Mike Kestner <mkestner@novell.com>
1846 * ListView.cs: make shift/ctrl keyboard and mouse selection
1847 consistent with the MS control. Fix a bug in
1848 SelectedListViewItemCollection.Clear that was pissing me off for the
1849 better part of a day because the collection was being altered
1850 underneath us as we walked the list.
1852 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1854 * Control.cs: Not sure how we could miss this so long, but it seems
1855 that MS.Net has Capture set all the way from before calling
1856 OnMouseDown through sending the mouse events until after
1857 OnMouseUp. This will fix DataGrid's selection being set to end
1858 at the location of the MouseUp.
1860 2006-03-15 Jackson Harper <jackson@ximian.com>
1862 * BindingContext.cs: Check the binding after its added so that it
1863 can initialize the binding managers and hookup to events.
1864 * Binding.cs: Data members seem to sometimes include rows/cols in
1865 the format Row.Column we now take this into account.
1866 - Hookup to the position changed event so we can update the
1867 control when the position has changed in the data set.
1868 * CurrencyManager.cs: Take into account the row/col naming
1869 convention when creating dataset tables.
1870 * BindingContext.cs: Using a newer better way of storing
1871 datasource/datamember pairs. Hopefully this better matches MS for
1872 looking up binding managers.
1875 2006-03-15 Jackson Harper <jackson@ximian.com>
1877 * BindingContext.cs: The currency manager needs the data member
1878 name, if the member is a data set we use the name to find the
1880 * CurrencyManager.cs: When creating the list prefer an IList over
1882 - Attempt to create a DataTable from a DataSet (TODO: might need
1883 some better error checking here, although MS doesn't seem to have much)
1884 - If we have a DataTable create a view and use it as our list.
1886 2006-03-15 Mike Kestner <mkestner@novell.com>
1888 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1889 keyboard navigation. Support Up/Down/Left/Right selection correctly
1890 for all 4 View modes.
1891 * ListViewItem.cs: add internal row/col fields for icon layouts.
1893 2006-03-15 Jackson Harper <jackson@ximian.com>
1895 * TabControl.cs: Redraw the tabs when we resize so their newly
1896 calculated sizes are drawn on screen.
1897 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1898 composite characters.
1899 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1900 - filter events so that composite characters can be created
1902 * X11Structs.cs: Add XIMProperties enum.
1904 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1906 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1909 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1911 * Control.cs (PerformLayout): We don't need to consider visiblity
1912 for anchoring, only for docking. This fixes 'whacky' alignment
1913 in listbox and other controls that use implicit scrollbars after
1914 the previous PerformLayout patch
1915 * ListBox.cs: Switched to use implicit scrollbars
1917 2006-03-14 Mike Kestner <mkestner@novell.com>
1921 - chain up the "new event" overrides to base and use
1922 OnEvent to raise them. Part of fix for bug #76509.
1924 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1926 * FileDialog.cs: Do not select an item in the parent directory
1929 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1931 * Control.cs (PerformLayout): It would seem that we considered
1932 invisible windows for our layout. Not quite the right thing
1933 to do. Now we don't any longer, thereby fixing bug #76889.
1935 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1937 * Control.cs (CanFocus): I goofed. A control can have focus
1938 even though it's not selectable. Made it match MS docs.
1940 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1942 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1943 center by default (fixes #76895)
1944 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1945 all uses of Border3DSides.All with the explicit ORd together
1946 Left|Right|Top|Bottom because I assume that nobody was aware
1947 that All also implies a center fill. Most places I checked had
1949 * ProgressBarStyle.cs: Added
1951 2006-03-13 Mike Kestner <mkestner@novell.com>
1953 * ListView.cs: fix breakage in drag shadow header positioning
1954 from Peter's csc compilation fix.
1956 2006-03-13 Mike Kestner <mkestner@novell.com>
1958 * ListView.cs: fix NRE produced by backspacing twice in a focused
1961 2006-03-13 Mike Kestner <mkestner@novell.com>
1963 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1965 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1967 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1969 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1970 the allowed size before making programmatic size changes
1972 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1974 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1975 set, metacity is broken and will still use the emty sizes in
1976 the struct. (Fix for #77089)
1978 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1980 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
1981 WindowExStyles and marked both enums as Flags
1982 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1983 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1984 to match WindowStyles split
1986 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1987 - Updated to match WindowStyles split
1989 - Fixed FosterParent creation, was using ExStyle on the Style field
1990 (This should help with Popup focus issues)
1991 - Updated to match WindowStyles split
1993 2006-03-13 Jackson Harper <jackson@ximian.com>
1995 * MdiWindowManager.cs: Use the system menu height. Fixes some
1996 strange sizing issues.
1998 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2000 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2002 - Scroll to caret after inserting text (#77672)
2003 - Make scroll range one pixel higher, fixes off-by-one error (and
2004 makes underlines visible on the last line)
2006 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2008 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2009 the keyboard state from being stuck with keys in 'pressed' state when
2010 focus is switched away via keyboard
2011 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2012 reset the keyboard if no X11 KeyUp events are expected to come
2013 * X11Structs.cs: Switched type of Visible to bool to match driver
2015 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2018 - Switched caret to be just 1 pixel wide, matches MS and looks less
2020 - Moved caret display 1 pixel down from the top of the control
2022 - InsertCharAtCharet: Update the selection start if moving the caret
2023 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2024 - No longer always creating the caret when the caret methods are
2025 called. Only the actual ShowCaret/HideCaret will do that now
2026 - Only setting caret visible if the owner control has focus
2027 - UpdateView: Added invalidation-shortcut logic for center and right
2028 aligned text. Previously we'd update all according to the left
2029 logic which caused drawing errors. Also fixed height of invalidated
2030 areas, now properly invalidating the whole area (was off-by-one)
2031 - owner_HandleCreated: Always generate the document when the
2032 handle is created; this ensures that
2034 - Fixed situation where caret would disappear under the right
2035 window border, also improved scrolling behaviour on left-
2037 - Fixed right-aligned textboxes to have a border to the
2038 right instead of the caret being under the right border
2040 - Switched from 'nested' to simple visible/not visible tracking
2041 for caret (part of fix for #77671)
2042 - No longer passing through translated FocusIn/FocusOut messages
2043 since we were notifying too often and the wrong windows. Instead
2044 we just notify our focussed window of receiving or loosing focus
2045 * XplatUIWin32.cs: Switched from 'nested' show/hide
2046 counting for caret to simple visible yes/no behaviour (part of
2049 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2051 * Mime.cs: Remove debug code...
2053 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2055 * MimeGenerated.cs: Removed
2056 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2057 and subclasses) from /usr/(local/)share/mime and
2058 $HOME/.local/share/mime.
2060 2006-03-10 Jackson Harper <jackson@ximian.com>
2062 * MdiWindowManager.cs: Recalc the NC area when a window is
2063 maximized/restored so that the menu area is drawn on forms that
2066 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2068 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2069 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2070 us to force a WM_NCCALCRESIZE message being sent. This is needed
2073 2006-03-10 Jackson Harper <jackson@ximian.com>
2075 * Form.cs: We need to use the ActiveMenu when calculating menu
2077 - Fix nullref when the window manager hasn't been created yet.
2078 * Control.cs: Fix nullref when we try to bring a control to the
2079 front that has no parent.
2080 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2082 - Add a dummy item to the maximized menu so it always has the
2083 correct height. Otherwise when there are no menus we don't get our
2087 2006-03-10 Jackson Harper <jackson@ximian.com>
2089 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2091 * Form.cs: Make the window_state internal so the window managers
2093 - When an MDI child is maximized let its window manager create the
2094 main menu (so it can add its icon).
2095 - Notify the window managers of state changes
2096 - Let the window manager paint its buttons and handle button
2097 clicks on the menu when it is maximized.
2098 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2099 window manager, since tool windows don't use it, only mdi windows.
2100 - Tell the main form that we don't want it to handle NCPAINT
2101 itself to avoid extra painting.
2102 - Handle clicks on a maximized windows menu.
2103 - Handle window state changes
2104 - Handle minimize/maximize clicks correctly by setting the window state.
2105 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2106 when clicking on the forms icon).
2107 - New method to create a forms maximized menu. This is its normal
2109 - Handle window state changes.
2110 - Handle sizing of maximized windows. Maximized windows are just
2111 drawn bigger then the parent visible area. All controls are still
2112 there, they are just outside the visible area (this matches windows).
2113 * MdiClient.cs: No scrollbars when a child window is maximized.
2114 - Let the children windows figure out how big they should be when
2115 sizing maximized windows.
2116 - Implement a version of ArrangeIconicWindows somewhat similar to
2117 Windows version. There are some little differences, but I don't
2118 think any app will rely on the layout of minimized mdi windows.
2120 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2122 * Padding.cs: Several fixes to allow compiling with csc 2.0
2124 2006-03-09 Jackson Harper <jackson@ximian.com>
2127 * MenuItem.cs: Cheap hack so we can add items to the list without
2128 the events being raised. This allows adding mdi items during
2129 drawing. TODO: Should probably find a better time to add the items.
2131 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2133 * ThemeWin32Classic.cs:
2134 - CheckBox_DrawText: Added logic to not wrap if not enough space
2135 is available (Fix for bug #77727)
2136 - RadioButton_DrawText: Added logic not to wrap if not enough
2137 space is available (Fix for bug #77727). Also removed some
2138 duplicate code, DrawString always drawing the regular text
2139 before hitting the if statement.
2141 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2143 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2145 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2147 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2148 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2149 methods. Moved the new 2.0 properties into alphabetical order with
2150 other properties and added MonoTODO tags
2152 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2154 * AutoScaleMode.cs: Added. Fix build.
2156 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2158 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2159 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2160 and was requiring premature handle creation for calls from above
2161 * Form.cs, Control.cs: Removed handle arguments from calls to
2162 CalculateClientRect()
2164 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2166 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2167 drag_column.column_rect is MarshalByRef and can't be used that way
2169 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2171 * AxHost.cs: Added deserialization constructor for
2172 AxHost+State (fixes 77743)
2174 2006-03-09 Mike Kestner <mkestner@novell.com>
2177 - Added column drag reordering for details view.
2178 - fixed behavior when mouse is dragged off column and
2179 AllowColumnReorder is false.
2180 * ColumnHeader.cs: clone the format too in Clone.
2181 * Theme.cs: add DrawListViewHeaderDragDetails method.
2182 * ThemeWin32Classic.cs:
2183 - impl new method for drawing drag column shadows and targets.
2184 - support column offset for details mode in DrawListViewItem.
2186 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2188 * TextControl.cs: Reset the char_count when the document is cleared
2189 (Fixes bug reported on mono-winforms mailing list)
2191 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2193 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2194 of calling base we simply process the key ourselves, since both
2195 DefWindowProc and the handled method would set m.Result.
2198 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2200 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2201 method also moves the window; instead implemented a copy of
2202 Control.ScaleCore (Part of fix for #77456)
2204 - Created new CreateGraphicsInternal method to allow providing
2205 a graphics context when no handle is created without triggering
2206 handle creation. (Part of fix for #77456)
2207 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2209 - Switched Constructor to require TextBoxBase instead of Control (to
2210 allow uncast access to CreateGraphicsInternal)
2211 - Safeguarded use of owner.Handle property. No longer accessing it
2212 unless the handle is already created.
2213 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2214 - Now triggering a recalc when owning control becomes visible
2215 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2216 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2217 premature handle creation (Part of fix for #77456)
2219 - We now only destroy our double-buffering buffers when the
2220 control is resized or disposed, but not when visibility
2221 changes. (The code even re-created them twice every time)
2222 - Now requiring a redraw of the buffer on visibility changes
2223 (fixes bug 77654 part 2)
2224 - Not passing OnParentVisibleChanged up unless the control
2226 - CanFocus: Fixed to match MS documentation
2227 - Focus: Fixed to return actual focus state and to check if
2228 setting focus is legal before setting it
2230 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2232 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2233 when to draw focus rectangle by looking at parent focus and
2234 selected state instead. This fixes TabPages on Linux sometimes
2235 having none or multiple focus rectangles.
2236 * XplatUIX11.cs (SetFocus):
2237 - Don't set the focus if the same window already has focus
2238 - Use SendMessage instead of PostMessage (like it's Win32
2239 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2240 to match MS behaviour
2241 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2244 2006-03-07 Jackson Harper <jackson@ximian.com>
2246 * PictureBox.cs: Revert line I accidently committed last week.
2248 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2251 - Added new IsRecreating and ParentIsRecreating properties to
2252 allow testing if RecreateHandle has been called on ourselves
2253 or one of our parents
2254 - WndProc(WM_DESTROY): If our control handle is being recreated
2255 we immediately need to create the handle when receiving the
2256 destroy, that way our child windows find a valid parent handle
2257 when they themselves are being recreated upon WM_DESTROY receipt
2258 (fix for bug #77654 part 1)
2260 - DestroyWindow: WM_DESTROY must be sent to our own window before
2261 notifying any child windows. MS documents that child windows
2262 are still valid when WM_DESTROY is received. (Control now relies on
2264 - Added some fine-grain debug options
2266 2006-03-06 Jackson Harper <jackson@ximian.com>
2268 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2269 box and base calculations off this.
2270 * MdiChildContext.cs:
2271 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2274 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2276 * Splitter.cs: In situations where the affected control is added
2277 to the parent's control list after the splitter, we would not
2278 populate affected. Now we try populating it on mousedown, if
2279 it's not already set, and force it to be re-set whenever our
2282 2006-03-03 Matt Hargett <matt@use.net>
2284 * Control.cs: implement Control.Padding
2285 * Padding.cs: -Padding.All returns -1 when constructing with the
2286 implicit default ctor
2287 -Padding.ToString() matches MS.NET
2288 * ContainerControl.cs: implement
2289 ContainerControl.AutoScaleDimensions
2290 * ListControl.cs: implement ListControl.FormattingEnabled
2291 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2293 * TabPage.cs: Implement UseVisualStyleBackColor.
2294 * PictureBox.cs: Implement PictureBox.InitialImage.
2296 2006-03-03 Mike Kestner <mkestner@novell.com>
2298 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2299 event declarations to proxy to base event.
2300 * ListViewItem.cs: update to use ItemControl.
2301 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2302 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2303 column header label rendering for 0 width columns.
2305 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2307 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2308 that causes the control to be created. Fixes #77476.
2310 2006-03-02 Jackson Harper <jackson@ximian.com>
2312 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2315 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2317 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2318 passed in for the EventArgs (fixes #77690)
2320 2006-03-01 Jackson Harper <jackson@ximian.com>
2322 * ScrollBar.cs: Refresh afterbeing resized.
2324 2006-02-28 Mike Kestner <mkestner@novell.com>
2326 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2327 Clean up a tracker compile warning.
2328 * MenuItem.cs: add internal PerformPopup method.
2331 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2333 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2334 implicit expose) when the text is set to null
2336 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2338 * RichTextBox.cs (FlushText): When newline is true, we always
2339 need to split the line, even if no text is on it and we may
2340 never eat newlines. (Fixes #77669)
2342 2006-02-28 Mike Kestner <mkestner@novell.com>
2344 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2345 and set Selected instead.
2346 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2349 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2351 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2353 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2356 - Got rid of the panel. All controls are now directly added to
2358 - It is now possible to set a font with the Font property
2359 - MinSize and MaxSize property do now what they should
2360 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2361 - Searching and selecting a font with the font textbox works now,
2362 the same applies to the style and size textbox
2363 - Draw the correct 3D border in the example panel
2364 - Fixed a little mem leak (unused fonts didn't get disposed)
2365 - Many other internal updates/rewrites...
2368 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2371 - InsertRTFFromStream: Added 'number of characters inserted' argument
2372 - set_SelectedRTF: Now using the number of characters to calculate
2373 the new location for the selection and cursor (x/y cannot be used
2374 due to potentially already wrapped text)
2376 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2378 * TextControl.cs: Added property and implemented means to allow
2379 disabling recalculation of a document (can be used to speed up
2380 multiple inserts and is needed to make RTF inserts predictable, see
2382 * RichTextBox.cs: Using the new NoRecalc property of Document to
2383 keep x/y insert locations predictable. Also makes it faster inserting
2386 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2388 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2389 it's easier for a child control to handle the other messages without
2390 having to duplicate the special functionality
2392 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2393 code to handle processing the key ourselves, in order to get
2394 access to the result of KeyEventArgs.Handled. We now only call
2395 ProcessKey if they key hasn't been handled already. Fixes #77526.
2396 - set_Text: If null or empty string is given, just clear the
2397 document. Fixes part of #77526
2399 2006-02-27 Jackson Harper <jackson@ximian.com>
2401 * SizeGrip.cs: Paint the background color before painting the grip
2402 so things look right.
2403 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2405 2006-02-27 Mike Kestner <mkestner@novell.com>
2408 - Restructure layout and invalidation model to remove a ton of
2409 flicker from the control and speed up performance in general.
2410 - Add manual column resize, flickers like crazy, but I already have
2411 some ideas on how I'll fix that. (#76822)
2412 - Merge the three Icon-based views into a single layout method.
2413 - Move item selection interaction logic from the item since
2414 interaction with the collections is more appropriate to the view.
2415 - Deselection on non-item clicks.
2417 - Encapsulate most of the layout. Add some internal props to trigger
2418 layout. Move to a model where Items invalidate themselves instead
2419 of just invalidating the whole control every time something changes.
2420 - Invalidate on Text/Caption changes.
2421 - switch to an offset based layout model to avoid having to absolute
2422 position every element on item moves.
2423 - correct checkbox layout to conform to MS layout.
2424 * ThemeWin32Classic.cs:
2425 - refactor some column header drawing code.
2426 - fix string justification for column headers (#76821)
2427 - make SmallIcon labels top justified for compat with MS impl.
2428 * ThemeClearlooks.cs:
2429 - adjust to new ListViewItem internal checkbox bounds api.
2431 2006-02-27 Jackson Harper <jackson@ximian.com>
2433 * Control.cs: Change where implicit controls fall in the zorder.
2434 They are now on top of all children.
2435 - Synced AddImplicit code with Add
2436 - Removed unused enumerator.
2437 * SizeGrip.cs: Remove the TODO as its been TODONE.
2439 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2441 * TextControl.cs(Insert): Combine the last lines unless the insertion
2442 string ends with \n\n, otherwise we leave one line too many (Fixes
2443 something I noticed with the testapp for #77526; the bug itself was
2444 already fixed in the previous checkin)
2446 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2449 - SelectionColor and SelectionFont methods no longer set absolute
2450 styles. Instead, the keep font or color respectively (This
2451 resolves a long-standing FIXME in the code)
2452 - When flushing RTF text, the insert code now considers text trailing
2453 behind the insertion point (Fixes the bug where when replacing
2454 the selected text via SelectedRTF the remainder of the line behind
2455 the selection would stay on the first insertion line)
2457 - AppendText now updates the selection points after inserting text
2458 - AppendText now ensures that the last tag (sometimes 0-length) of
2459 the document is used for the style information (Fixes part of
2462 - Created new FontDefiniton class to allow describing partial style
2464 - StreamLine() now takes a lines argument, to allow it to decide
2465 whether an encountered zero-length tag is the last in the document
2466 (which must be kept to not loose the font/color contained in it,
2468 - Created Combine() and Split() methods for Marker structs, to
2469 support marker updates due to reformatted documents (soft line
2471 - Implemented Document.CaretTag setter
2472 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2473 of the last line (Not the cause, but also exposed by bug #77220)
2474 - Added LineTag argument to InsertString method, to allow callers
2475 to force a certain tag to be used (required to force use of the
2476 trailing zero-length tag of a document)
2477 - Now updating markers in Combine(), to avoid stale tag markers
2478 - Added some method descriptions to aid maintenance
2479 - Implemented new FormatText concept, allowing additive/subtractive
2480 formatting by only specifying the components that are to be
2481 changed. This was needed for resolving the RTB.SelectedColor/
2482 RTB.SelectedFont fixmes
2483 - Added Break() support method to allow breaking up linetags (used
2484 for partial formatting)
2485 - Added GenerateTextFormat() method. It is used for partial
2486 formatting and allows to generate a full font/color from given
2487 attributes and an existing tag.
2489 2006-02-26 Jackson Harper <jackson@ximian.com>
2491 * XplatUIX11.cs: Use the correct caption height.
2492 - Translate hittest coordinates to screen coords to match MS.
2493 * XplatUIWin32.cs: When we create MDI windows we need to reset
2494 some of the style flags, so we get a nice blank window, and can
2495 draw all the decorations ourselves.
2496 - Set a clipping rectangle on the non client paint event, the
2497 window manager drawing code needs one.
2498 * Form.cs: The window manager needs to know when the window state
2500 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2501 don't need to factor in border and title sizes in these
2502 methods. TODO: Remove the args and fix the call points.
2503 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2505 - Let the driver set the cursors.
2506 - Improve active window handling
2507 - Correct sizes for title bars and buttons.
2508 - Match MS drawing better
2509 * MdiWindowManager.cs: We don't need to handle border style
2510 updates specially anymore.
2511 - Check for scrollbars when windows are done moving
2512 - Handle Active properly.
2513 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2514 correctly. I am spewing the exception though, so we don't hide the
2517 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2519 * DataGridViewRowPostPaintEventArgs.cs,
2520 DataGridViewCellPaintingEventArgs.cs,
2521 DataGridViewRowCollection.cs,
2522 DataGridViewRowPrePaintEventArgs.cs,
2523 DataGridViewCell.cs: Clear a few warnings and implement a few
2524 exceptions that should be thrown.
2526 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2528 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2529 'inheriting' our parent's (non-default) cursor. (Part of
2532 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2534 * XplatUIX11.cs: Fixed cast to make csc happy
2536 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2538 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2539 it's for the client area (part of fix for #77479 and needed
2540 for MDI window cursor handling)
2542 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2543 the appropriate default cursors and also passing the message
2545 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2546 for non-client areas
2548 2006-02-15 Jackson Harper <jackson@ximian.com>
2550 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2551 is a real MDI window
2553 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2555 * X11DesktopColors.cs: Instead of checking the desktop session
2556 string for "KDE" check if it starts with "KDE"
2558 2006-02-10 Jackson Harper <jackson@ximian.com>
2560 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2563 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2565 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2568 - Got rid of the panel. All controls are now directly added to
2570 - Changed to mono coding style
2572 2006-02-10 Jackson Harper <jackson@ximian.com>
2574 * InternalWindowManager.cs: We don't need the set visibility to
2575 false hack anymore now that peter has written beautiful shutdown
2578 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2580 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2581 where already explicitly destroyed
2583 2006-02-10 Jackson Harper <jackson@ximian.com>
2585 * MdiClient.cs: Handle the case where windows are too high or to
2586 the left and we need scrollbars.
2588 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2590 * MimeIcon.cs: Added some icons
2593 - Got rid of the panel. All controls are now directly added to
2595 - Changed to mono coding style
2596 - On Linux "My Computer" and "My Network" will now show some
2597 more usefull information. A new class, MasterMount, gathers
2598 this information from /proc/mount. Updated MWFFileView to make
2599 use of this information
2600 - Fixed a bug that caused FileDialog to crash when
2601 ".recently_used" file had a zero size
2602 - FilterIndex does now what it should
2604 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2607 2006-02-09 Jackson Harper <jackson@ximian.com>
2609 * ComboBox.cs: Don't touch if null.
2611 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2613 * Cursor.cs: 64bit safeness fix
2614 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2616 2006-02-09 Jackson Harper <jackson@ximian.com>
2618 * Form.cs: If a form is made into an MDI form update the styles so
2619 all the props can get set correctly.
2620 - Kill the mdi_container when we dont need it anymore.
2621 * InternalWindowManager.cs: Add missing NOT
2623 2006-02-08 Jackson Harper <jackson@ximian.com>
2625 * InternalWindowManager.cs: Respek clipping when drawing MDi
2628 2006-02-08 Jackson Harper <jackson@ximian.com>
2630 * Hwnd.cs: Add bits to track non client expose events.
2631 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2632 gives us a proper invalid rect and will allow for some nice
2633 optimizations with NC client drawing
2634 - MDI windows are children windows, so move their style handling
2635 into the child window block.
2636 * InternalWindowManager.cs: Remove a state reset that was
2637 getting invoked at the wrong time. Fixes managed windows getting
2638 into a 'stuck' captured state.
2640 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2642 * TextControl.cs (Document.ctor): Now initializing
2643 selection_anchor. Fixes #77493
2645 2006-02-07 Jackson Harper <jackson@ximian.com>
2647 * TrackBar.cs: The increment/decrements were backwards.
2649 2006-02-07 Mike Kestner <mkestner@novell.com>
2651 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2652 to the instance itself.
2654 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2656 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2657 on ulongs and pointers, the size differs between 32bit and 64bit
2660 2006-02-07 Mike Kestner <mkestner@novell.com>
2662 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2663 for 64 bit platforms to work around a metacity bug.
2665 2006-02-07 Jackson Harper <jackson@ximian.com>
2667 * TrackBar.cs: Process the input keys we need, and hookup to
2668 KeyDown instead of using WndProc, so we get key messages.
2670 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2672 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2674 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2675 we need to translate the XdndVersion atoms array before sending it
2677 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2680 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2681 number of bits for the property, not the number of bytes. The
2682 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2683 but would not crash since it specified 8 bits instead of 4 bits)
2684 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2685 defined as XID -> long in the C headers)
2686 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2687 references since those are now IntPtr to begin with
2688 - Switched all Atom.XXX 'int' casts to IntPtr casts
2689 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2690 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2691 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2693 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2694 - Changed atom in HoverStruct to be IntPtr
2696 - Removed local DllImports, switched code to use those from XplatUIX11
2697 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2699 2006-02-06 Mike Kestner <mkestner@novell.com>
2701 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2702 method signatures in the import region. There may still be some
2703 lingering struct marshaling issues, as I didn't drill down into those.
2706 2006-02-06 Jackson Harper <jackson@ximian.com>
2708 * ComboBox.cs: Dont manually set the top_item, this is computed
2709 when the scrollbar position is set.
2711 2006-02-06 Mike Kestner <mkestner@novell.com>
2713 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2714 startup crashes on amd64. There's other fixes needed. All pinvoke
2715 usage of Atom needs to be mapped to IntPtr for example. And there are
2716 likely other int/long issues to be addressed.
2718 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2720 * FileDialog.cs: One more...
2722 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2724 * FileDialog.cs: Next try
2726 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2728 * FileDialog.cs: First part of fix for #77464
2730 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2732 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2733 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2734 AcceptButton border drawing.
2736 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2738 * Form.cs: Moved positioning of form after auto scaling is applied,
2739 otherwise it would possibly use wrong form size.
2741 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2743 * Control.cs (RecreateHandle): No need to re-create any child
2744 controls, the child windows will get destroyed automatically by
2745 the windowing system or driver, and re-created when the handle
2746 is being accessed the first time. Fixes #77456
2747 * Form.cs: No longer setting the form to closing if the handle is
2748 being recreated. This seems like the right thing to do, don't
2749 have a bug or testcase for this, though.
2751 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2753 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2754 controls to avoid unwanted side effects
2756 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2759 - ScaleCore needs to scale the bounds, not the ClientSize of the
2760 control. Fixes #77416.
2761 - DefaultSize is 0,0 for control
2763 - DefaultSize is 100, 20
2764 - SetBoundsCore: Now enforcing the height, no matter if the provided
2765 height is more or less than the preferred one, as long as AutoSize
2767 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2769 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2772 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2773 call unless both performLayout is true *and* we have a pending
2775 - ResumeLayout: MS does not completely nest Suspend and Resume,
2776 they bottom out at 0, fixed our code to match that.
2777 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2778 SetBoundsCore, we were updating even when we shouldn't. This fixes
2779 swf-anchors mis-anchoring when resizing the app fast and lots.
2780 - UpdateDistances: Now only setting the left and top distance if
2781 we have a parent and are not suspended, this is based on
2782 a suggestion by Don Edvaldson in bug #77355.
2783 - OnVisibleChanged: Fixed logic when to create the control. We may
2784 not create the control if we have no parent or if it's not visible;
2785 switched to using Visible property instead of is_visible field
2786 since the property also considers parent states. This fixes a bug
2787 when starting Paint.Net
2789 2006-02-02 Jackson Harper <jackson@ximian.com>
2791 * Form.cs: If the forms handle hasn't been created yet don't call
2792 into xplatui to make it top most, just set the topmost flag on the
2793 form in CreateParams
2794 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2796 2006-02-01 Jackson Harper <jackson@ximian.com>
2798 * ScrollableControl.cs: Refactored the Recalculate method a
2799 little, this wasn't handling all the variants of bottom and right
2800 bars needed to be added and added/removed based on their
2801 counterparts being added/removed (which changes the drawable
2802 size). Also we special case client widths and heights of 0 and
2803 don't add the scrollbar for those.
2805 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2808 - Added method to get AbsoluteGeometry(); currently unused, but might
2809 be used in the future, if we try again to figure out toplevel
2810 coordinates with some more crappy window managers
2811 - Added FrameExtents() method to retrieve the WM set decoration size
2812 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2813 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2815 - Added whacky_wm tracking var for metacity
2816 - Added logic to have default menu height if the actual menu height
2817 has not yet been calculated (part of fix for #77426)
2818 * Form.cs: Keep track whether client size has been set and re-set
2819 it if a menu is added/removed afterwards (Fixes #77426)
2821 2006-01-31 Jackson Harper <jackson@ximian.com>
2823 * Control.cs: When a new Site is set on the component attempt to
2824 pull the AmbientProperties from it.
2826 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2828 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2829 in the background of the owning form. Fixes #77332
2831 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2833 * MimeIcon.cs: Fix for #77409
2835 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2837 * XplatUIX11GTK.cs: Initial import
2839 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2841 * FixedSizeTextBox: fixes class signature
2843 2006-01-30 Jackson Harper <jackson@ximian.com>
2845 * FixedSizeTextBox.cs: New internal class that represents a
2846 textBox that will not be scaled.
2849 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2852 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2854 * XplatUIX11.cs: Retrieve default screen number instead of
2855 assuming 0. Attempted fix for #77318
2857 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2860 - GetWindowPos: When a window is parented by FosterParent, use
2861 the desktop instead of FosterParent as the base to get coordinates
2862 - CreateWindow: Don't make FosterParent the parent window for Popups
2863 if we don't want a taskbar entry, Popups automatically don't get one
2864 * Hwnd.cs: Need to call remove to actually remove the key from the
2867 2006-01-30 Mike Kestner <mkestner@novell.com>
2869 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2871 2006-01-30 Jackson Harper <jackson@ximian.com>
2874 * TreeNode.cs: Raise events no matter how the treenode is
2875 checked. Patch by Don Edvalson.
2877 2006-01-30 Jackson Harper <jackson@ximian.com>
2879 * TreeNode.cs: Signature fix.
2881 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2883 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2885 2006-01-20 Mike Kestner <mkestner@novell.com>
2887 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2888 event forwarding when menus are active.
2889 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2890 Most of the patch is pdb's with a little rework.
2892 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2894 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2895 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2896 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2897 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2898 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2899 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2900 the PaintWindowDecorations method
2901 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2902 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2903 * MenuAPI.cs: Made tracker window invisible
2905 - Removed GetMenuDC and ReleaseMenuDC methods
2906 - Implemented the client=false path for PaintEventStart and
2909 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2911 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2912 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2915 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2917 - CreateParams: Reworked the styles to match MS look'n'feel,
2918 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2919 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2921 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2923 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2924 window is not mapped, since otherwise every form that's being
2925 created is considered minimized, which is wrong.
2926 * Form.cs: Catching the exception and returning our internal value
2929 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2931 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2932 SetWindowMinMax() to have means to tell the driver about the minimum,
2933 maximum and maximized state window sizes. (Part of the fix for #76485)
2935 - Implemented tracking of minimum and maximum window size, now calling
2936 new SetWindowMinMax() driver method to tell the driver (Part of the
2938 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2939 (Completes fix for #76485)
2940 - Calling new SetWindowMinMax driver method when the handle for a
2941 form is created, to make sure the driver knows about it even if
2942 the values have been set before the window was created
2943 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2944 to avoid messing up our anchoring calculations (partial fix
2946 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2948 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2949 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2950 (and presumably other freedesktop.org compliant WMs). Left the
2951 assumption unmapped=minimized, needed for SetVisible to work.
2952 - Now setting the window state when creating windows
2953 - Fixed SetVisible to consider/set the window state when mapping
2954 a Form. We cannot set the state before it's mapped, and we cannot
2955 use Form.WindowState once it's mapped (since it would ask the
2956 driver and get 'normal'. Therefore, we grab the state before
2957 mapping, map, and then set state.
2958 - Implmemented SetWindowMinMax method; Metacity does not seem to
2959 honor the ZoomHints, though.
2961 - Removed MINMAXINFO (moved to XplatUIStructs)
2962 - Added SetWindowMinMax stub (on Win32 the only way to set that
2963 information is in response to the WM_GETMINMAXINFO message, which
2964 is handled in Form.cs)
2965 - Added logic to SetVisible to set the proper window state when a
2966 form is made visible (fixes #75720)
2968 2006-01-26 Jackson Harper <jackson@ximian.com>
2970 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2971 same way we handle them with Invoke.
2973 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2976 - Added tracking of window state so CreateParams can return
2977 the appropriate style
2978 - Moved setting of WS_CAPTION style in CreateParams to allow
2979 styles without caption
2980 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
2981 control if the TextBox property is accessed. Fixes #77345
2983 - get_Created: now uses is_disposed and is_created to determine
2984 return value (suggested by Jackson)
2985 - CreateHandle: No longer exits if the handle is being recreated
2986 - RecreateHandle: If the handle is not yet created call the
2987 appropriate method to create either control or handle. If the
2988 control is already created CreateHandle will simply exit instead
2989 of just creating the handle
2990 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2991 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2994 - When DestroyWindow is called, instead of waiting for the
2995 DestroyNotification from X11, we directly post it to the WndProc
2996 and immediately dispose the hwnd object.
2997 Same applies to DestroyChildWindows, and this obsoletes the
2998 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2999 child windows before our own, to avoid X11 errors.
3000 - Removed the direct sending of WM_PAINT on UpdateWindow
3002 - Reworked DoEvents and GetMessage to allow access to internal queue
3003 even when trying non-blocking access to the queue. Fixes #77335.
3004 Based on a patch suggestion by Don Edvalson. The new private
3005 GetMessage can now also be used as a backend for a PeekMessage
3007 * XplatUI.cs: Improved debug output for CreateWindow
3009 2006-01-25 Jackson Harper <jackson@ximian.com>
3011 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3013 2006-01-24 Jackson Harper <jackson@ximian.com>
3015 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3016 when we have a MaxDropItems lower then the selected index.
3018 2006-01-24 Jackson Harper <jackson@ximian.com>
3020 * Control.cs: Don't allow selection of non visible controls, allow
3021 selection of controls without parents.
3023 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3025 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3026 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3028 2006-01-23 Jackson Harper <jackson@ximian.com>
3030 * UpDownBase.cs: Make the textbox handle all the selection and
3031 tabbing. This fixes tabing to updown controls.
3033 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3035 * TextBoxBase.cs: fixes exception thown the object was null
3037 2006-01-23 Jackson Harper <jackson@ximian.com>
3039 * ButtonBase.cs: Just use the base CreateParams. They set
3040 visibility and enabled correctly.
3043 * MonthCalendar.cs: Lets let the base set as much of the
3044 createparams as possible so we don't have duplicate code all over
3047 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3049 * ThemeGtk.cs: Added TrackBar and some experimental code to
3050 get double buffering back
3052 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3054 * DataGrid.cs: Allows row number set internally higher than the last
3055 when creating a new row. Restores the editing functionality.
3057 2006-01-20 Mike Kestner <mkestner@novell.com>
3059 * MimeIcon.cs: delay Image creation until the icons are accessed
3060 instead of creating 190 scaled images on GnomeHandler startup.
3062 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3064 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3065 first call base before processing the event. Fixes #77279
3067 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3069 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3070 that the stride for the GDI bitmap would match the stride of
3073 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3075 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3077 2006-01-19 Jackson Harper <jackson@ximian.com>
3079 * ComboBox.cs: Hookup the text controls keydown event so we get
3080 those when the text control has the focus.
3082 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3084 * Label.cs: Now using the base events instead of defining new ones;
3085 this allows us to just call the base properties without having to
3086 duplicate all base property logic
3088 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3090 * Label.cs: A label by default is not a tabstop (Fixes one of our
3091 failing nunit tests)
3093 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3095 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3096 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3098 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3100 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3101 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3104 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3105 constructor creates images that can't be saved. Part of the fix
3107 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3108 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3109 bug fix for handling window state in forms properly)
3111 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3113 * ThemeGtk.cs: Simplify ScrollBar drawing
3115 2006-01-18 Jackson Harper <jackson@ximian.com>
3117 * Splitter.cs: Set the default dock style for the splitter control
3120 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3122 * ThemeGtk.cs: Corrected StateType and ShadowType for
3125 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3127 * Control.cs: Make use of Theme.DoubleBufferingSupported
3129 - Added drawing for flat style buttons
3130 - Added ScrollBar drawing
3132 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3134 * ThemeClearlooks.cs: Removed some unneeded code.
3135 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3137 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3139 * LinkLabel.cs: We need to update the hover drawing when
3140 leaving the control as well.
3142 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3144 * DataGrid.cs: Clicking on non empty areas in the columns
3145 area was giving an exception
3147 2006-01-17 Jackson Harper <jackson@ximian.com>
3149 * ThemeWin32Classic.cs:
3150 * ListView.cs: Do not draw/clip the headers when the header style
3153 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3155 * DataGrid.cs: Fixes 77260
3157 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3159 * DataGrid.cs: Clicking on a column on a empty grid was giving
3162 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3164 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3165 or any keypress will crash the grid.
3167 2006-01-17 Mike Kestner <mkestner@novell.com>
3169 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3170 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3171 invisible/previously-visible items.
3174 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3176 * ThemeClearlooks.cs:
3177 - Added CL_Draw_Button method; now other theme controls that are
3178 not derived from button or do not have a button can draw buttons
3180 - Updated ComboBox drawing
3181 - Beautified RadioButton drawing
3182 - Corrected drawing of bottom and left tabs
3183 - Beautified DateTimePicker and MonthCalendar
3184 - Added CPDrawButton and CPDrawRadioButton
3186 2006-01-16 Jackson Harper <jackson@ximian.com>
3188 * ComboBox.cs: Set the initial value of the scrollbar to the
3189 current index. Reduce the numbers of refreshs and IndexOfs called.
3191 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3193 * FileDialog.cs: When the file listview is focused hitting the
3194 backspace key moves the fileview to the parent directory
3196 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3199 - Added RecreateHandle call when changing taskbar visibility to
3200 trigger reparenting in Win32 driver (Fixes #75719)
3201 - If a window has minimize or maximize buttons, it cannot have
3204 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3205 the toplevel form with FosterParent (A toolwindow not on the
3206 taskbar) (Fixes #75719)
3207 - Made FosterParent a toolwindow
3209 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3211 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3213 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3215 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3216 is currently over that control, make sure that tooltip_window.Text
3219 2006-01-13 Mike Kestner <mkestner@novell.com>
3221 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3223 2006-01-13 Jackson Harper <jackson@ximian.com>
3225 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3226 value passed. Also redraw the selected node when we recieve
3227 focus, so tabbing between trees works correctly.
3229 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3231 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3232 ~/.gconf/%gconf-tree.xml, so use
3233 .gconf/desktop/gnome/interface/%gconf.xml
3235 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3237 * TextControl.cs: Draw text in gray if control is disabled
3239 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3241 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3242 make sure it's always visible. Fixes #76680.
3244 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3246 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3248 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3250 * PageSetupDialog.cs: Added.
3251 * PrintDialog.cs: Attributes.
3252 * PrintPreviewControl.cs: Updates.
3253 * PrintPreviewDialog.cs: Updates.
3255 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3257 * Control.cs: Undid my selection check fix, since it's not needed
3259 - Now considering the presence of hscroll/vscroll when sizing
3260 vscroll/hscroll respectively. Fixed bug #77077
3261 - Added Left/Up/Down/Right to IsInputKey list to prevent
3262 ContainerControl from stealing them. This fixes what I broke
3263 with my last checkin.
3265 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3267 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3268 I finally understand how the property can be set without a setter :-)
3270 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3273 - Switched RunLoop to use static Message.Create to create a
3275 - Added PreProcessMessage call in runloop for keyboard events; this
3276 is part of the fix for #77219, I overlooked this originally in the
3277 MSDN doc for PreProcessMessage
3279 - Removed call to PreProcessMessage from handling of keyboard
3280 messages; it's supposed to be done in the message pump
3281 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3282 per MSDN documentation.
3283 - IsInputChar: All chars are input chars by default; removed the
3284 parent calling chain, MS does not document that
3285 - PreProcessMessage: If IsInputChar is true, we want to return false
3286 to allow dispatching of the message
3287 - When selecting the next control, now also check that we're not
3288 selecting ourselves again and therefore return a false positive.
3290 - Tried to match return values for IsInputKey and ProcessDialogKey
3291 to what MS returns; moved processing of our special keys outside
3292 ProcessDialogKey since MS does not seem to return true on those.
3293 - Moved code that previously was in ProcessDialogKey into new private
3294 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3295 - Reworked handling of WM_CHAR to not have to duplicate code from
3296 Control.cs anymore, instead we simply call down to base.
3298 2006-01-12 Jackson Harper <jackson@ximian.com>
3300 * ComboBox.cs: We always need to refresh the text area when
3301 EndUpdate is called. Fixes the combobox in the file dialog.
3302 * Control.cs: Don't create the creator_thread until the controls
3303 handle is created. Also in InvokeRequired we check if the
3304 creator_thread is null. This gives the effect of InvokeRequired
3305 returning true if the controls handle is not created yet, and
3308 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3311 - Added StartLoop() driver method. This is used to allow drivers to
3312 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3313 loop for a particular thread
3314 - Added EndLoop() driver method. This is called once the message
3315 pump for the thread is shut down
3316 - Added SupportsTransparency method to allow the driver to indicate
3317 opacity support for windows
3319 - Removed TODO attribute, completed AllowTransparency property
3320 - Added documented logic to Opacity
3321 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3322 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3323 versions of CompatibleTextRendering
3324 * X11Structs.cs: Added opacity atom to our atom enumeration
3325 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3326 of a form might be set before it's reparented by the WM, and we need
3327 the opacity value without calling up to Form)
3328 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3329 SupportsTransparency() driver methods
3330 * Application.cs: Now calling StartLoop and EndLoop driver methods
3332 - Added opacity atom registration
3333 - Added StartLoop()/EndLoop() methods. They're empty right now but
3334 will need to get implemented when we switch to a per-thread queue
3335 - Implemented SupportsTransparency() method
3336 - Implemented SetWindowTransparency() method
3337 - Added support for setting the opacity value when a window is
3338 reparented (since the opacity needs to be set on the WM frame)
3339 * XplatUIOSX.cs, XplatUIWin32.cs:
3340 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3342 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3344 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3346 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3348 * FileDialog.cs: Added ToolTip for MWFFileView
3349 * MimeIcon.cs: Rewrote GnomeHandler.
3350 - Get currently used gnome icon theme from
3351 ($HOME)/.gconf/%gconf-tree.xml
3352 - Make use of inherited icon themes
3353 - Support SVG icon themes like Tango via librsvg
3355 2006-01-12 Miguel de Icaza <miguel@novell.com>
3357 Revert's Jackson's revert which broke 2.0 builds. Fix both
3360 * Application.cs: Move the use_compatible_text_rendering outside
3361 the NET_2_0 define. If we ever need to use the
3362 use_compatible_text_rendering on the individual controls they will
3363 access the variable from the common shared code paths.
3365 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3368 - Added more granular debug options
3369 - Added method to print both window text and id
3370 - Switched debug output to use new Window() debug method
3371 - Added IsEnabled() driver method
3372 - Added EnableWindow() driver method
3374 - Removed end_modal; no longer needed, new loop handles termination
3375 via 'closing' variable
3376 - If form is modal, setting DialogResult will now initiate loop
3377 termination via 'closing' variable
3378 - Added support for is_enabled/WS_DISABLED to CreateParams
3379 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3381 - Removed code that's now in RunLoop from ShowDialog()
3382 - Added various documented sanity checks to ShowDialog()
3383 - Added handling of WM_DESTROY message; we set 'closing' on getting
3384 the message to indicate the message pump to terminate
3385 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3386 send by the Application.ExitThread method. (We send the message
3387 to destroy the window after all other events have been
3388 processed through the queue, instead of destroying the handle
3390 - Moved code from Close() method to WM_CLOSE handler; added logic
3391 to only send close-related events if the form is not displayed
3393 * Splitter.cs (..ctor): Fixed typo in resource name
3395 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3397 - set_Cursor: Now only setting calling into XplatUI if the handle for
3398 the control is already created; this avoids implict handle creation
3399 or crashes if it's not created
3400 - set_Enabled: Now setting the enabled state via the new driver method
3401 instead of just tracking it
3402 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3403 - CreateControl: Reordered event firing and method calls to more
3404 closely fire events in the order MS does. Now setting the
3405 enabled state in the driver when creating the control.
3406 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3408 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3409 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3410 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3412 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3413 - Added EnabledHwnd property to easily allow a driver to find the
3414 handle of the first enabled window in the parent chain (this is
3415 used by drivers to pass up input events of disabled windows)
3416 * XplatUIDriver.cs: Added IsEnabled() method
3418 - Removed crude and obsolete exiting tracking variable
3419 - Removed internal ModalRun(); replaced by RunLoop()
3420 - Implemented private CloseForms() method to allow closing all
3421 windows owned by a particular (or all) threads
3422 - Exit() now properly closes all windows without forcing the message
3424 - Removed obsolete InternalExit() method
3425 - Changed Run() methods to use new RunLoop() message pump
3426 - Implemented new RunLoop() method for both modal and non-modal forms
3428 - get_CreateParams: Added setting of WS_DISABLED
3429 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3430 invoked via Form.ShowDialog()
3431 * NativeWindow.cs: We don't remove the window from the collection when
3432 the handle is destroyed; there might still be messages for it in the
3433 queue (mainly the resulting WM_DESTROY); instead it will be removed
3434 when Control calls InvalidateHandle in the WM_DESTROY handler
3436 - CreateWindow: Added logic to handle the WS_DISABLED window style
3437 - EnableWindow: Implemented based on Hwnd.Enabled
3438 - GetMessage: Reset PostQuitState so the method can be called again
3439 - Implemented support for disabled windows (passing messages to the
3440 first enabled parent) in handling all input messages
3441 - Added optimizations for handling Expose events
3442 - Implemeted new driver method IsEnabled()
3443 - Now always resetting paint pending tracking vars when we start paint
3444 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3445 * XplatUIOSX.cs: Added IsEnabled method stub
3446 * XplatUIWin32.cs: Implemented new IsEnabled() method
3448 2006-01-11 Jackson Harper <jackson@ximian.com>
3450 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3451 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3453 * ColorDialog.cs: Clear out the old form before adding the new
3456 2006-01-11 Jackson Harper <jackson@ximian.com>
3458 * X11Dnd.cs: Make sure to add all the text formats when adding
3459 strings to the data object.
3460 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3461 do some redrawing too. Also change the UpdateNode to an
3462 UpdateBelow so the newly added node gets painted.
3464 2006-01-11 Miguel de Icaza <miguel@novell.com>
3466 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3467 LinkLabel.cs, PropertyGrid.cs: Implement the
3468 UseCompatibleTextRendering property for 2.x
3470 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3472 2006-01-11 Jackson Harper <jackson@ximian.com>
3474 * TreeView.cs: Use the property for setting the selected node so
3475 the correct events get raised.
3476 * TreeNode.cs: Update the tree when the fore/back colours of a
3479 2006-01-10 Jackson Harper <jackson@ximian.com>
3481 * TreeView.cs: Allow setting SelectedNode to null.
3483 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3485 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3487 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3489 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3491 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3493 * PrintDialog.cs: Added attributes and set default property values.
3495 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3497 * PrintControllerWithStatusDialog.cs:
3498 Added PrintControllerWithStatusDialog.
3500 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3502 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3503 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3505 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3507 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3509 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3511 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3512 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3514 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3516 * MimeIcon.cs: Added internal class SVGUtil.
3518 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3520 * FileDialog.cs: Don't crash if there are two files with the
3521 same name but different locations.
3523 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3525 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3526 dates across multiple month grids. Used to not highlight entire
3527 month, but does now.
3529 2006-01-06 Jackson Harper <jackson@ximian.com>
3531 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3532 message loop. Change timer intervals to numbers that seem more
3535 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3537 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3538 object for location info since screen object is now implemented.
3540 2006-01-05 Jackson Harper <jackson@ximian.com>
3542 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3543 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3544 AsyncMethodResult, this is because we ALWAYS want the
3545 ManualResetEvent to get set.
3546 * Control.cs: When disposing use an async invoke to call shutdown
3547 code, so that thigns don't block on the finalizer thread. Also
3548 check if we even have a message loop before trying to send
3549 messages, if we don't then don't bother sending messages.
3550 - No more weak references for async methods
3551 * XplatUIDriver.cs: No more weak references for async methods.
3553 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3555 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3556 returns two FontFamily with the same name
3558 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3560 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3561 drawing disabled text. Instead using the ColorGrayText color
3563 2006-01-04 Jackson Harper <jackson@ximian.com>
3565 * TreeNode.cs: redraw the node when its image index is changed.
3567 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3569 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3570 time I checked there are no others like it.
3572 2006-01-04 Jackson Harper <jackson@ximian.com>
3574 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3575 this gives the behavoir I was looking for.
3576 * Control.cs: Special case Invoking EventHandlers, this matches MS
3577 and fixes part of bug #76326.
3579 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3581 * ThemeClearlooks.cs, FileDialog.cs:
3582 - Reflect the latest Theme class changes
3583 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3586 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3588 * Theme.cs: Cache UI resource images and resize them if needed
3590 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3592 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3593 is called. This fixes the crash in Nexxia when setting the font
3594 attributes in the chat. [However, RTF needs a look-over to make sure
3595 that all SelectionXXX methods handle the special case that selection
3596 is empty and therefore the change must be applied to all text starting
3597 at the cursor/selection start]
3599 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3601 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3602 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3603 * X11Keyboard.cs: Switched to new way of calling PostMessage
3605 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3607 * Theme.cs: Added theme interface for images to allow the theme to
3608 control what images are used for things like FileDialog, MessageBox
3610 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3612 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3615 - Removed some dead code
3616 - Opening a recently used file does work now
3617 - Small UI enhancements
3620 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3622 * FileDialog.cs: Forgot too add __MonoCS__
3624 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3626 * FileDialog.cs: We are able to read recently used files now let's
3627 go on and write them.
3629 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3631 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3633 * MimeIcon.cs: Do a check for the top level media type also
3635 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3637 * ThemeClearlooks.cs:
3638 - Added CPDrawStringDisabled
3639 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3640 some chars if the text doesn't fit into text_rect
3641 - DrawListViewItem: If View = View.LargeIcon center the image;
3642 rewrote the drawing of ListViewItem.Text if View =
3645 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3647 * MimeIcon.cs: Use default KDE icon theme if there is no
3648 "48x48" directory for the current icon theme, fixes #77114
3649 * Mime.cs: Disable not working and actually not used code.
3650 * ThemeWin32Classic.cs:
3651 - Replace "new SolidBrush" in GetControlBackBrush and
3652 GetControlForeBrush with ResPool.GetSolidBrush
3653 - Changed DrawListViewItem from private to protected virtual
3655 - Added form.MaximizeBox = true
3656 - Don't throw an exception if there is a broken symbolic link
3658 2005-12-23 Jackson Harper <jackson@ximian.com>
3660 * TabControl.cs: Give the panels focus, keyboard navigation is
3661 fixed so this works correctly now.
3662 - We need these key events also.
3663 * ToolBar.cs: Remove some of the poor mans double buffering.
3665 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3667 * ComboBox.cs: The internal TextBox now returns the focus.
3669 2005-12-23 Jackson Harper <jackson@ximian.com>
3671 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3673 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3675 * Control.cs: Removed debug code
3676 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3679 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3681 * Control.cs: When creating the control, update the Z-order after
3682 all it's children are created, too. (Fixes nexxia not showing
3685 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3687 * Control.cs: Do not update the anchoring distances if layout is
3688 suspended, instead do it once layout is resumed
3690 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3693 - After many hours of debugging, for both Jackson and
3694 myself, it turns out that it helps to set the parent of a control
3695 if you want to actually see it onscreen. In the spirit of that
3696 discovery, we're now setting the parent of the control and
3697 it's children when the control's handle is created. This fix
3698 will make Lutz Roeder's Reflector run happily.
3699 - now just creating the handle instead of the whole control when
3700 getting a graphics context for the control.
3702 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3704 * ScrollableControl.cs: When calculating the canvas, don't consider
3705 the scrollbar widths. Instead, predict if horizontal scrollbar
3706 will affect canvas when deciding on vertical display and vice versa.
3708 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3710 * RichTextBox.cs: Set default RTF font for documents that don't
3711 have a font table (Fixes #77076)
3713 2005-12-22 Jackson Harper <jackson@ximian.com>
3715 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3716 clipboard. This prevents a NullRef in that case.
3717 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3718 clipboard. PRIMARY is for the currently selected text only. (We
3719 should implement PRIMARY at some point.
3721 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3723 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3724 a Unicode function with a structure that was defined in Ansi way.
3727 2005-12-21 Jackson Harper <jackson@ximian.com>
3729 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3730 on. Because thats how it rolls. (and this avoids it using ambient
3732 * ThemeWin32Classic.cs: Use the proper back color for filling.
3733 * Menu.cs: Use the system menu bar color for drawing menu
3734 bars. Using the window back color will bring ambient colours into
3737 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3739 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3740 Bitmaps were created and not disposed.
3742 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3744 * Control.cs (CreateControl): Don't do anything if the control is
3745 already created, otherwise we'd fire the OnCreated event more than
3748 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3750 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3751 will always match. Instead return -1. Fixes #76464.
3753 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3755 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3756 neither the beginning nor the end of the line (Fixes bug #76479)
3758 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3761 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3762 where handle is invalid
3763 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3764 instead of slower linear search
3765 * NativeWindow.cs: Don't remove the window from the hashtable until
3766 after the driver has destroyed it (since the driver might use
3767 Control.FromHandle to lookup the control object
3768 * Hwnd.cs: Added DestroyPending property to track if a window is
3769 already destroyed as far as the driver is concerned and only hasn't
3770 yet notified the control
3772 - Activate(): Check if the window is still valid before using the
3774 - Implemented DestroyChildWindow() method to mark child windows as
3775 destroyed when a window is destroyed. This prevents situations
3776 where we might call an X method based on queued events for a
3777 window that already has been destroyed but we haven't yet pulled
3778 the destroy method from the queue.
3779 - Added a call to the new DestroyChildWindow() method to the drivers
3780 DestroyWindow code. Also now marking the destroyed window itself
3783 2005-12-20 Jackson Harper <jackson@ximian.com>
3786 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3787 anymore. Just do them when needed, also track the rects of panels
3788 so that we can optimize refreshing more in the future.
3790 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3792 * ColorDialog.cs: Fixed focus drawing in small color controls
3794 2005-12-19 Jackson Harper <jackson@ximian.com>
3796 * InternalWindowManager.cs:
3797 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3798 moving windows works properly.
3800 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3803 - Removed call to InitLayout() from SetBoundsCore(); doc says
3804 it's only called when a control is added to a container
3805 - Split InitLayout logic, moved to separate UpdateDistances() method
3806 since we need to perform those calculations more often than just
3807 when adding the control to a container. (Needed to fix #77022)
3808 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3809 - Reduced the OnBindingContextChanged events count, don't send them
3810 unless the control is created, we still aren't totally matching
3811 MS, but I can't quite figure out some of their rules
3813 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3815 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3818 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3820 * ThemeClearlooks.cs:
3821 - Updated ProgressBar drawing
3822 - Corrected drawing of ScrollBars and scroll buttons
3823 - Some temporary fixes for minor pixel artefacts
3825 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3828 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3829 cause events to be sent in the same order as MS does.
3830 - Added ChangeParent() method to trigger various OnXXXChanged events
3831 that need to be fired when a parent changes (This is a reworking
3832 of the patch from r54254, with the X11 errors fixed)
3833 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3834 since on MS we get OnLayoutChanged events when calling Clear()
3835 - Changed Enabled property to consider parent state as well, if a
3836 parent is not enabled, the control will not be either
3837 - Changed Parent property to simply call Controls.Add() since that
3838 now does all the work required, this way we avoid code duplication
3839 - Threw in a few OnBindingsContextChanged calls to try and match
3840 when MS sends them. We seem to send a few too many, though.
3841 - Added call to CreateControl when adding the control to a parent.
3842 We were never calling CreateControl. Still needs some work, in
3843 some places we treat HandleCreated and ControlCreated as equal,
3845 - Removed obsolete commented out code from UpdateZOrder()
3847 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3849 * ThemeClearlooks.cs: Updated TrackBar drawing.
3851 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3853 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3855 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3857 * FileDialog.cs: Add the Help button and the open readonly
3858 checkbox only if needed
3860 2005-12-16 Jackson Harper <jackson@ximian.com>
3862 * Control.cs: Make sure we have an active menu before trying to
3863 process commands on it. Prevents menu-less forms from crashing
3864 when Alt is pressed.
3865 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3867 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3870 2005-12-16 Jackson Harper <jackson@ximian.com>
3872 * InternalWindowManager.cs: Don't translate tool windows screen
3873 coordinates. This fixes windows 'bouncing' around when being moved.
3875 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3878 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3879 not quite MS compatible, MS uses that number only for single line
3880 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3882 - Now enforcing the MaxLength limit when entering characters
3883 - Added argument to internal Paste() method to track if it's called
3884 from programatically or via keyboard, since keyboard driven pastes
3885 need to enforce max-length
3886 - Added logic to Paste to only paste as many chars as MaxLength
3888 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3890 - Added Length property to return number of characters in document
3891 - Added private CharCount property which only tracks actual chars
3892 in the document (no linefeeds) and fires event when CharCount
3894 - Added tracking of character count to all methods that alter it
3895 - Added LengthChanged event to allow applications to subscribe
3896 to any changes to the document
3898 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3901 - Removed local password_char field (moved to TextBoxBase)
3902 - Now setting the document's password var when password is
3905 - Added password_char field (needed here so MultiLine can
3907 - Added logic to MultiLine property setter to set the document's
3908 variable when password display is allowed
3909 - Removed debug code and made some debug code conditional
3911 - Added RecalculatePasswordLine() method to handle special password
3913 - Added PasswordChar property, also added related tracking vars
3914 - Draw() method now uses local text var for grabbing text to draw,
3915 this var is set to line.text unless we're doing password display,
3916 then it is set to the pre-generated all-password-chars line
3917 - Added calling RecalculatePasswordLine() method for password lines
3919 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3922 - Added Reparented property to allow tracking of Window Manager
3923 reparenting actions (which affect X/Y calculations of toplevel
3925 - Made ToString() print window handles in hex
3927 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3928 determine if X/Y needs offsetting
3929 - AddConfigureNotify(): Fixed offset calculations
3930 - Now adds ReparentNotify messages into the queue
3931 - Now processes ReparentNotify messages and causes a
3932 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3933 is reparented (as most likely it's X/Y coordinates are changed
3936 2005-12-14 Jackson Harper <jackson@ximian.com>
3938 * XplatUIX11.cs: Tool windows still need to respek focus.
3940 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3942 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3943 have a working release
3945 2005-12-13 Jackson Harper <jackson@ximian.com>
3947 * Form.cs: Update styles after setting the border style regardless
3948 of whether or not the window is using a window manager.
3950 2005-12-13 Jackson Harper <jackson@ximian.com>
3952 * Form.cs: We now hook into an internal window manager instead of just an
3953 MDI subsystem, this is so we can have properly behaving tool windows.
3954 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3955 * InternalWindowManager.cs: New internal class that acts as a
3956 window manager for tool windows and as a base for mdi windows.
3957 * MdiWindowManager.cs: New class that acts as a window manager for
3960 2005-12-12 Jackson Harper <jackson@ximian.com>
3962 * Control.cs: Updates so we match behavoir for for implicit
3963 controls. Fixes explosions in MDI.
3965 2005-12-12 Jackson Harper <jackson@ximian.com>
3967 * Control.cs: Implement Invalidate (Region).
3969 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3972 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3973 the same events as MS does. MS fires events for each property
3974 except, for unknown reasons, Cursor, when the control is reparented.
3975 I can't seem to totally match add/remove since MS also fires some
3976 VisibleChanged events, which makes no sense. Consolidated the
3977 parenting code into a separate method so it can be called from
3978 both Add and Remove. set_Parent no longer needs any special logic
3979 as it calls the parent's add method which implicitly fires
3981 - Removed some obsolete code and debug output
3982 - Enabled state is inherited from parents, if this is enabled
3984 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3986 * Form.cs: Removed commented out code
3988 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3991 - Added internal version of Invoke, with additional argument
3992 indicating if we're calling it from a Dispose() handler. That
3993 way we can avoid BeginInvoke throwing an exception if we're
3994 calling for an already destroyed window.
3995 - Added a dispose argument to BeginInvokeInternal, and made the
3996 check if a valid window handle chain exists conditional on
3997 it not being a dispose call
3998 - Removed code in DestroyHandle to destroy our children. Since we
3999 now handle the WM_DESTROY message we will catch all our children
4001 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4003 - Added a field to track the application context of the form.
4004 - No need to set closing variable as response to WM_CLOSE, instead
4005 we destroy the window. We also call PostQuitMessage if the form
4006 has an application context (which makes it the main app form,
4007 which, when closed terminates the app)
4009 - Dropped Exit() method, it's naming was confusing
4010 - Added PostQuitMessage() which causes GetMessage to return false
4011 once the message queue is empty
4012 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4014 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4015 no longer a valid XplatUI method, but left it in since it's used
4016 internally. Added empty PostQuitMessage() method.
4017 * MenuAPI.cs: Replaced call to Exit() with call to
4018 PostQuitMessage, even though this is probably no longer needed.
4019 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4020 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4022 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4023 - Removed old debug code that would call XplatUI for exception
4024 display, enabled standard exception handling (Still not enabled
4025 though, until NativeWindow's ExternalExceptionHandler define
4028 - Added internal method to allow control to update NativeWindow
4029 after a window has been destroyed
4030 - Added handling of already destroyed windows when calling i
4032 - Added removal of handle from list on ReleaseHandle
4034 - Dropped GetMessageResult var and related code
4035 - Added PostQuitState to field to track if PostQuitMessage has been
4037 - Dropped Exit() method
4038 - Added PostQuitMessage() method
4039 - GetMessage now will return false if PostQuitState is set and no
4040 more messages are in the queue.
4041 - Expose handler will no longer generate WM_PAINT messages if we are
4042 in PostQuitState since it's very likely any windows have already
4043 been destroyed, and since Hwnd won't get updated until we have
4044 processed the DestroyNotify we'd be causing X errors.
4046 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4048 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4049 Thanks to Mike for pointing out the err of my ways.
4051 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4053 * Control.cs(PreProcessMessage): Moved menu handling back, but
4054 after all other key handling, to match MS (who handles Menu in
4056 * Menu.cs (WndProc): Removed my brainfart
4058 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4060 * Control.cs(PreProcessMessage): Removed special menu handling
4061 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4063 2005-12-07 Mike Kestner <mkestner@novell.com>
4065 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4066 state according in tracker.
4067 * Menu.cs : promote tracker field to base class and provide a tracker
4068 lookup capability. Add/Remove shortcuts dynamically if the top menu
4069 has a tracker. Unparent items that are removed from the collection.
4070 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4071 * Theme*.cs: add always_show_hotkeys field to support configurability
4072 of mnemonic display. win32 doesn't show mnemonics until Alt is
4075 2005-12-07 Jackson Harper <jackson@ximian.com>
4077 * MdiChildContext.cs: Use Control.ResetCursor.
4078 * Control.cs: ResetCursor needs to set the property so that the
4079 correct XplatUI call gets made.
4081 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4083 * Control.cs: More fixes to make our key events match MS. We
4084 were not setting the modifier state on KeyData, and we were
4085 not generating any events when Alt was pressed with a key
4086 since handling of WM_SYSxxx was missing for the OnKey methods.
4088 2005-12-07 Jackson Harper <jackson@ximian.com>
4090 * MdiChildContext.cs: reenable the sizing code.
4091 - When the mouse leaves a window reset its cursor.
4093 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4095 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4097 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4099 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4100 widths of Fixed3D borders
4102 2005-12-07 Jackson Harper <jackson@ximian.com>
4104 * MdiClient.cs: Fix warnings. Earn Mike's love.
4106 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4108 * ThemeClearlooks.cs:
4109 - Adjusted mouse over button color
4110 - Added first parts of CheckBox drawing
4111 - Added correct color for selected text background
4112 - Fixed ComboBox drawing
4113 - Added CPDrawBorder3D and CPDrawBorder
4115 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4117 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4119 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4121 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4122 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4123 alert users via sound. We could add an enum arg with different
4124 types of alerts in the future
4126 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4128 * Control.cs: Fix behaviour problems pointed out by Mike
4130 2005-12-05 Mike Kestner <mkestner@novell.com>
4132 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4133 prop setters. Calls parent.Refresh for now, but could be maybe be
4134 optimized with an internal method on StatusBar at some point.
4137 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4139 * RichTextBox.cs: Implemented get_SelectionColor
4141 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4143 * ThemeClearlooks.cs:
4145 - Draw black button border only if button is Form.AcceptButton
4146 - Draw correct button color for pressed RadioButton if the mouse
4147 has entered the button
4148 - Updated ProgressBar drawing!
4149 - Updated CPDrawSizeGrip drawing
4150 - Updated StatusBarPanel drawing
4152 2005-12-05 Mike Kestner <mkestner@novell.com>
4154 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4155 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4157 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4159 * ThemeClearlooks.cs: Initial check-in, activate with
4160 export MONO_THEME=clearlooks
4161 * ThemeEngine.cs: Added ThemeClearlooks
4163 2005-12-03 Mike Kestner <mkestner@novell.com>
4165 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4168 2005-12-02 Jackson Harper <jackson@ximian.com>
4170 * Form.cs: If the child form has no menu the default main menu is
4171 used as the active menu.
4173 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4175 * ListBox.cs: Check if any items exist before trying to resolve
4176 coordinates into items
4178 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4180 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4181 as the second color for the background hatch
4183 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4185 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4186 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4187 sure that what we pass to FormatText is always 1-based. Fixes #76885
4189 2005-11-29 Miguel de Icaza <miguel@novell.com>
4191 * NumericUpDown.cs (EndInit): When we are done initializing,
4192 reflect any updates on the UI.
4194 2005-12-02 Jackson Harper <jackson@ximian.com>
4196 * ImplicitHScrollBar.cs:
4197 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4198 their container controls.
4199 * TreeView.cs: Use the new implicit scrollbars.
4201 2005-12-02 Jackson Harper <jackson@ximian.com>
4203 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4205 * TreeNodeCollection.cs: If we remove the topnode we need to
4206 update topnode to the next node in line.
4207 - When clearing nodes go through the same process as removing
4208 them, so they get depareneted and checked if they are top node.
4210 2005-12-01 Jackson Harper <jackson@ximian.com>
4212 * TreeView.cs: When imagelists are used the image area is
4213 selectable as well as the text.
4214 - If there are no selected nodes select the first one.
4215 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4216 so don't do it more then we need to.
4218 2005-12-01 Jackson Harper <jackson@ximian.com>
4220 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4221 that arrows can be scaled.
4223 2005-12-01 Jackson Harper <jackson@ximian.com>
4225 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4226 fail. Patch by Dieter Bremes
4228 2005-11-30 Jackson Harper <jackson@ximian.com>
4230 * Form.cs: Property is 2.0 only
4231 * PrintDialog.cs: Signature fix.
4233 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4236 - No longer artificially moves text 2 pixels down (now that we have
4237 borders this is no longer needed)
4238 - Added calcs for left, hanging and right indent
4240 2005-11-23 Mike Kestner <mkestner@novell.com>
4242 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4244 2005-11-30 Jackson Harper <jackson@ximian.com>
4246 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4247 get cloned as part of CloneMenu ().
4248 * Menu.cs: Make sure the parent of the items get set correctly
4249 when they are added. And the owners are notified of the changes.
4250 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4251 we can change the menu being displayed/handled by the form without
4252 changing the menu assosciated with the form.
4253 - Don't let Mdi children draw/handle menus.
4255 2005-11-30 Jackson Harper <jackson@ximian.com>
4257 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4258 a MenuChanged event. Just to make the API a little more
4261 * MenuItem.cs: Use the new OnMenuChanged
4262 * MdiChildContext.cs: Handle menu merging.
4263 * Form.cs: Implement MergedMenu.
4265 2005-11-30 Jackson Harper <jackson@ximian.com>
4267 * Menu.cs: We were misusing Add. Add goes behind the specified
4268 index according to the docs, and does not replace the specified
4269 index. So I added an Insert method.
4271 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4273 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4274 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4276 * RichTextBox.cs: Added calls to base for DnD events
4278 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4281 - Fixed drag-selection related crash; style fixes
4282 - Implemented undo class
4283 o Implemented method to capture document state for specified
4284 range in document tree
4285 o Implemented method to restore captured document state
4286 o Implemented cursor tracking
4287 o Implemented basic undo stack
4288 - Added undo cursor tracking to methods altering cursor location
4289 - Added undo tracking to selection deletion (still missing
4290 other text-altering hookups)
4292 - Added SelectionLength property
4293 - Implemented CanPaste()
4294 - Implemented Paste()
4295 - Added missing protected methods
4296 - Fixed RTF->Document conversion; now uses font index 0 and color
4297 index 0 as the default font for the parsed text
4298 - Fixed RTF<->Document font size translation
4299 - Fixed RTF generation, now properly handles cross-tag boundaries
4300 for single line selection
4301 - No longer always appends blank line to generated RTF
4303 - Added missing attributes
4304 - Hooked up undo-related methods
4306 - Implemented Copy()
4307 - Implemented Paste()
4309 - Fixed caret mis-behaviour on backspace across line-boundaries
4311 2005-11-29 Jackson Harper <jackson@ximian.com>
4313 * MdiClient.cs: Add a method for activating mdi children. Very
4314 basic right now. I imagine someday it might need more girth.
4315 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4316 children windows names are added to the menu item.
4317 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4318 mdilist. This happens regardless of whether or not there are any
4319 mdi windows to see in the list, and according to my tests happens
4320 before the items are even added. Also happens if there isn't even
4321 an mdi client to get windows from.
4323 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4325 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4326 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4328 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4330 * DataGridTableStyle.cs:
4331 - Create always the styles for the missing columns even if they are
4332 provided by the user (not default table style)
4335 - Fixes SetDataBinding (always re-attach source)
4336 - Fixes SetNewDataSource (only clear styles if they are not for
4338 - Expands OnTableStylesCollectionChanged to handle style refresh
4341 2005-11-29 Jackson Harper <jackson@ximian.com>
4343 * FileDialog.cs: Implement missing bits, remove some dead
4345 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4346 creation of the panel so that the options set on the dialog are
4347 seen when the panel is created.
4348 * TreeView.cs: raise a click when items are clicked.
4350 2005-11-29 Jackson Harper <jackson@ximian.com>
4352 * MdiClient.cs: Pass some signature methods through to base.
4354 2005-11-28 Jackson Harper <jackson@ximian.com>
4356 * ListView.cs: Raise the click event when items are clicked.
4358 2005-11-28 Jackson Harper <jackson@ximian.com>
4360 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4363 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4365 * ThemeNice.cs: - Removed 1 pixel bitmaps
4366 - Use SmoothingMode.AntiAlias where it makes sense
4367 (ScrollButton arrow for example)
4368 - Enhanced Button focus drawing
4369 - Fixed ComboBox drawing (no artefacts anymore, focus
4370 rectangle is back again, reduced size of ComboButton, etc.)
4371 - Fixed RadioButton focus drawing for Appearence.Button
4372 - Slight ScrollButton redesign
4373 - Some LinearGradientBrush size fixes
4374 - GroupBoxes have now rounded edges
4375 - Fixed StatusBar drawing
4377 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4379 * ThemeNice.cs: - Remove dead code
4380 - use correct background colors for menus, etc.
4381 - Fake pixel drawing with 1 pixel bitmaps
4383 2005-11-24 Jackson Harper <jackson@ximian.com>
4385 * MdiClient.cs: Size the scrollbars when resizing the window.
4386 - Resize the maximized windows when the client is resized
4387 * Form.cs: Make the child context available
4389 2005-11-23 Jackson Harper <jackson@ximian.com>
4391 * MdiChildContext.cs: Don't size windows if they are maximized.
4393 2005-11-23 Mike Kestner <mkestner@novell.com>
4395 * ContextMenu.cs: use MenuTracker.
4396 * Control.cs: remove menu handle usage.
4397 * Form.cs: remove menu handle usage.
4398 * Hwnd.cs: remove menu handle usage.
4399 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4400 motion and clicks to the new Tracker handlers.
4401 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4403 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4404 Killed the MENU and MENUITEM data types and associated collections
4405 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4406 MenuTracker class that exposes the leftovers from the old MenuAPI
4407 static methods. Restructured Capture handling so that only one grab is
4408 done for the entire menu hierarchy instead of handing off grabs to
4409 submenus. Tracker now has an invisible control to Capture when active.
4410 * MenuItem.cs: add sizing accessors, kill Create
4412 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4413 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4414 MENU(ITEM). remove menu handle usage, use Menu directly.
4415 * XplatUIDriver.cs: remove menu handle usage.
4416 * XplatUIOSX.cs: remove menu handle usage.
4417 * XplatUIWin32.cs: remove menu handle usage.
4418 * XplatUIX11.cs: remove menu handle usage.
4420 2005-11-22 Jackson Harper <jackson@ximian.com>
4422 * Hwnd.cs: Don't compute the menu size for
4423 DefaultClientRectangle.
4424 - Reenable menu sizes being computed for GetClienRectangle.
4425 * Form.cs: Remove comment of trechery
4427 2005-11-22 Jackson Harper <jackson@ximian.com>
4429 * Hwnd.cs: The adjustments for the menu bar are made when it is
4430 attached to the form.
4432 2005-11-19 Jackson Harper <jackson@ximian.com>
4434 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4435 (just like on windows).
4437 2005-11-19 Jackson Harper <jackson@ximian.com>
4439 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4440 use real buttons anymore because they are in non client area. The
4441 one TODO here is that I need to somehow invalidate a section of
4442 the non client area.
4444 2005-11-18 Jackson Harper <jackson@ximian.com>
4446 * Control.cs: Put the enum check back in now that MDI doesnt have
4447 to use this to set border styles.
4448 * Form.cs: Only set mdi child windows borders if the handle has
4450 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4451 this directly on to the driver.
4452 - Get the move start position before adjusting for the titlebar
4453 height, this fixes the windows "skipping" when they are first
4456 2005-11-18 Jackson Harper <jackson@ximian.com>
4458 * XplatUIX11.cs: Just compute the mdi borders separately as they
4459 don't totally match up with normal form borders.
4461 2005-11-18 Jackson Harper <jackson@ximian.com>
4463 * Control.cs: Set WS_ styles for borders, so that the driver does
4464 not have to retrieve the control instance to figure out what kind
4465 of borders it should have.
4466 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4467 driver can know its an mdi child easily.
4468 * XplatUIX11.cs: Get the border styles and whether the window is
4469 MDI from the Styles and ExStyles params instead of having to get a
4470 control. This prevents a chicken and egg problem.
4472 2005-11-18 Jackson Harper <jackson@ximian.com>
4474 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4476 2005-11-18 Jackson Harper <jackson@ximian.com>
4478 * MdiClient.cs: Calculate when to add and remove scrollbars
4480 * MdiChildContext.cs: Adjust the y position to take the titlebar
4482 - No height for FormBorderStyle.None
4484 2005-11-18 Jackson Harper <jackson@ximian.com>
4486 * Control.cs: Allow non enum values to be used for
4487 InternalBorderStyle. MDI does this to set a special border style.
4488 - New utility methods for converting points to/from client coords
4489 - Add the newly created control to the Controls collection before
4490 updating its style. This way UpdateStyle can walk the control
4491 heirarchy to find the control if needed.
4492 so I don't need to create a new Point object all the time.
4493 * Form.cs: Let MDI windows handle their border styles.
4494 - Set styles on MDI windows so the correct title style is derived.
4495 * MdiChildContext.cs: Move all the painting and window handling
4496 into the non client area.
4497 - Use correct sizing and put correct buttons on frames based on
4498 the FormBorderStyle.
4499 - Notify the mdi client about scrolling
4500 - Need to handle the buttons ourselves now, because they are all
4501 in non client areas and we can't add controls there.
4502 * MdiClient.cs: Halfway to scrolling, this implementation is
4503 somewhat broken though, we need to check to make sure other
4504 windows aren't causing scrolling before removing the bars. Also
4505 the bars need to be drawn on top, maybe I can switch implicit
4506 controls to be on top.
4507 * Hwnd.cs: caption_height and tool_caption_height are now
4508 properties of an hwnd, this way they can be set by the driver
4509 based on the type of window they are. In X11 the window manager
4510 handles the decorations so caption_height is zero unless its an
4512 - Add 3 pixel borders for MDI windows (0xFFFF).
4513 - Get rid of some code duplication, have DefaultClientRectanle
4514 just call GetClientRectangle.
4515 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4517 - Set border styles differently for mdi windows.
4518 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4521 2005-11-15 Mike Kestner <mkestner@novell.com>
4523 * Menu.cs: when adding an item to the collection, if item is already
4524 parented, remove it from the parent.
4526 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4528 * X11DesktopColors.cs: Added KDE support
4530 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4533 - Clipboard methods now can translate Rtf format
4534 - No longer removes clipboard contents whenever a new format is added
4535 to allow placing multiple formats on the clipboard
4536 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4537 will place all formats contained in it onto the clipboard. Also
4538 now cleans the clipboard before placing a new object onto it
4540 - Implemented set_Rtf
4541 - Implemented set_SelectedRtf
4542 - Created InsertRTFFromStream() method to allow single code base
4543 for all properties and methods that insert RTF into document
4544 - Removed debug output
4546 - Fixed Delete(int) to fix up line numbers
4547 - Fixed ReplaceSelection to combine start and end line
4548 - Fixed serious DeleteChars bug that would leave the document tree
4550 - Improved DumpTree with several logic checks to detect broken
4552 - Removed debug lines
4553 - Fixed Caret.WordForward/WordBack moving code, now always also
4554 updates caret.tag (fixes crash when word-selecting across tag
4555 boundaries via keyboard)
4556 - Added Insert() method for inserting multiline text into documents
4557 - Fixed DeleteChars() calculation errors that would cause a broken
4558 tag chain with multiple tag lines
4559 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4560 - Split() no longer moves caret if split is at caret location
4561 - ReplaceSelection() now updates the cursor and re-displays it
4562 - ReplaceSelection() now uses new Insert() method to avoid code
4564 - FormatText() can now handle formatting partial lines
4566 - Append now uses new TextControl.Insert() method (this avoids
4568 - Implemented Ctrl-X (Cut) (
4569 - Implemented Ctrl-C (Copy)
4570 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4571 regeneration when pasting text; roundtripping Copy&Paste within
4572 edit control still fails due to some calculation bugs in GenerateRTF)
4573 - The Delete key will now remove the current selection if it is visible
4574 * TextBox.cs: Removed debug lines
4575 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4576 driver to be initialized and can't therefore be done via a static ctor)
4578 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4580 * TextControl.cs: Added backend code for finding char arrays and strings
4582 - Added mouse wheel scroll support
4583 - Added support for VScroll and HScroll events
4585 - Implemented all seven Find() variants
4586 - Implemented GetCharFromPosition()
4587 - Implemented GetCharIndexFromPosition()
4588 - Implemented GetLineFromIndex()
4589 - Implemented GetPositionFromCharIndex();
4590 - Implemented SaveFile for PlainText and UnicodeText
4591 - Fixed set_Font, now setting a new font applies that font to
4593 - Implemented generic Document to RTF converter
4594 - Implemented SaveFile for RichText format (still missing unicode
4595 conversion for non-ansi chars)
4596 - Implemented get_Rtf
4597 - Implemented get_SelectedRtf
4599 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4601 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4602 to allow any captures to be released before triggering OnClick. This
4603 way a click handler may capture the mouse without interference.
4604 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4605 This way we send them even though X may not allow a grab (if the window
4606 isn't visible, for example)
4608 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4610 * DataGridViewRowEventArgs.cs: DataGridView implementation
4611 * DataGridViewElement.cs: DataGridView implementation
4612 * DataGridViewComboBoxCell.cs: DataGridView implementation
4613 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4614 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4615 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4616 * ImageLayout.cs: DataGridView implementation
4617 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4618 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4619 * DataGridViewSelectionMode.cs: DataGridView implementation
4620 * IDataGridViewEditingControl.cs: DataGridView implementation
4621 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4622 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4623 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4624 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4625 * DataGridViewColumnSortMode.cs: DataGridView implementation
4626 * DataGridView.cs: DataGridView implementation
4627 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4628 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4629 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4630 * Padding.cs: DataGridView implementation
4631 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4632 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4633 * DataGridViewRowEventHandler.cs: DataGridView implementation
4634 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4635 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4636 * DataGridViewButtonCell.cs: DataGridView implementation
4637 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4638 * DataGridViewEditMode.cs: DataGridView implementation
4639 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4640 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4641 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4642 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4643 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4644 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4645 * DataGridViewCellEventHandler.cs: DataGridView implementation
4646 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4647 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4648 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4649 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4650 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4651 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4652 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4653 * QuestionEventArgs.cs: DataGridView implementation
4654 * IDataGridViewEditingCell.cs: DataGridView implementation
4655 * DataGridViewTriState.cs: DataGridView implementation
4656 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4657 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4658 * DataGridViewColumnCollection.cs: DataGridView implementation
4659 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4660 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4661 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4662 * DataGridViewColumn.cs: DataGridView implementation
4663 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4664 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4665 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4666 * DataGridViewRow.cs: DataGridView implementation
4667 * DataGridViewImageCellLayout.cs: DataGridView implementation
4668 * DataGridViewImageCell.cs: DataGridView implementation
4669 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4670 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4671 * DataGridViewHeaderCell.cs: DataGridView implementation
4672 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4673 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4674 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4675 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4676 * QuestionEventHandler.cs: DataGridView implementation
4677 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4678 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4679 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4680 * DataGridViewCell.cs: DataGridView implementation
4681 * DataGridViewCellEventArgs.cs: DataGridView implementation
4682 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4683 * DataGridViewCellStyle.cs: DataGridView implementation
4684 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4685 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4686 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4687 * TextFormatFlags.cs: DataGridView implementation
4688 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4689 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4690 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4691 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4692 * DataGridViewButtonColumn.cs: DataGridView implementation
4693 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4694 * HandledMouseEventArgs.cs: DataGridView implementation
4695 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4696 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4697 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4698 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4699 * DataGridViewRowCollection.cs: DataGridView implementation
4700 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4701 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4702 * DataGridViewHitTestType.cs: DataGridView implementation
4703 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4704 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4705 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4706 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4707 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4708 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4709 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4710 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4711 * DataGridViewContentAlignment.cs: DataGridView implementation
4712 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4713 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4714 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4715 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4716 * DataGridViewPaintParts.cs: DataGridView implementation
4717 * DataGridViewCellCollection.cs: DataGridView implementation
4718 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4719 * DataGridViewImageColumn.cs: DataGridView implementation
4720 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4721 * DataGridViewElementStates.cs: DataGridView implementation
4722 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4723 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4724 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4725 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4726 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4727 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4728 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4729 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4730 * DataGridViewTextBoxCell.cs: DataGridView implementation
4731 * DataGridViewBand.cs: DataGridView implementation
4732 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4733 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4734 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4735 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4736 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4737 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4738 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4739 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4740 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4741 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4742 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4744 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4746 * ThemeWin32Classic.cs:
4747 - Draw the outside focus rectangle around buttons
4748 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4749 doesn't use end caps for every dash of a line anymore. This
4750 workaround ignores the forecolor.
4752 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4754 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4757 2005-11-07 Jackson Harper <jackson@ximian.com>
4759 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4761 2005-11-07 Jackson Harper <jackson@ximian.com>
4763 * ScrollableControl.cs: Calculate the maximum and change vars
4764 (more) correctly so that scrollbars appear as a sensible size.
4766 2005-11-04 Jackson Harper <jackson@ximian.com>
4768 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4770 * TreeView.cs: When the tree is sorted null out the top_node so
4771 that it is recalculated.
4772 - Use dotted lines instead of dashed lines to match MS better.
4774 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4777 - Implements key search for items. Useful when browsing files with FileDialog
4778 - When changing view mode or when clear the items reset scrollbar positions
4780 2005-11-04 Jackson Harper <jackson@ximian.com>
4782 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4783 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4784 as to what the method may do as there is no real way of creating a
4785 derived CurrencyManager and calling the method.
4787 2005-11-03 Jackson Harper <jackson@ximian.com>
4789 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4790 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4791 method which seems to just be used internally to refresh the tabs.
4793 2005-11-03 Jackson Harper <jackson@ximian.com>
4795 * TabControl.cs: Implement the remove method. Fix some broken
4798 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4800 * DateTimePicker.cs:
4801 - Added missing DateTimePickerAccessibleObject class
4802 - Added missing events
4803 - Added OnFontChanged method
4804 * Form.cs: Added missing attributes
4805 * TreeView.cs: Added missing attributes
4807 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4809 * GridItemCollection.cs: Fix signatures
4811 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4813 * XplatUI.cs: Updated build rev/date
4814 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4815 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4816 * Application.cs: Trigger context-specific ExitThread events
4818 2005-11-03 Jackson Harper <jackson@ximian.com>
4822 * GridTableStylesCollection.cs:
4827 * MonthCalendar.cs: Signature fixes
4829 2005-11-03 Jackson Harper <jackson@ximian.com>
4831 * TreeNodeCollection.cs: Remove should not be virtual.
4832 * TreeView.cs: Implement the last of the missing methods.
4834 2005-11-03 Jackson Harper <jackson@ximian.com>
4836 * TreeNodeConverter.cs: Implement to get off my class-status back.
4838 2005-11-03 Jackson Harper <jackson@ximian.com>
4840 * TreeView.cs: Hookup the bits for drag and drop.
4841 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4842 that nodes can be moved from tree to tree easily this just causes
4843 all sorts of problems.
4844 * TreeNodeCollection: Don't need to give treenodes an index and
4845 treeview anymore when they are added, these are computed on the
4846 fly. Also make sure to remove a node before its added.
4848 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4851 - Added CaretSelection enum
4852 - Added comparison methods to Marker struct, makes selection code
4854 - Added SelectionStart and SelectionEnd as 'moveable' location for
4855 the CaretDirection enum and handler
4856 - Added selection_prev variable to track optimized invalidation for
4857 word and line selection
4858 - Added SelectionVisible property (returns true if there is a valid
4860 - Switched CaretHasFocus to only display the caret if there is no
4862 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4863 using the direct character index; should be much faster
4864 - Added various conditional debug statements
4865 - Fixed invalidation calculation for selection ranges
4866 - Added ExpandSelection() method to support word and line selection
4867 - Switched SetSelectionToCaret to use new Marker compare overloads
4868 - Added central IsWordSeparator() method to determine word
4869 separators/whitespace and FindWordSeparator() to streamline common
4870 usage of IsWordSeparator()
4872 - Removed unneeded grabbed variable, it was just mirroring
4874 - No longer firing OnTextChanged event when Text setter is called,
4875 since the base will fire the event for us
4876 - Added handling of Ctrl-Up/Down selection
4877 - Added handling of Shift-Cursorkey selection
4878 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4880 - Added handling of Shift and Ctrl-Shift-Home/End selection
4881 - Removed some debug output
4882 - Added handling for single/double/tripple-click to place caret/
4883 select word/select line respectively (Fixes bug #76031)
4884 - Added support for drag expansion of word/line selection
4885 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4888 2005-11-02 Jackson Harper <jackson@ximian.com>
4890 * X11Dnd.cs: If the drag is going to and from a MWF window just
4891 copy the data instead of sending it out through the X Selection
4894 2005-11-02 Jackson Harper <jackson@ximian.com>
4897 * XplatUIX11.cs: When in a drag we don't want motion notify
4898 messages to get passed on to the other controls. This prevents
4899 mouse move messages from showing up in the drag source.
4901 2005-11-02 Jackson Harper <jackson@ximian.com>
4903 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4904 the correct button is release to end a drag.
4905 * XplatUIX11.cs: Make the button state internal so the drag system
4906 can access it. Dragging needs to know about all button releases,
4907 not just left button.
4909 2005-11-02 Miguel de Icaza <miguel@novell.com>
4911 * Form.cs (Icon): If the icon is null, reset the icon to the
4914 * Cursor.cs: When writing the AND-mask bitmap do not include the
4915 number of colors, but hardcode those to two (black and white),
4916 fixes the loading of color cursors (Paint Dot Net).
4918 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4919 turn off autoscaling.
4921 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4923 2005-11-02 Jackson Harper <jackson@ximian.com>
4925 * X11Dnd.cs: Make sure to send a status message if the pointer
4926 enters a control that can not accept a drop, otherwise the cursor
4927 isn't updated correctly. Also tried to compress the lines of code
4930 2005-11-02 Jackson Harper <jackson@ximian.com>
4932 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4933 set actions correctly. This isn't perfect as XDND and win32 have
4934 some differences on how you allow actions. I'll clear this up by
4935 adding a path for drag from MWF to MWF windows.
4936 * XplatUIX11.cs: Hook into the dnd system.
4938 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4940 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4941 previously shown but they are no longer need it. Very obvious when
4942 browsing files with FileDialog.
4944 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4946 * Control.cs: We always need to call OnPaintBackground. We pretty much
4947 ignore AllPaintingInWmPaint and always do the painting there, whether
4948 it's set or not, since we always ignore the WM_ERASEBKGND message
4949 (which we don't generate on X11). This fixes #76616.
4950 * Panel.cs: Removed unneeded background painting. This happens properly
4951 in Control.cs already
4953 2005-10-31 Mike Kestner <mkestner@novell.com>
4955 * Menu.cs: Add items to collection before setting their index.
4956 * MenuItem.cs : add range checking with ArgumentException like MS.
4959 2005-10-31 Jackson Harper <jackson@ximian.com>
4961 * ListBox.cs: Invalidate if the area is visible at all not just
4962 contained in the visible rect. Fixes unselection of semi visible
4965 2005-10-31 Jackson Harper <jackson@ximian.com>
4967 * Control.cs: Consistently name the dnd methods. Make them
4968 internal so we can override them to match some MS behavoir
4970 * Win32DnD.cs: Use the new consistent names.
4972 2005-10-31 Jackson Harper <jackson@ximian.com>
4974 * TreeView.cs: Don't draw the selected node when we lose focus.
4976 2005-10-31 Jackson Harper <jackson@ximian.com>
4978 * X11Dnd.cs: We still need to reset the state even though a full
4979 reset isn't being done, otherwise status's still get sent all over
4982 2005-10-31 Jackson Harper <jackson@ximian.com>
4984 * Control.cs: Make the dnd_aware flag internal so the dnd
4985 subsystem can check it. Catch exceptions thrown in dnd handlers to
4987 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4988 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4989 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4990 flags to reduce the number of dnd enters/status's sent.
4992 2005-10-31 Jackson Harper <jackson@ximian.com>
4994 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4996 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4998 * PictureBox.cs: Fixes 76512
5000 2005-10-28 Jackson Harper <jackson@ximian.com>
5002 * X11Dnd.cs: Early implementation to support winforms being a drag
5003 source for data on X11. Also restructured the converters so they
5004 can go both ways now.
5005 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5007 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5009 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5012 2005-10-27 Jackson Harper <jackson@ximian.com>
5014 * TreeNode.cs: Implement serialization so my DnD examples will work.
5016 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5018 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5019 TreeView.cs: Don't dispose objects that are not owned.
5021 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5023 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5024 should retrieve the current cursor and report that, but XplatUI
5025 doesn't (yet) have an interface for that (and I'm not sure I even
5027 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5028 until any message loop processing is done (and the WM_SETCURSOR
5029 replaces the cursor to the proper one)
5031 - Fixed override behaviour, we can't set the cursor globally on X11,
5032 just for our windows.
5033 - Invalidating the System.Drawing X11 display handle when we are
5035 * Control.cs: Fix to make csc happy
5037 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5040 - get_Text: Add last line (without trailing newline) to returned
5042 - get_TextLength: Count last line in returned length
5043 - ToString: Call Text property instead of duplicating code
5045 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5047 * ImageList.cs: Dispose ImageAttributes objects.
5049 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5051 * ImageList.cs: Use attribute constructors with less arguments where
5054 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5056 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5057 Use typeof instead of strings when assembly is referenced. Added
5060 2005-10-21 Jackson Harper <jackson@ximian.com>
5062 * ListView.cs: Raise a double click event. Also tried to somewhat
5063 fix when the selectedindexchanged event is raised. Its still
5066 2005-10-21 Jackson Harper <jackson@ximian.com>
5068 * TreeView.cs: New method to invalidate the plus minus area of a
5069 node without invalidating the whole node (maybe this can be used
5070 in some more places).
5071 * TreeNodeCollection.cs: When adding to an empty node we need to
5072 invalidate its plus minus area so the little block shows up.
5074 2005-10-21 Jackson Harper <jackson@ximian.com>
5076 * TreeView.cs: Make sure that when we invalidate a node the bounds
5077 are big enough to cover the selected box and the focus
5078 rectangle. Use a different colour for the lines connecting nodes
5079 so they show up with all themes.
5081 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5083 * NativeWindow.cs: Don't call anything that could call into the driver,
5084 we might be on a different thread.
5086 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5088 * Control.cs(Dispose): Since Dispose might run on a different thread,
5089 make sure that we call methods that could call into the driver via
5090 invoke, to avoid thread issues
5092 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5094 * XplatUI.cs: Removed finalizer
5095 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5096 not allowing to be called on the finalizer thread.
5098 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5101 - Reverted r51889 and r51891.
5102 - Added ImageListItem class that stores unmodified image items and image
5103 properties required to create list images until handle is created.
5104 - Added AddItem and moved image creation logic to AddItemInternal.
5105 - Added CreateHandle method that creates images based on unmodified items.
5106 - Added DestroyHandle that changes state to store unmodified items.
5107 - Add and AddStrip methods no more create handle.
5108 - ReduceColorDepth has no return value.
5109 - Dispose destroys handle.
5110 - Modified other methods to reflect the above changes.
5111 - Implemented key support.
5112 - Added profile 2.0 members and attributes.
5113 - Added private Reset and ShouldSerialize methods that provide the same
5114 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5115 them as they are private.
5116 - Added some more comments about implementation details.
5118 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5120 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5122 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5124 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5126 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5128 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5129 * DataGridColumnStyle.cs: Remove debug message
5131 2005-10-20 Jackson Harper <jackson@ximian.com>
5133 * TreeView.cs: We can always get input keys regardless of whether
5134 or not editing is enabled. They are used for navigation.
5136 2005-10-20 Jackson Harper <jackson@ximian.com>
5138 * TreeNode.cs: Use the viewport rect for determining if a node
5139 needs to be moved for visibility. Don't use Begin/End edit. This
5140 calls a full refresh when its done.
5141 * TreeView.cs: New SetBottom works correctly. Make the viewport
5142 rect property internal so the treenodes can see it. When clicking
5143 on a node we need to ensure that its visible because it might just
5144 be partly visible when clicked.
5146 2005-10-20 Jackson Harper <jackson@ximian.com>
5148 * TreeNodeCollection.cs: Remove debug code.
5150 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5152 * Datagrid.cs: Implements column sorting in Datagrid
5153 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5155 2005-10-20 Jackson Harper <jackson@ximian.com>
5157 * TreeNodeCollection.cs: Remove items properly. Update the correct
5158 area after removing them.
5160 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5162 * Datagrid.cs: Should not call base.OnPaintBackground
5164 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5166 * XplatUIX11.cs (GetMessage):
5167 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5168 window instead of client window
5169 - Now properly calculates NC_xBUTTONUP message coordinates
5170 - ScreenToMenu now properly calculates it's coordinates of whole
5171 window, since menus are in the whole window, not in the client
5173 - Added WholeToScreen coordinate translation method
5175 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5177 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5178 want to return a message, loop back to the beginning of the function
5179 and grab the next real message to process instead.
5181 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5183 * Splitter.cs: Properly set limits if no filler control is used
5185 2005-10-19 Jackson Harper <jackson@ximian.com>
5187 * ColorDialog.cs: Don't show the help button if it is not enabled
5188 instead of disabling it (this is what MS does). Don't create the
5189 panel until the dialog is run, otherwise the vars (such as
5190 ShowHelp) are not set yet.
5192 2005-10-19 Jackson Harper <jackson@ximian.com>
5194 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5195 are reduced when adding nodes.
5197 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5200 2005-10-19 Jackson Harper <jackson@ximian.com>
5202 * FolderBrowserDialog.cs: End editing our treeview so the window
5203 actually gets refreshed.
5205 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5207 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5208 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5211 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5213 * MenuAPI.cs: Returns after Hidding window
5214 * XplatUIX11.cs: Added TODO found while debugging menu issues
5216 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5218 * XplatUIX11.cs: Do not re-map the whole window when it's size
5219 becomes non-zero unless it's supposed to be actually visible
5221 2005-10-18 Jackson Harper <jackson@ximian.com>
5223 * TreeView.cs: We don't need to keep a count anymore.
5224 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5225 use the Grow method.
5227 2005-10-18 Jackson Harper <jackson@ximian.com>
5229 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5230 implement it manually here.
5232 2005-10-18 Jackson Harper <jackson@ximian.com>
5234 * ImageList.cs: Dont kill the list when the colour depth is
5235 changed, just change the colour depth of all the images.
5236 - Same goes for setting the image size. Just resize them all
5237 instead of killing the list softly.
5239 2005-10-18 Jackson Harper <jackson@ximian.com>
5241 * Control.cs: Don't invalidate empty rectangles.
5243 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5246 - Adds checked item to the Checked/Item lists (where empty before)
5247 - Do not add items to the Selected lists if they are already present
5249 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5250 - When deleting items make sure that we delete them for the Selected
5251 and Checked list also.
5253 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5255 * Label.cs: Dispose objects no longer used
5256 * ThemeWin32Classic.cs: Dispose objects no longer used
5258 2005-10-18 Jackson Harper <jackson@ximian.com>
5260 * TabControl.cs: Don't refresh the whole control when the tabs are
5261 scrolled, we just need to refresh the tab area.
5263 2005-10-17 Jackson Harper <jackson@ximian.com>
5265 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5266 after handle when we need it.
5268 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5270 * Control.cs: When the parent size changes, recalculate anchor
5271 positions. Partial fix for #76462
5273 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5275 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5278 2005-10-17 Jackson Harper <jackson@ximian.com>
5280 * MonthCalendar.cs: Don't create the numeric up down until our
5281 handle is created. Otherwise our handle is created in the
5282 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5285 2005-10-17 Jackson Harper <jackson@ximian.com>
5287 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5290 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5291 * TreeNode.cs : small logical fix (was using local var instead of field)
5293 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5295 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5297 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5299 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5301 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5304 - Re-implemented anchoring code. My first version was really broken.
5305 This fixes bug #76033. Unlike the previous implementation we will
5306 no longer have round errors since all numbers are calculated from
5307 scratch every time. Removed various anchor-related obsolete vars.
5308 - InitLayout no longer causes layout event firing and layout to be
5311 2005-10-16 Jackson Harper <jackson@ximian.com>
5313 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5316 2005-10-16 Jackson Harper <jackson@ximian.com>
5318 * TabControl.cs: Remove debug code.
5320 2005-10-16 Jackson Harper <jackson@ximian.com>
5322 * XEventQueue.cs: Increase the default queue size (very simple
5323 apps needed to grow the queue).
5324 * Hwnd.cs: No finalizer so we don't need to suppress
5325 finalization. Compute the invalid area manually so a new rectangle
5326 does not newto be created.
5327 * ScrollableControl.cs: Don't set any params (otherwise visibility
5328 isn't set correctly).
5329 * MdiChildContext.cs: New constructor takes the mdi parent so it
5330 doesn't have to be computed and avoids a crash on windows. Draw
5331 the window icon properly, and allow the text to be seen.
5332 * Form.cs: Use new MdiChildContext constructor. Make sure the
5333 child context isn't null in wndproc.
5334 * TabControl.cs: Don't set focus, this is muddling keyboard
5335 behavoir. Expand the tab rows when a window size increase will
5336 allow extra tabs to be seen. Don't allow tabs smaller than the
5337 width of a window to be scrolled out of view.
5339 * TreeView.cs: Use measure string to calculate a nodes width, the
5340 width is cached and only updated when the text or the font is
5341 changed. Don't check for expand/collapse clicks on the first level
5342 nodes if root lines are disabled.
5344 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5346 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5348 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5350 * DataGridBoolColumn.cs: fixes warning
5352 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5354 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5355 to match more to match more precisely the MS Net behavior
5357 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5359 * Hwnd.cs: Added field to track if window is mapped
5361 - Unmap windows if they become 0-size, re-map when
5362 they are >0 again; fixes #76035
5363 - Re-set our error handler after initializing X11Desktop
5364 to override any error handlers Gtk or whatever was called
5367 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5369 * CheckedListBox.cs: Removed unused vars
5370 * ListView.cs: Fixed signatures
5371 * RichTextBox.cs: Removed unused vars
5372 * TextBoxBase.cs: Removed unused vars
5373 * XplatUIWin32.cs: Removed unused vars
5374 * XplatUIX11.cs: Removed unused vars
5375 * XplatUI.cs: Updated version and date to latest published
5377 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5379 * Cursor.cs: Added private .ctor to work around a bug in
5380 resourceset (Thanks to Geoff Norton for the help on this)
5381 * SplitterEventArgs.cs: Made fields accessible so we don't
5382 waste boatloads of objects and can reuse the same one
5384 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5385 any captions and borders when generating screen coordinates
5386 * Splitter.cs: Reimplemented control, now fully complete, uses
5387 rubberband drawing, supports and obeys all properties, has
5390 2005-10-13 Miguel de Icaza <miguel@novell.com>
5392 * Form.cs (Form): Setup default values for autoscale and
5393 autoscale_base_size; Make these instance variables, not static
5396 (OnLoad): on the first load, adjust the size of the form.
5398 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5400 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5401 width argument to DrawReversibleRectangle()
5402 * XplatUIWin32.cs, XplatUIX11.cs:
5403 - Implemented width for DrawReversibleRectangle()
5404 - Added logic to DrawReversibleRectangle that recognizes a zero
5405 width or height and only draws a line in that situation
5407 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5409 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5410 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5411 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5412 method (it uses our FosterParent window to get a graphics context)
5414 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5416 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5417 and SetWindowBackground methods
5419 - Setting proper ControlStyles
5420 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5421 EraseWindowBackground, instead we draw the window background
5422 ourselves in PaintControlBackground. This behaviour is
5423 required to match MS, where, when OnPaintBackground is not
5424 called, the background is not drawn.
5425 - Removed unneeded Refresh() in set_Text
5426 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5428 - Created DeriveStyles method to translate from CreateParams to
5429 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5430 matches FormBorderStyle enum values)
5431 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5432 style calculations into single DeriveStyles method
5433 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5434 from redrawing the whole window on any resize or expose.
5435 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5436 all styles were applied to our whole/client window appropriately
5437 - Removed EraseWindowBackground() and SetWindowBackground() methods
5438 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5439 no longer clear/redraw the background through X
5440 - Removed handling of erase_pending bit, we have no use for it (or
5443 - Removed generation and handling of WM_ERASEBKGND message
5444 - Removed EraseWindowBackground() and SetWindowBackground() methods
5445 - Removed handling of hwnd.ErasePending flag
5447 - Removed EraseWindowBackground() and SetWindowBackground() methods
5448 - We no longer call EraseWindowBackground on PaintEventStart, we
5449 ignore the fErase flag, erasing is handled in Control in the
5451 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5452 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5453 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5454 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5455 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5456 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5457 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5459 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5461 * PropertyGrids.cs: Get sub properties
5462 * PropertyGridView.cs: Fix drawing code
5464 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5466 * ListBox.cs: Fixes 76383
5468 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5470 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5471 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5472 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5475 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5477 * ComboBox.cs: Fixes border drawing
5479 2005-10-10 Miguel de Icaza <miguel@novell.com>
5481 * MimeIcon.cs: Ignore errors if the file can not be read.
5483 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5485 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5486 - Fixed border calculations
5487 - Fixed horizontal scrolling in single column listboxes
5488 - Fixed drawing issues
5490 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5492 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5493 FormBorderStyle enum
5494 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5495 code to determine FormBorderStyles from CreateParams
5497 - Fixed bug where we'd set the wrong window styles if we were
5498 not creating an MDI window
5499 - Added call to XplatUI.SetBorderStyle when form borders are set
5500 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5502 - Removed obsolete edge style
5503 - Switched from BorderStyle to FormBorderStyle
5505 2005-10-10 Jackson Harper <jackson@ximian.com>
5507 * Form.cs: Use the property to get the window handle instead of
5508 accessing it directly. Prevents a null reference exception.
5510 2005-10-10 Jackson Harper <jackson@ximian.com>
5512 * TreeView.cs: Don't adjust the rect given to DrawString now that
5513 our libgdiplus draws correctly.
5515 2005-10-08 Jackson Harper <jackson@ximian.com>
5517 * TreeView.cs: Don't try to find the clicked on node if there are
5518 no nodes in the tree.
5520 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5526 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5528 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5529 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5531 Use ResPool for brushes and dispose System.Drawing objects that
5532 are not used anymore.
5534 2005-10-07 Jackson Harper <jackson@ximian.com>
5536 * MdiChildContext.cs: Use the new borders instead of drawing them
5539 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5541 * Calling UpdateBounds after changing the window's BorderStyle
5542 since the style can change the ClientSize
5544 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5546 * Control.cs: Made PaintControlBackground virtual
5547 * Panel.cs: Overriding PaintControlBackground instead of using paint
5548 event; paint event method was interfering with 'real' users of the
5551 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5553 * ThemeWin32Classic.cs: remove border drawing since it is handled
5554 by the base control class now and was causing double border drawing.
5556 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5558 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5559 but it does seem to match MS behaviour. This fixes bug #75324
5561 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5563 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5564 somewhat hackish looking
5566 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5569 - We now accept Enter even if AcceptEnter is false, if the containing
5570 form does not have an AcceptButton configured (fixes bug #76355)
5571 - Calculations are now fixed to no longer use Width/Height, but
5572 ClientSize.Width/Height, since we now support borders (this was
5573 a result of fixing borders and therefore bug #76166)
5574 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5575 true (fixes bug #76354)
5577 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5580 - Defaulting BorderStyle and setting it in XplatUI when our window
5582 - Added enum check to InternalBorderStyle setter
5584 - Added drawing of window borders
5585 - Now properly calculates WM decorations offset for toplevel
5586 windows (fixes bug #74763)
5588 - Implemented BorderStyles for windows (we're letting win32 draw
5590 - Fixed the signature for SetWindowLong
5591 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5592 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5594 * UpDownBase.cs: Remove drawing of borders, this is handled by
5595 the driver, outside the client area
5596 * ListView.cs: Removed bogus border calculations. The control should
5597 be oblivious to borders, since those are not part of the client
5599 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5600 * ThemeWin32Classic.cs: Removed border calculations from ListView
5603 2005-10-06 Jackson Harper <jackson@ximian.com>
5605 * MdiChildContext.cs: Clear out the old virtual position remove
5606 all the unneeded calls to CreateGraphics.
5608 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5610 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5612 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5615 - Added loading and setting of our new default icon
5616 - Only set icon if window is already created
5618 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5621 - Do not explicitly set the foreground and background colors, to
5622 allow inheriting from parents (fixes #76302)
5623 - Use Control's InternalBorderStyle property to deal with borders
5625 2005-10-06 Jackson Harper <jackson@ximian.com>
5627 * MdiChildContext.cs: Use the new xplatui function to draw a
5630 2005-10-06 Jackson Harper <jackson@ximian.com>
5632 * Form.cs: Add the parent before creating the child context cause
5633 we need the parent when setting up the child.
5635 2005-10-06 Jackson Harper <jackson@ximian.com>
5637 * FolderBrowserDialog.cs: redo the tree population code so a
5638 second thread isn't used. Should be a lot faster and more stable
5641 2005-10-05 Jackson Harper <jackson@ximian.com>
5643 * TreeView.cs: There are no expand/collapse boxes if the node has
5646 2005-10-05 Jackson Harper <jackson@ximian.com>
5648 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5650 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5652 * FileDialog.cs: Fix InitialDirectory
5654 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5657 - Fixes changing between styles
5659 - Fixes last item crashing when navigating with keyboard
5661 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5663 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5665 2005-10-05 Jackson Harper <jackson@ximian.com>
5667 * TreeView.cs: If updating the root node do a full refresh.
5668 * TreeNode.cs: The root node should be expanded by default. Also
5669 added a utility prop to tell if we are the root node.
5670 * TreeNodeCollection.cs: Only refresh if the node we are being
5671 added to is expanded. Also added a comment on a potential
5674 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5676 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5677 in dispose method. Fixes #76330
5679 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5681 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5683 - Implements vertical and horizontal scrolling using XplatUI
5684 - Fixes keyboard navagation
5685 - Fixes EnsureVisible
5687 - Handles and draws focus properly
5690 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5692 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5693 Create handle. NET_2_0: Destroy handle when value is null.
5695 2005-10-03 Jackson Harper <jackson@ximian.com>
5697 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5698 revert and a new patch to prevent the thumb from refreshing so
5701 2005-10-02 Jackson Harper <jackson@ximian.com>
5703 * ScrollBar.cs: Don't update position if it hasn't actually
5704 changed. This occurs when you hold down the increment/decrement
5705 buttons and the thumb gets to the max/min.
5707 2005-10-01 Jackson Harper <jackson@ximian.com>
5710 * MdiChildContext.cs:
5711 * MdiClient.cs: Implement ActiveMdiChild in Form.
5713 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5715 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5717 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5719 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5722 2005-09-30 Jackson Harper <jackson@ximian.com>
5724 * ListBox.cs: Don't do a full refresh unless some data has
5727 2005-09-30 Jackson Harper <jackson@ximian.com>
5729 * TreeView.cs: Make sure that the checkboxes size is factored in
5730 even when not visible.
5732 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5734 * FileDialog.cs: Fix Jordi's build break
5736 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5739 - Use standard the Windows colours for the combobox as espected
5740 - Dispose objects that use resouces when no longer need them
5742 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5744 * X11DesktopColors.cs: Initial incomplete implementation
5745 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5747 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5750 - Switched Theme color names to match the names defined in
5751 System.Drawing.KnownColors. Life's hard enough, no need to make
5753 - Added setters to all theme color properties so themes can set
5754 their color schemes. The setters also propagate the color changes
5755 to System.Drawing.KnownColors via reflection
5756 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5757 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5758 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5759 use the new, more logical theme color names
5760 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5762 * ThemeWin32Classic.cs:
5763 - Removed code to set the old classic Windows colors. Instead it
5764 now relies on the colors returned by System.Drawing.KnownColors
5765 which will be either modern static colors (Unix) or colors
5766 read from the user's configuration (Win32)
5767 - Updated to use the new, more logical theme color names
5768 - Switched DataGrid drawing code to use only Theme colors instead of
5769 a mix of System.Drawing.KnownColors and Theme colors
5770 - DrawFrameControl(): Removed code that fills the button area, the
5771 fill would overwrite any previous fill done by a control. This
5773 - Added DrawReversibleRectangle() stub
5774 * ScrollableControl.cs: Set visible state to false when scrollbars
5775 are removed (pdn fix)
5776 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5777 DrawReversibleRectangle() method to allow drawing primitive
5779 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5781 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5783 * ImageList.cs: Add(Icon): Create handle.
5785 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5788 * ThemeWin32Classic.cs:
5791 - Issues with drawing
5793 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5795 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5796 source has to be the ImageList.
5798 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5800 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5802 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5804 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5806 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5808 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5810 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5811 * GridItem.cs: Fixed TODOs
5812 * GridItemCollection.cs: Added ICollection interface
5814 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5816 * ImageList.cs: Resize icons when needed.
5818 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5821 - Fixes GetBounds and returns on screen rects
5823 - Fixes vertical and horzintal scrolling of items
5824 * ThemeWin32Classic.cs:
5827 2005-09-29 Raja R Harinath <harinath@gmail.com>
5829 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5831 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5833 * ImageList.cs: Added comments about handle creation. Moved Handle,
5834 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5835 Handle is created in Add methods.
5837 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5839 * DataGridDrawingLogic.cs:
5840 - Takes rows into account on Colum calculations
5841 - Returns the column when clickig
5843 - Fixes default HitTestInfo values
5844 - Fixes HitTestInfo.ToString
5845 - Fixes ResetBackColor
5847 2005-09-28 Jackson Harper <jackson@ximian.com>
5849 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5850 sizing or cursor changes). Also added some temp code to draw the
5851 titlebars text (Makes dev a little easier).
5853 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5855 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5857 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5859 * ListBox.cs: Fixes bug 76253
5861 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5863 * ImageList.cs: Added comments about the current implementation. Added
5864 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5865 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5866 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5867 with Bitmap.LockBits for better performance. Revised the whole file to
5868 match MS.NET behaviour and provide better performance. Non-public
5869 interface members are calling public members even when they throw
5870 NotSupportedException for better maintainability. Moved ColorDepth,
5871 ImageSize, ImageStream and TransparentColor implementations to
5872 ImageCollection for better performance as these properties are not used
5874 * ImageListStreamer.cs: Added a new internal constructor that takes an
5875 ImageList.ImageCollection and serializes Images based on
5876 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5877 match ImageList property name.
5879 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5881 * ListBox.cs: Fixes IndexFromPoint for last item
5883 2005-09-27 Jackson Harper <jackson@ximian.com>
5885 * Form.cs: Set the position of new mdi children correctly.
5887 2005-09-27 Jackson Harper <jackson@ximian.com>
5889 * MdiClient.cs: New mdi children need to be added to the back of
5890 the controls collection so the zorder is set correctly. Also add a
5891 count of all the child windows that have been created.
5893 2005-09-27 Jackson Harper <jackson@ximian.com>
5895 * Form.cs (CreateParams): Setup MDI forms correctly.
5897 2005-09-27 Jackson Harper <jackson@ximian.com>
5899 * MdiChildContext.cs:
5906 * ScrollableControl.cs:
5907 * ComboBox.cs: Add implicit controls using the new implict control
5908 functionality in ControlCollection. Also try to block multiple
5909 control add in a suspend/resume layout to save some cycles.
5911 2005-09-27 Jackson Harper <jackson@ximian.com>
5913 * Control.cs: Add functionality to the controls collection to add
5914 'implicit controls' these are controls that are created by the
5915 containing control but should not be exposed to the user. Such as
5916 scrollbars in the treeview.
5917 * Form.cs: The list var of the ControlsCollection is no longer
5918 available because of the potential of implicit controls getting
5919 ignored by someone accessing the list directly.
5921 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5923 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5924 loose it's parent. (Fixed bug introduced in r49103 when we added
5925 setting the child parent to null on Remove)
5927 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5929 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5930 * Splitter.cs: Added missing attributes for BorderStyle property.
5931 * TextBoxBase.cs: Marked Calculate* methods internal.
5932 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5935 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5937 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5939 2005-09-25 Jackson Harper <jackson@ximian.com>
5941 * TreeView.cs: Update the node bounds correctly regardless of
5942 whether the node is visible.
5944 2005-09-25 Jackson Harper <jackson@ximian.com>
5946 * ImageList.cs: Don't dispose the image after it is added to the
5947 image list. Only reformat images that need to be resized.
5949 2005-09-25 Jackson Harper <jackson@ximian.com>
5951 * ImageList.cs: Don't set the format when changing the image.
5953 2005-09-25 Jackson Harper <jackson@ximian.com>
5955 * TreeView.cs: We can't just assume the node has a font. Use the
5956 treeviews font if no node font is available.
5958 2005-09-25 Jackson Harper <jackson@ximian.com>
5960 * TreeView.cs: Allow the scrollbars to be reset with negative
5962 - Don't add scrollbars to negative sized windows.
5964 2005-09-23 Jackson Harper <jackson@ximian.com>
5966 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5967 old Mono.Posix. Also remove some stray code that shouldn't have
5970 2005-09-23 Jackson Harper <jackson@ximian.com>
5972 * TreeView.cs: Attempt at proper sizing of the horizontal
5973 scrollbar. Also don't resize the scrollbars unless they are
5976 2005-09-23 Jackson Harper <jackson@ximian.com>
5978 * TreeView.cs: We don't need to expand the invalid area when the
5979 selection changes, as this is all drawn in the node's bounding
5980 box. The area needs to be expanded (previous typo was contracting
5981 it) when the focus rect moves.
5983 2005-09-23 Jackson Harper <jackson@ximian.com>
5985 * TreeView.cs: Display the selection box under the correct
5986 circumstances. We were rendering white text with no selection box
5989 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5991 * TextControl.cs(Split): Now updates selection start/end if it points
5992 into a line that's being split. Fixes a FIXME and bug #75258
5994 2005-09-23 Jackson Harper <jackson@ximian.com>
5997 * ListControl.cs: Don't use the path when retrieving binding
5998 managers from the binding context. My bat sense tells me that the
5999 path is only used on insertion.
6001 2005-09-22 Jackson Harper <jackson@ximian.com>
6003 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6005 2005-09-22 Jackson Harper <jackson@ximian.com>
6007 * Splitter.cs: There are special cursors used for splitting.
6008 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6010 2005-09-22 Jackson Harper <jackson@ximian.com>
6012 * Splitter.cs: Change the cursor appropriately when the splitter
6013 is moused over, so the user actually knows there is a splitter
6016 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6018 * Label.cs : Fix ToString method to give same output as MS.NET
6020 2005-09-22 Jackson Harper <jackson@ximian.com>
6022 * TreeView.cs: Create the scrollbars when the handle is created
6023 and add them right away, just make them invisble. Also account for
6024 the window being shrunk vertically to the point that the vert
6025 scrollbar needs to be added.
6026 - Remove some 0.5 adjustments to get around anti aliasing issues.
6028 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6030 * MainMenu.cs: Fixes default value
6031 * MenuItem.cs: Fixes default value
6033 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6035 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6037 2005-09-21 Jackson Harper <jackson@ximian.com>
6039 * Control.cs: Don't try to set the border style on the window if
6040 it hasn't been created. When the window is created the border
6043 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6045 * Control.cs (Update): Don't call XplatUI if we don't have a
6048 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6050 * ContainerControl.cs: Instead of throwing an exception, print
6051 a one-time warning about Validate not being implemented
6052 * XplatUIWin32.cs: Removed debug output
6054 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6056 * Control.cs: Only set XplatUI background if we expect the windowing
6057 system to handle the background. This stops controls that draw their
6058 own background from flickering
6060 * XplatUIX11.cs: Support custom visuals and colormaps for window
6061 creation. This allows, amongst other things, using MWF X11 windows
6064 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6066 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6067 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6068 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6069 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6070 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6071 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6072 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6073 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6074 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6075 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6076 GridColumnStylesCollection.cs,
6077 IDataGridColumnStyleEditingNotificationService.cs,
6078 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6079 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6080 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6081 TreeNodeCollection.cs, AmbientProperties.cs,
6082 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6083 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6084 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6085 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6086 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6087 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6088 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6089 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6090 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6091 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6092 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6093 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6094 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6095 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6096 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6097 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6098 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6099 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6100 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6101 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6102 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6103 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6104 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6105 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6106 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6107 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6108 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6109 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6110 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6111 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6112 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6113 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6114 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6115 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6116 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6117 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6118 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6120 2005-09-21 Jackson Harper <jackson@ximian.com>
6122 * TreeNode.cs: Call Before/After Expand not Collapse when
6125 2005-09-20 Jackson Harper <jackson@ximian.com>
6127 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6129 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6133 - Fixes proper storing of subitems
6134 - Fixes not updated items
6136 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6138 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6139 things if our window handle isn't created yet. Also disabled
6140 debug for TextBoxBase
6142 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6144 * MenuAPI.cs: Remove filtering of events to allow menu usage
6146 2005-09-20 Miguel de Icaza <miguel@novell.com>
6148 * Cursor.cs: Allow null to be passed to Cursor.Current.
6150 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6152 * ThemeWin32Classic.cs:
6153 - Change some private methods/fields to protected virtual so that
6154 they can be accessed and overriden in derived classes
6155 - First refactoring of some methods. Derived themes now don't
6156 need to duplicate the complete code from ThemeWin32Classic
6158 - Added nice StatusBar
6159 - Derive from ThemeWin32Classic and not Theme
6160 - Removed duplicate ThemeWin32Classic code
6162 2005-09-20 Miguel de Icaza <miguel@novell.com>
6164 * Control.cs (ControlCollection.Add): If the value null is passed
6165 the control is ignored.
6169 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6171 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6172 PostQuitMessage state.
6173 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6175 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6177 * Application.cs: Our constructor will never get called, move
6178 initialization to fields; fixes bug #75933
6180 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6183 - Allow files to be selected properly using file name
6185 - Add ability to change diretory (absolute / relative)
6186 using file name combo box.
6188 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6191 - Fixes Multicolumn listboxes item wrong calculations
6192 - Allows to click when only one item is in the listbox
6193 - Fixes crash when no items using keyboard navigation
6195 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6197 * ComboBox.cs: Reverted almost everything from the latest patch which
6200 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6203 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6205 - When DropDownStyle is Simple, it does not show scrollbar
6206 to the last item of the list.
6207 - When DropDownStyle is Simple, it crashed when the list was
6208 scrolled down with the down cursor key.
6209 - Fixed a bug that when DropDownStyle is DropDownList, the
6210 selected item was not shown.
6211 - The position of the selected item was not preserved when
6212 the next dropdown happened.
6213 * ThemeWin32Classic.cs:
6214 - Items were wrapped at the right end.
6215 * CheckedListBox.cs:
6218 - Items should be fully shown.
6219 - When resizing and vertical scrollbar disappeared, the item
6220 of index 0 should be on the top of the list.
6221 - GetItemRectangle should consider the size of ver. scrollbar
6223 - SizingGrip area should not be allocated when it is not
6225 - Now it reflects MinWidth of the containing panel and
6226 fixed a crash that happens when its width becomes so small.
6228 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6230 * CheckedListBox.cs: Fixes bug 76028
6231 * ListBox.cs: Fixes bug 76028
6233 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6235 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6236 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6238 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6240 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6242 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6244 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6246 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6248 * IRootGridEntry.cs: Added
6249 * PropertyGridCommands.cs: Added
6250 * PropertiesTab.cs: Added missing methods and property
6251 * PropertyGridView.cs: Made class internal
6252 * PropertyGridTextBox.cs: Made class internal
6254 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6256 * MimeIcon.cs: Try to check some other environment variables
6257 if "DESKTOP_SESSION" returns "default"
6259 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6261 * ThemeNice.cs: Corrected background colors (e.g. menus)
6262 * ColorDialog.cs: Use correct background colors for controls
6264 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6266 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6268 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6270 * RichTextBox.cs: Added initial implementation
6271 * lang.cs: Removed. Was accidentally checked in long time ago
6272 * TODO: Removed. Contents were obsolete
6274 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6276 * PropertiesTab.cs : Added
6278 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6280 * PropertyGrid.cs : Update
6281 * PropertyGridView.cs : Update
6282 * System.Windows.Forms.resx : Added images and strings
6284 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6286 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6288 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6290 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6291 a busy loop right after the Ungrab the X11 display is otherwise
6294 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6296 * ThemeWin32Classic.cs: Optimise the use of clipping
6298 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6300 * DataGrid.cs: fixes recursion bug
6302 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6305 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6308 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6310 * ThemeNice.cs: Draw nice ProgressBars
6312 2005-09-01 Miguel de Icaza <miguel@novell.com>
6314 * VScrollBar.cs: Another buglet found by Aaron's tool.
6316 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6319 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6322 - Added nicer menu drawing
6326 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6328 * CreateParams.cs (ToString): Made output match MS
6329 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6330 handle is already created (to avoid forcing window creation)
6331 * XplatUIX11.cs: Set window text to caption after creating window,
6332 in case Text was set before window was created
6333 * Form.cs: Use this.Text instead of a static string as caption
6335 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6337 * NotifyIcon.cs: Don't set the window to visible; this screws
6338 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6339 OnPaint without a bitmap)
6340 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6341 happen very often anyway; we could add the check to the WM_PAINT
6342 event generation code
6344 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6346 * NotifyIcon.cs: Fill the icon area with a background color, to
6347 avoid 'residue' when transparent icons are drawn
6349 - Handle whole_window == client_window when destroying windows
6350 - SystrayAdd(): Set client_window to whole_window value to
6351 get mouse and other events passed to NotifyIcon
6353 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6355 * Form.cs: Set proper default for Opacity property
6357 - ShowSystray(): Don't bother creating telling the OS
6358 about the systray item if no icon is provided
6359 - Now handles WM_NCPAINT message to deal with whole/client window
6361 - Create window as visible to not get caught by Expose optimization
6362 * Hwnd.cs: Removed debug message
6363 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6364 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6365 PaintEventStart/End to use new client argument
6367 - Commented out debug messages
6368 - Switched PaintEventStart/End to use new client argument
6369 * XplatUI.cs: Added client window bool to PaintEventStart()/
6370 PaintEventEnd() calls, to support drawing in non-client areas
6372 - Added client window bool to PaintEventStart()/PaintEventEnd()
6373 calls, to support drawing in non-client areas
6374 - Added conditional compile to allow using MWF BeginInvoke
6377 - Added some conditional debug output
6378 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6379 whole/client window split
6380 - Implemented handling of client argument to PaintEventStart()/End()
6382 - Throw exception if BeginInvoke() is called and the window handle
6383 or one of the window's parent handles is not created
6384 - Added conditional compile to allow using MWF BeginInvoke on
6386 - get_Parent(): Only sets parent if handle is created. This avoids
6387 forcing window handle creation when parent is set.
6388 - Now fires Layout and Parent changed events in proper order
6389 - Switched to use Handle instead of window.Handle for Z-Order setting,
6390 the get_Parent() patch above causes us to possibly get null for 'window'
6391 - Implemented handling of client argument to PaintEventStart()/End()
6392 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6394 - Now sends a Refresh() to all child windows when Refresh() is called
6396 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6398 * Form.cs: Added (non-functional) Opacity property
6399 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6401 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6402 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6403 use export MONO_THEME=nice to activate it.
6404 Currently supported controls:
6408 - TabControl (TabAlignment.Top only, other will follow)
6409 * ThemeEngine.cs: Add theme nice
6410 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6413 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6415 * Splitter.cs: Resize docked control and its neighbor.
6417 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6418 -- Making Windows with Menus layout correctly --
6419 * Form.cs : The first leg of the fix
6420 Menu setter - adjust Client Size as needed to make space for the menu
6421 SetClientSizeCore - doesn't call base version to be able to pass the
6422 menu handle to XplatUI.CalculateWindowRect
6423 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6424 * XplatUIX11.cs: The critical second leg of the fix
6425 GetWindowPos needs to use a recalculated client_rect
6426 so that resizing the window doesn't break layout of child controls.
6427 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6430 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6432 * Label.cs: Now properly recalculates width and height on Font and Text
6433 changes if AutoSize is set
6435 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6436 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6438 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6440 * ImageList.cs: Makes ToString method compatible with MS
6442 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6444 * MenuAPI.cs: fixes bug 75716
6446 2005-08-11 Umadevi S <sumadevi@novell.com>
6447 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6449 2005-08-11 Umadevi S <sumadevi@novell.com>
6450 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6452 2005-08-10 Umadevi S <sumadevi@novell.com>
6453 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6455 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6457 * Menu.cs: fixes bug 75700
6458 * MenuAPI.cs: fixes navigation issues
6460 2005-08-09 Umadevi S <sumadevi@novell.com>
6461 * CheckedListBox.cs - simple fix for GetItemChecked.
6463 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6465 * ComboBox.cs: Serveral fixes
6466 * ListBox.cs: Serveral fixes
6468 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6470 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6471 * ListBox.cs: Fixes FindString methods
6473 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6475 * DataGrid.cs: fixes bugs exposed by new tests
6477 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6479 * Mime.cs: Compile Mono assembly references only if compiling
6480 with Mono (Allows to build with VS.Net again)
6482 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6484 * Control.cs (PaintControlBackground): Draw background image
6486 (CheckForIllegalCrossThreadCalls): Stubbed.
6488 * Form.cs (OnCreateControl): Center when should be centered.
6490 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6492 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6494 * Binding.cs: Binding to properties should be case unsensitive
6496 2005-07-18 vlindos@nucleusys.com
6498 * DataGrid.cs: fixes setmember order
6500 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6502 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6503 * FileDialog.cs: FileDialog is now resizable and uses the new
6506 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6508 * DataGridTextBoxColumn.cs: default value
6509 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6510 * GridTableStylesCollection.cs: fixes checking MappingName
6511 * DataGridDrawingLogic.cs: fixes drawing logic issues
6512 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6513 * DataGrid.cs: fixes
6515 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6517 * MimeGenerated.cs: Use case sensitive comparer for
6518 NameValueCollections
6520 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6522 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6523 * ThemeWin32Classic.cs: bug fixes, code refactoring
6524 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6525 * DataGrid.cs: bug fixes, code refactoring
6526 * DataGridTextBox.cs: bug fixes, code refactoring
6527 * DataGridColumnStyle.cs: bug fixes, code refactoring
6528 * Theme.cs: bug fixes, code refactoring
6530 2005-07-01 Peter Bartok <pbartok@novell.com>
6532 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6533 and other text box usage
6535 2005-07-01 Jackson Harper <jackson@ximian.com>
6537 * TabControl.cs: Make sure the bottom of the tab covers the pages
6540 2005-06-30 Peter Bartok <pbartok@novell.com>
6542 * Form.cs (ShowDialog): Assign owner of the dialog
6543 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6544 might have been moved to a tag with different height
6546 2005-06-30 Jackson Harper <jackson@ximian.com>
6548 * Form.cs: Don't create an infinite loop when setting focus
6549 * MenuItem.cs: Don't dirty the parents if we don't have any
6551 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6553 * LibSupport.cs: Rename
6555 2005-06-29 Peter Bartok <pbartok@novell.com>
6557 * TextBoxBase.cs: Re-align caret after deleting a character
6559 - DeleteChars(): Ensure that tag covers the provided position
6560 - StreamLine(): Drop reference for dropped tag
6562 2005-06-29 Peter Bartok <pbartok@novell.com>
6565 - Selections now work properly, anchoring at the initial location
6566 and properly extending in either direction (SetSelectionToCaret(),
6567 SetSelectionStart() and SetSelectionEnd())
6568 - No longer redraws the whole control on selection change, now
6569 calculates delta between previous and new selection and only
6570 invalidates/redraws that area
6571 - Fixed FindPos() math off-by-one errors
6572 - Changed DeleteChars() to verify the provided tag covers the
6573 provided position, selections may have a tag that doesn't cover
6574 the position if the selection is at a tag border
6575 - Fixed off-by-one errors in DeleteChars()
6576 - Added missing streamlining check in DeleteChars() to remove
6578 - Implemented Invalidate() method, now properly calculates exposures
6579 between two given lines/positions
6580 - Implemented SetSelection()
6581 - Obsoleted and removed FixupSelection()
6582 - Improved RecalculateDocument() logic, removing code duplication
6584 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6586 * LibSupport.cs: changes to match different input/output arguments.
6588 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6590 * LibSupport.cs: added libsupport.so init routine.
6592 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6594 * ControlBindingsCollection.cs
6595 - Throws an exception on null datasource when adding
6596 - Checks for duplicated bindings when adding
6598 2005-06-28 Jackson Harper <jackson@ximian.com>
6600 * TreeView.cs (OnKeyDown): Support left and right properly
6601 (navigates as well as expanding and collapsing.
6602 - Add support for Multiply, this expands all the selected nodes
6606 2005-06-28 Jackson Harper <jackson@ximian.com>
6608 * TreeView.cs: Implement keyboard navigation, currently supports,
6609 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6610 support for toggling checkboxes with the space bar.
6612 2005-06-28 Jackson Harper <jackson@ximian.com>
6614 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6617 2005-06-28 Jackson Harper <jackson@ximian.com>
6619 * TreeView.cs: Add missing event.
6621 2005-06-27 Peter Bartok <pbartok@novell.com>
6624 - Made line ending size configurable (now allows for counting
6625 lineendings as \n or \r\n)
6626 - Added margin to viewport to keep caret visible on right side
6627 - Fixed translation routines for line/pos to documentpos to consider
6628 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6629 - Fixed some line-endings to be unix style
6630 - Fixed Document.FormatText to perform it's calculations 1-based
6631 - Added descriptions for a few methods that might otherwise get
6633 - Added NOTE section with some basic conventions to remember at
6635 - Major fixup for RichTextBox selection drawing:
6636 * Fixed crashes when multiple tags on a single line were selected
6637 * fixed selection box drawing not overlaying text
6638 * fixed bogus offset calculation for tags not starting at index 1
6639 * Switched behaviour from using multiple Substrings of a
6640 StringBuilder.ToString() to using multiple
6641 StringBuilder.ToString(start, length) statements, hoping this is
6642 faster (kept original version commented out in the code, in case
6643 original version was faster)
6644 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6646 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6649 2005-06-27 Jackson Harper <jackson@ximian.com>
6651 * TabControl.cs: Move to the left and right with the arrow
6652 keys. These keys don't cycle beyond first and last like
6653 tab. Refresh all the tabs when scrolling them to the left or
6656 2005-06-27 Jackson Harper <jackson@ximian.com>
6659 - ToString: Added method
6660 - CreateParams: Remove TODO and comment
6661 - OnKeyDown: Cycle through bounds properly.
6662 - SelectedIndex: Scroll to the right or left if we need to
6663 display the newly selected tab.
6665 2005-06-23 Jackson Harper <jackson@ximian.com>
6667 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6670 2005-06-23 Jackson Harper <jackson@ximian.com>
6672 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6673 CTRL-SHIFT-TAB, and HOME, END are there any others?
6675 2005-06-23 Jackson Harper <jackson@ximian.com>
6677 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6679 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6681 * DataGridTextBoxColumn.cs: fixes and enhancements
6682 * ThemeWin32Classic.cs: fixes and enhancements
6683 * DataGridBoolColumn.cs: fixes and enhancements
6684 * DataGridDrawingLogic.cs: fixes and enhancements
6685 * CurrencyManager.cs: fixes and enhancements
6686 * DataGrid.cs: fixes and enhancements
6687 * DataGridColumnStyle.cs: fixes and enhancements
6689 2005-06-22 Jackson Harper <jackson@ximian.com>
6691 * TabControl.cs: Add some missing methods that just call into the
6692 base. Make the TabPageCollection's IList interface behave in the
6693 same manner as the MS implementation.
6695 2005-06-22 Peter Bartok <pbartok@novell.com>
6697 * TextControl.cs: Added sanity check
6699 - Fixed wrapping behaviour, don't set wrap on single line controls
6700 (this fixes the breakage of colordialog introduced in an earlier
6702 - Added rudimentary support for autoscrolling right-aligned controls
6703 (still needs fixing, also, center alignment scroll is missing)
6705 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6707 * ScrollBar.cs: Fixes thumbpos on Maximum values
6709 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6711 * PropertyGridView.cs: Pass context information to UITypeEditors
6713 2005-06-21 Peter Bartok <pbartok@novell.com>
6716 - Now calling PositionCaret with absolute space coordinates
6717 - Enabled vertical scrolling
6718 - Better tracking of scrollbar changes, tied into WidthChange
6720 - Improved cursor tracking
6721 - Removed debug output
6723 - PositionCaret coordinates are now works in absolute space, not
6725 - Improved tracking of document size
6726 - Added events for width and height changes
6728 2005-06-21 Peter Bartok <pbartok@novell.com>
6730 * Form.cs: Set focus to active control when form is activated
6732 - Added word-wrap functionality to RecalculateLine()
6733 - Added some short function descriptions for VS.Net to aid in
6734 writing dependent controls
6735 - Added Caret property, returning the current coords of the caret
6736 - Added ViewPortWidth and ViewPortHeight properties
6737 - Added Wrap property
6738 - Added CaretMoved event
6739 - Removed some old debug code
6740 - Split() can now create soft splits
6741 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6742 - Added method to format existing text
6743 - Fixed size/alignment calculations to use viewport
6744 - RecalculateDocument now can handle changing line-numbers while
6748 - Added some wrap logic, we don't wrap if alignment is not left
6749 - Added casts for scrollbar var, base class switched types to
6750 also support RichTextBoxA
6751 - Implemented handling of scrollbar visibility flags
6754 - Switched scrollbars type to RichTextBoxScrollBars to support
6756 - Added tracking of canvas width/height
6757 - Switched scrollbars to be not selectable (to keep focus on text)
6758 - Added central CalculateDocument() method to handle all redraw
6760 - Added ReadOnly support
6761 - Added WordWrap support
6762 - Fixed handling of Enter key (we now treat it as a DialogKey)
6763 - Fixed caret positioning when h or v scroll is not zero
6764 - Fixed placing/generation of vertical scrollbar
6765 - Added CalculateScrollBars() method to allow updating scrollbar
6766 limits and visibility
6767 - Fixed handling of horizontal scroll
6768 - Added handling of vertical scroll
6769 - Implemented auto-'jump' when caret moves to close to a left or
6770 right border and there is text to be scrolled into view (currently
6771 there's the potential for a stack overflow, until a bug in
6774 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6776 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6778 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6782 - return application/x-zerosize for files with size zero
6783 (if no extension pattern matches).
6784 - check matches collection for strings too.
6785 - return only the first mime type if the name value
6786 collection has more than one mime type.
6788 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6790 * PropertyGrid.cs: Cleaned up some TODOs
6791 * PropertyGridView.cs: Added support for UITypeEditors
6793 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6795 * DataGrid.cs: clears cached value
6797 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6799 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6800 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6801 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6802 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6804 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6806 * ThemeWin32Classic.cs: fixes colour
6808 2005-06-15 Peter Bartok <pbartok@novell.com>
6810 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6811 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6812 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6813 * Control.cs: Added some MWFCategory and MWFDescription attributes
6814 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6816 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6818 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6821 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6823 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6824 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6825 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6826 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6827 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6828 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6830 2005-06-13 Jackson Harper <jackson@ximian.com>
6832 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6833 isn't printed when the user enables dropping. (X11 does accept
6836 2005-06-13 Jackson Harper <jackson@ximian.com>
6838 * TreeView.cs: Remove some TODOS.
6840 2005-06-13 Jackson Harper <jackson@ximian.com>
6842 * Form.cs: Hook into the mdi framework.
6843 * MdiClient.cs: Use the base control collections add method so
6844 parents get setup correctly. Set the default back colour and dock
6846 * MdiChildContext.cs: New class, this bad actor handles an
6847 instance of an MDI window. Right now there is only basic
6848 support. You can drag, close, and resize windows. Minimize and
6849 Maximize are partially implemented.
6851 2005-06-13 Jackson Harper <jackson@ximian.com>
6853 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6854 freaky when both vals are negative. NOTE: There are probably other
6855 places in XplatUIX11 that this needs to be done.
6857 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6859 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6860 * DataGridColumnStyle.cs: fixes signature
6862 2005-06-12 Jackson Harper <jackson@ximian.com>
6864 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6867 2005-06-11 Jackson Harper <jackson@ximian.com>
6869 * StatusBarPanel.cs: Signature cleanups. Implement
6872 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6874 * DataGridTextBoxColumn.cs: Honors aligment
6875 * GridColumnStylesCollection.cs: Contains is case unsensitive
6876 * GridTableStylesCollection.cs: several fixes
6877 * DataGridTableStyle.cs: default column creation
6878 * DataGridDrawingLogic.cs: fixes
6879 * CurrencyManager.cs: ListName property
6880 * DataGrid.cs: multiple styles support
6881 * DataGridColumnStyle.cs: fixes
6884 2005-06-10 Peter Bartok <pbartok@novell.com>
6886 * Control.cs(Select): Moved SetFocus call to avoid potential
6887 loops if controls change the active control when getting focus
6888 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6891 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6893 * ImageListConverter.cs: Implemented
6895 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6897 * MonthCalendar.cs: Wired in NumericUpDown control for year
6899 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6901 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6902 DoubleClick events, since they are not meant to be fired.
6904 2005-06-09 Peter Bartok <pbartok@novell.com>
6906 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6907 Jonathan's standalone controls into MWF, implemented missing
6908 events, attributes and methods; added xxxAccessible classes
6909 * AccessibleObject.cs: Made fields internal so other classes
6910 can change them if needed
6912 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6914 * UpDownBase.cs: Complete implementation
6915 * NumericUpDown.cs: Complete implementation
6916 * DomainUpDown.cs: Complete implementation
6918 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6920 * DataGridTextBoxColumn.cs: drawing fixes
6921 * DataGridCell.cs: fixes ToString method to match MSNet
6922 * DataGridTableStyle.cs: fixes
6923 * DataGridBoolColumn.cs: fixes, drawing
6924 * DataGridDrawingLogic.cs: fixes, new methods
6925 * DataGridTextBox.cs: Keyboard and fixes
6927 - Keyboard navigation
6929 - Row selection (single, multiple, deletion, etc)
6932 2005-06-07 Jackson Harper <jackson@ximian.com>
6934 * ThemeWin32Classic.cs: Clear the background area when drawing
6937 2005-06-06 Peter Bartok <pbartok@novell.com>
6939 * ImageListStreamer.cs: Fixed signature for GetData
6940 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6942 - Added missing ChildAccessibleObject class
6943 - Added missing OnXXXFocus overrides, switched to using those
6944 instead of the event handler
6946 - Added Parent property for ControlAccessibleObject
6949 - Added ResetBindings()
6950 * ListBindingConverter.cs: Implemented some methods
6951 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6952 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6953 * ContainerControl.cs: Fixed signature, now subscribing to the
6954 ControlRemoved event instead of overriding the handler, LAMESPEC
6955 * CurrencyManager.cs: Added missing attribute
6956 * MonthCalendar.cs: Added missing properties
6958 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6960 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6962 2005-06-06 Gaurav Vaish and Ankit Jain
6964 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6965 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6967 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6969 * Control.cs: fixes CreateParams Width / Height.
6971 2005-06-05 Peter Bartok <pbartok@novell.com>
6973 * Win32DnD.cs: Removed compilation warnings
6975 2005-06-05 Peter Bartok <pbartok@novell.com>
6977 * Control.cs (CreateParams): Since we don't know if one of the
6978 properties we use is overridden, lets make sure if we fail accessing
6979 we continue with a backup plan
6981 2005-06-05 Peter Bartok <pbartok@novell.com>
6984 - Removed debug output
6985 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6987 - Plugged resource leak
6988 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6991 2005-06-05 Peter Bartok <pbartok@novell.com>
6993 * XplatUIWin32.cs: Removed DnD code
6994 * Win32DnD.cs: Implemented drop source and drop target functionality
6996 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6998 * UpDownBase.cs: remove duplicate addition of event, enable some code
6999 that was commented out.
7000 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7001 Validate input when a key is pressed. It works fine now for every
7002 combination of Hexadecimal. Only missing some drawing love when sharing
7003 space with other controls.
7005 2005-06-04 Peter Bartok <pbartok@novell.com>
7008 - We need to pass a window for DragDrop, so enable callback events
7009 - Added DnD callback events when being a DragSource
7010 * XplatUI.cs (StartDrag): Added window handle argument
7011 * XplatUIDriver.cs (StartDrag): Added window handle argument
7012 * QueryContinueDragEventArgs: Made fields internally accessible so
7013 drivers can set them
7014 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7017 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7019 * DataGridTextBoxColumn.cs: column text editing
7020 * DataGridTableStyle.cs: Respect columns styles created by the user
7021 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7022 * DataGridBoolColumn.cs: bool column editing
7023 * DataGrid.cs: fixes to scrolling, properties, etc
7024 * DataGridTextBox.cs: handle keyboard
7025 * DataGridColumnStyle.cs: fixes
7027 2005-06-02 Jackson Harper <jackson@ximian.com>
7029 * ImageListStreamer.cs: Somewhat broken implementation of
7030 GetObjectData. The RLE needs some work to match MS properly.
7032 2005-06-02 Jackson Harper <jackson@ximian.com>
7034 * X11Dnd.cs: Attempting to keep at least one file in MWF
7037 2005-06-02 Peter Bartok <pbartok@novell.com>
7039 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7042 2005-06-02 Peter Bartok <pbartok@novell.com>
7044 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7045 * XplatUI.cs: Added DoDragDrop() method
7046 * XplatUIDriver.cs: Added DoDragDrop() method
7048 2005-06-02 Jackson Harper <jackson@ximian.com>
7050 * Splitter.cs: Implement BorderStyle.
7052 2005-06-02 Jackson Harper <jackson@ximian.com>
7054 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7055 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7058 2005-06-02 Peter Bartok <pbartok@novell.com>
7062 - Fixed broken insertion code for SetData, now also
7063 overwrites any existing entry of the same format name
7064 * Hwnd.cs: Added list of pointers that automatically gets
7065 freed when the window is disposed
7066 * XplatUI.cs: Call driver initialization method when loading
7069 - OnDragLeave takes EventArgs, not DragEventArgs
7070 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7072 - Forces style update when drop state changes
7073 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7074 not perfect since we cannot (yet) call the IDataObject.GetData()
7075 method, we keep getting 0x80004005 error, dunno why)
7077 2005-06-02 Peter Bartok <pbartok@novell.com>
7079 * DragEventArgs.cs: Make fields internal so we can cache the
7080 object and re-set the fields from XplatUI
7082 2005-06-02 Jackson Harper <jackson@ximian.com>
7084 * Control.cs: Add some internal methods so the DnD subsystem can
7085 raise DnD events. Also call into the driver when AllowDrop is set.
7087 * XplatUIDriver.cs: New method for setting whether or not a window
7088 is allowed to accept drag and drop messages.
7090 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7092 * ScrollBar.cs: Make sure that values sent in Scroll events
7093 are always between Maximum and Minimum.
7095 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7097 * Menu.cs: Call MenuChanged when menuitem visibility has been
7099 * MenuItem.cs: Rebuild menu when item is (not) visible.
7100 * MainMenu.cs: MainMenu has special MenuChanged.
7101 * Theme.cs: Caption and FrameBorderSize are not fixed.
7102 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7103 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7105 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7106 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7108 2005-05-30 Jackson Harper <jackson@ximian.com>
7110 * DataFormat.cs: We can't statically initialize this stuff because
7111 it calls into the xplatui and could create a loop. So we lazy init
7114 2005-05-28 Jackson Harper <jackson@ximian.com>
7116 * Control.cs: Proper implementation of Product(Name/Version).
7118 2005-05-27 Jackson Harper <jackson@ximian.com>
7120 * DataObject.cs: Dont crash if no data is found.
7122 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7123 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7124 as per status page, guessing it should be set to true
7126 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7128 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7129 * DataGridTableStyle.cs: set proper formatting text, def header text
7130 * ThemeWin32Classic.cs: new themable paramaters
7131 * DataGridBoolColumn.cs: paint check box, get data, fixes
7132 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7133 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7134 * DataGridColumnStyle.cs: fixes
7135 * Theme.cs: new themable paramaters
7137 2005-05-26 Peter Bartok <pbartok@novell.com>
7139 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7141 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7142 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7144 2005-05-24 Peter Bartok <pbartok@novell.com>
7146 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7147 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7148 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7149 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7150 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7151 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7152 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7153 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7154 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7155 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7156 missing attributes, etc
7157 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7159 2005-05-24 Peter Bartok <pbartok@novell.com>
7161 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7162 when user tries to get help
7163 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7164 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7165 to suppress warnings
7166 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7167 avoid unreachable code warning
7169 2005-05-20 Peter Bartok <pbartok@novell.com>
7171 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7173 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7175 * DataGridTextBoxColumn.cs: Basic painting methods
7176 * DataGridTableStyle.cs: Set table style in the column
7177 * ThemeWin32Classic.cs: Use Theme for colors
7178 * DataGridDrawingLogic.cs: Implement more drawing
7179 * DataGrid.cs: drawing, theming, enhacements, fixes
7180 * DataGridColumnStyle.cs: fixes, drawing
7181 * Theme.cs: theming for Datagrid
7183 2005-05-20 Peter Bartok <pbartok@novell.com>
7185 * Cursor.cs: Implemented GetObjectData() method
7187 2005-05-20 Peter Bartok <pbartok@novell.com>
7189 * Cursors.cs: Added setting of cursor name
7191 - Implemented constructors
7192 - Implemented Draw and DrawStretched
7193 - Implemented Current property
7194 - Implemented == and != operators
7195 - Implemented Dispose()
7196 - Implemented ToString
7197 - Added missing attributes
7199 - Added missing reset for OverrideCursor when DoEvents is called
7200 - Fixed creation of cursor, logic was wrong
7202 - Added missing reset for OverrideCursor when DoEvents is called
7203 - Fixed creation of cursor, bit arrays were swapped
7204 * Clipboard.cs: Removed obsolete MonoTODO attribute
7206 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7208 * ComboBox.cs: fixes OnSelectedItemChanged
7209 * ControlBindingsCollection.cs: fixes item range check
7211 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7214 - Calc preferred height properly
7215 - Implement missing properties
7217 * NumericUpDown.cs: Implement missing events
7219 2005-05-19 Jackson Harper <jackson@ximian.com>
7221 * TabControl.cs: New method that resizes the tab pages before
7222 redrawing them. This as needed as the control is double buffered
7223 and sizing will not be recalculated unless ResizeTabPages is
7225 * TabPage.cs: Set base.Text instead of Text in the constructor so
7226 that UpdateOwner does not get called. Use the new Redraw method of
7227 TabControl instead of Refresh so the sizing is recalculated.
7228 * ThemeWin32Classic.cs: Draw the text for button tabs.
7230 2005-05-19 Jackson Harper <jackson@ximian.com>
7232 * Control.cs: Paint control background images. Fix typo where
7233 PaintControlBackground was not getting called correctly.
7235 2005-05-19 Peter Bartok <pbartok@novell.com>
7237 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7238 I can investigate, apparently I broke FileDialog
7240 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7242 * AxHost.cs: Some simple properties.
7243 * Control.cs: window must be accessible after ctor.
7244 * Form.cs: Added TransparencyKey property.
7245 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7246 * XplatUIWin32.cs: SetBorderStyle implemented.
7248 2005-05-18 Peter Bartok <pbartok@novell.com>
7250 * DataObject.cs: Entries are not global but particular to the
7251 DataObject, now it behaves that way
7252 * XplatUIWin32.cs: Implemented Clipboard methods
7253 * Clipboard.cs: Implemented
7254 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7255 * XplatUIOSX.cs: Updated to final clipboard prototypes
7256 * XplatUIX11.cs: Implemented Clipboard methods
7257 * XplatUIDriver.cs: Updated to final clipboard prototypes
7258 * XplatUIStructs.cs:
7259 - Added BITMAPINFOHEADER struct
7260 - Added ClipboardFormats enum
7262 - Added ClipboardStruct
7263 - Added Atom enum items for clipboard types
7264 - Fixed atom types for Selection event structures
7266 - Added internal properties and methods for drivers to enumerate
7268 - Switched initialization method to allow drivers to assign their
7269 own IDs even for the MS predefined clipboard IDs
7270 * XplatUI.cs: Updated to final clipboard interface
7272 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7273 * PropertyGridView.cs: Fixed compiler warnings.
7275 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7276 * PropertyGrid.cs: Added some event calls
7277 * PropertyGridView.cs: Change drawing code to use double buffering
7278 * PropertyGridTextBox.cs: Changed Text property name
7279 * GridItem.cs: Added Bounds property.
7280 * GridEntry.cs: Added Bounds property.
7282 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7284 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7285 since GetType() may not return the correct type if the object is
7288 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7290 * TreeNodeCollection.cs: fixes get/set item ranges
7292 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7294 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7296 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7298 * ComboBox.cs: Fix item range comparation
7299 * ListView.cs: Fix item range comparation
7301 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7304 - Clear example panel when OnPaint is called
7305 - Better solution for displaying the example panel text
7306 - Select default indexes in the ListBoxes
7308 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7310 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7312 2005-05-11 Peter Bartok <pbartok@novell.com>
7314 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7315 * SelectionRangeConverter.cs: Implemented
7316 * PropertyGrid.cs: Fixed attribute value
7318 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7319 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7320 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7321 that's common to all drivers. First methods to go there are
7322 Sebastien Pouliot's CAS Stack Propagation helper methods
7323 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7324 Sebastien Pouliot for CAS Stack Propagation
7326 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7329 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7331 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7333 * DataGridTextBoxColumn.cs: fixed some members
7334 * GridColumnStylesCollection.cs: indexed column is case insensitive
7335 * DataGridTableStyle.cs: fixes
7336 * ThemeWin32Classic.cs: add new theme parameter
7337 * Theme.cs: add new theme parameter
7338 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7339 * DataGrid.cs: fixes, new internal properties, etc.
7340 * DataGridColumnStyle.cs: allows to set grid value
7343 2005-05-10 Peter Bartok <pbartok@novell.com>
7345 * AccessibleObject.cs:
7346 - Removed MonoTODO attribute on help, method is correct
7347 - Fixed Bounds property
7348 * AxHost.cs: Moved MonoTODO
7349 * ButtonBase.cs: Now setting AccessibleObject properties
7350 * RadioButton.cs: Setting proper AccessibleObject role
7351 * CheckBox.cs: Setting proper AccessibleObject role
7352 * ControlBindingsCollection.cs: Added properties, methods and attributes
7353 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7354 userdefined DataFormats.Format items as well
7355 * ListControl.cs: Removed data_member from the public eye
7356 * OpenFileDialog.cs:
7358 - Added missing attributes
7359 * SaveFileDialog.cs: Added missing attributes
7360 * ImageListStreamer.cs: Fixed code that caused warnings
7361 * LinkLabel.cs: Removed unreachable code
7362 * TreeView.cs: Fixed code that caused warnings
7363 * PropertyGridView.cs: Fixed code that caused warnings
7364 * GridColumnStylesCollection.cs: Added missing attributes
7365 * GridTableStylesCollection: Added missing attribute
7366 * PropertyManager: Added .ctor
7367 * SecurityIDType: Added
7368 * DataObject.cs: Implemented class
7369 * LinkArea.cs: Added missing attribute
7371 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7373 * RadioButton.cs: call base method to allow to fire OnClick event
7374 * UpDownBase.cs: OnMouseUp call base method
7375 * CheckedListBox.cs: call base method before returning
7376 * TrackBar.cs: call base method before returning
7379 2005-05-10 Peter Bartok <pbartok@novell.com>
7381 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7384 2005-05-10 Peter Bartok <pbartok@novell.com>
7386 * DataFormats.cs: Implemented
7387 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7388 XplatUIX11.cs: Added Clipboard APIs
7389 * XplatUIWin32.cs: Implemented Clipboard APIs
7390 * FolderBrowserDialog.cs: Added missing event, attributes
7392 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7394 * CheckBox.cs: call base method to allow to fire OnClick event
7396 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7398 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7400 2005-05-06 Peter Bartok <pbartok@novell.com>
7402 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7403 * Screen.cs: Implemented
7404 * HelpNavigator.cs: Added
7405 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7407 * HelpProvider.cs: Implemented all we can do until we have a CHM
7408 help library (which means that "What's This" does work now)
7410 2005-05-06 Jackson Harper <jackson@ximian.com>
7412 * XplatUIX11.cs: Fix waking up the main loop.
7414 2005-05-05 Peter Bartok <pbartok@novell.com>
7416 * XplatUI.cs: Updated revision
7417 * Form.cs: Removed enless loop
7418 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7419 * Label.cs (OnPaint): Added call to base.OnPaint()
7420 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7421 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7422 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7424 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7425 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7426 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7427 reuse of ToolTipWindow by other controls
7428 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7429 * XplatUIX11.cs: Now clipping drawing area (experimental)
7430 * PictureBox.cs: Moved base.OnPaint() call to end of method
7431 * Theme.cs: Fixed ToolTip abstracts to match new format
7432 * ErrorProvider.cs: Implemented
7434 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7436 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7440 - Implements LinkBehavior
7443 2005-05-03 Jackson Harper <jackson@ximian.com>
7445 * ListView.cs: Calculate the scrollbar positioning on resize and
7446 paint, so they get put in the correct place.
7448 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7450 * ColorDialogs.cs: The small color panels are now handled by
7451 SmallColorControl. This fixes drawing of the focus rectangle
7452 and adds a 3D border.
7454 2005-05-03 Peter Bartok <pbartok@novell.com>
7456 * Control.cs: Modified version of Jonathan Chamber's fix for
7459 2005-05-03 Jackson Harper <jackson@ximian.com>
7461 * ListView.cs: Remove redraw variable. Control now handles whether
7462 or not a redraw needs to be done, and will only raise the paint
7463 event if redrawing is needed.
7465 2005-05-03 Jackson Harper <jackson@ximian.com>
7467 * Splitter.cs: No decorations for the splitter form. Cache the
7470 2005-05-03 Jackson Harper <jackson@ximian.com>
7472 * TreeView.cs: Use dashed lines to connect nodes. Use the
7473 ControlPaint method for drawing the focus rect instead of doing
7476 2005-05-02 Peter Bartok <pbartok@novell.com>
7478 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7480 2005-04-29 Jackson Harper <jackson@ximian.com>
7482 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7483 entire image buffer. Just clear the clipping rectangle.
7485 2005-04-29 Jackson Harper <jackson@ximian.com>
7487 * ThemeWin32Classic.cs: Don't draw list view items that are
7488 outside the clipping rectangle.
7490 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7492 * ListBox.cs: added horizontal item scroll
7494 2005-04-29 Jackson Harper <jackson@ximian.com>
7496 * ThemeWin32Classic.cs: Remove some old debug code that was
7497 causing flicker with the new double buffering code.
7499 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7501 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7502 behave like combobox and comboboxlist (still not sure if this is
7505 2005-04-28 Jackson Harper <jackson@ximian.com>
7507 * ThemeWin32Classic.cs: Don't fill the middle of progress
7508 bars. This fills areas outside of the clip bounds that don't need
7511 2005-04-28 Jackson Harper <jackson@ximian.com>
7513 * Control.cs: Don't expose functionality to touch the image buffers.
7515 * ListView.cs: We do not need to (and no longer can) manipulate
7516 the image buffers directly. All of this is handled by Control.
7518 2005-04-28 Peter Bartok <pbartok@novell.com>
7520 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7521 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7522 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7524 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7527 - Adjust control's height for non-simple comboboxes (bug fix)
7529 * MenuAPI.cs: remove unused var
7530 * ScrollBar.cs: remove unsed var
7532 * ListBox.cs: unselect items when clearing
7534 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7536 * ListControl.cs: honors OnPositionChanged and default Selected Item
7537 * ListBox.cs: unselect items when clearing
7539 2005-04-27 Jackson Harper <jackson@ximian.com>
7541 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7542 if a "correct" keyboard is not found. This will make us not crash,
7543 but might give some users bad keyboard layouts...seems to be the
7544 same thing rewind does.
7546 2005-04-27 Jackson Harper <jackson@ximian.com>
7548 * BindingManagerBase.cs: Attach the current/position changed
7549 handlers to their respective events.
7551 2005-04-27 Jackson Harper <jackson@ximian.com>
7553 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7555 * ThemeWin32Classic.cs: Don't fill the background for picture
7556 boxes. This could overright user drawing.
7557 * ComboBox.cs: Just fill the clipping rect not the entire client
7558 rect when drawing the background. This prevents pieces of the
7559 image buffer from getting overwritten and is theoretically faster.
7561 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7563 * ComboBox.cs: Databinding support fixes, fire missing events
7564 * ListControl.cs: implement missing methods and properties, fixes
7565 * ThemeWin32Classic.cs: Databiding support on Drawing
7566 * CheckedListBox.cs: Databinding support fixes, fire missing events
7567 * ListBox.cs: Databinding support fixes, fire missing events
7569 2005-04-25 Peter Bartok <pbartok@novell.com>
7571 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7573 2005-04-25 Jackson Harper <jackson@ximian.com>
7575 * TreeView.cs: Use the horizontal scrollbars height not width when
7576 determining how much of the client area is available.
7578 2005-04-25 Jackson Harper <jackson@ximian.com>
7580 * Control.cs: Double buffering is handled differently now. As per
7581 the spec, the extra buffer is created in the WM_PAINT message and
7582 passed down to the control's drawing code.
7590 * PropertyGridView.cs:
7602 * DateTimePicker.cs:
7604 * TreeView.cs: Update to new double buffering system.
7605 * MonthCalendar.cs: Uncomment block, as Capture is now
7606 working. Update to new double buffering
7607 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7608 * PaintEventArgs.cs: New internal method allows us to set the
7609 graphics object. This is used for double buffering.
7610 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7611 rectangle. The internal paint_area var has been removed from
7612 StatusBar. The clipping rect should be used instead.
7613 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7614 * TabPage.cs: The RefreshTabs method was removed, so just call the
7615 tab controls Refresh method now.
7616 * TabControl.cs: Update to new double buffering. Make sure the
7617 handle is created before sizing the tab pages, otherwise we will
7618 get stuck in a loop.
7620 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7622 * LinkLabel.cs: Fix typo, bug #74719; patch
7623 from Borja Sanchez Zamorano
7625 2005-04-22 Jackson Harper <jackson@ximian.com>
7627 * TreeNode.cs: Implement Handle stuff.
7628 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7630 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7632 * DataGridTextBoxColumn.cs: call base constructors, fixes
7633 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7634 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7635 * DataGridTableStyle.cs: implements create default column styles
7636 * DataGridBoolColumn.cs: which types can handle
7637 * DataGrid.cs: missing methods, fixes, new functionality
7638 * DataGridColumnStyle.cs: fixes
7640 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7641 * FolderBrowserDialog.cs:
7642 - Use a thread to fill the TreeView
7643 - Adjusted some sizes
7645 2005-04-19 Peter Bartok <pbartok@novell.com>
7647 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7648 property. Fixes #74360.
7650 2005-04-19 Jackson Harper <jackson@ximian.com>
7652 * XEventQueue.cs: Lock when getting the lockqueue size.
7653 * PictureBox.cs: Call base OnPaint
7655 2005-04-19 Peter Bartok <pbartok@novell.com>
7657 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7658 messages were no longer being processed (this broke BeginInvoke)
7661 2005-04-18 Jackson Harper <jackson@ximian.com>
7663 * TreeView.cs: buglet that caused node images to get drawn
7664 regardless of whether or not they were in the clipping rectangle.
7666 2005-04-18 Jackson Harper <jackson@ximian.com>
7668 * CurrencyManager.cs: There are four rules for GetItemProperties:
7669 - If the type is an array use the element type of the array
7670 - If the type is a typed list, use the type
7671 - If the list contains an Item property that is not an object, use
7673 - use the first element of the list if there are any elements in
7676 2005-04-17 Jackson Harper <jackson@ximian.oom>
7678 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7679 click. This handles offsets for scrolling properly and reduces
7680 memory. Also fixed GetNode to not offset now that TopNode works
7682 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7684 2005-04-17 Jackson Harper <jackson@ximian.com>
7686 * CursorConverter.cs: Initial implementation.
7688 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7690 * ListControl.cs: work towards complex data binding support on ListControl
7691 * CurrencyManager.cs: work towards complex data binding support on ListControl
7692 * ListBox.cs: work towards complex data binding support on ListControl
7695 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7697 * GridTableStylesCollection.cs: fixes name and constructor
7698 * DataGridTableStyle.cs: fixes
7699 * DataGridBoolColumn.cs: fixes names and constructors
7700 * DataGrid.cs: define methods and properties. Some init implementations
7701 * DataGridCell.cs: define methods and properties. Some init implementations
7702 * GridTablesFactory.cs: Define methods and properties
7704 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7706 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7707 graphics port changes. We still want the coordinates in global screen
7710 2005-04-14 Jackson Harper <jackson@ximian.com>
7712 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7713 check plus minus or checkbox clicks unless those features are enabled.
7715 2005-04-14 Jackson Harper <jackson@ximian.com>
7717 * TreeView.cs: Add methods for setting the top and bottom visible
7718 nodes. TreeNode::EnsureVisible uses these methods.
7719 * TreeNode.cs: Implement EnsureVisible
7721 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7723 * Form.cs: Pospone menu assignation if the window has not been created yet
7724 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7727 2005-04-12 Jackson Harper <jackson@ximian.com>
7729 * TreeView.cs: Set the TopNode properly when scrolling
7730 occurs. This has the added benifit of reducing the amount of
7731 walking that needs to be done when drawing. Also removed an old
7733 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7735 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7737 * Timer.cs: fixes interval setting when the timer is already enabled
7739 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7741 * FolderBrowserDialog.cs: First approach
7743 2005-04-09 Peter Bartok <pbartok@novell.com>
7745 * FolderBrowserDialog: Added
7747 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7749 * LinkLabel.cs: move drawing code into the theme
7750 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7751 * Theme.cs: define DrawLinkLabel method
7753 2005-04-05 Jackson Harper <jackson@ximian.com>
7755 * BindingContext.cs: Use weak references so these bad actors don't
7756 stay alive longer then they need to.
7758 2005-04-05 Jackson Harper <jackson@ximian.com>
7760 * ListControl.cs: Basic implementation of complex databinding.
7762 * ListBox.cs: Add calls to ListControl databinding methods.
7764 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7767 - Don't change PopupButtonState to Normal when the
7768 PopupButton gets pressed several times.
7769 - Renamed ButtonPanel to PopupButtonPanel
7771 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7773 * ColorDialog.cs: Use cached objects instead of creating them
7774 * LinkLabel.cs: Use cached objects instead of creating them
7775 * Splitter.cs: Use cached objects instead of creating them
7776 * FontDialog.cs: Use cached objects instead of creating them
7777 * PropertyGridView.cs: Use cached objects instead of creating them
7778 * MessageBox.cs: Use cached objects instead of creating them
7779 * FileDialog.cs: Use cached objects instead of creating them
7780 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7781 * TreeView.cs: Use cached objects instead of creating them
7783 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7785 * Control.cs: use Equals to compare the font since no == op
7786 * ScrollBar.cs: use Equals to compare the font since no == op
7788 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7790 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7792 2005-04-01 Jackson Harper <jackson@ximian.com>
7794 * Binding.cs: Implement IsBinding.
7795 * BindingManagerBase.cs:
7796 * PropertyManager.cs:
7797 * CurrencyManager.cs: Add IsSuspended property.
7799 2005-04-01 Jackson Harper <jackson@ximian.com>
7801 * Binding.cs: Had some IsAssignableFrom calls backwards.
7803 2005-04-01 Jackson Harper <jackson@ximian.com>
7805 * Binding.cs: Handle null data members when pulling data.
7806 * PropertyManager.cs: Handle the data member being a property that
7809 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7811 * DataGridTextBoxColumn.cs: fixes signature
7812 * DataGrid.cs: calls right constructor
7814 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7816 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7817 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7818 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7819 * DataGridTableStyle.cs: implements DataGridTableStyle
7820 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7821 * DataGridTextBox.cs: implements DataGridTextBox
7822 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7824 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7826 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7828 2005-03-29 Peter Bartok <pbartok@novell.com>
7831 - Properly implemented CompanyName property
7832 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7833 returns a path that includes CompanyName, ProductName and
7834 Version (fixes bug #70330)
7836 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7838 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7841 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7843 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7845 - Added ReadOnly CheckBox
7846 - Further refactoring: moved some code from Open-/SaveFileDialog
7849 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7851 * OpenFileDialog.cs: Fixed CheckFileExists
7853 Moved FileView and DirComboBox outside FileDialog class.
7854 They can now be used outside FileDialog
7856 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7858 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7859 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7861 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7863 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7864 - Added missing CreatePrompt property in SaveDialog
7865 - Overall SaveDialog handling should be better now
7866 - Added non standard ShowHiddenFiles property
7867 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7868 - Added InitialDirectory and RestoreDirectory support
7870 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7872 * FileDialog.cs: Made dirComboBox usable
7874 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7876 * FileDialog.cs: Added Filter support (case sensitiv)
7878 2005-03-24 Jackson Harper <jackson@ximian.com>
7880 * TabControl.cs: Need a couple more pixels for the lines.
7882 2005-03-23 Jackson Harper <jackson@ximian.com>
7884 * TabControl.cs: Give the tab page focus when it is selected.
7886 2005-03-23 Jackson Harper <jackson@ximian.com>
7888 * TabControl.cs: Account for the drawing of tabs borders when
7889 invalidating. If the slider was clicked dont do click detection on
7892 2005-03-23 Jackson Harper <jackson@ximian.com>
7894 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7896 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7898 * CategoryGridEntry.cs: Added
7899 * GridItem.cs: Added helper properties
7900 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7901 * GridEntry.cs: Updated code for collection
7902 * PropertyGrid.cs: Cleaned up some formatting
7903 * PropertyGridView.cs: Added drop down functionality for enums.
7904 * GridItemCollection.cs: Added enumerator logic
7905 * PropertyGridEntry.cs: Added
7907 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7910 - Removed unnecessary commented code
7911 - Fixed handling for entering the filename manually in the combobox
7913 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7915 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7917 2005-03-18 Peter Bartok <pbartok@novell.com>
7919 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7920 them being touching the border
7922 2005-03-18 Peter Bartok <pbartok@novell.com>
7924 * TextControl.cs: Quick hack to center text better
7926 2005-03-18 Peter Bartok <pbartok@novell.com>
7929 - Don't throw NotImplemented exceptions, just print a notice once
7930 instead (requested by Miguel). This makes running existing SWF
7933 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7934 - Added context menu trigger on right click
7935 * Panel.cs: Trigger invalidate on resize
7937 - Removed old double-buffer drawing
7938 - Added ResizeRedraw style to force proper update of statusbar
7940 - Removed debug output
7941 * ThemeWin32Classic.cs:
7942 - Fixed drawing of status bar, now draws Text property if there
7943 are no defined panels
7945 2005-03-18 Jackson Harper <jackson@ximian.com>
7947 * ImageList.cs: When the image stream is set pull all the images
7949 * ImageListStreamer.cs: Implement reading image list streams.
7951 2005-03-18 Peter Bartok <pbartok@novell.com>
7953 * ThemeWin32Classic.cs (DrawPictureBox):
7954 - Fixed calculations for centered drawing
7955 - Fixed drawing for normal mode, not scaling the image on normal
7957 2005-03-18 Peter Bartok <pbartok@novell.com>
7959 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7962 - Made Open/Save button the accept button for FileDialog
7963 - Tied the cancel button to the IButtonControl cancel button
7964 - Save/Open now properly builds the pathname
7965 - Now handles user-entered text
7966 - Preventing crash on right-click if no item is selected
7967 - Fixed Text property, now uses contents of textbox
7968 - Fixed SelectedText property, now just returns the text part that
7969 is selected in the text box
7971 2005-03-18 Jackson Harper <jackson@ximian.com>
7973 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7974 rect, make sure to de-adjust the interior rect after drawing the
7977 2005-03-18 Peter Bartok <pbartok@novell.com>
7979 * MenuAPI.cs: Remove menu *before* executing selected action to
7980 prevent the menu from 'hanging around'
7982 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7984 * XplatUIOSX.cs: Implemented WorkingArea property
7986 2005-03-17 Peter Bartok <pbartok@novell.com>
7988 * XplatUIX11.cs: Fixed menu coord calculations
7989 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7990 for calculating offsets
7992 2005-03-17 Peter Bartok <pbartok@novell.com>
7994 * Hwnd.cs: Do not consider menu presence for default client
7995 rectangle location/size
7996 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7997 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7998 translation functions
7999 * FileDialog.cs: Fixed (what I presume is a) typo
8001 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8003 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8004 X access (avoids X-Async errors)
8006 2005-03-16 Jackson Harper <jackson@ximian.com>
8008 * TabControl.cs: Raise the SelectedIndexChanged event.
8010 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8012 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8013 - Removed vertical ToolBar and replaced it with a custom panel
8014 (desktop and home button already work)
8015 - Added Help button (some controls get resized or relocated then)
8016 - Draw correct text depending on Open or Save.
8017 - Fixed some typos...
8019 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8022 - Only change Maximum and Minimum when need it (bug fix)
8024 2005-03-15 Peter Bartok <pbartok@novell.com>
8026 * Form.cs: Use Handle for icon, to trigger creation if
8027 the window does not yet exist
8029 - CanSelect: Slight performance improvement
8030 - Focus(): Preventing possible recursion
8031 - Invalidate(): Removed ControlStyle based clear flag setting
8032 - WM_PAINT: fixed logic for calling OnPaintBackground
8033 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8034 EraseWindowBackground if the control doesn't paint background
8036 - Moved EraseWindowBackground() method to internal methods
8037 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8038 is sent via SendMessage on BeginPaint call on Win32
8040 - Added EraseWindowBackground() method
8041 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8042 PaintEventStart, which more closely matches Win32 behaviour
8043 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8044 - Fixed SetFocus() to properly deal with client and whole windows
8045 * Hwnd.cs: Added ErasePending property
8046 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8047 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8049 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8052 - Fix hard loop when timers exist.
8053 - Fix bugs with middle and right click for 3 button mice.
8055 2005-03-11 Peter Bartok <pbartok@novell.com>
8058 - get_WorkingArea: Need to call X directly, GetWindowPos only
8059 returns cached data now
8060 - Added sanity check to GetWindowPos hwnd usage
8062 2005-03-11 Jackson Harper <jackson@ximian.com>
8064 * BindingManagerBase.cs: This method isn't used anymore as
8065 PullData now updates the data in the control.
8067 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8069 * Form.cs: fixes menu drawing on X11
8070 * MenuAPI.cs: fixes menu drawing on X11
8072 2005-03-11 Peter Bartok <pbartok@novell.com>
8074 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8075 from Jonathan Gilbert; should fix bug #73606
8076 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8077 in Screen coordinates. Thanks, Jordi.
8078 * Form.cs: Added missing attribute
8080 2005-03-11 Peter Bartok <pbartok@novell.com>
8083 - Rudimentary Mdi support
8084 - Removed outdated FormParent code
8085 - Implemented lots of missing properties and methods, still missing
8086 transparency support
8087 - Added missing attributes
8088 - Implemented support for MaximumBounds
8089 - Added firing of various events
8090 * XplatUI.cs: Added SetIcon() method
8091 * XplatUIDriver.cs: Added SetIcon() abstract
8092 * XplatUIOSX.cs: Stubbed out SetIcon() method
8094 - Implemented SetIcon() support
8095 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8096 - Switched to unix line endings
8098 - Made POINT internal so for can access it as part of MINMAX
8099 - Implemented SetIcon() support
8100 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8101 native Mdi support again, might have to go managed)
8102 * Control.cs: Now fires the StyleChanged event
8103 * MdiClient.cs: Added; still mostly empty
8105 2005-03-10 Peter Bartok <pbartok@novell.com>
8107 * SaveFileDialog.cs: Added emtpy file
8109 2005-03-08 Peter Bartok <pbartok@novell.com>
8111 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8112 in turn triggers OnCreateContro) when creating a handle for the
8114 * TextControl.cs: Fixed endless loop in certain cases when
8115 replacing the current selection
8117 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8120 - Honors NewValue changes in Scroll events allowing apps to change it
8121 - Adds First and Last Scroll events
8122 - Fixes Thumb events
8124 2005-03-07 Peter Bartok <pbartok@novell.com>
8126 * Hwnd.cs: Added DefaultClientRectangle property
8127 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8128 more detailed debug information
8130 - Fixed size-change feedback loop, where we would pull an old size
8131 off the queue and mistakenly change our window's size to an
8133 - Now compressing ConfigureNotify events, to reduce looping and
8135 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8138 2005-03-07 Jackson Harper <jackson@ximian.com>
8140 * Binding.cs: Push data pushes from data -> property. Check if the
8141 property is readonly when attempting to set it.
8143 2005-03-07 Jackson Harper <jackson@ximian.com>
8145 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8146 instead of IsSubclassOf. Pulling data now sets the value on the
8148 * PropertyManager.cs:
8149 * CurrencyManager.cs: Just need to pull data when updating now,
8150 because PullData will set the value on the control.
8152 2005-03-04 Jackson Harper <jackson@ximian.com>
8154 * Binding.cs: Implement data type parsing and converting on pulled
8155 data. TODO: Are there more ways the data can be converted?
8157 2005-03-04 Jackson Harper <jackson@ximian.com>
8159 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8160 controls Validating method so we can repull the data when the
8161 control loses focus.
8163 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8166 - Fixes null string format
8169 - Adds enum type checks
8170 - Fixes redrawing and recalc need after changing some properties
8171 - Fixes on focus_item set after the event
8172 - Fixes adding columns after the control has been created
8174 * ThemeWin32Classic.cs:
8175 - Fixes CheckBox focus rectangle
8176 - Fixes ColumnHeader drawing
8179 2005-03-03 Jackson Harper <jackson@ximian.com>
8181 * Binding.cs: Bind to <Property>Changed events so we can detect
8182 when properties are changed and update the data.
8184 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8187 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8188 - Fixes ImageList constructor with ImageList container
8189 - Fixes image scaling (wrong parameters at DrawImage)
8191 2005-02-02 Jackson Harper <jackson@ximian.com>
8193 * Binding.cs: Make property searches case-insensitive. Eliminate
8194 some duplicated code.
8196 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8199 - Handle focus event
8200 - Fix scrollbar events
8201 - Discard highlighted item if remove it
8202 - Fixes SelectedItem with strings
8204 2005-03-01 Peter Bartok <pbartok@novell.com>
8207 - Fixed Visible property, now follows (once again) parent chain
8208 to return false if any control in the chain is visible=false
8209 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8210 - Fixed several places where is_visible instead of Visible was used
8211 - Implemented FIXME related to focus selection when setting focused
8212 control to be invisible
8214 * XplatUIWin32.cs: Now using proper method to find out if window is
8215 visible. Thanks to Jordi for pointing it out
8217 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8219 * ComboBox.cs: show/hide scrollbar instead of creating it
8221 2005-02-27 Jackson Harper <jackson@ximian.com>
8223 * CurrencyManager.cs: Add PositionChanged stuff.
8225 2005-02-27 Peter Bartok <pbartok@novell.com>
8227 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8228 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8229 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8231 - Implemented GetMenuDC()
8232 - Implemented GetMenuOrigin()
8233 - Implemented ReleaseMenuDC()
8234 - Implemented generation of WM_NCPAINT message
8235 - Implemented generation and handling of WM_NCCALCSIZE message
8236 * Form.cs: Added debug helper message for Jordi's menu work
8238 - Modified ClientRect property; added setter, fixed getter to handle
8239 setting of ClientRect
8240 - Added MenuOrigin property
8242 2005-02-26 Peter Bartok <pbartok@novell.com>
8245 - Destroys the caret if a window that's being destroyed contains it
8246 - Ignores expose events coming from the X11 queue for windows that
8247 already are destroyed
8248 - Now uses the proper variable for handling DestroyNotify, before we
8249 marked the wrong window as destroyed
8250 - Improved/added some debug output
8252 2005-02-26 Peter Bartok <pbartok@novell.com>
8254 * X11Keyboard.cs: Fixes to work on 64bit systems
8256 2005-02-26 Peter Bartok <pbartok@novell.com>
8259 - Now calling OnHandleDestroyed from DestroyHandle()
8260 instead of Dispose()
8261 - Removed bogus call to controls.Remove() from DestroyHandle()
8263 2005-02-26 Peter Bartok <pbartok@novell.com>
8265 * Control.cs: Properly destroy child windows when our handle is
8268 2005-02-25 Peter Bartok <pbartok@novell.com>
8271 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8272 - Alphabetized Static Methods and Subclasses
8275 - Added XException class to allow custom handling of X11 exceptions
8276 - Created custom X11 error handler, tied into XException class
8277 - Added support for MONO_XEXCEPTIONS env var to allow the user
8278 to either throw an exception on X errors or continue running
8279 after displaying the error
8280 - Added handling of DestroyNotify message
8281 - Added handler for CreateNotify message (still disabled)
8282 - Improved (tried to at least) Where method to provide file and lineno
8284 - Added XErrorHandler delegate
8285 - Added XRequest enumeration (to suppor translation of errors)
8287 2005-02-25 Jackson Harper <jackson@ximian.com>
8289 * PropertyManager.cs: Implement editing features
8290 * CurrencyManager.cs:
8291 * Binding.cs: First attempt at UpdateIsBinding
8292 * BindingManagerBase.cs: Call UpdateIsBinding before
8293 pushing/pulling data.
8295 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8297 * MenuAPI.cs: Respect disabled items
8298 * ThemeWin32Classic.cs
8299 - Caches ImageAttributes creation for DrawImageDisabled
8300 - Fixes vertical menu line drawing
8301 - Draws disabled arrows in disable menu items
8303 2005-02-24 Peter Bartok <pbartok@novell.com>
8306 - Added UserData property to allow associating arbitrary objects
8308 - Fixed leak; now removing Hwnd references from static windows array
8310 - Fixed Graphics leak in PaintEventEnd
8311 - Removed usage of HandleData, switched over to Hwnd class
8312 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8314 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8316 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8317 * ScrollBar.cs: Fixes bug
8318 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8319 keyboard navigation enhancements
8321 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8323 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8324 * GroupBox.cs: Add control styles
8325 * Label.cs: Add control styles
8326 * UpDownBase.cs: Add control styles
8327 * ListBox.cs: Add control styles
8328 * XplatUIWin32.cs: Fixes wrong parameter order
8331 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8333 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8335 2005-02-23 Jackson Harper <jackson@ximian.com>
8337 * PropertyManager.cs: Implement property binding. This doesn't
8338 seem to work yet though as (I think) there are some bugs in
8339 System.ComponentModel.PropertyDescriptor.
8340 * BindingContext.cs: Use new PropertyManager constructor.
8342 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8344 * ProgressBar.cs: use clip region in ProgressBar
8345 * ThemeWin32Classic.cs: use clip region in ProgressBar
8347 2004-02-22 Jackson Harper <jackson@ximian.com>
8349 * BindingsCollection.cs: Remove some debug code.
8351 2005-02-22 Jackson Harper <jackson@ximian.com>
8353 * BindingContext.cs:
8354 * ControlBindingsCollection.cs:
8355 * CurrencyManager.cs:
8357 * BindingManagerBase.cs: Initial implementation
8358 * BindingsCollection.cs: Add an internal contains method that the
8359 BindingManagerBase uses to ensure bindings aren't added twice to
8361 * PropertyManager.cs: Stubbed out.
8363 * ContainerControl.cs: Hook up databinding
8365 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8368 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8369 Fixed Invalidate/Update chain.
8370 Fixed tons of other minor bugs (this is almost a complete rewrite).
8372 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8374 * ComboBox.cs: do subcontrol creation when the control is created
8376 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8378 * Label.cs: fixes image drawing (image and imagelist)
8379 * ThemeWin32Classic.cs: cache brushes
8381 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8383 * Form.cs: Move menu drawing code to Theme class
8384 * ComboBox.cs: Move ComboBox drawing code to Theme class
8385 * MenuItem.cs: Move menu drawing code to Theme class
8386 * MenuAPI.cs: Move menu drawing code to Theme class
8387 * ThemeWin32Classic.cs: New methods
8388 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8389 * ListBox.cs: Move Listbox drawing code to Theme class
8390 * Theme.cs: New methods
8392 2005-02-20 Peter Bartok <pbartok@novell.com>
8395 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8396 only process mnemonics on those)
8397 - Fixed event sequence for key handling; first calling
8398 ProcessKeyEventArgs now
8400 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8401 for processing non-character keys
8402 - Fixed WM_CHAR to generate proper event sequence before processing
8403 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8406 2005-02-19 Peter Bartok <pbartok@novell.com>
8408 * UserControl.cs: Added TextChanged event; added attributes
8409 * SizeGrip.cs: Implemented resizing and optional display of grip
8410 * Form.cs: Fixed attribute
8411 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8412 Changed meaning of ScrollWindow bool argument; instead of the
8413 clear attribute (which will be true usually anyway), it gives the
8414 option of moving child controls as well.
8416 - Changed to match new ScrollWindow argument
8417 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8418 now handles the implicit parent window a WM puts around us
8419 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8421 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8422 * TreeView.cs: Adjusted to new ScrollWindow arguments
8424 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8426 * Form.cs: Menu integration with non-client area
8427 * MenuItem.cs: Menu integration with non-client area
8428 * MenuAPI.cs: Menu integration with non-client area
8430 2005-02-18 Peter Bartok <pbartok@novell.com>
8432 * MethodInvoker.cs: Added
8433 * MdiLayout.cs: Added
8434 * SendKeys.cs: Started implementation
8435 * ErrorIconAlignment.cs: Added
8437 2005-02-18 Peter Bartok <pbartok@novell.com>
8439 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8440 * Form.cs: Added handling for Menu-related Non-client messages
8442 2005-02-17 Peter Bartok <pbartok@novell.com>
8444 * UpDownBase.cs: Fixed typo, compilation errors
8445 * DomainUpDown.cs: Fixed attribute value
8447 2005-02-16 Miguel de Icaza <miguel@novell.com>
8449 * UpDownBase.cs: Attach entry events.
8451 Add ForeColor property, Focused, InterceptArrowKeys (interception
8454 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8457 - Redraw non client are on Setmenu
8458 - Calc proper menu starting point
8460 2005-02-17 Peter Bartok <pbartok@novell.com>
8462 * Application.cs: Fixed message_filter check
8464 2005-02-17 Peter Bartok <pbartok@novell.com>
8466 * Application.cs: Now calls registered message filters
8467 * DockStyle.cs: Fixed attribute
8468 * Form.cs: Fixed attribute
8469 * Menu.cs: Fixed attribute
8470 * ToolTip.cs: Fixed attribute
8471 * TreeNode.cs: Added missing attributes and arranged in regions
8472 * PropertyGrid.cs: Fixed signatures
8473 * TreeNodeCollection.cs: Added attributes
8474 * Splitter.cs: Added missing attributes; arranged into regions
8475 * TabPage.cs: Added missing attributes; arranged into regions
8476 * TextBoxBase.cs: Added missing attributes
8477 * TextBox.cs: Added missing attributes
8478 * ArrangeDirection.cs: Added missing attributes
8479 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8480 * ToolBarButton.cs: Fixed attributes
8481 * AnchorStyles.cs: Fixed attribute
8482 * TrackBar.cs: Fixed attributes
8483 * TabControl.cs: Added missing attributes and arranged into regions
8484 * ToolBar.cs: Fixed attribute
8485 * StatusBar.cs: Fixed signature, organized into regions and added
8487 * StatusBarPanel.cs: Fixed attributes
8488 * ContentsResizedEventArgs.cs: Implemented
8489 * ContentsResizedEventHandler.cs: Implemented
8490 * DateBoldEventArgs.cs: Implemented
8491 * DateBoldEventHandler.cs: Implemented
8492 * UpDownEventArgs.cs: Implemented
8493 * UpDownEventHandler.cs: Implemented
8495 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8497 * Form.cs: first Menu NC refactoring
8498 * MenuAPI.cs: first Menu NC refactoring
8500 2005-02-16 Peter Bartok <pbartok@novell.com>
8502 * ImeMode.cs: Added missing attributes
8503 * Menu.cs: Fixed attribute
8504 * GroupBox.cs: Fixed attribute
8505 * Label.cs: Fixed attribute
8506 * ColorDialog.cs (RunDialog): Removed TODO attribute
8507 * ComboBox.cs: Fixed attributes
8508 * ListControl.cs: Added missing attributes
8509 * PropertyGrid.cs: Fixed attributes
8510 * Control.cs: Fixed attributes
8511 * ListViewItem.cs: Added TypeConverter attribute
8512 * NotifyIcon.cs: Fixed attributes
8513 * ListView.cs: Fixed attributes
8514 * ButtonBase.cs: Fixed attribute
8515 * ImageList.cs: Added missing attributes
8516 * ContainerControl.cs: Fixed signature
8517 * CheckedListBox.cs: Fixed attribute; added missing attributes
8518 * Panel.cs: Fixed attributes
8519 * PropertyTabChangedEventArgs.cs: Added missing attribute
8520 * PropertyValueChangedEventArgs.cs: Added missing attribute
8521 * Binding.cs: Fixed attribute
8522 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8523 * ListBox.cs: Fixed attribute; added missing attributes;
8524 * ScrollableControl.cs: Added missing attributes
8525 * PictureBox.cs: Added missing attributes; implemented missing property
8526 * DateTimePicker.cs: Added missing attributes
8527 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8528 * MonthCalendar.cs: Fixed attributes
8529 * StatusBarPanel.cs: Added missing attributes
8530 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8532 2005-02-16 Peter Bartok <pbartok@novell.com>
8534 * TextBoxBase.cs: The previous method to enforce height yet remember
8535 the requested high was less than ideal, this is an attempt to do
8537 * Control.cs: Added comment about possible problem
8538 * Copyright: Updated format
8539 * GridItemType.cs: Fixed swapped values
8541 2005-02-15 Jackson Harper <jackson@ximian.com>
8543 * BaseCollection.cs: Use property so we never access an
8544 uninitialized list. Also initialize the list in the property.
8546 2005-02-15 Peter Bartok <pbartok@novell.com>
8548 * GroupBox.cs (ProcessMnemonic): Implemented
8549 * Label.cs (ProcessMnemonic): Implemented
8550 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8553 2005-02-15 Peter Bartok <pbartok@novell.com>
8555 * RadioButton.cs (ProcessMnemonic): Implemented
8556 * CheckBox.cs (ProcessMnemonic): Implemented
8558 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8560 - Added internal method to allow calling ProcessMnemonic from other
8562 * ContainerControl.cs:
8563 - Started support for handling validation chain handling
8564 - Implemented ProcessMnemonic support
8565 - Added Select() call to Active, to make sure the active control
8567 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8569 * ThemeWin32Classic.cs:
8570 - DrawCheckBox(): Fixed stringformat to show hotkeys
8571 - DrawRadioButton(): Fixed stringformat to show hotkeys
8572 * CommonDialog.cs: Removed WndProc override, not needed
8574 2005-02-14 Peter Bartok <pbartok@novell.com>
8576 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8577 missed those in the rewrite
8579 2005-02-14 Miguel de Icaza <miguel@novell.com>
8581 * NumericUpDown.cs (Increment, ToString): Add.
8582 (DecimalPlaces): implement.
8586 * UpDownBase.cs: Add the designer attributes.
8588 2005-02-13 Peter Bartok <pbartok@novell.com>
8590 * Panel.cs: Removed border_style, now in Control
8591 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8592 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8594 2005-02-13 Peter Bartok <pbartok@novell.com>
8596 * MouseButtons.cs: Added missing attributes
8597 * XplatUIStructs.cs: Added enumeration for title styles
8598 * LeftRightAlignment.cs: Added missing attributes
8599 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8600 it compatible with Graphics.FromHwnd()
8601 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8602 * Keys.cs: Added missing attributes
8603 * SelectionRange.cs: Added missing attributes
8604 * SelectionRangeConverter.cs: Added
8606 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8607 ReleaseMenuDC methods
8608 - Renamed ReleaseWindow to UngrabWindow
8609 - Added proper startup notice to allow version identification
8611 - Added missing attributes
8612 - Removed FormParent concept
8613 * Label.cs: Removed border_style field, now in Control
8614 * RadioButton.cs: Now properly selects RadioButton when focus is
8616 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8618 - Added missing attributes
8619 - Added borderstyle handling
8620 - Removed FormParent concept support
8621 - Fixed calls to XplatUI to match changed APIs
8622 - Fixed bug that would case us to use disposed Graphics objects
8623 - Removed unneeded internal methods
8624 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8625 - SelectNextControl(): Fixed to properly check common parents
8626 * TextBoxBase.cs: Removed border_style field (now in Control)
8628 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8629 fixed calculations for form size
8630 - Added support for localized strings and icons
8631 - Improved form size calculations, added border
8632 * ListView.cs: Removed border_style field (now in Control)
8633 * X11Structs.cs: Moved several structs from X11 driver here
8634 * X11Keyboard.cs: Changed debug message
8635 * Application.cs: Removed FormParent concept support
8637 - Resetting end_modal flag
8638 - Removed FormParent concept support
8639 * NativeWindow.cs: Removed FormParent concept support
8640 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8641 Client area and Non-Client whole window to allow support for WM_NC
8643 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8644 prevent using it until it supports Hwnd as per Geoff Norton's request
8645 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8646 * PictureBox.cs: Removed border_style field, now in Control
8647 * XplatUIWin32.cs: Added new driver methods
8649 2005-02-12 Peter Bartok <pbartok@novell.com>
8651 * OpacityConverter.cs: Implemented
8652 * Hwnd.cs: Internal class to support drivers that need to emulate
8653 client area/non-client area window behaviour
8655 2005-02-11 Peter Bartok <pbartok@novell.com>
8657 * KeysConverter.cs: Implemented
8659 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8661 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8662 * LinkLabel: Added missing attributes
8663 * MainMenu.cs: fixes ToString
8664 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8665 * ListBox.cs: fixes event position
8666 * TrackBar.cs: adds missing attributes and events
8668 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8670 * MenuItem.cs: Use SystemInformation and bug fixes
8671 * MenuAPI.cs: Use SystemInformation and bug fixes
8673 2005-02-09 Jackson Harper <jackson@ximian.com>
8675 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8676 their keystate otherwise things like VK_MENU get stuck "on".
8678 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8680 * ListBox.cs: Fixes AddRange bug
8682 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8685 - Add missing attributes
8686 - Add missing method
8688 * CheckedListBox.cs: Added missing attributes
8689 - Add missing attributes
8690 - Remove extra method
8692 * ComboBox.cs: Added missing attributes
8693 * VScrollBar.cs: Added missing attributes
8694 * ScrollBar.cs: Added missing attributes
8695 * ListBox.cs: Fixes signature, add missing consts
8696 * LinkArea.cs: Added missing attributes
8699 2005-02-08 Peter Bartok <pbartok@novell.com>
8701 * Menu.cs: Added missing attributes
8702 * MainMenu.cs: Added missing attributes
8703 * GroupBox.cs: Added missing attributes
8704 * Label.cs: Added missing attributes
8705 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8707 - Added Instance and Options properties
8708 - Added missing attributes
8709 * Cursor.cs: Made Serializable
8710 * NotifyIcon: Added missing attributes
8711 * MenuItem.cs: Added missing attributes
8712 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8713 * Panel.cs: Added Missing attributes
8714 * MonthCalendar.cs: Fixed CreateParams
8716 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8720 - Fixes issues with links
8721 - Adds the class attributes
8723 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8726 - Fixes button when no items available in dropdown
8727 - Fixes repainting problems
8728 - Adds the class attributes
8730 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8732 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8733 the current theme. Cache these on startup.
8735 2005-02-07 Jackson Harper <jackson@ximian.com>
8737 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8738 the scrollbar buttons when they are depressed.
8740 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8742 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8743 Get the display size from the main displayid. We currently dont
8744 support multiple display configurations.
8746 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8748 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8750 2005-02-07 Miguel de Icaza <miguel@novell.com>
8752 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8754 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8756 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8758 2005-02-04 Jackson Harper <jackson@ximian.com>
8760 * ThemeWin32Classic.cs: Respect the clipping rect when
8761 drawing. Only fill the intersection of clips and rects so there
8762 isn't a lot of large fills.
8763 * ScrollBar.cs: Pass the correct clipping rect to the theme
8764 engine. Remove some debug code.
8766 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8768 * DateTimePicker.cs:
8769 - Fixed crash on DateTime.Parse, use Constructor instead
8771 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8775 - Owner draw support (MeasureItem and DrawItem)
8777 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8780 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8781 - Fixes MenuItems.Add range
8783 - MergeMenu and Clone and CloneMenu functions
8785 2005-02-03 Jackson Harper <jackson@ximian.com>
8787 * ScrollBar.cs: Make abstract
8788 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8791 2005-02-03 Jackson Harper <jackson@ximian.com>
8793 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8794 all the unneeded refreshes and uses invalidates with properly
8797 2005-02-03 Peter Bartok <pbartok@novell.com>
8799 * ComponentModel.cs: Added
8800 * IDataGridEditingService.cs: Added
8801 * Timer.cs: Added missing attributes
8802 * ToolTip.cs: Added missing attributes
8804 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8806 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8808 2005-02-03 Peter Bartok <pbartok@novell.com>
8810 * ListBox.cs: Added missing attributes
8812 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8815 - Fixes font height after font change
8816 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8818 2005-02-02 Peter Bartok <pbartok@novell.com>
8820 * HandleData.cs: Introduced static methods to allow class
8821 to be more self-contained and track it's own HandleData objects
8822 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8823 HandleData to use new static methods
8825 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8828 - Fixes default size and PreferredHeight
8830 - ObjectCollection.Insert implementation
8836 - ObjectCollection.Insert implementation
8837 - No selection after clean
8840 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8842 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8844 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8847 - Caches ItemHeight calculation for OwnerDrawVariable
8848 - Handles dropdown properly
8849 - Fixes several minor bugs
8851 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8854 - Fixes 71946 and 71950
8855 - Fixes changing Multicolumn on the fly
8856 - Fixes keyboard navigation on Multicolumn listboxes
8858 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8860 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8863 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8865 * XplatUIOSX.cs: Allow applications to actually exit.
8867 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8869 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8870 their parent at creation time rather than lazily later. Fixes a major
8871 regression we were experiencing.
8873 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8875 * ThemeWin32Classic.cs: more date time picker painting fixes
8876 * DateTimePicker.cs: more monthcalendar drop down fixes
8877 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8879 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8882 - When moving the thumb going outside the control should stop the moving
8883 - Adds the firing of missing events
8884 - Fixes no button show if Size is not specified
8885 - End / Home keys for keyboard navigation
8887 2005-01-30 Peter Bartok <pbartok@novell.com>
8889 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8890 sanity check to prevent theoretical loop
8891 * XplatUIWin32.cs (SetVisible): Removed debug output
8892 * XplatUIX11.cs (SystrayChange): Added sanity check
8893 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8894 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8895 behaviour, valid until the X11 client window rewrite is done
8896 * TextBox.cs (ctor): Setting proper default foreground and background
8899 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8901 * Theme: Added DrawDateTimePicker to interface
8902 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8903 * DateTimePicker.cs: Created (still needs keys and painting code)
8904 * DateTimePickerFormat.cs: added
8905 * MonthCalendar.cs: fixed CreateParams for popup window mode
8907 2005-01-29 Peter Bartok <pbartok@novell.com>
8909 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8910 this should also the calculations for ligher/darker
8911 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8913 2005-01-29 Peter Bartok <pbartok@novell.com>
8915 * ArrangeDirection.cs: Added
8916 * ArrangeStartingPositon.cs: Added
8917 * SystemInformation.cs: Implemented
8918 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8919 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8920 used by SystemInformation class
8921 * X11Strucs.cs: Added XSizeHints structure
8923 - Fixed CreateParams to make sure the menu window is always visible
8924 - TrackPopupMenu: Added check to make sure we don't draw the
8927 2005-01-29 Peter Bartok <pbartok@novell.com>
8929 * HandleData.cs: Added method for altering invalid area
8930 * TextBoxBase.cs: Implemented TextLength
8932 2005-01-28 Peter Bartok <pbartok@novell.com>
8934 * XplatUIX11.cs: Improvement over last patch, not sending
8935 the WM_PAINT directly anymore, instead we scroll any pending
8936 exposed areas and let the system pick out the WM_PAINT later
8938 2005-01-28 Peter Bartok <pbartok@novell.com>
8940 * SWF.csproj: Deleted, no longer used. Instead,
8941 Managed.Windows.Forms/SWF.csproj should be used
8942 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8943 directly, to avoid a potential race condition with the next
8946 2005-01-28 Peter Bartok <pbartok@novell.com>
8948 * XplatUI.cs: Made class internal
8950 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8952 * CheckedListBox.cs:
8955 - Missing methods and events
8957 2005-01-27 Peter Bartok <pbartok@novell.com>
8959 * Application.cs (Run): Don't use form if we don't have one
8961 2005-01-27 Peter Bartok <pbartok@novell.com>
8963 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8965 2005-01-27 Peter Bartok <pbartok@novell.com>
8967 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8968 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8969 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8970 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8971 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8972 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8973 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8974 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8975 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8976 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8977 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8978 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8980 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8983 - Draw focus on Simple Combobox
8984 - Fixes drawing issues
8987 2005-01-27 Peter Bartok <pbartok@novell.com>
8990 - Place window in default location, instead of hardcoded 0/0
8991 - Send initial LocationChanged event
8993 - UpdateBounds after creation to find out where the WM placed us
8994 - Make sure that if the ParentForm changes location the Form
8996 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8997 to the root, but to whatever the WM placed around us.
8998 Translate to root coordinates before returning toplevel
9000 * XplatUIWin32.cs: Removed debug output
9001 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9002 flag to GetWindowPos, to allow translation of coordinates on X11
9004 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9006 * ListBox.cs: connect LostFocus Event
9008 2005-01-27 Peter Bartok <pbartok@novell.com>
9010 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9011 XplatUIX11.cs: Extended the Systray API
9012 * Form.cs: Removed debug output
9013 * Application.cs: Fixed focus assignment, always need to call
9014 XplatUI.Activate() since Form.Activate() has rules that may
9016 * NotifyIcon.cs: Should be complete now
9017 * ToolTip.cs: Worked around possible timer bug
9019 2005-01-27 Jackson Harper <jackson@ximian.com>
9022 - Only invalidate the effected tabs when the
9023 selected index changes. This reduces drawing and gets rid of some
9025 - Only refresh if the tabs need to be shifted, otherwise only
9026 invalidate the slider button.
9027 - On windows the tabs are not filled to right if the slider is
9030 2005-01-27 Jackson Harper <jackson@ximian.com>
9032 * TabControl.cs: Only refresh on mouseup if we are showing the
9033 slider. Also only invalidate the button whose state has changed.
9035 2005-01-26 Peter Bartok <pbartok@novell.com>
9037 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9038 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9039 and SystrayRemove() methods
9040 * XplatUIOSX.cs: Stubbed Systray methods
9042 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9044 - Fixed broken XChangeProperty calls (marshalling messed up things)
9045 * X11Structs.cs: Added enums and structs required for Size hinting
9046 * NotifyIcon.cs: Added & implemented
9048 2005-01-26 Jackson Harper <jackson@ximian.com>
9050 * TabControl.cs: Space vertically layed out tabs properly.
9052 2005-01-26 Peter Bartok <pbartok@novell.com>
9054 * Form.cs (CreateClientParams): Always set the location to 0,0
9055 since we're a child window.
9057 * Control.cs (SetVisibleCore): Always explicitly setting the location
9058 of a toplevel window, apparently X11 doesn't like to move windows
9059 while they're not mapped.
9061 2005-01-26 Jackson Harper <jackson@ximian.com>
9063 * TabControl.cs: Implement FillToRight size mode with vertically
9066 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9068 * ControlPaint.cs, ThemeWin32Classic.cs
9069 - Fixes DrawFocusRectangle
9071 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9074 - MenuBar tracking only starts when item is first clicked
9075 - Fixes menu hidding for multiple subitems
9076 - Unselect item in MenuBar when item Executed
9079 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9082 - IsInputKey for ListBox
9085 - Shift and Control item selection
9086 - Implement SelectionMode.MultiExtended
9089 - IsInputKey implemented
9090 - Do not generate OnTextChangedEdit on internal txt changes
9092 2005-01-23 Peter Bartok <pbartok@novell.com>
9094 * AccessibleObject.cs: Partially implemented Select()
9095 * MonthCalendar.cs: Added missing attributes and events
9096 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9097 form can properly override CreateParams.
9098 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9099 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9100 Control performs Invalidate & Update
9101 * NativeWindow (CreateHandle): Added special handling for Form
9102 and Form.FormParent classes to allow overriding of From.CreateParams
9104 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9106 - ControlNativeWindow: Added Owner property
9107 - Removed usage of Refresh() on property changes, changed into
9108 Invalidate(), we need to wait until the queue is processed for
9109 updates, direct calls might cause problems if not all vars for
9110 Paint are initialized
9111 - Added call to UpdateStyles() when creating the window, to set any
9112 styles that CreateWindow might have ignored.
9113 - Added support for Form CreateParent overrides to UpdateStyles()
9114 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9115 CreateParams are now properly overridable
9116 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9117 CreateParams are now properly overridable
9119 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9121 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9124 Capture LostFocus and OnTextBoxChanged. The later introduces a
9125 recursive invocation that I have not figured out yet.
9127 Reset the timer when not using (it was accumulating).
9130 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9131 user has made changes that require validation.
9133 Reset changing to avoid loops.
9135 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9137 * NumericUpDown.cs: Display value at startup.
9139 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9142 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9143 filled in. Added some basic parsing of text.
9145 Still missing the OnXXX method overrides, and figuring out the
9146 events that must be emitted.
9148 * UpDownBase.cs: Handle UserEdit on the Text property.
9150 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9153 - Fixes IntegralHeight
9156 2005-01-21 Jackson Harper <jackson@ximian.com>
9158 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9159 is set so that the page visibility is updated and the tabs are
9162 2005-01-21 Jackson Harper <jackson@ximian.com>
9164 * TabControl.cs: Use cliping rectangle for blitting. Give the
9165 theme the clipping rect so we can do clipping while
9166 drawing. Remove some debug code.
9168 2005-01-21 Jackson Harper <jackson@ximian.com>
9170 * TabPage.cs: Add a new method so tab pages can force the tab
9171 control to recalculate the tab page sizes.
9172 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9175 2005-01-20 Jackson Harper <jackson@ximian.com>
9177 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9179 2005-01-20 Jackson Harper <jackson@ximian.com>
9181 * TreeView.cs: Set the bounds for nodes properly. They were
9182 getting screwed up when checkboxes were not enabled, but images
9185 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9188 - Owner draw support
9191 2005-01-20 Jackson Harper <jackson@ximian.com>
9193 * XplatUIStructs.cs: More misc keys
9194 * X11Keyboard.cs: Ignore some control keys.
9196 2005-01-20 Jackson Harper <jackson@ximian.com>
9198 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9199 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9201 2005-01-19 Peter Bartok <pbartok@novell.com>
9203 * Control.cs: Un-selecting the control when it is loosing focus
9205 2005-01-19 Jackson Harper <jackson@ximian.com>
9207 * TreeView.cs: Hook up to the text controls leave event so we can
9208 end editing when the users clicks outside the text box.
9210 2005-01-19 Jackson Harper <jackson@ximian.com>
9212 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9213 get set in the conversion array.
9215 2005-01-19 Peter Bartok <pbartok@novell.com>
9217 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9218 focus is properly set
9220 - Added missing attributes
9221 - removed styles, those are already set in the base class
9223 - Added missing attributes
9224 - Added clip window styles
9225 * CheckBox.cs: Added missing attributes
9227 - FormParentWindow.CreateParams: Added required clip styles
9228 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9229 also filters modifier keys
9231 - Added assignment of Accept and Cancel button to enable Enter
9232 and Esc keys in MessageBox dialogs
9233 - FormParentWindow.CreateParams: Added required clip styles
9234 * RadioButton.cs: Added missing attributes
9235 * TextControl.cs: No longer draws selection if control does not
9238 - Now draws simple rectangle around test area to make it obvious
9239 there's a control. This is a hack until we properly support borders
9240 - A few simple fixes to support selections better, now erases selected
9241 text when typing, and resets selection when using movement keys
9243 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9245 * UpDownBase.cs: Added some new properties.
9247 * DomainUpDown.cs: Implement a lot to get my test working.
9249 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9251 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9253 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9255 * OSXStructs (WindowAttributes): Fixed csc complaints
9257 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9260 OSXStructs.cs: Initial refactor to move enums and consts into
9261 OSXStructs and use them in the driver for greater readability.
9263 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9265 * XplatUIOSX.cs: Initial support for Standard Cursors.
9266 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9268 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9270 * ComboBox.cs: ability to change style when the ctrl is already
9271 created, missing methods and events, bug fixes, signature fixes
9273 2005-01-19 Peter Bartok <pbartok@novell.com>
9275 * Cursors.cs (ctor): Added ctor to fix signature
9277 2005-01-18 Peter Bartok <pbartok@novell.com>
9279 * Button.cs: Implemented DoubleClick event
9281 - Fixed keyboard handling to behave like MS, where the press of
9282 Spacebar is equivalent to a mousedown, and the key release is
9283 equivalent to mouseup. Now a spacebar push will give the same
9284 visual feedback like a mouse click.
9285 - Added missing attributes
9286 - Added ImeModeChanged event
9287 - Added support for generating DoubleClick event for derived classes
9289 - Implemented DoubleClick event
9290 - Added missing attributes
9291 * CommonDialog.cs: Added missing attribute
9292 * ContextMenu.cs: Added missing attributes
9294 - AutoChecked buttons do not allow to be unselected when clicked
9295 (otherwise we might end up with no selected buttons in a group)
9296 - Added missing attributes
9297 - Implemented DoubleClickEvent
9298 * ThreadExceptionDialog.cs: Enabled TextBox code
9300 2005-01-18 Peter Bartok <pbartok@novell.com>
9302 * Form.cs: Removed debug output
9303 * Button.cs: Added support for DoubleClick method
9305 2005-01-18 Peter Bartok <pbartok@novell.com>
9308 - Added method to parent window that allows triggering size
9309 calculations when a menu is added/removed
9310 - set_Menu: Cleaned up mess from early days of Form and Control,
9311 now properly triggers a recalc when a menu is added/removed
9312 - Added case to select form itself as focused form if no child
9314 - Added PerformLayout call when showing dialog, to ensure properly
9317 - Select(): Made internal so Form can access it
9318 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9320 * Application.cs (Run): Removed hack and calls PerformLayout instead
9321 to trigger calculation when Form becomes visible
9323 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9325 * ComboBox.cs: fixes for ownerdraw
9327 2005-01-18 Peter Bartok <pbartok@novell.com>
9330 - Sentinel is no longer static, each Document gets it's own, this
9331 avoids locking or alternatively overwrite problems when more
9332 than one text control is used simultaneously.
9333 - Switched to use Hilight and HilightText brushes for text selection
9335 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9337 2005-01-18 Peter Bartok <pbartok@novell.com>
9340 - Hooked up the following events:
9348 o SystemColorsChanged
9351 - Removed debug output
9352 - Added a call to the current theme's ResetDefaults when a color change
9354 * Form.cs: Now setting the proper ImeMode
9355 * Theme.cs: Defined a method to force recreation of cached resources
9356 and rereading of system defaults (ResetDefaults())
9357 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9359 2005-01-17 Peter Bartok <pbartok@novell.com>
9361 * Control.cs: Added missing attributes
9363 2005-01-17 Jackson Harper <jackson@ximian.com>
9365 * TreeNode.cs: Implement editing. Add missing properties selected
9367 * TreeView.cs: Implement node editing. Also some fixes to use
9368 Invalidate (invalid area) instead of Refresh when selecting.
9370 2005-01-17 Peter Bartok <pbartok@novell.com>
9373 - Implemented InvokeGotFocus() method
9374 - Implemented InvokeLostFocus() method
9375 - Implemented InvokePaint() method
9376 - Implemented InvokePaintBackground() method
9377 - Implemented InvokeClick() method
9378 - Implemented FindForm() method
9379 - Implemented RectangleToClient() method
9380 - Implemented ClientToRectangle() method
9381 - Implemented ResetBackColor() method
9382 - Implemented ResetCursor() method
9383 - Implemented ResetFont() method
9384 - Implemented ResteForeColor() method
9385 - Implemented ResetImeMode() method
9386 - Implemented ResetLeftToRight() method
9387 - Implemented ResetText() method
9388 - Implemented Scale() methods
9389 - Implemented ScaleCore() method
9390 - Implemented Update() method
9391 - Removed unused variables
9392 - Stubbed AccessibilityNotifyClients and
9393 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9395 - Now setting proper default for RightToLeft property
9396 - Fixed bug in SetClientSizeCore that would cause windows to get
9398 - Now sending Click/DoubleClick events
9399 - Now selecting controls when left mouse button is clicked on
9401 * AccessibleEvents.cs: Added
9402 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9403 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9404 * XplatUIWin32.cs: Implemented UpdateWindow() method
9405 * XplatUIX11.cs: Implemented UpdateWindow() method
9406 * Form.cs: Removed stray semicolon causing CS0162 warning
9407 * ThemeWin32Classic.cs: Fixed unused variable warnings
9408 * ScrollableControl.cs: Now calls base method for ScaleCore
9409 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9410 style to avoid interference with internal click handler (which is
9411 different than standard Control click handling)
9413 - Now unchecks all sibling radio buttons when control is
9414 selected (Fixes #68756)
9415 - Removed internal tabstop variable, using the one inherited from
9418 2005-01-17 Jackson Harper <jackson@ximian.com>
9420 * NavigateEventArgs.cs: Fix base type.
9421 * LinkLabel.cs: Sig fix
9423 2005-01-17 Jackson Harper <jackson@ximian.com>
9425 * TreeView.cs: Only invalidate the effected nodes bounds when
9428 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9430 * XplatUIWin32.cs: fixes Win32 marshaling
9431 * XplatUIX11.cs: fixes method signature
9433 2005-01-17 Peter Bartok <pbartok@novell.com>
9435 * XplatUIX11.cs: Clean up resources when we no longer need them
9437 2005-01-17 Peter Bartok <pbartok@novell.com>
9439 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9440 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9441 and DestroyCursor() methods.
9442 * Cursor.cs: Partially implemented, now supports standard cursors;
9443 still contains some debug code
9444 * Cursors.cs: Implemented class
9446 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9448 - Implemented Cursor property
9449 - Replaced break; with return; more straightforwar and possibly
9451 - Now properly setting the result for WM_HELP
9452 * X11Structs.cs: Added CursorFontShape enum
9453 * XplatUIStructs.cs:
9454 - Added StdCursor enum (to support DefineStdCursor() method)
9455 - Added HitTest enum (to support sending WM_SETCURSOR message)
9457 - Now sends the WM_SETCURSOR message
9458 - Implemented new cursor methods
9459 * XplatUIOSX.cs: Stubbed new cursor methods
9461 - Implemented new cursor methods
9462 - Added GetSystemMetrics function and associated enumeration
9464 2005-01-15 Peter Bartok <pbartok@novell.com>
9467 - WndProc(): Now handles EnableNotifyMessage
9468 - SelectNextControl(): Fixed bug where if no child or sibling
9469 controls exist we looped endlessly
9471 2005-01-14 Jackson Harper <jackson@ximian.com>
9473 * TreeView.cs: Recalculate the tab pages when a new one is added
9474 so that the proper bounding rects are created.
9476 2005-01-14 Jackson Harper <jackson@ximian.com>
9478 * TreeView.cs: Draw a gray box instead of a grip in the lower
9479 right hand corner when there are both horizontal and vertical
9482 2005-01-14 Jackson Harper <jackson@ximian.com>
9484 * Control.cs: When erasing backgrounds use FromHwnd instead of
9485 FromHdc when there is a NULL wparam. This occurs on the X driver.
9486 * XplatUIX11.cs: Set the wparam to NULL.
9488 2005-01-13 Jackson Harper <jackson@ximian.com>
9490 * PictureBox.cs: Implement missing methods (except ToString, need
9491 to test that on windows) and events. When visibility is changed we
9492 need to redraw the image because the buffers are killed. When size
9493 is changed refresh if the sizemode needs it.
9495 2005-01-13 Peter Bartok <pbartok@novell.com>
9497 * Control.cs (SelectNextControl): Was using wrong method to select
9500 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9502 * ComboBox.cs: fixes dropstyle
9504 2005-01-13 Peter Bartok <pbartok@novell.com>
9507 - Implemented Select() override
9508 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9509 - Now sets keyboard focus on startup
9510 * Control.cs (SelectNextControl): Now properly handles directed=true
9512 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9513 - Added (really bad) focus rectangle (mostly for testing)
9514 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9515 to enforce redraw on focus changes
9516 * ContainerControl.cs:
9517 - Fixed detection of Shift-Tab key presses
9518 - Fixed traversal with arrow keys
9519 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9520 gonna keep this or if it's complete yet
9522 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9524 * ComboBox.cs: missing properties, fixes
9526 2005-01-13 Peter Bartok <pbartok@novell.com>
9528 * Panel.cs (ctor): Setting Selectable window style to off
9529 * Splitter.cs (ctor): Setting Selectable window style to off
9530 * GroupBox.cs (ctor): Setting Selectable window style to off
9531 * Label.cs (ctor): Setting Selectable window style to off
9533 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9535 * UpDownBase.cs (InitTimer): If the timer has been already
9538 Use a TextBox instead of a Label.
9540 2005-01-12 Jackson Harper <jackson@ximian.com>
9542 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9543 draw the connecting node lines (when ShowLines is true).
9544 * TreeNode.cs: The nodes index can now be updated. This is used
9545 when a node collection is sorted.
9546 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9547 insert or an existing unsorted node collection can be sorted.
9549 2005-01-12 Peter Bartok <pbartok@novell.com>
9551 * ContainerControl.cs: Implemented ProcessDialogKeys()
9553 2005-01-12 Peter Bartok <pbartok@novell.com>
9556 - Implemented SelectNextControl() method
9557 - Several focus related bug fixes
9558 - Fixed Docking calculations to match MS documentation and
9561 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9563 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9566 2005-01-12 Peter Bartok <pbartok@novell.com>
9569 - Fixed broken Contains() method
9570 - Implemented GetNextControl() method. Finally. This is the pre-
9571 requisite for focus handling.
9573 2005-01-12 Peter Bartok <pbartok@novell.com>
9575 * OSXStrucs.cs: Added
9577 2005-01-12 Peter Bartok <pbartok@novell.com>
9580 - Removed PeekMessageFlags
9581 - Implemented SetWindowStyle() method
9582 * XplatUIStructs.cs: Added PeekMessageFlags
9583 * X11Structs: Added missing border_width field to XWindowChanges struct
9585 - PeekMessage: Now throws exception if flags which are not yet
9586 supported are passed
9587 - Implemented SetWindowStyle() method
9588 - Fixed SetZOrder to handle AfterHwnd properly
9589 * XplatUI.cs: Added SetWindowStyle() method
9590 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9592 - Implemented UpdateStyles() method
9593 - Implemented UpdateZOrder() method
9594 * XplatUIOSX.cs: Added SetWindowStyle() stub
9596 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9598 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9602 2005-01-11 Jackson Harper <jackson@ximian.com>
9604 * TreeView.cs: Still need to draw lines to siblings even if out of
9605 the current node is out of the clip.
9607 2005-01-11 Jackson Harper <jackson@ximian.com>
9609 * TreeView.cs: When setting the hbar/vbar/grip position use
9610 SetBounds so that perform layout is only called once. Also suspend
9611 and resume layout so layout is only done once for all controls.
9612 - Removed some debug fluff
9613 * SizeGrip.cs: Call base implmentation in overriding methods.
9614 - When visibility is changed the drawing buffers are killed so we
9617 2005-01-11 Jackson Harper <jackson@ximian.com>
9619 * TreeView.cs: Calculate the open node count while drawing. This
9620 saves us an entire tree traversal for every paint operation. Use
9621 a member var for the open node count so less vars are passed around.
9623 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9626 - fixed selection to use mousemove, not mouse polling on timer
9627 * ThemeWin32Classic.cs
9628 - removed redundant unused variable "no_more_content"
9630 2005-01-11 Peter Bartok <pbartok@novell.com>
9632 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9633 are pending, so it now calls PeekMessage instead of GetMessage;
9634 implemented a incomplete version of PeekMessage
9636 2005-01-11 Peter Bartok <pbartok@novell.com>
9638 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9640 * TextBoxBase.cs: Added sending of TextChanged event
9642 2005-01-10 Jackson Harper <jackson@ximian.com>
9644 * TreeView.cs: Try not to draw outside the clipping rectangle on
9647 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9649 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9651 2005-01-10 Jackson Harper <jackson@ximian.com>
9654 - Implement fast scrolling. Now only the newly
9655 exposed nodes are drawn and the old image is moved using the
9656 XplatUI::ScrollWindow method.
9657 - Factor in height of nodes when calculating whether or not the
9658 node is in the clipping rect.
9660 2005-01-10 Jackson Harper <jackson@ximian.com>
9662 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9664 2005-01-10 Peter Bartok <pbartok@novell.com>
9666 * Application.cs: Added temporary hack to resolve all our resize
9667 required issues on startup. This will get fixed properly at
9668 some point in the future
9670 2005-01-10 Jackson Harper <jackson@ximian.com>
9672 * SizeGrip.cs: New internal class that is used as a sizing
9673 grip control...hence the name.
9675 2005-01-10 Peter Bartok <pbartok@novell.com>
9677 * Control.cs: Implemented proper TabIndex handling, now assigning
9678 a tabindex when a control is added to a container
9679 * GroupBox.cs (ctor): Now sets the Container style bit, required
9680 for Control.GetNextControl()
9682 2005-01-09 Jackson Harper <jackson@ximian.com>
9684 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9686 2005-01-09 Peter Bartok <pbartok@novell.com>
9688 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9689 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9690 an overload for ScrollWindow to allow only scrolling a rectangle
9692 2005-01-09 Peter Bartok <pbartok@novell.com>
9695 - Implemented SetDesktopBounds method
9696 - Implemented SetDesktopLocation method
9698 2005-01-08 Jackson Harper <jackson@ximian.com>
9700 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9701 the node count has changed, this removes to VScroll::Refresh calls
9704 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9706 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9708 2005-01-07 Jackson Harper <jackson@ximian.com>
9710 * TreeNode.cs: Just update the single node when it is
9711 checked. Don't refresh after toggling, the Expand/Collapse already
9713 * TreeView.cs: Respect clipping a little more when drawing. Try
9714 not to redraw things that don't need to be redrawn. Just hide the
9715 scrollbars when they are no longer needed instead of removing
9716 them, so they don't have to be created again and again.
9718 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9720 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9721 coordinates to window space to place the caret properly, FIXED.
9722 Implement GetWindowState & SetWindowState
9724 2005-01-06 Peter Bartok <pbartok@novell.com>
9727 - Implemented ClientSize property
9728 - Implemented DesktopBounds property
9729 - Implemented DesktopLocation property
9730 - Implemented IsRestrictedWindow property
9731 - Implemented Size property
9732 - Implemented TopLevel property
9733 - Implemented FormWindowState property
9735 - Implemented GetTopLevel() method
9736 - Implemented SetTopLevel() method
9737 * X11Structs.cs (Atom):
9738 - Added AnyPropertyType definition
9739 - Added MapState definiton and updated XWindowAttribute struct
9740 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9741 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9742 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9744 - Implemented GetWindowState() and SetWindowState() methods
9745 - Fixed Win32GetWindowLong return type
9747 - Introduced central function for sending NET_WM messages
9748 - Implemented GetWindowState() and SetWindowState() methods
9749 * TextBoxBase.cs (set_Lines):
9750 - Now uses Foreground color for text added via Text property (Duh!)
9751 - Added code to remember programmatically requested size (fixes
9752 behaviour when Multiline is set after Size)
9753 - Added AutoSize logic
9755 2005-01-06 Jackson Harper <jackson@ximian.com>
9757 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9759 2005-01-06 Jackson Harper <jackson@ximian.com>
9761 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9764 2005-01-06 Jackson Harper <jackson@ximian.com>
9766 * ScrollableControl.cs: Lazy init the scrollbars.
9768 2005-01-06 Jackson Harper <jackson@ximian.com>
9770 * Theme.cs: Speed up getting pens and solid brushes, by using
9771 their ARGB as a hash instead of tostring and not calling Contains.
9773 2005-01-06 Peter Bartok <pbartok@novell.com>
9776 - Implemented OnActivated and OnDeactivate event trigger
9777 - Implemented Activate() method
9778 - Fixed ShowDialog() to activate the form that was active before
9779 the dialog was shown
9781 - Added global active_window var that tracks the currently active
9783 - Now always grabs Property changes from the root window to always
9784 catch changes on the active window property
9785 - Added code to PropertyNotify handler to send Active/Inactive
9786 messages when state changes. This puts X11 and Win32 en par on
9787 WM_ACTIVATE notifications (except for double notifications when
9788 the user clicks away from our modal window to another one of our
9791 2005-01-05 Jackson Harper <jackson@ximian.com>
9793 * ImageList.cs: Implment ctor
9795 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9797 * XplatUIOSX.cs: Implement Activate/SetTopmost
9799 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9801 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9803 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9805 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9807 2005-01-05 Peter Bartok <pbartok@novell.com>
9809 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9810 XplatUIOSX.cs: Added GetActive method to return the currently
9811 active window for the application (or null, if none is active)
9813 - Implemented ActiveForm
9814 - Commented out owner assignment for modal dialogs (causes problems
9815 on Win32, since the owner will be disabled)
9816 - Reworked some Active/Focus handling (still incomplete)
9817 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9818 (causes problems on Win32, since the owner will be disabled)
9819 * IWin32Window: Added ComVisible attribute
9821 2005-01-05 Peter Bartok <pbartok@novell.com>
9823 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9824 required XplatUI functions.
9826 2005-01-05 Peter Bartok <pbartok@novell.com>
9828 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9829 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9830 to implement focus and activation handling; still incomplete and
9833 2005-01-04 Peter Bartok <pbartok@novell.com>
9835 * TextBoxBase.cs: Changed access level for Document property to
9836 match switch to internal for TextControl
9838 2005-01-04 Peter Bartok <pbartok@novell.com>
9840 * AccessibleObject: Added ComVisible attribute
9842 2005-01-04 Jackson Harper <jackson@ximian.com>
9844 * X11Keyboard.cs: Remove unneeded var.
9846 2005-01-04 Jackson Harper <jackson@ximian.com>
9848 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9850 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9851 ClientMessage. This makes apps exit cleanly (more often).
9853 2005-01-04 Jackson Harper <jackson@ximian.com>
9855 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9856 handling focus, return correct colors and fonts,
9857 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9858 handle selection, horizontal scrolling, and mouse interaction.
9860 2005-01-04 Peter Bartok <pbartok@novell.com>
9862 * ICommandExecutor.cs: Added
9863 * IDataGridColumnStyleEditingNotificationService.cs: Added
9864 * IFeatureSupport.cs: Added
9865 * IFileReaderService.cs: Added
9866 * IDataObject.cs: Added ComVisible attribute
9867 * AmbientProperties.cs: Added
9868 * BaseCollection.cs: Added missing attributes
9869 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9870 * BaseCollection.cs: Added missing attributes
9871 * Binding.cs: Added TypeConverter attribute
9872 * BindingContext.cs: Added DefaultEvent attribute
9873 * BindingsCollection.cs: Added DefaultEvent attribute
9874 * Button.cs: Added DefaultValue attribute
9875 * DragEventArgs.cs: Added ComVisible attribute
9876 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9877 * KeyEventArgs.cs: Added ComVisible attribute
9878 * KeyPressEventArgs.cs: Added ComVisible attribute
9879 * MouseEventArgs.cs: Added ComVisible attribute
9880 * NavigateEventArgs.cs: Added
9881 * NavigateEventHandler.cs: Added
9882 * FeatureSupport.cs: Added
9883 * OSFeature.cs: Added
9884 * Theme.cs: Added abstract Version property to support OSFeature
9885 * ThemeWin32Classic.cs: Added Version property to
9886 support OSFeature.Themes
9887 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9888 the proper styles to avoid background drawing are set, also doesn't
9890 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9891 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9892 * ScrollEventArgs.cs: Added ComVisible attribute
9893 * SplitterEventArgs.cs: Added ComVisible attribute
9894 * AccessibleSelection.cs: Added Flags attribute
9895 * Appearance.cs: Added ComVisible attribute
9896 * Border3DSide.cs: Added ComVisible attribute
9897 * Border3DStyle.cs: Added ComVisible attribute
9898 * BorderStyle.cs: Added ComVisible attribute
9899 * DragAction.cs: Added ComVisible attribute
9900 * ErrorBlinkStyle.cs: Added
9901 * ScrollEventType.cs: Added ComVisible attribute
9902 * AnchorStyles.cs: Added Editor attribute
9903 * DockStyle.cs: Added Editor attribute
9904 * HorizontalAlignment.cs: Added ComVisible attribute
9905 * HelpEventArgs.cs: Added ComVisible attribute
9906 * PaintEventArgs.cs: Added IDisposable
9908 2005-01-04 Peter Bartok <pbartok@novell.com>
9910 * TextControl.cs: Switched Line, LineTag and Document classes to
9913 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9915 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9916 Simple mode, fixes, IntegralHeight, etc.
9918 2005-01-04 Peter Bartok <pbartok@novell.com>
9920 * TextBoxBase.cs: Using proper font variable now
9922 2005-01-04 Peter Bartok <pbartok@novell.com>
9924 * Form.cs (ShowDialog): Set parent to owner, if provided
9925 * GroupBox.cs: Removed unused vars
9927 - Added GetHashCode() for Document and LineTag classes
9928 - Removed unused variables
9929 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9930 to allow translation between continuous char position and line/pos
9931 * CheckBox.cs: Removed vars that are provided by base class
9932 * RadioButton.cs: Removed vars that are provided by base class, added
9933 new keyword where required
9934 * LinkLabel.cs: Added new keyword where required
9935 * Control.cs (WndProc): Removed unused variable
9937 - Finished SelectionLength property
9938 - Implemented SelectionStart property
9939 - Implemented Text property
9940 - Removed unused vars
9941 * MessageBox.cs: Added new keyword where required
9942 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9944 * MenuAPI.cs: Added new keyword where required
9945 * ButtonBase.cs: Removed vars that are provided by base class, added
9946 new keyword where required
9947 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9948 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9950 * Application.cs (Run): Now triggers the ThreadExit event
9951 * CommonDialog.cs: Added new keyword where required; now properly sets
9952 parent (owner) for dialog
9953 * XplatUIX11.cs: Commented out unused vars
9954 * StatusBar.cs: Fixed signature for Text property
9955 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9957 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9959 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9960 TrackBar.cs, MonthCalendar.cs: remove unused vars
9962 2005-01-03 Jackson Harper <jackson@ximian.com>
9964 * ThemeWin32Classic.cs:
9965 * X11Keyboard.cs: Remove unused vars.
9967 2005-01-03 Peter Bartok <pbartok@novell.com>
9970 - set_Text: Tied into TextControl
9971 - set_TextAlignment: Tied into TextControl
9973 - Added alignment properties and implemented alignment handling
9974 and drawing (still has a bug, not generating proper expose events)
9975 - Added new Line() constructor to allow passing the line alignment
9976 - Fixed selection setting, properly handling end<start now
9977 - Added aligment considerations to RecalculateDocument()
9979 - Now properly enforces control height for single line controls
9980 - Added support for CharacterCasing
9981 - Added IsInputKey override
9982 - Fixed Keys.Enter logic
9983 - Added SetBoundsCore override
9984 - Fixed mouse selection handling
9986 2005-01-03 Jackson Harper <jackson@ximian.com>
9989 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9990 - Checkboxes are always aligned to the bottom of the node,
9991 regardless of item height.
9992 - Use the node bounds to draw the text so we can center it when
9993 the item height is greater then the font height.
9994 - Node::Bounds are only the text part of the node.
9995 * TreeNode.cs: New method to combine collapsing and unchecking all
9998 2005-01-02 Jackson Harper <jackson@ximian.com>
10000 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10001 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10002 tree when a check is changed. TODO: Only refresh the checked node.
10004 2004-12-30 Jackson Harper <jackson@ximian.com>
10006 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10007 * TreeNode.cs: When collapsing make sure to never collapse the
10010 2004-12-29 Jackson Harper <jackson@ximian.com>
10012 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10014 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10016 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10018 2004-12-28 Peter Bartok <pbartok@novell.com>
10020 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10023 2004-12-28 Peter Bartok <pbartok@novell.com>
10025 * Control.cs (WndProc): Added WM_HELP handler, now generates
10026 HelpRequested event
10027 * Form.cs: Added HelpButton property and required support code
10028 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10030 2004-12-28 Peter Bartok <pbartok@novell.com>
10033 - Made DialogForm.owner variable internal
10034 - Added check to ensure owner form is set before setting
10035 owner properties in CreateParams
10037 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10039 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10040 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10041 GetCursorPos. Fix major visibility issues. Rework the windowing
10042 system to support borderless/titleless windows (implements menus).
10043 Fix GetWindowPos. Implement initial background color support for
10046 2004-12-28 Peter Bartok <pbartok@novell.com>
10048 * Form.cs (get_CreateParams): Make sure we have an owner before using
10049 the owner variable. Implement proper default if no owner exists
10051 2004-12-28 Peter Bartok <pbartok@novell.com>
10053 * In preparation for making Managed.Windows.Forms the default build target
10054 for System.Windows.Forms, the following stubbed files were added.
10055 Dialogs are currently being implemented by contributors and are only
10056 short-term place holders.
10057 * ColorDialog.cs: Initial check-in (minmal stub)
10058 * DataGrid.cs: Initial check-in (minimal stub)
10059 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10060 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10061 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10062 * FontDialog.cs: Initial check-in (minimal stub)
10063 * FileDialog.cs: Initial check-in (minimal stub)
10064 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10065 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10066 * OpenFileDialog: Initial check-in (minimal stub)
10067 * IComponentEditorPageSite.cs: Initial check-in
10068 * Splitter.cs: Initial check-in (for Jackson)
10069 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10070 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10071 * TextBox.cs: Initial check-in; still needs some wiring to
10072 TextControl backend
10073 * Form.cs: Implemented ControlBox property
10074 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10075 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10076 * TextControl.cs: Added selection functionality; added todo header
10078 - Implemented Lines property
10079 - Implemented TextHeight property
10080 - Implemented SelectedText property
10081 - Implemented SelectionLength property
10082 - Implemented SelectAll method
10083 - Implemented ToString method
10084 - Removed and cleaned up some debug code
10085 - Implemented (still buggy) mouse text selection
10087 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10089 * ComboBox.cs: Complete DropDownList implementation, fixes.
10091 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10093 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10094 * ComboBoxStyle.cs: ComboBoxStyle enum
10095 * ComboBox.cs: Initial work on ComboBox control
10097 2004-12-21 Peter Bartok <pbartok@novell.com>
10099 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10100 forward so that anything that creates a window gets the default,
10101 also no longer uses Visible property in CreateParams to avoid
10102 walking up the parent chain and possibly get the wrong visible
10103 status. Fixed IsVisible to no longer walk up to the parent.
10105 2004-12-21 Peter Bartok <pbartok@novell.com>
10107 * Form.cs (ShowDialog): Unset modality for the proper window
10109 2004-12-20 Peter Bartok <pbartok@novell.com>
10111 * CommonDialog.cs: Initial check-in
10113 2004-12-20 Peter Bartok <pbartok@novell.com>
10115 * Control.cs (Visible): Now uses the parent window instead of the
10116 client area window for the property
10119 - ShowDialog(): Now uses the proper window for modality
10120 - The default visibility state for the form parent is now false. This
10121 will prevent the user from seeing all the changes to the form and
10122 its controls before the application hits Application.Run()
10123 - Removed some stale commented out code
10126 - Added FindWindow() method to have a method to check for existence
10128 - Added ability to override default exception handling (for example
10129 when debugging with VS.Net; to do this the ExternalExceptionHandler
10131 - Removed some useless debug output
10134 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10135 not working as expected
10136 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10137 property to allow switching back to the modal window if focus is
10138 given to another one of our windows (Application Modal)
10139 - Now only sets override_redirect if we create a window
10141 - Moved EventMask selection before mapping of newly created window
10142 so we can catch the map event as well
10143 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10144 - Added various Atom related DllImports
10145 - Implemented Exit() method
10146 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10147 in the CreateParams
10149 * MessageBox.cs: Now properly deals with the FormParent window by
10150 providing an override the FormParent CreateParams property to
10151 set as POPUP instead of OVERLAPPED window.
10153 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10155 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10156 Minor code cleanup.
10158 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10160 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10162 2004-12-18 Peter Bartok <pbartok@novell.com>
10164 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10165 implementing SetModal() method
10167 2004-12-18 Peter Bartok <pbartok@novell.com>
10169 * X11Structs.cs (XGCValues): Fixed type of function element
10170 * XplatUI.cs: Added ScrollWindow() method
10171 * XplatUIDriver.cs: Added ScrollWindow() abstract
10172 * XplatUIWin32.cs: Implemented ScrollWindow() method
10173 * XplatUIX11.cs: Implemented ScrollWindow() method
10174 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10176 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10178 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10179 Some more keyboard support (INCOMPLETE)
10181 2004-12-17 Peter Bartok <pbartok@novell.com>
10184 - Added color attribute to line tags.
10185 - Added color argument to all functions dealing with tags
10186 - Added color argument support to various functions
10187 - Fixed miss-calculation of baseline/shift in certain circumstances
10189 * TextBoxBase.cs: Added new color option to test code
10191 2004-12-17 Jackson Harper <jackson@ximian.com>
10194 * MonthCalendar.cs: Signature fixes
10196 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10198 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10199 keyboard event moved it. Create a new graphics context for each paint resolves this
10201 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10203 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10204 Make caret exist and go blink blink. Initial keyboard support.
10205 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10208 2004-12-17 Jackson Harper <jackson@ximian.com>
10210 * XplatUIStructs.cs: Updated set of virtual keycodes.
10211 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10213 2004-12-17 Jackson Harper <jackson@ximian.com>
10215 * XplatUIX11.cs: Prune old keyboard code.
10217 2004-12-17 Jackson Harper <jackson@ximian.com>
10219 * XplatUIX11.cs: When generating mouse wparams get the modifier
10220 keys from the ModifierKeys property.
10222 2004-12-17 Jackson Harper <jackson@ximian.com>
10224 * X11Keyboard.cs: Send up/down input when generating
10225 messages. Remove some unused vars.
10227 2004-12-17 Jackson Harper <jackson@ximian.com>
10230 * TreeView.cs: get rid of warnings.
10232 2004-12-17 Jackson Harper <jackson@ximian.com>
10234 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10236 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10238 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10239 CheckedListBox.cs: Implementation
10241 2004-12-17 Peter Bartok <pbartok@novell.com>
10243 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10245 2004-12-16 Peter Bartok <pbartok@novell.com>
10248 - InsertCharAtCaret(): Fixed start pos fixup
10249 - CaretLine_get: No longer derives the line from the tag, the tag
10250 could be stale if lines in the document have been added or deleted
10251 - RebalanceAfterDelete(): Fixed bug in balancing code
10252 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10253 - Line.Streamline(): Now can also elminate leading empty tags
10254 - DumpTree(): Added a few more tests and prevented exception on
10256 - Added Debug section for Combining lines
10257 - Delete(): Now copies all remaining properties of a line
10260 - Left mousebutton now sets the caret (and middle button still acts
10261 as formatting tester, which must go away soon)
10262 - Added Debug section for Deleting/Combining lines
10263 - Fixed calculations for UpdateView after Combining lines
10265 2004-12-16 Peter Bartok <pbartok@novell.com>
10267 * TextControl.cs: Now properly aligns text on a baseline, using the
10268 new XplatUI.GetFontMetrics() method. Simplified several calculations
10269 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10272 2004-12-16 Peter Bartok <pbartok@novell.com>
10274 * XplatUI.cs: Added GetFontMetrics() method
10275 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10276 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10277 into libgdiplus, our private GetFontMetrics function
10278 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10279 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10281 2004-12-16 Jackson Harper <jackson@ximain.com>
10283 * XplatUIStruct.cs: Add enum for dead keys
10284 * X11Keyboard.cs: Map and unmap dead keys.
10286 2004-12-16 Jackson Harper <jackson@ximian.com>
10288 * X11Keyboard.cs: Detect and use the num lock mask.
10290 2004-12-16 Peter Bartok <pbartok@novell.com>
10292 * Control.cs (CreateGraphics): Added check to make sure the
10293 handle of the window exists before calling Graphics.FromHwnd()
10295 2004-12-16 Peter Bartok <pbartok@novell.com>
10297 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10298 contains a lot of code that's not supposed to be there for the
10299 real thing, but required for developing/testing the textbox
10302 2004-12-16 Peter Bartok <pbartok@novell.com>
10305 - Fixed Streamline method
10306 - Added FindTag method to Line
10307 - Added DumpTree method for debugging
10308 - Added DecrementLines() method for deleting lines
10309 - Fixed UpdateView to update the cursor to end-of-line on single-line
10311 - Added PositionCaret() method
10312 - Fixed MoveCaret(LineDown) to move into the last line, too
10313 - Added InsertChar overload
10314 - Fixed InsertChar tag offset calculations
10315 - Added DeleteChar() method
10316 - Added Combine() method for folding lines
10317 - Fixed Delete() method, no longer allocates wasted Line object and
10318 now copies all properties when swapping nodes
10319 - Delete() method now updates document line counter
10321 2004-12-15 Jackson Harper <jackson@ximian.com>
10323 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10324 * X11Keyboard.cs: Expose the currently selected modifier keys
10325 through a property.
10327 2004-12-15 Peter Bartok <pbartok@novell.com>
10329 * TextControl.cs: Initial check-in. Still incomplete
10331 2004-12-15 Jackson Harper <jackson@ximian.com>
10334 * TreeView.cs: Fix build on csc (second time today ;-))
10336 2004-12-15 Jackson Harper <jackson@ximian.com>
10338 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10339 is calculated and use this for click testing.
10340 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10342 2004-12-15 Jackson Harper <jackson@ximian.com>
10344 * TreeView.cs: Pass the nodes image index to the image list when
10345 drawing that image.
10347 2004-12-15 Jackson Harper <jackson@ximian.com>
10349 * X11Keyboard.cs: Set messages hwnd.
10350 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10351 post_message calls.
10353 2004-12-15 Jackson Harper <jackson@ximian.com>
10355 * X11Keyboard.cs: Fix to compile with csc.
10357 2004-12-15 Jackson Harper <jackson@ximian.com>
10359 * X11Structs.cs: Add key mask values
10360 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10361 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10362 down/up foo into WM_CHAR foo
10363 * KeyboardLayouts.cs: Common keyboard layouts
10364 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10365 post messages into the main queue.
10367 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10369 * Button.cs: implement ProcessMnemonic
10370 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10372 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10373 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10375 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10377 * MonthCalendar.cs: Implemented click-hold for next/previous month
10380 2004-12-11 Peter Bartok <pbartok@novell.com>
10383 - Added XKeyboardState (moved from XplatUIX11.cs)
10384 - Added XCreateGC related enums and structures
10385 - Added GXFunction for XSetFunction
10387 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10389 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10390 CaretVisible() calls
10392 * ToolTip.cs: Added code to prevent stealing focus from app windows
10394 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10395 DestroyCaret, SetCaretPos and CaretVisible)
10398 - Added implementation for caret functions
10399 - Moved hover variables into a struct, to make it a bit easier
10400 on the eyes and to debug
10401 - Removed XKeyboardState (moved to XplatUIX11.cs)
10402 - Moved Keyboard properties into the properties region
10404 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10405 call to get a graphics context for our control
10407 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10409 * TreeView.cs: Fixed bug. No matter what color was set it would always
10410 return SystemColors.Window
10412 * XplatUIWin32.cs: Implemented caret overrides
10414 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10416 * ListBox.cs: fire events, implement missing methods and properties,
10419 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10421 * MonthCalendar.cs: invalidation bug fixing
10422 * ThemeWin32Classic.cs: paint fixing
10424 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10426 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10427 prepare the CGContextRef there now.
10429 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10431 * MonthCalendar.cs:
10432 - optimisationL only invalidate areas that have changed
10433 * ThemeWin32Classic.cs:
10434 - only paint parts that intersect with clip_area
10436 2004-12-09 Peter Bartok <pbartok@novell.com>
10438 * Application.cs: Undid changes from r37004 which cause problems
10441 2004-12-09 Ravindra <rkumar@novell.com>
10443 * ToolBar.cs: Added support for displaying ContextMenu
10444 attached to a button on ToolBar.
10445 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10448 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10450 * Label.cs: autosize works in text change and removes unnecessary
10453 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10455 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10458 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10460 * XplatUIOSX.cs: Added mouse move/click/grab support
10461 Remove some debugging WriteLines not needed anymore.
10462 Add window resizing/positioning.
10463 Fix visibility on reparenting.
10465 2004-12-08 Peter Bartok <pbartok@novell.com>
10467 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10469 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10471 * XplatUIOSX.cs: Initial checkin
10472 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10474 2004-12-03 Ravindra <rkumar@novell.com>
10476 * ListView.cs: Added some keybindings and fixed scrolling.
10477 ScrollBars listen to ValueChanged event instead of Scroll
10478 Event. This would let us take care of all changes being
10479 done in the scrollbars' values programmatically or manually.
10480 * ListView.cs (CanMultiselect): Added a check for shift key.
10481 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10482 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10483 of ListViewSubItemCollection as well.
10485 2004-12-06 Peter Bartok <pbartok@novell.com>
10487 * Control.cs (Parent): Added check and exception to prevent
10490 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10492 * ListBox.cs: implemented clipping, selection single and multiple,
10495 2004-12-03 Ravindra <rkumar@novell.com>
10497 * ListView.cs (ListView_KeyDown):
10498 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10499 when CTRL key is pressed.
10500 * ListViewItem.cs (Selected): Fixed setting the property.
10502 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10504 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10506 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10507 MinimizeBox, ShowInTaskbar, TopMost properties.
10509 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10510 will be implemented).
10512 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10514 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10516 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10519 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10521 * TreeView.cs: BackColor is Colors.Window.
10523 2004-12-01 Jackson Harper <jackson@ximian.com>
10525 * TreeView.cs: When resizing the tree if the user is making it
10526 smaller we don't get expose events, so we need to handle adding
10527 the horizontal scrollbar in the size changed handler as well as
10528 the expose handler.
10530 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10532 * DrawItemState.cs: fixes wrong enum values
10534 2004-12-01 Jackson Harper <jackson@ximian.com>
10536 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10538 2004-12-01 Jackson Harper <jackson@ximian.com>
10540 * NodeLabelEditEventArgs.cs:
10541 * NodeLabelEditEventHandler.cs:
10542 * OpenTreeNodeEnumerator.cs:
10544 * TreeNodeCollection.cs:
10546 * TreeViewAction.cs:
10547 * TreeViewCancelEventArgs.cs:
10548 * TreeViewCancelEventHandler.cs:
10549 * TreeViewEventArgs.cs:
10550 * TreeViewEventHandler.cs: Initial implementation.
10552 2004-12-01 Ravindra <rkumar@novell.com>
10554 * ListView.cs (CalculateListView): Fixed scrolling related
10555 calculations. Also, removed some debug statements from other
10557 * ListViewItem.cs: Changed access to 'selected' instance variable
10558 from private to internal.
10559 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10561 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10563 * ThemeWin32Classic.cs: remove cache of brush and pens for
10564 specific controls and use the global system, fixes scrollbutton
10565 bugs (for small sizes, disabled, etc)
10567 * ScrollBar.cs: does not show the thumb for very small controls
10568 (as MS) and allow smaller buttons that the regular size
10570 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10572 * UpDownBase.cs: Add abstract methods for the interface.
10573 Add new virtual methods (need to be hooked up to TextEntry when it
10575 Add override methods for most features.
10576 Computes the size, forces the height of the text entry.
10578 * NumericUpDown.cs: Put here the current testing code.
10580 * Set eol-style property on all files that do not have mixed line
10581 endings, to minimize the future problems. There are still a few
10582 files with mixed endings, and someone should choose whether they
10583 want to move it or not.
10585 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10587 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10590 2004-11-30 Ravindra <rkumar@novell.com>
10592 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10593 drawing and replaced use of SystemColors by theme colors.
10594 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10595 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10596 same ListViewItem is being added more than once.
10598 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10600 * MonthCalendar.cs:
10601 - ControlStyles love to make the control not flicker
10603 2004-11-30 Peter Bartok <pbartok@novell.com>
10605 * CharacterCasing.cs: Added
10607 2004-11-29 Peter Bartok <pbartok@novell.com>
10609 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10610 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10611 I am removing these files as they conflict with already completed
10612 work. While it is fantastic to get contributions to MWF, I
10613 respectfully ask that everyone please coordinate their contributions
10614 through mono-winforms-list or #mono-winforms at this time. We're
10615 explicitly avoiding stubbing and don't want controls that don't have
10616 their basic functionality implemented in svn. Please also see
10617 http://www.mono-project.com/contributing/winforms.html
10620 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10622 * Application.cs (ModalRun): Don't hang after exit.
10624 * Theme.cs: New TreeViewDefaultSize property.
10626 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10627 with less hardcoded SystemColors constant.
10628 Implemented TreeViewDefaultSize.
10630 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10631 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10634 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10636 * MonthCalendar.cs:
10637 - Fix NextMonthDate and PrevMonthDate click moving calendar
10639 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10641 * MonthCalendar.cs:
10642 - Fix usage of ScrollChange Property when scrolling months
10644 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10646 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10647 - Fixes menu destroying
10648 - Support adding and removing items on already created menus
10650 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10652 * MonthCalendar.cs:
10653 - Re-worked all bolded dates handling to match win32
10654 * ThemeWin32Classic.cs:
10655 - Fixed rendering with bolded dates
10657 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10659 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10660 - Horizontal scroolbar
10665 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10667 * MonthCalendar.cs:
10668 - Fix Usage of MaxSelectionCount from SelectionRange
10669 - Fixed Shift + Cursor Selection
10670 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10671 - Fixed normal cursor selection to be compat with win32
10672 - Fixed Shift + Mouse Click selection
10674 2004-11-24 Peter Bartok <pbartok@novell.com>
10676 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10677 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10679 - CreatedKeyBoardMsg now updates keystate with Alt key
10680 - Added workaround for timer crash to CheckTimers, Jackson will
10681 develop a proper fix and check in later
10682 - Implemented DispatchMessage
10683 - Removed calling the native window proc from GetMessage (call
10684 now moved to DispatchMessage)
10686 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10687 the keydata (Fixes bug #69831)
10690 - (DispatchMessage): Switched to return IntPtr
10691 - Added DllImport for SetFocus
10693 2004-11-24 Ravindra <rkumar@novell.com>
10695 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10696 background drawing.
10697 * ListViewItem.cs: Fixed various properties, calculations
10698 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10699 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10700 and some internal properties. Fixed MouseDown handler and Paint
10703 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10705 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10707 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10709 * ContainerControl.cs: correct accidental check in of local changes
10711 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10713 * ThemeWin32Classic.cs:
10714 - Fixed Drawing Last month in grid (sometimes not showing)
10715 * MonthCalendar.cs:
10716 - Fixed title width calculation bug (makeing title small)
10718 2004-11-23 Peter Bartok <pbartok@novell.com>
10721 - Added generation of WM_MOUSEHOVER event
10722 - Added missing assignment of async_method atom
10723 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10725 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10727 * ThemeWin32Classic.cs:
10728 - Fixed Drawing of today circle when showtodaycircle not set
10729 - fixed drawing of first and last month in the grid (gay dates)
10730 * MonthCalendar.cs:
10731 - Fixed Drawing of today circle
10732 - Fixed drawing of grady dates
10733 - Fixed HitTest for today link when ShowToday set to false
10734 - Fixed DefaultSize to obey ShowToday
10736 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10738 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10739 * System.Windows.Forms/Theme.cs
10740 * MonthCalendar.cs: added for MonthCalendar
10741 * SelectionRange.cs: added for MonthCalendar
10742 * Day.cs: added for MonthCalendar: added for MonthCalendar
10743 * DateRangeEventArgs.cs: added for MonthCalendar
10744 * DateRangeEventHandler.cs: added for MonthCalendar
10746 2004-11-22 Ravindra <rkumar@novell.com>
10748 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10751 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10753 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10756 * NumericUpDown.cs: Added new implementation.
10757 * UpDownBase.cs: Added new implementation.
10759 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10762 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10765 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10768 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10770 * Timer.cs (Dispose): Should call the base dispose when
10773 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10775 * ScrollBar.cs: updates thumb position when max, min or increment
10778 2004-11-21 Ravindra <rkumar@novell.com>
10780 * ListView.cs: Implemented item selection, activation and
10781 column header style. Fixed properties to do a redraw, if
10782 required. Added support for MouseHover, DoubleClick, KeyDown
10783 and KeyUp event handling and some minor fixes.
10784 * ListViewItem.cs: Fixed constructor.
10785 * ThemeWin32Classic.cs: Improved drawing for ListView.
10787 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10789 * ThemeWin32Classic.cs: initial listbox drawing code
10790 * DrawMode.cs: new enumerator
10791 * ListControl.cs: stubbed class
10792 * ListBox.cs: initial implementation
10793 * Theme.cs: new methods definitions
10794 * SelectionMode.cs: new enumerator
10796 2004-11-17 Peter Bartok <pbartok@novell.com>
10798 * XplatUIWin32.cs: Added double-click events to the class style
10799 * Control.cs (WndProc):
10800 - Added handling of click-count to MouseDown/ MouseUp events.
10801 - Added handling of middle and right mouse buttons
10802 - Removed old debug code
10804 2004-11-17 Jackson Harper <jackson@ximian.com>
10806 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10808 2004-11-17 Ravindra <rkumar@novell.com>
10810 * ListView.cs: Added event handling for MouseMove/Up/Down.
10811 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10812 * ThemeWin32Classic.cs: We need to clear the graphics context and
10813 draw column header in a proper state.
10816 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10818 * Menu.cs: fixes signature
10820 2004-11-16 Peter Bartok <pbartok@novell.com>
10822 * XplatUIX11.cs (GetMessage): Implemented generation of
10823 double click mouse messages
10825 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10827 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10830 2004-11-11 Peter Bartok <pbartok@novell.com>
10832 * HandleData.cs: Added Visible property
10833 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10835 * XplatUIX11.cs: Removed old debug leftovers
10836 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10837 * Control.cs (WndProc): Removed old debug leftovers,
10838 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10839 needed WM_SIZE handling
10841 2004-11-11 Jackson Harper <jackson@ximian.com>
10843 * OwnerDrawPropertyBag.cs:
10844 * TreeViewImageIndexConverter.cs: Initial implementation
10846 2004-11-10 Jackson Harper <jackson@ximian.com>
10848 * ThemeWin32Classic.cs:
10849 * TabControl.cs: instead of moving tabs by the slider pos just
10850 start drawing at the tab that is offset by the slider. This way
10851 scrolling always moves by exactly one tab.
10853 2004-11-10 Jackson Harper <jackson@ximian.com>
10855 * TabControl.cs: You can only scroll left when the slider has
10856 already ben moved right.
10858 2004-11-10 Jackson Harper <jackson@ximian.com>
10860 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10863 2004-11-10 Jackson Harper <jackson@ximian.com>
10865 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10868 2004-11-09 Jackson Harper <jackson@ximian.com>
10870 * TabControl.cs (CalcXPos): New helper method so we can determine
10871 the proper place to start drawing vertical tabs.
10872 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10874 2004-11-09 Jackson Harper <jackson@ximian.com>
10876 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10877 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10878 and Bottom, left and right are illegal values for this and
10879 multiline is enabled when the alignment is set to left or right.
10880 (DrawTab): Each alignment block should draw the text itself now
10881 because Left requires special love. Also add rendering for Left
10884 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10886 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10887 does not destroy the windows, removes debugging messages
10889 2004-11-09 jba <jba-mono@optusnet.com.au>
10891 * ThemeWin32Classic.cs
10892 (DrawButtonBase): Fix verticle text rect clipping in windows
10893 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10894 rendering and incorrect text rect clipping
10895 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10896 rendering and incorrect text rect clipping
10898 2004-11-08 Jackson Harper <jackson@ximian.com>
10900 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10901 bottom when they are bottom aligned so the bottoms of the tabs get
10903 * TabControl.cs (DropRow): Move rows up instead of down when the
10904 tab control is bottom aligned.
10906 2004-11-08 13:59 pbartok
10909 - Added handling for various window styles
10910 - Added handling for popup windows
10911 - Added SetTopmost handling
10913 2004-11-08 13:55 pbartok
10916 - Added argument to SetTopmost method
10917 - Fixed broken ClientToScreen function
10919 2004-11-08 13:53 pbartok
10921 * XplatUIStructs.cs:
10922 - Added missing WS_EX styles
10924 2004-11-08 13:53 pbartok
10926 * XplatUI.cs, XplatUIDriver.cs:
10927 - Added argument to SetTopmost
10929 2004-11-08 13:52 pbartok
10932 - Added XSetWindowAttributes structure
10933 - Improved XWindowAttributes structure
10934 - Added SetWindowValuemask enum
10935 - Added window creation arguments enum
10936 - Added gravity enum
10937 - Added Motif hints structure
10938 - Added various Motif flags and enums
10939 - Added PropertyMode enum for property functions
10941 2004-11-08 13:50 pbartok
10944 - Fixed arguments for updated SetTopmost method
10946 2004-11-08 13:49 pbartok
10949 - Fixed arguments for updated SetTopmost function
10950 - Fixed usage of PointToClient
10952 2004-11-08 13:44 pbartok
10955 - Added Clipping of children and siblings
10957 2004-11-08 13:41 pbartok
10960 - Removed SetMenuBarWindow call. We do this in Form.cs
10962 2004-11-08 13:40 jackson
10964 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10965 scrolling jimmi in the correct location with bottom aligned tabs
10967 2004-11-08 13:36 pbartok
10969 * ContainerControl.cs:
10970 - Implemented BindingContext
10971 - Implemented ParentForm
10973 2004-11-08 12:46 jackson
10975 * TabControl.cs: Put bottom rendered tabs in the right location
10977 2004-11-08 07:15 jordi
10979 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10982 2004-11-05 17:30 jackson
10984 * TabControl.cs: When selected tabs are expanded make sure they
10985 don't go beyond the edges of the tab control
10987 2004-11-05 14:57 jackson
10989 * TabControl.cs: Reset show_slider so if the control is resized to
10990 a size where it is no longer needed it's not displayed anymore
10992 2004-11-05 13:16 jackson
10994 * TabControl.cs: Make tab pages non visible when added to the
10997 2004-11-05 12:42 jackson
10999 * TabControl.cs: Implement SizeMode.FillToRight
11001 2004-11-05 12:16 jackson
11003 * Control.cs: Do not call CreateHandle if the handle is already
11006 2004-11-05 11:46 jackson
11008 * TabControl.cs: Remove superflous call to CalcTabRows
11010 2004-11-05 09:07 jackson
11012 * XplatUIX11.cs: Update for Mono.Posix changes
11014 2004-11-05 07:00 ravindra
11016 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11019 2004-11-04 22:47 jba
11021 * ThemeWin32Classic.cs:
11022 - Fix Button rendering for FlatStyle = Flat or Popup
11023 - Fix RadioButton and CheckBox rendering when Appearance = Button
11024 (normal and flatstyle).
11025 - Correct outer rectangle color when drawing focus rectangle
11026 - Adjust button bounds to be 1 px smaller when focused
11027 - Make button not draw sunken 3d border when pushed (windows compat)
11028 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11029 - Offset the text in RadioButton and Checkbox when being rendered as
11031 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11033 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11034 - Fixed disabled text rendering for normally rendered radiobuttons
11036 2004-11-04 10:26 jackson
11038 * TabControl.cs: Recalculate tab rows when resizing
11040 2004-11-04 07:47 jordi
11042 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11043 collection completion, drawing issues, missing features
11045 2004-11-04 05:03 ravindra
11048 - We need to recalculate the Thumb area when
11049 LargeChange/maximum/minimum values are changed.
11050 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11051 than minimum. This is required to handle the case if large_change is
11052 more than max, and use LargeChange property instead of large_change
11054 - We return max+1 when large_change is more than max, like MS does.
11056 2004-11-04 04:29 ravindra
11058 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11059 - Changed default value signatures (prefixed all with ListView).
11060 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11062 - Fixed calculations for ListViewItem and implemented Clone()
11065 2004-11-04 04:26 ravindra
11067 * Theme.cs, ThemeWin32Classic.cs:
11068 - Changed default ListView values signatures (prefixed all with
11070 - Fixed default size values for VScrollBar and HScrollBar.
11071 - Fixed DrawListViewItem method.
11073 2004-11-04 04:05 ravindra
11075 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11077 2004-11-04 04:04 ravindra
11079 * ImageList.cs: Implemented the missing overload for Draw method.
11081 2004-11-03 19:29 jackson
11083 * TabControl.cs: Handle dropping rows on selection properly
11085 2004-11-03 11:59 jackson
11087 * TabControl.cs: remove debug code
11089 2004-11-03 11:52 jackson
11091 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11092 the scrolly widgerywoo
11094 2004-11-02 13:52 jackson
11096 * TabControl.cs: Resize the tab pages and tabs when the tab control
11099 2004-11-02 13:40 jackson
11101 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11102 selected tab to the bottom
11104 2004-11-02 13:39 jackson
11106 * TabPage.cs: Store the tab pages row
11108 2004-11-02 12:33 jordi
11110 * MenuItem.cs: fixes handle creation
11112 2004-11-02 11:42 jackson
11114 * TabControl.cs: signature fix
11116 2004-11-02 08:56 jackson
11118 * TabControl.cs: Calculate whether the tab is on an edge properly.
11119 Remove top secret debugging code
11121 2004-11-01 19:57 jackson
11123 * TabControl.cs: Add click handling, and proper sizing
11125 2004-11-01 19:47 jackson
11127 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11130 2004-11-01 19:39 jackson
11132 * TabPage.cs: add internal property to store the bounds of a tab
11135 2004-10-30 04:23 ravindra
11137 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11140 2004-10-30 04:21 ravindra
11142 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11143 fixed calculations.
11145 2004-10-30 03:06 pbartok
11148 - Removed extension of DllImported libs
11150 2004-10-29 09:55 jordi
11152 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11153 navigation, itemcollection completion, menu fixes
11155 2004-10-27 22:58 pbartok
11158 - Now throws a nice error message when no X display could be opened
11160 2004-10-26 13:51 jordi
11162 * ListView.cs: removes warning
11164 2004-10-26 03:55 ravindra
11166 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11167 ThemeWin32Classic.cs: Some formatting for my last checkins.
11169 2004-10-26 03:36 ravindra
11171 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11172 control and default values.
11174 2004-10-26 03:35 ravindra
11176 * Theme.cs: Added some default values for ListView control.
11178 2004-10-26 03:33 ravindra
11180 * ToolBar.cs: ToolBar should use the user specified button size, if
11181 there is any. Added a size_specified flag for the same.
11183 2004-10-26 03:33 ravindra
11185 * ColumnHeader.cs: Added some internal members and calculations for
11188 2004-10-26 03:32 ravindra
11190 * ListViewItem.cs: Calculations for ListViewItem.
11192 2004-10-26 03:31 ravindra
11194 * ListView.cs: Added some internal members and calculations for
11197 2004-10-22 13:31 jordi
11199 * MenuAPI.cs: speedup menus drawing
11201 2004-10-22 13:16 jackson
11203 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11206 2004-10-22 11:49 jackson
11210 2004-10-22 11:41 jackson
11212 * Control.cs: Check to see if the window should have its background
11213 repainted by X when drawing.
11215 2004-10-22 11:31 jackson
11217 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11218 clear is true, this way we do not get flicker from X repainting the
11221 2004-10-22 11:28 jackson
11223 * XEventQueue.cs: Queue properly
11225 2004-10-21 09:38 jackson
11227 * XEventQueue.cs: Fix access modifier
11229 2004-10-21 09:36 jackson
11231 * XEventQueue.cs: Don't loose messages
11233 2004-10-21 09:22 jackson
11235 * XEventQueue.cs: Don't loose messages
11237 2004-10-20 04:15 jordi
11239 * BootMode.cs: enum need it by SystemInfo
11241 2004-10-19 21:58 pbartok
11244 - Small sanity check
11246 2004-10-19 21:56 pbartok
11249 - Added private FormParentWindow class which acts as the container
11250 for our form and as the non-client area where menus are drawn
11251 - Added/Moved required tie-ins to Jordi's menus
11252 - Fixed/Implemented the FormStartPosition functionality
11254 2004-10-19 21:52 pbartok
11257 - Removed unneeded locals
11258 - Added code to all size and location properties to understand and
11259 deal with the parent container of Form
11261 2004-10-19 21:33 pbartok
11264 - Fixed to deal with new Form subclasses for menus
11266 2004-10-19 17:48 jackson
11268 * XEventQueue.cs: commit correct version of file
11270 2004-10-19 16:50 jackson
11272 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11274 2004-10-19 16:15 jordi
11276 * MenuAPI.cs: MenuBarCalcSize returns the height
11278 2004-10-19 08:31 pbartok
11281 - Added missing call to PreProcessMessage before calling OnXXXKey
11284 2004-10-19 00:04 ravindra
11286 * ToolTip.cs: Fixed constructor.
11288 2004-10-18 09:31 jordi
11290 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11292 2004-10-18 09:26 jordi
11294 * MenuItem.cs: fixes MenuItem class signature
11296 2004-10-18 08:56 jordi
11298 * MenuAPI.cs: prevents windows from showing in the taskbar
11300 2004-10-18 00:28 ravindra
11302 * ToolTip.cs: Suppressed a warning message.
11304 2004-10-18 00:27 ravindra
11306 * Control.cs: Default value of visible property must be true.
11308 2004-10-17 23:19 pbartok
11311 - Complete implementation
11313 2004-10-17 23:19 pbartok
11316 - Added EnableWindow method
11317 - Added SetModal stub
11318 - Added generation of WM_ACTIVATE message (still needs testing)
11319 - Added SetTopMost stub
11320 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11322 2004-10-17 23:17 pbartok
11325 - Removed VirtualKeys to XplatUIStructs
11326 - Implemented SetTopMost method
11327 - Implemented EnableWindow method
11328 - Bugfix in ScreenToClient()
11329 - Bugfixes in ClientToScreen()
11331 2004-10-17 22:51 pbartok
11333 * XplatUIStructs.cs:
11334 - Added WS_EX styles to WindowStyles enumeration
11336 2004-10-17 22:50 pbartok
11338 * XplatUI.cs, XplatUIDriver.cs:
11339 - Added method for enabling/disabling windows
11340 - Added method for setting window modality
11341 - Added method for setting topmost window
11343 2004-10-17 22:49 pbartok
11345 * ThemeWin32Classic.cs:
11346 - Added ToolTip drawing code
11348 2004-10-17 22:49 pbartok
11351 - Added ToolTip abstracts
11353 2004-10-17 22:47 pbartok
11356 - Fixed Form.ControlCollection to handle owner relations
11357 - Added Owner/OwnedForms handling
11358 - Implemented Z-Ordering for owned forms
11359 - Removed unneeded private overload of ShowDialog
11360 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11362 - Fixed Close(), had wrong default
11363 - Added firing of OnLoad event
11364 - Added some commented out debug code for Ownership handling
11366 2004-10-17 22:16 pbartok
11369 - Fixed/implemented flat list of controls
11371 2004-10-17 22:14 pbartok
11374 - Added code to simulate modal dialogs on Win32
11376 2004-10-17 16:11 jordi
11378 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11381 2004-10-17 13:39 jordi
11383 * MenuAPI.cs: menu drawing fixes
11385 2004-10-15 09:10 ravindra
11387 * StructFormat.cs: General Enum.
11389 2004-10-15 09:09 ravindra
11391 * SizeGripStyle.cs: Enum for Form.
11393 2004-10-15 09:08 ravindra
11395 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11396 in Theme for ListView.
11398 2004-10-15 09:06 ravindra
11400 * ColumnHeader.cs: Flushing some formatting changes.
11402 2004-10-15 09:05 ravindra
11404 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11407 2004-10-15 09:03 ravindra
11409 * ListView.cs: Implemented Paint method and fixed coding style.
11411 2004-10-15 07:34 jordi
11413 * MenuAPI.cs: fix for X11
11415 2004-10-15 07:32 ravindra
11417 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11418 - Renamed Paint() method to Draw() for clarity. Also, moved
11419 DrawImage() to OnPaint().
11421 2004-10-15 07:25 ravindra
11423 * CheckBox.cs, RadioButton.cs:
11424 - Removed Redraw (), we get it from ButtonBase.
11425 - Implemented Paint (), to do class specific painting.
11427 2004-10-15 07:16 ravindra
11430 - Redraw () is not virtual now.
11431 - Added an internal virtual method Paint (), so that
11432 derived classes can do their painting on their own.
11433 - Modified OnPaint () to call Paint ().
11435 2004-10-15 06:43 jordi
11437 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11438 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11440 2004-10-15 00:30 ravindra
11443 - MessageBox on windows does not have min/max buttons.
11444 This change in CreateParams fixes this on Windows. We
11445 still need to implement this windowstyle behavior in
11448 2004-10-14 05:14 ravindra
11451 - Changed Redraw () to do a Refresh () always.
11452 - Fixed the MouseMove event handling when mouse is pressed,
11453 ie drag event handling.
11454 - Replaced the usage of ToolBarButton.Pressed property to
11455 ToolBarButton.pressed internal variable.
11457 2004-10-14 05:10 ravindra
11459 * ToolBarButton.cs:
11460 - Added an internal member 'inside' to handle mouse move
11461 with mouse pressed ie mouse drag event.
11462 - Changed 'Pressed' property to return true only when
11463 'inside' and 'pressed' are both true.
11464 - Some coding style love.
11466 2004-10-14 00:17 ravindra
11468 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11471 2004-10-14 00:15 ravindra
11473 * ButtonBase.cs: Redraw () related improvements.
11475 2004-10-14 00:14 ravindra
11477 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11478 removed unnecessary calls to Button.Show () method.
11480 2004-10-13 17:50 pbartok
11484 - Removed destroying of window until we solve the problem of X
11485 destroying the window before us on shutdown
11487 2004-10-13 16:32 pbartok
11490 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11492 2004-10-13 14:18 pbartok
11495 - Added code to destroy the X window
11497 2004-10-13 14:18 pbartok
11500 - Added code to destroy a window
11502 2004-10-13 14:12 pbartok
11505 - Added the Redraw on Resize that got dropped in the last rev
11507 2004-10-13 09:06 pbartok
11509 * ThemeWin32Classic.cs:
11510 - Path from John BouAntoun:
11511 * Fix check rendering (centre correctly for normal style, offset
11512 correctly for FlatStyle).
11513 * Fix border color usage (use backcolor) for FlatStyle.Popup
11514 * Use checkbox.Capture instead of checkbox.is_pressed when
11515 rendering flatstyle states.
11517 2004-10-12 21:48 pbartok
11519 * ThemeWin32Classic.cs:
11520 - Removed all occurences of SystemColors and replaced them with the
11521 matching theme color
11523 2004-10-12 21:41 pbartok
11525 * ThemeWin32Classic.cs:
11526 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11527 him using the function for flatstyle drawing
11528 - Changed functions to use the new version of CPDrawBorder3D
11530 2004-10-12 21:15 pbartok
11533 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11534 match MS documentation. They need to return defined colors if the
11535 passed color matches the configured control color. Thanks to John
11536 BouAntoun for pointing this out.
11538 2004-10-12 20:57 pbartok
11541 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11544 2004-10-12 20:46 pbartok
11547 - Fix from John BouAntoun: Now properly sets the Appearance property
11549 2004-10-12 20:45 pbartok
11551 * ThemeWin32Classic.cs:
11552 - Fixes from John BouAntoun: now handles forecolors and backcolors
11553 for flatstyle rendered controls much better; It also fixes normal
11554 checkbox rendering when pushed or disabled.
11556 2004-10-08 02:50 jordi
11558 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11561 2004-10-07 08:56 jordi
11563 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11565 2004-10-06 03:59 jordi
11567 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11568 XplatUIWin32.cs: removes warnings from compilation
11570 2004-10-05 12:23 jackson
11572 * RadioButton.cs: Fix ctor
11574 2004-10-05 11:10 pbartok
11577 - Partial implementation by Benjamin Dasnois
11579 2004-10-05 10:15 jackson
11581 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11584 2004-10-05 03:07 ravindra
11587 - Removed a private method, Draw ().
11588 - Fixed the ButtonDropDown event handling.
11589 - Fixed MouseMove event handling.
11591 2004-10-05 03:04 ravindra
11593 * ThemeWin32Classic.cs:
11594 - Added DrawListView method and ListViewDefaultSize property.
11595 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11596 - Changed DOS style CRLF to Unix format (dos2unix).
11598 2004-10-05 03:03 ravindra
11601 - Added DrawListView method and ListViewDefaultSize property.
11603 2004-10-05 02:42 ravindra
11605 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11606 clicks on DropDown arrow.
11608 2004-10-04 22:56 jackson
11610 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11611 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11612 Control handle the buffers, derived classes should not have to
11613 CreateBuffers themselves.
11615 2004-10-04 21:20 jackson
11617 * StatusBar.cs: The control handles resizing the buffers now.
11619 2004-10-04 21:18 jackson
11621 * Control.cs: When resizing the buffers should be invalidated. This
11622 should be handled in Control not in derived classes.
11624 2004-10-04 14:45 jackson
11628 2004-10-04 02:14 pbartok
11630 * LeftRightAlignment.cs:
11633 2004-10-04 01:09 jordi
11635 * ThemeWin32Classic.cs: fixes right button position causing right
11636 button not showing on horizontal scrollbars
11638 2004-10-02 13:12 pbartok
11641 - Simplified the Invalidate method by using an X call instead of
11642 generating the expose ourselves
11643 - Added an expose when the window background is changed
11644 - Implemented ClientToScreen method
11646 2004-10-02 13:08 pbartok
11649 - Added Win32EnableWindow method (test for implementing modal
11651 - Added ClientToScreen method and imports
11653 2004-10-02 13:07 pbartok
11655 * XplatUI.cs, XplatUIDriver.cs:
11656 - Added ClientToScreen coordinate translation method
11658 2004-10-02 13:06 pbartok
11660 * KeyPressEventArgs.cs:
11661 - Fixed access level for constructor
11663 2004-10-02 13:06 pbartok
11666 - Changed access level for the window_collection hash table
11668 2004-10-02 13:05 pbartok
11671 - Added KeyPreview property
11672 - Added Menu property (still incomplete, pending Jordi's menu work)
11673 - Implemented ProcessCmdKey
11674 - Implemented ProcessDialogKey
11675 - Implemented ProcessKeyPreview
11677 2004-10-02 13:02 pbartok
11680 - Added private method to get the Control object from the window
11682 - Implemented ContextMenu property
11683 - Implemented PointToScreen
11684 - Implemented PreProcessMessage
11685 - Implemented IsInputChar
11686 - Implemented IsInputKey
11687 - Implemented ProcessCmdKey
11688 - Completed ProcessKeyEventArgs
11689 - Fixed message loop to call the proper chain of functions on key
11691 - Implemented ProcessDialogChar
11692 - Implemented ProcessDialogKey
11693 - Implemented ProcessKeyMessage
11694 - Implemented ProcessKeyPreview
11695 - Added RaiseDragEvent stub (MS internal method)
11696 - Added RaiseKeyEvent stub (MS internal method)
11697 - Added RaiseMouseEvent stub (MS Internal method)
11698 - Added RaisePaintEvent stub (MS Internal method)
11699 - Added ResetMouseEventArgs stub (MS Internal method)
11700 - Implemented RtlTranslateAlignment
11701 - Implemented RtlTranslateContent
11702 - Implemented RtlTranslateHorizontal
11703 - Implemented RtlTranslateLeftRight
11704 - Added generation of KeyPress event
11706 2004-10-02 05:57 ravindra
11708 * ListViewItem.cs: Added attributes.
11710 2004-10-02 05:32 ravindra
11712 * ListView.cs: Added attributes.
11714 2004-10-01 11:53 jackson
11716 * Form.cs: Implement the Close method so work on MessageBox can
11719 2004-09-30 14:06 pbartok
11724 2004-09-30 11:34 jackson
11726 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11728 2004-09-30 07:26 ravindra
11730 * ListViewItemConverter.cs: Converter for ListViewItem.
11732 2004-09-30 07:26 ravindra
11734 * SortOrder.cs: Enum for ListView control.
11736 2004-09-30 07:25 ravindra
11738 * ColumnHeader.cs: Supporting class for ListView control.
11740 2004-09-30 07:24 ravindra
11742 * ListView.cs, ListViewItem.cs: Initial implementation.
11744 2004-09-30 07:20 ravindra
11746 * ItemActivation.cs: Enum for ListView Control.
11748 2004-09-29 20:29 pbartok
11751 - Added lookup of pixel value for background color; tries to get a
11752 color 'close' to the requested color, it avoids having to create a
11753 colormap. Depending on the display this could mean the used color
11754 is slightly off the desired color. Might have to change it to a more
11755 resource intensive colormap approach, but it will work as a
11756 workaround to avoid red screens.
11758 2004-09-29 14:27 jackson
11760 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11762 2004-09-28 12:44 pbartok
11764 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11765 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11766 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11767 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11768 TrackBar.cs, VScrollBar.cs:
11769 - Streamlined Theme interfaces:
11770 * Each DrawXXX method for a control now is passed the object for
11771 the control to be drawn in order to allow accessing any state the
11772 theme might require
11774 * ControlPaint methods for the theme now have a CP prefix to avoid
11775 name clashes with the Draw methods for controls
11777 * Every control now retrieves it's DefaultSize from the current
11780 2004-09-28 12:17 jackson
11782 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11785 2004-09-24 14:57 jackson
11787 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11788 Gives us a nice little performance boost.
11790 2004-09-24 12:02 jackson
11792 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11793 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11794 Control and supporting classes. Initial checkin
11796 2004-09-23 13:08 jackson
11798 * Form.cs: Temp build fixage
11800 2004-09-23 01:39 ravindra
11802 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11803 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11804 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11805 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11806 EventHandlers needed by ListView Control.
11808 2004-09-22 14:12 pbartok
11810 * ScrollableControl.cs:
11811 - Implemented DockPadding property
11812 - Implemented AutoScroll property
11813 - Implemented AutoScrollMargin property
11814 - Implemented AutoScrollMinSize property
11815 - Implemented AutoScrollPosition property
11816 - Implemented DisplayRectangle property (still incomplete)
11817 - Implemented CreateParams property
11818 - Implemented HScroll property
11819 - Implemented VScroll property
11820 - Implemented OnVisibleChanged property
11822 2004-09-22 14:09 pbartok
11825 - Added Form.ControllCollection class
11826 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11827 RemoveOwnedForm (still incomplete, missing on-top and common
11828 minimize/maximize behaviour)
11829 - Added StartPosition property (still incomplete, does not use when
11831 - Added ShowDialog() methods (still incomplete, missing forcing the
11834 2004-09-22 14:05 pbartok
11837 - Added message loop for modal dialogs
11839 2004-09-22 14:02 pbartok
11842 - Fixed wrong types for events
11844 2004-09-22 14:00 pbartok
11846 * Shortcut.cs, FormWindowState.cs:
11847 - Fixed wrong values
11849 2004-09-22 12:01 jackson
11851 * Control.cs: Text is never null
11853 2004-09-20 22:14 pbartok
11856 - Fixed accessibility level for Idle handler
11858 2004-09-20 18:54 jackson
11860 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11861 XplatUIX11.cs: New message loop that uses poll so we don't get a
11864 2004-09-17 10:43 pbartok
11867 - Fixed behaviour of arrow buttons. Now properly behaves like
11868 Buttons (and like Microsoft's scrollbar arrow buttons)
11870 2004-09-17 10:14 pbartok
11873 - Added missing release of keyboard/mouse capture
11875 2004-09-17 06:18 jordi
11877 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11878 Theme.cs: Very early menu support
11880 2004-09-16 17:45 pbartok
11883 - Fixed sending a window to the front
11884 - Added overload for SetWindowPos to avoid casting
11886 2004-09-16 17:44 pbartok
11889 - Added SendToBack and BringToFront methods
11891 2004-09-16 07:00 ravindra
11893 * Copyright: Added Novell URL.
11895 2004-09-16 07:00 ravindra
11897 * ToolBar.cs: Invalidate should be done before redrawing.
11899 2004-09-15 21:19 ravindra
11901 * ColumnHeaderStyle.cs: Enum for ListView Control.
11903 2004-09-15 21:18 ravindra
11905 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11908 2004-09-13 18:26 jackson
11910 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11913 2004-09-13 18:13 jackson
11915 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11916 a second thread and post messages into the main threads message
11917 queue. This makes timing much more consistent. Both win2K and XP
11918 have a minimum timer value of 15 milliseconds, so we now do this
11921 2004-09-13 15:18 pbartok
11923 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11925 - Added Z-Ordering methods
11927 2004-09-13 10:56 pbartok
11930 - Fixed #region names
11931 - Moved properties and methods into their proper #regions
11933 2004-09-13 10:51 pbartok
11936 - Added Accept and CancelButton properties
11937 - Added ProcessDialogKey() method
11939 2004-09-13 08:18 pbartok
11941 * IWindowTarget.cs:
11944 2004-09-10 21:50 pbartok
11947 - Added DoDragDrop() [incomplete]
11948 - Properly implemented 'Visible' handling
11949 - Added SetVisibleCore()
11950 - Implemented FindChildAtPoint()
11951 - Implemented GetContainerControl()
11952 - Implemented Hide()
11954 2004-09-10 19:28 pbartok
11957 - Moved methods into their appropriate #regions
11958 - Reordered methods within regions alphabetically
11960 2004-09-10 18:57 pbartok
11962 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11963 - Added method to retrieve text from window
11965 2004-09-10 18:56 pbartok
11968 - Moved some internal functions into the internal region
11969 - Implemented FontHeight
11970 - Implemented RenderRightToLeft
11971 - Implemented ResizeRedraw
11972 - Implemented ShowFocusCues
11973 - Implemented ShowKeyboardCues
11974 - Implemented FromChildHandle
11975 - Implemented FromHandle
11976 - Implemented IsMnemonic
11977 - Implemented ReflectMessage
11978 - All public and protected Static Methods are now complete
11980 2004-09-10 16:54 pbartok
11983 - Implemented remaining missing public instance properties
11984 - Alphabetized some out of order properties
11986 2004-09-10 05:51 ravindra
11988 * PictureBox.cs: Added a check for null image.
11990 2004-09-10 00:59 jordi
11992 * GroupBox.cs: remove cvs tag
11994 2004-09-09 05:25 ravindra
11996 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11998 2004-09-09 05:23 ravindra
12000 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12003 2004-09-09 02:28 pbartok
12005 * ThemeWin32Classic.cs:
12006 - Improve disabled string look
12008 2004-09-09 01:15 jordi
12010 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12013 2004-09-08 23:56 ravindra
12015 * ItemBoundsPortion.cs: It's enum, not a class!
12017 2004-09-08 23:47 ravindra
12019 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12022 2004-09-08 21:13 ravindra
12024 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12027 2004-09-08 21:03 ravindra
12029 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12032 2004-09-08 21:01 ravindra
12034 * ScrollableControl.cs: Removed unreachable code.
12036 2004-09-08 06:45 jordi
12038 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12040 2004-09-08 01:00 jackson
12042 * XplatUIX11.cs: Only run the timers when updating the message
12043 queue. This effectively gives X messages a higher priority then
12044 timer messages. Timers still need love though
12046 2004-09-07 14:01 jackson
12048 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12049 this for us and the handle is no longer valid.
12051 2004-09-07 13:59 jackson
12053 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12054 loop that manages to not crash. TODO: Add poll and cleanup timers
12056 2004-09-07 11:12 jordi
12058 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12060 2004-09-07 03:40 jordi
12062 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12063 fixes, methods, multiple links
12065 2004-09-06 06:55 jordi
12067 * Control.cs: Caches ClientRectangle rectangle value
12069 2004-09-05 02:03 jordi
12071 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12074 2004-09-04 11:10 jordi
12076 * Label.cs: Refresh when font changed
12078 2004-09-02 16:24 pbartok
12081 - Added sanity check to creation of double buffer bitmap
12083 2004-09-02 16:24 pbartok
12086 - Fixed selection of text color
12087 - Fixed handling of resize event; now properly recreates double
12089 - Added missing assignment of TextAlignment
12090 - Added proper default for TextAlignment
12092 2004-09-02 14:26 pbartok
12095 - Added missing RadioButton.RadioButtonAccessibleObject class
12097 2004-09-02 14:26 pbartok
12100 - Added missing Control.ControlAccessibleObject class
12101 - Started to implement Select()ion mechanisms, still very incomplete
12103 2004-09-02 14:25 pbartok
12105 * AccessibleObject.cs:
12106 - Added missing methods
12108 2004-09-02 14:23 pbartok
12110 * AccessibleNavigation.cs, AccessibleSelection.cs:
12113 2004-09-02 10:32 jordi
12115 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12116 pool for pens, brushes, and hatchbruses
12118 2004-09-01 15:30 jackson
12120 * StatusBar.cs: Fix typo
12122 2004-09-01 14:44 pbartok
12127 2004-09-01 14:39 pbartok
12129 * Button.cs, RadioButton.cs:
12130 - Functional initial check-in
12132 2004-09-01 14:01 pbartok
12135 - Added missing default
12136 - Added missing region mark
12138 2004-09-01 09:10 jordi
12140 * Label.cs: fixes method signatures, new methods, events, fixes
12143 2004-09-01 07:19 jordi
12145 * Control.cs: Init string variables with an empty object
12147 2004-09-01 04:20 jordi
12149 * Control.cs: fires OnFontChanged event
12151 2004-08-31 20:07 pbartok
12154 - Enabled display of strings
12156 2004-08-31 20:05 pbartok
12159 - Added (partial) implementation of DialogResult; rest needs to be
12160 implemented when the modal loop code is done
12162 2004-08-31 19:55 pbartok
12165 - Fixed to match the removal of the needs_redraw concept
12167 2004-08-31 19:55 pbartok
12170 - Removed the rather odd split between 'needs redraw' and redrawing
12171 - Now handles the events that require regeneration (ambient
12172 properties and size)
12174 2004-08-31 19:41 pbartok
12177 - Added firing of BackColorChanged event
12178 - Added TopLevelControl property
12179 - Fixed handling of WM_ERASEBKGRND message
12181 2004-08-31 12:49 pbartok
12187 2004-08-31 12:48 pbartok
12190 - Finished (famous last words)
12192 2004-08-31 04:35 jordi
12194 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12195 scrolling bugs, adds new methods
12197 2004-08-30 14:42 pbartok
12200 - Implemented CheckBox drawing code
12202 2004-08-30 14:42 pbartok
12205 - Made Redraw() and CheckRedraw() virtual
12206 - Improved mouse up/down/move logic to properly track buttons
12208 2004-08-30 09:44 pbartok
12211 - Updated to fix broken build. Not complete yet.
12213 2004-08-30 09:28 pbartok
12218 2004-08-30 09:17 pbartok
12223 2004-08-27 16:12 ravindra
12225 * ToolBarButton.cs: Added TypeConverter attribute.
12227 2004-08-27 16:07 ravindra
12229 * ImageIndexConverter.cs: Implemented.
12231 2004-08-27 14:17 pbartok
12234 - Removed unneeded stack vars
12235 - First attempt to fix sizing issues when layout is suspended
12237 2004-08-25 15:35 jordi
12239 * ScrollBar.cs: more fixes to scrollbar
12241 2004-08-25 14:04 ravindra
12243 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12244 Added the missing divider code and grip for ToolBar Control.
12246 2004-08-25 13:20 pbartok
12249 - Control now properly passes the ambient background color to child
12252 2004-08-25 13:20 jordi
12254 * ScrollBar.cs: small bug fix regarding bar position
12256 2004-08-25 12:33 pbartok
12259 - Now only calls SetTimer or KillTimer if the enabled state has
12262 2004-08-25 12:33 pbartok
12265 - Fixed timer handling, now seems to work
12266 - Improved error message for window creation
12268 2004-08-25 12:32 pbartok
12271 - Fixed generation of MouseUp message
12273 2004-08-25 12:29 jordi
12275 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12276 and fixes for progressbar
12278 2004-08-24 18:43 ravindra
12280 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12281 in ToolBar control.
12283 2004-08-24 17:15 pbartok
12287 - Added missing events
12290 2004-08-24 17:14 pbartok
12292 * StatusBar.cs, PictureBox.cs:
12293 - Now uses Control's CreateParams
12295 2004-08-24 16:36 pbartok
12298 - Fixed background color handling
12299 - Fixed sending of enter/leave events on a grab
12301 2004-08-24 16:35 pbartok
12304 - Refined definitions for CrossingEvent
12306 2004-08-24 12:37 jordi
12308 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12309 formmating, methods signature, and adds missing events
12311 2004-08-24 12:24 jordi
12313 * Control.cs: fire OnEnabledChanged event
12315 2004-08-24 11:17 pbartok
12318 - Implemented SetTimer() and KillTimer()
12320 2004-08-24 11:16 pbartok
12323 - Now uses Remove instead of Add to kill the timer
12325 2004-08-24 10:16 jackson
12327 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12328 picture boxes in the theme now. Draw picture box borders and obey
12331 2004-08-24 05:49 jackson
12333 * Timer.cs: Remove top secret debugging code
12335 2004-08-24 05:34 jackson
12337 * PictureBox.cs: Temp hack to make picture boxes draw their full
12340 2004-08-24 05:29 jackson
12342 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12343 XplatUIX11.cs: Move timers to the driver level. On X they are
12344 queued by the driver and checked on idle.
12346 2004-08-24 01:07 jackson
12348 * XplatUIX11.cs: Use a queue for async messages instead of passing
12349 them as ClientMessages since that was totally broken. Also simply
12350 check for events and return an idle message if none are found. This
12351 gives us an idle handler, and prevents deadlocking when no messages
12354 2004-08-23 18:19 ravindra
12356 * XplatUIWin32.cs: Removed the unwanted destructor.
12358 2004-08-23 17:27 pbartok
12361 - Finishing touches. Works now, just needs some optimizations.
12363 2004-08-23 16:53 jordi
12365 * ScrollBar.cs: small fix
12367 2004-08-23 16:45 pbartok
12370 - Removed debug output
12373 2004-08-23 16:43 jordi
12375 * ScrollBar.cs: [no log message]
12377 2004-08-23 16:10 pbartok
12380 - Fixed handling of WM_CLOSE message
12381 - Removed debug output
12383 2004-08-23 16:09 pbartok
12386 - Added handling of Idle event
12387 - Added handling of form closing
12388 - Fixed reporting of MessageLoop property
12389 - Removed some unneeded code, should provide a bit of a speedup
12391 2004-08-23 15:22 pbartok
12394 - Added InitLayout() method
12395 - Added code to properly perform layout when Anchor or Dock property
12397 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12398 LAMESPEC, tried to do it in a way that makes sense
12400 2004-08-23 14:10 jordi
12402 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12403 properties and methods
12405 2004-08-23 13:55 pbartok
12408 - Properly fixed Jordi's last fix
12409 - Now uses Cursor's Position property instead of calling XplatUI
12412 2004-08-23 13:44 jordi
12414 * PaintEventHandler.cs: Adding missing attribute
12416 2004-08-23 13:39 pbartok
12419 - Implemented Position property
12421 2004-08-23 13:39 pbartok
12423 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12424 - Added method to move mouse cursor
12426 2004-08-23 13:39 pbartok
12429 - Fixed setting of background color
12430 - Added method to move mouse cursor
12432 2004-08-23 13:16 jordi
12434 * Control.cs: avoids null exception
12436 2004-08-22 17:46 jackson
12438 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12441 2004-08-22 17:40 jackson
12443 * XplatUIX11.cs: Add some missing locks
12445 2004-08-22 15:10 pbartok
12447 * Control.cs, Form.cs:
12448 - Removed OverlappedWindow style from Control, instead it's default
12450 - Made form windows OverlappedWindow by default
12452 2004-08-22 13:34 jackson
12454 * ScrollBar.cs: Update the position through the Value property so
12455 the OnValueChanged event is raised.
12457 2004-08-22 12:04 pbartok
12460 - Added Cursor.cs and UserControl.cs
12462 2004-08-22 12:03 pbartok
12465 - Started implementation, not usable yet
12467 2004-08-22 12:00 pbartok
12470 - Implemented UserControl (complete)
12472 2004-08-21 19:20 ravindra
12474 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12476 2004-08-21 18:49 ravindra
12478 * ToolBar.cs: Probably this completes the missing attributes in
12481 2004-08-21 18:03 ravindra
12483 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12484 Fixed toolbar control signatures.
12486 2004-08-21 16:32 pbartok
12491 2004-08-21 16:30 pbartok
12496 2004-08-21 16:19 pbartok
12498 * Control.cs, Label.cs:
12501 2004-08-21 15:57 pbartok
12504 - Added loads of debug output for development
12505 - Fixed typo in method name
12507 2004-08-21 15:52 pbartok
12509 * ToolBarButtonClickEventArgs.cs:
12510 - Added missing base class
12512 2004-08-21 14:53 pbartok
12515 - Updated to match new GrabWindow signature
12517 2004-08-21 14:51 pbartok
12519 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12520 - Added method to get default display size
12522 2004-08-21 14:23 pbartok
12524 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12525 - Added method to query current grab state
12526 - Added argument to allow confining a grab to a window
12528 2004-08-21 14:22 pbartok
12531 - Added [Flags] attribute so that modifiers can be used in bitwise
12534 2004-08-21 14:21 pbartok
12536 * TrackBar.cs, ScrollBar.cs:
12537 - Replaced direct XplatUI calls with their Control counterpart
12539 2004-08-21 13:32 pbartok
12542 - Implemented Created property
12544 2004-08-21 13:28 pbartok
12547 - Implemented ContainsFocus
12549 2004-08-21 13:26 pbartok
12552 - Implemented CausesValidation
12554 2004-08-21 13:21 pbartok
12557 - Implemented CanFocus
12558 - Implemented CanSelect
12559 - Implemented Capture
12561 2004-08-21 12:35 pbartok
12564 - Fixed bug with Async message handling
12565 - Implemented getting the ModifierKeys
12567 2004-08-21 12:32 jackson
12569 * AsyncMethodResult.cs: Make sure we have the mutex before we
12570 release it. Fixes BeginInvoke on windows
12572 2004-08-21 11:31 pbartok
12574 * XplatUIWin32.cs, XplatUIX11.cs:
12575 - Drivers now return proper mouse state
12577 2004-08-21 10:54 jackson
12579 * Control.cs: Implement EndInvoke
12581 2004-08-21 10:48 jackson
12583 * Timer.cs: Remove unneeded finalizer
12585 2004-08-20 19:52 ravindra
12587 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12588 in mouse event handling in the ToolBar control.
12590 2004-08-20 19:50 ravindra
12592 * ImageList.cs: Changed draw method to use the arguments passed in
12595 2004-08-20 18:58 pbartok
12597 * XplatUIStructs.cs:
12598 - Added private message for async communication
12600 2004-08-20 17:38 ravindra
12602 * Control.cs: Made RightToLeft property virtual and removed a
12605 2004-08-20 14:39 jordi
12607 * ThemeGtk.cs: use style_attach
12609 2004-08-20 14:39 pbartok
12612 - Added jackson's Async code from X11 to Win32
12614 2004-08-20 14:09 pbartok
12617 - Added all new files
12619 2004-08-20 14:09 pbartok
12622 - Added call to set window background color
12624 2004-08-20 14:03 pbartok
12626 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12627 - Added method for setting the window background
12629 2004-08-20 14:02 pbartok
12632 - Added method for setting the background color
12633 - Added handling for erasing the window background
12635 2004-08-20 13:45 jordi
12637 * TrackBar.cs: fixes timer, new properties and methods
12639 2004-08-20 13:34 jackson
12641 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12644 2004-08-20 13:22 jackson
12646 * Timer.cs: Timer Tick events are now handed through Controls Async
12647 mechanism so the callbacks are executed in the same thread as X
12649 2004-08-20 13:19 jackson
12651 * XplatUIDriver.cs: Expose functionality to send async messages
12654 2004-08-20 13:18 jackson
12656 * Control.cs: Implement Begininvoke
12658 2004-08-20 13:14 jackson
12660 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12661 messages through the driver
12663 2004-08-20 13:12 jackson
12665 * XplatUIX11.cs: Lock before all X operations. Also added Async
12666 method functionality through XSendEvent
12668 2004-08-20 13:11 jackson
12670 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12671 This will screw up on 64 bit systems)
12673 2004-08-20 13:10 jackson
12675 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12676 Async messages through X/Win32
12678 2004-08-19 19:39 pbartok
12681 - Updated code to match new HandleData.DeviceContext type
12683 2004-08-19 19:38 pbartok
12686 - Made DeviceContext a generic object to allow usage from various
12688 - Added support for queueing Windows messages
12690 2004-08-19 19:37 pbartok
12693 - Added generation of MouseEnter, MouseLeave and MouseHover events
12694 - Added cleanup on EndPaint
12696 2004-08-19 19:17 pbartok
12699 - Added handling of WM_MOUSEHOVER
12700 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12703 2004-08-19 18:55 jordi
12705 * ThemeGtk.cs: fixes button order
12707 2004-08-19 18:12 jordi
12709 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12711 2004-08-19 17:09 pbartok
12714 - Added Right property
12715 - Added RightToLeft property
12717 2004-08-19 16:27 jordi
12719 * ThemeGtk.cs: experimental GTK theme support
12721 2004-08-19 16:26 jordi
12723 * ITheme.cs, Theme.cs: move themes from an interface to a class
12725 2004-08-19 16:25 jordi
12727 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12730 2004-08-19 16:04 pbartok
12733 - Added colormap basics
12734 - Added a way to re-initialize with a different display handle
12735 - Fixed setting of the window background color
12736 - Added various X11 imports related to colors and colormaps
12738 2004-08-19 15:51 pbartok
12741 - Removed packing hints (Paolo suggested this a while back)
12742 - fixed colormap type
12743 - Added default Atom types
12744 - Added Screen and color structs and enums
12746 2004-08-19 15:39 pbartok
12749 - Added missing Draw() method
12750 - Added missing RecreateHandle event
12752 2004-08-19 15:30 pbartok
12755 - Added handling of WM_CLOSE
12757 2004-08-18 13:16 jordi
12759 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12762 2004-08-18 09:56 jordi
12764 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12766 2004-08-17 15:31 ravindra
12768 * SWF.csproj: Updated project.
12770 2004-08-17 15:25 pbartok
12773 - Drawing improvement; don't call UpdateBounds if we are not visible
12774 (or have been minimized)
12776 2004-08-17 15:24 pbartok
12779 - Finished IsVisible
12780 - Added Win32GetWindowPlacement
12782 2004-08-17 15:08 jackson
12784 * Panel.cs: Initial checkin of the Panel
12786 2004-08-17 14:25 pbartok
12789 - Fixed broken handling of default window sizes
12791 2004-08-17 13:29 jackson
12793 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12794 has a large startup time.
12796 2004-08-17 10:25 jackson
12798 * HandleData.cs: union areas properly
12800 2004-08-17 10:12 jackson
12802 * HandleData.cs: union areas properly
12804 2004-08-16 20:00 ravindra
12806 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12808 2004-08-16 18:48 ravindra
12810 * ToolBar.cs: Added attributes.
12812 2004-08-16 17:17 ravindra
12814 * SWF.csproj: Updated project.
12816 2004-08-16 17:16 jackson
12818 * XplatUIX11.cs: Check for more expose events before sending a
12819 WM_PAINT so they can all be grouped together. This makes dragging a
12820 window across another window redraw in a sane way.
12822 2004-08-16 15:47 pbartok
12825 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12826 support OnMouseEnter/Leave()
12827 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12830 2004-08-16 15:46 pbartok
12832 * XplatUIStructs.cs, XplatUIX11.cs:
12833 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12834 OnMouseEnter/Leave()
12836 2004-08-16 15:34 jackson
12838 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12839 sure messages get the message field set to WM_NULL if they are not
12842 2004-08-16 15:24 jackson
12844 * HandleData.cs: HandleData is used for storing message information
12847 2004-08-15 17:23 ravindra
12849 * ColorDepth.cs: Added attribute.
12851 2004-08-15 17:23 ravindra
12853 * SWF.csproj: Updated project for ToolBar Control.
12855 2004-08-15 17:20 ravindra
12857 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12858 control and also dos2unix format.
12860 2004-08-15 17:13 ravindra
12862 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12863 ToolBarButtonClickEventArgs.cs,
12864 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12865 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12867 2004-08-15 15:31 pbartok
12870 - First (mostly) working version
12872 2004-08-13 16:15 pbartok
12875 - Fixed Anchor default
12877 2004-08-13 15:43 pbartok
12880 - Changed GetCursorPos signature
12882 2004-08-13 15:42 pbartok
12884 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12885 - Changed signature for GetCursorPos
12887 2004-08-13 15:25 pbartok
12891 - Fixed resizing/exposure handling
12893 2004-08-13 15:22 jordi
12895 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12898 2004-08-13 14:55 jordi
12900 * TrackBar.cs: change from wndproc to events
12902 2004-08-13 13:00 jordi
12904 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12905 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12907 2004-08-13 12:53 pbartok
12910 - Changed GetWindowPos to also provide client area size
12911 - Fixed broken prototypes for several win32 functions
12913 2004-08-13 12:53 pbartok
12915 * XplatUI.cs, XplatUIDriver.cs:
12916 - Changed GetWindowPos to also provide client area size
12918 2004-08-13 12:52 pbartok
12921 - Added generation of WM_POSCHANGED
12922 - Changed GetWindowPos to also provide client area size
12924 2004-08-13 12:52 pbartok
12927 - Added Dispose() and destructor
12928 - Fixed resizing and bounds calculation
12930 - Added memory savings for invisible windows
12932 2004-08-13 12:46 jordi
12934 * TrackBar.cs: adds timer and grap window
12936 2004-08-13 10:25 jackson
12938 * Timer.cs: SWF Timer
12940 2004-08-12 16:59 pbartok
12942 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12943 - Implemented method to get current mouse position
12945 2004-08-12 14:29 jordi
12947 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12948 enhancement, fix mouse problems, highli thumb, etc
12950 2004-08-12 13:31 pbartok
12953 - Fixed Anchoring bugs
12955 2004-08-12 13:01 jackson
12957 * StatusBar.cs: Don't forget things
12959 2004-08-12 12:54 jackson
12961 * ThemeWin32Classic.cs: Handle owner draw status bars
12963 2004-08-12 12:54 jackson
12965 * StatusBar.cs: Implement missing properties, events, and methods.
12966 Handle mouse clicking
12968 2004-08-12 10:19 jackson
12970 * StatusBarPanelClickEventArgs.cs,
12971 StatusBarPanelClickEventHandler.cs: Classes for handling status
12972 bar panel click events
12974 2004-08-12 10:10 jackson
12976 * Control.cs: Add missing properties
12978 2004-08-12 09:46 pbartok
12980 * BindingsManagerBase.cs:
12981 - Name changed to BindingManagerBase.cs
12983 2004-08-12 09:25 jordi
12985 * ScrollableControl.cs: calls ctrlbase instead of exeception
12987 2004-08-11 16:28 pbartok
12989 * InputLanguageChangingEventArgs.cs:
12990 - Never check in before compiling. Fixes the last check-in
12992 2004-08-11 16:26 pbartok
12994 * InputLanguageChangingEventArgs.cs:
12995 - More signature fixes
12997 2004-08-11 16:20 pbartok
12999 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13000 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13001 ImageListStreamer.cs, InputLanguage.cs,
13002 InputLanguageChangedEventArgs.cs,
13003 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13004 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13005 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13006 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13009 2004-08-11 16:16 pbartok
13013 - Added .Net 1.1 method
13015 2004-08-11 15:25 pbartok
13018 - Fixed BindingManagerBase.cs filename
13020 2004-08-11 15:22 pbartok
13022 * BindingManagerBase.cs:
13023 - Was checked in with wrong filename
13025 2004-08-11 14:50 pbartok
13030 2004-08-11 13:41 jordi
13032 * XplatUIWin32.cs: Fixes ClientRect
13034 2004-08-11 13:19 pbartok
13036 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13038 - We had SetWindowPos and MoveWindow to set window positions and
13039 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13040 keep SetWindowPos as matching counterpart
13041 - Added some X11 sanity checking
13043 2004-08-11 12:59 pbartok
13046 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13047 (It seems that SetBounds is just a front for SetBoundsCore and
13048 SetBoundsCore updates the underlying window system and
13049 UpdateBounds is responsible for updating the variables associated
13050 with the Control and sending the events)
13051 - Major cleanup of Size handling; we now have two sizes, client_size
13052 and bounds. Bounds defines the window with decorations, client_size
13055 2004-08-11 12:55 pbartok
13057 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13058 - Added method to calculate difference between decorated window and
13061 2004-08-11 12:54 pbartok
13064 - Forcing redraw on resize
13066 2004-08-11 11:43 pbartok
13069 - Removed disposing of the actual images when the list is disposed
13071 2004-08-11 09:13 pbartok
13074 - Now properly reparents windows
13076 2004-08-11 08:37 pbartok
13081 2004-08-11 07:47 pbartok
13084 - Rewrote the collection stuff. Might not be as fast now, not
13085 keeping the number of children around and accessible directly, but
13086 it's more straightforward
13088 2004-08-11 07:44 pbartok
13090 * AccessibleObject.cs:
13091 - Fixed to match ControlCollection rewrite
13093 2004-08-11 07:43 pbartok
13096 - Added missing creation of the collection list
13098 2004-08-10 20:08 jackson
13100 * StatusBar.cs: Get the paint message from WndProc
13102 2004-08-10 19:31 jackson
13104 * ThemeWin32Classic.cs: Create Brushes as little as possible
13106 2004-08-10 19:20 jackson
13108 * UICues.cs: Add Flags attribute
13110 2004-08-10 19:19 jackson
13112 * StatusBarPanel.cs: Signature cleanup
13114 2004-08-10 19:10 jackson
13116 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13117 Initial implementation of status bar item drawing
13119 2004-08-10 17:27 jordi
13121 * TrackBar.cs: add missing methods, properties, and restructure to
13124 2004-08-10 16:24 jackson
13126 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13127 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13130 2004-08-10 13:21 jordi
13132 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13133 enhancements and standarize on win colors defaults
13135 2004-08-10 12:52 jackson
13137 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13138 ThemeWin32Classic.cs: Implement DrawItem functionality
13140 2004-08-10 12:47 jordi
13142 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13144 2004-08-10 12:32 jordi
13146 * Control.cs: throw ontextchange event
13148 2004-08-10 11:43 pbartok
13151 - Added more to the still unfinished Dock/Anchor layout code
13153 2004-08-10 11:39 pbartok
13155 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13156 - Added GetWindowPos method
13158 2004-08-10 11:36 pbartok
13161 - Implemented several methods
13163 2004-08-10 09:47 jackson
13165 * TrackBar.cs: Allow control to handle buffering
13167 2004-08-10 09:41 jackson
13169 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13171 2004-08-10 09:24 jackson
13173 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13175 2004-08-10 09:09 jackson
13177 * StatusBar.cs: Let Control handle all the buffering.
13179 2004-08-10 09:08 jackson
13181 * Control.cs: Control will now handle the buffering code, so each
13182 control does not have to implement this.
13184 2004-08-10 08:34 jackson
13186 * XplatUIDriver.cs: Use default colors from the theme
13188 2004-08-09 17:12 pbartok
13191 - Fixed several bugs Ravindra pointed out
13193 2004-08-09 16:11 pbartok
13196 - Added incomplete dock layout code
13197 - Added support for mouse wheel
13199 2004-08-09 16:09 pbartok
13202 - Added handling for middle and right mousebutton
13203 - Added handling for mouse wheel
13204 - Added handling for key state and mouse state and position
13205 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13208 2004-08-09 15:40 jackson
13210 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13211 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13214 2004-08-09 15:37 jackson
13216 * StatusBar.cs: Initial implementation of StatusBar
13218 2004-08-09 15:36 jackson
13220 * ITheme.cs: Add support for drawing status bar and getting status
13223 2004-08-09 15:35 pbartok
13228 2004-08-09 15:34 jackson
13230 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13231 status bar item sizes
13233 2004-08-09 15:21 jackson
13235 * ThemeWin32Classic.cs: Use known colors for default control
13238 2004-08-09 15:12 jackson
13240 * ThemeWin32Classic.cs: Make the default font static, it is static
13241 in control so this doesn't change functionality and creating fonts
13244 2004-08-09 14:56 pbartok
13247 - Added GrabMode enum
13249 2004-08-09 14:55 pbartok
13251 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13252 - Removed Run method, was only required for initial development
13254 2004-08-09 14:51 pbartok
13256 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13257 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13260 2004-08-09 13:48 pbartok
13263 - Fixed default sizing for child windows
13265 2004-08-09 12:56 pbartok
13268 - Added generation of WM_DESTROY message
13269 - Added handling of window manager induced shutdown
13271 2004-08-09 11:31 jackson
13273 * ThemeWin32Classic.cs: New names for control properties
13275 2004-08-09 11:25 jackson
13277 * Control.cs: Use new color names
13279 2004-08-09 11:02 jackson
13281 * XplatUI.cs: Get default window properties from the theme
13283 2004-08-09 11:01 jackson
13285 * ITheme.cs: The theme engine now controls default window
13288 2004-08-09 11:00 jackson
13290 * ThemeWin32Classic.cs: Add default window color properties
13292 2004-08-09 10:17 jackson
13294 * ThemeWin32Classic.cs: Use correct default back color
13296 2004-08-09 10:05 jackson
13298 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13301 2004-08-09 09:56 jackson
13303 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13305 2004-08-09 09:54 jackson
13307 * Control.cs: Get default properties from the theme.
13309 2004-08-09 09:53 jackson
13311 * ITheme.cs: Themes now handle default control properties
13313 2004-08-09 09:53 jackson
13315 * ThemeWin32Classic.cs: Themes now handle default control
13316 properties so coloring will be consistent
13318 2004-08-08 16:54 jordi
13320 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13322 2004-08-08 15:08 jordi
13324 * XplatUIX11.cs: fixes keyboard crash
13326 2004-08-08 13:47 jordi
13328 * Label.cs: add cvs header info
13330 2004-08-08 12:09 jackson
13332 * ThemeWin32Classic.cs: Add pen_buttonface
13334 2004-08-08 11:52 jordi
13336 * Label.cs, LinkLabel.cs: [no log message]
13338 2004-08-08 11:34 jordi
13340 * ThemeWin32Classic.cs: Use Windows Standard Colours
13342 2004-08-07 17:32 jordi
13344 * TrackBar.cs: throw exceptions of invalid enums values
13346 2004-08-07 17:31 jordi
13348 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13351 2004-08-07 16:56 jackson
13353 * HorizontalAlignment.cs: Initial checkin
13355 2004-08-07 13:16 jordi
13357 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13360 2004-08-07 13:05 jordi
13362 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13363 GetSysColor defines
13365 2004-08-06 18:01 pbartok
13367 * ThemeWin32Classic.cs:
13368 - Fixed some rounding issues with float/int
13370 2004-08-06 18:00 jackson
13372 * DockStyle.cs, AnchorStyles.cs:
13374 Add flags and serializable attributes.
13376 2004-08-06 17:46 pbartok
13379 - Implemented GetParent
13381 2004-08-06 17:18 pbartok
13384 - Fixed some rounding issues with float/int
13386 2004-08-06 17:17 pbartok
13388 * X11Structs.cs, XplatUIX11.cs:
13389 - Fixed Refresh and Invalidate
13391 2004-08-06 15:30 pbartok
13393 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13394 - Fixed recursive loop when resizing
13395 - Improved/fixed redrawing on expose messages
13397 2004-08-06 09:53 jordi
13399 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13400 keyboard navigation
13402 2004-08-06 08:02 pbartok
13404 * X11Structs.cs, XplatUIX11.cs:
13405 - Fixed reparenting
13406 - Fixed window border creation
13408 2004-08-05 15:38 pbartok
13411 - Attempted fix for reparenting problems
13413 2004-08-04 15:14 pbartok
13416 - Fixed Invalidation bug (calculated wrong client area)
13417 - Added ClientSize setter
13419 2004-08-04 15:13 pbartok
13422 - Added AutoScale properties
13424 2004-08-04 15:13 pbartok
13427 - Added latest files
13429 2004-08-04 14:11 pbartok
13431 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13433 - Added Invalidate handling
13435 2004-08-03 17:09 jordi
13437 * XplatUIDriver.cs: fixes spelling mistake
13439 2004-07-27 09:53 jordi
13441 * TrackBar.cs: fixes trackbar events, def classname, methods
13444 2004-07-27 09:29 jordi
13446 * ScrollBar.cs: fixes scrollbar events
13448 2004-07-27 04:38 jordi
13450 * Control.cs: changes to be able to run winforms samples
13452 2004-07-26 11:42 jordi
13454 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13455 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13457 2004-07-26 05:41 jordi
13459 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13460 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13463 2004-07-22 09:22 jordi
13465 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13466 check link overlapping, implement events, and fixes
13468 2004-07-21 10:28 jordi
13470 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13472 2004-07-21 10:19 jordi
13474 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13475 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13476 LinkLabelLinkClickedEventArgs.cs,
13477 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13478 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13481 2004-07-19 13:09 jordi
13483 * Control.cs, Label.cs: label control re-written: added missing
13484 functionlity, events, and properties
13486 2004-07-19 10:49 jordi
13488 * Control.cs: fixes SetBounds logic
13490 2004-07-19 01:29 jordi
13492 * Control.cs: Call RefreshWindow only if the window has created
13494 2004-07-15 14:05 pbartok
13496 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13497 - Implemented ImageList and ImageList.ImageCollection classes
13498 - Added ColorDepth enumeration
13499 - Updated SWF VS.Net project
13501 2004-07-15 11:06 jordi
13503 * XplatUIStructs.cs: added MsgButons enum
13505 2004-07-15 11:03 jordi
13507 * Control.cs: added basic mouse handeling events
13509 2004-07-15 03:38 jordi
13511 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13512 Vertical TrackBar control implementation
13514 2004-07-13 09:33 jordi
13516 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13518 2004-07-13 09:31 jordi
13520 * Control.cs, Form.cs: commit: new properties and fixes form size
13523 2004-07-09 14:13 miguel
13525 * ProgressBar.cs: Spelling
13527 2004-07-09 11:25 pbartok
13530 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13533 2004-07-09 11:17 miguel
13535 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13537 * ProgressBar.cs: Fixed spelling for `block'
13539 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13542 Avoid using the += on rect.X, that exposed a bug in the compiler.
13544 2004-07-08 23:21 pbartok
13546 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13547 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13548 BaseCollection.cs, Binding.cs, BindingContext.cs,
13549 BindingMemberInfo.cs, BindingsCollection.cs,
13550 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13551 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13552 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13553 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13554 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13555 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13556 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13557 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13558 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13559 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13560 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13561 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13562 InputLanguageChangedEventArgs.cs,
13563 InputLanguageChangedEventHandler.cs,
13564 InputLanguageChangingEventArgs.cs,
13565 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13566 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13567 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13568 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13569 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13570 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13571 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13572 QueryAccessibilityHelpEventArgs.cs,
13573 QueryAccessibilityHelpEventHandler.cs,
13574 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13575 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13576 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13577 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13578 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13579 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13580 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13581 XplatUIX11.cs, lang.cs: